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B1nE,GAC/B,IAZsB2nE,EAAUC,EAY1B1+B,EAAQ/rC,EAAAA,MAAkB0c,OAAO7f,SAASD,QAE3B40B,EAGjB3uB,EAHFsuB,YAAepJ,GACQtB,EAErB5jB,EAFFilB,gBAAmBC,GACGhJ,EACpBlc,EADFmlB,eAAkBD,GAGd2iD,GAnBgBF,EAmBYz+B,EAnBF0+B,EAmBS,CAAEj5C,IAAAA,EAAK/K,IAAAA,EAAK1H,IAAAA,GAlB9C5iB,IAAAA,OAASsuE,GAAU,SAACllC,EAAQtoC,EAAOD,GAIxC,OAHIb,IAAAA,IAAMquE,EAAUxtE,IAAUC,GAASutE,EAASxtE,KAAI,GAAAjB,OAAQkB,IAC1Dd,IAAAA,OAASopC,GAAMsI,EAAAA,EAAAA,GAAA,GAAK7wC,EAAG,GAAAjB,OAAMkB,KAExBsoC,CACT,GAAG,CAAC,IAeJ,IAAKppC,IAAAA,QAAUuuE,GAAa,CAC1B,IAAMC,EAAexuE,IAAAA,OAAS4vC,EAAO2+B,GACrChuD,OAAOngB,QAAQquE,aAAa,CAAC,EAAGttD,SAASoiB,MAAM,IAAD3jC,OAAMiE,EAAAA,UAAsB2qE,EAAc,CAAEE,MAAM,KAClG,CACF,C","sources":["components/accounts-page/accounts-page.js","components/new-feature-badge/selectors.js","components/new-feature-badge/index.js","contexts/with-bing-map.js","data-fetch/with-dfm.js","components/feature-loaders.js","components/preexecute/with-page-name.js","components/preexecute/with-preexecute.js","components/campaign-onboarding-shell.js","components/website-exclusion-lists-shell.js","components/withClipchampPlayer.js","components/app-content.js","components/campaign-type-filter-updater.js","components/redirects.js","components/redirect-reporting-url.js","components/fallback-updater.js","data-fetch/with-top-two-campaigns.js","components/scope-provider.js","components/scope-switching-reloader.js","components/new-version-reloader.js","global-init/init-odata-cache.js","components/layout-switch.js","app.js","bootstrap.js","components/ads-copilot/teaching-bubble.js","components/ads-copilot/use-copilot-toggle-event-listener.js","components/ads-copilot/loader.js","components/ads-copilot/use-get-is-pilot-enabled.js","components/route-change-logger.js","components/newui-preference-dialog/newui-preference-dialog.js","components/import-status-checker.js","components/page-title-updater.js","components/navigation-refresh-logger.js","components/navigation-refresh-dialog/navigation-refresh-dialog.js","components/consent-mode-dialog/use-styles.js","components/consent-mode-dialog/email.js","components/consent-mode-dialog/config.js","components/consent-mode-dialog/data-repository.js","components/consent-mode-dialog/index.js","components/after-page-ready.js","components/delayed-notifications-bar.js","components/draft-error-page.js","components/dynamic-routes.js","components/global-menu-wrapper.js","components/new-global-menu-wrapper.js","components/preexecute/preexecute-container.js","components/preexecute/style.js","components/teaching-bubble/custom-churn-model-coupon-teaching-bubble-config.js","components/teaching-bubble/custom-uet-teaching-bubble-governance-config.js","components/teaching-bubble/teaching-bubble-config.js","components/teaching-bubble/teaching-bubble-renderer.js","components/utils.js","contexts/app-perfmarker-context.js","contexts/with-cc-js-data-context-provider.js","contexts/with-page-perf-marker.js","data-fetch/data-fetch-manager.js","data-fetch/fetch-accounts-overview-page-data-webpack.js","data-fetch/fetch-adgroups-page-data.js","data-fetch/fetch-ads-page-data.js","data-fetch/fetch-budget-center-page-data.js","data-fetch/fetch-campaigns-page-data-webpack.js","data-fetch/fetch-customer-overview-page-data-webpack.js","data-fetch/fetch-fluent-overview-page-data-webpack.js","data-fetch/fetch-overview-page-data-webpack.js","data-fetch/fetch-performance-page-data-webpack.js","data-fetch/fetch-pmax-overview-page-data-webpack.js","data-fetch/fetch-positive-keywords-page-data.js","data-fetch/is-dfm-enabled-for-path.js","global-init/constants.js","global-init/global-init.js","global-init/omniture.js","global-init/init-cc-js-data.js","global-init/init-settings-context.js","global-init/query-param-checker.js"],"sourcesContent":["import _ from 'underscore';\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { QueryParam, withScope } from '@bingads-webui-react/scope-service';\r\nimport { getPathName } from '@bingads-webui-campaign-react/page-menu';\r\nimport {\r\n withSiteMap,\r\n processor,\r\n} from '@bingads-webui-campaign-react/with-site-map';\r\nimport { withDefaultLandingPage } from '@bingads-webui-campaign-react/with-default-landing-page';\r\nimport { withPreference } from '@bingads-webui-react/preference-context';\r\n\r\nclass AccountsPage extends React.PureComponent {\r\n componentDidMount() {\r\n this.navigate();\r\n }\r\n\r\n gotoPage = (page) => {\r\n const pageItem = _.findWhere(this.props.siteMap, { id: page });\r\n if (!_.isEmpty(pageItem)) {\r\n const { scope: { history } } = this.props;\r\n history.replace({\r\n pathname: getPathName(pageItem),\r\n search: history.location.search,\r\n });\r\n }\r\n }\r\n\r\n navigate() {\r\n const { defaultLandingPage } = this.props;\r\n\r\n this.gotoPage(defaultLandingPage);\r\n }\r\n\r\n render() {\r\n return null;\r\n }\r\n}\r\n\r\nAccountsPage.propTypes = {\r\n preferenceService: PropTypes.shape({\r\n setAtUserLevel: PropTypes.func,\r\n findByNameAtUserLevel: PropTypes.func,\r\n }).isRequired,\r\n scope: PropTypes.instanceOf(QueryParam).isRequired,\r\n defaultLandingPage: PropTypes.string.isRequired,\r\n siteMap: PropTypes.arrayOf(PropTypes.shape({\r\n id: PropTypes.string,\r\n })).isRequired,\r\n};\r\n\r\nexport const AccountsPageNavigation = withSiteMap(withScope(withDefaultLandingPage(withPreference(AccountsPage))), [processor.processPath]);\r\n","import _ from 'underscore';\r\n\r\nconst newTagForAdScheduleTimezoneSettings = [\r\n];\r\n\r\nexport const selectors = _.flatten([\r\n newTagForAdScheduleTimezoneSettings,\r\n]);\r\n","import _ from 'underscore';\r\nimport { selectors } from './selectors';\r\n\r\n\r\nconst regexPseudo = /::(after|before)$/;\r\nconst style = {\r\n position: 'relative',\r\n top: '-15px',\r\n left: '-14px',\r\n color: '#ffffff',\r\n border: '1px solid #ffffff',\r\n height: '20px',\r\n padding: '1px 9px',\r\n 'font-size': '12px',\r\n 'box-shadow': '0 2px 5px #a19f9d',\r\n 'font-weight': 'normal',\r\n 'line-height': '16px',\r\n 'border-radius': '12px',\r\n 'background-color': '#D83B01',\r\n};\r\n\r\nexport function addBadgeForNewFeatures(text) {\r\n const pseudoElements = _.map(selectors, sel => (sel.match(regexPseudo) ? sel : `${sel}::after`));\r\n const styleText = _.map(style, (value, key) => `${key}: ${value}`).join('; ');\r\n const css = `${pseudoElements.join(', ')} {${styleText}; content: \"${text}\";}`;\r\n const styleElement = document.createElement('style');\r\n\r\n styleElement.appendChild(document.createTextNode(css));\r\n document.head.appendChild(styleElement);\r\n}\r\n","import React from 'react';\r\nimport { notificationApi } from '@bingads-webui-react/notification-center';\r\nimport { withI18nConsumer } from '@bingads-webui-react/i18n-context';\r\n// eslint-disable-next-line\r\nimport { loadMap } from '@bingads-webui-campaign-legacy/dashboard-page/service/load-map';\r\nimport instrumentation from '@bingads-webui-campaign-legacy/instrumentation/index';\r\n\r\nconst BING_MAP_ERR_MSG = _TL_('We\\'ve encountered an error while loading Bing Map SDK and cannot continue. Please check your network connection and try again, or contact Support for assistance.');\r\n\r\nexport const withBingMap = (WrappedComponent) => {\r\n const ComponentWithBingMap = React.lazy(() => loadMap()\r\n .then(() => ({\r\n default: WrappedComponent,\r\n })).catch((e) => {\r\n const scenario = instrumentation.loadBingMapScenario.create();\r\n const activity = scenario.loadBingMapError.create();\r\n activity.error(`Failed to load bing map SDK, exception: ${e}`);\r\n return {\r\n default: withI18nConsumer((props) => {\r\n notificationApi.showWarning(props.i18n.getString(BING_MAP_ERR_MSG));\r\n return ;\r\n }),\r\n };\r\n }));\r\n\r\n return props => ;\r\n};\r\n","/* eslint-disable react/no-multi-comp */\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport Promise from 'bluebird';\r\nimport queryString from 'query-string';\r\nimport { withRouter } from '@bingads-webui-campaign-react/router';\r\nimport { perfMarkerPropTypes } from '@bingads-webui/performance-marker';\r\nimport { withServerContext } from '@bingads-webui-campaign-react/server-context';\r\nimport { PreferenceService } from '@bingads-webui/preference-service';\r\nimport { withPermissions } from '@bingads-webui-react/hoc-with-permissions';\r\nimport { getCampaignType } from '@bingads-webui-campaign-react/with-campaign-type';\r\nimport state from '@bingads-webui-component-legacy/state/index';\r\nimport { withAppPerfMarker } from '../contexts/app-perfmarker-context';\r\nimport { isDFMEnabledForPath } from './is-dfm-enabled-for-path';\r\n\r\nconst DFMQueryKeys = [\r\n 'uid',\r\n 'cid',\r\n 'aid',\r\n 'campaignId',\r\n 'adGroupId',\r\n 'adId',\r\n 'filterAlias',\r\n 'filterArguments',\r\n 'filterExpressions',\r\n];\r\n\r\nconst getDFMQueryId = ({ pathname, search }) => {\r\n const queryValues = queryString.parse(search);\r\n const queryKey = DFMQueryKeys.map(key => `${key}:${queryValues[key]}`).join(',');\r\n return `${pathname}?${queryKey}`;\r\n};\r\n\r\nexport const DFMContext = React.createContext();\r\n\r\nexport function withDFMProvider(Component) {\r\n class DFMProvider extends React.PureComponent {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n dfmPromise: Promise.resolve(),\r\n };\r\n }\r\n\r\n componentDidMount() {\r\n const {\r\n history, serverContext, appPerfMarker,\r\n } = this.props;\r\n\r\n const dfmPerfMarker = appPerfMarker.createChild('Data_Fetch_Manager_V2');\r\n\r\n let { pathname: prePathname, search: preSearch } = history.location;\r\n // the history change event is always triggered before the react-router navigation logic and page mount logic\r\n // so it's the best place for DFM call\r\n history.listen((location) => {\r\n const { pathname, search } = location;\r\n // If the route and query keys which dfm depends has not changed, do not update dfmPromise\r\n const preDFMQueryId = getDFMQueryId({ pathname: prePathname, search: preSearch });\r\n const curDFMQueryId = getDFMQueryId({ pathname, search });\r\n if (preDFMQueryId === curDFMQueryId) {\r\n return;\r\n }\r\n prePathname = pathname;\r\n preSearch = search;\r\n\r\n const params = new URLSearchParams(preSearch);\r\n const campaignType = getCampaignType(Number(params.get('campaignId')));\r\n\r\n // if not a allowed pathname, skip dfm fetch\r\n if (!isDFMEnabledForPath(pathname, serverContext, campaignType)) {\r\n const dfmPromise = Promise.resolve();\r\n dfmPromise.id = curDFMQueryId;\r\n this.setState({\r\n dfmPromise,\r\n });\r\n return;\r\n }\r\n\r\n if (state && state.set) {\r\n // reset page number before loading DFM.\r\n state.set('pgridPageNumber', {});\r\n }\r\n\r\n const dfmPromise = import(/* webpackMode: 'eager' */'./data-fetch-manager')\r\n .then(({ fetchData }) => fetchData({\r\n serverContext,\r\n preferenceService: PreferenceService,\r\n loadingPath: pathname,\r\n dfmPerfMarker,\r\n campaignType,\r\n }));\r\n dfmPromise.id = curDFMQueryId;\r\n this.setState({\r\n dfmPromise,\r\n });\r\n });\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n \r\n \r\n );\r\n }\r\n }\r\n\r\n DFMProvider.propTypes = {\r\n history: PropTypes.shape({\r\n listen: PropTypes.func.isRequired,\r\n }).isRequired,\r\n serverContext: PropTypes.shape({\r\n PageTrackingId: PropTypes.string.isRequired,\r\n CurrentLocale: PropTypes.string.isRequired,\r\n CurrentAccount: PropTypes.shape({\r\n AccountNumber: PropTypes.string,\r\n }),\r\n ServicesEndpoints: PropTypes.shape({\r\n ClientCenterUIAPI: PropTypes.string.isRequired,\r\n }),\r\n }).isRequired,\r\n appPerfMarker: perfMarkerPropTypes.isRequired,\r\n permissions: PropTypes.shape({\r\n IsDataFetchManagerV2Enabled: PropTypes.bool.isRequired,\r\n }).isRequired,\r\n };\r\n\r\n return withPermissions(withAppPerfMarker(withServerContext(withRouter(DFMProvider))));\r\n}\r\n\r\n/**\r\n * Use Context.Consumer instead of Class.contextType\r\n * Because there are some PureComponents between DFMProvider and DFMReady\r\n * React will not trigger DFMReady rendering if we use Class.contextType\r\n * @param {React.Component} Component component\r\n * @returns {React.Component} component with dfmPromise props\r\n */\r\nfunction withDFMConsumer(Component) {\r\n const DFMConsumer = props => (\r\n \r\n {dfmPromise => }\r\n \r\n );\r\n return DFMConsumer;\r\n}\r\n\r\nexport function withDFMReady(Component) {\r\n class DFMReady extends React.PureComponent {\r\n constructor(props) {\r\n super(props);\r\n this.dfmTriggered = false;\r\n this.preDFMPromise = null;\r\n }\r\n\r\n updateDFMTriggered() {\r\n const { dfmPromise, location } = this.props;\r\n const expectedDFMQueryId = getDFMQueryId(location);\r\n const isFirstRender = !dfmPromise.id;\r\n const isNewDFMPromise = dfmPromise !== this.preDFMPromise;\r\n const isExpectedDFMPromise = dfmPromise.id === expectedDFMQueryId;\r\n if (isNewDFMPromise && (isFirstRender || isExpectedDFMPromise)) {\r\n this.dfmTriggered = false;\r\n this.preDFMPromise = dfmPromise;\r\n dfmPromise.finally(() => {\r\n this.dfmTriggered = true;\r\n this.forceUpdate();\r\n });\r\n }\r\n }\r\n\r\n render() {\r\n /**\r\n * Update this.dfmTriggered before each rendering instead of in componentDidMount\r\n * Because updating the search without updating pathname also requires triggering remount\r\n */\r\n this.updateDFMTriggered();\r\n return this.dfmTriggered ? : null;\r\n }\r\n }\r\n\r\n DFMReady.propTypes = {\r\n dfmPromise: PropTypes.shape({\r\n id: PropTypes.string,\r\n then: PropTypes.func.isRequired,\r\n catch: PropTypes.func.isRequired,\r\n finally: PropTypes.func.isRequired,\r\n }).isRequired,\r\n };\r\n\r\n return withPermissions(withDFMConsumer(DFMReady));\r\n}\r\n","import React from 'react';\r\nimport _ from 'underscore';\r\nimport { withServerContext } from '@bingads-webui-campaign-react/server-context';\r\nimport { withPermissions } from '@bingads-webui-react/hoc-with-permissions';\r\nimport { withFooter } from '@bingads-webui-campaign-react/content-footer-hoc';\r\nimport { withInstrumentation } from '@bingads-webui-react/hoc-with-instrumentation';\r\nimport { withCampaignType } from '@bingads-webui-campaign-react/with-campaign-type';\r\nimport { withScope } from '@bingads-webui-react/scope-service';\r\nimport { lazyLoad, withContexts, importAfterPreLoad, importAfterPreLoadHighCharts, getDefaultExport } from './utils';\r\nimport { withDFMReady } from '../data-fetch/with-dfm';\r\n\r\nconst OverviewPageNoRjsShell = () => importAfterPreLoadHighCharts(() => import(/* webpackChunkName: \"overview-page\" */'../feature-bootstrap/overview-page').then(getDefaultExport));\r\nconst NewOverviewPageNoRjsShell = () => importAfterPreLoadHighCharts(() => import(/* webpackChunkName: \"new-overview-page\" */'../feature-bootstrap/new-overview-page').then(getDefaultExport));\r\nconst NewOverviewPagePhase2NoRjsShell = () => importAfterPreLoadHighCharts(() => import(/* webpackChunkName: \"new-overview-page-phase-2\" */'../feature-bootstrap/new-overview-page-phase-2').then(getDefaultExport));\r\nconst CampaignsPageNoRjsShell = () => importAfterPreLoadHighCharts(() => import(/* webpackChunkName: \"campaigns-page\" */'../feature-bootstrap/campaigns-page').then(getDefaultExport));\r\nconst PerformancePageNoRjsShell = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"performance-page\" */'../feature-bootstrap/performance-page').then(getDefaultExport), true, true);\r\nconst AdExtensionsShellNoRjs = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"ad-extensions-page\" */'../feature-bootstrap/ad-extensions-page').then(getDefaultExport), false, true);\r\n\r\nconst importAdExtensionsFeatures = () => import(/* webpackChunkName: \"ad-extensions-page\" */ '../feature-bootstrap/ad-extensions-dynamic');\r\n\r\nconst AdExtensionShellWrapper = React.memo((props) => {\r\n const Loader = lazyLoad(\r\n AdExtensionsShellNoRjs,\r\n c => importAdExtensionsFeatures().then(({ withDynamicFeatures }) => withInstrumentation(withContexts(withServerContext(withDynamicFeatures(c)))))\r\n );\r\n\r\n return ();\r\n});\r\n\r\nconst OverviewShellWrapper = withCampaignType(withServerContext((props) => {\r\n const { serverContext, campaignType, scope } = props;\r\n const aid = _.get(scope, ['values', 'aid']);\r\n const isAccountIdAvailable = !!aid;\r\n const {\r\n OverviewPageFluentV2,\r\n OverviewPageFluent2,\r\n AppAdsCampaignPhaseOne,\r\n LinkedInCampaigns,\r\n PMaxLiteOverviewFluent,\r\n PMaxCampaignOverviewFluent,\r\n CustomerLevelOverviewFluent,\r\n UnifiedAppAds,\r\n } = serverContext.DynamicPermissions;\r\n\r\n const isLinkedInCampaign = campaignType === 'LinkedIn' && LinkedInCampaigns;\r\n const overviewFluentV2 = OverviewPageFluentV2 || OverviewPageFluent2;\r\n const pmaxCampaignNewFluent = overviewFluentV2 && (PMaxLiteOverviewFluent || PMaxCampaignOverviewFluent);\r\n\r\n const showNewOverview = (\r\n (overviewFluentV2 || isLinkedInCampaign || AppAdsCampaignPhaseOne || pmaxCampaignNewFluent || UnifiedAppAds) && isAccountIdAvailable\r\n ) || CustomerLevelOverviewFluent;\r\n\r\n const OverviewPageNoRjsShellToUse = showNewOverview ? NewOverviewPagePhase2NoRjsShell : OverviewPageNoRjsShell;\r\n\r\n const Loader = lazyLoad(\r\n campaignType === 'PerformanceMax' && !pmaxCampaignNewFluent\r\n ? NewOverviewPageNoRjsShell\r\n : OverviewPageNoRjsShellToUse,\r\n c => withFooter(withContexts(c))\r\n );\r\n\r\n\r\n return ();\r\n}));\r\n\r\nconst CampaignsShellWrapper = React.memo((props) => {\r\n const Loader = lazyLoad(CampaignsPageNoRjsShell, c => withContexts(withServerContext(c)));\r\n\r\n return ();\r\n});\r\n\r\nconst PerformanceShellWrapper = (props) => {\r\n const Loader = lazyLoad(PerformancePageNoRjsShell, c => withContexts(withServerContext(c)));\r\n\r\n return ();\r\n};\r\n\r\nexport const adExtensionsLoader = withPermissions(AdExtensionShellWrapper);\r\nexport const overviewPageLoader = withDFMReady(withPermissions(withScope(OverviewShellWrapper)));\r\nexport const campaignsPageLoader = withPermissions(CampaignsShellWrapper);\r\nexport const performancePageLoader = withDFMReady(withPermissions(PerformanceShellWrapper));\r\n","import { extend } from 'underscore';\r\nimport React from 'react';\r\n\r\nexport function withPageName(Component, pageName) {\r\n const ComponentWithPageName = props => (\r\n \r\n );\r\n\r\n extend(ComponentWithPageName, { pageName });\r\n\r\n return ComponentWithPageName;\r\n}\r\n","/* eslint-disable react/prop-types */\r\nimport React from 'react';\r\nimport { PageReady } from '@bingads-webui/page-ready';\r\nimport { withPageReadyAsync } from '@bingads-webui-react/with-page-ready';\r\n\r\nconst DelayedPreexecuteContainer = withPageReadyAsync(() =>\r\n import(/* webpackMode: 'eager' */'./preexecute-container')\r\n .then(({ StyledPreexecuteContainer }) => ({\r\n default: StyledPreexecuteContainer,\r\n })), null);\r\n\r\nexport const withPreexecute = (Component, PreexecuteComponents) => (props) => {\r\n const pageReadyPromise = PageReady.afterPageReady();\r\n\r\n if (!pageReadyPromise.isFulfilled()) {\r\n return (\r\n \r\n \r\n \r\n \r\n );\r\n }\r\n\r\n return ;\r\n};\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withPreference } from '@bingads-webui-react/preference-context';\r\nimport {\r\n withFullScreenLayoutNavRefresh,\r\n} from '@bingads-webui-react/app-layout-container';\r\nimport { withGlobalErrorView } from '@bingads-webui-campaign-react/global-error-options';\r\nimport { withServerContext } from '@bingads-webui-campaign-react/server-context';\r\nimport { withFooter } from '@bingads-webui-campaign-react/content-footer-hoc';\r\nimport { withPermissions } from '@bingads-webui-react/hoc-with-permissions';\r\nimport { withStateStore } from '@bingads-webui/with-state-store';\r\nimport { isNewOnboardingVisibleStore } from '@bingads-webui-campaign-react/onboarding-toggle';\r\nimport {\r\n withCampaignSiteMap,\r\n} from '@bingads-webui-campaign-react/with-site-map';\r\n\r\nimport { lazyLoad, withContexts } from './utils';\r\nimport { withPagePerfMarker } from '../contexts/with-page-perf-marker';\r\nimport { withCcJsDataContextProvider } from '../contexts/with-cc-js-data-context-provider';\r\nimport { routes as r } from './dynamic-routes';\r\n\r\nconst ChooseObjectiveWithLegacyConfig = withCcJsDataContextProvider(withFullScreenLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.ChooseObjectiveWithLegacyConfig, c => withFooter(withContexts(withServerContext(c)))), 'Route_ChooseObjective_VNext'))));\r\nconst CampaignOnboardingV2 = withCcJsDataContextProvider(withFullScreenLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.CampaignOnboardingV2, c => withFooter(withContexts(withServerContext(c)))), 'Route_ChooseObjectiveV2'))));\r\n\r\nconst CampaignOnboardingShellInternal = ({ permissions }) => {\r\n if (permissions.dynamic.DisplayPlusCampaigns) {\r\n return ;\r\n }\r\n\r\n return ;\r\n};\r\n\r\nCampaignOnboardingShellInternal.propTypes = {\r\n permissions: PropTypes.shape({\r\n dynamic: PropTypes.shape({\r\n DisplayPlusCampaigns: PropTypes.bool,\r\n }),\r\n }).isRequired,\r\n};\r\n\r\nexport const CampaignOnboardingShell = withCampaignSiteMap(withStateStore(\r\n withPreference(withPermissions(CampaignOnboardingShellInternal)),\r\n isNewOnboardingVisibleStore,\r\n store => ({\r\n isNewOnboardingVisible: store.state.isNewOnboardingVisible,\r\n })\r\n));\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport { withFullScreenWithSummaryBarNavRefresh } from '@bingads-webui-react/app-layout-container';\r\nimport { withServerContext } from '@bingads-webui-campaign-react/server-context';\r\nimport { withPermissions } from '@bingads-webui-react/hoc-with-permissions';\r\nimport { withGlobalErrorView } from '@bingads-webui-campaign-react/global-error-options';\r\n\r\nimport { withCcJsDataContextProvider } from '../contexts/with-cc-js-data-context-provider';\r\nimport { withLegacyContext } from '../legacy-dep-bootstrap/legacy-context';\r\nimport { lazyLoad, withContexts } from './utils';\r\nimport { withPagePerfMarker } from '../contexts/with-page-perf-marker';\r\nimport { routes } from './dynamic-routes';\r\n\r\nconst StyledSiteExclusionListsCreate = withCcJsDataContextProvider(withLegacyContext(withFullScreenWithSummaryBarNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(routes.SiteExclusionListCustomerCreationShell, c => withContexts(withServerContext(c))), 'Route_SiteExclusionList_CustomerCreation_VNext')))));\r\nconst StyledWebsiteExclusionListsCreateV2 = withFullScreenWithSummaryBarNavRefresh(withPagePerfMarker(lazyLoad(routes.WebsiteExclusionListsPage), 'Route_SiteExclusionList_CustomerCreation_VNext'));\r\n\r\nconst StyledSiteExclusionListsEdit = withCcJsDataContextProvider(withLegacyContext(withFullScreenWithSummaryBarNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(routes.SiteExclusionListCustomerEditPage, c => withContexts(withServerContext(c))), 'Route_SiteExclusionList_CustomerEdit_VNext')))));\r\nconst StyledWebsiteExclusionListsEditV2 = withFullScreenWithSummaryBarNavRefresh(withPagePerfMarker(lazyLoad(routes.WebsiteExclusionListsCustomerEditPage), 'Route_SiteExclusionList_CustomerEdit_VNext'));\r\n\r\nconst StyledSiteExclusionListsViewLists = withCcJsDataContextProvider(withLegacyContext(withFullScreenWithSummaryBarNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(routes.SiteExclusionListAccountLevelListPage, c => withContexts(withServerContext(c))), 'Route_SiteExclusionList_AccountLevel_ListPage_VNext')))));\r\nconst StyledWebsiteExclusionListsViewListsV2 = withFullScreenWithSummaryBarNavRefresh(withPagePerfMarker(\r\n lazyLoad(routes.WebsiteExclusionListsAccountLevelListPage),\r\n 'Route_SiteExclusionList_AccountLevel_ListPage_VNext'\r\n));\r\n\r\nconst StyledSiteExclusionListsViewExclusions = withCcJsDataContextProvider(withLegacyContext(withFullScreenWithSummaryBarNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(routes.SiteExclusionListAccountLevelExclusionsPage, c => withContexts(withServerContext(c))), 'Route_SiteExclusionList_AccountLevel_ExclusionsPage_VNext')))));\r\nconst StyledWebsiteExclusionListsViewExclusionsV2 = withFullScreenWithSummaryBarNavRefresh(withPagePerfMarker(lazyLoad(routes.WebsiteExclusionListsAccountLevelExclusionsPage), 'Route_SiteExclusionList_AccountLevel_ExclusionsPage_VNext'));\r\n\r\n// Generic higher-order component for conditional rendering\r\nconst websiteExclusionListsPermissions = (ComponentV1, ComponentV2) => {\r\n const WebsiteExclusionListsConditional = ({ permissions }) => {\r\n const {\r\n dynamic: { WebsiteExclusionLists },\r\n } = permissions;\r\n\r\n return WebsiteExclusionLists ? : ;\r\n };\r\n\r\n WebsiteExclusionListsConditional.propTypes = {\r\n permissions: PropTypes.shape({\r\n dynamic: PropTypes.shape({\r\n WebsiteExclusionLists: PropTypes.bool,\r\n }),\r\n }).isRequired,\r\n };\r\n\r\n return withPermissions(WebsiteExclusionListsConditional);\r\n};\r\n\r\nconst WebsiteExclusionListsCreateShell = websiteExclusionListsPermissions(StyledSiteExclusionListsCreate, StyledWebsiteExclusionListsCreateV2);\r\nconst WebsiteExclusionListsEditShell = websiteExclusionListsPermissions(StyledSiteExclusionListsEdit, StyledWebsiteExclusionListsEditV2);\r\nconst WebsiteExclusionListsViewListsShell = websiteExclusionListsPermissions(StyledSiteExclusionListsViewLists, StyledWebsiteExclusionListsViewListsV2);\r\nconst WebsiteExclusionListsViewExclusionsShell = websiteExclusionListsPermissions(StyledSiteExclusionListsViewExclusions, StyledWebsiteExclusionListsViewExclusionsV2);\r\n\r\nexport { WebsiteExclusionListsCreateShell, WebsiteExclusionListsEditShell, WebsiteExclusionListsViewListsShell, WebsiteExclusionListsViewExclusionsShell };\r\n","import React from 'react';\r\nimport hoistNonReactStatics from 'hoist-non-react-statics';\r\nimport { getDisplayName } from '@bingads-webui-react/hoc-utils';\r\n\r\nexport const withClipchampPlayer = (WrappedComponent) => {\r\n const Wrapper = (props) => {\r\n const loadClipchampPlayer = async () => {\r\n const [\r\n { createAssetResolver },\r\n {\r\n Player,\r\n usePlayPause,\r\n usePlayerControls,\r\n usePlayerTime,\r\n useFormattedTimeAndDuration,\r\n },\r\n { UrlAssetFetchHandler },\r\n { createHubbleAssetFetchHandler },\r\n { populateSystemAssets },\r\n ] = await Promise.all([\r\n import('@clipchamp/asset-resolution'),\r\n import('@clipchamp/superfill-react'),\r\n import('@clipchamp/asset-resolution/providers/url'),\r\n import('@clipchamp/asset-resolution/providers/hubble'),\r\n import('@clipchamp/asset-resolution/unsafe_system-assets'),\r\n ]);\r\n\r\n return {\r\n createAssetResolver,\r\n Player,\r\n UrlAssetFetchHandler,\r\n createHubbleAssetFetchHandler,\r\n populateSystemAssets,\r\n usePlayPause,\r\n usePlayerControls,\r\n usePlayerTime,\r\n useFormattedTimeAndDuration,\r\n };\r\n };\r\n\r\n return (\r\n \r\n );\r\n };\r\n\r\n Wrapper.displayName = `withClipchampPlayer(${getDisplayName(WrappedComponent)})`;\r\n\r\n hoistNonReactStatics(Wrapper, WrappedComponent);\r\n\r\n return Wrapper;\r\n};\r\n","import _ from 'underscore';\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport { Route, Switch } from '@bingads-webui-campaign-react/router';\r\nimport { withI18nConsumer } from '@bingads-webui-react/i18n-context';\r\nimport { withPreference } from '@bingads-webui-react/preference-context';\r\nimport { withScope } from '@bingads-webui-react/scope-service';\r\nimport { withPermissions } from '@bingads-webui-react/hoc-with-permissions';\r\nimport { withServerContext } from '@bingads-webui-campaign-react/server-context';\r\nimport { withFooter } from '@bingads-webui-campaign-react/content-footer-hoc';\r\nimport { withInstrumentation } from '@bingads-webui-react/hoc-with-instrumentation';\r\nimport {\r\n withAccountsSiteMap,\r\n withCampaignSiteMap,\r\n} from '@bingads-webui-campaign-react/with-site-map';\r\nimport {\r\n withLayout,\r\n withFullScreenLayout,\r\n withFullScreenWithSummaryBar,\r\n withDefaultLayout,\r\n withMenuOnlyLayout,\r\n withoutMenuLayout,\r\n withSingleTabLayout,\r\n layoutConfigs,\r\n withLayoutNavRefresh,\r\n withFullScreenLayoutNavRefresh,\r\n withSummaryBarAndTabNoDateLayoutNavRefresh,\r\n withSummaryBarAndTabAndSubTabLayoutNavRefresh,\r\n withFullScreenWithSummaryBarNavRefresh,\r\n withFullScreenWithSummaryBarAndTabLayoutNavRefresh,\r\n withFullScreenWithSummaryBarNavRefreshNoMenu,\r\n withLayoutNavRefreshWithTab,\r\n withLayoutNavRefreshNoMenu,\r\n} from '@bingads-webui-react/app-layout-container';\r\nimport { AppContentContainer } from '@bingads-webui-react/app-content-container';\r\nimport { ProgressiveLoadingBlock } from '@bingads-webui-campaign-react/shell-ui-common';\r\nimport { PageReady } from '@bingads-webui/page-ready';\r\nimport { PerfMarkerFactory } from '@bingads-webui/performance-marker';\r\nimport { DefaultGlobalErrorView, withChunkErrorActionGlobalErrorView as withGlobalErrorView } from '@bingads-webui-campaign-react/global-error-options';\r\nimport { withOpportunityId } from '@bingads-webui-campaign-react/with-opportunity-id';\r\nimport { AccountsPageNavigation } from './accounts-page/accounts-page';\r\nimport { routes as r } from './dynamic-routes';\r\nimport { lazyLoad, isLandingPage, withContexts, withProps } from './utils';\r\nimport { withPagePerfMarker, withOverviewPerfMarker } from '../contexts/with-page-perf-marker';\r\nimport { addBadgeForNewFeatures } from './new-feature-badge';\r\nimport { withBingMap } from '../contexts/with-bing-map';\r\nimport { withLegacyContext, withCampaignLegacyContext } from '../legacy-dep-bootstrap/legacy-context';\r\nimport { adExtensionsLoader, overviewPageLoader, campaignsPageLoader, performancePageLoader } from './feature-loaders';\r\nimport { withPageName } from './preexecute/with-page-name';\r\nimport { withPreexecute } from './preexecute/with-preexecute';\r\nimport { withAppPerfMarker } from '../contexts/app-perfmarker-context';\r\nimport { withDFMReady } from '../data-fetch/with-dfm';\r\nimport { withCcJsDataContextProvider } from '../contexts/with-cc-js-data-context-provider';\r\nimport { CampaignOnboardingShell } from './campaign-onboarding-shell';\r\nimport { WebsiteExclusionListsCreateShell, WebsiteExclusionListsEditShell, WebsiteExclusionListsViewListsShell, WebsiteExclusionListsViewExclusionsShell } from './website-exclusion-lists-shell';\r\nimport { withClipchampPlayer } from './withClipchampPlayer';\r\n\r\n// Using perf marker factory is the best option here during module import and initial execution. For other places we should continue to use appPerfMarker.\r\nconst appRoutesInitPerfMarker = PerfMarkerFactory.createMarker('ShellPage_WebUI.App_Routes_Init');\r\nappRoutesInitPerfMarker.willInit();\r\n\r\nconst withContextsNoFallback = _.compose(withI18nConsumer, withPermissions, withPreference, withScope);\r\nconst reporting = withLegacyContext(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.Reports, c => withContextsNoFallback(withServerContext(c))), 'Route_Reports_VNext')));\r\nconst ReportsV4 = withLegacyContext(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.ReportsV4, c => withContextsNoFallback(withServerContext(c))), 'Route_Reports_V4')));\r\nconst Fallback = () => ();\r\nconst pageReadyTimeout = 15000;\r\n\r\nlet isPageReadyResolved = false;\r\n\r\nlet firstRoute = '';\r\n\r\n// We need to cache the shell of Product Group Page in this instance. Or every time the router changes, the shell will be rebuilt.\r\n// todo: when we change all pages to use router render method, merge all page with dynamic-route\r\nconst BidStrategiesShell = withLegacyContext(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.BidStrategiesShell, c => withContexts(withServerContext(c))), 'Route_BidStrategies')));\r\nconst StyledChangeHistory = withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledChangeHistory, c => withContexts(withServerContext(c))), 'Route_ChangeHistory_VNext'))));\r\nconst HotelGroupsShell = withLegacyContext(withLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.HotelGroupsShell, c => withContexts(withServerContext(c))), 'Route_HotelGroups'))));\r\nconst PropertyGroupsShell = withLegacyContext(withLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.PropertyGroupsShell, c => withContexts(withServerContext(c))), 'Route_PropertyGroups'))));\r\nconst ProductGroupsShell = withLegacyContext(withLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.ProductGroupsShell, c => withContexts(withServerContext(c))), 'Route_ProductGroups_VNext'))));\r\nconst PerformanceTargetsShell = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.PerformanceTargetsShell, c => withContexts(withServerContext(c))), 'Route_PerformanceTargets_VNext')), { ...layoutConfigs.fullScreenWithSummaryBarAndTab, ...layoutConfigs.withoutNav, ...layoutConfigs.withoutDate }));\r\nconst StyledCampaigns = withCcJsDataContextProvider(withDFMReady(withPageName(withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(campaignsPageLoader, 'Route_Campaigns_VNext')))), 'campaigns')));\r\nconst StyledCampaignsPreexecution = withCcJsDataContextProvider(withPageName(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(campaignsPageLoader, 'Page_Preexecute_campaigns'))), 'campaigns'));\r\nconst StyledCampaignCreationHotel = withFullScreenLayout(withGlobalErrorView(withInstrumentation(withPagePerfMarker(lazyLoad(r.HotelCampaignCreation, c => withFooter(withBingMap(withContexts(withServerContext(c))))), 'Route_HotelCampaignCreation'))));\r\nconst StyledCampaignCreationSearch = withFullScreenLayout(withGlobalErrorView(withInstrumentation(withPagePerfMarker(lazyLoad(r.StyledCampaignCreationSearch, c => withFooter(withBingMap(withContexts(withServerContext(c))))), 'Route_AdvancedCampaignCreationWizard_VNext'))));\r\nconst StyledCampaignCreationSearchV2 = withFullScreenLayout(withGlobalErrorView(withInstrumentation(withPagePerfMarker(lazyLoad(r.StyledCampaignCreationSearchV2, c => withBingMap(withContexts(withServerContext(c)))), 'Route_SearchCampaignCreationWizardV2_VNext'))));\r\nconst StyledCampaignCreationAudience = withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledCampaignCreationAudience, c => withFooter(withBingMap(withContexts(withServerContext(c))))), 'Route_AudienceCampaignCreationWizard_VNext')));\r\nconst StyledCampaignCreationAudienceSimplified = withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledCampaignCreationAudienceSimplified, c => withFooter(withBingMap(withContexts(withServerContext(c))))), 'Route_AudienceCampaignCreationSimplifiedWizard_VNext')));\r\nconst StyledCampaignCreationAudienceVideo = withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledCampaignCreationAudienceVideo, c => withFooter(withBingMap(withContexts(withServerContext(c))))), 'Route_AudienceCampaignCreationWizard_VNext')));\r\nconst StyledCampaignCreationSearchShopping = withCcJsDataContextProvider(withDFMReady(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledCampaignCreationSearchShopping, c => withFooter(withBingMap(withContexts(withServerContext(c))))), 'Route_AdvancedCampaignShoppingCreationWizard_VNext')))));\r\nconst StyledCampaignCreationSearchShoppingWizard = withCcJsDataContextProvider(withDFMReady(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledCampaignCreationSearchShoppingWizard, c => withBingMap(withContexts(withServerContext(c)))), 'Route_AdvancedCampaignNewShoppingCreationWizard_VNext')))));\r\nconst StyledCampaignCreationAudienceShoppingWizard = withCcJsDataContextProvider(withDFMReady(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledCampaignCreationAudienceShoppingWizard, c => withBingMap(withContexts(withServerContext(c)))), 'Route_AdvancedCampaignNewShoppingCreationAudienceWizard_VNext')))));\r\nconst StyledSponsoredCampaignCreation = withDFMReady(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.SponsoredCampaignCreationPage, c => withFooter(withBingMap(withContexts(withServerContext(c))))), 'Route_SpaSpbCampaignCreation_VNext'))));\r\nconst StyledCampaignCreationMSStoreAds = withCcJsDataContextProvider(withDFMReady(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledCampaignCreationMSStoreAds, c => withFooter(withBingMap(withContexts(withServerContext(c))))), 'Route_MSStoreAdsCampaignCreationWizard_VNext')))));\r\nconst StyledCampaignCreationAudienceShopping = withDFMReady(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledCampaignCreationAudienceShopping, c => withFooter(withBingMap(withContexts(withServerContext(c))))), 'Route_AudienceCampaignShoppingCreationWizard_VNext'))));\r\nconst PerfMaxCampaignCreationPage = withCcJsDataContextProvider(withFullScreenLayout(withGlobalErrorView(withInstrumentation(withPagePerfMarker(lazyLoad(r.PerfMaxCampaignCreationPage, c => withBingMap(withContexts(withServerContext(c)))), 'Route_PerfMaxCampaignCreationPage_VNext')))));\r\nconst LinkedInCampaignCreationPage = withFullScreenWithSummaryBar(withGlobalErrorView(withInstrumentation(withPagePerfMarker(lazyLoad(r.LinkedInCampaignCreationPage, c => withBingMap(withContexts(withServerContext(c)))), 'Route_LinkedInCampaignCreationPage_VNext'))));\r\nconst LinkedInAdEditorPage = withFullScreenWithSummaryBar(withGlobalErrorView(withInstrumentation(withPagePerfMarker(lazyLoad(r.LinkedInAdEditorPage, c => withBingMap(withContexts(withServerContext(c)))), 'Route_LinkedInAdEditorPage_VNext'))));\r\n// const LinkedInAdEditorPage = withFullScreenWithSummaryBar(withGlobalErrorView(withInstrumentation(withPagePerfMarker(lazyLoad(r.LinkedInAdEditorPage, c => withContexts(withServerContext(c))), 'Route_LinkedInAdEditorPage_VNext'))));\r\nconst PerfMaxNorthStarCampaignCreationPage = withCcJsDataContextProvider(withFullScreenLayout(withGlobalErrorView(withInstrumentation(withPagePerfMarker(lazyLoad(r.PerfMaxNorthStarWizard, c => withBingMap(withContexts(withServerContext(c)))), 'Route_PerfMaxCampaignCreationPage_NorthStar')))));\r\nconst StyledXandrVideoCampaignCreationPage = withFullScreenLayout(withGlobalErrorView(withInstrumentation(withPagePerfMarker(lazyLoad(r.StyledXandrVideoCampaignCreationPage, c => withBingMap(withContexts(withServerContext(c))))), 'Route_XandrVideoCampaignCreationPage_VNext')));\r\nconst StyledXandrDisplayAdsCampaignCreationPage = withFullScreenLayout(withGlobalErrorView(withInstrumentation(withPagePerfMarker(lazyLoad(r.StyledXandrDisplayAdsCampaignCreationPage, c => withBingMap(withContexts(withServerContext(c))))), 'Route_XandrDisplayAdsCampaignCreationPage_VNext')));\r\nconst StyledDisplayPlusCampaignsPage = withClipchampPlayer(withFullScreenLayout(withGlobalErrorView(withInstrumentation(withPagePerfMarker(lazyLoad(r.StyledDisplayPlusCampaignsPage, c => withBingMap(withContexts(withServerContext(c)))), 'Route_DisplayPlusCampaigns')))));\r\nconst StyledDisplayPlusCampaignsDisplayAdsPage = withFullScreenLayout(withGlobalErrorView(withInstrumentation(withPagePerfMarker(lazyLoad(r.StyledDisplayPlusCampaignsPage, c => withBingMap(withContexts(withServerContext(withProps(c, { adsType: 'Display' }))))), 'Route_DisplayPlusCampaigns'))));\r\nconst StyledAppAdsCampaignsPage = withFullScreenLayout(withGlobalErrorView(withInstrumentation(withPagePerfMarker(lazyLoad(r.StyledAppAdsCampaignsPage, c => withBingMap(withContexts(withServerContext(c)))), 'Route_AppAdsCampaigns'))));\r\nconst StyledAppAdsAssetGroupCreation = withFullScreenLayout(withGlobalErrorView(withInstrumentation(withPagePerfMarker(lazyLoad(r.StyledAppAdsAssetGroupCreation, c => withBingMap(withContexts(withServerContext(c)))), 'Route_AppAdsAssetGroupCreatio'))));\r\nconst AdGroupCreationWithCampaign = withCampaignLegacyContext(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.AdGroupCreationWithCampaign, c => withFooter(withBingMap(withContexts(withServerContext(c))))), 'Route_AdGroup_Creation_VNext'))));\r\nconst StyledAdGroups = withDFMReady(withPageName(withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAdGroups, c => withContexts(withServerContext(c))), 'Route_AdGroup_VNext')))), 'adgroups'));\r\nconst StyledAdGroupsPreexecution = withPageName(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAdGroups, c => withContexts(withServerContext(c))), 'Page_Preexecute_adgroups'))), 'adgroups');\r\nconst StyledAds = withClipchampPlayer(withOpportunityId(withDFMReady(withPageName(withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAds, c => withContexts(withServerContext(c))), 'Route_Ads_VNext')))), 'ads'))));\r\nconst StyledAdsPreexecution = withPageName(withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAds, c => withContexts(withServerContext(c))), 'Page_Preexecute_ads')))), 'ads');\r\nconst StyledPositiveKeywords = withOpportunityId(withDFMReady(withPageName(withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledPositiveKeywords, c => withContexts(withServerContext(c))), 'Route_Keywords_VNext')))), 'keywords')));\r\nconst StyledPositiveKeywordsPreexecution = withPageName(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledPositiveKeywords, c => withContexts(withServerContext(c))), 'Page_Preexecute_keywords'))), 'keywords');\r\nconst StyledNegativeKeywords = withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledNegativeKeywords, c => withContexts(withServerContext(c))), 'Route_Negative_Keywords_VNext'))));\r\nconst StyledSearchTerms = withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledSearchterm, c => withContexts(withServerContext(c))), 'Route_Searchterms_VNext'))));\r\nconst StyledBulkEdits = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledBulkEdits, c => withContexts(withServerContext(c))), 'Route_BulkEdits_VNext')), layoutConfigs.accountSummaryWithoutDate));\r\nconst StyledBulkEditsDetail = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledBulkEditsDetail, c => withContexts(withServerContext(c))), 'Route_BulkEditsDetail_VNext')), {\r\n ...layoutConfigs.fullScreenWithSummaryBar,\r\n ...layoutConfigs.withoutDate,\r\n}));\r\nconst MCMCampaignControl = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.MCMCampaignControl, c => withContexts(withServerContext(c))), 'Route_MCMCampaignControl_VNext')), layoutConfigs.withCollapsedMenuOnly));\r\n\r\nconst StyledAudiencePlanner = withLegacyContext(withLayoutNavRefreshWithTab(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAudienceNetworkPlanner, c => withFooter(withBingMap(withContexts(withServerContext(c))))), 'Route_AudiencePlanner_VNext')), layoutConfigs.fullScreenWithSummaryBar));\r\nconst StyledCampaignCreationSmartShoppingPage = withCcJsDataContextProvider(withLegacyContext(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledCampaignCreationSmartShopping, c => withFooter(withBingMap(withContexts(withServerContext(c))))), 'Route_CampaignCreationSmartShopping_VNext')))));\r\nconst recommendations = lazyLoad(r.RecommendationsShell, c => withContexts(withServerContext(c)));\r\nconst recommendationsWithPerfMarker = withGlobalErrorView(withPagePerfMarker(recommendations, 'Route_Recommendations_VNext'));\r\nconst mccRecommendationsWithPerfMarker = withGlobalErrorView(withPagePerfMarker(recommendations, 'Route_MCC_Recommendations_VNext'));\r\nconst StyledRecommendations = withCcJsDataContextProvider(withLayoutNavRefresh(recommendationsWithPerfMarker, layoutConfigs.withoutDate));\r\nconst StyledMCCRecommendations = withCcJsDataContextProvider(withLayoutNavRefresh(mccRecommendationsWithPerfMarker, {\r\n ...layoutConfigs.accountSummary,\r\n ...layoutConfigs.withHistoryButton,\r\n}));\r\nconst StyledRecommendationsWithHistoryButton = withCcJsDataContextProvider(withDFMReady(withLayoutNavRefresh(recommendationsWithPerfMarker, layoutConfigs.withHistoryButton)));\r\nconst StyledRecommendationsHistoryPage = withCcJsDataContextProvider(withFullScreenLayoutNavRefresh(recommendationsWithPerfMarker));\r\nconst StyledMCCRecommendationsHistoryPage = withCcJsDataContextProvider(withFullScreenLayoutNavRefresh(mccRecommendationsWithPerfMarker));\r\nconst StyledRecommendationRSAAsset = withCcJsDataContextProvider(withFullScreenLayoutNavRefresh(recommendations));\r\nconst StyledRecommendationImageAsset = withCcJsDataContextProvider(withFullScreenLayoutNavRefresh(recommendations));\r\nconst StyledRecommendationDemo = withCcJsDataContextProvider(withFullScreenLayoutNavRefresh(recommendations));\r\nconst StyledRecommendationAutoApplySettinsPage = withCcJsDataContextProvider(withFullScreenLayoutNavRefresh(recommendationsWithPerfMarker));\r\nconst StyledRecommendationAutoApplyBulkUploadPage = withCcJsDataContextProvider(withFullScreenLayoutNavRefresh(mccRecommendationsWithPerfMarker));\r\nconst StyledFeeds = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledFeeds, c => withContextsNoFallback(withServerContext(c))), 'Route_Feeds_VNext')), layoutConfigs.withoutNav));\r\nconst StyledImportCenter = withCcJsDataContextProvider(withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledImportCenter, c => withContexts(withServerContext(c))), 'Route_ImportCenter_VNext')), { ...layoutConfigs.withoutMenu, ...layoutConfigs.withoutDate })));\r\nconst StyledAuctionInsightPage = withCcJsDataContextProvider(withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledCompetitionAuctionInsight, c => withContexts(withServerContext(c))), 'Route_CompetitionAuctionInsight_VNext')))));\r\nconst StyledAudienceAssociationPage = withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAudienceAssociationPage, c => withContexts(withServerContext(c))), 'Route_Audiences_VNext'))));\r\nconst StyledAudiencesLibrary = withLegacyContext(withLayoutNavRefreshWithTab(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAudiencesLibrary, c => withContexts(withServerContext(c))), 'Route_AudienceSharedLibrary_VNext')), layoutConfigs.fullScreenWithSummaryBar));\r\nconst StyledAudiencesLibraryV2 = withLegacyContext(withSummaryBarAndTabNoDateLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAudiencesLibrary, c => withContexts(withServerContext(c))), 'Route_AudienceSharedLibrary_VNext'))));\r\nconst StyledAudienceSignalManagement = withSummaryBarAndTabNoDateLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAudienceSignalManagement, c => withContexts(withServerContext(withPermissions(c))), 'Route_AudienceSignalManagement_VNext'))));\r\nconst StyledAudienceCustomSegments = withSummaryBarAndTabNoDateLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAudienceCustomSegmentsPage, c => withContexts(withServerContext(withPermissions(c))), 'Route_AudienceCustomSegments_VNext'))));\r\nconst StyledAudienceAssociationCreation = withLegacyContext(withFullScreenLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAudienceAssociationCreation, c => withFooter(withContexts(withServerContext(c)))), 'Route_AudienceAssociationCreation_VNext'))));\r\nconst StyledAudienceCreation = withLegacyContext(withFullScreenLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAudienceCreation, c => withFooter(withContexts(withServerContext(c)))), 'Route_AudienceCreation_VNext'))));\r\nconst StyledAudienceEdit = withFullScreenLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAudienceEdit, c => withFooter(withContexts(withServerContext(c)))), 'Route_AudienceEdit_VNext')));\r\nconst StyledConversionGoalsAutoCreate = withCcJsDataContextProvider(withLegacyContext(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledConversionGoalsAutoCreate, c => withFooter(withContexts(withServerContext(c)))), 'Route_ConversionGoalsAutoCreate_VNext')))));\r\nconst StyledConversionGoalsCreate = withCcJsDataContextProvider(withLegacyContext(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledConversionGoalsCreate, c => withFooter(withContexts(withServerContext(c)))), 'Route_ConversionGoalsCreate_VNext')))));\r\nconst StyledConversionGoalsEdit = withCcJsDataContextProvider(withLegacyContext(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledConversionGoalsEdit, c => withFooter(withContexts(withServerContext(c)))), 'Route_ConversionGoalsEdit_VNext')))));\r\nconst StyledConversionValueRulesCreate = withCcJsDataContextProvider(withLegacyContext(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledConversionValueRulesCreate, c => withFooter(withContexts(withServerContext(c)))), 'Route_ConversionValueRulesCreate_VNext')))));\r\nconst StyledConversionValueRulesEdit = withCcJsDataContextProvider(withLegacyContext(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledConversionValueRulesCreate, c => withFooter(withContexts(withServerContext(c)))), 'Route_ConversionValueRulesEdit_VNext')))));\r\nconst StyledOverviewPage = withPageName(withLegacyContext(withDefaultLayout(withGlobalErrorView(withOverviewPerfMarker(overviewPageLoader)))), 'overview');\r\nconst StyledUetTags = withCcJsDataContextProvider(withLegacyContext(withLayoutNavRefreshWithTab(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledUetTags, c => withContexts(withServerContext(c))), 'Route_UetTags_VNext')), layoutConfigs.fullScreenWithSummaryBar)));\r\nconst StyledUetAllTagsDashboard = withCcJsDataContextProvider(withLegacyContext(withLayoutNavRefreshWithTab(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledUetTags, c => withContexts(withServerContext(c))), 'Route_UetTags_Dashboard_VNext')), {\r\n ...layoutConfigs.accountSummaryWithoutDate,\r\n tab: { mode: 'hidden' },\r\n})));\r\nconst StyledUetTagsDashboard = withCcJsDataContextProvider(withLegacyContext(withLayoutNavRefreshWithTab(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledUetTags, c => withContexts(withServerContext(c))), 'Route_UetTags_Dashboard_VNext')), {\r\n ...layoutConfigs.accountSummaryWithoutDate,\r\n ...layoutConfigs.withDisabledDate,\r\n})));\r\nconst StyledUetDashboard = withCcJsDataContextProvider(withLegacyContext(withLayoutNavRefreshWithTab(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledUetTags, c => withContexts(withServerContext(c))), 'Route_UetTags_Dashboard_VNext')), { ...layoutConfigs.accountSummaryWithoutDate, ...layoutConfigs.dateWithoutCompare })));\r\nconst StyledUetWebInsights = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledUetWebInsights, c => withContexts(withServerContext(c))), 'Route_StyledUetWebInsights_VNext')), { ...layoutConfigs.accountSummaryWithoutDate, ...layoutConfigs.dateWithoutCompare }));\r\nconst StyledUetTestPage = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledUetTestPage, c => withContexts(withServerContext(c))), 'Route_StyledUetTestPage_VNext')), layoutConfigs.accountSummaryWithoutDate));\r\nconst StyledUetTagsCreate = withCcJsDataContextProvider(withLegacyContext(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledUetTagsCreate, c => withFooter(withContexts(withServerContext(c))), 'Route_UetTagsCreate_VNext'))))));\r\nconst StyledUetTagsEdit = withCcJsDataContextProvider(withLegacyContext(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledUetTagsEdit, c => withFooter(withContexts(withServerContext(c))), 'Route_UetTagsEdit_VNext'))))));\r\nconst UniversalPixelUetTagCreate = withCcJsDataContextProvider(withLegacyContext(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.UniversalPixelUetTagCreate, c => withFooter(withContexts(withServerContext(c))), 'Route_UetUpTagsCreate_VNext'))))));\r\nconst UniversalPixelUetTagEdit = withCcJsDataContextProvider(withLegacyContext(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.UniversalPixelUetTagEdit, c => withFooter(withContexts(withServerContext(c))), 'Route_UetUpTagsEdit_VNext'))))));\r\nconst StyledOfflineConversions = withLegacyContext(withLayoutNavRefreshWithTab(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledOfflineConversions, c => withFooter(withContexts(withServerContext(c)))), 'Route_OfflineConversions_VNext')), { ...layoutConfigs.fullScreenWithSummaryBar }));\r\nconst StyledModeledConversions = withLegacyContext(withLayoutNavRefreshWithTab(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledModeledConversions, c => withFooter(withContexts(withServerContext(c)))), 'Route_ModeledConversions_VNext')), { ...layoutConfigs.fullScreenWithSummaryBar }));\r\nconst StyledConversionGoals = withCcJsDataContextProvider(withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledConversionGoals, c => withContexts(withServerContext(c))), 'Route_ConversionGoals_VNext')), { ...layoutConfigs.fullScreenWithSummaryBarAndTab, ...layoutConfigs.dateWithoutCompare })));\r\nconst StyledConversionValueRules = withLegacyContext(withSummaryBarAndTabNoDateLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledConversionValueRules, c => withContexts(withServerContext(c))), 'Route_ConversionValueRules_VNext')))); const StyledSharedBudgetEdit = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledSharedBudgetEdit, c => withContexts(withServerContext(c))), 'Route_SharedBudgetEdit_VNext')), { ...layoutConfigs.fullScreenWithSummaryBarAndTab, ...layoutConfigs.dateWithoutCompare }));\r\nconst StyledCustomerAcquisition = withLegacyContext(withSummaryBarAndTabNoDateLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledCustomerAcquisition, c => withContexts(withServerContext(c))), 'Route_CustomerAcquisition_VNext'))));\r\nconst StyledHotelCenter = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledHotelCenter, c => withContexts(withServerContext(c))), 'Route_HotelCenter_VNext')), { ...layoutConfigs.accountSummary, ...layoutConfigs.dateWithoutCompare }));\r\nconst StyledHotelCenterV2 = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledHotelCenterV2, c => withFooter(withContexts(withServerContext(c)))), 'Route_HotelCenterV2_VNext')), { ...layoutConfigs.fullScreenWithSummaryBar }));\r\nconst StyledSharedBudgetSummary = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledSharedBudgetSummary, c => withContexts(withServerContext(c))), 'Route_SharedBudgetSummary_VNext')), { ...layoutConfigs.fullScreenWithSummaryBarAndTab, ...layoutConfigs.dateWithoutCompare }));\r\nconst StyledSeasonalityAdjustment = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledSeasonalityAdjustment, c => withContexts(withServerContext(c))), 'Route_SeasonalityAdjustment_VNext')), { ...layoutConfigs.fullScreenWithSummaryBarAndTab, ...layoutConfigs.withoutDate }));\r\nconst StyledPortfolioBidStrategy = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledPortfolioBidStrategy, c => withContexts(withServerContext(c))), 'Route_PortfolioBidStrategy_VNext')), {\r\n ...layoutConfigs.fullScreenWithSummaryBarAndTab,\r\n tab: {}, // Do not specify mode: 'collapsed' or 'expanded', let date picker make the decision based on whether compared date range is enabled.\r\n}));\r\nconst StyledExtensions = withDFMReady(withLegacyContext(withPermissions(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(adExtensionsLoader, 'Route_AdExtensions_VNext'))))));\r\nconst StyledExperiments = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledExperiments, c => withContexts(withServerContext(c))), 'Route_Experiments_VNext')), layoutConfigs.withoutDate));\r\nconst StyledProductFeeds = withLegacyContext(withSummaryBarAndTabNoDateLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(\r\n r.StyledProductFeedPage,\r\n c => withContexts(withServerContext(c))\r\n), 'Route_ProductFeed_VNext'))));\r\nconst StyledLinkedStorePage = withLegacyContext(withSummaryBarAndTabNoDateLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(\r\n r.StyledLinkedStorePage,\r\n c => withContexts(withServerContext(c))\r\n), 'Route_LinkedStore_VNext'))));\r\nconst StyledBusinessLocationFeed = withCcJsDataContextProvider(withLegacyContext(withSummaryBarAndTabNoDateLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledGmbImport, c => withContexts(withServerContext(c))), 'Route_GMBImport_VNext')))));\r\nconst StyledHotelsPage = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledHotels, c => withContexts(withServerContext(c))), 'Route_Hotels'))));\r\nconst StyledPropertiesPage = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledProperties, c => withContexts(withServerContext(c))), 'Route_Properties'))));\r\nconst StyledProductsPage = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(\r\n r.StyledProducts,\r\n c => withContexts(withServerContext(c))\r\n), 'Route_Products_VNext')), layoutConfigs.withoutDate));\r\nconst StyledFeedsSummaryPage = withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(\r\n r.StyledFeedSummaryPage,\r\n c => withContexts(withServerContext(c))\r\n), 'Route_FeedSummary_VNext')), { ...layoutConfigs.fullScreenWithSummaryBarAndTab, ...layoutConfigs.withoutDate });\r\nconst StyledMSStoreAdsSellerIdsPage = withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(\r\n r.StyledMSStoreAdsSellerIdsPage,\r\n c => withContexts(withServerContext(c))\r\n), 'Route_MSStoreAdsSellerIds_VNext')), { ...layoutConfigs.fullScreenWithSummaryBarAndTab, ...layoutConfigs.withoutDate });\r\nconst StyledDemographicsPage = withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.DemographicsShell, c => withContexts(withServerContext(c))), 'Route_Demographics_VNext'))));\r\nconst StyledTargetedLocationsPage = withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledTargetedLocations, c => withBingMap(withContexts(withServerContext(c)))), 'Route_Locations_VNext'))));\r\nconst StyledExcludedLocationsPage = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(\r\n r.StyledExcludedLocations,\r\n c => withBingMap(withContexts(withServerContext(c)))\r\n), 'Route_ExcludedLocations_VNext')), layoutConfigs.withoutDate));\r\nconst StyledAdSchedulePage = withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAdSchedule, c => withContexts(withServerContext(c))), 'Route_AdSchedule_VNext'))));\r\nconst StyledDevicesPage = withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledDevices, c => withContexts(withServerContext(c))), 'Route_Devices_VNext'))));\r\nconst StyledBrandPage = withLegacyContext(withSummaryBarAndTabNoDateLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(\r\n r.StyledBrandPage,\r\n c => withContexts(withServerContext(c))\r\n), 'Route_Brand_VNext'))));\r\nconst StyledCompetitionRecommendation = withCcJsDataContextProvider(withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(lazyLoad(r.StyledCompetitionRecommendations, c => withBingMap(withContexts(withServerContext(c))))), layoutConfigs.withoutDate)));\r\nconst StyledDynamicAdTarget = withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledDynamicAdTarget, c => withContexts(withServerContext(c))), 'Route_DynamicAdTarget_VNext'))));\r\nconst DynamicExclusionShell = withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.DynamicExclusionShell, c => withContexts(withServerContext(c))), 'Route_DynamicExclusion_VNext'))));\r\nconst StyledDynamicSearchTerm = withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledDynamicSearchTerm, c => withContexts(withServerContext(c))), 'Route_DynamicSearchTerm_VNext'))));\r\nconst StyledGoogleImport = withCcJsDataContextProvider(withFullScreenWithSummaryBar(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledGoogleImport, c => withFooter(withContexts(withServerContext(c)))), 'Route_GoogleImport_VNext'))));\r\nconst StyledMultiAccountGoogleImport = withCcJsDataContextProvider(withFullScreenWithSummaryBar(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledMultiAccountGoogleImport, c => withFooter(withContexts(withServerContext(c)))), 'Route_MultiAccountGoogleImport_VNext'))));\r\nconst StyledFileImport = withCcJsDataContextProvider(withFullScreenWithSummaryBar(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledFileImport, c => withFooter(withContexts(withServerContext(c)))), 'Route_FileImport_VNext'))));\r\nconst StyledImportSchedule = withCcJsDataContextProvider(withLegacyContext(withFullScreenWithSummaryBarNavRefreshNoMenu(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledImportSchedule, c => withFooter(withContexts(withServerContext(c)))), 'Route_ImportSchedule_VNext')))));\r\nconst StyledImportCredentialId = withCcJsDataContextProvider(withFullScreenWithSummaryBar(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledImportCredentialId, c => withFooter(withContexts(withServerContext(c)))), 'Route_ImportCredentialId_VNext', false))));\r\nconst StyledAccountSettingsPage = withCcJsDataContextProvider(withLegacyContext(withLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAccountSettingsPage, c => withContexts(withServerContext(c))), 'Route_AccountSettings_VNext')), layoutConfigs.withoutDate)));\r\nconst MerchantCenterShell = withCcJsDataContextProvider(withLegacyContext(withLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.MerchantCenterShell, c => withContexts(withServerContext(c))), 'Route_MerchantCenter_VNext')), layoutConfigs.withoutDate)));\r\nconst ReportingFullScreen = withFullScreenWithSummaryBarNavRefresh(reporting);\r\nconst ReportingWithNav = withMenuOnlyLayout(reporting);\r\n// const ReportsV4FullScreen = withFullScreenWithSummaryBar(ReportsV4);\r\nconst ReportsV4WithNav = withCcJsDataContextProvider(withDFMReady(withLayoutNavRefreshNoMenu(ReportsV4, {\r\n ...layoutConfigs.withoutMenu,\r\n status: { mode: 'hidden' },\r\n tab: { mode: 'hidden' },\r\n subTab: { mode: 'hidden' },\r\n})));\r\nconst StyledCustomReportingPage = withCcJsDataContextProvider(withLayoutNavRefreshNoMenu(withGlobalErrorView(withInstrumentation(withDFMReady(withPagePerfMarker(lazyLoad(r.StyledCustomReportingPage, c => withContexts(withServerContext(c))), 'Route_New_Reporting_UI')))), {\r\n ...layoutConfigs.withoutMenu,\r\n status: { mode: 'hidden' },\r\n tab: { mode: 'hidden' },\r\n subTab: { mode: 'hidden' },\r\n}));\r\nconst StyledBrandSafetyPage = withFullScreenWithSummaryBarNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.BrandSafetyPage, c => withContexts(withServerContext(c))), 'Route_BrandSafety_VNext')));\r\nconst StyledBrandListsPage = withFullScreenWithSummaryBarNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledBrandListsPage, c => withFooter(withContexts(withServerContext(c)))), 'Route_BrandLists_VNext')));\r\nconst StyledBrandListsDetailsPage = withFullScreenWithSummaryBarNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledBrandListsDetailsPage, c => withFooter(withContexts(withServerContext(c)))), 'Route_BrandListDetails_VNext')));\r\n\r\nconst StyledAccountLevelImportTab = withCcJsDataContextProvider(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAccountLevelImportTab, c => withContexts(withServerContext(c))), 'Route_AccountsSummaryImport_VNext')), layoutConfigs.accountSummaryWithoutDate));\r\nconst StyledDimensionsShell = withLegacyContext(withSingleTabLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.DimensionsShell, c => withContexts(withServerContext(c))), 'Route_Dimensions_VNext'))));\r\nconst StyledDimensionsCampaignShell = withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.CampaignDimensionShell, c => withContexts(withServerContext(c))), 'Route_AdSchedule_Hour_VNext'))));\r\nconst styledDimensionsCampaignShellWithSubTab = withLegacyContext(withSummaryBarAndTabAndSubTabLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.CampaignDimensionShell, c => withContexts(withServerContext(c))), 'Route_Dimensions_WithSubTab_VNext'))));\r\nconst NegativeKeywordsLists = withLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.NegativeKeywordsLists, c => withContexts(withServerContext(c))), 'Route_NegativeKeywordsLists_VNext')), layoutConfigs.withoutDate);\r\nconst NegativeKeywordListsLibrary = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(\r\n r.NegativeKeywordListsLibrary,\r\n c => withContexts(withServerContext(c))\r\n), 'Route_NegativeKeywordListsLibrary_VNext')), { ...layoutConfigs.fullScreenWithSummaryBarAndTab, ...layoutConfigs.withoutDate }));\r\nconst StyledAccountsOverview = withPageName(withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withOverviewPerfMarker(overviewPageLoader, 'Route_AccountsOverview_VNext')), layoutConfigs.accountSummary)), 'accounts-overview');\r\nconst StyledAccountsPerformance = withCcJsDataContextProvider(withPageName(withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(performancePageLoader, 'Route_AccountsPerformance_VNext')), layoutConfigs.accountSummary)), 'accounts-summary'));\r\nconst StyledAccountsPerformancePreexecution = withCcJsDataContextProvider(withPageName(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(performancePageLoader, 'Page_Preexecute_accounts-summary')), layoutConfigs.accountSummary), 'accounts-summary'));\r\nconst StyledAccountsManagement = withCcJsDataContextProvider(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledManagement, c => withContexts(withServerContext(c))), 'Route_AccountsManagement_VNext')), layoutConfigs.accountSummaryWithoutDate));\r\nconst StyledAccountsNotifications = withCcJsDataContextProvider(withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledNotifications, c => withContexts(withServerContext(c))), 'Route_AccountsNotifications_VNext')), layoutConfigs.accountSummaryWithoutDate)));\r\nconst StyledAccountsRequests = withCcJsDataContextProvider(withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledRequests, c => withContexts(withServerContext(c))), 'Route_AccountsRequests_VNext')), layoutConfigs.accountSummaryWithoutDate)));\r\nconst StyledAccountsAuctionInsight = withPageName(withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledCompetitionAuctionInsight, c => withContexts(withServerContext(c))), 'Route_AccountsAuctionInsight_VNext')), layoutConfigs.accountSummary)), 'accounts-auction');\r\nconst StyledAccountsCreate = withCcJsDataContextProvider(withFullScreenWithSummaryBar(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.AccountCreation, c => withFooter(withContexts(withServerContext(c)))), 'Route_AccountsCreate_VNext'))));\r\nconst StyledBulkTransferAccounts = withCcJsDataContextProvider(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.AccountsTransfer, c => withContexts(withServerContext(c))), 'Route_BulkTransferAccounts_VNext')), layoutConfigs.fullScreenWithSummaryBar));\r\nconst StyledPendingTransferRequest = withCcJsDataContextProvider(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.PendingTransferRequest, c => withContexts(withServerContext(c))), 'Route_PendingTransferRequest_VNext')), layoutConfigs.fullScreenWithSummaryBar));\r\nconst StyledSendLinkRequest = withCcJsDataContextProvider(withFullScreenWithSummaryBar(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.AccountLinking, c => withFooter(withContexts(withServerContext(c)))), 'Route_SendLinkRequest_VNext'))));\r\nconst StyledResendLinkRequest = withCcJsDataContextProvider(withFullScreenWithSummaryBar(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.AccountLinking, c => withFooter(withContexts(withServerContext(c)))), 'Route_ResendLinkRequest_VNext'))));\r\nconst StyledBulkUnlinkAccounts = withCcJsDataContextProvider(withFullScreenWithSummaryBarNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.AccountsUnlinking, c => withFooter(withContexts(withServerContext(c)))), 'Route_BulkUnlinkAccounts_VNext'))));\r\nconst StyledAutomatedRuleOperation = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAutomatedRuleOperation, c => withContexts(withServerContext(c))), 'Route_AutomatedRules_VNext')), layoutConfigs.accountSummaryWithoutDate));\r\nconst StyledAutomatedRuleHistory = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAutomatedRuleHistory, c => withContexts(withServerContext(c))), 'Route_AutomatedRules_VNext')), layoutConfigs.accountSummaryWithoutDate));\r\nconst StyledAutomatedRuleDetail = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAutomatedRuleDetail, c => withContexts(withServerContext(c))), 'Route_AutomatedRules_VNext')), {\r\n ...layoutConfigs.fullScreenWithSummaryBar,\r\n ...layoutConfigs.withoutDate,\r\n}));\r\nconst StyledSettingsForm = withCcJsDataContextProvider(withLegacyContext(withLayout(withGlobalErrorView(withInstrumentation(withPagePerfMarker(lazyLoad(r.StyledSettingsForm, c => withBingMap(withContexts(withServerContext(c)))), 'Route_Settings_Form_VNext'))), layoutConfigs.withoutDate)));\r\nconst StyledNegativeKeywordsListsDetailsShell = withLegacyContext(withSummaryBarAndTabNoDateLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.NegativeKeywordListsDetailsPage, c => withContexts(withServerContext(c))), 'Route_NegativeKeywordsListsDetails_Grid_VNext')), layoutConfigs.withoutDate));\r\nconst StyledLabels = withLegacyContext(withSummaryBarAndTabNoDateLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledLabels, c => withContexts(withServerContext(c))), 'Route_Labels_VNext'))));\r\nconst StyledCombinations = withLegacyContext(withFullScreenWithSummaryBarAndTabLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledCombinations, c => withContexts(withServerContext(c))), 'Route_Combinations_VNext'))));\r\nconst StyledAssets = withFullScreenWithSummaryBarAndTabLayoutNavRefresh(withLegacyContext(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAssets, c => withContexts(withServerContext(c))), 'Route_Assets_VNext'))));\r\nconst StyledAssetsReport = withLegacyContext(withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAssetsReport, c => withContexts(withServerContext(c))), 'Route_RSA_Assets_VNext'))));\r\nconst StyledScripts = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledScripts, c => withContexts(withServerContext(c))), 'Route_ScriptsPage_VNext')), layoutConfigs.accountSummaryWithoutDate));\r\nconst StyledScriptsEdit = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledScriptsEdit, c => withContexts(withServerContext(c))), 'Route_ScriptsEditPage_VNext')), layoutConfigs.fullScreenWithSummaryBar));\r\nconst StyledScriptsHistory = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledScriptsHistory, c => withContexts(withServerContext(c))), 'Route_ScriptsHistoryPage_VNext')), layoutConfigs.accountSummaryWithoutDate));\r\nconst StyledScriptsLogs = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledScriptsLogs, c => withContexts(withServerContext(c))), 'Route_ScriptsLogsPage_VNext')), layoutConfigs.fullScreenWithSummaryBar));\r\nconst BulkUploadsShell = withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.BulkUploadsShell, c => withContexts(withServerContext(c))), 'Route_BulkUploads_VNext')), layoutConfigs.accountSummaryWithoutDate);\r\nconst StyledSmartGoogleImportShell = withCcJsDataContextProvider(withFullScreenWithSummaryBar(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledSmartGoogleImport, c => withFooter(withContexts(withServerContext(c)))), 'Route_Smart_Google_Import_VNext'))));\r\nconst StyledAmazonImport = withCcJsDataContextProvider(withFullScreenWithSummaryBar(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAmazonImport, c => withFooter(withContexts(withServerContext(c)))), 'Route_Amazon_Import_VNext'))));\r\nconst StyledSmartFacebookImportShell = withCcJsDataContextProvider(withFullScreenWithSummaryBar(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledSmartFacebookImport, c => withFooter(withContexts(withServerContext(c)))), 'Route_Smart_Facebook_Import_VNext'))));\r\nconst StyledPinterestImport = withCcJsDataContextProvider(withFullScreenWithSummaryBar(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledPinterestImport, c => withFooter(withContexts(withServerContext(c)))), 'Route_Pinterest_Import_VNext'))));\r\nconst StyledOptOutOfMinorsPage = withLayoutNavRefresh(withScope(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledOptOutOfMinorsPage, c => withFooter(withContexts(withServerContext(c)))), 'optOutOfMinors_VNext'))), layoutConfigs.fullScreenWithSummaryBar);\r\nconst StyledAccountOptimizationOverviewPage = withLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledQueryInsightsOverviewPage, c => withFooter(withContexts(withServerContext(withProps(c, { insightType: 'AccountOptimization' }))))), 'Route_QueryInsights_Overview_VNext')), layoutConfigs.withoutDate);\r\nconst StyledAccountOptimizationDetailsPage = withFullScreenWithSummaryBarNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledQueryInsightsDetailsPage, c => withFooter(withContexts(withServerContext(withProps(c, { insightType: 'AccountOptimization' }))))), 'Route_QueryInsights_Details_VNext')));\r\nconst StyledNewOpportunitiesOverviewPage = withLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledQueryInsightsOverviewPage, c => withFooter(withContexts(withServerContext(withProps(c, { insightType: 'NewOpportunities' }))))), 'Route_QueryInsights_Overview_VNext')), layoutConfigs.withoutDate);\r\nconst StyledNewOpportunitiesDetailsPage = withFullScreenWithSummaryBarNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledQueryInsightsDetailsPage, c => withFooter(withContexts(withServerContext(withProps(c, { insightType: 'NewOpportunities' }))))), 'Route_QueryInsights_Details_VNext')));\r\nconst StyledKeywordPlannerPage = withLegacyContext(withLayoutNavRefreshWithTab(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledKeywordPlanner, c => withFooter(withContexts(withServerContext(c)))), 'Route_Campaign_KeywordPlanner_VNext')), layoutConfigs.fullScreenWithSummaryBar));\r\nconst StyledAdPreviewPage = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAdPreview, c => withFooter(withContexts(withServerContext(c)))), 'Route_AdPreview_VNext')), layoutConfigs.fullScreenWithSummaryBar));\r\nconst StyledAdInsightKeywordPlannerPage = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAdInsightKeywordPlanner, c => withFooter(withContexts(withServerContext(c)))), 'Route_Research_KeywordPlanner_VNext')), layoutConfigs.fullScreenWithSummaryBar));\r\nconst StyledAdInsightAdPreviewPage = withLegacyContext(withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAdInsightAdPreview, c => withFooter(withContexts(withServerContext(c)))), 'Route_AdInsightAdPreview_VNext')), layoutConfigs.fullScreenWithSummaryBar));\r\nconst StyledAppAdsAssetGroupsPage = withLegacyContext(withLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAppAdsAssetGroupsPage, c => withContexts(withServerContext(c))), 'Route_AppAds_Asset_Group_VNext')), layoutConfigs.withoutDate));\r\nconst StyledUnifiedppAdsAssetGroupsCreationPage = withLegacyContext(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledUnifiedppAdsAssetGroupsCreationPage, c => withContexts(withServerContext(c))), 'Route_Unified_AppAds_Asset_Group_VNext')), layoutConfigs.withoutDate));\r\nconst StyledAssetGroupsWithPerfPage = withLegacyContext(withLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledAssetGroupsPage, c => withContexts(withServerContext(c))), 'Route_Asset_Group_VNext')), layoutConfigs.dateWithoutCompare));\r\nconst StyledAssetGroupEditPage = withCcJsDataContextProvider(withLegacyContext(withFullScreenLayout(withGlobalErrorView(withInstrumentation(withPagePerfMarker(lazyLoad(r.StyledAssetGroupEditPage, c => withContexts(withServerContext(c))), 'Route_AssetGroupEditPage_VNext'))))));\r\nconst StyledAssetGroupCreationPage = withCcJsDataContextProvider(withLegacyContext(withFullScreenLayout(withGlobalErrorView(withInstrumentation(withPagePerfMarker(lazyLoad(r.StyledAssetGroupCreationPage, c => withContexts(withServerContext(c))), 'Route_AssetGroupCreationPage_VNext'))))));\r\nconst StyledPmaxNorthStarAssetGroupEditPage = withCcJsDataContextProvider(withLegacyContext(withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledPmaxNorthStarAssetGroupEditPage, c => withContexts(withServerContext(c))), 'Route_Pmax_NS_Asset_Group_VNext')), layoutConfigs.withoutDate)));\r\nconst ListingGroupsShell = withCcJsDataContextProvider(withLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.ListingGroupsShell, c => withContexts(withServerContext(c))), 'Route_Listing_Group_VNext'))));\r\nconst StyledPmaxAssetsPage = withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledPmaxAssetsPage, c => withContexts(withServerContext(c))), 'Route_Assets_Grid_VNext')));\r\nconst StyledPmaxCombinationsPage = withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledPmaxCombinationsPage, c => withContexts(withServerContext(c))), 'Route_Combinations_Grid_VNext')));\r\nconst DefaultLayoutPage = withDefaultLayout(withGlobalErrorView(withPagePerfMarker(Fallback, 'DefaultGlobalErrorView')));\r\nconst SmartCampaignDefaultLayoutPage = withoutMenuLayout(withGlobalErrorView(Fallback));\r\n\r\nconst AccountsOverviewPagePreexecuteContainer = withPermissions(withAccountsSiteMap(withAppPerfMarker(withPreexecute(StyledAccountsOverview, [\r\n StyledAccountsPerformancePreexecution,\r\n]))));\r\nconst OverviewPagePreexecuteContainer = withPermissions(withCampaignSiteMap(withAppPerfMarker(withPreexecute(StyledOverviewPage, [\r\n StyledCampaignsPreexecution, StyledAdGroupsPreexecution, StyledPositiveKeywordsPreexecution, StyledAdsPreexecution,\r\n]))));\r\nconst CampaignsPagePreexecuteContainer = withPermissions(withCampaignSiteMap(withAppPerfMarker(withPreexecute(StyledCampaigns, [\r\n StyledAdGroupsPreexecution, StyledPositiveKeywordsPreexecution, StyledAdsPreexecution,\r\n]))));\r\n\r\nconst StyledLiftMeasurementPage = withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledLiftMeasurementPage, c => withFooter(withContexts(withServerContext(c))), 'Route_LiftMeasurement_VNext'))), {\r\n ...layoutConfigs.fullScreen,\r\n ...layoutConfigs.withoutDate,\r\n});\r\n\r\nconst StyledLiftMeasurementCreatePage = withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledLiftMeasurementCreatePage, c => withFooter(withContexts(withServerContext(c))), 'Route_LiftMeasurementCreate_VNext'))), {\r\n ...layoutConfigs.fullScreen,\r\n ...layoutConfigs.withoutDate,\r\n});\r\n\r\nconst StyledLiftMeasurementEditPage = withFullScreenLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledLiftMeasurementEditPage, c => withFooter(withContexts(withServerContext(c))), 'Route_LiftMeasurementEdit_VNext'))), {\r\n ...layoutConfigs.fullScreen,\r\n ...layoutConfigs.withoutDate,\r\n});\r\n\r\nconst StyledLiftMeasurementResultsPage = withLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledLiftMeasurementResultsPage, c => withFooter(withContexts(withServerContext(c))), 'Route_LiftMeasurementResults_VNext'))), {\r\n ...layoutConfigs.fullScreen,\r\n ...layoutConfigs.withoutDate,\r\n});\r\n\r\n// Asset Library page\r\nconst CreativeStudioAssetLibraryPageWithMenu = withLayoutNavRefresh(\r\n withGlobalErrorView(withPagePerfMarker(\r\n lazyLoad(r.CreativeStudioAssetLibraryPage, c => withFooter(withContexts(withServerContext(c)))),\r\n 'Route_CreativeStudioAssetLibrary_VNext'\r\n )),\r\n layoutConfigs.withMenuOnly\r\n);\r\n\r\n// Ads Studio page\r\nconst AdsStudioPageWithMenu = withClipchampPlayer(withLayoutNavRefreshNoMenu(\r\n withGlobalErrorView(withPagePerfMarker(\r\n lazyLoad(r.AdsStudioPage, c => withFooter(withContexts(withServerContext(c)))),\r\n 'Route_AdsStudio_VNext'\r\n )),\r\n layoutConfigs.fullScreenWithSummaryBar\r\n));\r\n\r\nconst CampaignBudgetToolPage = withCcJsDataContextProvider(withSummaryBarAndTabNoDateLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(\r\n lazyLoad(r.CampaignBudgetToolPage, c => withFooter(withContexts(withServerContext(c)))),\r\n 'Route_CampaignBudgetToolPage_VNext',\r\n false\r\n))));\r\n\r\nconst BudgetCenterPage = withCcJsDataContextProvider(withFullScreenWithSummaryBarNavRefresh(withGlobalErrorView(withPagePerfMarker(\r\n lazyLoad(r.BudgetCenterPage, c => withFooter(withContexts(withServerContext(c))), true),\r\n 'Route_BudgetCenterPage_VNext',\r\n false\r\n))));\r\n\r\nconst BudgetCenterPageWithMenuBar = withCcJsDataContextProvider(withSummaryBarAndTabNoDateLayoutNavRefresh(withGlobalErrorView(withPagePerfMarker(\r\n lazyLoad(r.BudgetCenterPage, c => withFooter(withContexts(withServerContext(c))), true),\r\n 'Route_BudgetCenterPage_VNext',\r\n false\r\n))));\r\n\r\nconst StyledUnifiedAppAdsCampaignsPage = withFullScreenLayout(withGlobalErrorView(withInstrumentation(withPagePerfMarker(lazyLoad(r.StyledUnifiedAppAdsCampaignPage, c => withBingMap(withContexts(withServerContext(c)))), 'Route_UnifieddAppCampaignPage'))));\r\nconst StyledUnifiedAppAdsAssetsPage = withDefaultLayout(withGlobalErrorView(withPagePerfMarker(lazyLoad(r.StyledUnifiedAppAdsAssetsPage, c => withBingMap(withContexts(withServerContext(c)))), 'Route_UnifieddAppAdsAssetsPage')));\r\n\r\nappRoutesInitPerfMarker.done();\r\n\r\nconst AppContent = (props) => {\r\n const currentRoute = window.location.pathname.toLowerCase();\r\n if (currentRoute !== '/campaign/vnext' &&\r\n currentRoute !== '/campaign/vnext/accounts' &&\r\n (!props.permissions.dynamic.UnifiedProductPhase2 || currentRoute !== '/campaign/vnext/accounts/overview') &&\r\n firstRoute === '') {\r\n firstRoute = currentRoute;\r\n }\r\n\r\n // As of now, page ready would be resolved by Overview and Campaign pages only, for other routes resolve page ready.\r\n if (!isPageReadyResolved && firstRoute !== '') {\r\n if (firstRoute !== currentRoute || !isLandingPage()) {\r\n PageReady.pageIsReady();\r\n isPageReadyResolved = true;\r\n } else {\r\n _.delay(() => {\r\n PageReady.pageIsReady();\r\n isPageReadyResolved = true;\r\n }, pageReadyTimeout);\r\n }\r\n }\r\n\r\n const chooseGoogleImportRoute = () => {\r\n if (props.scope.values.aid) {\r\n return props.permissions.IsSmartImportEnabled ? StyledSmartGoogleImportShell : StyledGoogleImport;\r\n }\r\n return props.permissions.IsSmartImportEnabled && props.permissions.IsSmartImportV2Enabled ? StyledSmartGoogleImportShell : StyledMultiAccountGoogleImport;\r\n };\r\n\r\n const uetTagDashboardFeature = () => {\r\n if (props.scope.values.tagId) {\r\n if (props.permissions.dynamic.UETDashboard) {\r\n return props.permissions.dynamic.UETDashboardPhase2 ? StyledUetDashboard : StyledUetTagsDashboard;\r\n }\r\n return StyledUetTags;\r\n }\r\n return props.permissions.dynamic.UETDashboard ? StyledUetAllTagsDashboard : StyledUetTags;\r\n };\r\n\r\n addBadgeForNewFeatures(props.i18n.getString(_TL_('New')));\r\n\r\n return (\r\n \r\n }>\r\n \r\n {/* */}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {props.permissions.IsVideoAdsForCampaignEnabled && }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nAppContent.propTypes = {\r\n classes: PropTypes.shape({\r\n container: PropTypes.string,\r\n flexContainer: PropTypes.string,\r\n }),\r\n scope: PropTypes.shape({\r\n values: PropTypes.shape({\r\n aid: PropTypes.number,\r\n campaignId: PropTypes.number,\r\n tagId: PropTypes.number,\r\n }).isRequired,\r\n }).isRequired,\r\n permissions: PropTypes.shape({\r\n IsBAARecommendationsAsyncApplyEnabled: PropTypes.bool,\r\n IsSmartImportEnabled: PropTypes.bool,\r\n IsSmartImportV2Enabled: PropTypes.bool,\r\n IsVideoAdsForCampaignEnabled: PropTypes.bool,\r\n dynamic: PropTypes.shape({\r\n UnifiedProductPhase2: PropTypes.bool,\r\n UETDashboard: PropTypes.bool,\r\n NavigationRefresh: PropTypes.bool,\r\n NavigationRefreshBudgetCenter: PropTypes.bool,\r\n PerformanceMaxAudienceSignalManagementPage: PropTypes.bool,\r\n UETDashboardPhase2: PropTypes.bool,\r\n AdsCopilotChatPhase1: PropTypes.bool,\r\n PAAIMConsolidation: PropTypes.bool,\r\n CTVAndDealToDisplayPlus: PropTypes.bool,\r\n SearchShoppingWizard: PropTypes.bool,\r\n PmaxNorthStarAssetGroupSetting: PropTypes.bool,\r\n }),\r\n }).isRequired,\r\n i18n: PropTypes.shape({\r\n getString: PropTypes.func,\r\n }).isRequired,\r\n};\r\n\r\nAppContent.defaultProps = {\r\n classes: {},\r\n};\r\n\r\nexport default withScope(withI18nConsumer(withPermissions(React.memo(AppContent))));\r\n","import { useEffect, useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { WaterfallFilterType } from '@bingads-webui-campaign/filter-storage';\r\nimport { withGlobalFilter } from '@bingads-webui-campaign-react/global-filter-context';\r\nimport {\r\n getFilteredCampaignTypeFromRawFilter,\r\n convertFilteredCampaignTypeToFilter,\r\n CampaignType,\r\n CampaignTypeToStringMap\r\n} from '@bingads-webui-campaign-react/shell-ui-common';\r\nimport { withCurrentExpandedScopeNoFallback } from '@bingads-webui-campaign-react/use-current-scope-entity';\r\n\r\n\r\nconst CampaignTypeUpdater = (props) => {\r\n const { currentCampaign, updateWaterfallFilter, [WaterfallFilterType.CampaignType]: campaignTypeFilter } = props;\r\n const selectedCampaignTypeFilter = useMemo(() => getFilteredCampaignTypeFromRawFilter(campaignTypeFilter), [\r\n campaignTypeFilter,\r\n ]);\r\n\r\n useEffect(() => {\r\n if (selectedCampaignTypeFilter !== CampaignType.All\r\n && currentCampaign && currentCampaign.CampaignType\r\n && CampaignTypeToStringMap[selectedCampaignTypeFilter] !== currentCampaign.CampaignType) {\r\n updateWaterfallFilter({\r\n filterType: WaterfallFilterType.CampaignType,\r\n filter: convertFilteredCampaignTypeToFilter(CampaignType.All),\r\n });\r\n }\r\n }, [currentCampaign, selectedCampaignTypeFilter, updateWaterfallFilter]);\r\n\r\n return null;\r\n};\r\n\r\nCampaignTypeUpdater.defaultProps = {\r\n currentCampaign: null,\r\n};\r\n\r\nCampaignTypeUpdater.propTypes = {\r\n currentCampaign: PropTypes.shape({\r\n CampaignType: PropTypes.string.isRequired,\r\n }),\r\n updateWaterfallFilter: PropTypes.func.isRequired,\r\n};\r\n\r\nconst Component = withGlobalFilter(withCurrentExpandedScopeNoFallback(CampaignTypeUpdater));\r\nexport { Component as CampaignTypeUpdater };\r\n","export const redirectMap = {\r\n 201: 'campaigns',\r\n 202: 'campaign-create-objective',\r\n 203: 'audiences',\r\n 204: 'uet-tag',\r\n 205: 'structuredsnippet',\r\n 206: 'callout',\r\n 207: 'image',\r\n 208: 'review',\r\n 209: 'location',\r\n 210: 'app',\r\n 211: 'call',\r\n 212: 'audiences-library',\r\n 213: 'shared-budgets',\r\n};\r\n","/* istanbul ignore file */\r\n\r\nfunction getNewPath(pathname) {\r\n if (pathname.startsWith('/campaign/vnext/reports/create/')) {\r\n return pathname.replace('/campaign/vnext/reports/create/', '/campaign/vnext/reports-v4/create/');\r\n }\r\n if (pathname.startsWith('/campaign/vnext/reports/category/')) {\r\n return '/campaign/vnext/reports-v4/default-reports';\r\n }\r\n if (pathname.startsWith('/campaign/vnext/reports/customreports')) {\r\n return '/campaign/vnext/reports-v4/my-reports/customized';\r\n }\r\n if (pathname.startsWith('/campaign/vnext/reports/v2/pollreport/')) {\r\n return '/campaign/vnext/reports-v4/my-reports/customized';\r\n }\r\n if (pathname.startsWith('/campaign/vnext/reports/history')) {\r\n return '/campaign/vnext/reports-v4/my-reports/customized';\r\n }\r\n if (pathname.startsWith('/campaign/vnext/reports/createfromexecuted/')) {\r\n return '/campaign/vnext/reports-v4/my-reports/customized';\r\n }\r\n if (pathname.startsWith('/campaign/vnext/reports/updatetemplate/')) {\r\n return pathname.replace('/campaign/vnext/reports/updatetemplate/', '/campaign/vnext/reports-v4/edit/');\r\n }\r\n if (pathname.startsWith('/campaign/vnext/reports/createfromtemplate/')) {\r\n return pathname.replace('/campaign/vnext/reports/createfromtemplate/', '/campaign/vnext/reports-v4/edit/');\r\n }\r\n return '/campaign/vnext/reports-v4/default-reports';\r\n}\r\n\r\nfunction getNewReportingUIPath(pathname) {\r\n if (pathname.startsWith('/campaign/vnext/reports/create/')) {\r\n return pathname.replace('/campaign/vnext/reports/create/', '/campaign/vnext/reports-v4/create/');\r\n }\r\n if (pathname.startsWith('/campaign/vnext/reports/category/')) {\r\n return '/campaign/vnext/reporting/templates';\r\n }\r\n if (pathname.startsWith('/campaign/vnext/reports/customreports')) {\r\n return '/campaign/vnext/reporting/home';\r\n }\r\n if (pathname.startsWith('/campaign/vnext/reports/v2/pollreport/')) {\r\n return '/campaign/vnext/reporting/home';\r\n }\r\n if (pathname.startsWith('/campaign/vnext/reports/history')) {\r\n return '/campaign/vnext/reporting/home';\r\n }\r\n if (pathname.startsWith('/campaign/vnext/reports/createfromexecuted/')) {\r\n return '/campaign/vnext/reporting/home';\r\n }\r\n if (pathname.startsWith('/campaign/vnext/reports/updatetemplate/')) {\r\n return pathname.replace('/campaign/vnext/reports/updatetemplate/', '/campaign/vnext/reports-v4/edit/');\r\n }\r\n if (pathname.startsWith('/campaign/vnext/reports/createfromtemplate/')) {\r\n return pathname.replace('/campaign/vnext/reports/createfromtemplate/', '/campaign/vnext/reports-v4/edit/');\r\n }\r\n if (pathname.startsWith('/campaign/vnext/reports-v4/default-reports')) {\r\n return '/campaign/vnext/reporting/templates';\r\n }\r\n if (pathname.startsWith('/campaign/vnext/reports-v4/my-reports/customized')) {\r\n return '/campaign/vnext/reporting/home';\r\n }\r\n return '/campaign/vnext/reporting/home';\r\n}\r\n\r\nexport function isLegacyReportingUrl(pathname, isNewReportingUI) {\r\n if (isNewReportingUI) {\r\n return pathname.startsWith('/campaign/vnext/reports') ||\r\n pathname.startsWith('/campaign/vnext/reports-v4/default-reports') ||\r\n pathname.startsWith('/campaign/vnext/reports-v4/my-reports/customized');\r\n }\r\n return pathname.startsWith('/campaign/vnext/reports') && !pathname.startsWith('/campaign/vnext/reports-v4');\r\n}\r\n\r\nexport function redirectReportingUrl(pathname, history, isNewReportingUI) {\r\n history.replace({\r\n pathname: isNewReportingUI ? getNewReportingUIPath(pathname) : getNewPath(pathname),\r\n search: history.location.search,\r\n });\r\n}\r\n","import _ from 'underscore';\r\nimport Uri from 'urijs';\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { QueryParam, withScope } from '@bingads-webui-react/scope-service';\r\nimport { getPathName } from '@bingads-webui-campaign-react/page-menu';\r\nimport { withPermissions } from '@bingads-webui-react/hoc-with-permissions';\r\nimport { withSettingsConsumer } from '@bingads-webui-react/settings-context';\r\nimport { withDefaultLandingPage } from '@bingads-webui-campaign-react/with-default-landing-page';\r\nimport { withCurrentExpandedScopeNoFallback } from '@bingads-webui-campaign-react/use-current-scope-entity';\r\nimport {\r\n withSiteMap,\r\n processorSet,\r\n findSiteMap,\r\n Scope,\r\n getCurrentScope,\r\n} from '@bingads-webui-campaign-react/with-site-map';\r\nimport { isBillingLinkPermission } from '@bingads-webui/multi-agency-utils';\r\nimport { redirectMap } from './redirects';\r\nimport { isLegacyReportingUrl, redirectReportingUrl } from './redirect-reporting-url';\r\nimport { withTopTwoCampaigns } from '../data-fetch/with-top-two-campaigns';\r\n\r\nclass FallbackUpdater extends React.PureComponent {\r\n static getDerivedStateFromProps({ siteMap }) {\r\n return { siteMap };\r\n }\r\n\r\n state = {\r\n siteMap: [],\r\n };\r\n\r\n componentDidMount() {\r\n this.checkFallback();\r\n }\r\n\r\n componentDidUpdate() {\r\n this.checkFallback();\r\n }\r\n\r\n getDefaultRedirectPageId = () => {\r\n const { defaultLandingPage, scope } = this.props;\r\n const {\r\n values: {\r\n tabredirectid: tabRedirectId,\r\n },\r\n } = scope;\r\n\r\n // if tabredirectid is provide, get default landing page with redirects maps\r\n // redirects maps should be consist /StaticResources/Advertiser/StaticResourcesWeb/Application/Scripts/module/app/router/redirects\r\n return tabRedirectId && _.has(redirectMap, tabRedirectId) ? redirectMap[tabRedirectId] : defaultLandingPage;\r\n };\r\n\r\n findPageById = id => findSiteMap(this.state.siteMap, node => node.id === id);\r\n\r\n gotoPage = (pageItem) => {\r\n if (!_.isEmpty(pageItem)) {\r\n const { scope: { history } } = this.props;\r\n const uri = new Uri(pageItem.route);\r\n history.replace({\r\n pathname: uri.is('absolute') ? pageItem.route : getPathName(pageItem),\r\n search: history.location.search,\r\n });\r\n }\r\n };\r\n\r\n gotoPageById = _.compose(this.gotoPage, this.findPageById);\r\n\r\n fallbackToDefaultPage() {\r\n const {\r\n scope: {\r\n values: {\r\n aid,\r\n campaignId,\r\n adGroupId,\r\n storeId,\r\n feedId,\r\n },\r\n location: {\r\n pathname,\r\n },\r\n history,\r\n },\r\n currentCampaign,\r\n currentAdGroup,\r\n permissions,\r\n settingsContext,\r\n } = this.props;\r\n const currentScope = getCurrentScope(campaignId, adGroupId, aid, storeId, feedId);\r\n const isNewReportingUI = _.get(permissions, ['dynamic', 'CustomReports']);\r\n\r\n if (!_.get(permissions, 'IsInternalUser') && isBillingLinkPermission(settingsContext)) {\r\n this.gotoPageById('unaccessible');\r\n // For smart-campaigns, it will be the only option, so always fallback to it\r\n } else if (_.findWhere(this.state.siteMap, { id: 'smart-campaigns' })\r\n // budget center can be accessed by smart campaign\r\n && !pathname.toLowerCase().startsWith('/campaign/vnext/budgetcenter')) {\r\n this.gotoPageById('smart-campaigns');\r\n } else if (pathname.startsWith('/campaign/vnext/merchantcenter')) {\r\n let validSiteMapItem;\r\n if (Scope.Store === currentScope) {\r\n validSiteMapItem = this.findPageById('mmc-store-summary-productissues');\r\n } else {\r\n validSiteMapItem = this.findPageById('merchant-center');\r\n }\r\n this.gotoPage(validSiteMapItem);\r\n } else /* istanbul ignore next */ if (isLegacyReportingUrl(pathname, isNewReportingUI)) {\r\n redirectReportingUrl(pathname, history, isNewReportingUI);\r\n } else if (pathname.startsWith('/campaign/vnext/extensions')) {\r\n const extenionsPage = this.findPageById('extensions');\r\n if (extenionsPage) {\r\n this.gotoPage(extenionsPage);\r\n } else {\r\n this.gotoPageById(this.getDefaultRedirectPageId());\r\n }\r\n } else if (Scope.AdGroup === currentScope) {\r\n const { CampaignType } = currentCampaign;\r\n if (CampaignType === 'Shopping') {\r\n const productGroupsPageItem = this.findPageById('product-groups');\r\n this.gotoPage(productGroupsPageItem);\r\n } else if (CampaignType === 'Hotel') {\r\n let hotelGroupsPageItem = this.findPageById('hotel-groups');\r\n const IsRenameHotelToLodgingEnabled = _.get(permissions, ['dynamic', 'IsRenameHotelToLodgingEnabled']);\r\n if (IsRenameHotelToLodgingEnabled) {\r\n hotelGroupsPageItem = this.findPageById('property-groups');\r\n }\r\n this.gotoPage(hotelGroupsPageItem);\r\n } else if (CampaignType === 'PerformanceMax') {\r\n const assetGroupsPageItem = this.findPageById('asset-groups');\r\n this.gotoPage(assetGroupsPageItem);\r\n } else if (_.result(currentAdGroup, 'AdGroupType') === 'SearchDynamic') {\r\n this.gotoPageById('dsa');\r\n } else {\r\n const keywordPageItem = this.findPageById('keywords');\r\n if (keywordPageItem) {\r\n this.gotoPage(keywordPageItem);\r\n } else {\r\n this.gotoPageById('ads-and-extensions');\r\n }\r\n }\r\n } else if (Scope.Campaign === currentScope) {\r\n this.gotoPageById('overview'); // Campaign Overview\r\n } else if (Scope.Account === currentScope) {\r\n this.gotoPageById(this.getDefaultRedirectPageId());\r\n } else {\r\n this.gotoPageById('accounts');\r\n }\r\n }\r\n\r\n checkScopeIds({ currentCampaign, currentAdGroup, scope }) {\r\n let scopeChanged = false;\r\n if (scope.values && scope.values.campaignId && !currentCampaign) {\r\n scope.remove('campaignId');\r\n scopeChanged = true;\r\n }\r\n if (scope.values && scope.values.adGroupId && !currentAdGroup) {\r\n scope.remove('adGroupId');\r\n scopeChanged = true;\r\n }\r\n if (scopeChanged) {\r\n scope.history.replace({\r\n pathname: scope.location.pathname,\r\n search: scope.stringify(),\r\n });\r\n }\r\n }\r\n\r\n checkFallback() {\r\n if (!_.findWhere(this.state.siteMap, { selected: true })) {\r\n this.fallbackToDefaultPage();\r\n return;\r\n }\r\n const { scope, topTwoCampaigns } = this.props;\r\n const topTwoCampaignsValue = _.get(topTwoCampaigns, 'value', []);\r\n // Redirect from all campaigns overview to single campaign overview if PMaxLite pilot is enabled and only one campaign\r\n if (!_.get(scope, ['values', 'campaignId'], false)\r\n && _.size(topTwoCampaignsValue) === 1\r\n && _.get(_.first(topTwoCampaignsValue), 'CampaignType') === 'PerformanceMax'\r\n && _.findWhere(this.state.siteMap, { selected: true, route: 'overview' })) {\r\n scope.set({ ...scope.values, campaignId: _.get(_.first(topTwoCampaignsValue), 'Id') });\r\n scope.history.replace({\r\n pathname: scope.location.pathname,\r\n search: scope.stringify(),\r\n });\r\n return;\r\n }\r\n\r\n this.checkScopeIds(this.props);\r\n }\r\n\r\n render() {\r\n return null;\r\n }\r\n}\r\n\r\nFallbackUpdater.defaultProps = {\r\n defaultLandingPage: null,\r\n currentCampaign: null,\r\n currentAdGroup: null,\r\n};\r\n\r\nFallbackUpdater.propTypes = {\r\n scope: PropTypes.instanceOf(QueryParam).isRequired,\r\n defaultLandingPage: PropTypes.string,\r\n currentCampaign: PropTypes.shape({\r\n CampaignType: PropTypes.string.isRequired,\r\n }),\r\n currentAdGroup: PropTypes.shape({}),\r\n topTwoCampaigns: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\r\n permissions: PropTypes.shape({}).isRequired,\r\n settingsContext: PropTypes.shape({}).isRequired,\r\n};\r\n\r\nexport const FallbackUpdaterWithDefaultLandingPage = _.compose(\r\n withPermissions,\r\n withSettingsConsumer,\r\n withCurrentExpandedScopeNoFallback,\r\n WrappedComponent => withSiteMap(WrappedComponent, processorSet.all),\r\n withScope,\r\n withTopTwoCampaigns,\r\n withDefaultLandingPage\r\n)(FallbackUpdater);\r\n","import _ from 'underscore';\r\nimport React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport hoistNonReactStatics from 'hoist-non-react-statics';\r\nimport { getDisplayName } from '@bingads-webui-react/hoc-utils';\r\nimport { getEntityFromScope } from '@bingads-webui/edm-campaign';\r\nimport { isBillingLinkPermission } from '@bingads-webui/multi-agency-utils';\r\n\r\nexport const withTopTwoCampaigns = (WrappedComponent) => {\r\n const Wrapper = (props) => {\r\n const { permissions, scope = {}, settingsContext } = props;\r\n const [topTwoCampaigns, setTopTwoCampaigns] = useState();\r\n useEffect(() => {\r\n if (!_.get(permissions, 'IsInternalUser') && isBillingLinkPermission(settingsContext)) {\r\n setTopTwoCampaigns([]);\r\n } else {\r\n const { currentAccount } = getEntityFromScope(scope);\r\n if (_.isFunction(_.get(currentAccount, ['Campaigns', 'get']))) {\r\n currentAccount.Campaigns\r\n .get({ top: 2, skip: 0, select: ['Id', 'CampaignType'] })\r\n .subscribe({\r\n next: c => setTopTwoCampaigns(c),\r\n error: setTopTwoCampaigns([]),\r\n });\r\n }\r\n }\r\n }, [scope, permissions, settingsContext]);\r\n\r\n return ();\r\n };\r\n\r\n Wrapper.propTypes = {\r\n scope: PropTypes.shape({}).isRequired,\r\n permissions: PropTypes.shape({}).isRequired,\r\n settingsContext: PropTypes.shape({}).isRequired,\r\n };\r\n Wrapper.displayName = `withCurrentCampaign(\r\n ${getDisplayName(WrappedComponent)}\r\n )`;\r\n\r\n hoistNonReactStatics(Wrapper, WrappedComponent);\r\n return Wrapper;\r\n};\r\n","import _ from 'underscore';\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withSiteMap, processor, findSiteMap, siteMapPropType } from '@bingads-webui-campaign-react/with-site-map';\r\nimport { withPermissions } from '@bingads-webui-react/hoc-with-permissions';\r\nimport { DefaultScopeProvider } from '@bingads-webui-react/scope-service';\r\nimport { Scope } from '@bingads-webui-campaign-react/shell-ui-common';\r\n\r\nconst ScopeProviderInternal = (props) => {\r\n const {\r\n defaultScope, siteMap, permissions, ...others\r\n } = props;\r\n\r\n // if current page supports customer scope, no need to auto-fill aid\r\n const customerScopedItem = findSiteMap(siteMap, (mapItem) => {\r\n if (mapItem.selected) {\r\n const itemScope = _.isFunction(mapItem.scope) ? mapItem.scope(permissions) : mapItem.scope;\r\n return itemScope.indexOf(Scope.Customer) > -1;\r\n }\r\n\r\n return false;\r\n });\r\n\r\n const scope = _.isEmpty(customerScopedItem) ? defaultScope : _.omit(defaultScope, 'aid');\r\n\r\n return ();\r\n};\r\n\r\nScopeProviderInternal.propTypes = {\r\n defaultScope: PropTypes.objectOf(PropTypes.oneOfType([\r\n PropTypes.string,\r\n PropTypes.number,\r\n ])),\r\n siteMap: siteMapPropType.isRequired,\r\n permissions: PropTypes.objectOf(PropTypes.oneOfType([\r\n PropTypes.bool,\r\n PropTypes.objectOf(PropTypes.bool),\r\n PropTypes.number,\r\n ])).isRequired,\r\n};\r\n\r\nScopeProviderInternal.defaultProps = {\r\n defaultScope: {},\r\n};\r\n\r\nexport const ScopeProvider = withPermissions(withSiteMap(React.memo(ScopeProviderInternal), [processor.processPath]));\r\n","import { useContext, useRef, useEffect, useState } from 'react';\r\nimport { ScopeContext } from '@bingads-webui-react/scope-service';\r\n\r\nimport URI from 'urijs';\r\n\r\n/**\r\n * A simple hook to store a vairable's value for compare use\r\n * TODO: move this hook to a shared place\r\n * @param {any} value the value to get its previous version\r\n * @returns {any} previous value\r\n */\r\nconst usePrevious = (value) => {\r\n const ref = useRef();\r\n\r\n useEffect(() => {\r\n ref.current = value;\r\n }, [value]);\r\n\r\n return ref.current;\r\n};\r\n\r\n/**\r\n * A wrapper to detect scope changes that requires full page refresh to solve the context mismatch issue\r\n * TODO: Move this logic to Router level or Remove after context could dynamically update\r\n * @param {Props} Props only children\r\n * @returns {ReactNode} rendered result\r\n */\r\nexport const ScopeSwitchingReloader = ({ children }) => {\r\n const { scope } = useContext(ScopeContext);\r\n\r\n // As the DOM update and full page refresh are run in parallel\r\n // If we decide to do FPR, disable children content update to make the transition smoother\r\n const [passing, setPassing] = useState(true);\r\n\r\n const {\r\n values: { cid, aid } = {},\r\n } = scope;\r\n\r\n const prevCid = usePrevious(cid);\r\n const prevAid = usePrevious(aid);\r\n\r\n\r\n useEffect(() => {\r\n // when the page is loaded in browser, all values from usePrevious hook will be undefined\r\n const isFirstLoaded = !prevAid && !prevCid;\r\n if (\r\n !isFirstLoaded &&\r\n (prevCid !== cid || prevAid !== aid)\r\n ) {\r\n setPassing(false);\r\n window.location.replace(new URI(scope.location.pathname).search(scope.stringify()).toString());\r\n }\r\n }, [aid, cid, prevAid, prevCid, scope]);\r\n\r\n return passing ? children : null;\r\n};\r\n\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withRouter } from '@bingads-webui-campaign-react/router';\r\n\r\nimport eventDispatcher from '@bingads-webui-component-legacy/event-dispatcher/index';\r\n\r\n// component help refresh the page on route change and we have a new version deployed.\r\nclass NewVersionReloaderInternal extends React.PureComponent {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n shouldReload: false,\r\n };\r\n }\r\n\r\n componentDidMount = () => {\r\n eventDispatcher.on('new-version-available', () => {\r\n this.setState({\r\n shouldReload: true,\r\n });\r\n });\r\n }\r\n\r\n componentDidUpdate = (prevProps) => {\r\n if ((this.props.location.pathname !== prevProps.location.pathname) && this.state.shouldReload) {\r\n this.fullPageRefresh();\r\n }\r\n };\r\n\r\n fullPageRefresh = () => {\r\n window.location.reload();\r\n\r\n this.setState({\r\n shouldReload: false,\r\n });\r\n }\r\n\r\n render() {\r\n return null;\r\n }\r\n}\r\n\r\n\r\nNewVersionReloaderInternal.propTypes = {\r\n location: PropTypes.shape({\r\n pathname: PropTypes.string,\r\n }).isRequired,\r\n};\r\n\r\n\r\nexport const NewVersionReloader = withRouter(NewVersionReloaderInternal);\r\n\r\n","import _ from 'underscore';\r\nimport { getEntityFromScope } from '@bingads-webui/edm-campaign';\r\nimport { setCampaignTypes } from '@bingads-webui-campaign-react/with-campaign-type';\r\n\r\nconst initCampaignTypes = ({ currentAccount }, { campaignTypes }) => {\r\n if (!_.isEmpty(currentAccount) && !_.isEmpty(campaignTypes)) {\r\n currentAccount['Default.CampaignTypes'].$makeCall({\r\n hardResetData: {\r\n value: campaignTypes.split(','),\r\n },\r\n });\r\n }\r\n};\r\n\r\nconst initSingleCampaign = ({ currentCampaign }, campaign) => {\r\n if (!_.isEmpty(currentCampaign) && !_.isEmpty(campaign)) {\r\n currentCampaign.get({}, campaign);\r\n }\r\n};\r\n\r\nconst initTopTwoCampaigns = ({ currentAccount }, campaigns) => {\r\n if (!_.isEmpty(currentAccount) && !_.isEmpty(campaigns)) {\r\n currentAccount.Campaigns.get({ top: 2, skip: 0, select: ['Id', 'CampaignType'] }, { value: campaigns });\r\n }\r\n};\r\n\r\nexport const initOdataCache = (serverContext) => {\r\n const {\r\n CurrentCustomer: { Id: cid },\r\n CurrentAccount: { Id: aid },\r\n ODataPrefetchResult,\r\n } = serverContext;\r\n let campaigns = [];\r\n if (_.get(serverContext, ['ODataPrefetchResult', 'topTwoCampaigns'], false)) {\r\n campaigns = _.isEmpty(serverContext.ODataPrefetchResult.topTwoCampaigns) ? [] : JSON.parse(serverContext.ODataPrefetchResult.topTwoCampaigns);\r\n setCampaignTypes(campaigns);\r\n }\r\n let campaignId;\r\n if (_.size(campaigns) === 1) {\r\n campaignId = _.get(_.first(campaigns), 'Id');\r\n }\r\n\r\n const entities = getEntityFromScope({ values: { cid, aid, campaignId } });\r\n\r\n initCampaignTypes(entities, ODataPrefetchResult);\r\n initTopTwoCampaigns(entities, campaigns);\r\n\r\n const campaignString = _.get(serverContext, ['ODataPrefetchResult', 'campaign'], '');\r\n const campaign = _.isEmpty(campaignString) ? null : JSON.parse(campaignString);\r\n if (!_.isEmpty(campaign) && _.get(campaign, 'Id')) {\r\n initSingleCampaign(getEntityFromScope({ values: { cid, aid, campaignId: campaign.Id } }), campaign);\r\n }\r\n\r\n if (campaignId && campaignId !== _.get(campaign, 'Id')) {\r\n initSingleCampaign(entities, _.first(campaigns));\r\n }\r\n};\r\n","import _ from 'underscore';\r\nimport { useLocation } from 'react-router-dom';\r\nimport { LayoutContext, layoutConfigs, withLayout } from '@bingads-webui-react/app-layout-container';\r\nimport { useEffect, useContext } from 'react';\r\n\r\n\r\nconst LayoutSwitchInner = () => {\r\n const location = useLocation();\r\n const params = new URLSearchParams(location.search);\r\n const layout = params.get('layout');\r\n const { change } = useContext(LayoutContext);\r\n useEffect(() => {\r\n if (layout && layoutConfigs[layout]) {\r\n change(layoutConfigs[layout], undefined, undefined, _.noop, true);\r\n }\r\n }, [layout, change]);\r\n\r\n return null;\r\n};\r\n\r\nexport const LayoutSwitch = withLayout(LayoutSwitchInner);\r\n","import _ from 'underscore';\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { jss } from 'react-jss';\r\nimport { App } from '@bingads-webui-react/app';\r\nimport { Router, withRouter } from '@bingads-webui-campaign-react/router';\r\nimport { PermissionsContext } from '@bingads-webui-react/hoc-with-permissions';\r\nimport { LayoutContainer, Layout, OverlayComponent } from '@bingads-webui-react/app-layout-container';\r\nimport { UserContext } from '@bingads-webui-react/user-context';\r\nimport { SettingsContext } from '@bingads-webui-react/settings-context';\r\nimport { PopupContextProvider } from '@bingads-webui-react/popup-manager';\r\nimport { MultiStepTeachingBubbleContextProvider } from '@bingads-webui-campaign-react/multi-step-teaching-bubble';\r\nimport { Observable } from '@bingads-webui-universal/observable';\r\nimport { GlobalFilterContextProvider } from '@bingads-webui-campaign-react/global-filter-context';\r\nimport { GlobalContextReceiver } from '@bingads-webui-campaign/global-context-store';\r\nimport { withSiteMap, processor, navRefreshSiteMap } from '@bingads-webui-campaign-react/with-site-map';\r\nimport { processorSet } from '@bingads-webui-react/with-site-map';\r\nimport { withPageReadyAsync } from '@bingads-webui-react/with-page-ready';\r\nimport { perfMarkerPropTypes } from '@bingads-webui/performance-marker';\r\nimport { createGenerateId } from '@bingads-webui-campaign-react/custom-jss-config';\r\nimport {\r\n CampaignMainMenuPlaceholder,\r\n CampaignPageMenuPlaceholder,\r\n SummaryBarPlaceholder,\r\n GlobalMenueWrapperPlaceholder,\r\n NewGlobalMenueWrapperPlaceholder,\r\n PrimaryNavigationPlaceholder,\r\n SecondaryNavigationPlaceholder,\r\n ScopePanelPlaceholder,\r\n} from '@bingads-webui-campaign-react/shell-ui-common';\r\nimport { isSDK } from '@bingads-webui-campaign-react/sdk-utils';\r\nimport { getDisplayMode, DisplayMode } from '@bingads-webui-campaign-react/display-mode';\r\nimport { WebViewContextProvider } from '@bingads-webui-campaign-react/webview-context';\r\nimport { ServerContext, withServerContext } from '@bingads-webui-campaign-react/server-context';\r\nimport { withPreference } from '@bingads-webui-react/preference-context';\r\nimport { I18nModel } from '@bingads-webui-universal/i18n-model';\r\nimport { getGlobalErrorOptions, withComponentErrorLogging } from '@bingads-webui-campaign-react/global-error-options';\r\nimport { isNavigationRefreshOn } from '@bingads-webui-react/preference-utility';\r\nimport { AdsCopilotContextProvider } from '@bingads-webui-react/msa-copilot-common';\r\nimport { ToastProvider } from '@bingads-webui-fluent-component/toast-provider';\r\n\r\nimport AppContent from './components/app-content';\r\nimport { CampaignTypeUpdater } from './components/campaign-type-filter-updater';\r\nimport { FallbackUpdaterWithDefaultLandingPage } from './components/fallback-updater';\r\nimport { AppPerfMarker, withAppPerfMarker } from './contexts/app-perfmarker-context';\r\nimport { ScopeProvider } from './components/scope-provider';\r\nimport { ScopeSwitchingReloader } from './components/scope-switching-reloader';\r\nimport { NewVersionReloader } from './components/new-version-reloader';\r\nimport { initOdataCache } from './global-init/init-odata-cache';\r\nimport { initSettingsContext } from './global-init/init-settings-context';\r\nimport i18n from './main.l10n';\r\nimport { withDFMProvider } from './data-fetch/with-dfm';\r\nimport { themes } from './themes-config';\r\nimport { configs as teachingBubbleConfigs } from './components/teaching-bubble/teaching-bubble-config';\r\nimport { LazySDKAppWrapper } from './sdk/dynamic-routes';\r\nimport { setTestContext } from './test-context-side-effect';\r\nimport { LayoutSwitch } from './components/layout-switch';\r\n\r\nrequire.context('@bingads-webui/theme-2018/dist/static/media');\r\nrequire.context('@bingads-webui-react/feature-adoption-coupon/dist/static/media');\r\nrequire.context('@bingads-webui-react/rich-text-editor/dist/static/media');\r\n\r\nconst isSDKView = isSDK();\r\nconst displayMode = getDisplayMode();\r\nconst appName = new URLSearchParams(document.location.search).get('applicationName');\r\nconst shouldShowFallbackUpdater = appName ? !appName.includes('BingAdsEditor') : true;\r\nconst LayoutContainerWithRouter = withDFMProvider(withRouter(LayoutContainer));\r\nconst WrappedGlobalContextReceiver = withSiteMap(withServerContext(GlobalContextReceiver), [processor.processPermissions, processor.processPath]);\r\nconst navRefreshProcessorSet = [\r\n processor.processImportCenterMode,\r\n processor.processMixedModeAdGroup,\r\n processor.processGlobalFilter,\r\n processor.processCampaignType,\r\n processor.processCampaignId,\r\n processor.processSmartCampaign,\r\n processor.processSmartShoppingCampaign,\r\n processor.processHotelCampaign,\r\n processor.processPmaxCampaignPageMenu,\r\n processor.processPmaxRetailCampaignPageMenu,\r\n processor.processCcuiContext,\r\n processor.processMMCMenu,\r\n processor.processCopilotRegionRestriction,\r\n ...processorSet.navRefresh,\r\n];\r\n\r\nconst DRAFT_ACCOUNT_STATUS = 30;\r\n\r\nconst getDelayedTopBannerComponent = ({\r\n getTopBannerLayout,\r\n getStoreInstance,\r\n DisapprovedEntities,\r\n ImportStatus,\r\n NoEntityNotifications,\r\n PredefinedNotifications,\r\n UETNotifications,\r\n CCNotifications,\r\n ImportNotification,\r\n DraftStoreNotification,\r\n PmaxCampaignUpgradeNotification,\r\n LocationIntentUpdateNotifications,\r\n HotelCenterMigrationNotification,\r\n HotelCenterMigrationPhase2Notification,\r\n HotelCenterMigrationPhase3Notification,\r\n BroadOnlyNotification,\r\n GMCTokenExpiredNotification,\r\n DeprecateSyndicationSearchOnlyNotification,\r\n}) => {\r\n const getNotifications = context => [\r\n new PredefinedNotifications(context).getPredefinedAlerts(),\r\n new DisapprovedEntities(context).getDisapprovedEntityNotifications(),\r\n new ImportStatus(context).getImportStatusNotifications(),\r\n new NoEntityNotifications(context).getNoEligibleEntityNotifications(),\r\n new UETNotifications(context).getUETNotifications(),\r\n new CCNotifications(context).getCCNotifications(),\r\n new ImportNotification(context).getImportNotifications(),\r\n new DraftStoreNotification(context).getDraftStoreNotifications(),\r\n new PmaxCampaignUpgradeNotification(context).getPmaxCampaignUpgradeNotifications(),\r\n new LocationIntentUpdateNotifications(context).getLocationIntentUpdateNotifications(),\r\n new HotelCenterMigrationPhase3Notification(context).getHotelCenterMigrationPhase3Notifications(),\r\n new HotelCenterMigrationPhase2Notification(context).getHotelCenterMigrationPhase2Notifications(),\r\n new HotelCenterMigrationNotification(context).getHotelCenterMigrationNotifications(),\r\n new BroadOnlyNotification(context).getBroadOnlyNotifications(),\r\n new GMCTokenExpiredNotification(context).getAlerts(),\r\n new DeprecateSyndicationSearchOnlyNotification(context).getDeprecateSyndicationSearchOnlyNotifications(),\r\n ];\r\n\r\n const store = getStoreInstance({ getNotifications });\r\n store.refresh();\r\n\r\n return {\r\n default: getTopBannerLayout(store),\r\n };\r\n};\r\n\r\nconst DelayedTopBanner = withPageReadyAsync(() =>\r\n import(/* webpackMode: 'eager' */'@bingads-webui-campaign/notification-center')\r\n .then(getDelayedTopBannerComponent));\r\n\r\nconst DelayedMainMenu = withPageReadyAsync(() =>\r\n import(/* webpackMode: 'eager' */'@bingads-webui-campaign-react/main-menu-container')\r\n .then(({ MainMenuContainer }) => ({\r\n default: MainMenuContainer,\r\n })), CampaignMainMenuPlaceholder);\r\n\r\nconst DelayedAfterPageReady = withPageReadyAsync(() =>\r\n import(/* webpackMode: 'eager' */'./components/after-page-ready')\r\n .then(({ AfterPageReady }) => ({\r\n default: AfterPageReady,\r\n })));\r\n\r\nconst DelayedSummaryBarContainer = withPageReadyAsync(() =>\r\n import(/* webpackMode: 'eager' */'@bingads-webui-campaign-react/summary-bar-container')\r\n .then(({ SummaryBarContainer }) => ({\r\n default: SummaryBarContainer,\r\n })), SummaryBarPlaceholder);\r\n\r\nconst DelayedPageMenuContainer = withPageReadyAsync(() =>\r\n import(/* webpackMode: 'eager' */'@bingads-webui-campaign-react/page-menu-container')\r\n .then(({ PageMenuContainer }) => ({\r\n default: PageMenuContainer,\r\n })), CampaignPageMenuPlaceholder);\r\n\r\nconst DelayedSubTabContainer = withPageReadyAsync(() =>\r\n import(/* webpackMode: 'eager' */'@bingads-webui-campaign-react/sub-tab-container')\r\n .then(({ SubTabContainer }) => ({\r\n default: SubTabContainer,\r\n })), null);\r\n\r\nconst DelayedSubpageMenuContainer = withPageReadyAsync(() =>\r\n import(/* webpackMode: 'eager' */'@bingads-webui-campaign-react/sub-page-menu-container')\r\n .then(({ SubpageMenuContainer }) => ({\r\n default: withPreference(withServerContext(SubpageMenuContainer)),\r\n })), null);\r\n\r\nconst LazyDraft = React.lazy(() =>\r\n import(/* webpackMode: 'eager' */'./components/draft-error-page')\r\n .then(({ DraftAccountPageWraper }) => ({\r\n default: DraftAccountPageWraper,\r\n })));\r\n\r\nconst DelayedDraftAccountPage = props => (\r\n \r\n \r\n \r\n);\r\n\r\nconst DelayedNewGlobalMenuWrapper = withPageReadyAsync(() =>\r\n import(/* webpackMode: 'eager' */'./components/new-global-menu-wrapper')\r\n .then(({ NewGlobalMenuWrapper }) => ({\r\n default: withComponentErrorLogging(NewGlobalMenuWrapper, 'NavigationRefreshGlobalMenu'),\r\n })), NewGlobalMenueWrapperPlaceholder);\r\n\r\nconst DelayedMSAdsCopilotLoader = withPageReadyAsync(() => import(/* webpackMode: 'eager' */ './components/ads-copilot/loader'));\r\n\r\nconst DelayedTeachingBubbleRenderer = withPageReadyAsync(() =>\r\n import(/* webpackMode: 'eager' */'./components/teaching-bubble/teaching-bubble-renderer')\r\n .then(({ TeachingBubbleRenderer }) => ({\r\n default: TeachingBubbleRenderer,\r\n })));\r\n\r\njss.setup({\r\n createGenerateId,\r\n});\r\n\r\nclass AppRoot extends React.PureComponent {\r\n constructor(props) {\r\n super(props);\r\n const { serverContext, instrumentation, appPerfMarker } = props;\r\n\r\n // the real user context should only contains the user information\r\n this.userContext = {\r\n CurrentUser: serverContext.CurrentUser,\r\n CurrentCustomer: serverContext.CurrentCustomer,\r\n CurrentAccount: serverContext.CurrentAccount,\r\n };\r\n this.isAccountDraft = serverContext.CurrentAccount && serverContext.CurrentAccount.Status === DRAFT_ACCOUNT_STATUS;\r\n\r\n this.globalErrorOptions = getGlobalErrorOptions({\r\n instrumentation,\r\n });\r\n\r\n this.defaultScope = {\r\n uid: serverContext.CurrentUser.Id,\r\n cid: serverContext.CurrentCustomer.Id,\r\n aid: serverContext.CurrentAccount.Id,\r\n };\r\n\r\n this.permissions = {\r\n ...serverContext.Permissions,\r\n dynamic: serverContext.DynamicPermissions || {},\r\n };\r\n\r\n this.settingsContext = initSettingsContext(serverContext, this.permissions);\r\n\r\n // TODO - Temporary marking it done here to verify perf markers and instrumentation in New UI.\r\n const perfLatencies = window.performance ? { SchemaNewLatency: window.performance.SchemaNewLatency, siteMapLatency: window.performance.siteMapLatency } : null;\r\n appPerfMarker.done(perfLatencies);\r\n this.isProdEnv = serverContext.IsProdEnv;\r\n\r\n // warm up client side odata cache with server prefetched odata response\r\n initOdataCache(serverContext);\r\n let onToggleMainMenu = () => { };\r\n this.toggleMainMenuObservable = new Observable((observer) => {\r\n onToggleMainMenu = () => observer.next();\r\n });\r\n this.onHamburgerClicked = () => { onToggleMainMenu(); };\r\n\r\n // logger for popup management\r\n this.logger = instrumentation.popupManagement.create().popupManager.create();\r\n this.teachingBubbleLogger = instrumentation.popupManagement.create().multiStepTeachingBubble.create();\r\n }\r\n\r\n setupI18n() {\r\n const { serverContext } = this.props;\r\n\r\n const defaultFailFast = this.isProdEnv ? 'SAFE' : i18n.failFast;\r\n\r\n i18n.failFast = defaultFailFast;\r\n I18nModel.setDefaultFailFast(defaultFailFast);\r\n\r\n i18n.currency = serverContext.CurrentAccount.CurrencyCode;\r\n\r\n // This is used for private\\ui-next\\packages\\ui-next\\src\\legacy-dep-bootstrap\\require.config.js\r\n window.globalLegacyI18n.main = i18n;\r\n }\r\n\r\n render() {\r\n // Because the messy of dependency graph and side effect, we could not simply introduce the test related side effect at the very first of this bootstrap.js.\r\n // For now, it have to be imported after './legacy-dep-bootstrap/init-legacy-components', to wait for instrumentation setup\r\n // And, we have to set test context everytime when rendering, rather than only setting it once. Because after switching account, window.xxx seems\r\n // to be cleared\r\n // if (window.location.search && window.location.search.includes('E2ETestInjectContext')) {\r\n setTestContext();\r\n // }\r\n\r\n this.setupI18n();\r\n\r\n const DraftAccountPage = this.isAccountDraft ? DelayedDraftAccountPage : React.Fragment;\r\n\r\n const DelayedGlobalMenuWrapper = this.props.serverContext.DynamicPermissions.DelayGlobalMenu\r\n ? withPageReadyAsync(() =>\r\n import(/* webpackMode: 'eager' */'./components/global-menu-wrapper')\r\n .then(({ GlobalMenuWrapper }) => ({\r\n default: GlobalMenuWrapper,\r\n })), GlobalMenueWrapperPlaceholder)\r\n : React.lazy(() => import(/* webpackMode: 'eager' */ './components/global-menu-wrapper')\r\n .then(({ GlobalMenuWrapper }) => ({\r\n default: GlobalMenuWrapper,\r\n })));\r\n\r\n const isNavRefresh = isNavigationRefreshOn(this.permissions);\r\n\r\n const DelayedPrimaryNavigation = isNavRefresh && withPageReadyAsync(\r\n () => import(/* webpackMode: 'eager' */'@bingads-webui-react/primary-navigation')\r\n .then(({ PrimaryNavigation }) => ({\r\n default: withComponentErrorLogging(withSiteMap(PrimaryNavigation, navRefreshProcessorSet, navRefreshSiteMap), 'NavigationRefreshPrimaryNavigation'),\r\n })),\r\n PrimaryNavigationPlaceholder\r\n );\r\n\r\n const DelayedSecondaryNavigation = isNavRefresh && withPageReadyAsync(\r\n () => import(/* webpackMode: 'eager' */'@bingads-webui-campaign-react/secondary-navigation')\r\n .then(({ SecondaryNavigation }) => ({\r\n default: withComponentErrorLogging(withSiteMap(SecondaryNavigation, navRefreshProcessorSet, navRefreshSiteMap), 'NavigationRefreshSecondaryNavigation'),\r\n })),\r\n SecondaryNavigationPlaceholder\r\n );\r\n\r\n const DelayedScopePanel = isNavRefresh && withPageReadyAsync(\r\n () => import(/* webpackMode: 'eager' */'@bingads-webui-campaign-react/scope-panel')\r\n .then(({ ScopePanel }) => ({\r\n default: withComponentErrorLogging(ScopePanel, 'NavigationRefreshScopePanel'),\r\n })),\r\n ScopePanelPlaceholder\r\n );\r\n\r\n const isCouponTeachingBubbleEnabled = _.result(this.props.serverContext, ['DynamicPermissions', 'CouponTeachingBubble'], false);\r\n\r\n return (\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {isSDKView && (\r\n \r\n \r\n \r\n )}\r\n {!isSDKView && (\r\n \r\n {displayMode === DisplayMode.Shellless && (\r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n )}\r\n {displayMode === DisplayMode.Default && (\r\n \r\n \r\n \r\n \r\n {!isNavRefresh && }\r\n {isNavRefresh && }\r\n {/* There is a race condition between the payment banner showing and the TablePageContainer loading.\r\n If the grid loads before the payment banner, the vertical scrollbar will be off by ~36 pixels.\r\n To address this, we recalculate the scrollbar position after the payment banner is shown. */}\r\n \r\n {!isNavRefresh && }\r\n {isNavRefresh && }\r\n {isNavRefresh && }\r\n \r\n {!isNavRefresh && }\r\n {isNavRefresh && }\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n )}\r\n
\r\n )}\r\n \r\n \r\n \r\n \r\n
\r\n {shouldShowFallbackUpdater && }\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n );\r\n }\r\n}\r\n\r\nAppRoot.propTypes = {\r\n serverContext: PropTypes.shape({\r\n PageTrackingId: PropTypes.string.isRequired,\r\n CurrentLocale: PropTypes.string.isRequired,\r\n CurrentAccount: PropTypes.shape({\r\n AccountNumber: PropTypes.string,\r\n }),\r\n ServicesEndpoints: PropTypes.shape({\r\n ClientCenterUIAPI: PropTypes.string.isRequired,\r\n }),\r\n }).isRequired,\r\n instrumentation: PropTypes.shape().isRequired,\r\n appPerfMarker: perfMarkerPropTypes.isRequired,\r\n preferenceService: PropTypes.shape().isRequired,\r\n curTheme: PropTypes.string.isRequired,\r\n};\r\n\r\nexport default AppRoot;\r\n","/* eslint-disable import/first */\r\nimport './public-path'; // Don't try to re-order this, it needs to be imported before any other modules\r\nimport _ from 'underscore';\r\nimport React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport { getInstrumentation, InstrumentationSchema } from '@bingads-webui-campaign/instrumentation-setup';\r\nimport {\r\n OdataErrorMapper,\r\n CampaignApiErrorMapper,\r\n UrlErrorMapper,\r\n odataErrorCodes,\r\n campaignApiErrorCodes,\r\n invalidDomains,\r\n} from '@bingads-webui-campaign/instrumentation';\r\nimport { setCampaignType } from '@bingads-webui-campaign-react/with-campaign-type';\r\nimport { PerfMarkerFactory } from '@bingads-webui/performance-marker';\r\nimport { PreferenceService } from '@bingads-webui/preference-service';\r\nimport { getCldrLocale, setupI18nModel } from '@bingads-webui/i18n-model-setup';\r\nimport $ from 'jquery';\r\nimport Backbone from 'backbone';\r\n\r\nBackbone.$ = $;\r\n\r\nimport { updateDateRange } from '@bingads-webui-campaign-react/update-date-range';\r\nimport { initGlobalService } from './global-init/global-init';\r\nimport { isDFMEnabledForPath } from './data-fetch/is-dfm-enabled-for-path';\r\n\r\nconst landingPagePreference = 'OverviewAsDefaultTab';\r\nconst accountsLandingPagePreference = 'AccountsOverviewAsDefaultTab';\r\n\r\n// This marker would be used to track the pre app start latency.\r\n// Any regression in this latency would impact all landing pages.\r\nwindow.performance.preAppStartMarker = {\r\n eventName: 'ActivityMarker/AppStart.BeforeLoad',\r\n eventStartTime: window.performance.now(),\r\n activeTimeBeforeEventStart: window.performance.activeTime(),\r\n};\r\n\r\n// import registerServiceWorker from './register-service-worker';\r\n\r\n// window.serverContext is specified by the server side through responded HTML.\r\n// To avoid any code depends on window.serverContext directly,\r\n// remove it after passing it to the \r\nconst { serverContext, campaignODataConfigs } = window;\r\n\r\nObject.assign(campaignODataConfigs, {\r\n AdvertiserCustomerID: serverContext.CurrentAccount.AdvertiserCustomerID,\r\n AccountID: serverContext.CurrentAccount.Id,\r\n});\r\ndelete window.serverContext;\r\n\r\n// window.devConfig only exists on local development mode\r\nconst devConfig = window.devConfig || {\r\n isInDevelopmentMode: false,\r\n};\r\n\r\n_.templateSettings = {\r\n interpolate: /\\{\\{(.+?)\\}\\}/g,\r\n};\r\n\r\nconst errorMappers = {\r\n odataErrorMapper: new OdataErrorMapper(odataErrorCodes),\r\n campaignApiErrorMapper: new CampaignApiErrorMapper(campaignApiErrorCodes),\r\n urlErrorMapper: new UrlErrorMapper(invalidDomains),\r\n};\r\n\r\nconst userContext = {\r\n CurrentUser: serverContext.CurrentUser,\r\n CurrentCustomer: serverContext.CurrentCustomer,\r\n CurrentAccount: serverContext.CurrentAccount,\r\n};\r\n\r\nconst appName = new URLSearchParams(document.location.search).get('applicationName');\r\nconst featureName = new URLSearchParams(document.location.search).get('featurename');\r\n\r\nconst instrumentation = getInstrumentation({\r\n pageTrackingId: serverContext.PageTrackingId,\r\n errorMappers,\r\n isInDevelopmentMode: devConfig.isInDevelopmentMode,\r\n userContext,\r\n applicationName: {\r\n systemName: 'campaign',\r\n subSystemName: 'webui',\r\n },\r\n serverContext,\r\n ajaxStubOptions: {\r\n applicationName: appName !== null ? appName : undefined,\r\n featureName: featureName !== null ? featureName : undefined,\r\n },\r\n});\r\n\r\ninstrumentation.addScenario(InstrumentationSchema);\r\nconst appActivity = instrumentation.appScenario.create().appActivity.create();\r\n\r\nif (window.performance.preAppStartMarker) {\r\n appActivity.perf(window.performance.preAppStartMarker);\r\n delete window.performance.preAppStartMarker;\r\n}\r\n\r\nif (window.performance.preAppStartLogs) {\r\n const activity = instrumentation.preInstrumentationInitializeScenario.create().perfActivity.create();\r\n window.performance.preAppStartLogs.forEach(({ message, type }) => activity[type](message));\r\n delete window.performance.preAppStartLogs;\r\n}\r\n\r\ndocument.addEventListener('visibilitychange', () => {\r\n appActivity.trace(`Document visibility state changed to:${document.visibilityState}`, 'document-visibility-state');\r\n});\r\n\r\ntry {\r\n const message = JSON.stringify({\r\n devicePixelRatio: window.devicePixelRatio,\r\n clientWidth: document.documentElement.clientWidth,\r\n clientHeight: document.documentElement.clientHeight,\r\n innerWidth: window.innerWidth,\r\n innerHeight: window.innerHeight,\r\n outerWidth: window.outerWidth,\r\n outerHeight: window.outerHeight,\r\n screenWidth: screen.width,\r\n screenHeight: screen.height,\r\n screenAvailWidth: screen.availWidth,\r\n screenAvailHeight: screen.availHeight,\r\n });\r\n\r\n appActivity.trace(message, 'screen-resolution-new-ui');\r\n\r\n // check the proportion of the AuthType\r\n appActivity.trace(`IsAADUser: ${serverContext.IsAADUser}, IsInternalUser: ${(serverContext.CurrentUser && serverContext.CurrentUser.IsInternal)}`, 'AuthType');\r\n} catch (e) {\r\n // Do nothing, this logging is not critical.\r\n}\r\n\r\n\r\nconst appPerfMarker = PerfMarkerFactory.createMarker('ShellPage_WebUI');\r\n\r\nappPerfMarker.willInit();\r\n\r\nconst preferencePerfMarker = appPerfMarker.createChild('Preference_Service_Init');\r\npreferencePerfMarker.willInit();\r\n\r\nPreferenceService.initSync({\r\n initialUserPreferences: serverContext.UserPreferences,\r\n currentUser: serverContext.CurrentUser,\r\n currentCustomer: serverContext.CurrentCustomer,\r\n currentAccount: serverContext.CurrentAccount,\r\n apiHost: serverContext.ServicesEndpoints.CampaignAPI,\r\n apiPath: 'Advertiser/V2',\r\n authToken: serverContext.Token,\r\n});\r\n\r\npreferencePerfMarker.done();\r\n\r\nconst locale = serverContext.CurrentLocale || document.documentElement.lang;\r\nconst cldrLocale = getCldrLocale(locale);\r\n\r\nfunction isDarkTheme(preferenceService) {\r\n if (serverContext.Permissions.IsDarkThemeEnabled) {\r\n const isSystemDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;\r\n const themePref = preferenceService.findByName('themePreference');\r\n const themeObj = {\r\n Name: 'themePreference',\r\n Data: '',\r\n };\r\n if (!themePref || !themePref.Data) {\r\n themeObj.Data = 'system';\r\n preferenceService.setAtUserLevel(themeObj);\r\n } else {\r\n themeObj.Data = themePref.Data;\r\n }\r\n return themeObj.Data === 'dark' || (themeObj.Data === 'system' && isSystemDark);\r\n }\r\n\r\n return false;\r\n}\r\n\r\nfunction getTheme(preferenceService) {\r\n if (isDarkTheme(preferenceService)) {\r\n import(/* webpackChunkName: \"index-dark.less\" */ './index-dark.less');\r\n return 'dark';\r\n }\r\n import(/* webpackMode: \"eager\" */ './index.less');\r\n return 'light';\r\n}\r\n\r\nconst curTheme = getTheme(PreferenceService);\r\n\r\nfunction getLandingPath(preferenceService) {\r\n let loadingPath = window.location.pathname.toLowerCase();\r\n\r\n if (loadingPath === '/campaign/vnext') {\r\n const preferenceData = preferenceService.findByName(landingPagePreference);\r\n\r\n if (preferenceData && !preferenceData.Data) {\r\n loadingPath = '/campaign/vnext/campaigns';\r\n } else {\r\n loadingPath = '/campaign/vnext/overview';\r\n }\r\n } else if (loadingPath === '/campaign/vnext/accounts') {\r\n const preferenceData = preferenceService.findByName(accountsLandingPagePreference);\r\n\r\n if ((preferenceData && !preferenceData.Data)) {\r\n loadingPath = '/campaign/vnext/accounts/performance';\r\n } else {\r\n loadingPath = '/campaign/vnext/accounts/overview';\r\n }\r\n }\r\n\r\n return loadingPath;\r\n}\r\n\r\nfunction skipRequireJSLoad() {\r\n const isSkipRequireJsLoadEnabled = serverContext.Permissions.IsSkipRequireJsLoadEnabled;\r\n\r\n if (isSkipRequireJsLoadEnabled === true) {\r\n return import(/* webpackMode: 'eager' */'@bingads-webui-campaign-legacy/cache-manager/index');\r\n }\r\n\r\n return import(/* webpackChunkName: \"vendor.async.legacy-requirejs\" */'./legacy-dep-bootstrap/require.config').then(() => {\r\n import(/* webpackChunkName: \"vendor.async.legacy-requirejs\" */'./legacy-dep-bootstrap/shim/requirejs-shim');\r\n });\r\n}\r\n\r\nconst es6TestScript = `\r\nclass Foo { }\r\nconst foo = new Foo();\r\nfunction defaultParameter(p = '123') { }\r\ndefaultParameter();\r\nfunction restParameters(...parameter) { }\r\nrestParameters(...[1, 2, 3]);\r\n`;\r\n\r\ntry {\r\n // eslint-disable-next-line no-eval\r\n eval(es6TestScript);\r\n} catch (error) {\r\n instrumentation.logError('ES6_syntax', error.toString());\r\n}\r\n\r\nfunction appBootstrap() {\r\n // eslint-disable-next-line global-require\r\n const AppRoot = require('./app').default;\r\n ReactDOM.render(, document.getElementById('root'));\r\n\r\n initGlobalService(serverContext, appActivity);\r\n\r\n import(/* webpackMode: 'eager' */'@bingads-webui-campaign/cache-bridge').then(({ initCacheBridge }) => initCacheBridge());\r\n}\r\n\r\nconst params = new URLSearchParams(document.location.search);\r\nconst campaignId = params.get('campaignId');\r\nconst campaignString = _.get(serverContext, ['ODataPrefetchResult', 'campaign'], '');\r\nconst campaign = _.isEmpty(campaignString) ? null : JSON.parse(campaignString);\r\nif (campaignId) {\r\n setCampaignType(Number(campaignId), _.get(campaign, 'CampaignType'));\r\n}\r\n\r\nskipRequireJSLoad()\r\n .then(() => {\r\n import(/* webpackChunkName: \"cldr-[request]\" */`@bingads-webui-universal/i18n-cldr-data-modern/locales-simplified/${cldrLocale}.json`)\r\n .then(setupI18nModel(locale))\r\n .then(() => {\r\n updateDateRange(PreferenceService, serverContext, appActivity);\r\n\r\n const landingPagePath = getLandingPath(PreferenceService);\r\n const isDFMEnabled = isDFMEnabledForPath(landingPagePath, serverContext, _.get(campaign, 'CampaignType'));\r\n\r\n if (isDFMEnabled === true) {\r\n const dfmPerfMarker = appPerfMarker.createChild('Data_Fetch_Manager');\r\n dfmPerfMarker.willFetchFile();\r\n\r\n Promise.all([\r\n import(/* webpackMode: 'eager' */'./data-fetch/data-fetch-manager'),\r\n import(/* webpackMode: 'eager' */'./legacy-dep-bootstrap/init-legacy-components'),\r\n ]).then(([\r\n { fetchData },\r\n { initLegacyComponentsWithServerContext },\r\n ]) => {\r\n initLegacyComponentsWithServerContext(serverContext, PreferenceService, curTheme);\r\n fetchData({\r\n serverContext,\r\n dfmPerfMarker,\r\n preferenceService: PreferenceService,\r\n loadingPath: landingPagePath,\r\n campaignType: _.get(campaign, 'CampaignType'),\r\n }).then((msg) => {\r\n dfmPerfMarker.done(msg);\r\n }).finally(() => {\r\n appBootstrap();\r\n });\r\n });\r\n } else {\r\n import(/* webpackMode: 'eager' */'./legacy-dep-bootstrap/init-legacy-components')\r\n .then(({ initLegacyComponentsWithServerContext }) => {\r\n initLegacyComponentsWithServerContext(serverContext, PreferenceService, curTheme);\r\n appBootstrap();\r\n });\r\n }\r\n });\r\n });\r\n// registerServiceWorker();\r\n","import React, { useCallback, useState, useMemo, useContext, useEffect } from 'react';\r\nimport _ from 'underscore';\r\nimport { TeachingBubble } from '@bingads-webui-campaign-react/popup-components';\r\nimport { withDefaultStyles } from '@bingads-webui-react/with-default-styles';\r\nimport { MSACopilotDisclaimer, onToggleCopilot, toggleCopilotWithMSASignInPopup, useIsProdEnvironment } from '@bingads-webui-react/msa-copilot-common';\r\nimport { withI18nConsumer } from '@bingads-webui-react/i18n-context';\r\nimport { withServerContext } from '@bingads-webui-campaign-react/server-context';\r\nimport { withPermissions } from '@bingads-webui-react/hoc-with-permissions';\r\nimport { DirectionalHint } from '@fluentui/react/lib/common/DirectionalHint';\r\nimport { CopilotIcon } from '@bingads-webui-theme-2018/embeded-svgs';\r\nimport { ActivityContext } from '@bingads-webui-react/hoc-with-signal';\r\nimport { isNavigationRefreshOn } from '@bingads-webui-react/preference-utility';\r\n\r\nconst styles = () => ({\r\n disclaimer: {\r\n fontSize: 12,\r\n '& a': {\r\n color: '#fff !important',\r\n textDecoration: 'underline',\r\n },\r\n '& .disclaimer-link.feedback': {\r\n color: '#fff !important',\r\n textDecoration: 'underline',\r\n },\r\n },\r\n title: {\r\n '& svg': {\r\n width: 32,\r\n height: 32,\r\n },\r\n },\r\n});\r\n\r\nexport const CopilotTeachingBubble = withPermissions(withServerContext(withDefaultStyles(withI18nConsumer(({\r\n i18n, classes, changeLayout, serverContext, permissions,\r\n}) => {\r\n const logger = useContext(ActivityContext);\r\n const isPROD = useIsProdEnvironment();\r\n const [visible, setVisible] = useState(false);\r\n const closeBubble = useCallback(() => {\r\n setVisible(false);\r\n }, []);\r\n const username = _.get(serverContext, ['CurrentUser', 'Name']);\r\n const localeId = _.get(serverContext, ['CurrentUser', 'LocaleID']);\r\n const isAADUser = _.get(serverContext, ['IsAADUser']);\r\n const isAppBasedAuthEnabled = _.get(permissions, ['dynamic', 'AdsCopilotAppBasedAuth']);\r\n const isNavRefresh = isNavigationRefreshOn(permissions);\r\n\r\n const toggleCopilot = useMemo(() => toggleCopilotWithMSASignInPopup({\r\n userName: username,\r\n localeId,\r\n isAADUser,\r\n isAppBasedAuthEnabled,\r\n toggleCopilot: (mode) => {\r\n onToggleCopilot({ changeLayout, mode, logger });\r\n },\r\n logger,\r\n }), [changeLayout, isAADUser, localeId, username, isAppBasedAuthEnabled, logger]);\r\n\r\n const startChatting = useCallback(() => {\r\n toggleCopilot('expanded');\r\n closeBubble();\r\n }, [closeBubble, toggleCopilot]);\r\n\r\n const targetElement = useMemo(() => (\r\n isNavRefresh\r\n ? '.new-global-menu button[aria-label=\"Copilot\"]'\r\n : '.global-menu-copilot-dropdown-toggle'\r\n ), [isNavRefresh]);\r\n\r\n useEffect(() => {\r\n setVisible((isPROD || window.location.href.includes('isCopilotTeachingBubbleEnabled=true')) && !window.location.href.includes('isCopilotTeachingBubbleEnabled=false'));\r\n }, [isPROD]);\r\n\r\n return visible ? (\r\n
{i18n.getString(_TL_('Need help? Just ask!'))}
}\r\n content={(\r\n <>\r\n

\r\n {i18n.getString(_TL_('Start chatting with Microsoft Advertising Copilot to receive quick assistance and learn more about Microsoft Advertising. '))}\r\n

\r\n

\r\n \r\n

\r\n \r\n )}\r\n primaryButtonText={i18n.getString(_TL_('Start chatting'))}\r\n secondaryButtonText={i18n.getString(_TL_('Maybe later'))}\r\n onDone={startChatting}\r\n onDismiss={closeBubble}\r\n onClose={closeBubble}\r\n targetElement={targetElement}\r\n directionalHint={DirectionalHint.bottomRightEdge}\r\n rightOffset={12}\r\n doNotLayer\r\n />\r\n ) : null;\r\n}), styles)));\r\n","import _ from 'underscore';\r\nimport { useCallback, useEffect } from 'react';\r\n\r\nimport { onToggleCopilot, toggleCopilotWithMSASignInPopup } from '@bingads-webui-react/msa-copilot-common';\r\n\r\nexport const useCopilotToggleEventListener = ({\r\n userName,\r\n localeId,\r\n isAADUser,\r\n isAppBasedAuthEnabled,\r\n changeLayout,\r\n logger,\r\n}) => {\r\n const handler = useCallback(({ detail: customizedEvent }) => {\r\n const openCopilot = toggleCopilotWithMSASignInPopup({\r\n userName,\r\n localeId,\r\n isAADUser,\r\n isAppBasedAuthEnabled,\r\n logger,\r\n toggleCopilot: () => {\r\n logger.trace(`[Copilot] Copilot opened via copilotToggleEvent. eventType=${_.get(customizedEvent, 'eventType')}, eventSource=${_.get(customizedEvent, 'eventSource')}`);\r\n onToggleCopilot({\r\n changeLayout,\r\n mode: 'expanded',\r\n logger,\r\n customizedEvent,\r\n });\r\n },\r\n });\r\n\r\n openCopilot();\r\n }, [isAADUser, isAppBasedAuthEnabled, changeLayout, localeId, logger, userName]);\r\n\r\n useEffect(() => {\r\n document.addEventListener('copilotToggleEvent', handler);\r\n\r\n return () => {\r\n document.removeEventListener('copilotToggleEvent', handler);\r\n };\r\n }, [handler]);\r\n};\r\n","import _ from 'underscore';\r\nimport $ from 'jquery';\r\nimport classNames from 'classnames';\r\nimport React, { Suspense, useCallback, useMemo, useContext, useEffect, useState } from 'react';\r\nimport { useLocation } from 'react-router-dom';\r\nimport PropTypes from 'prop-types';\r\nimport { PreferenceContext } from '@bingads-webui-react/preference-context';\r\nimport { withDefaultStyles } from '@bingads-webui-react/with-default-styles';\r\nimport { Scenario, Activity, ActivityContext } from '@bingads-webui-react/hoc-with-signal';\r\nimport {\r\n COPILOT_WIDTH,\r\n onToggleCopilot,\r\n useTokenExchange,\r\n useMSAConversationRestorationWithCookie,\r\n getDirectLineEndpoint,\r\n usePerfMarker,\r\n MSAGlobalErrorView,\r\n MSAGlobalLoadingView,\r\n fetchAppBasedChannelToken,\r\n getLwiContexts,\r\n MSACopilotErrorView,\r\n} from '@bingads-webui-react/msa-copilot-common';\r\nimport { withServerContext } from '@bingads-webui-campaign-react/server-context';\r\nimport { withPermissions } from '@bingads-webui-react/hoc-with-permissions';\r\nimport { isNavigationRefreshOn } from '@bingads-webui-react/preference-utility';\r\nimport { notificationApi } from '@bingads-webui-react/notification-center';\r\nimport { I18nContext } from '@bingads-webui-react/i18n-context';\r\nimport { siteMapPropType } from '@bingads-webui-react/with-site-map';\r\nimport { withSiteMap, processor } from '@bingads-webui-campaign-react/with-site-map';\r\nimport { LayoutContext, Mode } from '@bingads-webui-react/app-layout-container';\r\nimport { InsightsPanelLoader } from '@bingads-webui/copilot-insights';\r\nimport {\r\n WaterfallFilterStorage,\r\n WaterfallFilterType,\r\n waterfallDateFilterProcessor\r\n} from '@bingads-webui-campaign/filter-storage';\r\nimport { fetchCampaignsData } from '@bingads-webui-react/copilot-troubleshooting-data';\r\nimport { fromLegacyTimeZone, toIANATimeZone } from '@bingads-webui-universal/time-zone-converter';\r\nimport { withGlobalErrorView } from '@bingads-webui-campaign-react/global-error-options';\r\nimport { isCopilotRegionRestricted } from '@bingads-webui-react/copilot-utils';\r\n\r\nimport { withAppPerfMarker } from '../../contexts/app-perfmarker-context';\r\nimport { CopilotTeachingBubble } from './teaching-bubble';\r\nimport { useGetIsPilotEnabled } from './use-get-is-pilot-enabled';\r\nimport { useCopilotToggleEventListener } from './use-copilot-toggle-event-listener';\r\n\r\nconst LazyMSAdsCopilot = React.lazy(() => import(/* webpackChunkName: \"ads-copilot\" */'@bingads-webui-react/msa-copilot'));\r\nconst POPUP_ERROR_MESSAGE = 'Oops! It seems your popup blocker is active. Please disable it and try again for the full copilot experience.';\r\nconst CopilotLastReaction = 'CopilotLastReaction';\r\nconst CopilotLastConversationId = 'CopilotLastConversationId';\r\n\r\nconst styles = () => ({\r\n root: {\r\n right: 0,\r\n position: 'absolute',\r\n top: 0,\r\n bottom: 0,\r\n minWidth: COPILOT_WIDTH,\r\n display: 'block',\r\n flex: 1,\r\n zIndex: 1,\r\n height: '100%',\r\n },\r\n rootNavRefresh: {\r\n position: 'relative',\r\n },\r\n '@global': {\r\n '.app-shell-copilot': {\r\n 'pointer-events': 'auto !important',\r\n '& .teaching-bubble-content': {\r\n width: '364px',\r\n },\r\n },\r\n '.ads-copilot-preparing-view': {\r\n 'pointer-events': 'auto',\r\n },\r\n },\r\n});\r\n\r\nexport const UnstyledMSAdsCopilotLoader = React.memo((props) => {\r\n const {\r\n mode, classes, serverContext, appPerfMarker, permissions, siteMap, changeLayout,\r\n } = props;\r\n const activity = useContext(ActivityContext);\r\n const preferenceService = useContext(PreferenceContext);\r\n const [cachedPath, setCachedPath] = useState(null);\r\n const firstName = _.get(serverContext, ['CurrentUser', 'FirstName']);\r\n const lastName = _.get(serverContext, ['CurrentUser', 'LastName']);\r\n const userid = useMemo(() => `${_.get(serverContext, ['CurrentUser', 'Id'])}`, [serverContext]);\r\n const username = useMemo(() => _.get(serverContext, ['CurrentUser', 'Name']), [serverContext]);\r\n const customerId = useMemo(() => `${_.get(serverContext, ['CurrentCustomer', 'Id'])}`, [serverContext]);\r\n const accountId = useMemo(() => `${_.get(serverContext, ['CurrentAccount', 'Id'])}`, [serverContext]);\r\n const ccSmallToken = useMemo(() => `CCMTSmallToken ${_.get(serverContext, ['Token'])}`, [serverContext]);\r\n const localeId = _.get(serverContext, ['CurrentUser', 'LocaleID']);\r\n const isAADUser = _.get(serverContext, ['IsAADUser']);\r\n const currentLocale = _.get(serverContext, ['CurrentLocale']);\r\n const dateFormat = _.get(serverContext, ['CurrentUser', 'CultureDateTimeFormat', 'ShortDatePattern']);\r\n const TimeZone = _.get(serverContext, ['CurrentAccount', 'TimeZone']);\r\n const ianaTimeZone = useMemo(() => toIANATimeZone(fromLegacyTimeZone(TimeZone)), [TimeZone]);\r\n const isAppBasedAuthEnabled = _.get(permissions, ['dynamic', 'AdsCopilotAppBasedAuth']);\r\n const isDegradedModeEnabled = _.get(permissions, ['dynamic', 'AdsCopilotDegradedMode']);\r\n const perfMarker = appPerfMarker.createChild('AdsCopilot');\r\n const isNavRefresh = isNavigationRefreshOn(permissions);\r\n const isAdsCopilotLiveChatGlobalizationEnabled = _.get(permissions, ['dynamic', 'AdsCopilotLiveChatGlobalizationEnabled']) || false;\r\n const isAdsCopilotUxImprovementsEnabled = _.get(permissions, ['dynamic', 'AdsCopilotUxImprovements']) || false;\r\n const getIsPilotEnabled = useGetIsPilotEnabled({ permissions });\r\n const location = useLocation();\r\n const { config: layoutConfig } = useContext(LayoutContext);\r\n const { copilot: copilotLayoutConfig } = layoutConfig;\r\n const { hasCustomizedEvent } = copilotLayoutConfig;\r\n const waterfallFilterStorage = new WaterfallFilterStorage({\r\n preferenceService,\r\n });\r\n const dateRange = waterfallDateFilterProcessor(\r\n waterfallFilterStorage.getFilters([WaterfallFilterType.DateFilter]),\r\n serverContext\r\n );\r\n\r\n useCopilotToggleEventListener({\r\n userName: username,\r\n localeId,\r\n isAADUser,\r\n isAppBasedAuthEnabled,\r\n changeLayout,\r\n logger: activity,\r\n });\r\n\r\n const lwicontexts = getLwiContexts(serverContext);\r\n const liveAgentChatConfig = {\r\n isAADUser,\r\n surveyContext: {\r\n firstName,\r\n lastName,\r\n localeId: currentLocale,\r\n },\r\n lwicontexts,\r\n };\r\n\r\n const pilots = {\r\n isCopilotLiveChatGlobalizationEnabled: isAdsCopilotLiveChatGlobalizationEnabled,\r\n };\r\n\r\n const onAuthPopupError = useCallback(() => {\r\n notificationApi.showWarning(POPUP_ERROR_MESSAGE);\r\n }, []);\r\n\r\n const tokenExchangeFn = useTokenExchange({\r\n userName: username,\r\n localeId,\r\n isAADUser,\r\n logger: activity,\r\n onAuthPopupError,\r\n shouldRetry: !!isDegradedModeEnabled,\r\n });\r\n\r\n const onCopilotModeChange = useCallback(({ mode: newMode }) => {\r\n onToggleCopilot({ mode: newMode, changeLayout, logger: activity });\r\n }, [activity, changeLayout]);\r\n\r\n const onSendCustomizedEvent = useCallback(() => {\r\n const newConfig = {\r\n copilot: {\r\n ...copilotLayoutConfig,\r\n hasCustomizedEvent: false,\r\n },\r\n };\r\n changeLayout(newConfig);\r\n }, [copilotLayoutConfig, changeLayout]);\r\n\r\n const onFeedbackReaction = useCallback((data) => {\r\n preferenceService.setAtUserLevel({\r\n Name: CopilotLastReaction,\r\n Data: data,\r\n });\r\n }, [preferenceService]);\r\n\r\n const onChangeConversationId = useCallback((conversationId) => {\r\n preferenceService.setAtUserLevel({\r\n Name: CopilotLastConversationId,\r\n Data: conversationId,\r\n });\r\n }, [preferenceService]);\r\n\r\n const onCopilotClose = useCallback(() => {\r\n onCopilotModeChange({ mode: 'collapsed' });\r\n $('.global-menu-copilot-dropdown-toggle').trigger('focus');\r\n }, [onCopilotModeChange]);\r\n\r\n const botServiceConfig = useMemo(() => {\r\n const config = {\r\n tokenApi: '/api/token',\r\n endpoint: getDirectLineEndpoint(),\r\n authToken: '',\r\n userid,\r\n username,\r\n customerId,\r\n accountId,\r\n ccSmallToken,\r\n productName: 'webui_expert_mode',\r\n fetchOAuthToken: tokenExchangeFn,\r\n ianaTimeZone,\r\n legacyTimeZone: fromLegacyTimeZone(TimeZone),\r\n };\r\n\r\n if (isAppBasedAuthEnabled) {\r\n // OAuth token is not needed for app-based auth, return empty value\r\n config.fetchOAuthToken = () => Promise.resolve({ token: '' });\r\n\r\n // fetch app-based channel token directly from CCUI\r\n config.fetchToken = fetchAppBasedChannelToken;\r\n\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const copilotOneBoxToken = urlParams.get('copilotOneBoxToken');\r\n\r\n if (copilotOneBoxToken) {\r\n config.fetchOAuthToken = () => Promise.resolve({ token: copilotOneBoxToken });\r\n config.fetchToken = undefined;\r\n }\r\n }\r\n\r\n return config;\r\n }, [\r\n accountId,\r\n ccSmallToken,\r\n customerId,\r\n ianaTimeZone,\r\n isAppBasedAuthEnabled,\r\n tokenExchangeFn,\r\n userid,\r\n username,\r\n TimeZone,\r\n ]);\r\n\r\n const getCampaigns = useCallback(() => fetchCampaignsData({ accountId, customerId, ccToken: ccSmallToken }).then((result) => {\r\n const value = _.get(result, ['data', 'value']);\r\n if (_.isArray(value)) {\r\n const campaigns = _.map(value, c => ({ id: c.Id, name: c.Name }));\r\n return campaigns;\r\n }\r\n return activity.error(`[Copilot Reporting Insights] no campaigns returned: ${result.status} ${result.statusText} ${JSON.stringify(result)}`);\r\n }), [accountId, activity, ccSmallToken, customerId]);\r\n\r\n const {\r\n token, error, forceRefreshToken, onConnectionStatusChange, onInitDirectLine,\r\n } = useMSAConversationRestorationWithCookie({\r\n botServiceConfig,\r\n mode,\r\n logger: activity,\r\n onCopilotModeChange,\r\n preferenceService,\r\n });\r\n\r\n const { onMount, onConnectionStatusChange: finalOnConnectionStatusChange } = usePerfMarker({\r\n perfMarker,\r\n token,\r\n mode,\r\n onConnectionStatusChange,\r\n });\r\n\r\n const i18n = useContext(I18nContext);\r\n const className = classNames(classes.root, isNavRefresh && classes.rootNavRefresh);\r\n\r\n const onFullInsightsClick = useCallback((event, replyToId, options) => {\r\n const {\r\n onFeedbackButtonClick,\r\n } = options;\r\n\r\n // NOTE: contentProps will get shallow copied, so any objects with methods (e.g. i18n) will lose its methods\r\n changeLayout({\r\n overlay: {\r\n mode: Mode.Expanded,\r\n content: InsightsPanelLoader,\r\n contentProps: {\r\n dateFormat,\r\n dateRange,\r\n i18nProviderProps: {\r\n locale: currentLocale,\r\n },\r\n logger: activity,\r\n onFeedbackButtonClick,\r\n replyToId,\r\n TimeZone,\r\n },\r\n },\r\n });\r\n }, [\r\n activity,\r\n changeLayout,\r\n currentLocale,\r\n dateFormat,\r\n dateRange,\r\n TimeZone,\r\n ]);\r\n\r\n const loadingView = useMemo(() => (\r\n \r\n ), [className, i18n, onCopilotClose, preferenceService, isAdsCopilotUxImprovementsEnabled]);\r\n\r\n useEffect(() => {\r\n const path = _.get(location, 'pathname');\r\n if (cachedPath !== path) {\r\n setCachedPath(path);\r\n activity.trace(`[Copilot] current page path: ${path})}`);\r\n }\r\n }, [activity, cachedPath, location]);\r\n\r\n const [isAdsCopilotRegionRestricted, setIsAdsCopilotRegionRestricted] = useState();\r\n useEffect(() => {\r\n isCopilotRegionRestricted({\r\n feature: 'Chat',\r\n permissions: props.permissions,\r\n serverContext: props.serverContext,\r\n }).then(setIsAdsCopilotRegionRestricted);\r\n }, [props.permissions, props.serverContext]);\r\n\r\n const isCopilotReady = !_.isEmpty(token) && isAdsCopilotRegionRestricted != null;\r\n\r\n if (mode === 'expanded' && error != null && !isDegradedModeEnabled) {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n }\r\n\r\n if (mode === 'expanded' && !isCopilotReady) {\r\n return loadingView;\r\n }\r\n\r\n return mode === 'collapsed' || (!isCopilotReady && !isDegradedModeEnabled) ? null : (\r\n \r\n
\r\n \r\n
\r\n
\r\n );\r\n});\r\n\r\nUnstyledMSAdsCopilotLoader.propTypes = {\r\n classes: PropTypes.shape({\r\n root: PropTypes.string.isRequired,\r\n rootNavRefresh: PropTypes.string.isRequired,\r\n }).isRequired,\r\n changeLayout: PropTypes.func.isRequired,\r\n serverContext: PropTypes.shape({\r\n\r\n }).isRequired,\r\n mode: PropTypes.string.isRequired,\r\n appPerfMarker: PropTypes.shape({\r\n done: PropTypes.func,\r\n willInit: PropTypes.func,\r\n willRender: PropTypes.func,\r\n createChild: PropTypes.func,\r\n }).isRequired,\r\n permissions: PropTypes.shape({\r\n dynamic: PropTypes.shape({\r\n NavigationRefresh: PropTypes.bool,\r\n }),\r\n }).isRequired,\r\n siteMap: siteMapPropType.isRequired,\r\n};\r\n\r\nconst CopilotErrorView = React.memo((props) => {\r\n const activity = useContext(ActivityContext);\r\n return (\r\n );\r\n});\r\n\r\nCopilotErrorView.propTypes = {\r\n error: PropTypes.instanceOf(Error),\r\n info: PropTypes.instanceOf(Object),\r\n errorViewProps: PropTypes.instanceOf(Object),\r\n};\r\n\r\nCopilotErrorView.defaultProps = {\r\n error: null,\r\n info: null,\r\n errorViewProps: {},\r\n};\r\n\r\nexport const MSAdsCopilotLoader = withServerContext(withDefaultStyles(withGlobalErrorView(\r\n withAppPerfMarker(withSiteMap(UnstyledMSAdsCopilotLoader, [\r\n processor.processPermissions,\r\n processor.processGlobalFilter,\r\n processor.processCampaignType,\r\n processor.processPath,\r\n ])),\r\n {\r\n renderErrorView: props => ,\r\n }\r\n), styles));\r\n\r\nconst MSAdsCopilotLoaderWithPermission = withPermissions(props => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n));\r\n\r\nMSAdsCopilotLoaderWithPermission.propTypes = {\r\n permissions: PropTypes.shape({}).isRequired,\r\n};\r\n\r\nexport default MSAdsCopilotLoaderWithPermission;\r\n","import _ from 'underscore';\r\nimport { useCallback } from 'react';\r\n\r\nexport function useGetIsPilotEnabled({ permissions }) {\r\n return useCallback(pilotName => _.get(permissions, ['dynamic', pilotName]), [permissions]);\r\n}\r\n","import React from 'react';\r\nimport { withRouter } from '@bingads-webui-campaign-react/router';\r\nimport { withInstrumentation } from '@bingads-webui-react/hoc-with-instrumentation';\r\n\r\nlet previousRoute = '';\r\nlet previousSearch = '';\r\nlet urlChangeScenario;\r\nlet routeChangeLogger;\r\nlet paramChangeLogger;\r\n\r\nconst getUrlChangeScenario = (instrumentation) => {\r\n if (urlChangeScenario) {\r\n return urlChangeScenario;\r\n }\r\n\r\n urlChangeScenario = instrumentation.urlChange.create();\r\n return urlChangeScenario;\r\n};\r\n\r\nconst getRouteChangeLogger = (instrumentation) => {\r\n if (routeChangeLogger) {\r\n return routeChangeLogger;\r\n }\r\n routeChangeLogger = getUrlChangeScenario(instrumentation).routeChange.create();\r\n return routeChangeLogger;\r\n};\r\n\r\nconst getParamChangeLogger = (instrumentation) => {\r\n if (paramChangeLogger) {\r\n return paramChangeLogger;\r\n }\r\n paramChangeLogger = getUrlChangeScenario(instrumentation).paramChange.create();\r\n return paramChangeLogger;\r\n};\r\n\r\nconst RouteChangeLoggerInternal = (props) => {\r\n const currentRoute = window.location.pathname.toLowerCase();\r\n const currentSearch = window.location.search.toLowerCase();\r\n\r\n\r\n if (previousRoute) {\r\n if (previousRoute !== currentRoute) {\r\n getRouteChangeLogger(props.instrumentation).trace(`${previousRoute} -> ${currentRoute}`);\r\n }\r\n } else {\r\n getRouteChangeLogger(props.instrumentation).trace(`initial route: ${currentRoute}`);\r\n }\r\n\r\n if (previousSearch) {\r\n if (previousSearch !== currentSearch) {\r\n getParamChangeLogger(props.instrumentation).trace(`${previousSearch} -> ${currentSearch}`);\r\n }\r\n } else {\r\n getParamChangeLogger(props.instrumentation).trace(`initial param: ${currentSearch}`);\r\n }\r\n\r\n previousRoute = currentRoute;\r\n previousSearch = currentSearch;\r\n return null;\r\n};\r\n\r\nRouteChangeLoggerInternal.propTypes = {\r\n};\r\n\r\nexport const RouteChangeLogger = withRouter(withInstrumentation(React.memo(RouteChangeLoggerInternal)));\r\n","/* eslint-disable no-param-reassign */\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { compose, result } from 'underscore';\r\nimport { withPermissions } from '@bingads-webui-react/hoc-with-permissions';\r\nimport { withPreference } from '@bingads-webui-react/preference-context';\r\nimport { withI18nConsumer } from '@bingads-webui-react/i18n-context';\r\nimport { withDefaultStyles } from '@bingads-webui-react/with-default-styles';\r\nimport { Dialog, DialogType, DialogFooter } from '@bingads-webui-react/fabric-control';\r\nimport { openOldUI, getFallbackPath } from '@bingads-webui-react/fallback-feature';\r\nimport { withScope, QueryParam } from '@bingads-webui-react/scope-service';\r\nimport { withInstrumentation } from '@bingads-webui-react/hoc-with-instrumentation';\r\nimport { Scenario, Activity } from '@bingads-webui-react/hoc-with-signal';\r\nimport { PrimaryButton, DefaultButton } from '@bingads-webui-react/fabric-with-signal';\r\nimport { getNewUiWelcomeStyles } from '@bingads-webui-campaign/ui-next-style';\r\nimport { isTestEnvironment } from '@bingads-webui-campaign/global-app-init';\r\n\r\nconst NewUINavigationPreferenceKey = 'WebApp.Next.LandingPage';\r\n\r\n// a blocking non-draggable fabric dialog to set newUI preference\r\nclass NewUIPreferenceDialogRaw extends React.PureComponent {\r\n constructor(props) {\r\n super(props);\r\n\r\n const {\r\n permissions,\r\n preferenceService,\r\n instrumentation,\r\n } = props;\r\n\r\n const isTestEnv = isTestEnvironment(document.domain);\r\n\r\n if (result(permissions.dynamic, 'LegacyUIDeprecation', false) || isTestEnv) {\r\n this.state = {\r\n showDialog: false,\r\n };\r\n\r\n return;\r\n }\r\n\r\n this.preferenceSetLogger = instrumentation.newUINavigation.create().preferenceSet.create();\r\n // explicit start and stop signal\r\n this.preferenceSetLogger.startSignal();\r\n\r\n this.preferenceService = preferenceService;\r\n const newUIPreference = preferenceService.findByNameAtUserLevel(NewUINavigationPreferenceKey);\r\n const isLandOnNewUIEnabledPilot = permissions.IsLandOnNewUIEnabled;\r\n const showOnlyOKButton = isLandOnNewUIEnabledPilot && (!newUIPreference || newUIPreference.Data !== 'NewUI');\r\n\r\n const phase2PilotEnabled = permissions.dynamic.NewWebUI;\r\n\r\n this.state = {\r\n showDialog: showOnlyOKButton || ((phase2PilotEnabled === true) && (newUIPreference === undefined)),\r\n showOnlyOKButton,\r\n };\r\n\r\n // silently set the preference to NewUI if the preference is already set and it's not NewUI\r\n // so server would serve new UI next time when user logs in\r\n // because newUIPreference is not undefined, there would be no dialog for user to set preference\r\n if (newUIPreference && newUIPreference.Data !== 'NewUI') {\r\n this.setPreferenceAndLog('NewUI');\r\n }\r\n }\r\n\r\n setPreferenceAndLog = (preference) => {\r\n if (preference) {\r\n this.preferenceService.setAtUserLevel({\r\n Name: NewUINavigationPreferenceKey,\r\n Data: preference,\r\n });\r\n }\r\n\r\n this.preferenceSetLogger.trace({\r\n preference: preference || 'decide later',\r\n });\r\n };\r\n\r\n selectNewUI = () => {\r\n this.setPreferenceAndLog('NewUI');\r\n this.dismissDialog('NewUI');\r\n }\r\n\r\n selectOldUI = () => {\r\n this.setPreferenceAndLog('OldUI');\r\n this.dismissDialog('OldUI');\r\n\r\n const returnPath = getFallbackPath(this.props.scope, null, null);\r\n openOldUI(this.props.scope, returnPath);\r\n }\r\n\r\n decideLater = () => {\r\n this.setPreferenceAndLog();\r\n this.dismissDialog();\r\n }\r\n\r\n learnMore = () => {\r\n this.setPreferenceAndLog('NewUI');\r\n this.dismissDialog('NewUI');\r\n\r\n if (this.helpTopicSpan) {\r\n this.helpTopicSpan.click();\r\n }\r\n }\r\n\r\n dismissDialog = (userSelection) => {\r\n this.setState({\r\n showDialog: false,\r\n });\r\n\r\n // in the case user clicks x button to dismiss the dialog\r\n // userSelection is an event object from base-button which needs special handling\r\n if (typeof userSelection !== 'string') {\r\n if (this.state.showOnlyOKButton) {\r\n this.setPreferenceAndLog('NewUI');\r\n userSelection = 'dismiss by x button with pilot NewUIAsDefault enabled';\r\n } else {\r\n userSelection = 'decide later by x button';\r\n }\r\n } else if (!userSelection) {\r\n userSelection = 'decide later';\r\n }\r\n\r\n this.preferenceSetLogger.stopSignal(userSelection);\r\n }\r\n\r\n render() {\r\n const {\r\n i18n,\r\n classes,\r\n } = this.props;\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nNewUIPreferenceDialogRaw.propTypes = {\r\n permissions: PropTypes.shape({}).isRequired,\r\n i18n: PropTypes.shape({\r\n getString: PropTypes.func,\r\n }).isRequired,\r\n preferenceService: PropTypes.shape({}).isRequired,\r\n classes: PropTypes.object.isRequired, // eslint-disable-line react/forbid-prop-types\r\n scope: PropTypes.instanceOf(QueryParam).isRequired,\r\n // eslint-disable-next-line react/forbid-prop-types\r\n instrumentation: PropTypes.object.isRequired,\r\n};\r\n\r\nexport const NewUIPreferenceDialog = compose(\r\n WrappedComponent => withDefaultStyles(WrappedComponent, getNewUiWelcomeStyles),\r\n withInstrumentation,\r\n withScope,\r\n withI18nConsumer,\r\n withPreference,\r\n withPermissions\r\n)(NewUIPreferenceDialogRaw);\r\n","import _ from 'underscore';\r\nimport Promise from 'bluebird';\r\nimport React, { useContext, useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { notificationApi } from '@bingads-webui-campaign/notification-center';\r\nimport odata from '@bingads-webui-component-legacy/http/channel/odata';\r\nimport { Scenario, Activity, ActivityContext } from '@bingads-webui-react/hoc-with-signal';\r\n\r\nconst PREFERENCE_NAME_GOOGLE = 'Import.GoogleImport.SignupWithSmartGoogleImport';\r\nconst PREFERENCE_NAME_FACEBOOK = 'Import.FacebookImport.SignupWithSmartFacebookImport';\r\n\r\nconst getImportScheduleAndHistoryLink = (serverContext, preferenceType) => {\r\n const url = `${serverContext.ServicesEndpoints.CampaignUIAPI}vnext/importschedule`;\r\n let queryParams = '';\r\n const {\r\n CurrentAccount, CurrentCustomer, CurrentUser,\r\n } = serverContext || {};\r\n if (CurrentAccount && CurrentCustomer && CurrentUser) {\r\n const importType = {\r\n [PREFERENCE_NAME_GOOGLE]: 'googleimport',\r\n [PREFERENCE_NAME_FACEBOOK]: 'facebookimport',\r\n }[preferenceType] || '';\r\n if (importType) {\r\n queryParams = `?aid=${CurrentAccount.Id}&cid=${CurrentCustomer.Id}&uid=${CurrentUser.Id}&importType=${importType}`;\r\n } else {\r\n queryParams = `?aid=${CurrentAccount.Id}&cid=${CurrentCustomer.Id}&uid=${CurrentUser.Id}`;\r\n }\r\n }\r\n return `${url}${queryParams}`;\r\n};\r\n\r\nconst getNavigationLinkMsg = (serverContext, i18n, preferenceType) => {\r\n const url = getImportScheduleAndHistoryLink(serverContext, preferenceType);\r\n const linkMsg = i18n.getString(\r\n _TL_('You can review your {{link}} at any time.'),\r\n { link: `${i18n.getString(_TL_('Import schedule & history'))}` }\r\n );\r\n return linkMsg;\r\n};\r\n\r\nconst showGoogleImportNotificationMsg = (status, serverContext, i18n) => {\r\n const { inProgress, importedCampaignsCount } = status || {};\r\n const linkMsg = getNavigationLinkMsg(serverContext, i18n, PREFERENCE_NAME_GOOGLE);\r\n if (inProgress) {\r\n const msg = i18n.getString(_TL_('We’re currently importing your campaigns from Google Ads.'));\r\n notificationApi.showInfo(`${msg} ${linkMsg}`);\r\n } else if (importedCampaignsCount > 0) {\r\n const msg = i18n.getString(_TL_('Your import from Google Ads has successfully completed.'));\r\n notificationApi.showInfo(`${msg} ${linkMsg}`);\r\n } else {\r\n const msg = i18n.getString(_TL_('We were unable to import any campaigns from your Google Ads account.'));\r\n notificationApi.showWarning(`${msg} ${linkMsg}`);\r\n }\r\n};\r\n\r\nconst showFacebookImportNotificationMsg = (status, serverContext, i18n) => {\r\n const { inProgress, importedCampaignsCount } = status || {};\r\n const linkMsg = getNavigationLinkMsg(serverContext, i18n, PREFERENCE_NAME_FACEBOOK);\r\n if (inProgress) {\r\n const msg = i18n.getString(_TL_('We\\'re currently importing your campaigns from Meta Ads.'));\r\n notificationApi.showInfo(`${msg} ${linkMsg}`);\r\n } else if (importedCampaignsCount > 0) {\r\n const msg = i18n.getString(_TL_('Your import from Meta Ads has successfully completed.'));\r\n notificationApi.showInfo(`${msg} ${linkMsg}`);\r\n } else {\r\n const msg = i18n.getString(_TL_('We were unable to import any campaigns from your Meta Ads account.'));\r\n notificationApi.showWarning(`${msg} ${linkMsg}`);\r\n }\r\n};\r\n\r\nconst getImportedCampaignsCount = (entityStatistics) => {\r\n const { Keys, Values } = entityStatistics || {};\r\n const campaignEntityIndex = Keys && Keys.indexOf('Campaign');\r\n if (campaignEntityIndex >= 0) {\r\n const { Total } = Values[campaignEntityIndex] || {};\r\n if (_.isNumber(Total)) {\r\n return Total;\r\n }\r\n }\r\n return 0;\r\n};\r\n\r\nconst getImportTaskStatus = (taskItemExecutionId) => {\r\n const url = `/Customers()/Accounts()/TaskItemExecutions(${taskItemExecutionId})`;\r\n return new Promise((resolve, reject) => {\r\n odata.get(url).then((data) => {\r\n // eslint-disable-next-line object-curly-newline\r\n const { ImportStatus, Status, ErrorCode, EntityStatistics } = data || {};\r\n const importedCampaignsCount = getImportedCampaignsCount(EntityStatistics);\r\n if (ImportStatus === 'Complete') {\r\n resolve({ importedCampaignsCount, inProgress: false });\r\n } else if (ImportStatus === 'Failed' || Status === 'Failed' || ErrorCode || ImportStatus === 'Cancelled') {\r\n reject(new Error());\r\n } else { // ongoing\r\n resolve({ inProgress: true });\r\n }\r\n }).catch((err) => {\r\n reject(err);\r\n });\r\n });\r\n};\r\n\r\nexport const ImportStatusCheckerInternal = ({\r\n i18n, serverContext, preferenceService,\r\n}) => {\r\n const [isShown, setIsShown] = useState(false);\r\n const activity = useContext(ActivityContext);\r\n\r\n useEffect(() => {\r\n if (!isShown && preferenceService && _.isFunction(preferenceService.findByNameAtAccountLevel)) {\r\n setIsShown(true);\r\n _.forEach([\r\n { preferenceName: PREFERENCE_NAME_GOOGLE, showNotificationMsg: showGoogleImportNotificationMsg },\r\n { preferenceName: PREFERENCE_NAME_FACEBOOK, showNotificationMsg: showFacebookImportNotificationMsg },\r\n ], ({ preferenceName, showNotificationMsg }) => {\r\n const { Id: id, Data: data } = preferenceService.findByNameAtAccountLevel(preferenceName) || {};\r\n if (id) {\r\n const taskItemExecutionId = data && data.importStatus && data.importStatus.taskItemExecutionId;\r\n if (taskItemExecutionId) {\r\n // get import task execution status\r\n getImportTaskStatus(taskItemExecutionId).then((status) => {\r\n activity.trace(`got import task status, show notification. status: ${JSON.stringify(status)}`);\r\n showNotificationMsg(status, serverContext, i18n);\r\n }).catch((err) => {\r\n activity.trace(`failed to get import task status, error: ${JSON.stringify(err)}`);\r\n showNotificationMsg(null, serverContext, i18n);\r\n });\r\n } else {\r\n activity.trace(`no taskItemExecutionId in preference, id: ${id}, pref: ${JSON.stringify(data)}`);\r\n }\r\n // remove preference\r\n preferenceService.del(id);\r\n } else {\r\n activity.trace('cannot find import status from preference service.');\r\n }\r\n });\r\n }\r\n }, [activity, i18n, isShown, preferenceService, serverContext]);\r\n\r\n return null;\r\n};\r\n\r\nImportStatusCheckerInternal.propTypes = {\r\n serverContext: PropTypes.shape({}).isRequired,\r\n preferenceService: PropTypes.shape({}).isRequired,\r\n i18n: PropTypes.shape({\r\n getString: PropTypes.func,\r\n }).isRequired,\r\n};\r\n\r\nexport const ImportStatusChecker = props => (\r\n \r\n \r\n \r\n \r\n \r\n);\r\n","import PropTypes from 'prop-types';\r\nimport { withSiteMap, siteMapPropType, findSelectedNode } from '@bingads-webui-campaign-react/with-site-map';\r\n\r\nconst PageTitleUpdater = ({ siteMap, i18n }) => {\r\n const selectedNode = findSelectedNode(siteMap);\r\n let newTitle = 'Microsoft Advertising';\r\n\r\n if (selectedNode) {\r\n newTitle = `${i18n.getString(selectedNode.name)} | Microsoft Advertising`;\r\n }\r\n\r\n document.title = newTitle;\r\n\r\n return null;\r\n};\r\n\r\nPageTitleUpdater.propTypes = {\r\n siteMap: siteMapPropType.isRequired,\r\n i18n: PropTypes.shape({\r\n getString: PropTypes.func,\r\n }).isRequired,\r\n};\r\n\r\nconst wrapped = withSiteMap(PageTitleUpdater);\r\n\r\nexport { wrapped as PageTitleUpdater };\r\n","import { useMemo, useContext } from 'react';\r\nimport { InstrumentationContext } from '@bingads-webui-react/hoc-with-instrumentation';\r\nimport { PermissionsContext } from '@bingads-webui-react/hoc-with-permissions';\r\nimport { isNavigationRefreshOn } from '@bingads-webui-react/preference-utility';\r\n\r\nconst SCENARIO = 'NavigationRefresh';\r\nconst ACTIVITY = 'NavigationRefresh';\r\n\r\nexport const NavigationRefreshLogger = () => {\r\n const instrumentation = useContext(InstrumentationContext);\r\n const permissions = useContext(PermissionsContext);\r\n\r\n const activity = useMemo(() => {\r\n const scenario = instrumentation.createScenario({\r\n scenarioName: SCENARIO,\r\n });\r\n return scenario.createActivity(ACTIVITY);\r\n }, [instrumentation]);\r\n\r\n if (activity && isNavigationRefreshOn(permissions)) {\r\n activity.trace('Navigation refresh');\r\n }\r\n\r\n return null;\r\n};\r\n","import React, { useCallback, useContext, useEffect, useMemo } from 'react';\r\nimport { result } from 'underscore';\r\nimport {\r\n Dialog,\r\n DialogTrigger,\r\n DialogSurface,\r\n DialogTitle,\r\n DialogContent,\r\n DialogBody,\r\n DialogActions,\r\n Button,\r\n makeStyles,\r\n mergeClasses,\r\n tokens,\r\n} from '@fluentui/react-components';\r\nimport { PreferenceContext } from '@bingads-webui-react/preference-context';\r\nimport { PermissionsContext } from '@bingads-webui-react/hoc-with-permissions';\r\nimport { ReactTemplate } from '@bingads-webui-react/react-template';\r\n\r\nimport { I18nContext } from '@bingads-webui-react/i18n-context';\r\nimport { SWITCH_BACK_NAV_REFRESH_KEY } from '@bingads-webui-react/preference-utility';\r\nimport { InstrumentationContext } from '@bingads-webui-react/hoc-with-instrumentation';\r\nimport { UiBlocker } from '@bingads-webui-react/ui-blocker';\r\nimport { setClarityTag } from '@bingads-webui-universal/clarity';\r\nimport navRefreshImage from './navrefresh.jpg';\r\n\r\nconst MillisecondsInADay = 86400000;\r\nconst LastDayToSwitchBack = new Date(2024, 7, 1); // August 1, 2024\r\nconst NavigationRefreshDialogPreference = 'NavigationRefreshDialogPreference';\r\nconst OneWeek = 'OneWeek';\r\nconst OneMonth = 'OneMonth';\r\nconst Further = 'Further';\r\nconst Past = 'Past';\r\n\r\nconst getTimePeriod = () => {\r\n const now = new Date();\r\n\r\n if (now > LastDayToSwitchBack) {\r\n return Past;\r\n }\r\n\r\n if (LastDayToSwitchBack - now < MillisecondsInADay * 7) {\r\n return OneWeek;\r\n }\r\n\r\n if (LastDayToSwitchBack - now < MillisecondsInADay * 30) {\r\n return OneMonth;\r\n }\r\n\r\n return Further;\r\n};\r\n\r\nconst useDialogStyles = makeStyles({\r\n navRefreshImage: {\r\n backgroundImage: `url(${navRefreshImage})`,\r\n height: '271px',\r\n marginBottom: tokens.spacingVerticalXXL,\r\n },\r\n button: {\r\n whiteSpace: 'nowrap',\r\n },\r\n footer: {\r\n justifyContent: 'space-between',\r\n width: '100%',\r\n },\r\n singleButtonFooter: {\r\n justifyContent: 'flex-end',\r\n },\r\n});\r\n\r\nexport const NavigationRefreshDialog = () => {\r\n const classes = useDialogStyles();\r\n const i18n = useContext(I18nContext);\r\n const preferenceService = useContext(PreferenceContext);\r\n const [open, setOpen] = React.useState(false);\r\n const [disableButtons, setDisableButtons] = React.useState(false);\r\n const instrumentation = useContext(InstrumentationContext);\r\n const permissions = useContext(PermissionsContext);\r\n const logger = instrumentation.createScenarioAndActivity({\r\n scenarioName: 'navigationRefreshDialog',\r\n activityName: 'navigationRefreshDialog',\r\n }).activity;\r\n const switchBackNavRefreshPreference = preferenceService.findByNameAtUserLevel(SWITCH_BACK_NAV_REFRESH_KEY);\r\n const switchBackNavRefresh = result(switchBackNavRefreshPreference, 'Data', false);\r\n const dialogPreference = preferenceService.findByNameAtUserLevel(NavigationRefreshDialogPreference) || {};\r\n const dismissDialog = result(dialogPreference, 'Data', {});\r\n const timePeriod = useMemo(() => getTimePeriod(), []);\r\n const isPastCutOff = timePeriod === Past;\r\n const messageTemplate =\r\n i18n.getString(_TL_('Start by browsing the navigation menu on the left, which provides a cleaner look and feel. If you can\\'t find something, select {{b}}Tools{{/b}}. {{a}}Learn more about how to get around.{{/a}}'));\r\n\r\n const updatePreference = useCallback(() => {\r\n const newDismissDialog = {\r\n ...dismissDialog,\r\n [timePeriod]: true,\r\n };\r\n\r\n preferenceService.setAtUserLevel({\r\n Name: NavigationRefreshDialogPreference,\r\n Data: newDismissDialog,\r\n }).then(({ Id }) => {\r\n preferenceService.onRemoteSyncDone(Id).then(() => {\r\n logger.trace({\r\n preference: `${NavigationRefreshDialogPreference} updated to ${JSON.stringify(newDismissDialog)}`,\r\n });\r\n });\r\n });\r\n }, [dismissDialog, logger, preferenceService, timePeriod]);\r\n\r\n useEffect(() => {\r\n if (switchBackNavRefresh && permissions.dynamic.NavigationRefresh) {\r\n if (timePeriod === Past ||\r\n (timePeriod === OneWeek && !dismissDialog[OneWeek]) ||\r\n (timePeriod === OneMonth && !dismissDialog[OneMonth]) ||\r\n (timePeriod === Further && !dismissDialog[Further])) {\r\n setOpen(true);\r\n logger.trace(`NavigationRefreshDialog: dialog opened for time period ${timePeriod}`);\r\n setClarityTag({ NavigationRefreshDialog: 'true' });\r\n }\r\n }\r\n }, [dismissDialog, logger, permissions.dynamic.NavigationRefresh, preferenceService, switchBackNavRefresh, timePeriod]);\r\n\r\n const onStay = useCallback(() => {\r\n updatePreference();\r\n setOpen(false);\r\n }, [updatePreference]);\r\n\r\n const onTry = useCallback((e) => {\r\n setDisableButtons(true);\r\n e.preventDefault();\r\n if (dialogPreference && dialogPreference.Id) {\r\n preferenceService.delAtUserLevel(dialogPreference.Id);\r\n }\r\n\r\n if (!switchBackNavRefresh) {\r\n window.location.reload();\r\n return;\r\n }\r\n\r\n preferenceService.setAtUserLevel({\r\n Name: SWITCH_BACK_NAV_REFRESH_KEY,\r\n Data: false,\r\n }).then(({ Id }) => {\r\n preferenceService.onRemoteSyncDone(Id).then(() => {\r\n logger.trace({\r\n preference: `${SWITCH_BACK_NAV_REFRESH_KEY} set to false from navigation refresh dialog with NavigationRefresh enabled`,\r\n });\r\n setClarityTag({ [SWITCH_BACK_NAV_REFRESH_KEY]: 'false' });\r\n\r\n if (timePeriod !== Past) {\r\n window.location.reload();\r\n } else {\r\n setOpen(false);\r\n }\r\n });\r\n });\r\n }, [dialogPreference, logger, preferenceService, switchBackNavRefresh, timePeriod]);\r\n\r\n return (\r\n \r\n \r\n \r\n
\r\n \r\n \r\n {isPastCutOff ?\r\n i18n.getString(_TL_('Welcome to the new Microsoft Advertising navigation experience')) :\r\n i18n.getString(_TL_('Switch to the new Microsoft Advertising navigation experience today'))\r\n }\r\n \r\n \r\n {\r\n isPastCutOff ?\r\n

\r\n {i18n.getString(_TL_('We\\'ve updated the Microsoft Advertising navigation experience to help you maximize your efficiency while you\\'re managing your account. We think you\\'ll like how intuitive and customizable this new experience is. '))}\r\n {content},\r\n a: content => {content},\r\n }}\r\n template={messageTemplate}\r\n />\r\n

:\r\n <>\r\n

\r\n { i18n.getString(_TL_('We\\'re delighted to provide you with a new Microsoft Advertising navigation experience designed to maximize your efficiency. We think you\\'ll like how user-friendly and customizable it is. Give it a try!')) }\r\n

\r\n

\r\n { i18n.getString(_TL_('You can switch back to the old navigation experience until August 1st, at which time, everyone will be locked into the new navigation experience.')) }\r\n

\r\n \r\n }\r\n
\r\n \r\n \r\n {!isPastCutOff &&\r\n \r\n }\r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n );\r\n};\r\n","import {\r\n makeStyles,\r\n shorthands,\r\n} from '@fluentui/react-components';\r\n\r\nexport const useStyles = makeStyles({\r\n dialogSurface: {\r\n maxWidth: '600px',\r\n minWidth: '500px',\r\n },\r\n dialogContent: {\r\n ...shorthands.padding('10px', '0', '20px', '0'),\r\n },\r\n description: {\r\n fontSize: '14px',\r\n lineHeight: '20px',\r\n marginBottom: '20px',\r\n },\r\n radioGroup: {\r\n display: 'flex',\r\n flexDirection: 'column',\r\n gap: '12px',\r\n\r\n '& .fui-Radio label': {\r\n paddingTop: '5px',\r\n paddingBottom: '5px',\r\n },\r\n },\r\n radioButton: {\r\n fontSize: '14px',\r\n },\r\n buttonSpacing: {\r\n marginLeft: '8px',\r\n },\r\n emailContainer: {\r\n width: '90%',\r\n paddingLeft: '36px',\r\n\r\n '& input': {\r\n border: 'none',\r\n },\r\n\r\n '& input:hover': {\r\n border: 'none',\r\n },\r\n\r\n '& input:focus': {\r\n border: 'none',\r\n },\r\n\r\n\r\n '& label': {\r\n fontSize: '14px',\r\n fontWeight: 400,\r\n },\r\n },\r\n serverErrorMessage: {\r\n paddingLeft: '12px',\r\n marginTop: '8px',\r\n },\r\n});\r\n","import _ from 'underscore';\r\nimport React, { useCallback, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field, Input } from '@fluentui/react-components';\r\n\r\nconst isValidEmailAddress = (address) => {\r\n const re = /^(([^<>()[\\]\\\\.,;:\\s@']+(\\.[^<>()[\\]\\\\.,;:\\s@']+)*)|('.+'))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n return re.test(String(address).toLowerCase());\r\n};\r\n\r\nconst validateEmails = (emailString) => {\r\n if (!emailString) {\r\n return { valid: false, message: _TL_('Please enter at least one email address') };\r\n }\r\n\r\n const emails = emailString.split(';').map(email => email.trim()).filter(email => email);\r\n\r\n if (emails.length === 0) {\r\n return { valid: false, message: _TL_('Please enter at least one email address') };\r\n }\r\n\r\n if (emails.length > 5) {\r\n return { valid: false, message: _TL_('Exceed maximum 5 email addresses') };\r\n }\r\n\r\n const invalidEmails = emails.filter(email => !isValidEmailAddress(email));\r\n\r\n if (invalidEmails.length > 0) {\r\n return {\r\n valid: false,\r\n message: _TL_('Invalid email addresses: ') + invalidEmails.join(', '),\r\n };\r\n }\r\n\r\n return { valid: true, message: '' };\r\n};\r\n\r\nexport const EmailInput = ({\r\n className,\r\n label,\r\n placeholder,\r\n hint,\r\n value,\r\n onChange,\r\n}) => {\r\n const [validationState, setValidationState] = useState({ valid: true, message: '' });\r\n\r\n const handleChange = useCallback((e, data) => {\r\n const newValue = data.value;\r\n const validation = validateEmails(newValue);\r\n\r\n setValidationState(validation);\r\n onChange(newValue, validation);\r\n }, [onChange]);\r\n\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nEmailInput.propTypes = {\r\n className: PropTypes.string,\r\n label: PropTypes.string,\r\n placeholder: PropTypes.string,\r\n hint: PropTypes.string,\r\n value: PropTypes.string,\r\n onChange: PropTypes.func,\r\n};\r\n\r\nEmailInput.defaultProps = {\r\n className: '',\r\n label: '',\r\n placeholder: '',\r\n hint: '',\r\n value: '',\r\n onChange: _.noop,\r\n};\r\n","import React from 'react';\r\nimport { Link } from '@fluentui/react-components';\r\n\r\nexport const STEPS = {\r\n OPTIONS_STEP: 'OPTIONS_STEP',\r\n AGREE_STEP: 'AGREE_STEP',\r\n DISAGREE_STEP: 'DISAGREE_STEP',\r\n DONE_STEP: 'DONE_STEP',\r\n};\r\n\r\nexport const DECISIONS = {\r\n CONTACT_AGENT: 'ContactAgent',\r\n RECEIVE_EMAIL: 'ReceiveEmail',\r\n ACK_CHANGE: 'AckChange',\r\n DENY_CHANGE: 'DenyChange',\r\n};\r\n\r\nexport const STEPS_CONFIG = {\r\n [STEPS.OPTIONS_STEP]: {\r\n title: _TL_('Adopt Consent Mode for UET by May 5, 2025'),\r\n description: _TL_('Ensure proper consent transmission for users visiting from the European Economic Area (EEA), the United Kingdom, and Switzerland by implementing {{a}}Consent Mode{{/a}} with your UET tags to avoid any negative impact on conversion attribution and remarketing segments by May 5, 2025. Learn more: {{b}}FAQ: UET and user consent{{/b}}.'),\r\n radioList: [\r\n { value: 'agree', label: _TL_('We will enable Consent Mode by May 5, 2025') },\r\n { value: 'disagree', label: _TL_('We will not enable Consent Mode by May 5, 2025') },\r\n ],\r\n templateModel: {\r\n a: text => {text},\r\n b: text => {text},\r\n },\r\n },\r\n [STEPS.AGREE_STEP]: {\r\n title: _TL_('Get Assistance to set up Consent Mode'),\r\n description: _TL_('Please select your preferred method for setting up Consent Mode and implement it by May 5 to continue using conversion-based bid strategies. If Consent Mode isn\\'t implemented, Microsoft Advertising may adjust your bid strategy. '),\r\n radioList: [\r\n { value: 'agent', label: _TL_('Connect with an agent for setup assistance') },\r\n { value: 'email', label: _TL_('Receive setup instructions via email') },\r\n ],\r\n },\r\n [STEPS.DISAGREE_STEP]: {\r\n title: _TL_('Ensure Consent Mode compliance'),\r\n description: _TL_('After May 5, if you use UET without Consent Mode or TCF, Microsoft Advertising will stop tracking conversions and populating remarketing lists. This will affect campaign performance and UET-based features. To ensure your campaigns continue to perform effectively, please comply with Consent Mode requirements by May 5.'),\r\n radioList: [\r\n { value: 'accept', label: _TL_('Microsoft Advertising may update my bid strategy for affected campaigns') },\r\n { value: 'reject', label: _TL_('Microsoft Advertising won\\'t change my bid strategy. I understand this can affect my campaign performance') },\r\n ],\r\n },\r\n [STEPS.DONE_STEP]: {\r\n title: _TL_('Thank you for confirming your choice'),\r\n description: {\r\n [DECISIONS.CONTACT_AGENT]: _TL_('A support member will be in touch with you shortly via Copilot chat. If you need to change your selection, please contact {{a}}Microsoft Advertising support{{/a}}. '),\r\n [DECISIONS.RECEIVE_EMAIL]: _TL_('We\\'ve sent the instructions to your email. Please check your inbox for the details. If you need to change your selection, please contact {{a}}Microsoft Advertising support{{/a}}. '),\r\n [DECISIONS.ACK_CHANGE]: _TL_('Microsoft Advertising may update your bid strategy by May 5. We will send an email with details before making any changes. If you need to change your selection, please contact {{a}}Microsoft Advertising support{{/a}}.'),\r\n [DECISIONS.DENY_CHANGE]: _TL_('Microsoft Advertising won\\'t update your bid strategy. If you need to change your selection, please contact {{a}}Microsoft Advertising support{{/a}}.'),\r\n },\r\n templateModel: {\r\n a: text => {text},\r\n },\r\n },\r\n};\r\n\r\nexport const OPTIONS_DECISIONS_MAP = {\r\n email: DECISIONS.RECEIVE_EMAIL,\r\n agent: DECISIONS.CONTACT_AGENT,\r\n accept: DECISIONS.ACK_CHANGE,\r\n reject: DECISIONS.DENY_CHANGE,\r\n};\r\n\r\n\r\nexport const instrumentationSchema = {\r\n scenario: [\r\n {\r\n name: 'consentModeEnforcementDialog',\r\n value: 'ConsentModeEnforcementDialog',\r\n setting: {},\r\n activity: [\r\n {\r\n name: 'dialogActivity',\r\n value: 'DialogActivity',\r\n },\r\n ],\r\n },\r\n ],\r\n};\r\n","import { get } from 'underscore';\r\nimport { edmCampaign } from '@bingads-webui/edm-campaign';\r\n\r\nconst generalErrString = _TL_('Request failed for uncertain reason, please try again later');\r\n\r\nconst ErrorCodeMapping = {\r\n ConsentModeDecisionAlreadyExist: _TL_('Consent mode decision already exists, if you need to change your selection, please contact Microsoft Advertising support.'),\r\n SendConsentModeEmailFailed: _TL_('Sending email fails, please try again later'),\r\n WriteConsentModeDecisionFailed: _TL_('Updating your consent mode decision fails, please try again later'),\r\n};\r\n\r\nexport const getErrorMessage = (err) => {\r\n const firstErrorCode = get(err, ['responseJSON', 'value', 0, 'Code']);\r\n return ErrorCodeMapping[firstErrorCode] || generalErrString;\r\n};\r\n\r\nexport const getConsentModeDialogStatus = cid => edmCampaign\r\n .Customers.$withKey(cid)\r\n .Accounts['Default.UETConsentModeStatus']\r\n .get().toPromise().then(response => response).catch(error => Promise.reject(error));\r\n\r\nexport const updateConsentModeDecision = (cid, payload) => edmCampaign\r\n .Customers.$withKey(cid)\r\n .Accounts['Default.UpdateConsentModeDecision']\r\n .$makeCall({\r\n payload,\r\n }).toPromise().then(response => response).catch(error => Promise.reject(error));\r\n","import React, { useCallback, useEffect, useMemo, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport queryString from 'query-string';\r\nimport {\r\n Dialog,\r\n DialogSurface,\r\n DialogBody,\r\n DialogTitle,\r\n DialogContent,\r\n DialogActions,\r\n Radio,\r\n RadioGroup,\r\n Button,\r\n} from '@fluentui/react-components';\r\nimport { MessageBar, MessageBarBody } from '@fluentui/react-message-bar';\r\nimport { CopilotToggleCustomEvent, LiveAgentQueue } from '@bingads-webui-react/msa-copilot-common';\r\nimport { UiBlocker } from '@bingads-webui-react/ui-blocker';\r\nimport { ReactTemplate } from '@bingads-webui-react/react-template';\r\nimport { compose, get, noop } from 'underscore';\r\nimport { withPermissions } from '@bingads-webui-react/hoc-with-permissions';\r\nimport { withPreference } from '@bingads-webui-react/preference-context';\r\nimport { withI18nConsumer } from '@bingads-webui-react/i18n-context';\r\nimport { withScope } from '@bingads-webui-react/scope-service';\r\nimport { withInstrumentation } from '@bingads-webui-react/hoc-with-instrumentation';\r\n\r\nimport { useStyles } from './use-styles';\r\nimport { EmailInput } from './email';\r\nimport { STEPS, STEPS_CONFIG, OPTIONS_DECISIONS_MAP, DECISIONS, instrumentationSchema } from './config';\r\nimport { getConsentModeDialogStatus, updateConsentModeDecision, getErrorMessage } from './data-repository';\r\n\r\nconst RadioOptions = React.memo(({\r\n classes,\r\n i18n,\r\n radioList,\r\n value,\r\n onChange,\r\n}) => (\r\n \r\n {\r\n radioList.map(radio => (\r\n \r\n ))\r\n }\r\n \r\n));\r\n\r\nRadioOptions.propTypes = {\r\n classes: PropTypes.shape({\r\n radioGroup: PropTypes.string,\r\n radioButton: PropTypes.string,\r\n }).isRequired,\r\n i18n: PropTypes.shape({\r\n getString: PropTypes.func,\r\n }).isRequired,\r\n radioList: PropTypes.arrayOf(PropTypes.shape({\r\n value: PropTypes.string.isRequired,\r\n label: PropTypes.string.isRequired,\r\n })).isRequired,\r\n value: PropTypes.string.isRequired,\r\n onChange: PropTypes.func.isRequired,\r\n};\r\n\r\nconst ConsentModeDialogInternl = ({\r\n i18n,\r\n permissions,\r\n serverContext,\r\n instrumentation,\r\n}) => {\r\n const isConsentModeEnformentEnabled = get(permissions, ['dynamic', 'ConsentModeEnforcement'], false);\r\n\r\n const classes = useStyles();\r\n const { CurrentAccount: { AdvertiserCustomerID }, CurrentCustomer: { Id } } = serverContext;\r\n const { aid } = queryString.parse(location.search);\r\n // Current customer is not the right parent customer\r\n const disallowRequest = aid && AdvertiserCustomerID !== Id;\r\n const hideDialog = !isConsentModeEnformentEnabled || disallowRequest;\r\n\r\n const [isLoading, setIsLoading] = useState(false);\r\n const [shouldShowDialog, setShouldShowDialog] = useState(false);\r\n const [currentStep, setCurrentStep] = useState(STEPS.OPTIONS_STEP);\r\n const [agreeStatus, setAgreeStatus] = useState('agree');\r\n const [setupMethod, setSetupMethod] = useState('agent');\r\n const [acknowledgeStatus, setAcknowledgeStatus] = useState('accept');\r\n const [decision, setDecision] = useState(null);\r\n const [emails, setEmails] = useState('');\r\n const [validateResult, setValidationResult] = useState({ valid: false, message: '' });\r\n const [serverError, setServerError] = useState('');\r\n\r\n const logger = useMemo(() => {\r\n if (instrumentation && !instrumentation.ConsentModeEnforcementDialog) {\r\n instrumentation.addScenario(instrumentationSchema);\r\n }\r\n\r\n const backupLogger = {\r\n trace: noop,\r\n error: noop,\r\n };\r\n\r\n return get(instrumentation, 'ConsentModeEnforcementDialog')\r\n ? instrumentation.consentModeEnforcementDialog.create().dialogActivity.create()\r\n : backupLogger;\r\n }, [instrumentation]);\r\n\r\n const {\r\n title,\r\n description,\r\n radioList,\r\n templateModel = {},\r\n } = useMemo(() => STEPS_CONFIG[currentStep] || {}, [currentStep]);\r\n\r\n const triggerCopilotChat = useCallback(() => {\r\n const customEvent = new CopilotToggleCustomEvent({\r\n detail: {\r\n eventType: 'action',\r\n eventSource: 'consentModeEnforcement',\r\n eventData: {\r\n ActionId: 'liveAgentSupport',\r\n liveAgentParameters: {\r\n queue: LiveAgentQueue.ShoppingAndUET,\r\n problemDescription: i18n.getString(_TL_('Looking for help in UET consent mode setup')),\r\n },\r\n },\r\n },\r\n });\r\n document.dispatchEvent(customEvent);\r\n }, [i18n]);\r\n\r\n const onChangeEmail = useCallback((newValue, validation) => {\r\n setEmails(newValue);\r\n setValidationResult(validation);\r\n }, []);\r\n\r\n const makeDecision = useCallback(() => {\r\n const payload = {\r\n ConsentModeDecision: decision,\r\n EmailAddresses: emails,\r\n };\r\n\r\n logger.trace(`Consent mode decision: ${decision}, emails: ${emails}`);\r\n\r\n setIsLoading(true);\r\n\r\n return updateConsentModeDecision(AdvertiserCustomerID, payload).then(res => res)\r\n .catch(err => Promise.reject(err))\r\n .finally(() => {\r\n setIsLoading(false);\r\n });\r\n }, [decision, emails, logger, AdvertiserCustomerID]);\r\n\r\n const onConfirmDecision = useCallback(() => {\r\n makeDecision().then(() => {\r\n logger.trace('Get consent mode status succeed');\r\n setCurrentStep(STEPS.DONE_STEP);\r\n }).catch((err) => {\r\n logger.error(`Get consent mode status failed: ${JSON.stringify(err)}`);\r\n setServerError(i18n.getString(getErrorMessage(err)));\r\n });\r\n }, [makeDecision, logger, i18n]);\r\n\r\n const renderDescription = useCallback(() => {\r\n let finalizedDescription = description;\r\n if (currentStep === STEPS.DONE_STEP && typeof description === 'object') {\r\n finalizedDescription = description[decision];\r\n }\r\n\r\n return (\r\n \r\n );\r\n }, [currentStep, decision, description, i18n, templateModel]);\r\n\r\n const renderOptions = () => {\r\n if (currentStep === STEPS.OPTIONS_STEP) {\r\n return (\r\n setAgreeStatus(data.value)}\r\n />\r\n );\r\n } else if (currentStep === STEPS.AGREE_STEP) {\r\n const onChangeOption = (_, data) => {\r\n setSetupMethod(data.value);\r\n setDecision(OPTIONS_DECISIONS_MAP[data.value]);\r\n };\r\n\r\n return (\r\n <>\r\n \r\n {\r\n setupMethod === 'email' && (\r\n \r\n )\r\n }\r\n \r\n );\r\n } else if (currentStep === STEPS.DISAGREE_STEP) {\r\n const onChangeOption = (_, data) => {\r\n setAcknowledgeStatus(data.value);\r\n setDecision(OPTIONS_DECISIONS_MAP[data.value]);\r\n };\r\n\r\n return (\r\n \r\n );\r\n }\r\n\r\n return null;\r\n };\r\n\r\n const renderBottomBtns = () => {\r\n if (currentStep === STEPS.OPTIONS_STEP) {\r\n const onNext = () => {\r\n if (agreeStatus === 'agree') {\r\n setCurrentStep(STEPS.AGREE_STEP);\r\n } else {\r\n setCurrentStep(STEPS.DISAGREE_STEP);\r\n }\r\n };\r\n\r\n return (\r\n \r\n );\r\n } else if (currentStep === STEPS.AGREE_STEP) {\r\n return (\r\n <>\r\n \r\n setCurrentStep(STEPS.OPTIONS_STEP)}\r\n className={classes.buttonSpacing}\r\n >\r\n {i18n.getString(_TL_('Back'))}\r\n \r\n \r\n );\r\n } else if (currentStep === STEPS.DISAGREE_STEP) {\r\n return (\r\n <>\r\n \r\n setCurrentStep(STEPS.OPTIONS_STEP)}\r\n className={classes.buttonSpacing}\r\n >\r\n {i18n.getString(_TL_('Back'))}\r\n \r\n \r\n );\r\n }\r\n\r\n return (\r\n {\r\n if (decision === DECISIONS.CONTACT_AGENT) {\r\n triggerCopilotChat();\r\n }\r\n\r\n setShouldShowDialog(false);\r\n }}\r\n >\r\n {i18n.getString(_TL_('Done'))}\r\n \r\n );\r\n };\r\n\r\n useEffect(() => {\r\n if (!hideDialog) {\r\n getConsentModeDialogStatus(AdvertiserCustomerID).then((res = {}) => {\r\n logger.trace(`Get consent mode status succeed: ${res}`);\r\n\r\n const { NeedShowPopUp } = res;\r\n setShouldShowDialog(!!NeedShowPopUp);\r\n\r\n if (NeedShowPopUp) {\r\n logger.trace('Show consent mode dialog');\r\n }\r\n }).catch((err) => {\r\n logger.error(`Get consent mode status failed: ${JSON.stringify(err)}`);\r\n });\r\n }\r\n }, [AdvertiserCustomerID, logger, hideDialog]);\r\n\r\n // Update decision when get into decision step first time\r\n useEffect(() => {\r\n if (currentStep === STEPS.AGREE_STEP && !decision) {\r\n setDecision(OPTIONS_DECISIONS_MAP.agent);\r\n } else if (currentStep === STEPS.DISAGREE_STEP && !decision) {\r\n setDecision(OPTIONS_DECISIONS_MAP.accept);\r\n }\r\n }, [currentStep, decision]);\r\n\r\n if (hideDialog) {\r\n return null;\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n {i18n.getString(title)}\r\n \r\n
\r\n {renderDescription()}\r\n
\r\n {renderOptions()}\r\n {\r\n (currentStep === STEPS.AGREE_STEP || currentStep === STEPS.DISAGREE_STEP) && serverError\r\n && (\r\n \r\n \r\n {serverError}\r\n \r\n \r\n )\r\n }\r\n
\r\n \r\n {renderBottomBtns()}\r\n \r\n
\r\n \r\n
\r\n
\r\n );\r\n};\r\n\r\nConsentModeDialogInternl.propTypes = {\r\n i18n: PropTypes.shape({\r\n getString: PropTypes.func,\r\n }).isRequired,\r\n permissions: PropTypes.shape({}).isRequired,\r\n serverContext: PropTypes.shape({\r\n CurrentAccount: PropTypes.shape({\r\n AdvertiserCustomerID: PropTypes.number,\r\n }).isRequired,\r\n }).isRequired,\r\n instrumentation: PropTypes.shape({\r\n addScenario: PropTypes.func,\r\n }).isRequired,\r\n};\r\n\r\nexport const ConsentModeDialog = compose(\r\n withInstrumentation,\r\n withScope,\r\n withI18nConsumer,\r\n withPreference,\r\n withPermissions\r\n)(ConsentModeDialogInternl);\r\n","import _ from 'underscore';\r\nimport $ from 'jquery';\r\nimport React, { useCallback, useEffect, useMemo, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withPermissions } from '@bingads-webui-react/hoc-with-permissions';\r\nimport { withPreference } from '@bingads-webui-react/preference-context';\r\nimport { withI18nConsumer } from '@bingads-webui-react/i18n-context';\r\nimport { isSDK } from '@bingads-webui-campaign-react/sdk-utils';\r\nimport { getDisplayMode, DisplayMode } from '@bingads-webui-campaign-react/display-mode';\r\nimport { keyVault, withPopupContext } from '@bingads-webui-react/popup-manager';\r\nimport { withServerContext } from '@bingads-webui-campaign-react/server-context';\r\nimport { HotKeyDialogWithI18n, HotKeyNavigator } from '@bingads-webui-react/hot-keys';\r\nimport { CampaignHistoryRecorder } from '@bingads-webui-campaign-react/campaign-entity-search';\r\nimport { URLFilter } from '@bingads-webui-campaign/url-filter';\r\nimport { LightBoxDialog } from '@bingads-webui-campaign-react/lightbox';\r\nimport { SmartCampaignsPopup } from '@bingads-webui-campaign-react/smart-campaigns-popup';\r\nimport { SupportModals } from '@bingads-webui-react/support-modals';\r\nimport { WrappedFloatingBannerContainer } from '@bingads-webui-campaign/notification-center';\r\nimport { CalloutView } from '@bingads-webui-campaign-react/callout-service';\r\nimport { renderApexHelpSuggestions, renderSearchInputIcon } from '@bingads-webui-campaign-react/apex-help-dropdown-customized';\r\nimport { withInstrumentation } from '@bingads-webui-react/hoc-with-instrumentation';\r\nimport { isCopilotRegionRestricted } from '@bingads-webui-react/copilot-utils';\r\n\r\nimport { ApexUpdater } from './apex-updater';\r\nimport { WalkMeWithScopeAndContext } from './walk-me';\r\nimport { NewUIPreferenceDialog } from './newui-preference-dialog/newui-preference-dialog';\r\nimport { RouteChangeLogger } from './route-change-logger';\r\nimport { ImportStatusChecker } from './import-status-checker';\r\nimport { withCcJsDataContextProvider } from '../contexts/with-cc-js-data-context-provider';\r\nimport { PageTitleUpdater } from './page-title-updater';\r\nimport { NavigationRefreshLogger } from './navigation-refresh-logger';\r\nimport { NavigationRefreshDialog } from './navigation-refresh-dialog/navigation-refresh-dialog';\r\nimport { ConsentModeDialog } from './consent-mode-dialog';\r\n\r\nconst apexHelpContentKey = _.uniqueId(`${keyVault.apexHelpContent}-`);\r\nconst helpPopupKey = _.uniqueId(`${keyVault.helpPopup}-`);\r\n\r\nconst onHelpRailViewOpen = (popupManager) => {\r\n popupManager.forceAcquireLock(apexHelpContentKey);\r\n};\r\n\r\nconst onHelpRailViewClose = (popupManager, opener) => {\r\n popupManager.releaseLock(apexHelpContentKey);\r\n const $opener = $(opener);\r\n if (!$opener.is(':visible')) {\r\n const globalMenuHelpButton = $('.bingads-campaign-react-global-menu #help');\r\n globalMenuHelpButton.trigger('focus');\r\n }\r\n};\r\n\r\n// A patch to fix a11y bug\r\nconst replacePopupTitleTagWithH2 = (rootEle) => {\r\n const $titleEle = $(rootEle).find('h1#apex_h1_tag');\r\n if ($titleEle.length > 0) {\r\n const newTitleHtml = $titleEle.prop('outerHTML').replace('h1', 'h2');\r\n const $newTitle = $(newTitleHtml).css({\r\n color: '#323130',\r\n fontSize: '20px',\r\n marginBottom: '10px',\r\n });\r\n $titleEle.replaceWith($newTitle);\r\n }\r\n};\r\n\r\nconst onHelpPopupOpen = (popupManager, popupRootEle) => {\r\n replacePopupTitleTagWithH2(popupRootEle);\r\n popupManager.forceAcquireLock(helpPopupKey);\r\n};\r\n\r\nconst onHelpPopupClose = (popupManager) => {\r\n popupManager.releaseLock(helpPopupKey);\r\n};\r\n\r\nconst AfterPageReadyInternal = React.memo((props) => {\r\n useEffect(() => {\r\n // this is a temporary logic for the teaching bubble flight\r\n // we suspect the impression drop of the teaching bubble is caused by the API latency\r\n // the P95 of the import popup API call is 3 seconds\r\n // so we delay the priority comparison with 3.5 seconds for 10% of users to run the experiment\r\n setTimeout(() => {\r\n // clear gate when page is ready\r\n props.popupManager.clearGate();\r\n }, 3500);\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n const [isAdsCopilotRegionRestricted, setIsAdsCopilotRegionRestricted] = useState();\r\n const isAdsCopilotFraudRestrictionEnabled = _.get(props.permissions, ['dynamic', 'AdsCopilotFraudRestriction'], false);\r\n const isConsentModeEnformentEnabled = _.get(props.permissions, ['dynamic', 'ConsentModeEnforcement'], false);\r\n\r\n useEffect(() => {\r\n isCopilotRegionRestricted({\r\n feature: 'Chat',\r\n permissions: props.permissions,\r\n serverContext: props.serverContext,\r\n }).then(setIsAdsCopilotRegionRestricted);\r\n }, [props.permissions, props.serverContext]);\r\n\r\n const helpSearchBoxCopilotScenario = props.instrumentation.helpSearchBoxCopilotScenario.create();\r\n const logger = helpSearchBoxCopilotScenario.searchActivity.create();\r\n const isExpertMode = !_.get(props.serverContext, ['isSmartMode']) && !_.get(props.serverContext, ['isUpSmartMode']);\r\n const isNewLogo = _.get(props, ['permissions', 'dynamic', 'AdsCopilotUxImprovements']);\r\n\r\n const renderApexHelpSuggestionsWithi18n = useCallback((suggestionData, suggestionContainer, renderSuggestionToHtml, hideSuggestionBox) =>\r\n renderApexHelpSuggestions(suggestionData, suggestionContainer, renderSuggestionToHtml, hideSuggestionBox, props.i18n, logger, isNewLogo), [props.i18n, logger, isNewLogo]);\r\n\r\n const renderSearchInputIconWithi18n = useCallback(container => renderSearchInputIcon(container, props.i18n, isNewLogo), [props.i18n, isNewLogo]);\r\n const displayMode = getDisplayMode();\r\n\r\n const supportModalsProps = useMemo(() => {\r\n if (isAdsCopilotRegionRestricted === null || isAdsCopilotRegionRestricted === undefined) {\r\n // do not initialize apex until copilot region restriction check has finished\r\n return undefined;\r\n }\r\n\r\n // MAE needs to hide copilot button and live chat\r\n let isMAE = false;\r\n if (location) {\r\n const urlParams = new URLSearchParams(location.search);\r\n isMAE = urlParams.get('applicationName') === 'BingAdsEditor';\r\n }\r\n\r\n const { SupportOptions } = props.serverContext;\r\n if (isMAE && SupportOptions) {\r\n SupportOptions.IfShowLiveChat = false;\r\n }\r\n\r\n const ret = {\r\n userContext: _.pick(props.serverContext, ['CurrentAccount', 'CurrentCustomer', 'CurrentUser']),\r\n supportOptions: SupportOptions,\r\n permissions: _.extend({}, props.serverContext.Permissions, props.serverContext.DynamicPermissions),\r\n helpModel: props.serverContext.HelpModel,\r\n currentLocale: props.serverContext.CurrentLocale,\r\n i18n: props.i18n,\r\n resourcePath: props.serverContext.Urls && props.serverContext.Urls.VirtualAgentUrl,\r\n\r\n // apex help container\r\n onRailViewOpen: _.partial(onHelpRailViewOpen, props.popupManager),\r\n onRailViewClose: _.partial(onHelpRailViewClose, props.popupManager),\r\n\r\n // help popup\r\n onPopupOpen: _.partial(onHelpPopupOpen, props.popupManager),\r\n onPopupClose: _.partial(onHelpPopupClose, props.popupManager),\r\n };\r\n\r\n const isSDKMode = isSDK();\r\n\r\n if (isSDKMode) {\r\n _.extend(ret, {\r\n flowId: _.get(props.serverContext.SupportOptions, ['customSupportOptions', 'flowId']) || 'EXP-main-campaign',\r\n renderApexHelpSuggestions: isAdsCopilotRegionRestricted ? undefined : renderApexHelpSuggestionsWithi18n,\r\n });\r\n } else {\r\n const isShellless = displayMode === DisplayMode.Shellless;\r\n _.extend(ret, {\r\n flowId: 'EXP-main-campaign',\r\n renderApexHelpSuggestions: (isShellless || isAdsCopilotRegionRestricted || isMAE) ? undefined : renderApexHelpSuggestionsWithi18n,\r\n renderSearchInputIcon: !isShellless && !isAdsCopilotRegionRestricted && !isMAE ? renderSearchInputIconWithi18n : _.noop,\r\n isCopilotEnabled: !isShellless && isExpertMode && !isMAE && (!isAdsCopilotRegionRestricted || isAdsCopilotFraudRestrictionEnabled),\r\n });\r\n }\r\n\r\n return ret;\r\n }, [\r\n isAdsCopilotFraudRestrictionEnabled,\r\n isAdsCopilotRegionRestricted,\r\n isExpertMode,\r\n displayMode,\r\n props.i18n,\r\n props.popupManager,\r\n props.serverContext,\r\n renderApexHelpSuggestionsWithi18n,\r\n renderSearchInputIconWithi18n,\r\n ]);\r\n\r\n return isSDK() ? (\r\n \r\n \r\n \r\n \r\n \r\n \r\n {supportModalsProps && }\r\n \r\n \r\n \r\n ) : (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {isConsentModeEnformentEnabled && }\r\n \r\n \r\n {supportModalsProps && }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n});\r\n\r\nAfterPageReadyInternal.propTypes = {\r\n serverContext: PropTypes.shape({\r\n CurrentCustomer: PropTypes.shape({\r\n Id: PropTypes.number,\r\n }),\r\n CurrentUser: PropTypes.shape({\r\n Id: PropTypes.number,\r\n }),\r\n Permissions: PropTypes.shape({}),\r\n DynamicPermissions: PropTypes.shape({}),\r\n SupportOptions: PropTypes.shape({\r\n IfShowLiveChat: PropTypes.bool,\r\n }),\r\n HelpModel: PropTypes.shape({}),\r\n CurrentLocale: PropTypes.string,\r\n Urls: PropTypes.shape({\r\n VirtualAgentUrl: PropTypes.string,\r\n }),\r\n }).isRequired,\r\n permissions: PropTypes.shape({\r\n dynamic: PropTypes.shape({\r\n AdsCopilotFraudRestriction: PropTypes.bool,\r\n }),\r\n }).isRequired,\r\n i18n: PropTypes.shape({\r\n getString: PropTypes.func,\r\n }).isRequired,\r\n preferenceService: PropTypes.shape({}).isRequired,\r\n popupManager: PropTypes.shape({\r\n clearGate: PropTypes.func,\r\n }).isRequired,\r\n instrumentation: PropTypes.shape({ helpSearchBoxCopilotScenario: PropTypes.shape({ create: PropTypes.func }) }).isRequired,\r\n};\r\n\r\nexport const AfterPageReady =\r\n _.compose(\r\n withPopupContext,\r\n withCcJsDataContextProvider,\r\n withServerContext,\r\n withPreference,\r\n withI18nConsumer,\r\n withPermissions,\r\n withInstrumentation\r\n )(AfterPageReadyInternal);\r\n","import { withPageReadyAsync } from '@bingads-webui-react/with-page-ready';\r\n\r\nexport const DelayedNotificationsBar = withPageReadyAsync(() =>\r\n Promise.all([\r\n import(/* webpackMode: 'eager' */'@bingads-webui-campaign-react/notification-bar'),\r\n import(/* webpackMode: 'eager' */'@bingads-webui-campaign/notification-center'),\r\n ]).then(([\r\n { getNotificationsBar },\r\n {\r\n getStoreInstance,\r\n DisapprovedEntities,\r\n ImportStatus,\r\n NoEntityNotifications,\r\n PredefinedNotifications,\r\n UETNotifications,\r\n CCNotifications,\r\n ImportNotification,\r\n DraftStoreNotification,\r\n PmaxCampaignUpgradeNotification,\r\n LocationIntentUpdateNotifications,\r\n HotelCenterMigrationNotification,\r\n HotelCenterMigrationPhase2Notification,\r\n HotelCenterMigrationPhase3Notification,\r\n BroadOnlyNotification,\r\n GMCTokenExpiredNotification,\r\n DeprecateSyndicationSearchOnlyNotification,\r\n },\r\n ]) => {\r\n const getNotifications = context => [\r\n new PredefinedNotifications(context).getPredefinedAlerts(),\r\n new DisapprovedEntities(context).getDisapprovedEntityNotifications(),\r\n new ImportStatus(context).getImportStatusNotifications(),\r\n new NoEntityNotifications(context).getNoEligibleEntityNotifications(),\r\n new UETNotifications(context).getUETNotifications(),\r\n new CCNotifications(context).getCCNotifications(),\r\n new ImportNotification(context).getImportNotifications(),\r\n new DraftStoreNotification(context).DraftStoreNotifications(),\r\n new PmaxCampaignUpgradeNotification(context).getPmaxCampaignUpgradeNotifications(),\r\n new LocationIntentUpdateNotifications(context).getLocationIntentUpdateNotifications(),\r\n new HotelCenterMigrationPhase2Notification(context).getHotelCenterMigrationPhase2Notifications(),\r\n new HotelCenterMigrationPhase3Notification(context).getHotelCenterMigrationPhase3Notifications(),\r\n new HotelCenterMigrationNotification(context).getHotelCenterMigrationNotifications(),\r\n new BroadOnlyNotification(context).getBroadOnlyNotifications(),\r\n new GMCTokenExpiredNotification(context).getAlerts(),\r\n new DeprecateSyndicationSearchOnlyNotification(context).getDeprecateSyndicationSearchOnlyNotifications(),\r\n ];\r\n\r\n const store = getStoreInstance({\r\n getNotifications,\r\n });\r\n\r\n return {\r\n default: getNotificationsBar(store),\r\n };\r\n }), null);\r\n","import React, { useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withServerContext } from '@bingads-webui-campaign-react/server-context';\r\nimport { DraftAccountPage } from '@bingads-webui-campaign-react/draft-error-page';\r\nimport { withInstrumentation } from '@bingads-webui-react/hoc-with-instrumentation';\r\n\r\nconst DraftAccountPageWraperInternal = React.memo((props) => {\r\n const appActivity = useMemo(() => {\r\n const appScenario = props.instrumentation.appScenario.create();\r\n return appScenario.appActivity.create();\r\n }, [props.instrumentation]);\r\n\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n});\r\n\r\nDraftAccountPageWraperInternal.propTypes = {\r\n serverContext: PropTypes.shape({\r\n CurrentCustomer: PropTypes.shape({\r\n Id: PropTypes.number,\r\n }),\r\n CurrentUser: PropTypes.shape({\r\n Id: PropTypes.number,\r\n }),\r\n Permissions: PropTypes.shape({}),\r\n DynamicPermissions: PropTypes.shape({}),\r\n }).isRequired,\r\n instrumentation: PropTypes.shape({\r\n appScenario: PropTypes.any,\r\n }).isRequired,\r\n children: PropTypes.node.isRequired,\r\n};\r\n\r\nexport const DraftAccountPageWraper = withServerContext(withInstrumentation(DraftAccountPageWraperInternal));\r\n","/* eslint-disable max-len */\r\nimport { pickManyImports, getDefaultExport, pickManyImportsWithLazyInit, importAfterPreLoad } from './utils';\r\n\r\nconst resourceMapping = window.routerBundleMapping;\r\n\r\nconst bundles = {\r\n StyledAccounts: resourceMapping['/campaign/vnext/accounts'],\r\n StyledBulkEdits: resourceMapping['/campaign/vnext/bulk-edits'],\r\n StyledBulkEditsDetail: resourceMapping['/campaign/vnext/bulkeditdetail'],\r\n MCMCampaignControl: resourceMapping['/campaign/vnext/mcmcampaigncontrol'],\r\n StyledCompetitionAuctionInsight: resourceMapping['/campaign/vnext/competitionauction'],\r\n StyledAdGroups: resourceMapping['/campaign/vnext/adgroups'],\r\n StyledSettingsForm: resourceMapping['/campaign/vnext/settingsform'],\r\n StyledSettingsSummary: resourceMapping['/campaign/vnext/settingssummary'],\r\n StyledDevices: resourceMapping['/campaign/vnext/settingscriterion'],\r\n StyledChangeHistory: resourceMapping['/campaign/vnext/changehistory'],\r\n StyledKeywordPlanner: resourceMapping['/campaign/vnext/keywordplanner'],\r\n StyledAdPreview: resourceMapping['/campaign/vnext/adpreview'],\r\n StyledAdInsightKeywordPlanner: resourceMapping['/research/vnext/keywordplanner'],\r\n StyledAdInsightAdPreview: resourceMapping['/research/vnext/adpreview'],\r\n StyledCompetitionRecommendations: resourceMapping['/campaign/vnext/competitionrecommendations'],\r\n StyledGMBImport: resourceMapping['/campaign/vnext/businesslocationfeed'],\r\n StyledFeeds: resourceMapping['/campaign/vnext/feeds'],\r\n StyledProductFeedPage: resourceMapping['/campaign/vnext/productfeed'],\r\n StyledLinkedStorePage: resourceMapping['/campaign/vnext/productfeed'],\r\n StyledBrandPage: resourceMapping['/campaign/vnext/productfeed'],\r\n StyledFeedSummaryPage: resourceMapping['/campaign/vnext/productfeed'],\r\n StyledTargetedLocations: resourceMapping['/campaign/vnext/settingscriterion'],\r\n StyledExcludedLocations: resourceMapping['/campaign/vnext/settingscriterion'],\r\n StyledAds: resourceMapping['/campaign/vnext/ads'],\r\n StyledAssets: resourceMapping['/campaign/vnext/assets'],\r\n StyledAssetsReport: resourceMapping['/campaign/vnext/assets-report'],\r\n StyledCombinations: resourceMapping['/campaign/vnext/combinations'],\r\n StyledLabels: resourceMapping['/campaign/vnext/labels'],\r\n StyledProducts: resourceMapping['/campaign/vnext/products'],\r\n ProductGroupsShell: resourceMapping['/campaign/vnext/productgroups'],\r\n StyledHotels: resourceMapping['/campaign/vnext/hotels'],\r\n StyleProperties: resourceMapping['/campaign/vnext/properties'],\r\n HotelGroupsShell: resourceMapping['/campaign/vnext/hotelgroups'],\r\n PropertyGroupsShell: resourceMapping['/campaign/vnext/propertygroups'],\r\n ListingGroupsShell: resourceMapping['/campaign/vnext/listinggroups'],\r\n BidStrategiesShell: resourceMapping['/campaign/vnext/bidstrategies'],\r\n PerformanceTargetsShell: resourceMapping['/campaign/vnext/performancetargets'],\r\n StyledAudienceAssociationPage: 'audience-associations/loader-ui-next',\r\n StyledPositiveKeywords: 'keywords/loader-ui-next',\r\n StyledNegativeKeywords: resourceMapping['/campaign/vnext/negative-keywords'],\r\n StyledAudienceAssociationCreation: 'audience/association/view/loader-ui-next',\r\n StyledAdSchedule: resourceMapping['/campaign/vnext/settingscriterion'],\r\n StyledOverview: resourceMapping['/campaign/vnext/overview'],\r\n StyledCampaignCreationSearch: 'campaign-create-advanced/loader-ui-next',\r\n StyledCampaignCreationSmartShopping: resourceMapping['/campaign/vnext/createcampaign/smartshopping'],\r\n StyledSearchterm: resourceMapping['/campaign/vnext/searchterms'],\r\n StyledAudiencesLibrary: resourceMapping['/campaign/vnext/audienceslibrary'],\r\n StyledAudienceCreation: resourceMapping['/campaign/vnext/audience/create'],\r\n StyledAudienceEdit: resourceMapping['/campaign/vnext/audience/create'],\r\n StyledConversionGoalsAutoCreate: resourceMapping['/campaign/vnext/conversiongoals/autocreate'],\r\n StyledConversionGoalsCreate: resourceMapping['/campaign/vnext/conversiongoals/create'],\r\n StyledConversionGoalsEdit: resourceMapping['/campaign/vnext/conversiongoals/create'],\r\n StyledUetTags: resourceMapping['/campaign/vnext/uettag'],\r\n StyledUetTestPage: resourceMapping['/campaign/vnext/uettagtest'],\r\n StyledUetWebInsights: resourceMapping['/campaign/vnext/uettaginsights'],\r\n StyledUetTagsCreate: resourceMapping['/campaign/vnext/uettags/create'],\r\n StyledUetTagsEdit: resourceMapping['/campaign/vnext/uettags/edit'],\r\n UniversalPixelUetTagCreate: resourceMapping['/campaign/vnext/uettagsup/create'],\r\n UniversalPixelUetTagEdit: resourceMapping['/campaign/vnext/uettagsup/edit'],\r\n StyledOfflineConversions: resourceMapping['/campaign/vnext/offlineconversions'],\r\n StyledModeledConversions: resourceMapping['/campaign/vnext/modeled-conversions'],\r\n StyledConversionGoals: resourceMapping['/campaign/vnext/conversiongoals'],\r\n StyledConversionValueRules: resourceMapping['/campaign/vnext/conversionvaluerules'],\r\n StyledConversionValueRulesCreate: resourceMapping['/campaign/vnext/conversionvaluerules/create'],\r\n StyledConversionValueRulesEdit: resourceMapping['/campaign/vnext/conversionvaluerules/edit'],\r\n StyledHotelCenter: resourceMapping['/campaign/vnext/hotelcenter'],\r\n StyledHotelCenterV2: resourceMapping['/campaign/vnext/propertycenter'],\r\n DemographicsShell: resourceMapping['/campaign/vnext/demographics'],\r\n DynamicAdTargets: resourceMapping['/campaign/vnext/dynamicadtargets'],\r\n StyledExperiments: resourceMapping['/campaign/vnext/experiments'],\r\n DimensionsShell: resourceMapping['/campaign/vnext/dimensions'],\r\n NegativeKeywordsListsShell: resourceMapping['/campaign/vnext/negativekeywordslists'],\r\n NegativeKeywordListsLibraryShell: resourceMapping['/campaign/vnext/negativekeywordslists'],\r\n NegativeKeywordsListsDetailsShell: resourceMapping['/campaign/vnext/negativekeywordslistsdetails'],\r\n StyledImportCenter: resourceMapping['/campaign/vnext/importcenter'],\r\n StyledLiftMeasurement: resourceMapping['/campaign/vnext/liftmeasurement'],\r\n StyledLiftMeasurementCreate: resourceMapping['/campaign/vnext/liftmeasurement/create'],\r\n StyledLiftMeasurementEdit: resourceMapping['/campaign/vnext/liftmeasurement/edit'],\r\n StyledLiftMeasurementResults: resourceMapping['/campaign/vnext/liftmeasurement/results'],\r\n};\r\n\r\n// TODO: this is a temporary solution to import highcharts if a page uses it.\r\n// Consider two ways to get rid of this mapping and related logic:\r\n// 1. Let HighchartReactWrapper to import accessibility module. (Highly recommended)\r\n// 2. Find a way that webpack can shim highcharts when loading it.\r\nexport const bundlesUseHighcharts = {\r\n [resourceMapping['/campaign/vnext/accounts']]: true,\r\n [resourceMapping['/campaign/vnext/competitionauction']]: true,\r\n [resourceMapping['/campaign/vnext/campaigns']]: true,\r\n [resourceMapping['/campaign/vnext/adgroups']]: true,\r\n [resourceMapping['/campaign/vnext/settingscriterion']]: true,\r\n [resourceMapping['/campaign/vnext/changehistory']]: true,\r\n 'recommendation/loader-ui-next': true,\r\n [resourceMapping['/campaign/vnext/keywordplanner']]: true,\r\n [resourceMapping['/campaign/vnext/competitionrecommendations']]: true,\r\n [resourceMapping['/campaign/vnext/productfeed']]: true,\r\n [resourceMapping['/campaign/vnext/ads']]: true,\r\n [resourceMapping['/campaign/vnext/products']]: true,\r\n [resourceMapping['/campaign/vnext/productgroups']]: true,\r\n [resourceMapping['/campaign/vnext/hotelgroups']]: true,\r\n [resourceMapping['/campaign/vnext/propertygroups']]: true,\r\n [resourceMapping['/campaign/vnext/performancetargets']]: true,\r\n 'audience-associations/loader-ui-next': true,\r\n 'keywords/loader-ui-next': true,\r\n [resourceMapping['/campaign/vnext/searchterms']]: true,\r\n [resourceMapping['/campaign/vnext/overview']]: true,\r\n [resourceMapping['/campaign/vnext/demographics']]: true,\r\n [resourceMapping['/campaign/vnext/dynamicadtargets']]: true,\r\n [resourceMapping['/campaign/vnext/merchantcenter']]: true,\r\n [resourceMapping['/campaign/vnext/overview']]: true,\r\n};\r\n\r\nconst HotelCampaignCreation = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"hotel-campaign-creation-page\" */'../feature-bootstrap/hotel-campaign-creation-page').then(getDefaultExport), false, true);\r\nconst StyledCompetitionAuctionInsight = () => importAfterPreLoad(bundles.StyledCompetitionAuctionInsight, () => import(/* webpackChunkName: \"competition-auction-insight-page\" */'../feature-bootstrap/competition-auction-insight-page').then(getDefaultExport), false, true);\r\nconst StyledSharedBudgetSummary = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"shared-budget-all-page\" */'../feature-bootstrap/shared-budget-summary-page').then(getDefaultExport), false, true);\r\nconst StyledSharedBudgetEdit = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"shared-budget-all-page\" */'../feature-bootstrap/shared-budget-edit-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledPortfolioBidStrategy = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"portfolio-bid-strategy-page\" */'../feature-bootstrap/portfolio-bid-strategy-page').then(getDefaultExport), true, true);\r\n\r\nconst StyledSeasonalityAdjustment = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"seasonality-adjustment-page\" */'../feature-bootstrap/seasonality-adjustment-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledBulkEdits = () => importAfterPreLoad(bundles.StyledBulkEdits, () => import(/* webpackChunkName: \"bulk-edits-page\" */'../feature-bootstrap/bulk-edits-page').then(getDefaultExport), false, true);\r\nconst StyledBulkEditsDetail = () => importAfterPreLoad(bundles.StyledBulkEditsDetail, () => import(/* webpackChunkName: \"bulk-edits-page\" */'../feature-bootstrap/bulk-edits-detail-page').then(getDefaultExport), false, true);\r\nconst MCMCampaignControl = () => importAfterPreLoad(bundles.MCMCampaignControl, () => import(/* webpackChunkName: \"mcm-campaign-control-page\" */'../feature-bootstrap/mcm-campaign-control-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledImportSchedule = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"import-schedule-page\" */'../feature-bootstrap/import-schedule-page').then(getDefaultExport), false, true);\r\n\r\nconst importScriptsCommon = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"scripts-common\" */'../feature-bootstrap/scripts-common'), false, true);\r\n\r\nconst StyledScripts = () => importScriptsCommon().then(getDefaultExport).then(defaultExport => defaultExport.ScriptsPage);\r\nconst StyledScriptsHistory = () => importScriptsCommon().then(getDefaultExport).then(defaultExport => defaultExport.ScriptHistoryPage);\r\nconst StyledScriptsLogs = () => importScriptsCommon().then(getDefaultExport).then(defaultExport => defaultExport.ScriptLogsPage);\r\nconst StyledScriptsEdit = () => importScriptsCommon().then(getDefaultExport).then(defaultExport => defaultExport.ScriptsEditPage);\r\n\r\nconst BulkUploadsShell = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"bulk-uploads-page\" */'../feature-bootstrap/bulk-uploads-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledAdGroups = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"ad-groups-page\" */'../feature-bootstrap/ad-groups-page').then(getDefaultExport), true, true);\r\n\r\nconst StyledSettingsForm = () => importAfterPreLoad(bundles.StyledSettingsForm, () => import(/* webpackChunkName: \"settings-form-page\" */'../feature-bootstrap/settings-form-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledDevices = () => importAfterPreLoad(bundles.StyledDevices, () => import(/* webpackChunkName: \"devices-page\" */'../feature-bootstrap/devices-page').then(getDefaultExport), true, true);\r\n\r\nconst RecommendationsShell = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"recommendations-page\" */'../feature-bootstrap/recommendations-page').then(getDefaultExport), true, true);\r\n\r\nconst StyledChangeHistory = () => importAfterPreLoad(bundles.StyledChangeHistory, () => import(/* webpackChunkName: \"change-history-page\" */'../feature-bootstrap/change-history-page').then(getDefaultExport), true, true);\r\n\r\nconst StyledCompetitionRecommendations = () => importAfterPreLoad(bundles.StyledCompetitionRecommendations, () => import(/* webpackChunkName: \"competition-recommendations-page\" */'../feature-bootstrap/competition-recommendations-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledGmbImport = () => importAfterPreLoad(bundles.StyledGMBImport, () => import(/* webpackChunkName: \"gmb-import-page\" */'../feature-bootstrap/gmb-import-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledFeeds = () => importAfterPreLoad(bundles.StyledFeeds, () => import(/* webpackChunkName: \"feeds-page\" */'../feature-bootstrap/feeds-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledProductFeedPage = () => importAfterPreLoad(bundles.StyledProductFeedPage, () => import(/* webpackChunkName: \"product-feed-page\" */'../feature-bootstrap/product-feed-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledLinkedStorePage = () => importAfterPreLoad(bundles.StyledLinkedStorePage, () => import(/* webpackChunkName: \"linked-store-page\" */'../feature-bootstrap/linked-store-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledBrandPage = () => importAfterPreLoad(bundles.StyledBrandPage, () => import(/* webpackChunkName: \"brand-page\" */'../feature-bootstrap/brand-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledFeedSummaryPage = () => importAfterPreLoad(bundles.StyledFeedSummaryPage, () => import(/* webpackChunkName: \"feed-summary-page\" */'../feature-bootstrap/feed-summary-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledTargetedLocations = () => importAfterPreLoad(bundles.StyledTargetedLocations, () => import(/* webpackChunkName: \"targeted-locations-page\" */'../feature-bootstrap/targeted-locations-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledExcludedLocations = () => importAfterPreLoad(bundles.StyledExcludedLocations, () => import(/* webpackChunkName: \"excluded-locations-page\" */'../feature-bootstrap/excluded-locations-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledAds = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"ad-page\" */'../feature-bootstrap/ads-page').then(getDefaultExport), true, true);\r\n\r\nconst StyledAssets = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"assets-page\" */'../feature-bootstrap/assets-page').then(getDefaultExport), true, true);\r\n\r\nconst StyledAssetsReport = () => importAfterPreLoad(bundles.StyledAssetsReport, () => import(/* webpackChunkName: \"assets-report-page\" */'../feature-bootstrap/assets-report-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledCombinations = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"combinations-page\" */'../feature-bootstrap/combinations-page').then(getDefaultExport), true, true);\r\n\r\nconst StyledLabels = () => importAfterPreLoad(bundles.StyledLabels, () => import(/* webpackChunkName: \"labels-page\" */'../feature-bootstrap/labels-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledProducts = () => importAfterPreLoad(bundles.StyledProducts, () => import(/* webpackChunkName: \"products-page\" */'../feature-bootstrap/products-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledHotels = () => importAfterPreLoad(bundles.StyledHotels, () => import(/* webpackChunkName: \"hotels-page\" */'../feature-bootstrap/hotels-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledProperties = () => importAfterPreLoad(bundles.StyledProperties, () => import(/* webpackChunkName: \"properties-page\" */'../feature-bootstrap/hotels-page').then(getDefaultExport), false, true);\r\n\r\nconst HotelGroupsShell = () => importAfterPreLoad(bundles.HotelGroupsShell, () => import(/* webpackChunkName: \"hotel-groups-page\" */'../feature-bootstrap/hotel-groups-page').then(getDefaultExport), false, true);\r\n\r\nconst PropertyGroupsShell = () => importAfterPreLoad(bundles.PropertyGroupsShell, () => import(/* webpackChunkName: \"property-groups-page\" */'../feature-bootstrap/hotel-groups-page').then(getDefaultExport), false, true);\r\n\r\nconst BidStrategiesShell = () => importAfterPreLoad(bundles.BidStrategiesShell, () => import(/* webpackChunkName: \"bid-strategies-page\" */'../feature-bootstrap/bid-strategies-page').then(getDefaultExport), false, true);\r\n\r\nconst ProductGroupsShell = () => importAfterPreLoad(bundles.ProductGroupsShell, () => import(/* webpackChunkName: \"products-page\" */'../feature-bootstrap/product-groups-page').then(getDefaultExport), false, true);\r\n\r\nconst PerformanceTargetsShell = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"performance-targets-page\" */'../feature-bootstrap/performance-targets-page').then(getDefaultExport), true, true);\r\n\r\nconst StyledAudienceAssociationPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"audiences-page\" */'../feature-bootstrap/audiences-page').then(getDefaultExport), true, true);\r\n\r\nconst StyledPositiveKeywords = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"positive-keywords-page\" */'../feature-bootstrap/positive-keywords-page').then(getDefaultExport), true, true);\r\n\r\nconst StyledNegativeKeywords = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"negative-keywords-page\" */'../feature-bootstrap/negative-keywords-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledAudienceAssociationCreation = () => importAfterPreLoad(bundles.StyledAudienceAssociationCreation, () => import(/* webpackChunkName: \"audience-association-creation\" */'../feature-bootstrap/audience-association-creation').then(getDefaultExport), false, true);\r\n\r\nconst StyledAdSchedule = () => importAfterPreLoad(bundles.StyledAdSchedule, () => import(/* webpackChunkName: \"ad-schedule-page\" */'../feature-bootstrap/ad-schedule-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledAudienceNetworkPlanner = () => importAfterPreLoad([], () => import(/* webpackChunkName: \"audience-network-planner-page\" */'../feature-bootstrap/audience-network-planner-page').then(getDefaultExport), true, true);\r\n\r\nconst StyledAudiencesLibrary = () => importAfterPreLoad(bundles.StyledAudiencesLibrary, () => import(/* webpackChunkName: \"audiences-library\" */'../feature-bootstrap/audiences-library').then(getDefaultExport), false, true);\r\n\r\nconst StyledAudienceSignalManagement = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"audience-signal-management-grid\" */'../feature-bootstrap/audience-signal-management-grid').then(getDefaultExport), false, true);\r\n\r\nconst StyledAudienceCustomSegmentsPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"audience-custom-segments-page\" */'../feature-bootstrap/audience-custom-segments-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledAudienceCreation = () => importAfterPreLoad(bundles.StyledAudiencesLibrary, () => import(/* webpackChunkName: \"audiences-library\" */'../feature-bootstrap/audience-creation').then(getDefaultExport), false, true);\r\n\r\nconst StyledAudienceEdit = () => importAfterPreLoad(bundles.StyledAudiencesLibrary, () => import(/* webpackChunkName: \"audiences-library\" */'../feature-bootstrap/audience-creation').then(getDefaultExport), false, true);\r\n\r\nconst StyledUetTags = () => importAfterPreLoad(bundles.StyledUetTags, () => import(/* webpackChunkName: \"uet-tags\" */'../feature-bootstrap/uet-tags').then(getDefaultExport), false, true);\r\n\r\nconst StyledUetTestPage = () => importAfterPreLoad(bundles.StyledUetTestPage, () => import(/* webpackChunkName: \"uet-tags\" */'../feature-bootstrap/uet-tags-test').then(getDefaultExport), false, true);\r\n\r\nconst StyledUetWebInsights = () => importAfterPreLoad(bundles.StyledUetWebInsights, () => import(/* webpackChunkName: \"uet-tags\" */'../feature-bootstrap/uet-web-insights').then(getDefaultExport), false, true);\r\n\r\nconst StyledUetTagsCreate = () => importAfterPreLoad(bundles.StyledUetTags, () => import(/* webpackChunkName: \"uet-tags\" */'../feature-bootstrap/uet-tags-create').then(getDefaultExport), false, true);\r\n\r\nconst StyledUetTagsEdit = () => importAfterPreLoad(bundles.StyledUetTags, () => import(/* webpackChunkName: \"uet-tags\" */'../feature-bootstrap/uet-tags-create').then(getDefaultExport), false, true);\r\n\r\nconst UniversalPixelUetTagCreate = () => importAfterPreLoad(bundles.StyledUetTags, () => import(/* webpackChunkName: \"uet-up-tags\" */'../feature-bootstrap/uet-up-tags').then(getDefaultExport), false, true);\r\n\r\nconst UniversalPixelUetTagEdit = () => importAfterPreLoad(bundles.StyledUetTags, () => import(/* webpackChunkName: \"uet-up-tags\" */'../feature-bootstrap/uet-up-tags').then(getDefaultExport), false, true);\r\n\r\nconst DemographicsShell = () => importAfterPreLoad(bundles.DemographicsShell, () => import(/* webpackChunkName: \"demographics-page\" */'../feature-bootstrap/demographics-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledManagement = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"management-page\" */'../feature-bootstrap/management-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledRequests = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"requests-page\" */'../feature-bootstrap/requests-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledNotifications = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"notifications-page\" */'../feature-bootstrap/notifications-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledAccountLevelImportTab = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"account-import-page\" */'../feature-bootstrap/account-import-page').then(getDefaultExport), false, true);\r\n\r\nconst AccountCreation = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"account-creation\" */'../feature-bootstrap/account-creation').then(getDefaultExport), false, true);\r\n\r\nconst AccountLinking = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"account-linking\" */'../feature-bootstrap/account-linking').then(getDefaultExport), false, true);\r\n\r\nconst AccountsTransfer = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"accounts-transfer\" */'../feature-bootstrap/accounts-transfer').then(getDefaultExport), false, true);\r\n\r\nconst PendingTransferRequest = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"pending-transfer-request\" */'../feature-bootstrap/pending-transfer-request').then(getDefaultExport), false, true);\r\n\r\nconst AccountsUnlinking = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"accounts-unlinking\" */'../feature-bootstrap/accounts-unlinking').then(getDefaultExport), false, true);\r\n\r\nconst Reports = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"reports\" */'../feature-bootstrap/reports-requirejs').then(getDefaultExport), false, true);\r\n\r\nconst ReportsV4 = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"reports-v4-page\" */'../feature-bootstrap/reports-v4-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledCustomReportingPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"custom-reports-page\" */'../feature-bootstrap/custom-reports-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledExperiments = () => importAfterPreLoad(bundles.StyledExperiments, () => import(/* webpackChunkName: \"experiments-page\" */'../feature-bootstrap/experiments-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledSearchterm = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"search-term-page\" */'../feature-bootstrap/search-term-page').then(getDefaultExport), true, true);\r\n\r\nconst DimensionsShell = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"dimensions-page\" */'../feature-bootstrap/dimensions-page').then(getDefaultExport), false, true);\r\n\r\nconst CampaignDimensionShell = () => importAfterPreLoad(bundles.DimensionsShell, () => import(/* webpackChunkName: \"common-dimension-page\" */'../feature-bootstrap/campaign-dimension-page').then(getDefaultExport), false, true);\r\n\r\nconst SiteExclusionListCustomerCreationShell = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"site-exclusion-list-all-pages\" */'../feature-bootstrap/site-exclusion-list-customer-creation-shell').then(getDefaultExport), false, true);\r\n\r\nconst SiteExclusionListCustomerEditPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"site-exclusion-list-all-pages\" */'../feature-bootstrap/site-exclusion-list-customer-edit-page').then(getDefaultExport), false, true);\r\n\r\nconst SiteExclusionListAccountLevelListPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"site-exclusion-list-all-pages\" */'../feature-bootstrap/site-exclusion-list-account-level-list-page').then(getDefaultExport), false, true);\r\n\r\nconst SiteExclusionListAccountLevelExclusionsPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"site-exclusion-list-all-pages\" */'../feature-bootstrap/site-exclusion-list-account-level-exclusions-page').then(getDefaultExport), false, true);\r\n\r\nconst WebsiteExclusionListsPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"site-exclusion-list-all-pages\" */'../feature-bootstrap/website-exclusion-lists-page').then(getDefaultExport), false, false);\r\n\r\nconst WebsiteExclusionListsCustomerEditPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"site-exclusion-list-all-pages\" */'../feature-bootstrap/website-exclusion-lists-customer-edit-page').then(getDefaultExport), false, false);\r\n\r\nconst WebsiteExclusionListsAccountLevelListPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"site-exclusion-list-all-pages\" */'../feature-bootstrap/website-exclusion-lists-account-level-list-page').then(getDefaultExport), false, false);\r\n\r\nconst WebsiteExclusionListsAccountLevelExclusionsPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"site-exclusion-list-all-pages\" */'../feature-bootstrap/website-exclusion-lists-account-level-exclusions-page').then(getDefaultExport), false, false);\r\n\r\nconst BrandSafetyPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"brand-safety-all-pages\" */'../feature-bootstrap/brand-safety-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledConversionGoals = () => importAfterPreLoad(bundles.StyledConversionGoals, () => import(/* webpackChunkName: \"conversion-goals\" */'../feature-bootstrap/conversion-goals').then(getDefaultExport), false, true);\r\n\r\nconst StyledConversionValueRules = () => importAfterPreLoad(bundles.StyledConversionValueRules, () => import(/* webpackChunkName: \"conversion-value-rules\" */'../feature-bootstrap/conversion-value-rules').then(getDefaultExport));\r\n\r\nconst StyledConversionValueRulesCreate = () => importAfterPreLoad(bundles.StyledConversionValueRulesCreate, () => import(/* webpackChunkName: \"conversion-value-rules-create\" */'../feature-bootstrap/conversion-value-rules-create').then(getDefaultExport));\r\n\r\nconst StyledConversionValueRulesEdit = () => importAfterPreLoad(bundles.StyledConversionValueRulesCreate, () => import(/* webpackChunkName: \"conversion-value-rules-create\" */'../feature-bootstrap/conversion-value-rules-create').then(getDefaultExport));\r\n\r\nconst StyledConversionGoalsAutoCreate = () => importAfterPreLoad(bundles.StyledConversionAutoGoals, () => import(/* webpackChunkName: \"conversion-goals-auto-create\" */'../feature-bootstrap/conversion-goals-auto-create').then(getDefaultExport));\r\n\r\nconst StyledConversionGoalsCreate = () => importAfterPreLoad(bundles.StyledConversionGoals, () => import(/* webpackChunkName: \"conversion-goals\" */'../feature-bootstrap/conversion-goals-create').then(getDefaultExport));\r\n\r\nconst StyledConversionGoalsEdit = () => importAfterPreLoad(bundles.StyledConversionGoals, () => import(/* webpackChunkName: \"conversion-goals\" */'../feature-bootstrap/conversion-goals-create').then(getDefaultExport), false, true);\r\n\r\nconst StyledHotelCenter = () => importAfterPreLoad(bundles.StyledHotelCenter, () => import(/* webpackChunkName: \"hotel-center-page\" */'../feature-bootstrap/hotel-center-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledHotelCenterV2 = () => importAfterPreLoad(bundles.StyledHotelCenterV2, () => import(/* webpackChunkName: \"hotel-center-v2-page\" */'../feature-bootstrap/hotel-center-v2-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledOfflineConversions = () => importAfterPreLoad(bundles.StyledOfflineConversions, () => import(/* webpackChunkName: \"offline-conversions\" */'../feature-bootstrap/offline-conversions').then(getDefaultExport), false, true);\r\n\r\nconst StyledCustomerAcquisition = () => importAfterPreLoad(bundles.StyledCustomerAcquisition, () => import(/* webpackChunkName: \"customer-acquisition\" */'../feature-bootstrap/customer-acquisition').then(getDefaultExport), false, true);\r\n\r\nconst StyledModeledConversions = () => importAfterPreLoad(bundles.StyledModeledConversions, () => import(/* webpackChunkName: \"modeled-conversions\" */'../feature-bootstrap/modeled-conversions').then(getDefaultExport), false, true);\r\n\r\nconst StyledKeywordPlanner = () => importAfterPreLoad(bundles.StyledKeywordPlanner, () => import(/* webpackChunkName: \"keyword-planner\" */'../feature-bootstrap/keyword-planner').then(getDefaultExport), false, true);\r\n\r\nconst StyledAdPreview = () => importAfterPreLoad(bundles.StyledAdPreview, () => import(/* webpackChunkName: \"ad-preview\" */'../feature-bootstrap/ad-preview').then(getDefaultExport), false, true);\r\n\r\nconst StyledAdInsightKeywordPlanner = () => importAfterPreLoad(bundles.StyledAdInsightKeywordPlanner, () => import(/* webpackChunkName: \"keyword-planner\" */'../feature-bootstrap/keyword-planner').then(getDefaultExport), false, true);\r\n\r\nconst StyledAdInsightAdPreview = () => importAfterPreLoad(bundles.StyledAdInsightAdPreview, () => import(/* webpackChunkName: \"ad-preview\" */'../feature-bootstrap/ad-preview').then(getDefaultExport), false, true);\r\n\r\nconst MerchantCenterShell = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"merchant-center-page\" */'../feature-bootstrap/merchant-center-page').then(getDefaultExport), true, true);\r\n\r\nconst NegativeKeywordsLists = () => importAfterPreLoad(bundles.NegativeKeywordsListsShell, () => import(/* webpackChunkName: \"negative-keywords-lists-page\" */'../feature-bootstrap/negative-keywords-lists-page').then(getDefaultExport), false, true);\r\n\r\nconst NegativeKeywordListsLibrary = () => importAfterPreLoad(bundles.NegativeKeywordListsLibraryShell, () => import(/* webpackChunkName: \"negative-keyword-lists-library-page\" */'../feature-bootstrap/negative-keyword-lists-library-page').then(getDefaultExport), false, true);\r\n\r\nconst NegativeKeywordListsDetailsPage = () => importAfterPreLoad(bundles.NegativeKeywordsListsDetailsShell, () => import(/* webpackChunkName: \"negative-keywords-lists-details-page\" */'../feature-bootstrap/negative-keywords-lists-details-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledImportCenter = () => importAfterPreLoad(bundles.StyledImportCenter, () => import(/* webpackChunkName: \"import-center-page\" */'../feature-bootstrap/import-center-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledAutomatedRuleOperation = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"automated-rule-operation-page\" */'../feature-bootstrap/automated-rule-operation-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledAutomatedRuleDetail = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"automated-rule-operation-page\" */'../feature-bootstrap/automated-rule-detail-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledAutomatedRuleHistory = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"automated-rule-operation-page\" */'../feature-bootstrap/automated-rule-history-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledAccountSettingsPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"account-settings-page\" */'../feature-bootstrap/account-settings-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledCampaignCreationSmartShopping = () => importAfterPreLoad(bundles.StyledCampaignCreationSmartShopping, () => import(/* webpackChunkName: \"smart-shopping-campaign-creation-page\" */'../feature-bootstrap/smart-shopping-campaign-creation-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledOptOutOfMinorsPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"optout-of-minors-page\" */'../feature-bootstrap/optout-of-minors-page').then(getDefaultExport), false, true);\r\n\r\nconst {\r\n StyledDynamicAdTarget,\r\n DynamicExclusionShell,\r\n StyledDynamicSearchTerm,\r\n} = pickManyImports(\r\n ['StyledDynamicAdTarget',\r\n 'DynamicExclusionShell',\r\n 'StyledDynamicSearchTerm',\r\n ],\r\n () => importAfterPreLoad(bundles.DynamicAdTargets, () => import(/* webpackChunkName: \"dynamicadtargets-page\" */'../feature-bootstrap/dynamic-ad-target-page').then(getDefaultExport))\r\n);\r\n\r\nconst ChooseObjectiveWithLegacyConfig = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"choose-objective-page\" */'../feature-bootstrap/choose-objective-page').then(getDefaultExport), false, true);\r\n\r\nconst CampaignOnboardingV2 = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"campaign-onboarding-v2-page\" */'../feature-bootstrap/campaign-onboarding-v2-page').then(getDefaultExport), false, false);\r\n\r\nconst {\r\n StyledCampaignCreationSearch,\r\n StyledCampaignCreationAudience,\r\n StyledCampaignCreationAudienceVideo,\r\n StyledCampaignCreationSearchShopping,\r\n StyledCampaignCreationAudienceShopping,\r\n AdGroupCreationWithCampaign,\r\n StyledCampaignCreationAudienceSimplified,\r\n StyledCampaignCreationMSStoreAds,\r\n StyledCampaignCreationSearchShoppingWizard,\r\n StyledCampaignCreationAudienceShoppingWizard,\r\n StyledCampaignCreationSearchV2,\r\n} = pickManyImportsWithLazyInit(\r\n ['StyledCampaignCreationSearch',\r\n 'ChooseObjectiveWithLegacyConfig',\r\n 'StyledCampaignCreationAudience',\r\n 'StyledCampaignCreationAudienceVideo',\r\n 'StyledCampaignCreationSearchShopping',\r\n 'StyledCampaignCreationAudienceShopping',\r\n 'AdGroupCreationWithCampaign',\r\n 'StyledCampaignCreationAudienceSimplified',\r\n 'StyledCampaignCreationMSStoreAds',\r\n 'StyledCampaignCreationSearchShoppingWizard',\r\n 'StyledCampaignCreationAudienceShoppingWizard',\r\n 'StyledCampaignCreationSearchV2',\r\n ],\r\n () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"campaign-adgroup-creation\" */'../feature-bootstrap/campaign-adgroup-creation').then(getDefaultExport), true, true)\r\n);\r\n\r\nconst {\r\n PerfMaxCampaignCreationPage,\r\n} = pickManyImportsWithLazyInit(\r\n ['PerfMaxCampaignCreationPage'],\r\n () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"perf-max-campaign-creation\" */'../feature-bootstrap/perf-max-campaign-creation').then(getDefaultExport), true, true)\r\n);\r\n\r\nconst {\r\n PerfMaxNorthStarWizard,\r\n} = pickManyImportsWithLazyInit(\r\n ['PerfMaxNorthStarWizard'],\r\n () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"perf-max-north-star-campaign-creation\" */'../feature-bootstrap/perf-max-north-star-campaign-creation').then(getDefaultExport), true, true)\r\n);\r\n\r\nconst LinkedInCampaignCreationPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"linkedin-campain-creation\" */'../feature-bootstrap/linkedin-campaign-creation').then(getDefaultExport), false, true);\r\nconst LinkedInAdEditorPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"linkedin-ad-editor\" */'../feature-bootstrap/linkedin-ad-editor').then(getDefaultExport), false, true);\r\n\r\nconst StyledMSStoreAdsSellerIdsPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"ms-store-ads\" */'../feature-bootstrap/ms-store-ads-seller-ids-page').then(getDefaultExport), false, true);\r\n\r\nconst {\r\n StyledFacebookImport,\r\n StyledGoogleImport,\r\n StyledFileImport,\r\n StyledMultiAccountGoogleImport,\r\n StyledImportCredentialId,\r\n} = pickManyImports(\r\n [\r\n 'StyledFacebookImport',\r\n 'StyledGoogleImport',\r\n 'StyledFileImport',\r\n 'StyledMultiAccountGoogleImport',\r\n 'StyledImportCredentialId',\r\n ],\r\n () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"imports-shell\" */'../feature-bootstrap/imports').then(getDefaultExport), false, true)\r\n);\r\n\r\nconst StyledSmartGoogleImport = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"smart-imports-shell\" */'../feature-bootstrap/smart-google-import-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledAmazonImport = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"smart-imports-shell\" */'../feature-bootstrap/amazon-import-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledSmartFacebookImport = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"smart-imports-shell\" */'../feature-bootstrap/smart-facebook-import-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledPinterestImport = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"smart-imports-shell\" */'../feature-bootstrap/pinterest-import-page').then(getDefaultExport), false, true);\r\n\r\nconst {\r\n StyledQueryInsightsOverviewPage,\r\n StyledQueryInsightsDetailsPage,\r\n} = pickManyImports(\r\n [\r\n 'StyledQueryInsightsOverviewPage',\r\n 'StyledQueryInsightsDetailsPage',\r\n ],\r\n () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"query-insights\" */'../feature-bootstrap/query-insights-page').then(getDefaultExport), true, true)\r\n);\r\n\r\nconst CreativeStudioAssetLibraryPage = () => importAfterPreLoad(\r\n null,\r\n () => import(/* webpackChunkName: \"creative-studio-asset-library\" */'../feature-bootstrap/creative-studio-asset-library').then(getDefaultExport)\r\n);\r\n\r\nconst AdsStudioPage = () => importAfterPreLoad(\r\n null,\r\n () => import(/* webpackChunkName: \"asset-studio\" */'../feature-bootstrap/ads-studio').then(getDefaultExport),\r\n true\r\n);\r\n\r\nconst StyledAppAdsAssetGroupsPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"appads-asset-groups-page\" */'../feature-bootstrap/appads-asset-groups-page').then(getDefaultExport), false, true);\r\n\r\n\r\nconst StyledAssetGroupsPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"asset-groups-page\" */'../feature-bootstrap/asset-groups-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledAssetGroupEditPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"asset-group-edit-page\" */'../feature-bootstrap/asset-group-edit-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledAssetGroupCreationPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"asset-group-create-page\" */'../feature-bootstrap/asset-group-create-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledUnifiedppAdsAssetGroupsCreationPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"unified-app-ads-asset-groups-creation-page\" */'../feature-bootstrap/unified-app-ads-asset-groups-creation').then(getDefaultExport), false, true);\r\n\r\nconst ListingGroupsShell = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"listing-groups-page\" */'../feature-bootstrap/listing-groups-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledPmaxAssetsPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"pmax-assets-page\" */'../feature-bootstrap/pmax-assets-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledPmaxCombinationsPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"pmax-combinations-page\" */'../feature-bootstrap/pmax-combinations-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledPmaxNorthStarAssetGroupEditPage =\r\n () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"perf-max-north-star-asset-group-setting-edit-page\" */'../feature-bootstrap/perf-max-north-star-asset-group-setting-edit-page').then(getDefaultExport), false, true);\r\n\r\nconst StyledXandrVideoCampaignCreationPage =\r\n () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"xandr-video-campaign-creation\" */'../feature-bootstrap/xandr-video-campaign-creation').then(getDefaultExport), false, true);\r\n\r\nconst StyledXandrDisplayAdsCampaignCreationPage =\r\n () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"xandr-display-ads-campaign-creation\" */'../feature-bootstrap/xandr-display-ads-campaign-creation').then(getDefaultExport), false, true);\r\n\r\nconst StyledDisplayPlusCampaignsPage =\r\n () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"display-plus-campaigns-page\" */'../feature-bootstrap/display-plus-campaigns').then(getDefaultExport));\r\n\r\nconst StyledAppAdsCampaignsPage =\r\n () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"app-ads-campaigns-page\" */'../feature-bootstrap/app-ads-campaigns').then(getDefaultExport));\r\n\r\nconst StyledAppAdsAssetGroupCreation =\r\n () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"appads-asset-groups-creation\" */'../feature-bootstrap/appads-asset-groups-creation').then(getDefaultExport));\r\n\r\nconst CampaignBudgetToolPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"campaign-budget-tool-page\" */'../feature-bootstrap/campaign-budget-tool-page').then(getDefaultExport));\r\n\r\nconst BudgetCenterPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"budget-center-page\" */'../feature-bootstrap/budget-center-page').then(getDefaultExport), true, true);\r\n\r\nconst SponsoredCampaignCreationPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"sponsored-campaign-creation-page\" */'../feature-bootstrap/sponsored-campaign-creation-page').then(getDefaultExport));\r\n\r\nconst StyledBrandListsPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"brand-lists-page\" */'../feature-bootstrap/brand-lists-page').then(getDefaultExport));\r\n\r\nconst StyledBrandListsDetailsPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"brand-lists-details-page\" */'../feature-bootstrap/brand-lists-details-page').then(getDefaultExport));\r\n\r\nconst StyledLiftMeasurementPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"lift-measurement-page\" */'../feature-bootstrap/lift-measurement-page').then(getDefaultExport));\r\n\r\nconst StyledLiftMeasurementCreatePage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"lift-measurement-create-page\" */'../feature-bootstrap/lift-measurement-create-page').then(getDefaultExport));\r\n\r\nconst StyledLiftMeasurementEditPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"lift-measurement-edit-page\" */'../feature-bootstrap/lift-measurement-edit-page').then(getDefaultExport));\r\n\r\nconst StyledLiftMeasurementResultsPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"lift-measurement-results-page\" */'../feature-bootstrap/lift-measurement-results-page').then(getDefaultExport));\r\n\r\nconst StyledUnifiedAppAdsCampaignPage =\r\n () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"unified-app-ads-campaigns-page\" */'../feature-bootstrap/unified-app-ads-campaigns').then(getDefaultExport));\r\n\r\nconst StyledUnifiedAppAdsAssetsPage = () => importAfterPreLoad(null, () => import(/* webpackChunkName: \"unified-app-ads-assets-page\" */'../feature-bootstrap/unified-app-ads-assets-page').then(getDefaultExport), false, true);\r\n\r\nexport const routes = {\r\n StyledSharedBudgetSummary,\r\n StyledSharedBudgetEdit,\r\n StyledPortfolioBidStrategy,\r\n StyledSeasonalityAdjustment,\r\n StyledCompetitionAuctionInsight,\r\n StyledBulkEdits,\r\n StyledBulkEditsDetail,\r\n MCMCampaignControl,\r\n StyledAdGroups,\r\n StyledSettingsForm,\r\n StyledDevices,\r\n RecommendationsShell,\r\n StyledChangeHistory,\r\n StyledCompetitionRecommendations,\r\n StyledGmbImport,\r\n StyledFeeds,\r\n StyledImportCenter,\r\n StyledProductFeedPage,\r\n StyledLinkedStorePage,\r\n StyledBrandPage,\r\n StyledFeedSummaryPage,\r\n StyledTargetedLocations,\r\n StyledExcludedLocations,\r\n StyledAds,\r\n StyledAssets,\r\n StyledAssetsReport,\r\n StyledCombinations,\r\n StyledLabels,\r\n StyledProducts,\r\n StyledHotels,\r\n StyledProperties,\r\n HotelGroupsShell,\r\n PropertyGroupsShell,\r\n ProductGroupsShell,\r\n PerformanceTargetsShell,\r\n StyledAudienceAssociationPage,\r\n StyledAudienceAssociationCreation,\r\n StyledPositiveKeywords,\r\n StyledNegativeKeywords,\r\n StyledAdSchedule,\r\n HotelCampaignCreation,\r\n StyledCampaignCreationSearch,\r\n StyledCampaignCreationSearchV2,\r\n ChooseObjectiveWithLegacyConfig,\r\n CampaignOnboardingV2,\r\n StyledCampaignCreationAudience,\r\n StyledCampaignCreationAudienceSimplified,\r\n StyledCampaignCreationAudienceVideo,\r\n StyledCampaignCreationSearchShopping,\r\n StyledCampaignCreationAudienceShopping,\r\n StyledCampaignCreationSearchShoppingWizard,\r\n StyledCampaignCreationAudienceShoppingWizard,\r\n AdGroupCreationWithCampaign,\r\n StyledCampaignCreationSmartShopping,\r\n PerfMaxCampaignCreationPage,\r\n PerfMaxNorthStarWizard,\r\n LinkedInCampaignCreationPage,\r\n LinkedInAdEditorPage,\r\n StyledXandrVideoCampaignCreationPage,\r\n StyledXandrDisplayAdsCampaignCreationPage,\r\n StyledDisplayPlusCampaignsPage,\r\n StyledAppAdsCampaignsPage,\r\n StyledAppAdsAssetGroupCreation,\r\n StyledUnifiedppAdsAssetGroupsCreationPage,\r\n StyledAudienceNetworkPlanner,\r\n StyledAudiencesLibrary,\r\n StyledAudienceSignalManagement,\r\n StyledAudienceCustomSegmentsPage,\r\n StyledAudienceCreation,\r\n StyledAudienceEdit,\r\n StyledManagement,\r\n StyledRequests,\r\n StyledNotifications,\r\n StyledAccountLevelImportTab,\r\n AccountCreation,\r\n AccountLinking,\r\n AccountsTransfer,\r\n PendingTransferRequest,\r\n AccountsUnlinking,\r\n StyledSearchterm,\r\n DemographicsShell,\r\n StyledDynamicAdTarget,\r\n DynamicExclusionShell,\r\n StyledDynamicSearchTerm,\r\n Reports,\r\n ReportsV4,\r\n StyledCustomReportingPage,\r\n DimensionsShell,\r\n StyledExperiments,\r\n CampaignDimensionShell,\r\n SiteExclusionListCustomerCreationShell,\r\n StyledImportSchedule,\r\n StyledScripts,\r\n StyledScriptsHistory,\r\n StyledScriptsEdit,\r\n StyledScriptsLogs,\r\n BulkUploadsShell,\r\n BidStrategiesShell,\r\n SiteExclusionListCustomerEditPage,\r\n WebsiteExclusionListsPage,\r\n WebsiteExclusionListsCustomerEditPage,\r\n WebsiteExclusionListsAccountLevelListPage,\r\n WebsiteExclusionListsAccountLevelExclusionsPage,\r\n StyledFacebookImport,\r\n StyledGoogleImport,\r\n StyledFileImport,\r\n StyledMultiAccountGoogleImport,\r\n StyledImportCredentialId,\r\n StyledUetTags,\r\n StyledUetWebInsights,\r\n StyledUetTestPage,\r\n StyledUetTagsCreate,\r\n StyledUetTagsEdit,\r\n UniversalPixelUetTagCreate,\r\n UniversalPixelUetTagEdit,\r\n StyledConversionGoals,\r\n StyledConversionValueRules,\r\n StyledConversionValueRulesCreate,\r\n StyledConversionValueRulesEdit,\r\n StyledConversionGoalsAutoCreate,\r\n StyledConversionGoalsCreate,\r\n StyledConversionGoalsEdit,\r\n StyledModeledConversions,\r\n StyledHotelCenter,\r\n StyledHotelCenterV2,\r\n StyledOfflineConversions,\r\n StyledCustomerAcquisition,\r\n StyledKeywordPlanner,\r\n StyledAdPreview,\r\n StyledAdInsightKeywordPlanner,\r\n StyledAdInsightAdPreview,\r\n MerchantCenterShell,\r\n StyledAutomatedRuleOperation,\r\n StyledAutomatedRuleHistory,\r\n SiteExclusionListAccountLevelListPage,\r\n StyledAutomatedRuleDetail,\r\n NegativeKeywordsLists,\r\n NegativeKeywordListsLibrary,\r\n SiteExclusionListAccountLevelExclusionsPage,\r\n BrandSafetyPage,\r\n StyledAccountSettingsPage,\r\n NegativeKeywordListsDetailsPage,\r\n StyledSmartGoogleImport,\r\n StyledOptOutOfMinorsPage,\r\n StyledAmazonImport,\r\n StyledSmartFacebookImport,\r\n StyledPinterestImport,\r\n StyledQueryInsightsOverviewPage,\r\n StyledQueryInsightsDetailsPage,\r\n CreativeStudioAssetLibraryPage,\r\n AdsStudioPage,\r\n StyledAssetGroupsPage,\r\n StyledAssetGroupEditPage,\r\n StyledAssetGroupCreationPage,\r\n ListingGroupsShell,\r\n StyledPmaxAssetsPage,\r\n StyledPmaxCombinationsPage,\r\n StyledMSStoreAdsSellerIdsPage,\r\n StyledCampaignCreationMSStoreAds,\r\n CampaignBudgetToolPage,\r\n BudgetCenterPage,\r\n SponsoredCampaignCreationPage,\r\n StyledBrandListsPage,\r\n StyledBrandListsDetailsPage,\r\n StyledAppAdsAssetGroupsPage,\r\n StyledLiftMeasurementPage,\r\n StyledLiftMeasurementCreatePage,\r\n StyledLiftMeasurementEditPage,\r\n StyledLiftMeasurementResultsPage,\r\n StyledUnifiedAppAdsCampaignPage,\r\n StyledUnifiedAppAdsAssetsPage,\r\n StyledPmaxNorthStarAssetGroupEditPage,\r\n};\r\n","import _ from 'underscore';\r\nimport $ from 'jquery';\r\nimport PropTypes from 'prop-types';\r\nimport React from 'react';\r\nimport { withScope, QueryParam, $current } from '@bingads-webui-react/scope-service';\r\nimport { GlobalMenuBase } from '@bingads-webui-react/global-menu';\r\nimport { MeControlBase, CustomMenuBase } from '@bingads-webui-react/me-control';\r\nimport { withSmartConfig, withUPConfig } from '@bingads-webui-react/global-smart-menu';\r\nimport { WaterfallFilterType } from '@bingads-webui/filter-commons';\r\nimport { withGlobalFilter } from '@bingads-webui-react/global-filter-context';\r\nimport { withSettingsConsumer } from '@bingads-webui-react/settings-context';\r\nimport { withPermissions } from '@bingads-webui-react/hoc-with-permissions';\r\nimport { withInstrumentation } from '@bingads-webui-react/hoc-with-instrumentation';\r\nimport { renderPageSearch } from '@bingads-webui-react/global-search';\r\nimport { renderHelpLibrarySearch } from '@bingads-webui-react/global-search-help-library';\r\nimport { renderCampaignSearch } from '@bingads-webui-campaign-react/campaign-entity-search';\r\nimport { renderCopilotSearchWithCopilot } from '@bingads-webui/global-search-copilot';\r\nimport { DummyCustomerAccountSelector } from '@bingads-webui-react/customer-account-selector';\r\nimport { DummyCustomerSelector } from '@bingads-webui-react/customer-selector';\r\nimport { ACCOUNT_MODE } from '@bingads-webui-campaign/campaign-ui-common';\r\nimport { withLayoutContext } from '@bingads-webui-react/app-layout-container';\r\nimport {\r\n convertFilteredCampaignTypeToFilter\r\n} from '@bingads-webui-campaign-react/shell-ui-common';\r\nimport {\r\n withSiteMap,\r\n processorSet,\r\n processor,\r\n CampaignType,\r\n withCampaignSiteMap,\r\n siteMapPropType,\r\n} from '@bingads-webui-campaign-react/with-site-map';\r\nimport { GlobalMenuEntityBar } from '@bingads-webui-campaign-react/summary-bar';\r\nimport { withServerContext } from '@bingads-webui-campaign-react/server-context';\r\nimport { withHotKeys, ShortcutType } from '@bingads-webui-react/hot-keys';\r\nimport { withPageReadyAsync } from '@bingads-webui-react/with-page-ready';\r\nimport { perfMarkerPropTypes } from '@bingads-webui/performance-marker';\r\nimport { isHamburgerVisibleStore } from '@bingads-webui-campaign-react/main-menu-container';\r\nimport { withStateStore } from '@bingads-webui/with-state-store';\r\nimport { onToggleCopilot, toggleCopilotWithMSASignInPopup } from '@bingads-webui-react/msa-copilot-common';\r\nimport { setClarityTag } from '@bingads-webui-universal/clarity';\r\nimport { getHeaderHide, isBillingLinkPermission } from '@bingads-webui/multi-agency-utils';\r\nimport { isCopilotRegionRestricted } from '@bingads-webui-react/copilot-utils';\r\n\r\nimport { DelayedNotificationsBar } from './delayed-notifications-bar';\r\n\r\nconst DelayedReportsV4Bar = withPageReadyAsync(() =>\r\n import(/* webpackMode: 'eager' */'@bingads-webui-campaign/reports-v4-bar/index-uinext')\r\n .then(({ ReportsV4DropDown }) => ({ default: ReportsV4DropDown })));\r\n\r\nclass GlobalMenuWrapperInternal extends React.PureComponent {\r\n constructor(props) {\r\n super(props);\r\n this.perfMarker = this.props.appPerfMarker.createChild('global-menu-perf', { autoEnd: true });\r\n this.perfMarker.willInit();\r\n this.globalHelpRef = React.createRef();\r\n\r\n const {\r\n permissions, serverContext, scope, settingsContext,\r\n } = props;\r\n let wrappedGlobalMenu = withSmartConfig(GlobalMenuBase);\r\n const accountMode = _.get(serverContext, ['CurrentAccount', 'AccountMode']);\r\n const aid = _.get(scope, ['values', 'aid']);\r\n const isUnifiedSmartMode = _.get(permissions, 'IsUnifiedSmartMode');\r\n if (isUnifiedSmartMode || (!!aid && accountMode === ACCOUNT_MODE.UNIFIED_SMART)) {\r\n // Check at both customer level and account level\r\n // Customer level: all account are UnifiedSmart\r\n // Account level: current account is UnifiedSmart\r\n wrappedGlobalMenu = withUPConfig(GlobalMenuBase);\r\n }\r\n\r\n this.GlobalMenuEmbeded = withSettingsConsumer(withSiteMap(wrappedGlobalMenu, [processor.processPath, ...processorSet.basic]));\r\n\r\n // To save performance by only loading the real CustomerAccountSelector component after page is ready\r\n this.DelayedAccountSelector = withPageReadyAsync(() =>\r\n Promise.all([\r\n import(/* webpackMode: 'eager' */'@bingads-webui-react/customer-account-selector'),\r\n import(/* webpackMode: 'eager' */'@bingads-webui-react/hierarcy-tree-view-with-rcid-storage'),\r\n ]).then(([\r\n { CustomerAccountSelectorTreeView },\r\n { TreeViewWithRCIDStorage },\r\n ]) => ({\r\n default: TreeViewWithRCIDStorage(CustomerAccountSelectorTreeView),\r\n })), DummyCustomerAccountSelector);\r\n\r\n this.DelayedCustomerSelector = withPageReadyAsync(() =>\r\n import(/* webpackMode: 'eager' */'@bingads-webui-react/customer-selector')\r\n .then(({ CustomerSelector }) => ({ default: CustomerSelector })), DummyCustomerSelector);\r\n const adsCopilotScenario = props.instrumentation.createScenario({\r\n scenarioName: 'AdsCopilot',\r\n });\r\n this.adsCopilotLogger = adsCopilotScenario.createActivity('UserAction');\r\n this.isCampaignPageAccessible = _.get(permissions, 'IsInternalUser') || !isBillingLinkPermission(settingsContext);\r\n\r\n this.state = { isAdsCopilotRegionRestricted: false };\r\n }\r\n\r\n componentDidMount() {\r\n isCopilotRegionRestricted({\r\n feature: 'Chat',\r\n logger: this.adsCopilotLogger,\r\n permissions: this.props.permissions,\r\n serverContext: this.props.serverContext,\r\n }).then((isRestricted) => {\r\n this.setState({ isAdsCopilotRegionRestricted: isRestricted });\r\n });\r\n }\r\n\r\n componentDidUpdate(prevProps) {\r\n if (this.props.hotKey === 'shift+h' && prevProps.count !== this.props.count) {\r\n if ($('#apexHelpContainer').is(':visible')) {\r\n $('#apexHelpContainer .close_button').click();\r\n } else {\r\n this.globalHelpRef.current.click();\r\n }\r\n }\r\n }\r\n\r\n onLogoClick = () => {\r\n const {\r\n scope, updateWaterfallFilter,\r\n } = this.props;\r\n if (_.isFunction(updateWaterfallFilter)) {\r\n updateWaterfallFilter({\r\n filterType: WaterfallFilterType.CampaignType,\r\n filter: convertFilteredCampaignTypeToFilter(CampaignType.All),\r\n });\r\n }\r\n\r\n scope.set({\r\n cid: $current,\r\n aid: $current,\r\n uid: $current,\r\n });\r\n\r\n // Don't specify a page, this should make page menu use the default landing page\r\n scope.save('/campaign/vnext');\r\n };\r\n\r\n onCopilotClick = ({ customizedEvent, forceOpen } = {}) => {\r\n const { permissions, serverContext } = this.props;\r\n const username = _.get(serverContext, ['CurrentUser', 'Name']);\r\n const localeId = _.get(serverContext, ['CurrentUser', 'LocaleID']);\r\n const isAADUser = _.get(serverContext, ['IsAADUser']);\r\n const isAppBasedAuthEnabled = _.get(permissions, ['dynamic', 'AdsCopilotAppBasedAuth']);\r\n const isNewLogo = permissions?.dynamic?.AdsCopilotUxImprovements;\r\n\r\n const toggleCopilot = toggleCopilotWithMSASignInPopup({\r\n userName: username,\r\n localeId,\r\n isAADUser,\r\n isAppBasedAuthEnabled,\r\n toggleCopilot: (mode) => {\r\n this.adsCopilotLogger.trace(`[Copilot] Toggle copilot via Copilot button on header, mode: ${mode} isNewLogo:${isNewLogo}`);\r\n onToggleCopilot({\r\n changeLayout: this.props.changeLayout,\r\n mode,\r\n logger: this.adsCopilotLogger,\r\n customizedEvent,\r\n });\r\n },\r\n logger: this.adsCopilotLogger,\r\n });\r\n const copilotMode = _.chain(this.props.layoutConfig).result('copilot').result('mode', 'hidden').value();\r\n const nextMode = (forceOpen || copilotMode === 'collapsed') ? 'expanded' : 'collapsed';\r\n toggleCopilot(nextMode);\r\n };\r\n\r\n render() {\r\n const {\r\n appPerfMarker,\r\n serverContext,\r\n permissions,\r\n scope,\r\n instrumentation,\r\n onHamburgerClicked,\r\n siteMap: campaignSiteMap,\r\n settingsContext,\r\n } = this.props;\r\n const {\r\n CurrentAccount,\r\n Urls,\r\n CurrentUser,\r\n Omniture,\r\n PageTrackingId,\r\n IsProdEnv,\r\n } = serverContext;\r\n const globalMenuScenario = instrumentation.globalMenuScenario.create();\r\n const globalMenuActivity = globalMenuScenario.globalMenuActivity.create();\r\n const feedbackScenario = instrumentation.feedbackScenario.create();\r\n const logger = feedbackScenario.feedbackActivity.create();\r\n const feedbackLogger = {\r\n log: (info) => {\r\n logger.trace(info);\r\n },\r\n };\r\n const { Email } = CurrentUser;\r\n const { SessionId } = Omniture;\r\n const feedbackProps = {\r\n isTestEnv: !IsProdEnv,\r\n feedbackLogger,\r\n email: Email,\r\n pageId: PageTrackingId,\r\n sessionId: SessionId,\r\n hideFeedback: permissions.IsReadOnlyUser,\r\n };\r\n const {\r\n Id, Name, AccountNumber, AdvertiserCustomerID,\r\n } = CurrentAccount;\r\n const account = {\r\n Id,\r\n Name,\r\n AccountNumber,\r\n ParentCustomerId: AdvertiserCustomerID,\r\n };\r\n const supportUrl = Urls.RootUIUrl.replace(/^https:\\/\\//, 'https://internal.');\r\n const campaignSearchEnabled = permissions && permissions.dynamic && permissions.dynamic.CampaignSearch;\r\n const accountIdEnabled = scope.values && scope.values.aid;\r\n const renderSearchResults = [];\r\n if (!this.state.isAdsCopilotRegionRestricted) {\r\n const isNewLogo = permissions?.dynamic?.AdsCopilotUxImprovements;\r\n renderSearchResults.push(renderCopilotSearchWithCopilot(this.onCopilotClick, isNewLogo));\r\n }\r\n renderSearchResults.push(renderPageSearch);\r\n renderSearchResults.push(renderHelpLibrarySearch);\r\n if (campaignSearchEnabled && accountIdEnabled && this.isCampaignPageAccessible) {\r\n renderSearchResults.push(renderCampaignSearch);\r\n }\r\n\r\n const renderHelpPanel = () => (\r\n
\r\n \r\n
\r\n );\r\n\r\n const hide = {\r\n mmc: false,\r\n assetLibrary: !_.result(permissions.dynamic, 'AssetLibraryGlobalMenu', false),\r\n copilot: this.state.isAdsCopilotRegionRestricted,\r\n ...(!_.get(permissions, 'IsInternalUser') && getHeaderHide(settingsContext)),\r\n };\r\n\r\n setClarityTag({ NavigationRefresh: 'false' });\r\n\r\n return (\r\n \r\n \r\n {renderHelpPanel()}\r\n \r\n );\r\n }\r\n}\r\n\r\nGlobalMenuWrapperInternal.propTypes = {\r\n serverContext: PropTypes.shape({\r\n CurrentAccount: PropTypes.shape({}),\r\n Urls: PropTypes.shape({}),\r\n }).isRequired,\r\n instrumentation: PropTypes.shape({}).isRequired,\r\n permissions: PropTypes.shape({\r\n dynamic: PropTypes.shape({}),\r\n }).isRequired,\r\n settingsContext: PropTypes.shape({}).isRequired,\r\n scope: PropTypes.instanceOf(QueryParam).isRequired,\r\n updateWaterfallFilter: PropTypes.func.isRequired,\r\n hotKey: PropTypes.string.isRequired,\r\n count: PropTypes.number.isRequired,\r\n appPerfMarker: perfMarkerPropTypes.isRequired,\r\n onHamburgerClicked: PropTypes.func,\r\n isHamburgerVisible: PropTypes.bool.isRequired,\r\n isPanelMode: PropTypes.bool.isRequired,\r\n siteMap: siteMapPropType.isRequired,\r\n changeLayout: PropTypes.func.isRequired,\r\n layoutConfig: PropTypes.shape({\r\n nav: PropTypes.shape({\r\n mode: PropTypes.string,\r\n }),\r\n }).isRequired,\r\n};\r\n\r\nGlobalMenuWrapperInternal.defaultProps = {\r\n onHamburgerClicked: null,\r\n};\r\n\r\nexport const GlobalMenuWrapper =\r\n withSettingsConsumer(withCampaignSiteMap(withStateStore(withPermissions(withInstrumentation(withHotKeys(withServerContext(withScope(withGlobalFilter(withLayoutContext(GlobalMenuWrapperInternal)))), ShortcutType.ShowHideHelp))), isHamburgerVisibleStore, store => ({\r\n isHamburgerVisible: store.state.isHamburgerVisible,\r\n isPanelMode: store.state.isPanelMode,\r\n }))));\r\n","import React, { useCallback, useContext, useEffect, useMemo, useState } from 'react';\r\nimport _ from 'underscore';\r\nimport { GlobalMenu } from '@bingads-webui-react/new-global-menu';\r\nimport { ServerContext } from '@bingads-webui-campaign-react/server-context';\r\nimport { ScopeContext, $current } from '@bingads-webui-react/scope-service';\r\nimport { SettingsContext } from '@bingads-webui-react/settings-context';\r\nimport { InstrumentationContext } from '@bingads-webui-react/hoc-with-instrumentation';\r\nimport { PermissionsContext } from '@bingads-webui-react/hoc-with-permissions';\r\nimport { convertFilteredCampaignTypeToFilter } from '@bingads-webui-campaign-react/shell-ui-common';\r\nimport { onToggleCopilot, toggleCopilotWithMSASignInPopup } from '@bingads-webui-react/msa-copilot-common';\r\nimport { GlobalFilterContext } from '@bingads-webui-react/global-filter-context';\r\nimport { WaterfallFilterType } from '@bingads-webui/filter-commons';\r\nimport { LayoutContext } from '@bingads-webui-react/app-layout-container';\r\nimport { renderPageSearch } from '@bingads-webui-react/global-search';\r\nimport { renderHelpLibrarySearch } from '@bingads-webui-react/global-search-help-library';\r\nimport { renderCampaignSearch } from '@bingads-webui-campaign-react/campaign-entity-search';\r\nimport { renderCopilotSearchWithCopilot } from '@bingads-webui/global-search-copilot';\r\nimport { perfMarkerPropTypes } from '@bingads-webui/performance-marker';\r\nimport {\r\n withSiteMap,\r\n processorSet,\r\n processor,\r\n CampaignType,\r\n} from '@bingads-webui-campaign-react/with-site-map';\r\nimport { setClarityTag } from '@bingads-webui-universal/clarity';\r\nimport { getHeaderHide, isBillingLinkPermission } from '@bingads-webui/multi-agency-utils';\r\nimport { isCopilotRegionRestricted } from '@bingads-webui-react/copilot-utils';\r\n\r\nimport { DelayedNotificationsBar } from './delayed-notifications-bar';\r\n\r\nexport const NewGlobalMenuWrapper = (props) => {\r\n const serverContext = useContext(ServerContext);\r\n const settingsContext = useContext(SettingsContext);\r\n const instrumentation = useContext(InstrumentationContext);\r\n const permissions = useContext(PermissionsContext);\r\n const { scope } = useContext(ScopeContext);\r\n const { updateWaterfallFilter } = useContext(GlobalFilterContext);\r\n const { change: changeLayout, config: layoutConfig } = useContext(LayoutContext);\r\n const perfMarker = useMemo(\r\n () => props.appPerfMarker.createChild('new-global-menu-perf', { autoEnd: true }),\r\n [props.appPerfMarker]\r\n );\r\n const GlobalMenuEmbedded = withSiteMap(GlobalMenu, [processor.processPath, processor.processCopilotRegionRestriction, ...processorSet.basic]);\r\n\r\n useEffect(() => {\r\n perfMarker.willInit();\r\n }, [perfMarker]);\r\n\r\n const {\r\n CurrentAccount,\r\n Urls,\r\n CurrentUser,\r\n Omniture,\r\n PageTrackingId,\r\n IsProdEnv,\r\n } = serverContext;\r\n const { Email } = CurrentUser;\r\n const { SessionId } = Omniture;\r\n const supportUrl = Urls.RootUIUrl.replace(/^https:\\/\\//, 'https://internal.');\r\n const {\r\n Id, Name, AccountNumber, AdvertiserCustomerID,\r\n } = CurrentAccount;\r\n const account = {\r\n Id,\r\n Name,\r\n AccountNumber,\r\n ParentCustomerId: AdvertiserCustomerID,\r\n };\r\n const feedbackScenario = instrumentation.feedbackScenario.create();\r\n const logger = feedbackScenario.feedbackActivity.create();\r\n const feedbackLogger = {\r\n log: (info) => {\r\n logger.trace(info);\r\n },\r\n };\r\n const adsCopilotScenario = instrumentation.createScenario({\r\n scenarioName: 'AdsCopilot',\r\n });\r\n const adsCopilotLogger = adsCopilotScenario.createActivity('UserAction');\r\n\r\n const onLogoClick = useCallback(() => {\r\n if (_.isFunction(updateWaterfallFilter)) {\r\n updateWaterfallFilter({\r\n filterType: WaterfallFilterType.CampaignType,\r\n filter: convertFilteredCampaignTypeToFilter(CampaignType.All),\r\n });\r\n }\r\n\r\n scope.set({\r\n cid: $current,\r\n aid: $current,\r\n uid: $current,\r\n });\r\n\r\n // Don't specify a page, this should make page menu use the default landing page\r\n scope.save('/campaign/vnext');\r\n }, [scope, updateWaterfallFilter]);\r\n\r\n const onCopilotClick = useCallback(({ customizedEvent, forceOpen } = {}) => {\r\n const username = _.get(serverContext, ['CurrentUser', 'Name']);\r\n const localeId = _.get(serverContext, ['CurrentUser', 'LocaleID']);\r\n const isAADUser = _.get(serverContext, ['IsAADUser']);\r\n const isAppBasedAuthEnabled = _.get(permissions, ['dynamic', 'AdsCopilotAppBasedAuth']);\r\n const isNewLogo = _.get(permissions, ['dynamic', 'AdsCopilotUxImprovements']);\r\n\r\n const toggleCopilot = toggleCopilotWithMSASignInPopup({\r\n userName: username,\r\n localeId,\r\n isAADUser,\r\n isAppBasedAuthEnabled,\r\n toggleCopilot: (mode) => {\r\n adsCopilotLogger.trace(`[Copilot] Toggle copilot via Copilot button on header, mode: ${mode} isNewLogo: ${isNewLogo}`);\r\n onToggleCopilot({\r\n changeLayout,\r\n mode,\r\n logger: adsCopilotLogger,\r\n customizedEvent,\r\n });\r\n },\r\n logger: adsCopilotLogger,\r\n });\r\n const copilotMode = _.chain(layoutConfig).result('copilot').result('mode', 'hidden').value();\r\n const nextMode = (forceOpen || copilotMode === 'collapsed') ? 'expanded' : 'collapsed';\r\n toggleCopilot(nextMode);\r\n }, [serverContext, layoutConfig, adsCopilotLogger, changeLayout, permissions]);\r\n\r\n\r\n const campaignSearchEnabled = permissions && permissions.dynamic && permissions.dynamic.CampaignSearch;\r\n\r\n const [isAdsCopilotRegionRestricted, setIsAdsCopilotRegionRestricted] = useState();\r\n useEffect(() => {\r\n isCopilotRegionRestricted({\r\n feature: 'Chat',\r\n permissions,\r\n serverContext,\r\n }).then(setIsAdsCopilotRegionRestricted);\r\n }, [permissions, serverContext]);\r\n\r\n const accountIdEnabled = scope.values && scope.values.aid;\r\n const isCampaignPageAccessible = _.get(permissions, 'IsInternalUser') || !isBillingLinkPermission(settingsContext);\r\n const renderSearchResults = [];\r\n if (!isAdsCopilotRegionRestricted) {\r\n const isNewLogo = _.get(permissions, ['dynamic', 'AdsCopilotUxImprovements']);\r\n renderSearchResults.push(renderCopilotSearchWithCopilot(onCopilotClick, isNewLogo));\r\n }\r\n renderSearchResults.push(renderPageSearch);\r\n renderSearchResults.push(renderHelpLibrarySearch);\r\n if (campaignSearchEnabled && accountIdEnabled && isCampaignPageAccessible) {\r\n renderSearchResults.push(renderCampaignSearch);\r\n }\r\n\r\n const feedbackProps = {\r\n isTestEnv: !IsProdEnv,\r\n feedbackLogger,\r\n email: Email,\r\n pageId: PageTrackingId,\r\n sessionId: SessionId,\r\n hideFeedback: permissions.IsReadOnlyUser,\r\n };\r\n\r\n const hide = {\r\n copilot: isAdsCopilotRegionRestricted,\r\n ...(!_.get(permissions, 'IsInternalUser') && getHeaderHide(settingsContext)),\r\n };\r\n\r\n setClarityTag({ NavigationRefresh: 'true' });\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nNewGlobalMenuWrapper.displayName = 'NewGlobalMenuWrapper';\r\nNewGlobalMenuWrapper.propTypes = {\r\n appPerfMarker: perfMarkerPropTypes.isRequired,\r\n};\r\n","import { map, filter } from 'underscore';\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { findSiteMap, siteMapPropType } from '@bingads-webui-campaign-react/with-site-map';\r\nimport { perfMarkerPropTypes } from '@bingads-webui/performance-marker';\r\nimport { withDefaultStyles } from '@bingads-webui-react/with-default-styles';\r\nimport { withPageReady } from '@bingads-webui-react/with-page-ready';\r\n\r\nimport { getStyle } from './style';\r\n\r\nconst PreexecuteContainer = ({\r\n classes,\r\n pageName,\r\n PreexecuteComponents,\r\n siteMap,\r\n appPerfMarker,\r\n ...componentProps\r\n}) => {\r\n const availableComponents = filter(PreexecuteComponents, (component) => {\r\n const page = findSiteMap(siteMap, item => item.id === component.pageName);\r\n return page && page.available;\r\n });\r\n\r\n if (availableComponents.length === 0) {\r\n return null;\r\n }\r\n\r\n const PagePreexecute = withPageReady(\r\n (ready) => {\r\n if (ready) {\r\n const preexecutePerfMarker = appPerfMarker.createChild(`Page_Preexecute_By_${pageName\r\n || window.location.pathname.split('/').pop()}`, { autoEnd: false });\r\n preexecutePerfMarker.willInit();\r\n\r\n let count = availableComponents.length;\r\n let prevPageName = pageName;\r\n\r\n return (\r\n
\r\n {\r\n map(availableComponents, (NextComponent) => {\r\n const Preexecution = withPageReady(\r\n () => {\r\n count -= 1;\r\n if (count === 0) {\r\n preexecutePerfMarker.done();\r\n }\r\n return null;\r\n },\r\n withPageReady(\r\n (pageReady) => {\r\n if (pageReady) {\r\n const childPerfMarker = preexecutePerfMarker.createChild(`Page_Preexecute_${NextComponent.pageName}`, { autoEnd: true });\r\n return (\r\n \r\n \r\n \r\n );\r\n }\r\n return null;\r\n },\r\n null,\r\n prevPageName\r\n ),\r\n NextComponent.pageName\r\n );\r\n prevPageName = NextComponent.pageName;\r\n return ;\r\n })\r\n }\r\n
\r\n );\r\n }\r\n return null;\r\n },\r\n null,\r\n pageName\r\n );\r\n\r\n return ;\r\n};\r\n\r\nPreexecuteContainer.propTypes = {\r\n classes: PropTypes.shape({\r\n preexecuteContainer: PropTypes.string.isRequired,\r\n }).isRequired,\r\n pageName: PropTypes.string.isRequired,\r\n PreexecuteComponents: PropTypes.arrayOf(PropTypes.elementType).isRequired,\r\n siteMap: siteMapPropType.isRequired,\r\n appPerfMarker: perfMarkerPropTypes.isRequired,\r\n};\r\n\r\nexport const StyledPreexecuteContainer = withDefaultStyles(PreexecuteContainer, getStyle);\r\n","export const getStyle = () => ({\r\n preexecuteContainer: {\r\n display: 'flex',\r\n flex: '1 0 auto',\r\n flexDirection: 'column',\r\n position: 'absolute',\r\n top: -9999,\r\n left: -9999,\r\n height: '100%',\r\n width: '100%',\r\n visibility: 'hidden',\r\n },\r\n});\r\n","import React, { useContext } from 'react';\r\nimport { DirectionalHint, Link } from '@fluentui/react';\r\nimport { I18nContext } from '@bingads-webui-react/i18n-context';\r\nimport { useDefaultStyles } from '@bingads-webui-react/with-default-styles';\r\nimport { ReactTemplate } from '@bingads-webui-react/react-template';\r\nimport { defaultUserGovernanceConfig } from '@bingads-webui-campaign-react/multi-step-teaching-bubble';\r\n\r\nconst getStyle = () => ({\r\n link: {\r\n color: 'rgb(255, 255, 255)',\r\n fontWeight: 600,\r\n '&:hover': {\r\n color: 'rgb(255, 255, 255)',\r\n textDecoration: 'underline',\r\n },\r\n '&:focus': {\r\n color: 'rgb(255, 255, 255)',\r\n textDecoration: 'underline',\r\n },\r\n },\r\n});\r\n\r\nconst ChurnModelNotificationContent = () => {\r\n const i18n = useContext(I18nContext);\r\n const clarityTextTemplate = i18n.getString(_TL_('Join one of our experienced Microsoft Advertising Experts for a FREE consultation by scheduling an appointment below or calling us at {{phoneNumber}}877-635-3561{{/phoneNumber}}.'));\r\n const classes = useDefaultStyles(getStyle);\r\n\r\n const content1 = (\r\n (\r\n \r\n {text}\r\n \r\n ),\r\n }}\r\n template={clarityTextTemplate}\r\n />\r\n );\r\n return (\r\n
\r\n

{content1}

\r\n

\r\n {i18n.getString(_TL_('Optimize your campaign during the consultation and we will issue you a $250 USD ad credit.'))}\r\n

\r\n
\r\n );\r\n};\r\n\r\nexport const churnModelCouponNotificationFeatureName = 'churn-model-coupon-notification-teaching-bubble';\r\nexport const ChurnModelCouponNotificationTeachingBubbleUIConfig =\r\n{\r\n featureName: churnModelCouponNotificationFeatureName,\r\n userGovernanceConfig: defaultUserGovernanceConfig,\r\n steps: [\r\n {\r\n title: _TL_('Your ad credit awaits!'),\r\n content: (),\r\n primaryButtonText: _TL_('Schedule now'),\r\n // first condition from coupon, the second condition ensured selector billing if no overflow\r\n targetElement: 'div#billing>button.side-navigation-item-button,div[data-overflow-item][data-overflow-group]:not([data-overflowing]) button#billing, button.side-navigation-more-button',\r\n directionalHint: DirectionalHint.rightCenter,\r\n onNext: () => {\r\n window.open('https://outlook.office365.com/book/MicrosoftAdvertisingNorthAmericaEnglish@bookings.microsoft.com/s/oGpRHHqz5EKtN3pF_Dfn9w2', '_blank');\r\n },\r\n className: 'churn-target-notification-teaching-bubble',\r\n },\r\n ],\r\n};\r\n","import { PreferenceState } from '@bingads-webui-campaign-react/popup-components';\r\n\r\nexport const uetTeachingBubbleUserGovernanceConfig = {\r\n // If the expiration date is set and it is in the past, do not show the component\r\n // set the value with the format: new Date('2023/12/31')\r\n expirationDate: null,\r\n [PreferenceState.INIT]: {\r\n // cooldownDays is the number of days after the user can see the component again\r\n cooldownDays: 0,\r\n // secondaryButtonText is the text that will be displayed on the secondary button\r\n secondaryButtonText: _TL_(''),\r\n // stateMachine is the state machine that will be used to transition between states\r\n stateMachine: {\r\n // onDone is the state that will be set when the user clicks on the primary button\r\n onDone: PreferenceState.STOP_SHOWN,\r\n // onDismiss is the state that will be set when the user clicks on the secondary button\r\n onDismiss: PreferenceState.FIRST_DISMISS,\r\n // onClose is the state that will be set when the user clicks on the close button\r\n onClose: PreferenceState.FIRST_DISMISS,\r\n },\r\n },\r\n [PreferenceState.FIRST_DISMISS]: {\r\n cooldownDays: 1,\r\n secondaryButtonText: _TL_(''),\r\n stateMachine: {\r\n onDone: PreferenceState.STOP_SHOWN,\r\n onDismiss: PreferenceState.SECOND_DISMISS,\r\n onClose: PreferenceState.SECOND_DISMISS,\r\n },\r\n },\r\n [PreferenceState.SECOND_DISMISS]: {\r\n cooldownDays: 1,\r\n secondaryButtonText: _TL_(''),\r\n stateMachine: {\r\n onDone: PreferenceState.STOP_SHOWN,\r\n onDismiss: PreferenceState.STOP_SHOWN,\r\n onClose: PreferenceState.STOP_SHOWN,\r\n },\r\n },\r\n [PreferenceState.STOP_SHOWN]: {\r\n cooldownDays: Infinity,\r\n secondaryButtonText: _TL_(''),\r\n stateMachine: {\r\n onDone: PreferenceState.STOP_SHOWN,\r\n onDismiss: PreferenceState.STOP_SHOWN,\r\n onClose: PreferenceState.STOP_SHOWN,\r\n },\r\n },\r\n};\r\n","import { get } from 'underscore';\r\nimport { DirectionalHint } from '@fluentui/react';\r\nimport { TeachingBubbleConfigs as NavigationRefreshTeachingBubbleConfig } from '@bingads-webui-campaign-react/navigation-refresh-teaching-bubble-config';\r\nimport { couponTeachingBubbleConfig, couponTeachingBubbleOldUIConfig } from '@bingads-webui-cc-react/coupon-teachingbubble-loader';\r\nimport { defaultUserGovernanceConfig } from '@bingads-webui-campaign-react/multi-step-teaching-bubble';\r\nimport { PreferenceState } from '@bingads-webui-campaign-react/popup-components';\r\nimport { TeachingBubbleConfigs as InsertionOrderReportTeachingBubbleConfig } from '@bingads-webui-campaign-react/reports-v4-insertion-order-teaching-bubble-config';\r\nimport { CustomReportBuilderTeachingBubbleConfig, ReportHomePageTeachingBubbleConfig } from '@bingads-webui-campaign-react/custom-reports-page-teaching-bubble-config';\r\nimport { ReportingInsightsTeachingBubbleConfig } from '@bingads-webui-campaign-react/reporting-insights-components';\r\nimport { getRoutePathById } from '@bingads-webui-react/with-site-map';\r\nimport { setClarityTag } from '@bingads-webui-universal/clarity';\r\n\r\nimport {\r\n uetTeachingBubbleUserGovernanceConfig\r\n} from './custom-uet-teaching-bubble-governance-config';\r\nimport { ChurnModelCouponNotificationTeachingBubbleUIConfig } from './custom-churn-model-coupon-teaching-bubble-config';\r\n\r\nconst escMigrationGovernanceConfig = {\r\n ...defaultUserGovernanceConfig,\r\n [PreferenceState.INIT]: {\r\n ...defaultUserGovernanceConfig[PreferenceState.INIT],\r\n stateMachine: {\r\n ...defaultUserGovernanceConfig[PreferenceState.INIT].stateMachine,\r\n onDismiss: PreferenceState.STOP_SHOWN,\r\n onClose: PreferenceState.STOP_SHOWN,\r\n },\r\n },\r\n};\r\nexport const escMigrationTeachingBubbleFeatureName = 'smb-migration-welcome';\r\nexport const EscMigrationTeachingBubbleConfig = {\r\n featureName: escMigrationTeachingBubbleFeatureName,\r\n userGovernanceConfig: escMigrationGovernanceConfig,\r\n steps: [\r\n {\r\n title: _TL_('Welcome to a new and improved Microsoft Advertising experience'),\r\n content: _TL_('We’ve migrated your Microsoft Advertising accounts and campaigns to this new and improved experience.'),\r\n primaryButtonText: _TL_('Next'),\r\n secondaryButtonText: _TL_(''),\r\n targetElement: '#advertise',\r\n directionalHint: DirectionalHint.rightTopEdge,\r\n },\r\n {\r\n title: _TL_('Manage your campaigns'),\r\n content: _TL_('Manage all of your campaigns and assets in Campaigns. You can edit your budget by going to Campaign settings.'),\r\n primaryButtonText: _TL_('Next'),\r\n secondaryButtonText: _TL_(''),\r\n targetElement: '#advertise',\r\n directionalHint: DirectionalHint.rightTopEdge,\r\n },\r\n {\r\n title: _TL_('Create new campaigns'),\r\n content: _TL_('Create new campaigns by selecting Create.'),\r\n primaryButtonText: _TL_('Next'),\r\n secondaryButtonText: _TL_(''),\r\n targetElement: '#create',\r\n directionalHint: DirectionalHint.rightTopEdge,\r\n },\r\n {\r\n title: _TL_('Access reports'),\r\n content: _TL_('Don’t worry - you can still access your previous performance data. It just may take up to few hours to view. Note: Pre-migration data tied to conversion goals won’t be available.'),\r\n primaryButtonText: _TL_('Next'),\r\n secondaryButtonText: _TL_(''),\r\n targetElement: '#reports-v4',\r\n directionalHint: DirectionalHint.rightCenter,\r\n },\r\n {\r\n title: _TL_('Conversion goals'),\r\n content: _TL_('Review and manage your conversion goals by clicking on Tools and pinning Conversions to the menu.'),\r\n primaryButtonText: _TL_('Got it'),\r\n secondaryButtonText: _TL_(''),\r\n targetElement: '#allTools',\r\n directionalHint: DirectionalHint.rightCenter,\r\n },\r\n ],\r\n};\r\n\r\nexport const uetConsentNotificationFeatureName = 'uet-consent-notification-teaching-bubble';\r\nconst UetConsentNotificationTeachingBubbleUIConfig =\r\n{\r\n featureName: uetConsentNotificationFeatureName,\r\n userGovernanceConfig: uetTeachingBubbleUserGovernanceConfig,\r\n steps: [\r\n {\r\n title: _TL_('Action Required: Ensure proper implementation of consent signals'),\r\n content: _TL_('You may not have properly instrumented consent signals on your website. To avoid negative impacts on conversion attribution and remarketing for European Economic Area (EEA)-targeted campaigns, implement Consent Mode or the Transparency and Consent Framework (TCF) with your UET tags.'),\r\n primaryButtonText: _TL_('Set up now'),\r\n isSecondaryButtonHidden: true,\r\n targetElement: 'button.notifications-item',\r\n directionalHint: DirectionalHint.bottomAutoEdge,\r\n onNext: (_scope, _siteMap, serverContext) => {\r\n const languageCode = get(serverContext, ['CurrentLocale'], 'en-us').toLowerCase().split('-')[0];\r\n window.open(`https://help.ads.microsoft.com/apex/index/3/${languageCode}/60119`, '_blank');\r\n },\r\n },\r\n ],\r\n};\r\n\r\nexport const adsStudioTeachingBubbleFeatureName = 'ads-studio-teaching-bubble';\r\nconst AdsStudioTeachingBubbleConfig =\r\n{\r\n featureName: adsStudioTeachingBubbleFeatureName,\r\n userGovernanceConfig: defaultUserGovernanceConfig,\r\n steps: [\r\n {\r\n title: _TL_('Asset library upgraded to Ads Studio'),\r\n content: _TL_('We\\'ve upgraded Asset library to the new Ads Studio experience, providing additional tools and features to help enhance your media. With Ads Studio, you can easily add, create, edit, and manage all your assets across campaigns. Get started with Ads Studio to curate compelling assets for your ads.'),\r\n primaryButtonText: _TL_('Get started'),\r\n // first condition ensured ads studio selector if no overflow\r\n targetElement: 'div[data-overflow-item][data-overflow-group]:not([data-overflowing]) button#asset-library, button#allTools',\r\n directionalHint: DirectionalHint.rightCenter,\r\n onNext: (_scope, _siteMap) => {\r\n setClarityTag({ ClickAdsStudioTeachingBubblePrimaryButton: true });\r\n _scope.save(getRoutePathById(_siteMap, 'ad-studio-home-page'));\r\n },\r\n },\r\n ],\r\n};\r\n\r\nexport const configs = [\r\n EscMigrationTeachingBubbleConfig,\r\n NavigationRefreshTeachingBubbleConfig,\r\n couponTeachingBubbleConfig,\r\n couponTeachingBubbleOldUIConfig,\r\n InsertionOrderReportTeachingBubbleConfig,\r\n ReportingInsightsTeachingBubbleConfig,\r\n CustomReportBuilderTeachingBubbleConfig,\r\n ReportHomePageTeachingBubbleConfig,\r\n UetConsentNotificationTeachingBubbleUIConfig,\r\n ChurnModelCouponNotificationTeachingBubbleUIConfig,\r\n AdsStudioTeachingBubbleConfig,\r\n];\r\n","import React, { useState, useEffect, useContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { get } from 'underscore';\r\nimport { CouponTeachingBubbleRenderer } from '@bingads-webui-cc-react/coupon-teachingbubble-loader';\r\nimport { useReportingInsightsTeachingBubble } from '@bingads-webui-campaign-react/reporting-insights-components';\r\nimport {\r\n triggerMultiStepTeachingBubbleWithLock,\r\n MultiStepTeachingBubbleContext,\r\n} from '@bingads-webui-campaign-react/multi-step-teaching-bubble';\r\nimport { edmCampaign } from '@bingads-webui/edm-campaign';\r\nimport { PageReady } from '@bingads-webui/page-ready';\r\nimport { getParameter } from '@bingads-webui/url-util';\r\n\r\nimport {\r\n escMigrationTeachingBubbleFeatureName,\r\n uetConsentNotificationFeatureName,\r\n adsStudioTeachingBubbleFeatureName,\r\n} from './teaching-bubble-config';\r\nimport { withCcJsDataContextProvider } from '../../contexts/with-cc-js-data-context-provider';\r\nimport { churnModelCouponNotificationFeatureName } from './custom-churn-model-coupon-teaching-bubble-config';\r\n\r\nexport const TeachingBubbleRendererBase = ({\r\n aid,\r\n cid,\r\n permissions,\r\n isCouponEnabled,\r\n}) => {\r\n const bubbleContext = useContext(MultiStepTeachingBubbleContext);\r\n\r\n // Esc Migration bubble\r\n const [hasReadMigrationFlag, setHasReadMigrationFlag] = useState(false);\r\n const [isMigrationUser, setIsMigrationUser] = useState('false');\r\n useEffect(() => {\r\n if (!hasReadMigrationFlag && aid && cid) {\r\n setHasReadMigrationFlag(true);\r\n edmCampaign\r\n .Customers.$withKey(cid)\r\n .Accounts.$withKey(aid)\r\n .get()\r\n .toPromise()\r\n .then((account) => {\r\n setIsMigrationUser(account && account.MigratedFromESC);\r\n });\r\n }\r\n }, [hasReadMigrationFlag, aid, cid]);\r\n\r\n useEffect(() => {\r\n if (isMigrationUser === 'true') {\r\n triggerMultiStepTeachingBubbleWithLock({\r\n ...bubbleContext,\r\n featureName: escMigrationTeachingBubbleFeatureName,\r\n });\r\n }\r\n }, [bubbleContext, isMigrationUser]);\r\n\r\n\r\n // UET Consent notification\r\n // Please DO NOT follow this example to trigger teaching callout, timeout logic is specially in place\r\n // to handle the re-construct of global header when page layout changes. E.G. Redline Banner shows up.\r\n useEffect(() => {\r\n PageReady.afterPageReady().then(() => {\r\n setTimeout(() => {\r\n const isUETConsentNotificationEnabled = get(permissions, ['dynamic', 'UETConsentNotification'], false);\r\n if (isUETConsentNotificationEnabled) {\r\n triggerMultiStepTeachingBubbleWithLock({\r\n ...bubbleContext,\r\n featureName: uetConsentNotificationFeatureName,\r\n });\r\n }\r\n }, 10000);\r\n });\r\n }, [bubbleContext, permissions]);\r\n\r\n useReportingInsightsTeachingBubble(permissions);\r\n\r\n useEffect(() => {\r\n const isChurnModelCouponNotificationEnabled = get(permissions, ['dynamic', 'ChurnModelCouponNotification'], false);\r\n if (isChurnModelCouponNotificationEnabled) {\r\n triggerMultiStepTeachingBubbleWithLock({\r\n ...bubbleContext,\r\n featureName: churnModelCouponNotificationFeatureName,\r\n });\r\n }\r\n }, [bubbleContext, permissions]);\r\n\r\n useEffect(() => {\r\n const isAdsStudioMVPEnabled = get(permissions, ['dynamic', 'AdsStudioMVP'], false);\r\n const ise2etest = getParameter('ise2etest') === 'true';\r\n const isselenium = getParameter('isselenium') === 'true'; // For some C# tests\r\n const showForTest = getParameter('showAdsStudioTeachingBubble') === 'true';\r\n if (isAdsStudioMVPEnabled && ((!ise2etest && !isselenium) || showForTest)) {\r\n triggerMultiStepTeachingBubbleWithLock({\r\n ...bubbleContext,\r\n featureName: adsStudioTeachingBubbleFeatureName,\r\n });\r\n }\r\n }, [bubbleContext, permissions]);\r\n\r\n if (isCouponEnabled) {\r\n return ;\r\n }\r\n\r\n return null;\r\n};\r\n\r\nTeachingBubbleRendererBase.propTypes = {\r\n aid: PropTypes.number.isRequired,\r\n cid: PropTypes.number.isRequired,\r\n permissions: PropTypes.objectOf(PropTypes.oneOfType([\r\n PropTypes.bool,\r\n PropTypes.objectOf(PropTypes.bool),\r\n PropTypes.number,\r\n ])).isRequired,\r\n isCouponEnabled: PropTypes.bool.isRequired,\r\n};\r\n\r\nexport const TeachingBubbleRenderer = withCcJsDataContextProvider(TeachingBubbleRendererBase);\r\n","\r\nimport React, { lazy } from 'react';\r\nimport _ from 'underscore';\r\nimport Promise from 'bluebird';\r\nimport hoistNonReactStatics from 'hoist-non-react-statics';\r\nimport { perfMarkerPropTypes } from '@bingads-webui/performance-marker';\r\nimport { withI18nConsumer } from '@bingads-webui-react/i18n-context';\r\nimport { withFallbackPage } from '@bingads-webui-campaign-react/fallback-page';\r\nimport { withPermissions } from '@bingads-webui-react/hoc-with-permissions';\r\nimport { withPreference } from '@bingads-webui-react/preference-context';\r\nimport { withScope } from '@bingads-webui-react/scope-service';\r\nimport { getDisplayName } from '@bingads-webui-react/hoc-utils';\r\nimport { bundlesUseHighcharts } from './dynamic-routes';\r\n\r\nconst getLandingPaths = () => [\r\n '/campaign/vnext',\r\n '/campaign/vnext/ads',\r\n '/campaign/vnext/adgroups',\r\n '/campaign/vnext/campaigns',\r\n '/campaign/vnext/keywords',\r\n // TODO: enable DFM for campaign scope\r\n window.location.search.indexOf('campaignId') > -1 ? '' : '/campaign/vnext/overview',\r\n '/campaign/vnext/accounts',\r\n '/campaign/vnext/accounts/overview',\r\n '/campaign/vnext/accounts/overview/expert',\r\n '/campaign/vnext/accounts/overview/smart',\r\n '/campaign/vnext/accounts/performance',\r\n];\r\n\r\nlet isLegacyDefineLoaded = false;\r\n\r\nfunction pickImport(name, moduleExport) {\r\n return () => moduleExport().then(c => (c[name]));\r\n}\r\n\r\nfunction pickImportWithLazyInit(name, moduleExport) {\r\n return () => moduleExport().then(c => (c[name]()));\r\n}\r\n\r\nfunction triggerWillInit(WrappedComponent) {\r\n const WillInitWrapper = (props) => {\r\n const { perfMarker } = props;\r\n _.result(perfMarker, 'willInit');\r\n\r\n return ();\r\n };\r\n\r\n WillInitWrapper.propTypes = {\r\n perfMarker: perfMarkerPropTypes.isRequired,\r\n };\r\n\r\n return React.memo(WillInitWrapper);\r\n}\r\n\r\nfunction importHighcharts() {\r\n return Promise.all([\r\n import(/* webpackMode: 'eager' */'highcharts'),\r\n import(/* webpackMode: 'eager' */'highcharts/highcharts-more'),\r\n import(/* webpackMode: 'eager' */'highcharts/modules/accessibility'),\r\n import(/* webpackMode: 'eager' */'highcharts/modules/pattern-fill'),\r\n ]).then(([Highcharts, highchartsMore, accessibilityModule, patternFillModule]) => {\r\n highchartsMore.default(Highcharts);\r\n accessibilityModule.default(Highcharts);\r\n patternFillModule.default(Highcharts);\r\n return Highcharts;\r\n });\r\n}\r\n\r\nexport function pickManyImports(names, moduleExport) {\r\n return _.mapObject(_.object(names, names), ((_v, name) => pickImport(name, moduleExport)));\r\n}\r\n\r\nexport function pickManyImportsWithLazyInit(names, moduleExport) {\r\n return _.mapObject(_.object(names, names), ((_v, name) => pickImportWithLazyInit(name, moduleExport)));\r\n}\r\n\r\nexport const getDefaultExport = e => e.default;\r\n\r\nexport function lazyLoad(componentFactory, applyWrappers = _.identity, skipWillInitTrigger = false) {\r\n if (!componentFactory) {\r\n throw new Error('Dynamic route does not exist!');\r\n }\r\n\r\n const wrapperFn = skipWillInitTrigger ? applyWrappers : _.compose(applyWrappers, triggerWillInit);\r\n\r\n const loadComponent = () => componentFactory().then(c => wrapperFn(c)).then(feature => ({ default: feature }));\r\n\r\n return lazy(loadComponent);\r\n}\r\n\r\nexport function importLegacyDeps() {\r\n if (isLegacyDefineLoaded) {\r\n return Promise.resolve();\r\n }\r\n\r\n return import(/* webpackChunkName: \"vendor.async.legacy-requirejs\" */'../legacy-dep-bootstrap/require.config').then(() => {\r\n import(/* webpackChunkName: \"vendor.async.legacy-requirejs\" */'../legacy-dep-bootstrap/shim/requirejs-shim').then(() => {\r\n isLegacyDefineLoaded = true;\r\n });\r\n });\r\n}\r\n\r\nexport function importAfterPreLoad(modulePath, moduleExport, needHighcharts = false, needLegacyDeps = false) {\r\n const loadHighChart = needHighcharts || bundlesUseHighcharts[modulePath];\r\n\r\n if (needLegacyDeps && loadHighChart) {\r\n return Promise.resolve().then(importLegacyDeps).then(importHighcharts).then(moduleExport);\r\n }\r\n\r\n if (needLegacyDeps) {\r\n return Promise.resolve().then(importLegacyDeps).then(moduleExport);\r\n }\r\n\r\n if (loadHighChart) {\r\n return Promise.resolve().then(importHighcharts).then(moduleExport);\r\n }\r\n\r\n return Promise.resolve().then(moduleExport);\r\n}\r\n\r\nexport function importAfterPreLoadHighCharts(moduleExport) {\r\n return importHighcharts().then(moduleExport);\r\n}\r\n\r\nexport function isLandingPage() {\r\n const currentPath = window.location.pathname;\r\n\r\n return getLandingPaths().indexOf(currentPath.toLowerCase()) > -1;\r\n}\r\n\r\nexport const withContexts = _.compose(withI18nConsumer, withFallbackPage, withPermissions, withPreference, withScope);\r\n\r\n\r\nexport const withProps = (WrappedComponent, extraProps) => {\r\n const HoC = props => (\r\n \r\n );\r\n\r\n HoC.displayName = `WithProps(${getDisplayName(WrappedComponent)})`;\r\n\r\n hoistNonReactStatics(HoC, WrappedComponent);\r\n\r\n return HoC;\r\n};\r\n\r\nexport function withPrefetch(WrappedComponent, prefetchChunks = _.noop) {\r\n // Using webpack will cause the browser to load chunks when the page is initialized\r\n const deferPrefetchChunks = () => _.defer(prefetchChunks);\r\n const HoC = props => (\r\n \r\n );\r\n\r\n HoC.displayName = `WithPrefetch(${getDisplayName(WrappedComponent)})`;\r\n\r\n hoistNonReactStatics(HoC, WrappedComponent);\r\n\r\n return HoC;\r\n}\r\n","import React from 'react';\r\n\r\nexport const AppPerfMarker = React.createContext();\r\n\r\nexport const withAppPerfMarker = WrappedComponent => (\r\n props => (\r\n \r\n {(appPerfMarker =>\r\n ())}\r\n \r\n )\r\n);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { CcJsDataContextProvider } from '@bingads-webui-cc-react/js-data-rest';\r\nimport { withServerContext } from '@bingads-webui-campaign-react/server-context';\r\nimport { initCcJsData } from '../global-init/init-cc-js-data';\r\n\r\nexport const withCcJsDataContextProvider = (WrappedComponent) => {\r\n const HOC = (props) => {\r\n const { serverContext } = props;\r\n const { jsDataCcRest } = initCcJsData({ serverContext });\r\n\r\n return (\r\n \r\n \r\n \r\n );\r\n };\r\n\r\n HOC.propTypes = {\r\n serverContext: PropTypes.shape({\r\n CurrentUser: PropTypes.shape({ Id: PropTypes.number }).isRequired,\r\n CurrentCustomer: PropTypes.shape({ Id: PropTypes.number }).isRequired,\r\n ServicesEndpoints: PropTypes.shape({\r\n ClientCenterUIAPI: PropTypes.string.isRequired,\r\n }),\r\n }).isRequired,\r\n };\r\n\r\n return withServerContext(HOC);\r\n};\r\n","import React, { useState } from 'react';\r\nimport { useLocation } from 'react-router-dom';\r\nimport { withPreference } from '@bingads-webui-react/preference-context';\r\nimport PropTypes from 'prop-types';\r\nimport { perfMarkerPropTypes } from '@bingads-webui/performance-marker';\r\nimport { withCampaignType } from '@bingads-webui-campaign-react/with-campaign-type';\r\nimport { withServerContext } from '@bingads-webui-campaign-react/server-context';\r\nimport { withAppPerfMarker } from '../contexts/app-perfmarker-context';\r\n\r\nconst dateRangePreferenceName = 'WebApp.CampaignUI.dateFilter';\r\n\r\nexport const withPagePerfMarker = (WrappedComponent, perfMarkerName, autoEnd = true) => {\r\n const getNewState = (appPerfMarker, { pathname }, preferenceService) => {\r\n const dateRangePreference = preferenceService.findByNameAtUserLevel(dateRangePreferenceName);\r\n const childPerfMarker = appPerfMarker.createChild(perfMarkerName, { autoEnd, data: { DateRange: dateRangePreference.Data } });\r\n childPerfMarker.willFetchFile();\r\n\r\n return {\r\n childPerfMarker,\r\n pathname,\r\n };\r\n };\r\n\r\n const PerfMarkerWrapper = ({\r\n appPerfMarker,\r\n preferenceService,\r\n ...others\r\n }) => {\r\n const location = useLocation();\r\n const [state, setState] = useState(getNewState(appPerfMarker, location, preferenceService));\r\n\r\n if (state.pathname !== location.pathname) {\r\n setState(getNewState(appPerfMarker, location, preferenceService));\r\n }\r\n\r\n return ();\r\n };\r\n\r\n PerfMarkerWrapper.propTypes = {\r\n appPerfMarker: perfMarkerPropTypes.isRequired,\r\n preferenceService: PropTypes.shape({}).isRequired,\r\n };\r\n\r\n return withAppPerfMarker(withPreference(React.memo(PerfMarkerWrapper)));\r\n};\r\n\r\nexport const withOverviewPerfMarker = (WrappedComponent, markerName) => {\r\n const Wrapper = (props) => {\r\n const {\r\n campaignType,\r\n serverContext,\r\n } = props;\r\n let perfMarkerName = markerName || 'Route_Overview_VNext';\r\n const isLinkedInCampaign = campaignType === 'LinkedIn' && serverContext.DynamicPermissions.LinkedInCampaigns;\r\n if (perfMarkerName === 'Route_AccountsOverview_VNext') {\r\n if (serverContext.DynamicPermissions.CustomerLevelOverviewFluent) {\r\n perfMarkerName = 'Route_AccountsOverview_Fluent2_VNext';\r\n }\r\n } else if (campaignType === 'PerformanceMax' && (serverContext.DynamicPermissions.PMaxLite)) {\r\n perfMarkerName = 'Route_Overview_PMaxLite_VNext';\r\n } else if (serverContext.DynamicPermissions.OverviewPageFluentV2 || serverContext.DynamicPermissions.OverviewPageFluent2 || serverContext.DynamicPermissions.AppAdsCampaignPhaseOne || serverContext.DynamicPermissions.UnifiedAppAds || isLinkedInCampaign) {\r\n perfMarkerName = 'Route_Overview_Fluent2_VNext';\r\n }\r\n\r\n // Auto end is marked as false for the Old Overview because once first two cards are rendered, parent marker autoends while other cards are still being imported.\r\n const autoEndForParentMarker = perfMarkerName !== 'Route_Overview_VNext';\r\n\r\n const Component = withPagePerfMarker(WrappedComponent, perfMarkerName, autoEndForParentMarker);\r\n return ();\r\n };\r\n Wrapper.propTypes = {\r\n campaignType: PropTypes.string,\r\n serverContext: PropTypes.shape({\r\n DynamicPermissions: PropTypes.shape({\r\n PMaxLite: PropTypes.bool,\r\n OverviewPageFluentV2: PropTypes.bool,\r\n OverviewPageFluent2: PropTypes.bool,\r\n }).isRequired,\r\n }).isRequired,\r\n };\r\n Wrapper.defaultProps = {\r\n campaignType: undefined,\r\n };\r\n return withCampaignType(withServerContext(Wrapper));\r\n};\r\n","/* eslint-disable no-unused-expressions */\r\nimport Promise from 'bluebird';\r\nimport _ from 'underscore';\r\nimport { QueryParam } from '@bingads-webui-react/scope-service';\r\nimport { withDFMCache, setDFMCache } from '@bingads-webui/dfm-cache';\r\nimport { get } from '@bingads-webui-universal/primitive-utilities';\r\nimport { isMultiAgencyBillingEnabled, isBillingLinkPermission } from '@bingads-webui/multi-agency-utils';\r\nimport { getAccountLinkPermissionType } from '../global-init/init-settings-context';\r\n\r\nexport function fetchData({\r\n serverContext,\r\n dfmPerfMarker,\r\n preferenceService,\r\n loadingPath,\r\n campaignType,\r\n}) {\r\n return new Promise((resolve, reject) => {\r\n const queryParam = new QueryParam(window.location);\r\n // The below condition is to check if the agency user is limited by the agency billing link type.\r\n // If the user is limited, then the user is only allowed to see Budget & Billing statement reporting pages and other reporting related pages in CMUI.\r\n // In this case, we should not prefetch the data for unaccessible pages where 401 logout will be triggered.\r\n const isLimitedByBillingLink = isMultiAgencyBillingEnabled({ dynamic: serverContext.DynamicPermissions || {} })\r\n && !_.get(serverContext.Permissions, 'IsInternalUser')\r\n && isBillingLinkPermission({ AccountLinkPermissionType: getAccountLinkPermissionType(serverContext) });\r\n const isOdataGetProductScopeEnabled = _.get(serverContext, ['DynamicPermissions', 'OdataGetProductScope'], false);\r\n const isPAAIMConsolidationEnabled = _.get(serverContext, ['DynamicPermissions', 'PAAIMConsolidation'], false);\r\n\r\n if (!isLimitedByBillingLink && loadingPath === '/campaign/vnext/overview'\r\n && serverContext.Permissions.IsDataPreFetchForOverviewPageEnabledInVnext) {\r\n if (campaignType === 'PerformanceMax' && serverContext.DynamicPermissions.PMaxLite) {\r\n import(/* webpackMode: 'eager' *//* webpackChunkName: \"pmax-overview-page-dfm\" */'./fetch-pmax-overview-page-data-webpack').then(({ fetchDataForPmaxOverview }) => {\r\n dfmPerfMarker.willInit();\r\n fetchDataForPmaxOverview({\r\n preferenceService,\r\n serverContext,\r\n resolve,\r\n reject,\r\n });\r\n });\r\n } else if (serverContext.DynamicPermissions.OverviewPageFluentV2\r\n || serverContext.DynamicPermissions.OverviewPageFluent2\r\n || serverContext.DynamicPermissions.AppAdsCampaignPhaseOne\r\n || serverContext.DynamicPermissions.UnifiedAppAds\r\n || (serverContext.DynamicPermissions.LinkedInCampaigns && campaignType === 'LinkedIn')\r\n ) {\r\n import(/* webpackMode: 'eager' *//* webpackChunkName: \"fluent-overview-page-dfm\" */'./fetch-fluent-overview-page-data-webpack').then(({ fetchDataForFluentOverview }) => {\r\n dfmPerfMarker.willInit();\r\n fetchDataForFluentOverview({\r\n serverContext,\r\n preferenceService,\r\n resolve,\r\n reject,\r\n queryParam,\r\n });\r\n });\r\n } else {\r\n import(/* webpackMode: 'eager' *//* webpackChunkName: \"overview-page-dfm\" */'./fetch-overview-page-data-webpack').then(({ fetchDataForOverview }) => {\r\n dfmPerfMarker.willInit();\r\n fetchDataForOverview(serverContext, preferenceService, resolve, reject);\r\n });\r\n }\r\n } else if (!isLimitedByBillingLink && loadingPath === '/campaign/vnext/campaigns'\r\n && serverContext.Permissions.IsDataPreFetchForCampaignsPageEnabledInVnext) {\r\n import(/* webpackMode: 'eager' *//* webpackChunkName: \"campaigns-page-dfm\" */'./fetch-campaigns-page-data-webpack').then(({ fetchDataForCampaigns }) => {\r\n dfmPerfMarker.willInit();\r\n const campaignDfm = fetchDataForCampaigns({\r\n serverContext,\r\n resolve,\r\n preferenceService,\r\n // Seems this i18n isn't used anyways\r\n newI18n: { getString: () => '' },\r\n });\r\n\r\n const { dataSource, p$dfm } = campaignDfm;\r\n dataSource.query = withDFMCache(dataSource.query, 'campaignDFM', dataSource);\r\n setDFMCache('campaignDFM', p$dfm);\r\n });\r\n } else if (!isLimitedByBillingLink && (loadingPath === '/campaign/vnext/accounts/overview' ||\r\n loadingPath === '/campaign/vnext/accounts/overview/smart' ||\r\n loadingPath === '/campaign/vnext/accounts/overview/expert') && serverContext.DynamicPermissions.CustomerLevelOverviewFluent) {\r\n import(/* webpackMode: 'eager' *//* webpackChunkName: \"customer-overview-page-dfm\" */'./fetch-customer-overview-page-data-webpack').then(({ fetchDataForAccountsOverview }) => {\r\n dfmPerfMarker.willInit();\r\n fetchDataForAccountsOverview({ serverContext, resolve, reject });\r\n });\r\n } else if (!isLimitedByBillingLink && (loadingPath === '/campaign/vnext/accounts/overview' ||\r\n loadingPath === '/campaign/vnext/accounts/overview/smart' ||\r\n loadingPath === '/campaign/vnext/accounts/overview/expert')) {\r\n import(/* webpackMode: 'eager' *//* webpackChunkName: \"overview-page-dfm\" */'./fetch-accounts-overview-page-data-webpack').then(({ fetchDataForAccountsOverview }) => {\r\n dfmPerfMarker.willInit();\r\n fetchDataForAccountsOverview(serverContext, resolve, preferenceService, loadingPath);\r\n });\r\n } else if (!isLimitedByBillingLink && loadingPath === '/campaign/vnext/accounts/performance' &&\r\n serverContext.Permissions.IsDataPreFetchForPerformancePageEnabledInVnext) {\r\n import(/* webpackMode: 'eager' *//* webpackChunkName: \"performance-page-dfm\" */'./fetch-performance-page-data-webpack').then(({ fetchDataForPerformance }) => {\r\n dfmPerfMarker.willInit();\r\n fetchDataForPerformance(serverContext, resolve, preferenceService, loadingPath);\r\n });\r\n } else if (!isLimitedByBillingLink && loadingPath === '/campaign/vnext/createcampaign/objective' &&\r\n serverContext.Permissions.IsDataPreFetchForPerformancePageEnabledInVnext) {\r\n if (isOdataGetProductScopeEnabled) {\r\n import(/* webpackChunkName: \"campaign-creation-objective-page-dfm\" */ './fetch-search-shopping-product-scope-data')\r\n .then(({ fetchSearchShoppingProductScopeData }) => {\r\n const p$dfm = fetchSearchShoppingProductScopeData(resolve, serverContext);\r\n setDFMCache('getProductScopeDFM', p$dfm);\r\n setDFMCache('getPmaxProductScopeDFM', p$dfm);\r\n });\r\n import(/* webpackChunkName: \"campaign-creation-objective-page-dfm\" */ './fetch-audience-shopping-product-scope-data')\r\n .then(({ fetchAudienceShoppingProductScopeData }) => {\r\n const ap$dfm = fetchAudienceShoppingProductScopeData(resolve, serverContext);\r\n setDFMCache('getAudienceProductScopeDFM', ap$dfm);\r\n });\r\n } else {\r\n import(/* webpackChunkName: \"campaign-creation-objective-page-dfm\" */'./fetch-shopping-campaign-creation-page-data')\r\n .then(({ fetchDataForShoppingCampaignCreationPage }) => {\r\n const isMranSimplificationV2Enabled = serverContext.DynamicPermissions.MranSimplificationV2;\r\n const p$dfm = fetchDataForShoppingCampaignCreationPage(resolve, isMranSimplificationV2Enabled);\r\n setDFMCache('getProductScopeDFM', p$dfm);\r\n });\r\n import(/* webpackChunkName: \"campaign-creation-objective-page-dfm\" */'./fetch-audience-shopping-campaing-creation-page-data')\r\n .then(({ fetchProductDataForAudienceShoppingCampaignCreationPage }) => {\r\n const ap$dfm = fetchProductDataForAudienceShoppingCampaignCreationPage(serverContext);\r\n setDFMCache('getAudienceProductScopeDFM', ap$dfm);\r\n resolve();\r\n });\r\n }\r\n import(/* webpackChunkName: \"campaign-creation-objective-page-dfm\" */'./fetch-has-conversion-goal-data')\r\n .then(({ fetchHasConversionGoalData }) => {\r\n const p$dfm = fetchHasConversionGoalData();\r\n setDFMCache('getHasConversionGoalDFM', p$dfm);\r\n resolve();\r\n });\r\n } else if (!isLimitedByBillingLink && (loadingPath === '/campaign/vnext/create-campaign/msstoreads') &&\r\n serverContext.Permissions.IsDataPreFetchForPerformancePageEnabledInVnext) {\r\n if (isOdataGetProductScopeEnabled) {\r\n import(/* webpackChunkName: \"shopping-campaign-creation-page-dfm\" */ './fetch-search-shopping-product-scope-data')\r\n .then(({ fetchSearchShoppingProductScopeData }) => {\r\n const p$dfm = fetchSearchShoppingProductScopeData(resolve, serverContext);\r\n setDFMCache('getProductScopeDFM', p$dfm);\r\n });\r\n } else {\r\n import(/* webpackChunkName: \"shopping-campaign-creation-page-dfm\" */'./fetch-shopping-campaign-creation-page-data')\r\n .then(({ fetchDataForShoppingCampaignCreationPage }) => {\r\n const p$dfm = fetchDataForShoppingCampaignCreationPage(resolve);\r\n setDFMCache('getProductScopeDFM', p$dfm);\r\n });\r\n }\r\n } else if (!isLimitedByBillingLink && loadingPath === '/campaign/vnext/createcampaign/audienceshopping' && !isPAAIMConsolidationEnabled) {\r\n if (isOdataGetProductScopeEnabled) {\r\n import(/* webpackChunkName: \"audience-shopping-campaign-creation-page-dfm\" */ './fetch-audience-shopping-product-scope-data')\r\n .then(({ fetchAudienceShoppingProductScopeData }) => {\r\n const ap$dfm = fetchAudienceShoppingProductScopeData(resolve, serverContext);\r\n setDFMCache('getAudienceProductScopeDFM', ap$dfm);\r\n });\r\n } else {\r\n import(/* webpackChunkName: \"audience-shopping-campaign-creation-page-dfm\" */'./fetch-audience-shopping-campaing-creation-page-data')\r\n .then(({ fetchProductDataForAudienceShoppingCampaignCreationPage }) => {\r\n const ap$dfm = fetchProductDataForAudienceShoppingCampaignCreationPage(serverContext);\r\n setDFMCache('getAudienceProductScopeDFM', ap$dfm);\r\n resolve();\r\n });\r\n }\r\n import(/* webpackChunkName: \"audience-shopping-campaign-creation-page-dfm\" */'./fetch-audience-shopping-campaing-creation-page-data')\r\n .then(({ fetchFeedDataForAudienceShoppingCampaignCreationPage }) => {\r\n let f$dfm;\r\n if (serverContext.Permissions.IsEnabledForDynamicFeedCampaign) {\r\n f$dfm = fetchFeedDataForAudienceShoppingCampaignCreationPage(serverContext);\r\n setDFMCache('getFeedScopeDFM', f$dfm);\r\n }\r\n resolve();\r\n });\r\n } else if (!isLimitedByBillingLink && (loadingPath.includes('vnext/recommendations')\r\n || (loadingPath.includes('vnext/accounts/recommendations') && queryParam.values.recommendationType === undefined))) {\r\n import(/* webpackChunkName: \"recommendation-page-dfm\" */'./fetch-recommendation-page-data')\r\n .then(({ fetchSummaryDataForRecommendationPage }) => {\r\n const previousRoute = history.state.state\r\n && history.state.state.previousRoute;\r\n if (!previousRoute\r\n || (previousRoute && !previousRoute.includes('/recommendations/'))) {\r\n const p$dfm = fetchSummaryDataForRecommendationPage(serverContext, preferenceService, queryParam, loadingPath);\r\n setDFMCache('getSummaryDFM', p$dfm);\r\n }\r\n resolve();\r\n });\r\n } else if (!isLimitedByBillingLink && loadingPath === '/campaign/vnext/ads' && serverContext.DynamicPermissions.AdsPageDFMV2) {\r\n import(/* webpackMode: 'eager' *//* webpackChunkName: \"ads-page-dfm\" */'./fetch-ads-page-data')\r\n .then(({ fetchDataForAds }) => {\r\n dfmPerfMarker.willInit();\r\n const adsDfm = fetchDataForAds({\r\n resolve,\r\n queryParam,\r\n serverContext,\r\n preferenceService,\r\n });\r\n const { dataSource, p$dfm } = adsDfm;\r\n dataSource.query = withDFMCache(dataSource.query, 'adsDFM', dataSource);\r\n setDFMCache('adsDFM', p$dfm);\r\n });\r\n } else if (!isLimitedByBillingLink && loadingPath === '/campaign/vnext/keywords') {\r\n import(/* webpackMode: 'eager' *//* webpackChunkName: \"keywords-page-dfm\" */'./fetch-positive-keywords-page-data')\r\n .then(({ fetchDataForKeywords }) => {\r\n dfmPerfMarker.willInit();\r\n const keywordsDfm = fetchDataForKeywords({\r\n resolve,\r\n queryParam,\r\n serverContext,\r\n preferenceService,\r\n });\r\n const { dataSource, p$dfm } = keywordsDfm;\r\n dataSource.query = withDFMCache(dataSource.query, 'keywordsDFM', dataSource);\r\n setDFMCache('keywordsDFM', p$dfm);\r\n });\r\n } else if (!isLimitedByBillingLink && loadingPath === '/campaign/vnext/adgroups' && serverContext.DynamicPermissions.AdGroupsPageDFMV2) {\r\n import(/* webpackMode: 'eager' *//* webpackChunkName: \"adgroups-page-dfm\" */'./fetch-adgroups-page-data')\r\n .then(({ fetchDataForAdGroups }) => {\r\n dfmPerfMarker.willInit();\r\n const adGroupsDfm = fetchDataForAdGroups({\r\n resolve,\r\n queryParam,\r\n serverContext,\r\n preferenceService,\r\n });\r\n const { dataSource, p$dfm } = adGroupsDfm;\r\n dataSource.query = withDFMCache(dataSource.query, 'adGroupsDFM', dataSource);\r\n setDFMCache('adGroupsDFM', p$dfm);\r\n });\r\n } else if (!isLimitedByBillingLink && loadingPath.includes('/campaign/vnext/extensions') && loadingPath !== '/campaign/vnext/extensions/automated' && serverContext.DynamicPermissions.AdExtensionsPageDFMV2) {\r\n import(/* webpackChunkName: \"adextensions-page-dfm\" */'./fetch-adextensions-page-data')\r\n .then(({ fetchDataForAdExtensions }) => {\r\n dfmPerfMarker.willInit();\r\n const adExtensionsDfm = fetchDataForAdExtensions({\r\n loadingPath,\r\n resolve,\r\n queryParam,\r\n serverContext,\r\n preferenceService,\r\n });\r\n const { dataSource, p$dfm } = adExtensionsDfm;\r\n dataSource.query = withDFMCache(dataSource.query, 'adExtensionsDFM', dataSource);\r\n setDFMCache('adExtensionsDFM', p$dfm);\r\n });\r\n } else if (!isLimitedByBillingLink && loadingPath === '/campaign/vnext/budgetcenter') {\r\n import(/* webpackMode: 'eager' *//* webpackChunkName: \"budget-center-page-dfm\" */'./fetch-budget-center-page-data')\r\n .then(({ fetchDataForBudgetCenter }) => {\r\n dfmPerfMarker.willInit();\r\n fetchDataForBudgetCenter({\r\n serverContext,\r\n queryParam,\r\n });\r\n resolve();\r\n });\r\n } else if (loadingPath === '/campaign/vnext/reports-v4/default-reports') {\r\n import(/* webpackChunkName: \"reports-v4-page-dfm\" */'./fetch-reports-v4-page-data')\r\n .then(({ fetchDataForDefaultReportsPage }) => {\r\n const p$dfm = fetchDataForDefaultReportsPage(serverContext, queryParam);\r\n setDFMCache('getDefaultReportsDFM', p$dfm);\r\n resolve();\r\n });\r\n } else if (loadingPath === '/campaign/vnext/reports-v4/my-reports/customized') {\r\n import(/* webpackChunkName: \"reports-v4-page-dfm\" */'./fetch-reports-v4-page-data')\r\n .then(({ fetchDataForMyReportsPage }) => {\r\n const type = 'Saved';\r\n const p$dfm = fetchDataForMyReportsPage(serverContext, queryParam, type);\r\n setDFMCache(`get${type}ReportsDFM`, p$dfm);\r\n resolve();\r\n });\r\n } else if (loadingPath === '/campaign/vnext/reports-v4/my-reports/shared') {\r\n import(/* webpackChunkName: \"reports-v4-page-dfm\" */'./fetch-reports-v4-page-data')\r\n .then(({ fetchDataForMyReportsPage }) => {\r\n const type = 'Shared';\r\n const p$dfm = fetchDataForMyReportsPage(serverContext, queryParam, type);\r\n setDFMCache(`get${type}ReportsDFM`, p$dfm);\r\n resolve();\r\n });\r\n } else if (loadingPath.includes('/campaign/vnext/reports-v4/create')) {\r\n import(/* webpackChunkName: \"reports-v4-page-dfm\" */'./fetch-reports-v4-page-data')\r\n .then(({ fetchDataForRecentReportsPage }) => {\r\n const [, reportAction, reportType] = location.pathname.match(/\\/(edit|create)\\/(.*)/);\r\n if (!(reportType === 'matchingreport' || reportType === 'pricefeedstatusreport')) { // these reports from hotel center, recent reports not supported\r\n const p$dfm = fetchDataForRecentReportsPage(serverContext, queryParam);\r\n setDFMCache(`getRecentReports${reportAction}${reportType}DFM`, p$dfm);\r\n }\r\n resolve();\r\n });\r\n } else if (loadingPath.includes('/campaign/vnext/reports-v4/edit')) {\r\n let fetchTaskItemCall;\r\n let fetchDataForRecentReportsPageCall;\r\n let fetchInsertionOrdersCall;\r\n const isInternalUser = serverContext.CurrentUser.IsInternal;\r\n const isInsertionOrderReportEnabled = serverContext.DynamicPermissions.InsertionOrderReport;\r\n import(/* webpackChunkName: \"reports-v4-page-dfm\" */'./fetch-reports-v4-page-data')\r\n .then(({ fetchTaskItem, fetchDataForRecentReportsPage, fetchInsertionOrders }) => {\r\n fetchTaskItemCall = fetchTaskItem;\r\n fetchDataForRecentReportsPageCall = fetchDataForRecentReportsPage;\r\n fetchInsertionOrdersCall = fetchInsertionOrders;\r\n const taskItem = isInternalUser ?\r\n fetchTaskItemCall(serverContext, queryParam, true) :\r\n fetchTaskItemCall(serverContext, queryParam)\r\n .catch((err) => { // eslint-disable-line consistent-return\r\n if (err.status === 400) {\r\n const body = err.responseJSON;\r\n if (get(body, 'value[0].Code') === 'InvalidId') {\r\n // retry with user's parent cid\r\n return fetchTaskItemCall(serverContext, queryParam, true);\r\n }\r\n }\r\n });\r\n return taskItem;\r\n })\r\n .catch(() => {\r\n // reject the promise\r\n reject();\r\n })\r\n .then((taskItem) => {\r\n if (taskItem) {\r\n const [, reportAction, reportId] = location.pathname.match(/\\/(edit|create)\\/(.*)/);\r\n const p$dfm = fetchDataForRecentReportsPageCall(serverContext, queryParam, taskItem);\r\n setDFMCache(`getRecentReports${reportAction}${reportId}DFM`, p$dfm);\r\n if (isInsertionOrderReportEnabled && taskItem.ReportType === 'InsertionOrderReport') {\r\n fetchInsertionOrdersCall(serverContext, queryParam);\r\n }\r\n }\r\n resolve();\r\n });\r\n } else {\r\n resolve();\r\n }\r\n });\r\n}\r\n","import { WaterfallFilterStorage,\r\n WaterfallFilterType,\r\n waterfallDateFilterProcessor } from '@bingads-webui-campaign/filter-storage';\r\n\r\n/* eslint-disable import/extensions */\r\n\r\n/* eslint-disable import/no-unresolved */\r\nimport edm from '@bingads-webui-component-legacy/edm-campaign/index';\r\nimport jsdata from '@bingads-webui-component-legacy/js-data-campaign/index';\r\nimport dateUtil from '@bingads-webui-component-legacy/humanize/date';\r\nimport preferences from '@bingads-webui-component-legacy/preference/service/index';\r\nimport _ from 'underscore';\r\nimport instrumentationSettings from '@bingads-webui-static-legacy/instrumentation/campaignSchemaAndSetting';\r\nimport instrumentation from '@bingads-webui-static-legacy/instrumentation/index';\r\nimport { fetchMCCOverviewRecommendations } from '@bingads-webui-campaign-legacy/dashboard-cards/tips-card/data-fetch';\r\nimport constants from '@bingads-webui-static-legacy/instrumentation/constants';\r\nimport { getViewportCardCount, CardState } from '@bingads-webui-campaign/overview-panel';\r\nimport { fetchMCCOverview, AccountsMode } from '@bingads-webui-campaign/overview-cards-common';\r\n\r\nconst cardsConfig = import(/* webpackMode: \"eager\" */'../webpack-helper-files/cards-config');\r\n\r\nexport function fetchDataForAccountsOverview(serverContext, resolve, preferenceService, loadingPath) {\r\n const permissions = {\r\n ...serverContext.Permissions,\r\n dynamic: serverContext.DynamicPermissions || {},\r\n };\r\n\r\n const waterfallFilterStorage = new WaterfallFilterStorage({\r\n preferenceService,\r\n });\r\n let accountsMode = AccountsMode.Expert;\r\n\r\n if (permissions.dynamic.UnifiedProductPhase2) {\r\n if (loadingPath === '/campaign/vnext/accounts/overview/smart') {\r\n accountsMode = AccountsMode.Smart;\r\n } else if (loadingPath === '/campaign/vnext/accounts/overview') {\r\n const preferenceData = preferenceService.findByNameAtUserLevel('AccountsOverviewAccountMode');\r\n\r\n if ((preferenceData && preferenceData.Data === 'smart') || serverContext.CurrentCustomer.HasExpertAccount === false) {\r\n accountsMode = AccountsMode.Smart;\r\n }\r\n }\r\n }\r\n\r\n Promise.all([cardsConfig]).then((modules) => {\r\n const cardState = new CardState({\r\n navigationLevel: 'customer',\r\n preferences,\r\n edm,\r\n instrumentationSettings,\r\n instrumentation,\r\n constants,\r\n permissions,\r\n accountsMode,\r\n newCardsConfig: modules[0].getCardsConfig,\r\n });\r\n\r\n cardState.fetch().then(() => {\r\n fetchMCCOverview({\r\n entitySet: edm.currentCustomer.Accounts,\r\n dateRange: waterfallDateFilterProcessor(\r\n waterfallFilterStorage.getFilters([WaterfallFilterType.DateFilter]),\r\n serverContext\r\n ),\r\n jsdata,\r\n dateUtil,\r\n getCardsConfig: () => cardState.cards,\r\n instrumentation,\r\n constants,\r\n AccountsOverviewPrefetchQuery: serverContext.AccountsOverviewPrefetchQuery,\r\n isPreFetch: true,\r\n permissions,\r\n accountsMode,\r\n });\r\n const viewportCardCount = getViewportCardCount({\r\n config: cardState.config,\r\n cards: cardState.cards,\r\n instrumentation,\r\n constants,\r\n isMccLevel: true,\r\n });\r\n const viewPortCards = _.first(cardState.cards, viewportCardCount);\r\n const needsTipsAndOpportunitiesData = _.findIndex(viewPortCards, card => card.id === 'CardType-Tips') !== -1;\r\n\r\n if (needsTipsAndOpportunitiesData) {\r\n fetchMCCOverviewRecommendations({\r\n entitySet: edm.currentCustomer.Accounts,\r\n });\r\n }\r\n\r\n resolve({ Page: 'AccountsOverview' });\r\n });\r\n });\r\n}\r\n","import * as instrumentation from '@bingads-webui-campaign-legacy/instrumentation/index';\r\nimport { getDataSource } from '@bingads-webui-campaign/ad-groups-data';\r\n\r\nexport function fetchDataForAdGroups({\r\n resolve,\r\n queryParam,\r\n preferenceService,\r\n}) {\r\n const {\r\n uid, cid, aid, campaignId,\r\n } = queryParam.values;\r\n const scope = {\r\n values: {\r\n uid, cid, aid, campaignId,\r\n },\r\n };\r\n\r\n instrumentation.default.addScenario({\r\n scenario: [\r\n {\r\n name: 'adGroupsGridDataPrefetch',\r\n value: 'AdGroupsGridDataPrefetch',\r\n activity: [\r\n {\r\n name: 'dataQueryBuilder',\r\n value: 'DataQueryBuilder',\r\n },\r\n ],\r\n },\r\n ],\r\n });\r\n\r\n const logActivity = instrumentation\r\n .default\r\n .adGroupsGridDataPrefetch\r\n .create()\r\n .dataQueryBuilder\r\n .create();\r\n\r\n const tempDataSource = getDataSource({\r\n scope,\r\n logActivity,\r\n preferenceService,\r\n });\r\n\r\n const { dataSource } = tempDataSource;\r\n\r\n const p$dfm = dataSource.query({}, {}, resolve, true);\r\n\r\n return { dataSource, p$dfm };\r\n}\r\n","import * as instrumentation from '@bingads-webui-campaign-legacy/instrumentation/index';\r\nimport { getDataSource } from '@bingads-webui-campaign/ads-data';\r\n\r\nexport function fetchDataForAds({\r\n resolve,\r\n queryParam,\r\n preferenceService,\r\n}) {\r\n const {\r\n uid, cid, aid, campaignId, adGroupId,\r\n } = queryParam.values;\r\n const scope = {\r\n values: {\r\n uid, cid, aid, campaignId, adGroupId,\r\n },\r\n };\r\n\r\n instrumentation.default.addScenario({\r\n scenario: [\r\n {\r\n name: 'adGridDataPrefetch',\r\n value: 'AdGridDataPrefetch',\r\n activity: [\r\n {\r\n name: 'dataQueryBuilder',\r\n value: 'DataQueryBuilder',\r\n },\r\n ],\r\n },\r\n ],\r\n });\r\n\r\n const logActivity = instrumentation\r\n .default\r\n .adGridDataPrefetch\r\n .create()\r\n .dataQueryBuilder\r\n .create();\r\n\r\n const tempDataSource = getDataSource({\r\n scope,\r\n logActivity,\r\n preferenceService,\r\n });\r\n\r\n const { dataSource } = tempDataSource;\r\n\r\n const p$dfm = dataSource.query({}, {}, resolve, true);\r\n\r\n return { dataSource, p$dfm };\r\n}\r\n","import { getAccountPermission } from '@bingads-webui-clientcenter/repository-utils';\r\nimport jsData from '@bingads-webui-component-legacy/js-data-campaign/index';\r\nimport { AccountUtils, Constants } from '@bingads-webui-clientcenter/entity-utils';\r\nimport { fromLegacyTimeZone, toIANATimeZone } from '@bingads-webui-universal/time-zone-converter';\r\nimport { initCcJsData } from '../global-init/init-cc-js-data';\r\n\r\nconst { SecurityAction, PaymentOption, AccountMode } = Constants;\r\nconst { extendAccount } = AccountUtils;\r\nconst securityActions = [\r\n SecurityAction.CampaignManagementFullControl,\r\n SecurityAction.ForceBilling,\r\n SecurityAction.AccountUpdate,\r\n];\r\nconst CAMPAIGN_PAGE_SIZE = 10000;\r\nconst defaultCampaignBudgetSummaryGridPageSize = 10;\r\nconst defaultCampaignBudgetSummaryGridPageNumber = 1;\r\n\r\nexport function fetchDataForBudgetCenter({\r\n serverContext,\r\n queryParam,\r\n}) {\r\n const { jsDataCcRest: ccJsData } = initCcJsData({ serverContext });\r\n const { cid: cidString, aid: aidString, campaignId: campaignIdString } = queryParam.values;\r\n const cid = Number(cidString);\r\n const aid = Number(aidString);\r\n const campaignId = Number(campaignIdString);\r\n const account = extendAccount({\r\n ...serverContext.CurrentAccount,\r\n CurrencyType: serverContext.CurrentAccount.CurrencyCode, // match CCUI AccountSerializationProxy\r\n });\r\n const isValidAccountId = aid > 0 && account.hasPaymentOption() && (account.AccountMode === AccountMode.Legacy || account.AccountMode === AccountMode.Expert);\r\n\r\n if (!isValidAccountId) {\r\n return;\r\n }\r\n\r\n const isAccountScope = (aid > 0) && !(campaignId > 0);\r\n const budgetInsightsAndAlertsId = `AID${aid}_CampaignID${campaignId || ''}`;\r\n const ioAuthzId = `CID${cid}_AID${aid}`;\r\n\r\n getAccountPermission(ccJsData, { accountId: aid, securityActions });\r\n ccJsData.BudgetInsightsAndAlerts.find(budgetInsightsAndAlertsId, { params: { aid, campaignId } });\r\n jsData.Campaign.findAll({\r\n query: {\r\n $select: 'Id, Name, DeliveryStatus',\r\n $skip: 0,\r\n $top: CAMPAIGN_PAGE_SIZE,\r\n $orderby: 'Name asc',\r\n },\r\n });\r\n\r\n if (account.hasOneOfPaymentOptions([PaymentOption.Invoice])) {\r\n ccJsData.InsertionOrderPermission.find(ioAuthzId, { params: { cid, aid } });\r\n }\r\n\r\n if (account.TimeZone) {\r\n const timeZone = toIANATimeZone(fromLegacyTimeZone(account.TimeZone));\r\n const formatter = new Intl.DateTimeFormat( // StandardDateFormat M/d/yyyy\r\n 'en-US',\r\n {\r\n timeZone,\r\n year: 'numeric',\r\n month: 'numeric',\r\n day: 'numeric',\r\n }\r\n );\r\n const monthKeyString = formatter.format(new Date());\r\n const accountInfoDataId = `AID${aid}_MonthKey${monthKeyString}`;\r\n const campaignInfoDataId = `AID${aid}_CampaignID${campaignId}_MonthKey${monthKeyString}`;\r\n\r\n if (monthKeyString) {\r\n if (isAccountScope) {\r\n ccJsData.AccountBudgetCenterInformation.find(accountInfoDataId, { params: { aid, monthKey: monthKeyString } });\r\n ccJsData.CampaignBudgetSummaryGrid.findAll({\r\n aid,\r\n monthKey: monthKeyString,\r\n limit: defaultCampaignBudgetSummaryGridPageSize,\r\n offset: (defaultCampaignBudgetSummaryGridPageNumber - 1) * defaultCampaignBudgetSummaryGridPageSize,\r\n });\r\n } else {\r\n ccJsData.CampaignBudgetCenterInformation.find(campaignInfoDataId, { params: { aid, campaignId, monthKey: monthKeyString } });\r\n }\r\n }\r\n }\r\n}\r\n","/* eslint-disable import/no-named-as-default-member */\r\nimport { getDataSourceWithInjection } from '@bingads-webui-campaign/campaigns-data';\r\nimport _ from 'underscore';\r\n/* eslint-disable import/extensions */\r\n\r\n/* eslint-disable import/no-unresolved */\r\nimport legacyPreferenceService from '@bingads-webui-component-legacy/preference/service/index';\r\nimport instrumentation from '@bingads-webui-campaign-legacy/instrumentation/index';\r\nimport { getColumnsMap, getBaseColumnsByType } from '@bingads-webui-campaign-legacy/campaigns-tab-campaigns/grid/columns-config-base';\r\nimport jsData from '@bingads-webui-component-legacy/js-data-campaign/index';\r\nimport edm from '@bingads-webui-component-legacy/edm-campaign/index';\r\nimport * as ColumnChooserPreference from '@bingads-webui-component-legacy/bingads-grid/service/column-chooser-preferences';\r\nimport * as customColumnPreference from '@bingads-webui-component-legacy/bingads-grid/service/custom-column-preferences';\r\nimport * as SegmentationPreference from '@bingads-webui-component-legacy/bingads-grid/service/segmentation-preferences';\r\nimport * as fetchPagination from '@bingads-webui-component-legacy/bingads-grid/service/fetch-pagination';\r\nimport dateUtil from '@bingads-webui-component-legacy/humanize/date';\r\nimport state from '@bingads-webui-component-legacy/state/index';\r\nimport { fetchSortInfo } from '@bingads-webui-component-legacy/bingads-grid/service/fetch-sortinfo';\r\nimport logger from '@bingads-webui-static-legacy/instrumentation/index';\r\nimport appConfig from '@bingads-webui-component-legacy/config/index';\r\nimport sessionStore from '@bingads-webui-component-legacy/js-data-storage/session-storage';\r\nimport { getFilters } from '@bingads-webui-component-legacy/bingads-grid/service/filter-preferences';\r\nimport cacheService from '@bingads-webui-static-legacy/cache-service';\r\nimport dataContextManager from '@bingads-webui-static-legacy/summary/SummaryDataContextManager';\r\n\r\nexport function fetchDataForCampaigns({\r\n serverContext,\r\n preferenceService,\r\n newI18n,\r\n resolve,\r\n}) {\r\n const scope = {\r\n values: {\r\n uid: serverContext.CurrentUser.Id,\r\n cid: serverContext.CurrentCustomer.Id,\r\n aid: serverContext.CurrentAccount.Id,\r\n },\r\n };\r\n\r\n instrumentation.addScenario({\r\n scenario: [\r\n {\r\n name: 'campaignGridDataPrefetch',\r\n value: 'CampaignGridDataPrefetch',\r\n activity: [\r\n {\r\n name: 'dataQueryBuilder',\r\n value: 'DataQueryBuilder',\r\n },\r\n ],\r\n },\r\n ],\r\n });\r\n\r\n const logActivity = instrumentation.campaignGridDataPrefetch\r\n .create()\r\n .dataQueryBuilder\r\n .create();\r\n\r\n // Seems this i18n isn't used anyways\r\n const stub = () => '';\r\n const stubI18n = {\r\n parseInt: stub,\r\n get: stub,\r\n getString: stub,\r\n type: stub,\r\n property: stub,\r\n value: stub,\r\n enum: stub,\r\n // deprecated\r\n enumMappedString: stub,\r\n valueDescription: stub,\r\n enumDescription: stub,\r\n };\r\n\r\n if (serverContext.Permissions.IsOptimizationScoreInCampaignsGridEnabled === true) {\r\n legacyPreferenceService.initialize();\r\n let optimizationScoreInCampaignsGridDefaultOn = legacyPreferenceService.findByName('OptimizationScoreInCampaignsGridDefaultOn');\r\n if (!optimizationScoreInCampaignsGridDefaultOn || !optimizationScoreInCampaignsGridDefaultOn.Data || !optimizationScoreInCampaignsGridDefaultOn.Data.appended2Column) {\r\n optimizationScoreInCampaignsGridDefaultOn = {\r\n Name: 'OptimizationScoreInCampaignsGridDefaultOn',\r\n Data: { appended2Column: true },\r\n };\r\n preferenceService.setAtAccountLevel(optimizationScoreInCampaignsGridDefaultOn);\r\n const campaignsGridCustomColumn = legacyPreferenceService.findByName('WebApp.CampaignUI.Columns.summary_tab_campaign.Custom');\r\n if (campaignsGridCustomColumn && _.indexOf(campaignsGridCustomColumn.Data, 'OptimizationScore') === -1) {\r\n let index = _.indexOf(campaignsGridCustomColumn.Data, 'DeliveryStatus');\r\n if (index === -1) index = _.indexOf(campaignsGridCustomColumn.Data, 'Budget');\r\n if (index === -1) index = _.indexOf(campaignsGridCustomColumn.Data, 'Name');\r\n if (index !== -1) {\r\n campaignsGridCustomColumn.Data.splice(index + 1, 0, 'OptimizationScore');\r\n legacyPreferenceService.setAtAccountLevel(campaignsGridCustomColumn);\r\n }\r\n }\r\n }\r\n }\r\n\r\n const dataSourceWithInjection = getDataSourceWithInjection({\r\n gridName: null,\r\n logActivity,\r\n preferenceService,\r\n newI18n,\r\n serverContext,\r\n jsData,\r\n edm,\r\n ColumnChooserPreference,\r\n customColumnPreference,\r\n SegmentationPreference,\r\n fetchPagination,\r\n dateUtil,\r\n state,\r\n fetchSortInfo,\r\n getColumnsMap,\r\n getBaseColumnsByType,\r\n logger,\r\n appConfig,\r\n i18n: stubI18n,\r\n sessionStore,\r\n preferenceStoreFactory: getFilters,\r\n legacyGlobalI18n: stubI18n,\r\n schemaI18nCampaign: stubI18n,\r\n cacheService,\r\n dataContextManager,\r\n scope,\r\n });\r\n\r\n const { CampaignFilterImprovementEnabled } = serverContext.DynamicPermissions;\r\n const dataSource = CampaignFilterImprovementEnabled ? dataSourceWithInjection.dataSource : dataSourceWithInjection;\r\n const p$dfm = dataSource.query({}, {}, resolve, true);\r\n\r\n return { dataSource, p$dfm };\r\n}\r\n","import edm from '@bingads-webui-component-legacy/edm-campaign/index';\r\nimport state from '@bingads-webui-component-legacy/state/index';\r\nimport dateUtil from '@bingads-webui-component-legacy/humanize/date';\r\nimport _ from 'underscore';\r\nimport constants from '@bingads-webui-static-legacy/instrumentation/constants';\r\nimport { cardPerformanceId, cardRecommendationsId, cardDeviceId, cardTopAccountsId, cardTopChangesAccountId } from '@bingads-webui-campaign/fluent-page-consts';\r\n\r\nexport function fetchDataForAccountsOverview({\r\n serverContext,\r\n resolve,\r\n reject,\r\n}) {\r\n Promise.all([\r\n import(/* webpackMode: 'eager' */ '@bingads-webui-campaign/overview-panel'),\r\n import(/* webpackMode: 'eager' */ '@bingads-webui-campaign/fluent-page-data'),\r\n import(/* webpackMode: 'eager' */ '@bingads-webui-campaign/overview-cards-common'),\r\n import(/* webpackMode: 'eager' */ '@bingads-webui-campaign-legacy/dashboard-cards/tips-card/data-fetch'),\r\n import(/* webpackMode: 'eager' */ '@bingads-webui-component-legacy/preference/service/index'),\r\n import(/* webpackMode: 'eager' */ '@bingads-webui-static-legacy/instrumentation/index'),\r\n import(/* webpackMode: 'eager' */ '@bingads-webui-component-legacy/js-data-campaign/index'),\r\n ])\r\n .then(([\r\n { DateFilterState },\r\n {\r\n getFluentCardsConfigs, getInitSelectedCardsConfig, getViewPortCardsCount, isInViewPort, getCardPreferenceOptionsForDfm,\r\n },\r\n { fetchAggregatedData },\r\n { fetchMCCOverviewRecommendations },\r\n { default: preference },\r\n { instrumentation },\r\n { default: jsdata },\r\n ]) => {\r\n preference\r\n .initialize()\r\n .then(() => {\r\n const permissions = {\r\n ...serverContext.Permissions || {},\r\n dynamic: serverContext.DynamicPermissions || {},\r\n };\r\n\r\n const p$DateRange = new DateFilterState({ state }).p$State;\r\n const cardsConfigs = getFluentCardsConfigs({ permissions });\r\n\r\n const selectedCardsConfig = getInitSelectedCardsConfig({\r\n preference,\r\n cardsConfigs,\r\n navigationLevel: 'customer',\r\n serverContext,\r\n isSDK: false,\r\n });\r\n\r\n const cardIds = _.map(selectedCardsConfig, 'typeId');\r\n const viewPortCardSize = getViewPortCardsCount(selectedCardsConfig);\r\n\r\n const getCardsConfig = () =>\r\n selectedCardsConfig.map(config =>\r\n getCardPreferenceOptionsForDfm({\r\n config,\r\n navigationLevel: 'customer',\r\n preference,\r\n permissions,\r\n }));\r\n\r\n window.FluentOverviewPageDataFetchManagerCardsConfigObject = {\r\n config: getCardsConfig(),\r\n viewPortCardSize,\r\n innerHeight: window.innerHeight,\r\n innerWidth: window.innerWidth,\r\n };\r\n\r\n const isPerformanceInViewPort = isInViewPort(cardIds, cardPerformanceId, viewPortCardSize);\r\n const isRecommendationInViewPort = isInViewPort(cardIds, cardRecommendationsId, viewPortCardSize);\r\n const isDeviceInViewPort = isInViewPort(cardIds, cardDeviceId, viewPortCardSize);\r\n const isTopAccountsInViewPort = isInViewPort(cardIds, cardTopAccountsId, viewPortCardSize);\r\n const isTopChangesAccountInViewPort = isInViewPort(cardIds, cardTopChangesAccountId, viewPortCardSize);\r\n\r\n // If no cards are in viewport, resolve and return\r\n if (!(isPerformanceInViewPort || isRecommendationInViewPort || isDeviceInViewPort || isTopAccountsInViewPort || isTopChangesAccountInViewPort)) {\r\n resolve();\r\n return;\r\n }\r\n\r\n edm.customerIdType.useAdvertiserCustomerId = false;\r\n const entitySet = edm.currentCustomer.Accounts;\r\n\r\n p$DateRange\r\n .then((dateRange) => {\r\n if (isPerformanceInViewPort || isDeviceInViewPort || isTopAccountsInViewPort || isTopChangesAccountInViewPort) {\r\n fetchAggregatedData({\r\n entitySet,\r\n navigationLevel: 'customer',\r\n dateRange,\r\n jsdata,\r\n dateUtil,\r\n getCardsConfig,\r\n instrumentation,\r\n constants,\r\n permissions,\r\n });\r\n }\r\n\r\n if (isRecommendationInViewPort) {\r\n fetchMCCOverviewRecommendations({\r\n entitySet: edm.currentCustomer.Accounts,\r\n });\r\n }\r\n\r\n resolve();\r\n })\r\n .catch((error) => {\r\n console.error('Error fetching date range:', error);\r\n reject(error);\r\n });\r\n }).catch((error) => {\r\n console.error('Error initializing preference service:', error);\r\n reject(error);\r\n });\r\n })\r\n .catch((error) => {\r\n console.error('Error loading modules:', error);\r\n reject(error);\r\n });\r\n}\r\n","export function fetchDataForFluentOverview({\r\n serverContext,\r\n preferenceService,\r\n resolve,\r\n reject,\r\n queryParam,\r\n}) {\r\n if (\r\n serverContext.WelcomeStatus &&\r\n serverContext.WelcomeStatus.ShowWelcomeTips\r\n ) {\r\n import(/* webpackMode: 'eager' */ '@bingads-webui-campaign-legacy/dashboard-page/dashboard/data-fetch-welcome')\r\n .then(({ fetchWelcomeTipData }) => {\r\n fetchWelcomeTipData();\r\n resolve();\r\n });\r\n } else {\r\n Promise.all([\r\n import(/* webpackMode: 'eager' */ '@bingads-webui-campaign/filter-storage'),\r\n import(/* webpackMode: 'eager' */ '@bingads-webui-campaign-react/shell-ui-common'),\r\n import(/* webpackMode: 'eager' */ '@bingads-webui-campaign/overview-panel'),\r\n import(/* webpackMode: 'eager' */ '@bingads-webui-campaign/fluent-page-data'),\r\n import(/* webpackMode: 'eager' */ '@bingads-webui-component-legacy/preference/service/index'),\r\n import(/* webpackMode: 'eager' */ '@bingads-webui-component-legacy/config/index'),\r\n import(/* webpackMode: 'eager' */ '@bingads-webui-campaign-legacy/instrumentation/index'),\r\n import(/* webpackMode: 'eager' */ '@bingads-webui-component-legacy/js-data-campaign/index'),\r\n ])\r\n .then(([\r\n { WaterfallFilterStorage, WaterfallFilterType },\r\n { getFilteredCampaignTypeFromWaterfallFilter },\r\n { DateFilterState },\r\n { fetchFluentOverviewTilesData },\r\n { default: preference },\r\n { default: legacyConfig },\r\n { default: featureInstrumentation },\r\n { default: jsdata },\r\n ]) => {\r\n const waterfallFilterStorage = new WaterfallFilterStorage({\r\n preferenceService,\r\n });\r\n\r\n const filter = waterfallFilterStorage.getFilters([\r\n WaterfallFilterType.CampaignType,\r\n WaterfallFilterType.CampaignStatus,\r\n WaterfallFilterType.AdGroupStatus,\r\n ]);\r\n\r\n const campaignType = getFilteredCampaignTypeFromWaterfallFilter(filter);\r\n\r\n preference\r\n .initialize()\r\n .then(() => {\r\n const permissions = {\r\n ...serverContext.Permissions,\r\n dynamic: serverContext.DynamicPermissions,\r\n };\r\n\r\n fetchFluentOverviewTilesData({\r\n serverContext,\r\n filter,\r\n campaignType,\r\n resolve,\r\n reject,\r\n DateFilterState,\r\n preference,\r\n queryParam,\r\n jsdata,\r\n permissions,\r\n legacyConfig,\r\n featureInstrumentation,\r\n });\r\n })\r\n .catch((error) => {\r\n console.error('Error initializing preference service:', error);\r\n reject(error);\r\n });\r\n })\r\n .catch((error) => {\r\n console.error('Error loading modules:', error);\r\n reject(error);\r\n });\r\n }\r\n}\r\n","const getCardsConfigs = () => {\r\n const cardsConfig = import(/* webpackMode: \"eager\" */'../webpack-helper-files/cards-config');\r\n return cardsConfig;\r\n};\r\n\r\nconst getWelcomeCardsConfig = () => {\r\n const cardsConfig = import(/* webpackMode: \"eager\" */'../webpack-helper-files/welcome-card-config');\r\n return cardsConfig;\r\n};\r\n\r\nexport function fetchDataForOverview(serverContext, preferenceService, resolve, reject) {\r\n if (serverContext.WelcomeStatus && serverContext.WelcomeStatus.ShowWelcomeTips) {\r\n import(/* webpackMode: 'eager' */'@bingads-webui-campaign-legacy/dashboard-page/dashboard/data-fetch-welcome').then(({ fetchWelcomeTipData }) => {\r\n fetchWelcomeTipData();\r\n resolve();\r\n });\r\n } else {\r\n import(/* webpackMode: 'eager' */'@bingads-webui-campaign-legacy/dashboard-page/dashboard/data-fetch-manager').then(({ fetchOverviewTilesData }) => {\r\n import(/* webpackMode: 'eager' */'@bingads-webui-campaign/filter-storage').then(({ WaterfallFilterStorage, WaterfallFilterType }) => {\r\n const waterfallFilterStorage = new WaterfallFilterStorage({\r\n preferenceService,\r\n });\r\n const filter = waterfallFilterStorage.getFilters([\r\n WaterfallFilterType.CampaignType,\r\n WaterfallFilterType.CampaignStatus,\r\n WaterfallFilterType.AdGroupStatus,\r\n ]);\r\n\r\n import(/* webpackMode: 'eager' */'@bingads-webui-campaign-react/shell-ui-common').then(({ getFilteredCampaignTypeFromWaterfallFilter }) => {\r\n const campaignType = getFilteredCampaignTypeFromWaterfallFilter(filter);\r\n\r\n import(/* webpackMode: 'eager' */'@bingads-webui-campaign/overview-panel').then(({ getViewportCardCount, DateFilterState, CardState }) => {\r\n Promise.all([getCardsConfigs(), getWelcomeCardsConfig()]).then((modules) => {\r\n fetchOverviewTilesData({\r\n filter,\r\n campaignType,\r\n resolve,\r\n reject,\r\n getViewportCardCount,\r\n DateFilterState,\r\n CardState,\r\n newCardsConfig: modules[0].getCardsConfig,\r\n welcomeCardsConfig: modules[1].welcomeCardConfig,\r\n });\r\n });\r\n });\r\n });\r\n });\r\n });\r\n }\r\n}\r\n","import { DataSourceStore } from '@bingads-webui-campaign/data-source-store';\r\nimport { connect } from '@bingads-webui-campaign/dqb-grid-datasource-connector';\r\nimport { QueryBuilderFactory } from '@bingads-webui-campaign/query-builder';\r\n/* eslint-disable */\r\nimport * as instrumentation from '@bingads-webui-campaign-legacy/instrumentation/index';\r\nimport logger from '@bingads-webui-static-legacy/instrumentation/index';\r\nimport _ from 'underscore';\r\n/* eslint-enable */\r\n\r\nexport function fetchDataForPerformance(serverContext, resolve, preferenceService) {\r\n import(/* webpackMode: 'eager' */'@bingads-webui-campaign-legacy/accounts-summary/data-fetch-config').then((dataFetchConfig) => {\r\n instrumentation.default.addScenario({\r\n scenario: [\r\n {\r\n name: 'accountsSummaryDataPrefetch',\r\n value: 'AccountsSummaryDataPrefetch',\r\n activity: [\r\n {\r\n name: 'dataQueryBuilder',\r\n value: 'DataQueryBuilder',\r\n },\r\n ],\r\n },\r\n ],\r\n });\r\n\r\n const logActivity = instrumentation\r\n .default\r\n .accountsSummaryDataPrefetch\r\n .create()\r\n .dataQueryBuilder\r\n .create();\r\n\r\n const currentHash = (window.location.hash || '').toLowerCase();\r\n const isLandingPage = currentHash.length === 0 || currentHash.indexOf('/campaign/vnext/accounts/performance') > 0;\r\n\r\n // If not landing page, resolve right away\r\n if (!isLandingPage) {\r\n resolve();\r\n }\r\n\r\n const config = dataFetchConfig.getConfig(preferenceService);\r\n const queryBuilderConfig = _.extend(config.queryBuilder, { logActivity });\r\n if (serverContext.CurrentCustomer.HasUnifiedSmartAccount) {\r\n queryBuilderConfig.commonConfig.featureName = 'SmartPerformanceGrid';\r\n }\r\n const { featureName } = queryBuilderConfig.commonConfig;\r\n const queryBuilder = QueryBuilderFactory.make(queryBuilderConfig);\r\n // Default page size has changed to 50 in new UI performance page, was 20 in old UI accounts summary page\r\n queryBuilder.getDecoratorByName('pagination').defaultPageSize = 50;\r\n // For Unified Product Phase 2, default grid type based on presence of UnifiedSmart accounts belonging to current customer\r\n if (serverContext.CurrentCustomer.HasUnifiedSmartAccount) {\r\n queryBuilder.getDecoratorByName('gridDataParameters').accountModes = ['Smart'];\r\n } else {\r\n queryBuilder.getDecoratorByName('gridDataParameters').accountModes = ['Expert'];\r\n }\r\n // Get right filter value from preferences\r\n const { filterService } = queryBuilder.getDecoratorByName('filter');\r\n\r\n let editableFilter = preferenceService.findByName(`editable-filter-storage-campaignwebui-${queryBuilderConfig.commonConfig.featureName}-undefined/EditableFilter`);\r\n editableFilter = editableFilter && editableFilter.Data ? editableFilter.Data : null;\r\n\r\n filterService.editableFilterStorage.save(editableFilter);\r\n\r\n const dataSource = connect(\r\n config.dataSource,\r\n queryBuilder,\r\n featureName,\r\n logger\r\n );\r\n\r\n // log to figure out defaultcolumns warmup cache error\r\n const { IsAvgPositionDeprecationPhase2Enabled, defaultColumns } = queryBuilder.getDecoratorByName('columnChooser');\r\n logger.logMessage([logger.constants.LOGCATEGORY.TRACE], logger.constants.LOGLEVEL.INFO, '/accounts/performance', `Default columns used in warmup query in fetch-performance-page.js: ${defaultColumns}, IsAvgPositionDeprecationPhase2Enabled: ${IsAvgPositionDeprecationPhase2Enabled}`);\r\n\r\n const { AccountSummaryFilterImprovementEnabled } = serverContext.DynamicPermissions;\r\n\r\n dataSource.query({}, {}, resolve);\r\n\r\n if (!AccountSummaryFilterImprovementEnabled) {\r\n DataSourceStore.set(featureName, dataSource);\r\n } else {\r\n const cacheableObjects = {\r\n dataSource,\r\n filterService: config.filterService,\r\n };\r\n\r\n DataSourceStore.set(featureName, cacheableObjects);\r\n }\r\n });\r\n}\r\n","import { fetchPmaxOverviewTabData } from '@bingads-webui-campaign-legacy/dashboard-page/dashboard/data-fetch-pmax-overview';\r\nimport { WaterfallFilterStorage, WaterfallFilterType } from '@bingads-webui-campaign/filter-storage';\r\n\r\nexport function fetchDataForPmaxOverview({\r\n preferenceService, serverContext, resolve, reject,\r\n}) {\r\n const waterfallFilterStorage = new WaterfallFilterStorage({\r\n preferenceService,\r\n });\r\n const filter = waterfallFilterStorage.getFilters([\r\n WaterfallFilterType.CampaignType,\r\n WaterfallFilterType.CampaignStatus,\r\n WaterfallFilterType.AdGroupStatus,\r\n ]);\r\n\r\n fetchPmaxOverviewTabData({\r\n filter, serverContext, preferenceService, resolve, reject,\r\n });\r\n}\r\n","import * as instrumentation from '@bingads-webui-campaign-legacy/instrumentation/index';\r\nimport { getDataSource } from '@bingads-webui-campaign/positive-keywords-data';\r\n\r\nexport function fetchDataForKeywords({\r\n resolve,\r\n queryParam,\r\n preferenceService,\r\n}) {\r\n const {\r\n uid, cid, aid, campaignId, adGroupId,\r\n } = queryParam.values;\r\n const scope = {\r\n values: {\r\n uid, cid, aid, campaignId, adGroupId,\r\n },\r\n };\r\n\r\n instrumentation.default.addScenario({\r\n scenario: [\r\n {\r\n name: 'positiveKeywordsGridDataPrefetch',\r\n value: 'PositiveKeywordsGridDataPrefetch',\r\n activity: [\r\n {\r\n name: 'dataQueryBuilder',\r\n value: 'DataQueryBuilder',\r\n },\r\n ],\r\n },\r\n ],\r\n });\r\n\r\n const logActivity = instrumentation\r\n .default\r\n .positiveKeywordsGridDataPrefetch\r\n .create()\r\n .dataQueryBuilder\r\n .create();\r\n\r\n const tempDataSource = getDataSource({\r\n scope,\r\n logActivity,\r\n preferenceService,\r\n });\r\n\r\n const { dataSource } = tempDataSource;\r\n\r\n const p$dfm = dataSource.query({}, {}, resolve, true);\r\n\r\n return { dataSource, p$dfm };\r\n}\r\n","import _ from 'underscore';\r\n\r\nfunction isDFMEnabledForOverview(serverContext, campaignType) {\r\n return (campaignType === 'PerformanceMax' && serverContext.DynamicPermissions.PMaxLite)\r\n || !(window.location.search.indexOf('campaignId') > -1);\r\n}\r\n\r\nfunction getDFMEnabledPaths(serverContext, campaignType) {\r\n const DFMEnabledPaths = _.compact([\r\n '/campaign/vnext/campaigns',\r\n // TODO: enable DFM for campaign scope\r\n isDFMEnabledForOverview(serverContext, campaignType) ? '/campaign/vnext/overview' : '',\r\n '/campaign/vnext/accounts/overview',\r\n '/campaign/vnext/accounts/overview/expert',\r\n '/campaign/vnext/accounts/overview/smart',\r\n '/campaign/vnext/accounts/performance',\r\n '/campaign/vnext/createcampaign/objective',\r\n '/campaign/vnext/createcampaign/searchshopping',\r\n '/campaign/vnext/create-campaign/msstoreads',\r\n '/campaign/vnext/createcampaign/audienceshopping',\r\n // TODO: will change recommendation related routing to lower case\r\n '/campaign/vnext/recommendations/All',\r\n '/campaign/vnext/recommendations/Repairs',\r\n '/campaign/vnext/recommendations/Bids',\r\n '/campaign/vnext/recommendations/Keywords',\r\n '/campaign/vnext/recommendations/Ads',\r\n '/campaign/vnext/recommendations/Dismissed',\r\n '/campaign/vnext/recommendations/all',\r\n '/campaign/vnext/recommendations/repairs',\r\n '/campaign/vnext/recommendations/bids',\r\n '/campaign/vnext/recommendations/keywords',\r\n '/campaign/vnext/recommendations/ads',\r\n '/campaign/vnext/recommendations/dismissed',\r\n '/campaign/vnext/accounts/recommendations/All',\r\n '/campaign/vnext/accounts/recommendations/all',\r\n '/campaign/vnext/accounts/recommendations/repairs',\r\n '/campaign/vnext/accounts/recommendations/bids',\r\n '/campaign/vnext/accounts/recommendations/keywords',\r\n '/campaign/vnext/accounts/recommendations/ads',\r\n '/campaign/vnext/accounts/recommendations/dismissed',\r\n '/campaign/vnext/reports-v4/default-reports',\r\n '/campaign/vnext/reports-v4/my-reports/customized',\r\n '/campaign/vnext/reports-v4/my-reports/shared',\r\n '/campaign/vnext/reports-v4/create',\r\n '/campaign/vnext/reports-v4/edit',\r\n '/campaign/vnext/ads',\r\n '/campaign/vnext/keywords',\r\n '/campaign/vnext/adgroups',\r\n '/campaign/vnext/extensions',\r\n '/campaign/vnext/budgetcenter',\r\n ]);\r\n return DFMEnabledPaths;\r\n}\r\n\r\nexport function isDFMEnabledForPath(path, serverContext, campaignType) {\r\n return _.some(getDFMEnabledPaths(serverContext, campaignType), DFMPath => path.includes(DFMPath));\r\n}\r\n","import { isSDK } from '@bingads-webui-campaign-react/sdk-utils';\r\n\r\nexport function redirectToLogin() {\r\n if (isSDK()) {\r\n const sdkLoginPagePath = `campaign/sdk?RURL=${encodeURIComponent(window.location.href)}&sdksignup=false`;\r\n window.location.href = `${window.location.protocol}//${window.location.host}/${sdkLoginPagePath}`;\r\n } else {\r\n window.location.href = `${window.location.protocol}//${window.location.host}/default.aspx?reason=1&msg=sessionexpired`;\r\n }\r\n}\r\n\r\nexport function handleAjaxAuthFailure(data, requestUrl) {\r\n if (data && data.Error === '401') {\r\n if (requestUrl && requestUrl.indexOf(window.location.host) > -1) {\r\n redirectToLogin();\r\n return false;\r\n }\r\n }\r\n return true;\r\n}\r\n","/* eslint-disable no-console */\r\n\r\nimport _ from 'underscore';\r\nimport $ from 'jquery';\r\nimport ko from 'knockout';\r\nimport { TokenInfoFetcher } from '@bingads-webui/token-info-fetcher';\r\nimport { keepAliveInstance } from '@bingads-webui/keep-alive';\r\nimport { AutoRefreshToken } from '@bingads-webui/auto-refresh-token';\r\nimport componentConfigImport from '@bingads-webui-component-legacy/config/index';\r\nimport PageContext from '@bingads-webui-static-legacy/page-context';\r\nimport { versionCheckInstance } from '@bingads-webui-campaign/version-check';\r\nimport { PageReady } from '@bingads-webui/page-ready';\r\nimport { setupQualtricsWithData } from '@bingads-webui-campaign/qualtrics';\r\nimport { setupClarity } from '@bingads-webui-universal/clarity';\r\nimport { PerfMarkerFactory } from '@bingads-webui/performance-marker';\r\nimport { PreferenceService } from '@bingads-webui/preference-service';\r\nimport { GetJsDataInfo } from '@bingads-webui-clientcenter/js-data-cc-rest-base';\r\nimport { isSDK } from '@bingads-webui-campaign-react/sdk-utils';\r\nimport { redirectToLogin } from './constants';\r\nimport { initPDL } from './omniture';\r\nimport { initWalkMe } from './walk-me';\r\n\r\nconst PROD_CLARITY_ID = '4jwlwd615c';\r\nconst TEST_CLARITY_ID = '6vo4jbalnn';\r\n\r\nconst CookieConsentActivityName = 'wcp-consent';\r\n\r\nfunction getJsData(serverContext) {\r\n const cid = _.chain(serverContext).result('CurrentCustomer').result('Id').value();\r\n const uid = _.chain(serverContext).result('CurrentUser').result('Id').value();\r\n const clientCenterBaseUrl = _.chain(serverContext).result('ServicesEndpoints').result('ClientCenterUIAPI').value();\r\n\r\n const options = {\r\n cidFetcher: () => cid,\r\n uidFetcher: () => uid,\r\n appendErrorSummary: _.noop,\r\n handleAjaxAuthFailure: _.noop,\r\n willSupportCors: true,\r\n };\r\n\r\n return GetJsDataInfo(options, clientCenterBaseUrl, []).jsDataCcRest;\r\n}\r\n\r\nfunction initOCVSurvey(serverContext, appActivity) {\r\n const activityName = 'survey-management';\r\n const isEnhancedSurveyTriggerConditionEnabled = _.result(serverContext, ['DynamicPermissions', 'EnhancedSurveyTriggerCondition']);\r\n\r\n const appPerfMarker = PerfMarkerFactory.createMarker('Survey_Management');\r\n appPerfMarker.willInit();\r\n const tokenFetchPerfMarker = appPerfMarker.createChild('Token_Fetch');\r\n tokenFetchPerfMarker.willInit();\r\n\r\n import(/* webpackMode: 'eager' */'@bingads-webui-campaign-react/survey-manager').then(({ setupSurveyManager }) => {\r\n const ccBaseUrl = _.chain(serverContext).result('Urls').result('ClientCenterBaseUrl').value();\r\n const IsAADUser = _.chain(serverContext).result('IsAADUser').value();\r\n const sessionId = _.chain(serverContext).result('Omniture').result('SessionId').value();\r\n const uid = _.chain(serverContext).result('CurrentUser').result('Id').value();\r\n const tokenInfoFetcher = new TokenInfoFetcher({\r\n ccBaseUrl,\r\n IsAADUser,\r\n sessionId,\r\n appActivity,\r\n shouldDoAjaxCall: true,\r\n activityName,\r\n });\r\n const ccJsData = getJsData(serverContext);\r\n\r\n const fetchTokenInfo = () => new Promise((resolve, reject) => (\r\n tokenInfoFetcher.getTokenInfo()\r\n .then((tokenInfo) => {\r\n tokenFetchPerfMarker.done();\r\n return resolve(tokenInfo);\r\n })\r\n .catch((error) => {\r\n tokenFetchPerfMarker.done();\r\n return reject(error);\r\n })\r\n ));\r\n\r\n const shouldFetchUser = isEnhancedSurveyTriggerConditionEnabled && !_.result(serverContext, ['CurrentUser', 'CreatedDateTime']);\r\n\r\n Promise.all([\r\n fetchTokenInfo(),\r\n shouldFetchUser ? ccJsData.User.find(uid) : Promise.resolve({}),\r\n ])\r\n .then(([tokenInfo, userData]) => {\r\n const { CreatedDateTime } = userData || {};\r\n const clonedServerContext = _.clone(serverContext);\r\n if (CreatedDateTime && _.isString(CreatedDateTime) && clonedServerContext && clonedServerContext.CurrentUser) {\r\n clonedServerContext.CurrentUser.FetchedCreatedDateTime = CreatedDateTime;\r\n if (shouldFetchUser) {\r\n clonedServerContext.CurrentUser.CreatedDateTime = CreatedDateTime;\r\n }\r\n }\r\n\r\n const initSurveyManagerPerfMarker = appPerfMarker.createChild('Init_Survey_Manager');\r\n initSurveyManagerPerfMarker.willInit();\r\n setupSurveyManager({\r\n i18n: window.globalLegacyI18n.main,\r\n PageContext,\r\n serverContext: clonedServerContext,\r\n PreferenceService,\r\n tokenInfo,\r\n appActivity,\r\n activityName,\r\n appPerfMarker,\r\n });\r\n window.survey.surveyManager.trigger();\r\n initSurveyManagerPerfMarker.done();\r\n })\r\n .catch((error) => {\r\n if (appActivity) {\r\n appActivity.trace(`OCV survey initialization promise failed ${JSON.stringify(error)}`, activityName);\r\n }\r\n });\r\n });\r\n}\r\n\r\nexport function initGlobalService(serverContext = {}, appActivity = {}) {\r\n try {\r\n // start keep alive\r\n keepAliveInstance.unAuthCallBack = () => redirectToLogin();\r\n keepAliveInstance.start();\r\n\r\n // knockout config\r\n // below override is needed as we don't want ko.cleanNode to clean event bindings\r\n // this is a compatibility patch when we upgrade jquery to 1.9.1\r\n ko.utils.domNodeDisposal.cleanExternalData = () => {}; // eslint-disable-line no-param-reassign\r\n\r\n // start version check\r\n versionCheckInstance.version = serverContext.Version;\r\n versionCheckInstance.start();\r\n\r\n // init an empty function to avoid customer click the help icon\r\n // before the apex loading is ready\r\n window.PopupController = { PopupJsClick: () => {} };\r\n\r\n PageReady.afterPageReady().then(() => {\r\n initWalkMe(serverContext);\r\n setupQualtricsWithData(serverContext, {\r\n PreferenceService,\r\n enableIframeCommunication: true,\r\n appActivity,\r\n });\r\n\r\n if (!isSDK()) {\r\n initOCVSurvey(serverContext, appActivity);\r\n }\r\n\r\n const init1DSAnalytics = () => {\r\n const scriptUrl = 'https://js.monitor.azure.com/scripts/c/ms.analytics-web-3.min.js';\r\n\r\n if (!_.isFunction($.ajax)) {\r\n return new Promise();\r\n }\r\n\r\n return new Promise((resolve) => {\r\n $.ajax({\r\n url: scriptUrl,\r\n dataType: 'script',\r\n crossOrigin: true,\r\n credentials: 'omit',\r\n }).always(() => resolve());\r\n });\r\n };\r\n\r\n const initAdobeTracking = () => {\r\n const trackingScriptUrl = _.chain(serverContext).result('ThirdPartConfig').result('AdobeTrackingScriptUrl', undefined).value();\r\n if (!_.isUndefined(trackingScriptUrl) && _.isFunction($.ajax)) {\r\n $.ajax({\r\n url: trackingScriptUrl,\r\n dataType: 'script',\r\n crossOrigin: true,\r\n credentials: 'omit',\r\n success: () => initPDL(serverContext),\r\n });\r\n }\r\n };\r\n\r\n const initAmplifyTracking = () => {\r\n const amplifyTrackingScriptUrl = _.chain(serverContext).result('AmplifyTrackingScriptUrl', undefined).value();\r\n if (!_.isUndefined(amplifyTrackingScriptUrl) && _.isFunction($.ajax)) {\r\n $.ajax({\r\n url: amplifyTrackingScriptUrl,\r\n dataType: 'script',\r\n crossOrigin: true,\r\n credentials: 'omit',\r\n });\r\n }\r\n };\r\n\r\n const initClarity = () => {\r\n setupClarity(\r\n serverContext.IsProdEnv ? PROD_CLARITY_ID : TEST_CLARITY_ID,\r\n {\r\n customerId: serverContext.CurrentCustomer.Id.toString(),\r\n accountId: serverContext.CurrentAccount\r\n && serverContext.CurrentAccount.Id\r\n && serverContext.CurrentAccount.Id.toString(),\r\n SessionId: serverContext.Omniture.SessionId,\r\n PageTrackingId: serverContext.PageTrackingId,\r\n },\r\n serverContext.CurrentUser.Id.toString(),\r\n serverContext.Omniture.SessionId,\r\n serverContext.PageTrackingId\r\n );\r\n };\r\n\r\n const script = document.createElement('script');\r\n script.src = 'https://wcpstatic.microsoft.com/mscc/lib/v2/wcp-consent.js';\r\n script.async = true;\r\n script.onload = () => {\r\n // Init WcpConsent before in init clarity\r\n // cookie-banner will be hidden after user sign in, we only use this element to init WCP\r\n // we depend on CCUI page to show cookie banner to users\r\n if (window.WcpConsent) {\r\n appActivity.trace('WcpConsent: initialize start', CookieConsentActivityName);\r\n window.WcpConsent.init(serverContext.CurrentLocale, 'cookie-banner', (err, _siteConsent) => {\r\n appActivity.trace('WcpConsent: initialize complete', CookieConsentActivityName);\r\n if (!err) {\r\n window.siteConsent = _siteConsent;\r\n appActivity.trace('WcpConsent: initialize succeed', CookieConsentActivityName);\r\n\r\n if (!window.WcpConsent\r\n || !window.WcpConsent.siteConsent\r\n || !window.WcpConsent.siteConsent.onConsentChanged\r\n || !window.WcpConsent.siteConsent.getConsent\r\n ) {\r\n if (appActivity && appActivity.error) {\r\n appActivity.error('WcpConsent: WcpConsent component is not initialized. Cannot read user cookie consent info');\r\n }\r\n return;\r\n }\r\n\r\n appActivity.trace('WcpConsent: read cookie consent value to see if we can init clarity', CookieConsentActivityName);\r\n\r\n const initAnalytics = ({ Analytics, Advertising }) => {\r\n if (Analytics) {\r\n init1DSAnalytics()\r\n .then(() => initAdobeTracking());\r\n\r\n initAmplifyTracking();\r\n\r\n if (Advertising) {\r\n initClarity();\r\n }\r\n }\r\n };\r\n\r\n const currentConsent = window.WcpConsent.siteConsent.getConsent();\r\n\r\n if (currentConsent.Analytics) {\r\n initAnalytics(currentConsent);\r\n } else {\r\n window.WcpConsent.siteConsent.onConsentChanged(initAnalytics);\r\n }\r\n } else {\r\n appActivity.error(`WcpConsent: initialize error: ${err}`);\r\n }\r\n });\r\n } else {\r\n appActivity.trace('WcpConsent: wcp-consent.js script has not been loaded yet', CookieConsentActivityName);\r\n }\r\n };\r\n script.onerror = () => {\r\n // ad blocker might block this script, so we only log trace here.\r\n appActivity.trace('WcpConsent: WcpConsent script didn\\'t load correctly.');\r\n };\r\n\r\n document.head.appendChild(script);\r\n\r\n const autoRefreshTokenInstance = new AutoRefreshToken({\r\n serverContext,\r\n PageContext,\r\n config: componentConfigImport,\r\n appActivity,\r\n });\r\n\r\n autoRefreshTokenInstance.start();\r\n });\r\n } catch (e) {\r\n console.error(`init global service raise exception ${e}`);\r\n appActivity.trace(`init global service raise exception ${e}`);\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport { scopeStore } from '@bingads-webui-campaign/global-context-store';\r\n\r\n/* eslint-disable no-underscore-dangle */\r\nexport function initPDL(serverContext) { // adobe tracking script will use window._PDL to provide info\r\n window._PDL = window._PDL || {};\r\n window._PDL.market = _.result(serverContext.Omniture, 'Market');\r\n window._PDL.pageName = _.result(serverContext.Omniture, 'PageNamePDL');\r\n window._PDL.navLevel1 = _.result(serverContext.Omniture, 'NavLevel1');\r\n window._PDL.navLevel2 = _.result(serverContext.Omniture, 'NavLevel2');\r\n window._PDL.accountNumber = _.result(serverContext.Omniture, 'CurrentAccountNumber');\r\n window._PDL.customerID = _.result(serverContext.Omniture, 'CustomerID');\r\n window._PDL.userID = _.result(serverContext.Omniture, 'UserID');\r\n window._PDL.serverName = _.result(serverContext.Omniture, 'ServerName');\r\n const permissions = _.chain(serverContext.Permissions)\r\n .pairs()\r\n .map(item => (item[1] ? item[0] : null))\r\n .compact()\r\n .value();\r\n\r\n const dynamicPermissions = _.chain(serverContext.DynamicPermissions)\r\n .pairs()\r\n .map(item => (item[1] ? item[0] : null))\r\n .compact()\r\n .value();\r\n\r\n window._PDL.permissions = [].concat(permissions).concat(dynamicPermissions).join(',');\r\n\r\n scopeStore.subscribe(() => {\r\n const { campaignId, adGroupId } = scopeStore.state.scope.values;\r\n window._PDL.campaignID = campaignId;\r\n window._PDL.adGroupID = adGroupId;\r\n });\r\n}\r\n","import _ from 'underscore';\r\nimport { GetJsDataInfo } from '@bingads-webui-clientcenter/js-data-cc-rest-base';\r\n\r\nconst ccJSData = {\r\n jsDataCcRest: null,\r\n};\r\n\r\nexport const initCcJsData = ({ serverContext }) => {\r\n if (!ccJSData.jsDataCcRest) {\r\n const options = {\r\n cidFetcher: () => serverContext.CurrentCustomer.Id,\r\n uidFetcher: () => serverContext.CurrentUser.Id,\r\n appendErrorSummary: _.noop,\r\n handleAjaxAuthFailure: _.noop,\r\n willSupportCors: true,\r\n };\r\n\r\n ccJSData.jsDataCcRest = GetJsDataInfo(options, serverContext.ServicesEndpoints.ClientCenterUIAPI, []).jsDataCcRest;\r\n }\r\n\r\n return ccJSData;\r\n};\r\n","import _ from 'underscore';\r\nimport Uri from 'urijs';\r\nimport { isMultiAgencyBillingEnabled } from '@bingads-webui/multi-agency-utils';\r\n\r\nexport const getAccountLinkPermissionType = (serverContext) => {\r\n const currentUrl = new Uri(window.location.href);\r\n const queryParams = currentUrl.search(true); // Get query parameters as an object\r\n return queryParams.aid && Number(queryParams.aid) > 0 ? _.get(serverContext, 'AccountLinkPermissionType') : undefined;\r\n};\r\n\r\nexport const initSettingsContext = (serverContext, permissions) => {\r\n const settingsContext = {\r\n Urls: {\r\n ...serverContext.Urls,\r\n SmartBaseUrl: new Uri(`${serverContext.Urls.RootUIUrl}/campaign/smart/`).normalize().toString(),\r\n AdInsightBaseUrl: new Uri(`${serverContext.Urls.RootUIUrl}/research/vnext/`).normalize().toString(),\r\n UnifiedProductBaseUrl: new Uri(`${serverContext.Urls.RootUIUrl}/campaign/mca/`).normalize().toString(),\r\n },\r\n };\r\n\r\n if (isMultiAgencyBillingEnabled(permissions)) {\r\n settingsContext.AccountLinkPermissionType = getAccountLinkPermissionType(serverContext);\r\n }\r\n\r\n return settingsContext;\r\n};\r\n","import _ from 'underscore';\r\nimport queryString from 'query-string';\r\n\r\nfunction findMismatches(original, expected) {\r\n return _.reduce(expected, (result, value, key) => {\r\n if (_.has(original, key) && !!value && original[key] !== `${value}`) {\r\n _.extend(result, { [key]: `${value}` });\r\n }\r\n return result;\r\n }, {});\r\n}\r\n\r\n// For fresh page load, in case user put wrong values for known query params (uid, cid, aid),\r\n// this component restores it per server context\r\nexport function checkQueryParams(serverContext) {\r\n const query = queryString.parse(window.location.search);\r\n const {\r\n CurrentUser: { Id: uid },\r\n CurrentCustomer: { Id: cid },\r\n CurrentAccount: { Id: aid },\r\n } = serverContext;\r\n\r\n const mismatches = findMismatches(query, { uid, cid, aid });\r\n\r\n if (!_.isEmpty(mismatches)) {\r\n const updatedQuery = _.extend(query, mismatches);\r\n window.history.replaceState({}, document.title, `?${queryString.stringify(updatedQuery, { sort: false })}`);\r\n }\r\n}\r\n"],"names":["AccountsPage","_React$PureComponent","_this","_classCallCheck","_len","arguments","length","args","Array","_key","_callSuper","concat","gotoPage","page","pageItem","_","props","siteMap","id","history","scope","replace","pathname","getPathName","search","location","_inherits","_createClass","key","value","this","navigate","defaultLandingPage","React","AccountsPageNavigation","withSiteMap","withScope","withDefaultLandingPage","withPreference","processor","processPath","selectors","regexPseudo","style","position","top","left","color","border","height","padding","withBingMap","WrappedComponent","ComponentWithBingMap","loadMap","then","default","catch","e","instrumentation","loadBingMapScenario","create","loadBingMapError","error","withI18nConsumer","notificationApi","showWarning","i18n","getString","_TL_","_jsx","_objectSpread","DFMQueryKeys","getDFMQueryId","_ref","queryValues","queryString","queryKey","map","join","DFMContext","withDFMReady","Component","DFMReady","_React$PureComponent2","_this3","dfmTriggered","preDFMPromise","_this4","_this$props2","dfmPromise","expectedDFMQueryId","isFirstRender","isNewDFMPromise","isExpectedDFMPromise","finally","forceUpdate","updateDFMTriggered","withPermissions","Consumer","children","withDFMConsumer","OverviewPageNoRjsShell","importAfterPreLoadHighCharts","getDefaultExport","NewOverviewPageNoRjsShell","NewOverviewPagePhase2NoRjsShell","CampaignsPageNoRjsShell","PerformancePageNoRjsShell","importAfterPreLoad","AdExtensionsShellNoRjs","AdExtensionShellWrapper","Loader","lazyLoad","c","withDynamicFeatures","withInstrumentation","withContexts","withServerContext","OverviewShellWrapper","withCampaignType","serverContext","campaignType","isAccountIdAvailable","_serverContext$Dynami","DynamicPermissions","OverviewPageFluentV2","OverviewPageFluent2","AppAdsCampaignPhaseOne","LinkedInCampaigns","PMaxLiteOverviewFluent","PMaxCampaignOverviewFluent","CustomerLevelOverviewFluent","UnifiedAppAds","overviewFluentV2","pmaxCampaignNewFluent","OverviewPageNoRjsShellToUse","withFooter","CampaignsShellWrapper","adExtensionsLoader","overviewPageLoader","campaignsPageLoader","performancePageLoader","withPageName","pageName","ComponentWithPageName","extend","DelayedPreexecuteContainer","withPageReadyAsync","StyledPreexecuteContainer","withPreexecute","PreexecuteComponents","PageReady","afterPageReady","isFulfilled","_jsxs","ChooseObjectiveWithLegacyConfig","withCcJsDataContextProvider","withFullScreenLayoutNavRefresh","withGlobalErrorView","withPagePerfMarker","r","CampaignOnboardingV2","CampaignOnboardingShell","withCampaignSiteMap","withStateStore","permissions","dynamic","DisplayPlusCampaigns","isNewOnboardingVisibleStore","store","isNewOnboardingVisible","state","StyledSiteExclusionListsCreate","withLegacyContext","withFullScreenWithSummaryBarNavRefresh","routes","SiteExclusionListCustomerCreationShell","StyledWebsiteExclusionListsCreateV2","WebsiteExclusionListsPage","StyledSiteExclusionListsEdit","SiteExclusionListCustomerEditPage","StyledWebsiteExclusionListsEditV2","WebsiteExclusionListsCustomerEditPage","StyledSiteExclusionListsViewLists","SiteExclusionListAccountLevelListPage","StyledWebsiteExclusionListsViewListsV2","WebsiteExclusionListsAccountLevelListPage","StyledSiteExclusionListsViewExclusions","SiteExclusionListAccountLevelExclusionsPage","StyledWebsiteExclusionListsViewExclusionsV2","WebsiteExclusionListsAccountLevelExclusionsPage","websiteExclusionListsPermissions","ComponentV1","ComponentV2","WebsiteExclusionLists","WebsiteExclusionListsCreateShell","WebsiteExclusionListsEditShell","WebsiteExclusionListsViewListsShell","WebsiteExclusionListsViewExclusionsShell","withClipchampPlayer","Wrapper","loadClipchampPlayer","_asyncToGenerator","_regeneratorRuntime","mark","_callee","_yield$Promise$all","_yield$Promise$all2","createAssetResolver","_yield$Promise$all2$","Player","usePlayPause","usePlayerControls","usePlayerTime","useFormattedTimeAndDuration","UrlAssetFetchHandler","createHubbleAssetFetchHandler","populateSystemAssets","wrap","_context","prev","next","Promise","all","sent","_slicedToArray","abrupt","stop","apply","displayName","getDisplayName","hoistNonReactStatics","appRoutesInitPerfMarker","PerfMarkerFactory","createMarker","willInit","withContextsNoFallback","reporting","Reports","ReportsV4","Fallback","DefaultGlobalErrorView","shouldShowRefreshLink","isPageReadyResolved","firstRoute","BidStrategiesShell","StyledChangeHistory","withDefaultLayout","HotelGroupsShell","withLayout","PropertyGroupsShell","ProductGroupsShell","PerformanceTargetsShell","withLayoutNavRefresh","layoutConfigs","fullScreenWithSummaryBarAndTab","withoutNav","withoutDate","StyledCampaigns","StyledCampaignsPreexecution","StyledCampaignCreationHotel","withFullScreenLayout","HotelCampaignCreation","StyledCampaignCreationSearch","StyledCampaignCreationSearchV2","StyledCampaignCreationAudience","StyledCampaignCreationAudienceSimplified","StyledCampaignCreationAudienceVideo","StyledCampaignCreationSearchShopping","StyledCampaignCreationSearchShoppingWizard","StyledCampaignCreationAudienceShoppingWizard","StyledSponsoredCampaignCreation","SponsoredCampaignCreationPage","StyledCampaignCreationMSStoreAds","StyledCampaignCreationAudienceShopping","PerfMaxCampaignCreationPage","LinkedInCampaignCreationPage","withFullScreenWithSummaryBar","LinkedInAdEditorPage","PerfMaxNorthStarCampaignCreationPage","PerfMaxNorthStarWizard","StyledXandrVideoCampaignCreationPage","StyledXandrDisplayAdsCampaignCreationPage","StyledDisplayPlusCampaignsPage","StyledDisplayPlusCampaignsDisplayAdsPage","withProps","adsType","StyledAppAdsCampaignsPage","StyledAppAdsAssetGroupCreation","AdGroupCreationWithCampaign","withCampaignLegacyContext","StyledAdGroups","StyledAdGroupsPreexecution","StyledAds","withOpportunityId","StyledAdsPreexecution","StyledPositiveKeywords","StyledPositiveKeywordsPreexecution","StyledNegativeKeywords","StyledSearchTerms","StyledSearchterm","StyledBulkEdits","accountSummaryWithoutDate","StyledBulkEditsDetail","fullScreenWithSummaryBar","MCMCampaignControl","withCollapsedMenuOnly","StyledAudiencePlanner","withLayoutNavRefreshWithTab","StyledAudienceNetworkPlanner","StyledCampaignCreationSmartShoppingPage","StyledCampaignCreationSmartShopping","recommendations","RecommendationsShell","recommendationsWithPerfMarker","mccRecommendationsWithPerfMarker","StyledRecommendations","StyledMCCRecommendations","accountSummary","withHistoryButton","StyledRecommendationsWithHistoryButton","StyledRecommendationsHistoryPage","StyledMCCRecommendationsHistoryPage","StyledRecommendationRSAAsset","StyledRecommendationImageAsset","StyledRecommendationDemo","StyledRecommendationAutoApplySettinsPage","StyledRecommendationAutoApplyBulkUploadPage","StyledFeeds","StyledImportCenter","withoutMenu","StyledAuctionInsightPage","StyledCompetitionAuctionInsight","StyledAudienceAssociationPage","StyledAudiencesLibrary","StyledAudiencesLibraryV2","withSummaryBarAndTabNoDateLayoutNavRefresh","StyledAudienceSignalManagement","StyledAudienceCustomSegments","StyledAudienceCustomSegmentsPage","StyledAudienceAssociationCreation","StyledAudienceCreation","StyledAudienceEdit","StyledConversionGoalsAutoCreate","StyledConversionGoalsCreate","StyledConversionGoalsEdit","StyledConversionValueRulesCreate","StyledConversionValueRulesEdit","StyledOverviewPage","withOverviewPerfMarker","StyledUetTags","StyledUetAllTagsDashboard","tab","mode","StyledUetTagsDashboard","withDisabledDate","StyledUetDashboard","dateWithoutCompare","StyledUetWebInsights","StyledUetTestPage","StyledUetTagsCreate","StyledUetTagsEdit","UniversalPixelUetTagCreate","UniversalPixelUetTagEdit","StyledOfflineConversions","StyledModeledConversions","StyledConversionGoals","StyledConversionValueRules","StyledSharedBudgetEdit","StyledCustomerAcquisition","StyledHotelCenter","StyledHotelCenterV2","StyledSharedBudgetSummary","StyledSeasonalityAdjustment","StyledPortfolioBidStrategy","StyledExtensions","StyledExperiments","StyledProductFeeds","StyledProductFeedPage","StyledLinkedStorePage","StyledBusinessLocationFeed","StyledGmbImport","StyledHotelsPage","StyledHotels","StyledPropertiesPage","StyledProperties","StyledProductsPage","StyledProducts","StyledFeedsSummaryPage","StyledFeedSummaryPage","StyledMSStoreAdsSellerIdsPage","StyledDemographicsPage","DemographicsShell","StyledTargetedLocationsPage","StyledTargetedLocations","StyledExcludedLocationsPage","StyledExcludedLocations","StyledAdSchedulePage","StyledAdSchedule","StyledDevicesPage","StyledDevices","StyledBrandPage","StyledCompetitionRecommendation","StyledCompetitionRecommendations","StyledDynamicAdTarget","DynamicExclusionShell","StyledDynamicSearchTerm","StyledGoogleImport","StyledMultiAccountGoogleImport","StyledFileImport","StyledImportSchedule","withFullScreenWithSummaryBarNavRefreshNoMenu","StyledImportCredentialId","StyledAccountSettingsPage","MerchantCenterShell","ReportingFullScreen","ReportingWithNav","withMenuOnlyLayout","ReportsV4WithNav","withLayoutNavRefreshNoMenu","status","subTab","StyledCustomReportingPage","StyledBrandSafetyPage","BrandSafetyPage","StyledBrandListsPage","StyledBrandListsDetailsPage","StyledAccountLevelImportTab","StyledDimensionsShell","withSingleTabLayout","DimensionsShell","StyledDimensionsCampaignShell","CampaignDimensionShell","styledDimensionsCampaignShellWithSubTab","withSummaryBarAndTabAndSubTabLayoutNavRefresh","NegativeKeywordsLists","NegativeKeywordListsLibrary","StyledAccountsOverview","StyledAccountsPerformance","StyledAccountsPerformancePreexecution","StyledAccountsManagement","StyledManagement","StyledAccountsNotifications","StyledNotifications","StyledAccountsRequests","StyledRequests","StyledAccountsAuctionInsight","StyledAccountsCreate","AccountCreation","StyledBulkTransferAccounts","AccountsTransfer","StyledPendingTransferRequest","PendingTransferRequest","StyledSendLinkRequest","AccountLinking","StyledResendLinkRequest","StyledBulkUnlinkAccounts","AccountsUnlinking","StyledAutomatedRuleOperation","StyledAutomatedRuleHistory","StyledAutomatedRuleDetail","StyledSettingsForm","StyledNegativeKeywordsListsDetailsShell","NegativeKeywordListsDetailsPage","StyledLabels","StyledCombinations","withFullScreenWithSummaryBarAndTabLayoutNavRefresh","StyledAssets","StyledAssetsReport","StyledScripts","StyledScriptsEdit","StyledScriptsHistory","StyledScriptsLogs","BulkUploadsShell","StyledSmartGoogleImportShell","StyledSmartGoogleImport","StyledAmazonImport","StyledSmartFacebookImportShell","StyledSmartFacebookImport","StyledPinterestImport","StyledOptOutOfMinorsPage","StyledAccountOptimizationOverviewPage","StyledQueryInsightsOverviewPage","insightType","StyledAccountOptimizationDetailsPage","StyledQueryInsightsDetailsPage","StyledNewOpportunitiesOverviewPage","StyledNewOpportunitiesDetailsPage","StyledKeywordPlannerPage","StyledKeywordPlanner","StyledAdPreviewPage","StyledAdPreview","StyledAdInsightKeywordPlannerPage","StyledAdInsightKeywordPlanner","StyledAdInsightAdPreviewPage","StyledAdInsightAdPreview","StyledAppAdsAssetGroupsPage","StyledUnifiedppAdsAssetGroupsCreationPage","StyledAssetGroupsWithPerfPage","StyledAssetGroupsPage","StyledAssetGroupEditPage","StyledAssetGroupCreationPage","StyledPmaxNorthStarAssetGroupEditPage","ListingGroupsShell","StyledPmaxAssetsPage","StyledPmaxCombinationsPage","DefaultLayoutPage","SmartCampaignDefaultLayoutPage","withoutMenuLayout","AccountsOverviewPagePreexecuteContainer","withAccountsSiteMap","withAppPerfMarker","OverviewPagePreexecuteContainer","CampaignsPagePreexecuteContainer","StyledLiftMeasurementPage","fullScreen","StyledLiftMeasurementCreatePage","StyledLiftMeasurementEditPage","StyledLiftMeasurementResultsPage","CreativeStudioAssetLibraryPageWithMenu","CreativeStudioAssetLibraryPage","withMenuOnly","AdsStudioPageWithMenu","AdsStudioPage","CampaignBudgetToolPage","BudgetCenterPage","BudgetCenterPageWithMenuBar","StyledUnifiedAppAdsCampaignsPage","StyledUnifiedAppAdsCampaignPage","StyledUnifiedAppAdsAssetsPage","done","AppContent","currentRoute","window","toLowerCase","UnifiedProductPhase2","isLandingPage","pageIsReady","text","pseudoElements","sel","match","styleText","css","styleElement","document","createElement","appendChild","createTextNode","head","addBadgeForNewFeatures","AppContentContainer","fallback","ProgressiveLoadingBlock","Switch","Route","path","render","IsVideoAdsForCampaignEnabled","SearchShoppingWizard","IsDomesticSimplifiedChineseEnabled","PAAIMConsolidation","CTVAndDealToDisplayPlus","cmpProps","isMran","exact","IsBAARecommendationsAsyncApplyEnabled","strict","PerformanceMaxAudienceSignalManagementPage","values","aid","IsSmartImportEnabled","IsSmartImportV2Enabled","tagId","UETDashboard","UETDashboardPhase2","PmaxNorthStarAssetGroupSetting","NavigationRefresh","NavigationRefreshBudgetCenter","defaultProps","classes","CampaignTypeUpdater","currentCampaign","updateWaterfallFilter","campaignTypeFilter","WaterfallFilterType","CampaignType","selectedCampaignTypeFilter","useMemo","getFilteredCampaignTypeFromRawFilter","useEffect","All","CampaignTypeToStringMap","filterType","filter","convertFilteredCampaignTypeToFilter","propTypes","PropTypes","isRequired","withGlobalFilter","withCurrentExpandedScopeNoFallback","redirectMap","getNewPath","startsWith","getNewReportingUIPath","FallbackUpdater","getDefaultRedirectPageId","_this$props","tabRedirectId","tabredirectid","findPageById","findSiteMap","node","uri","Uri","route","is","gotoPageById","checkFallback","_this$props2$scope","_this$props2$scope$va","campaignId","adGroupId","storeId","feedId","currentAdGroup","settingsContext","currentScope","getCurrentScope","isNewReportingUI","isBillingLinkPermission","validSiteMapItem","Scope","Store","isLegacyReportingUrl","redirectReportingUrl","extenionsPage","AdGroup","productGroupsPageItem","hotelGroupsPageItem","assetGroupsPageItem","keywordPageItem","Campaign","Account","scopeChanged","remove","stringify","selected","_this$props3","topTwoCampaigns","topTwoCampaignsValue","set","checkScopeIds","fallbackToDefaultPage","_ref2","FallbackUpdaterWithDefaultLandingPage","withSettingsConsumer","processorSet","_props$scope","_useState","useState","_useState2","setTopTwoCampaigns","currentAccount","getEntityFromScope","Campaigns","get","skip","select","subscribe","ScopeProviderInternal","defaultScope","others","_objectWithoutProperties","_excluded","customerScopedItem","mapItem","indexOf","Customer","DefaultScopeProvider","ScopeProvider","usePrevious","ref","useRef","current","ScopeSwitchingReloader","useContext","ScopeContext","passing","setPassing","_scope$values","_scope$values2","cid","prevCid","prevAid","URI","toString","NewVersionReloaderInternal","componentDidMount","eventDispatcher","on","setState","shouldReload","componentDidUpdate","prevProps","fullPageRefresh","reload","NewVersionReloader","withRouter","initSingleCampaign","_ref3","campaign","initOdataCache","CurrentCustomer","Id","CurrentAccount","ODataPrefetchResult","campaigns","JSON","parse","setCampaignTypes","entities","campaignTypes","$makeCall","hardResetData","split","initCampaignTypes","_ref4","initTopTwoCampaigns","campaignString","LayoutSwitch","useLocation","layout","URLSearchParams","change","LayoutContext","undefined","require","isSDKView","isSDK","displayMode","getDisplayMode","appName","shouldShowFallbackUpdater","includes","LayoutContainerWithRouter","DFMProvider","_this2","dfmPerfMarker","appPerfMarker","createChild","_history$location","prePathname","preSearch","listen","preDFMQueryId","curDFMQueryId","params","getCampaignType","Number","isDFMEnabledForPath","fetchData","preferenceService","PreferenceService","loadingPath","Provider","withDFMProvider","LayoutContainer","WrappedGlobalContextReceiver","GlobalContextReceiver","processPermissions","navRefreshProcessorSet","processImportCenterMode","processMixedModeAdGroup","processGlobalFilter","processCampaignType","processCampaignId","processSmartCampaign","processSmartShoppingCampaign","processHotelCampaign","processPmaxCampaignPageMenu","processPmaxRetailCampaignPageMenu","processCcuiContext","processMMCMenu","processCopilotRegionRestriction","_toConsumableArray","navRefresh","getDelayedTopBannerComponent","getTopBannerLayout","getStoreInstance","DisapprovedEntities","ImportStatus","NoEntityNotifications","PredefinedNotifications","UETNotifications","CCNotifications","ImportNotification","DraftStoreNotification","PmaxCampaignUpgradeNotification","LocationIntentUpdateNotifications","HotelCenterMigrationNotification","HotelCenterMigrationPhase2Notification","HotelCenterMigrationPhase3Notification","BroadOnlyNotification","GMCTokenExpiredNotification","DeprecateSyndicationSearchOnlyNotification","getNotifications","context","getPredefinedAlerts","getDisapprovedEntityNotifications","getImportStatusNotifications","getNoEligibleEntityNotifications","getUETNotifications","getCCNotifications","getImportNotifications","getDraftStoreNotifications","getPmaxCampaignUpgradeNotifications","getLocationIntentUpdateNotifications","getHotelCenterMigrationPhase3Notifications","getHotelCenterMigrationPhase2Notifications","getHotelCenterMigrationNotifications","getBroadOnlyNotifications","getAlerts","getDeprecateSyndicationSearchOnlyNotifications","refresh","DelayedTopBanner","DelayedMainMenu","MainMenuContainer","CampaignMainMenuPlaceholder","DelayedAfterPageReady","AfterPageReady","DelayedSummaryBarContainer","SummaryBarContainer","SummaryBarPlaceholder","DelayedPageMenuContainer","_ref5","PageMenuContainer","CampaignPageMenuPlaceholder","DelayedSubTabContainer","_ref6","SubTabContainer","DelayedSubpageMenuContainer","_ref7","SubpageMenuContainer","LazyDraft","_ref8","DraftAccountPageWraper","DelayedDraftAccountPage","DelayedNewGlobalMenuWrapper","_ref9","NewGlobalMenuWrapper","withComponentErrorLogging","NewGlobalMenueWrapperPlaceholder","DelayedMSAdsCopilotLoader","DelayedTeachingBubbleRenderer","_ref10","TeachingBubbleRenderer","jss","setup","createGenerateId","AppRoot","userContext","CurrentUser","isAccountDraft","Status","globalErrorOptions","getGlobalErrorOptions","uid","Permissions","initSettingsContext","perfLatencies","performance","SchemaNewLatency","siteMapLatency","isProdEnv","IsProdEnv","onToggleMainMenu","toggleMainMenuObservable","Observable","observer","onHamburgerClicked","logger","popupManagement","popupManager","teachingBubbleLogger","multiStepTeachingBubble","defaultFailFast","failFast","I18nModel","setDefaultFailFast","currency","CurrencyCode","globalLegacyI18n","main","setTestContext","setupI18n","DraftAccountPage","DelayedGlobalMenuWrapper","DelayGlobalMenu","_ref11","GlobalMenuWrapper","GlobalMenueWrapperPlaceholder","_ref12","isNavRefresh","isNavigationRefreshOn","DelayedPrimaryNavigation","_ref13","PrimaryNavigation","navRefreshSiteMap","PrimaryNavigationPlaceholder","DelayedSecondaryNavigation","_ref14","SecondaryNavigation","SecondaryNavigationPlaceholder","DelayedScopePanel","_ref15","ScopePanel","ScopePanelPlaceholder","isCouponTeachingBubbleEnabled","App","i18nModel","theme","themes","curTheme","className","AppPerfMarker","GlobalFilterContextProvider","Router","PermissionsContext","allowedKeys","ServerContext","UserContext","SettingsContext","PopupContextProvider","isGateEnabled","ToastProvider","MultiStepTeachingBubbleContextProvider","configs","teachingBubbleConfigs","LazySDKAppWrapper","AdsCopilotContextProvider","DisplayMode","Shellless","isGridLayout","WebViewContextProvider","Layout","item","component","type","Default","role","href","customSiteMapProcessorSet","OverlayComponent","isCouponEnabled","Backbone","$","landingPagePreference","accountsLandingPagePreference","preAppStartMarker","eventName","eventStartTime","now","activeTimeBeforeEventStart","activeTime","_window","campaignODataConfigs","Object","assign","AdvertiserCustomerID","AccountID","devConfig","isInDevelopmentMode","interpolate","errorMappers","odataErrorMapper","OdataErrorMapper","odataErrorCodes","campaignApiErrorMapper","CampaignApiErrorMapper","campaignApiErrorCodes","urlErrorMapper","UrlErrorMapper","invalidDomains","featureName","getInstrumentation","pageTrackingId","PageTrackingId","applicationName","systemName","subSystemName","ajaxStubOptions","addScenario","InstrumentationSchema","appActivity","appScenario","perf","preAppStartLogs","activity","preInstrumentationInitializeScenario","perfActivity","forEach","message","addEventListener","trace","visibilityState","devicePixelRatio","clientWidth","documentElement","clientHeight","innerWidth","innerHeight","outerWidth","outerHeight","screenWidth","screen","width","screenHeight","screenAvailWidth","availWidth","screenAvailHeight","availHeight","IsAADUser","IsInternal","preferencePerfMarker","initSync","initialUserPreferences","UserPreferences","currentUser","currentCustomer","apiHost","ServicesEndpoints","CampaignAPI","apiPath","authToken","Token","locale","CurrentLocale","lang","cldrLocale","getCldrLocale","isDarkTheme","IsDarkThemeEnabled","isSystemDark","matchMedia","matches","themePref","findByName","themeObj","Name","Data","setAtUserLevel","getTheme","getLandingPath","preferenceData","skipRequireJSLoad","IsSkipRequireJsLoadEnabled","es6TestScript","eval","logError","appBootstrap","ReactDOM","getElementById","initGlobalService","initCacheBridge","setCampaignType","setupI18nModel","updateDateRange","landingPagePath","willFetchFile","initLegacyComponentsWithServerContext","msg","CopilotTeachingBubble","withDefaultStyles","changeLayout","ActivityContext","isPROD","useIsProdEnvironment","visible","setVisible","closeBubble","useCallback","username","localeId","isAADUser","isAppBasedAuthEnabled","toggleCopilot","toggleCopilotWithMSASignInPopup","userName","onToggleCopilot","startChatting","targetElement","TeachingBubble","title","CopilotIcon","content","_Fragment","disclaimer","MSACopilotDisclaimer","primaryButtonText","secondaryButtonText","onDone","onDismiss","onClose","directionalHint","DirectionalHint","bottomRightEdge","rightOffset","doNotLayer","fontSize","textDecoration","LazyMSAdsCopilot","UnstyledMSAdsCopilotLoader","PreferenceContext","cachedPath","setCachedPath","firstName","lastName","userid","customerId","accountId","ccSmallToken","currentLocale","dateFormat","TimeZone","ianaTimeZone","toIANATimeZone","fromLegacyTimeZone","isDegradedModeEnabled","perfMarker","isAdsCopilotLiveChatGlobalizationEnabled","isAdsCopilotUxImprovementsEnabled","getIsPilotEnabled","pilotName","useGetIsPilotEnabled","copilotLayoutConfig","config","copilot","hasCustomizedEvent","waterfallFilterStorage","WaterfallFilterStorage","dateRange","waterfallDateFilterProcessor","getFilters","DateFilter","handler","customizedEvent","detail","openCopilot","removeEventListener","useCopilotToggleEventListener","lwicontexts","getLwiContexts","liveAgentChatConfig","surveyContext","pilots","isCopilotLiveChatGlobalizationEnabled","onAuthPopupError","tokenExchangeFn","useTokenExchange","shouldRetry","onCopilotModeChange","newMode","onSendCustomizedEvent","newConfig","onFeedbackReaction","data","onChangeConversationId","conversationId","onCopilotClose","trigger","botServiceConfig","tokenApi","endpoint","getDirectLineEndpoint","productName","fetchOAuthToken","legacyTimeZone","resolve","token","fetchToken","fetchAppBasedChannelToken","copilotOneBoxToken","getCampaigns","fetchCampaignsData","ccToken","result","name","statusText","_useMSAConversationRe","useMSAConversationRestorationWithCookie","forceRefreshToken","onConnectionStatusChange","onInitDirectLine","_usePerfMarker","usePerfMarker","onMount","finalOnConnectionStatusChange","I18nContext","classNames","root","rootNavRefresh","onFullInsightsClick","event","replyToId","options","onFeedbackButtonClick","overlay","Mode","Expanded","InsightsPanelLoader","contentProps","i18nProviderProps","loadingView","MSAGlobalLoadingView","classname","isDynamicWidthEnabled","_useState3","_useState4","isAdsCopilotRegionRestricted","setIsAdsCopilotRegionRestricted","isCopilotRegionRestricted","feature","isCopilotReady","Suspense","bingAdsI18n","isLiveAgentOnlyMode","MSAGlobalErrorView","onRefresh","isUxImprovementsEnabled","CopilotErrorView","MSACopilotErrorView","info","errorViewProps","MSAdsCopilotLoader","renderErrorView","right","bottom","minWidth","COPILOT_WIDTH","display","flex","zIndex","MSAdsCopilotLoaderWithPermission","Scenario","Activity","urlChangeScenario","routeChangeLogger","paramChangeLogger","NewUINavigationPreferenceKey","NewUIPreferenceDialogRaw","setPreferenceAndLog","preference","preferenceSetLogger","selectNewUI","dismissDialog","selectOldUI","returnPath","getFallbackPath","openOldUI","decideLater","learnMore","helpTopicSpan","click","userSelection","showDialog","showOnlyOKButton","stopSignal","isTestEnv","isTestEnvironment","domain","_possibleConstructorReturn","newUINavigation","preferenceSet","startSignal","newUIPreference","findByNameAtUserLevel","IsLandOnNewUIEnabled","phase2PilotEnabled","NewWebUI","Dialog","hidden","newUINavigationPreferenceDialog","dialogContentProps","DialogType","close","maxWidth","modalProps","isBlocking","dragOptions","query","span","onClick","onKeyPress","tabIndex","DialogFooter","DefaultButton","PrimaryButton","NewUIPreferenceDialog","compose","getNewUiWelcomeStyles","previousRoute","previousSearch","getUrlChangeScenario","urlChange","getRouteChangeLogger","routeChange","getParamChangeLogger","paramChange","RouteChangeLoggerInternal","currentSearch","RouteChangeLogger","PREFERENCE_NAME_GOOGLE","PREFERENCE_NAME_FACEBOOK","getNavigationLinkMsg","preferenceType","url","CampaignUIAPI","queryParams","importType","_defineProperty","getImportScheduleAndHistoryLink","link","showGoogleImportNotificationMsg","inProgress","importedCampaignsCount","linkMsg","showInfo","showFacebookImportNotificationMsg","getImportTaskStatus","taskItemExecutionId","reject","odata","ErrorCode","entityStatistics","Keys","Values","campaignEntityIndex","Total","getImportedCampaignsCount","EntityStatistics","Error","err","ImportStatusCheckerInternal","isShown","setIsShown","findByNameAtAccountLevel","preferenceName","showNotificationMsg","importStatus","del","ImportStatusChecker","PageTitleUpdater","selectedNode","findSelectedNode","newTitle","siteMapPropType","wrapped","NavigationRefreshLogger","InstrumentationContext","createScenario","scenarioName","createActivity","LastDayToSwitchBack","Date","NavigationRefreshDialogPreference","OneWeek","OneMonth","Further","Past","useDialogStyles","makeStyles","navRefreshImage","backgroundImage","marginBottom","tokens","spacingVerticalXXL","button","whiteSpace","footer","justifyContent","singleButtonFooter","NavigationRefreshDialog","_React$useState","_React$useState2","open","setOpen","_React$useState3","_React$useState4","disableButtons","setDisableButtons","createScenarioAndActivity","activityName","switchBackNavRefreshPreference","SWITCH_BACK_NAV_REFRESH_KEY","switchBackNavRefresh","dialogPreference","timePeriod","MillisecondsInADay","getTimePeriod","isPastCutOff","messageTemplate","updatePreference","newDismissDialog","onRemoteSyncDone","setClarityTag","onStay","onTry","preventDefault","delAtUserLevel","modalType","DialogSurface","UiBlocker","blocking","loadingText","blockUiContainer","blockerIndicator","DialogBody","DialogTitle","DialogContent","ReactTemplate","model","b","a","target","rel","template","DialogActions","mergeClasses","fluid","DialogTrigger","disableButtonEnhancement","Button","appearance","disabled","useStyles","dialogSurface","dialogContent","shorthands","description","lineHeight","radioGroup","flexDirection","gap","paddingTop","paddingBottom","radioButton","buttonSpacing","marginLeft","emailContainer","paddingLeft","fontWeight","serverErrorMessage","marginTop","validateEmails","emailString","valid","emails","email","trim","invalidEmails","test","String","EmailInput","label","placeholder","hint","onChange","validationState","setValidationState","handleChange","newValue","validation","Field","validationMessage","Input","STEPS","DECISIONS","STEPS_CONFIG","radioList","templateModel","Link","OPTIONS_DECISIONS_MAP","agent","accept","instrumentationSchema","scenario","setting","ErrorCodeMapping","ConsentModeDecisionAlreadyExist","SendConsentModeEmailFailed","WriteConsentModeDecisionFailed","RadioOptions","RadioGroup","radio","Radio","ConsentModeDialog","isConsentModeEnformentEnabled","hideDialog","isLoading","setIsLoading","shouldShowDialog","setShouldShowDialog","_useState5","_useState6","currentStep","setCurrentStep","_useState7","_useState8","agreeStatus","setAgreeStatus","_useState9","_useState10","setupMethod","setSetupMethod","_useState11","_useState12","acknowledgeStatus","setAcknowledgeStatus","_useState13","_useState14","decision","setDecision","_useState15","_useState16","setEmails","_useState17","_useState18","validateResult","setValidationResult","_useState19","_useState20","serverError","setServerError","ConsentModeEnforcementDialog","backupLogger","noop","consentModeEnforcementDialog","dialogActivity","_useMemo","_useMemo$templateMode","triggerCopilotChat","customEvent","CopilotToggleCustomEvent","eventType","eventSource","eventData","ActionId","liveAgentParameters","queue","LiveAgentQueue","ShoppingAndUET","problemDescription","dispatchEvent","onChangeEmail","makeDecision","payload","ConsentModeDecision","EmailAddresses","edmCampaign","Customers","$withKey","Accounts","toPromise","response","updateConsentModeDecision","res","onConfirmDecision","firstErrorCode","getErrorMessage","renderDescription","finalizedDescription","NeedShowPopUp","renderOptions","MessageBar","intent","MessageBarBody","dialogActions","renderBottomBtns","apexHelpContentKey","keyVault","apexHelpContent","helpPopupKey","helpPopup","onHelpRailViewOpen","forceAcquireLock","onHelpRailViewClose","opener","releaseLock","onHelpPopupOpen","popupRootEle","rootEle","$titleEle","find","newTitleHtml","prop","$newTitle","replaceWith","replacePopupTitleTagWithH2","onHelpPopupClose","AfterPageReadyInternal","setTimeout","clearGate","isAdsCopilotFraudRestrictionEnabled","helpSearchBoxCopilotScenario","searchActivity","isExpertMode","isNewLogo","renderApexHelpSuggestionsWithi18n","suggestionData","suggestionContainer","renderSuggestionToHtml","hideSuggestionBox","renderApexHelpSuggestions","renderSearchInputIconWithi18n","container","renderSearchInputIcon","supportModalsProps","isMAE","SupportOptions","IfShowLiveChat","ret","supportOptions","helpModel","HelpModel","resourcePath","Urls","VirtualAgentUrl","onRailViewOpen","onRailViewClose","onPopupOpen","onPopupClose","flowId","isShellless","isCopilotEnabled","CampaignHistoryRecorder","ApexUpdater","URLFilter","WrappedFloatingBannerContainer","SupportModals","HotKeyDialogWithI18n","HotKeyNavigator","WalkMeWithScopeAndContext","LightBoxDialog","contextUrl","userId","setLoading","onCancel","SmartCampaignsPopup","CalloutView","withPopupContext","DelayedNotificationsBar","getNotificationsBar","_ref2$","DraftStoreNotifications","DraftAccountPageWraperInternal","logTrace","resourceMapping","routerBundleMapping","bundles","StyledAccounts","StyledSettingsSummary","StyledGMBImport","StyleProperties","StyledOverview","DynamicAdTargets","NegativeKeywordsListsShell","NegativeKeywordListsLibraryShell","NegativeKeywordsListsDetailsShell","StyledLiftMeasurement","StyledLiftMeasurementCreate","StyledLiftMeasurementEdit","StyledLiftMeasurementResults","bundlesUseHighcharts","_bundlesUseHighcharts","importScriptsCommon","_pickManyImports","pickManyImports","_pickManyImportsWithL","pickManyImportsWithLazyInit","_pickManyImports2","StyledFacebookImport","_pickManyImports3","defaultExport","ScriptsPage","ScriptHistoryPage","ScriptsEditPage","ScriptLogsPage","StyledConversionAutoGoals","DelayedReportsV4Bar","ReportsV4DropDown","GlobalMenuWrapperInternal","onLogoClick","$current","save","onCopilotClick","_permissions$dynamic","forceOpen","AdsCopilotUxImprovements","adsCopilotLogger","copilotMode","layoutConfig","autoEnd","globalHelpRef","wrappedGlobalMenu","withSmartConfig","GlobalMenuBase","accountMode","ACCOUNT_MODE","UNIFIED_SMART","withUPConfig","GlobalMenuEmbeded","basic","DelayedAccountSelector","CustomerAccountSelectorTreeView","TreeViewWithRCIDStorage","DummyCustomerAccountSelector","DelayedCustomerSelector","CustomerSelector","DummyCustomerSelector","adsCopilotScenario","isCampaignPageAccessible","isRestricted","hotKey","count","campaignSiteMap","Omniture","globalMenuActivity","globalMenuScenario","feedbackScenario","feedbackActivity","feedbackProps","feedbackLogger","log","Email","pageId","sessionId","SessionId","hideFeedback","IsReadOnlyUser","account","AccountNumber","ParentCustomerId","supportUrl","RootUIUrl","campaignSearchEnabled","CampaignSearch","accountIdEnabled","renderSearchResults","_permissions$dynamic2","push","renderCopilotSearchWithCopilot","renderPageSearch","renderHelpLibrarySearch","renderCampaignSearch","hide","mmc","assetLibrary","getHeaderHide","showEntityBreadcrumb","entityBreadcrumbProps","EntityBreadcrumb","GlobalMenuEntityBar","NotificationsBar","ReportsV4Bar","AccountSelector","MeControl","MeControlBase","CustomMenu","CustomMenuBase","showPrideLogo","isAccountSummary","isHamburgerVisible","isMainNavPanelMode","isPanelMode","showBackToCampaignButton","withHotKeys","withLayoutContext","ShortcutType","ShowHideHelp","isHamburgerVisibleStore","GlobalFilterContext","_useContext3","GlobalMenuEmbedded","GlobalMenu","componentProps","availableComponents","available","PagePreexecute","withPageReady","ready","preexecutePerfMarker","pop","prevPageName","preexecuteContainer","NextComponent","Preexecution","pageReady","childPerfMarker","preexecuteFlag","_createElement","visibility","getStyle","ChurnModelNotificationContent","clarityTextTemplate","useDefaultStyles","content1","phoneNumber","inline","churnModelCouponNotificationFeatureName","ChurnModelCouponNotificationTeachingBubbleUIConfig","userGovernanceConfig","defaultUserGovernanceConfig","steps","rightCenter","onNext","uetTeachingBubbleUserGovernanceConfig","expirationDate","PreferenceState","INIT","cooldownDays","stateMachine","STOP_SHOWN","FIRST_DISMISS","SECOND_DISMISS","Infinity","escMigrationGovernanceConfig","escMigrationTeachingBubbleFeatureName","EscMigrationTeachingBubbleConfig","rightTopEdge","uetConsentNotificationFeatureName","UetConsentNotificationTeachingBubbleUIConfig","isSecondaryButtonHidden","bottomAutoEdge","_scope","_siteMap","languageCode","adsStudioTeachingBubbleFeatureName","AdsStudioTeachingBubbleConfig","ClickAdsStudioTeachingBubblePrimaryButton","getRoutePathById","NavigationRefreshTeachingBubbleConfig","couponTeachingBubbleConfig","couponTeachingBubbleOldUIConfig","InsertionOrderReportTeachingBubbleConfig","ReportingInsightsTeachingBubbleConfig","CustomReportBuilderTeachingBubbleConfig","ReportHomePageTeachingBubbleConfig","TeachingBubbleRendererBase","bubbleContext","MultiStepTeachingBubbleContext","hasReadMigrationFlag","setHasReadMigrationFlag","isMigrationUser","setIsMigrationUser","MigratedFromESC","triggerMultiStepTeachingBubbleWithLock","useReportingInsightsTeachingBubble","isAdsStudioMVPEnabled","ise2etest","getParameter","isselenium","showForTest","CouponTeachingBubbleRenderer","getLandingPaths","isLegacyDefineLoaded","triggerWillInit","WillInitWrapper","importHighcharts","Highcharts","highchartsMore","accessibilityModule","patternFillModule","names","moduleExport","_v","pickImport","pickImportWithLazyInit","componentFactory","applyWrappers","skipWillInitTrigger","wrapperFn","loadComponent","lazy","importLegacyDeps","modulePath","needLegacyDeps","loadHighChart","currentPath","withFallbackPage","extraProps","HoC","withPrefetch","prefetchChunks","deferPrefetchChunks","jsDataCcRest","initCcJsData","CcJsDataContextProvider","initialJsData","perfMarkerName","getNewState","dateRangePreference","DateRange","PerfMarkerWrapper","markerName","isLinkedInCampaign","PMaxLite","queryParam","QueryParam","isLimitedByBillingLink","isMultiAgencyBillingEnabled","AccountLinkPermissionType","getAccountLinkPermissionType","isOdataGetProductScopeEnabled","isPAAIMConsolidationEnabled","IsDataPreFetchForOverviewPageEnabledInVnext","fetchDataForPmaxOverview","fetchDataForFluentOverview","fetchDataForOverview","IsDataPreFetchForCampaignsPageEnabledInVnext","fetchDataForCampaigns","campaignDfm","newI18n","dataSource","p$dfm","withDFMCache","setDFMCache","IsDataPreFetchForPerformancePageEnabledInVnext","fetchDataForPerformance","fetchSearchShoppingProductScopeData","ap$dfm","fetchAudienceShoppingProductScopeData","fetchDataForShoppingCampaignCreationPage","isMranSimplificationV2Enabled","MranSimplificationV2","fetchProductDataForAudienceShoppingCampaignCreationPage","fetchHasConversionGoalData","recommendationType","_ref19","fetchSummaryDataForRecommendationPage","AdsPageDFMV2","_ref20","fetchDataForAds","adsDfm","AdGroupsPageDFMV2","_ref22","fetchDataForAdGroups","adGroupsDfm","AdExtensionsPageDFMV2","_ref23","fetchDataForAdExtensions","adExtensionsDfm","_ref25","fetchDataForDefaultReportsPage","_ref26","fetchDataForMyReportsPage","_ref27","_ref28","fetchDataForRecentReportsPage","_location$pathname$ma","_location$pathname$ma2","reportAction","reportType","fetchTaskItemCall","fetchDataForRecentReportsPageCall","fetchInsertionOrdersCall","isInternalUser","isInsertionOrderReportEnabled","InsertionOrderReport","_ref29","fetchTaskItem","fetchInsertionOrders","body","responseJSON","taskItem","_location$pathname$ma3","_location$pathname$ma4","reportId","ReportType","_ref24","fetchDataForBudgetCenter","_ref21","fetchDataForKeywords","keywordsDfm","_ref16","_ref17","_ref18","f$dfm","fetchFeedDataForAudienceShoppingCampaignCreationPage","IsEnabledForDynamicFeedCampaign","fetchDataForAccountsOverview","cardsConfig","accountsMode","AccountsMode","Expert","Smart","HasExpertAccount","modules","cardState","CardState","navigationLevel","preferences","edm","instrumentationSettings","constants","newCardsConfig","getCardsConfig","fetch","fetchMCCOverview","entitySet","jsdata","dateUtil","cards","AccountsOverviewPrefetchQuery","isPreFetch","viewportCardCount","getViewportCardCount","isMccLevel","viewPortCards","card","fetchMCCOverviewRecommendations","Page","_queryParam$values","logActivity","adGroupsGridDataPrefetch","dataQueryBuilder","getDataSource","adGridDataPrefetch","SecurityAction","Constants","PaymentOption","AccountMode","extendAccount","AccountUtils","securityActions","CampaignManagementFullControl","ForceBilling","AccountUpdate","CAMPAIGN_PAGE_SIZE","defaultCampaignBudgetSummaryGridPageSize","defaultCampaignBudgetSummaryGridPageNumber","ccJsData","cidString","aidString","campaignIdString","CurrencyType","hasPaymentOption","Legacy","isAccountScope","budgetInsightsAndAlertsId","ioAuthzId","getAccountPermission","BudgetInsightsAndAlerts","jsData","findAll","$select","$skip","$top","$orderby","hasOneOfPaymentOptions","Invoice","InsertionOrderPermission","timeZone","monthKeyString","Intl","DateTimeFormat","year","month","day","format","accountInfoDataId","campaignInfoDataId","AccountBudgetCenterInformation","monthKey","CampaignBudgetSummaryGrid","limit","offset","CampaignBudgetCenterInformation","campaignGridDataPrefetch","stub","stubI18n","parseInt","property","enum","enumMappedString","valueDescription","enumDescription","IsOptimizationScoreInCampaignsGridEnabled","legacyPreferenceService","optimizationScoreInCampaignsGridDefaultOn","appended2Column","setAtAccountLevel","campaignsGridCustomColumn","index","splice","dataSourceWithInjection","getDataSourceWithInjection","gridName","ColumnChooserPreference","customColumnPreference","SegmentationPreference","fetchPagination","fetchSortInfo","getColumnsMap","getBaseColumnsByType","appConfig","sessionStore","preferenceStoreFactory","legacyGlobalI18n","schemaI18nCampaign","cacheService","dataContextManager","CampaignFilterImprovementEnabled","DateFilterState","_ref3$","getFluentCardsConfigs","getInitSelectedCardsConfig","getViewPortCardsCount","isInViewPort","getCardPreferenceOptionsForDfm","fetchAggregatedData","initialize","p$DateRange","p$State","cardsConfigs","selectedCardsConfig","cardIds","viewPortCardSize","FluentOverviewPageDataFetchManagerCardsConfigObject","isPerformanceInViewPort","cardPerformanceId","isRecommendationInViewPort","cardRecommendationsId","isDeviceInViewPort","cardDeviceId","isTopAccountsInViewPort","cardTopAccountsId","isTopChangesAccountInViewPort","cardTopChangesAccountId","customerIdType","useAdvertiserCustomerId","console","WelcomeStatus","ShowWelcomeTips","fetchWelcomeTipData","_ref4$","getFilteredCampaignTypeFromWaterfallFilter","fetchFluentOverviewTilesData","legacyConfig","featureInstrumentation","CampaignStatus","AdGroupStatus","getCardsConfigs","getWelcomeCardsConfig","fetchOverviewTilesData","welcomeCardsConfig","welcomeCardConfig","dataFetchConfig","accountsSummaryDataPrefetch","currentHash","hash","getConfig","queryBuilderConfig","queryBuilder","HasUnifiedSmartAccount","commonConfig","QueryBuilderFactory","make","getDecoratorByName","defaultPageSize","accountModes","filterService","editableFilter","editableFilterStorage","connect","_queryBuilder$getDeco2","IsAvgPositionDeprecationPhase2Enabled","defaultColumns","logMessage","LOGCATEGORY","TRACE","LOGLEVEL","INFO","AccountSummaryFilterImprovementEnabled","cacheableObjects","DataSourceStore","fetchPmaxOverviewTabData","positiveKeywordsGridDataPrefetch","isDFMEnabledForOverview","getDFMEnabledPaths","DFMPath","redirectToLogin","sdkLoginPagePath","encodeURIComponent","protocol","host","handleAjaxAuthFailure","requestUrl","PROD_CLARITY_ID","TEST_CLARITY_ID","CookieConsentActivityName","initOCVSurvey","isEnhancedSurveyTriggerConditionEnabled","tokenFetchPerfMarker","setupSurveyManager","ccBaseUrl","tokenInfoFetcher","TokenInfoFetcher","shouldDoAjaxCall","clientCenterBaseUrl","cidFetcher","uidFetcher","appendErrorSummary","willSupportCors","GetJsDataInfo","getJsData","shouldFetchUser","getTokenInfo","tokenInfo","User","CreatedDateTime","clonedServerContext","FetchedCreatedDateTime","initSurveyManagerPerfMarker","PageContext","survey","surveyManager","keepAliveInstance","unAuthCallBack","start","ko","domNodeDisposal","cleanExternalData","versionCheckInstance","version","Version","PopupController","PopupJsClick","initWalkMe","setupQualtricsWithData","enableIframeCommunication","initAdobeTracking","trackingScriptUrl","dataType","crossOrigin","credentials","success","_PDL","market","navLevel1","navLevel2","accountNumber","customerID","userID","serverName","pairs","compact","dynamicPermissions","scopeStore","_scopeStore$state$sco","campaignID","adGroupID","initPDL","script","src","async","onload","WcpConsent","init","_siteConsent","siteConsent","onConsentChanged","getConsent","initAnalytics","Analytics","Advertising","always","amplifyTrackingScriptUrl","initAmplifyTracking","setupClarity","currentConsent","onerror","AutoRefreshToken","componentConfigImport","ccJSData","ClientCenterUIAPI","SmartBaseUrl","normalize","AdInsightBaseUrl","UnifiedProductBaseUrl","checkQueryParams","original","expected","mismatches","updatedQuery","replaceState","sort"],"sourceRoot":""}