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MsI,EAAAA,EAAAA,GAAA,GAAK3wC,EAAG,GAAAjB,OAAMkB,KAExBooC,CACT,GAAG,CAAC,IAeJ,IAAKlpC,IAAAA,QAAU6tE,GAAa,CAC1B,IAAMC,EAAe9tE,IAAAA,OAAS0vC,EAAOm+B,GACrCxtD,OAAOjgB,QAAQ2tE,aAAa,CAAC,EAAG9sD,SAASoiB,MAAM,IAADzjC,OAAMiE,EAAAA,UAAsBiqE,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/index.js","components/consent-mode-dialog/data-repository.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 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\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 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 React, { useCallback, useEffect, useMemo, useState } from 'react';\r\nimport PropTypes from 'prop-types';\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 } 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: cid } } = serverContext;\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_('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(cid, 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, cid]);\r\n\r\n const onConfirmDecision = useCallback(() => {\r\n makeDecision().then(() => {\r\n setCurrentStep(STEPS.DONE_STEP);\r\n }).catch((err) => {\r\n logger.error(`Get consent mode status failed: ${err}`);\r\n setServerError(err);\r\n });\r\n }, [makeDecision, logger]);\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 getConsentModeDialogStatus(cid).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: ${err}`);\r\n });\r\n }, [cid, logger]);\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\r\n if (!isConsentModeEnformentEnabled) {\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 { edmCampaign } from '@bingads-webui/edm-campaign';\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 _ 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 const ret = {\r\n userContext: _.pick(props.serverContext, ['CurrentAccount', 'CurrentCustomer', 'CurrentUser']),\r\n supportOptions: props.serverContext.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) ? undefined : renderApexHelpSuggestionsWithi18n,\r\n renderSearchInputIcon: !isShellless && !isAdsCopilotRegionRestricted ? renderSearchInputIconWithi18n : _.noop,\r\n isCopilotEnabled: !isShellless && isExpertMode && (!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 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 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 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 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","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","RadioOptions","RadioGroup","radio","Radio","ConsentModeDialog","isConsentModeEnformentEnabled","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","renderDescription","finalizedDescription","getConsentModeDialogStatus","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","ret","supportOptions","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":""}