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,KAAmB,qBAAPA,KAAmBA,UAAKK,GAAoBR,CAAS,C","sources":["../../../../experiments/packages/experiment-score-card/src/shared/utils.js","../../../../experiments/packages/experiment-actions/src/apply.js","../../../../experiments/packages/experiment-actions/src/end.js","../../../../experiments/packages/experiment-actions/src/view-vnext.js","../../../../experiments/packages/experiment-score-card/src/views/title-vnext.js","../../../../experiments/packages/experiment-score-card/src/views/label-row.js","../../../../experiments/packages/experiment-score-card/src/shared/format.js","../../../../experiments/packages/experiment-score-card/src/views/label-column.js","../../../../experiments/packages/experiment-score-card/src/views/span-experiment.js","../../../../experiments/packages/experiment-score-card/src/views/span-original.js","../../../../experiments/packages/experiment-score-card/src/views/table-fixed-vnext.js","../../../../experiments/packages/experiment-score-card/src/views/metric-picker.js","../../../../experiments/packages/experiment-score-card/src/views/metric-experiment.js","../../../../experiments/packages/experiment-score-card/src/views/metric-original.js","../../../../experiments/packages/experiment-score-card/src/views/table-scrollable-vnext.js","../../../../experiments/packages/experiment-score-card/src/views/stroke.js","../../../../experiments/packages/experiment-score-card/src/shared/experiment-actions-styles.js","../../../../experiments/packages/experiment-score-card/src/index-vnext.js","../../../../experiments/packages/experiment-score-card/src/views/title.js","../../../../experiments/packages/experiment-score-card/src/views/table-fixed.js","../../../../experiments/packages/experiment-score-card/src/views/table-scrollable.js","../../../../experiments/packages/experiment-actions/src/apply.pug","../../../../experiments/packages/experiment-actions/src/end.pug","../../../../experiments/packages/experiment-actions/src/template-vnext.pug","../../../../experiments/packages/experiment-actions/src/template.pug"],"sourcesContent":["import 'jquery';\r\nimport kendo from '@bingads-webui/kendo/kendo.core';\r\n\r\nexport function addDateListener(state, handler) {\r\n state.on('change:$daterange', handler);\r\n}\r\n\r\nexport function removeDateListener(state, handler) {\r\n state.off('change:$daterange', handler);\r\n}\r\n\r\n// Use passed in format to read the dateString into a Date object.\r\nexport function parseDate(dateString, format) {\r\n return kendo.parseDate(dateString, format);\r\n}\r\n\r\nconst defaultDateFormat = 'M/d/yyyy';\r\n\r\n// Take JS Date object and transform it to a string to display in the UI.\r\nexport function formatDateForUI(date, isUINext, pageContext, serverContext) {\r\n let format = defaultDateFormat;\r\n\r\n if (isUINext) {\r\n format = serverContext.CurrentUser.CultureDateTimeFormat.ShortDatePattern || defaultDateFormat;\r\n } else {\r\n format = pageContext.CultureDateTimeFormat.ShortDatePattern || defaultDateFormat;\r\n }\r\n\r\n return kendo.toString(date, format);\r\n}\r\n\r\n// ICM 177956313\r\n// This function formats a Date object to a string of format M/d/yyyy.\r\n// Do not use this function for displaying to the UI.\r\nexport function formatDateForMT(date) {\r\n return kendo.toString(date, defaultDateFormat);\r\n}\r\n\r\nexport function parseDateRangeToQuery(dateRange) {\r\n const query = {\r\n startDate: formatDateForMT(dateRange.start),\r\n endDate: formatDateForMT(dateRange.end),\r\n };\r\n\r\n return query;\r\n}\r\n\r\n// Trims 2019-07-24T00:00:00-07:00 to 2019-07-24 and then parses that to a Date object.\r\nexport function getDateFromYearMonthDayDateString(dateString) {\r\n if (!dateString) {\r\n return null;\r\n }\r\n\r\n const dateStringToBeParsed = dateString.substring(0, dateString.indexOf('T'));\r\n const date = parseDate(dateStringToBeParsed, 'yyyy-MM-dd');\r\n return date;\r\n}\r\n\r\n// ICM 172236553\r\n// We want to display the maximum start date and the minimum end date to tell the user that\r\n// the metrics data is valid for when the experiment is active within the selected date range.\r\n// The selected date range comes from the date picker.\r\n// The date picker date range is compared with the experiment's start and end date.\r\nexport function getPerformanceComparisonPeriodDateText({\r\n datePickerStartDate,\r\n datePickerEndDate,\r\n experimentStartDate,\r\n experimentEndDate,\r\n isUINext,\r\n pageContext = {},\r\n serverContext = {},\r\n}) {\r\n // Create JavaScript Date objects for use in equality and greater/less than comparisons.\r\n // If MT changes the format of the returned StartDate and EndDate, we'll need to change this.\r\n const parsedExpStartDate = getDateFromYearMonthDayDateString(experimentStartDate);\r\n const parsedExpEndDate = getDateFromYearMonthDayDateString(experimentEndDate);\r\n\r\n // In a valid scenario, parsedExpStartDate will exist since an experiment must have a start date.\r\n // Check to see if the Experiment's start and end date are within the date picker's date range.\r\n const doDateValuesExist = parsedExpEndDate && datePickerStartDate && datePickerEndDate;\r\n const existsAndIntersects = doDateValuesExist &&\r\n parsedExpStartDate <= datePickerEndDate &&\r\n datePickerStartDate <= parsedExpEndDate;\r\n\r\n // If the experiment has no end date,\r\n // check to see that the experiment start date is within the date picker's end date.\r\n const existsAndIntersectsExceptExperimentEndDate = !parsedExpEndDate &&\r\n datePickerStartDate && datePickerEndDate &&\r\n parsedExpStartDate <= datePickerEndDate;\r\n\r\n let perfCompPeriodStartDate = datePickerStartDate;\r\n\r\n // This logic is to display the start date of the performance comparison period:\r\n // perfCompPeriodStartDate = max(ExperimentStartDate, DatePickerStartDate).\r\n // There is a case where the Experiment has no end date, then we will\r\n // still display the max of the 2 start dates.\r\n if ((existsAndIntersects || existsAndIntersectsExceptExperimentEndDate) &&\r\n parsedExpStartDate > datePickerStartDate) {\r\n perfCompPeriodStartDate = parsedExpStartDate;\r\n }\r\n\r\n let perfCompPeriodEndDate = datePickerEndDate;\r\n\r\n // This logic is to display the end date of the performance comparison period:\r\n // end = min(ExperimentEndDate, DatePickerEndDate).\r\n if (existsAndIntersects && datePickerEndDate > parsedExpEndDate) {\r\n perfCompPeriodEndDate = parsedExpEndDate;\r\n }\r\n\r\n // Done comparing with Date objects, now we want to get strings for the UI.\r\n const start = formatDateForUI(perfCompPeriodStartDate, isUINext, pageContext, serverContext);\r\n const end = formatDateForUI(perfCompPeriodEndDate, isUINext, pageContext, serverContext);\r\n\r\n return {\r\n start,\r\n end,\r\n };\r\n}\r\n\r\nexport function shouldCookieBasedWarningBeShown(startDate, experimentType) {\r\n if (startDate && experimentType === 'CookieBased') {\r\n const twoMonthsAgo = new Date();\r\n twoMonthsAgo.setMonth(twoMonthsAgo.getMonth() - 2);\r\n return startDate <= twoMonthsAgo;\r\n }\r\n\r\n return false;\r\n}\r\n","import { DeterministicView } from '@bingads-webui/deterministic-view';\r\nimport template from './apply.pug';\r\n\r\nexport class ApplyView extends DeterministicView {\r\n initialize({\r\n i18n,\r\n experimentName,\r\n originalCampaignName,\r\n }) {\r\n this.i18n = i18n;\r\n this.experimentName = experimentName;\r\n this.originalCampaignName = originalCampaignName;\r\n this.setState({\r\n selectedItem: 'update-original',\r\n });\r\n }\r\n\r\n get template() {\r\n return template;\r\n }\r\n\r\n get events() {\r\n return {\r\n 'click input[name=\"apply-option\"]': (e) => {\r\n this.setState({\r\n selectedItem: e.target.id,\r\n });\r\n },\r\n };\r\n }\r\n}\r\n","import { DeterministicView } from '@bingads-webui/deterministic-view';\r\nimport template from './end.pug';\r\n\r\nexport class EndView extends DeterministicView {\r\n initialize({\r\n i18n,\r\n experimentName,\r\n }) {\r\n this.i18n = i18n;\r\n this.experimentName = experimentName;\r\n }\r\n\r\n get template() {\r\n return template;\r\n }\r\n}\r\n","/* eslint-disable import/no-unresolved */\r\n/* eslint-disable import/extensions */\r\nimport _ from 'underscore';\r\nimport Backbone from 'backbone';\r\nimport $ from 'jquery';\r\nimport { DeterministicView } from '@bingads-webui/deterministic-view';\r\nimport { Dialog } from '@bingads-webui/dialog';\r\nimport * as putil from '@bingads-webui-universal/primitive-utilities';\r\nimport { buildLegacyI18n } from '@bingads-webui-campaign-react/smart-i18n';\r\nimport { AlertHelper } from '@bingads-webui-campaign/alert-helper';\r\nimport { ApplyView } from './apply';\r\nimport { EndView } from './end';\r\nimport template from './template-vnext.pug';\r\n\r\n// Needed for cases where this view loads before legacy-bootstrap can do this\r\nBackbone.$ = $;\r\n\r\nconst i18nMap = {\r\n Experiment_UseExperimentSettingsIn: _TL_('Apply experiment to...'),\r\n Experiment_Error_ExperimentStatusInvalid: _TL_('Experiment status is invalid'),\r\n Experiment_Error_EndedExperimentCannotBeChanged: _TL_('The experiment has already ended and cannot be changed.'),\r\n Experiment_Error_undefined: _TL_('Bing Ads has encountered an error. Please try again or contact Support.'),\r\n Cancel: _TL_('Cancel'),\r\n Save: _TL_('Save'),\r\n Experiment_EndDialog_Title: _TL_('Are you sure you want to end this experiment now?'),\r\n Experiment_EndDialog_SaveButton: _TL_('Yes, end experiment'),\r\n Experiment_EndDialog_Description1: _TL_('{{name}} will be ended now.'),\r\n Experiment_EndDialog_Description2: _TL_('Once an experiment is ended, it cannot be restarted.'),\r\n Experiment_ConvertToNewCampaign_Description: _TL_('Your new campaign will have the same daily budget as your original campaign ({{name}}) and will adopt the settings of this experiment. {{name}} will pause automatically.'),\r\n Experiment_ConvertToNewCampaign_Title: _TL_('A new campaign'),\r\n Experiment_UpdateOriginalCampaign_Description: _TL_('Your original campaign will adopt the settings of this experiment and {{name}} will pause automatically.'),\r\n Experiment_UpdateOriginalCampaign_Title: _TL_('Your original campaign'),\r\n Experiment_EndNow: _TL_('End experiment now'),\r\n};\r\n\r\nexport class ExperimentActions extends DeterministicView {\r\n initialize({\r\n experimentEntity,\r\n expItemFromEdm,\r\n i18n,\r\n scope,\r\n }) {\r\n this.i18n = buildLegacyI18n(i18n, [i18nMap]);\r\n // Allow fallback to general error string, see handleServerError\r\n this.i18n.failFast = false;\r\n this.experimentEntity = experimentEntity;\r\n this.expItemFromEdm = expItemFromEdm;\r\n this.setState({\r\n status: experimentEntity.Status,\r\n });\r\n this.scope = scope;\r\n }\r\n\r\n get template() {\r\n return template;\r\n }\r\n\r\n updateExperiment = (status) => {\r\n const requestBody = _.defaults({\r\n Status: status,\r\n }, _.pick(this.experimentEntity, ['ExperimentName', 'ExperimentCampaignId', 'ExperimentType', 'StartDate', 'EndDate', 'TrafficSplitPercent', 'BaseCampaignId']));\r\n\r\n const observable = this.expItemFromEdm.patch(requestBody);\r\n const observer = {\r\n next: () => this.handleExperimentUpdate(status),\r\n error: response => this.handleServerError(response),\r\n };\r\n\r\n this.subscription = observable.subscribe(observer);\r\n }\r\n\r\n\r\n handleExperimentUpdate = (status) => {\r\n this.setState({ status });\r\n if (status !== 'Ended') {\r\n // redirect to experiments page\r\n this.scope.set({\r\n cid: this.scope.values.cid,\r\n aid: this.scope.values.aid,\r\n uid: this.scope.values.uid,\r\n });\r\n this.scope.save('/campaign/vnext/experiments');\r\n }\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n handleServerError = (response) => {\r\n const alertHelper = new AlertHelper({ i18n: this.i18n });\r\n const errorCode = putil.get(response, 'errors[0].Code');\r\n this.subscription.unsubscribe();\r\n alertHelper.showError(this.i18n.getString(`Experiment_Error_${errorCode}`) || this.i18n.getString('Experiment_Error_undefined'));\r\n }\r\n\r\n showApplyDialog() {\r\n const contentView = new ApplyView({\r\n i18n: this.i18n,\r\n experimentName: this.experimentEntity.ExperimentName,\r\n originalCampaignName: this.experimentEntity.BaseCampaignName,\r\n });\r\n\r\n this.dialog = new Dialog()\r\n .setContent(contentView)\r\n .setState({\r\n title: this.i18n.getString('Experiment_UseExperimentSettingsIn'),\r\n buttons: [{\r\n text: this.i18n.getString('Save'),\r\n name: 'confirm',\r\n class: 'btn-primary',\r\n }, {\r\n text: this.i18n.getString('Cancel'),\r\n name: 'cancel',\r\n }],\r\n });\r\n\r\n this.dialog.on('clickedButton', (name) => {\r\n if (name === 'confirm') {\r\n const status = _.result({\r\n 'update-original': 'Promoted',\r\n 'convert-to-new': 'Graduated',\r\n }, contentView.getState().selectedItem);\r\n\r\n this.updateExperiment(status);\r\n }\r\n\r\n this.removeDialog();\r\n });\r\n\r\n this.dialog.$el.appendTo(document.body);\r\n this.dialog.show();\r\n this.dialog.$('.modal').addClass('experiment-actions-apply-dialog');\r\n }\r\n\r\n showEndDialog() {\r\n const contentView = new EndView({\r\n i18n: this.i18n,\r\n experimentName: this.experimentEntity.ExperimentName,\r\n });\r\n\r\n this.dialog = new Dialog()\r\n .setContent(contentView)\r\n .setState({\r\n title: this.i18n.getString('Experiment_EndDialog_Title'),\r\n buttons: [{\r\n text: this.i18n.getString('Experiment_EndDialog_SaveButton'),\r\n name: 'confirm',\r\n class: 'btn-primary',\r\n }, {\r\n text: this.i18n.getString('Cancel'),\r\n name: 'cancel',\r\n }],\r\n });\r\n\r\n this.dialog.on('clickedButton', (name) => {\r\n if (name === 'confirm') {\r\n this.updateExperiment('Ended');\r\n }\r\n\r\n this.removeDialog();\r\n });\r\n\r\n this.dialog.$el.appendTo(document.body);\r\n this.dialog.show();\r\n this.dialog.$('.modal').addClass('experiment-actions-end-dialog');\r\n }\r\n\r\n get events() {\r\n return {\r\n 'click .apply-experiment': () => this.showApplyDialog(),\r\n 'click .end-experiment': () => this.showEndDialog(),\r\n };\r\n }\r\n\r\n removeDialog() {\r\n if (this.dialog) {\r\n this.dialog.remove();\r\n this.dialog = null;\r\n }\r\n }\r\n\r\n remove() {\r\n this.removeDialog();\r\n super.remove();\r\n }\r\n}\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { HelpPopup } from '@bingads-webui-react/help-popup';\r\nimport { getPerformanceComparisonPeriodDateText } from '../shared/utils';\r\n\r\nexport class Title extends React.PureComponent {\r\n render() {\r\n const {\r\n i18n,\r\n datePickerStartDate,\r\n datePickerEndDate,\r\n experimentStartDate,\r\n experimentEndDate,\r\n serverContext,\r\n } = this.props;\r\n\r\n const isUINext = true;\r\n const { start, end } = getPerformanceComparisonPeriodDateText({\r\n datePickerStartDate,\r\n datePickerEndDate,\r\n experimentStartDate,\r\n experimentEndDate,\r\n isUINext,\r\n serverContext,\r\n });\r\n\r\n return (\r\n
\r\n {i18n.getString('Experiment_ScoreCard_PerformanceComparisonPeriod', { start, end })}\r\n \r\n