{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/views/admin/users/invite-modal.vue?fde3","webpack:///./src/views/dashboard/invite-expired.vue?7cfd","webpack:///./src/views/dashboard/account-inactive.vue?246b","webpack:///./src/components/chart-canvas.vue?093e","webpack:///./src/components/site-tag-overlay.vue?57f2","webpack:///./src/views/admin/accounts/account-notes.vue?2f5e","webpack:///./src/views/wizard/support.vue?ccf8","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/views/wizard/budget.vue?533b","webpack:///./src/components/loading-indicator.vue?e4dc","webpack:///./src/views/dashboard/sign-in.vue?47b7","webpack:///./src/views/dashboard/not-found.vue?d5a1","webpack:///./src/components/data-table.vue?efeb","webpack:///./src/views/wizard/tracking.vue?d852","webpack:///./src/views/admin/accounts/modals/metered-usage-modal.vue?eeef","webpack:///./src/views/shared/overview/assistance.vue?297c","webpack:///./src/views/shared/overview/metric-bubble.vue?c251","webpack:///./src/views/admin/accounts/account-details.vue?cec1","webpack:///./src/components/location-widget.vue?2f16","webpack:///./src/views/wizard/review.vue?e748","webpack:///./src/views/wizard/target.vue?d329","webpack:///./src/components/loading-overlay.vue?359d","webpack:///./src/views/wizard/location.vue?2e6a","webpack:///./src/views/wizard/stripe-billing.vue?2ce4","webpack:///./src/components/date-picker.vue?b00f","webpack:///./src/views/dashboard/Forbidden.vue?4956","webpack:///./src/views/admin/admin.vue?4c2d","webpack:///./src/views/debug.vue?7215","webpack:///./src/components/wizard-progress.vue?2289","webpack:///./src/views/admin/taxonomies/taxonomy-form.vue?05b0","webpack:///./src/views/wizard/billing.vue?1275","webpack:///./src/views/shared/customer-overview.vue?6b64","webpack:///./src/views/wizard/marketplace.vue?cb63","webpack:///./src/components/wizard-info.vue?35d7","webpack:///./src/views/admin/accounts/details/wizard-data.vue?603a","webpack:///./src/views/shared/tooltip.vue?88aa","webpack:///./src/views/admin/accounts/modals/add-campaign-modal.vue?53ee","webpack:///./src/views/wizard/wizard.vue?5a95","webpack:///./src/views/wizard/sign-in.vue?dc77","webpack:///./src/views/admin/accounts/details/wizard-data.vue?5b7f","webpack:///./src/app.vue","webpack:///./src/app.vue?dc30","webpack:///./src/utils/environment.ts","webpack:///./src/registerServiceWorker.ts","webpack:///./src/views/wizard/wizard.vue?15a6","webpack:///./src/models/campaign-wizard/campaign-state.model.ts","webpack:///./src/vue/prop.ts","webpack:///./src/vue/emit.ts","webpack:///./src/vue/watch.ts","webpack:///./src/vue/v-model.ts","webpack:///./src/services/auth.service.ts","webpack:///./src/utils/exceptions.ts","webpack:///./src/models/user.model.ts","webpack:///./src/views/shared/customer-overview.vue?f9d5","webpack:///./src/services/dashboard.service.ts","webpack:///./src/components/wizard-info.vue?9830","webpack:///./src/components/wizard-info.vue","webpack:///./src/components/wizard-info.vue?f4e2","webpack:///./src/components/wizard-progress.vue?7146","webpack:///./src/components/wizard-progress.vue","webpack:///./src/components/wizard-progress.vue?6bfd","webpack:///./src/components/date-picker.vue?13ae","webpack:///./src/components/date-picker.vue","webpack:///./src/components/date-picker.vue?2302","webpack:///./src/components/loading-indicator.vue","webpack:///./src/components/loading-indicator.vue?686b","webpack:///./src/components/dropdown.vue?31df","webpack:///./src/components/dropdown.vue","webpack:///./src/components/dropdown.vue?1519","webpack:///./src/components/places-input.vue?094f","webpack:///./src/models/campaign-targeting.model.ts","webpack:///./src/utils/google-place-parser.ts","webpack:///./src/components/places-input.vue","webpack:///./src/components/places-input.vue?acc1","webpack:///./src/components/loading-overlay.vue?0eed","webpack:///./src/components/loading-overlay.vue","webpack:///./src/components/loading-overlay.vue?e62a","webpack:///./src/components/chart-canvas.vue?0567","webpack:///./src/components/chart-canvas.vue","webpack:///./src/components/chart-canvas.vue?5e4b","webpack:///./src/components/data-table.vue?0841","webpack:///./src/components/data-table.vue","webpack:///./src/components/data-table.vue?dccf","webpack:///./src/utils/csv.ts","webpack:///./src/utils/downloads.ts","webpack:///./src/views/shared/overview/metric-bubble.vue?da33","webpack:///./src/views/shared/overview/metric-bubble.vue","webpack:///./src/views/shared/overview/metric-bubble.vue?12ea","webpack:///./src/components/site-tag-overlay.vue?8337","webpack:///./src/views/wizard/tracking.vue?ed18","webpack:///./src/views/shared/overview/assistance.vue?5ee8","webpack:///./src/views/shared/overview/assistance.vue","webpack:///./src/views/shared/overview/assistance.vue?9e5f","webpack:///./src/views/wizard/tracking.vue","webpack:///./src/views/wizard/tracking.vue?804b","webpack:///./src/components/site-tag-overlay.vue","webpack:///./src/components/site-tag-overlay.vue?8cf1","webpack:///./src/utils/helpers.ts","webpack:///./src/views/shared/tooltip.vue?3e2e","webpack:///./src/views/shared/tooltip.vue","webpack:///./src/views/shared/tooltip.vue?5494","webpack:///./src/models/user.type.ts","webpack:///./src/views/shared/customer-overview.vue","webpack:///./src/views/shared/customer-overview.vue?92d1","webpack:///./src/services/api.service.ts","webpack:///./src/services/wizard.service.ts","webpack:///./src/views/wizard/wizard.vue","webpack:///./src/views/wizard/wizard.vue?42cf","webpack:///./src/views/wizard/screener.vue?9cd7","webpack:///./cypress/support/selectors.ts","webpack:///./src/utils/form.ts","webpack:///./src/views/wizard/screener.vue","webpack:///./src/views/wizard/screener.vue?4cad","webpack:///./src/views/wizard/sign-in.vue?5c60","webpack:///./src/views/wizard/sign-in.vue","webpack:///./src/views/wizard/sign-in.vue?4daf","webpack:///./src/views/wizard/support.vue?d1b4","webpack:///./src/views/wizard/support.vue","webpack:///./src/views/wizard/support.vue?1431","webpack:///./src/views/wizard/link-account.vue?baaa","webpack:///./src/views/wizard/link-account.vue","webpack:///./src/views/wizard/link-account.vue?0d26","webpack:///./src/views/wizard/info.vue?e8ad","webpack:///./src/views/wizard/info.vue","webpack:///./src/views/wizard/info.vue?dcba","webpack:///./src/views/wizard/budget.vue?6eea","webpack:///./src/config/index.ts","webpack:///./src/views/wizard/budget.vue","webpack:///./src/views/wizard/budget.vue?03c5","webpack:///./src/views/wizard/target.vue?32c5","webpack:///./src/views/wizard/target.vue","webpack:///./src/views/wizard/target.vue?4922","webpack:///./src/views/wizard/review.vue?ceb6","webpack:///./src/views/wizard/review.vue","webpack:///./src/views/wizard/review.vue?5705","webpack:///./src/views/dashboard/dashboard.vue?f19f","webpack:///./src/views/dashboard/dashboard.vue","webpack:///./src/views/dashboard/dashboard.vue?9d9f","webpack:///./src/views/dashboard/sign-in.vue?c093","webpack:///./src/views/dashboard/sign-in.vue","webpack:///./src/views/dashboard/sign-in.vue?94ab","webpack:///./src/views/debug.vue?8b5e","webpack:///./src/views/debug.vue","webpack:///./src/views/debug.vue?f70f","webpack:///./src/views/wizard/billing.vue?69b4","webpack:///./src/views/wizard/billing.vue","webpack:///./src/views/wizard/billing.vue?d95a","webpack:///./src/views/wizard/stripe-billing.vue?5ff6","webpack:///./src/views/wizard/stripe-billing.vue","webpack:///./src/views/wizard/stripe-billing.vue?ddf3","webpack:///./src/views/admin/admin.vue?a5ab","webpack:///./src/services/admin.service.ts","webpack:///./src/components/breadcrumbs.vue?732e","webpack:///./src/components/breadcrumbs.vue","webpack:///./src/components/breadcrumbs.vue?404c","webpack:///./src/views/admin/admin.vue","webpack:///./src/views/admin/admin.vue?9409","webpack:///./src/views/admin/overview.vue?65b6","webpack:///./src/aggrid/renderers/creation-status.vue?23e8","webpack:///./src/models/account.model.ts","webpack:///./src/aggrid/renderers/creation-status.vue","webpack:///./src/aggrid/renderers/creation-status.vue?9d19","webpack:///./src/aggrid/renderers/account-link.vue?ee09","webpack:///./src/aggrid/renderers/account-link.vue","webpack:///./src/aggrid/renderers/account-link.vue?1166","webpack:///./src/aggrid/renderers/timestamp.vue?853d","webpack:///./src/aggrid/renderers/timestamp.vue","webpack:///./src/aggrid/renderers/timestamp.vue?d906","webpack:///./src/aggrid/renderers/account-status.vue?fe47","webpack:///./src/aggrid/renderers/account-status.vue","webpack:///./src/aggrid/renderers/account-status.vue?133f","webpack:///./src/aggrid/renderers/taxonomy-status.vue","webpack:///./src/aggrid/renderers/taxonomy-status.vue?7b83","webpack:///./src/aggrid/renderers/taxonomy-status.vue?3e8e","webpack:///./src/aggrid/renderers/taxonomy-link.vue?63c9","webpack:///./src/aggrid/renderers/taxonomy-link.vue","webpack:///./src/aggrid/renderers/taxonomy-link.vue?226a","webpack:///./src/aggrid/renderers/recommendation-actions.vue?0d4a","webpack:///./src/aggrid/renderers/recommendation-actions.vue","webpack:///./src/aggrid/renderers/recommendation-actions.vue?ef16","webpack:///./src/aggrid/renderers/analytics-link.vue?20dd","webpack:///./src/aggrid/renderers/analytics-link.vue","webpack:///./src/aggrid/renderers/analytics-link.vue?23ff","webpack:///./src/aggrid/renderers/demo-link.vue?ba99","webpack:///./src/aggrid/renderers/demo-link.vue","webpack:///./src/aggrid/renderers/demo-link.vue?6e2e","webpack:///./src/aggrid/renderers/user-type.vue?0ddd","webpack:///./src/aggrid/renderers/user-type.vue","webpack:///./src/aggrid/renderers/user-type.vue?b481","webpack:///./src/aggrid/defaults.ts","webpack:///./src/views/admin/overview.vue","webpack:///./src/views/admin/overview.vue?267a","webpack:///./src/views/admin/taxonomies/taxonomies.vue?7547","webpack:///./src/views/admin/taxonomies/taxonomies.vue","webpack:///./src/views/admin/taxonomies/taxonomies.vue?52a6","webpack:///./src/views/admin/users.vue?e899","webpack:///./src/utils/element-table-holder.ts","webpack:///./src/views/admin/users/invite-modal.vue?b884","webpack:///./src/views/admin/users/invite-modal.vue","webpack:///./src/views/admin/users/invite-modal.vue?8b16","webpack:///./src/views/admin/users.vue","webpack:///./src/views/admin/users.vue?4c58","webpack:///./src/views/admin/taxonomies/taxonomy-details.vue?1061","webpack:///./src/views/admin/taxonomies/taxonomy-details.vue","webpack:///./src/views/admin/taxonomies/taxonomy-details.vue?0cd3","webpack:///./src/views/dashboard/invite-expired.vue?0f3f","webpack:///./src/views/dashboard/invite-expired.vue","webpack:///./src/views/dashboard/invite-expired.vue?cc01","webpack:///./src/views/admin/taxonomies/taxonomy-form.vue?58c6","webpack:///./src/views/admin/taxonomies/taxonomy-form.vue","webpack:///./src/views/admin/taxonomies/taxonomy-form.vue?4758","webpack:///./src/views/dashboard/Forbidden.vue?d85a","webpack:///./src/views/dashboard/Forbidden.vue","webpack:///./src/views/dashboard/Forbidden.vue?adc8","webpack:///./src/views/dashboard/account-inactive.vue?57fb","webpack:///./src/views/dashboard/account-inactive.vue","webpack:///./src/views/dashboard/account-inactive.vue?db25","webpack:///./src/views/dashboard/not-found.vue?a1d2","webpack:///./src/views/dashboard/not-found.vue","webpack:///./src/views/dashboard/not-found.vue?85b1","webpack:///./src/views/dashboard/dashboard-overview.vue?5bf7","webpack:///./src/views/dashboard/dashboard-overview.vue","webpack:///./src/views/dashboard/dashboard-overview.vue?802a","webpack:///./src/views/admin/admin-customer-overview.vue?571f","webpack:///./src/views/admin/admin-customer-overview.vue","webpack:///./src/views/admin/admin-customer-overview.vue?a904","webpack:///./src/views/admin/accounts/accounts.vue?eb78","webpack:///./src/views/admin/accounts/accounts.vue","webpack:///./src/views/admin/accounts/accounts.vue?3413","webpack:///./src/views/admin/accounts/account-details.vue?0576","webpack:///./src/views/admin/accounts/account-notes.vue?00cd","webpack:///./src/views/admin/accounts/modals/customer-note.vue?7a74","webpack:///./src/models/customer.demeanor.ts","webpack:///./src/models/customer.call.status.ts","webpack:///./src/models/customer.call.source.ts","webpack:///./src/views/admin/accounts/modals/customer-note.vue","webpack:///./src/views/admin/accounts/modals/customer-note.vue?669f","webpack:///./src/views/admin/accounts/account-notes.vue","webpack:///./src/views/admin/accounts/account-notes.vue?8ada","webpack:///./src/views/admin/accounts/modals/add-campaign-modal.vue?7cdd","webpack:///./src/views/admin/accounts/modals/add-campaign-modal.vue","webpack:///./src/views/admin/accounts/modals/add-campaign-modal.vue?f9db","webpack:///./src/views/admin/accounts/details/wizard-data.vue?c67f","webpack:///./src/views/admin/accounts/details/wizard-data.vue","webpack:///./src/views/admin/accounts/details/wizard-data.vue?df46","webpack:///./src/views/admin/accounts/details/recommendations.vue?cba0","webpack:///./src/views/admin/accounts/details/recommendations.vue","webpack:///./src/views/admin/accounts/details/recommendations.vue?5b1a","webpack:///./src/views/admin/accounts/account-subscription.vue?fdfd","webpack:///./src/models/subscription.model.ts","webpack:///./src/views/admin/accounts/modals/metered-usage-modal.vue?903e","webpack:///./src/views/admin/accounts/modals/metered-usage-modal.vue","webpack:///./src/views/admin/accounts/modals/metered-usage-modal.vue?5fd1","webpack:///./src/views/admin/accounts/account-subscription.vue","webpack:///./src/views/admin/accounts/account-subscription.vue?1749","webpack:///./src/views/admin/accounts/account-details.vue","webpack:///./src/views/admin/accounts/account-details.vue?d6fd","webpack:///./src/models/reporting/reporting.model.ts","webpack:///./src/views/admin/analytics/clusters.vue?744f","webpack:///./src/views/admin/analytics/clusters.vue","webpack:///./src/views/admin/analytics/clusters.vue?122a","webpack:///./src/views/admin/analytics/cluster.vue?9de1","webpack:///./src/views/admin/analytics/modals/bid-adjust.vue?b4e5","webpack:///./src/models/demographics.model.ts","webpack:///./src/views/admin/analytics/modals/bid-adjust.vue","webpack:///./src/views/admin/analytics/modals/bid-adjust.vue?7d7a","webpack:///./src/views/admin/analytics/modals/pause-resume.vue?d1a7","webpack:///./src/views/admin/analytics/modals/pause-resume.vue","webpack:///./src/views/admin/analytics/modals/pause-resume.vue?7951","webpack:///./src/views/admin/analytics/modals/edit-keyword.vue?ccd2","webpack:///./src/views/admin/analytics/modals/edit-keyword.vue","webpack:///./src/views/admin/analytics/modals/edit-keyword.vue?1b33","webpack:///./src/views/admin/analytics/cluster.vue","webpack:///./src/views/admin/analytics/cluster.vue?7bcd","webpack:///./src/views/admin/analytics/keywords.vue?43cc","webpack:///./src/views/admin/analytics/keywords.vue","webpack:///./src/views/admin/analytics/keywords.vue?f94b","webpack:///./src/views/admin/analytics/keyword.vue?5c3c","webpack:///./src/views/admin/analytics/keyword.vue","webpack:///./src/views/admin/analytics/keyword.vue?1bea","webpack:///./src/views/admin/analytics/keyword-cluster.vue?e48f","webpack:///./src/views/admin/analytics/keyword-cluster.vue","webpack:///./src/views/admin/analytics/keyword-cluster.vue?a78f","webpack:///./src/views/admin/analytics/search-terms.vue?e13e","webpack:///./src/views/admin/analytics/search-terms.vue","webpack:///./src/views/admin/analytics/search-terms.vue?6d8f","webpack:///./src/views/admin/analytics/search-term.vue?f636","webpack:///./src/views/admin/analytics/search-term.vue","webpack:///./src/views/admin/analytics/search-term.vue?37ad","webpack:///./src/views/admin/analytics/search-term-cluster.vue?689c","webpack:///./src/views/admin/analytics/search-term-cluster.vue","webpack:///./src/views/admin/analytics/search-term-cluster.vue?2906","webpack:///./src/views/admin/analytics/demographics.vue?c4a5","webpack:///./src/views/admin/analytics/demographics.vue","webpack:///./src/views/admin/analytics/demographics.vue?d02a","webpack:///./src/views/admin/analytics/demographic.vue?2f6e","webpack:///./src/views/admin/analytics/demographic.vue","webpack:///./src/views/admin/analytics/demographic.vue?acb1","webpack:///./src/views/admin/analytics/demographic-cluster.vue?c607","webpack:///./src/views/admin/analytics/demographic-cluster.vue","webpack:///./src/views/admin/analytics/demographic-cluster.vue?e5ad","webpack:///./src/views/wizard/location.vue?c51a","webpack:///./src/services/my-business.service.ts","webpack:///./src/views/wizard/location.vue","webpack:///./src/views/wizard/location.vue?729e","webpack:///./src/views/wizard/location-business-verification.vue?4f54","webpack:///./src/models/location-data.model.ts","webpack:///./src/views/wizard/location-business-verification.vue","webpack:///./src/views/wizard/location-business-verification.vue?5b9f","webpack:///./src/views/wizard/location-success.vue?a63e","webpack:///./src/components/location-widget.vue?b3e8","webpack:///./src/components/location-widget.vue","webpack:///./src/components/location-widget.vue?d29f","webpack:///./src/views/wizard/location-success.vue","webpack:///./src/views/wizard/location-success.vue?4069","webpack:///./src/views/wizard/location-oauth-callback.vue","webpack:///./src/views/wizard/location-oauth-callback.vue?e77b","webpack:///./src/views/admin/reports/adp-metrics.vue?5d74","webpack:///./src/views/admin/reports/adp-metrics.vue","webpack:///./src/views/admin/reports/adp-metrics.vue?f1c2","webpack:///./src/views/wizard/marketplace.vue?1476","webpack:///./src/views/wizard/marketplace.vue","webpack:///./src/views/wizard/marketplace.vue?c096","webpack:///./src/router/index.ts","webpack:///./src/directives/click-outside.directive.ts","webpack:///./src/main.ts","webpack:///./src/app.scss?422b","webpack:///./src/views/admin/accounts/account-details.vue?88e1","webpack:///./src/components/places-input.vue?9228","webpack:///./src/views/admin/accounts/modals/customer-note.vue?4462","webpack:///./src/views/wizard/location-business-verification.vue?bb22","webpack:///./src/views/wizard/link-account.vue?1e41","webpack:///./src/views/wizard/screener.vue?e7dd"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","map","webpackContext","req","id","webpackContextResolve","e","Error","code","keys","resolve","script","__exports__","render","env","apiURI","isLocal","envBrand","slug","email","number","numberOnly","replace","tos","kb","isGSB","isUpnetic","stripePublicKey","VUE_APP_STRIPE_LIVE_PK","oauthWebClientID","googleMapsApiKey","ready","console","log","registered","cached","updatefound","updated","setTimeout","location","reload","offline","error","brand","environment","_hoisted_1","_hoisted_2","_hoisted_3","src","height","width","_hoisted_4","class","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_ctx","_cache","$props","$setup","$data","$options","_component_LoadingOverlay","_component_router_view","loading","href","kbURL","CampaignWizardStep","TargetingMethod","CampaignBudgetLevel","CampaignAreaTargetingType","Prop","options","undefined","componentOptions","props","Emit","emits","computed","this","set","$emit","Watch","path","handler","watch","Array","isArray","VModel","modelValue","AuthProviders","ExceptionCode","googleProvider","adpProvider","timout","userSubject","BehaviorSubject","logoutSubject","timeoutReset","clearTimeout","sessionTimout","getAuthentication","deAuthenticate","authenticated","firebaseConfig","apiKey","authDomain","projectId","storageBucket","messagingSenderId","appId","measurementId","firebase","analytics","addScope","setCustomParameters","connection","Auth","useDeviceLanguage","idTokenChange","getToken","Promise","getIdToken","asObservable","pipe","filter","v","take","toPromise","armTimeout","document","addEventListener","disarmTimeout","removeEventListener","instance","authenticate","catch","authenticateAdp","linkToAdp","linkToGoogle","unlinkAdp","providerId","unlinkGoogle","signOut","user","next","providerData","find","google","Authentication","isAuthenticationException","UserRole","status","Http","isHttpException","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","_hoisted_52","_hoisted_53","_hoisted_54","_hoisted_55","_hoisted_56","_hoisted_57","_hoisted_64","_hoisted_65","_hoisted_66","_hoisted_67","_hoisted_68","_hoisted_69","_hoisted_70","_hoisted_77","_hoisted_78","_hoisted_85","_hoisted_86","_hoisted_87","_hoisted_88","_hoisted_89","_hoisted_90","_hoisted_97","_hoisted_98","_hoisted_99","_hoisted_100","_hoisted_101","_hoisted_102","_hoisted_103","_hoisted_104","_hoisted_105","_hoisted_106","_hoisted_107","_hoisted_108","alt","_hoisted_109","_hoisted_110","_hoisted_111","_hoisted_112","_hoisted_113","_component_Dropdown","_component_SiteTagOverlay","_component_MetricBubble","_component_Tooltip","_component_ChartCanvas","_component_el_button","_component_el_col","_component_el_row","_component_Assistance","onClick","$event","navVisible","emptyState","visible","timeline","placeholder","timelineSelection","devices","deviceSelection","networks","networkSelection","showSiteTagOverlay","pageTitle","adProblem","paymentError","adPaused","inReview","waitingToStart","creating","invited","profile","type","startDate","target","impressionsData","empty","clicksData","phoneConversionsData","directionConversionsData","spendData","cpcData","conversions","text","allConversions","metrics","chartSelection","chartData","csv","download","campaigns","campaign","formatNumber","impressions","campaignTotals","clicks","formatCost","spend","costPerClick","handleShowSiteTag","args","circleClass","adStatus","adPreviewData","customerName","searchTerm","url","headline","description","gutter","default","sm","md","style","downloadingKeywords","downloadKeywords","disabled","_","downloadingAdCopies","downloadAdCopies","apiService","Instance","reroute","router","currentRoute","getProfile","role","Customer","RouteName","Dashboard","Admin","Forbidden","DashboardOverview","SignIn","getCampaignState","state","step","Done","Wizard","initCampaignState","WizardInfo","_withId","metadata","beforeMetric","metric","afterMetric","quote","subtext","required","showOptions","onKeydown","onKey","onFocusin","isFocused","onFocusout","showPlaceholder","valueDisplay","show","moveSelection","selectorMonthDisplay","onMouseover","focusLock","onMouseout","selectorStartDay","select","selected","isSelected","displayDate","selectorMonth","valueOf","Boolean","format","month","start","startOf","day","ts","date","onInputUpdate","val","isSame","event","preventDefault","direction","subtract","add","end","clone","isBetween","_directive_click_outside","altStyle","focusedIndex","ref","option","index","onMouseup","hideOptions","selectIndex","$refs","selectOptions","children","scrollIntoView","block","autocomplete","getRandomAutocompleteBecauseBrowsersDontLikeToListen","input","onInput","clickInput","trim","usStates","abbreviation","latitude","longitude","place","selectedName","address","addressComponents","address_components","parseAddressComponents","buildAddress","reduce","seed","longName","shortName","types","forEach","place_id","street","administrative_area_level_1","city","country","postalCode","postal_code","geometry","lat","lng","maybeCity","locality","postal_town","sublocality_level_1","neighborhood","streetNumber","street_number","route","point_of_interest","place_changed","level","regionMode","clearOnSelect","debouncedFn","sessionToken","characters","charAt","Math","floor","random","getSessionToken","places","AutocompleteSessionToken","focusInput","refs","theInput","focus","mounted","loader","version","libraries","load","maps","service","AutocompleteService","placesService","PlacesService","createElement","resetInput","$nextTick","fetchOptions","City","statesOnly","query","componentRestrictions","fields","getPlacePredictions","filteredOptions","predictions","indexOf","counter","toLocaleLowerCase","includes","getPlaceDetails","placeId","reject","request","getDetails","GooglePlaceParser","_component_LoadingIndicator","LoadingOverlay","components","LoadingIndicator","chart","onDataChange","canvas","destroy","configuration","header","downloadDataCallback","downloadData","columns","column","sortColumn","sortDirection","rows","row","rowIndex","valueIndex","nextPage","previousPage","setPage","currentPage","onDataUpdate","csvBody","join","open","encodeURI","exportToCsv","filename","headers","columHeaders","separator","csvContent","k","cell","Date","toLocaleString","toString","search","blob","Blob","navigator","msSaveBlob","link","URL","createObjectURL","setAttribute","visibility","body","appendChild","click","removeChild","buildAndExportAdCopies","adCopies","items","adCopy","headlines","descriptions","buildAndExportKeywords","keywords","keyword","sort","a","b","secondaryColor","icon","color","displayTransformFunction","metricTitle","totalMetric","percentageOfTotal","metricDescription","round","MetricBubble","closeModal","loadingTagInstallationStatus","detectedCms","onclick","getConversionTagStatus","installationUrl","installationLinkText","scriptCopyBody","readonly","tertiary","scriptCopyAltColorVisible","copyScriptToClipboard","_hoisted_58","_hoisted_59","_hoisted_60","_hoisted_61","_hoisted_62","_hoisted_63","_hoisted_71","_hoisted_72","_hoisted_73","_hoisted_74","_hoisted_75","_hoisted_76","_hoisted_79","_hoisted_80","_hoisted_81","_component_WizardInfo","infoMetadata","installInstructionsVisible","tagInstalled","skipTrackingStep","websiteUrl","detectedCmsResponse","ContentManager","Other","googleQueryTemplate","cmsTagInstallationHint","helpText","globalSiteTagVisible","WordPress","conversionId","showInstructionsRedirect","externalManagementInfoVisible","installationInfoCopyAltColorVisible","copyInstallationInfoToClipboard","installationLinksVisible","wixInstallationUrl","squareSpaceInstallationUrl","goDaddyInstallationUrl","weeblyInstallationUrl","generalInstallationUrl","installationInfoCopyBody","Assistance","wizardService","loadingCmsDetection","cmsIsSupported","wordPressInstallationUrl","snippet","decodeURIComponent","content","intro","installationIntro","cmsSpecific","cmsGeneral","googleSupportSection","tagCopy","additionalInfo","getStateOrReRoute","$router","$route","tagStatus","setupCmsLinksAndInstructions","detectedCMS","Wix","Weebly","Squarespace","GoDaddy","showInstallInstructions","conversionTagStatusResponse","tag","getWebsiteCMS","cmsResponse","snippetText","execCommand","setSelectionRange","blur","infoText","hiddenContent","skipTrackingSetup","Tracking","WizardProgress","onCloseButtonClick","SiteTagOverlay","replacePlaceholders","line","areaTargets","areaTargetingCity","targetAddress","areaTargetingState","businessName","roundMicros","cost","micros","formatDate","capitalizeFirstLetter","string","toUpperCase","targetingModeDisplayName","method","Distance","addSpacesOnCapitalization","separatorRegex","capitalized","String","toLocaleUpperCase","substring","isNumeric","test","copyToClipboard","sourceStr","inputDom","copyToClipboardShowNotification","what","title","message","histogram","iterable","Map","x","mostCommon","maxKey","maxCount","from","count","inObj","obj","def","lookIn","notFound","pathArr","split","el","Tooltip","UserType","AdStatus","MetricDuration","Device","Network","ChartDataMetrics","authService","dashboardService","Last7Days","All","tableData","metricsByDay","showAlerts","statusCheckPass","website","Last30Days","Mobile","Tablet","Desktop","Search","DIRECTIONCONVERSIONS","CLICKS","TOTALSPEND","PHONECONVERSIONS","COSTPERCLICK","IMPRESSIONS","last7DayData","last7DayDataExpiration","last30DayData","last30DayDataExpiration","getMetricTotals","metricsCallback","onDeviceSelectionChange","onFiltersChange","onNetworkSelectionChange","onTimelineSelectionChange","metricResponse","metricTotals","customer","metricSetup","chartSetup","campaignSetup","onChartSelectionChange","bypass","labelMap","unix","parseInt","entries","entry","directionConversions","phoneConversions","labels","datasets","label","backgroundColor","tension","fill","borderColor","pointBackgroundColor","plugins","legend","display","profileCallback","then","loadData","unmounted","silent","statusCallback","statusSetup","adCopySetup","copyCallback","isLinkedAccount","InvitePending","Creating","NotActive","totalCampaigns","campaignMapWithId","adsServing","adsEnabled","billingValid","Active","Marketplace","Waiting","InReview","metricsData","totalsMetricsData","isDataFiltered","customerAdCopy","getCustomerKeywords","getCustomerAdCopies","CustomerOverview","ChartCanvas","DataTable","Dropdown","HttpMethod","getOrInitProfile","http","signal","token","Headers","append","requestInit","JSON","stringify","uri","fetch","response","json","GET","autoCompleteAddress","encodeURIComponent","getCustomerBillingStatus","linkAccount","POST","postLinkClientCustomer","client","getCustomerClientLink","patchCampaignInfo","info","patchCampaignAreaTarget","patchCampaignDistanceTarget","patchCampaignBudget","budget","patchCampaignReview","review","getAvailableKeywordsForCampaign","getAvailableExtensionsForCampaign","changeWizardStep","PATCH","getTaxonomies","getAllTaxonomies","getEnabledTaxonomies","getCustomerStatus","getCustomerAdCopy","getCustomerAdCopiesById","getCustomerKeywordsById","getCustomerCampaignStatusRequestById","postCustomerCampaignStatusRequestById","getCampaignCreationStatuses","getCustomerPullNow","getCustomerStatusAdmin","customerId","getCustomerAdCopyAdmin","getCustomerMetrics","duration","device","network","getCustomerMetricsAdmin","generateInviteCode","userRole","setTaxonomyStatus","enabled","wipeCampaignState","userId","DELETE","forceCampaignCreation","checkCustomerBillingStatus","useInviteCode","inviteCode","initCredentials","redirectUrl","createGMBAccount","locationData","getCategories","getLocations","createGMBFeed","consumeAdpUserId","adpUserId","getTaxonomy","createTaxonomy","taxonomy","saveTaxonomy","PUT","getUsers","getCustomers","getCustomer","getCustomerByCustomerId","getCustomerCampaignState","disableUser","changeUserType","changeAccountStatus","getRecommendations","getRecommendationsForCustomer","dismissRecommendation","applyRecommendation","getReportingClusters","endDate","page","pageSize","deviceTypeFilter","getReportingCluster","getReportingKeywords","orderBy","filterBy","remainingQuery","getReportingKeyword","getReportingKeywordCluster","clusterId","getReportingSearchTerms","getReportingSearchTerm","getReportingSearchTermCluster","getReportingDemographics","getReportingDemographic","selector","getReportingDemographicCluster","addKeywords","pauseResumeCampaigns","bidAdjustments","getAdminReportMetrics","getCustomerNotes","getCustomerNote","noteId","addCustomerNote","note","deleteCustomerNote","updateCustomerNote","addCampaignToAccount","campaignId","submitMeteredUsageToAccount","usage","period","getSubscription","isActive","Inactive","WizardMarketplace","WizardScreener","WizardSignIn","WizardLinkAccount","WizardTarget","WizardBudget","WizardReview","WizardBilling","WizardTracking","Billing","WizardSupport","localStorage","getItem","LinkAccount","Info","Target","Budget","Review","Location","WizardLocation","brandKbURL","hostname","taxonomyId","campaignIds","userType","setItem","WizardScreenerSelectors","WizardInfoSelectors","DashboardSelectors","AdminOverviewSelectors","_component_WizardProgress","Selectors","PageWrapper","onSubmit","novalidate","YesRadio","formData","adsRunning","NoRadio","submittedFormError","ContinueButton","validatorFn","instant","inputValidators","formValidator","formError","inputErrors","runFormValidation","trySubmit","runValidation","errors","hasError","validateInstantInputErrors","instantInputErrors","valid","instantValidators","validator","clearErrors","submittedInputErrors","callback","errorCallback","values","FormInputValidator","allCaps","requiredArray","requiredBoolean","requiredNumber","isNaN","maxLength","max","minDate","min","match","phone","requiresIf","check","requiredPlacesArray","genericFormValidator","formGroup","missingRequiredFields","screenerInfo","Screener","shouldShowData","signIn","removeItem","_component_router_link","to","Support","clientCustomerIdErrors","clientCustomerId","clientCustomerIdRequiredError","clientCustomerIdMaxError","Number","_component_PlacesInput","nameErrors","nameRequiredError","nameLengthError","nameAllCapsError","websiteErrors","websiteRequiredError","websiteFormatError","phoneErrors","phoneFormatError","includePhone","autoFilledAddress","addressErrors","addressFormatError","includeAddress","industry","industryOptions","industryErrors","industryRequiredError","showIndustry","verticals","vertical","toLowerCase","isURL","selectedAddress","zip","verticalId","websiteError","PlacesInput","cluster","checkedClusters","highlight","shouldShowLowStyle","applyLowStyle","totalLows","lowClicksLowBudget","highClicksLowBudget","shouldShowMediumStyle","applyMediumStyle","totalMeds","lowClicksMediumBudget","highClicksMediumBudget","shouldShowHighStyle","applyHighStyle","totalHighs","lowClicksHighBudget","highClicksHighBudget","GenericCampaign","lowBudget","mediumBudget","highBudget","GenericTaxonomy","targetingMethod","Area","calloutExtensions","negativeKeywords","budgetLevel","Medium","shouldShowError","isMarketplace","getBudgetVal","nullVal","preferredBudgetLevel","userSelectedCampaignIdsCSV","userSelectedCampaignIds","Low","High","clusterIds","campaignBudget","_component_el_tag","areaTargeting","areaType","AreaTargetingType","selectCityRadio","cityValueSelected","addressesErrors","onPlace_changed","citySelected","userSelectedCities","closable","onClose","removeCity","size","State","selectStateRadio","stateValueSelected","stateSelected","userSelectedStates","removeState","selectUnitedStatesRadio","Country","addresses","addressProvided","addressesFormatError","distance","commentsErrors","comments","commentsLengthError","mapsUrl","watchDistance","updateMap","watchUserSelectedCities","watchUserSelectedStates","setAddressesCheckValidation","some","refInput","cityPlaces","statePlaces","autoFillAreaTarget","areaTargetingName","territory","areaTargetingLatitude","long","areaTargetingLongitude","autoFillDistanceTarget","getMapSrc","areaTargetingType","targetDistance","targetingComments","getStateMapSrc","getCitiesMapSrc","mapLocation","zoomLevel","cities","mapSrc","getMapBaseURL","states","staticMapSrc","radius","earthRadius","pi","PI","latRadians","longRadians","radiusRadians","radians","pLat","asin","sin","cos","pLng","atan2","out","deep","_hoisted_82","_hoisted_83","_hoisted_84","_component_DatePicker","_component_el_tooltip","_component_el_input","_component_el_form_item","_component_el_form","spendPerDay","spendPerMonth","clicksPerMonth","startNow","onChange","clearStartDate","setStartDateThreeDaysFromNow","startDateErrors","placement","span","customKeyword","customKeywords","onKeyup","addKeyword","maxlength","keywordInput","removeKeyword","customKeywordsErrors","keywordSelected","toggleKeyword","pattern","keywordsErrors","extensions","extension","adPreviewMetadata","tosErrors","idVerificationErrors","idVerification","validators","validateKeyword","buildAdPreview","keywordIds","agreedToTos","billingResult","billingLink","DatePicker","beforeMount","invite","SupportAgent","AccountManager","AdminReadOnly","adminLastPath","AdminOverview","go","InviteExpired","DashboardSignIn","signInAdp","canLinkAdp","canUnlinkAdp","canLinkGoogle","canUnlinkGoogle","logUser","forceCampaign","wipeCampaign","dropdownModel","placesLevel","authProviders","userName","getProviders","adp","Debug","ttr","inviteLink","interval","routeToNextStep","billingStatus","nextStep","setInterval","clearInterval","stripeLoaded","errorDescription","submitForm","stripe","confirmPayment","elements","redirect","confirmParams","return_url","origin","Stripe","clientSecret","appearance","variables","spacingUnit","spacingGridRow","paymentElement","business","on","mount","_component_el_menu_item","_component_el_menu","_component_breadcrumbs","AdminAccounts","isAdmin","isAdminReadOnly","isAccountManager","AdminAnalyticsClusters","AdminTaxonomies","AdminUsers","AdminReportsAdpMetrics","confirmLogOut","Component","isSupportAgent","setRole","subscribe","_component_el_breadcrumb_item","_component_el_breadcrumb","crumbs","crumb","circle","lastCrumb","pathArray","breadcrumbs","breadcrumbArray","idx","matched","meta","breadCrumb","formatText","textFormatter","adminService","confirm","confirmButtonText","cancelButtonText","setLicenseKey","Breadcrumbs","_component_el_alert","_component_ag_grid_vue","_component_el_card","_component_el_space","_directive_loading","alignment","columnDefs","recommendationsColumnDefs","rowData","currentRecommendations","recommendationsGridOptions","loadingRecommendations","failedCampaignCreationStatuses","campaignStatusColumnDefs","failedCampaignStatusGridOptions","loadingCampaignCreationStatuses","createdCampaignCreationStatuses","createdCampaignStatusGridOptions","AccountStatus","CreationStatus","CampaignStatus","MccRegion","tagType","params","Created","Failed","AdminAccountDetails","accountId","idField","Pending","PartiallyCreated","Removed","TaxonomyStatus","AdminTaxonomyDetails","dismiss","routeName","routeId","routeParams","AdminAnalyticsDemographic","ADP","defaultColDefs","flex","sortable","resizable","menuTabs","filterParams","buttons","defaultGridOptions","sideBar","defaultColDef","pagination","paginationPageSize","domLayout","rowGroupPanelShow","campaignCreationStatuses","recommendations","dismissingRecommendation","applyingRecommendation","headerName","field","valueFormatter","cellRenderer","enableRowGroup","cellRendererParams","creationStatus","recommendation","customerResourceName","createdAt","success","AgGridVue","justify","routeToNew","clearable","taxonomies","gridOptions","paginationAutoPageSize","api","setQuickFilter","AdminTaxonomyFormNew","_component_InviteModal","_component_el_table_column","_component_el_table","_component_el_pagination","displayInviteModal","tableHolder","prop","scope","disablingUser","revokeUserAccess","onCurrentChange","changePage","layout","total","totalPages","filterBasis","rawTableData","formatCurrency","cellValue","currencyFormatter","numberFormat","Intl","NumberFormat","currency","ceil","filteredRawTableData","basis","startIndex","sortByNumber","parseFloat","changePageSize","_component_el_option","_component_el_select","_component_el_dialog","userRoleOptions","item","copyUrl","pDisplay","baseLink","onInputChange","lock","background","close","urlInput","getSelection","removeAllRanges","InviteModal","ElementTableHolder","users","_component_el_switch","routeToEdit","taxonomyStatusChanging","beforeChange","toggleTaxonomy","AdminTaxonomyFormEdit","_component_el_radio","editMode","multiple","filterable","validNumberOfExtensions","validNumberOfNegativeKeywords","showAddNegativeKeywords","newNegativeKeywords","submitNewNegativeKeywords","campaignIndex","validNumberOfKeywords","showAddKeywords","selectedCampaignIndex","newKeywords","submitNewKeywords","headlineIndex","removeHeadline","tabindex","validNumberOfHeadlines","addHeadline","descriptionIndex","removeDescription","validNumberOfDescriptions","addDescription","removeCampaign","addCampaign","routeBack","requestSending","saveChanges","originalTaxonomyKeywords","originalCampaignKeywords","showKeywordsModal","showNegativeKeywordsModal","concat","nextIndex","focusOnInput","getElementById","compileKeywordsAndAdCopy","validateForm","decompileKeywordsAndAdCopy","h","formIsValid","nameValid","validateHeaderOrNameLength","invalidNegativeKeywords","invalidExtensions","validateCalloutLength","invalidCampaigns","campaignNameValid","invalidKeywords","invalidHeadlines","invalidDescriptions","validateDescriptionLength","validLowBudget","validMediumBudget","validHighBudget","validLowClicksLowBudget","validHighClicksLowBudget","validLowClicksMediumBudget","validHighClicksMediumBudget","validLowClicksHighBudget","validHighClicksHighBudget","AdminTaxonomyForm","AccountInactive","NotFound","_component_CustomerOverview","AdminCustomerOverview","customerAccounts","filterStatus","toolPanels","labelDefault","labelKey","iconKey","toolPanel","toolPanelParams","suppressRowGroups","suppressValues","suppressPivots","suppressPivotMode","suppressColumnFilter","suppressColumnSelectAll","suppressColumnExpandAll","defaultToolPanel","defaultExportParams","allColumns","hide","getAccounts","accounts","account","contactName","timeZone","mccId","_component_AddCampaignModel","_component_el_icon","_component_el_dropdown_item","_component_el_dropdown_menu","_component_el_dropdown","_component_AccountDetailsRecommendations","_component_AccountSubscription","_component_CustomerNotes","_component_AccountDetailsWizardData","forceGetPullCustomer","displayCampaignModal","customerIdFormatted","editingUserType","UserTypes","customerBillingStatus","statusBadgeType","editingAccountStatus","accountStatus","AccountStatuses","editingUserStep","userStep","userStepsOptions","customerClientLink","dropdown","exportKeywordsCSV","exportAdCopiesCSV","downloadingFile","confirmForceCreation","navigateToDashboard","completedWizard","campaignStatusBadgeType","align","resumeCampaign","pauseCampaign","loadingCampaigns","onCampaignCreated","getAccount","_component_CustomerNoteModal","_component_el_timeline_item","_component_el_timeline","_component_el_drawer","displayNoteModal","currentNote","loadNotes","addNote","displayTimeline","reportData","order","demeanorObj","editNote","threadId","addThread","deleteNote","timestamp","createdAtFull","shadow","padding","createdBy","statusDisplay","sourceDisplay","demeanor","demeanorOptions","callStatusOptions","source","callSourceOptions","sourceLink","countdown","remainingCount","bodyLength","saveNote","NA","Happy","Normal","MildlyUpset","Upset","ExtremelyUpset","Resolved","Unresolved","Outstanding","Call","LiveChat","initForm","customerNote","demeanorValid","sourceValid","statusValid","bodyValid","bodyLengthValid","CustomerNoteModal","notes","createdAtDisplay","toISOString","CustomerNotes","taxonomyChange","loadTaxonomies","AddCampaignModal","_component_el_popconfirm","campaignState","reviewComments","creationTagType","campaignCreationStatus","getFormattedTimestamp","plain","loadAndShowWizardJSON","campaignStateTableHolder","border","wizardDataTable","toggleRowExpansion","onSizeChange","totalRawRows","loadingCampaignState","showWizardJSON","refreshCampaignCreationStatus","refreshingCreationStatus","editedParsedJSON","onConfirm","sendAndRetryCreation","reference","sendindUpdatedJSON","exception","unmodifiedCampaignRequest","modifiedCampaignRequest","originalCampaignRequest","previouslyFailed","jsonEditor","onChangeJSON","editor","wizardJsonEditor","getCampaignCreationStatus","setUnmodified","parse","originalRequest","update","convertWizardDataToArray","skipKeys","epochFields","parsedValue","fromNow","epoch","hasModifiedRequest","validate","campaignRequest","recommendationsTableHolder","SubscriptionStatus","SubscriptionUsageStatus","_component_MeteredUsageModal","displayMeteredUsageModal","loadSubscription","subscription","adpAssociateId","adpOrganizationId","subscriptionStatusBadgeType","subscriptionUsageStatusBadgeType","_component_el_input_number","addMeteredUsage","getMonth","getDate","year","getFullYear","MeteredUsageModal","InActive","Submitted","u","periodDisplay","requestId","AccountSubscription","UserSteps","getCustomerError","managerId","resourceName","onUserTypeChange","onAccountStatusChange","onUserStepChange","substr","campaignName","ids","paused","totalSpend","budgetSurplus","averageCpc","isBillingStepOrFurther","Suspended","Cancelled","Paused","Unknown","AddCampaignModel","AccountDetailsWizardData","AccountDetailsRecommendations","DemographicType","_component_el_date_picker","AdminAnalyticsKeywords","AdminAnalyticsSearchTerms","AdminAnalyticsDemographics","AgeRange","deviceType","clusters","getTime","rawData","deviceTypeUpdate","getData","endUpdate","startUpdate","pageUpdate","AdminAnalyticsCluster","results","costMicros","cpc","AnalyticsClusters","_component_PauseResumeModal","_component_BidAdjustModal","_component_EditKeywordModal","clusterLabel","checkedOptions","pauseResume","bidAdjust","editKeywords","showPauseResume","inUseIds","showBidAdjust","showEditKeywords","Gender","IncomeRange","BidOption","_component_el_checkbox","mobileBidType","bidOptions","mobileBid","computerBidType","computerBid","tabletBidType","tabletBid","maximizeConversions","maximizeClicks","ageSelection","ageOptions","ageBid","genderSelection","genderOptions","genderBid","incomeSelection","incomeOptions","incomeBid","doIt","closeIt","Increase","Decrease","AGE_RANGE_UNDETERMINED","AGE_RANGE_18_24","AGE_RANGE_25_34","AGE_RANGE_35_44","AGE_RANGE_45_54","AGE_RANGE_55_64","AGE_RANGE_65_UP","UNDETERMINED","MALE","FEMALE","INCOME_RANGE_UNDETERMINED","INCOME_RANGE_0_50","INCOME_RANGE_50_60","INCOME_RANGE_60_70","INCOME_RANGE_70_80","INCOME_RANGE_80_90","INCOME_RANGE_90_UP","BidAdjustModal","pauseIt","resumeIt","PauseResumeModal","EditKeywordModal","onSelection","checked","getSelectedRows","rowSelection","checkboxSelection","headerCheckboxSelection","AnalyticsCluster","AdminAnalyticsKeyword","pages","orderByUpdate","filterByUpdate","ctr","absoluteTop","clickShare","impressionShare","AnalyticsKeywords","AdminAnalyticsKeywordCluster","AnalyticsKeyword","AnalyticsKeywordCluster","AdminAnalyticsSearchTerm","AnalyticsSearchTerms","AdminAnalyticsSearchTermCluster","AnalyticsSearchTerm","AnalyticsSearchTermCluster","demographics","typeUpdate","AnalyticsDemographics","selectorUpdate","selectorLabel","valueGetter","AdminAnalyticsDemographicCluster","AnalyticsDemographic","clusterIdUpdate","clusterName","AnalyticsDemographicCluster","hasGoogleAccount","captureCode","urlSearchParams","URLSearchParams","protocol","host","myBusinessService","buttonSelection","GMBBusinessType","offerServices","category","categoryOptions","categories","displayName","AbortController","regions","region","CUSTOMER_AND_BUSINESS_LOCATION","CUSTOMER_LOCATION_ONLY","languageCode","placeName","revision","regionCode","administrativeArea","addressLines","latlng","radiusKm","LocationBusinessVerification","_component_LocationWidget","locations","selectedItem","selectionMade","WizardLocationBusVerification","locationInfo","onToggle","storefrontAddress","phoneNumbers","primaryPhone","toggle","LocationSuccess","LocationWidget","WizardLocationSuccess","exportToExcel","groupDisplayType","groupDefaultExpanded","excelStyles","dataType","interior","font","autoGroupColumnDef","cellClass","rowGroup","showLoadingOverlay","active","adpId","contactEmail","registeredAt","googleAdsStatusAt","prevSpend","prevMonthSpend","monthSpend","monthToDateSpend","lifetimeSpend","inActive","hideOverlay","exportDataAsExcel","fileName","fontSize","prependContent","AdminReportAdpMetrics","linkGoogle","reqProviders","onAuthStateChanged","every","GeneralRoutes","DashboardRoutes","AdminRoutes","WizardRoutes","routes","component","beforeEnter","showCopyButton","WizardLocationOAuthCallback","history","registerClickOutsideDirective","app","directive","binding","vnode","clickOutsideEvent","contains","register","use","mixin","useStripe","__VUE_DEVTOOLS_GLOBAL_HOOK__","Vue"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,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GACvB9rC,EAAG+rC,kBAAoB,SAAS3gD,GACxB4U,IAAO5U,EAAM3G,QAAUub,EAAGgsC,SAAS5gD,EAAM3G,SAC7ConD,EAAQl5D,MAAMyY,EAAO4U,IAGzBjkB,SAASyZ,KAAKxZ,iBAAiB,QAASgkB,EAAG+rC,oBAE7C5nC,UAAS,SAACnE,GACRjkB,SAASyZ,KAAKtZ,oBAAoB,QAAS8jB,EAAG+rC,sBCHpD,QAAME,SAAQ,MAAd,QAAkB,SAElB,IAAM,GAAM,eAAU,GAAKC,IAAI,IAE/B,GAAIC,MAAM,CACRr8D,KAAI,WACF,MAAO,CACLuG,MAAK,EACLjB,UAAWiB,EAAMjB,UACjBD,MAAOkB,EAAMlB,MACbi3D,YAAa/1D,EAAMhB,oBAKzB,GAAI62D,IAAI,SAERR,GAA8B,IAE9B,GAAI3oB,MAAM,QAGyB,QAAnC,GAAAvvC,OAAO64D,oCAA4B,YAAEC,IAAM,K,yDChC3C,W,gFCAA,W,yDCAA,W,uGCAA,W,kCCAA,W,gFCAA,W,yDCAA","file":"app.js?ver=1.4.0","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./invite-modal.vue?vue&type=style&index=0&id=e1c65558&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./invite-expired.vue?vue&type=style&index=0&id=3969e86f&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./account-inactive.vue?vue&type=style&index=0&id=526a8c59&scoped=true&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./chart-canvas.vue?vue&type=style&index=0&id=9dd7e4ca&scoped=true&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./site-tag-overlay.vue?vue&type=style&index=0&id=f425b55a&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./account-notes.vue?vue&type=style&index=0&id=027babf6&scoped=true&lang=css\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./support.vue?vue&type=style&index=0&id=10e5a208&scoped=true&lang=scss\"","var map = {\n\t\"./af\": \"2bfb\",\n\t\"./af.js\": \"2bfb\",\n\t\"./ar\": \"8e73\",\n\t\"./ar-dz\": \"a356\",\n\t\"./ar-dz.js\": \"a356\",\n\t\"./ar-kw\": \"423e\",\n\t\"./ar-kw.js\": \"423e\",\n\t\"./ar-ly\": \"1cfd\",\n\t\"./ar-ly.js\": \"1cfd\",\n\t\"./ar-ma\": \"0a84\",\n\t\"./ar-ma.js\": \"0a84\",\n\t\"./ar-sa\": \"8230\",\n\t\"./ar-sa.js\": \"8230\",\n\t\"./ar-tn\": \"6d83\",\n\t\"./ar-tn.js\": \"6d83\",\n\t\"./ar.js\": \"8e73\",\n\t\"./az\": \"485c\",\n\t\"./az.js\": \"485c\",\n\t\"./be\": \"1fc1\",\n\t\"./be.js\": \"1fc1\",\n\t\"./bg\": \"84aa\",\n\t\"./bg.js\": \"84aa\",\n\t\"./bm\": \"a7fa\",\n\t\"./bm.js\": \"a7fa\",\n\t\"./bn\": \"9043\",\n\t\"./bn-bd\": \"9686\",\n\t\"./bn-bd.js\": \"9686\",\n\t\"./bn.js\": \"9043\",\n\t\"./bo\": \"d26a\",\n\t\"./bo.js\": \"d26a\",\n\t\"./br\": \"6887\",\n\t\"./br.js\": \"6887\",\n\t\"./bs\": \"2554\",\n\t\"./bs.js\": \"2554\",\n\t\"./ca\": \"d716\",\n\t\"./ca.js\": \"d716\",\n\t\"./cs\": \"3c0d\",\n\t\"./cs.js\": \"3c0d\",\n\t\"./cv\": \"03ec\",\n\t\"./cv.js\": \"03ec\",\n\t\"./cy\": \"9797\",\n\t\"./cy.js\": \"9797\",\n\t\"./da\": \"0f14\",\n\t\"./da.js\": \"0f14\",\n\t\"./de\": \"b469\",\n\t\"./de-at\": \"b3eb\",\n\t\"./de-at.js\": \"b3eb\",\n\t\"./de-ch\": \"bb71\",\n\t\"./de-ch.js\": \"bb71\",\n\t\"./de.js\": \"b469\",\n\t\"./dv\": \"598a\",\n\t\"./dv.js\": \"598a\",\n\t\"./el\": \"8d47\",\n\t\"./el.js\": \"8d47\",\n\t\"./en-au\": \"0e6b\",\n\t\"./en-au.js\": \"0e6b\",\n\t\"./en-ca\": \"3886\",\n\t\"./en-ca.js\": \"3886\",\n\t\"./en-gb\": \"39a6\",\n\t\"./en-gb.js\": \"39a6\",\n\t\"./en-ie\": \"e1d3\",\n\t\"./en-ie.js\": \"e1d3\",\n\t\"./en-il\": \"7333\",\n\t\"./en-il.js\": \"7333\",\n\t\"./en-in\": \"ec2e\",\n\t\"./en-in.js\": \"ec2e\",\n\t\"./en-nz\": \"6f50\",\n\t\"./en-nz.js\": \"6f50\",\n\t\"./en-sg\": \"b7e9\",\n\t\"./en-sg.js\": \"b7e9\",\n\t\"./eo\": \"65db\",\n\t\"./eo.js\": \"65db\",\n\t\"./es\": \"898b\",\n\t\"./es-do\": \"0a3c\",\n\t\"./es-do.js\": \"0a3c\",\n\t\"./es-mx\": \"b5b7\",\n\t\"./es-mx.js\": \"b5b7\",\n\t\"./es-us\": \"55c9\",\n\t\"./es-us.js\": \"55c9\",\n\t\"./es.js\": \"898b\",\n\t\"./et\": \"ec18\",\n\t\"./et.js\": \"ec18\",\n\t\"./eu\": \"0ff2\",\n\t\"./eu.js\": \"0ff2\",\n\t\"./fa\": \"8df4\",\n\t\"./fa.js\": \"8df4\",\n\t\"./fi\": \"81e9\",\n\t\"./fi.js\": \"81e9\",\n\t\"./fil\": \"d69a\",\n\t\"./fil.js\": \"d69a\",\n\t\"./fo\": \"0721\",\n\t\"./fo.js\": \"0721\",\n\t\"./fr\": \"9f26\",\n\t\"./fr-ca\": \"d9f8\",\n\t\"./fr-ca.js\": \"d9f8\",\n\t\"./fr-ch\": \"0e49\",\n\t\"./fr-ch.js\": \"0e49\",\n\t\"./fr.js\": \"9f26\",\n\t\"./fy\": \"7118\",\n\t\"./fy.js\": \"7118\",\n\t\"./ga\": \"5120\",\n\t\"./ga.js\": \"5120\",\n\t\"./gd\": \"f6b4\",\n\t\"./gd.js\": \"f6b4\",\n\t\"./gl\": \"8840\",\n\t\"./gl.js\": \"8840\",\n\t\"./gom-deva\": \"aaf2\",\n\t\"./gom-deva.js\": \"aaf2\",\n\t\"./gom-latn\": \"0caa\",\n\t\"./gom-latn.js\": \"0caa\",\n\t\"./gu\": \"e0c5\",\n\t\"./gu.js\": \"e0c5\",\n\t\"./he\": \"c7aa\",\n\t\"./he.js\": \"c7aa\",\n\t\"./hi\": \"dc4d\",\n\t\"./hi.js\": \"dc4d\",\n\t\"./hr\": \"4ba9\",\n\t\"./hr.js\": \"4ba9\",\n\t\"./hu\": \"5b14\",\n\t\"./hu.js\": \"5b14\",\n\t\"./hy-am\": \"d6b6\",\n\t\"./hy-am.js\": \"d6b6\",\n\t\"./id\": \"5038\",\n\t\"./id.js\": \"5038\",\n\t\"./is\": \"0558\",\n\t\"./is.js\": \"0558\",\n\t\"./it\": \"6e98\",\n\t\"./it-ch\": \"6f12\",\n\t\"./it-ch.js\": \"6f12\",\n\t\"./it.js\": \"6e98\",\n\t\"./ja\": \"079e\",\n\t\"./ja.js\": \"079e\",\n\t\"./jv\": \"b540\",\n\t\"./jv.js\": \"b540\",\n\t\"./ka\": \"201b\",\n\t\"./ka.js\": \"201b\",\n\t\"./kk\": \"6d79\",\n\t\"./kk.js\": \"6d79\",\n\t\"./km\": \"e81d\",\n\t\"./km.js\": \"e81d\",\n\t\"./kn\": \"3e92\",\n\t\"./kn.js\": \"3e92\",\n\t\"./ko\": \"22f8\",\n\t\"./ko.js\": \"22f8\",\n\t\"./ku\": \"2421\",\n\t\"./ku.js\": \"2421\",\n\t\"./ky\": \"9609\",\n\t\"./ky.js\": \"9609\",\n\t\"./lb\": \"440c\",\n\t\"./lb.js\": \"440c\",\n\t\"./lo\": \"b29d\",\n\t\"./lo.js\": \"b29d\",\n\t\"./lt\": \"26f9\",\n\t\"./lt.js\": \"26f9\",\n\t\"./lv\": \"b97c\",\n\t\"./lv.js\": \"b97c\",\n\t\"./me\": \"293c\",\n\t\"./me.js\": \"293c\",\n\t\"./mi\": \"688b\",\n\t\"./mi.js\": \"688b\",\n\t\"./mk\": \"6909\",\n\t\"./mk.js\": \"6909\",\n\t\"./ml\": \"02fb\",\n\t\"./ml.js\": \"02fb\",\n\t\"./mn\": \"958b\",\n\t\"./mn.js\": \"958b\",\n\t\"./mr\": \"39bd\",\n\t\"./mr.js\": \"39bd\",\n\t\"./ms\": \"ebe4\",\n\t\"./ms-my\": \"6403\",\n\t\"./ms-my.js\": \"6403\",\n\t\"./ms.js\": \"ebe4\",\n\t\"./mt\": \"1b45\",\n\t\"./mt.js\": \"1b45\",\n\t\"./my\": \"8689\",\n\t\"./my.js\": \"8689\",\n\t\"./nb\": \"6ce3\",\n\t\"./nb.js\": \"6ce3\",\n\t\"./ne\": \"3a39\",\n\t\"./ne.js\": \"3a39\",\n\t\"./nl\": \"facd\",\n\t\"./nl-be\": \"db29\",\n\t\"./nl-be.js\": \"db29\",\n\t\"./nl.js\": \"facd\",\n\t\"./nn\": \"b84c\",\n\t\"./nn.js\": \"b84c\",\n\t\"./oc-lnc\": \"167b\",\n\t\"./oc-lnc.js\": \"167b\",\n\t\"./pa-in\": \"f3ff\",\n\t\"./pa-in.js\": \"f3ff\",\n\t\"./pl\": \"8d57\",\n\t\"./pl.js\": \"8d57\",\n\t\"./pt\": \"f260\",\n\t\"./pt-br\": \"d2d4\",\n\t\"./pt-br.js\": \"d2d4\",\n\t\"./pt.js\": \"f260\",\n\t\"./ro\": \"972c\",\n\t\"./ro.js\": \"972c\",\n\t\"./ru\": \"957c\",\n\t\"./ru.js\": \"957c\",\n\t\"./sd\": \"6784\",\n\t\"./sd.js\": \"6784\",\n\t\"./se\": \"ffff\",\n\t\"./se.js\": \"ffff\",\n\t\"./si\": \"eda5\",\n\t\"./si.js\": \"eda5\",\n\t\"./sk\": \"7be6\",\n\t\"./sk.js\": \"7be6\",\n\t\"./sl\": \"8155\",\n\t\"./sl.js\": \"8155\",\n\t\"./sq\": \"c8f3\",\n\t\"./sq.js\": \"c8f3\",\n\t\"./sr\": \"cf1e\",\n\t\"./sr-cyrl\": \"13e9\",\n\t\"./sr-cyrl.js\": \"13e9\",\n\t\"./sr.js\": \"cf1e\",\n\t\"./ss\": \"52bd\",\n\t\"./ss.js\": \"52bd\",\n\t\"./sv\": \"5fbd\",\n\t\"./sv.js\": \"5fbd\",\n\t\"./sw\": \"74dc\",\n\t\"./sw.js\": \"74dc\",\n\t\"./ta\": \"3de5\",\n\t\"./ta.js\": \"3de5\",\n\t\"./te\": \"5cbb\",\n\t\"./te.js\": \"5cbb\",\n\t\"./tet\": \"576c\",\n\t\"./tet.js\": \"576c\",\n\t\"./tg\": \"3b1b\",\n\t\"./tg.js\": \"3b1b\",\n\t\"./th\": \"10e8\",\n\t\"./th.js\": \"10e8\",\n\t\"./tk\": \"5aff\",\n\t\"./tk.js\": \"5aff\",\n\t\"./tl-ph\": \"0f38\",\n\t\"./tl-ph.js\": \"0f38\",\n\t\"./tlh\": \"cf75\",\n\t\"./tlh.js\": \"cf75\",\n\t\"./tr\": \"0e81\",\n\t\"./tr.js\": \"0e81\",\n\t\"./tzl\": \"cf51\",\n\t\"./tzl.js\": \"cf51\",\n\t\"./tzm\": \"c109\",\n\t\"./tzm-latn\": \"b53d\",\n\t\"./tzm-latn.js\": \"b53d\",\n\t\"./tzm.js\": \"c109\",\n\t\"./ug-cn\": \"6117\",\n\t\"./ug-cn.js\": \"6117\",\n\t\"./uk\": \"ada2\",\n\t\"./uk.js\": \"ada2\",\n\t\"./ur\": \"5294\",\n\t\"./ur.js\": \"5294\",\n\t\"./uz\": \"2e8c\",\n\t\"./uz-latn\": \"010e\",\n\t\"./uz-latn.js\": \"010e\",\n\t\"./uz.js\": \"2e8c\",\n\t\"./vi\": \"2921\",\n\t\"./vi.js\": \"2921\",\n\t\"./x-pseudo\": \"fd7e\",\n\t\"./x-pseudo.js\": \"fd7e\",\n\t\"./yo\": \"7f33\",\n\t\"./yo.js\": \"7f33\",\n\t\"./zh-cn\": \"5c3a\",\n\t\"./zh-cn.js\": \"5c3a\",\n\t\"./zh-hk\": \"49ab\",\n\t\"./zh-hk.js\": \"49ab\",\n\t\"./zh-mo\": \"3a6c\",\n\t\"./zh-mo.js\": \"3a6c\",\n\t\"./zh-tw\": \"90ea\",\n\t\"./zh-tw.js\": \"90ea\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"4678\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./budget.vue?vue&type=style&index=0&id=4adc5927&scoped=true&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./loading-indicator.vue?vue&type=style&index=0&id=1ddb4ed2&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./sign-in.vue?vue&type=style&index=0&id=066cde26&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./not-found.vue?vue&type=style&index=0&id=4b1b084e&scoped=true&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./data-table.vue?vue&type=style&index=0&id=ff5675c0&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./tracking.vue?vue&type=style&index=0&id=4c2368ae&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./metered-usage-modal.vue?vue&type=style&index=0&id=73724092&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./assistance.vue?vue&type=style&index=0&id=97fda6e6&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./metric-bubble.vue?vue&type=style&index=0&id=08c314f8&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./account-details.vue?vue&type=style&index=0&id=e507f944&lang=scss&scoped=true\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./location-widget.vue?vue&type=style&index=0&id=0bb1ca0e&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./review.vue?vue&type=style&index=0&id=20e8d4e9&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./target.vue?vue&type=style&index=0&id=7501ccf0&scoped=true&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./loading-overlay.vue?vue&type=style&index=0&id=908decd4&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./location.vue?vue&type=style&index=0&id=7855d42c&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./stripe-billing.vue?vue&type=style&index=0&id=0427e995&scoped=true&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./date-picker.vue?vue&type=style&index=0&id=6beb8177&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Forbidden.vue?vue&type=style&index=0&id=f790921a&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./admin.vue?vue&type=style&index=0&id=473362b7&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./debug.vue?vue&type=style&index=0&id=2825bbf2&scoped=true&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./wizard-progress.vue?vue&type=style&index=0&id=336916c4&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./taxonomy-form.vue?vue&type=style&index=0&id=4bab948b&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./billing.vue?vue&type=style&index=0&id=22cc6d69&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./customer-overview.vue?vue&type=style&index=0&id=3509f118&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./marketplace.vue?vue&type=style&index=0&id=c09a4886&scoped=true&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./wizard-info.vue?vue&type=style&index=0&id=c90f287a&scoped=true&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./wizard-data.vue?vue&type=style&index=1&id=5c4b9ad8&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./tooltip.vue?vue&type=style&index=0&id=504e40b2&scoped=true&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./add-campaign-modal.vue?vue&type=style&index=0&id=1a24c358&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./wizard.vue?vue&type=style&index=0&id=4c279c7e&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./sign-in.vue?vue&type=style&index=0&id=54d5532b&scoped=true&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./wizard-data.vue?vue&type=style&index=0&id=5c4b9ad8&lang=scss&scoped=true\"","\n\n\n","import { render } from \"./app.vue?vue&type=template&id=c3596440\"\nconst script = {}\n\nimport \"./app.scss?vue&type=style&index=0&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","interface Environment {\n apiURI: string;\n isLocal: boolean;\n}\n\nexport interface Brand {\n slug: string;\n name: string;\n email: string;\n number: string;\n numberOnly: number | string;\n tos: string;\n kb: string;\n isGSB: boolean;\n isUpnetic: boolean;\n stripePublicKey: string | undefined;\n oauthWebClientID: string;\n googleMapsApiKey: string;\n}\n\nfunction env(): Environment {\n switch (process.env.NODE_ENV) {\n case 'localssl':\n case 'production':\n return {\n apiURI: '/api',\n isLocal: false\n };\n case 'local':\n return {\n apiURI: 'http://localhost:8080',\n isLocal: true\n };\n default:\n return {\n apiURI: 'https://dev.upneticads.com/api',\n isLocal: false\n };\n }\n}\n\nfunction envBrand(): Brand {\n return {\n slug: process.env.VUE_APP_BRAND!,\n name: process.env.VUE_APP_BRAND_NAME!,\n email: process.env.VUE_APP_BRAND_EMAIL!,\n number: process.env.VUE_APP_BRAND_NUMBER!,\n numberOnly: process.env.VUE_APP_BRAND_NUMBER!.replace(/[^0-9]/g, ''),\n tos: process.env.VUE_APP_BRAND_TOS!,\n kb: process.env.VUE_APP_BRAND_KB!,\n isGSB: process.env.VUE_APP_BRAND === 'gsb',\n isUpnetic: process.env.VUE_APP_BRAND === 'upnetic',\n stripePublicKey: 'VUE_APP_STRIPE_LIVE_PK' in process.env ? (process.env.NODE_ENV === 'production' ? process.env.VUE_APP_STRIPE_LIVE_PK : process.env.VUE_APP_STRIPE_TEST_PK) : '',\n oauthWebClientID: process.env.VUE_APP_GOOGLE_WEB_CLIENT_ID!,\n googleMapsApiKey: process.env.VUE_APP_GOOGLE_MAPS_API_KEY!\n };\n}\n\nexport const brand = envBrand();\nexport const environment = env();\n","/* eslint-disable no-console */\n\nimport { register } from 'register-service-worker';\n\nif (process.env.NODE_ENV === 'production') {\n register(`${process.env.BASE_URL}service-worker.js`, {\n ready() {\n console.log(\n 'App is being served from cache by a service worker.\\n' +\n 'For more details, visit https://goo.gl/AFskqB'\n );\n },\n registered() {\n console.log('Service worker has been registered.');\n },\n cached() {\n console.log('Content has been cached for offline use.');\n },\n updatefound() {\n console.log('New content is downloading.');\n },\n updated() {\n console.log('New content is available; please refresh.');\n setTimeout(() => {\n window.location.reload();\n }, 1000);\n },\n offline() {\n console.log('No internet connection found. App is running in offline mode.');\n },\n error(error) {\n console.error('Error during service worker registration:', error);\n }\n });\n}\n","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { id: \"backdrop\" }\nconst _hoisted_2 = { id: \"info\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"img\", {\n id: \"icon\",\n src: \"/img/arrows.svg\",\n height: \"108\",\n width: \"108\"\n}, null, -1)\nconst _hoisted_4 = { class: \"have-questions\" }\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"h2\", null, \"Have Questions?\", -1)\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-phone\" }, null, -1)\nconst _hoisted_7 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-envelope\" }, null, -1)\nconst _hoisted_8 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-envelope\" }, null, -1)\nconst _hoisted_9 = /*#__PURE__*/_createVNode(\"div\", { id: \"whitespace\" }, null, -1)\nconst _hoisted_10 = { id: \"foreground\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_LoadingOverlay = _resolveComponent(\"LoadingOverlay\")\n const _component_router_view = _resolveComponent(\"router-view\")\n\n return (_openBlock(), _createBlock(\"div\", {\n id: \"wizard\",\n class: {loading: _ctx.loading}\n }, [\n _createVNode(_component_LoadingOverlay),\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"img\", {\n id: \"logo\",\n class: _ctx.brand.slug + '-logo',\n src: '/img/' + _ctx.brand.slug + '-logo.svg',\n width: \"200\"\n }, null, 10, [\"src\"]),\n _hoisted_3,\n _createVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createVNode(\"a\", {\n href: 'tel:' + _ctx.brand.numberOnly,\n class: \"d-block have-questions-link\"\n }, [\n _hoisted_6,\n _createTextVNode(\" \" + _toDisplayString(_ctx.brand.number), 1)\n ], 8, [\"href\"]),\n _createVNode(\"a\", {\n href: 'mailto:' + _ctx.brand.email,\n class: \"d-block have-questions-link\"\n }, [\n _hoisted_7,\n _createTextVNode(\" \" + _toDisplayString(_ctx.brand.email), 1)\n ], 8, [\"href\"]),\n (_ctx.kbURL)\n ? (_openBlock(), _createBlock(\"a\", {\n key: 0,\n href: _ctx.brand.kb,\n class: \"d-block have-questions-link\"\n }, [\n _hoisted_8,\n _createTextVNode(\" \" + _toDisplayString(_ctx.kbURL), 1)\n ], 8, [\"href\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _hoisted_9\n ]),\n _createVNode(\"div\", _hoisted_10, [\n _createVNode(_component_router_view)\n ])\n ], 2))\n}","import { Address } from '../address.model';\nimport { TaxonomyModel } from '../taxonomies/taxonomy.model';\nimport { TaxonomyCampaignModel } from '../taxonomies/taxonomy-campaign.model';\nimport { TaxonomyKeywordModel } from '../taxonomies/taxonomy-keyword.model';\nimport { AreaTargetModel } from './area-target.model';\nimport { UserModel } from '@/models/user.model';\n\nexport enum CampaignWizardStep {\n SignIn = 'SignIn',\n LinkAccount = 'LinkAccount',\n Info = 'Info',\n Target = 'Target',\n Budget = 'Budget',\n Review = 'Review',\n Billing = 'Billing',\n Location = 'Location',\n Tracking = 'Tracking',\n Done = 'Done',\n Marketplace = 'Marketplace'\n}\n\nexport enum TargetingMethod {\n Distance = 'Distance',\n Area = 'Area',\n}\n\nexport enum CampaignBudgetLevel {\n Low = 'Low',\n Medium = 'Medium',\n High = 'High'\n}\n\nexport enum CampaignAreaTargetingType {\n City = 'City',\n State = 'State',\n Country = 'Country'\n}\n\nexport interface CampaignStateModelWProfile extends CampaignStateModel {\n profile?: UserModel;\n}\n\nexport interface CampaignStateModel {\n [key: string]: any;\n id: string;\n step: CampaignWizardStep;\n businessName: string | null;\n websiteUrl: string | null;\n phone: string | null;\n includePhone: boolean | null;\n address: Address | null;\n includeAddress: boolean | null;\n taxonomy: TaxonomyModel | null;\n targetingMethod: TargetingMethod | null;\n targetDistance: number | null;\n targetAddress: Address | null;\n areaTargetingType: CampaignAreaTargetingType | null;\n areaTargets: Array;\n targetingComments: string | null;\n preferredBudgetLevel: CampaignBudgetLevel | null;\n campaigns: Array> | null;\n startDate: number | null; // epoch time in milli\n keywords: Array | null;\n extensions: Array | null;\n customKeywords: Array | null;\n reviewComments: string | null;\n agreedToTos: number | null; // epoch time in milli\n billingSeen: number | null; // epoch time in milli\n trackingCodeSeen: number | null; // epoch time in milli\n inviteLink: string | null;\n conversionId: string | null;\n\n}\n","import { createDecorator } from 'vue-class-component';\n\ninterface PropOptions {\n type?: never;\n}\n\nexport function Prop(options?: PropOptions) {\n if (options === undefined) { options = {}; }\n return createDecorator((componentOptions, key) => {\n (componentOptions.props || (componentOptions.props = {}))[key] = options;\n });\n}\n","import { createDecorator } from 'vue-class-component';\n\ninterface EmitOptions {\n type?: never;\n}\n\nexport function Emit(options?: EmitOptions) {\n if (options === undefined) { options = {}; }\n return createDecorator((componentOptions, key) => {\n (componentOptions.emits || (componentOptions.emits = [])).push(`update:${key}`);\n (componentOptions.computed || (componentOptions.computed = {}))[key] = {\n get: function() {\n return this[`${key}Holder`];\n },\n set: function(value: T) {\n this[`${key}Holder`] = value;\n this.$emit(`update:${key}`, value);\n }\n };\n });\n}\n","import { createDecorator } from 'vue-class-component';\n\ninterface WatchOptions {\n deep?: boolean;\n}\n\nexport function Watch(path: string, options?: WatchOptions) {\n if (options === undefined) { options = {}; }\n return createDecorator((componentOptions, handler) => {\n componentOptions.watch = componentOptions.watch || {};\n const watch: any = componentOptions.watch;\n if (typeof watch[path] === 'object' && !Array.isArray(watch[path])) {\n watch[path] = [watch[path]];\n } else if (typeof watch[path] === 'undefined') {\n watch[path] = [];\n }\n\n watch[path].push({ handler, ...options });\n });\n}\n","import { createDecorator } from 'vue-class-component';\n\ninterface VModelOptions {\n type?: never;\n}\n\nexport function VModel(options?: VModelOptions) {\n if (options === undefined) { options = {}; }\n return createDecorator(function(componentOptions, key) {\n (componentOptions.props || (componentOptions.props = {})).modelValue = options;\n (componentOptions.emits || (componentOptions.emits = [])).push('update:modelValue');\n (componentOptions.computed || (componentOptions.computed = {}))[key] = {\n get: function() {\n return this.modelValue;\n },\n set: function(value: T) {\n this.$emit('update:modelValue', value);\n }\n };\n });\n}\n","import { ref } from 'vue';\nimport { initializeApp } from 'firebase/app';\nimport { getAnalytics } from 'firebase/analytics';\nimport { getAuth, updateEmail, GoogleAuthProvider, OAuthProvider, linkWithPopup, linkWithRedirect, unlink, signInWithPopup, signInWithRedirect, onIdTokenChanged, User } from 'firebase/auth';\nimport { Ref } from '@vue/reactivity';\nimport { BehaviorSubject, Observable } from 'rxjs';\nimport { filter, take } from 'rxjs/operators';\nimport { brand, environment } from '@/utils/environment';\nimport { FirebaseApp } from '@firebase/app';\nimport { Analytics } from '@firebase/analytics';\n\nexport enum AuthProviders {\n google='google.com',\n adp='oidc.adp-open-id'\n}\n\nexport class AuthService {\n private static instance: AuthService;\n private firebase: FirebaseApp;\n private analytics: Analytics;\n private googleProvider = new GoogleAuthProvider();\n private adpProvider = new OAuthProvider('oidc.adp-open-id');\n\n private timout: NodeJS.Timeout | undefined = undefined;\n\n private userSubject = new BehaviorSubject(undefined);\n\n logoutSubject = new BehaviorSubject(false);\n\n get Auth() {\n return getAuth(this.firebase);\n }\n\n async getToken(): Promise {\n return this.userSubject.value?.getIdToken();\n };\n\n async getAuthentication(): Promise {\n return (this.userSubject.asObservable().pipe(filter(v => v !== undefined)) as Observable).pipe(take(1)).toPromise();\n }\n\n private constructor() {\n let firebaseConfig = {\n apiKey: 'AIzaSyClJBmsF6UZuBxfGhZpK8ccJTQF2ZNmoaA',\n authDomain: 'dev.upneticads.com',\n projectId: 'tarkenton-ads-platform',\n storageBucket: 'tarkenton-ads-platform.appspot.com',\n messagingSenderId: '172763258550',\n appId: '1:172763258550:web:11f91f05b75d4258615017',\n measurementId: 'G-J06E3867B0'\n };\n\n if (brand.isGSB) {\n firebaseConfig = {\n apiKey: 'AIzaSyDh7oZbVfnBhpbH6RREQkL_Hs5AHUAzjdA',\n authDomain: 'auth.ga.gosmallbiz.com',\n projectId: 'gosmallbiz-ads',\n storageBucket: 'gosmallbiz-ads.appspot.com',\n messagingSenderId: '416434661867',\n appId: '1:416434661867:web:2c50791fec808b83d191ae',\n measurementId: 'G-HS07QSVVEX'\n };\n }\n\n this.firebase = initializeApp(firebaseConfig);\n this.analytics = getAnalytics(this.firebase);\n this.googleProvider.addScope('email');\n this.googleProvider.addScope('openid');\n\n this.adpProvider.addScope('openid');\n this.adpProvider.addScope('profile');\n\n // if (!environment.isLocal) {\n // Forces pass through to ADP SSO\n this.adpProvider.setCustomParameters({ connection: 'oid-adp-marketplace' });\n // }\n\n this.Auth.useDeviceLanguage();\n\n onIdTokenChanged(this.Auth, this.idTokenChange.bind(this));\n }\n\n public armTimeout() {\n if (!this.timout) {\n document.addEventListener('mousemove', this.timeoutReset);\n document.addEventListener('keydown', this.timeoutReset);\n }\n }\n\n public disarmTimeout() {\n document.removeEventListener('mousemove', this.timeoutReset);\n document.removeEventListener('keydown', this.timeoutReset);\n }\n\n private timeoutReset = () => {\n if (this.timout) {\n clearTimeout(this.timout);\n }\n this.timout = setTimeout(() => this.sessionTimout(), 1000 * 60 * 30);\n };\n\n private sessionTimout = async() => {\n if (await this.getAuthentication() !== null) {\n await this.deAuthenticate();\n }\n };\n\n public static get Instance() {\n return this.instance || (this.instance = new this());\n }\n\n async authenticate() {\n // const ua = navigator.userAgent;\n // if ((/Safari/.test(ua) && !/Chrome/.test(ua)) || environment.isLocal) {\n if (environment.isLocal) {\n await signInWithPopup(this.Auth, this.googleProvider).catch(console.log);\n } else {\n await signInWithRedirect(this.Auth, this.googleProvider);\n }\n }\n\n async authenticateAdp() {\n // const ua = navigator.userAgent;\n // if ((/Safari/.test(ua) && !/Chrome/.test(ua)) || environment.isLocal) {\n if (environment.isLocal) {\n await signInWithPopup(this.Auth, this.adpProvider).catch(console.log);\n } else {\n await signInWithRedirect(this.Auth, this.adpProvider);\n }\n }\n\n async linkToAdp() {\n if (this.userSubject.value) {\n // const ua = navigator.userAgent;\n // if ((/Safari/.test(ua) && !/Chrome/.test(ua)) || environment.isLocal) {\n if (environment.isLocal) {\n await linkWithPopup(this.userSubject.value, this.adpProvider);\n } else {\n await linkWithRedirect(this.userSubject.value, this.adpProvider);\n }\n }\n }\n\n async linkToGoogle() {\n if (this.userSubject.value) {\n // const ua = navigator.userAgent;\n // if ((/Safari/.test(ua) && !/Chrome/.test(ua)) || environment.isLocal) {\n if (environment.isLocal) {\n await linkWithPopup(this.userSubject.value, this.googleProvider).catch(console.log);\n } else {\n await linkWithRedirect(this.userSubject.value, this.googleProvider);\n }\n }\n }\n\n async unlinkAdp() {\n if (this.userSubject.value) {\n await unlink(this.userSubject.value, this.adpProvider.providerId);\n }\n }\n\n async unlinkGoogle() {\n if (this.userSubject.value) {\n await unlink(this.userSubject.value, this.googleProvider.providerId);\n }\n }\n\n async deAuthenticate() {\n await getAuth().signOut();\n }\n\n private async idTokenChange(user: User | null) {\n if (user != null) {\n this.userSubject.next(user);\n this.authenticated.value = true;\n try {\n // Sync Google Provider Data to FB Profile\n const providerData = user.providerData.find(({ providerId }) => providerId === AuthProviders.google);\n if (providerData && providerData.email && user.email !== providerData.email) {\n await updateEmail(user, providerData.email).catch(console.log);\n }\n } catch (err) { console.log(err); }\n } else {\n if (this.userSubject.value) {\n this.logoutSubject.next(true);\n }\n this.userSubject.next(null);\n\n this.authenticated.value = false;\n this.disarmTimeout();\n }\n }\n\n authenticated: Ref = ref(false);\n}\n","enum ExceptionCode {\n Authentication,\n Http\n}\nexport class AuthenticationException extends Error {\n code = ExceptionCode.Authentication;\n}\nexport function isAuthenticationException(e: Error): e is AuthenticationException {\n return (e as AuthenticationException).code === ExceptionCode.Authentication;\n}\nexport class HttpException extends Error {\n constructor(public status: number) {\n super();\n }\n\n code = ExceptionCode.Http;\n}\nexport function isHttpException(e: Error): e is HttpException {\n return (e as HttpException).code === ExceptionCode.Http;\n}\n","import { UserType } from '@/models/user.type';\n\nexport enum UserRole {\n Admin = 'Admin',\n AdminReadOnly = 'AdminReadOnly',\n AccountManager = 'AccountManager',\n SupportAgent = 'SupportAgent',\n Customer = 'Customer'\n}\n\nexport interface UserModel {\n role: UserRole;\n id: string;\n name: string;\n email: string;\n isLinkedAccount: boolean;\n isActive: boolean;\n type: UserType;\n}\n","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, Fragment as _Fragment, renderList as _renderList, withCtx as _withCtx, createStaticVNode as _createStaticVNode } from \"vue\"\n\nconst _hoisted_1 = { id: \"backdrop\" }\nconst _hoisted_2 = { id: \"header\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"div\", { id: \"whitespace\" }, null, -1)\nconst _hoisted_4 = { id: \"foreground\" }\nconst _hoisted_5 = {\n key: 0,\n id: \"content-wrapper\"\n}\nconst _hoisted_6 = {\n id: \"content\",\n class: \"loading\"\n}\nconst _hoisted_7 = { class: \"input-container\" }\nconst _hoisted_8 = { class: \"input-container\" }\nconst _hoisted_9 = { class: \"input-container\" }\nconst _hoisted_10 = { id: \"content-wrapper\" }\nconst _hoisted_11 = { class: \"main\" }\nconst _hoisted_12 = { class: \"title-container\" }\nconst _hoisted_13 = { class: \"title\" }\nconst _hoisted_14 = {\n key: 0,\n class: \"error-div\"\n}\nconst _hoisted_15 = { class: \"error-content-container\" }\nconst _hoisted_16 = {\n key: 0,\n class: \"error-header\"\n}\nconst _hoisted_17 = {\n key: 1,\n class: \"error-header\"\n}\nconst _hoisted_18 = {\n key: 2,\n class: \"error-header\"\n}\nconst _hoisted_19 = {\n key: 3,\n class: \"error-content\"\n}\nconst _hoisted_20 = {\n key: 4,\n class: \"error-content ad-problem\"\n}\nconst _hoisted_21 = {\n key: 5,\n class: \"error-content ad-problem\"\n}\nconst _hoisted_22 = {\n key: 1,\n class: \"in-review-content-container\"\n}\nconst _hoisted_23 = {\n key: 0,\n class: \"in-review-content-header\"\n}\nconst _hoisted_24 = {\n key: 1,\n class: \"in-review-content-header\"\n}\nconst _hoisted_25 = /*#__PURE__*/_createTextVNode(\"Please wait while your account manager reviews your site and create customized ads for your business.\")\nconst _hoisted_26 = /*#__PURE__*/_createTextVNode(\"This process should take no longer than 30 seconds. Please wait while the system creates your ads.\")\nconst _hoisted_27 = {\n key: 2,\n class: \"in-review-content-header\"\n}\nconst _hoisted_28 = {\n key: 3,\n class: \"in-review-content-header\"\n}\nconst _hoisted_29 = {\n key: 4,\n class: \"in-review-content-header\"\n}\nconst _hoisted_30 = /*#__PURE__*/_createTextVNode(\"If you have any questions, requests, or concerns, please don’t hesitate to reach out to \")\nconst _hoisted_31 = /*#__PURE__*/_createTextVNode(\" You can also learn more at the \")\nconst _hoisted_32 = {\n key: 5,\n class: \"in-review-content-header\"\n}\nconst _hoisted_33 = /*#__PURE__*/_createTextVNode(\"If you want to change your start date or request any other changes, please reach out to our team at \")\nconst _hoisted_34 = /*#__PURE__*/_createTextVNode(\" You can also learn more at the \")\nconst _hoisted_35 = { class: \"metric-grid\" }\nconst _hoisted_36 = { class: \"rmf-metrics\" }\nconst _hoisted_37 = { class: \"rmf-metric\" }\nconst _hoisted_38 = /*#__PURE__*/_createTextVNode(\"CONVERSIONS \")\nconst _hoisted_39 = { class: \"metric\" }\nconst _hoisted_40 = /*#__PURE__*/_createVNode(\"span\", { class: \"spacer\" }, \"|\", -1)\nconst _hoisted_41 = { class: \"rmf-metric\" }\nconst _hoisted_42 = /*#__PURE__*/_createTextVNode(\"ALL CONVERSIONS \")\nconst _hoisted_43 = { class: \"metric\" }\nconst _hoisted_44 = { class: \"chart-card\" }\nconst _hoisted_45 = { class: \"chart-header\" }\nconst _hoisted_46 = { class: \"input-container\" }\nconst _hoisted_47 = /*#__PURE__*/_createVNode(\"p\", { class: \"chart-timeline\" }, \"by Day\", -1)\nconst _hoisted_48 = {\n key: 0,\n class: \"chart-empty\"\n}\nconst _hoisted_49 = /*#__PURE__*/_createVNode(\"img\", { src: \"/img/chart.svg\" }, null, -1)\nconst _hoisted_50 = /*#__PURE__*/_createVNode(\"span\", null, \"You will see a day-by-day breakdown of ad performance data here.\", -1)\nconst _hoisted_51 = { class: \"table-card\" }\nconst _hoisted_52 = { class: \"table-header\" }\nconst _hoisted_53 = /*#__PURE__*/_createVNode(\"h4\", null, \"Campaigns\", -1)\nconst _hoisted_54 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-download\" }, null, -1)\nconst _hoisted_55 = /*#__PURE__*/_createTextVNode(\"download data\")\nconst _hoisted_56 = { class: \"table-data\" }\nconst _hoisted_57 = /*#__PURE__*/_createStaticVNode(\"
Campaign
Impressions
Clicks
Conversions
All Conversions
Spend
Cost per Click
\", 7)\nconst _hoisted_64 = { class: \"indented\" }\nconst _hoisted_65 = {\n key: 0,\n class: \"total-metric\"\n}\nconst _hoisted_66 = {\n key: 0,\n class: \"total-metric\"\n}\nconst _hoisted_67 = {\n key: 0,\n class: \"total-metric\"\n}\nconst _hoisted_68 = {\n key: 0,\n class: \"total-metric\"\n}\nconst _hoisted_69 = {\n key: 0,\n class: \"total-metric\"\n}\nconst _hoisted_70 = /*#__PURE__*/_createStaticVNode(\"
\", 7)\nconst _hoisted_77 = { class: \"table-data-mobile\" }\nconst _hoisted_78 = /*#__PURE__*/_createStaticVNode(\"
Campaign
Impressions
Clicks
Conversions
All Conversions
Spend
Cost per Click
\", 7)\nconst _hoisted_85 = {\n key: 0,\n class: \"total-metric\"\n}\nconst _hoisted_86 = {\n key: 0,\n class: \"total-metric\"\n}\nconst _hoisted_87 = {\n key: 0,\n class: \"total-metric\"\n}\nconst _hoisted_88 = {\n key: 0,\n class: \"total-metric\"\n}\nconst _hoisted_89 = {\n key: 0,\n class: \"total-metric\"\n}\nconst _hoisted_90 = /*#__PURE__*/_createStaticVNode(\"
\", 7)\nconst _hoisted_97 = { class: \"signout-container\" }\nconst _hoisted_98 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-sign-out-alt\" }, null, -1)\nconst _hoisted_99 = /*#__PURE__*/_createTextVNode(\" Sign Out\")\nconst _hoisted_100 = { class: \"footer-span\" }\nconst _hoisted_101 = { key: 0 }\nconst _hoisted_102 = { key: 1 }\nconst _hoisted_103 = { class: \"sidebar\" }\nconst _hoisted_104 = { class: \"sidebar-header-container\" }\nconst _hoisted_105 = { class: \"status-content\" }\nconst _hoisted_106 = { class: \"ad-preview-container\" }\nconst _hoisted_107 = { class: \"ad-preview\" }\nconst _hoisted_108 = /*#__PURE__*/_createVNode(\"img\", {\n src: \"/img/ad-preview.svg\",\n alt: \"Ad Preview\",\n id: \"ad-preview-picture\"\n}, null, -1)\nconst _hoisted_109 = { class: \"url-container\" }\nconst _hoisted_110 = { class: \"description-container\" }\nconst _hoisted_111 = /*#__PURE__*/_createStaticVNode(\"

Example Ad

Important: Never search for or click your own ad; this will disrupt the accuracy of your reporting metrics.

\", 1)\nconst _hoisted_112 = /*#__PURE__*/_createVNode(\"div\", { class: \"line\" }, null, -1)\nconst _hoisted_113 = { class: \"button-container tabbed-over\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_LoadingOverlay = _resolveComponent(\"LoadingOverlay\")\n const _component_Dropdown = _resolveComponent(\"Dropdown\")\n const _component_SiteTagOverlay = _resolveComponent(\"SiteTagOverlay\")\n const _component_MetricBubble = _resolveComponent(\"MetricBubble\")\n const _component_Tooltip = _resolveComponent(\"Tooltip\")\n const _component_ChartCanvas = _resolveComponent(\"ChartCanvas\")\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_col = _resolveComponent(\"el-col\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_Assistance = _resolveComponent(\"Assistance\")\n\n return (_openBlock(), _createBlock(\"div\", {\n id: \"dashboard\",\n class: {loading: _ctx.loading}\n }, [\n _createVNode(_component_LoadingOverlay),\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"img\", {\n id: \"logo\",\n class: _ctx.brand.slug + '-logo',\n src: '/img/' + _ctx.brand.slug + '-logo.svg',\n width: \"200\"\n }, null, 10, [\"src\"])\n ]),\n _hoisted_3\n ]),\n _createVNode(\"div\", _hoisted_4, [\n (_ctx.loading)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_5, [\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(_component_LoadingOverlay)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"button\", {\n id: \"nav-trigger\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.navVisible = !_ctx.navVisible))\n }, [\n _createVNode(\"i\", {\n class: [\"fas\", _ctx.navVisible ? 'fa-times' : 'fa-sliders-h-square']\n }, null, 2)\n ]),\n (!_ctx.emptyState)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 1,\n class: [\"overview-filters\", { visible: _ctx.navVisible }],\n id: \"nav\"\n }, [\n _createVNode(\"label\", _hoisted_7, [\n _createVNode(_component_Dropdown, {\n class: \"dropdown\",\n options: _ctx.timeline,\n placeholder: 'Last 7 Days',\n modelValue: _ctx.timelineSelection,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.timelineSelection = $event))\n }, null, 8, [\"options\", \"modelValue\"])\n ]),\n _createVNode(\"label\", _hoisted_8, [\n _createVNode(_component_Dropdown, {\n class: \"dropdown\",\n options: _ctx.devices,\n placeholder: 'All Devices',\n modelValue: _ctx.deviceSelection,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.deviceSelection = $event))\n }, null, 8, [\"options\", \"modelValue\"])\n ]),\n _createVNode(\"label\", _hoisted_9, [\n _createVNode(_component_Dropdown, {\n class: \"dropdown\",\n options: _ctx.networks,\n placeholder: 'All Networks',\n modelValue: _ctx.networkSelection,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.networkSelection = $event))\n }, null, 8, [\"options\", \"modelValue\"])\n ])\n ], 2))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_10, [\n _createVNode(\"div\", {\n id: \"content\",\n class: {loading: _ctx.loading, showSiteTagOverlay: _ctx.showSiteTagOverlay}\n }, [\n _createVNode(_component_LoadingOverlay),\n _createVNode(_component_SiteTagOverlay, {\n \"onUpdate:onCloseButtonClick\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.showSiteTagOverlay = false))\n }),\n _createVNode(\"div\", _hoisted_11, [\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(\"h1\", _hoisted_13, _toDisplayString(_ctx.pageTitle), 1)\n ]),\n (_ctx.adProblem || _ctx.paymentError || _ctx.adPaused)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_14, [\n _createVNode(\"div\", _hoisted_15, [\n (_ctx.paymentError)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_16, \"Your payment method has expired.\"))\n : _createCommentVNode(\"\", true),\n (_ctx.adProblem)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_17, \"There was a problem with your ad.\"))\n : _createCommentVNode(\"\", true),\n (_ctx.adPaused)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_18, \"Your ads are paused\"))\n : _createCommentVNode(\"\", true),\n (_ctx.paymentError)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_19, \"Your ads are currently paused and can resume once a valid payment method is provided.\"))\n : _createCommentVNode(\"\", true),\n (_ctx.adProblem)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_20, \"Your ad is not running because there was a problem. Please call or email customer support to resolve the issue.\"))\n : _createCommentVNode(\"\", true),\n (_ctx.adPaused)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_21, \"Your ads are currently paused. Contact your account manager or wait until your account manager resumes your ads.\"))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.inReview || _ctx.waitingToStart || _ctx.creating || _ctx.invited)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_22, [\n (_ctx.inReview)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_23, \"You can expect to wait 1-2 business days for your ads to pass review and start running in Google Search. At that time, you’ll be able to see data in the report below.\"))\n : _createCommentVNode(\"\", true),\n (_ctx.creating)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_24, [\n (_ctx.profile?.type == 'Marketplace')\n ? (_openBlock(), _createBlock(_Fragment, { key: 0 }, [\n _hoisted_25\n ], 64))\n : (_openBlock(), _createBlock(_Fragment, { key: 1 }, [\n _hoisted_26\n ], 64))\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.invited)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_27, \"Ensure that you accept the Google invite sent from \" + _toDisplayString(_ctx.brand.name) + \" to the Gmail associated with your Ads account. Please check your spam folder as well. If you did not receive the invite, please contact our account managers for assistance.\", 1))\n : _createCommentVNode(\"\", true),\n (_ctx.waitingToStart)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_28, \"You set your ad start date to \" + _toDisplayString(this.startDate) + \" during setup, and your ads will be approved and ready to run on that day. Once your ads have started running, you’ll be able to see data in the report below.\", 1))\n : _createCommentVNode(\"\", true),\n (_ctx.inReview || _ctx.creating)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_29, [\n _hoisted_30,\n _createVNode(\"a\", {\n href: 'mailto:' + _ctx.brand.email,\n target: \"_blank\"\n }, _toDisplayString(_ctx.brand.email) + \".\", 9, [\"href\"]),\n _hoisted_31,\n _createVNode(\"a\", {\n href: _ctx.brand.kb,\n target: \"_blank\"\n }, \"Knowledge Center.\", 8, [\"href\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.waitingToStart)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_32, [\n _hoisted_33,\n _createVNode(\"a\", {\n href: 'mailto:' + _ctx.brand.email,\n target: \"_blank\"\n }, _toDisplayString(_ctx.brand.email) + \".\", 9, [\"href\"]),\n _hoisted_34,\n _createVNode(\"a\", {\n href: _ctx.brand.kb,\n target: \"_blank\"\n }, \"Knowledge Center.\", 8, [\"href\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_35, [\n _createVNode(_component_MetricBubble, {\n data: _ctx.impressionsData,\n empty: _ctx.emptyState\n }, null, 8, [\"data\", \"empty\"]),\n _createVNode(_component_MetricBubble, {\n data: _ctx.clicksData,\n empty: _ctx.emptyState\n }, null, 8, [\"data\", \"empty\"]),\n _createVNode(_component_MetricBubble, {\n data: _ctx.phoneConversionsData,\n empty: _ctx.emptyState\n }, null, 8, [\"data\", \"empty\"]),\n _createVNode(_component_MetricBubble, {\n data: _ctx.directionConversionsData,\n empty: _ctx.emptyState\n }, null, 8, [\"data\", \"empty\"]),\n _createVNode(_component_MetricBubble, {\n data: _ctx.spendData,\n empty: _ctx.emptyState\n }, null, 8, [\"data\", \"empty\"]),\n _createVNode(_component_MetricBubble, {\n data: _ctx.cpcData,\n empty: _ctx.emptyState\n }, null, 8, [\"data\", \"empty\"])\n ]),\n _createVNode(\"div\", _hoisted_36, [\n _createVNode(\"div\", _hoisted_37, [\n _hoisted_38,\n _createVNode(\"span\", _hoisted_39, _toDisplayString(_ctx.conversions), 1),\n _createVNode(_component_Tooltip, { text: 'The number of interactions identified as relevant for your business goals that ad recipients have had with your ads' })\n ]),\n _hoisted_40,\n _createVNode(\"div\", _hoisted_41, [\n _hoisted_42,\n _createVNode(\"span\", _hoisted_43, _toDisplayString(_ctx.allConversions), 1),\n _createVNode(_component_Tooltip, { text: 'The total number of interactions that ad recipients have had with your ads' })\n ])\n ]),\n _createVNode(\"div\", _hoisted_44, [\n _createVNode(\"div\", _hoisted_45, [\n _createVNode(\"label\", _hoisted_46, [\n _createVNode(_component_Dropdown, {\n options: _ctx.metrics,\n \"alt-style\": true,\n modelValue: _ctx.chartSelection,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.chartSelection = $event))\n }, null, 8, [\"options\", \"modelValue\"])\n ]),\n _hoisted_47\n ]),\n (_ctx.emptyState)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_48, [\n _hoisted_49,\n _hoisted_50\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_ChartCanvas, { data: _ctx.chartData }, null, 8, [\"data\"])\n ]),\n _createVNode(\"div\", _hoisted_51, [\n _createVNode(\"div\", _hoisted_52, [\n _hoisted_53,\n (!_ctx.emptyState)\n ? (_openBlock(), _createBlock(\"a\", {\n key: 0,\n href: _ctx.csv,\n class: \"button-link\",\n type: \"button\",\n download: \"campaign-data.csv\"\n }, [\n _hoisted_54,\n _hoisted_55\n ], 8, [\"href\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", _hoisted_56, [\n _hoisted_57,\n (!_ctx.emptyState)\n ? (_openBlock(true), _createBlock(_Fragment, { key: 0 }, _renderList(_ctx.campaigns, (campaign, i) => {\n return (_openBlock(), _createBlock(_Fragment, {\n key: campaign.id\n }, [\n _createVNode(\"div\", _hoisted_64, _toDisplayString(_ctx.campaigns[i].name), 1),\n _createVNode(\"div\", null, [\n _createTextVNode(_toDisplayString(_ctx.formatNumber(_ctx.campaigns[i].metrics.impressions)) + \" \", 1),\n (_ctx.isDataFiltered)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_65, \"of \" + _toDisplayString(_ctx.formatNumber(_ctx.campaignTotals[i].metrics.impressions)), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", null, [\n _createTextVNode(_toDisplayString(_ctx.campaigns[i].metrics.clicks) + \" \", 1),\n (_ctx.isDataFiltered)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_66, \"of \" + _toDisplayString(_ctx.campaignTotals[i].metrics.clicks), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", null, [\n _createTextVNode(_toDisplayString(_ctx.campaigns[i].metrics.conversions) + \" \", 1),\n (_ctx.isDataFiltered)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_67, \"of \" + _toDisplayString(_ctx.campaignTotals[i].metrics.conversions), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", null, [\n _createTextVNode(_toDisplayString(_ctx.campaigns[i].metrics.allConversions) + \" \", 1),\n (_ctx.isDataFiltered)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_68, \"of \" + _toDisplayString(_ctx.campaignTotals[i].metrics.allConversions), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", null, [\n _createTextVNode(_toDisplayString(_ctx.formatCost(_ctx.campaigns[i].metrics.spend)) + \" \", 1),\n (_ctx.isDataFiltered)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_69, \"of \" + _toDisplayString(_ctx.formatCost(_ctx.campaignTotals[i].metrics.spend)), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", null, _toDisplayString(_ctx.formatCost(_ctx.campaigns[i].metrics.costPerClick)), 1)\n ], 64))\n }), 128))\n : _createCommentVNode(\"\", true),\n (_ctx.emptyState)\n ? (_openBlock(), _createBlock(_Fragment, { key: 1 }, [\n _hoisted_70\n ], 64))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", _hoisted_77, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.campaigns, (campaign, i) => {\n return (_openBlock(), _createBlock(\"div\", {\n class: \"table-row\",\n key: campaign.id\n }, [\n _hoisted_78,\n (!_ctx.emptyState)\n ? (_openBlock(), _createBlock(_Fragment, { key: 0 }, [\n _createVNode(\"div\", null, _toDisplayString(_ctx.campaigns[i].name), 1),\n _createVNode(\"div\", null, [\n _createTextVNode(_toDisplayString(_ctx.formatNumber(_ctx.campaigns[i].metrics.impressions)) + \" \", 1),\n (_ctx.isDataFiltered)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_85, \"of \" + _toDisplayString(_ctx.formatNumber(_ctx.campaignTotals[i].metrics.impressions)), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", null, [\n _createTextVNode(_toDisplayString(_ctx.campaigns[i].metrics.clicks) + \" \", 1),\n (_ctx.isDataFiltered)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_86, \"of \" + _toDisplayString(_ctx.campaignTotals[i].metrics.clicks), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", null, [\n _createTextVNode(_toDisplayString(_ctx.campaigns[i].metrics.conversions) + \" \", 1),\n (_ctx.isDataFiltered)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_87, \"of \" + _toDisplayString(_ctx.campaignTotals[i].metrics.conversions), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", null, [\n _createTextVNode(_toDisplayString(_ctx.campaigns[i].metrics.allConversions) + \" \", 1),\n (_ctx.isDataFiltered)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_88, \"of \" + _toDisplayString(_ctx.campaignTotals[i].metrics.allConversions), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", null, [\n _createTextVNode(_toDisplayString(_ctx.formatCost(_ctx.campaigns[i].metrics.spend)) + \" \", 1),\n (_ctx.isDataFiltered)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_89, \"of \" + _toDisplayString(_ctx.formatCost(_ctx.campaignTotals[i].metrics.spend)), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", null, _toDisplayString(_ctx.formatCost(_ctx.campaigns[i].metrics.costPerClick)), 1)\n ], 64))\n : _createCommentVNode(\"\", true),\n (_ctx.emptyState)\n ? (_openBlock(), _createBlock(_Fragment, { key: 1 }, [\n _hoisted_90\n ], 64))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ])\n ]),\n _createVNode(\"footer\", null, [\n _createVNode(\"div\", _hoisted_97, [\n _createVNode(\"a\", {\n href: \"#\",\n class: \"advanced-users\",\n onClick: _cache[7] || (_cache[7] = \n//@ts-ignore\n(...args) => (_ctx.handleShowSiteTag && _ctx.handleShowSiteTag(...args)))\n }, \"Advanced Users\"),\n _createVNode(\"button\", {\n class: \"button-link w-icon right\",\n onClick: _cache[8] || (_cache[8] = \n//@ts-ignore\n(...args) => (_ctx.signOut && _ctx.signOut(...args)))\n }, [\n _hoisted_98,\n _hoisted_99\n ])\n ]),\n _createVNode(\"div\", _hoisted_100, [\n (_ctx.isUpnetic)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_101, \"Upnetic Ads is a partnership between Upnetic, Google Ads, and ADP.\"))\n : (_openBlock(), _createBlock(\"span\", _hoisted_102, _toDisplayString(_ctx.brand.name) + \" Ads is a partnership between \" + _toDisplayString(_ctx.brand.name) + \", and Google Ads.\", 1))\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_103, [\n _createVNode(\"div\", _hoisted_104, [\n _createVNode(\"i\", {\n class: `fas fa-circle ${_ctx.circleClass}`\n }, null, 2),\n _createVNode(\"span\", _hoisted_105, \"Ads \" + _toDisplayString(_ctx.adStatus), 1),\n _createVNode(\"h2\", {\n class: [\"sidebar-title\", {'empty-state': _ctx.emptyState}]\n }, _toDisplayString(_ctx.adPreviewData.customerName), 3)\n ]),\n _createVNode(\"div\", _hoisted_106, [\n _createVNode(\"div\", _hoisted_107, [\n _hoisted_108,\n _createVNode(\"p\", {\n class: [\"search-term\", {'empty-state': _ctx.emptyState}]\n }, _toDisplayString(_ctx.adPreviewData.searchTerm), 3),\n _createVNode(\"div\", _hoisted_109, [\n _createVNode(\"span\", {\n class: [\"domain\", {'empty-state': _ctx.emptyState}]\n }, _toDisplayString(_ctx.adPreviewData.url), 3)\n ]),\n _createVNode(\"p\", {\n class: [\"headline\", {'empty-state': _ctx.emptyState}]\n }, _toDisplayString(_ctx.adPreviewData.headline), 3),\n _createVNode(\"div\", _hoisted_110, [\n _createVNode(\"span\", {\n class: [\"description\", {'empty-state': _ctx.emptyState}]\n }, _toDisplayString(_ctx.adPreviewData.description), 3)\n ])\n ])\n ]),\n _hoisted_111,\n _createVNode(_component_el_row, { gutter: 10 }, {\n default: _withCtx(() => [\n _createVNode(_component_el_col, {\n sm: 24,\n md: 12\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n style: {\"width\":\"100%\"},\n loading: _ctx.downloadingKeywords,\n onClick: _ctx.downloadKeywords,\n disabled: _ctx.creating || _ctx.adProblem || _ctx.paymentError || _ctx.adPaused\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.downloadingKeywords ? 'Downloading...' : 'Download Keywords'), 1)\n ]),\n _: 1\n }, 8, [\"loading\", \"onClick\", \"disabled\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, {\n sm: 24,\n md: 12\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n style: {\"width\":\"100%\"},\n loading: _ctx.downloadingAdCopies,\n onClick: _ctx.downloadAdCopies,\n disabled: _ctx.creating || _ctx.adProblem || _ctx.paymentError || _ctx.adPaused\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.downloadingAdCopies ? 'Downloading...' : 'Download Ad Copy'), 1)\n ]),\n _: 1\n }, 8, [\"loading\", \"onClick\", \"disabled\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _hoisted_112,\n _createVNode(_component_Assistance),\n _createVNode(\"div\", _hoisted_113, [\n _createVNode(\"a\", {\n href: _ctx.brand.kb,\n target: \"_blank\",\n class: \"secondary link-button goto-kb-btn\"\n }, \"Go To Knowledge Center\", 8, [\"href\"])\n ])\n ])\n ], 2)\n ])\n ])\n ], 2))\n}","import { CampaignWizardStep } from '../models/campaign-wizard/campaign-state.model';\nimport { Router, RouteRecordName } from 'vue-router';\nimport { RouteName } from '../router';\nimport { ApiService } from './api.service';\nimport { isAuthenticationException, isHttpException } from '../utils/exceptions';\nimport { UserRole } from '../models/user.model';\n\nexport class DashboardService {\n private apiService: ApiService;\n private static instance: DashboardService;\n\n constructor() {\n this.apiService = ApiService.Instance;\n }\n\n public static get Instance() {\n return this.instance || (this.instance = new this());\n }\n\n async reroute(router: Router, currentRoute: RouteRecordName | null | undefined) {\n try {\n const profile = await this.apiService.getProfile();\n if (profile.role !== UserRole.Customer) {\n if (currentRoute === RouteName.Dashboard) {\n await router.push({ name: RouteName.Admin });\n return;\n }\n await router.push({ name: RouteName.Forbidden });\n return;\n }\n switch (currentRoute) {\n case RouteName.Dashboard:\n case RouteName.DashboardOverview:\n case RouteName.SignIn:\n // eslint-disable-next-line no-case-declarations\n const state = await this.apiService.getCampaignState();\n if (state.step === CampaignWizardStep.Done) {\n await router.push({ name: RouteName.DashboardOverview });\n } else {\n await router.push({ name: RouteName.Wizard });\n }\n break;\n }\n } catch (e) {\n if (isAuthenticationException(e)) {\n await router.push({ name: RouteName.SignIn });\n } else if (isHttpException(e) && e.status === 404) {\n await this.apiService.initCampaignState(false);\n await router.push({ name: RouteName.WizardInfo });\n }\n }\n }\n}\n","import { createVNode as _createVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-c90f287a\")\n\n_pushScopeId(\"data-v-c90f287a\")\nconst _hoisted_1 = { class: \"wizard-info\" }\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"h4\", null, \"Did you know...\", -1)\nconst _hoisted_3 = { class: \"wizard-info-content\" }\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = {\n key: 1,\n class: \"wizard-info-metric\"\n}\nconst _hoisted_6 = { key: 2 }\nconst _hoisted_7 = {\n key: 3,\n class: \"wizard-info-quote\"\n}\nconst _hoisted_8 = {\n key: 4,\n class: \"wizard-info-subtext\"\n}\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createVNode(\"div\", _hoisted_3, [\n (_ctx.metadata.beforeMetric)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_4, _toDisplayString(_ctx.metadata.beforeMetric), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.metadata.metric)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_5, _toDisplayString(_ctx.metadata.metric), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.metadata.afterMetric)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_6, _toDisplayString(_ctx.metadata.afterMetric), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.metadata.quote)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_7, _toDisplayString(_ctx.metadata.quote), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.metadata.subtext)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_8, _toDisplayString(_ctx.metadata.subtext), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n})","\nimport { Vue, Prop } from '../vue';\n\nexport interface WizardInfoMetaData {\n metric?: string;\n beforeMetric?: string;\n afterMetric?: string;\n quote?: string;\n subtext?: string;\n}\n\nexport default class WizardInfo extends Vue {\n @Prop() metadata?: WizardInfoMetaData;\n}\n","import { render } from \"./wizard-info.vue?vue&type=template&id=c90f287a&scoped=true&ts=true\"\nimport script from \"./wizard-info.vue?vue&type=script&lang=ts\"\nexport * from \"./wizard-info.vue?vue&type=script&lang=ts\"\n\nimport \"./wizard-info.vue?vue&type=style&index=0&id=c90f287a&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c90f287a\"]])\n\nexport default __exports__","import { createVNode as _createVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-336916c4\")\n\n_pushScopeId(\"data-v-336916c4\")\nconst _hoisted_1 = { class: \"wizard-progress\" }\nconst _hoisted_2 = { class: \"wizard-progress-bar\" }\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", {\n class: _ctx.step === 1 && 'active'\n }, \"Account\", 2),\n _createVNode(\"div\", {\n class: _ctx.step === 2 && 'active'\n }, \"Business Info\", 2),\n _createVNode(\"div\", {\n class: _ctx.step === 3 && 'active'\n }, \"Customers\", 2),\n _createVNode(\"div\", {\n class: _ctx.step === 4 && 'active'\n }, \"Budget\", 2),\n _createVNode(\"div\", {\n class: _ctx.step === 5 && 'active'\n }, \"Review & \" + _toDisplayString(_ctx.isUpnetic ? 'Submit' : 'Billing'), 3)\n ])\n ]))\n})","\nimport { Vue, Prop } from '../vue';\n\nexport default class WizardProgress extends Vue {\n @Prop() step!: number;\n}\n","import { render } from \"./wizard-progress.vue?vue&type=template&id=336916c4&scoped=true&ts=true\"\nimport script from \"./wizard-progress.vue?vue&type=script&lang=ts\"\nexport * from \"./wizard-progress.vue?vue&type=script&lang=ts\"\n\nimport \"./wizard-progress.vue?vue&type=style&index=0&id=336916c4&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-336916c4\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-6beb8177\")\n\n_pushScopeId(\"data-v-6beb8177\")\nconst _hoisted_1 = { class: \"date-picker\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"placeholder\"\n}\nconst _hoisted_3 = { key: 1 }\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_5 = { class: \"date-picker-header\" }\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-chevron-left\" }, null, -1)\nconst _hoisted_7 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-chevron-right\" }, null, -1)\nconst _hoisted_8 = /*#__PURE__*/_createVNode(\"div\", { class: \"date-picker-separator\" }, null, -1)\nconst _hoisted_9 = /*#__PURE__*/_createVNode(\"div\", { class: \"date-picker-weekdays\" }, [\n /*#__PURE__*/_createVNode(\"span\", null, \"Su\"),\n /*#__PURE__*/_createVNode(\"span\", null, \"Mo\"),\n /*#__PURE__*/_createVNode(\"span\", null, \"Tu\"),\n /*#__PURE__*/_createVNode(\"span\", null, \"We\"),\n /*#__PURE__*/_createVNode(\"span\", null, \"Th\"),\n /*#__PURE__*/_createVNode(\"span\", null, \"Fr\"),\n /*#__PURE__*/_createVNode(\"span\", null, \"Sa\")\n], -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"button\", {\n type: \"button\",\n class: [\"ignore select-interface date-picker-interface\", { 'w-error': _ctx.error }],\n disabled: _ctx.disabled,\n required: _ctx.required,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.showOptions = !_ctx.showOptions)),\n onKeydown: _cache[2] || (_cache[2] = ($event: any) => (_ctx.onKey($event))),\n onFocusin: _cache[3] || (_cache[3] = ($event: any) => (_ctx.isFocused = true)),\n onFocusout: _cache[4] || (_cache[4] = ($event: any) => (_ctx.isFocused = false))\n }, [\n (_ctx.showPlaceholder)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_2, _toDisplayString(_ctx.placeholder), 1))\n : _createCommentVNode(\"\", true),\n (!_ctx.showPlaceholder)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_3, _toDisplayString(_ctx.valueDisplay), 1))\n : _createCommentVNode(\"\", true)\n ], 42, [\"disabled\", \"required\"]),\n _hoisted_4,\n _createVNode(\"div\", {\n class: [\"select-options date-picker-options\", { show: _ctx.showOptions }]\n }, [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"button\", {\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_ctx.moveSelection(2))),\n type: \"button\"\n }, [\n _hoisted_6\n ]),\n _createVNode(\"span\", null, _toDisplayString(_ctx.selectorMonthDisplay), 1),\n _createVNode(\"button\", {\n onClick: _cache[6] || (_cache[6] = ($event: any) => (_ctx.moveSelection(3))),\n type: \"button\"\n }, [\n _hoisted_7\n ])\n ]),\n _hoisted_8,\n _hoisted_9,\n _createVNode(\"div\", {\n class: \"date-picker-days\",\n onMouseover: _cache[7] || (_cache[7] = ($event: any) => (_ctx.focusLock = true)),\n onMouseout: _cache[8] || (_cache[8] = ($event: any) => (_ctx.focusLock = false))\n }, [\n (_openBlock(), _createBlock(_Fragment, null, _renderList(35, (n, i) => {\n return _createVNode(\"button\", {\n type: \"button\",\n key: i + _ctx.selectorStartDay,\n onClick: ($event: any) => (_ctx.select(_ctx.selectorStartDay + (i * 86400000))),\n class: { selected: _ctx.isSelected(_ctx.selectorStartDay + (i * 86400000)) }\n }, _toDisplayString(_ctx.displayDate(_ctx.selectorStartDay + (i * 86400000))), 11, [\"onClick\"])\n }), 64))\n ], 32)\n ], 2)\n ]))\n})","\nimport { Prop, VModel, Vue, Watch } from '../vue';\nimport moment from 'moment';\n\nexport default class DatePicker extends Vue {\n @VModel() value: number | null = null;\n @Prop() placeholder: string | null = null;\n @Prop() disabled = false;\n @Prop() required = false;\n @Prop() error = false;\n\n selectorMonth: number = moment().valueOf();\n isFocused = false;\n showOptions = false;\n focusLock = false;\n\n get showPlaceholder(): boolean {\n return Boolean((this.value != null) ? false : this.placeholder?.length);\n }\n\n get valueDisplay(): string | null{\n return this.value ? moment(this.value).format('MM/DD/YY') : null;\n }\n\n get selectorMonthDisplay(): string {\n return moment(this.selectorMonth).format('MMMM YYYY');\n }\n\n get selectorStartDay(): number {\n const month = moment(this.selectorMonth);\n const start = month.startOf('month');\n return start.day(0).valueOf();\n }\n\n displayDate(ts: number): number {\n return moment(ts).date();\n }\n\n @Watch('modelValue')\n onInputUpdate(val: null | number) {\n this.select(val);\n }\n\n isSelected(val: number): boolean {\n return val === this.value || moment(this.value).isSame(moment(val), 'date');\n }\n\n onKey(event: KeyboardEvent) {\n if (this.isFocused) {\n switch (event.code) {\n case 'Enter':\n event.preventDefault();\n this.showOptions = !this.showOptions;\n break;\n default:\n if (this.showOptions) {\n switch (event.code) {\n case 'ArrowUp':\n event.preventDefault();\n this.moveSelection(1);\n break;\n case 'ArrowRight':\n event.preventDefault();\n this.moveSelection(3);\n break;\n case 'ArrowDown':\n event.preventDefault();\n this.moveSelection(0);\n break;\n case 'ArrowLeft':\n event.preventDefault();\n this.moveSelection(2);\n break;\n }\n }\n break;\n }\n }\n }\n\n moveSelection(direction: 0 | 1 | 2 | 3) {\n if (this.value === null) {\n this.value = moment().valueOf();\n }\n switch (direction) {\n case 0:\n this.value -= 86400000;\n break;\n case 1:\n this.value += 86400000;\n break;\n case 2:\n this.selectorMonth = moment(this.selectorMonth).subtract(1, 'month').valueOf();\n break;\n case 3:\n this.selectorMonth = moment(this.selectorMonth).add(1, 'month').valueOf();\n break;\n }\n }\n\n select(val: null | number) {\n if (val !== null) {\n const start = moment(this.selectorMonth).startOf('month').day(0);\n const end = start.clone().add(35, 'days');\n if (!moment(val).isBetween(start, end, 'date', '[]')) {\n this.selectorMonth = val;\n }\n }\n this.showOptions = false;\n this.value = val;\n }\n}\n","import { render } from \"./date-picker.vue?vue&type=template&id=6beb8177&scoped=true&ts=true\"\nimport script from \"./date-picker.vue?vue&type=script&lang=ts\"\nexport * from \"./date-picker.vue?vue&type=script&lang=ts\"\n\nimport \"./date-picker.vue?vue&type=style&index=0&id=6beb8177&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6beb8177\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./loading-indicator.vue?vue&type=template&id=1ddb4ed2&scoped=true\"\nimport script from \"./loading-indicator.vue?vue&type=script&lang=js\"\nexport * from \"./loading-indicator.vue?vue&type=script&lang=js\"\n\nimport \"./loading-indicator.vue?vue&type=style&index=0&id=1ddb4ed2&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1ddb4ed2\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, resolveDirective as _resolveDirective, withDirectives as _withDirectives } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"placeholder\"\n}\nconst _hoisted_2 = { key: 1 }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _directive_click_outside = _resolveDirective(\"click-outside\")\n\n return _withDirectives((_openBlock(), _createBlock(\"div\", {\n class: [\"select\", {alt: _ctx.altStyle}]\n }, [\n _createVNode(\"button\", {\n type: \"button\",\n class: `ignore select-interface ${_ctx.error ? 'w-error' : ''}`,\n disabled: _ctx.disabled || _ctx.options && _ctx.options.length === 0,\n required: _ctx.required,\n onClick: _cache[1] || (_cache[1] = ($event: any) => {_ctx.showOptions = !_ctx.showOptions; _ctx.focusedIndex = -1;}),\n onKeydown: _cache[2] || (_cache[2] = ($event: any) => (_ctx.onKey($event))),\n onFocusin: _cache[3] || (_cache[3] = ($event: any) => (_ctx.isFocused = true)),\n onFocusout: _cache[4] || (_cache[4] = ($event: any) => (_ctx.isFocused = false))\n }, [\n (_ctx.showPlaceholder)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_1, _toDisplayString(_ctx.placeholder), 1))\n : _createCommentVNode(\"\", true),\n (!_ctx.showPlaceholder)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_2, _toDisplayString(_ctx.valueDisplay), 1))\n : _createCommentVNode(\"\", true)\n ], 42, [\"disabled\", \"required\"]),\n _hoisted_3,\n _createVNode(\"ul\", {\n class: `select-options ${_ctx.showOptions ? 'show' : ''}`,\n onMouseover: _cache[5] || (_cache[5] = ($event: any) => {_ctx.focusedIndex = -1; _ctx.focusLock = true}),\n onMouseout: _cache[6] || (_cache[6] = ($event: any) => (_ctx.focusLock = false)),\n ref: \"selectOptions\"\n }, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.options, (option, index) => {\n return (_openBlock(), _createBlock(\"li\", {\n class: `select-option ${index === _ctx.focusedIndex ? 'focused' : ''}`,\n key: option.name,\n onMouseup: ($event: any) => (_ctx.select(index))\n }, _toDisplayString(option.name), 43, [\"onMouseup\"]))\n }), 128))\n ], 34)\n ], 2)), [\n [_directive_click_outside, _ctx.hideOptions]\n ])\n}","\nimport { Prop, VModel, Vue, Watch } from '../vue';\n\nexport interface SelectOption {\n name: string;\n value: T;\n}\n\nexport default class Dropdown extends Vue {\n @VModel() value: string | null = null;\n @Prop() placeholder: string | null = null;\n @Prop() disabled = false;\n @Prop() required = false;\n @Prop() error = false;\n @Prop() altStyle = false;\n @Prop() options: Array> = [];\n\n isFocused = false;\n focusedIndex = -1;\n showOptions = false;\n focusLock = false;\n\n get showPlaceholder() {\n return Boolean((this.value?.length) ? false : this.placeholder?.length);\n }\n\n get valueDisplay() {\n return this.options.find((o) => o.value === this.value)?.name;\n }\n\n hideOptions() {\n this.showOptions = false;\n }\n\n @Watch('modelValue')\n onInputUpdate(val: null | string) {\n this.value = val;\n }\n\n selectIndex(direction: number) {\n if (!this.focusLock) {\n if (direction === 1) {\n this.focusedIndex = (this.focusedIndex === -1 || this.focusedIndex === 0) ? this.options.length - 1 : this.focusedIndex - 1;\n } else {\n this.focusedIndex = (this.focusedIndex === -1 || this.focusedIndex === this.options.length - 1) ? 0 : this.focusedIndex + 1;\n }\n (this.$refs.selectOptions as HTMLElement).children[this.focusedIndex].scrollIntoView({ block: 'nearest' });\n }\n };\n\n onKey(event: KeyboardEvent) {\n if (this.isFocused) {\n switch (event.code) {\n case 'Enter':\n event.preventDefault();\n if (this.showOptions && this.focusedIndex !== -1) {\n this.select(this.focusedIndex);\n }\n this.showOptions = !this.showOptions;\n break;\n default:\n if (this.showOptions) {\n switch (event.code) {\n case 'ArrowUp':\n event.preventDefault();\n this.selectIndex(1);\n break;\n case 'ArrowDown':\n event.preventDefault();\n this.selectIndex(0);\n break;\n }\n }\n break;\n }\n }\n }\n\n select(index: number) {\n this.value = this.options[index].value;\n }\n}\n","import { render } from \"./dropdown.vue?vue&type=template&id=06295f4b&ts=true\"\nimport script from \"./dropdown.vue?vue&type=script&lang=ts\"\nexport * from \"./dropdown.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { vModelText as _vModelText, createVNode as _createVNode, withDirectives as _withDirectives, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, toDisplayString as _toDisplayString, resolveDirective as _resolveDirective, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-522d7652\")\n\n_pushScopeId(\"data-v-522d7652\")\nconst _hoisted_1 = { class: \"places-input select\" }\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _directive_click_outside = _resolveDirective(\"click-outside\")\n\n return _withDirectives((_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _withDirectives(_createVNode(\"input\", {\n type: \"text\",\n class: _ctx.error ? 'w-error' : '',\n placeholder: _ctx.placeholder,\n disabled: _ctx.disabled,\n autocomplete: _ctx.getRandomAutocompleteBecauseBrowsersDontLikeToListen,\n required: _ctx.required,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.input = $event)),\n onInput: _cache[2] || (_cache[2] = ($event: any) => (_ctx.onInput($event.target.value))),\n onClick: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.clickInput && _ctx.clickInput(...args))),\n onKeydown: _cache[4] || (_cache[4] = ($event: any) => (_ctx.onKey($event))),\n onFocusin: _cache[5] || (_cache[5] = ($event: any) => (_ctx.isFocused = true)),\n onFocusout: _cache[6] || (_cache[6] = ($event: any) => (_ctx.isFocused = false)),\n ref: \"theInput\"\n }, null, 42, [\"placeholder\", \"disabled\", \"autocomplete\", \"required\"]), [\n [\n _vModelText,\n _ctx.input,\n void 0,\n { trim: true }\n ]\n ]),\n _hoisted_2,\n _createVNode(\"ul\", {\n class: `select-options ${_ctx.showOptions ? 'show' : ''}`,\n onMouseover: _cache[7] || (_cache[7] = ($event: any) => {_ctx.focusedIndex = -1; _ctx.focusLock = true}),\n onMouseout: _cache[8] || (_cache[8] = ($event: any) => (_ctx.focusLock = false))\n }, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.options, (option, index) => {\n return (_openBlock(), _createBlock(\"li\", {\n class: `select-option ${index === _ctx.focusedIndex ? 'focused' : ''}`,\n key: option.name + index,\n onMouseup: ($event: any) => (_ctx.select(index))\n }, _toDisplayString(option.name), 43, [\"onMouseup\"]))\n }), 128))\n ], 34)\n ], 512)), [\n [_directive_click_outside, _ctx.hideOptions]\n ])\n})","export interface StateModel {\n name: string;\n abbreviation: string;\n latitude: number;\n longitude: number;\n}\n\nexport const usStates: Array = [\n { name: 'Alabama', abbreviation: 'AL', latitude: 32.7794, longitude: -86.8287 },\n { name: 'Alaska', abbreviation: 'AK', latitude: 64.0685, longitude: -152.2782 },\n { name: 'Arizona', abbreviation: 'AZ', latitude: 34.2744, longitude: -111.6602 },\n { name: 'Arkansas', abbreviation: 'AR', latitude: 34.8938, longitude: -92.4426 },\n { name: 'California', abbreviation: 'CA', latitude: 37.1841, longitude: -119.4696 },\n { name: 'Colorado', abbreviation: 'CO', latitude: 38.9972, longitude: -105.5478 },\n { name: 'Connecticut', abbreviation: 'CT', latitude: 41.6219, longitude: -72.7273 },\n { name: 'Delaware', abbreviation: 'DE', latitude: 38.9896, longitude: -75.5050 },\n { name: 'District of Columbia', abbreviation: 'DC', latitude: 38.9101, longitude: -77.0147 },\n { name: 'Florida', abbreviation: 'FL', latitude: 28.6305, longitude: -82.4497 },\n { name: 'Georgia', abbreviation: 'GA', latitude: 32.6415, longitude: -83.4426 },\n { name: 'Hawaii', abbreviation: 'HI', latitude: 20.2927, longitude: -156.3737 },\n { name: 'Idaho', abbreviation: 'ID', latitude: 44.3509, longitude: -114.6130 },\n { name: 'Illinois', abbreviation: 'IL', latitude: 40.0417, longitude: -89.1965 },\n { name: 'Indiana', abbreviation: 'IN', latitude: 39.8942, longitude: -86.2816 },\n { name: 'Iowa', abbreviation: 'IA', latitude: 42.0751, longitude: -93.4960 },\n { name: 'Kansas', abbreviation: 'KS', latitude: 38.4937, longitude: -98.3804 },\n { name: 'Kentucky', abbreviation: 'KY', latitude: 37.5347, longitude: -85.3021 },\n { name: 'Louisiana', abbreviation: 'LA', latitude: 31.0689, longitude: -91.9968 },\n { name: 'Maine', abbreviation: 'ME', latitude: 45.3695, longitude: -69.2428 },\n { name: 'Maryland', abbreviation: 'MD', latitude: 39.0550, longitude: -76.7909 },\n { name: 'Massachusetts', abbreviation: 'MA', latitude: 42.2596, longitude: -71.8083 },\n { name: 'Michigan', abbreviation: 'MI', latitude: 44.3467, longitude: -85.4102 },\n { name: 'Minnesota', abbreviation: 'MN', latitude: 46.2807, longitude: -94.3053 },\n { name: 'Mississippi', abbreviation: 'MS', latitude: 32.7364, longitude: -89.6678 },\n { name: 'Missouri', abbreviation: 'MO', latitude: 38.3566, longitude: -92.4580 },\n { name: 'Montana', abbreviation: 'MT', latitude: 47.0527, longitude: -109.6333 },\n { name: 'Nebraska', abbreviation: 'NE', latitude: 41.5378, longitude: -99.7951 },\n { name: 'Nevada', abbreviation: 'NV', latitude: 39.3289, longitude: -116.6312 },\n { name: 'New Hampshire', abbreviation: 'NH', latitude: 43.6805, longitude: -71.5811 },\n { name: 'New Jersey', abbreviation: 'NJ', latitude: 40.1907, longitude: -74.6728 },\n { name: 'New Mexico', abbreviation: 'NM', latitude: 34.4071, longitude: -106.1126 },\n { name: 'New York', abbreviation: 'NY', latitude: 42.9538, longitude: -75.5268 },\n { name: 'North Carolina', abbreviation: 'NC', latitude: 35.5557, longitude: -79.3877 },\n { name: 'North Dakota', abbreviation: 'ND', latitude: 47.4501, longitude: -100.4659 },\n { name: 'Ohio', abbreviation: 'OH', latitude: 40.2862, longitude: -82.7937 },\n { name: 'Oklahoma', abbreviation: 'OK', latitude: 35.5889, longitude: -97.4943 },\n { name: 'Oregon', abbreviation: 'OR', latitude: 43.9336, longitude: -120.5583 },\n { name: 'Pennsylvania', abbreviation: 'PA', latitude: 40.8781, longitude: -77.7996 },\n { name: 'Rhode Island', abbreviation: 'RI', latitude: 41.6762, longitude: -71.5562 },\n { name: 'South Carolina', abbreviation: 'SC', latitude: 33.9169, longitude: -80.8964 },\n { name: 'South Dakota', abbreviation: 'SD', latitude: 44.4443, longitude: -100.2263 },\n { name: 'Tennessee', abbreviation: 'TN', latitude: 35.8580, longitude: -86.3505 },\n { name: 'Texas', abbreviation: 'TX', latitude: 31.4757, longitude: -99.3312 },\n { name: 'Utah', abbreviation: 'UT', latitude: 39.3055, longitude: -111.6703 },\n { name: 'Vermont', abbreviation: 'VT', latitude: 44.0687, longitude: -72.6658 },\n { name: 'Virginia', abbreviation: 'VA', latitude: 37.5215, longitude: -78.8537 },\n { name: 'Washington', abbreviation: 'WA', latitude: 47.3826, longitude: -120.4472 },\n { name: 'West Virginia', abbreviation: 'WV', latitude: 38.6409, longitude: -80.6227 },\n { name: 'Wisconsin', abbreviation: 'WI', latitude: 44.6243, longitude: -89.9941 },\n { name: 'Wyoming', abbreviation: 'WY', latitude: 42.9957, longitude: -107.5512 }\n];\n","import { AddressOutput } from '../models/address-output.model';\n\ninterface AddressComponent {\n longName: string;\n shortName: string;\n}\n\ninterface ReducedAddressComponents {\n street_number?: AddressComponent;\n route?: AddressComponent;\n neighborhood?: AddressComponent;\n point_of_interest?: AddressComponent;\n administrative_area_level_1?: AddressComponent;\n locality?: AddressComponent;\n postal_town?: AddressComponent;\n sublocality_level_1?: AddressComponent;\n country?: AddressComponent;\n postal_code?: AddressComponent;\n}\n\nexport class GooglePlaceParser {\n private address: AddressOutput = { latitude: 0, longitude: 0 };\n private addressComponents: ReducedAddressComponents = {};\n\n constructor(private place: google.maps.places.PlaceResult, private selectedName: string) {\n if (!Array.isArray(this.place.address_components)) {\n throw Error('Address Components is not an array');\n }\n\n if (!this.place.address_components.length) {\n throw Error('Address Components is empty');\n }\n\n this.parseAddressComponents();\n this.buildAddress();\n }\n\n /**\n * Parse out address components into object with type as key. Google passes these values in non-camelcase\n */\n private parseAddressComponents() {\n // eslint-disable-next-line @typescript-eslint/camelcase\n this.addressComponents = this.place.address_components!.reduce((seed, { long_name: longName, short_name: shortName, types }) => {\n types.forEach(t => {\n // eslint-disable-next-line @typescript-eslint/ban-ts-ignore\n // @ts-ignore\n // eslint-disable-next-line @typescript-eslint/camelcase,@typescript-eslint/ban-ts-ignore\n seed[t] = {\n shortName,\n longName\n };\n });\n\n return seed;\n }, {});\n }\n\n private buildAddress() {\n this.address = {\n id: this.place.place_id,\n name: this.place.name,\n street: this.street,\n state: this.addressComponents.administrative_area_level_1?.shortName,\n city: this.city,\n country: this.addressComponents.country?.longName,\n postalCode: this.addressComponents.postal_code?.shortName,\n latitude: this.place.geometry?.location?.lat() ?? 0,\n longitude: this.place.geometry?.location?.lng() ?? 0\n };\n }\n\n get city() {\n const maybeCity = this.addressComponents.locality?.longName ?? this.addressComponents.postal_town?.longName ?? this.addressComponents.sublocality_level_1?.longName;\n if (maybeCity) {\n return maybeCity;\n }\n\n /**\n * If it's a \"neighborhood\" not actual city as defined by Google, try that first\n */\n if (this.addressComponents.neighborhood?.longName) {\n return this.addressComponents.neighborhood?.longName;\n }\n\n /**\n * As last resort, strip out the street and state from the \"name\" which is the selected value\n */\n return this.selectedName.replace(`${this.street}, `, '').replace(`, ${this.addressComponents.administrative_area_level_1?.shortName}`, '');\n }\n\n get street() {\n const streetNumber = this.addressComponents.street_number?.shortName;\n const route = this.addressComponents.route?.longName ?? this.addressComponents.route?.shortName;\n\n if (!streetNumber && !route) {\n return this.addressComponents.neighborhood?.longName ?? this.addressComponents.point_of_interest?.longName ?? '';\n }\n\n return `${streetNumber} ${route ?? ''}`;\n }\n\n result(): AddressOutput {\n return this.address;\n }\n}\n","\nimport { Emit, Prop, VModel, Vue, Watch } from '../vue';\nimport { AddressOutput } from '../models/address-output.model';\nimport { StateModel, usStates } from '../models/campaign-targeting.model';\nimport { CampaignAreaTargetingType } from '../models/campaign-wizard/campaign-state.model';\nimport { Loader } from '@googlemaps/js-api-loader';\nimport { brand } from '../utils/environment';\nimport { GooglePlaceParser } from '../utils/google-place-parser';\n\nexport interface PlacesOption {\n name: string;\n value: AddressOutput | StateModel | string;\n}\n\nexport interface PlacesValue {\n input: string | null;\n value: PlacesOption | null;\n}\n\nexport default class PlacesInput extends Vue {\n @VModel() input: string | null = null;\n @Emit() value: PlacesOption | StateModel | null = null;\n @Emit() place_changed: PlacesOption | StateModel | null = null;\n\n @Prop() placeholder?: string;\n @Prop() disabled = false;\n @Prop() required = false;\n @Prop() error = false;\n @Prop() level: CampaignAreaTargetingType | null = null;\n @Prop() regionMode = true;\n @Prop() clearOnSelect = false;\n\n service?: google.maps.places.AutocompleteService;\n places?: any;\n isFocused = false;\n focusedIndex = -1;\n showOptions = false;\n focusLock = false;\n debouncedFn: any = false;\n options: Array = [];\n\n controller?: AbortController;\n sessionToken: google.maps.places.AutocompleteSessionToken | boolean = false;\n placesService!: google.maps.places.PlacesService;\n\n get getRandomAutocompleteBecauseBrowsersDontLikeToListen(): string {\n let result = '';\n const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n for (let i = 0; i < 20; i++) {\n result += characters.charAt(Math.floor(Math.random() * characters.length));\n }\n return result;\n }\n\n @Watch('modelValue')\n onInputUpdate(val: null | string) {\n this.input = val;\n }\n\n getSessionToken(): google.maps.places.AutocompleteSessionToken | boolean {\n if (!this.sessionToken) {\n this.sessionToken = new this.places.AutocompleteSessionToken();\n }\n return this.sessionToken;\n }\n\n hideOptions() {\n this.showOptions = false;\n }\n\n focusInput() {\n const refs: any = this.$refs;\n refs.theInput.focus();\n }\n\n async mounted() {\n const loader = new Loader({\n apiKey: brand.googleMapsApiKey,\n version: 'weekly',\n libraries: ['places']\n });\n\n const google = await loader.load();\n this.places = google.maps.places;\n this.service = new google.maps.places.AutocompleteService();\n this.placesService = new google.maps.places.PlacesService(document.createElement('div'));\n }\n\n selectIndex(direction: number) {\n if (!this.focusLock) {\n if (direction === 1) {\n this.focusedIndex = (this.focusedIndex === -1 || this.focusedIndex === 0) ? this.options.length - 1 : this.focusedIndex - 1;\n } else {\n this.focusedIndex = (this.focusedIndex === -1 || this.focusedIndex === this.options.length - 1) ? 0 : this.focusedIndex + 1;\n }\n }\n };\n\n clickInput() {\n if (this.input) {\n this.showOptions = true;\n }\n }\n\n async resetInput(focus = false) {\n this.onInput(undefined);\n if (focus) {\n await this.$nextTick(async() => {\n this.focusInput();\n });\n }\n this.showOptions = false;\n }\n\n onInput(val: string | undefined) {\n this.input = val || null;\n this.value = null;\n this.focusedIndex = -1;\n if (val !== undefined && val.length !== 0) {\n this.fetchOptions();\n } else {\n this.showOptions = false;\n }\n }\n\n onKey(event: KeyboardEvent) {\n if (this.isFocused) {\n switch (event.code) {\n case 'Enter':\n event.preventDefault();\n if (this.showOptions && this.focusedIndex !== -1) {\n this.select(this.focusedIndex);\n }\n this.showOptions = !this.showOptions;\n break;\n default:\n if (this.showOptions) {\n switch (event.code) {\n case 'ArrowUp':\n event.preventDefault();\n this.selectIndex(1);\n break;\n case 'ArrowDown':\n event.preventDefault();\n this.selectIndex(0);\n break;\n }\n }\n break;\n }\n }\n }\n\n get statesOnly() {\n return this.level !== CampaignAreaTargetingType.City && this.level !== null;\n }\n\n async fetchOptions() {\n const val = this.input || '';\n if (!this.statesOnly) {\n const query = {\n input: val,\n componentRestrictions: {\n country: 'us'\n },\n types: this.level === CampaignAreaTargetingType.City ? ['(cities)'] : ['address'],\n fields: ['address_components'],\n sessionToken: this.getSessionToken()\n };\n\n const options = await this.service!.getPlacePredictions(query);\n\n if (options) {\n const filteredOptions = this.level === CampaignAreaTargetingType.City ? options.predictions : options.predictions.filter((option) => {\n // Always include any street_address type\n if (option.types.indexOf('street_address') > -1) {\n return true;\n }\n let counter = 0;\n if (option.types.indexOf('route') > -1) {\n counter++;\n }\n if (option.types.indexOf('geocode') > -1) {\n counter++;\n }\n return option.types.length > counter;\n });\n this.options = filteredOptions.map((option) => {\n return {\n name: `${option.description}`.replace(', USA', ''),\n value: option.place_id\n };\n });\n }\n } else {\n this.options = usStates.filter((state) => (state.name.toLocaleLowerCase().includes(val.toLocaleLowerCase()) || state.abbreviation.toLocaleLowerCase().includes(val.toLocaleLowerCase()))).map((state) => {\n return {\n name: state.name,\n value: state\n };\n });\n }\n\n this.showOptions = true;\n }\n\n getPlaceDetails(placeId: any) {\n return new Promise((resolve, reject) => {\n const request = {\n placeId,\n sessionToken: this.getSessionToken()\n };\n\n this.placesService.getDetails(request, resolve);\n });\n }\n\n async select(index: number) {\n if (this.statesOnly) {\n this.value = this.options[index];\n } else {\n const result = await this.getPlaceDetails(this.options[index].value) ?? { name: this.options[index].name, value: this.options[index].name };\n this.value = {\n name: result.name ?? '',\n value: new GooglePlaceParser(result, this.options[index].name).result()\n };\n }\n if (this.clearOnSelect) {\n this.input = '';\n } else {\n this.input = this.options[index].name;\n }\n this.$emit('place_changed', { input: this.options[index].name, value: this.value });\n this.sessionToken = false;\n this.showOptions = false;\n }\n}\n","import { render } from \"./places-input.vue?vue&type=template&id=522d7652&scoped=true&ts=true\"\nimport script from \"./places-input.vue?vue&type=script&lang=ts\"\nexport * from \"./places-input.vue?vue&type=script&lang=ts\"\n\nimport \"./places-input.vue?vue&type=style&index=0&id=522d7652&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-522d7652\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-908decd4\")\n\n_pushScopeId(\"data-v-908decd4\")\nconst _hoisted_1 = { class: \"loading-overlay\" }\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_LoadingIndicator = _resolveComponent(\"LoadingIndicator\")\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(_component_LoadingIndicator)\n ]))\n})","\nimport { Vue, Options } from '../vue';\nimport { LoadingIndicator } from './index';\n\n@Options({\n components: {\n LoadingIndicator\n }\n})\nexport default class LoadingOverlay extends Vue {\n}\n","import { render } from \"./loading-overlay.vue?vue&type=template&id=908decd4&scoped=true&ts=true\"\nimport script from \"./loading-overlay.vue?vue&type=script&lang=ts\"\nexport * from \"./loading-overlay.vue?vue&type=script&lang=ts\"\n\nimport \"./loading-overlay.vue?vue&type=style&index=0&id=908decd4&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-908decd4\"]])\n\nexport default __exports__","import { createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-9dd7e4ca\")\n\n_pushScopeId(\"data-v-9dd7e4ca\")\nconst _hoisted_1 = { class: \"chart-container\" }\nconst _hoisted_2 = { ref: \"canvas\" }\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"canvas\", _hoisted_2, null, 512)\n ]))\n})","\nimport { Vue, Prop, Watch } from '../vue';\nimport { Chart, ChartConfiguration } from 'chart.js';\n\nexport default class ChartComp extends Vue {\n @Prop() data: any | null = null;\n\n chart: Chart | null = null;\n\n mounted() {\n // TODO\n }\n\n @Watch('data')\n onDataChange(val: null | ChartConfiguration) {\n if (val !== null) {\n const canvas = this.$refs.canvas as HTMLCanvasElement;\n\n if (this.chart) {\n this.chart.destroy();\n }\n this.chart = new Chart(canvas, val);\n }\n }\n}\n","import { render } from \"./chart-canvas.vue?vue&type=template&id=9dd7e4ca&scoped=true&ts=true\"\nimport script from \"./chart-canvas.vue?vue&type=script&lang=ts\"\nexport * from \"./chart-canvas.vue?vue&type=script&lang=ts\"\n\nimport \"./chart-canvas.vue?vue&type=style&index=0&id=9dd7e4ca&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-9dd7e4ca\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createVNode as _createVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-ff5675c0\")\n\n_pushScopeId(\"data-v-ff5675c0\")\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-download\" }, null, -1)\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\" download data \")\nconst _hoisted_4 = { key: 0 }\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n return (_ctx.configuration !== null)\n ? (_openBlock(), _createBlock(\"table\", _hoisted_1, [\n _createVNode(\"thead\", null, [\n _createVNode(\"h4\", null, _toDisplayString(_ctx.configuration.header), 1),\n (_ctx.configuration.downloadDataCallback !== undefined)\n ? (_openBlock(), _createBlock(\"button\", {\n key: 0,\n class: \"button-link\",\n type: \"button\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.downloadData()))\n }, [\n _hoisted_2,\n _hoisted_3\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"tr\", null, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.configuration.columns, (column, i) => {\n return (_openBlock(), _createBlock(\"th\", {\n key: column,\n onClick: ($event: any) => (_ctx.configuration.sortColumn(i))\n }, [\n _createTextVNode(_toDisplayString(column.text) + \" \", 1),\n (column.sortDirection !== undefined)\n ? (_openBlock(), _createBlock(\"i\", {\n key: 0,\n class: [\"fas\", {'fa-arrow-up': column.sortDirection === 'asc', 'fa-arrow-down': column.sortDirection === 'desc'}]\n }, null, 2))\n : _createCommentVNode(\"\", true)\n ], 8, [\"onClick\"]))\n }), 128))\n ]),\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.configuration.rows, (row, rowIndex) => {\n return (_openBlock(), _createBlock(\"tr\", { key: rowIndex }, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(row, (value, valueIndex) => {\n return (_openBlock(), _createBlock(\"td\", {\n key: rowIndex + '' + valueIndex\n }, _toDisplayString(value), 1))\n }), 128))\n ]))\n }), 128)),\n _createVNode(\"tfoot\", null, [\n (!(_ctx.configuration.nextPage === null && _ctx.configuration.previousPage === null))\n ? (_openBlock(), _createBlock(\"div\", _hoisted_4, [\n (_ctx.configuration.previousPage !== null)\n ? (_openBlock(), _createBlock(\"button\", {\n key: 0,\n type: \"button\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.configuration.setPage(_ctx.configuration.previousPage)))\n }, \"<\"))\n : _createCommentVNode(\"\", true),\n _createVNode(\"span\", null, \"Page \" + _toDisplayString(_ctx.configuration.currentPage), 1),\n (_ctx.configuration.nextPage !== null)\n ? (_openBlock(), _createBlock(\"button\", {\n key: 1,\n type: \"button\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.configuration.setPage(_ctx.configuration.nextPage)))\n }, \">\"))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n})","\nimport { Vue, Prop, Watch } from '../vue';\nimport { DataTableConfiguration } from '../utils/data-table';\n\nexport default class DataTable extends Vue {\n @Prop() data: any | null = null;\n\n configuration: null | DataTableConfiguration = null;\n\n @Watch('data')\n onDataUpdate(val: null | DataTableConfiguration) {\n this.configuration = val;\n }\n\n downloadData() {\n if (this.configuration?.downloadDataCallback !== undefined) {\n const data = this.configuration.downloadDataCallback();\n const csvBody = [data[0], ...data[1]].map((row) => row.join(',')).join('\\n');\n const csv = 'data:text/csv;charset=utf-8,' + csvBody;\n window.open(encodeURI(csv));\n }\n }\n}\n","import { render } from \"./data-table.vue?vue&type=template&id=ff5675c0&scoped=true&ts=true\"\nimport script from \"./data-table.vue?vue&type=script&lang=ts\"\nexport * from \"./data-table.vue?vue&type=script&lang=ts\"\n\nimport \"./data-table.vue?vue&type=style&index=0&id=ff5675c0&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ff5675c0\"]])\n\nexport default __exports__","export const exportToCsv = (filename: string, rows: any[], headers?: string[]): void => {\n if (!rows || !rows.length) {\n return;\n }\n const separator = ',';\n\n const keys: string[] = Object.keys(rows[0]);\n\n let columHeaders: string[];\n\n if (headers) {\n columHeaders = headers;\n } else {\n columHeaders = keys;\n }\n debugger;\n const csvContent =\n columHeaders.join(separator) +\n '\\n' +\n rows.map(row => {\n return keys.map(k => {\n let cell = row[k] === null || row[k] === undefined ? '' : row[k];\n\n cell = cell instanceof Date\n ? cell.toLocaleString()\n : cell.toString().replace(/\"/g, '\"\"');\n\n if (cell.search(/(\"|,|\\n)/g) >= 0) {\n cell = `\"${cell}\"`;\n }\n return cell;\n }).join(separator);\n }).join('\\n');\n\n const blob = new Blob([csvContent], { type: 'text/csv;charset=utf-8;' });\n if (navigator.msSaveBlob) { // In case of IE 10+\n navigator.msSaveBlob(blob, filename);\n } else {\n const link = document.createElement('a');\n if (link.download !== undefined) {\n // Browsers that support HTML5 download attribute\n const url = URL.createObjectURL(blob);\n link.setAttribute('href', url);\n link.setAttribute('download', filename);\n link.style.visibility = 'hidden';\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n }\n }\n};\n","import { exportToCsv } from './csv';\nimport { CustomerAdCopiesModel } from '../models/customer-ad-copy.model';\nimport { CustomerKeywordModel } from '../models/customer-keyword.model';\n\nexport function buildAndExportAdCopies(adCopies: Array, filename = 'adCopies.csv'): boolean {\n if (adCopies.length > 0) {\n const items: Array<{ headline: string; description: string }> = [];\n for (let i = 0; i < adCopies.length; i++) {\n const adCopy = adCopies[i];\n for (let k = 0; k < adCopy.headlines.length; k++) {\n items.push({\n headline: adCopy.headlines[k],\n description: adCopy.descriptions.length > k ? adCopy.descriptions[k] : ''\n });\n }\n items.push({\n headline: '',\n description: ''\n });\n }\n exportToCsv(filename, items, ['Headlines', 'Descriptions']);\n return true;\n }\n\n return false;\n}\n\nexport function buildAndExportKeywords(keywords: Array, filename = 'keywords.csv'): boolean {\n if (keywords.length > 0) {\n exportToCsv('keywords.csv', keywords.filter(k => k.status === 'ENABLED').map(k => ({ keyword: k.keyword })).sort((a, b) => a.keyword > b.keyword ? 1 : ((b.keyword > a.keyword) ? -1 : 0)), ['Keywords']);\n return true;\n }\n\n return false;\n}\n","import { createVNode as _createVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-08c314f8\")\n\n_pushScopeId(\"data-v-08c314f8\")\nconst _hoisted_1 = {\n key: 0,\n class: \"card\"\n}\nconst _hoisted_2 = { class: \"body\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"metric\"\n}\nconst _hoisted_4 = {\n key: 1,\n class: \"metric-empty\"\n}\nconst _hoisted_5 = { class: \"metric-title\" }\nconst _hoisted_6 = {\n key: 2,\n class: \"total-metric\"\n}\nconst _hoisted_7 = {\n key: 3,\n class: \"total-metric\"\n}\nconst _hoisted_8 = { class: \"metric-description\" }\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n return (_ctx.metadata)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", {\n class: \"wrapper\",\n style: {'background-color': _ctx.metadata.secondaryColor}\n }, [\n _createVNode(\"i\", {\n class: [\"fal\", _ctx.metadata.icon],\n style: {color: _ctx.metadata.color}\n }, null, 6),\n _createVNode(\"div\", _hoisted_2, [\n (!_ctx.empty)\n ? (_openBlock(), _createBlock(\"h5\", _hoisted_3, _toDisplayString(_ctx.metadata.displayTransformFunction(_ctx.metadata.metric)), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.empty)\n ? (_openBlock(), _createBlock(\"h5\", _hoisted_4))\n : _createCommentVNode(\"\", true),\n _createVNode(\"h6\", _hoisted_5, _toDisplayString(_ctx.metadata.metricTitle), 1),\n (_ctx.metadata.totalMetric !== undefined && _ctx.metadata.metric !== _ctx.metadata.totalMetric)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_6, _toDisplayString(_ctx.percentageOfTotal) + \"% of \" + _toDisplayString(_ctx.metadata.displayTransformFunction(_ctx.metadata.totalMetric)) + \" total\", 1))\n : _createCommentVNode(\"\", true),\n (_ctx.metadata.metric === _ctx.metadata.totalMetric)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_7, \"Same as total\"))\n : _createCommentVNode(\"\", true),\n _createVNode(\"p\", _hoisted_8, _toDisplayString(_ctx.metadata.metricDescription), 1)\n ])\n ], 4)\n ]))\n : _createCommentVNode(\"\", true)\n})","\nimport { Vue, Options, Prop } from '../../../vue';\n\nexport interface MetricMetadata {\n displayTransformFunction: (d: number) => string;\n totalMetric?: number;\n color: string;\n secondaryColor: string;\n icon: string;\n metric: number;\n metricTitle: string;\n metricDescription: string;\n}\n\n@Options({\n components: {}\n})\nexport default class MetricBubble extends Vue {\n @Prop() data: any | null = null;\n @Prop() empty!: boolean;\n\n get metadata(): MetricMetadata | null {\n return this.data as MetricMetadata | null;\n }\n\n get percentageOfTotal(): number | null {\n if (this.metadata?.totalMetric !== undefined) {\n return Math.round((this.metadata.metric / this.metadata.totalMetric) * 100);\n } else {\n return null;\n }\n }\n}\n\n","import { render } from \"./metric-bubble.vue?vue&type=template&id=08c314f8&scoped=true&ts=true\"\nimport script from \"./metric-bubble.vue?vue&type=script&lang=ts\"\nexport * from \"./metric-bubble.vue?vue&type=script&lang=ts\"\n\nimport \"./metric-bubble.vue?vue&type=style&index=0&id=08c314f8&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-08c314f8\"]])\n\nexport default __exports__","import { createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vModelText as _vModelText, withDirectives as _withDirectives, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-f425b55a\")\n\n_pushScopeId(\"data-v-f425b55a\")\nconst _hoisted_1 = { class: \"site-tag-overlay\" }\nconst _hoisted_2 = { class: \"site-tag-container\" }\nconst _hoisted_3 = { class: \"close-container\" }\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"h1\", null, \"Install Your Global Site Tag\", -1)\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"p\", null, [\n /*#__PURE__*/_createTextVNode(\"Finally, you need to install a tag on your website to get feedback on your ad performance. \"),\n /*#__PURE__*/_createVNode(\"br\"),\n /*#__PURE__*/_createVNode(\"br\"),\n /*#__PURE__*/_createTextVNode(\" Adding this tag to your website is required in order for us to generate reports for your ad performance, including how many times your ad has appeared and how many users have clicked on it. You will be able to see these reports and your Account Manager will use this information to optimize your ad performance over time.\")\n], -1)\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"div\", { class: \"dividing-line\" }, null, -1)\nconst _hoisted_7 = /*#__PURE__*/_createVNode(\"span\", { class: \"bold\" }, \"Global site tag not installed.\", -1)\nconst _hoisted_8 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-sync-alt\" }, null, -1)\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\" refresh status\")\nconst _hoisted_10 = /*#__PURE__*/_createVNode(\"h3\", null, \"Installation Instructions\", -1)\nconst _hoisted_11 = /*#__PURE__*/_createVNode(\"p\", null, \"You will need to install the tag below in the of every page on your website. Follow the instructions at the link below to install your global site tag (the code snippet below).\", -1)\nconst _hoisted_12 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-external-link-alt\" }, null, -1)\nconst _hoisted_13 = /*#__PURE__*/_createVNode(\"h3\", null, \"Global Site Tag\", -1)\nconst _hoisted_14 = /*#__PURE__*/_createTextVNode(\" \")\nconst _hoisted_15 = /*#__PURE__*/_createTextVNode(\"\\n \")\nconst _hoisted_16 = { class: \"button-container copy-button\" }\nconst _hoisted_17 = /*#__PURE__*/_createTextVNode(\"\\n \")\nconst _hoisted_18 = {\n key: 0,\n class: \"far fa-check\"\n}\nconst _hoisted_19 = /*#__PURE__*/_createTextVNode(\"\\n \")\nconst _hoisted_20 = /*#__PURE__*/_createTextVNode(\"\\n \")\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_LoadingOverlay = _resolveComponent(\"LoadingOverlay\")\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"i\", {\n class: \"fal fa-times\",\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.closeModal && _ctx.closeModal(...args)))\n })\n ]),\n _hoisted_4,\n _hoisted_5,\n _hoisted_6,\n _createVNode(\"div\", {\n class: [\"site-tag-status not-installed\", { loading: _ctx.loadingTagInstallationStatus }]\n }, [\n _createVNode(_component_LoadingOverlay),\n _hoisted_7,\n _createTextVNode(\" Refresh status after installation to verify that the tag is working correctly on \" + _toDisplayString(_ctx.detectedCms) + \". \", 1),\n (!_ctx.loadingTagInstallationStatus)\n ? (_openBlock(), _createBlock(\"span\", {\n key: 0,\n class: \"refresh\",\n onclick: _ctx.getConversionTagStatus\n }, [\n _hoisted_8,\n _hoisted_9\n ], 8, [\"onclick\"]))\n : _createCommentVNode(\"\", true)\n ], 2),\n _hoisted_10,\n _hoisted_11,\n _createVNode(\"a\", {\n href: _ctx.installationUrl,\n target: \"_blank\",\n class: \"install-link\"\n }, [\n _hoisted_12,\n _createTextVNode(_toDisplayString(_ctx.installationLinkText), 1)\n ], 8, [\"href\"]),\n _createVNode(\"div\", null, [\n _hoisted_13,\n _createVNode(\"pre\", null, [\n _hoisted_14,\n _withDirectives(_createVNode(\"textarea\", {\n class: \"site-tag-div\",\n ref: \"snippet\",\n id: \"snippet\",\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.scriptCopyBody = $event)),\n readonly: \"\"\n }, \"\\n \", 512), [\n [_vModelText, _ctx.scriptCopyBody]\n ]),\n _hoisted_15,\n _createVNode(\"div\", _hoisted_16, [\n _hoisted_17,\n _createVNode(\"button\", {\n class: {tertiary: _ctx.scriptCopyAltColorVisible},\n onClick: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.copyScriptToClipboard && _ctx.copyScriptToClipboard(...args)))\n }, [\n (_ctx.scriptCopyAltColorVisible)\n ? (_openBlock(), _createBlock(\"i\", _hoisted_18))\n : _createCommentVNode(\"\", true),\n _createTextVNode(_toDisplayString(!_ctx.scriptCopyAltColorVisible ? 'Copy' : ' Copied!'), 1)\n ], 2),\n _hoisted_19\n ]),\n _hoisted_20\n ])\n ])\n ])\n ]))\n})","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vModelText as _vModelText, withDirectives as _withDirectives, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { id: \"info\" }\nconst _hoisted_2 = { id: \"content-wrapper\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"h1\", null, \"Congratulations! You’re all set!\", -1)\nconst _hoisted_4 = { class: \"sub-text\" }\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Your ads are currently in review by Google. Please wait 1-2 business days for your ads to pass Google's review and begin running in Google Search. At that time, you’ll begin seeing campaign data in your Dashboard. If you have any questions, requests, or concerns, please don’t hesitate to reach out to \")\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\", and our team will be glad to help!\")\nconst _hoisted_7 = {\n key: 0,\n class: \"site-tag-status confirmed\"\n}\nconst _hoisted_8 = /*#__PURE__*/_createVNode(\"span\", { class: \"bold\" }, \"Global site tag is active.\", -1)\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\" Your ads are ready to run! \")\nconst _hoisted_10 = { class: \"button-container\" }\nconst _hoisted_11 = { key: 1 }\nconst _hoisted_12 = /*#__PURE__*/_createVNode(\"br\", null, null, -1)\nconst _hoisted_13 = /*#__PURE__*/_createVNode(\"br\", null, null, -1)\nconst _hoisted_14 = /*#__PURE__*/_createVNode(\"br\", null, null, -1)\nconst _hoisted_15 = /*#__PURE__*/_createVNode(\"br\", null, null, -1)\nconst _hoisted_16 = /*#__PURE__*/_createVNode(\"span\", { class: \"loading-div\" }, \"One moment, checking your website platform...\", -1)\nconst _hoisted_17 = { key: 2 }\nconst _hoisted_18 = /*#__PURE__*/_createVNode(\"div\", { class: \"dividing-line\" }, null, -1)\nconst _hoisted_19 = /*#__PURE__*/_createVNode(\"span\", { class: \"bold\" }, \"Global site tag not installed.\", -1)\nconst _hoisted_20 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-sync-alt\" }, null, -1)\nconst _hoisted_21 = /*#__PURE__*/_createTextVNode(\" refresh status\")\nconst _hoisted_22 = { class: \"install-instructions-container\" }\nconst _hoisted_23 = /*#__PURE__*/_createVNode(\"h2\", null, \"Installation Instructions\", -1)\nconst _hoisted_24 = { key: 0 }\nconst _hoisted_25 = /*#__PURE__*/_createTextVNode(\"We've detected that \")\nconst _hoisted_26 = { class: \"bold\" }\nconst _hoisted_27 = { key: 1 }\nconst _hoisted_28 = /*#__PURE__*/_createTextVNode(\"You will need to install the tag below in the of every page on your website. To find specific instructions, search \")\nconst _hoisted_29 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-external-link-alt\" }, null, -1)\nconst _hoisted_30 = { key: 2 }\nconst _hoisted_31 = { key: 3 }\nconst _hoisted_32 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-external-link-alt\" }, null, -1)\nconst _hoisted_33 = { class: \"help-text\" }\nconst _hoisted_34 = { class: \"wordpress-cms-container\" }\nconst _hoisted_35 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-eye\" }, null, -1)\nconst _hoisted_36 = /*#__PURE__*/_createTextVNode(\" Show Global Site Tag\")\nconst _hoisted_37 = { key: 1 }\nconst _hoisted_38 = /*#__PURE__*/_createVNode(\"span\", { class: \"bold\" }, \"Conversion Id: \", -1)\nconst _hoisted_39 = { class: \"conversion\" }\nconst _hoisted_40 = { class: \"site-tag-container\" }\nconst _hoisted_41 = { key: 0 }\nconst _hoisted_42 = /*#__PURE__*/_createTextVNode(\"Global Site Tag \")\nconst _hoisted_43 = { key: 0 }\nconst _hoisted_44 = /*#__PURE__*/_createTextVNode(\"(for \")\nconst _hoisted_45 = /*#__PURE__*/_createVNode(\"a\", {\n class: \"alternative\",\n href: \"https://developers.google.com/gtagjs/devguide/snippet#google-ads\"\n}, \"alternative installation methods\", -1)\nconst _hoisted_46 = /*#__PURE__*/_createTextVNode(\")\")\nconst _hoisted_47 = /*#__PURE__*/_createTextVNode(\" \")\nconst _hoisted_48 = /*#__PURE__*/_createTextVNode(\"\\n \")\nconst _hoisted_49 = { class: \"button-container copy-button\" }\nconst _hoisted_50 = /*#__PURE__*/_createTextVNode(\"\\n \")\nconst _hoisted_51 = {\n key: 0,\n class: \"far fa-check\"\n}\nconst _hoisted_52 = /*#__PURE__*/_createTextVNode(\"\\n \")\nconst _hoisted_53 = /*#__PURE__*/_createTextVNode(\"\\n \")\nconst _hoisted_54 = { class: \"instructions-p\" }\nconst _hoisted_55 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-external-link-alt\" }, null, -1)\nconst _hoisted_56 = /*#__PURE__*/_createTextVNode(\" View instructions here\")\nconst _hoisted_57 = /*#__PURE__*/_createTextVNode(\" if you already have a global site tag installed using Google Analytics.\")\nconst _hoisted_58 = { key: 1 }\nconst _hoisted_59 = /*#__PURE__*/_createVNode(\"span\", { class: \"bold\" }, \"Conversion Id: \", -1)\nconst _hoisted_60 = { class: \"conversion\" }\nconst _hoisted_61 = /*#__PURE__*/_createVNode(\"i\", { class: \"fad fa-question-circle\" }, null, -1)\nconst _hoisted_62 = /*#__PURE__*/_createTextVNode(\" What if someone else makes changes to my website for me?\")\nconst _hoisted_63 = {\n key: 2,\n class: \"copy-content\"\n}\nconst _hoisted_64 = /*#__PURE__*/_createVNode(\"p\", null, \"It’s easy to send all of this information to the person responsible for editing your website. Click the button below to copy all relevant information from this page and paste it in an email to your website manager.\", -1)\nconst _hoisted_65 = { class: \"button-container\" }\nconst _hoisted_66 = {\n key: 0,\n class: \"far fa-check\"\n}\nconst _hoisted_67 = { class: \"show-instructions\" }\nconst _hoisted_68 = {\n key: 1,\n class: \"service-links\"\n}\nconst _hoisted_69 = /*#__PURE__*/_createVNode(\"p\", { class: \"bold\" }, \"Instructions for other websites\", -1)\nconst _hoisted_70 = { class: \"service-container\" }\nconst _hoisted_71 = /*#__PURE__*/_createVNode(\"a\", { class: \"web-service\" }, [\n /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-external-link-alt\" }),\n /*#__PURE__*/_createTextVNode(\" WordPress\")\n], -1)\nconst _hoisted_72 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-external-link-alt\" }, null, -1)\nconst _hoisted_73 = /*#__PURE__*/_createTextVNode(\"Wix\")\nconst _hoisted_74 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-external-link-alt\" }, null, -1)\nconst _hoisted_75 = /*#__PURE__*/_createTextVNode(\"Squarespace\")\nconst _hoisted_76 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-external-link-alt\" }, null, -1)\nconst _hoisted_77 = /*#__PURE__*/_createTextVNode(\"GoDaddy Website Builder\")\nconst _hoisted_78 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-external-link-alt\" }, null, -1)\nconst _hoisted_79 = /*#__PURE__*/_createTextVNode(\"Weebly\")\nconst _hoisted_80 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-external-link-alt\" }, null, -1)\nconst _hoisted_81 = /*#__PURE__*/_createTextVNode(\"General HTML\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_WizardInfo = _resolveComponent(\"WizardInfo\")\n const _component_LoadingOverlay = _resolveComponent(\"LoadingOverlay\")\n const _component_Assistance = _resolveComponent(\"Assistance\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(_component_WizardInfo, { metadata: _ctx.infoMetadata }, null, 8, [\"metadata\"])\n ]),\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", {\n id: \"content\",\n class: { loading: _ctx.loading }\n }, [\n _createVNode(_component_LoadingOverlay),\n _hoisted_3,\n _createVNode(\"p\", _hoisted_4, [\n _hoisted_5,\n _createVNode(\"a\", {\n href: 'mailto:' + _ctx.brand.email\n }, _toDisplayString(_ctx.brand.email), 9, [\"href\"]),\n _hoisted_6\n ]),\n (_ctx.tagInstalled)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_7, [\n _hoisted_8,\n _hoisted_9\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_10, [\n (!_ctx.installInstructionsVisible && !_ctx.tagInstalled)\n ? (_openBlock(), _createBlock(\"button\", {\n key: 0,\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.skipTrackingStep && _ctx.skipTrackingStep(...args)))\n }, \"Go to your dashboard\"))\n : _createCommentVNode(\"\", true),\n (_ctx.installInstructionsVisible && !_ctx.tagInstalled)\n ? (_openBlock(), _createBlock(\"button\", {\n key: 1,\n onClick: _cache[2] || (_cache[2] = \n//@ts-ignore\n(...args) => (_ctx.skipTrackingStep && _ctx.skipTrackingStep(...args))),\n class: \"secondary link-button\"\n }, \"Remind Me Later\"))\n : _createCommentVNode(\"\", true),\n (_ctx.tagInstalled)\n ? (_openBlock(), _createBlock(\"button\", {\n key: 2,\n onClick: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.skipTrackingStep && _ctx.skipTrackingStep(...args)))\n }, \"Go to your dashboard\"))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.loadingCmsDetection)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_11, [\n _hoisted_12,\n _hoisted_13,\n _hoisted_14,\n _hoisted_15,\n _hoisted_16\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.installInstructionsVisible && !_ctx.tagInstalled)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_17, [\n _hoisted_18,\n (!_ctx.tagInstalled)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 0,\n class: [\"site-tag-status not-installed\", { loading: _ctx.loadingTagInstallationStatus }]\n }, [\n _createVNode(_component_LoadingOverlay),\n _hoisted_19,\n _createTextVNode(\" Refresh status after installation to verify that the tag is working correctly on \" + _toDisplayString(_ctx.websiteUrl) + \". \", 1),\n (!_ctx.loadingTagInstallationStatus)\n ? (_openBlock(), _createBlock(\"span\", {\n key: 0,\n class: \"refresh\",\n onclick: _ctx.getConversionTagStatus\n }, [\n _hoisted_20,\n _hoisted_21\n ], 8, [\"onclick\"]))\n : _createCommentVNode(\"\", true)\n ], 2))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_22, [\n _hoisted_23,\n (_ctx.detectedCmsResponse !== null)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_24, [\n _hoisted_25,\n _createVNode(\"span\", _hoisted_26, _toDisplayString(_ctx.websiteUrl) + \" uses \" + _toDisplayString(_ctx.detectedCmsResponse), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.detectedCms === _ctx.ContentManager.Other)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_27, [\n _hoisted_28,\n _createVNode(\"a\", {\n href: this.googleQueryTemplate+_ctx.detectedCmsResponse,\n target: \"_blank\",\n class: \"install-link cms\"\n }, [\n _hoisted_29,\n _createTextVNode(\"Install Google Ads Conversion Tracking for \" + _toDisplayString(_ctx.detectedCmsResponse), 1)\n ], 8, [\"href\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.detectedCmsResponse === null)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_30, \"You will need to install the tag below in the of every page on your website. Follow the instructions at the link below to install your global site tag (the code snippet below). \"))\n : _createCommentVNode(\"\", true),\n (_ctx.cmsIsSupported)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_31, _toDisplayString(_ctx.cmsTagInstallationHint), 1))\n : _createCommentVNode(\"\", true),\n _createVNode(\"a\", {\n href: _ctx.installationUrl,\n target: \"_blank\",\n class: \"install-link\"\n }, [\n _hoisted_32,\n _createTextVNode(_toDisplayString(_ctx.installationLinkText), 1)\n ], 8, [\"href\"]),\n _createVNode(\"div\", _hoisted_33, _toDisplayString(_ctx.helpText), 1)\n ]),\n _createVNode(\"div\", _hoisted_34, [\n (!_ctx.globalSiteTagVisible)\n ? (_openBlock(), _createBlock(\"a\", {\n key: 0,\n class: \"show-tag-container\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.globalSiteTagVisible = true))\n }, [\n _hoisted_35,\n _hoisted_36\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.detectedCms === _ctx.ContentManager.WordPress)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_37, [\n _hoisted_38,\n _createVNode(\"span\", _hoisted_39, _toDisplayString(_ctx.conversionId), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", _hoisted_40, [\n (_ctx.globalSiteTagVisible)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_41, [\n _createVNode(\"h3\", null, [\n _hoisted_42,\n (_ctx.detectedCms === _ctx.ContentManager.WordPress)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_43, [\n _hoisted_44,\n _hoisted_45,\n _hoisted_46\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"pre\", null, [\n _hoisted_47,\n _withDirectives(_createVNode(\"textarea\", {\n class: \"site-tag-div\",\n ref: \"snippet\",\n id: \"snippet\",\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.scriptCopyBody = $event)),\n readonly: \"\"\n }, \"\\n \", 512), [\n [_vModelText, _ctx.scriptCopyBody]\n ]),\n _hoisted_48,\n _createVNode(\"div\", _hoisted_49, [\n _hoisted_50,\n _createVNode(\"button\", {\n class: {tertiary: _ctx.scriptCopyAltColorVisible},\n onClick: _cache[6] || (_cache[6] = \n//@ts-ignore\n(...args) => (_ctx.copyScriptToClipboard && _ctx.copyScriptToClipboard(...args)))\n }, [\n (_ctx.scriptCopyAltColorVisible)\n ? (_openBlock(), _createBlock(\"i\", _hoisted_51))\n : _createCommentVNode(\"\", true),\n _createTextVNode(_toDisplayString(!_ctx.scriptCopyAltColorVisible ? 'Copy' : ' Copied!'), 1)\n ], 2),\n _hoisted_52\n ]),\n _hoisted_53\n ]),\n _createVNode(\"p\", _hoisted_54, [\n _createVNode(\"a\", {\n class: \"instructions-link\",\n href: _ctx.showInstructionsRedirect,\n target: \"_blank\"\n }, [\n _hoisted_55,\n _hoisted_56\n ], 8, [\"href\"]),\n _hoisted_57\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.detectedCms !== _ctx.ContentManager.WordPress)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_58, [\n _hoisted_59,\n _createVNode(\"span\", _hoisted_60, \" AW-\" + _toDisplayString(_ctx.conversionId), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"p\", {\n class: \"install-link\",\n onClick: _cache[7] || (_cache[7] = ($event: any) => {this.externalManagementInfoVisible = !this.externalManagementInfoVisible;})\n }, [\n _hoisted_61,\n _hoisted_62\n ]),\n (_ctx.externalManagementInfoVisible)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_63, [\n _hoisted_64,\n _createVNode(\"div\", _hoisted_65, [\n _createVNode(\"button\", {\n class: {tertiary: _ctx.installationInfoCopyAltColorVisible},\n onClick: _cache[8] || (_cache[8] = \n//@ts-ignore\n(...args) => (_ctx.copyInstallationInfoToClipboard && _ctx.copyInstallationInfoToClipboard(...args)))\n }, [\n (_ctx.installationInfoCopyAltColorVisible)\n ? (_openBlock(), _createBlock(\"i\", _hoisted_66))\n : _createCommentVNode(\"\", true),\n _createTextVNode(_toDisplayString(!_ctx.installationInfoCopyAltColorVisible ? 'Copy Installation Information' : ' Copied!'), 1)\n ], 2)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(_component_Assistance),\n _createVNode(\"div\", _hoisted_67, [\n (!_ctx.installationLinksVisible)\n ? (_openBlock(), _createBlock(\"p\", {\n key: 0,\n class: \"install-link\",\n onClick: _cache[9] || (_cache[9] = ($event: any) => (_ctx.installationLinksVisible = true))\n }, \"Show Instructions for Other Web Services\"))\n : _createCommentVNode(\"\", true),\n (_ctx.installationLinksVisible)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_68, [\n _hoisted_69,\n _createVNode(\"div\", _hoisted_70, [\n _hoisted_71,\n _createVNode(\"a\", {\n class: \"web-service\",\n href: _ctx.wixInstallationUrl,\n target: \"_blank\"\n }, [\n _hoisted_72,\n _hoisted_73\n ], 8, [\"href\"]),\n _createVNode(\"a\", {\n class: \"web-service\",\n href: _ctx.squareSpaceInstallationUrl,\n target: \"_blank\"\n }, [\n _hoisted_74,\n _hoisted_75\n ], 8, [\"href\"]),\n _createVNode(\"a\", {\n class: \"web-service\",\n href: _ctx.goDaddyInstallationUrl,\n target: \"_blank\"\n }, [\n _hoisted_76,\n _hoisted_77\n ], 8, [\"href\"]),\n _createVNode(\"a\", {\n class: \"web-service\",\n href: _ctx.weeblyInstallationUrl,\n target: \"_blank\"\n }, [\n _hoisted_78,\n _hoisted_79\n ], 8, [\"href\"]),\n _createVNode(\"a\", {\n class: \"web-service\",\n href: _ctx.generalInstallationUrl,\n target: \"_blank\"\n }, [\n _hoisted_80,\n _hoisted_81\n ], 8, [\"href\"])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ], 2)\n ]),\n _withDirectives(_createVNode(\"textarea\", {\n ref: \"hiddenContent\",\n id: \"hiddenContent\",\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => (_ctx.installationInfoCopyBody = $event)),\n readonly: \"\"\n }, null, 512), [\n [_vModelText, _ctx.installationInfoCopyBody]\n ])\n ], 64))\n}","import { createVNode as _createVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-97fda6e6\")\n\n_pushScopeId(\"data-v-97fda6e6\")\nconst _hoisted_1 = { class: \"assistance-container\" }\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"div\", { class: \"graphic-container\" }, [\n /*#__PURE__*/_createVNode(\"img\", {\n src: \"/img/support-graphic.svg\",\n alt: \"support-graphic\",\n class: \"support-graphic\"\n })\n], -1)\nconst _hoisted_3 = { class: \"contact-container\" }\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"p\", { class: \"help-title\" }, \"We're here to help!\", -1)\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"p\", { class: \"alt\" }, \"If you need assistance with this step, our account managers are here to help!\", -1)\nconst _hoisted_6 = { class: \"button-container less-height\" }\nconst _hoisted_7 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-phone\" }, null, -1)\nconst _hoisted_8 = { class: \"button-container\" }\nconst _hoisted_9 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-envelope\" }, null, -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _hoisted_5,\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"a\", {\n class: \"w-icon\",\n href: 'tel:' + _ctx.brand.numberOnly\n }, [\n _hoisted_7,\n _createVNode(\"span\", null, \"Call \" + _toDisplayString(_ctx.brand.number), 1)\n ], 8, [\"href\"])\n ]),\n _createVNode(\"div\", _hoisted_8, [\n _createVNode(\"a\", {\n class: \"w-icon\",\n href: 'mailto:' + _ctx.brand.email\n }, [\n _hoisted_9,\n _createVNode(\"span\", null, \"Email \" + _toDisplayString(_ctx.brand.email), 1)\n ], 8, [\"href\"])\n ])\n ])\n ]))\n})","\nimport { Vue, Options } from '../../../vue';\n\n@Options({\n components: {}\n})\nexport default class Assistance extends Vue {\n}\n\n","import { render } from \"./assistance.vue?vue&type=template&id=97fda6e6&scoped=true&ts=true\"\nimport script from \"./assistance.vue?vue&type=script&lang=ts\"\nexport * from \"./assistance.vue?vue&type=script&lang=ts\"\n\nimport \"./assistance.vue?vue&type=style&index=0&id=97fda6e6&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-97fda6e6\"]])\n\nexport default __exports__","\nimport { Options, Vue } from '../../vue';\nimport { ApiService } from '../../services/api.service';\nimport { WizardInfoMetaData } from '../../components/wizard-info.vue';\nimport { LoadingOverlay, WizardInfo, WizardProgress } from '../../components';\nimport { isAuthenticationException } from '../../utils/exceptions';\nimport { WizardService } from '../../services/wizard.service';\nimport { RouteName } from '../../router';\nimport { CampaignStateModel } from '../../models/campaign-wizard/campaign-state.model';\nimport Assistance from '../shared/overview/assistance.vue';\n\nexport enum ContentManager {\n GoDaddy = 'GoDaddy Website Builder',\n Weebly = 'Weebly',\n Wix = 'Wix',\n Squarespace = 'Squarespace',\n WordPress = 'WordPress',\n Other = 'Other'\n}\n\n@Options({\n components: {\n WizardInfo,\n WizardProgress,\n LoadingOverlay,\n Assistance\n }\n})\n\nexport default class Tracking extends Vue {\n private apiService: ApiService = ApiService.Instance;\n private wizardService: WizardService = WizardService.Instance;\n\n ContentManager = ContentManager;\n\n infoMetadata: WizardInfoMetaData = {\n quote: 'You should never search or click on your own ad. Doing so will reduce the accuracy of your reporting ' +\n 'and cause unnecessary charges to your account.',\n subtext: 'View a preview of your Google Ad on the dashboard at any time.'\n };\n\n installInstructionsVisible = false;\n globalSiteTagVisible = true;\n installationLinksVisible = false;\n externalManagementInfoVisible = false;\n\n installationInfoCopyAltColorVisible = false;\n scriptCopyAltColorVisible = false;\n\n tagInstalled = false;\n\n loading = false;\n loadingTagInstallationStatus = false;\n loadingCmsDetection = false;\n\n websiteUrl: string | null = null;\n detectedCmsResponse: string | null = null;\n cmsIsSupported = false;\n detectedCms: ContentManager | null = null;\n conversionId: string | null = null;\n\n helpText: string | null = null;\n installationUrl: string | null = null;\n installationLinkText: string | null = null;\n cmsTagInstallationHint: string | null = null;\n\n state: null | CampaignStateModel = null;\n\n get scriptCopyBody(): string {\n const snippet = `%3C!--%20Global%20site%20tag%20(gtag.js)%20-%20Google%20Ads%3A%20AW-${this.conversionId}%20--%3E%0A%0A%3Cscript%20async%20src%3D%22https%3A%2F%2Fwww.googletagmanager.com%2Fgtag%2Fjs%3Fid%3DAW-${this.conversionId}%22%3E%3C%2Fscript%3E%0A%3Cscript%3E%0A%20%20%20%20window.dataLayer%20%3D%20window.dataLayer%20%7C%7C%20%5B%5D%3B%0A%20%20%20%20function%20gtag()%7BdataLayer.push(arguments)%3B%7D%0A%20%20%20%20gtag(%27js%27%2C%20new%20Date())%3B%0A%20%20%20%20gtag(%27config%27%2C%20%27AW-${this.conversionId}%27)%3B%0A%3C%2Fscript%3E`;\n return decodeURIComponent(snippet);\n }\n\n get installationInfoCopyBody(): string {\n let content = '';\n const intro = 'To%20finish%20setting%20up%20Google%20Ads%20with%20Upnetic%2C%20you%27ll%20need%20to%20install%20a%20tag%20on%20your%20website%20to%20get%20feedback%20on%20your%20ad%20performance.%20%0A%0AAdding%20this%20tag%20to%20your%20website%20is%20required%20in%20order%20for%20us%20to%20generate%20reports%20for%20your%20ad%20performance%2C%20including%20how%20many%20times%20your%20ad%20has%20appeared%20and%20how%20many%20users%20have%20clicked%20on%20it.%20You%20will%20be%20able%20to%20see%20these%20reports%20and%20your%20Account%20Manager%20will%20use%20this%20information%20to%20optimize%20your%20ad%20performance%20over%20time.%20%0A%0A';\n const installationIntro = 'Installation%20Instructions%20%0A%0A';\n const cmsSpecific = `We%E2%80%99ve%20detected%20that%20${this.websiteUrl}%20uses%20${this.detectedCmsResponse}.%20%0AFollow%20the%20instructions%20at%20the%20link%20below%20to%20install%20your%20global%20site%20tag%20(the%20code%20snippet%20below).%20%0A%0A${this.installationUrl}%0A${this.helpText}%0A%0A`;\n const cmsGeneral = 'Follow%20the%20instructions%20at%20the%20link%20below%20to%20install%20your%20global%20site%20tag%20(the%20code%20snippet%20below).%20%0A%0Ahttps%3A%2F%2Fsupport.google.com%2Fgoogle-ads%2Fanswer%2F6331314%3Fhl%3Den%23zippy%3D%2Cset-up-conversion-tracking-using-the-global-site-tag%0A%0A';\n const googleSupportSection = 'Follow%20the%20instructions%20below%20if%20you%20already%20have%20a%20global%20site%20tag%20installed%20for%20Google%20Analytics.%0A%0Ahttps%3A%2F%2Fsupport.google.com%2Fgoogle-ads%2Fanswer%2F7548399%3Fhl%3Den%23%3A~%3Atext%3DHow%2520to%2520adapt%2520an%2520existing%2520global%2520site%2520tag%2520for%2520your%2520Google%2520Ads%2520account%26text%3DTo%2520add%2520support%2520for%2520your%2Cup%2520your%2520conversion%2520tracking%2520tags.%0A%0A';\n const tagCopy = `COPY%20THE%20GLOBAL%20SITE%20TAG%20(between%20the%20dashed%20lines)%20%0A-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20%0A${this.scriptCopyBody}%0A%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20-%20%0A%0AYou%20may%20also%20need%20this%20conversion%20ID%3A%20AW-${this.conversionId}%0A%0A`;\n const additionalInfo = 'Additional%20Support%20links%20by%20web%20platform%3A%20%0A%0AInstall%20for%20WordPress%0AInstall%20for%20Wix%3A%20https%3A%2F%2Fwww.wix.com%2Fmy-account%2Fsite-selector%2F%3FbuttonText%3DOpen%2520Marketing%2520Integrations%26title%3DSelect%2520a%2520Site%26autoSelectOnSingleSite%3Dtrue%26actionUrl%3Dhttps%3A%2F%2Fwww.wix.com%2Fdashboard%2F%257B%257BmetaSiteId%257D%257D%2Fmarketing-integration%2Fwidget%2Fgtag%0AInstall%20for%20Squarespace%3A%20https%3A%2F%2Fsupport.squarespace.com%2Fhc%2Fen-us%2Farticles%2F205815908-Using-Code-Injection%23toc-add-code-to-code-injection%0AInstall%20for%20GoDaddy%20Website%20Builder%3A%20https%3A%2F%2Fwww.godaddy.com%2Fhelp%2Fadd-html-or-custom-code-to-my-site-27252%0AInstall%20for%20Weebly%3A%20https%3A%2F%2Fwww.weebly.com%2Fapp%2Fhelp%2Fus%2Fen%2Ftopics%2Fgoogle-analytics%0AInstall%20for%20other%20web%20platforms%3A%20https%3A%2F%2Fsupport.google.com%2Fgoogle-ads%2Fanswer%2F6331314%3Fhl%3Den%23zippy%3D%252Cset-up-conversion-tracking-using-the-global-site-tag%0A%0A%20If%20you%20need%20assistance%2C%20our%20account%20managers%20are%20here%20to%20help!%20Email%20us%20at%20support%40upnetic.com%20or%20give%20us%20a%20call%20at%20888-303-6789.%20';\n if (this.detectedCms) {\n content = intro + installationIntro + cmsSpecific + googleSupportSection + tagCopy + additionalInfo;\n } else {\n content = intro + installationIntro + cmsGeneral + googleSupportSection + tagCopy + additionalInfo;\n }\n return decodeURIComponent(content);\n }\n\n goDaddyInstallationUrl = 'https://www.godaddy.com/help/add-html-or-custom-code-to-my-site-27252';\n weeblyInstallationUrl = 'https://www.weebly.com/app/help/us/en/topics/google-analytics';\n wixInstallationUrl = 'https://www.wix.com/my-account/site-selector/?buttonText=Open%20Marketing%20Integrations&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https://www.wix.com/dashboard/%7B%7BmetaSiteId%7D%7D/marketing-integration/widget/gtag';\n squareSpaceInstallationUrl = 'https://support.squarespace.com/hc/en-us/articles/205815908-Using-Code-Injection#toc-add-code-to-code-injection';\n generalInstallationUrl = 'https://support.google.com/google-ads/answer/6331314?hl=en#zippy=%2Cset-up-conversion-tracking-using-the-global-site-tag';\n // TODO change when Myles makes plugin\n wordPressInstallationUrl = 'https://www.google.com/search?q=Google+Ads+Conversion+Tracking+for+Wordpress';\n showInstructionsRedirect = 'https://support.google.com/google-ads/answer/7548399?hl=en#:~:text=How%20to%20adapt%20an%20existing%20global%20site%20tag%20for%20your%20Google%20Ads%20account&text=To%20add%20support%20for%20your,up%20your%20conversion%20tracking%20tags.';\n googleQueryTemplate = 'https://www.google.com/search?q=Google+Ads+Conversion+Tracking+for+';\n\n async mounted() {\n this.loading = true;\n try {\n this.state = await this.wizardService.getStateOrReRoute(this.$router, this.$route.name);\n } catch (e) {\n if (!isAuthenticationException(e)) {\n throw e;\n }\n }\n this.loading = false;\n }\n\n async getConversionTagStatus() {\n this.loadingTagInstallationStatus = true;\n const tagStatus = await this.apiService.getConversionTagStatus();\n this.tagInstalled = tagStatus.tagInstalled;\n this.loadingTagInstallationStatus = false;\n }\n\n setupCmsLinksAndInstructions(detectedCMS: string | null) {\n if (detectedCMS === ContentManager.WordPress) {\n this.globalSiteTagVisible = false;\n }\n if (detectedCMS === null) {\n this.installationUrl = this.generalInstallationUrl;\n this.installationLinkText = 'HTML Installation Instructions from Google Ads';\n this.cmsIsSupported = false;\n } else {\n this.detectedCmsResponse = detectedCMS;\n this.detectedCms = detectedCMS as ContentManager;\n this.installationLinkText = `Install the Global Site Tag for ${detectedCMS}`;\n this.cmsTagInstallationHint = 'Follow the instructions at the link below to install your global site tag (the code snippet below).';\n this.cmsIsSupported = true;\n switch (detectedCMS) {\n case ContentManager.Wix:\n this.helpText = 'Connect Google Ads and paste the global site tag below (gtag).';\n this.installationUrl = this.wixInstallationUrl;\n break;\n case ContentManager.Weebly:\n this.helpText = 'These instructions show the process for adding the Google Analytics tag. You can follow this guide to add the Google Ads global site tag to the Header Code.';\n this.installationUrl = this.weeblyInstallationUrl;\n break;\n case ContentManager.Squarespace:\n this.helpText = 'Copy the tag below and follow instructions to add to the Header.';\n this.installationUrl = this.squareSpaceInstallationUrl;\n break;\n case ContentManager.GoDaddy:\n this.helpText = 'Important note: Set forced height to 1.';\n this.installationUrl = this.goDaddyInstallationUrl;\n break;\n case ContentManager.WordPress:\n this.cmsTagInstallationHint = 'Follow the instructions at the link below to install the Upnetic WordPress plugin, which will allow you to install your conversion ID (shown below) for performance monitoring.';\n this.installationUrl = this.wordPressInstallationUrl;\n this.installationLinkText = 'Install Upnetic Ads Plugin for WordPress';\n break;\n default:\n this.cmsIsSupported = false;\n this.detectedCms = ContentManager.Other;\n this.installationLinkText = 'HTML Installation Instructions from Google Ads';\n this.installationUrl = this.generalInstallationUrl;\n break;\n }\n }\n }\n\n async showInstallInstructions() {\n this.loading = true;\n this.loadingCmsDetection = true;\n try {\n const conversionTagStatusResponse = await this.apiService.getConversionTagStatus();\n this.conversionId = conversionTagStatusResponse.tag;\n this.tagInstalled = conversionTagStatusResponse.tagInstalled;\n\n this.websiteUrl = this.state!.websiteUrl!;\n\n const cmsResponse = await this.apiService.getWebsiteCMS();\n this.setupCmsLinksAndInstructions(cmsResponse.result.name);\n } catch (e) {\n if (!isAuthenticationException(e)) {\n throw e;\n }\n }\n this.loadingCmsDetection = false;\n this.loading = false;\n this.installInstructionsVisible = true;\n }\n\n copyScriptToClipboard() {\n this.scriptCopyAltColorVisible = true;\n\n const snippetText = this.$refs.snippet as HTMLInputElement;\n snippetText.select();\n document.execCommand('copy');\n snippetText.setSelectionRange(0, 0);\n snippetText.blur();\n\n setTimeout(() => {\n this.scriptCopyAltColorVisible = false;\n }, 800);\n }\n\n copyInstallationInfoToClipboard() {\n this.installationInfoCopyAltColorVisible = true;\n\n const infoText = this.$refs.hiddenContent as HTMLInputElement;\n infoText.select();\n document.execCommand('copy');\n\n setTimeout(() => {\n this.installationInfoCopyAltColorVisible = false;\n }, 800);\n }\n\n async skipTrackingStep() {\n this.loading = true;\n await this.apiService.skipTrackingSetup();\n await this.$router.push({ name: RouteName.DashboardOverview });\n this.loading = false;\n }\n}\n","import { render } from \"./tracking.vue?vue&type=template&id=4c2368ae&ts=true\"\nimport script from \"./tracking.vue?vue&type=script&lang=ts\"\nexport * from \"./tracking.vue?vue&type=script&lang=ts\"\n\nimport \"./tracking.vue?vue&type=style&index=0&id=4c2368ae&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { Vue, Options, Emit } from '../vue';\nimport { ApiService } from '../services/api.service';\nimport { LoadingOverlay } from '../components';\nimport { isAuthenticationException } from '../utils/exceptions';\nimport { ContentManager } from '../views/wizard/tracking.vue';\n\n@Options({\n components: {\n LoadingOverlay\n }\n})\nexport default class SiteTagOverlay extends Vue {\n private apiService: ApiService = ApiService.Instance;\n\n tagInstalled = false;\n loadingTagInstallationStatus = false;\n conversionId: string | null = null;\n installationUrl: string | null = null;\n installationLinkText: string | null = null;\n helpText: string | null = null;\n detectedCms: string | null = null;\n scriptCopyAltColorVisible = false;\n\n goDaddyInstallationUrl = 'https://www.godaddy.com/help/add-html-or-custom-code-to-my-site-27252';\n weeblyInstallationUrl = 'https://www.weebly.com/app/help/us/en/topics/google-analytics';\n wixInstallationUrl = 'https://www.wix.com/my-account/site-selector/?buttonText=Open%20Marketing%20Integrations&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https://www.wix.com/dashboard/%7B%7BmetaSiteId%7D%7D/marketing-integration/widget/gtag';\n squareSpaceInstallationUrl = 'https://support.squarespace.com/hc/en-us/articles/205815908-Using-Code-Injection#toc-add-code-to-code-injection';\n generalInstallationUrl = 'https://support.google.com/google-ads/answer/6331314?hl=en#zippy=%2Cset-up-conversion-tracking-using-the-global-site-tag';\n wordPressInstallationUrl = 'https://www.google.com/search?q=Google+Ads+Conversion+Tracking+for+Wordpress';\n loading = false;\n @Emit()\n onCloseButtonClick = false;\n\n async mounted() {\n this.loading = true;\n try {\n const conversionTagStatusResponse = await this.apiService.getConversionTagStatus();\n this.conversionId = conversionTagStatusResponse.tag;\n\n const cmsResponse = await this.apiService.getWebsiteCMS();\n const detectedCms = cmsResponse.result.name;\n this.detectedCms = detectedCms;\n this.setupCmsLinksAndInstructions(detectedCms);\n } catch (e) {\n // if (!isAuthenticationException(e)) {\n // throw e;\n // }\n }\n this.loading = false;\n }\n\n setupCmsLinksAndInstructions(detectedCMS: string | null) {\n if (detectedCMS === ContentManager.WordPress) {\n }\n if (detectedCMS === null) {\n this.installationUrl = this.generalInstallationUrl;\n } else {\n this.installationLinkText = `Install the Global Site Tag for ${detectedCMS}`;\n switch (detectedCMS) {\n case ContentManager.Wix:\n this.helpText = 'Connect Google Ads and paste the global site tag below (gtag).';\n this.installationUrl = this.wixInstallationUrl;\n break;\n case ContentManager.Weebly:\n this.helpText = 'These instructions show the process for adding the Google Analytics tag. You can follow this guide to add the Google Ads global site tag to the Header Code.';\n this.installationUrl = this.weeblyInstallationUrl;\n break;\n case ContentManager.Squarespace:\n this.helpText = 'Copy the tag below and follow instructions to add to the Header.';\n this.installationUrl = this.squareSpaceInstallationUrl;\n break;\n case ContentManager.GoDaddy:\n this.helpText = 'Important note: Set forced height to 1.';\n this.installationUrl = this.goDaddyInstallationUrl;\n break;\n case ContentManager.WordPress:\n this.installationUrl = this.wordPressInstallationUrl;\n this.installationLinkText = 'Install Upnetic Ads Plugin for WordPress';\n break;\n default:\n this.installationLinkText = 'HTML Installation Instructions from Google Ads';\n break;\n }\n }\n }\n\n copyScriptToClipboard() {\n this.scriptCopyAltColorVisible = true;\n\n const snippetText = this.$refs.snippet as HTMLInputElement;\n snippetText.select();\n document.execCommand('copy');\n snippetText.setSelectionRange(0, 0);\n snippetText.blur();\n\n setTimeout(() => {\n this.scriptCopyAltColorVisible = false;\n }, 800);\n }\n\n get scriptCopyBody(): string {\n const snippet = `%3C!--%20Global%20site%20tag%20(gtag.js)%20-%20Google%20Ads%3A%20AW-${this.conversionId}%20--%3E%0A%0A%3Cscript%20async%20src%3D%22https%3A%2F%2Fwww.googletagmanager.com%2Fgtag%2Fjs%3Fid%3DAW-${this.conversionId}%22%3E%3C%2Fscript%3E%0A%3Cscript%3E%0A%20%20%20%20window.dataLayer%20%3D%20window.dataLayer%20%7C%7C%20%5B%5D%3B%0A%20%20%20%20function%20gtag()%7BdataLayer.push(arguments)%3B%7D%0A%20%20%20%20gtag(%27js%27%2C%20new%20Date())%3B%0A%20%20%20%20gtag(%27config%27%2C%20%27AW-${this.conversionId}%27)%3B%0A%3C%2Fscript%3E`;\n return decodeURIComponent(snippet);\n }\n\n async getConversionTagStatus() {\n this.loadingTagInstallationStatus = true;\n const tagStatus = await this.apiService.getConversionTagStatus();\n this.tagInstalled = tagStatus.tagInstalled;\n this.loadingTagInstallationStatus = false;\n }\n\n closeModal() {\n this.onCloseButtonClick = true;\n }\n}\n","import { render } from \"./site-tag-overlay.vue?vue&type=template&id=f425b55a&scoped=true&ts=true\"\nimport script from \"./site-tag-overlay.vue?vue&type=script&lang=ts\"\nexport * from \"./site-tag-overlay.vue?vue&type=script&lang=ts\"\n\nimport \"./site-tag-overlay.vue?vue&type=style&index=0&id=f425b55a&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f425b55a\"]])\n\nexport default __exports__","import { CampaignStateModel, TargetingMethod } from '../models/campaign-wizard/campaign-state.model';\nimport moment from 'moment';\nimport { ElNotification } from 'element-plus';\n\nexport function getBaseUrl(): string {\n const getUrl = window.location;\n return `${getUrl.protocol}//${getUrl.host}`;\n}\n\nexport function replacePlaceholders(state: CampaignStateModel, line: string): string {\n const location = state.address?.city || state.areaTargets[0]?.areaTargetingCity || state.targetAddress?.city || state.areaTargets[0]?.areaTargetingState || '';\n return line.replace('[website]', state.websiteUrl!).replace('[location]', location).replace('[name]', state.businessName!);\n}\n\nexport function roundMicros(cost: number): number {\n return Math.round(cost / 10000) / 100;\n}\n\nexport function formatCost(cost: number, micros = true): string {\n return micros ? `$${Math.round(cost / 10000) / 100}` : `$${Math.round(cost * 100) / 100}`;\n}\n\nexport function formatNumber(number: number): string {\n if (number > 1000) {\n return `${number / 1000.0}k`;\n } else {\n return `${Math.round(number * 100) / 100}`;\n }\n}\n\nexport const formatDate = (date: any, format = 'MM/DD/YY') => {\n return moment(date).format(format);\n};\n\nexport function capitalizeFirstLetter(string: string) {\n return string.charAt(0).toUpperCase() + string.slice(1);\n}\n\nexport function targetingModeDisplayName(method: TargetingMethod): string {\n if (method === TargetingMethod.Distance) {\n return 'Distance from Business Address';\n } else {\n return 'Selected Area';\n }\n}\n\nexport function addSpacesOnCapitalization(value: string, separatorRegex = /_/g): string {\n // Add spaces based on camel casing capitalization\n let capitalized = String(value).replace(separatorRegex, ' ').replace(/([A-Z])/g, ' $1').trim();\n // Capitalize first letter (in case of camelCasing)\n capitalized = capitalized.charAt(0).toLocaleUpperCase() + capitalized.substring(1);\n return capitalized;\n}\n\ntype TextValueObject = {\n text: string;\n value: string;\n};\n\nexport type TextValueArrayObjects = {\n [key: string]: TextValueObject;\n};\n\nexport function isNumeric(value: any) {\n return /^-?\\d+$/.test(value);\n}\n\n/**\n * Helper to produce an array of enum descriptors.\n * @param enumeration Enumeration object.\n * @param separatorRegex Regex that would catch the separator in your enum key.\n */\nexport function enumToTextValueObjects(enumeration: T, separatorRegex = /_/g, separateCapitals = true): TextValueArrayObjects {\n // eslint-disable-next-line @typescript-eslint/ban-ts-ignore\n // @ts-ignore\n return (Object.keys(enumeration) as Array)\n .filter(key => isNaN(Number(key)))\n .filter(key => typeof enumeration[key] === 'number' || typeof enumeration[key] === 'string')\n .map(key => ({\n text: (separateCapitals ? String(key).replace(separatorRegex, ' ').replace(/([A-Z])/g, ' $1').trim() : String(key).replace(separatorRegex, ' ')),\n value: enumeration[key]\n }));\n}\n\nexport function copyToClipboard(sourceStr = ''): boolean {\n const d = document; // reduce size\n try {\n const inputDom = d.createElement('input');\n inputDom.setAttribute('readonly', 'readonly');\n inputDom.setAttribute('style', 'position: fixed; top:0; left:0; opacity:0;');\n inputDom.setAttribute('value', sourceStr);\n d.body.appendChild(inputDom);\n inputDom.setSelectionRange(0, sourceStr.length);\n inputDom.select();\n d.execCommand('copy');\n d.body.removeChild(inputDom);\n return true;\n } catch (error) {\n return false;\n }\n}\n\nexport function copyToClipboardShowNotification(value: string, what = 'Value') {\n if (copyToClipboard(value)) {\n ElNotification({\n title: 'Success',\n message: `${what} was copied to the clipboard!`,\n type: 'success'\n });\n } else {\n ElNotification({\n title: 'Error',\n message: 'There was an issue copying the value to the clipboard.',\n type: 'error'\n });\n }\n}\n\nconst histogram = function(iterable: Array) {\n const result = new Map();\n\n for (const x of iterable) {\n result.set(x, (result.get(x) || 0) + 1);\n }\n\n return result;\n};\n\n/**\n * Find most common value in array\n * @param iterable\n */\nexport function mostCommon(iterable: Array) {\n let maxCount = 0;\n let maxKey;\n\n for (const [key, count] of Array.from(histogram(iterable))) {\n if (count > maxCount) {\n maxCount = count;\n maxKey = key;\n }\n }\n\n return maxKey;\n};\n\n/**\n * Get Value from Object (with or without dot notation)\n *\n * @param path Path to search object for (dot notation)\n * @param obj Object to search\n * @param def Default value to return if not found\n */\nexport function inObj(path: string, obj: Record, def: any = false) {\n if (!obj) {\n return def;\n }\n\n def = def || false;\n let lookIn = obj;\n let notFound = false;\n\n const pathArr = path.split('.');\n\n for (const el of pathArr) {\n if (!lookIn || !(el in lookIn)) {\n notFound = true;\n break;\n }\n\n lookIn = lookIn[el];\n }\n\n return notFound ? def : lookIn;\n}\n","import { createVNode as _createVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-504e40b2\")\n\n_pushScopeId(\"data-v-504e40b2\")\nconst _hoisted_1 = { class: \"tooltip\" }\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"i\", { class: \"icon fal fa-question-circle\" }, null, -1)\nconst _hoisted_3 = { class: \"text\" }\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createVNode(\"p\", _hoisted_3, _toDisplayString(_ctx.text), 1)\n ]))\n})","\nimport { Vue, Options, Prop } from '../../vue';\n\n@Options({\n components: {}\n})\nexport default class Tooltip extends Vue {\n @Prop() text!: string;\n}\n\n","import { render } from \"./tooltip.vue?vue&type=template&id=504e40b2&scoped=true&ts=true\"\nimport script from \"./tooltip.vue?vue&type=script&lang=ts\"\nexport * from \"./tooltip.vue?vue&type=script&lang=ts\"\n\nimport \"./tooltip.vue?vue&type=style&index=0&id=504e40b2&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-504e40b2\"]])\n\nexport default __exports__","export enum UserType {\n Direct = 'Direct',\n ADP = 'ADP',\n Marketplace = 'Marketplace'\n}\n","\nimport { Options, Prop, VModel, Vue, Watch } from '@/vue';\nimport { DashboardService } from '@/services/dashboard.service';\nimport { ChartCanvas, DataTable, Dropdown, LoadingOverlay } from '@/components';\nimport { ChartConfiguration } from 'chart.js';\nimport { DataTableConfiguration } from '@/utils/data-table';\nimport { buildAndExportAdCopies, buildAndExportKeywords } from '@/utils/downloads';\nimport MetricBubble, { MetricMetadata } from './overview/metric-bubble.vue';\nimport { SelectOption } from '@/components/dropdown.vue';\nimport SiteTagOverlay from '@/components/site-tag-overlay.vue';\nimport { CustomerStatusModel } from '@/models/customer-status.model';\nimport { AdPreviewModel } from '@/models/ad-preview.model';\nimport { ReportingCampaignModel } from '@/models/reporting-campaign.model';\nimport { ReportingMetricsModel } from '@/models/reporting-metrics.model';\nimport moment from 'moment';\nimport { AuthService } from '@/services/auth.service';\nimport { RouteName } from '@/router';\nimport { formatCost, formatNumber } from '@/utils/helpers';\nimport Assistance from './overview/assistance.vue';\nimport { CustomerMetricsResponseModel } from '@/models/customer-metrics-response.model';\nimport { isHttpException } from '@/utils/exceptions';\nimport Tooltip from './tooltip.vue';\nimport { ElNotification } from 'element-plus';\nimport { CustomerKeywordModel } from '@/models/customer-keyword.model';\nimport { CustomerAdCopiesModel } from '@/models/customer-ad-copy.model';\nimport { ApiService } from '@/services/api.service';\nimport { UserModel } from '@/models/user.model';\nimport { brand } from '@/utils/environment';\nimport { UserType } from '@/models/user.type';\n\nexport enum AdStatus {\n Active = 'Active',\n NotActive = 'Not Active',\n InReview = 'In Review',\n Creating = 'Creating',\n Waiting = 'Waiting to Start',\n InvitePending = 'Invite Pending'\n}\n\nexport enum MetricDuration {\n Last7Days = 'Last7Days',\n Last30Days = 'Last30Days'\n}\n\nexport enum Device {\n All = 'All',\n Mobile = 'Mobile',\n Tablet = 'Tablet',\n Desktop = 'Desktop',\n Other = 'Other',\n}\n\nexport enum Network {\n All = 'All',\n Search = 'Search',\n Other = 'Other',\n}\n\nexport enum ChartDataMetrics {\n DIRECTIONCONVERSIONS = 'Direction Conversions',\n PHONECONVERSIONS = 'Phone Conversions',\n IMPRESSIONS = 'Impressions',\n TOTALSPEND = 'Total Spend',\n CLICKS = 'Clicks',\n COSTPERCLICK = 'Cost Per Click'\n}\n\n@Options({\n components: {\n LoadingOverlay,\n ChartCanvas,\n DataTable,\n MetricBubble,\n Assistance,\n Dropdown,\n SiteTagOverlay,\n Tooltip\n }\n})\nexport default class CustomerOverview extends Vue {\n private apiService: ApiService = ApiService.Instance;\n private authService: AuthService = AuthService.Instance;\n private dashboardService: DashboardService = DashboardService.Instance;\n\n formatNumber = formatNumber;\n formatCost = formatCost;\n\n csv = '';\n loading = false;\n showSiteTagOverlay = false;\n\n @VModel() timelineSelection = MetricDuration.Last7Days;\n @VModel() networkSelection = Network.All;\n @VModel() deviceSelection = Device.All;\n\n @Prop() statusCallback!: () => Promise;\n @Prop() metricsCallback!: (duration: string, device?: string, network?: string) => Promise;\n @Prop() copyCallback!: () => Promise;\n @Prop() profileCallback!: () => Promise;\n\n chartData: ChartConfiguration | null = null;\n tableData: DataTableConfiguration | null = null;\n\n profile: UserModel | null = null;\n campaigns: Array | null = null;\n campaignTotals: Array | null = null;\n metricsByDay: ReportingMetricsModel> | null = null;\n showAlerts = false;\n adProblem = false;\n adPaused = false;\n paymentError = false;\n inReview = false;\n creating = false;\n invited = false;\n statusCheckPass = 1;\n waitingToStart = false;\n navVisible = false;\n downloadingAdCopies = false;\n downloadingKeywords = false;\n\n circleClass: string | null = null;\n pageTitle = 'Loading';\n adStatus: AdStatus | null = null;\n startDate: string | null = null;\n website = 'www.website.com';\n\n timeline: Array> = [\n {\n name: 'Last 7 days',\n value: MetricDuration.Last7Days\n },\n {\n name: 'Last 30 days',\n value: MetricDuration.Last30Days\n }\n ];\n\n devices: Array> = [\n {\n name: 'All Devices',\n value: Device.All\n },\n {\n name: 'Mobile',\n value: Device.Mobile\n },\n {\n name: 'Tablet',\n value: Device.Tablet\n },\n {\n name: 'Desktop',\n value: Device.Desktop\n },\n {\n name: 'Other',\n value: Device.Other\n }\n ];\n\n networks: Array> = [\n {\n name: 'All Networks',\n value: Network.All\n },\n {\n name: 'Search',\n value: Network.Search\n },\n {\n name: 'Other',\n value: Network.Other\n }\n ];\n\n metrics: Array> = [\n {\n name: 'Direction Conversions',\n value: ChartDataMetrics.DIRECTIONCONVERSIONS\n },\n {\n name: 'Clicks',\n value: ChartDataMetrics.CLICKS\n },\n {\n name: 'Total Spend',\n value: ChartDataMetrics.TOTALSPEND\n },\n {\n name: 'Phone Conversions',\n value: ChartDataMetrics.PHONECONVERSIONS\n },\n {\n name: 'Cost Per Click',\n value: ChartDataMetrics.COSTPERCLICK\n },\n {\n name: 'Impressions',\n value: ChartDataMetrics.IMPRESSIONS\n }\n ];\n\n last7DayData: CustomerMetricsResponseModel | null = null;\n last7DayDataExpiration: number | null = null;\n last30DayData: CustomerMetricsResponseModel | null = null;\n last30DayDataExpiration: number | null = null;\n conversions = '0';\n allConversions = '0';\n\n async getMetricTotals(): Promise {\n if (this.timelineSelection === MetricDuration.Last7Days) {\n if (this.last7DayDataExpiration === null || this.last7DayDataExpiration < moment().valueOf()) {\n this.last7DayData = await this.metricsCallback(MetricDuration.Last7Days);\n this.last7DayDataExpiration = moment().add(1, 'day').startOf('day').add(190, 'minutes').valueOf();\n }\n return this.last7DayData!;\n } else {\n if (this.last30DayDataExpiration === null || this.last30DayDataExpiration < moment().valueOf()) {\n this.last30DayData = await this.metricsCallback(MetricDuration.Last30Days);\n this.last30DayDataExpiration = moment().add(1, 'day').startOf('day').add(190, 'minutes').valueOf();\n }\n return this.last30DayData!;\n }\n }\n\n @VModel() chartSelection: string | null = null;\n\n @Watch('deviceSelection')\n onDeviceSelectionChange(deviceSelection: Device) {\n this.deviceSelection = deviceSelection;\n this.onFiltersChange();\n }\n\n @Watch('networkSelection')\n onNetworkSelectionChange(networkSelection: Network) {\n this.networkSelection = networkSelection;\n this.onFiltersChange();\n }\n\n @Watch('timelineSelection')\n onTimelineSelectionChange(timelineSelection: MetricDuration) {\n this.timelineSelection = timelineSelection;\n this.onFiltersChange();\n }\n\n async onFiltersChange() {\n const metricResponse = await this.metricsCallback(this.timelineSelection, this.deviceSelection, this.networkSelection);\n const metricTotals = await this.getMetricTotals();\n const customer = metricResponse.customer;\n this.metricSetup(customer.metrics, metricTotals.customer.metrics);\n this.chartSetup(customer.metricsByDay);\n const campaigns = metricResponse.campaigns;\n this.campaignSetup(campaigns, metricTotals.campaigns);\n }\n\n @Watch('chartSelection')\n onChartSelectionChange(chartSelection: string | null) {\n let data = [];\n\n const bypass = (this.metricsByDay === null);\n const labelMap = bypass ? [] : Object.keys(this.metricsByDay!.impressions).sort().map(key => {\n return moment.unix(parseInt(key) / 1000).format('MM/DD');\n });\n\n if (bypass) {\n data = [];\n } else {\n switch (this.chartSelection) {\n case ChartDataMetrics.IMPRESSIONS:\n data = Object.entries(this.metricsByDay!.impressions).sort((a, b) => parseInt(a[0]) - parseInt(b[0])).map(entry => {\n return entry[1];\n });\n break;\n case ChartDataMetrics.COSTPERCLICK:\n data = Object.entries(this.metricsByDay!.costPerClick).sort((a, b) => parseInt(a[0]) - parseInt(b[0])).map(entry => {\n return entry[1] / 1000000;\n });\n break;\n case ChartDataMetrics.CLICKS:\n data = Object.entries(this.metricsByDay!.clicks).sort((a, b) => parseInt(a[0]) - parseInt(b[0])).map(entry => {\n return entry[1];\n });\n break;\n case ChartDataMetrics.TOTALSPEND:\n data = Object.entries(this.metricsByDay!.spend).sort((a, b) => parseInt(a[0]) - parseInt(b[0])).map(entry => {\n return entry[1] / 1000000;\n });\n break;\n case ChartDataMetrics.DIRECTIONCONVERSIONS:\n data = Object.entries(this.metricsByDay!.directionConversions).sort((a, b) => parseInt(a[0]) - parseInt(b[0])).map(entry => {\n return entry[1];\n });\n break;\n case ChartDataMetrics.PHONECONVERSIONS:\n data = Object.entries(this.metricsByDay!.phoneConversions).sort((a, b) => parseInt(a[0]) - parseInt(b[0])).map(entry => {\n return entry[1];\n });\n break;\n }\n }\n\n this.chartData = {\n type: 'line',\n data: {\n labels: labelMap,\n datasets: [\n {\n label: this.chartSelection || '',\n backgroundColor: 'rgb(255, 99, 132)',\n tension: 0.3,\n fill: false,\n borderColor: '#66BE67',\n pointBackgroundColor: '#66BE67',\n data: data\n }\n ]\n },\n options: {\n plugins: {\n legend: {\n display: false\n }\n }\n }\n };\n }\n\n adPreviewData: AdPreviewModel = {\n customerName: '',\n searchTerm: '',\n url: '',\n headline: '',\n description: ''\n };\n\n impressionsData: MetricMetadata = {\n displayTransformFunction: formatNumber,\n color: '#eac695',\n secondaryColor: '#f8ecdc',\n icon: 'fa-eye',\n metric: 0,\n metricTitle: 'Impressions',\n metricDescription: 'the number of times your ad appeared in search'\n };\n\n clicksData: MetricMetadata = {\n displayTransformFunction: formatNumber,\n color: '#89cfef',\n secondaryColor: '#d8effa',\n icon: 'fa-mouse-pointer',\n metric: 0,\n metricTitle: 'Clicks',\n metricDescription: 'the number of times a visitor has clicked your ad in search'\n };\n\n phoneConversionsData: MetricMetadata = {\n displayTransformFunction: formatNumber,\n color: '#a3d8a4',\n secondaryColor: '#e0f2e1',\n icon: 'fa-bullseye',\n metric: 0,\n metricTitle: 'Phone Conversions',\n metricDescription: 'number of times someone clicked to call from your Ad'\n };\n\n directionConversionsData: MetricMetadata = {\n displayTransformFunction: formatNumber,\n color: '#a3d8a4',\n secondaryColor: '#e0f2e1',\n icon: 'fa-bullseye',\n metric: 0,\n metricTitle: 'Direction Conversions',\n metricDescription: 'number of times someone clicked \"Get Directions\" from your Ad'\n };\n\n spendData: MetricMetadata = {\n displayTransformFunction: formatCost,\n color: '#9999c9',\n secondaryColor: '#dddded',\n icon: 'fa-file-invoice-dollar',\n metric: 0,\n metricTitle: 'Total Spend',\n metricDescription: 'amount spent on ads so far during this time period'\n };\n\n cpcData: MetricMetadata = {\n displayTransformFunction: formatCost,\n color: '#89cfef',\n secondaryColor: '#d8effa',\n icon: 'fa-funnel-dollar',\n metric: 0,\n metricTitle: 'Cost Per Click',\n metricDescription: 'the average cost of each click on your ad in search'\n };\n\n mounted() {\n this.profileCallback().then((p) => {\n this.profile = p;\n this.loadData();\n });\n }\n\n unmounted() {\n this.statusCheckPass = 99;\n }\n\n async loadData(silent = false) {\n try {\n if (!silent) {\n this.loading = true;\n }\n const status = await this.statusCallback();\n this.chartSelection = ChartDataMetrics.IMPRESSIONS;\n await this.onFiltersChange();\n this.statusSetup(status);\n try { this.adCopySetup(await this.copyCallback()); } catch (err) { console.log(err); }\n this.deviceSelection = this.devices[0].value;\n this.networkSelection = this.networks[0].value;\n this.timelineSelection = this.timeline[0].value;\n } catch (e) {\n if (isHttpException(e) && e.status === 428 && this.statusCheckPass <= 12) {\n if (this.profile?.isLinkedAccount) {\n this.invited = true;\n this.pageTitle = `Your management invite from ${brand.name} is pending.`;\n this.adStatus = AdStatus.InvitePending;\n } else {\n this.creating = true;\n this.pageTitle = 'Your ads are currently being created.';\n this.adStatus = AdStatus.Creating;\n }\n this.circleClass = 'orange-circle';\n this.statusCheckPass++;\n setTimeout(() => {\n this.loadData(true);\n }, 5000);\n } else {\n this.creating = false;\n this.adStatus = AdStatus.NotActive;\n this.adProblem = true;\n this.pageTitle = 'Your ads are not running.';\n this.circleClass = 'red-circle';\n }\n } finally {\n this.chartSelection = ChartDataMetrics.IMPRESSIONS;\n this.loading = false;\n }\n }\n\n chartSetup(metricsByDay: ReportingMetricsModel>) {\n this.metricsByDay = metricsByDay;\n this.onChartSelectionChange(this.chartSelection);\n }\n\n campaignSetup(campaigns: Array, totalCampaigns: Array) {\n this.campaigns = campaigns;\n this.campaignTotals = totalCampaigns;\n\n const campaignMapWithId = this.campaigns!.map(campaign =>\n [campaign.name, formatNumber(campaign.metrics.impressions), campaign.metrics.clicks, campaign.metrics.conversions,\n campaign.metrics.allConversions, formatCost(campaign.metrics.spend), formatCost(campaign.metrics.costPerClick), campaign.id]);\n const data = [['Campaign', 'Impressions', 'Clicks', 'Conversions', 'All Conversions', 'Spend', 'Cost per Click', 'id'], ...campaignMapWithId];\n const csvBody = data.map((row) => row.join(',')).join('\\n');\n this.csv = 'data:text/csv;charset=utf-8,' + csvBody;\n }\n\n statusSetup(status: CustomerStatusModel) {\n this.creating = false;\n if (status.adsServing && status.adsEnabled && status.billingValid) {\n this.adStatus = AdStatus.Active;\n this.pageTitle = 'Your ads are running.';\n this.circleClass = 'green-circle';\n } else if (!status.adsEnabled && this.profile?.type === UserType.Marketplace) {\n this.creating = true;\n this.pageTitle = 'Your ads are currently being created.';\n this.adStatus = AdStatus.Creating;\n this.circleClass = 'orange-circle';\n } else if (!status.adsEnabled) {\n this.adStatus = AdStatus.NotActive;\n this.adPaused = true;\n this.pageTitle = 'Your ads are not running.';\n this.circleClass = 'red-circle';\n } else if (!status.billingValid && status.startDate) {\n this.startDate = moment.unix(parseInt(status.startDate.toString()) / 1000).format('MMMM DD');\n this.adStatus = AdStatus.Waiting;\n this.waitingToStart = true;\n this.pageTitle = `Your ads are ready to go on ${this.startDate}`;\n this.circleClass = 'orange-circle';\n } else if (!status.billingValid && !status.startDate) {\n this.adStatus = AdStatus.NotActive;\n this.paymentError = true;\n this.pageTitle = 'Your ads are not running.';\n this.circleClass = 'red-circle';\n } else if (!status.adsServing) {\n this.adStatus = AdStatus.InReview;\n this.pageTitle = 'Your ads are currently in review.';\n this.inReview = true;\n this.circleClass = 'orange-circle';\n }\n }\n\n get isDataFiltered(): boolean {\n return this.deviceSelection !== Device.All || this.networkSelection !== Network.All;\n }\n\n get emptyState(): boolean {\n return this.adStatus === null || this.adStatus === AdStatus.Waiting || this.adStatus === AdStatus.NotActive ||\n this.adStatus === AdStatus.Creating || this.adStatus === AdStatus.InReview || this.adStatus === AdStatus.InvitePending;\n }\n\n metricSetup(metricsData: ReportingMetricsModel, totalsMetricsData: ReportingMetricsModel) {\n this.conversions = formatNumber(metricsData.conversions);\n this.allConversions = formatNumber(metricsData.allConversions);\n if (this.isDataFiltered) {\n this.spendData.totalMetric = totalsMetricsData.spend;\n this.clicksData.totalMetric = totalsMetricsData.clicks;\n this.cpcData.totalMetric = totalsMetricsData.costPerClick;\n this.phoneConversionsData.totalMetric = totalsMetricsData.phoneConversions;\n this.impressionsData.totalMetric = totalsMetricsData.impressions;\n this.directionConversionsData.totalMetric = totalsMetricsData.directionConversions;\n } else {\n this.spendData.totalMetric = undefined;\n this.clicksData.totalMetric = undefined;\n this.cpcData.totalMetric = undefined;\n this.phoneConversionsData.totalMetric = undefined;\n this.impressionsData.totalMetric = undefined;\n this.directionConversionsData.totalMetric = undefined;\n }\n this.spendData.metric = metricsData.spend;\n this.clicksData.metric = metricsData.clicks;\n this.cpcData.metric = metricsData.costPerClick;\n this.phoneConversionsData.metric = metricsData.phoneConversions;\n this.impressionsData.metric = metricsData.impressions;\n this.directionConversionsData.metric = metricsData.directionConversions;\n }\n\n adCopySetup(customerAdCopy: AdPreviewModel) {\n this.adPreviewData.customerName = customerAdCopy.customerName;\n this.adPreviewData.url = customerAdCopy.url;\n this.adPreviewData.headline = customerAdCopy.headline;\n this.adPreviewData.searchTerm = customerAdCopy.searchTerm;\n this.adPreviewData.description = customerAdCopy.description;\n }\n\n handleShowSiteTag() {\n this.showSiteTagOverlay = true;\n }\n\n async signOut() {\n await this.authService.deAuthenticate();\n await this.$router.push({ name: RouteName.SignIn });\n }\n\n async downloadKeywords() {\n this.downloadingKeywords = true;\n const keywords: Array = await this.apiService.getCustomerKeywords();\n if (!buildAndExportKeywords(keywords)) {\n ElNotification({\n title: 'Error',\n message: 'No keywords found. Please contact support if you continue to receive this error.',\n type: 'error'\n });\n }\n\n setTimeout(() => { this.downloadingKeywords = false; }, 1000);\n }\n\n async downloadAdCopies() {\n this.downloadingAdCopies = true;\n const adCopies: Array = await this.apiService.getCustomerAdCopies();\n if (!buildAndExportAdCopies(adCopies)) {\n ElNotification({\n title: 'Error',\n message: 'No ad copies found. Please contact support if you continue to receive this error.',\n type: 'error'\n });\n }\n setTimeout(() => { this.downloadingAdCopies = false; }, 1000);\n }\n}\n\n","import { render } from \"./customer-overview.vue?vue&type=template&id=3509f118&ts=true\"\nimport script from \"./customer-overview.vue?vue&type=script&lang=ts\"\nexport * from \"./customer-overview.vue?vue&type=script&lang=ts\"\n\nimport \"./customer-overview.vue?vue&type=style&index=0&id=3509f118&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { AuthService } from './auth.service';\nimport { AuthenticationException, HttpException } from '@/utils/exceptions';\nimport { environment } from '@/utils/environment';\nimport { AddressOutput } from '@/models/address-output.model';\nimport { CampaignStateModel, CampaignWizardStep } from '@/models/campaign-wizard/campaign-state.model';\nimport { CampaignInfoModel } from '@/models/campaign-wizard/campaign-info.model';\nimport { CampaignAreaTargetModel } from '@/models/campaign-wizard/campaign-area-target.model';\nimport { CampaignDistanceTargetModel } from '@/models/campaign-wizard/campaign-distance-target.model';\nimport { CampaignBudgetModel } from '@/models/campaign-wizard/campaign-budget.model';\nimport { CampaignReviewModel } from '@/models/campaign-wizard/campaign-review.model';\nimport { WebsiteCmsModel } from '@/models/website-cms.model';\nimport { ConversionTagStatusResponseModel } from '@/models/conversion-tag-status-response.model';\nimport { CampaignBillingResultModel } from '@/models/campaign-wizard/campaign-billing-result.model';\nimport { BillingStatusResponseModel } from '@/models/campaign-wizard/billing-status-response.model';\nimport { CustomerStatusModel } from '@/models/customer-status.model';\nimport { CustomerMetricsResponseModel } from '@/models/customer-metrics-response.model';\nimport { AdPreviewModel } from '@/models/ad-preview.model';\nimport { UserModel, UserRole } from '@/models/user.model';\nimport { TaxonomyListModel, TaxonomyModel } from '@/models/taxonomies/taxonomy.model';\nimport { TaxonomyKeywordModel } from '@/models/taxonomies/taxonomy-keyword.model';\nimport { AccountModel, AccountStatus } from '@/models/account.model';\nimport { RecommendationModel } from '@/models/recommendation.model';\nimport { UserType } from '@/models/user.type';\nimport {\n ClusterAccountMetrics,\n ClusterMetrics,\n DemographicAccountClusterMetrics,\n DemographicClusterMetrics,\n DemographicMetrics,\n DemographicType,\n KeywordAccountClusterMetrics,\n KeywordClusterMetrics,\n KeywordMetrics,\n ReportingModel,\n SearchTermAccountClusterMetrics,\n SearchTermClusterMetrics,\n SearchTermMetrics\n} from '@/models/reporting/reporting.model';\nimport { Device } from '@/views/shared/customer-overview.vue';\nimport { LocationData } from '@/models/location-data.model';\nimport { CustomerKeywordModel } from '@/models/customer-keyword.model';\nimport { GMBCategoryResponse, GMBLocationResponse } from '@/models/category.model';\nimport { BidAdjustmentRequest } from '@/views/admin/analytics/modals/bid-adjust.vue';\nimport { PauseResumeCampaignsRequest } from '@/views/admin/analytics/modals/pause-resume.vue';\nimport { AddKeywordsRequest } from '@/views/admin/analytics/modals/edit-keyword.vue';\nimport { CustomerAdCopiesModel } from '@/models/customer-ad-copy.model';\nimport { CustomerCampaignStatusModel } from '@/models/customer-campaign-status.model';\nimport { MetricReporting } from '@/models/reporting/metric-reporting.model';\nimport { CustomerNoteModel } from '@/models/customer-note.model';\nimport { LinkClientCustomer } from '@/models/campaign-wizard/link-client-customer.model';\nimport { Subscription } from '@/models/subscription.model';\n\nexport enum HttpMethod {\n GET = 'GET',\n POST = 'POST',\n PATCH = 'PATCH',\n PUT = 'PUT',\n DELETE = 'DELETE',\n OPTIONS = 'OPTIONS'\n}\n\nexport class ApiService {\n private authService: AuthService;\n private static instance: ApiService;\n public profile!: UserModel;\n\n private constructor() {\n this.authService = AuthService.Instance;\n }\n\n public static get Instance() {\n return this.instance || (this.instance = new this());\n }\n\n async getOrInitProfile(): Promise {\n if (!this.profile) {\n await this.getProfile();\n }\n\n return this.profile;\n }\n\n private async http(method: HttpMethod, path: string, body?: object | string, signal?: AbortSignal): Promise {\n if (await this.authService.getAuthentication() !== null) {\n const token = await this.authService.getToken();\n\n const headers = new Headers();\n headers.append('Authorization', `Bearer ${token}`);\n headers.append('Content-Type', 'application/json');\n headers.append('Accept', 'application/json;text/plain');\n\n const requestInit: RequestInit = {\n headers: headers,\n method: method,\n signal: signal\n };\n\n if (body) {\n requestInit.body = JSON.stringify(body);\n }\n\n const uri = `${environment.apiURI}${path}`;\n\n const response = await fetch(uri, requestInit);\n\n if (response.status === 204) {\n // eslint-disable-next-line @typescript-eslint/ban-ts-ignore\n // @ts-ignore\n return true;\n } else if (response.status >= 200 && response.status < 300) {\n return response.json();\n } else {\n throw new HttpException(response.status);\n }\n } else {\n throw new AuthenticationException('User is not authenticated');\n }\n }\n\n async getProfile(): Promise {\n const profile = await this.http(HttpMethod.GET, '/profile');\n\n if (profile.role === UserRole.Admin) {\n this.authService.armTimeout();\n }\n\n this.profile = profile;\n return this.profile;\n }\n\n autoCompleteAddress(input: string, type: string | null, signal: AbortSignal): Promise> {\n let url = `/addresses/autocomplete?input=${encodeURIComponent(input)}`;\n if (type !== null) {\n url += `&types=${encodeURIComponent(type)}`;\n }\n return this.http>(HttpMethod.GET, url, undefined, signal);\n }\n\n getCampaignState(): Promise {\n return this.http(HttpMethod.GET, '/campaign-wizard');\n }\n\n getCustomerBillingStatus(): Promise {\n return this.http(HttpMethod.GET, '/campaign-wizard/billing');\n }\n\n initCampaignState(linkAccount: boolean): Promise {\n return this.http(HttpMethod.POST, linkAccount ? '/campaign-wizard/init?linkAccount=true' : '/campaign-wizard/init?linkAccount=false');\n }\n\n postLinkClientCustomer(client: LinkClientCustomer): Promise {\n return this.http(HttpMethod.POST, '/campaign-wizard/link-customer', client);\n }\n\n getCustomerClientLink(id: string): Promise {\n return this.http(HttpMethod.GET, `/customers/${id}/get-link`);\n }\n\n patchCampaignInfo(info: CampaignInfoModel): Promise {\n return this.http(HttpMethod.POST, '/campaign-wizard/info', info);\n }\n\n patchCampaignAreaTarget(target: CampaignAreaTargetModel): Promise {\n return this.http(HttpMethod.POST, '/campaign-wizard/area-target', target);\n }\n\n patchCampaignDistanceTarget(target: CampaignDistanceTargetModel): Promise {\n return this.http(HttpMethod.POST, '/campaign-wizard/distance-target', target);\n }\n\n patchCampaignBudget(budget: CampaignBudgetModel): Promise {\n return this.http(HttpMethod.POST, '/campaign-wizard/budget', budget);\n }\n\n skipTrackingSetup(): Promise {\n return this.http(HttpMethod.POST, '/campaign-wizard/skip-tracking');\n }\n\n patchCampaignReview(review: CampaignReviewModel): Promise {\n return this.http(HttpMethod.POST, '/campaign-wizard/review', review);\n }\n\n getWebsiteCMS(): Promise {\n return this.http(HttpMethod.GET, '/cms-website');\n }\n\n getAvailableKeywordsForCampaign(): Promise> {\n return this.http>(HttpMethod.GET, '/campaign-wizard/available-keywords');\n }\n\n getAvailableExtensionsForCampaign(): Promise> {\n return this.http>(HttpMethod.GET, '/campaign-wizard/available-extensions');\n }\n\n changeWizardStep(id: string, type: CampaignWizardStep): Promise {\n return this.http(HttpMethod.PATCH, `/campaign-wizard/set-step/${id}?step=${encodeURIComponent(type)}`);\n }\n\n getTaxonomies(): Promise> {\n return this.http>(HttpMethod.GET, '/taxonomies');\n }\n\n getAllTaxonomies(): Promise> {\n return this.http>(HttpMethod.GET, '/taxonomies/all');\n }\n\n getEnabledTaxonomies(): Promise> {\n return this.http>(HttpMethod.GET, '/taxonomies/wizard');\n }\n\n getConversionTagStatus(): Promise {\n return this.http(HttpMethod.GET, '/conversion-tag-status');\n }\n\n getCustomerStatus(): Promise {\n return this.http(HttpMethod.GET, '/customer-status');\n }\n\n getCustomerAdCopy(): Promise {\n return this.http(HttpMethod.GET, '/customer-ad-copy');\n }\n\n getCustomerAdCopies(): Promise> {\n return this.http>(HttpMethod.GET, '/customer-ad-copies');\n }\n\n getCustomerAdCopiesById(id: string): Promise> {\n return this.http>(HttpMethod.GET, `/customers/${id}/ad-copies`);\n }\n\n getCustomerKeywords(): Promise> {\n return this.http>(HttpMethod.GET, '/customer-keywords');\n }\n\n getCustomerKeywordsById(id: string): Promise> {\n return this.http>(HttpMethod.GET, `/customers/${id}/keywords`);\n }\n\n getCustomerCampaignStatusRequestById(id: string): Promise {\n return this.http(HttpMethod.GET, `/customers/${id}/campaign-status-request`);\n }\n\n postCustomerCampaignStatusRequestById(id: string, body: any): Promise {\n return this.http(HttpMethod.POST, `/customers/${id}/campaign-status-request`, body);\n }\n\n getCampaignCreationStatuses(): Promise> {\n return this.http>(HttpMethod.GET, '/campaign/creation-statuses');\n }\n\n getCustomerPullNow(id: string): Promise {\n return this.http(HttpMethod.GET, `/customers/${id}/try-pull`);\n }\n\n getCustomerStatusAdmin(customerId: string): Promise {\n return this.http(HttpMethod.GET, `/customer-status?customerId=${customerId}`);\n }\n\n getCustomerAdCopyAdmin(customerId: string): Promise {\n return this.http(HttpMethod.GET, `/customer-ad-copy?customerId=${customerId}`);\n }\n\n getCustomerMetrics(duration: string, device?: string, network?: string): Promise {\n let url = `/customer-metrics?duration=${duration}`;\n if (device !== undefined) {\n url += `&device=${device}`;\n }\n if (network !== undefined) {\n url += `&network=${network}`;\n }\n return this.http(HttpMethod.GET, url);\n }\n\n getCustomerMetricsAdmin(customerId: string, duration: string, device?: string, network?: string): Promise {\n let url = `/customer-metrics?customerId=${customerId}&duration=${duration}`;\n if (device !== undefined) {\n url += `&device=${device}`;\n }\n if (network !== undefined) {\n url += `&network=${network}`;\n }\n return this.http(HttpMethod.GET, url);\n }\n\n generateInviteCode(userRole: UserRole): Promise {\n return this.http(HttpMethod.POST, `/invite-code?role=${userRole}`);\n }\n\n async setTaxonomyStatus(id: string, enabled: boolean): Promise {\n return this.http(HttpMethod.PATCH, `/taxonomies/${encodeURIComponent(id)}/status`, { enabled });\n }\n\n // DO NOT USE THIS\n wipeCampaignState(userId: string): Promise {\n return this.http(HttpMethod.DELETE, `/campaign-wizard?userId=${userId}`);\n }\n\n // DO NOT USE THIS\n forceCampaignCreation(userId: string): Promise {\n return this.http(HttpMethod.POST, `/campaign-wizard/check-billing-and-force-creation?userId=${encodeURIComponent(userId)}&bypassBillingCheck=true&onlyStatus=false`);\n }\n\n checkCustomerBillingStatus(userId: string): Promise {\n return this.http(HttpMethod.POST, `/customers/${userId}/get-billing-status`);\n }\n\n useInviteCode(inviteCode: string): Promise {\n return this.http(HttpMethod.POST, `/use-invite-code/${inviteCode}`);\n }\n\n initCredentials(code: string, redirectUrl: string): Promise {\n return this.http(HttpMethod.POST, `/initCredentials?redirectUrl=${encodeURIComponent(redirectUrl)}`, code);\n }\n\n createGMBAccount(locationData: LocationData): Promise {\n return this.http(HttpMethod.POST, '/gmb-account', locationData);\n }\n\n getCategories(): Promise {\n return this.http(HttpMethod.GET, '/categories');\n }\n\n getLocations(): Promise {\n return this.http(HttpMethod.GET, '/locations');\n }\n\n createGMBFeed(name: string): Promise {\n return this.http(HttpMethod.POST, `/gmb-feed?name=${encodeURIComponent(name)}`);\n }\n\n consumeAdpUserId(adpUserId: string): Promise {\n return this.http(HttpMethod.POST, `/consume-adp-user-id/${adpUserId}`);\n }\n\n getTaxonomy(id: string): Promise {\n return this.http(HttpMethod.GET, `/taxonomies/${id}`);\n }\n\n async createTaxonomy(taxonomy: TaxonomyModel): Promise {\n return this.http(HttpMethod.POST, '/taxonomies', taxonomy);\n }\n\n async saveTaxonomy(taxonomy: TaxonomyModel): Promise {\n return this.http(HttpMethod.PUT, `/taxonomies/${taxonomy.id}`, taxonomy);\n }\n\n getUsers(): Promise> {\n return this.http>(HttpMethod.GET, '/users');\n }\n\n getCustomers(): Promise> {\n return this.http>(HttpMethod.GET, '/customers');\n }\n\n getCustomer(id: string): Promise {\n return this.http(HttpMethod.GET, `/customers/${id}/?isCustomerId=false`);\n }\n\n getCustomerByCustomerId(id: string): Promise {\n return this.http(HttpMethod.GET, `/customers/${id}/?isCustomerId=true`);\n }\n\n getCustomerCampaignState(id: string): Promise {\n return this.http(HttpMethod.GET, `/customers/${id}/campaign-state`);\n }\n\n disableUser(id: string): Promise {\n return this.http(HttpMethod.DELETE, `/users/${id}`);\n }\n\n changeUserType(id: string, type: UserType): Promise {\n return this.http(HttpMethod.PATCH, `/users/${id}?type=${encodeURIComponent(type)}`);\n }\n\n changeAccountStatus(id: string, type: AccountStatus): Promise {\n return this.http(HttpMethod.PATCH, `/users/${id}?status=${encodeURIComponent(type)}`);\n }\n\n async getRecommendations(): Promise> {\n return this.http>(HttpMethod.GET, '/recommendations');\n }\n\n async getRecommendationsForCustomer(customerId: string): Promise> {\n return this.http>(HttpMethod.GET, `/recommendations?customerId=${encodeURIComponent(customerId)}`);\n }\n\n async dismissRecommendation(id: string, customerId: string) {\n return this.http(HttpMethod.DELETE, `/recommendations?id=${encodeURIComponent(id)}&customerId=${encodeURIComponent(customerId)}`);\n }\n\n async applyRecommendation(id: string, customerId: string) {\n return this.http(HttpMethod.POST, `/recommendations?id=${encodeURIComponent(id)}&customerId=${encodeURIComponent(customerId)}`);\n }\n\n getReportingClusters(startDate: number, endDate: number, page = 0, pageSize = 25, deviceTypeFilter: Device = Device.All): Promise> {\n return this.http(HttpMethod.GET, `/reporting/cluster?startDate=${startDate}&endDate=${endDate}&page=${page}&pageSize=${pageSize}&deviceTypeFilter=${deviceTypeFilter}`);\n }\n\n getReportingCluster(id: string, startDate: number, endDate: number, page = 0, pageSize = 25, deviceTypeFilter: Device = Device.All): Promise> {\n return this.http(HttpMethod.GET, `/reporting/cluster?id=${id}&startDate=${startDate}&endDate=${endDate}&page=${page}&pageSize=${pageSize}&deviceTypeFilter=${deviceTypeFilter}`);\n }\n\n getReportingKeywords(startDate: number, endDate: number, page = 0, pageSize = 25, orderBy: string | null = null, filterBy: string | null = null): Promise> {\n let remainingQuery = '';\n if (orderBy !== null) {\n remainingQuery += `&orderBy=${orderBy}`;\n }\n if (filterBy !== null) {\n remainingQuery += `&filterBy=${encodeURIComponent(filterBy)}`;\n }\n return this.http(HttpMethod.GET, `/reporting/keyword?startDate=${startDate}&endDate=${endDate}&page=${page}&pageSize=${pageSize}${remainingQuery}`);\n }\n\n getReportingKeyword(text: string, startDate: number, endDate: number, page = 0, pageSize = 25): Promise> {\n return this.http(HttpMethod.GET, `/reporting/keyword?text=${text}&startDate=${startDate}&endDate=${endDate}&page=${page}&pageSize=${pageSize}`);\n }\n\n getReportingKeywordCluster(text: string, clusterId: string, startDate: number, endDate: number, page = 0, pageSize = 25): Promise> {\n return this.http(HttpMethod.GET, `/reporting/keyword?text=${text}&clusterId=${clusterId}&startDate=${startDate}&endDate=${endDate}&page=${page}&pageSize=${pageSize}`);\n }\n\n getReportingSearchTerms(startDate: number, endDate: number, page = 0, pageSize = 25, orderBy: string | null = null, filterBy: string | null = null): Promise> {\n let remainingQuery = '';\n if (orderBy !== null) {\n remainingQuery += `&orderBy=${orderBy}`;\n }\n if (filterBy !== null) {\n remainingQuery += `&filterBy=${encodeURIComponent(filterBy)}`;\n }\n return this.http(HttpMethod.GET, `/reporting/searchTerm?startDate=${startDate}&endDate=${endDate}&page=${page}&pageSize=${pageSize}${remainingQuery}`);\n }\n\n getReportingSearchTerm(searchTerm: string, startDate: number, endDate: number, page = 0, pageSize = 25): Promise> {\n return this.http(HttpMethod.GET, `/reporting/searchTerm?searchTerm=${searchTerm}&startDate=${startDate}&endDate=${endDate}&page=${page}&pageSize=${pageSize}`);\n }\n\n getReportingSearchTermCluster(searchTerm: string, clusterId: string, startDate: number, endDate: number, page = 0, pageSize = 25): Promise> {\n return this.http(HttpMethod.GET, `/reporting/searchTerm?searchTerm=${searchTerm}&clusterId=${clusterId}&startDate=${startDate}&endDate=${endDate}&page=${page}&pageSize=${pageSize}`);\n }\n\n getReportingDemographics(type: DemographicType, startDate: number, endDate: number): Promise> {\n return this.http(HttpMethod.GET, `/reporting/demographics?type=${type}&startDate=${startDate}&endDate=${endDate}`);\n }\n\n getReportingDemographic(type: DemographicType, selector: string, startDate: number, endDate: number): Promise> {\n return this.http(HttpMethod.GET, `/reporting/demographics?type=${type}&selector=${selector}&startDate=${startDate}&endDate=${endDate}`);\n }\n\n getReportingDemographicCluster(type: DemographicType, selector: string, clusterId: string, startDate: number, endDate: number): Promise> {\n return this.http(HttpMethod.GET, `/reporting/demographics?type=${type}&selector=${selector}&clusterId=${clusterId}&startDate=${startDate}&endDate=${endDate}`);\n }\n\n addKeywords(request: AddKeywordsRequest): Promise {\n return this.http(HttpMethod.POST, '/addKeywords', request);\n }\n\n pauseResumeCampaigns(request: PauseResumeCampaignsRequest): Promise {\n return this.http(HttpMethod.POST, '/pauseResumeCampaigns', request);\n }\n\n bidAdjustments(request: BidAdjustmentRequest): Promise {\n return this.http(HttpMethod.POST, '/bidAdjustments', request);\n }\n\n getAdminReportMetrics(): Promise {\n return this.http(HttpMethod.GET, '/reports/metrics');\n }\n\n getCustomerNotes(userId: string): Promise> {\n return this.http(HttpMethod.GET, `/customers/${userId}/notes`);\n }\n\n getCustomerNote(userId: string, noteId: string): Promise {\n return this.http(HttpMethod.GET, `/customers/${userId}/notes/${noteId}`);\n }\n\n addCustomerNote(userId: string, note: CustomerNoteModel): Promise {\n return this.http(HttpMethod.POST, `/customers/${userId}/notes`, note);\n }\n\n deleteCustomerNote(userId: string, noteId: string): Promise {\n return this.http(HttpMethod.DELETE, `/customers/${userId}/notes?noteId=${noteId}`);\n }\n\n updateCustomerNote(userId: string, note: CustomerNoteModel): Promise {\n return this.http(HttpMethod.PATCH, `/customers/${userId}/notes`, note);\n }\n\n addCampaignToAccount(id: string, campaignId: string): Promise {\n return this.http(HttpMethod.POST, `/customers/${id}/campaigns/${campaignId}`);\n }\n\n submitMeteredUsageToAccount(id: string, usage: number, period: string): Promise {\n return this.http(HttpMethod.POST, `/customers/${id}/metered-usage`, { usage, period });\n }\n\n getSubscription(id: string): Promise {\n return this.http(HttpMethod.GET, `/customers/${id}/metered-usage`);\n }\n}\n","import {\n CampaignStateModelWProfile,\n CampaignWizardStep\n} from '@/models/campaign-wizard/campaign-state.model';\nimport { Router, RouteRecordName } from 'vue-router';\nimport { RouteName } from '@/router';\nimport { ApiService } from './api.service';\nimport { HttpException, isAuthenticationException, isHttpException } from '@/utils/exceptions';\nimport { UserRole } from '@/models/user.model';\n\nexport class WizardService {\n private apiService: ApiService;\n private static instance: WizardService;\n\n constructor() {\n this.apiService = ApiService.Instance;\n }\n\n public static get Instance() {\n return this.instance || (this.instance = new this());\n }\n\n async getStateOrReRoute(router: Router, currentRoute: RouteRecordName | null | undefined, linkAccount = false): Promise {\n try {\n const profile = await this.apiService.getProfile();\n if (profile.role !== UserRole.Customer) {\n await router.push({ name: RouteName.Forbidden });\n throw new HttpException(403);\n }\n if (!profile.isActive) {\n await router.push({ name: RouteName.Inactive });\n throw new HttpException(403);\n }\n const state = await this.apiService.getCampaignState();\n switch (currentRoute) {\n case RouteName.Wizard:\n case RouteName.WizardMarketplace:\n case RouteName.WizardScreener:\n case RouteName.WizardSignIn:\n case RouteName.WizardLinkAccount:\n await this.reroute(router, state.step);\n return { ...state, profile };\n case RouteName.WizardInfo:\n case RouteName.WizardTarget:\n case RouteName.WizardBudget:\n case RouteName.WizardReview:\n if (state.step === CampaignWizardStep.Billing) {\n await router.push({ name: RouteName.WizardBilling });\n }\n return { ...state, profile };\n case RouteName.WizardBilling:\n case RouteName.WizardTracking:\n return { ...state, profile };\n }\n return { ...state, profile };\n } catch (e) {\n if (isAuthenticationException(e)) {\n switch (currentRoute) {\n case RouteName.Wizard:\n if (localStorage.getItem('user-type') === 'Marketplace') {\n await router.push({ name: RouteName.WizardMarketplace });\n } else {\n await router.push({ name: RouteName.WizardScreener });\n }\n break;\n case RouteName.WizardMarketplace:\n case RouteName.WizardScreener:\n case RouteName.WizardSupport:\n case RouteName.WizardSignIn:\n break;\n default:\n await router.push({ name: RouteName.WizardSignIn });\n break;\n }\n throw e;\n } else if (isHttpException(e) && e.status === 404) {\n const state = await this.apiService.initCampaignState(linkAccount);\n await this.reroute(router, state.step);\n return state;\n } else {\n throw e;\n }\n }\n }\n\n async reroute(router: Router, step: CampaignWizardStep) {\n switch (step) {\n case CampaignWizardStep.Marketplace:\n await router.push({ name: RouteName.WizardMarketplace });\n break;\n case CampaignWizardStep.SignIn:\n await router.push({ name: RouteName.WizardSignIn });\n break;\n case CampaignWizardStep.LinkAccount:\n await router.push({ name: RouteName.WizardLinkAccount });\n break;\n case CampaignWizardStep.Info:\n await router.push({ name: RouteName.WizardInfo });\n break;\n case CampaignWizardStep.Target:\n await router.push({ name: RouteName.WizardTarget });\n break;\n case CampaignWizardStep.Budget:\n await router.push({ name: RouteName.WizardBudget });\n break;\n case CampaignWizardStep.Review:\n await router.push({ name: RouteName.WizardReview });\n break;\n case CampaignWizardStep.Billing:\n await router.push({ name: RouteName.WizardBilling });\n break;\n case CampaignWizardStep.Location:\n await router.push({ name: RouteName.WizardLocation });\n break;\n case CampaignWizardStep.Tracking:\n await router.push({ name: RouteName.WizardTracking });\n break;\n case CampaignWizardStep.Done:\n await router.push({ name: RouteName.Dashboard });\n break;\n }\n }\n}\n","\nimport { Options, Vue } from '@/vue';\nimport { WizardService } from '@/services/wizard.service';\nimport { LoadingOverlay } from '@/components';\nimport { ApiService } from '@/services/api.service';\nimport { Brand } from '@/utils/environment';\n\n@Options({\n components: {\n LoadingOverlay\n }\n})\nexport default class Wizard extends Vue {\n private apiService: ApiService = ApiService.Instance;\n private wizardService: WizardService = WizardService.Instance;\n brand!: Brand;\n loading = false;\n\n get kbURL() {\n const brandKbURL = this.brand?.kb;\n if (!brandKbURL) {\n return '';\n }\n const { hostname } = new URL(brandKbURL);\n return hostname;\n }\n\n async mounted() {\n this.loading = true;\n const adpUserId = this.$route.query['adp-user-id'] as string | undefined;\n const taxonomyId = this.$route.query['taxonomy-id'] as string | undefined;\n const campaignIds = this.$route.query['campaign-ids'] as string | undefined;\n const userType = this.$route.query['user-type'] as string | undefined;\n if (userType !== undefined) {\n localStorage.setItem('user-type', userType);\n }\n if (campaignIds !== undefined) {\n localStorage.setItem('campaign-ids', campaignIds);\n }\n if (taxonomyId !== undefined) {\n localStorage.setItem('taxonomy-id', taxonomyId);\n }\n if (adpUserId !== undefined) {\n localStorage.setItem('adp-user-id', adpUserId);\n }\n try {\n await this.wizardService.getStateOrReRoute(this.$router, this.$route.name);\n } catch (e) {\n }\n this.loading = false;\n }\n}\n","import { render } from \"./wizard.vue?vue&type=template&id=4c279c7e&ts=true\"\nimport script from \"./wizard.vue?vue&type=script&lang=ts\"\nexport * from \"./wizard.vue?vue&type=script&lang=ts\"\n\nimport \"./wizard.vue?vue&type=style&index=0&id=4c279c7e&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, vModelRadio as _vModelRadio, withDirectives as _withDirectives, createTextVNode as _createTextVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-3f14b1af\")\n\n_pushScopeId(\"data-v-3f14b1af\")\nconst _hoisted_1 = { id: \"info\" }\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"h1\", null, \"Before we begin...\", -1)\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"h3\", { class: \"question\" }, \"Are you currently running any active campaigns for your website using Google Ads?\", -1)\nconst _hoisted_4 = { class: \"input-container\" }\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"span\", null, [\n /*#__PURE__*/_createVNode(\"i\", { class: \"bold\" }, \"Yes,\"),\n /*#__PURE__*/_createTextVNode(\" I am actively running campaigns for my site with Google Ads\")\n], -1)\nconst _hoisted_7 = { class: \"input-container\" }\nconst _hoisted_8 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_9 = /*#__PURE__*/_createVNode(\"span\", null, [\n /*#__PURE__*/_createVNode(\"i\", { class: \"bold\" }, \"No,\"),\n /*#__PURE__*/_createTextVNode(\" I have no active campaigns for my site with Google Ads\")\n], -1)\nconst _hoisted_10 = {\n key: 0,\n class: \"error-container\"\n}\nconst _hoisted_11 = /*#__PURE__*/_createVNode(\"i\", { class: \"fal fa-exclamation-circle\" }, null, -1)\nconst _hoisted_12 = { class: \"button-container\" }\nconst _hoisted_13 = /*#__PURE__*/_createVNode(\"span\", null, \"Continue\", -1)\nconst _hoisted_14 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-long-arrow-right\" }, null, -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_WizardInfo = _resolveComponent(\"WizardInfo\")\n const _component_LoadingOverlay = _resolveComponent(\"LoadingOverlay\")\n const _component_WizardProgress = _resolveComponent(\"WizardProgress\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(_component_WizardInfo, { metadata: _ctx.infoMetadata }, null, 8, [\"metadata\"])\n ]),\n _createVNode(\"div\", {\n id: \"content-wrapper\",\n \"data-cy\": _ctx.Selectors.PageWrapper\n }, [\n _createVNode(\"div\", {\n id: \"content\",\n class: {loading: _ctx.loading}\n }, [\n _createVNode(_component_LoadingOverlay),\n _createVNode(_component_WizardProgress, { step: 1 }),\n _hoisted_2,\n _hoisted_3,\n _createVNode(\"form\", {\n onSubmit: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.onSubmit && _ctx.onSubmit(...args))),\n novalidate: \"\"\n }, [\n _createVNode(\"label\", _hoisted_4, [\n _withDirectives(_createVNode(\"input\", {\n type: \"radio\",\n name: \"confirmation\",\n \"data-cy\": _ctx.Selectors.YesRadio,\n value: true,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.formData.state.adsRunning = $event))\n }, null, 8, [\"data-cy\"]), [\n [_vModelRadio, _ctx.formData.state.adsRunning]\n ]),\n _hoisted_5,\n _hoisted_6\n ]),\n _createVNode(\"label\", _hoisted_7, [\n _withDirectives(_createVNode(\"input\", {\n type: \"radio\",\n name: \"confirmation\",\n \"data-cy\": _ctx.Selectors.NoRadio,\n value: false,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.formData.state.adsRunning = $event))\n }, null, 8, [\"data-cy\"]), [\n [_vModelRadio, _ctx.formData.state.adsRunning]\n ]),\n _hoisted_8,\n _hoisted_9\n ]),\n (_ctx.formData.submittedFormError)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_10, [\n _createVNode(\"span\", null, [\n _hoisted_11,\n _createTextVNode(_toDisplayString(_ctx.formData.submittedFormError), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(\"button\", {\n class: \"w-arrow\",\n \"data-cy\": _ctx.Selectors.ContinueButton,\n type: \"submit\"\n }, [\n _hoisted_13,\n _hoisted_14\n ], 8, [\"data-cy\"])\n ])\n ], 32)\n ], 2)\n ], 8, [\"data-cy\"])\n ], 64))\n})","export enum WizardScreenerSelectors {\n PageWrapper = 'WIZARD_SCREENER',\n YesRadio = 'WIZARD_SCREENER_YES',\n NoRadio = 'WIZARD_SCREENER_NO',\n ContinueButton = 'WIZARD_SCREENER_CONTINUE',\n}\n\nexport enum WizardInfoSelectors {\n PageWrapper = 'WIZARD_INFO',\n ContinueButton = 'WIZARD_INFO_CONTINUE',\n}\n\nexport type WizardSelectors = WizardScreenerSelectors | WizardInfoSelectors;\n\nexport enum DashboardSelectors {\n}\n\nexport enum AdminOverviewSelectors {\n PageWrapper = 'ADMIN_OVERVIEW',\n}\n\nexport type AdminSelectors = AdminOverviewSelectors;\n\nexport type SelectorsType = WizardSelectors | DashboardSelectors | AdminSelectors;\n","import { PlacesValue } from '../components/places-input.vue';\n\ntype FormInputValidatorFn = (value: unknown) => {[key: string]: string} | null;\nclass FormInputValidator {\n constructor(public input: string, public validatorFn: FormInputValidatorFn, public instant: boolean = false) {\n }\n}\ntype FormValidatorFn = (state: T, formGroup: FormGroup) => string | null;\nexport type FormInputError = {[key: string]: string};\ntype FormInputErrors = {[key: string]: FormInputError};\n\nexport class FormGroup {\n constructor(public state: T, public inputValidators?: FormInputValidator[], public formValidator?: FormValidatorFn) {\n }\n\n submittedFormError?: string;\n submittedInputErrors?: FormInputErrors;\n instantInputErrors?: FormInputErrors;\n\n get valid() {\n return (this.formError == null && this.inputErrors == null);\n }\n\n /**\n * Helper function to run form validation\n *\n * Useful for when a field is not an \"instant\" field but is showing an error on the form,\n * and we need to validate without submission (for example selecting a multiselect value)\n */\n public runFormValidation() {\n // Use empty callbacks to avoid errors\n return this.trySubmit(() => {}, () => {});\n }\n\n private get formError() {\n return this.formValidator?.(this.state, this);\n }\n\n private get inputErrors(): FormInputErrors | null {\n // eslint-disable-next-line no-unused-expressions\n const [errors, hasError] = this.runValidation(this.inputValidators);\n return hasError ? errors : null;\n }\n\n validateInstantInputErrors() {\n this.instantInputErrors = undefined;\n if (!this.valid) {\n const instantValidators = this.inputValidators?.filter((v) => v.instant);\n const [errors, hasError] = this.runValidation(instantValidators);\n this.instantInputErrors = hasError ? errors : undefined;\n }\n }\n\n private runValidation(inputValidators?: FormInputValidator[]): [FormInputErrors, boolean] {\n const errors: FormInputErrors = {};\n let hasError = false;\n // eslint-disable-next-line no-unused-expressions\n inputValidators?.forEach((validator) => {\n const error = validator.validatorFn(this.state[validator.input]);\n if (error !== null) {\n hasError = true;\n errors[validator.input] = { ...error, ...(errors[validator.input] || {}) };\n }\n });\n return [errors, hasError];\n }\n\n clearErrors() {\n this.submittedInputErrors = undefined;\n this.submittedFormError = undefined;\n this.instantInputErrors = undefined;\n }\n\n async trySubmit(callback: (state: T) => void, errorCallback?: () => void) {\n this.submittedInputErrors = undefined;\n this.submittedFormError = undefined;\n if (this.valid) {\n callback(this.state);\n } else {\n // eslint-disable-next-line no-unused-expressions\n errorCallback?.();\n }\n const inputErrors = this.inputErrors;\n\n if (inputErrors != null) {\n this.submittedInputErrors = inputErrors;\n }\n const formError = this.formError;\n if (formError != null) {\n this.submittedFormError = formError;\n }\n }\n\n get missingRequiredFields(): boolean {\n if (this.submittedInputErrors) {\n return Object.values(this.submittedInputErrors).filter((inputErrors) => {\n return Object.keys(inputErrors).includes('required');\n }).length > 0;\n } else {\n return false;\n }\n }\n}\n\nexport const required = (input: string, error?: string) => (new FormInputValidator(input, (value: unknown) => ((value && value !== '') ? null : { required: error || 'input is required' })));\nexport const allCaps = (input: string, error?: string) => (new FormInputValidator(input, (value: any) => ((value && value !== value.toUpperCase()) ? null : { allCaps: error || 'Please do not use all capital letters' })));\nexport const requiredArray = (input: string, error?: string) => (new FormInputValidator(input, (value: unknown) => ((value && (value as Array).length) ? null : { required: error || 'input is required' })));\nexport const requiredBoolean = (input: string, error?: string) => (new FormInputValidator(input, (value: unknown) => ((value && (value as boolean) !== false) ? null : { required: error || 'input is required' })));\nexport const requiredNumber = (input: string, error?: string) => (new FormInputValidator(input, (value: unknown) => ((value && isNaN(value as number) === false) ? null : { required: error || 'input is required' })));\n\nexport const max = (input: string, max: number, error?: string) => (new FormInputValidator(input, (value: unknown) => ((value && (value as number) >= max) ? { max: error || 'input is too big' } : null)));\nexport const min = (input: string, min: number, error?: string) => (new FormInputValidator(input, (value: unknown) => ((value && (value as number) <= min) ? { min: error || 'input is too small' } : null)));\nexport const maxLength = (input: string, max: number, error?: string, instant = false) => (new FormInputValidator(input, (value: unknown) => ((value && (value as string).length > max) ? { maxLength: error || 'input is too long' } : null), instant));\nexport const minLength = (input: string, min: number, error?: string) => (new FormInputValidator(input, (value: unknown) => ((value && (value as string).length < min) ? { minLength: error || 'input is too short' } : null)));\nexport const maxDate = (input: string, max: number, error?: string, instant = false) => (new FormInputValidator(input, (value: unknown) => ((value && (value as number) >= max) ? { maxDate: error || 'input is after max' } : null), instant));\nexport const minDate = (input: string, min: number, error?: string, instant = false) => (new FormInputValidator(input, (value: unknown) => ((value && (value as number) <= min) ? { minDate: error || 'input is before min' } : null), instant));\n\nexport const website = (input: string, error?: string) => (new FormInputValidator(input, (value: unknown) => ((value && !((value as string).match(/^((https?):\\/\\/)([a-zA-Z0-9-]+\\.?)*(\\/(?!\\/)[a-zA-Z-0-9-]*)*(#[a-zA-Z-0-9-]*)?$/gm))) ? { website: error || 'input is not a valid website' } : null)));\nexport const phone = (input: string, error?: string) => (new FormInputValidator(input, (value: unknown) => ((value && !((value as string).match(/^(\\+0?1\\s?)?\\(?\\d{3}\\)?[\\s.-]?\\d{3}[\\s.-]?\\d{4}$/gm))) ? { phone: error || 'input is not a valid phone' } : null)));\nexport const places = (input: string, error?: string, required = false) => (new FormInputValidator(input, (value: unknown) => ((((value && (value as PlacesValue).input && (value as PlacesValue).input?.length) || required) && (value as PlacesValue).value === null) ? { places: error || 'an option must be selected' } : null)));\nexport const requiresIf = (check: () => boolean, validator: FormInputValidator) => (new FormInputValidator(validator.input, (value: unknown) => ((check()) ? validator.validatorFn(value) : null)));\nexport const requiredPlacesArray = (input: string, error?: string) => (new FormInputValidator(input, (value: unknown) => ((value && (value as Array).length) ? null : { places: error || 'input is required' })));\nexport const placesArray = (input: string, error?: string, required = false) => {\n return new FormInputValidator(input, (value: any) => {\n const valid = value.reduce((current: unknown, next: unknown) => ((((current && (current as PlacesValue).input && (current as PlacesValue).input?.length) || required) && (current as PlacesValue).value === null) ? { places: error || 'an option must be selected' } : null), {});\n return valid;\n });\n};\n\nexport const genericFormValidator = (state: any, formGroup: FormGroup) => {\n if (formGroup.missingRequiredFields) {\n console.log(formGroup);\n return 'Please fill out the required information to continue.';\n }\n if (formGroup.submittedInputErrors !== undefined || formGroup.instantInputErrors !== undefined) {\n return 'Please fix the errors above to continue.';\n }\n return null;\n};\n","\nimport { Vue, Options } from '../../vue';\nimport WizardInfo, { WizardInfoMetaData } from '../../components/wizard-info.vue';\nimport { RouteName } from '../../router';\nimport { FormGroup } from '../../utils/form';\nimport { isAuthenticationException } from '../../utils/exceptions';\nimport { ApiService } from '../../services/api.service';\nimport { WizardService } from '../../services/wizard.service';\nimport { LoadingOverlay, WizardProgress } from '../../components';\nimport { WizardScreenerSelectors } from '../../../cypress/support/selectors';\n\nexport const screenerInfo: WizardInfoMetaData = {\n beforeMetric: 'A global survey found that',\n metric: '58% of purchases',\n afterMetric: 'were prompted by something the shopper saw online.',\n quote: '– Google/Ipsos'\n};\n\n@Options({\n components: {\n WizardInfo,\n WizardProgress,\n LoadingOverlay\n }\n})\nexport default class Screener extends Vue {\n private apiService: ApiService = ApiService.Instance;\n private wizardService: WizardService = WizardService.Instance;\n infoMetadata = screenerInfo;\n\n loading = false;\n\n Selectors = WizardScreenerSelectors;\n\n formData = new FormGroup({ adsRunning: undefined }, [], (state) => {\n if (state.adsRunning === undefined) {\n return 'You must select an option above to proceed.';\n } else {\n return null;\n }\n });\n\n async mounted() {\n this.loading = true;\n try {\n await this.wizardService.getStateOrReRoute(this.$router, this.$route.name);\n } catch (e) {\n if (!isAuthenticationException(e)) {\n throw e;\n }\n }\n this.loading = false;\n }\n\n onSubmit(e: Event) {\n e.preventDefault();\n\n this.formData.trySubmit(state => {\n if (state.adsRunning) {\n this.$router.push({ name: RouteName.WizardSignIn, query: { state: 'link-account' } });\n } else {\n this.$router.push({ name: RouteName.WizardSignIn });\n }\n });\n }\n}\n","import { render } from \"./screener.vue?vue&type=template&id=3f14b1af&scoped=true&ts=true\"\nimport script from \"./screener.vue?vue&type=script&lang=ts\"\nexport * from \"./screener.vue?vue&type=script&lang=ts\"\n\nimport \"./screener.vue?vue&type=style&index=0&id=3f14b1af&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3f14b1af\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createStaticVNode as _createStaticVNode, Fragment as _Fragment, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-54d5532b\")\n\n_pushScopeId(\"data-v-54d5532b\")\nconst _hoisted_1 = { id: \"info\" }\nconst _hoisted_2 = { id: \"content-wrapper\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"h1\", null, \"Great, let's get started with your quick ads setup!\", -1)\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"p\", { class: \"hint\" }, \"Because your ads will be running through Google Ads, the first step is to connect your Google account.\", -1)\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-question-circle\" }, null, -1)\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\" What if I don’t have a free Google account?\")\nconst _hoisted_7 = {\n key: 0,\n class: \"sign-in-info\"\n}\nconst _hoisted_8 = /*#__PURE__*/_createStaticVNode(\"
  1. Click Continue with Google below
  2. In Google, click Create account
  3. Select To manage my business
  4. Fill out the form.

    To use your existing email address, click Use my current email address instead under the username field.

\\\"google_create_account\\\"
\", 2)\nconst _hoisted_10 = { class: \"button-container ignore\" }\nconst _hoisted_11 = /*#__PURE__*/_createVNode(\"img\", {\n src: \"/img/google-badge.svg\",\n alt: \"google-badge\",\n class: \"badge\"\n}, null, -1)\nconst _hoisted_12 = /*#__PURE__*/_createVNode(\"span\", null, \"Continue with Google\", -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_WizardInfo = _resolveComponent(\"WizardInfo\")\n const _component_LoadingOverlay = _resolveComponent(\"LoadingOverlay\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(_component_WizardInfo, { metadata: _ctx.infoMetadata }, null, 8, [\"metadata\"])\n ]),\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", {\n id: \"content\",\n class: {loading: _ctx.loading}\n }, [\n _createVNode(_component_LoadingOverlay),\n _hoisted_3,\n _hoisted_4,\n _createVNode(\"button\", {\n class: \"button-link\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.shouldShowData = !_ctx.shouldShowData))\n }, [\n _hoisted_5,\n _hoisted_6\n ]),\n (_ctx.shouldShowData)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_7, [\n _hoisted_8\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_10, [\n _createVNode(\"button\", {\n class: \"w-icon sso-button\",\n onclick: _ctx.signIn\n }, [\n _hoisted_11,\n _hoisted_12\n ], 8, [\"onclick\"])\n ])\n ], 2)\n ])\n ], 64))\n})","\nimport { Vue, Options } from '../../vue';\nimport WizardInfo, { WizardInfoMetaData } from '../../components/wizard-info.vue';\nimport { AuthService } from '../../services/auth.service';\nimport { ApiService } from '../../services/api.service';\nimport { isAuthenticationException, isHttpException } from '../../utils/exceptions';\nimport { RouteName } from '../../router';\nimport { LoadingOverlay } from '../../components';\nimport { WizardService } from '../../services/wizard.service';\n\n@Options({\n components: {\n WizardInfo,\n LoadingOverlay\n }\n})\nexport default class WizardSignIn extends Vue {\n private authService: AuthService = AuthService.Instance;\n private apiService: ApiService = ApiService.Instance;\n private wizardService: WizardService = WizardService.Instance;\n\n infoMetadata: WizardInfoMetaData = {\n beforeMetric: 'When you sign in with Google, you can be',\n metric: 'confident your information is secure.',\n afterMetric: 'You can enable features like multi-factor authentication for additional protection.'\n };\n\n shouldShowData = false;\n loading = false;\n\n async signIn() {\n this.loading = true;\n await this.authService.authenticate();\n this.loading = false;\n }\n\n async mounted() {\n this.loading = true;\n try {\n await this.wizardService.getStateOrReRoute(this.$router, this.$route.name, this.$route.query?.state === 'link-account');\n const adpUserId = localStorage.getItem('adp-user-id');\n if (adpUserId !== null) {\n await this.apiService.consumeAdpUserId(adpUserId);\n localStorage.removeItem('adp-user-id');\n }\n } catch (e) {\n if (isHttpException(e) && e.status === 404) {\n if (this.$route.query?.state === 'link-account') {\n await this.$router.push({ name: RouteName.WizardLinkAccount });\n } else {\n await this.$router.push({ name: RouteName.WizardInfo });\n }\n } else if (!isAuthenticationException(e)) {\n throw e;\n }\n }\n this.loading = false;\n }\n}\n","import { render } from \"./sign-in.vue?vue&type=template&id=54d5532b&scoped=true&ts=true\"\nimport script from \"./sign-in.vue?vue&type=script&lang=ts\"\nexport * from \"./sign-in.vue?vue&type=script&lang=ts\"\n\nimport \"./sign-in.vue?vue&type=style&index=0&id=54d5532b&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-54d5532b\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-10e5a208\")\n\n_pushScopeId(\"data-v-10e5a208\")\nconst _hoisted_1 = { id: \"info\" }\nconst _hoisted_2 = { id: \"content-wrapper\" }\nconst _hoisted_3 = { id: \"content\" }\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"h1\", null, \"Call Us to Get Your Ads Online\", -1)\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"p\", null, \"Automatic ad creation is not available for businesses with active Google Ads campaigns. This is because running ads to a single business from multiple accounts violates the Google Ads Terms of Use.\", -1)\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"p\", null, \"Get in touch and our Account Managers will be happy to assist you through ad setup!\", -1)\nconst _hoisted_7 = { class: \"link-container\" }\nconst _hoisted_8 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-phone\" }, null, -1)\nconst _hoisted_9 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-envelope\" }, null, -1)\nconst _hoisted_10 = /*#__PURE__*/_createVNode(\"a\", {\n href: \"\",\n onclick: \"Calendly.initPopupWidget({url: process.env.VUE_APP_BRAND_CALENDLY_CURRENTLY_RUNNING});return false;\"\n}, [\n /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-calendar-alt\" }),\n /*#__PURE__*/_createTextVNode(\"Schedule Meeting\")\n], -1)\nconst _hoisted_11 = { class: \"inline-buttons\" }\nconst _hoisted_12 = { class: \"button-container\" }\nconst _hoisted_13 = /*#__PURE__*/_createTextVNode(\"Go Back\")\nconst _hoisted_14 = {\n key: 0,\n class: \"button-container\"\n}\nconst _hoisted_15 = /*#__PURE__*/_createVNode(\"a\", {\n href: \"https://runpayroll.adp.com\",\n class: \"link-button\"\n}, \"Return to ADP Run\", -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_WizardInfo = _resolveComponent(\"WizardInfo\")\n const _component_router_link = _resolveComponent(\"router-link\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(_component_WizardInfo, { metadata: _ctx.infoMetadata }, null, 8, [\"metadata\"])\n ]),\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _hoisted_5,\n _hoisted_6,\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(\"a\", {\n href: 'tel:' + _ctx.brand.numberOnly,\n class: \"d-block\"\n }, [\n _hoisted_8,\n _createTextVNode(\"Call \" + _toDisplayString(_ctx.brand.number), 1)\n ], 8, [\"href\"]),\n _createVNode(\"a\", {\n href: 'mailto:' + _ctx.brand.email,\n class: \"d-block\"\n }, [\n _hoisted_9,\n _createTextVNode(\"Email \" + _toDisplayString(_ctx.brand.email), 1)\n ], 8, [\"href\"]),\n _hoisted_10\n ]),\n _createVNode(\"div\", _hoisted_11, [\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.WizardScreener },\n class: \"secondary link-button\"\n }, {\n default: _withId(() => [\n _hoisted_13\n ]),\n _: 1\n }, 8, [\"to\"])\n ]),\n (_ctx.isUpnetic)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_14, [\n _hoisted_15\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ], 64))\n})","\nimport { Vue, Options } from '../../vue';\nimport WizardInfo from '../../components/wizard-info.vue';\nimport { screenerInfo } from './screener.vue';\nimport { RouteName } from '../../router';\n\n@Options({\n components: {\n WizardInfo\n }\n})\nexport default class Support extends Vue {\n infoMetadata = screenerInfo;\n RouteName = RouteName;\n}\n","import { render } from \"./support.vue?vue&type=template&id=10e5a208&scoped=true&ts=true\"\nimport script from \"./support.vue?vue&type=script&lang=ts\"\nexport * from \"./support.vue?vue&type=script&lang=ts\"\n\nimport \"./support.vue?vue&type=style&index=0&id=10e5a208&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-10e5a208\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, vModelText as _vModelText, withDirectives as _withDirectives, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, Fragment as _Fragment, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-45ed418e\")\n\n_pushScopeId(\"data-v-45ed418e\")\nconst _hoisted_1 = { id: \"info\" }\nconst _hoisted_2 = { id: \"content-wrapper\" }\nconst _hoisted_3 = { id: \"content\" }\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"h1\", null, \"Link your existing account\", -1)\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"p\", null, \"For businesses with active Google Ads accounts, Google recommends that you provide Upnetic access to that account, rather than Upnetic creating a new account for you. This linking ensures that you do not violate the Google Ads Terms of Use by having more than one account with active campaigns to a single business website.\", -1)\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"p\", null, \"To proceed, please enter your Ads account's customer ID (CID) in the box below. Your CID is a 10-digit number associated with your Ads account. If unsure of your CID, you will find it listed under your account name; it will look similar to a 10-digit phone number.\", -1)\nconst _hoisted_7 = /*#__PURE__*/_createVNode(\"p\", null, \"Once you have submitted and logged in with your Google account, a Google email will be sent to the email associated with your account requesting management access for Upnetic. You must accept this invite to complete the campaign set-up process.\", -1)\nconst _hoisted_8 = /*#__PURE__*/_createVNode(\"p\", { style: {\"font-style\":\"italic\"} }, \"Note: Whether you decide to create a new campaign or have Upnetic manage existing campaigns, Upnetic's account managers will only manage search campaigns. Display, video, app and shopping campaigns are ineligible for cost-free management at this time.\", -1)\nconst _hoisted_9 = { class: \"input-container stacked\" }\nconst _hoisted_10 = /*#__PURE__*/_createVNode(\"span\", null, \"Customer ID\", -1)\nconst _hoisted_11 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_12 = { class: \"input-error-container\" }\nconst _hoisted_13 = { key: 0 }\nconst _hoisted_14 = { key: 1 }\nconst _hoisted_15 = { class: \"inline-buttons\" }\nconst _hoisted_16 = { class: \"button-container\" }\nconst _hoisted_17 = /*#__PURE__*/_createTextVNode(\"Go Back\")\nconst _hoisted_18 = /*#__PURE__*/_createVNode(\"div\", { class: \"button-container\" }, [\n /*#__PURE__*/_createVNode(\"button\", {\n class: \"w-arrow\",\n type: \"submit\"\n }, \"Link Account\")\n], -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_WizardInfo = _resolveComponent(\"WizardInfo\")\n const _component_router_link = _resolveComponent(\"router-link\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(_component_WizardInfo, { metadata: _ctx.infoMetadata }, null, 8, [\"metadata\"])\n ]),\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _hoisted_5,\n _hoisted_6,\n _hoisted_7,\n _hoisted_8,\n _createVNode(\"form\", {\n onSubmit: _cache[2] || (_cache[2] = \n//@ts-ignore\n(...args) => (_ctx.onSubmit && _ctx.onSubmit(...args))),\n novalidate: \"\"\n }, [\n _createVNode(\"label\", _hoisted_9, [\n _hoisted_10,\n _withDirectives(_createVNode(\"input\", {\n type: \"text\",\n class: _ctx.clientCustomerIdErrors ? 'w-error' : '',\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.formData.state.clientCustomerId = $event)),\n required: \"\",\n placeholder: \"Customer ID as a number without dashes\",\n autocomplete: \"organization\"\n }, null, 2), [\n [_vModelText, _ctx.formData.state.clientCustomerId]\n ]),\n _hoisted_11,\n _createVNode(\"div\", _hoisted_12, [\n (_ctx.clientCustomerIdRequiredError)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_13, _toDisplayString(_ctx.clientCustomerIdRequiredError), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.clientCustomerIdMaxError)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_14, _toDisplayString(_ctx.clientCustomerIdMaxError), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createVNode(\"div\", _hoisted_15, [\n _createVNode(\"div\", _hoisted_16, [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.WizardScreener },\n class: \"secondary link-button\"\n }, {\n default: _withId(() => [\n _hoisted_17\n ]),\n _: 1\n }, 8, [\"to\"])\n ]),\n _hoisted_18\n ])\n ], 32)\n ])\n ])\n ], 64))\n})","\nimport { Vue, Options } from '../../vue';\nimport WizardInfo from '../../components/wizard-info.vue';\nimport { screenerInfo } from './screener.vue';\nimport { RouteName } from '../../router';\nimport { FormGroup, FormInputError, genericFormValidator, maxLength, requiredNumber } from '../../utils/form';\nimport { ElNotification } from 'element-plus';\nimport { ApiService } from '../../services/api.service';\nimport { LinkClientCustomer } from '../../models/campaign-wizard/link-client-customer.model';\n\n@Options({\n components: {\n WizardInfo\n }\n})\nexport default class Support extends Vue {\n infoMetadata = screenerInfo;\n RouteName = RouteName;\n loading = false;\n private apiService: ApiService = ApiService.Instance;\n\n formData = new FormGroup({\n clientCustomerId: null as null | string\n }, [\n requiredNumber('clientCustomerId', 'Please provide your 10 digit Customer ID without dashes.'),\n maxLength('clientCustomerId', 10, 'Customer ID should be a max of 10 digits.')\n ], genericFormValidator);\n\n get clientCustomerIdErrors(): FormInputError | undefined {\n return this.formData.submittedInputErrors?.clientCustomerId;\n }\n\n get clientCustomerIdRequiredError(): string | undefined {\n return this.formData.submittedInputErrors?.clientCustomerId?.required;\n }\n\n get clientCustomerIdMaxError(): string | undefined {\n return this.formData.submittedInputErrors?.clientCustomerId?.maxLength;\n }\n\n onSubmit(e: Event) {\n e.preventDefault();\n\n this.formData.trySubmit(async state => {\n try {\n this.loading = true;\n\n try {\n const client: LinkClientCustomer = {\n customerId: Number(state.clientCustomerId!)\n };\n await this.apiService.postLinkClientCustomer(client);\n this.$router.push({ name: RouteName.Dashboard });\n } catch (e) {\n ElNotification({\n title: 'Error',\n message: 'There was an error saving your progress, please try again, or contact support if you continue to receive this message.',\n type: 'error'\n });\n }\n } finally {\n this.loading = false;\n }\n });\n }\n}\n","import { render } from \"./link-account.vue?vue&type=template&id=45ed418e&scoped=true&ts=true\"\nimport script from \"./link-account.vue?vue&type=script&lang=ts\"\nexport * from \"./link-account.vue?vue&type=script&lang=ts\"\n\nimport \"./link-account.vue?vue&type=style&index=0&id=45ed418e&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-45ed418e\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, vModelText as _vModelText, withDirectives as _withDirectives, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vModelCheckbox as _vModelCheckbox, createTextVNode as _createTextVNode, Fragment as _Fragment, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-41c09b11\")\n\n_pushScopeId(\"data-v-41c09b11\")\nconst _hoisted_1 = { id: \"info\" }\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"h1\", null, \"First, tell us about your business.\", -1)\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"p\", null, \"We use this information to determine the best text to put in your ad.\", -1)\nconst _hoisted_4 = { class: \"row gap-30\" }\nconst _hoisted_5 = { class: \"col-12 col-lg-6\" }\nconst _hoisted_6 = { class: \"input-container stacked\" }\nconst _hoisted_7 = /*#__PURE__*/_createVNode(\"span\", null, \"Business Name\", -1)\nconst _hoisted_8 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_9 = { class: \"input-error-container\" }\nconst _hoisted_10 = { key: 0 }\nconst _hoisted_11 = { key: 1 }\nconst _hoisted_12 = { key: 2 }\nconst _hoisted_13 = { class: \"col-12 col-lg-6\" }\nconst _hoisted_14 = { class: \"input-container stacked\" }\nconst _hoisted_15 = /*#__PURE__*/_createVNode(\"span\", null, \"Website URL\", -1)\nconst _hoisted_16 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_17 = { class: \"input-error-container\" }\nconst _hoisted_18 = { key: 0 }\nconst _hoisted_19 = { key: 1 }\nconst _hoisted_20 = { class: \"row gap-30\" }\nconst _hoisted_21 = { class: \"col-12 col-lg-6\" }\nconst _hoisted_22 = { class: \"input-container stacked\" }\nconst _hoisted_23 = /*#__PURE__*/_createVNode(\"span\", null, \"Business Phone\", -1)\nconst _hoisted_24 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_25 = { class: \"input-error-container\" }\nconst _hoisted_26 = { key: 0 }\nconst _hoisted_27 = {\n key: 0,\n class: \"input-container\"\n}\nconst _hoisted_28 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_29 = /*#__PURE__*/_createVNode(\"span\", null, \"Include phone number in ads\", -1)\nconst _hoisted_30 = { class: \"col-12 col-lg-6\" }\nconst _hoisted_31 = { class: \"input-container stacked\" }\nconst _hoisted_32 = /*#__PURE__*/_createVNode(\"span\", null, \"Business Address\", -1)\nconst _hoisted_33 = { class: \"input-error-container\" }\nconst _hoisted_34 = { key: 0 }\nconst _hoisted_35 = {\n key: 0,\n class: \"input-container\"\n}\nconst _hoisted_36 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_37 = /*#__PURE__*/_createVNode(\"span\", null, \"Include business address in ads\", -1)\nconst _hoisted_38 = {\n key: 0,\n class: \"row gap-30\"\n}\nconst _hoisted_39 = { class: \"col-12 col-lg-6\" }\nconst _hoisted_40 = { class: \"input-container stacked\" }\nconst _hoisted_41 = /*#__PURE__*/_createVNode(\"span\", null, \"Industry\", -1)\nconst _hoisted_42 = { class: \"input-error-container\" }\nconst _hoisted_43 = { key: 0 }\nconst _hoisted_44 = {\n key: 1,\n class: \"error-container\"\n}\nconst _hoisted_45 = /*#__PURE__*/_createVNode(\"i\", { class: \"fal fa-exclamation-circle\" }, null, -1)\nconst _hoisted_46 = /*#__PURE__*/_createVNode(\"div\", { class: \"button-container\" }, [\n /*#__PURE__*/_createVNode(\"button\", {\n class: \"w-arrow\",\n type: \"submit\"\n }, [\n /*#__PURE__*/_createVNode(\"span\", null, \"Continue\"),\n /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-long-arrow-right\" })\n ])\n], -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_WizardInfo = _resolveComponent(\"WizardInfo\")\n const _component_LoadingOverlay = _resolveComponent(\"LoadingOverlay\")\n const _component_WizardProgress = _resolveComponent(\"WizardProgress\")\n const _component_PlacesInput = _resolveComponent(\"PlacesInput\")\n const _component_Dropdown = _resolveComponent(\"Dropdown\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(_component_WizardInfo, { metadata: _ctx.infoMetadata }, null, 8, [\"metadata\"])\n ]),\n _createVNode(\"div\", {\n id: \"content-wrapper\",\n \"data-cy\": _ctx.Selectors.PageWrapper\n }, [\n _createVNode(\"div\", {\n id: \"content\",\n class: (_ctx.loading) ? 'loading' : ''\n }, [\n _createVNode(_component_LoadingOverlay),\n _createVNode(_component_WizardProgress, { step: 2 }),\n _hoisted_2,\n _hoisted_3,\n _createVNode(\"form\", {\n onSubmit: _cache[9] || (_cache[9] = \n//@ts-ignore\n(...args) => (_ctx.onSubmit && _ctx.onSubmit(...args))),\n novalidate: \"\"\n }, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"label\", _hoisted_6, [\n _hoisted_7,\n _withDirectives(_createVNode(\"input\", {\n type: \"text\",\n class: _ctx.nameErrors ? 'w-error' : '',\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.formData.state.name = $event)),\n required: \"\",\n placeholder: \"required\",\n autocomplete: \"organization\"\n }, null, 2), [\n [_vModelText, _ctx.formData.state.name]\n ]),\n _hoisted_8,\n _createVNode(\"div\", _hoisted_9, [\n (_ctx.nameRequiredError)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_10, _toDisplayString(_ctx.nameRequiredError), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.nameLengthError)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_11, _toDisplayString(_ctx.nameLengthError), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.nameAllCapsError)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_12, _toDisplayString(_ctx.nameAllCapsError), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_13, [\n _createVNode(\"label\", _hoisted_14, [\n _hoisted_15,\n _withDirectives(_createVNode(\"input\", {\n type: \"text\",\n class: _ctx.websiteErrors ? 'w-error' : '',\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.formData.state.website = $event)),\n required: \"\",\n placeholder: \"http:// or https:// required\",\n autocomplete: \"url\"\n }, null, 2), [\n [_vModelText, _ctx.formData.state.website]\n ]),\n _hoisted_16,\n _createVNode(\"div\", _hoisted_17, [\n (_ctx.websiteRequiredError)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_18, _toDisplayString(_ctx.websiteRequiredError), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.websiteFormatError)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_19, _toDisplayString(_ctx.websiteFormatError), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_20, [\n _createVNode(\"div\", _hoisted_21, [\n _createVNode(\"label\", _hoisted_22, [\n _hoisted_23,\n _withDirectives(_createVNode(\"input\", {\n type: \"text\",\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.formData.state.phone = $event)),\n class: _ctx.phoneErrors ? 'w-error' : '',\n autocomplete: \"tel-national\"\n }, null, 2), [\n [_vModelText, _ctx.formData.state.phone]\n ]),\n _hoisted_24,\n _createVNode(\"div\", _hoisted_25, [\n (_ctx.phoneFormatError)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_26, _toDisplayString(_ctx.phoneFormatError), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (_ctx.showIncludePhone)\n ? (_openBlock(), _createBlock(\"label\", _hoisted_27, [\n _withDirectives(_createVNode(\"input\", {\n type: \"checkbox\",\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.formData.state.includePhone = $event))\n }, null, 512), [\n [_vModelCheckbox, _ctx.formData.state.includePhone]\n ]),\n _hoisted_28,\n _hoisted_29\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", _hoisted_30, [\n _createVNode(\"label\", _hoisted_31, [\n _hoisted_32,\n _createVNode(_component_PlacesInput, {\n modelValue: _ctx.formData.state.address.input,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.formData.state.address.input = $event)),\n \"onUpdate:value\": _cache[6] || (_cache[6] = ($event: any) => {_ctx.formData.state.address.value = $event; _ctx.autoFilledAddress = null}),\n error: _ctx.addressErrors\n }, null, 8, [\"modelValue\", \"error\"]),\n _createVNode(\"div\", _hoisted_33, [\n (_ctx.addressFormatError)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_34, _toDisplayString(_ctx.addressFormatError), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (_ctx.showIncludeAddress)\n ? (_openBlock(), _createBlock(\"label\", _hoisted_35, [\n _withDirectives(_createVNode(\"input\", {\n type: \"checkbox\",\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (_ctx.formData.state.includeAddress = $event))\n }, null, 512), [\n [_vModelCheckbox, _ctx.formData.state.includeAddress]\n ]),\n _hoisted_36,\n _hoisted_37\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (_ctx.showIndustry)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_38, [\n _createVNode(\"div\", _hoisted_39, [\n _createVNode(\"label\", _hoisted_40, [\n _hoisted_41,\n _createVNode(_component_Dropdown, {\n modelValue: _ctx.formData.state.industry,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => (_ctx.formData.state.industry = $event)),\n options: _ctx.industryOptions,\n required: \"\",\n placeholder: \"required\",\n error: _ctx.industryErrors\n }, null, 8, [\"modelValue\", \"options\", \"error\"]),\n _createVNode(\"div\", _hoisted_42, [\n (_ctx.industryRequiredError)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_43, _toDisplayString(_ctx.industryRequiredError), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.formData.submittedFormError)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_44, [\n _createVNode(\"span\", null, [\n _hoisted_45,\n _createTextVNode(_toDisplayString(_ctx.formData.submittedFormError), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _hoisted_46\n ], 32)\n ], 2)\n ], 8, [\"data-cy\"])\n ], 64))\n})","\nimport { Options, Vue } from '@/vue';\nimport { WizardInfoMetaData } from '@/components/wizard-info.vue';\nimport {\n allCaps,\n FormGroup,\n FormInputError,\n genericFormValidator,\n maxLength,\n phone,\n places,\n required,\n website\n} from '@/utils/form';\nimport { Dropdown, LoadingOverlay, PlacesInput, WizardInfo, WizardProgress } from '@/components';\nimport { SelectOption } from '@/components/dropdown.vue';\nimport { PlacesValue } from '@/components/places-input.vue';\nimport { RouteName } from '@/router';\nimport { ApiService } from '@/services/api.service';\nimport { CampaignInfoModel } from '@/models/campaign-wizard/campaign-info.model';\nimport { Address } from '@/models/address.model';\nimport { AddressOutput } from '@/models/address-output.model';\nimport { isAuthenticationException } from '@/utils/exceptions';\nimport { WizardService } from '@/services/wizard.service';\nimport { TaxonomyListModel } from '@/models/taxonomies/taxonomy.model';\nimport { CampaignWizardStep } from '@/models/campaign-wizard/campaign-state.model';\nimport { WizardInfoSelectors } from '../../../cypress/support/selectors';\nimport isURL from 'validator/es/lib/isURL';\nimport { ElNotification } from 'element-plus';\nimport { UserType } from '@/models/user.type';\n\n@Options({\n components: {\n WizardInfo,\n WizardProgress,\n PlacesInput,\n Dropdown,\n LoadingOverlay\n }\n})\nexport default class Info extends Vue {\n private apiService: ApiService = ApiService.Instance;\n private wizardService: WizardService = WizardService.Instance;\n\n infoMetadata: WizardInfoMetaData = {\n metric: '45% of shoppers',\n afterMetric: 'surveyed say they use Google to find the best option for their needs.',\n quote: '– Google/Ipsos'\n };\n\n Selectors = WizardInfoSelectors;\n\n showIndustry = true;\n loading = false;\n autoFilledAddress: Address | null = null;\n industryOptions: Array> | null = null;\n\n formData = new FormGroup({\n name: null as null | string,\n website: null as null | string,\n address: ({ input: null, value: null } as PlacesValue),\n phone: null as null | string,\n includePhone: true,\n includeAddress: true,\n industry: null as null | string\n }, [\n required('name', 'Please provide a name.'),\n maxLength('name', 120, 'Name is too long. Please limit name to 120 characters.'),\n allCaps('name', 'Please do not use all capitals for the Business Name'),\n required('website', 'Please provide your website address.'),\n website('website', 'Website URL must start with http:// or https://.'),\n phone('phone', 'Please provide a valid phone number.'),\n places('address', 'Please select an address from the list of options. If none are available, please leave this blank.')\n // required('industry', 'Please provide your industry.')å\n ], genericFormValidator);\n\n async mounted() {\n this.loading = true;\n try {\n const state = await this.wizardService.getStateOrReRoute(this.$router, this.$route.name);\n const verticals: Array = await this.apiService.getEnabledTaxonomies();\n this.industryOptions = verticals.map(vertical => ({\n name: vertical.name,\n value: vertical.id\n }));\n this.formData.state.name = state.businessName;\n this.formData.state.website = state.websiteUrl;\n if (state.address) {\n this.autoFilledAddress = state.address;\n this.formData.state.address.input = state.address?.street;\n this.formData.state.address.value = {\n name: '',\n value: {} as AddressOutput\n };\n }\n\n if (state.step === CampaignWizardStep.Info) {\n this.formData.state.industry = localStorage.getItem('taxonomy-id');\n if (this.formData.state.industry) {\n this.showIndustry = false;\n } else if (state.profile && state.profile.type === UserType.Marketplace) {\n this.showIndustry = false;\n }\n } else if (state.profile && state.profile.type === UserType.Marketplace) {\n this.showIndustry = false;\n } else {\n this.formData.state.industry = state.taxonomy?.id || null;\n }\n\n if (this.showIndustry && this.formData.inputValidators) {\n // Add back the industry required field\n this.formData.inputValidators.push(required('industry', 'Please provide your industry.'));\n }\n\n this.formData.state.phone = state.phone;\n this.formData.state.includeAddress = state.includeAddress || true;\n this.formData.state.includePhone = state.includePhone || true;\n } catch (e) {\n if (!isAuthenticationException(e)) {\n throw e;\n }\n }\n this.loading = false;\n }\n\n get showIncludeAddress(): boolean {\n return Boolean((this.formData.state.address as undefined | PlacesValue)?.value);\n }\n\n get showIncludePhone(): boolean {\n return Boolean((this.formData.state.phone as undefined | string)?.length);\n }\n\n get nameErrors(): FormInputError | undefined {\n return this.formData.submittedInputErrors?.name;\n }\n\n get nameRequiredError(): string | undefined {\n return this.formData.submittedInputErrors?.name?.required;\n }\n\n get nameAllCapsError(): string | undefined {\n return this.formData.submittedInputErrors?.name?.allCaps;\n }\n\n get nameLengthError(): string | undefined {\n return this.formData.submittedInputErrors?.name?.maxLength;\n }\n\n get websiteErrors(): FormInputError | undefined {\n return this.formData.submittedInputErrors?.website;\n }\n\n get websiteRequiredError(): string | undefined {\n return this.formData.submittedInputErrors?.website?.required;\n }\n\n get websiteFormatError(): string | undefined {\n return this.formData.submittedInputErrors?.website?.website;\n }\n\n get phoneErrors(): FormInputError | undefined {\n return this.formData.submittedInputErrors?.phone;\n }\n\n get phoneFormatError(): string | undefined {\n return this.formData.submittedInputErrors?.phone?.phone;\n }\n\n get addressErrors(): FormInputError | undefined {\n return this.formData.submittedInputErrors?.address;\n }\n\n get addressFormatError(): string | undefined {\n return this.formData.submittedInputErrors?.address?.places;\n }\n\n get industryErrors(): FormInputError | undefined {\n return this.formData.submittedInputErrors?.industry;\n }\n\n get industryRequiredError(): string | undefined {\n return this.formData.submittedInputErrors?.industry?.required;\n }\n\n onSubmit(e: Event) {\n e.preventDefault();\n\n this.formData.trySubmit(async state => {\n let address: Address | null = null;\n\n const website = state.website;\n\n if (typeof website === 'string') {\n try {\n this.loading = true;\n\n if (website.toLowerCase().indexOf('https') > -1) {\n const response = await fetch(website, { method: 'HEAD', mode: 'no-cors' });\n } else if (!isURL(website)) {\n throw new Error();\n }\n\n try {\n if (this.autoFilledAddress !== null) {\n address = this.autoFilledAddress;\n } else if (state.address.value?.value) {\n const selectedAddress = state.address.value.value as AddressOutput;\n address = {\n street: selectedAddress.street || null,\n city: selectedAddress.city || null,\n state: selectedAddress.state || null,\n zip: selectedAddress.postalCode || null,\n longitude: selectedAddress.longitude || null,\n latitude: selectedAddress.latitude || null\n };\n }\n const info: CampaignInfoModel = {\n businessName: state.name!,\n websiteUrl: state.website!,\n phone: state.phone,\n includePhone: (state.phone === null || state.phone === '') ? false : state.includePhone,\n address: address,\n includeAddress: (address === null) ? false : state.includeAddress,\n verticalId: state.industry!\n };\n await this.apiService.patchCampaignInfo(info);\n this.$router.push({ name: RouteName.WizardTarget });\n } catch (e) {\n ElNotification({\n title: 'Error',\n message: 'There was an error saving your progress, please try again, or contact support if you continue to receive this message.',\n type: 'error'\n });\n }\n } catch (e) {\n let websiteError = 'Website appears to be invalid. Please check the URL and try again.';\n if (website.toLowerCase().indexOf('https') > -1) {\n websiteError += ' Note: if you continue to see this message change https:// to http://';\n }\n if (this.formData.submittedInputErrors) {\n this.formData.submittedInputErrors.website = { required: websiteError };\n } else {\n this.formData.submittedInputErrors = { website: { required: websiteError } };\n }\n } finally {\n this.loading = false;\n }\n }\n });\n }\n}\n","import { render } from \"./info.vue?vue&type=template&id=41c09b11&scoped=true&ts=true\"\nimport script from \"./info.vue?vue&type=script&lang=ts\"\nexport * from \"./info.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-41c09b11\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, renderList as _renderList, vModelCheckbox as _vModelCheckbox, withDirectives as _withDirectives, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-4adc5927\")\n\n_pushScopeId(\"data-v-4adc5927\")\nconst _hoisted_1 = { id: \"info\" }\nconst _hoisted_2 = { id: \"content-wrapper\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"h1\", null, \"How much do you want to spend?\", -1)\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = { key: 1 }\nconst _hoisted_6 = { key: 1 }\nconst _hoisted_7 = { key: 2 }\nconst _hoisted_8 = /*#__PURE__*/_createVNode(\"span\", { class: \"bold\" }, \"Check which products/services you would like to advertise.\", -1)\nconst _hoisted_9 = /*#__PURE__*/_createVNode(\"br\", null, null, -1)\nconst _hoisted_10 = /*#__PURE__*/_createVNode(\"span\", { class: \"subtext\" }, \"Budget recommendations are based on items selected.\", -1)\nconst _hoisted_11 = { class: \"input-div\" }\nconst _hoisted_12 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_13 = /*#__PURE__*/_createVNode(\"div\", { class: \"dividing-line \" }, null, -1)\nconst _hoisted_14 = /*#__PURE__*/_createVNode(\"div\", { class: \"text-container\" }, [\n /*#__PURE__*/_createVNode(\"p\", { class: \"budget-text\" }, \"Select your preferred budget. You can modify your final budget with your Account Manager after completing setup.\")\n], -1)\nconst _hoisted_15 = { class: \"check-container\" }\nconst _hoisted_16 = {\n key: 0,\n class: \"check-span\"\n}\nconst _hoisted_17 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-check\" }, null, -1)\nconst _hoisted_18 = { class: \"content-container\" }\nconst _hoisted_19 = { class: \"top-line\" }\nconst _hoisted_20 = { class: \"bottom-line\" }\nconst _hoisted_21 = {\n key: 0,\n class: \"bottom-line-fee\"\n}\nconst _hoisted_22 = { class: \"check-container\" }\nconst _hoisted_23 = {\n key: 0,\n class: \"check-span\"\n}\nconst _hoisted_24 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-check\" }, null, -1)\nconst _hoisted_25 = { class: \"content-container selected\" }\nconst _hoisted_26 = { class: \"top-line\" }\nconst _hoisted_27 = { class: \"bottom-line\" }\nconst _hoisted_28 = {\n key: 0,\n class: \"bottom-line-fee\"\n}\nconst _hoisted_29 = /*#__PURE__*/_createVNode(\"div\", { class: \"recommended-container\" }, [\n /*#__PURE__*/_createVNode(\"span\", { class: \"recommended\" }, \"Recommended\")\n], -1)\nconst _hoisted_30 = { class: \"check-container\" }\nconst _hoisted_31 = {\n key: 0,\n class: \"check-span\"\n}\nconst _hoisted_32 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-check\" }, null, -1)\nconst _hoisted_33 = { class: \"content-container\" }\nconst _hoisted_34 = { class: \"top-line\" }\nconst _hoisted_35 = { class: \"bottom-line\" }\nconst _hoisted_36 = {\n key: 0,\n class: \"bottom-line-fee\"\n}\nconst _hoisted_37 = {\n key: 0,\n class: \"error-container\"\n}\nconst _hoisted_38 = /*#__PURE__*/_createVNode(\"p\", { class: \"error-text\" }, [\n /*#__PURE__*/_createVNode(\"i\", { class: \"fal fa-exclamation-circle\" }),\n /*#__PURE__*/_createTextVNode(\" Please select at least one item for us to advertise for our business.\")\n], -1)\nconst _hoisted_39 = { class: \"inline-buttons\" }\nconst _hoisted_40 = { class: \"button-container\" }\nconst _hoisted_41 = /*#__PURE__*/_createTextVNode(\"Go Back\")\nconst _hoisted_42 = /*#__PURE__*/_createVNode(\"div\", { class: \"button-container\" }, [\n /*#__PURE__*/_createVNode(\"button\", {\n class: \"w-arrow\",\n type: \"submit\"\n }, [\n /*#__PURE__*/_createVNode(\"span\", null, \"Continue\"),\n /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-long-arrow-right\" })\n ])\n], -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_WizardInfo = _resolveComponent(\"WizardInfo\")\n const _component_LoadingOverlay = _resolveComponent(\"LoadingOverlay\")\n const _component_WizardProgress = _resolveComponent(\"WizardProgress\")\n const _component_router_link = _resolveComponent(\"router-link\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(_component_WizardInfo, { metadata: _ctx.infoMetadata }, null, 8, [\"metadata\"])\n ]),\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", {\n id: \"content\",\n class: (_ctx.loading) ? 'loading' : ''\n }, [\n _createVNode(_component_LoadingOverlay),\n _createVNode(_component_WizardProgress, { step: 4 }),\n _hoisted_3,\n (_ctx.isUpnetic)\n ? (_openBlock(), _createBlock(_Fragment, { key: 0 }, [\n (_ctx.isMarketplace)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_4, \" Choose from our budget selections below. These budgets have been curated by Google Ads certified experts to ensure optimal performance and eligibility for Google ad credits. Your total bill each month will not include the 20% management fee. That will be billed separately through ADP. \"))\n : (_openBlock(), _createBlock(\"p\", _hoisted_5, \" This will be your daily ad budget. You only pay for ads that are clicked on by viewers. These budgets have been curated by Google Ads Certified Experts based on your industry and services advertised to optimize performance. You will be charged every 30 days or when you reach your billing threshold, whichever comes first. \"))\n ], 64))\n : _createCommentVNode(\"\", true),\n (_ctx.isGSB)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_6, \"Choose from our budget selections below. These budgets have been curated by our Google Ads certified experts to ensure optimal performance and eligibility for Google Ad credits. Your total bill each month will include your ad spend plus a 15% campaign fee.\"))\n : _createCommentVNode(\"\", true),\n (_ctx.campaigns.length > 0)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_7, [\n _hoisted_8,\n _hoisted_9,\n _hoisted_10\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"form\", {\n onSubmit: _cache[5] || (_cache[5] = \n//@ts-ignore\n(...args) => (_ctx.onSubmit && _ctx.onSubmit(...args))),\n novalidate: \"\"\n }, [\n _createVNode(\"div\", _hoisted_11, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.campaigns, (cluster) => {\n return (_openBlock(), _createBlock(\"label\", {\n class: \"input-container\",\n key: cluster.name\n }, [\n _withDirectives(_createVNode(\"input\", {\n type: \"checkbox\",\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.formData.state.checkedClusters = $event)),\n value: cluster\n }, null, 8, [\"value\"]), [\n [_vModelCheckbox, _ctx.formData.state.checkedClusters]\n ]),\n _hoisted_12,\n _createVNode(\"span\", null, _toDisplayString(cluster.name), 1)\n ]))\n }), 128))\n ]),\n _hoisted_13,\n _hoisted_14,\n _createVNode(\"div\", {\n class: [\"select-vertical\", {highlight: _ctx.shouldShowLowStyle}],\n onClick: _cache[2] || (_cache[2] = \n//@ts-ignore\n(...args) => (_ctx.applyLowStyle && _ctx.applyLowStyle(...args)))\n }, [\n _createVNode(\"div\", _hoisted_15, [\n (_ctx.shouldShowLowStyle)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_16, [\n _hoisted_17\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", _hoisted_18, [\n _createVNode(\"span\", _hoisted_19, \"$\" + _toDisplayString(Math.round(_ctx.totalLows / 31)) + \" daily average ($\" + _toDisplayString(_ctx.totalLows) + \" monthly \" + _toDisplayString(_ctx.isUpnetic ? 'maximum' : 'ad spend') + \")\" + _toDisplayString(_ctx.isGSB ? '*' : ''), 1),\n _createVNode(\"span\", _hoisted_20, \"Get an estimated \" + _toDisplayString(_ctx.lowClicksLowBudget) + \" - \" + _toDisplayString(_ctx.highClicksLowBudget) + \" ad clicks each month.\", 1),\n (_ctx.isGSB)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_21, \"*does not include 15% campaign fee or $49 one-time setup fee\"))\n : _createCommentVNode(\"\", true)\n ])\n ], 2),\n _createVNode(\"div\", {\n class: [\"select-vertical\", {highlight: _ctx.shouldShowMediumStyle}],\n onClick: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.applyMediumStyle && _ctx.applyMediumStyle(...args)))\n }, [\n _createVNode(\"div\", _hoisted_22, [\n (_ctx.shouldShowMediumStyle)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_23, [\n _hoisted_24\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", _hoisted_25, [\n _createVNode(\"span\", _hoisted_26, \"$\" + _toDisplayString(Math.round(_ctx.totalMeds / 31)) + \" daily average ($\" + _toDisplayString(_ctx.totalMeds) + \" monthly \" + _toDisplayString(_ctx.isUpnetic ? 'maximum' : 'ad spend') + \")\" + _toDisplayString(_ctx.isGSB ? '*' : ''), 1),\n _createVNode(\"span\", _hoisted_27, \"Get an estimated \" + _toDisplayString(_ctx.lowClicksMediumBudget) + \" - \" + _toDisplayString(_ctx.highClicksMediumBudget) + \" ad clicks each month.\", 1),\n (_ctx.isGSB)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_28, \"*does not include 15% campaign fee or $49 one-time setup fee\"))\n : _createCommentVNode(\"\", true)\n ]),\n _hoisted_29\n ], 2),\n _createVNode(\"div\", {\n class: [\"select-vertical\", {highlight: _ctx.shouldShowHighStyle}],\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.applyHighStyle()))\n }, [\n _createVNode(\"div\", _hoisted_30, [\n (_ctx.shouldShowHighStyle)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_31, [\n _hoisted_32\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", _hoisted_33, [\n _createVNode(\"span\", _hoisted_34, \"$\" + _toDisplayString(Math.round(_ctx.totalHighs / 31)) + \" daily average ($\" + _toDisplayString(_ctx.totalHighs) + \" monthly \" + _toDisplayString(_ctx.isUpnetic ? 'maximum' : 'ad spend') + \")\" + _toDisplayString(_ctx.isGSB ? '*' : ''), 1),\n _createVNode(\"span\", _hoisted_35, \"Get an estimated \" + _toDisplayString(_ctx.lowClicksHighBudget) + \" - \" + _toDisplayString(_ctx.highClicksHighBudget) + \" ad clicks each month.\", 1),\n (_ctx.isGSB)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_36, \"*does not include 15% campaign fee or $49 one-time setup fee\"))\n : _createCommentVNode(\"\", true)\n ])\n ], 2),\n (_ctx.shouldShowError)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_37, [\n _hoisted_38\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_39, [\n _createVNode(\"div\", _hoisted_40, [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.WizardTarget },\n class: \"secondary link-button\"\n }, {\n default: _withId(() => [\n _hoisted_41\n ]),\n _: 1\n }, 8, [\"to\"])\n ]),\n _hoisted_42\n ])\n ], 32)\n ], 2)\n ])\n ], 64))\n})","import { TaxonomyCampaignModel } from '@/models/taxonomies/taxonomy-campaign.model';\nimport { TaxonomyModel } from '@/models/taxonomies/taxonomy.model';\nimport { TargetingMethod } from '@/models/campaign-wizard/campaign-state.model';\nimport { TaxonomyKeywordModel } from '@/models/taxonomies/taxonomy-keyword.model';\nexport const GenericCampaign: TaxonomyCampaignModel = {\n id: '',\n name: '',\n keywords: [],\n lowBudget: 500,\n mediumBudget: 1000,\n highBudget: 2000,\n lowClicksHighBudget: 400,\n highClicksHighBudget: 2000,\n lowClicksLowBudget: 100,\n highClicksLowBudget: 500,\n lowClicksMediumBudget: 200,\n highClicksMediumBudget: 1000,\n headlines: [],\n descriptions: []\n};\n\nexport const GenericTaxonomy: TaxonomyModel = {\n id: '',\n name: '',\n enabled: true,\n targetingMethod: TargetingMethod.Area,\n calloutExtensions: [],\n negativeKeywords: [],\n campaigns: [GenericCampaign]\n};\n","\nimport { Options, Vue } from '@/vue';\nimport { WizardInfoMetaData } from '@/components/wizard-info.vue';\nimport { LoadingOverlay, WizardInfo, WizardProgress } from '@/components';\nimport { RouteName } from '@/router';\nimport { ApiService } from '@/services/api.service';\nimport { CampaignBudgetLevel } from '@/models/campaign-wizard/campaign-state.model';\nimport { FormGroup } from '@/utils/form';\nimport { CampaignBudgetModel } from '@/models/campaign-wizard/campaign-budget.model';\nimport { isAuthenticationException } from '@/utils/exceptions';\nimport { WizardService } from '@/services/wizard.service';\nimport { IdValuePair, TaxonomyCampaignModel } from '@/models/taxonomies/taxonomy-campaign.model';\nimport { ElNotification } from 'element-plus';\nimport { TaxonomyKeywordModel } from '@/models/taxonomies/taxonomy-keyword.model';\nimport { GenericCampaign } from '@/config/index';\nimport { UserType } from '@/models/user.type';\n\n@Options({\n components: {\n WizardInfo,\n WizardProgress,\n LoadingOverlay\n }\n})\n\nexport default class Budget extends Vue {\n private apiService: ApiService = ApiService.Instance;\n private wizardService: WizardService = WizardService.Instance;\n\n infoMetadata: WizardInfoMetaData = {\n metric: '60% of smartphone users',\n afterMetric: 'have contacted a business directly using search results.',\n quote: '– Google/Ipsos, U.S., Playbook Omnibus 2019'\n };\n\n campaigns: Array = [];\n loading = false;\n RouteName = RouteName;\n budgetLevel = CampaignBudgetLevel.Medium;\n shouldShowError = false;\n isMarketplace = false;\n\n formData = new FormGroup({\n checkedClusters: [] as Array\n });\n\n async mounted() {\n this.loading = true;\n try {\n const state = await this.wizardService.getStateOrReRoute(this.$router, this.$route.name);\n this.campaigns = state.taxonomy?.campaigns ?? [];\n this.budgetLevel = state.preferredBudgetLevel || CampaignBudgetLevel.Medium;\n this.isMarketplace = state.profile?.type === UserType.Marketplace;\n\n if (state.campaigns && state.campaigns.length > 0) {\n this.formData.state.checkedClusters = [...state.campaigns];\n } else {\n const userSelectedCampaignIdsCSV = localStorage.getItem('campaign-ids');\n\n if (userSelectedCampaignIdsCSV) {\n const userSelectedCampaignIds = userSelectedCampaignIdsCSV.split(',');\n for (const campaign of this.campaigns) {\n if (userSelectedCampaignIds.indexOf(campaign.id) > -1) {\n this.formData.state.checkedClusters.push(campaign);\n }\n }\n }\n\n if (this.formData.state.checkedClusters.length < 1 && this.campaigns.length > 0) {\n this.formData.state.checkedClusters.push(this.campaigns![0]);\n }\n }\n } catch (e) {\n if (!isAuthenticationException(e)) {\n throw e;\n }\n }\n this.loading = false;\n }\n\n get shouldShowMediumStyle(): boolean {\n return this.budgetLevel === CampaignBudgetLevel.Medium;\n }\n\n get shouldShowLowStyle(): boolean {\n return this.budgetLevel === CampaignBudgetLevel.Low;\n }\n\n get shouldShowHighStyle(): boolean {\n return this.budgetLevel === CampaignBudgetLevel.High;\n }\n\n applyHighStyle() {\n this.budgetLevel = CampaignBudgetLevel.High;\n }\n\n applyMediumStyle() {\n this.budgetLevel = CampaignBudgetLevel.Medium;\n }\n\n applyLowStyle() {\n this.budgetLevel = CampaignBudgetLevel.Low;\n }\n\n get totalLows() {\n return this.getBudgetVal(vertical => vertical.lowBudget, GenericCampaign.lowBudget);\n };\n\n get totalMeds() {\n return this.getBudgetVal(vertical => vertical.mediumBudget, GenericCampaign.mediumBudget);\n };\n\n get totalHighs() {\n return this.getBudgetVal(vertical => vertical.highBudget, GenericCampaign.highBudget);\n };\n\n get lowClicksLowBudget() {\n return this.getBudgetVal(vertical => vertical.lowClicksLowBudget, GenericCampaign.lowClicksLowBudget);\n };\n\n get lowClicksHighBudget() {\n return this.getBudgetVal(vertical => vertical.lowClicksHighBudget, GenericCampaign.lowClicksHighBudget);\n };\n\n get lowClicksMediumBudget() {\n return this.getBudgetVal(vertical => vertical.lowClicksMediumBudget, GenericCampaign.lowClicksMediumBudget);\n };\n\n get highClicksLowBudget() {\n return this.getBudgetVal(vertical => vertical.highClicksLowBudget, GenericCampaign.highClicksLowBudget);\n };\n\n get highClicksMediumBudget() {\n return this.getBudgetVal(vertical => vertical.highClicksMediumBudget, GenericCampaign.highClicksMediumBudget);\n };\n\n get highClicksHighBudget() {\n return this.getBudgetVal(vertical => vertical.highClicksHighBudget, GenericCampaign.highClicksHighBudget);\n };\n\n getBudgetVal = (callback: (vertical: TaxonomyCampaignModel) => number, nullVal: number) => {\n if (this.formData.state.checkedClusters.length === 0) return nullVal;\n return this.formData.state.checkedClusters.map(callback).reduce((a, b) => a + b, 0);\n };\n\n async onSubmit(e: Event) {\n e.preventDefault();\n if (!this.formData.state.checkedClusters.length && this.campaigns.length > 0) {\n this.shouldShowError = true;\n } else {\n this.loading = true;\n const clusterIds = this.formData.state.checkedClusters.map(cluster => cluster.id);\n const campaignBudget: CampaignBudgetModel = {\n clusterIds: clusterIds,\n preferredBudgetLevel: this.budgetLevel\n };\n\n try {\n await this.apiService.patchCampaignBudget(campaignBudget);\n await this.$router.push({ name: RouteName.WizardReview });\n } catch (e) {\n ElNotification({\n title: 'Error',\n message: 'There was an error saving your progress, please try again, or contact support if you continue to receive this message.',\n type: 'error'\n });\n } finally {\n this.loading = false;\n }\n }\n }\n}\n","import { render } from \"./budget.vue?vue&type=template&id=4adc5927&scoped=true&ts=true\"\nimport script from \"./budget.vue?vue&type=script&lang=ts\"\nexport * from \"./budget.vue?vue&type=script&lang=ts\"\n\nimport \"./budget.vue?vue&type=style&index=0&id=4adc5927&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4adc5927\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vModelRadio as _vModelRadio, withDirectives as _withDirectives, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, vShow as _vShow, vModelText as _vModelText, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-7501ccf0\")\n\n_pushScopeId(\"data-v-7501ccf0\")\nconst _hoisted_1 = { id: \"info\" }\nconst _hoisted_2 = { id: \"content-wrapper\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"h1\", null, \"Where are your customers?\", -1)\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = { key: 1 }\nconst _hoisted_6 = { key: 2 }\nconst _hoisted_7 = { class: \"row gap-30\" }\nconst _hoisted_8 = { class: \"col-12 col-lg-6\" }\nconst _hoisted_9 = { key: 0 }\nconst _hoisted_10 = /*#__PURE__*/_createVNode(\"label\", { class: \"input-container stacked slim\" }, [\n /*#__PURE__*/_createVNode(\"span\", null, \"Area Served\")\n], -1)\nconst _hoisted_11 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_12 = /*#__PURE__*/_createVNode(\"span\", null, \"City\", -1)\nconst _hoisted_13 = {\n key: 0,\n class: \"input-container slim tabbed stacked\"\n}\nconst _hoisted_14 = { class: \"input-container flush\" }\nconst _hoisted_15 = { class: \"selected-cities-tags selected-targeting-tags\" }\nconst _hoisted_16 = { class: \"input-error-container\" }\nconst _hoisted_17 = { key: 0 }\nconst _hoisted_18 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_19 = /*#__PURE__*/_createVNode(\"span\", null, \"State\", -1)\nconst _hoisted_20 = {\n key: 0,\n class: \"input-container slim tabbed stacked\"\n}\nconst _hoisted_21 = { class: \"input-container flush\" }\nconst _hoisted_22 = { class: \"selected-states-tags selected-targeting-tags\" }\nconst _hoisted_23 = { class: \"input-error-container\" }\nconst _hoisted_24 = { key: 0 }\nconst _hoisted_25 = { class: \"input-container slim\" }\nconst _hoisted_26 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_27 = /*#__PURE__*/_createVNode(\"span\", null, \"United States\", -1)\nconst _hoisted_28 = { key: 1 }\nconst _hoisted_29 = { class: \"input-container stacked\" }\nconst _hoisted_30 = /*#__PURE__*/_createVNode(\"span\", null, \"Business Address\", -1)\nconst _hoisted_31 = { class: \"input-error-container\" }\nconst _hoisted_32 = { key: 0 }\nconst _hoisted_33 = /*#__PURE__*/_createVNode(\"label\", { class: \"input-container stacked slim\" }, [\n /*#__PURE__*/_createVNode(\"span\", null, \"Distance\")\n], -1)\nconst _hoisted_34 = { class: \"input-container\" }\nconst _hoisted_35 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_36 = /*#__PURE__*/_createVNode(\"span\", null, \"10 miles\", -1)\nconst _hoisted_37 = { class: \"input-container\" }\nconst _hoisted_38 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_39 = /*#__PURE__*/_createVNode(\"span\", null, \"25 miles\", -1)\nconst _hoisted_40 = { class: \"input-container\" }\nconst _hoisted_41 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_42 = /*#__PURE__*/_createVNode(\"span\", null, \"50 miles\", -1)\nconst _hoisted_43 = { class: \"input-container stacked\" }\nconst _hoisted_44 = /*#__PURE__*/_createVNode(\"span\", null, [\n /*#__PURE__*/_createTextVNode(\"Additional Information for your Account Manager \"),\n /*#__PURE__*/_createVNode(\"i\", { class: \"regular\" }, \"(optional)\")\n], -1)\nconst _hoisted_45 = { class: \"input-error-container\" }\nconst _hoisted_46 = { key: 0 }\nconst _hoisted_47 = { class: \"col-12 col-lg-6\" }\nconst _hoisted_48 = {\n key: 0,\n class: \"error-container\"\n}\nconst _hoisted_49 = /*#__PURE__*/_createVNode(\"i\", { class: \"fal fa-exclamation-circle\" }, null, -1)\nconst _hoisted_50 = { class: \"inline-buttons\" }\nconst _hoisted_51 = { class: \"button-container\" }\nconst _hoisted_52 = /*#__PURE__*/_createTextVNode(\"Go Back\")\nconst _hoisted_53 = /*#__PURE__*/_createVNode(\"div\", { class: \"button-container\" }, [\n /*#__PURE__*/_createVNode(\"button\", {\n class: \"w-arrow\",\n type: \"submit\"\n }, [\n /*#__PURE__*/_createVNode(\"span\", null, \"Continue\"),\n /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-long-arrow-right\" })\n ])\n], -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_WizardInfo = _resolveComponent(\"WizardInfo\")\n const _component_LoadingOverlay = _resolveComponent(\"LoadingOverlay\")\n const _component_WizardProgress = _resolveComponent(\"WizardProgress\")\n const _component_PlacesInput = _resolveComponent(\"PlacesInput\")\n const _component_el_tag = _resolveComponent(\"el-tag\")\n const _component_router_link = _resolveComponent(\"router-link\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(_component_WizardInfo, { metadata: _ctx.infoMetadata }, null, 8, [\"metadata\"])\n ]),\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", {\n id: \"content\",\n class: (_ctx.loading) ? 'loading' : ''\n }, [\n _createVNode(_component_LoadingOverlay),\n _createVNode(_component_WizardProgress, { step: 3 }),\n _hoisted_3,\n (_ctx.areaTargeting !== true)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_4, \"We use this information to make sure we show your ad to people who are close enough to your business to be potential customers.\"))\n : _createCommentVNode(\"\", true),\n (_ctx.areaTargeting === true)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_5, \"We use this information to make sure we show your ad to people who are located in the area that your business serves.\"))\n : _createCommentVNode(\"\", true),\n (_ctx.areaTargeting === true)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_6, \"Please enter at least one area. You may also add additional cities and/or states where you operate (limit: 1,000).\"))\n : _createCommentVNode(\"\", true),\n _createVNode(\"form\", {\n onSubmit: _cache[14] || (_cache[14] = \n//@ts-ignore\n(...args) => (_ctx.onSubmit && _ctx.onSubmit(...args))),\n novalidate: \"\"\n }, [\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(\"div\", _hoisted_8, [\n (_ctx.areaTargeting !== false)\n ? _withDirectives((_openBlock(), _createBlock(\"div\", _hoisted_9, [\n _createVNode(\"div\", null, [\n _hoisted_10,\n _createVNode(\"div\", null, [\n _createVNode(\"label\", {\n class: `input-container ${_ctx.formData.state.areaType === _ctx.AreaTargetingType.City ? 'flush' : 'slim'}`\n }, [\n _withDirectives(_createVNode(\"input\", {\n type: \"radio\",\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.selectCityRadio && _ctx.selectCityRadio(...args))),\n name: \"distance\",\n value: _ctx.AreaTargetingType.City,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.formData.state.areaType = $event))\n }, null, 8, [\"value\"]), [\n [_vModelRadio, _ctx.formData.state.areaType]\n ]),\n _hoisted_11,\n _hoisted_12\n ], 2),\n (!_ctx.formData.state.areaType || _ctx.formData.state.areaType === _ctx.AreaTargetingType.City)\n ? _withDirectives((_openBlock(), _createBlock(\"label\", _hoisted_13, [\n _createVNode(\"div\", _hoisted_14, [\n _createVNode(_component_PlacesInput, {\n ref: \"cityPlaces\",\n required: !_ctx.cityValueSelected,\n level: _ctx.AreaTargetingType.City,\n placeholder: _ctx.cityValueSelected ? 'type to search...' : 'required',\n error: _ctx.addressesErrors,\n onPlace_changed: _ctx.citySelected,\n \"clear-on-select\": \"true\"\n }, null, 8, [\"required\", \"level\", \"placeholder\", \"error\", \"onPlace_changed\"])\n ]),\n _createVNode(\"div\", _hoisted_15, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.userSelectedCities, (city, index) => {\n return (_openBlock(), _createBlock(_component_el_tag, {\n key: city,\n closable: \"\",\n onClose: ($event: any) => (_ctx.removeCity(index)),\n class: \"selected-targeting-tag\",\n size: \"large\"\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(city.input), 1)\n ]),\n _: 2\n }, 1032, [\"onClose\"]))\n }), 128))\n ]),\n _createVNode(\"div\", _hoisted_16, [\n (_ctx.addressesFormatError)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_17, \"Please provide at least one city for targeting customers.\"))\n : _createCommentVNode(\"\", true)\n ])\n ], 512)), [\n [_vShow, _ctx.formData.state.areaType === _ctx.AreaTargetingType.City]\n ])\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", null, [\n _createVNode(\"label\", {\n class: `input-container ${_ctx.formData.state.areaType === _ctx.AreaTargetingType.State ? 'flush' : 'slim'}`\n }, [\n _withDirectives(_createVNode(\"input\", {\n type: \"radio\",\n onClick: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.selectStateRadio && _ctx.selectStateRadio(...args))),\n name: \"distance\",\n value: _ctx.AreaTargetingType.State,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.formData.state.areaType = $event))\n }, null, 8, [\"value\"]), [\n [_vModelRadio, _ctx.formData.state.areaType]\n ]),\n _hoisted_18,\n _hoisted_19\n ], 2),\n (!_ctx.formData.state.areaType || _ctx.formData.state.areaType === _ctx.AreaTargetingType.State)\n ? (_openBlock(), _createBlock(\"label\", _hoisted_20, [\n _createVNode(\"div\", _hoisted_21, [\n _createVNode(_component_PlacesInput, {\n ref: \"statePlaces\",\n required: !_ctx.stateValueSelected,\n level: _ctx.AreaTargetingType.State,\n placeholder: _ctx.stateValueSelected ? 'type to search...' : 'required',\n error: _ctx.addressesErrors,\n onPlace_changed: _ctx.stateSelected,\n \"clear-on-select\": \"true\"\n }, null, 8, [\"required\", \"level\", \"placeholder\", \"error\", \"onPlace_changed\"])\n ]),\n _createVNode(\"div\", _hoisted_22, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.userSelectedStates, (state, index) => {\n return (_openBlock(), _createBlock(_component_el_tag, {\n key: state,\n closable: \"\",\n onClose: ($event: any) => (_ctx.removeState(index)),\n class: \"selected-targeting-tag\",\n size: \"large\"\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(state.input), 1)\n ]),\n _: 2\n }, 1032, [\"onClose\"]))\n }), 128))\n ]),\n _createVNode(\"div\", _hoisted_23, [\n (_ctx.addressesFormatError)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_24, \"Please provide at least one state for targeting customers.\"))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"label\", _hoisted_25, [\n _withDirectives(_createVNode(\"input\", {\n type: \"radio\",\n name: \"distance\",\n onClick: _cache[5] || (_cache[5] = \n//@ts-ignore\n(...args) => (_ctx.selectUnitedStatesRadio && _ctx.selectUnitedStatesRadio(...args))),\n value: _ctx.AreaTargetingType.Country,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.formData.state.areaType = $event))\n }, null, 8, [\"value\"]), [\n [_vModelRadio, _ctx.formData.state.areaType]\n ]),\n _hoisted_26,\n _hoisted_27\n ])\n ])\n ], 512)), [\n [_vShow, _ctx.areaTargeting === true]\n ])\n : _createCommentVNode(\"\", true),\n (_ctx.areaTargeting !== true)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_28, [\n _createVNode(\"label\", _hoisted_29, [\n _hoisted_30,\n (_ctx.formData.state.addresses.length)\n ? (_openBlock(), _createBlock(_component_PlacesInput, {\n key: 0,\n disabled: _ctx.addressProvided,\n required: !_ctx.addressProvided,\n placeholder: _ctx.addressProvided ? _ctx.formData.state.addresses[0].input : 'required',\n modelValue: _ctx.formData.state.addresses[0].input,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (_ctx.formData.state.addresses[0].input = $event)),\n \"onUpdate:value\": _cache[8] || (_cache[8] = ($event: any) => {_ctx.formData.state.addresses[0].value = $event; _ctx.autoFilledAddress = null}),\n error: _ctx.addressesErrors\n }, null, 8, [\"disabled\", \"required\", \"placeholder\", \"modelValue\", \"error\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_31, [\n (_ctx.addressesFormatError)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_32, _toDisplayString(_ctx.addressesFormatError), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createVNode(\"div\", null, [\n _hoisted_33,\n _createVNode(\"label\", _hoisted_34, [\n _withDirectives(_createVNode(\"input\", {\n type: \"radio\",\n name: \"distance\",\n value: 10,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => (_ctx.formData.state.distance = $event))\n }, null, 512), [\n [_vModelRadio, _ctx.formData.state.distance]\n ]),\n _hoisted_35,\n _hoisted_36\n ]),\n _createVNode(\"label\", _hoisted_37, [\n _withDirectives(_createVNode(\"input\", {\n type: \"radio\",\n name: \"distance\",\n value: 25,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => (_ctx.formData.state.distance = $event))\n }, null, 512), [\n [_vModelRadio, _ctx.formData.state.distance]\n ]),\n _hoisted_38,\n _hoisted_39\n ]),\n _createVNode(\"label\", _hoisted_40, [\n _withDirectives(_createVNode(\"input\", {\n type: \"radio\",\n name: \"distance\",\n value: 50,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => (_ctx.formData.state.distance = $event))\n }, null, 512), [\n [_vModelRadio, _ctx.formData.state.distance]\n ]),\n _hoisted_41,\n _hoisted_42\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"label\", _hoisted_43, [\n _hoisted_44,\n _withDirectives(_createVNode(\"textarea\", {\n onInput: _cache[12] || (_cache[12] = ($event: any) => (_ctx.formData.validateInstantInputErrors())),\n class: _ctx.commentsErrors ? 'w-error' : '',\n rows: \"5\",\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => (_ctx.formData.state.comments = $event)),\n required: \"\",\n placeholder: \"What else do you want your Account Manager to know about your service area and/or customers?\"\n }, null, 34), [\n [_vModelText, _ctx.formData.state.comments]\n ]),\n _createVNode(\"div\", _hoisted_45, [\n (_ctx.commentsLengthError)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_46, _toDisplayString(_ctx.commentsLengthError), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_47, [\n _createVNode(\"img\", {\n class: \"map-preview\",\n width: \"400\",\n height: \"400\",\n src: _ctx.mapsUrl\n }, null, 8, [\"src\"])\n ])\n ]),\n (_ctx.formData.submittedFormError)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_48, [\n _createVNode(\"span\", null, [\n _hoisted_49,\n _createTextVNode(_toDisplayString(_ctx.formData.submittedFormError), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_50, [\n _createVNode(\"div\", _hoisted_51, [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.WizardInfo },\n class: \"secondary link-button\"\n }, {\n default: _withId(() => [\n _hoisted_52\n ]),\n _: 1\n }, 8, [\"to\"])\n ]),\n _hoisted_53\n ])\n ], 32)\n ], 2)\n ])\n ], 64))\n})","\nimport { Options, Vue, Watch } from '@/vue';\nimport { WizardInfoMetaData } from '@/components/wizard-info.vue';\nimport { FormGroup, FormInputError, genericFormValidator, maxLength, requiresIf, requiredPlacesArray } from '@/utils/form';\nimport { LoadingOverlay, PlacesInput, WizardInfo, WizardProgress } from '@/components';\nimport { RouteName } from '@/router';\nimport { Address } from '@/models/address.model';\nimport { AddressOutput } from '@/models/address-output.model';\nimport { ApiService } from '@/services/api.service';\nimport {\n CampaignAreaTargetingType,\n CampaignStateModel,\n CampaignWizardStep,\n TargetingMethod\n} from '@/models/campaign-wizard/campaign-state.model';\nimport { CampaignAreaTargetModel } from '@/models/campaign-wizard/campaign-area-target.model';\nimport { CampaignDistanceTargetModel } from '@/models/campaign-wizard/campaign-distance-target.model';\nimport { StateModel, usStates } from '@/models/campaign-targeting.model';\nimport { isAuthenticationException } from '@/utils/exceptions';\nimport { WizardService } from '@/services/wizard.service';\nimport { ElNotification } from 'element-plus';\nimport { GenericTaxonomy } from '@/config';\n\nexport interface PlacesOption {\n name: string;\n value: AddressOutput | StateModel;\n}\n\nexport interface PlacesValue {\n input: string | null;\n value: PlacesOption;\n}\n\nexport interface StatesPlacesOption {\n name: string;\n value: StateModel;\n}\nexport interface StatesPlacesValue {\n input: string | null;\n value: StatesPlacesOption;\n}\n\n@Options({\n components: {\n WizardInfo,\n WizardProgress,\n PlacesInput,\n LoadingOverlay\n }\n})\n\nexport default class Target extends Vue {\n private apiService: ApiService = ApiService.Instance;\n private wizardService: WizardService = WizardService.Instance;\n\n infoMetadata: WizardInfoMetaData = {\n metric: '91% of smartphone owners',\n afterMetric: 'bought or plan to buy something after seeing an ad that they described as relevant.',\n quote: '– Google/Purchased'\n };\n\n AreaTargetingType = CampaignAreaTargetingType;\n userSelectedCities: Array = [];\n userSelectedStates: Array = [];\n\n RouteName = RouteName;\n loading = false;\n autoFilledAddress: Address | null = null;\n\n formData: FormGroup = new FormGroup(\n {\n distance: 10,\n addresses: [] as Array,\n comments: null as string | null,\n areaType: null as CampaignAreaTargetingType | null\n }, [\n maxLength('comments', 800, 'Please limit input to 800 characters.', true),\n requiresIf(() => ((this.areaTargeting === true && this.formData.state.areaType !== CampaignAreaTargetingType.Country) || !this.areaTargeting), requiredPlacesArray('addresses', 'Please select an address from the list of options. If none are available, please contact support.'))\n ], genericFormValidator);\n\n mapsUrl: string | null = null;\n\n addressProvided = false;\n areaTargeting: boolean | null = null;\n\n @Watch('formData', { deep: true })\n watchDistance() {\n this.updateMap();\n }\n\n @Watch('userSelectedCities')\n watchUserSelectedCities() {\n this.updateMap();\n }\n\n @Watch('watchUserSelectedStates')\n watchUserSelectedStates() {\n this.updateMap();\n }\n\n get cityValueSelected(): boolean {\n return this.userSelectedCities.length > 0;\n }\n\n get stateValueSelected(): boolean {\n return this.userSelectedStates.length > 0;\n }\n\n get addressesErrors(): FormInputError | undefined {\n return this.formData.submittedInputErrors?.addresses;\n }\n\n get addressesFormatError(): string | undefined {\n return this.formData.submittedInputErrors?.addresses?.places;\n }\n\n get commentsErrors(): FormInputError | undefined {\n return this.formData.instantInputErrors?.comments;\n }\n\n get commentsLengthError(): string | undefined {\n return this.formData.instantInputErrors?.comments?.maxLength;\n }\n\n /**\n * Since we store City/State values in local variable, we need to make sure to set those values into the formData.state.addresses array\n * when we need to re-run validation without attempting to submit the form\n */\n setAddressesCheckValidation() {\n if (this.areaTargeting && this.formData.state.areaType !== CampaignAreaTargetingType.Country) {\n this.formData.state.addresses = this.formData.state.areaType === CampaignAreaTargetingType.City ? this.userSelectedCities : this.userSelectedStates;\n }\n\n this.formData.runFormValidation();\n }\n\n async citySelected(city: PlacesValue) {\n if (!this.userSelectedCities.some(c => c.input === city.input)) {\n this.userSelectedCities.push(city);\n this.updateMap();\n if (this.addressesErrors) {\n this.setAddressesCheckValidation();\n }\n }\n const refInput: any = this.$refs.cityPlaces;\n if (refInput) {\n // eslint-disable-next-line no-unused-expressions\n refInput?.resetInput(true);\n }\n }\n\n async stateSelected(state: StatesPlacesValue) {\n if (!this.userSelectedStates.some(s => s.input === state.input)) {\n this.userSelectedStates.push(state);\n this.updateMap();\n if (this.addressesErrors) {\n this.setAddressesCheckValidation();\n }\n }\n const refInput: any = this.$refs.statePlaces;\n if (refInput) {\n // eslint-disable-next-line no-unused-expressions\n refInput?.resetInput(true);\n }\n }\n\n removeCity(index: number): void {\n this.userSelectedCities.splice(index, 1);\n this.updateMap();\n }\n\n removeState(index: number): void {\n this.userSelectedStates.splice(index, 1);\n this.updateMap();\n }\n\n selectCityRadio() {\n this.formData.state.addresses = [];\n this.formData.clearErrors();\n }\n\n selectUnitedStatesRadio() {\n this.formData.state.addresses = [];\n this.formData.clearErrors();\n }\n\n selectStateRadio() {\n this.formData.state.addresses = [];\n this.formData.clearErrors();\n }\n\n autoFillAreaTarget(state: CampaignStateModel) {\n if (state.areaTargets) {\n state.areaTargets.forEach((target) => {\n const name = target.areaTargetingName;\n const territory = target.areaTargetingState;\n const city = target.areaTargetingCity;\n const lat = target.areaTargetingLatitude;\n const long = target.areaTargetingLongitude;\n\n switch (this.formData.state.areaType) {\n case CampaignAreaTargetingType.City:\n this.userSelectedCities.length === 0\n ? this.userSelectedCities = [{\n input: name,\n value: {\n name: '',\n value: {\n state: territory,\n city: city,\n longitude: long,\n latitude: lat\n } as AddressOutput\n }\n }]\n : this.userSelectedCities.push({\n input: name,\n value: {\n name: '',\n value: {\n state: territory,\n city: city,\n longitude: long,\n latitude: lat\n } as AddressOutput\n }\n });\n break;\n case CampaignAreaTargetingType.State:\n this.userSelectedStates.length === 0\n ? this.userSelectedStates = [{\n input: name,\n value: {\n name: '',\n value: {\n name: name,\n abbreviation: territory,\n longitude: long,\n latitude: lat\n } as StateModel\n }\n }]\n : this.userSelectedStates.push({\n input: name,\n value: {\n name: '',\n value: {\n name: name,\n abbreviation: territory,\n longitude: long,\n latitude: lat\n } as StateModel\n }\n });\n break;\n case CampaignAreaTargetingType.Country:\n default:\n break;\n }\n });\n } else {\n // eslint-disable-next-line no-console\n }\n this.updateMap();\n }\n\n autoFillDistanceTarget(state: CampaignStateModel) {\n if (state.address) {\n this.addressProvided = true;\n this.autoFilledAddress = state.address;\n this.formData.state.addresses = [{\n input: `${state.address.street} ${state.address.city}, ${state.address.state}`,\n value: {\n name: '',\n value: {\n street: state.address.street,\n state: state.address.state,\n city: state.address.city,\n postalCode: state.address.zip,\n longitude: state.address.longitude,\n latitude: state.address.latitude\n } as AddressOutput\n }\n }];\n } else if (state.targetAddress) {\n this.formData.state.addresses = [{\n input: `${state.targetAddress.street} ${state.targetAddress.city}, ${state.targetAddress.state}`,\n value: {\n name: '',\n value: {\n street: state.targetAddress.street,\n state: state.targetAddress.state,\n city: state.targetAddress.city,\n postalCode: state.targetAddress.zip,\n longitude: state.targetAddress.longitude,\n latitude: state.targetAddress.latitude\n } as AddressOutput\n }\n }];\n }\n this.updateMap();\n }\n\n async mounted() {\n this.mapsUrl = this.getMapSrc(39.8333333, -98.585522, null, 3);\n this.loading = true;\n try {\n const state = await this.wizardService.getStateOrReRoute(this.$router, this.$route.name);\n console.log('mounted state', state);\n this.areaTargeting = (state.taxonomy ?? GenericTaxonomy).targetingMethod === TargetingMethod.Area;\n\n this.formData.state.areaType = state.areaTargetingType || CampaignAreaTargetingType.City;\n this.formData.state.distance = state.targetDistance || 10;\n this.formData.state.comments = state.targetingComments;\n if (state.step !== CampaignWizardStep.Target || state.address !== null || state.areaTargets.length > 0) {\n if (this.areaTargeting) {\n this.autoFillAreaTarget(state);\n } else {\n this.autoFillDistanceTarget(state);\n }\n } else if (!this.areaTargeting && state.step === CampaignWizardStep.Target) {\n this.formData.state.addresses = [{\n input: '',\n value: null\n }];\n }\n } catch (e) {\n if (!isAuthenticationException(e)) {\n throw e;\n }\n }\n this.loading = false;\n }\n\n updateMap() {\n if (this.areaTargeting && this.formData.state.areaType === this.AreaTargetingType.State && this.userSelectedStates.length > 0) {\n this.mapsUrl = this.getStateMapSrc(this.userSelectedStates.map(s => s.value?.value));\n return;\n } else if (this.areaTargeting && this.formData.state.areaType === this.AreaTargetingType.City && this.userSelectedCities.length > 0) {\n this.mapsUrl = this.getCitiesMapSrc(this.userSelectedCities.map(c => c.value?.value));\n return;\n }\n\n const mapLocation = !this.areaTargeting && this.formData.state.addresses.length > 0 && this.formData.state.addresses[0].value?.value\n ? this.formData.state.addresses[0].value.value\n : null;\n\n if (!mapLocation || (this.formData.state.areaType === CampaignAreaTargetingType.Country && this.areaTargeting)) {\n this.mapsUrl = this.getMapSrc(39.8333333, -98.585522, null, 3);\n } else if (mapLocation) {\n let zoomLevel = 10;\n switch (this.formData.state.distance) {\n case 10:\n zoomLevel = 10;\n break;\n case 25:\n zoomLevel = 9;\n break;\n case 50:\n zoomLevel = 8;\n break;\n }\n this.mapsUrl = this.getMapSrc(mapLocation.latitude, mapLocation.longitude, this.areaTargeting ? null : this.formData.state.distance, zoomLevel);\n }\n }\n\n getCitiesMapSrc(cities: (AddressOutput)[] = []) {\n let mapSrc = this.getMapBaseURL();\n mapSrc += '&markers=color:red|';\n cities.forEach(s => {\n mapSrc += s.latitude + ',' + s.longitude + '|';\n });\n if (cities.length === 1) {\n mapSrc += '&zoom=10';\n }\n return encodeURI(mapSrc);\n }\n\n getStateMapSrc(states: (StateModel)[] = []) {\n let mapSrc = this.getMapBaseURL();\n mapSrc += '&markers=color:0xe4e4e4|size:tiny|';\n states.forEach(s => {\n mapSrc += s.name + '|';\n });\n // Removed because states like Alaska don't show correctly\n // if (states.length === 1) {\n // mapSrc += '&zoom=6';\n // }\n return encodeURI(mapSrc);\n }\n\n getMapBaseURL() {\n let staticMapSrc = 'https://maps.googleapis.com/maps/api/staticmap?key=AIzaSyBjQ959koQdRVoFYK-2CUfxArP6tmhR7LY&size=400x400';\n staticMapSrc += '&style=feature:administrative|element:all|saturation:-100' +\n '&style=feature:administrative.province|element:all|visibility:off' +\n '&style=feature:administrative.province|element:labels.text|visibility:on' +\n '&style=feature:administrative.province|element:geometry.stroke|visibility:on|color:0x404041|weight:1.5' +\n '&style=feature:landscape|element:all|saturation:-100|lightness:65|visibility:on' +\n '&style=feature:poi|element:all|saturation:-100|lightness:50|visibility:simplified' +\n '&style=feature:road|element:all|saturation:-100' +\n '&style=feature:road.highway|element:all|visibility:simplified' +\n '&style=feature:road.arterial|element:all|lightness:30' +\n '&style=feature:road.local|element:all|lightness:40' +\n '&style=feature:transit|element:all|saturation:-100|visibility:simplified' +\n '&style=feature:water|element:geometry|hue:0xffff00|lightness:-25|saturation:-97' +\n '&style=feature:water|element:labels|lightness:-25|saturation:-100';\n return staticMapSrc;\n }\n\n getMapSrc(lat: number, long: number, radius: number | null, zoomLevel: number | null) {\n let staticMapSrc = this.getMapBaseURL();\n staticMapSrc += '¢er=' + lat + ',' + long;\n if (zoomLevel) {\n staticMapSrc += `&zoom=${zoomLevel}`;\n }\n\n if (radius !== null) {\n staticMapSrc += '&markers=' + lat + ',' + long;\n staticMapSrc += '&path=color:0x0f9ef0ff|fillcolor:0x0f9ef019';\n const earthRadius = 3958.76;\n const pi = Math.PI;\n const latRadians = (lat * pi) / 180;\n const longRadians = (long * pi) / 180;\n const radiusRadians = radius / earthRadius;\n for (let i = 0; i <= 360; i += 8) {\n const radians = i * pi / 180;\n let pLat = Math.asin(Math.sin(latRadians) * Math.cos(radiusRadians) + Math.cos(latRadians) * Math.sin(radiusRadians) * Math.cos(radians));\n const pLng = ((longRadians + Math.atan2(Math.sin(radians) * Math.sin(radiusRadians) * Math.cos(latRadians), Math.cos(radiusRadians) - Math.sin(latRadians) * Math.sin(pLat))) * 180) / pi;\n pLat = (pLat * 180) / pi;\n staticMapSrc += '|' + pLat + ',' + pLng;\n }\n }\n return encodeURI(staticMapSrc);\n }\n\n onSubmit(e: Event) {\n e.preventDefault();\n\n if (this.areaTargeting && this.formData.state.areaType !== CampaignAreaTargetingType.Country) {\n this.formData.state.addresses = this.formData.state.areaType === CampaignAreaTargetingType.City ? this.userSelectedCities : this.userSelectedStates;\n }\n\n this.formData.trySubmit(async state => {\n this.loading = true;\n console.log('state', state);\n if (this.areaTargeting) {\n let territory: string | null = null;\n let city: string | null = null;\n let lat: number | null = null;\n let long: number | null = null;\n const target: CampaignAreaTargetModel = {\n areaTargetingType: state.areaType!,\n areaTargets: state.addresses.filter((address: PlacesValue) => address.input).map((target: PlacesValue) => {\n if (state.areaType === CampaignAreaTargetingType.City) {\n const out = target.value!.value as AddressOutput;\n territory = out.state || null;\n city = out.city || null;\n lat = out.latitude;\n long = out.longitude;\n }\n if (state.areaType === CampaignAreaTargetingType.State) {\n const out = target.value!.value as StateModel;\n territory = out.abbreviation;\n lat = out.latitude;\n long = out.longitude;\n }\n\n return ({\n areaTargetingName: target.input,\n areaTargetingLatitude: lat,\n areaTargetingLongitude: long,\n areaTargetingState: territory,\n areaTargetingCity: city\n });\n }),\n targetingComments: state.comments\n };\n\n try {\n await this.apiService.patchCampaignAreaTarget(target);\n await this.$router.push({ name: RouteName.WizardBudget });\n } catch (e) {\n ElNotification({\n title: 'Error',\n message: 'There was an error saving your progress, please try again, or contact support if you continue to receive this message.',\n type: 'error'\n });\n } finally {\n this.loading = false;\n }\n } else {\n let address: Address | null = null;\n\n if (this.autoFilledAddress !== null) {\n address = this.autoFilledAddress;\n } else if (!this.addressProvided && Boolean(state.addresses[0]?.value.value)) {\n const selectedAddress = state.addresses[0]?.value.value as AddressOutput;\n address = {\n street: selectedAddress.street || null,\n city: selectedAddress.city || null,\n state: selectedAddress.state || null,\n zip: selectedAddress.postalCode || null,\n longitude: selectedAddress.longitude || null,\n latitude: selectedAddress.latitude || null\n };\n }\n const target: CampaignDistanceTargetModel = {\n address: address,\n targetDistance: state.distance,\n targetingComments: state.comments\n };\n try {\n await this.apiService.patchCampaignDistanceTarget(target);\n await this.$router.push({ name: RouteName.WizardBudget });\n } catch (e) {\n ElNotification({\n title: 'Error',\n message: 'There was an error saving your progress, please try again, or contact support if you continue to receive this message.',\n type: 'error'\n });\n } finally {\n this.loading = false;\n }\n }\n });\n }\n}\n","import { render } from \"./target.vue?vue&type=template&id=7501ccf0&scoped=true&ts=true\"\nimport script from \"./target.vue?vue&type=script&lang=ts\"\nexport * from \"./target.vue?vue&type=script&lang=ts\"\n\nimport \"./target.vue?vue&type=style&index=0&id=7501ccf0&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7501ccf0\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vModelRadio as _vModelRadio, withDirectives as _withDirectives, withModifiers as _withModifiers, withKeys as _withKeys, renderList as _renderList, Fragment as _Fragment, vModelCheckbox as _vModelCheckbox, vModelText as _vModelText, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-20e8d4e9\")\n\n_pushScopeId(\"data-v-20e8d4e9\")\nconst _hoisted_1 = { id: \"info\" }\nconst _hoisted_2 = { id: \"content-wrapper\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"h1\", null, \"Customize your Ads campaign\", -1)\nconst _hoisted_4 = { class: \"row\" }\nconst _hoisted_5 = { class: \"col-12 col-lg-6\" }\nconst _hoisted_6 = { class: \"review-budget\" }\nconst _hoisted_7 = { class: \"review-budget-header\" }\nconst _hoisted_8 = /*#__PURE__*/_createVNode(\"h5\", null, \"Budget\", -1)\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\"(edit)\")\nconst _hoisted_10 = { class: \"review-budget-body\" }\nconst _hoisted_11 = { class: \"review-budget-daily-spend\" }\nconst _hoisted_12 = /*#__PURE__*/_createTextVNode(\"  \")\nconst _hoisted_13 = { class: \"review-budget-monthly-spend\" }\nconst _hoisted_14 = { class: \"review-budget-info\" }\nconst _hoisted_15 = {\n key: 0,\n class: \"review-budget-info-fee\"\n}\nconst _hoisted_16 = { class: \"col-12 col-lg-6\" }\nconst _hoisted_17 = /*#__PURE__*/_createVNode(\"h5\", { class: \"start-date-header\" }, [\n /*#__PURE__*/_createTextVNode(\"Start Date \"),\n /*#__PURE__*/_createVNode(\"span\", { class: \"pending-copy\" }, \"(Pending Google Ads Approval)\")\n], -1)\nconst _hoisted_18 = { class: \"row\" }\nconst _hoisted_19 = { class: \"col-4\" }\nconst _hoisted_20 = { class: \"input-container start\" }\nconst _hoisted_21 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_22 = /*#__PURE__*/_createVNode(\"div\", null, [\n /*#__PURE__*/_createVNode(\"span\", { class: \"d-block\" }, \"ASAP\"),\n /*#__PURE__*/_createVNode(\"sub\", { class: \"label-hint\" }, \"1-2 days\")\n], -1)\nconst _hoisted_23 = { class: \"col-8\" }\nconst _hoisted_24 = { class: \"input-container start\" }\nconst _hoisted_25 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_26 = { class: \"w-100\" }\nconst _hoisted_27 = /*#__PURE__*/_createVNode(\"span\", { class: \"d-block\" }, \"Specific date\", -1)\nconst _hoisted_28 = { key: 0 }\nconst _hoisted_29 = { class: \"input-error-container\" }\nconst _hoisted_30 = { key: 0 }\nconst _hoisted_31 = { class: \"custom-keywords\" }\nconst _hoisted_32 = /*#__PURE__*/_createTextVNode(\"Keywords \")\nconst _hoisted_33 = /*#__PURE__*/_createVNode(\"i\", { class: \"el-icon-info\" }, null, -1)\nconst _hoisted_34 = /*#__PURE__*/_createVNode(\"p\", null, \"Submit up to 5 keywords (minimum: 1) that you would like to use in your ads for each campaign.\", -1)\nconst _hoisted_35 = /*#__PURE__*/_createVNode(\"p\", { class: \"custom-keywords-please-note\" }, [\n /*#__PURE__*/_createVNode(\"em\", null, \"Please note: Keywords cannot include punctuation, capital letters, or your business's name. Include terms or phrases that your customers might use to describe your products or services.\")\n], -1)\nconst _hoisted_36 = /*#__PURE__*/_createTextVNode(\"Add\")\nconst _hoisted_37 = { class: \"custom-keywords-tags\" }\nconst _hoisted_38 = { class: \"input-error-container\" }\nconst _hoisted_39 = { key: 0 }\nconst _hoisted_40 = /*#__PURE__*/_createVNode(\"p\", { class: \"navigation-hint\" }, \"Your keyword submissions will automatically be included in your targeting and ad copy, along with variations that may garner additional relevant traffic and other keywords as deemed appropriate by your account manager.\", -1)\nconst _hoisted_41 = { class: \"review-keywords\" }\nconst _hoisted_42 = /*#__PURE__*/_createVNode(\"h5\", null, \"Keyword Groups\", -1)\nconst _hoisted_43 = /*#__PURE__*/_createVNode(\"span\", null, \"Remove any that do not apply.\", -1)\nconst _hoisted_44 = { class: \"keywords\" }\nconst _hoisted_45 = /*#__PURE__*/_createVNode(\"button\", { type: \"button\" }, [\n /*#__PURE__*/_createVNode(\"i\")\n], -1)\nconst _hoisted_46 = { class: \"input-error-container\" }\nconst _hoisted_47 = { key: 0 }\nconst _hoisted_48 = {\n key: 0,\n class: \"review-extensions\"\n}\nconst _hoisted_49 = /*#__PURE__*/_createVNode(\"h5\", null, \"Check all differentiators that apply to your business.\", -1)\nconst _hoisted_50 = { class: \"extensions\" }\nconst _hoisted_51 = { class: \"input-container slim\" }\nconst _hoisted_52 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_53 = {\n key: 1,\n class: \"review-ad-preview\"\n}\nconst _hoisted_54 = /*#__PURE__*/_createVNode(\"h5\", null, \"Example Ad Preview\", -1)\nconst _hoisted_55 = /*#__PURE__*/_createVNode(\"p\", { style: {\"font-style\":\"italic\"} }, \"Exact ad copy will vary based on a user’s search to ensure maximum relevance.\", -1)\nconst _hoisted_56 = { class: \"review-ad-preview-ad\" }\nconst _hoisted_57 = { class: \"ad-tag-line\" }\nconst _hoisted_58 = /*#__PURE__*/_createVNode(\"span\", { class: \"ad\" }, [\n /*#__PURE__*/_createTextVNode(\"Ad\"),\n /*#__PURE__*/_createVNode(\"span\", { class: \"dot\" }, \" · \")\n], -1)\nconst _hoisted_59 = { class: \"url\" }\nconst _hoisted_60 = /*#__PURE__*/_createVNode(\"i\", { class: \"down-arrow\" }, null, -1)\nconst _hoisted_61 = { class: \"ad-title\" }\nconst _hoisted_62 = { class: \"ad-description\" }\nconst _hoisted_63 = { class: \"input-container stacked comments\" }\nconst _hoisted_64 = /*#__PURE__*/_createVNode(\"span\", null, [\n /*#__PURE__*/_createTextVNode(\"Additional Information for your Account Manager \"),\n /*#__PURE__*/_createVNode(\"i\", { class: \"regular\" }, \"(optional)\")\n], -1)\nconst _hoisted_65 = { class: \"input-error-container\" }\nconst _hoisted_66 = { key: 0 }\nconst _hoisted_67 = { class: \"input-container start\" }\nconst _hoisted_68 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_69 = /*#__PURE__*/_createTextVNode(\"I agree to \")\nconst _hoisted_70 = /*#__PURE__*/_createVNode(\"a\", {\n href: \"https://payments.google.com/u/0/paymentsinfofinder#\",\n target: \"_blank\"\n}, \"Google Ads Terms of Service\", -1)\nconst _hoisted_71 = /*#__PURE__*/_createTextVNode(\" and \")\nconst _hoisted_72 = /*#__PURE__*/_createTextVNode(\". (required)\")\nconst _hoisted_73 = { class: \"input-error-container\" }\nconst _hoisted_74 = { key: 0 }\nconst _hoisted_75 = { class: \"input-container start\" }\nconst _hoisted_76 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_77 = { style: {\"margin-left\":\"17px\"} }\nconst _hoisted_78 = /*#__PURE__*/_createVNode(\"span\", { style: {\"line-height\":\"24px\",\"margin-top\":\"0\"} }, \"I acknowledge that Google policy requires all advertisers to complete identity verification by an undisclosed future date by uploading one or two business documents, plus a government-issued ID. I will need to complete these steps myself directly within my Google account. (required)\", -1)\nconst _hoisted_79 = { class: \"input-error-container\" }\nconst _hoisted_80 = { key: 0 }\nconst _hoisted_81 = {\n key: 2,\n class: \"error-container\"\n}\nconst _hoisted_82 = /*#__PURE__*/_createVNode(\"i\", { class: \"fal fa-exclamation-circle\" }, null, -1)\nconst _hoisted_83 = { class: \"inline-buttons\" }\nconst _hoisted_84 = { class: \"button-container\" }\nconst _hoisted_85 = /*#__PURE__*/_createTextVNode(\"Go Back\")\nconst _hoisted_86 = /*#__PURE__*/_createVNode(\"div\", { class: \"button-container\" }, [\n /*#__PURE__*/_createVNode(\"button\", {\n class: \"w-arrow\",\n type: \"submit\"\n }, [\n /*#__PURE__*/_createVNode(\"span\", null, \"Continue to Billing Information\"),\n /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-long-arrow-right\" })\n ])\n], -1)\nconst _hoisted_87 = {\n key: 3,\n class: \"navigation-hint\"\n}\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_WizardInfo = _resolveComponent(\"WizardInfo\")\n const _component_LoadingOverlay = _resolveComponent(\"LoadingOverlay\")\n const _component_WizardProgress = _resolveComponent(\"WizardProgress\")\n const _component_router_link = _resolveComponent(\"router-link\")\n const _component_DatePicker = _resolveComponent(\"DatePicker\")\n const _component_el_tooltip = _resolveComponent(\"el-tooltip\")\n const _component_el_input = _resolveComponent(\"el-input\")\n const _component_el_form_item = _resolveComponent(\"el-form-item\")\n const _component_el_form = _resolveComponent(\"el-form\")\n const _component_el_col = _resolveComponent(\"el-col\")\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_tag = _resolveComponent(\"el-tag\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(_component_WizardInfo, { metadata: _ctx.infoMetadata }, null, 8, [\"metadata\"])\n ]),\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", {\n id: \"content\",\n class: {loading: _ctx.loading}\n }, [\n _createVNode(_component_LoadingOverlay),\n _createVNode(_component_WizardProgress, { step: 5 }),\n _hoisted_3,\n _createVNode(\"form\", {\n onSubmit: _cache[14] || (_cache[14] = \n//@ts-ignore\n(...args) => (_ctx.onSubmit && _ctx.onSubmit(...args))),\n novalidate: \"\"\n }, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.WizardBudget }\n }, {\n default: _withId(() => [\n _hoisted_9\n ]),\n _: 1\n }, 8, [\"to\"])\n ]),\n _createVNode(\"div\", _hoisted_10, [\n _createVNode(\"span\", _hoisted_11, \"$\" + _toDisplayString(_ctx.spendPerDay) + \" per day\", 1),\n _hoisted_12,\n _createVNode(\"span\", _hoisted_13, \"($\" + _toDisplayString(_ctx.spendPerMonth) + \" monthly \" + _toDisplayString(_ctx.isUpnetic ? 'maximum' : 'ad spend') + \")\" + _toDisplayString(_ctx.isGSB ? '*' : ''), 1)\n ]),\n _createVNode(\"span\", _hoisted_14, \"Estimated \" + _toDisplayString(_ctx.clicksPerMonth) + \" clicks each month.\", 1),\n (_ctx.isGSB)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_15, \"*does not include 15% campaign fee or $49 one-time setup fee\"))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createVNode(\"div\", _hoisted_16, [\n _hoisted_17,\n _createVNode(\"div\", _hoisted_18, [\n _createVNode(\"div\", _hoisted_19, [\n _createVNode(\"label\", _hoisted_20, [\n _withDirectives(_createVNode(\"input\", {\n type: \"radio\",\n name: \"startNow\",\n value: true,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.formData.state.startNow = $event)),\n onChange: _cache[2] || (_cache[2] = ($event: any) => (_ctx.clearStartDate($event)))\n }, null, 544), [\n [_vModelRadio, _ctx.formData.state.startNow]\n ]),\n _hoisted_21,\n _hoisted_22\n ])\n ]),\n _createVNode(\"div\", _hoisted_23, [\n _createVNode(\"label\", _hoisted_24, [\n _withDirectives(_createVNode(\"input\", {\n type: \"radio\",\n name: \"startNow\",\n value: false,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.formData.state.startNow = $event)),\n onChange: _cache[4] || (_cache[4] = ($event: any) => (_ctx.setStartDateThreeDaysFromNow($event)))\n }, null, 544), [\n [_vModelRadio, _ctx.formData.state.startNow]\n ]),\n _hoisted_25,\n _createVNode(\"div\", _hoisted_26, [\n _hoisted_27,\n (_ctx.formData.state.startNow === false)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_28, [\n _createVNode(_component_DatePicker, {\n error: _ctx.startDateErrors,\n modelValue: _ctx.formData.state.startDate,\n \"onUpdate:modelValue\": [\n _cache[5] || (_cache[5] = ($event: any) => (_ctx.formData.state.startDate = $event)),\n _cache[6] || (_cache[6] = ($event: any) => (_ctx.formData.validateInstantInputErrors()))\n ]\n }, null, 8, [\"error\", \"modelValue\"]),\n _createVNode(\"div\", _hoisted_29, [\n (_ctx.startDateErrors)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_30, _toDisplayString(_ctx.startDateErrors), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_31, [\n _createVNode(\"h5\", null, [\n _hoisted_32,\n _createVNode(_component_el_tooltip, {\n placement: \"top-start\",\n content: \"Keywords are words or phrases that match your ads with users’ search terms (e.g., \\\"best pizza places near me\\\" or \\\"auto repair shop open now\\\").\"\n }, {\n default: _withId(() => [\n _hoisted_33\n ]),\n _: 1\n })\n ]),\n _hoisted_34,\n _hoisted_35,\n _createVNode(_component_el_row, {\n gutter: 20,\n class: \"custom-keywords-form\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { span: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_form, null, {\n default: _withId(() => [\n _createVNode(_component_el_form_item, {\n error: _ctx.customKeyword && _ctx.customKeyword.length > 29 ? 'You have reached the maximum length of 30 characters' : ''\n }, {\n default: _withId(() => [\n _createVNode(_component_el_input, {\n placeholder: \"\",\n disabled: _ctx.formData.state.customKeywords.length > 4,\n onKeydown: _cache[7] || (_cache[7] = _withKeys(_withModifiers(() => {}, [\"prevent\"]), [\"enter\"])),\n onKeyup: _withKeys(_ctx.addKeyword, [\"enter\"]),\n modelValue: _ctx.customKeyword,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => (_ctx.customKeyword = $event)),\n maxlength: \"30\",\n \"show-word-limit\": \"\",\n onInput: _ctx.keywordInput\n }, null, 8, [\"disabled\", \"onKeyup\", \"modelValue\", \"onInput\"])\n ]),\n _: 1\n }, 8, [\"error\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, { span: 4 }, {\n default: _withId(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _ctx.addKeyword,\n disabled: _ctx.formData.state.customKeywords.length > 4\n }, {\n default: _withId(() => [\n _hoisted_36\n ]),\n _: 1\n }, 8, [\"onClick\", \"disabled\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(\"div\", _hoisted_37, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.formData.state.customKeywords, (keyword, index) => {\n return (_openBlock(), _createBlock(_component_el_tag, {\n key: keyword,\n closable: \"\",\n onClose: ($event: any) => (_ctx.removeKeyword(index))\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(keyword), 1)\n ]),\n _: 2\n }, 1032, [\"onClose\"]))\n }), 128))\n ]),\n _createVNode(\"div\", _hoisted_38, [\n (_ctx.customKeywordsErrors)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_39, _toDisplayString(_ctx.customKeywordsErrors), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _hoisted_40\n ]),\n _createVNode(\"div\", _hoisted_41, [\n _hoisted_42,\n _hoisted_43,\n _createVNode(\"div\", _hoisted_44, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.keywords, (keyword) => {\n return (_openBlock(), _createBlock(\"div\", {\n key: keyword.id,\n class: [\"keyword\", { selected: _ctx.keywordSelected(keyword.id) }],\n onClick: ($event: any) => (_ctx.toggleKeyword(keyword.id))\n }, [\n _createVNode(\"span\", null, _toDisplayString(keyword.pattern), 1),\n _hoisted_45\n ], 10, [\"onClick\"]))\n }), 128))\n ]),\n _createVNode(\"div\", _hoisted_46, [\n (_ctx.keywordsErrors)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_47, _toDisplayString(_ctx.keywordsErrors), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (_ctx.extensions.length > 0)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_48, [\n _hoisted_49,\n _createVNode(\"div\", _hoisted_50, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.extensions, (extension) => {\n return (_openBlock(), _createBlock(\"div\", {\n class: \"extension\",\n key: extension\n }, [\n _createVNode(\"label\", _hoisted_51, [\n _withDirectives(_createVNode(\"input\", {\n type: \"checkbox\",\n name: \"extensions\",\n value: extension,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => (_ctx.formData.state.extensions = $event))\n }, null, 8, [\"value\"]), [\n [_vModelCheckbox, _ctx.formData.state.extensions]\n ]),\n _hoisted_52,\n _createVNode(\"span\", null, _toDisplayString(extension), 1)\n ])\n ]))\n }), 128))\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.adPreviewMetadata !== null)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_53, [\n _hoisted_54,\n _hoisted_55,\n _createVNode(\"div\", _hoisted_56, [\n _createVNode(\"div\", _hoisted_57, [\n _hoisted_58,\n _createVNode(\"span\", _hoisted_59, _toDisplayString(_ctx.adPreviewMetadata.url), 1),\n _hoisted_60\n ]),\n _createVNode(\"span\", _hoisted_61, _toDisplayString(_ctx.adPreviewMetadata.title), 1),\n _createVNode(\"span\", _hoisted_62, _toDisplayString(_ctx.adPreviewMetadata.description), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"label\", _hoisted_63, [\n _hoisted_64,\n _withDirectives(_createVNode(\"textarea\", {\n onInput: _cache[10] || (_cache[10] = ($event: any) => (_ctx.formData.validateInstantInputErrors())),\n class: {'w-error': _ctx.commentsErrors},\n rows: \"5\",\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => (_ctx.formData.state.comments = $event)),\n required: \"\",\n placeholder: \"Is there anything specific your Account Manager should incorporate into your ad copy? Are there specific products/services we should prioritize over others? Let us know here!\"\n }, null, 34), [\n [_vModelText, _ctx.formData.state.comments]\n ]),\n _createVNode(\"div\", _hoisted_65, [\n (_ctx.commentsErrors)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_66, _toDisplayString(_ctx.commentsErrors), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createVNode(\"label\", _hoisted_67, [\n _withDirectives(_createVNode(\"input\", {\n type: \"checkbox\",\n class: {'w-error': _ctx.tosErrors},\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => (_ctx.formData.state.tos = $event)),\n required: \"\",\n name: \"tos\"\n }, null, 2), [\n [_vModelCheckbox, _ctx.formData.state.tos]\n ]),\n _hoisted_68,\n _createVNode(\"div\", null, [\n _createVNode(\"span\", null, [\n _hoisted_69,\n _hoisted_70,\n _hoisted_71,\n _createVNode(\"a\", {\n href: _ctx.brand.tos,\n target: \"_blank\"\n }, _toDisplayString(_ctx.brand.name) + \" Terms of Service\", 9, [\"href\"]),\n _hoisted_72\n ]),\n _createVNode(\"div\", _hoisted_73, [\n (_ctx.tosErrors)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_74, _toDisplayString(_ctx.tosErrors), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _createVNode(\"label\", _hoisted_75, [\n _withDirectives(_createVNode(\"input\", {\n type: \"checkbox\",\n class: {'w-error': _ctx.idVerificationErrors},\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => (_ctx.formData.state.idVerification = $event)),\n required: \"\",\n name: \"idVerification\"\n }, null, 2), [\n [_vModelCheckbox, _ctx.formData.state.idVerification]\n ]),\n _hoisted_76,\n _createVNode(\"div\", _hoisted_77, [\n _hoisted_78,\n _createVNode(\"div\", _hoisted_79, [\n (_ctx.idVerificationErrors)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_80, _toDisplayString(_ctx.idVerificationErrors), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n (_ctx.formData.submittedFormError)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_81, [\n _createVNode(\"span\", null, [\n _hoisted_82,\n _createTextVNode(_toDisplayString(_ctx.formData.submittedFormError), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_83, [\n _createVNode(\"div\", _hoisted_84, [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.WizardBudget },\n class: \"secondary link-button\"\n }, {\n default: _withId(() => [\n _hoisted_85\n ]),\n _: 1\n }, 8, [\"to\"])\n ]),\n _hoisted_86\n ]),\n (_ctx.isUpnetic)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_87, \"You will submit your payment method in a new tab in Google Ads. Once completed, your ads campaign will be sent for approval which takes 1-2 business days.\"))\n : _createCommentVNode(\"\", true)\n ], 32)\n ], 2)\n ])\n ], 64))\n})","\nimport { Options, Vue } from '@/vue';\nimport WizardInfo, { WizardInfoMetaData } from '@/components/wizard-info.vue';\nimport { RouteName } from '@/router';\nimport { FormGroup, genericFormValidator, maxLength, minDate, requiredArray, requiredBoolean } from '@/utils/form';\nimport { brand } from '@/utils/environment';\nimport { DatePicker, LoadingOverlay, WizardProgress } from '@/components';\nimport moment from 'moment';\nimport { ApiService } from '@/services/api.service';\nimport {\n CampaignBudgetLevel,\n CampaignStateModel,\n CampaignWizardStep\n} from '@/models/campaign-wizard/campaign-state.model';\nimport { replacePlaceholders } from '@/utils/helpers';\nimport { isAuthenticationException } from '@/utils/exceptions';\nimport { WizardService } from '@/services/wizard.service';\nimport { TaxonomyKeywordModel } from '@/models/taxonomies/taxonomy-keyword.model';\nimport { ElMessage, ElNotification } from 'element-plus';\nimport { CampaignBillingResultModel } from '@/models/campaign-wizard/campaign-billing-result.model';\nimport { GenericCampaign } from '@/config/index';\n\ninterface AdPreviewMetadata {\n url: string;\n title: string;\n description: string;\n}\n\n@Options({\n components: {\n WizardInfo,\n WizardProgress,\n LoadingOverlay,\n DatePicker\n }\n})\nexport default class Review extends Vue {\n private apiService: ApiService = ApiService.Instance;\n private wizardService: WizardService = WizardService.Instance;\n infoMetadata: WizardInfoMetaData = {\n metric: '59% of shoppers',\n afterMetric: 'say they research online before making a purchase to ensure they are making the best possible choice.',\n quote: '– Google/Ipsos study'\n };\n\n RouteName = RouteName;\n loading = false;\n spendPerMonth = 456;\n budgetLevel = CampaignBudgetLevel.Medium;\n keywords: Array = [];\n customKeyword = '';\n extensions: string[] = [];\n\n adPreviewMetadata: AdPreviewMetadata | null = null;\n\n get spendPerDay(): number {\n return Math.round(this.spendPerMonth / 31);\n }\n\n get clicksPerMonth(): string {\n return `${this.spendPerMonth / 10} - ${this.spendPerMonth / 2}`;\n }\n\n addKeyword(): void {\n if (this.customKeyword.length > 0) {\n if (this.validateKeyword(this.customKeyword)) {\n this.formData.state.customKeywords.push(this.customKeyword.toLowerCase());\n this.customKeyword = '';\n } else {\n ElMessage.error('Invalid keyword');\n }\n }\n }\n\n keywordInput(value: string) {\n /**\n * Only allow alphanumeric and space characters for custom keywords\n */\n this.customKeyword = this.customKeyword.replace(/[^a-zA-Z0-9 ]/gi, '');\n }\n\n removeKeyword(index: number): void {\n this.formData.state.customKeywords.splice(index, 1);\n }\n\n keywordSelected(id: string): boolean {\n return this.formData.state.keywords.includes(id);\n }\n\n toggleKeyword(id: string) {\n const isSelected = this.formData.state.keywords.includes(id);\n if (isSelected) {\n this.formData.state.keywords = this.formData.state.keywords.filter((k) => k !== id);\n } else {\n this.formData.state.keywords.push(id);\n }\n }\n\n get startDateErrors(): string | undefined {\n return this.formData.instantInputErrors?.startDate?.minDate;\n }\n\n clearStartDate(val: boolean) {\n if (val) {\n this.formData.state.startDate = null;\n }\n }\n\n setStartDateThreeDaysFromNow(val: boolean) {\n if (val) {\n this.formData.state.startDate = moment().add(2, 'days').startOf('day').valueOf();\n }\n }\n\n get idVerificationErrors(): string | undefined {\n return this.formData.submittedInputErrors?.idVerification?.required;\n }\n\n get tosErrors(): string | undefined {\n return this.formData.submittedInputErrors?.tos?.required;\n }\n\n get commentsErrors(): string | undefined {\n return this.formData.instantInputErrors?.comments?.maxLength;\n }\n\n get keywordsErrors(): string | undefined {\n return this.formData.submittedInputErrors?.keywords?.required;\n }\n\n get customKeywordsErrors(): string | undefined {\n return this.formData.submittedInputErrors?.customKeywords?.required;\n }\n\n validateKeyword(value: string): boolean {\n const keyword = value.replace(/[[\\]\"]/mg, '');\n return (keyword.length >= 2 && keyword.length <= 30) && keyword.match(/^([a-zA-Z0-9[\\]\" ]+)$/) !== null;\n }\n\n buildAdPreview(state: CampaignStateModel) {\n const url = state.websiteUrl!;\n // TODO make this more robust\n if (state.campaigns?.length && state.campaigns[0].headlines.length && state.campaigns[0].descriptions.length) {\n const title = state.campaigns[0].headlines[0];\n const description = state.campaigns[0].descriptions[0];\n if (url && title && description) {\n this.adPreviewMetadata = {\n url: url,\n title: replacePlaceholders(state, title),\n description: replacePlaceholders(state, description)\n };\n }\n }\n }\n\n async mounted() {\n this.loading = true;\n try {\n const state = await this.wizardService.getStateOrReRoute(this.$router, this.$route.name);\n const extensions = await this.apiService.getAvailableExtensionsForCampaign();\n const keywords = await this.apiService.getAvailableKeywordsForCampaign();\n\n this.buildAdPreview(state);\n\n this.budgetLevel = state.preferredBudgetLevel ?? CampaignBudgetLevel.Medium;\n this.spendPerMonth = 0;\n\n const campaigns = state.campaigns ?? [];\n if (campaigns.length === 0) campaigns.push(GenericCampaign);\n\n // eslint-disable-next-line no-unused-expressions\n campaigns.forEach((campaign) => {\n switch (this.budgetLevel) {\n case CampaignBudgetLevel.Low:\n this.spendPerMonth += campaign.lowBudget;\n break;\n case CampaignBudgetLevel.Medium:\n this.spendPerMonth += campaign.mediumBudget;\n break;\n case CampaignBudgetLevel.High:\n this.spendPerMonth += campaign.highBudget;\n break;\n }\n });\n\n this.extensions = extensions;\n this.keywords = keywords;\n this.formData.state.customKeywords = state.customKeywords ?? [];\n this.formData.state.keywords = keywords.map((keyword) => (keyword.id));\n if (state.step === CampaignWizardStep.Billing) {\n await this.$router.push({ name: RouteName.WizardBilling });\n }\n this.loading = false;\n } catch (e) {\n if (isAuthenticationException(e)) {\n throw e;\n }\n }\n }\n\n get validators() {\n const items = [\n requiredBoolean('tos', 'Please accept the terms of service to continue.'),\n requiredBoolean('idVerification', 'Please accept the Google identity verification disclosure to continue.'),\n maxLength('comments', 800, 'Please limit input to 800 characters.', true),\n minDate('startDate', moment().add(1, 'days').startOf('day').valueOf(), 'Please select a date at least 2 business days away to ensure time for review.', true),\n requiredArray('customKeywords', 'Please enter at least 1 keyword.')\n ];\n\n if (this.keywords.length > 0) items.push(requiredArray('keywords', 'Please include at least 1 ad group. Ad groups determine what kinds of searches your ad should appear in, so include all ad groups that are relevant to your business.'));\n\n return items;\n }\n\n formData = new FormGroup({\n keywords: [] as string[],\n customKeywords: [] as string[],\n extensions: [] as string[],\n comments: null as string | null,\n startNow: true,\n startDate: null as number | null,\n tos: false,\n idVerification: false\n }, this.validators, genericFormValidator);\n\n onSubmit(e: Event) {\n e.preventDefault();\n\n this.formData.trySubmit(async state => {\n this.loading = true;\n\n const review = {\n startNow: state.startNow,\n startDate: state.startDate,\n keywordIds: state.keywords,\n extensions: state.extensions,\n customKeywords: state.customKeywords,\n comments: state.comments,\n agreedToTos: moment().valueOf()\n };\n\n let billingResult: CampaignBillingResultModel | null = null;\n\n try {\n billingResult = await this.apiService.patchCampaignReview(review);\n } catch (e) {\n ElNotification({\n title: 'Error',\n message: 'There was an error saving your progress, please try again, or contact support if you continue to receive this message.',\n type: 'error'\n });\n }\n\n if (billingResult) {\n if (brand.isUpnetic) {\n window.open(billingResult.billingLink, '_blank');\n }\n await this.$router.push({ name: RouteName.WizardBilling });\n }\n\n this.loading = false;\n });\n }\n}\n","import { render } from \"./review.vue?vue&type=template&id=20e8d4e9&scoped=true&ts=true\"\nimport script from \"./review.vue?vue&type=script&lang=ts\"\nexport * from \"./review.vue?vue&type=script&lang=ts\"\n\nimport \"./review.vue?vue&type=style&index=0&id=20e8d4e9&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-20e8d4e9\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_view = _resolveComponent(\"router-view\")\n\n return (_openBlock(), _createBlock(_component_router_view))\n}","\nimport { Vue, Options } from '../../vue';\nimport { DashboardService } from '../../services/dashboard.service';\nimport { LoadingOverlay } from '../../components';\n\n@Options({\n components: {\n LoadingOverlay\n }\n})\nexport default class Dashboard extends Vue {\n private dashboardService: DashboardService = DashboardService.Instance;\n\n loading = false;\n\n async beforeMount() {\n this.loading = true;\n try {\n await this.dashboardService.reroute(this.$router, this.$route.name);\n } catch (e) {\n }\n this.loading = false;\n }\n}\n\n","import { render } from \"./dashboard.vue?vue&type=template&id=35128c5e&ts=true\"\nimport script from \"./dashboard.vue?vue&type=script&lang=ts\"\nexport * from \"./dashboard.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createVNode as _createVNode, resolveComponent as _resolveComponent, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-066cde26\")\n\n_pushScopeId(\"data-v-066cde26\")\nconst _hoisted_1 = { id: \"sign-in\" }\nconst _hoisted_2 = { id: \"header\" }\nconst _hoisted_3 = { class: \"wrapper\" }\nconst _hoisted_4 = { class: \"button-container ignore\" }\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"img\", {\n src: \"/img/google-badge.svg\",\n alt: \"google-badge\",\n class: \"badge\"\n}, null, -1)\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"span\", null, \"Continue with Google\", -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_LoadingOverlay = _resolveComponent(\"LoadingOverlay\")\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"img\", {\n id: \"logo\",\n class: _ctx.brand.slug + '-logo',\n src: '/img/' + _ctx.brand.slug + '-logo.svg',\n width: \"200\"\n }, null, 10, [\"src\"])\n ]),\n _createVNode(\"div\", {\n id: \"content\",\n class: {loading: _ctx.loading}\n }, [\n _createVNode(_component_LoadingOverlay),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"h1\", null, \"Sign In to \" + _toDisplayString(_ctx.brand.name) + \" Ads\", 1),\n _createVNode(\"p\", null, \"Because \" + _toDisplayString(_ctx.brand.name) + \" is built on Google Ads, you must sign in with your Google account to continue.\", 1),\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(\"button\", {\n class: \"w-icon sso-button\",\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.signIn && _ctx.signIn(...args)))\n }, [\n _hoisted_5,\n _hoisted_6\n ])\n ])\n ])\n ], 2)\n ]))\n})","\nimport { Vue, Options } from '../../vue';\nimport { AuthService } from '../../services/auth.service';\nimport { DashboardService } from '../../services/dashboard.service';\nimport { isAuthenticationException, isHttpException } from '../../utils/exceptions';\nimport { ApiService } from '../../services/api.service';\nimport { RouteName } from '../../router';\nimport { UserRole } from '../../models/user.model';\nimport { LoadingOverlay } from '../../components';\n\n@Options({\n components: {\n LoadingOverlay\n }\n})\nexport default class DashboardSignIn extends Vue {\n private authService: AuthService = AuthService.Instance;\n private dashboardService: DashboardService = DashboardService.Instance;\n private apiService: ApiService = ApiService.Instance;\n loading = false;\n\n async signIn() {\n this.loading = true;\n await this.authService.authenticate();\n this.loading = false;\n }\n\n async mounted() {\n this.loading = true;\n try {\n let profile = await this.apiService.getProfile();\n const inviteCode = this.$route.query.invite as string | undefined;\n if (inviteCode !== undefined) {\n await this.apiService.useInviteCode(inviteCode);\n profile = await this.apiService.getProfile();\n }\n switch (profile.role) {\n case UserRole.SupportAgent:\n case UserRole.AccountManager:\n case UserRole.Admin:\n case UserRole.AdminReadOnly:\n // eslint-disable-next-line no-case-declarations\n const adminLastPath = localStorage.getItem('admin-last-path');\n if (adminLastPath) {\n localStorage.removeItem('admin-last-path');\n await this.$router.push(adminLastPath);\n } else {\n await this.$router.push({ name: RouteName.AdminOverview });\n }\n /**\n * We use this as a workaround to \"reload\" the page after admin has logged in, so we can correctly detect the /admin/ URL\n * in the index.html file (mouseflow, livechat, etc)\n */\n await this.$router.go(0);\n break;\n case UserRole.Customer:\n await this.$router.push({ name: RouteName.Dashboard });\n break;\n }\n } catch (e) {\n if (isHttpException(e)) {\n if (e.status === 410) {\n await this.$router.push({ name: RouteName.InviteExpired });\n }\n\n if (!isAuthenticationException(e)) {\n throw e;\n }\n }\n } finally {\n this.loading = false;\n }\n }\n}\n\n","import { render } from \"./sign-in.vue?vue&type=template&id=066cde26&scoped=true&ts=true\"\nimport script from \"./sign-in.vue?vue&type=script&lang=ts\"\nexport * from \"./sign-in.vue?vue&type=script&lang=ts\"\n\nimport \"./sign-in.vue?vue&type=style&index=0&id=066cde26&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-066cde26\"]])\n\nexport default __exports__","import { createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vModelText as _vModelText, withDirectives as _withDirectives, resolveComponent as _resolveComponent, createStaticVNode as _createStaticVNode, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-2825bbf2\")\n\n_pushScopeId(\"data-v-2825bbf2\")\nconst _hoisted_1 = { id: \"debug\" }\nconst _hoisted_2 = { id: \"header\" }\nconst _hoisted_3 = { id: \"content\" }\nconst _hoisted_4 = { class: \"wrapper\" }\nconst _hoisted_5 = { class: \"button-container ignore\" }\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"img\", {\n src: \"/img/google-badge.svg\",\n alt: \"google-badge\",\n class: \"badge\"\n}, null, -1)\nconst _hoisted_7 = /*#__PURE__*/_createVNode(\"span\", null, \"Continue with Google\", -1)\nconst _hoisted_8 = { class: \"button-container ignore\" }\nconst _hoisted_9 = /*#__PURE__*/_createVNode(\"span\", {\n style: {\"background-color\":\"#fff\",\"width\":\"37px\",\"height\":\"36px\"},\n class: \"badge\"\n}, [\n /*#__PURE__*/_createVNode(\"img\", {\n src: \"/img/adp-badge.svg\",\n alt: \"adp-badge\",\n style: {\"margin\":\"10px 2px 0 2px\"}\n })\n], -1)\nconst _hoisted_10 = /*#__PURE__*/_createVNode(\"span\", null, \"Continue with ADP\", -1)\nconst _hoisted_11 = {\n key: 0,\n class: \"button-container ignore\"\n}\nconst _hoisted_12 = /*#__PURE__*/_createVNode(\"span\", {\n style: {\"background-color\":\"#fff\",\"width\":\"37px\",\"height\":\"36px\"},\n class: \"badge\"\n}, [\n /*#__PURE__*/_createVNode(\"img\", {\n src: \"/img/adp-badge.svg\",\n alt: \"adp-badge\",\n style: {\"margin\":\"10px 2px 0 2px\"}\n })\n], -1)\nconst _hoisted_13 = /*#__PURE__*/_createVNode(\"span\", null, \"Unlink ADP\", -1)\nconst _hoisted_14 = /*#__PURE__*/_createVNode(\"span\", {\n style: {\"background-color\":\"#fff\",\"width\":\"37px\",\"height\":\"36px\"},\n class: \"badge\"\n}, [\n /*#__PURE__*/_createVNode(\"img\", {\n src: \"/img/adp-badge.svg\",\n alt: \"adp-badge\",\n style: {\"margin\":\"10px 2px 0 2px\"}\n })\n], -1)\nconst _hoisted_15 = /*#__PURE__*/_createVNode(\"span\", null, \"Link with ADP\", -1)\nconst _hoisted_16 = {\n key: 1,\n class: \"button-container ignore\"\n}\nconst _hoisted_17 = /*#__PURE__*/_createVNode(\"img\", {\n src: \"/img/google-badge.svg\",\n alt: \"google-badge\",\n class: \"badge\"\n}, null, -1)\nconst _hoisted_18 = /*#__PURE__*/_createVNode(\"span\", null, \"Link with Google\", -1)\nconst _hoisted_19 = /*#__PURE__*/_createVNode(\"img\", {\n src: \"/img/google-badge.svg\",\n alt: \"google-badge\",\n class: \"badge\"\n}, null, -1)\nconst _hoisted_20 = /*#__PURE__*/_createVNode(\"span\", null, \"Unlink Google\", -1)\nconst _hoisted_21 = { class: \"button-container\" }\nconst _hoisted_22 = /*#__PURE__*/_createVNode(\"span\", null, \"Get Profile\", -1)\nconst _hoisted_23 = { class: \"button-container\" }\nconst _hoisted_24 = /*#__PURE__*/_createVNode(\"span\", null, \"Sign Out\", -1)\nconst _hoisted_25 = /*#__PURE__*/_createStaticVNode(\"\", 4)\nconst _hoisted_29 = { class: \"inputs\" }\nconst _hoisted_30 = /*#__PURE__*/_createVNode(\"label\", { class: \"input-container\" }, [\n /*#__PURE__*/_createVNode(\"input\", {\n type: \"text\",\n placeholder: \"placeholder\",\n disabled: \"\"\n }),\n /*#__PURE__*/_createVNode(\"i\")\n], -1)\nconst _hoisted_31 = { class: \"input-container\" }\nconst _hoisted_32 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_33 = { class: \"button-container\" }\nconst _hoisted_34 = /*#__PURE__*/_createVNode(\"span\", null, \"Force Creation\", -1)\nconst _hoisted_35 = { class: \"button-container\" }\nconst _hoisted_36 = /*#__PURE__*/_createVNode(\"span\", null, \"Wipe User\", -1)\nconst _hoisted_37 = /*#__PURE__*/_createVNode(\"label\", { class: \"input-container\" }, [\n /*#__PURE__*/_createVNode(\"input\", {\n type: \"text\",\n class: \"w-error\"\n }),\n /*#__PURE__*/_createVNode(\"i\")\n], -1)\nconst _hoisted_38 = { class: \"input-container\" }\nconst _hoisted_39 = { class: \"input-container\" }\nconst _hoisted_40 = { class: \"input-container\" }\nconst _hoisted_41 = { class: \"input-container\" }\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_DatePicker = _resolveComponent(\"DatePicker\")\n const _component_Dropdown = _resolveComponent(\"Dropdown\")\n const _component_PlacesInput = _resolveComponent(\"PlacesInput\")\n const _component_LoadingIndicator = _resolveComponent(\"LoadingIndicator\")\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"img\", {\n id: \"logo\",\n alt: \"Brand Logo\",\n class: _ctx.brand.slug + '-logo',\n src: '/img/' + _ctx.brand.slug + '-logo.svg',\n width: \"200\"\n }, null, 10, [\"src\"])\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(\"button\", {\n class: \"w-icon sso-button\",\n disabled: _ctx.authenticated,\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.signIn && _ctx.signIn(...args)))\n }, [\n _hoisted_6,\n _hoisted_7\n ], 8, [\"disabled\"])\n ]),\n _createVNode(\"div\", _hoisted_8, [\n _createVNode(\"button\", {\n class: \"w-icon sso-button\",\n disabled: _ctx.authenticated,\n onClick: _cache[2] || (_cache[2] = \n//@ts-ignore\n(...args) => (_ctx.signInAdp && _ctx.signInAdp(...args)))\n }, [\n _hoisted_9,\n _hoisted_10\n ], 8, [\"disabled\"])\n ]),\n (_ctx.authenticated && (_ctx.canLinkAdp || _ctx.canUnlinkAdp))\n ? (_openBlock(), _createBlock(\"div\", _hoisted_11, [\n (_ctx.canUnlinkAdp)\n ? (_openBlock(), _createBlock(\"button\", {\n key: 0,\n class: \"w-icon sso-button\",\n onClick: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.unlinkAdp && _ctx.unlinkAdp(...args)))\n }, [\n _hoisted_12,\n _hoisted_13\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.canLinkAdp)\n ? (_openBlock(), _createBlock(\"button\", {\n key: 1,\n class: \"w-icon sso-button\",\n onClick: _cache[4] || (_cache[4] = \n//@ts-ignore\n(...args) => (_ctx.linkToAdp && _ctx.linkToAdp(...args)))\n }, [\n _hoisted_14,\n _hoisted_15\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.authenticated && (_ctx.canLinkGoogle || _ctx.canUnlinkGoogle))\n ? (_openBlock(), _createBlock(\"div\", _hoisted_16, [\n (_ctx.canLinkGoogle)\n ? (_openBlock(), _createBlock(\"button\", {\n key: 0,\n class: \"w-icon sso-button\",\n onClick: _cache[5] || (_cache[5] = \n//@ts-ignore\n(...args) => (_ctx.linkToGoogle && _ctx.linkToGoogle(...args)))\n }, [\n _hoisted_17,\n _hoisted_18\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.canUnlinkGoogle)\n ? (_openBlock(), _createBlock(\"button\", {\n key: 1,\n class: \"w-icon sso-button\",\n onClick: _cache[6] || (_cache[6] = \n//@ts-ignore\n(...args) => (_ctx.unlinkGoogle && _ctx.unlinkGoogle(...args)))\n }, [\n _hoisted_19,\n _hoisted_20\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_21, [\n _createVNode(\"button\", {\n onClick: _cache[7] || (_cache[7] = \n//@ts-ignore\n(...args) => (_ctx.logUser && _ctx.logUser(...args))),\n disabled: !_ctx.authenticated\n }, [\n _hoisted_22\n ], 8, [\"disabled\"])\n ]),\n _createVNode(\"div\", _hoisted_23, [\n _createVNode(\"button\", {\n class: \"secondary\",\n disabled: !_ctx.authenticated,\n onClick: _cache[8] || (_cache[8] = \n//@ts-ignore\n(...args) => (_ctx.signOut && _ctx.signOut(...args)))\n }, [\n _hoisted_24\n ], 8, [\"disabled\"])\n ]),\n _hoisted_25,\n _createVNode(\"div\", _hoisted_29, [\n _hoisted_30,\n _createVNode(\"label\", _hoisted_31, [\n _withDirectives(_createVNode(\"input\", {\n type: \"text\",\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => (_ctx.userId = $event)),\n placeholder: \"user id to force\"\n }, null, 512), [\n [_vModelText, _ctx.userId]\n ]),\n _hoisted_32\n ]),\n _createVNode(\"div\", _hoisted_33, [\n _createVNode(\"button\", {\n onClick: _cache[10] || (_cache[10] = \n//@ts-ignore\n(...args) => (_ctx.forceCampaign && _ctx.forceCampaign(...args)))\n }, [\n _hoisted_34\n ])\n ]),\n _createVNode(\"div\", _hoisted_35, [\n _createVNode(\"button\", {\n onClick: _cache[11] || (_cache[11] = \n//@ts-ignore\n(...args) => (_ctx.wipeCampaign && _ctx.wipeCampaign(...args)))\n }, [\n _hoisted_36\n ])\n ]),\n _hoisted_37,\n _createVNode(\"label\", _hoisted_38, [\n _createVNode(_component_DatePicker)\n ]),\n _createVNode(\"label\", _hoisted_39, [\n _createVNode(_component_Dropdown, {\n options: _ctx.options,\n modelValue: _ctx.dropdownModel,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => (_ctx.dropdownModel = $event))\n }, null, 8, [\"options\", \"modelValue\"])\n ]),\n _createVNode(\"label\", _hoisted_40, [\n _createVNode(_component_Dropdown, {\n options: _ctx.options,\n modelValue: _ctx.dropdownModel,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => (_ctx.dropdownModel = $event)),\n altStyle: true\n }, null, 8, [\"options\", \"modelValue\"])\n ]),\n _createVNode(\"label\", _hoisted_41, [\n _createVNode(_component_PlacesInput, { level: _ctx.placesLevel }, null, 8, [\"level\"])\n ])\n ]),\n _createVNode(_component_LoadingIndicator)\n ])\n ])\n ]))\n})","\nimport { Vue, Options, Watch } from '@/vue';\nimport { AuthProviders, AuthService } from '@/services/auth.service';\nimport { ApiService } from '@/services/api.service';\nimport { DatePicker, Dropdown, LoadingIndicator, PlacesInput } from '@/components';\nimport { SelectOption } from '@/components/dropdown.vue';\n\n@Options({\n components: {\n LoadingIndicator,\n DatePicker,\n Dropdown,\n PlacesInput\n }\n})\nexport default class Debug extends Vue {\n private authService: AuthService = AuthService.Instance;\n private apiService: ApiService = ApiService.Instance;\n loading = false;\n authProviders: string[] = [];\n userName: string | null = null;\n\n options: Array> = [\n {\n name: 'Option 1',\n value: '1'\n },\n {\n name: 'Option 2',\n value: '2'\n },\n {\n name: 'Option 3',\n value: '3'\n }\n ];\n\n dropdownModel = '1';\n\n placesLevel = null;\n\n userId = '';\n\n mounted() {\n this.dropdownModel = '2';\n }\n\n get authenticated() {\n return this.authService.authenticated;\n }\n\n @Watch('authenticated')\n async getProviders() {\n this.userName = null;\n this.authProviders = [];\n if (this.authenticated) {\n console.log('Authenticated');\n const user = await this.authService.getAuthentication();\n if (user != null) {\n this.userName = user.email;\n this.authProviders = user.providerData.map(({ providerId }) => providerId);\n }\n }\n }\n\n get canLinkAdp() {\n return !this.authProviders.includes(AuthProviders.adp);\n }\n\n get canUnlinkAdp() {\n return this.authProviders.length > 1 && this.authProviders.includes(AuthProviders.adp);\n }\n\n get canLinkGoogle() {\n return !this.authProviders.includes(AuthProviders.google);\n }\n\n get canUnlinkGoogle() {\n return this.authProviders.length > 1 && this.authProviders.includes(AuthProviders.google);\n }\n\n async signIn() {\n await this.authService.authenticate();\n await this.getProviders();\n }\n\n async signInAdp() {\n await this.authService.authenticateAdp();\n await this.getProviders();\n }\n\n async linkToAdp() {\n await this.authService.linkToAdp();\n await this.getProviders();\n }\n\n async linkToGoogle() {\n await this.authService.linkToGoogle();\n await this.getProviders();\n }\n\n async unlinkAdp() {\n await this.authService.unlinkAdp();\n await this.getProviders();\n }\n\n async unlinkGoogle() {\n await this.authService.unlinkGoogle();\n await this.getProviders();\n }\n\n async signOut() {\n await this.authService.deAuthenticate();\n this.userName = null;\n this.authProviders = [];\n }\n\n async forceCampaign() {\n await this.apiService.forceCampaignCreation(this.userId);\n }\n\n async wipeCampaign() {\n await this.apiService.wipeCampaignState(this.userId);\n }\n\n async logUser() {\n console.log(await this.apiService.getProfile());\n }\n}\n\n","import { render } from \"./debug.vue?vue&type=template&id=2825bbf2&scoped=true&ts=true\"\nimport script from \"./debug.vue?vue&type=script&lang=ts\"\nexport * from \"./debug.vue?vue&type=script&lang=ts\"\n\nimport \"./debug.vue?vue&type=style&index=0&id=2825bbf2&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2825bbf2\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-22cc6d69\")\n\n_pushScopeId(\"data-v-22cc6d69\")\nconst _hoisted_1 = { id: \"info\" }\nconst _hoisted_2 = { id: \"content-wrapper\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"h1\", null, \"Welcome back!\", -1)\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"p\", null, \"To finish setting up your ads, please enter your payment information.\", -1)\nconst _hoisted_5 = { class: \"refresh-indicator\" }\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"p\", { class: \"bold\" }, \"Payment not setup\", -1)\nconst _hoisted_7 = { class: \"button-container\" }\nconst _hoisted_8 = /*#__PURE__*/_createVNode(\"span\", null, \"Continue to Billing Information\", -1)\nconst _hoisted_9 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-long-arrow-right\" }, null, -1)\nconst _hoisted_10 = /*#__PURE__*/_createVNode(\"sub\", null, \"You will submit your payment method in a new tab in Google Ads. Once completed, your ads campaign will be sent for approval which takes 1-2 business days.\", -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_WizardInfo = _resolveComponent(\"WizardInfo\")\n const _component_LoadingOverlay = _resolveComponent(\"LoadingOverlay\")\n const _component_WizardProgress = _resolveComponent(\"WizardProgress\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(_component_WizardInfo, { metadata: _ctx.infoMetadata }, null, 8, [\"metadata\"])\n ]),\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", {\n id: \"content\",\n class: {loading: _ctx.loading}\n }, [\n _createVNode(_component_LoadingOverlay),\n _createVNode(_component_WizardProgress, { step: 5 }),\n _hoisted_3,\n _hoisted_4,\n _createVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createVNode(\"span\", null, \"refreshing in \" + _toDisplayString(_ctx.ttr) + \" seconds\", 1)\n ]),\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(\"a\", {\n href: _ctx.inviteLink,\n class: \"link-button w-arrow\",\n target: \"_blank\"\n }, [\n _hoisted_8,\n _hoisted_9\n ], 8, [\"href\"])\n ]),\n _hoisted_10\n ], 2)\n ])\n ], 64))\n})","\nimport { Options, Vue } from '../../vue';\nimport WizardInfo, { WizardInfoMetaData } from '../../components/wizard-info.vue';\nimport { RouteName } from '../../router';\nimport { LoadingOverlay, WizardProgress } from '../../components';\nimport { ApiService } from '../../services/api.service';\nimport { isAuthenticationException } from '../../utils/exceptions';\nimport { WizardService } from '../../services/wizard.service';\nimport { BillingStatusResponseModel } from '../../models/campaign-wizard/billing-status-response.model';\nimport { CampaignWizardStep } from '../../models/campaign-wizard/campaign-state.model';\n\n@Options({\n components: {\n WizardInfo,\n WizardProgress,\n LoadingOverlay\n }\n})\nexport default class Billing extends Vue {\n private apiService: ApiService = ApiService.Instance;\n private wizardService: WizardService = WizardService.Instance;\n infoMetadata: WizardInfoMetaData = {\n metric: '59% of shoppers',\n afterMetric: 'say they research online before making a purchase to ensure they are making the best possible choice.',\n quote: '– Google/Ipsos study'\n };\n\n RouteName = RouteName;\n loading = false;\n inviteLink: string | null = null;\n ttr = 5;\n private interval: NodeJS.Timeout | null = null;\n\n async routeToNextStep(billingStatus: BillingStatusResponseModel) {\n if (billingStatus.nextStep === CampaignWizardStep.Location) {\n await this.$router.push({ name: RouteName.WizardLocation });\n } else {\n await this.$router.push({ name: RouteName.WizardTracking });\n }\n }\n\n async mounted() {\n this.loading = true;\n try {\n const state = await this.wizardService.getStateOrReRoute(this.$router, this.$route.name);\n this.inviteLink = state.inviteLink;\n const billingStatus = await this.apiService.getCustomerBillingStatus();\n if (billingStatus.isActive) {\n await this.routeToNextStep(billingStatus);\n } else {\n this.interval = setInterval(async() => {\n this.ttr--;\n if (this.ttr === 0) {\n const billingStatus = await this.apiService.getCustomerBillingStatus();\n if (billingStatus.isActive) {\n clearInterval(this.interval!);\n await this.routeToNextStep(billingStatus);\n }\n this.ttr = 5;\n }\n }, 1000);\n }\n this.loading = false;\n } catch (e) {\n if (isAuthenticationException(e)) {\n throw e;\n }\n }\n }\n}\n","import { render } from \"./billing.vue?vue&type=template&id=22cc6d69&scoped=true&ts=true\"\nimport script from \"./billing.vue?vue&type=script&lang=ts\"\nexport * from \"./billing.vue?vue&type=script&lang=ts\"\n\nimport \"./billing.vue?vue&type=style&index=0&id=22cc6d69&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-22cc6d69\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, Fragment as _Fragment, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-0427e995\")\n\n_pushScopeId(\"data-v-0427e995\")\nconst _hoisted_1 = { id: \"info\" }\nconst _hoisted_2 = { id: \"content-wrapper\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"h1\", null, \"Billing Details\", -1)\nconst _hoisted_4 = {\n id: \"payment-form\",\n ref: \"paymentForm\"\n}\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"div\", { id: \"payment-element\" }, null, -1)\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"div\", { id: \"error-message\" }, null, -1)\nconst _hoisted_7 = /*#__PURE__*/_createVNode(\"h2\", null, \"Summary\", -1)\nconst _hoisted_8 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_9 = /*#__PURE__*/_createVNode(\"h3\", { class: \"header\" }, \"Monthly\", -1)\nconst _hoisted_10 = /*#__PURE__*/_createTextVNode(\" Ad Spend \")\nconst _hoisted_11 = /*#__PURE__*/_createTextVNode(\" Campaign Fee \")\nconst _hoisted_12 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_13 = /*#__PURE__*/_createVNode(\"span\", { class: \"total-label\" }, \" Total \", -1)\nconst _hoisted_14 = /*#__PURE__*/_createVNode(\"br\", null, null, -1)\nconst _hoisted_15 = /*#__PURE__*/_createVNode(\"div\", { class: \"total-disclaimer\" }, \" *Billed at end of each month \", -1)\nconst _hoisted_16 = { class: \"total-amount\" }\nconst _hoisted_17 = /*#__PURE__*/_createVNode(\"hr\", { class: \"hr\" }, null, -1)\nconst _hoisted_18 = /*#__PURE__*/_createVNode(\"h3\", { class: \"header\" }, \"Due Today\", -1)\nconst _hoisted_19 = /*#__PURE__*/_createTextVNode(\" One-Time Setup \")\nconst _hoisted_20 = /*#__PURE__*/_createTextVNode(\" $49 \")\nconst _hoisted_21 = /*#__PURE__*/_createVNode(\"hr\", { class: \"summary-hr\" }, null, -1)\nconst _hoisted_22 = /*#__PURE__*/_createTextVNode(\" Today's Total \")\nconst _hoisted_23 = /*#__PURE__*/_createVNode(\"span\", { class: \"total-amount\" }, \"$49\", -1)\nconst _hoisted_24 = /*#__PURE__*/_createTextVNode(\" Have billing questions? \")\nconst _hoisted_25 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-envelope\" }, null, -1)\nconst _hoisted_26 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-phone\" }, null, -1)\nconst _hoisted_27 = { class: \"button-container\" }\nconst _hoisted_28 = /*#__PURE__*/_createVNode(\"span\", null, \"Complete\", -1)\nconst _hoisted_29 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-long-arrow-right\" }, null, -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_WizardInfo = _resolveComponent(\"WizardInfo\")\n const _component_LoadingOverlay = _resolveComponent(\"LoadingOverlay\")\n const _component_WizardProgress = _resolveComponent(\"WizardProgress\")\n const _component_el_alert = _resolveComponent(\"el-alert\")\n const _component_el_col = _resolveComponent(\"el-col\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_skeleton_item = _resolveComponent(\"el-skeleton-item\")\n const _component_el_skeleton = _resolveComponent(\"el-skeleton\")\n const _component_el_card = _resolveComponent(\"el-card\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(_component_WizardInfo, { metadata: _ctx.infoMetadata }, null, 8, [\"metadata\"])\n ]),\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", {\n id: \"content\",\n class: {loading: _ctx.loading}\n }, [\n _createVNode(_component_LoadingOverlay),\n _createVNode(_component_WizardProgress, { step: 5 }),\n _hoisted_3,\n _createVNode(\"p\", null, \"Please enter your billing information below in order to complete your \" + _toDisplayString(_ctx.brand.name) + \" Google Ads subscription. \" + _toDisplayString(_ctx.brand.name) + \" will provide you with a monthly statement of all monthly charges, and \" + _toDisplayString(_ctx.brand.name) + \" will pay the Google charges and the Campaign Fee directly from this account.\", 1),\n (_ctx.errorDescription)\n ? (_openBlock(), _createBlock(_component_el_row, {\n key: 0,\n class: \"error-row\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { sm: 24 }, {\n default: _withId(() => [\n _createVNode(_component_el_alert, {\n title: \"There was an issue processing your payment:\",\n type: \"error\",\n description: _ctx.errorDescription,\n \"show-icon\": \"\"\n }, null, 8, [\"description\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_el_row, {\n gutter: 10,\n align: \"bottom\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_col, {\n sm: 12,\n xs: 24,\n id: \"payment-col\"\n }, {\n default: _withId(() => [\n (!_ctx.stripeLoaded)\n ? (_openBlock(), _createBlock(_component_el_skeleton, {\n key: 0,\n animated: \"\"\n }, {\n template: _withId(() => [\n _createVNode(_component_el_skeleton_item, {\n variant: \"text\",\n style: {\"width\":\"100%\",\"margin-bottom\":\"10px\",\"margin-top\":\"10px\"}\n }),\n _createVNode(_component_el_skeleton_item, {\n variant: \"rect\",\n style: {\"width\":\"100%\",\"height\":\"40px\",\"margin-bottom\":\"40px\"}\n }),\n _createVNode(_component_el_skeleton_item, {\n variant: \"text\",\n style: {\"width\":\"48%\"}\n }),\n _createVNode(_component_el_skeleton_item, {\n variant: \"text\",\n style: {\"width\":\"48%\",\"margin-left\":\"10px\"}\n }),\n _createVNode(_component_el_skeleton_item, {\n variant: \"rect\",\n style: {\"width\":\"48%\",\"height\":\"40px\"}\n }),\n _createVNode(_component_el_skeleton_item, {\n variant: \"rect\",\n style: {\"width\":\"48%\",\"height\":\"40px\",\"margin-left\":\"10px\"}\n }),\n _createVNode(_component_el_skeleton_item, {\n variant: \"text\",\n style: {\"width\":\"48%\",\"margin-top\":\"40px\"}\n }),\n _createVNode(_component_el_skeleton_item, {\n variant: \"text\",\n style: {\"width\":\"48%\",\"margin-left\":\"10px\"}\n }),\n _createVNode(_component_el_skeleton_item, {\n variant: \"rect\",\n style: {\"width\":\"48%\",\"height\":\"40px\"}\n }),\n _createVNode(_component_el_skeleton_item, {\n variant: \"rect\",\n style: {\"width\":\"48%\",\"height\":\"40px\",\"margin-left\":\"10px\"}\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(\"form\", _hoisted_4, [\n _hoisted_5,\n _hoisted_6\n ], 512)\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, {\n sm: 12,\n xs: 24\n }, {\n default: _withId(() => [\n _createVNode(_component_el_card, {\n class: \"box-card\",\n shadow: \"never\",\n id: \"summary\"\n }, {\n default: _withId(() => [\n _hoisted_7,\n _createVNode(_component_el_alert, {\n title: \"Start today and receive a $500 ad credit after spending $500 in your first 60 days.\",\n closable: false,\n class: \"google-match\"\n }),\n _hoisted_8,\n _createVNode(_component_el_row, { gutter: 10 }, {\n default: _withId(() => [\n _createVNode(_component_el_col, {\n span: 24,\n class: \"header-col\"\n }, {\n default: _withId(() => [\n _hoisted_9\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, {\n span: 12,\n offset: 4,\n class: \"line-item-label\"\n }, {\n default: _withId(() => [\n _hoisted_10\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, {\n span: 4,\n class: \"line-item-cost\"\n }, {\n default: _withId(() => [\n _createTextVNode(\" $\" + _toDisplayString(_ctx.spendPerMonth), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, {\n span: 12,\n offset: 4,\n class: \"line-item-label\"\n }, {\n default: _withId(() => [\n _hoisted_11\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, {\n span: 4,\n class: \"line-item-cost\"\n }, {\n default: _withId(() => [\n _createTextVNode(\" $\" + _toDisplayString(_ctx.campaignFee), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, {\n span: 24,\n class: \"hr-col\"\n }, {\n default: _withId(() => [\n _hoisted_12\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, {\n span: 12,\n offset: 4,\n class: \"line-item-label\"\n }, {\n default: _withId(() => [\n _hoisted_13,\n _hoisted_14,\n _hoisted_15\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, {\n span: 4,\n class: \"line-item-cost\"\n }, {\n default: _withId(() => [\n _createVNode(\"span\", _hoisted_16, \"$\" + _toDisplayString(_ctx.spendPerMonth + _ctx.campaignFee), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _hoisted_17,\n _createVNode(_component_el_row, { gutter: 10 }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { span: 24 }, {\n default: _withId(() => [\n _hoisted_18\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, {\n span: 12,\n offset: 4,\n class: \"line-item-label\"\n }, {\n default: _withId(() => [\n _hoisted_19\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, {\n span: 4,\n class: \"line-item-cost\"\n }, {\n default: _withId(() => [\n _hoisted_20\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, { span: 24 }, {\n default: _withId(() => [\n _hoisted_21\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, {\n class: \"today-total\",\n gutter: 10\n }, {\n default: _withId(() => [\n _createVNode(_component_el_col, {\n span: 12,\n offset: 4\n }, {\n default: _withId(() => [\n _hoisted_22\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, { span: 4 }, {\n default: _withId(() => [\n _hoisted_23\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, { id: \"billing-questions\" }, {\n default: _withId(() => [\n _createVNode(_component_el_col, {\n span: 24,\n class: \"have-questions\"\n }, {\n default: _withId(() => [\n _hoisted_24\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, {\n span: 24,\n class: \"email\"\n }, {\n default: _withId(() => [\n _createVNode(\"a\", {\n href: 'mailto:' + _ctx.brand.email,\n class: \"d-block\"\n }, [\n _hoisted_25,\n _createTextVNode(\" \" + _toDisplayString(_ctx.brand.email), 1)\n ], 8, [\"href\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, {\n span: 24,\n class: \"phone\"\n }, {\n default: _withId(() => [\n _createVNode(\"a\", {\n href: 'tel:' + _ctx.brand.numberOnly,\n class: \"d-block\"\n }, [\n _hoisted_26,\n _createTextVNode(\" \" + _toDisplayString(_ctx.brand.number), 1)\n ], 8, [\"href\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(\"div\", _hoisted_27, [\n _createVNode(\"button\", {\n class: \"link-button w-arrow\",\n target: \"_blank\",\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.submitForm && _ctx.submitForm(...args)))\n }, [\n _hoisted_28,\n _hoisted_29\n ])\n ])\n ], 2)\n ])\n ], 64))\n})","\nimport { Options, Vue } from '../../vue';\nimport WizardInfo, { WizardInfoMetaData } from '../../components/wizard-info.vue';\nimport { RouteName } from '../../router';\nimport { LoadingOverlay, WizardProgress } from '../../components';\nimport { ApiService } from '../../services/api.service';\nimport { isAuthenticationException } from '../../utils/exceptions';\nimport { WizardService } from '../../services/wizard.service';\nimport { BillingStatusResponseModel } from '../../models/campaign-wizard/billing-status-response.model';\nimport { CampaignBudgetLevel, CampaignWizardStep } from '../../models/campaign-wizard/campaign-state.model';\nimport { brand } from '../../utils/environment';\n\n@Options({\n components: {\n WizardInfo,\n WizardProgress,\n LoadingOverlay\n }\n})\nexport default class Billing extends Vue {\n private stripe: any;\n private elements: any;\n private apiService: ApiService = ApiService.Instance;\n private wizardService: WizardService = WizardService.Instance;\n infoMetadata: WizardInfoMetaData = {\n metric: '59% of shoppers',\n afterMetric: 'say they research online before making a purchase to ensure they are making the best possible choice.',\n quote: '– Google/Ipsos study'\n };\n\n stripeLoaded = false;\n errorDescription = '';\n RouteName = RouteName;\n loading = false;\n inviteLink: string | null = null;\n ttr = 5;\n spendPerMonth = 456;\n budgetLevel = CampaignBudgetLevel.Medium;\n\n private interval: NodeJS.Timeout | null = null;\n\n async routeToNextStep(billingStatus: BillingStatusResponseModel) {\n if (billingStatus.nextStep === CampaignWizardStep.Location) {\n await this.$router.push({ name: RouteName.WizardLocation });\n } else {\n await this.$router.push({ name: RouteName.WizardTracking });\n }\n }\n\n get campaignFee(): number {\n return Math.round(this.spendPerMonth * 0.15);\n }\n\n async submitForm() {\n this.loading = true;\n const { error } = await this.stripe.confirmPayment({\n elements: this.elements,\n redirect: 'if_required',\n confirmParams: {\n // eslint-disable-next-line @typescript-eslint/camelcase\n return_url: window.location.origin + '/wizard/billing'\n }\n });\n\n if (error) {\n // This point will only be reached if there is an immediate error when\n // confirming the payment. Show error to your customer (for example, payment\n // details incomplete)\n console.log(error);\n this.errorDescription = error.message;\n } else {\n const billingStatus = await this.apiService.getCustomerBillingStatus();\n if (billingStatus.isActive) {\n await this.routeToNextStep(billingStatus);\n }\n }\n\n this.loading = false;\n }\n\n async mounted() {\n this.loading = true;\n try {\n const state = await this.wizardService.getStateOrReRoute(this.$router, this.$route.name);\n\n const billingStatus = await this.apiService.getCustomerBillingStatus();\n console.log(billingStatus);\n if (billingStatus.isActive) {\n await this.routeToNextStep(billingStatus);\n return;\n }\n\n this.budgetLevel = state.preferredBudgetLevel!;\n this.spendPerMonth = 0;\n // eslint-disable-next-line no-unused-expressions\n state.campaigns?.forEach((campaign) => {\n switch (this.budgetLevel) {\n case CampaignBudgetLevel.Low:\n this.spendPerMonth += campaign.lowBudget;\n break;\n case CampaignBudgetLevel.Medium:\n this.spendPerMonth += campaign.mediumBudget;\n break;\n case CampaignBudgetLevel.High:\n this.spendPerMonth += campaign.highBudget;\n break;\n }\n });\n\n this.inviteLink = state.inviteLink;\n\n // eslint-disable-next-line @typescript-eslint/ban-ts-ignore\n // @ts-ignore\n this.stripe = window.Stripe(brand.stripePublicKey);\n console.log(this.stripe);\n const options = {\n clientSecret: this.inviteLink,\n appearance: {\n variables: {\n spacingUnit: '5px',\n spacingGridRow: '30px'\n }\n }\n };\n this.elements = this.stripe.elements(options);\n const paymentElement = this.elements.create('payment', {\n business: {\n name: 'FTSBN, Inc. (dba GoSmallBiz)'\n }\n });\n paymentElement.on('ready', () => {\n console.log('element ready');\n this.stripeLoaded = true;\n });\n paymentElement.mount('#payment-element');\n this.loading = false;\n } catch (e) {\n if (isAuthenticationException(e)) {\n throw e;\n }\n }\n }\n}\n","import { render } from \"./stripe-billing.vue?vue&type=template&id=0427e995&scoped=true&ts=true\"\nimport script from \"./stripe-billing.vue?vue&type=script&lang=ts\"\nexport * from \"./stripe-billing.vue?vue&type=script&lang=ts\"\n\nimport \"./stripe-billing.vue?vue&type=style&index=0&id=0427e995&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0427e995\"]])\n\nexport default __exports__","import { createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveDynamicComponent as _resolveDynamicComponent } from \"vue\"\n\nconst _hoisted_1 = { id: \"admin\" }\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Overview\")\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Accounts\")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\"Analytics\")\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Taxonomies\")\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\"Users\")\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\"Reports\")\nconst _hoisted_8 = /*#__PURE__*/_createVNode(\"i\", {\n class: \"fas fa-sign-out\",\n style: {\"color\":\"white\"}\n}, null, -1)\nconst _hoisted_9 = { class: \"content-wrapper\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_link = _resolveComponent(\"router-link\")\n const _component_el_menu_item = _resolveComponent(\"el-menu-item\")\n const _component_el_menu = _resolveComponent(\"el-menu\")\n const _component_breadcrumbs = _resolveComponent(\"breadcrumbs\")\n const _component_router_view = _resolveComponent(\"router-view\")\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"nav\", null, [\n _createVNode(\"img\", {\n id: \"admin-logo\",\n class: _ctx.brand.slug + '-logo',\n src: '/img/' + _ctx.brand.slug + '-logo.svg',\n width: \"80\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$router.push({ name: _ctx.RouteName.AdminOverview })))\n }, null, 10, [\"src\"]),\n _createVNode(_component_el_menu, {\n mode: \"horizontal\",\n \"text-color\": \"#ffffff\",\n \"active-text-color\": \"#ffd04b\",\n router: true,\n class: \"nav-menu\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_menu_item, {\n index: \"1\",\n route: { name: _ctx.RouteName.AdminOverview }\n }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.AdminOverview }\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }, 8, [\"to\"])\n ]),\n _: 1\n }, 8, [\"route\"]),\n _createVNode(_component_el_menu_item, {\n index: \"2\",\n route: { name: _ctx.RouteName.AdminAccounts }\n }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.AdminAccounts }\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }, 8, [\"to\"])\n ]),\n _: 1\n }, 8, [\"route\"]),\n (_ctx.isAdmin || _ctx.isAdminReadOnly || _ctx.isAccountManager)\n ? (_openBlock(), _createBlock(_component_el_menu_item, {\n key: 0,\n index: \"3\",\n route: { name: _ctx.RouteName.AdminAnalyticsClusters }\n }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.AdminAnalyticsClusters }\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }, 8, [\"to\"])\n ]),\n _: 1\n }, 8, [\"route\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.isAdmin || _ctx.isAdminReadOnly || _ctx.isAccountManager)\n ? (_openBlock(), _createBlock(_component_el_menu_item, {\n key: 1,\n index: \"4\",\n route: { name: _ctx.RouteName.AdminTaxonomies }\n }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.AdminTaxonomies }\n }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n }, 8, [\"to\"])\n ]),\n _: 1\n }, 8, [\"route\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.isAdmin || _ctx.isAdminReadOnly)\n ? (_openBlock(), _createBlock(_component_el_menu_item, {\n key: 2,\n index: \"5\",\n route: { name: _ctx.RouteName.AdminUsers }\n }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.AdminUsers }\n }, {\n default: _withCtx(() => [\n _hoisted_6\n ]),\n _: 1\n }, 8, [\"to\"])\n ]),\n _: 1\n }, 8, [\"route\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.isAdmin || _ctx.isAdminReadOnly || _ctx.isAccountManager)\n ? (_openBlock(), _createBlock(_component_el_menu_item, {\n key: 3,\n index: \"6\",\n route: { name: _ctx.RouteName.AdminReportsAdpMetrics }\n }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.AdminReportsAdpMetrics }\n }, {\n default: _withCtx(() => [\n _hoisted_7\n ]),\n _: 1\n }, 8, [\"to\"])\n ]),\n _: 1\n }, 8, [\"route\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_el_menu_item, {\n index: _ctx.isAdmin || _ctx.isAdminReadOnly || _ctx.isAccountManager ? 7 : 3,\n onClick: _ctx.confirmLogOut\n }, {\n default: _withCtx(() => [\n _hoisted_8\n ]),\n _: 1\n }, 8, [\"index\", \"onClick\"])\n ]),\n _: 1\n })\n ]),\n _createVNode(\"div\", _hoisted_9, [\n _createVNode(_component_breadcrumbs),\n _createVNode(_component_router_view, null, {\n default: _withCtx(({ Component }) => [\n (_openBlock(), _createBlock(_resolveDynamicComponent(Component), {\n \"is-admin\": _ctx.isAdmin,\n \"is-admin-read-only\": _ctx.isAdminReadOnly,\n \"is-support-agent\": _ctx.isSupportAgent,\n \"is-account-manager\": _ctx.isAccountManager\n }, null, 8, [\"is-admin\", \"is-admin-read-only\", \"is-support-agent\", \"is-account-manager\"]))\n ]),\n _: 1\n })\n ])\n ]))\n}","import { Router, RouteRecordName } from 'vue-router';\nimport { RouteName } from '../router';\nimport { ApiService } from './api.service';\nimport { isAuthenticationException } from '../utils/exceptions';\nimport { UserRole } from '../models/user.model';\nimport { AuthService } from './auth.service';\n\nexport class AdminService {\n private apiService: ApiService;\n private authService: AuthService;\n private static instance: AdminService;\n public isAdmin = false;\n public isAdminReadOnly = false;\n public isSupportAgent = false;\n public isAccountManager = false;\n\n constructor() {\n this.authService = AuthService.Instance;\n this.apiService = ApiService.Instance;\n }\n\n public static get Instance() {\n return this.instance || (this.instance = new this());\n }\n\n public async setRole() {\n const profile = await this.apiService.getOrInitProfile();\n this.isAdmin = profile.role === UserRole.Admin;\n this.isAdminReadOnly = profile.role === UserRole.AdminReadOnly;\n this.isSupportAgent = profile.role === UserRole.SupportAgent;\n this.isAccountManager = profile.role === UserRole.AccountManager;\n }\n\n async reroute(router: Router, currentRoute: RouteRecordName | null | undefined) {\n try {\n const profile = await this.apiService.getOrInitProfile();\n if (profile.role === UserRole.Customer) {\n await router.push({ name: RouteName.Forbidden });\n return;\n }\n this.authService.logoutSubject.subscribe(async(val) => {\n if (val) {\n await router.push({ name: RouteName.SignIn });\n }\n });\n switch (currentRoute) {\n case RouteName.Admin:\n await router.push({ name: RouteName.AdminOverview });\n break;\n }\n } catch (e) {\n if (isAuthenticationException(e)) {\n await router.push({ name: RouteName.SignIn });\n }\n }\n }\n}\n","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-copy\" }, null, -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_link = _resolveComponent(\"router-link\")\n const _component_el_breadcrumb_item = _resolveComponent(\"el-breadcrumb-item\")\n const _component_el_breadcrumb = _resolveComponent(\"el-breadcrumb\")\n const _component_el_button = _resolveComponent(\"el-button\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n (_ctx.showBreadcrumbs)\n ? (_openBlock(), _createBlock(_component_el_breadcrumb, {\n key: 0,\n separator: \"/\",\n style: {\"margin\":\"15px\",\"display\":\"inline-block\"}\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.crumbs, (crumb) => {\n return (_openBlock(), _createBlock(_component_el_breadcrumb_item, {\n key: crumb.path\n }, {\n default: _withCtx(() => [\n _createVNode(_component_router_link, {\n to: { path: crumb.to }\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(crumb.text), 1)\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.showCopyButton)\n ? (_openBlock(), _createBlock(_component_el_button, {\n key: 1,\n circle: \"\",\n size: \"small\",\n class: \"copy-btn\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.copyToClipboardShowNotification(_ctx.lastCrumb.text, `Copied '${_ctx.lastCrumb.text}' to clipboard!`))),\n style: {\"line-height\":\"1\",\"margin\":\"10px\",\"vertical-align\":\"top\"}\n }, {\n default: _withCtx(() => [\n _hoisted_1\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\nimport { Vue } from '../vue';\nimport { addSpacesOnCapitalization, capitalizeFirstLetter, inObj, copyToClipboardShowNotification } from '../utils/helpers';\n\ninterface BreadcrumbArray {\n path: string;\n to: string;\n text: string;\n}\n\nexport default class Breadcrumbs extends Vue {\n copyToClipboardShowNotification = copyToClipboardShowNotification;\n get showBreadcrumbs() {\n return inObj('meta.showBreadcrumbs', this.$route, true);\n }\n\n get showCopyButton() {\n return inObj('meta.showCopyButton', this.$route, false);\n }\n\n get lastCrumb() {\n return this.crumbs[this.crumbs.length - 1];\n }\n\n get crumbs() {\n const pathArray = this.$route.path.split('/');\n pathArray.shift();\n const breadcrumbs = pathArray.reduce((breadcrumbArray: Array, path, idx) => {\n breadcrumbArray.push({\n path: path,\n to: breadcrumbArray[idx - 1]\n ? breadcrumbArray[idx - 1].to + '/' + path\n : '/' + path,\n text: this.$route?.matched[idx]?.meta?.breadCrumb || this.formatText(path, idx === (pathArray.length - 1))\n });\n return breadcrumbArray;\n }, []);\n return breadcrumbs;\n }\n\n formatText(text: string, currentRoute: boolean) {\n if (currentRoute && inObj('meta.textFormatter', this.$route)) {\n return this.$route.meta.textFormatter.call(this, text);\n }\n\n return addSpacesOnCapitalization(capitalizeFirstLetter(text));\n }\n\n mounted() {\n console.log(this.$route.meta);\n }\n}\n","import { render } from \"./breadcrumbs.vue?vue&type=template&id=4a0ac608&ts=true\"\nimport script from \"./breadcrumbs.vue?vue&type=script&lang=ts\"\nexport * from \"./breadcrumbs.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { Options, Vue } from '../../vue';\nimport { RouteName } from '../../router';\nimport { LoadingOverlay } from '../../components';\nimport { ElMessageBox } from 'element-plus';\nimport { AdminService } from '../../services/admin.service';\nimport { AuthService } from '../../services/auth.service';\nimport { ApiService } from '../../services/api.service';\nimport Breadcrumbs from '../../components/breadcrumbs.vue';\nimport { LicenseManager } from 'ag-grid-enterprise';\n\n@Options({\n components: {\n LoadingOverlay,\n Breadcrumbs\n }\n})\nexport default class Admin extends Vue {\n private authService: AuthService = AuthService.Instance;\n private apiService: ApiService = ApiService.Instance;\n private adminService: AdminService = AdminService.Instance;\n\n RouteName = RouteName;\n loading = false;\n\n async confirmLogOut() {\n try {\n await ElMessageBox.confirm('Are you sure you want to logout?', 'Logout', {\n confirmButtonText: 'Yes',\n cancelButtonText: 'Cancel',\n type: 'warning'\n });\n\n await this.signOut();\n } catch (e) {\n\n }\n }\n\n get isAdmin() {\n return this.adminService.isAdmin;\n }\n\n get isAdminReadOnly() {\n return this.adminService.isAdminReadOnly;\n }\n\n get isSupportAgent() {\n return this.adminService.isSupportAgent;\n }\n\n get isAccountManager() {\n return this.adminService.isAccountManager;\n }\n\n async beforeMount() {\n LicenseManager.setLicenseKey('CompanyName=FTSBN, Inc.,LicensedApplication=FTSBN Ads,LicenseType=SingleApplication,LicensedConcurrentDeveloperCount=1,LicensedProductionInstancesCount=0,AssetReference=AG-029693,SupportServicesEnd=24_June_2023_[v2]_MTY4NzU2MTIwMDAwMA==23010dfdd15a9d17daa33f95ae15bd76');\n\n this.loading = true;\n try {\n await this.adminService.reroute(this.$router, this.$route.name);\n } catch (e) {\n\n }\n this.loading = false;\n }\n\n async signOut() {\n this.loading = true;\n await this.authService.deAuthenticate();\n await this.$router.push({ name: RouteName.SignIn });\n this.loading = false;\n }\n}\n\n","import { render } from \"./admin.vue?vue&type=template&id=473362b7&ts=true\"\nimport script from \"./admin.vue?vue&type=script&lang=ts\"\nexport * from \"./admin.vue?vue&type=script&lang=ts\"\n\nimport \"./admin.vue?vue&type=style&index=0&id=473362b7&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, resolveDirective as _resolveDirective, withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"h2\", null, \"Recommendations\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"h2\", null, \"Failed Campaigns\", -1)\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"h2\", null, \"Created Campaigns\", -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_alert = _resolveComponent(\"el-alert\")\n const _component_el_col = _resolveComponent(\"el-col\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_ag_grid_vue = _resolveComponent(\"ag-grid-vue\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _directive_loading = _resolveDirective(\"loading\")\n\n return (_openBlock(), _createBlock(\"main\", {\n \"data-cy\": _ctx.Selectors.PageWrapper\n }, [\n _createVNode(_component_el_space, {\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_col, { sm: 24 }, {\n default: _withCtx(() => [\n _createVNode(_component_el_alert, {\n type: \"info\",\n title: \"To open normal browser context menu, hold CTRL while right clicking on an item (in the table)\",\n \"close-text\": \"Gotcha\"\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n (_ctx.isAdmin || _ctx.isAccountManager)\n ? (_openBlock(), _createBlock(_component_el_row, { key: 0 }, {\n default: _withCtx(() => [\n _createVNode(_component_el_col, { sm: 24 }, {\n default: _withCtx(() => [\n _hoisted_1,\n _withDirectives(_createVNode(_component_el_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_ag_grid_vue, {\n style: {\"width\":\"100%\",\"min-height\":\"250px\"},\n class: \"ag-theme-material\",\n columnDefs: _ctx.recommendationsColumnDefs,\n rowData: _ctx.currentRecommendations,\n \"grid-options\": _ctx.recommendationsGridOptions\n }, null, 8, [\"columnDefs\", \"rowData\", \"grid-options\"])\n ]),\n _: 1\n }, 512), [\n [_directive_loading, _ctx.loadingRecommendations]\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.failedCampaignCreationStatuses && _ctx.failedCampaignCreationStatuses.length > 0)\n ? _withDirectives((_openBlock(), _createBlock(_component_el_row, {\n key: 1,\n gutter: 10\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_col, { sm: 24 }, {\n default: _withCtx(() => [\n _hoisted_2,\n _createVNode(_component_el_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_ag_grid_vue, {\n style: {\"width\":\"100%\",\"min-height\":\"250px\"},\n class: \"ag-theme-material\",\n columnDefs: _ctx.campaignStatusColumnDefs,\n rowData: _ctx.failedCampaignCreationStatuses,\n \"grid-options\": _ctx.failedCampaignStatusGridOptions\n }, null, 8, [\"columnDefs\", \"rowData\", \"grid-options\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 512)), [\n [_directive_loading, _ctx.loadingCampaignCreationStatuses]\n ])\n : _createCommentVNode(\"\", true),\n _withDirectives(_createVNode(_component_el_row, { gutter: 10 }, {\n default: _withCtx(() => [\n _createVNode(_component_el_col, { sm: 24 }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createVNode(_component_ag_grid_vue, {\n style: {\"width\":\"100%\",\"height\":\"500px\"},\n class: \"ag-theme-material\",\n columnDefs: _ctx.campaignStatusColumnDefs,\n rowData: _ctx.createdCampaignCreationStatuses,\n \"grid-options\": _ctx.createdCampaignStatusGridOptions\n }, null, 8, [\"columnDefs\", \"rowData\", \"grid-options\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 512), [\n [_directive_loading, _ctx.loadingCampaignCreationStatuses]\n ])\n ]),\n _: 1\n })\n ], 8, [\"data-cy\"]))\n}","import { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-da684998\")\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_el_tag = _resolveComponent(\"el-tag\")\n\n return (_openBlock(), _createBlock(_component_el_tag, { type: _ctx.tagType }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.params.value), 1)\n ]),\n _: 1\n }, 8, [\"type\"]))\n})","import { UserType } from './user.type';\n\nexport interface AccountModel {\n id: string;\n mccId: number;\n name: string;\n contactName: string;\n status: AccountStatus;\n budgetSurplus: number;\n timeZone: string;\n email: string;\n campaigns: Array;\n createdAt: Date | number;\n phone: string;\n website: string;\n step: string;\n isLinkedAccount: boolean;\n type: UserType | null;\n}\n\nexport interface CampaignModel {\n id: number;\n name: string;\n status: CampaignStatus;\n impressions: number;\n clicks: number;\n totalSpend: number;\n averageCpc: number;\n budgetSurplus: number;\n resourceName: string;\n}\n\nexport enum AccountStatus {\n Pending = 'Pending',\n Creating = 'Creating',\n Created = 'Created',\n PartiallyCreated = 'PartiallyCreated',\n Failed = 'Failed',\n Removed = 'Removed'\n}\n\nexport enum CreationStatus {\n Created = 'Created',\n Failed = 'Failed',\n}\n\nexport enum CampaignStatus {\n Suspended = 'Suspended',\n Cancelled = 'Cancelled',\n Active = 'Active',\n Unknown = 'Unknown',\n Paused = 'Paused'\n}\n\nexport enum MccRegion {\n Eastern = 'Eastern',\n Pacific = 'Pacific',\n Mountain = 'Mountain',\n Central = 'Central'\n}\n","\nimport { Vue } from '../../vue';\nimport { CreationStatus } from '../../models/account.model';\nimport { CellRendererParams } from '../models/cell-renderer';\n\nexport default class CreationStatusCellRenderer extends Vue {\n params!: CellRendererParams;\n\n get tagType() {\n switch (this.params.value) {\n case CreationStatus.Created:\n return 'success';\n case CreationStatus.Failed:\n return 'danger';\n default:\n return 'info';\n }\n }\n}\n","import { render } from \"./creation-status.vue?vue&type=template&id=da684998&scoped=true&ts=true\"\nimport script from \"./creation-status.vue?vue&type=script&lang=ts\"\nexport * from \"./creation-status.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-da684998\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-b6ed9464\")\n\n_pushScopeId(\"data-v-b6ed9464\")\nconst _hoisted_1 = { key: 1 }\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")\n\n return (_ctx.accountId)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 0,\n to: { name: _ctx.RouteName.AdminAccountDetails, params: { id: _ctx.accountId }}\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.params.value), 1)\n ]),\n _: 1\n }, 8, [\"to\"]))\n : (_openBlock(), _createBlock(\"span\", _hoisted_1, _toDisplayString(_ctx.params.value), 1))\n})","\nimport { RouteName } from '../../router';\nimport { Vue } from '../../vue';\nimport { CellRendererParams } from '../models/cell-renderer';\nimport { inObj } from '../../utils/helpers';\n\nexport default class AccountLinkCellRenderer extends Vue {\n params!: CellRendererParams;\n RouteName = RouteName;\n\n get accountId() {\n return this.params.data ? inObj('idField' in this.params ? this.params.idField : 'user_id', this.params.data, '').replace('customers/', '') : '';\n }\n}\n","import { render } from \"./account-link.vue?vue&type=template&id=b6ed9464&scoped=true&ts=true\"\nimport script from \"./account-link.vue?vue&type=script&lang=ts\"\nexport * from \"./account-link.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b6ed9464\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-11c8ef89\")\n\n_pushScopeId(\"data-v-11c8ef89\")\nconst _hoisted_1 = { class: \"timestamp\" }\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, _toDisplayString(_ctx.valueDisplay), 1))\n})","\nimport { Vue } from '../../vue';\nimport moment from 'moment';\nimport { CellRendererParams } from '../models/cell-renderer';\n\nexport default class TimestampCellRenderer extends Vue {\n params!: CellRendererParams;\n\n get valueDisplay() {\n const format = 'format' in this.params ? this.params.format : 'MM/DD/YY';\n return moment(this.params.value).format(format);\n }\n}\n","import { render } from \"./timestamp.vue?vue&type=template&id=11c8ef89&scoped=true&ts=true\"\nimport script from \"./timestamp.vue?vue&type=script&lang=ts\"\nexport * from \"./timestamp.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-11c8ef89\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-db97ff98\")\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_el_tag = _resolveComponent(\"el-tag\")\n\n return (_openBlock(), _createBlock(_component_el_tag, { type: _ctx.tagType }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.params.value), 1)\n ]),\n _: 1\n }, 8, [\"type\"]))\n})","\nimport { Vue } from '../../vue';\nimport { AccountStatus } from '../../models/account.model';\nimport { CellRendererParams } from '../models/cell-renderer';\n\nexport default class AccountStatusCellRenderer extends Vue {\n params!: CellRendererParams;\n\n get tagType() {\n switch (this.params.value) {\n case AccountStatus.Pending:\n return 'warning';\n case AccountStatus.Creating:\n case AccountStatus.Created:\n return 'success';\n case AccountStatus.PartiallyCreated:\n case AccountStatus.Failed:\n return 'danger';\n case AccountStatus.Removed:\n return 'info';\n }\n }\n}\n","import { render } from \"./account-status.vue?vue&type=template&id=db97ff98&scoped=true&ts=true\"\nimport script from \"./account-status.vue?vue&type=script&lang=ts\"\nexport * from \"./account-status.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-db97ff98\"]])\n\nexport default __exports__","\nimport { Vue } from '../../vue';\nimport { CellRendererParams } from '../models/cell-renderer';\n\nexport enum TaxonomyStatus {\n Inactive = 'Inactive',\n Active = 'Active'\n}\n\nexport default class TaxonomyStatusCellRenderer extends Vue {\n params!: CellRendererParams;\n\n get tagType() {\n switch (this.params.value) {\n case TaxonomyStatus.Inactive:\n return 'info';\n case TaxonomyStatus.Active:\n return 'success';\n }\n }\n}\n","import { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-42ef3f21\")\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_el_tag = _resolveComponent(\"el-tag\")\n\n return (_openBlock(), _createBlock(_component_el_tag, { type: _ctx.tagType }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.params.value), 1)\n ]),\n _: 1\n }, 8, [\"type\"]))\n})","import { render } from \"./taxonomy-status.vue?vue&type=template&id=42ef3f21&scoped=true&ts=true\"\nimport script from \"./taxonomy-status.vue?vue&type=script&lang=ts\"\nexport * from \"./taxonomy-status.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-42ef3f21\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-45e754a4\")\n\n_pushScopeId(\"data-v-45e754a4\")\nconst _hoisted_1 = { key: 1 }\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")\n\n return (_ctx.taxonomyId)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 0,\n to: { name: _ctx.RouteName.AdminTaxonomyDetails, params: { id: _ctx.taxonomyId }}\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.params.value), 1)\n ]),\n _: 1\n }, 8, [\"to\"]))\n : (_openBlock(), _createBlock(\"span\", _hoisted_1, _toDisplayString(_ctx.params.value), 1))\n})","\nimport { RouteName } from '../../router';\nimport { Vue } from '../../vue';\nimport { CellRendererParams } from '../models/cell-renderer';\nimport { inObj } from '../../utils/helpers';\n\nexport default class TaxonomyLinkCellRender extends Vue {\n params!: CellRendererParams;\n RouteName = RouteName;\n\n get taxonomyId() {\n return this.params.data ? inObj('idField' in this.params ? this.params.idField : 'id', this.params.data, '') : '';\n }\n}\n","import { render } from \"./taxonomy-link.vue?vue&type=template&id=45e754a4&scoped=true&ts=true\"\nimport script from \"./taxonomy-link.vue?vue&type=script&lang=ts\"\nexport * from \"./taxonomy-link.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-45e754a4\"]])\n\nexport default __exports__","import { createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-6d743b5d\")\n\n_pushScopeId(\"data-v-6d743b5d\")\nconst _hoisted_1 = /*#__PURE__*/_createTextVNode(\"Dismiss\")\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Apply\")\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_el_button = _resolveComponent(\"el-button\")\n\n return (_openBlock(), _createBlock(\"span\", null, [\n _createVNode(_component_el_button, {\n loading: _ctx.loading,\n onClick: _ctx.dismissRecommendation,\n size: \"small\"\n }, {\n default: _withId(() => [\n _hoisted_1\n ]),\n _: 1\n }, 8, [\"loading\", \"onClick\"]),\n _createVNode(_component_el_button, {\n type: \"primary\",\n loading: _ctx.loading,\n onClick: _ctx.applyRecommendation,\n size: \"small\"\n }, {\n default: _withId(() => [\n _hoisted_2\n ]),\n _: 1\n }, 8, [\"loading\", \"onClick\"])\n ]))\n})","\nimport { Vue } from '../../vue';\nimport { CellRendererParams } from '../models/cell-renderer';\n\nexport default class RecommendationActionsCellRenderer extends Vue {\n params!: CellRendererParams;\n loading = false;\n\n get accountId() {\n const idField = 'idField' in this.params ? this.params.idField : 'user_id';\n return this.params.data && idField in this.params.data ? this.params.data[idField] : '';\n }\n\n async applyRecommendation() {\n this.loading = true;\n await this.params.apply(this.params.data.id, this.params.data.customerId);\n this.loading = false;\n }\n\n async dismissRecommendation() {\n this.loading = true;\n this.params.dismiss(this.params.data.id, this.params.data.customerId);\n this.loading = false;\n }\n}\n","import { render } from \"./recommendation-actions.vue?vue&type=template&id=6d743b5d&scoped=true&ts=true\"\nimport script from \"./recommendation-actions.vue?vue&type=script&lang=ts\"\nexport * from \"./recommendation-actions.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6d743b5d\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-2de9e9b6\")\n\n_pushScopeId(\"data-v-2de9e9b6\")\nconst _hoisted_1 = { key: 1 }\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")\n\n return (_ctx.routeId)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 0,\n to: { name: _ctx.params.routeName, params: { id: _ctx.routeId }}\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.params.value), 1)\n ]),\n _: 1\n }, 8, [\"to\"]))\n : (_openBlock(), _createBlock(\"span\", _hoisted_1, _toDisplayString(_ctx.params.value), 1))\n})","\nimport { RouteName } from '../../router';\nimport { Vue } from '../../vue';\nimport { inObj } from '../../utils/helpers';\nimport { CellRendererParams } from '../models/cell-renderer';\n\nexport default class AnalyticsLinkCellRenderer extends Vue {\n params!: CellRendererParams;\n RouteName = RouteName;\n\n get routeId() {\n return this.params.data ? inObj('idField' in this.params ? this.params.idField : 'id', this.params.data, false) : '';\n }\n}\n","import { render } from \"./analytics-link.vue?vue&type=template&id=2de9e9b6&scoped=true&ts=true\"\nimport script from \"./analytics-link.vue?vue&type=script&lang=ts\"\nexport * from \"./analytics-link.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2de9e9b6\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-4254c682\")\n\n_pushScopeId(\"data-v-4254c682\")\nconst _hoisted_1 = { key: 1 }\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")\n\n return (_ctx.showLink)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 0,\n to: { name: _ctx.routeName, params: _ctx.routeParams }\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.label), 1)\n ]),\n _: 1\n }, 8, [\"to\"]))\n : (_openBlock(), _createBlock(\"span\", _hoisted_1, _toDisplayString(_ctx.label), 1))\n})","\nimport { RouteName } from '../../router';\nimport { Vue } from '../../vue';\nimport { inObj } from '../../utils/helpers';\nimport { CellRendererParams } from '../models/cell-renderer';\n\nexport default class DemoLinkCellRenderer extends Vue {\n params!: CellRendererParams;\n RouteName = RouteName;\n\n get clusterId() {\n return 'clusterId' in this.params && inObj(this.params.clusterId, this.params.data);\n }\n\n get showLink() {\n return this.params.type && this.selector && ('clusterId' in this.params ? this.clusterId : true);\n }\n\n get routeParams() {\n const params: any = {\n type: this.params.type,\n selector: this.selector\n };\n\n if (this.clusterId) {\n params.clusterId = inObj(this.params.clusterId, this.params.data);\n }\n\n return params;\n }\n\n get routeName() {\n return 'routeName' in this.params ? this.params.routeName : RouteName.AdminAnalyticsDemographic;\n }\n\n get label() {\n return 'clusterId' in this.params ? inObj('cluster.name', this.params.data, this.params.value) : this.params.value;\n }\n\n get selector() {\n return this.params.data ? inObj(this.params.selector, this.params.data, false) : false;\n }\n\n mounted() {\n console.log(this.label, this.selector, this.params.value, this.params);\n }\n}\n","import { render } from \"./demo-link.vue?vue&type=template&id=4254c682&scoped=true&ts=true\"\nimport script from \"./demo-link.vue?vue&type=script&lang=ts\"\nexport * from \"./demo-link.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4254c682\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-50450e0d\")\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_el_tag = _resolveComponent(\"el-tag\")\n\n return (_openBlock(), _createBlock(_component_el_tag, { type: _ctx.tagType }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.params.value), 1)\n ]),\n _: 1\n }, 8, [\"type\"]))\n})","\nimport { Vue } from '@/vue';\nimport { UserType } from '@/models/user.type';\nimport { CellRendererParams } from '@/aggrid/models/cell-renderer';\n\nexport default class CreationStatusCellRenderer extends Vue {\n params!: CellRendererParams;\n\n get tagType() {\n switch (this.params.value) {\n case UserType.Marketplace:\n return 'danger';\n case UserType.ADP:\n return 'success';\n default:\n return 'info';\n }\n }\n}\n","import { render } from \"./user-type.vue?vue&type=template&id=50450e0d&scoped=true&ts=true\"\nimport script from \"./user-type.vue?vue&type=script&lang=ts\"\nexport * from \"./user-type.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-50450e0d\"]])\n\nexport default __exports__","const defaultColDefs = {\n flex: 1,\n filter: true,\n sortable: true,\n resizable: true,\n menuTabs: ['filterMenuTab', 'generalMenuTab', 'columnsMenuTab'],\n filterParams: {\n // https://www.ag-grid.com/javascript-data-grid/filter-provided/#apply-clear-reset-and-cancel-buttons\n buttons: ['reset']\n }\n};\n\nconst defaultGridOptions = {\n sideBar: 'filters',\n defaultColDef: defaultColDefs,\n // https://www.ag-grid.com/vue-data-grid/row-pagination/\n pagination: true,\n paginationPageSize: 10,\n // https://www.ag-grid.com/javascript-data-grid/grid-size/\n domLayout: 'autoHeight'\n};\n\nexport {\n defaultColDefs,\n defaultGridOptions\n};\n","\nimport { Vue, Options, Prop } from '@/vue';\nimport { ApiService } from '@/services/api.service';\nimport { AuthService } from '@/services/auth.service';\nimport { ElMessage } from 'element-plus';\nimport { RouteName } from '@/router';\nimport { isHttpException } from '@/utils/exceptions';\nimport { RecommendationModel, RecommendationTableRow } from '@/models/recommendation.model';\nimport { AdminOverviewSelectors } from '../../../cypress/support/selectors';\nimport { CustomerCampaignStatusModel } from '@/models/customer-campaign-status.model';\nimport {\n CreationStatusCellRenderer,\n AccountLinkCellRenderer,\n RecommendationActionsCellRenderer,\n UserTypeRenderer\n} from '@/aggrid/renderers';\nimport { defaultGridOptions } from '@/aggrid/defaults';\nimport { formatDate } from '@/utils/helpers';\nimport { ValueFormatterParams } from 'ag-grid-community';\nimport { AgGridVue } from 'ag-grid-vue3';\n\n@Options({\n components: {\n AgGridVue\n }\n})\nexport default class AdminOverview extends Vue {\n private apiService: ApiService = ApiService.Instance;\n private authService: AuthService = AuthService.Instance;\n @Prop() isAdmin!: boolean;\n @Prop() isAdminReadOnly!: boolean;\n @Prop() isSupportAgent!: boolean;\n @Prop() isAccountManager!: boolean;\n\n loading = false;\n loadingCampaignCreationStatuses = true;\n loadingRecommendations = true;\n Selectors = AdminOverviewSelectors;\n RouteName = RouteName;\n createdCampaignStatusGridOptions = defaultGridOptions;\n /**\n * For some reason the grid-options can't be the same object, need to dig more into it later\n */\n failedCampaignStatusGridOptions = { ...defaultGridOptions, sideBar: false, pagination: false };\n recommendationsGridOptions = { ...defaultGridOptions, sideBar: 'filters', pagination: true, paginationPageSize: 10, rowGroupPanelShow: 'always' };\n\n campaignCreationStatuses: Array = [];\n recommendations: Array = [];\n currentRecommendations: Array = [];\n dismissingRecommendation: {[key: string]: boolean} = {};\n applyingRecommendation: {[key: string]: boolean} = {};\n\n get campaignStatusColumnDefs() {\n return [\n {\n headerName: 'Added',\n field: 'createdAt',\n sortable: true,\n filter: 'agDateColumnFilter',\n filterParams: {\n buttons: ['reset']\n },\n sort: 'desc',\n valueFormatter: (params: ValueFormatterParams) => formatDate(params.value, 'l LT')\n },\n {\n headerName: 'Account',\n field: 'name',\n sortable: true,\n filter: true,\n cellRenderer: AccountLinkCellRenderer\n },\n {\n headerName: 'Type',\n field: 'type',\n sortable: true,\n filter: true,\n cellRenderer: UserTypeRenderer\n },\n {\n headerName: 'Status',\n field: 'creationStatus',\n sortable: true,\n filter: true,\n cellRenderer: CreationStatusCellRenderer\n }\n ];\n }\n\n get recommendationsColumnDefs() {\n return [\n {\n headerName: 'Added',\n field: 'date',\n sortable: true,\n filter: 'agDateColumnFilter',\n filterParams: {\n buttons: ['reset']\n },\n sort: 'desc',\n valueFormatter: (params: ValueFormatterParams) => formatDate(params.value, 'l')\n },\n {\n headerName: 'Type',\n field: 'type',\n sortable: true,\n filter: true,\n enableRowGroup: true\n },\n {\n headerName: 'Account',\n field: 'customerName',\n enableRowGroup: true,\n cellRenderer: AccountLinkCellRenderer,\n cellRendererParams: {\n idField: 'customerId'\n }\n },\n {\n headerName: 'Target',\n field: 'target',\n enableRowGroup: true\n },\n {\n headerName: 'Recommendation',\n field: 'description'\n },\n {\n headerName: 'Actions',\n field: 'actions',\n cellRenderer: RecommendationActionsCellRenderer,\n cellRendererParams: {\n dismiss: this.dismissRecommendation,\n apply: async(id: string, customerId: string) => {\n // For testing\n await this.applyRecommendation(id, customerId);\n }\n }\n }\n ];\n }\n\n get failedCampaignCreationStatuses(): Array {\n return this.campaignCreationStatuses.filter(status => status.creationStatus === 'Failed');\n }\n\n get createdCampaignCreationStatuses(): Array {\n return this.campaignCreationStatuses.filter(status => status.creationStatus === 'Created');\n }\n\n mounted() {\n if (this.isAdmin || this.isAccountManager) {\n this.getRecommendations();\n }\n this.getCampaignCreationStatuses();\n }\n\n async getRecommendations() {\n try {\n this.loadingRecommendations = true;\n this.recommendations = await this.apiService.getRecommendations();\n this.currentRecommendations = this.recommendations.map(recommendation => {\n return {\n id: recommendation.id,\n customerId: recommendation.customerResourceName,\n customerName: recommendation.customerName,\n type: recommendation.type,\n target: recommendation.target,\n date: new Date(recommendation.date),\n description: recommendation.description\n };\n });\n } catch (e) {\n if (isHttpException(e) && e.status === 403) {\n await this.$router.push({ name: RouteName.Forbidden });\n } else {\n ElMessage.error('Error fetching recommendations');\n }\n } finally {\n this.loadingRecommendations = false;\n }\n }\n\n async getCampaignCreationStatuses() {\n this.loadingCampaignCreationStatuses = true;\n\n try {\n const campaignCreationStatuses = await this.apiService.getCampaignCreationStatuses();\n this.campaignCreationStatuses = campaignCreationStatuses.map(status => {\n // For date filtering to work it must be a Date object\n status.createdAt = new Date(status.createdAt);\n return status;\n });\n } catch (e) {\n ElMessage.error('Error fetching campaign creation statuses');\n } finally {\n this.loadingCampaignCreationStatuses = false;\n }\n }\n\n async dismissRecommendation(id: string, customerId: string) {\n this.dismissingRecommendation[id] = true;\n try {\n await this.apiService.dismissRecommendation(id, customerId);\n await this.getRecommendations();\n ElMessage.success('Dismissed');\n } catch (e) {\n ElMessage.error('Error Dismissing Recommendation');\n }\n this.dismissingRecommendation[id] = false;\n }\n\n async applyRecommendation(id: string, customerId: string) {\n this.applyingRecommendation[id] = true;\n try {\n await this.apiService.applyRecommendation(id, customerId);\n await this.getRecommendations();\n ElMessage.success('Applied');\n } catch (e) {\n ElMessage.error('Error Applying Recommendation');\n }\n this.applyingRecommendation[id] = false;\n }\n}\n\n","import { render } from \"./overview.vue?vue&type=template&id=43d52c9e&ts=true\"\nimport script from \"./overview.vue?vue&type=script&lang=ts\"\nexport * from \"./overview.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, resolveDirective as _resolveDirective, withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-05ede8ea\")\n\n_pushScopeId(\"data-v-05ede8ea\")\nconst _hoisted_1 = /*#__PURE__*/_createTextVNode(\"Create Taxonomy\")\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_input = _resolveComponent(\"el-input\")\n const _component_ag_grid_vue = _resolveComponent(\"ag-grid-vue\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _directive_loading = _resolveDirective(\"loading\")\n\n return (_openBlock(), _createBlock(\"main\", null, [\n _createVNode(_component_el_space, {\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _createVNode(_component_el_row, {\n justify: \"space-between\",\n type: \"flex\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n icon: \"el-icon-plus\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.routeToNew()))\n }, {\n default: _withId(() => [\n _hoisted_1\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _withDirectives(_createVNode(_component_el_card, null, {\n default: _withId(() => [\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"end\",\n style: {\"margin-bottom\":\"15px\"}\n }, {\n default: _withId(() => [\n _createVNode(_component_el_input, {\n modelValue: _ctx.search,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.search = $event)),\n clearable: \"\",\n placeholder: \"Type to search\",\n style: {\"width\":\"315px\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_ag_grid_vue, {\n style: {\"width\":\"100%\",\"height\":\"800px\"},\n class: \"ag-theme-material\",\n columnDefs: _ctx.columnDefs,\n rowData: _ctx.taxonomies,\n \"grid-options\": _ctx.gridOptions\n }, null, 8, [\"columnDefs\", \"rowData\", \"grid-options\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 512), [\n [_directive_loading, _ctx.loading]\n ])\n ]),\n _: 1\n })\n ]))\n})","\nimport { Vue, Options, VModel, Watch, Prop } from '../../../vue';\nimport { ApiService } from '../../../services/api.service';\nimport { RouteName } from '../../../router';\nimport { AuthService } from '../../../services/auth.service';\nimport { TaxonomyStatusCellRenderer, TaxonomyLinkCellRenderer } from '../../../aggrid/renderers';\nimport { AgGridVue } from 'ag-grid-vue3';\nimport { GridOptions } from 'ag-grid-community';\n\nexport enum TaxonomyStatus {\n Inactive = 'Inactive',\n Active = 'Active'\n}\n\ninterface TaxonomyTableRow {\n id: string;\n name: string;\n status: TaxonomyStatus;\n}\n\n@Options({\n components: {\n AgGridVue\n }\n})\nexport default class AdminTaxonomies extends Vue {\n private apiService: ApiService = ApiService.Instance;\n private authService: AuthService = AuthService.Instance;\n loading = false;\n @VModel() search = '';\n @Prop() isAdmin!: boolean;\n @Prop() isSupportAgent!: boolean;\n\n RouteName = RouteName;\n taxonomies: Array = [];\n\n get gridOptions(): GridOptions {\n return {\n sideBar: 'filters',\n defaultColDef: {\n flex: 1,\n filter: true,\n sortable: true,\n resizable: true,\n menuTabs: ['filterMenuTab', 'generalMenuTab', 'columnsMenuTab'],\n filterParams: {\n buttons: ['reset', 'clear']\n }\n },\n pagination: true,\n // // https://www.ag-grid.com/javascript-data-grid/grid-size/\n // domLayout: 'autoHeight',\n paginationAutoPageSize: true\n };\n }\n\n get columnDefs() {\n return [\n {\n headerName: 'Taxonomy',\n field: 'name',\n cellRenderer: TaxonomyLinkCellRenderer,\n filter: 'agTextColumnFilter'\n },\n {\n headerName: 'Status',\n field: 'status',\n cellRenderer: TaxonomyStatusCellRenderer,\n sort: 'asc'\n }\n ];\n }\n\n async mounted() {\n this.loading = true;\n const taxonomies = await this.apiService.getAllTaxonomies();\n this.taxonomies = taxonomies.map(taxonomy => {\n return {\n id: taxonomy.id,\n name: taxonomy.name,\n status: taxonomy.enabled ? TaxonomyStatus.Active : TaxonomyStatus.Inactive\n };\n });\n this.loading = false;\n }\n\n @Watch('search')\n onInputUpdate(val: string) {\n this.gridOptions.api!.setQuickFilter(val);\n }\n\n routeToNew() {\n this.$router.push({ name: RouteName.AdminTaxonomyFormNew });\n }\n}\n\n","import { render } from \"./taxonomies.vue?vue&type=template&id=05ede8ea&scoped=true&ts=true\"\nimport script from \"./taxonomies.vue?vue&type=script&lang=ts\"\nexport * from \"./taxonomies.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-05ede8ea\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, resolveDirective as _resolveDirective, withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-26937637\")\n\n_pushScopeId(\"data-v-26937637\")\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"h1\", null, \"Users\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Create Invite Link\")\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Revoke access\")\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_InviteModal = _resolveComponent(\"InviteModal\")\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_input = _resolveComponent(\"el-input\")\n const _component_el_table_column = _resolveComponent(\"el-table-column\")\n const _component_el_table = _resolveComponent(\"el-table\")\n const _component_el_pagination = _resolveComponent(\"el-pagination\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _directive_loading = _resolveDirective(\"loading\")\n\n return (_openBlock(), _createBlock(\"main\", null, [\n _createVNode(_component_InviteModal, {\n modelValue: _ctx.displayInviteModal,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.displayInviteModal = $event))\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_el_space, {\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _createVNode(_component_el_row, {\n justify: \"space-between\",\n type: \"flex\"\n }, {\n default: _withId(() => [\n _hoisted_1,\n _createVNode(_component_el_button, {\n type: \"primary\",\n icon: \"el-icon-plus\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => {_ctx.displayInviteModal = true;})\n }, {\n default: _withId(() => [\n _hoisted_2\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _withDirectives(_createVNode(_component_el_card, null, {\n default: _withId(() => [\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"end\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_input, {\n modelValue: _ctx.tableHolder.search,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.tableHolder.search = $event)),\n size: \"mini\",\n placeholder: \"Type to search\",\n style: {\"width\":\"315px\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_table, {\n data: _ctx.tableHolder.tableData,\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _createVNode(_component_el_table_column, {\n prop: \"name\",\n label: \"Name\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"role\",\n label: \"Role\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"email\",\n label: \"Email\"\n }),\n _createVNode(_component_el_table_column, null, {\n default: _withId((scope) => [\n _createVNode(_component_el_button, {\n type: \"danger\",\n loading: _ctx.disablingUser[scope.row.id],\n onClick: ($event: any) => (_ctx.revokeUserAccess(scope.row.id)),\n size: \"small\"\n }, {\n default: _withId(() => [\n _hoisted_3\n ]),\n _: 2\n }, 1032, [\"loading\", \"onClick\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"]),\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"end\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_pagination, {\n \"page-size\": 1,\n \"pager-count\": 5,\n onCurrentChange: _cache[4] || (_cache[4] = ($event: any) => (_ctx.tableHolder.changePage($event))),\n layout: \"prev, pager, next\",\n total: _ctx.tableHolder.totalPages\n }, null, 8, [\"total\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 512), [\n [_directive_loading, _ctx.loading]\n ])\n ]),\n _: 1\n })\n ]))\n})","export interface LabelValueTableRow {\n label: string;\n value: any;\n}\n\nexport class ElementTableHolder {\n public currentPage = 0;\n pageSize: number | null;\n filterBasis: string | Array | (() => boolean);\n\n constructor(pageSize: number | null = 2, filterBasis: string | Array | (() => boolean) = 'name') {\n this.pageSize = pageSize;\n this.filterBasis = filterBasis;\n }\n\n public search = '';\n\n public rawTableData: Array = [];\n public numberFormat: Intl.NumberFormat | undefined;\n\n get currencyFormatter() {\n if (!this.numberFormat) {\n this.numberFormat = new Intl.NumberFormat('en-US', {\n style: 'currency',\n currency: 'USD'\n });\n }\n return this.numberFormat;\n }\n\n get totalRawRows() {\n return this.rawTableData.length;\n }\n\n get totalPages() {\n return Math.ceil(this.filteredRawTableData.length / (this.pageSize || this.filteredRawTableData.length));\n }\n\n get filteredRawTableData(): Array {\n switch (typeof this.filterBasis) {\n case 'function':\n return this.rawTableData.filter(this.filterBasis);\n case 'string':\n // eslint-disable-next-line @typescript-eslint/ban-ts-ignore\n // @ts-ignore\n return this.rawTableData.filter(row => (row[this.filterBasis as string] ?? '').toLowerCase().includes(this.search.toLowerCase()));\n case 'object':\n // eslint-disable-next-line @typescript-eslint/ban-ts-ignore\n // @ts-ignore\n return this.rawTableData.filter(row => (this.filterBasis as Array).some(basis => (row[basis] ?? '').toLowerCase().includes(this.search.toLowerCase())));\n }\n }\n\n public get tableData(): Array {\n if (this.pageSize) {\n const startIndex = this.currentPage * this.pageSize;\n return this.filteredRawTableData.slice(startIndex, startIndex + this.pageSize);\n } else {\n return this.filteredRawTableData;\n }\n }\n\n public sortByNumber(a: any, b: any, prop: string) {\n // Strip all characters except numbers\n a = parseFloat(a[prop].replace(/[^0-9.]/g, ''));\n b = parseFloat(b[prop].replace(/[^0-9.]/g, ''));\n console.log('sortByNumber', a, b);\n if (a === b) {\n return 0;\n }\n\n if (a > b) {\n return 1;\n }\n\n return -1;\n }\n\n public changePageSize(pageSize: number) {\n this.pageSize = pageSize;\n }\n\n public changePage(page: number) {\n this.currentPage = page - 1;\n }\n\n /**\n * Required arrow functions otherwise $this becomes the table element\n */\n\n formatCurrency = (row: any, column: any, cellValue: any) => {\n return this.currencyFormatter.format(cellValue.replace('$', ''));\n };\n}\n","import { createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, withCtx as _withCtx, createTextVNode as _createTextVNode, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-e1c65558\")\n\n_pushScopeId(\"data-v-e1c65558\")\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"p\", { class: \"text-wrap\" }, \"Send this single-use invite link to the user you want to invite. After signing in with Google, the user will be authorized to access the Account Management portal in the role specified below.\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"p\", null, \"Note: This link expires in 24 hours.\", -1)\nconst _hoisted_3 = { class: \"row\" }\nconst _hoisted_4 = { class: \"col-4\" }\nconst _hoisted_5 = { class: \"col-8\" }\nconst _hoisted_6 = { class: \"right-justify\" }\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\"Generate and Copy Link\")\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_el_option = _resolveComponent(\"el-option\")\n const _component_el_select = _resolveComponent(\"el-select\")\n const _component_el_form_item = _resolveComponent(\"el-form-item\")\n const _component_el_input = _resolveComponent(\"el-input\")\n const _component_el_form = _resolveComponent(\"el-form\")\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_dialog = _resolveComponent(\"el-dialog\")\n\n return (_openBlock(), _createBlock(_component_el_dialog, {\n title: \"Invite User\",\n modelValue: _ctx.display,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.display = $event)),\n width: \"40%\",\n \"destroy-on-close\": \"\"\n }, {\n default: _withId(() => [\n _hoisted_1,\n _hoisted_2,\n _createVNode(_component_el_form, { \"label-position\": \"top\" }, {\n default: _withId(() => [\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_el_form_item, { label: \"Role\" }, {\n default: _withId(() => [\n _createVNode(_component_el_select, {\n modelValue: _ctx.userRole,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.userRole = $event)),\n placeholder: \"Select\"\n }, {\n default: _withId(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.userRoleOptions, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.value,\n label: item.label,\n value: item.value\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _createVNode(\"div\", _hoisted_5, [\n _createVNode(_component_el_form_item, { label: \"Invite URL\" }, {\n default: _withId(() => [\n _createVNode(_component_el_input, {\n ref: \"urlInput\",\n modelValue: _ctx.inviteLink,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.inviteLink = $event)),\n readonly: true\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ])\n ])\n ]),\n _: 1\n }),\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(_component_el_button, {\n onClick: _cache[3] || (_cache[3] = ($event: any) => {_ctx.display = false;})\n }, {\n default: _withId(() => [\n _hoisted_7\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _ctx.copyUrl\n }, {\n default: _withId(() => [\n _hoisted_8\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\"]))\n})","\nimport { Vue, Options, VModel, Watch } from '../../../vue';\nimport { LoadingOverlay } from '../../../components';\nimport { ApiService } from '../../../services/api.service';\nimport { ElLoading, ElMessage } from 'element-plus';\nimport { UserRole } from '../../../models/user.model';\n\n@Options({\n components: {\n LoadingOverlay\n }\n})\nexport default class InviteModal extends Vue {\n private apiService: ApiService = ApiService.Instance;\n loading = false;\n\n @VModel() input = false;\n private pDisplay = false;\n\n get display(): boolean {\n return this.pDisplay;\n }\n\n set display(val: boolean) {\n this.pDisplay = val;\n this.input = val;\n }\n\n @Watch('modelValue')\n onInputChange(val: boolean) {\n this.display = val;\n }\n\n baseLink = window.location.origin + '/sign-in?invite=';\n inviteCode = '';\n\n get inviteLink(): string {\n return (this.inviteCode === '') ? '' : this.baseLink + this.inviteCode;\n }\n\n userRole: UserRole = UserRole.AccountManager;\n userRoleOptions = [\n {\n value: UserRole.SupportAgent,\n label: 'Support Agent'\n },\n {\n value: UserRole.AccountManager,\n label: 'Account Manager'\n },\n {\n value: UserRole.Admin,\n label: 'Admin'\n },\n {\n value: UserRole.AdminReadOnly,\n label: 'Admin (Read Only)'\n }\n ];\n\n async generateInviteCode() {\n // eslint-disable-next-line @typescript-eslint/ban-ts-ignore\n // @ts-ignore\n const loading = ElLoading.service({\n lock: true,\n background: 'rgba(0, 0, 0, 0.7)'\n });\n try {\n this.inviteCode = await this.apiService.generateInviteCode(this.userRole);\n } catch (e) {\n ElMessage.error('Error creating code');\n throw new Error('Error creating code');\n } finally {\n loading.close();\n }\n }\n\n async copyUrl() {\n await this.generateInviteCode();\n const input = this.$refs.urlInput as HTMLInputElement;\n\n input.select();\n document.execCommand('copy');\n // eslint-disable-next-line no-unused-expressions\n window.getSelection()?.removeAllRanges();\n ElMessage.success('Link copied!');\n }\n}\n\n","import { render } from \"./invite-modal.vue?vue&type=template&id=e1c65558&scoped=true&ts=true\"\nimport script from \"./invite-modal.vue?vue&type=script&lang=ts\"\nexport * from \"./invite-modal.vue?vue&type=script&lang=ts\"\n\nimport \"./invite-modal.vue?vue&type=style&index=0&id=e1c65558&lang=scss&scoped=true\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e1c65558\"]])\n\nexport default __exports__","\nimport { Options, Vue } from '../../vue';\nimport { ApiService } from '../../services/api.service';\nimport { RouteName } from '../../router';\nimport { ElementTableHolder } from '../../utils/element-table-holder';\nimport InviteModal from './users/invite-modal.vue';\nimport { AuthService } from '../../services/auth.service';\nimport { ElLoading, ElMessage } from 'element-plus';\nimport { UserRole } from '../../models/user.model';\nimport { isHttpException } from '../../utils/exceptions';\n\ninterface UserTableRow {\n id: string;\n name: string;\n email: string;\n role: UserRole;\n}\n\n@Options({\n components: {\n InviteModal\n }\n})\nexport default class AdminUsers extends Vue {\n private apiService: ApiService = ApiService.Instance;\n private authService: AuthService = AuthService.Instance;\n loading = false;\n displayInviteModal = false;\n\n RouteName = RouteName;\n\n disablingUser: {[key: string]: boolean} = {};\n\n tableHolder = new ElementTableHolder(10, ['name', 'email']);\n\n mounted() {\n this.getUsers();\n }\n\n async getUsers() {\n this.loading = true;\n try {\n const users = await this.apiService.getUsers();\n this.tableHolder.rawTableData = users.map(user => {\n return {\n id: user.id,\n name: user.name,\n email: user.email,\n role: user.role\n };\n });\n } catch (e) {\n if (isHttpException(e) && e.status === 403) {\n await this.$router.push({ name: RouteName.Forbidden });\n } else {\n ElMessage.error('Error fetching users');\n }\n }\n this.loading = false;\n }\n\n async revokeUserAccess(id: string) {\n this.disablingUser[id] = true;\n try {\n await this.apiService.disableUser(id);\n await this.getUsers();\n ElMessage.success('Disabled User');\n } catch (e) {\n ElMessage.error('Error Disabling User');\n }\n this.disablingUser[id] = false;\n }\n}\n\n","import { render } from \"./users.vue?vue&type=template&id=26937637&scoped=true&ts=true\"\nimport script from \"./users.vue?vue&type=script&lang=ts\"\nexport * from \"./users.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-26937637\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-6c5cbdde\")\n\n_pushScopeId(\"data-v-6c5cbdde\")\nconst _hoisted_1 = { class: \"outer-justify\" }\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Edit Taxonomy\")\nconst _hoisted_3 = { class: \"left-justify gap\" }\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\"Status: \")\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"h4\", null, \"Name\", -1)\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"h4\", null, \"Location Targeting Mode\", -1)\nconst _hoisted_7 = /*#__PURE__*/_createVNode(\"h4\", null, \"Callout Options (Differentiators)\", -1)\nconst _hoisted_8 = /*#__PURE__*/_createVNode(\"h4\", null, \"Negative Keywords\", -1)\nconst _hoisted_9 = /*#__PURE__*/_createVNode(\"h2\", null, \"Campaigns\", -1)\nconst _hoisted_10 = /*#__PURE__*/_createVNode(\"h4\", null, \"Name\", -1)\nconst _hoisted_11 = /*#__PURE__*/_createVNode(\"h4\", null, \"Budget High\", -1)\nconst _hoisted_12 = /*#__PURE__*/_createVNode(\"h4\", null, \"Low Click Est.\", -1)\nconst _hoisted_13 = /*#__PURE__*/_createVNode(\"h4\", null, \"High Click Est.\", -1)\nconst _hoisted_14 = /*#__PURE__*/_createVNode(\"h4\", null, \"Budget Medium\", -1)\nconst _hoisted_15 = /*#__PURE__*/_createVNode(\"h4\", null, \"Low Click Est.\", -1)\nconst _hoisted_16 = /*#__PURE__*/_createVNode(\"h4\", null, \"High Click Est.\", -1)\nconst _hoisted_17 = /*#__PURE__*/_createVNode(\"h4\", null, \"Budget Low\", -1)\nconst _hoisted_18 = /*#__PURE__*/_createVNode(\"h4\", null, \"Low Click Est.\", -1)\nconst _hoisted_19 = /*#__PURE__*/_createVNode(\"h4\", null, \"High Click Est.\", -1)\nconst _hoisted_20 = /*#__PURE__*/_createVNode(\"h4\", null, \"Keywords\", -1)\nconst _hoisted_21 = /*#__PURE__*/_createVNode(\"h4\", null, \"Headlines\", -1)\nconst _hoisted_22 = /*#__PURE__*/_createVNode(\"h4\", null, \"Descriptions\", -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_switch = _resolveComponent(\"el-switch\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_col = _resolveComponent(\"el-col\")\n const _component_el_row = _resolveComponent(\"el-row\")\n\n return (_openBlock(), _createBlock(\"main\", null, [\n (_ctx.taxonomy !== null)\n ? (_openBlock(), _createBlock(_component_el_space, {\n key: 0,\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"h3\", null, _toDisplayString(_ctx.taxonomy.name), 1),\n _createVNode(_component_el_button, {\n type: \"text\",\n icon: \"el-icon-edit-outline\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.routeToEdit()))\n }, {\n default: _withId(() => [\n _hoisted_2\n ]),\n _: 1\n })\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"span\", null, [\n _hoisted_4,\n _createVNode(\"b\", null, _toDisplayString(_ctx.taxonomy.enabled ? _ctx.TaxonomyStatus.Active : _ctx.TaxonomyStatus.Inactive), 1)\n ]),\n _createVNode(_component_el_switch, {\n modelValue: _ctx.taxonomy.enabled,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.taxonomy.enabled = $event)),\n loading: _ctx.taxonomyStatusChanging,\n beforeChange: _ctx.toggleTaxonomy\n }, null, 8, [\"modelValue\", \"loading\", \"beforeChange\"])\n ]),\n _createVNode(_component_el_card, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 24,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_5,\n _createVNode(\"span\", null, _toDisplayString(_ctx.taxonomy.name), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_6,\n _createVNode(\"span\", null, _toDisplayString(_ctx.targetingModeDisplayName(_ctx.taxonomy.targetingMethod)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_7,\n _createVNode(\"span\", null, _toDisplayString(_ctx.taxonomy.calloutExtensions.join(', ')), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_8,\n _createVNode(\"span\", null, _toDisplayString(_ctx.taxonomy.negativeKeywords.map((k) => k.pattern).join(', ')), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _hoisted_9,\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.taxonomy.campaigns, (campaign) => {\n return (_openBlock(), _createBlock(_component_el_card, {\n key: campaign.id\n }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 20,\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_col, { span: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_10,\n _createVNode(\"span\", null, _toDisplayString(campaign.name), 1)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_col, { span: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_col, { span: 8 }, {\n default: _withId(() => [\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_11,\n _createVNode(\"span\", null, \"$\" + _toDisplayString(campaign.highBudget), 1)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_12,\n _createVNode(\"span\", null, _toDisplayString(campaign.lowClicksHighBudget), 1)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_13,\n _createVNode(\"span\", null, _toDisplayString(campaign.highClicksHighBudget), 1)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_col, { span: 8 }, {\n default: _withId(() => [\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_14,\n _createVNode(\"span\", null, \"$\" + _toDisplayString(campaign.mediumBudget), 1)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_15,\n _createVNode(\"span\", null, _toDisplayString(campaign.lowClicksMediumBudget), 1)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_16,\n _createVNode(\"span\", null, _toDisplayString(campaign.highClicksMediumBudget), 1)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_col, { span: 8 }, {\n default: _withId(() => [\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_17,\n _createVNode(\"span\", null, \"$\" + _toDisplayString(campaign.lowBudget), 1)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_18,\n _createVNode(\"span\", null, _toDisplayString(campaign.lowClicksLowBudget), 1)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_19,\n _createVNode(\"span\", null, _toDisplayString(campaign.highClicksLowBudget), 1)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_col, { span: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_20,\n _createVNode(\"p\", null, _toDisplayString(campaign.keywords.map((k) => k.pattern).join(', ')), 1)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_col, { span: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_21,\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(campaign.headlines, (headline) => {\n return (_openBlock(), _createBlock(\"p\", { key: headline }, _toDisplayString(headline), 1))\n }), 128))\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_col, { span: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_22,\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(campaign.descriptions, (description) => {\n return (_openBlock(), _createBlock(\"p\", { key: description }, _toDisplayString(description), 1))\n }), 128))\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]))\n})","\nimport { Options, Vue } from '../../../vue';\nimport { LoadingOverlay } from '../../../components';\nimport { ApiService } from '../../../services/api.service';\nimport { RouteName } from '../../../router';\nimport { TaxonomyStatus } from './taxonomies.vue';\nimport { ElLoading, ElMessage } from 'element-plus';\nimport { targetingModeDisplayName } from '../../../utils/helpers';\nimport { AuthService } from '../../../services/auth.service';\nimport { TaxonomyModel } from '../../../models/taxonomies/taxonomy.model';\n\n@Options({\n components: {\n LoadingOverlay\n }\n})\nexport default class AdminTaxonomyDetails extends Vue {\n private apiService: ApiService = ApiService.Instance;\n private authService: AuthService = AuthService.Instance;\n\n RouteName = RouteName;\n TaxonomyStatus = TaxonomyStatus;\n targetingModeDisplayName = targetingModeDisplayName;\n\n taxonomy: TaxonomyModel | null = null;\n\n taxonomyStatusChanging = false;\n\n async mounted() {\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\n this.taxonomy = await this.apiService.getTaxonomy(this.$route.params.id as string);\n loading.close();\n }\n\n async toggleTaxonomy() {\n this.taxonomyStatusChanging = true;\n try {\n if (this.taxonomy !== null) {\n await this.apiService.setTaxonomyStatus(this.taxonomy.id, !this.taxonomy.enabled);\n this.taxonomy.enabled = !this.taxonomy.enabled;\n ElMessage.success('Updated Taxonomy');\n } else {\n throw new Error('taxonomy is null');\n }\n } catch (e) {\n ElMessage.error('Error Updating Taxonomy');\n }\n this.taxonomyStatusChanging = false;\n }\n\n routeToEdit() {\n this.$router.push({ name: RouteName.AdminTaxonomyFormEdit, params: { id: this.taxonomy!.id } });\n }\n}\n\n","import { render } from \"./taxonomy-details.vue?vue&type=template&id=6c5cbdde&scoped=true&ts=true\"\nimport script from \"./taxonomy-details.vue?vue&type=script&lang=ts\"\nexport * from \"./taxonomy-details.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6c5cbdde\"]])\n\nexport default __exports__","import { createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-3969e86f\")\n\n_pushScopeId(\"data-v-3969e86f\")\nconst _hoisted_1 = { id: \"sign-in\" }\nconst _hoisted_2 = { id: \"header\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"div\", { id: \"content\" }, [\n /*#__PURE__*/_createVNode(\"div\", { class: \"wrapper\" }, [\n /*#__PURE__*/_createVNode(\"h1\", null, \"This invite link has expired.\"),\n /*#__PURE__*/_createVNode(\"p\", null, \"Please request a new invite link from your supervisor.\")\n ])\n], -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"img\", {\n id: \"logo\",\n class: _ctx.brand.slug + '-logo',\n src: '/img/' + _ctx.brand.slug + '-logo.svg',\n width: \"200\"\n }, null, 10, [\"src\"])\n ]),\n _hoisted_3\n ]))\n})","\nimport { Vue, Options } from '../../vue';\nimport { isAuthenticationException } from '../../utils/exceptions';\nimport { RouteName } from '../../router';\nimport { UserRole } from '../../models/user.model';\n\n@Options({\n components: {}\n})\nexport default class InviteExpired extends Vue {\n}\n\n","import { render } from \"./invite-expired.vue?vue&type=template&id=3969e86f&scoped=true&ts=true\"\nimport script from \"./invite-expired.vue?vue&type=script&lang=ts\"\nexport * from \"./invite-expired.vue?vue&type=script&lang=ts\"\n\nimport \"./invite-expired.vue?vue&type=style&index=0&id=3969e86f&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3969e86f\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createVNode as _createVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, renderList as _renderList, Fragment as _Fragment, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-4bab948b\")\n\n_pushScopeId(\"data-v-4bab948b\")\nconst _hoisted_1 = { class: \"left-justify\" }\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"h4\", null, \"Name\", -1)\nconst _hoisted_3 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"h4\", null, \"Location Targeting Mode\", -1)\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"p\", null, \"The following variables can be used in keywords and ad group headlines and descriptions:\", -1)\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"p\", null, \"[name] for the business name provided\", -1)\nconst _hoisted_7 = /*#__PURE__*/_createVNode(\"p\", null, \"[location] for the city the business address is located in\", -1)\nconst _hoisted_8 = /*#__PURE__*/_createVNode(\"p\", null, \"[website] for the business website provided\", -1)\nconst _hoisted_9 = /*#__PURE__*/_createVNode(\"h4\", null, \"Callout Options (Differentiators)\", -1)\nconst _hoisted_10 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_11 = {\n key: 1,\n class: \"error-label\"\n}\nconst _hoisted_12 = /*#__PURE__*/_createVNode(\"h4\", null, \"Negative Keywords\", -1)\nconst _hoisted_13 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_14 = {\n key: 1,\n class: \"error-label\"\n}\nconst _hoisted_15 = /*#__PURE__*/_createTextVNode(\"Add Negative Keywords\")\nconst _hoisted_16 = { class: \"right-justify\" }\nconst _hoisted_17 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_18 = /*#__PURE__*/_createTextVNode(\"Submit\")\nconst _hoisted_19 = /*#__PURE__*/_createVNode(\"h2\", null, \"Campaigns\", -1)\nconst _hoisted_20 = /*#__PURE__*/_createVNode(\"h4\", null, \"Name\", -1)\nconst _hoisted_21 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_22 = /*#__PURE__*/_createVNode(\"h4\", null, \"Budget High\", -1)\nconst _hoisted_23 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_24 = /*#__PURE__*/_createVNode(\"h4\", null, \"Low Click Est.\", -1)\nconst _hoisted_25 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_26 = /*#__PURE__*/_createVNode(\"h4\", null, \"High Click Est.\", -1)\nconst _hoisted_27 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_28 = /*#__PURE__*/_createVNode(\"h4\", null, \"Budget Medium\", -1)\nconst _hoisted_29 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_30 = /*#__PURE__*/_createVNode(\"h4\", null, \"Low Click Est.\", -1)\nconst _hoisted_31 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_32 = /*#__PURE__*/_createVNode(\"h4\", null, \"High Click Est.\", -1)\nconst _hoisted_33 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_34 = /*#__PURE__*/_createVNode(\"h4\", null, \"Budget Low\", -1)\nconst _hoisted_35 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_36 = /*#__PURE__*/_createVNode(\"h4\", null, \"Low Click Est.\", -1)\nconst _hoisted_37 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_38 = /*#__PURE__*/_createVNode(\"h4\", null, \"High Click Est.\", -1)\nconst _hoisted_39 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_40 = /*#__PURE__*/_createVNode(\"h4\", null, \"Keywords\", -1)\nconst _hoisted_41 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_42 = {\n key: 1,\n class: \"error-label\"\n}\nconst _hoisted_43 = /*#__PURE__*/_createTextVNode(\"Add Keywords\")\nconst _hoisted_44 = { class: \"right-justify\" }\nconst _hoisted_45 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_46 = /*#__PURE__*/_createTextVNode(\"Submit\")\nconst _hoisted_47 = /*#__PURE__*/_createVNode(\"h4\", null, \"Headlines\", -1)\nconst _hoisted_48 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_49 = {\n key: 1,\n class: \"error-label\"\n}\nconst _hoisted_50 = /*#__PURE__*/_createTextVNode(\"Add Another Headline\")\nconst _hoisted_51 = /*#__PURE__*/_createVNode(\"h4\", null, \"Descriptions\", -1)\nconst _hoisted_52 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_53 = {\n key: 1,\n class: \"error-label\"\n}\nconst _hoisted_54 = /*#__PURE__*/_createTextVNode(\"Add Another Description\")\nconst _hoisted_55 = { class: \"center-justify\" }\nconst _hoisted_56 = /*#__PURE__*/_createTextVNode(\"Remove this Campaign\")\nconst _hoisted_57 = /*#__PURE__*/_createTextVNode(\"Add Another Campaign\")\nconst _hoisted_58 = /*#__PURE__*/_createVNode(\"div\", { class: \"spacer\" }, null, -1)\nconst _hoisted_59 = { class: \"footer center-justify gap center\" }\nconst _hoisted_60 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_61 = /*#__PURE__*/_createTextVNode(\"Create Taxonomy\")\nconst _hoisted_62 = /*#__PURE__*/_createTextVNode(\"Save Changes\")\nconst _hoisted_63 = { key: 2 }\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_el_input = _resolveComponent(\"el-input\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _component_el_radio = _resolveComponent(\"el-radio\")\n const _component_el_col = _resolveComponent(\"el-col\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_select = _resolveComponent(\"el-select\")\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_form_item = _resolveComponent(\"el-form-item\")\n const _component_el_dialog = _resolveComponent(\"el-dialog\")\n const _component_el_card = _resolveComponent(\"el-card\")\n\n return (_openBlock(), _createBlock(\"main\", null, [\n (_ctx.taxonomy !== null)\n ? (_openBlock(), _createBlock(_component_el_space, {\n key: 0,\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(\"h3\", null, _toDisplayString(_ctx.editMode ? 'Edit Taxonomy' : 'Create Taxonomy'), 1)\n ]),\n _createVNode(_component_el_card, null, {\n default: _withId(() => [\n _createVNode(_component_el_row, { gutter: 30 }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { span: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 24,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _hoisted_2,\n _createVNode(_component_el_input, {\n modelValue: _ctx.taxonomy.name,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.taxonomy.name = $event))\n }, null, 8, [\"modelValue\"]),\n (_ctx.errors && !_ctx.errors.name)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_3, \"Please provide a name between 2 and 30 characters in length.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_4,\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_col, { span: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_radio, {\n modelValue: _ctx.taxonomy.targetingMethod,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.taxonomy.targetingMethod = $event)),\n label: _ctx.TargetingMethod.Area\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.targetingModeDisplayName(_ctx.TargetingMethod.Area)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, { span: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_radio, {\n modelValue: _ctx.taxonomy.targetingMethod,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.taxonomy.targetingMethod = $event)),\n label: _ctx.TargetingMethod.Distance\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.targetingModeDisplayName(_ctx.TargetingMethod.Distance)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, { span: 12 }, {\n default: _withId(() => [\n _hoisted_5,\n _hoisted_6,\n _hoisted_7,\n _hoisted_8\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, { gutter: 30 }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { span: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _hoisted_9,\n _createVNode(_component_el_select, {\n style: {\"width\":\"100%\"},\n modelValue: _ctx.taxonomy.calloutExtensions,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.taxonomy.calloutExtensions = $event)),\n multiple: \"\",\n filterable: \"\",\n \"allow-create\": \"\",\n \"default-first-option\": \"\"\n }, null, 8, [\"modelValue\"]),\n (_ctx.errors && !_ctx.errors.validNumberOfExtensions)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_10, \"You must have 2 or more callout extensions.\"))\n : _createCommentVNode(\"\", true),\n (_ctx.errors && _ctx.errors.extensions.length !== 0)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_11, \"One or more of your extensions is invalid. Extensions must be between 2 and 25 characters in length.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, { span: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _hoisted_12,\n _createVNode(_component_el_select, {\n style: {\"width\":\"100%\"},\n modelValue: _ctx.taxonomy.negativeKeywords,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.taxonomy.negativeKeywords = $event)),\n \"value-key\": \"id\",\n multiple: \"\",\n filterable: \"\",\n \"allow-create\": \"\",\n \"default-first-option\": \"\"\n }, null, 8, [\"modelValue\"]),\n (_ctx.errors && !_ctx.errors.validNumberOfNegativeKeywords)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_13, \"You must have 3 or more negative keywords.\"))\n : _createCommentVNode(\"\", true),\n (_ctx.errors && _ctx.errors.negativeKeywords.length !== 0)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_14, \"One or more of your negative keywords is invalid. Keywords must be between 2 and 80 characters in length and must only contain alphanumeric characters or placeholders.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"text\",\n onClick: _cache[6] || (_cache[6] = ($event: any) => (_ctx.showAddNegativeKeywords = true))\n }, {\n default: _withId(() => [\n _hoisted_15\n ]),\n _: 1\n }),\n _createVNode(_component_el_dialog, {\n title: \"Add Negative Keywords (separated with commas)\",\n modelValue: _ctx.showAddNegativeKeywords,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => (_ctx.showAddNegativeKeywords = $event)),\n width: \"40%\",\n \"destroy-on-close\": \"\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_form_item, null, {\n default: _withId(() => [\n _createVNode(_component_el_input, {\n modelValue: _ctx.newNegativeKeywords,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (_ctx.newNegativeKeywords = $event))\n }, null, 8, [\"modelValue\"]),\n _createVNode(\"div\", _hoisted_16, [\n _createVNode(_component_el_button, {\n onClick: _cache[8] || (_cache[8] = ($event: any) => {_ctx.showAddNegativeKeywords = false;})\n }, {\n default: _withId(() => [\n _hoisted_17\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[9] || (_cache[9] = ($event: any) => (_ctx.submitNewNegativeKeywords(_ctx.taxonomy)))\n }, {\n default: _withId(() => [\n _hoisted_18\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _hoisted_19,\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.taxonomy.campaigns, (campaign, campaignIndex) => {\n return (_openBlock(), _createBlock(_component_el_card, {\n key: campaign.id\n }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 20,\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _createVNode(_component_el_row, { gutter: 30 }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { span: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _hoisted_20,\n _createVNode(_component_el_input, {\n modelValue: _ctx.taxonomy.campaigns[campaignIndex].name,\n \"onUpdate:modelValue\": ($event: any) => (_ctx.taxonomy.campaigns[campaignIndex].name = $event),\n id: `campaign-${campaignIndex}-name-input`\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\"]),\n (_ctx.errors && !_ctx.errors.campaigns[campaignIndex].name)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_21, \"Please provide a name between 2 and 30 characters in length.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_col, { span: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_col, { span: 8 }, {\n default: _withId(() => [\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_22,\n _createVNode(_component_el_input, {\n min: \"0\",\n modelValue: _ctx.taxonomy.campaigns[campaignIndex].highBudget,\n \"onUpdate:modelValue\": ($event: any) => (_ctx.taxonomy.campaigns[campaignIndex].highBudget = $event),\n type: \"number\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n (_ctx.errors && !_ctx.errors.campaigns[campaignIndex].highBudget)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_23, \"Your high budget must be greater than 0 and greater than your medium budget.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_24,\n _createVNode(_component_el_input, {\n min: \"0\",\n modelValue: _ctx.taxonomy.campaigns[campaignIndex].lowClicksHighBudget,\n \"onUpdate:modelValue\": ($event: any) => (_ctx.taxonomy.campaigns[campaignIndex].lowClicksHighBudget = $event),\n type: \"number\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n (_ctx.errors && !_ctx.errors.campaigns[campaignIndex].lowClicksHighBudget)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_25, \"Your low click estimate must be more than 0 and less than your high click estimate.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_26,\n _createVNode(_component_el_input, {\n min: \"0\",\n modelValue: _ctx.taxonomy.campaigns[campaignIndex].highClicksHighBudget,\n \"onUpdate:modelValue\": ($event: any) => (_ctx.taxonomy.campaigns[campaignIndex].highClicksHighBudget = $event),\n type: \"number\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n (_ctx.errors && !_ctx.errors.campaigns[campaignIndex].highClicksHighBudget)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_27, \"Your high click estimate must be greater than 0 and greater than your low click estimate.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_col, { span: 8 }, {\n default: _withId(() => [\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_28,\n _createVNode(_component_el_input, {\n min: \"0\",\n modelValue: _ctx.taxonomy.campaigns[campaignIndex].mediumBudget,\n \"onUpdate:modelValue\": ($event: any) => (_ctx.taxonomy.campaigns[campaignIndex].mediumBudget = $event),\n type: \"number\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n (_ctx.errors && !_ctx.errors.campaigns[campaignIndex].mediumBudget)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_29, \"Your medium budget must be greater than 0 and greater than your low budget.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_30,\n _createVNode(_component_el_input, {\n min: \"0\",\n modelValue: _ctx.taxonomy.campaigns[campaignIndex].lowClicksMediumBudget,\n \"onUpdate:modelValue\": ($event: any) => (_ctx.taxonomy.campaigns[campaignIndex].lowClicksMediumBudget = $event),\n type: \"number\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n (_ctx.errors && !_ctx.errors.campaigns[campaignIndex].lowClicksMediumBudget)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_31, \"Your low click estimate must be more than 0 and less than your high click estimate.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_32,\n _createVNode(_component_el_input, {\n min: \"0\",\n modelValue: _ctx.taxonomy.campaigns[campaignIndex].highClicksMediumBudget,\n \"onUpdate:modelValue\": ($event: any) => (_ctx.taxonomy.campaigns[campaignIndex].highClicksMediumBudget = $event),\n type: \"number\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n (_ctx.errors && !_ctx.errors.campaigns[campaignIndex].highClicksMediumBudget)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_33, \"Your high click estimate must be greater than 0 and greater than your low click estimate.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_col, { span: 8 }, {\n default: _withId(() => [\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_34,\n _createVNode(_component_el_input, {\n min: \"0\",\n modelValue: _ctx.taxonomy.campaigns[campaignIndex].lowBudget,\n \"onUpdate:modelValue\": ($event: any) => (_ctx.taxonomy.campaigns[campaignIndex].lowBudget = $event),\n type: \"number\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n (_ctx.errors && !_ctx.errors.campaigns[campaignIndex].lowBudget)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_35, \"Your low budget must be greater than 0.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_36,\n _createVNode(_component_el_input, {\n min: \"0\",\n modelValue: _ctx.taxonomy.campaigns[campaignIndex].lowClicksLowBudget,\n \"onUpdate:modelValue\": ($event: any) => (_ctx.taxonomy.campaigns[campaignIndex].lowClicksLowBudget = $event),\n type: \"number\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n (_ctx.errors && !_ctx.errors.campaigns[campaignIndex].lowClicksLowBudget)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_37, \"Your low click estimate must be more than 0 and less than your high click estimate.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\"\n }, {\n default: _withId(() => [\n _hoisted_38,\n _createVNode(_component_el_input, {\n min: \"0\",\n modelValue: _ctx.taxonomy.campaigns[campaignIndex].highClicksLowBudget,\n \"onUpdate:modelValue\": ($event: any) => (_ctx.taxonomy.campaigns[campaignIndex].highClicksLowBudget = $event),\n type: \"number\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n (_ctx.errors && !_ctx.errors.campaigns[campaignIndex].highClicksLowBudget)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_39, \"Your high click estimate must be greater than 0 and greater than your low click estimate.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_row, { gutter: 30 }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { span: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _hoisted_40,\n _createVNode(_component_el_select, {\n style: {\"width\":\"100%\"},\n modelValue: _ctx.taxonomy.campaigns[campaignIndex].keywords,\n \"onUpdate:modelValue\": ($event: any) => (_ctx.taxonomy.campaigns[campaignIndex].keywords = $event),\n \"value-key\": \"id\",\n multiple: \"\",\n filterable: \"\",\n \"allow-create\": \"\",\n \"default-first-option\": \"\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n (_ctx.errors && !_ctx.errors.campaigns[campaignIndex].validNumberOfKeywords)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_41, \"You must have 3 or more keywords.\"))\n : _createCommentVNode(\"\", true),\n (_ctx.errors && _ctx.errors.campaigns[campaignIndex].keywords.length !== 0)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_42, \"One or more of your keywords is invalid. Keywords must be between 2 and 80 characters in length and must only contain alphanumeric characters or placeholders.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_button, {\n type: \"text\",\n onClick: ($event: any) => {_ctx.showAddKeywords = true; _ctx.selectedCampaignIndex = campaignIndex;}\n }, {\n default: _withId(() => [\n _hoisted_43\n ]),\n _: 2\n }, 1032, [\"onClick\"]),\n _createVNode(_component_el_dialog, {\n title: \"Add Keywords (separated with commas)\",\n modelValue: _ctx.showAddKeywords,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => (_ctx.showAddKeywords = $event)),\n width: \"40%\",\n \"destroy-on-close\": \"\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_form_item, null, {\n default: _withId(() => [\n _createVNode(_component_el_input, {\n modelValue: _ctx.newKeywords,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => (_ctx.newKeywords = $event))\n }, null, 8, [\"modelValue\"]),\n _createVNode(\"div\", _hoisted_44, [\n _createVNode(_component_el_button, {\n onClick: _cache[12] || (_cache[12] = ($event: any) => {_ctx.showAddKeywords = false;})\n }, {\n default: _withId(() => [\n _hoisted_45\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: ($event: any) => (_ctx.submitNewKeywords(campaignIndex))\n }, {\n default: _withId(() => [\n _hoisted_46\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ])\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1032, [\"modelValue\"])\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_col, { span: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _hoisted_47,\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(campaign.headlines, (headline, headlineIndex) => {\n return (_openBlock(), _createBlock(_component_el_row, {\n key: headline.id,\n gutter: 24\n }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { span: 22 }, {\n default: _withId(() => [\n _createVNode(_component_el_input, {\n maxlength: \"30\",\n modelValue: _ctx.taxonomy.campaigns[campaignIndex].headlines[headlineIndex].value,\n \"onUpdate:modelValue\": ($event: any) => (_ctx.taxonomy.campaigns[campaignIndex].headlines[headlineIndex].value = $event),\n id: `campaign-${campaignIndex}-headline-${headlineIndex}-input`\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\"])\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_col, { span: 2 }, {\n default: _withId(() => [\n _createVNode(_component_el_button, {\n type: \"danger\",\n icon: \"el-icon-close\",\n circle: \"\",\n onClick: ($event: any) => (_ctx.removeHeadline(campaignIndex, headlineIndex)),\n tabindex: \"-1\"\n }, null, 8, [\"onClick\"])\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024))\n }), 128)),\n (_ctx.errors && _ctx.errors.campaigns[campaignIndex].headlines.length !== 0)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_48, \"One or more of your headlines is invalid. headlines must be between 2 and 30 characters in length.\"))\n : _createCommentVNode(\"\", true),\n (_ctx.errors && !_ctx.errors.campaigns[campaignIndex].validNumberOfHeadlines)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_49, \"You must have between 3 to 10 headlines.\"))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_el_button, {\n type: \"text\",\n icon: \"el-icon-plus\",\n onClick: ($event: any) => (_ctx.addHeadline(campaignIndex))\n }, {\n default: _withId(() => [\n _hoisted_50\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_col, { span: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _hoisted_51,\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(campaign.descriptions, (description, descriptionIndex) => {\n return (_openBlock(), _createBlock(_component_el_row, {\n key: description.id,\n gutter: 24\n }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { span: 22 }, {\n default: _withId(() => [\n _createVNode(_component_el_input, {\n maxlength: \"90\",\n modelValue: _ctx.taxonomy.campaigns[campaignIndex].descriptions[descriptionIndex].value,\n \"onUpdate:modelValue\": ($event: any) => (_ctx.taxonomy.campaigns[campaignIndex].descriptions[descriptionIndex].value = $event),\n id: `campaign-${campaignIndex}-description-${descriptionIndex}-input`\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\"])\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_col, { span: 2 }, {\n default: _withId(() => [\n _createVNode(_component_el_button, {\n type: \"danger\",\n icon: \"el-icon-close\",\n circle: \"\",\n onClick: ($event: any) => (_ctx.removeDescription(campaignIndex, descriptionIndex)),\n tabindex: \"-1\"\n }, null, 8, [\"onClick\"])\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024))\n }), 128)),\n (_ctx.errors && _ctx.errors.campaigns[campaignIndex].descriptions.length !== 0)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_52, \"One or more of your descriptions is invalid. descriptions must be between 2 and 90 characters in length.\"))\n : _createCommentVNode(\"\", true),\n (_ctx.errors && !_ctx.errors.campaigns[campaignIndex].validNumberOfDescriptions)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_53, \"You must have between 2 to 4 descriptions.\"))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_el_button, {\n type: \"text\",\n icon: \"el-icon-plus\",\n onClick: ($event: any) => (_ctx.addDescription(campaignIndex))\n }, {\n default: _withId(() => [\n _hoisted_54\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024),\n _createVNode(\"div\", _hoisted_55, [\n _createVNode(_component_el_button, {\n type: \"danger\",\n icon: \"el-icon-close\",\n onClick: ($event: any) => (_ctx.removeCampaign(campaignIndex)),\n tabindex: \"-1\"\n }, {\n default: _withId(() => [\n _hoisted_56\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ])\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024))\n }), 128)),\n _createVNode(_component_el_card, null, {\n default: _withId(() => [\n _createVNode(_component_el_button, {\n type: \"text\",\n icon: \"el-icon-plus\",\n onClick: _cache[14] || (_cache[14] = ($event: any) => (_ctx.addCampaign()))\n }, {\n default: _withId(() => [\n _hoisted_57\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _hoisted_58,\n _createVNode(\"div\", _hoisted_59, [\n _createVNode(_component_el_button, {\n onClick: _cache[15] || (_cache[15] = ($event: any) => (_ctx.routeBack()))\n }, {\n default: _withId(() => [\n _hoisted_60\n ]),\n _: 1\n }),\n (!_ctx.editMode)\n ? (_openBlock(), _createBlock(_component_el_button, {\n key: 0,\n loading: _ctx.requestSending,\n type: \"primary\",\n icon: \"el-icon-check\",\n onClick: _cache[16] || (_cache[16] = ($event: any) => (_ctx.create()))\n }, {\n default: _withId(() => [\n _hoisted_61\n ]),\n _: 1\n }, 8, [\"loading\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.editMode)\n ? (_openBlock(), _createBlock(_component_el_button, {\n key: 1,\n loading: _ctx.requestSending,\n type: \"primary\",\n icon: \"el-icon-check\",\n onClick: _cache[17] || (_cache[17] = ($event: any) => (_ctx.saveChanges()))\n }, {\n default: _withId(() => [\n _hoisted_62\n ]),\n _: 1\n }, 8, [\"loading\"]))\n : _createCommentVNode(\"\", true),\n (!_ctx.editMode)\n ? (_openBlock(), _createBlock(\"p\", _hoisted_63, \"New taxonomies are inactive after creation. Taxonomies will be available in the customer wizard once they are activated.\"))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n})","\nimport { Options, Vue } from '../../../vue';\nimport { LoadingOverlay } from '../../../components';\nimport { ApiService } from '../../../services/api.service';\nimport { RouteName } from '../../../router';\nimport { ElLoading, ElMessage } from 'element-plus';\nimport { targetingModeDisplayName } from '../../../utils/helpers';\nimport { TargetingMethod } from '../../../models/campaign-wizard/campaign-state.model';\nimport { TaxonomyModel } from '../../../models/taxonomies/taxonomy.model';\nimport { TaxonomyKeywordModel } from '../../../models/taxonomies/taxonomy-keyword.model';\nimport { v4 as uuidv4 } from 'uuid';\nimport { IdValuePair } from '../../../models/taxonomies/taxonomy-campaign.model';\n\ninterface TaxonomyFormErrors {\n name: boolean;\n negativeKeywords: TaxonomyKeywordModel[];\n extensions: string[];\n validNumberOfNegativeKeywords: boolean;\n validNumberOfExtensions: boolean;\n campaigns: Array;\n}\n\ninterface TaxonomyFormCampaignError {\n name: boolean;\n keywords: TaxonomyKeywordModel[];\n headlines: string[];\n descriptions: string[];\n lowBudget: boolean;\n mediumBudget: boolean;\n highBudget: boolean;\n validNumberOfKeywords: boolean;\n validNumberOfHeadlines: boolean;\n validNumberOfDescriptions: boolean;\n}\n\n@Options({\n components: {\n LoadingOverlay\n }\n})\nexport default class AdminTaxonomyForm extends Vue {\n private apiService: ApiService = ApiService.Instance;\n\n RouteName = RouteName;\n targetingModeDisplayName = targetingModeDisplayName;\n TargetingMethod = TargetingMethod;\n\n showAddKeywords = false;\n newKeywords = '';\n showAddNegativeKeywords = false;\n newNegativeKeywords = '';\n selectedCampaignIndex = 0;\n\n showKeywordsModal(index: number) {\n this.newKeywords = '';\n this.showAddKeywords = true;\n this.selectedCampaignIndex = index;\n }\n\n showNegativeKeywordsModal() {\n this.newNegativeKeywords = '';\n this.showAddNegativeKeywords = true;\n }\n\n submitNewKeywords() {\n if (this.taxonomy) {\n this.taxonomy.campaigns[this.selectedCampaignIndex].keywords = this.taxonomy.campaigns[this.selectedCampaignIndex].keywords.concat(this.newKeywords.split(','));\n }\n this.showAddKeywords = false;\n }\n\n submitNewNegativeKeywords(taxonomy: TaxonomyModel) {\n taxonomy.negativeKeywords = taxonomy.negativeKeywords.concat(this.newNegativeKeywords.split(','));\n this.showAddNegativeKeywords = false;\n }\n\n taxonomy: TaxonomyModel | null = null;\n\n editMode = false;\n requestSending = false;\n private originalTaxonomyKeywords: Map = new Map();\n private originalCampaignKeywords: Map> = new Map();\n private errors: TaxonomyFormErrors | null = null;\n\n removeHeadline(campaignIndex: number, headlineIndex: number) {\n if (this.taxonomy) {\n if (this.taxonomy.campaigns[campaignIndex].headlines.length > 3) {\n this.taxonomy.campaigns[campaignIndex].headlines.splice(headlineIndex, 1);\n } else {\n ElMessage.error('at least 3 headlines are required');\n }\n }\n }\n\n addHeadline(campaignIndex: number) {\n if (this.taxonomy) {\n if (this.taxonomy.campaigns[campaignIndex].headlines.length < 10) {\n const nextIndex = this.taxonomy.campaigns[campaignIndex].headlines.length;\n (this.taxonomy as TaxonomyModel).campaigns[campaignIndex].headlines.push({\n id: uuidv4(),\n value: ''\n });\n this.focusOnInput(campaignIndex, `headline-${nextIndex}`);\n } else {\n ElMessage.error('maximum of 10 headlines');\n }\n }\n }\n\n removeDescription(campaignIndex: number, descriptionIndex: number) {\n if (this.taxonomy) {\n if (this.taxonomy.campaigns[campaignIndex].descriptions.length > 2) {\n this.taxonomy.campaigns[campaignIndex].descriptions.splice(descriptionIndex, 1);\n } else {\n ElMessage.error('at least 2 descriptions are required');\n }\n }\n }\n\n addDescription(campaignIndex: number) {\n if (this.taxonomy) {\n if (this.taxonomy.campaigns[campaignIndex].descriptions.length < 4) {\n const nextIndex = this.taxonomy.campaigns[campaignIndex].descriptions.length;\n (this.taxonomy as TaxonomyModel).campaigns[campaignIndex].descriptions.push({\n id: uuidv4(),\n value: ''\n });\n this.focusOnInput(campaignIndex, `description-${nextIndex}`);\n } else {\n ElMessage.error('maximum of 4 description');\n }\n }\n }\n\n removeCampaign(campaignIndex: number) {\n this.errors = null;\n if (this.taxonomy) {\n if (this.taxonomy.campaigns.length > 1) {\n this.taxonomy.campaigns.splice(campaignIndex, 1);\n } else {\n ElMessage.error('at least 1 campaign is required');\n }\n }\n }\n\n addCampaign() {\n this.errors = null;\n if (this.taxonomy) {\n const nextIndex = this.taxonomy.campaigns.length;\n this.taxonomy.campaigns.push({\n id: uuidv4(),\n name: '',\n lowBudget: 0,\n mediumBudget: 0,\n highBudget: 0,\n lowClicksLowBudget: 0,\n lowClicksHighBudget: 0,\n lowClicksMediumBudget: 0,\n highClicksMediumBudget: 0,\n highClicksHighBudget: 0,\n highClicksLowBudget: 0,\n keywords: [],\n headlines: ['', '', ''],\n descriptions: ['', '']\n });\n\n this.focusOnInput(nextIndex, 'name');\n }\n }\n\n focusOnInput(campaignIndex: number, field: string) {\n this.$nextTick(() => {\n const theInput = document.getElementById(`campaign-${campaignIndex}-${field}-input`);\n if (theInput) {\n theInput.focus();\n }\n });\n }\n\n routeBack() {\n if (this.taxonomy) {\n if (this.editMode) {\n this.$router.push({ name: RouteName.AdminTaxonomyDetails, params: { id: this.taxonomy.id } });\n } else {\n this.$router.push({ name: RouteName.AdminTaxonomies });\n }\n }\n }\n\n async create() {\n this.errors = null;\n if (this.taxonomy) {\n this.requestSending = true;\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\n try {\n this.compileKeywordsAndAdCopy();\n if (!this.validateForm()) {\n ElMessage.error('Taxonomy is invalid');\n throw Error('Taxonomy Invalid');\n }\n const taxonomy = await this.apiService.createTaxonomy(this.taxonomy);\n ElMessage.success('Taxonomy created');\n await this.$router.push({ name: RouteName.AdminTaxonomyDetails, params: { id: taxonomy.id } });\n } catch (e) {\n if (e.message !== 'Taxonomy Invalid') {\n ElMessage.error('Error creating Taxonomy');\n throw e;\n }\n } finally {\n this.decompileKeywordsAndAdCopy();\n loading.close();\n this.requestSending = false;\n }\n }\n }\n\n async saveChanges() {\n this.errors = null;\n if (this.taxonomy) {\n this.requestSending = true;\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\n try {\n this.compileKeywordsAndAdCopy();\n if (!this.validateForm()) {\n ElMessage.error('Taxonomy is invalid');\n throw Error('Taxonomy Invalid');\n }\n const taxonomy = await this.apiService.saveTaxonomy(this.taxonomy);\n ElMessage.success('Your changes to this taxonomy have been saved.');\n await this.$router.push({ name: RouteName.AdminTaxonomyDetails, params: { id: taxonomy.id } });\n } catch (e) {\n if (e.message !== 'Taxonomy Invalid') {\n ElMessage.error('Error saving Taxonomy');\n throw e;\n }\n } finally {\n this.decompileKeywordsAndAdCopy();\n loading.close();\n this.requestSending = false;\n }\n }\n }\n\n compileKeywordsAndAdCopy() {\n if (this.taxonomy !== null) {\n const taxonomy = this.taxonomy as TaxonomyModel;\n const newTaxonomy = this.taxonomy as TaxonomyModel;\n newTaxonomy.negativeKeywords = taxonomy.negativeKeywords.map(k => {\n return {\n id: this.originalTaxonomyKeywords.get(k) || '',\n pattern: k\n };\n });\n taxonomy.campaigns.forEach((campaign, i) => {\n newTaxonomy.campaigns[i].keywords = taxonomy.campaigns[i].keywords.map(k => {\n return {\n id: this.originalCampaignKeywords.get(campaign.id)?.get(k) || '',\n pattern: k\n };\n });\n newTaxonomy.campaigns[i].headlines = campaign.headlines.map(h => h.value);\n newTaxonomy.campaigns[i].descriptions = campaign.descriptions.map(d => d.value);\n });\n this.taxonomy = newTaxonomy;\n }\n }\n\n decompileKeywordsAndAdCopy() {\n if (this.taxonomy !== null) {\n const taxonomy = this.taxonomy as TaxonomyModel;\n const newTaxonomy = this.taxonomy as TaxonomyModel;\n this.originalCampaignKeywords = new Map();\n this.originalTaxonomyKeywords = new Map(taxonomy.negativeKeywords.map(k => [k.pattern, k.id]));\n newTaxonomy.negativeKeywords = taxonomy.negativeKeywords.map(k => k.pattern);\n taxonomy.campaigns.forEach((campaign, i) => {\n this.originalCampaignKeywords.set(campaign.id, new Map(campaign.keywords.map(k => [k.pattern, k.id])));\n newTaxonomy.campaigns[i].keywords = campaign.keywords.map(k => k.pattern);\n\n newTaxonomy.campaigns[i].headlines = campaign.headlines.map(h => {\n return {\n id: uuidv4(),\n value: h\n };\n });\n newTaxonomy.campaigns[i].descriptions = campaign.descriptions.map(d => {\n return {\n id: uuidv4(),\n value: d\n };\n });\n });\n this.taxonomy = newTaxonomy;\n }\n }\n\n async mounted() {\n const taxonomyId = this.$route.params.id as string | undefined;\n if (taxonomyId !== undefined) {\n // eslint-disable-next-line @typescript-eslint/ban-ts-ignore\n // @ts-ignore\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\n this.taxonomy = await this.apiService.getTaxonomy(taxonomyId);\n this.editMode = true;\n loading.close();\n } else {\n this.taxonomy = {\n id: '1',\n name: '',\n enabled: false,\n targetingMethod: TargetingMethod.Distance,\n calloutExtensions: [],\n negativeKeywords: [],\n campaigns: [\n {\n id: '1',\n name: '',\n lowBudget: 0,\n mediumBudget: 0,\n lowClicksLowBudget: 0,\n lowClicksHighBudget: 0,\n lowClicksMediumBudget: 0,\n highClicksMediumBudget: 0,\n highClicksHighBudget: 0,\n highClicksLowBudget: 0,\n highBudget: 0,\n keywords: [],\n headlines: ['', '', ''],\n descriptions: ['', '']\n }\n ]\n };\n }\n this.decompileKeywordsAndAdCopy();\n }\n\n validateForm(): boolean {\n let formIsValid = true;\n const taxonomy = this.taxonomy as TaxonomyModel;\n const nameValid = this.validateHeaderOrNameLength(taxonomy.name || '');\n const invalidNegativeKeywords = taxonomy.negativeKeywords.map(k => ((!this.validateKeyword(k.pattern) && k) || null)).filter(k => k !== null) as TaxonomyKeywordModel[];\n const calloutExtensions = taxonomy.calloutExtensions.map(c => c || '');\n const invalidExtensions = calloutExtensions.map(c => ((!this.validateCalloutLength(c) && c) || (c !== '' && null))).filter(c => c !== null) as string[];\n if (!nameValid || invalidNegativeKeywords.length > 0 || invalidExtensions.length > 0) {\n formIsValid = false;\n }\n const invalidCampaigns: TaxonomyFormCampaignError[] = taxonomy.campaigns.map(campaign => {\n const campaignNameValid = this.validateHeaderOrNameLength(campaign.name || '');\n const invalidKeywords = campaign.keywords.map(k => ((!this.validateKeyword(k.pattern) && k) || null)).filter(k => k !== null) as TaxonomyKeywordModel[];\n const headlines = campaign.headlines.map(h => h || '');\n const descriptions = campaign.descriptions.map(d => d || '');\n const invalidHeadlines = headlines.map(h => ((!this.validateHeaderOrNameLength(h) && h) || (h !== '' && null))).filter(h => h !== null) as string[];\n const invalidDescriptions = descriptions.map(d => ((!this.validateDescriptionLength(d) && d) || (d !== '' && null))).filter(d => d !== null) as string[];\n const [highBudget, mediumBudget, lowBudget] = [parseInt(campaign.highBudget.toString(10), 10), parseInt(campaign.mediumBudget.toString(10), 10), parseInt(campaign.lowBudget.toString(10), 10)];\n const validLowBudget = Boolean(campaign.lowBudget && lowBudget > 0);\n const validMediumBudget = Boolean(campaign.mediumBudget && mediumBudget > 0 && mediumBudget > lowBudget);\n const validHighBudget = Boolean(campaign.highBudget && highBudget > 0 && highBudget > mediumBudget);\n const validLowClicksLowBudget = Boolean(campaign.lowClicksLowBudget && campaign.highClicksLowBudget && campaign.lowClicksLowBudget < campaign.highClicksLowBudget);\n const validHighClicksLowBudget = Boolean(campaign.highClicksLowBudget && campaign.highClicksLowBudget > campaign.lowClicksLowBudget);\n const validLowClicksMediumBudget = Boolean(campaign.lowClicksMediumBudget && campaign.highClicksMediumBudget && campaign.lowClicksMediumBudget < campaign.highClicksMediumBudget);\n const validHighClicksMediumBudget = Boolean(campaign.highClicksMediumBudget && campaign.highClicksMediumBudget > campaign.lowClicksMediumBudget);\n const validLowClicksHighBudget = Boolean(campaign.lowClicksHighBudget && campaign.highClicksHighBudget && campaign.lowClicksHighBudget < campaign.highClicksHighBudget);\n const validHighClicksHighBudget = Boolean(campaign.highClicksHighBudget && campaign.highClicksHighBudget > campaign.lowClicksHighBudget);\n\n const validNumberOfKeywords = campaign.keywords.length >= 3;\n const validNumberOfHeadlines = (campaign.headlines.length >= 3 && campaign.headlines.length <= 10);\n const validNumberOfDescriptions = (campaign.descriptions.length >= 2 && campaign.descriptions.length <= 4);\n\n if (\n !campaignNameValid ||\n !validLowBudget ||\n !validMediumBudget ||\n !validHighBudget ||\n !validLowClicksLowBudget ||\n !validHighClicksLowBudget ||\n !validLowClicksMediumBudget ||\n !validHighClicksMediumBudget ||\n !validLowClicksHighBudget ||\n !validHighClicksHighBudget ||\n invalidKeywords.length > 0 ||\n invalidHeadlines.length > 0 ||\n invalidDescriptions.length > 0 ||\n !validNumberOfKeywords ||\n !validNumberOfHeadlines ||\n !validNumberOfDescriptions\n ) {\n formIsValid = false;\n }\n\n return {\n name: campaignNameValid,\n keywords: invalidKeywords,\n headlines: invalidHeadlines,\n descriptions: invalidDescriptions,\n lowBudget: validLowBudget,\n mediumBudget: validMediumBudget,\n highBudget: validHighBudget,\n lowClicksLowBudget: validLowClicksLowBudget,\n highClicksLowBudget: validHighClicksLowBudget,\n lowClicksMediumBudget: validLowClicksMediumBudget,\n highClicksMediumBudget: validHighClicksMediumBudget,\n lowClicksHighBudget: validLowClicksHighBudget,\n highClicksHighBudget: validHighClicksHighBudget,\n validNumberOfKeywords,\n validNumberOfHeadlines,\n validNumberOfDescriptions\n };\n });\n\n this.errors = formIsValid ? null : {\n name: nameValid,\n negativeKeywords: invalidNegativeKeywords,\n extensions: invalidExtensions,\n validNumberOfNegativeKeywords: taxonomy.negativeKeywords.length >= 3,\n validNumberOfExtensions: taxonomy.calloutExtensions.length >= 2,\n campaigns: invalidCampaigns\n };\n return formIsValid;\n }\n\n validateHeaderOrNameLength(value: string): boolean {\n return value.length >= 2 && value.length <= 30;\n }\n\n validateCalloutLength(value: string): boolean {\n return value.length >= 2 && value.length <= 25;\n }\n\n validateKeyword(value: string): boolean {\n const keyword = value.replace(/[[\\]\"]/mg, '');\n return (keyword.length >= 2 && keyword.length <= 80) && keyword.match(/^([a-zA-Z0-9[\\]\" ]+)$/) !== null;\n }\n\n validateDescriptionLength(description: string): boolean {\n return description.length >= 2 && description.length <= 90;\n }\n}\n\n","import { render } from \"./taxonomy-form.vue?vue&type=template&id=4bab948b&scoped=true&ts=true\"\nimport script from \"./taxonomy-form.vue?vue&type=script&lang=ts\"\nexport * from \"./taxonomy-form.vue?vue&type=script&lang=ts\"\n\nimport \"./taxonomy-form.vue?vue&type=style&index=0&id=4bab948b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4bab948b\"]])\n\nexport default __exports__","import { createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-f790921a\")\n\n_pushScopeId(\"data-v-f790921a\")\nconst _hoisted_1 = { id: \"sign-in\" }\nconst _hoisted_2 = { id: \"header\" }\nconst _hoisted_3 = { id: \"content\" }\nconst _hoisted_4 = { class: \"wrapper\" }\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"h1\", null, \"403 Error\", -1)\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"p\", null, \"Unfortunately, you do not have permission to access this page. Please review the URL or return to the Login page.\", -1)\nconst _hoisted_7 = { class: \"button-container\" }\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\"Return to Login\")\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"img\", {\n id: \"logo\",\n class: _ctx.brand.slug + '-logo',\n src: '/img/' + _ctx.brand.slug + '-logo.svg',\n width: \"200\"\n }, null, 10, [\"src\"])\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _hoisted_6,\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.SignIn },\n class: \"link-button\"\n }, {\n default: _withId(() => [\n _hoisted_8\n ]),\n _: 1\n }, 8, [\"to\"])\n ])\n ])\n ])\n ]))\n})","\nimport { Vue, Options } from '../../vue';\nimport { RouteName } from '../../router';\n\n@Options({\n components: {}\n})\nexport default class Forbidden extends Vue {\n RouteName = RouteName;\n}\n\n","import { render } from \"./Forbidden.vue?vue&type=template&id=f790921a&scoped=true&ts=true\"\nimport script from \"./Forbidden.vue?vue&type=script&lang=ts\"\nexport * from \"./Forbidden.vue?vue&type=script&lang=ts\"\n\nimport \"./Forbidden.vue?vue&type=style&index=0&id=f790921a&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f790921a\"]])\n\nexport default __exports__","import { createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-526a8c59\")\n\n_pushScopeId(\"data-v-526a8c59\")\nconst _hoisted_1 = { id: \"sign-in\" }\nconst _hoisted_2 = { id: \"header\" }\nconst _hoisted_3 = { id: \"content\" }\nconst _hoisted_4 = { class: \"wrapper\" }\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"h1\", null, \"Account Inactive\", -1)\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"p\", null, [\n /*#__PURE__*/_createTextVNode(\"Unfortunately, you no longer have permission to access this site. \"),\n /*#__PURE__*/_createVNode(\"br\"),\n /*#__PURE__*/_createTextVNode(\"Please check that you have an active subscription.\")\n], -1)\nconst _hoisted_7 = { class: \"button-container\" }\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\"Return to Login\")\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"img\", {\n id: \"logo\",\n class: _ctx.brand.slug + '-logo',\n src: '/img/' + _ctx.brand.slug + '-logo.svg',\n width: \"200\"\n }, null, 10, [\"src\"])\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _hoisted_6,\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.SignIn },\n class: \"link-button\"\n }, {\n default: _withId(() => [\n _hoisted_8\n ]),\n _: 1\n }, 8, [\"to\"])\n ])\n ])\n ])\n ]))\n})","\nimport { Vue, Options } from '@/vue';\nimport { RouteName } from '@/router';\nimport { AuthService } from '@/services/auth.service';\n\n@Options({\n components: {}\n})\nexport default class AccountInactive extends Vue {\n private authService = AuthService.Instance;\n RouteName = RouteName;\n\n async mounted() {\n await this.authService.deAuthenticate();\n }\n}\n\n","import { render } from \"./account-inactive.vue?vue&type=template&id=526a8c59&scoped=true&ts=true\"\nimport script from \"./account-inactive.vue?vue&type=script&lang=ts\"\nexport * from \"./account-inactive.vue?vue&type=script&lang=ts\"\n\nimport \"./account-inactive.vue?vue&type=style&index=0&id=526a8c59&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-526a8c59\"]])\n\nexport default __exports__","import { createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-4b1b084e\")\n\n_pushScopeId(\"data-v-4b1b084e\")\nconst _hoisted_1 = { id: \"sign-in\" }\nconst _hoisted_2 = { id: \"header\" }\nconst _hoisted_3 = { id: \"content\" }\nconst _hoisted_4 = { class: \"wrapper\" }\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"h1\", null, \"404 Error\", -1)\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"p\", null, \"Uh-oh! This page does not exist. Please review the URL or return to the Login page.\", -1)\nconst _hoisted_7 = { class: \"button-container\" }\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\"Return to Login\")\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"img\", {\n id: \"logo\",\n class: _ctx.brand.slug + '-logo',\n src: '/img/' + _ctx.brand.slug + '-logo.svg',\n width: \"200\"\n }, null, 10, [\"src\"])\n ]),\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _hoisted_6,\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.SignIn },\n class: \"link-button\"\n }, {\n default: _withId(() => [\n _hoisted_8\n ]),\n _: 1\n }, 8, [\"to\"])\n ])\n ])\n ])\n ]))\n})","\nimport { Vue, Options } from '../../vue';\nimport { RouteName } from '../../router';\n\n@Options({\n components: {}\n})\nexport default class NotFound extends Vue {\n RouteName = RouteName;\n}\n\n","import { render } from \"./not-found.vue?vue&type=template&id=4b1b084e&scoped=true&ts=true\"\nimport script from \"./not-found.vue?vue&type=script&lang=ts\"\nexport * from \"./not-found.vue?vue&type=script&lang=ts\"\n\nimport \"./not-found.vue?vue&type=style&index=0&id=4b1b084e&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4b1b084e\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_CustomerOverview = _resolveComponent(\"CustomerOverview\")\n\n return (_openBlock(), _createBlock(_component_CustomerOverview, {\n statusCallback: _ctx.statusCallback,\n metricsCallback: _ctx.metricsCallback,\n copyCallback: _ctx.copyCallback,\n profileCallback: _ctx.profileCallback\n }, null, 8, [\"statusCallback\", \"metricsCallback\", \"copyCallback\", \"profileCallback\"]))\n}","\nimport { Vue, Options } from '../../vue';\nimport { ApiService } from '../../services/api.service';\nimport CustomerOverview from '../shared/customer-overview.vue';\n\n@Options({\n components: {\n CustomerOverview\n }\n})\nexport default class DashboardOverview extends Vue {\n apiService: ApiService = ApiService.Instance;\n\n statusCallback = this.apiService.getCustomerStatus.bind(this.apiService);\n\n metricsCallback = this.apiService.getCustomerMetrics.bind(this.apiService);\n\n copyCallback = this.apiService.getCustomerAdCopy.bind(this.apiService);\n\n profileCallback = this.apiService.getProfile.bind(this.apiService);\n}\n\n","import { render } from \"./dashboard-overview.vue?vue&type=template&id=ea978662&ts=true\"\nimport script from \"./dashboard-overview.vue?vue&type=script&lang=ts\"\nexport * from \"./dashboard-overview.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_CustomerOverview = _resolveComponent(\"CustomerOverview\")\n\n return (_openBlock(), _createBlock(_component_CustomerOverview, {\n statusCallback: _ctx.statusCallback,\n metricsCallback: _ctx.metricsCallback,\n copyCallback: _ctx.copyCallback,\n profileCallback: _ctx.profileCallback\n }, null, 8, [\"statusCallback\", \"metricsCallback\", \"copyCallback\", \"profileCallback\"]))\n}","\nimport { Vue, Options } from '../../vue';\nimport { ApiService } from '../../services/api.service';\nimport CustomerOverview from '../shared/customer-overview.vue';\nimport { CustomerStatusModel } from '../../models/customer-status.model';\nimport { AdPreviewModel } from '../../models/ad-preview.model';\nimport { CustomerMetricsResponseModel } from '../../models/customer-metrics-response.model';\nimport { AdminService } from '../../services/admin.service';\n\n@Options({\n components: {\n CustomerOverview\n }\n})\nexport default class AdminCustomerOverview extends Vue {\n apiService: ApiService = ApiService.Instance;\n private adminService: AdminService = AdminService.Instance;\n customerId!: string;\n\n async beforeMount() {\n this.customerId = this.$route.params.id as string;\n try {\n await this.adminService.reroute(this.$router, this.$route.name);\n } catch (e) {\n }\n }\n\n statusCallback(): Promise {\n return this.apiService.getCustomerStatusAdmin(this.customerId);\n }\n\n metricsCallback(duration: string, device?: string, network?: string): Promise {\n return this.apiService.getCustomerMetricsAdmin(this.customerId, duration, device, network);\n }\n\n copyCallback(): Promise {\n return this.apiService.getCustomerAdCopyAdmin(this.customerId);\n }\n\n profileCallback = this.apiService.getProfile.bind(this.apiService);\n}\n\n","import { render } from \"./admin-customer-overview.vue?vue&type=template&id=a7c6c786&ts=true\"\nimport script from \"./admin-customer-overview.vue?vue&type=script&lang=ts\"\nexport * from \"./admin-customer-overview.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, resolveDirective as _resolveDirective, withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-3c0ae374\")\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_el_input = _resolveComponent(\"el-input\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_ag_grid_vue = _resolveComponent(\"ag-grid-vue\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_col = _resolveComponent(\"el-col\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _directive_loading = _resolveDirective(\"loading\")\n\n return (_openBlock(), _createBlock(\"main\", null, [\n _createVNode(_component_el_space, {\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _createVNode(_component_el_row, { gutter: 10 }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { sm: 24 }, {\n default: _withId(() => [\n _withDirectives(_createVNode(_component_el_card, null, {\n default: _withId(() => [\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"end\",\n style: {\"margin-bottom\":\"15px\"}\n }, {\n default: _withId(() => [\n _createVNode(_component_el_input, {\n modelValue: _ctx.search,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.search = $event)),\n clearable: \"\",\n placeholder: \"Type to search\",\n style: {\"width\":\"315px\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_ag_grid_vue, {\n style: {\"width\":\"100%\",\"height\":\"800px\"},\n class: \"ag-theme-material\",\n columnDefs: _ctx.columnDefs,\n rowData: _ctx.customerAccounts,\n \"grid-options\": _ctx.gridOptions\n }, null, 8, [\"columnDefs\", \"rowData\", \"grid-options\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 512), [\n [_directive_loading, _ctx.loading]\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n})","\nimport { Options, VModel, Vue, Watch } from '@/vue';\nimport { ApiService } from '@/services/api.service';\nimport { RouteName } from '@/router';\nimport { ElMessage } from 'element-plus';\nimport { isHttpException } from '@/utils/exceptions';\nimport { AccountStatus } from '@/models/account.model';\nimport { formatDate } from '@/utils/helpers';\nimport { AgGridVue } from 'ag-grid-vue3';\nimport { AccountLinkCellRenderer, AccountStatusCellRenderer, UserTypeRenderer } from '@/aggrid/renderers';\nimport { ValueFormatterParams, GridOptions } from 'ag-grid-community';\n\ninterface AccountsTableRow {\n id: string;\n name: string;\n status: AccountStatus;\n timeZone: string;\n email: string;\n}\n\n@Options({\n components: {\n AgGridVue\n }\n})\n\nexport default class AdminAccounts extends Vue {\n private apiService: ApiService = ApiService.Instance;\n loading = false;\n RouteName = RouteName;\n @VModel() search = '';\n customerAccounts: Array = [];\n\n get gridOptions(): GridOptions {\n return {\n sideBar: {\n toolPanels: [\n {\n id: 'filters',\n labelDefault: 'Filters',\n labelKey: 'filters',\n iconKey: 'filter',\n toolPanel: 'agFiltersToolPanel'\n },\n {\n id: 'columns',\n labelDefault: 'Columns',\n labelKey: 'columns',\n iconKey: 'columns',\n toolPanel: 'agColumnsToolPanel',\n toolPanelParams: {\n suppressRowGroups: true,\n suppressValues: true,\n suppressPivots: true,\n suppressPivotMode: true,\n suppressColumnFilter: true,\n suppressColumnSelectAll: true,\n suppressColumnExpandAll: true\n }\n }\n ],\n defaultToolPanel: 'filters'\n },\n defaultColDef: {\n flex: 1,\n filter: true,\n sortable: true,\n resizable: true,\n menuTabs: ['filterMenuTab', 'generalMenuTab', 'columnsMenuTab'],\n filterParams: {\n buttons: ['reset', 'clear']\n }\n },\n defaultExportParams: {\n allColumns: true\n },\n pagination: true,\n // // https://www.ag-grid.com/javascript-data-grid/grid-size/\n // domLayout: 'autoHeight',\n rowGroupPanelShow: 'always',\n paginationAutoPageSize: true\n };\n }\n\n get columnDefs() {\n return [\n {\n headerName: 'Customer Id',\n field: 'customerId',\n hide: true,\n filter: false\n },\n {\n headerName: 'Customer',\n field: 'name',\n cellRenderer: AccountLinkCellRenderer,\n cellRendererParams: {\n idField: 'id'\n },\n enableRowGroup: false\n },\n {\n headerName: 'Status',\n field: 'status',\n cellRenderer: AccountStatusCellRenderer,\n enableRowGroup: true\n },\n {\n headerName: 'Type',\n field: 'type',\n cellRenderer: UserTypeRenderer,\n enableRowGroup: true\n },\n {\n headerName: 'MCC Region',\n field: 'timeZone',\n enableRowGroup: true\n },\n {\n headerName: 'Contact',\n field: 'contactName',\n hide: true\n },\n {\n headerName: 'Phone',\n field: 'phone',\n hide: true\n },\n {\n headerName: 'Website',\n field: 'website',\n hide: true\n },\n {\n headerName: 'Step',\n field: 'step'\n },\n {\n headerName: 'Email',\n field: 'email',\n hide: true\n },\n {\n headerName: 'Added',\n field: 'createdAt',\n filter: 'agDateColumnFilter',\n filterParams: {\n buttons: ['reset']\n },\n sort: 'desc',\n enableRowGroup: true,\n valueFormatter: (params: ValueFormatterParams) => formatDate(params.value)\n }\n ];\n }\n\n async mounted() {\n await this.getAccounts();\n }\n\n filterStatus = (value: string, row: AccountsTableRow) => {\n return row.status === value;\n };\n\n get month(): string {\n return 'May';\n }\n\n @Watch('search')\n onInputUpdate(val: string) {\n this.gridOptions.api!.setQuickFilter(val);\n }\n\n async getAccounts() {\n this.loading = true;\n try {\n const accounts = await this.apiService.getCustomers();\n this.customerAccounts = accounts.map(account => {\n return {\n id: account.id,\n name: account.name ?? account.contactName,\n status: account.status,\n timeZone: account.timeZone ?? 'N/A',\n email: account.email,\n createdAt: new Date(account.createdAt),\n step: account.step,\n contactName: account.contactName,\n phone: account.phone,\n website: account.website,\n customerId: account.mccId,\n type: account.type\n };\n });\n } catch (e) {\n if (isHttpException(e) && e.status === 403) {\n await this.$router.push({ name: RouteName.Forbidden });\n } else {\n ElMessage.error('Error fetching accounts');\n }\n }\n\n this.loading = false;\n }\n}\n\n","import { render } from \"./accounts.vue?vue&type=template&id=3c0ae374&scoped=true&ts=true\"\nimport script from \"./accounts.vue?vue&type=script&lang=ts\"\nexport * from \"./accounts.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3c0ae374\"]])\n\nexport default __exports__","import { createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, resolveDirective as _resolveDirective, withDirectives as _withDirectives, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-e507f944\")\n\n_pushScopeId(\"data-v-e507f944\")\nconst _hoisted_1 = /*#__PURE__*/_createTextVNode(\" There was an error pulling the customer, if this customer is brand new it's possible the customer has not been created yet. Wait 24 hours and this page should be accessible. \")\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Force Try Pull Customer\")\nconst _hoisted_3 = { style: {\"margin-bottom\":\"10px\"} }\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-user\" }, null, -1)\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-credit-card\" }, null, -1)\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-shoe-prints\" }, null, -1)\nconst _hoisted_7 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-link\" }, null, -1)\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\")\")\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\" Downloading ... \")\nconst _hoisted_10 = /*#__PURE__*/_createTextVNode(\" Downloads\")\nconst _hoisted_11 = /*#__PURE__*/_createTextVNode(\"Keywords CSV\")\nconst _hoisted_12 = /*#__PURE__*/_createTextVNode(\"AdCopies CSV\")\nconst _hoisted_13 = /*#__PURE__*/_createTextVNode(\" Manage\")\nconst _hoisted_14 = /*#__PURE__*/_createTextVNode(\"Add Campaign\")\nconst _hoisted_15 = /*#__PURE__*/_createTextVNode(\"Edit User Type\")\nconst _hoisted_16 = /*#__PURE__*/_createTextVNode(\"Edit Account Status\")\nconst _hoisted_17 = /*#__PURE__*/_createTextVNode(\"Edit Wizard Step\")\nconst _hoisted_18 = /*#__PURE__*/_createTextVNode(\"Force Creation\")\nconst _hoisted_19 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-fighter-jet\" }, null, -1)\nconst _hoisted_20 = /*#__PURE__*/_createTextVNode(\" Force Complete Billing\")\nconst _hoisted_21 = /*#__PURE__*/_createTextVNode(\"View User Dashboard\")\nconst _hoisted_22 = /*#__PURE__*/_createVNode(\"h2\", null, \"Lifetime Campaign Performance\", -1)\nconst _hoisted_23 = /*#__PURE__*/_createVNode(\"i\", { class: \"el-icon-more\" }, null, -1)\nconst _hoisted_24 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-play\" }, null, -1)\nconst _hoisted_25 = /*#__PURE__*/_createTextVNode(\" Resume\")\nconst _hoisted_26 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-pause\" }, null, -1)\nconst _hoisted_27 = /*#__PURE__*/_createTextVNode(\" Pause\")\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_alert = _resolveComponent(\"el-alert\")\n const _component_AddCampaignModel = _resolveComponent(\"AddCampaignModel\")\n const _component_el_tag = _resolveComponent(\"el-tag\")\n const _component_el_option = _resolveComponent(\"el-option\")\n const _component_el_select = _resolveComponent(\"el-select\")\n const _component_el_col = _resolveComponent(\"el-col\")\n const _component_el_icon = _resolveComponent(\"el-icon\")\n const _component_el_dropdown_item = _resolveComponent(\"el-dropdown-item\")\n const _component_el_dropdown_menu = _resolveComponent(\"el-dropdown-menu\")\n const _component_el_dropdown = _resolveComponent(\"el-dropdown\")\n const _component_router_link = _resolveComponent(\"router-link\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_AccountDetailsRecommendations = _resolveComponent(\"AccountDetailsRecommendations\")\n const _component_el_table_column = _resolveComponent(\"el-table-column\")\n const _component_el_table = _resolveComponent(\"el-table\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_AccountSubscription = _resolveComponent(\"AccountSubscription\")\n const _component_CustomerNotes = _resolveComponent(\"CustomerNotes\")\n const _component_AccountDetailsWizardData = _resolveComponent(\"AccountDetailsWizardData\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _directive_loading = _resolveDirective(\"loading\")\n\n return (_openBlock(), _createBlock(\"main\", null, [\n (_ctx.getCustomerError)\n ? (_openBlock(), _createBlock(_component_el_alert, {\n key: 0,\n title: \"Error Pulling Customer!\",\n type: \"error\"\n }, {\n default: _withId(() => [\n _hoisted_1,\n (_ctx.isAdmin)\n ? (_openBlock(), _createBlock(_component_el_button, {\n key: 0,\n type: \"danger\",\n onClick: _ctx.forceGetPullCustomer\n }, {\n default: _withId(() => [\n _hoisted_2\n ]),\n _: 1\n }, 8, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_AddCampaignModel, {\n \"account-id\": _ctx.account?.id,\n modelValue: _ctx.displayCampaignModal,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.displayCampaignModal = $event))\n }, null, 8, [\"account-id\", \"modelValue\"]),\n (_ctx.account)\n ? (_openBlock(), _createBlock(_component_el_space, {\n key: 1,\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _createVNode(_component_el_row, {\n type: \"flex\",\n style: {\"margin-bottom\":\"20px\"}\n }, {\n default: _withId(() => [\n _createVNode(_component_el_col, {\n sm: 24,\n md: 14\n }, {\n default: _withId(() => [\n _createVNode(\"div\", null, [\n _createVNode(\"h1\", _hoisted_3, [\n _createTextVNode(_toDisplayString(_ctx.account.name) + \" \", 1),\n (_ctx.customerIdFormatted)\n ? (_openBlock(), _createBlock(_component_el_tag, {\n key: 0,\n type: \"info\",\n style: {\"margin-right\":\"5px\"}\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.customerIdFormatted), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_el_tag, {\n type: \"info\",\n size: \"large\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.editingUserType = !_ctx.editingUserType)),\n style: {\"margin-right\":\"5px\"}\n }, {\n default: _withId(() => [\n _hoisted_4,\n _createTextVNode(\" \" + _toDisplayString(_ctx.account.type), 1)\n ]),\n _: 1\n }),\n (_ctx.editingUserType)\n ? (_openBlock(), _createBlock(_component_el_select, {\n key: 1,\n modelValue: _ctx.userType,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.userType = $event)),\n placeholder: _ctx.account.type,\n style: {\"margin-right\":\"5px\"}\n }, {\n default: _withId(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.UserTypes, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item,\n label: item,\n value: item\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"placeholder\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.isBillingStepOrFurther)\n ? (_openBlock(), _createBlock(_component_el_tag, {\n key: 2,\n size: \"large\",\n type: _ctx.customerBillingStatus.isActive ? 'success' : 'danger',\n style: {\"margin-right\":\"5px\"}\n }, {\n default: _withId(() => [\n _hoisted_5\n ]),\n _: 1\n }, 8, [\"type\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_el_tag, {\n type: _ctx.statusBadgeType(_ctx.account.status),\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.editingAccountStatus = !_ctx.editingAccountStatus)),\n style: {\"margin-right\":\"5px\"}\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.account.status), 1)\n ]),\n _: 1\n }, 8, [\"type\"]),\n (_ctx.editingAccountStatus)\n ? (_openBlock(), _createBlock(_component_el_select, {\n key: 3,\n modelValue: _ctx.accountStatus,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.accountStatus = $event)),\n placeholder: _ctx.account.status,\n style: {\"margin-right\":\"5px\"}\n }, {\n default: _withId(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.AccountStatuses, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item,\n label: item,\n value: item\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"placeholder\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.account)\n ? (_openBlock(), _createBlock(_component_el_tag, {\n key: 4,\n size: \"large\",\n style: {\"margin-right\":\"5px\"},\n onClick: _cache[6] || (_cache[6] = ($event: any) => (_ctx.editingUserStep = !_ctx.editingUserStep))\n }, {\n default: _withId(() => [\n _hoisted_6,\n _createTextVNode(\" \" + _toDisplayString(_ctx.account.step), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.editingUserStep)\n ? (_openBlock(), _createBlock(_component_el_select, {\n key: 5,\n modelValue: _ctx.userStep,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (_ctx.userStep = $event)),\n placeholder: _ctx.account.step,\n style: {\"margin-right\":\"5px\"}\n }, {\n default: _withId(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.userStepsOptions, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item,\n label: item,\n value: item\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"placeholder\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.account.isLinkedAccount)\n ? (_openBlock(), _createBlock(_component_el_tag, {\n key: 6,\n size: \"large\",\n type: \"info\",\n title: \"Existing account linked to MCC\"\n }, {\n default: _withId(() => [\n _hoisted_7,\n _createTextVNode(\" \" + _toDisplayString(_ctx.customerClientLink?.status), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"span\", null, [\n _createTextVNode(\"Contact: \" + _toDisplayString(_ctx.account.contactName) + \" (\", 1),\n _createVNode(\"a\", {\n href: 'mailto:' + _ctx.account.email\n }, _toDisplayString(_ctx.account.email), 9, [\"href\"]),\n _hoisted_8\n ])\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, {\n sm: 24,\n md: 10\n }, {\n default: _withId(() => [\n _createVNode(_component_el_dropdown, { style: {\"float\":\"right\",\"margin-right\":\"15px\"} }, {\n dropdown: _withId(() => [\n _createVNode(_component_el_dropdown_menu, null, {\n default: _withId(() => [\n _createVNode(_component_el_dropdown_item, { onClick: _ctx.exportKeywordsCSV }, {\n default: _withId(() => [\n _hoisted_11\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_el_dropdown_item, { onClick: _ctx.exportAdCopiesCSV }, {\n default: _withId(() => [\n _hoisted_12\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _: 1\n })\n ]),\n default: _withId(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n loading: _ctx.downloadingFile\n }, {\n default: _withId(() => [\n (_ctx.downloadingFile)\n ? (_openBlock(), _createBlock(_Fragment, { key: 0 }, [\n _hoisted_9\n ], 64))\n : (_openBlock(), _createBlock(_Fragment, { key: 1 }, [\n _hoisted_10,\n _createVNode(_component_el_icon, { class: \"el-icon--right el-icon-arrow-down\" })\n ], 64))\n ]),\n _: 1\n }, 8, [\"loading\"])\n ]),\n _: 1\n }),\n (_ctx.account?.mccId)\n ? (_openBlock(), _createBlock(_component_el_dropdown, {\n key: 0,\n style: {\"float\":\"right\",\"margin-right\":\"15px\"}\n }, {\n dropdown: _withId(() => [\n _createVNode(_component_el_dropdown_menu, null, {\n default: _withId(() => [\n _createVNode(_component_el_dropdown_item, {\n onClick: _cache[8] || (_cache[8] = ($event: any) => {_ctx.displayCampaignModal = true;}),\n disabled: _ctx.account?.isLinkedAccount\n }, {\n default: _withId(() => [\n _createVNode(_component_el_icon, { class: \"el-icon-plus\" }),\n _hoisted_14\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n _createVNode(_component_el_dropdown_item, {\n onClick: _cache[9] || (_cache[9] = ($event: any) => {_ctx.editingUserType = true;})\n }, {\n default: _withId(() => [\n _createVNode(_component_el_icon, { class: \"el-icon-edit\" }),\n _hoisted_15\n ]),\n _: 1\n }),\n _createVNode(_component_el_dropdown_item, {\n onClick: _cache[10] || (_cache[10] = ($event: any) => {_ctx.editingAccountStatus = true;})\n }, {\n default: _withId(() => [\n _createVNode(_component_el_icon, { class: \"el-icon-edit\" }),\n _hoisted_16\n ]),\n _: 1\n }),\n _createVNode(_component_el_dropdown_item, {\n onClick: _cache[11] || (_cache[11] = ($event: any) => {_ctx.editingUserStep = true;})\n }, {\n default: _withId(() => [\n _createVNode(_component_el_icon, { class: \"el-icon-edit\" }),\n _hoisted_17\n ]),\n _: 1\n }),\n (_ctx.isAdmin)\n ? (_openBlock(), _createBlock(_component_el_dropdown_item, {\n key: 0,\n onClick: _ctx.confirmForceCreation,\n disabled: _ctx.account?.isLinkedAccount\n }, {\n default: _withId(() => [\n _createVNode(_component_el_icon, { class: \"el-icon-plus\" }),\n _hoisted_18\n ]),\n _: 1\n }, 8, [\"onClick\", \"disabled\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n default: _withId(() => [\n _createVNode(_component_el_button, { type: \"primary\" }, {\n default: _withId(() => [\n _hoisted_13,\n _createVNode(_component_el_icon, { class: \"el-icon--right el-icon-arrow-down\" })\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.billingSetupNotComplete)\n ? (_openBlock(), _createBlock(_component_el_button, {\n key: 1,\n type: \"danger\",\n style: {\"float\":\"right\",\"margin-right\":\"15px\"}\n }, {\n default: _withId(() => [\n _hoisted_19,\n _hoisted_20\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.account?.mccId)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 2,\n to: { name: _ctx.RouteName.AdminCustomerOverview, params: { id: _ctx.account?.mccId.toString() } }\n }, {\n default: _withId(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n icon: \"el-icon-user-solid\",\n onclick: _ctx.navigateToDashboard,\n style: {\"float\":\"right\",\"margin-right\":\"15px\"}\n }, {\n default: _withId(() => [\n _hoisted_21\n ]),\n _: 1\n }, 8, [\"onclick\"])\n ]),\n _: 1\n }, 8, [\"to\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n (_ctx.customerId && (_ctx.isAccountManager || _ctx.isAdmin) && _ctx.completedWizard)\n ? (_openBlock(), _createBlock(_component_AccountDetailsRecommendations, {\n key: 0,\n \"customer-id\": _ctx.customerId\n }, null, 8, [\"customer-id\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.completedWizard)\n ? (_openBlock(), _createBlock(_component_el_row, { key: 1 }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { sm: 24 }, {\n default: _withId(() => [\n _hoisted_22,\n _withDirectives(_createVNode(_component_el_card, null, {\n default: _withId(() => [\n _createVNode(_component_el_table, {\n data: _ctx.campaigns,\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _createVNode(_component_el_table_column, {\n prop: \"name\",\n label: \"Campaign\"\n }),\n _createVNode(_component_el_table_column, { label: \"Status\" }, {\n default: _withId((scope) => [\n _createVNode(_component_el_tag, {\n type: _ctx.campaignStatusBadgeType(scope.row.status)\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(scope.row.status), 1)\n ]),\n _: 2\n }, 1032, [\"type\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, {\n prop: \"impressions\",\n label: \"Impressions\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"clicks\",\n label: \"Clicks\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"totalSpend\",\n label: \"Total Spend\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"budgetSurplus\",\n label: \"Budget Surplus\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"averageCpc\",\n label: \"Average CPC\"\n }),\n _createVNode(_component_el_table_column, {\n label: \"Actions\",\n align: \"right\",\n width: \"75\"\n }, {\n default: _withId((scope) => [\n (scope.row.status === 'Paused' || scope.row.status === 'Active')\n ? (_openBlock(), _createBlock(_component_el_dropdown, { key: 0 }, {\n dropdown: _withId(() => [\n _createVNode(_component_el_dropdown_menu, null, {\n default: _withId(() => [\n (scope.row.status === 'Paused')\n ? (_openBlock(), _createBlock(_component_el_dropdown_item, {\n key: 0,\n onClick: ($event: any) => (_ctx.resumeCampaign(scope.row.id, scope.row.name))\n }, {\n default: _withId(() => [\n _hoisted_24,\n _hoisted_25\n ]),\n _: 2\n }, 1032, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n (scope.row.status === 'Active')\n ? (_openBlock(), _createBlock(_component_el_dropdown_item, {\n key: 1,\n onClick: ($event: any) => (_ctx.pauseCampaign(scope.row.id, scope.row.name))\n }, {\n default: _withId(() => [\n _hoisted_26,\n _hoisted_27\n ]),\n _: 2\n }, 1032, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1024)\n ]),\n default: _withId(() => [\n _createVNode(_component_el_button, {\n size: \"mini\",\n circle: \"\"\n }, {\n default: _withId(() => [\n _hoisted_23\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1024))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"])\n ]),\n _: 1\n }, 512), [\n [_directive_loading, _ctx.loadingCampaigns]\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.account?.type == 'Marketplace')\n ? (_openBlock(), _createBlock(_component_AccountSubscription, {\n key: 2,\n \"is-admin\": _ctx.isAdmin\n }, null, 8, [\"is-admin\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_CustomerNotes, { ref: \"CustomerNotes\" }, null, 512),\n _createVNode(_component_AccountDetailsWizardData, {\n \"account-id\": _ctx.accountId,\n \"is-account-manager\": _ctx.isAccountManager,\n \"is-admin\": _ctx.isAdmin,\n \"is-admin-read-only\": _ctx.isAdminReadOnly,\n \"is-support-agent\": _ctx.isSupportAgent,\n \"billing-is-active\": _ctx.customerBillingStatus?.isActive,\n onCampaignCreated: _ctx.getAccount\n }, null, 8, [\"account-id\", \"is-account-manager\", \"is-admin\", \"is-admin-read-only\", \"is-support-agent\", \"billing-is-active\", \"onCampaignCreated\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]))\n})","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-027babf6\")\n\n_pushScopeId(\"data-v-027babf6\")\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"h2\", null, \"Notes\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Add Note\")\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-history \" }, null, -1)\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"i\", { class: \"el-icon-more\" }, null, -1)\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-edit\" }, null, -1)\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\" Edit\")\nconst _hoisted_7 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-plus\" }, null, -1)\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\" Thread\")\nconst _hoisted_9 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-trash\" }, null, -1)\nconst _hoisted_10 = /*#__PURE__*/_createTextVNode(\" Delete\")\nconst _hoisted_11 = { style: {\"padding\":\"0 2rem\"} }\nconst _hoisted_12 = /*#__PURE__*/_createVNode(\"b\", null, \"Created By: \", -1)\nconst _hoisted_13 = /*#__PURE__*/_createVNode(\"b\", null, \"Status: \", -1)\nconst _hoisted_14 = /*#__PURE__*/_createVNode(\"b\", null, \"Source: \", -1)\nconst _hoisted_15 = /*#__PURE__*/_createVNode(\"i\", { class: \"el-icon-more\" }, null, -1)\nconst _hoisted_16 = /*#__PURE__*/_createTextVNode(\"Edit\")\nconst _hoisted_17 = /*#__PURE__*/_createTextVNode(\"Thread\")\nconst _hoisted_18 = { style: {\"margin-bottom\":\"0\",\"padding\":\"20px\"} }\nconst _hoisted_19 = /*#__PURE__*/_createVNode(\"i\", { class: \"el-icon-more\" }, null, -1)\nconst _hoisted_20 = /*#__PURE__*/_createTextVNode(\"Edit\")\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_CustomerNoteModal = _resolveComponent(\"CustomerNoteModal\")\n const _component_el_col = _resolveComponent(\"el-col\")\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_table_column = _resolveComponent(\"el-table-column\")\n const _component_el_dropdown_item = _resolveComponent(\"el-dropdown-item\")\n const _component_el_dropdown_menu = _resolveComponent(\"el-dropdown-menu\")\n const _component_el_dropdown = _resolveComponent(\"el-dropdown\")\n const _component_el_table = _resolveComponent(\"el-table\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_timeline_item = _resolveComponent(\"el-timeline-item\")\n const _component_el_timeline = _resolveComponent(\"el-timeline\")\n const _component_el_drawer = _resolveComponent(\"el-drawer\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(_component_CustomerNoteModal, {\n \"customer-id\": _ctx.customerId,\n modelValue: _ctx.displayNoteModal,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.displayNoteModal = $event)),\n \"customer-note\": _ctx.currentNote,\n onClose: _ctx.loadNotes\n }, null, 8, [\"customer-id\", \"modelValue\", \"customer-note\", \"onClose\"]),\n _createVNode(_component_el_row, {\n gutter: 10,\n style: {\"margin-bottom\":\".5rem\"}\n }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { sm: 12 }, {\n default: _withId(() => [\n _hoisted_1\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, { sm: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_button, {\n size: \"small\",\n type: \"primary\",\n icon: \"el-icon-plus\",\n style: {\"float\":\"right\",\"display\":\"block\"},\n title: \"Add Customer Note\",\n onClick: _ctx.addNote\n }, {\n default: _withId(() => [\n _hoisted_2\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n _createVNode(_component_el_button, {\n size: \"small\",\n type: \"info\",\n circle: \"\",\n style: {\"float\":\"right\",\"margin-right\":\"1rem\"},\n title: \"View As Timeline\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.displayTimeline = true))\n }, {\n default: _withId(() => [\n _hoisted_3\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_card, null, {\n default: _withId(() => [\n _createVNode(_component_el_table, {\n data: _ctx.reportData,\n \"default-sort\": {prop: 'createdAtDisplay', order: 'descending'},\n style: {\"width\":\"100%\",\"margin-bottom\":\"20px\"},\n \"default-expand-all\": \"\",\n \"row-key\": \"id\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_table_column, {\n prop: \"body\",\n label: \"Note\",\n width: \"500\",\n \"class-name\": \"text-ellipsis--2\"\n }),\n _createVNode(_component_el_table_column, {\n label: \"Demeanor\",\n align: \"center\",\n sortable: \"\"\n }, {\n default: _withId((scope) => [\n _createVNode(\"i\", {\n class: [\"fas fa-2x\", scope.row.demeanorObj.icon + ' demeanor-' + scope.row.demeanorObj.key],\n title: scope.row.demeanorObj.title\n }, null, 10, [\"title\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, {\n prop: \"statusDisplay\",\n label: \"Call Status\",\n sortable: \"\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"sourceDisplay\",\n label: \"Call Source\",\n sortable: \"\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"createdAtDisplay\",\n label: \"Created At\",\n align: \"right\",\n \"sort-by\": \"createdAt\",\n sortable: \"\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"createdBy\",\n label: \"Created By\",\n sortable: \"\"\n }),\n _createVNode(_component_el_table_column, {\n label: \"Actions\",\n align: \"center\",\n width: \"100\"\n }, {\n default: _withId((scope) => [\n _createVNode(_component_el_dropdown, null, {\n dropdown: _withId(() => [\n _createVNode(_component_el_dropdown_menu, null, {\n default: _withId(() => [\n _createVNode(_component_el_dropdown_item, {\n onClick: ($event: any) => (_ctx.editNote(scope.row))\n }, {\n default: _withId(() => [\n _hoisted_5,\n _hoisted_6\n ]),\n _: 2\n }, 1032, [\"onClick\"]),\n (!scope.row.threadId)\n ? (_openBlock(), _createBlock(_component_el_dropdown_item, {\n key: 0,\n onClick: ($event: any) => (_ctx.addThread(scope.row))\n }, {\n default: _withId(() => [\n _hoisted_7,\n _hoisted_8\n ]),\n _: 2\n }, 1032, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_el_dropdown_item, {\n type: \"danger\",\n onClick: ($event: any) => (_ctx.deleteNote(scope.row))\n }, {\n default: _withId(() => [\n _hoisted_9,\n _hoisted_10\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 2\n }, 1024)\n ]),\n default: _withId(() => [\n _createVNode(_component_el_button, {\n size: \"mini\",\n circle: \"\"\n }, {\n default: _withId(() => [\n _hoisted_4\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1024)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_drawer, {\n modelValue: _ctx.displayTimeline,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.displayTimeline = $event)),\n title: \"Customer Notes Timeline\",\n size: \"45%\"\n }, {\n default: _withId(() => [\n _createVNode(\"div\", _hoisted_11, [\n _createVNode(_component_el_timeline, null, {\n default: _withId(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.reportData, (item) => {\n return (_openBlock(), _createBlock(_component_el_timeline_item, {\n key: item.id,\n timestamp: item.createdAtFull,\n placement: \"top\",\n icon: 'fas ' + item.demeanorObj.icon + ' fa-2x demeanor-' + item.demeanorObj.key,\n color: \"#fff\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_card, {\n shadow: \"hover\",\n \"body-style\": { padding: '0px' }\n }, {\n header: _withId(() => [\n _createVNode(_component_el_row, null, {\n default: _withId(() => [\n _createVNode(_component_el_col, {\n sm: 7,\n style: {\"padding\":\"6px 0\"}\n }, {\n default: _withId(() => [\n _hoisted_12,\n _createVNode(\"span\", null, _toDisplayString(item.createdBy), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_col, {\n sm: 7,\n style: {\"padding\":\"6px 0\"}\n }, {\n default: _withId(() => [\n _hoisted_13,\n _createVNode(\"span\", null, _toDisplayString(item.statusDisplay), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_col, {\n sm: 7,\n style: {\"padding\":\"6px 0\"}\n }, {\n default: _withId(() => [\n _hoisted_14,\n _createVNode(\"span\", null, _toDisplayString(item.sourceDisplay), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_col, { sm: 3 }, {\n default: _withId(() => [\n _createVNode(_component_el_dropdown, { style: {\"float\":\"right\"} }, {\n dropdown: _withId(() => [\n _createVNode(_component_el_dropdown_menu, null, {\n default: _withId(() => [\n _createVNode(_component_el_dropdown_item, {\n icon: \"el-icon-edit\",\n onClick: ($event: any) => (_ctx.editNote(item))\n }, {\n default: _withId(() => [\n _hoisted_16\n ]),\n _: 2\n }, 1032, [\"onClick\"]),\n _createVNode(_component_el_dropdown_item, {\n icon: \"el-icon-plus\",\n onClick: ($event: any) => (_ctx.addThread(item))\n }, {\n default: _withId(() => [\n _hoisted_17\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 2\n }, 1024)\n ]),\n default: _withId(() => [\n _createVNode(_component_el_button, {\n size: \"mini\",\n circle: \"\"\n }, {\n default: _withId(() => [\n _hoisted_15\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n default: _withId(() => [\n _createVNode(\"p\", _hoisted_18, _toDisplayString(item.body), 1),\n (item.children.length > 0)\n ? (_openBlock(), _createBlock(_component_el_table, {\n key: 0,\n data: item.children,\n \"default-sort\": {prop: 'createdAtDisplay', order: 'descending'},\n style: {\"width\":\"100%\"},\n size: \"mini\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_table_column, {\n prop: \"body\",\n label: \"Thread\",\n \"class-name\": \"text-ellipsis--2\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"createdAtDisplay\",\n label: \"Created At\",\n \"sort-by\": \"createdAt\",\n width: \"120\",\n align: \"right\"\n }),\n _createVNode(_component_el_table_column, {\n label: \"Actions\",\n align: \"right\",\n width: \"75\"\n }, {\n default: _withId((scope) => [\n _createVNode(_component_el_dropdown, null, {\n dropdown: _withId(() => [\n _createVNode(_component_el_dropdown_menu, null, {\n default: _withId(() => [\n _createVNode(_component_el_dropdown_item, {\n icon: \"el-icon-edit\",\n onClick: ($event: any) => (_ctx.editNote(scope.row))\n }, {\n default: _withId(() => [\n _hoisted_20\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 2\n }, 1024)\n ]),\n default: _withId(() => [\n _createVNode(_component_el_button, {\n size: \"mini\",\n circle: \"\"\n }, {\n default: _withId(() => [\n _hoisted_19\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1024)\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1032, [\"data\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1032, [\"timestamp\", \"icon\"]))\n }), 128))\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ], 64))\n})","import { createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, withCtx as _withCtx, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-532fc872\")\n\n_pushScopeId(\"data-v-532fc872\")\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"h4\", null, \"Customer Demeanor\", -1)\nconst _hoisted_2 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"h4\", null, \"Call Status\", -1)\nconst _hoisted_4 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"h4\", null, \"Call Source\", -1)\nconst _hoisted_6 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_7 = /*#__PURE__*/_createVNode(\"h4\", null, \"Call Source Link\", -1)\nconst _hoisted_8 = /*#__PURE__*/_createVNode(\"h4\", null, \"Note\", -1)\nconst _hoisted_9 = { class: \"text-right\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"error-label\"\n}\nconst _hoisted_11 = {\n key: 1,\n class: \"error-label\"\n}\nconst _hoisted_12 = { class: \"right-justify\" }\nconst _hoisted_13 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_14 = /*#__PURE__*/_createTextVNode(\"Save\")\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_el_option = _resolveComponent(\"el-option\")\n const _component_el_select = _resolveComponent(\"el-select\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _component_el_input = _resolveComponent(\"el-input\")\n const _component_el_col = _resolveComponent(\"el-col\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_form = _resolveComponent(\"el-form\")\n const _component_el_dialog = _resolveComponent(\"el-dialog\")\n\n return (_openBlock(), _createBlock(_component_el_dialog, {\n title: \"Customer Note\",\n modelValue: _ctx.display,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (_ctx.display = $event)),\n width: \"40%\",\n \"destroy-on-close\": \"\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_form, { ref: \"form\" }, {\n default: _withId(() => [\n _createVNode(_component_el_row, { gutter: 10 }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { sm: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _hoisted_1,\n _createVNode(_component_el_select, {\n modelValue: _ctx.note.demeanor,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.note.demeanor = $event)),\n placeholder: \"Select\"\n }, {\n default: _withId(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.demeanorOptions, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.value,\n label: item.label,\n value: item.value\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n (_ctx.errors && !_ctx.errors.demeanor)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_2, \"Customer Demeanor is required.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _hoisted_3,\n _createVNode(_component_el_select, {\n modelValue: _ctx.note.status,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.note.status = $event)),\n placeholder: \"Select\"\n }, {\n default: _withId(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.callStatusOptions, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.value,\n label: item.label,\n value: item.value\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n (_ctx.errors && !_ctx.errors.status)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_4, \"Call Status is required.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _hoisted_5,\n _createVNode(_component_el_select, {\n modelValue: _ctx.note.source,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.note.source = $event)),\n placeholder: \"Select\"\n }, {\n default: _withId(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.callSourceOptions, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.value,\n label: item.label,\n value: item.value\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n (_ctx.errors && !_ctx.errors.source)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_6, \"Call Source is required.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _hoisted_7,\n _createVNode(_component_el_input, {\n modelValue: _ctx.note.sourceLink,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.note.sourceLink = $event)),\n placeholder: \"Add source link here...\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, { sm: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _hoisted_8,\n _createVNode(_component_el_input, {\n modelValue: _ctx.note.body,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.note.body = $event)),\n type: \"textarea\",\n rows: \"14\",\n placeholder: \"Add note body here...\",\n onKeyup: _ctx.countdown,\n style: {\"word-break\":\"normal\"}\n }, null, 8, [\"modelValue\", \"onKeyup\"]),\n _createVNode(\"span\", _hoisted_9, _toDisplayString(_ctx.remainingCount), 1),\n (_ctx.errors && !_ctx.errors.body)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_10, \"Note is required.\"))\n : _createCommentVNode(\"\", true),\n (_ctx.errors && !_ctx.errors.bodyLength)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_11, \"Max number of characters is 2000.\"))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(\"div\", _hoisted_12, [\n _createVNode(_component_el_button, {\n onClick: _cache[6] || (_cache[6] = ($event: any) => {_ctx.display = false;})\n }, {\n default: _withId(() => [\n _hoisted_13\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _ctx.saveNote\n }, {\n default: _withId(() => [\n _hoisted_14\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ]),\n _: 1\n }, 512)\n ]),\n _: 1\n }, 8, [\"modelValue\"]))\n})","export interface Demeanor {\n key: string;\n title: string;\n icon?: string;\n color: string;\n}\n\nconst values: { [key: string]: Demeanor } = {\n NA: {\n key: 'NA',\n title: 'N/A',\n color: '#fff'\n },\n Happy: {\n key: 'Happy',\n title: 'Happy',\n icon: 'fa-laugh-squint',\n color: '#4CAF50'\n },\n Normal: {\n key: 'Normal',\n title: 'Normal',\n icon: 'fa-smile',\n color: '#2196F3'\n },\n MildlyUpset: {\n key: 'MildlyUpset',\n title: 'Mildly Upset but Resolved',\n icon: 'fa-meh',\n color: '#FDD835'\n },\n Upset: {\n key: 'Upset',\n title: 'Angry',\n icon: 'fa-angry',\n color: '#FB8C00'\n },\n ExtremelyUpset: {\n key: 'ExtremelyUpset',\n title: 'Extremely Upset',\n icon: 'fa-tired',\n color: '#F44336'\n }\n};\n\nexport default values;\n","const values: { [key: string]: { value: string; label: string } } = {\n NA: {\n value: 'NA',\n label: 'N/A'\n },\n Resolved: {\n value: 'Resolved',\n label: 'Resolved'\n },\n Unresolved: {\n value: 'Unresolved',\n label: 'Unresolved'\n },\n Outstanding: {\n value: 'Outstanding',\n label: 'Outstanding'\n }\n};\n\nexport default values;\n","const values: { [key: string]: { value: string; label: string } } = {\n NA: {\n value: 'NA',\n label: 'N/A'\n },\n Call: {\n value: 'Call',\n label: 'Call'\n },\n LiveChat: {\n value: 'LiveChat',\n label: 'Live Chat'\n }\n};\n\nexport default values;\n","\nimport { Vue, Options, VModel, Watch, Prop, Emit } from '../../../../vue';\nimport { LoadingOverlay } from '../../../../components';\nimport { ApiService } from '../../../../services/api.service';\nimport { CustomerNoteModel } from '../../../../models/customer-note.model';\nimport Demeanors from '../../../../models/customer.demeanor';\nimport CallStatuses from '../../../../models/customer.call.status';\nimport CallSources from '../../../../models/customer.call.source';\nimport { ElMessage } from 'element-plus';\n\ninterface SelectItem {\n value: string;\n label: string;\n}\n\ninterface CustomerNoteFormErrors {\n demeanor: boolean;\n status: boolean;\n source: boolean;\n body: boolean;\n bodyLength: boolean;\n}\n\n@Options({\n components: {\n LoadingOverlay\n }\n})\nexport default class CustomerNoteModal extends Vue {\n private apiService: ApiService = ApiService.Instance;\n loading = false;\n\n @Prop() customerId = '';\n @Prop() customerNote?: CustomerNoteModel;\n @VModel() input = false;\n demeanorOptions: SelectItem[] = Object.keys(Demeanors).map((k) => Demeanors[k]).map((d) => { return { label: d.title, value: d.key } as SelectItem; });\n callStatusOptions: SelectItem[] = Object.keys(CallStatuses).map((k) => CallStatuses[k]).map((d) => { return d as SelectItem; });\n callSourceOptions: SelectItem[] = Object.keys(CallSources).map((k) => CallSources[k]).map((d) => { return d as SelectItem; });\n note?: CustomerNoteModel = this.initForm();\n remainingCount = 2000;\n private errors: CustomerNoteFormErrors | null = null;\n\n private pDisplay = false;\n\n get display(): boolean {\n return this.pDisplay;\n }\n\n set display(val: boolean) {\n this.pDisplay = val;\n this.input = val;\n }\n\n @Watch('modelValue')\n onInputChange(val: boolean) {\n this.display = val;\n if (val) {\n this.note = this.initForm(this.customerNote);\n this.countdown();\n }\n }\n\n @Emit()\n close = false;\n\n initForm(note?: CustomerNoteModel) {\n this.errors = null;\n return {\n id: note?.id ?? '',\n body: note?.body ?? null,\n demeanor: note?.demeanor ?? null,\n status: note?.status ?? null,\n source: note?.source ?? null,\n sourceLink: note?.sourceLink ?? null,\n threadId: note?.threadId ?? null\n } as CustomerNoteModel;\n }\n\n async saveNote() {\n try {\n if (!this.validateForm()) {\n ElMessage.error('Customer Note is invalid');\n throw Error('Note Invalid');\n }\n if (this.note?.id) {\n await this.apiService.updateCustomerNote(this.customerId, this.note!!);\n } else {\n await this.apiService.addCustomerNote(this.customerId, this.note!!);\n }\n this.display = false;\n this.close = true;\n } catch (e) {\n if (e.message !== 'Note Invalid') {\n ElMessage.error('Error saving Taxonomy');\n throw e;\n }\n }\n }\n\n countdown() {\n if (this.note?.body) {\n this.remainingCount = 2000 - this.note?.body.length;\n if (this.remainingCount < 0) {\n this.errors = {\n demeanor: this.errors?.demeanor ?? true,\n status: this.errors?.status ?? true,\n source: this.errors?.source ?? true,\n body: this.errors?.body ?? true,\n bodyLength: true\n };\n }\n } else {\n this.remainingCount = 2000;\n }\n }\n\n validateForm(): boolean {\n let formIsValid = true;\n\n const demeanorValid = this.note?.demeanor != null;\n const sourceValid = this.note?.source != null;\n const statusValid = this.note?.status != null;\n const bodyValid = this.note?.body != null;\n const bodyLengthValid = this.note?.body != null ? this.note?.body.length < 2000 : true;\n\n if (\n !demeanorValid ||\n !sourceValid ||\n !statusValid ||\n !bodyValid ||\n !bodyLengthValid\n ) {\n formIsValid = false;\n }\n\n this.errors = formIsValid ? null : {\n demeanor: demeanorValid,\n source: sourceValid,\n status: statusValid,\n body: bodyValid,\n bodyLength: bodyLengthValid\n };\n return formIsValid;\n }\n}\n","import { render } from \"./customer-note.vue?vue&type=template&id=532fc872&scoped=true&ts=true\"\nimport script from \"./customer-note.vue?vue&type=script&lang=ts\"\nexport * from \"./customer-note.vue?vue&type=script&lang=ts\"\n\nimport \"./customer-note.vue?vue&type=style&index=0&id=532fc872&scoped=true&lang=css\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-532fc872\"]])\n\nexport default __exports__","\nimport { Vue, Options } from '../../../vue';\nimport { ApiService } from '../../../services/api.service';\nimport moment from 'moment';\nimport CustomerNoteModal from './modals/customer-note.vue';\nimport Demeanors, { Demeanor } from '../../../models/customer.demeanor';\nimport CallStatuses from '../../../models/customer.call.status';\nimport CallSources from '../../../models/customer.call.source';\nimport { ElMessageBox } from 'element-plus';\n\ninterface CustomerNoteRow {\n id?: string;\n body?: string;\n demeanor: string | null;\n demeanorDisplay?: string;\n demeanorObj?: Demeanor;\n status: string | null;\n statusDisplay?: string;\n source: string | null;\n sourceDisplay?: string;\n sourceLink: string | null;\n createdAt?: Date;\n createdAtDisplay?: string;\n createdAtFull?: string;\n createdBy?: string;\n threadId?: string;\n children?: CustomerNoteRow[];\n}\n\n@Options({\n components: {\n CustomerNoteModal\n }\n})\nexport default class CustomerNotes extends Vue {\n private apiService: ApiService = ApiService.Instance;\n customerId!: string;\n reportData: Array = [];\n currentNote?: CustomerNoteRow;\n displayNoteModal = false;\n displayTimeline = false;\n\n async beforeMount() {\n this.customerId = this.$route.params.id as string;\n }\n\n async mounted() {\n await this.loadNotes();\n }\n\n async loadNotes() {\n this.currentNote = undefined;\n const notes = await this.apiService.getCustomerNotes(this.customerId);\n this.reportData = notes.map(n => {\n return {\n id: n.id,\n body: n.body,\n demeanor: n.demeanor,\n demeanorObj: Demeanors[n.demeanor ?? 'NA'],\n status: n.status,\n statusDisplay: CallStatuses[n.status ?? 'NA']?.label,\n source: n.source,\n sourceDisplay: CallSources[n.source ?? 'NA']?.label,\n sourceLink: n.sourceLink,\n createdAt: new Date(n.createdAt!!),\n createdAtDisplay: moment(new Date(n.createdAt!!).toISOString()).format('L'),\n createdAtFull: moment(new Date(n.createdAt!!).toISOString()).format('MM/DD/YYYY, h:mm a'),\n createdBy: n.createdBy,\n children: n.children?.map(c => {\n return {\n id: c.id,\n body: c.body,\n demeanor: c.demeanor,\n demeanorObj: Demeanors[c.demeanor ?? 'NA'],\n status: c.status,\n statusDisplay: CallStatuses[c.status ?? 'NA']?.label,\n source: c.source,\n sourceDisplay: CallSources[c.source ?? 'NA']?.label,\n sourceLink: n.sourceLink,\n threadId: c.threadId,\n createdAt: new Date(n.createdAt!!),\n createdAtDisplay: moment(new Date(c.createdAt!!).toISOString()).format('L'),\n createdBy: c.createdBy\n };\n }) ?? []\n };\n });\n }\n\n async deleteNote(note: CustomerNoteRow) {\n try {\n await ElMessageBox.confirm('Are you sure you want to DELETE this note?', 'Delete Note', {\n confirmButtonText: 'Yes',\n cancelButtonText: 'No, please don\\'t!',\n type: 'warning'\n });\n this.apiService.deleteCustomerNote(this.customerId, note.id!!).then(this.loadNotes);\n } catch (e) {\n }\n }\n\n editNote(note: CustomerNoteRow) {\n this.currentNote = note;\n this.displayNoteModal = true;\n }\n\n addThread(note: CustomerNoteRow) {\n this.currentNote = { threadId: note.id, status: null, source: null, demeanor: null, sourceLink: null };\n this.displayNoteModal = true;\n }\n\n addNote() {\n this.currentNote = undefined;\n this.displayNoteModal = true;\n }\n}\n","import { render } from \"./account-notes.vue?vue&type=template&id=027babf6&scoped=true&ts=true\"\nimport script from \"./account-notes.vue?vue&type=script&lang=ts\"\nexport * from \"./account-notes.vue?vue&type=script&lang=ts\"\n\nimport \"./account-notes.vue?vue&type=style&index=0&id=027babf6&scoped=true&lang=css\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-027babf6\"]])\n\nexport default __exports__","import { createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, withCtx as _withCtx, createTextVNode as _createTextVNode, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-1a24c358\")\n\n_pushScopeId(\"data-v-1a24c358\")\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"p\", { class: \"text-wrap\" }, \"Select a campaign to add to this account.\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"h4\", null, \"Taxonomy\", -1)\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"h4\", null, \"Campaign\", -1)\nconst _hoisted_4 = { class: \"right-justify\" }\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\"Add Campaign\")\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_el_option = _resolveComponent(\"el-option\")\n const _component_el_select = _resolveComponent(\"el-select\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _component_el_col = _resolveComponent(\"el-col\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_form = _resolveComponent(\"el-form\")\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_dialog = _resolveComponent(\"el-dialog\")\n\n return (_openBlock(), _createBlock(_component_el_dialog, {\n title: \"Add Campaign\",\n modelValue: _ctx.display,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.display = $event)),\n width: \"40%\",\n \"destroy-on-close\": \"\"\n }, {\n default: _withId(() => [\n _hoisted_1,\n _createVNode(_component_el_form, { ref: \"form\" }, {\n default: _withId(() => [\n _createVNode(_component_el_row, { gutter: 10 }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { sm: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _hoisted_2,\n _createVNode(_component_el_select, {\n modelValue: _ctx.taxonomyId,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.taxonomyId = $event)),\n placeholder: \"Select\",\n onChange: _ctx.taxonomyChange\n }, {\n default: _withId(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.taxonomies, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.id,\n label: item.name,\n value: item.id\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"onChange\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, { sm: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _hoisted_3,\n _createVNode(_component_el_select, {\n modelValue: _ctx.campaignId,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.campaignId = $event)),\n placeholder: \"Select\",\n disabled: _ctx.campaigns.length == 0\n }, {\n default: _withId(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.campaigns, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.id,\n label: item.name,\n value: item.id\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 512),\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_el_button, {\n onClick: _cache[3] || (_cache[3] = ($event: any) => {_ctx.display = false;})\n }, {\n default: _withId(() => [\n _hoisted_5\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n disabled: _ctx.campaignId.length == 0,\n onClick: _ctx.addCampaign\n }, {\n default: _withId(() => [\n _hoisted_6\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\"]))\n})","\nimport { Vue, Options, VModel, Watch, Prop } from '../../../../vue';\nimport { LoadingOverlay } from '../../../../components';\nimport { ApiService } from '../../../../services/api.service';\nimport { ElLoading, ElMessage } from 'element-plus';\nimport { TaxonomyListModel } from '../../../../models/taxonomies/taxonomy.model';\nimport { TaxonomyCampaignModel } from '../../../../models/taxonomies/taxonomy-campaign.model';\n\n@Options({\n components: {\n LoadingOverlay\n }\n})\nexport default class AddCampaignModal extends Vue {\n private apiService: ApiService = ApiService.Instance;\n loading = false;\n taxonomyId = '';\n campaignId = '';\n\n taxonomies: Array = [];\n campaigns: Array = [];\n\n @Prop()\n accountId = '';\n\n @VModel() input = false;\n private pDisplay = false;\n\n get display(): boolean {\n return this.pDisplay;\n }\n\n set display(val: boolean) {\n this.pDisplay = val;\n this.input = val;\n }\n\n @Watch('modelValue')\n async onInputChange(val: boolean) {\n this.display = val;\n if (val === true) {\n await this.loadTaxonomies();\n }\n }\n\n async loadTaxonomies() {\n this.taxonomyId = '';\n this.campaignId = '';\n this.taxonomies = await this.apiService.getEnabledTaxonomies();\n }\n\n async taxonomyChange(taxonomyId: string) {\n const taxonomy = await this.apiService.getTaxonomy(taxonomyId);\n this.campaigns = taxonomy?.campaigns ?? [];\n }\n\n async addCampaign() {\n // eslint-disable-next-line @typescript-eslint/ban-ts-ignore\n // @ts-ignore\n const loading = ElLoading.service({\n lock: true,\n background: 'rgba(0, 0, 0, 0.7)'\n });\n try {\n await this.apiService.addCampaignToAccount(this.accountId, this.campaignId);\n ElMessage.success('Campaign added successfully!');\n this.display = false;\n } catch (e) {\n ElMessage.error('Error adding campaign');\n throw new Error('Error adding campaign');\n } finally {\n loading.close();\n }\n }\n}\n\n","import { render } from \"./add-campaign-modal.vue?vue&type=template&id=1a24c358&scoped=true&ts=true\"\nimport script from \"./add-campaign-modal.vue?vue&type=script&lang=ts\"\nexport * from \"./add-campaign-modal.vue?vue&type=script&lang=ts\"\n\nimport \"./add-campaign-modal.vue?vue&type=style&index=0&id=1a24c358&lang=scss&scoped=true\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1a24c358\"]])\n\nexport default __exports__","import { createVNode as _createVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveDirective as _resolveDirective, withDirectives as _withDirectives, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-5c4b9ad8\")\n\n_pushScopeId(\"data-v-5c4b9ad8\")\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"h2\", null, \"Targeting Comments\", -1)\nconst _hoisted_2 = { style: {\"line-height\":\"25px\"} }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"h2\", null, \"Review Comments\", -1)\nconst _hoisted_4 = { style: {\"line-height\":\"25px\"} }\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\" Wizard Data \")\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\"View JSON\")\nconst _hoisted_7 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-copy\" }, null, -1)\nconst _hoisted_8 = { key: 1 }\nconst _hoisted_9 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-copy\" }, null, -1)\nconst _hoisted_10 = { key: 1 }\nconst _hoisted_11 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-copy\" }, null, -1)\nconst _hoisted_12 = { key: 0 }\nconst _hoisted_13 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-eye\" }, null, -1)\nconst _hoisted_14 = { key: 1 }\nconst _hoisted_15 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-copy\" }, null, -1)\nconst _hoisted_16 = /*#__PURE__*/_createTextVNode(\" Wizard Campaign JSON Data \")\nconst _hoisted_17 = /*#__PURE__*/_createTextVNode(\"Refresh\")\nconst _hoisted_18 = { id: \"wizard-json-body\" }\nconst _hoisted_19 = /*#__PURE__*/_createVNode(\"h3\", null, \"Editable Request Data\", -1)\nconst _hoisted_20 = {\n ref: \"wizardJsonEditor\",\n id: \"wizard-json-editor\"\n}\nconst _hoisted_21 = /*#__PURE__*/_createTextVNode(\"Copy\")\nconst _hoisted_22 = /*#__PURE__*/_createTextVNode(\"Send and Retry Creation\")\nconst _hoisted_23 = /*#__PURE__*/_createVNode(\"h3\", null, \"Exception(s)\", -1)\nconst _hoisted_24 = /*#__PURE__*/_createVNode(\"h3\", null, \"Original Request Data\", -1)\nconst _hoisted_25 = /*#__PURE__*/_createTextVNode(\"Copy\")\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_col = _resolveComponent(\"el-col\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_tag = _resolveComponent(\"el-tag\")\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_table_column = _resolveComponent(\"el-table-column\")\n const _component_el_table = _resolveComponent(\"el-table\")\n const _component_el_pagination = _resolveComponent(\"el-pagination\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _component_el_popconfirm = _resolveComponent(\"el-popconfirm\")\n const _component_el_input = _resolveComponent(\"el-input\")\n const _component_el_drawer = _resolveComponent(\"el-drawer\")\n const _directive_loading = _resolveDirective(\"loading\")\n\n return (_openBlock(), _createBlock(\"main\", null, [\n _createVNode(_component_el_space, {\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _createVNode(_component_el_row, { gutter: 10 }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { sm: 12 }, {\n default: _withId(() => [\n _hoisted_1,\n _createVNode(_component_el_card, null, {\n default: _withId(() => [\n _createVNode(\"div\", _hoisted_2, _toDisplayString(_ctx.campaignState?.targetingComments ?? 'None Provided'), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, { sm: 12 }, {\n default: _withId(() => [\n _hoisted_3,\n _createVNode(_component_el_card, null, {\n default: _withId(() => [\n _createVNode(\"div\", _hoisted_4, _toDisplayString(_ctx.campaignState?.reviewComments ?? 'None Provided'), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, { gutter: 10 }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { sm: 12 }, {\n default: _withId(() => [\n _createVNode(\"h2\", null, [\n _hoisted_5,\n _createVNode(_component_el_tag, {\n class: \"ml-2\",\n type: \"info\",\n style: {\"margin-right\":\"5px\"}\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.campaignState?.id), 1)\n ]),\n _: 1\n }),\n (_ctx.campaignCreationStatus)\n ? (_openBlock(), _createBlock(_component_el_tag, {\n key: 0,\n type: _ctx.creationTagType(_ctx.campaignCreationStatus.creationStatus),\n style: {\"margin-right\":\"5px\"}\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.campaignCreationStatus.creationStatus), 1)\n ]),\n _: 1\n }, 8, [\"type\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.campaignCreationStatus)\n ? (_openBlock(), _createBlock(_component_el_tag, {\n key: 1,\n style: {\"margin-right\":\"5px\"}\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.getFormattedTimestamp(_ctx.campaignCreationStatus.createdAt)), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }),\n ((_ctx.isAdmin || _ctx.isAdminReadOnly) && _ctx.campaignCreationStatus)\n ? (_openBlock(), _createBlock(_component_el_col, {\n key: 0,\n sm: 12\n }, {\n default: _withId(() => [\n _createVNode(_component_el_button, {\n size: \"small\",\n type: \"info\",\n plain: \"\",\n style: {\"float\":\"right\"},\n onClick: _ctx.loadAndShowWizardJSON\n }, {\n default: _withId(() => [\n _hoisted_6\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _withDirectives(_createVNode(_component_el_card, null, {\n default: _withId(() => [\n _createVNode(_component_el_table, {\n ref: \"wizardDataTable\",\n data: _ctx.campaignStateTableHolder.tableData,\n style: {\"width\":\"100%\"},\n stripe: \"\",\n \"highlight-current-row\": \"\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_table_column, { type: \"expand\" }, {\n default: _withId((scope) => [\n (Array.isArray(scope.row.value))\n ? (_openBlock(), _createBlock(_component_el_table, {\n key: 0,\n data: scope.row.value,\n stripe: \"\",\n \"highlight-current-row\": \"\",\n \"table-layout\": \"auto\",\n border: \"\",\n width: \"100%\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_table_column, {\n prop: \"label\",\n label: \"Field\",\n width: \"400px\"\n }, {\n default: _withId((scope) => [\n _createVNode(\"strong\", null, _toDisplayString(scope.row.label), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_table_column, {\n prop: \"value\",\n label: \"Value\"\n }, {\n default: _withId((scope) => [\n (Array.isArray(scope.row.value))\n ? (_openBlock(), _createBlock(_component_el_table, {\n key: 0,\n data: scope.row.value,\n stripe: \"\",\n \"highlight-current-row\": \"\",\n \"table-layout\": \"auto\",\n border: \"\",\n width: \"100%\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_table_column, {\n prop: \"label\",\n label: \"Field\",\n width: \"400px\"\n }, {\n default: _withId((scope) => [\n _createVNode(\"strong\", null, _toDisplayString(scope.row.label), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_el_table_column, {\n prop: \"value\",\n label: \"Value\"\n }, {\n default: _withId((scope) => [\n _createTextVNode(_toDisplayString(scope.row.value) + \" \", 1),\n _createVNode(_component_el_button, {\n circle: \"\",\n size: \"small\",\n class: \"copy-btn\",\n id: scope.row.label,\n onClick: ($event: any) => (_ctx.copyToClipboardShowNotification(scope.row.value, `Copied '${scope.row.value}' to clipboard!`))\n }, {\n default: _withId(() => [\n _hoisted_7\n ]),\n _: 2\n }, 1032, [\"id\", \"onClick\"])\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1032, [\"data\"]))\n : (_openBlock(), _createBlock(\"span\", _hoisted_8, [\n _createTextVNode(_toDisplayString(scope.row.value) + \" \", 1),\n _createVNode(_component_el_button, {\n circle: \"\",\n size: \"small\",\n class: \"copy-btn\",\n id: scope.row.label,\n onClick: ($event: any) => (_ctx.copyToClipboardShowNotification(scope.row.value, `Copied '${scope.row.value}' to clipboard!`))\n }, {\n default: _withId(() => [\n _hoisted_9\n ]),\n _: 2\n }, 1032, [\"id\", \"onClick\"])\n ]))\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1032, [\"data\"]))\n : (_openBlock(), _createBlock(\"span\", _hoisted_10, [\n _createTextVNode(_toDisplayString(scope.row.value) + \" \", 1),\n _createVNode(_component_el_button, {\n circle: \"\",\n size: \"small\",\n class: \"copy-btn\",\n id: scope.row.label,\n onClick: ($event: any) => (_ctx.copyToClipboardShowNotification(scope.row.value, `Copied '${scope.row.value}' to clipboard!`))\n }, {\n default: _withId(() => [\n _hoisted_11\n ]),\n _: 2\n }, 1032, [\"id\", \"onClick\"])\n ]))\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, {\n prop: \"label\",\n label: \"Field\",\n width: \"400px\"\n }, {\n default: _withId((scope) => [\n _createVNode(\"strong\", null, _toDisplayString(scope.row.label), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, {\n prop: \"value\",\n label: \"Value\"\n }, {\n default: _withId((scope) => [\n (Array.isArray(scope.row.value))\n ? (_openBlock(), _createBlock(\"span\", _hoisted_12, [\n _createVNode(_component_el_button, {\n onClick: ($event: any) => (_ctx.$refs.wizardDataTable.toggleRowExpansion(scope.row)),\n size: \"small\"\n }, {\n default: _withId(() => [\n _hoisted_13\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]))\n : (_openBlock(), _createBlock(\"span\", _hoisted_14, [\n _createTextVNode(_toDisplayString(scope.row.value) + \" \", 1),\n _createVNode(_component_el_button, {\n circle: \"\",\n size: \"small\",\n class: \"copy-btn\",\n id: scope.row.label,\n onClick: ($event: any) => (_ctx.copyToClipboardShowNotification(scope.row.value, `Copied '${scope.row.value}' to clipboard!`))\n }, {\n default: _withId(() => [\n _hoisted_15\n ]),\n _: 2\n }, 1032, [\"id\", \"onClick\"])\n ]))\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"]),\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"end\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_pagination, {\n \"page-sizes\": [10, 25, 50, 100, 200],\n \"page-size\": 50,\n background: \"\",\n \"pager-count\": 5,\n onCurrentChange: _cache[1] || (_cache[1] = ($event: any) => (_ctx.campaignStateTableHolder.changePage($event))),\n layout: \"total, sizes, prev, pager, next\",\n onSizeChange: _cache[2] || (_cache[2] = ($event: any) => (_ctx.campaignStateTableHolder.changePageSize($event))),\n total: _ctx.campaignStateTableHolder.totalRawRows\n }, null, 8, [\"total\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 512), [\n [_directive_loading, _ctx.loadingCampaignState]\n ])\n ]),\n _: 1\n }),\n (_ctx.campaignCreationStatus)\n ? (_openBlock(), _createBlock(_component_el_drawer, {\n key: 0,\n modelValue: _ctx.showWizardJSON,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.showWizardJSON = $event)),\n direction: \"ttb\",\n size: \"100%\"\n }, {\n title: _withId(() => [\n _createVNode(\"h4\", null, [\n _hoisted_16,\n _createVNode(_component_el_tag, {\n type: _ctx.creationTagType(_ctx.campaignCreationStatus.creationStatus),\n style: {\"margin-right\":\"10px\"}\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.campaignCreationStatus.creationStatus), 1)\n ]),\n _: 1\n }, 8, [\"type\"]),\n _createVNode(_component_el_tag, null, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.getFormattedTimestamp(_ctx.campaignCreationStatus.createdAt)), 1)\n ]),\n _: 1\n })\n ]),\n _createVNode(_component_el_button, {\n onClick: _ctx.refreshCampaignCreationStatus,\n loading: _ctx.refreshingCreationStatus,\n style: {\"margin-right\":\"20px\"}\n }, {\n default: _withId(() => [\n _hoisted_17\n ]),\n _: 1\n }, 8, [\"onClick\", \"loading\"])\n ]),\n default: _withId(() => [\n _createVNode(\"div\", _hoisted_18, [\n _createVNode(_component_el_row, {\n gutter: 10,\n class: \"section\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { sm: 6 })\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, { class: \"section\" }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { sm: 24 }, {\n default: _withId(() => [\n _hoisted_19,\n _createVNode(\"div\", _hoisted_20, null, 512)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, {\n gutter: 10,\n class: \"section\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { sm: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.copyToClipboardShowNotification(_ctx.editedParsedJSON, 'Editable Request Data')))\n }, {\n default: _withId(() => [\n _hoisted_21\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n (_ctx.campaignCreationStatus.creationStatus === 'Failed')\n ? (_openBlock(), _createBlock(_component_el_col, {\n key: 0,\n sm: 12\n }, {\n default: _withId(() => [\n _createVNode(_component_el_popconfirm, {\n \"confirm-button-text\": \"Yes\",\n \"cancel-button-text\": \"No, please don't!\",\n title: \"Are you SURE you want to retry campaign creation?\",\n onConfirm: _ctx.sendAndRetryCreation\n }, {\n reference: _withId(() => [\n _createVNode(_component_el_button, {\n type: \"danger\",\n loading: _ctx.sendindUpdatedJSON\n }, {\n default: _withId(() => [\n _hoisted_22\n ]),\n _: 1\n }, 8, [\"loading\"])\n ]),\n _: 1\n }, 8, [\"onConfirm\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n (_ctx.campaignCreationStatus.exception)\n ? (_openBlock(), _createBlock(_component_el_row, {\n key: 0,\n class: \"section\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { sm: 24 }, {\n default: _withId(() => [\n _hoisted_23,\n _createVNode(_component_el_input, {\n value: _ctx.campaignCreationStatus.exception,\n rows: 10,\n type: \"textarea\",\n placeholder: \"No Data\"\n }, null, 8, [\"value\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_el_row, { class: \"section\" }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { sm: 24 }, {\n default: _withId(() => [\n _hoisted_24,\n _createVNode(_component_el_input, {\n disabled: \"disabled\",\n value: _ctx.unmodifiedCampaignRequest,\n rows: 10,\n type: \"textarea\",\n placeholder: \"No Data\"\n }, null, 8, [\"value\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, {\n gutter: 10,\n class: \"section\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { sm: 12 }, {\n default: _withId(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.copyToClipboardShowNotification(_ctx.unmodifiedCampaignRequest, 'Original Request Data')))\n }, {\n default: _withId(() => [\n _hoisted_25\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\"]))\n : _createCommentVNode(\"\", true)\n ]))\n})","\nimport { Prop, Vue, Emit } from '../../../../vue';\nimport { ApiService } from '../../../../services/api.service';\nimport { ElNotification } from 'element-plus';\nimport { CreationStatus } from '../../../../models/account.model';\nimport { addSpacesOnCapitalization, copyToClipboardShowNotification, isNumeric } from '../../../../utils/helpers';\nimport { CustomerCampaignStatusModel } from '../../../../models/customer-campaign-status.model';\nimport moment from 'moment';\nimport { ElementTableHolder, LabelValueTableRow } from '../../../../utils/element-table-holder';\nimport { CampaignStateModel, CampaignWizardStep } from '../../../../models/campaign-wizard/campaign-state.model';\nimport JSONEditor from 'jsoneditor';\nimport 'jsoneditor/dist/jsoneditor.css';\n\nexport default class AccountDetailsWizardData extends Vue {\n private apiService: ApiService = ApiService.Instance;\n @Prop() isAdmin!: boolean;\n @Prop() isAdminReadOnly!: boolean;\n @Prop() isSupportAgent!: boolean;\n @Prop() isAccountManager!: boolean;\n @Prop() accountId!: string;\n @Prop() billingisActive!: boolean;\n\n loadingCampaignState = false;\n refreshingCreationStatus = false;\n showWizardJSON = false;\n jsonEditor!: JSONEditor | null;\n sendindUpdatedJSON = false;\n modifiedCampaignRequest: object = {};\n originalCampaignRequest: any = {};\n unmodifiedCampaignRequest: any;\n previouslyFailed = false;\n\n isNumeric = isNumeric;\n copyToClipboardShowNotification = copyToClipboardShowNotification;\n campaignState: CampaignStateModel | null = null;\n campaignStateTableHolder = new ElementTableHolder(50, ['label']);\n // eslint-disable-next-line @typescript-eslint/camelcase\n campaignCreationStatus: CustomerCampaignStatusModel | null = null;\n\n get completedWizard(): boolean {\n return this.campaignState?.step === CampaignWizardStep.Done;\n }\n\n get editedParsedJSON() {\n return this.jsonEditor ? JSON.stringify(this.jsonEditor.get()) : '';\n }\n\n get month(): string {\n return moment().format('MMMM');\n }\n\n onChangeJSON(json: object) {\n this.modifiedCampaignRequest = json;\n }\n\n loadAndShowWizardJSON() {\n this.showWizardJSON = true;\n if (!this.jsonEditor) {\n this.$nextTick(() => {\n const editor = this.$refs.wizardJsonEditor as HTMLInputElement;\n const options = {\n onChangeJSON: this.onChangeJSON\n };\n this.jsonEditor = new JSONEditor(editor, options);\n this.jsonEditor.set(this.originalCampaignRequest);\n });\n }\n }\n\n async getCampaignCreationStatus(setUnmodified = true) {\n try {\n this.campaignCreationStatus = await this.apiService.getCustomerCampaignStatusRequestById(this.accountId);\n this.originalCampaignRequest = JSON.parse(this.campaignCreationStatus.originalRequest);\n if (setUnmodified) {\n this.unmodifiedCampaignRequest = JSON.stringify(JSON.parse(this.campaignCreationStatus.originalRequest));\n }\n if (this.jsonEditor) {\n this.jsonEditor.update(this.originalCampaignRequest);\n }\n\n this.previouslyFailed = this.campaignCreationStatus.creationStatus === CreationStatus.Failed;\n } catch (e) {\n console.log(e);\n }\n }\n\n async mounted() {\n await this.getCampaignState(this.accountId);\n if ((this.isAdmin || this.isAdminReadOnly)) {\n await this.getCampaignCreationStatus(true);\n }\n }\n\n async refreshCampaignCreationStatus() {\n this.refreshingCreationStatus = true;\n await this.getCampaignCreationStatus(false);\n if (this.previouslyFailed && this.campaignCreationStatus?.creationStatus === CreationStatus.Created) {\n this.previouslyFailed = false;\n this.$emit('campaign-created');\n }\n this.refreshingCreationStatus = false;\n }\n\n convertWizardDataToArray(data: object) {\n const skipKeys = ['id', 'targetingComments', 'reviewComments', 'inviteLink', 'keywords', 'calloutExtensions', 'campaigns', 'negativeKeywords'];\n const epochFields = ['startDate', 'agreedToTos', 'billingSeen', 'trackingCodeSeen'];\n return Object.keys(data)\n .filter((k, i) => {\n if (skipKeys.indexOf(k) > -1) {\n return false;\n }\n // eslint-disable-next-line @typescript-eslint/ban-ts-ignore\n // @ts-ignore\n const val = data?.[k];\n return val && val.length !== 0;\n })\n .map((k, i) => {\n // eslint-disable-next-line @typescript-eslint/ban-ts-ignore\n // @ts-ignore\n let parsedValue = data[k] ?? '';\n if (typeof parsedValue === 'object') {\n parsedValue = this.convertWizardDataToArray(parsedValue);\n } else if (epochFields.indexOf(k) > -1) {\n parsedValue = moment(parsedValue).format('LLLL') + ' (' + moment(parsedValue).fromNow() + ')';\n }\n return {\n label: addSpacesOnCapitalization(k),\n value: parsedValue\n };\n });\n }\n\n getFormattedTimestamp(epoch: any) {\n return moment(epoch).format('LLLL') + ' (' + moment(epoch).fromNow() + ')';\n }\n\n async getCampaignState(id: string) {\n this.loadingCampaignState = true;\n this.campaignState = await this.apiService.getCustomerCampaignState(id as string);\n if (this.campaignState) {\n this.campaignStateTableHolder.rawTableData = this.convertWizardDataToArray(this.campaignState);\n }\n this.loadingCampaignState = false;\n }\n\n async sendAndRetryCreation() {\n if (!this.jsonEditor) {\n return false;\n }\n\n const hasModifiedRequest = !this.modifiedCampaignRequest || Object.keys(this.modifiedCampaignRequest).length === 0;\n this.sendindUpdatedJSON = true;\n\n if (hasModifiedRequest) {\n try {\n const valid = await this.jsonEditor.validate();\n console.log(valid);\n } catch (e) {\n console.log(e);\n ElNotification({\n title: 'Error',\n message: 'JSON in the editor did not validate, please check and try again.',\n type: 'error'\n });\n return;\n }\n }\n\n const campaignRequest = hasModifiedRequest ? this.originalCampaignRequest : this.modifiedCampaignRequest;\n console.log('sendAndRetryCreation', campaignRequest);\n\n if (Object.keys(campaignRequest).length === 0) {\n ElNotification({\n title: 'Error',\n message: 'Campaign request data is empty, please check and try again.',\n type: 'error'\n });\n return;\n }\n\n try {\n const result = await this.apiService.postCustomerCampaignStatusRequestById(this.accountId, campaignRequest);\n ElNotification({\n title: 'Success',\n message: 'This can take up to a few minutes to process, compare the timestamp on top left after the refresh to see the status.',\n type: 'success',\n duration: 90000\n });\n\n setTimeout(() => {\n ElNotification({\n title: 'Success',\n message: 'These notifications will close and automatically refresh status after 90 seconds..',\n type: 'success',\n duration: 90000\n });\n }, 1000);\n\n setTimeout(() => {\n this.refreshCampaignCreationStatus();\n }, 90000);\n } catch (e) {\n ElNotification({\n title: 'Error',\n message: 'There was an error sending updated JSON, check console.',\n type: 'error'\n });\n }\n\n this.sendindUpdatedJSON = false;\n return true;\n }\n\n creationTagType(status: CreationStatus): string {\n switch (status) {\n case CreationStatus.Created:\n return 'success';\n case CreationStatus.Failed:\n return 'danger';\n default:\n return 'info';\n }\n }\n}\n\n","import { render } from \"./wizard-data.vue?vue&type=template&id=5c4b9ad8&scoped=true&ts=true\"\nimport script from \"./wizard-data.vue?vue&type=script&lang=ts\"\nexport * from \"./wizard-data.vue?vue&type=script&lang=ts\"\n\nimport \"./wizard-data.vue?vue&type=style&index=0&id=5c4b9ad8&lang=scss&scoped=true\"\nimport \"./wizard-data.vue?vue&type=style&index=1&id=5c4b9ad8&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5c4b9ad8\"]])\n\nexport default __exports__","import { createVNode as _createVNode, resolveComponent as _resolveComponent, createTextVNode as _createTextVNode, withCtx as _withCtx, resolveDirective as _resolveDirective, withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"h2\", null, \"Recommendations\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Dismiss\")\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Apply\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_table_column = _resolveComponent(\"el-table-column\")\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_table = _resolveComponent(\"el-table\")\n const _component_el_pagination = _resolveComponent(\"el-pagination\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_col = _resolveComponent(\"el-col\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _directive_loading = _resolveDirective(\"loading\")\n\n return (_ctx.recommendationsTableHolder.tableData && _ctx.recommendationsTableHolder.tableData.length > 0)\n ? (_openBlock(), _createBlock(_component_el_space, {\n key: 0,\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_col, { sm: 24 }, {\n default: _withCtx(() => [\n _hoisted_1,\n _withDirectives(_createVNode(_component_el_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_table, {\n data: _ctx.recommendationsTableHolder.tableData,\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_table_column, {\n prop: \"date\",\n label: \"Date\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"type\",\n label: \"Type\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"target\",\n label: \"Target\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"description\",\n label: \"Recommendation\"\n }),\n _createVNode(_component_el_table_column, { label: \"Operations\" }, {\n default: _withCtx((scope) => [\n _createVNode(_component_el_button, {\n loading: _ctx.dismissingRecommendation[scope.row.id],\n onClick: ($event: any) => (_ctx.dismissRecommendation(scope.row.id, scope.row.customerId)),\n size: \"small\"\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 2\n }, 1032, [\"loading\", \"onClick\"]),\n _createVNode(_component_el_button, {\n type: \"primary\",\n loading: _ctx.applyingRecommendation[scope.row.id],\n onClick: ($event: any) => (_ctx.applyRecommendation(scope.row.id, scope.row.customerId)),\n size: \"small\"\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 2\n }, 1032, [\"loading\", \"onClick\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"]),\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_pagination, {\n \"page-size\": 1,\n \"pager-count\": 5,\n onCurrentChange: _cache[1] || (_cache[1] = ($event: any) => (_ctx.recommendationsTableHolder.changePage($event))),\n layout: \"prev, pager, next\",\n total: _ctx.recommendationsTableHolder.totalPages\n }, null, 8, [\"total\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 512), [\n [_directive_loading, _ctx.loadingRecommendations]\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n}","\nimport { Prop, Vue } from '../../../../vue';\nimport { ApiService } from '../../../../services/api.service';\nimport { ElMessage } from 'element-plus';\nimport { RecommendationModel } from '../../../../models/recommendation.model';\nimport moment from 'moment';\nimport { ElementTableHolder } from '../../../../utils/element-table-holder';\n\nexport interface RecommendationsTableRow {\n id: string;\n customerId: string;\n customerName: string;\n type: string;\n target: string;\n date: string;\n description: string;\n}\n\nexport default class AccountDetailsRecommendations extends Vue {\n private apiService: ApiService = ApiService.Instance;\n @Prop() customerId!: string;\n loadingRecommendations = false;\n recommendations: Array = [];\n recommendationsTableHolder = new ElementTableHolder(10, ['name']);\n dismissingRecommendation: {[key: string]: boolean} = {};\n applyingRecommendation: {[key: string]: boolean} = {};\n\n async mounted() {\n this.getRecommendations(this.customerId);\n }\n\n async getRecommendations(id: string) {\n this.loadingRecommendations = true;\n try {\n this.recommendations = await this.apiService.getRecommendationsForCustomer(id);\n this.recommendationsTableHolder.rawTableData = this.recommendations.map(recommendation => {\n return {\n id: recommendation.id,\n customerId: recommendation.customerResourceName,\n customerName: recommendation.customerName,\n type: recommendation.type,\n target: recommendation.target,\n date: moment(recommendation.date).format('MM/DD/YY'),\n description: recommendation.description\n };\n });\n } catch (e) {\n ElMessage.error('Error fetching recommendations');\n } finally {\n this.loadingRecommendations = false;\n }\n }\n\n async dismissRecommendation(id: string, customerId: string) {\n this.dismissingRecommendation[id] = true;\n try {\n await this.apiService.dismissRecommendation(id, customerId);\n await this.getRecommendations(this.customerId);\n ElMessage.success('Dismissed');\n } catch (e) {\n ElMessage.error('Error Dismissing Recommendation');\n }\n this.dismissingRecommendation[id] = false;\n }\n\n async applyRecommendation(id: string, customerId: string) {\n this.applyingRecommendation[id] = true;\n try {\n await this.apiService.applyRecommendation(id, customerId);\n await this.getRecommendations(this.customerId);\n ElMessage.success('Applied');\n } catch (e) {\n ElMessage.error('Error Applying Recommendation');\n }\n this.applyingRecommendation[id] = false;\n }\n}\n\n","import { render } from \"./recommendations.vue?vue&type=template&id=0639b26e&ts=true\"\nimport script from \"./recommendations.vue?vue&type=script&lang=ts\"\nexport * from \"./recommendations.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-5fc97d64\")\n\n_pushScopeId(\"data-v-5fc97d64\")\nconst _hoisted_1 = /*#__PURE__*/_createTextVNode(\" Subscription \")\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Add Usage\")\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_MeteredUsageModal = _resolveComponent(\"MeteredUsageModal\")\n const _component_el_tag = _resolveComponent(\"el-tag\")\n const _component_el_col = _resolveComponent(\"el-col\")\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_table_column = _resolveComponent(\"el-table-column\")\n const _component_el_table = _resolveComponent(\"el-table\")\n const _component_el_card = _resolveComponent(\"el-card\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(_component_MeteredUsageModal, {\n \"account-id\": _ctx.customerId,\n modelValue: _ctx.displayMeteredUsageModal,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.displayMeteredUsageModal = $event)),\n onClose: _ctx.loadSubscription\n }, null, 8, [\"account-id\", \"modelValue\", \"onClose\"]),\n _createVNode(_component_el_row, {\n gutter: 10,\n style: {\"margin-bottom\":\".5rem\"}\n }, {\n default: _withId(() => [\n _createVNode(_component_el_col, { sm: 12 }, {\n default: _withId(() => [\n _createVNode(\"h2\", null, [\n _hoisted_1,\n (_ctx.subscription)\n ? (_openBlock(), _createBlock(_Fragment, { key: 0 }, [\n _createVNode(_component_el_tag, {\n type: \"info\",\n style: {\"margin-right\":\"5px\"},\n title: \"ADP Associate Id\"\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.subscription.adpAssociateId), 1)\n ]),\n _: 1\n }),\n (_ctx.subscription.adpOrganizationId)\n ? (_openBlock(), _createBlock(_component_el_tag, {\n key: 0,\n type: \"info\",\n style: {\"margin-right\":\"5px\"},\n title: \"ADP Organization Id\"\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.subscription.adpOrganizationId), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_el_tag, {\n type: _ctx.subscriptionStatusBadgeType(_ctx.subscription.status),\n style: {\"margin-right\":\"5px\"}\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.subscription.status), 1)\n ]),\n _: 1\n }, 8, [\"type\"]),\n _createVNode(_component_el_tag, {\n type: \"info\",\n title: \"ADP SSO Email\"\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(_ctx.subscription.email), 1)\n ]),\n _: 1\n })\n ], 64))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, { sm: 12 }, {\n default: _withId(() => [\n (_ctx.isAdmin)\n ? (_openBlock(), _createBlock(_component_el_button, {\n key: 0,\n size: \"small\",\n type: \"primary\",\n icon: \"el-icon-plus\",\n style: {\"float\":\"right\",\"display\":\"block\"},\n title: \"Add Metered Usage\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.displayMeteredUsageModal = true))\n }, {\n default: _withId(() => [\n _hoisted_2\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_card, null, {\n default: _withId(() => [\n _createVNode(_component_el_table, {\n data: _ctx.reportData,\n \"default-sort\": {prop: 'createdAtDisplay', order: 'descending'},\n style: {\"width\":\"100%\",\"margin-bottom\":\"20px\"},\n \"default-expand-all\": \"\",\n \"row-key\": \"id\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_table_column, {\n prop: \"periodDisplay\",\n label: \"Period\",\n sortable: \"\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"usage\",\n label: \"Quantity\",\n sortable: \"\"\n }),\n _createVNode(_component_el_table_column, {\n label: \"Status\",\n sortable: \"\"\n }, {\n default: _withId((scope) => [\n _createVNode(_component_el_tag, {\n type: _ctx.subscriptionUsageStatusBadgeType(scope.row.status)\n }, {\n default: _withId(() => [\n _createTextVNode(_toDisplayString(scope.row.status), 1)\n ]),\n _: 2\n }, 1032, [\"type\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, {\n prop: \"requestId\",\n label: \"Request Id\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"createdAtDisplay\",\n label: \"Created At\",\n align: \"right\",\n sortable: \"\",\n \"sort-by\": \"createdAt\"\n })\n ]),\n _: 1\n }, 8, [\"data\"])\n ]),\n _: 1\n })\n ], 64))\n})","export interface Subscription {\n firstName: string;\n lastName: string;\n email: string;\n adpAssociateId: string;\n adpOrganizationId?: string;\n status: SubscriptionStatus;\n statusReason?: string;\n activatedAt?: string;\n usage: SubscriptionUsage[];\n}\n\nexport interface SubscriptionUsage {\n id: string;\n usage: number;\n period: number;\n status: SubscriptionUsageStatus;\n requestId?: string;\n createdAt: number;\n}\n\nexport enum SubscriptionStatus {\n Active = 'Active',\n InActive = 'InActive',\n Pending = 'Pending'\n}\n\nexport enum SubscriptionUsageStatus {\n Submitted = 'Submitted',\n Failed = 'Failed',\n Pending = 'Pending'\n}\n","import { createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-73724092\")\n\n_pushScopeId(\"data-v-73724092\")\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"p\", { class: \"text-wrap\" }, \"Enter the metered usage quantity.\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"h4\", null, \"Quantity\", -1)\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"p\", { class: \"text-wrap\" }, \"Quantity can be +/- to adjust invoice amount.\", -1)\nconst _hoisted_4 = { class: \"right-justify\" }\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Cancel\")\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\"Submit Usage\")\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_el_input_number = _resolveComponent(\"el-input-number\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _component_el_form = _resolveComponent(\"el-form\")\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_dialog = _resolveComponent(\"el-dialog\")\n\n return (_openBlock(), _createBlock(_component_el_dialog, {\n title: \"Submit Metered Usage\",\n modelValue: _ctx.display,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.display = $event)),\n width: \"400px\",\n \"destroy-on-close\": \"\"\n }, {\n default: _withId(() => [\n _hoisted_1,\n _createVNode(_component_el_form, { ref: \"form\" }, {\n default: _withId(() => [\n _createVNode(_component_el_space, {\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _hoisted_2,\n _createVNode(_component_el_input_number, {\n modelValue: _ctx.usage,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.usage = $event)),\n style: {\"width\":\"100%\"},\n \"controls-position\": \"right\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 512),\n _hoisted_3,\n _createVNode(\"div\", _hoisted_4, [\n _createVNode(_component_el_button, {\n onClick: _cache[2] || (_cache[2] = ($event: any) => {_ctx.display = false;})\n }, {\n default: _withId(() => [\n _hoisted_5\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n disabled: _ctx.usage == 0,\n onClick: _ctx.addMeteredUsage\n }, {\n default: _withId(() => [\n _hoisted_6\n ]),\n _: 1\n }, 8, [\"disabled\", \"onClick\"])\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\"]))\n})","\nimport { Vue, Options, VModel, Prop, Watch, Emit } from '@/vue';\nimport { LoadingOverlay } from '@/components';\nimport { ApiService } from '@/services/api.service';\nimport { ElLoading, ElMessage } from 'element-plus';\n\n@Options({\n components: {\n LoadingOverlay\n }\n})\nexport default class MeteredUsageModal extends Vue {\n private apiService: ApiService = ApiService.Instance;\n loading = false;\n usage = 0;\n\n @Prop()\n accountId = '';\n\n @Emit()\n close = false;\n\n @VModel() input = false;\n private pDisplay = false;\n\n get display(): boolean {\n return this.pDisplay;\n }\n\n set display(val: boolean) {\n this.pDisplay = val;\n this.input = val;\n }\n\n @Watch('modelValue')\n async onInputChange(val: boolean) {\n this.display = val;\n if (val === true) {\n this.usage = 0;\n }\n }\n\n formatDate(d: Date) {\n let month = '' + (d.getMonth() + 1);\n let day = '' + d.getDate();\n const year = d.getFullYear();\n\n if (month.length < 2) { month = '0' + month; }\n if (day.length < 2) { day = '0' + day; }\n\n return [year, month, day].join('-');\n }\n\n async addMeteredUsage() {\n // eslint-disable-next-line @typescript-eslint/ban-ts-ignore\n // @ts-ignore\n const loading = ElLoading.service({\n lock: true,\n background: 'rgba(0, 0, 0, 0.7)'\n });\n try {\n await this.apiService.submitMeteredUsageToAccount(this.accountId, this.usage, this.formatDate(new Date()));\n ElMessage.success('Metered usage added successfully!');\n this.display = false;\n this.close = true;\n } catch (e) {\n ElMessage.error('Error adding metered usage');\n throw new Error('Error adding metered usage');\n } finally {\n loading.close();\n }\n }\n}\n\n","import { render } from \"./metered-usage-modal.vue?vue&type=template&id=73724092&scoped=true&ts=true\"\nimport script from \"./metered-usage-modal.vue?vue&type=script&lang=ts\"\nexport * from \"./metered-usage-modal.vue?vue&type=script&lang=ts\"\n\nimport \"./metered-usage-modal.vue?vue&type=style&index=0&id=73724092&lang=scss&scoped=true\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-73724092\"]])\n\nexport default __exports__","\nimport { Options, Prop, Vue } from '@/vue';\nimport { ApiService } from '@/services/api.service';\nimport moment from 'moment';\nimport { Subscription, SubscriptionStatus, SubscriptionUsageStatus } from '@/models/subscription.model';\nimport MeteredUsageModal from '@/views/admin/accounts/modals/metered-usage-modal.vue';\n\ninterface UsageModel {\n id: string;\n usage: number;\n period: number;\n periodDisplay: string;\n status: string;\n createdAt: number;\n createdAtDisplay: string;\n requestId?: string;\n}\n\n@Options({\n components: {\n MeteredUsageModal\n }\n})\nexport default class AccountSubscription extends Vue {\n private apiService: ApiService = ApiService.Instance;\n @Prop() isAdmin!: boolean;\n\n customerId!: string;\n subscription: Subscription | null = null;\n reportData: Array = [];\n displayMeteredUsageModal = false;\n\n async beforeMount() {\n this.customerId = this.$route.params.id as string;\n }\n\n async mounted() {\n await this.loadSubscription();\n }\n\n subscriptionStatusBadgeType(status: SubscriptionStatus): string {\n switch (status) {\n case SubscriptionStatus.InActive:\n return 'danger';\n case SubscriptionStatus.Active:\n return 'success';\n case SubscriptionStatus.Pending:\n return 'warning';\n default:\n return '';\n }\n }\n\n subscriptionUsageStatusBadgeType(status: SubscriptionUsageStatus): string {\n switch (status) {\n case SubscriptionUsageStatus.Failed:\n return 'danger';\n case SubscriptionUsageStatus.Pending:\n return 'warning';\n case SubscriptionUsageStatus.Submitted:\n return 'success';\n default:\n return '';\n }\n }\n\n async loadSubscription() {\n this.reportData = [];\n this.subscription = await this.apiService.getSubscription(this.customerId);\n if (this.subscription?.usage) {\n this.reportData = this.subscription.usage.map((u) => ({\n id: u.id,\n usage: u.usage,\n status: u.status,\n period: u.period,\n periodDisplay: moment(new Date(u.period).toISOString()).format('L'),\n createdAt: u.createdAt,\n createdAtDisplay: moment(new Date(u.createdAt).toISOString()).format('MM/DD/YYYY, h:mm a'),\n requestId: u.requestId\n }));\n }\n }\n}\n","import { render } from \"./account-subscription.vue?vue&type=template&id=5fc97d64&scoped=true&ts=true\"\nimport script from \"./account-subscription.vue?vue&type=script&lang=ts\"\nexport * from \"./account-subscription.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5fc97d64\"]])\n\nexport default __exports__","\nimport { Options, Prop, Vue, Watch } from '@/vue';\nimport { ApiService } from '@//services/api.service';\nimport { RouteName } from '@//router';\nimport { ElLoading, ElMessage, ElMessageBox, ElNotification } from 'element-plus';\nimport { isHttpException } from '@//utils/exceptions';\nimport { buildAndExportAdCopies, buildAndExportKeywords } from '@//utils/downloads';\nimport { AccountModel, AccountStatus, CampaignStatus } from '@//models/account.model';\nimport { formatCost, formatNumber, isNumeric } from '@//utils/helpers';\nimport moment from 'moment';\nimport { UserType } from '@//models/user.type';\nimport { CampaignWizardStep } from '@//models/campaign-wizard/campaign-state.model';\nimport { CustomerKeywordModel } from '@//models/customer-keyword.model';\nimport { CustomerAdCopiesModel } from '@//models/customer-ad-copy.model';\nimport CustomerNotes from './account-notes.vue';\nimport AddCampaignModel from './modals/add-campaign-modal.vue';\nimport AccountDetailsWizardData from './details/wizard-data.vue';\nimport AccountDetailsRecommendations from './details/recommendations.vue';\nimport { BillingStatusResponseModel } from '@//models/campaign-wizard/billing-status-response.model';\nimport AccountSubscription from '@/views/admin/accounts/account-subscription.vue';\n\ninterface CampaignsTableRow {\n id: number;\n name: string;\n status: CampaignStatus;\n impressions: string;\n clicks: number;\n totalSpend: string;\n budgetSurplus: string;\n averageCpc: string;\n resourceName: string;\n}\n\nexport interface PauseResumeCampaignsRequest {\n ids: Array;\n paused: boolean;\n customerId: string;\n}\n@Options({\n components: {\n AccountSubscription,\n CustomerNotes,\n AddCampaignModel,\n AccountDetailsWizardData,\n AccountDetailsRecommendations\n }\n})\n\nexport default class AdminAccountDetails extends Vue {\n private apiService: ApiService = ApiService.Instance;\n @Prop() isAdmin!: boolean;\n @Prop() isAdminReadOnly!: boolean;\n @Prop() isSupportAgent!: boolean;\n @Prop() isAccountManager!: boolean;\n\n loading = false;\n loadingCampaigns = true;\n RouteName = RouteName;\n downloadingFile = false;\n UserTypes = Object.values(UserType);\n userType: null | UserType = null;\n UserSteps = Object.values(CampaignWizardStep);\n userStep: null | CampaignWizardStep = null;\n accountStatus: null | AccountStatus = null;\n AccountStatuses = [AccountStatus.Created, AccountStatus.Removed];\n\n getCustomerError = false;\n displayCampaignModal = false;\n customerBillingStatus: BillingStatusResponseModel = { id: null, isActive: false, nextStep: null };\n customerClientLink: any = { managerId: null, resourceName: null, status: null };\n editingAccountStatus = false;\n editingUserType = false;\n editingUserStep = false;\n account: AccountModel | null = null;\n campaigns: Array = [];\n\n @Watch('userType')\n async onUserTypeChange(val: UserType) {\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\n try {\n await this.apiService.changeUserType(this.account!.id, val);\n ElMessage.success('Account Type Changed');\n } catch (e) {\n ElMessage.error('Error changing account type');\n } finally {\n loading.close();\n this.editingUserType = false;\n }\n }\n\n @Watch('accountStatus')\n async onAccountStatusChange(val: AccountStatus) {\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\n try {\n await this.apiService.changeAccountStatus(this.account!.id, val);\n this.account!.status = val;\n await (this.$refs as any).CustomerNotes.loadNotes();\n ElMessage.success('Account Status Changed');\n } catch (e) {\n ElMessage.error('Error changing account status');\n } finally {\n loading.close();\n this.editingAccountStatus = false;\n }\n }\n\n @Watch('userStep')\n async onUserStepChange(val: CampaignWizardStep) {\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\n try {\n await this.apiService.changeWizardStep(this.account!.id, val);\n ElMessage.success('Wizard Step Changed!');\n this.editingUserStep = false;\n await this.getAccount();\n } catch (e) {\n ElMessage.error('Error changing wizard step!');\n } finally {\n loading.close();\n this.editingUserStep = false;\n }\n }\n\n get userStepsOptions() {\n return this.UserSteps.filter(step => step !== 'SignIn');\n }\n\n get billingSetupNotComplete() {\n return this.customerBillingStatus.isActive && this.account?.step === CampaignWizardStep.Billing;\n }\n\n get isBillingStepOrFurther() {\n return this.account?.step === CampaignWizardStep.Billing || this.account?.step === CampaignWizardStep.Tracking || this.account?.step === CampaignWizardStep.Done;\n }\n\n get completedWizard(): boolean {\n return this.account?.step === CampaignWizardStep.Done || this.account?.step === CampaignWizardStep.Tracking;\n }\n\n get accountId(): string {\n const routeId = this.$route.params.id;\n if (routeId && !isNumeric(routeId)) {\n return routeId as string;\n }\n return this.account?.id as string;\n }\n\n get googleAdsAccountLink() {\n return 'https://ads.google.com/aw/accounts?ocid=378971898&x=%7B%221%22%3Atrue%2C%222%22%3A%22378971898%22%7D&euid=492946531&__u=1625559819&uscid=378971898&__c=6852031402&authuser=1&subid=US-en-et-g-aw-c-home-awhp_xin1_signin%21o2-awhp-hv-01-22-ahpm-0000000097-0000000000';\n }\n\n get customerIdFormatted() {\n if (!this.customerId) {\n return '';\n }\n const customerId = this.customerId?.toString();\n return customerId.substr(0, 3) + '-' + customerId.substr(3, 3) + '-' + customerId.substr(6, 10);\n }\n\n get month(): string {\n return moment().format('MMMM');\n }\n\n get customerId() {\n console.log(this.account);\n return this.account?.mccId ? this.account.mccId?.toString() : '';\n }\n\n navigateToDashboard() {\n if (this.account?.mccId) {\n this.$router.push({ name: RouteName.AdminCustomerOverview, params: { id: this.account?.mccId.toString() } });\n }\n }\n\n async confirmForceCreation() {\n try {\n await ElMessageBox.confirm(\n 'Are you sure you want to force creation of all campaigns? This should ONLY ever be done if nothing exists in the campaign_creation_status table! Please be patient this can take up to a few minutes. The loader will close after 2 minutes and refresh.',\n 'Force Creation?',\n {\n confirmButtonText: 'Force Creation',\n cancelButtonText: 'Cancel',\n type: 'warning'\n }\n );\n\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\n\n try {\n await this.apiService.forceCampaignCreation(this.accountId);\n setTimeout(() => {\n loading.close();\n this.getAccount();\n }, 120000);\n } catch (e) {\n loading.close();\n console.log(e);\n ElMessage.error('Error forcing campaign creation check console');\n }\n } catch (e) {\n\n }\n }\n\n async forceGetPullCustomer() {\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\n await this.apiService.getCustomerPullNow(this.accountId);\n loading.close();\n }\n\n async pauseCampaign(id: string, campaignName: string) {\n try {\n await ElMessageBox.confirm(`Are you sure you want to PAUSE the ${campaignName} campaign?`, 'Warning', { confirmButtonText: 'Yes', cancelButtonText: 'Cancel', type: 'warning' });\n this.loadingCampaigns = true;\n\n const request: PauseResumeCampaignsRequest = {\n ids: [id],\n paused: true,\n customerId: this.customerId\n };\n\n try {\n await this.apiService.pauseResumeCampaigns(request);\n ElNotification({\n title: 'Success!',\n message: `The ${campaignName} campaign was successfully paused!`,\n type: 'success'\n });\n await this.getCustomer();\n } catch (e) {\n ElNotification({\n title: 'Error',\n message: 'There was an error pausing the campaign! ' + e.message,\n type: 'error'\n });\n }\n } catch (e) {\n\n }\n\n this.loadingCampaigns = false;\n }\n\n async resumeCampaign(id: string, campaignName: string) {\n try {\n await ElMessageBox.confirm(`Are you sure you want to RESUME the ${campaignName} campaign?`, 'Warning', { confirmButtonText: 'Yes', cancelButtonText: 'Cancel', type: 'warning' });\n this.loadingCampaigns = true;\n\n const request: PauseResumeCampaignsRequest = {\n ids: [id],\n paused: false,\n customerId: this.customerId\n };\n\n try {\n await this.apiService.pauseResumeCampaigns(request);\n ElNotification({\n title: 'Success!',\n message: `The ${campaignName} campaign was successfully resumed!`,\n type: 'success'\n });\n await this.getCustomer();\n } catch (e) {\n ElNotification({\n title: 'Error',\n message: 'There was an error resuming the campaign! ' + e.message,\n type: 'error'\n });\n }\n } catch (e) {\n\n }\n\n this.loadingCampaigns = false;\n }\n\n async exportKeywordsCSV() {\n this.downloadingFile = true;\n const keywords: Array = await this.apiService.getCustomerKeywordsById(this.accountId);\n if (!buildAndExportKeywords(keywords)) {\n ElNotification({\n title: 'Error',\n message: 'No keywords found!',\n type: 'error'\n });\n }\n\n setTimeout(() => { this.downloadingFile = false; }, 1000);\n }\n\n async exportAdCopiesCSV() {\n this.downloadingFile = true;\n const adCopies: Array = await this.apiService.getCustomerAdCopiesById(this.accountId);\n if (!buildAndExportAdCopies(adCopies)) {\n ElNotification({\n title: 'Error',\n message: 'No ad copies found!',\n type: 'error'\n });\n }\n setTimeout(() => { this.downloadingFile = false; }, 1000);\n }\n\n async mounted() {\n await this.getAccount();\n this.$route.meta.breadCrumb = this.account?.name;\n }\n\n async getCustomer() {\n try {\n const customerId = this.$route.params.id;\n if (isNumeric(customerId)) {\n this.account = await this.apiService.getCustomerByCustomerId(customerId as string);\n } else {\n this.account = await this.apiService.getCustomer(this.$route.params.id as string);\n }\n\n this.campaigns = this.account.campaigns.map((c) => {\n return {\n id: c.id,\n name: c.name,\n status: c.status,\n impressions: formatNumber(c.impressions),\n clicks: c.clicks,\n totalSpend: formatCost(c.totalSpend),\n budgetSurplus: formatCost(c.budgetSurplus, false),\n averageCpc: formatCost(c.averageCpc),\n resourceName: c.resourceName\n };\n });\n } catch (e) {\n console.log(e, e.message);\n if (isHttpException(e) && e.status === 403) {\n await this.$router.push({ name: RouteName.Forbidden });\n } else if (isHttpException(e) && e.status === 500) {\n this.getCustomerError = true;\n } else {\n ElMessage.error('Error fetching account');\n }\n } finally {\n this.loadingCampaigns = false;\n }\n\n if (this.account && this.account.id && this.account.isLinkedAccount) {\n try {\n this.customerClientLink = await this.apiService.getCustomerClientLink(this.account.id);\n } catch (e) {\n ElMessage.error('Error fetching customer client link');\n }\n }\n\n if (this.account && this.account.id && !this.account.isLinkedAccount && this.isBillingStepOrFurther) {\n try {\n this.customerBillingStatus = await this.apiService.checkCustomerBillingStatus(this.account.id);\n } catch (e) {\n ElMessage.error('Error fetching billing status');\n }\n }\n }\n\n async getAccount() {\n this.loadingCampaigns = true;\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\n await this.getCustomer();\n loading.close();\n }\n\n campaignStatusBadgeType(status: CampaignStatus): string {\n switch (status) {\n case CampaignStatus.Suspended:\n return 'danger';\n case CampaignStatus.Active:\n return 'success';\n case CampaignStatus.Cancelled:\n case CampaignStatus.Paused:\n return 'warning';\n case CampaignStatus.Unknown:\n return 'info';\n default:\n return '';\n }\n }\n\n statusBadgeType(status: AccountStatus): string {\n switch (status) {\n case AccountStatus.Pending:\n return 'info';\n case AccountStatus.Creating:\n case AccountStatus.Created:\n return 'success';\n case AccountStatus.PartiallyCreated:\n case AccountStatus.Failed:\n return 'danger';\n case AccountStatus.Removed:\n return 'info';\n }\n }\n}\n\n","import { render } from \"./account-details.vue?vue&type=template&id=e507f944&scoped=true&ts=true\"\nimport script from \"./account-details.vue?vue&type=script&lang=ts\"\nexport * from \"./account-details.vue?vue&type=script&lang=ts\"\n\nimport \"./account-details.vue?vue&type=style&index=0&id=e507f944&lang=scss&scoped=true\"\nimport \"./account-details.vue?vue&type=style&index=1&id=e507f944&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e507f944\"]])\n\nexport default __exports__","type Long = number;\r\ntype Int = number;\r\ntype Double = number;\r\nexport type Stringify = Omit & { [P in K]: string };\r\n\r\nexport enum AccountStatus {\r\n Suspended = 'Suspended',\r\n Cancelled = 'Cancelled',\r\n Active = 'Active',\r\n Unknown = 'Unknown',\r\n}\r\n\r\nexport interface ReportingModel {\r\n results: Array;\r\n pages: Int;\r\n page: Int;\r\n}\r\n\r\ninterface ReportingCluster {\r\n id: string;\r\n name: string;\r\n}\r\n\r\ninterface ReportingCampaign {\r\n id: string;\r\n name: string;\r\n}\r\n\r\ninterface ReportingKeyword {\r\n text: string;\r\n}\r\n\r\ninterface ReportingSearchTerm {\r\n searchTerm: string;\r\n}\r\n\r\ninterface ReportingDemographic {\r\n type: string;\r\n}\r\n\r\ninterface ReportingAccount {\r\n id: string;\r\n name: string;\r\n status: AccountStatus;\r\n}\r\n\r\nexport interface ClusterMetrics {\r\n cluster: ReportingCluster;\r\n clicks: Long;\r\n conversions: Double;\r\n costMicros: Long;\r\n cpc: Double;\r\n ctr: Double;\r\n impressions: Long;\r\n absoluteTop: Double;\r\n clickShare: Double;\r\n impressionShare: Double;\r\n}\r\n\r\nexport interface ClusterAccountMetrics extends ClusterMetrics {\r\n account: ReportingAccount;\r\n campaign: ReportingCampaign;\r\n cluster: ReportingCluster;\r\n clicks: Long;\r\n conversions: Double;\r\n costMicros: Long;\r\n cpc: Double;\r\n ctr: Double;\r\n impressions: Long;\r\n absoluteTop: Double;\r\n clickShare: Double;\r\n impressionShare: Double;\r\n}\r\n\r\nexport interface KeywordMetrics {\r\n keyword: ReportingKeyword;\r\n clicks: Long;\r\n conversions: Double;\r\n costMicros: Long;\r\n cpc: Double;\r\n ctr: Double;\r\n impressions: Long;\r\n absoluteTop: Double;\r\n clickShare: Double;\r\n impressionShare: Double;\r\n}\r\n\r\nexport interface KeywordClusterMetrics extends KeywordMetrics{\r\n keyword: ReportingKeyword;\r\n campaign: ReportingCampaign | null;\r\n cluster: ReportingCluster | null;\r\n clicks: Long;\r\n conversions: Double;\r\n costMicros: Long;\r\n cpc: Double;\r\n ctr: Double;\r\n impressions: Long;\r\n absoluteTop: Double;\r\n clickShare: Double;\r\n impressionShare: Double;\r\n}\r\n\r\nexport interface KeywordAccountClusterMetrics extends KeywordMetrics{\r\n keyword: ReportingKeyword;\r\n account: ReportingAccount;\r\n cluster: ReportingCluster;\r\n clicks: Long;\r\n conversions: Double;\r\n costMicros: Long;\r\n cpc: Double;\r\n ctr: Double;\r\n impressions: Long;\r\n absoluteTop: Double;\r\n clickShare: Double;\r\n impressionShare: Double;\r\n}\r\n\r\nexport interface SearchTermMetrics {\r\n searchTerm: ReportingSearchTerm;\r\n clicks: Long;\r\n conversions: Double;\r\n costMicros: Long;\r\n cpc: Double;\r\n ctr: Double;\r\n impressions: Long;\r\n}\r\n\r\nexport interface SearchTermClusterMetrics extends SearchTermMetrics {\r\n searchTerm: ReportingSearchTerm;\r\n campaign: ReportingCampaign | null;\r\n cluster: ReportingCluster | null;\r\n clicks: Long;\r\n conversions: Double;\r\n costMicros: Long;\r\n cpc: Double;\r\n ctr: Double;\r\n impressions: Long;\r\n}\r\n\r\nexport interface SearchTermAccountClusterMetrics extends SearchTermMetrics {\r\n searchTerm: ReportingSearchTerm;\r\n account: ReportingAccount;\r\n cluster: ReportingCluster;\r\n clicks: Long;\r\n conversions: Double;\r\n costMicros: Long;\r\n cpc: Double;\r\n ctr: Double;\r\n impressions: Long;\r\n}\r\n\r\nexport enum DemographicType {\r\n AgeRange = 'AgeRange',\r\n Gender = 'Gender',\r\n IncomeRange = 'IncomeRange'\r\n}\r\n\r\nexport interface DemographicMetrics {\r\n demographic: ReportingDemographic;\r\n averageCpc: Double;\r\n clicks: Long;\r\n conversions: Double;\r\n costMicros: Long;\r\n cpc: Double;\r\n ctr: Double;\r\n impressions: Long;\r\n conversionsFromInteractions: Double;\r\n}\r\n\r\nexport interface DemographicClusterMetrics extends DemographicMetrics {\r\n demographic: ReportingDemographic;\r\n campaign: ReportingCampaign | null;\r\n cluster: ReportingCluster | null;\r\n averageCpc: Double;\r\n clicks: Long;\r\n conversions: Double;\r\n costMicros: Long;\r\n cpc: Double;\r\n ctr: Double;\r\n impressions: Long;\r\n conversionsFromInteractions: Double;\r\n}\r\n\r\nexport interface DemographicAccountClusterMetrics extends DemographicMetrics {\r\n demographic: ReportingDemographic;\r\n account: ReportingAccount;\r\n cluster: ReportingCluster;\r\n averageCpc: Double;\r\n clicks: Long;\r\n conversions: Double;\r\n costMicros: Long;\r\n cpc: Double;\r\n ctr: Double;\r\n impressions: Long;\r\n conversionsFromInteractions: Double;\r\n}\r\n","import { createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, resolveDirective as _resolveDirective, withDirectives as _withDirectives } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"h1\", null, null, -1)\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Campaigns\")\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Keywords\")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\"Search Terms\")\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Demographics\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_date_picker = _resolveComponent(\"el-date-picker\")\n const _component_el_option = _resolveComponent(\"el-option\")\n const _component_el_select = _resolveComponent(\"el-select\")\n const _component_el_input = _resolveComponent(\"el-input\")\n const _component_ag_grid_vue = _resolveComponent(\"ag-grid-vue\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _directive_loading = _resolveDirective(\"loading\")\n\n return (_openBlock(), _createBlock(\"main\", null, [\n _createVNode(_component_el_space, {\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n justify: \"space-between\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createVNode(_component_el_row, {\n align: \"middle\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n size: \"small\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsClusters });})\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsKeywords });})\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsSearchTerms });})\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.AgeRange } });})\n }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _withDirectives(_createVNode(_component_el_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n align: \"middle\",\n justify: \"end\",\n type: \"flex\",\n style: {\"margin-bottom\":\"10px\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.start,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.start = $event)),\n type: \"date\",\n placeholder: \"Start Date\",\n style: {\"margin-right\":\"10px\"}\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.end,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.end = $event)),\n type: \"date\",\n placeholder: \"End Date\",\n style: {\"margin-right\":\"10px\"}\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_el_select, {\n modelValue: _ctx.deviceType,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (_ctx.deviceType = $event)),\n placeholder: \"Device Type\",\n style: {\"margin-right\":\"10px\"}\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.devices, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item,\n label: item,\n value: item\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_el_input, {\n modelValue: _ctx.search,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => (_ctx.search = $event)),\n clearable: \"\",\n placeholder: \"Type to search\",\n style: {\"width\":\"315px\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_ag_grid_vue, {\n style: {\"width\":\"100%\",\"min-height\":\"500px\"},\n class: \"ag-theme-material\",\n columnDefs: _ctx.columnDefs,\n rowData: _ctx.clusters,\n \"grid-options\": _ctx.gridOptions\n }, null, 8, [\"columnDefs\", \"rowData\", \"grid-options\"])\n ]),\n _: 1\n }, 512), [\n [_directive_loading, _ctx.loading]\n ])\n ]),\n _: 1\n })\n ]))\n}","\r\nimport { Vue, Options, Watch, VModel } from '../../../vue';\r\nimport { LoadingOverlay } from '../../../components';\r\nimport { ApiService } from '../../../services/api.service';\r\nimport { AuthService } from '../../../services/auth.service';\r\nimport { ElMessage } from 'element-plus';\r\nimport { RouteName } from '../../../router';\r\nimport { isHttpException } from '../../../utils/exceptions';\r\nimport { ClusterMetrics, Stringify, ReportingModel, DemographicType } from '../../../models/reporting/reporting.model';\r\nimport { roundMicros, formatNumber } from '../../../utils/helpers';\r\nimport { Device } from '../../shared/customer-overview.vue';\r\nimport { AgGridVue } from 'ag-grid-vue3';\r\nimport { AnalyticsLinkCellRenderer } from '../../../aggrid/renderers';\r\nimport { ValueFormatterParams, GridOptions } from 'ag-grid-community';\r\n\r\n@Options({\r\n components: {\r\n LoadingOverlay,\r\n AgGridVue\r\n }\r\n})\r\nexport default class AnalyticsClusters extends Vue {\r\n private apiService: ApiService = ApiService.Instance;\r\n private authService: AuthService = AuthService.Instance;\r\n @VModel() search = '';\r\n\r\n loading = false;\r\n RouteName = RouteName;\r\n DemographicType = DemographicType;\r\n start = new Date(new Date().getTime() - 2628000000);\r\n end = new Date();\r\n deviceType = Device.All;\r\n page = 0;\r\n\r\n @Watch('deviceType')\r\n deviceTypeUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('page')\r\n endUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('end')\r\n startUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('start')\r\n pageUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('search')\r\n onInputUpdate(val: string) {\r\n this.gridOptions.api!.setQuickFilter(val);\r\n }\r\n\r\n devices = Object.values(Device);\r\n rawData: ReportingModel | null = null;\r\n clusters: Array = [];\r\n\r\n mounted() {\r\n this.getData();\r\n }\r\n\r\n get gridOptions(): GridOptions {\r\n return {\r\n sideBar: 'filters',\r\n defaultColDef: {\r\n flex: 1,\r\n filter: true,\r\n sortable: true,\r\n resizable: true,\r\n menuTabs: ['filterMenuTab', 'generalMenuTab', 'columnsMenuTab'],\r\n filterParams: {\r\n // https://www.ag-grid.com/javascript-data-grid/filter-provided/#apply-clear-reset-and-cancel-buttons\r\n buttons: ['reset']\r\n }\r\n },\r\n // https://www.ag-grid.com/vue-data-grid/row-pagination/\r\n pagination: true,\r\n // https://www.ag-grid.com/javascript-data-grid/grid-size/\r\n domLayout: 'autoHeight',\r\n paginationPageSize: 20\r\n // rowGroupPanelShow: 'always'\r\n };\r\n }\r\n\r\n get columnDefs() {\r\n return [\r\n {\r\n headerName: 'Campaign',\r\n field: 'cluster.name',\r\n cellRenderer: AnalyticsLinkCellRenderer,\r\n cellRendererParams: {\r\n routeName: RouteName.AdminAnalyticsCluster,\r\n idField: 'cluster.id'\r\n },\r\n flex: 2,\r\n enableRowGroup: true\r\n },\r\n {\r\n headerName: 'Clicks',\r\n field: 'clicks',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Conversions',\r\n field: 'conversions',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Cost',\r\n field: 'costMicros',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => '$' + params.value\r\n },\r\n {\r\n headerName: 'CPC',\r\n field: 'cpc',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => '$' + params.value\r\n },\r\n {\r\n headerName: 'CTR',\r\n field: 'ctr',\r\n filter: 'agNumberColumnFilter',\r\n sort: 'desc',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Impressions',\r\n field: 'impressions',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Absolute Top',\r\n field: 'absoluteTop',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Click Share',\r\n field: 'clickShare',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Impression Share',\r\n field: 'impressionShare',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n }\r\n ];\r\n }\r\n\r\n async getData() {\r\n this.loading = true;\r\n try {\r\n // TODO: PAGE SIZE SET AT 1000 FOR NOW NEED TO UPDATE IF MORE TAXONOMIES ADDED\r\n this.rawData = await this.apiService.getReportingClusters(this.start.getTime(), this.end.getTime(), this.page, 10000, this.deviceType);\r\n this.clusters = this.rawData.results.map(row => {\r\n return {\r\n ...row,\r\n costMicros: roundMicros(row.costMicros),\r\n cpc: roundMicros(row.cpc)\r\n };\r\n });\r\n } catch (e) {\r\n if (isHttpException(e) && e.status === 403) {\r\n await this.$router.push({ name: RouteName.Forbidden });\r\n } else {\r\n ElMessage.error('Error fetching reporting clusters');\r\n }\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n}\r\n\r\n","import { render } from \"./clusters.vue?vue&type=template&id=54afc6a4&ts=true\"\nimport script from \"./clusters.vue?vue&type=script&lang=ts\"\nexport * from \"./clusters.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createTextVNode as _createTextVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, resolveDirective as _resolveDirective, withDirectives as _withDirectives } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"h1\", null, \"Analytics\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Clusters\")\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\" Campaigns \")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\" Keywords \")\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\" Search Terms \")\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\" Demographics \")\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\"Pause / Resume \")\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\"Bid Adjustments \")\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\"Edit Keywords \")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_breadcrumb_item = _resolveComponent(\"el-breadcrumb-item\")\n const _component_el_breadcrumb = _resolveComponent(\"el-breadcrumb\")\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_date_picker = _resolveComponent(\"el-date-picker\")\n const _component_el_option = _resolveComponent(\"el-option\")\n const _component_el_select = _resolveComponent(\"el-select\")\n const _component_el_input = _resolveComponent(\"el-input\")\n const _component_ag_grid_vue = _resolveComponent(\"ag-grid-vue\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _component_PauseResumeModal = _resolveComponent(\"PauseResumeModal\")\n const _component_el_dialog = _resolveComponent(\"el-dialog\")\n const _component_BidAdjustModal = _resolveComponent(\"BidAdjustModal\")\n const _component_EditKeywordModal = _resolveComponent(\"EditKeywordModal\")\n const _directive_loading = _resolveDirective(\"loading\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"main\", null, [\n _createVNode(_component_el_space, {\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, null, {\n default: _withCtx(() => [\n _hoisted_1\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, {\n justify: \"space-between\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_breadcrumb, { separator: \"/\" }, {\n default: _withCtx(() => [\n _createVNode(_component_el_breadcrumb_item, {\n to: { name: _ctx.RouteName.AdminAnalyticsClusters }\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }, 8, [\"to\"]),\n _createVNode(_component_el_breadcrumb_item, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.clusterLabel), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, {\n align: \"middle\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n size: \"small\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsClusters });})\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsKeywords });})\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsSearchTerms });})\n }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.AgeRange } });})\n }, {\n default: _withCtx(() => [\n _hoisted_6\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, {\n align: \"middle\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"success\",\n size: \"small\",\n disabled: _ctx.checkedOptions.length === 0,\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_ctx.pauseResume(_ctx.checkedOptions)))\n }, {\n default: _withCtx(() => [\n _hoisted_7\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n _createVNode(_component_el_button, {\n type: \"success\",\n size: \"small\",\n disabled: _ctx.checkedOptions.length === 0,\n onClick: _cache[6] || (_cache[6] = ($event: any) => (_ctx.bidAdjust(_ctx.checkedOptions)))\n }, {\n default: _withCtx(() => [\n _hoisted_8\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n _createVNode(_component_el_button, {\n type: \"success\",\n size: \"small\",\n disabled: _ctx.checkedOptions.length === 0,\n onClick: _cache[7] || (_cache[7] = ($event: any) => (_ctx.editKeywords(_ctx.checkedOptions)))\n }, {\n default: _withCtx(() => [\n _hoisted_9\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _: 1\n }),\n _withDirectives(_createVNode(_component_el_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n align: \"middle\",\n justify: \"end\",\n type: \"flex\",\n style: {\"margin-bottom\":\"10px\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n align: \"middle\",\n justify: \"end\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.start,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => (_ctx.start = $event)),\n type: \"date\",\n placeholder: \"Start Date\",\n style: {\"margin-right\":\"10px\"}\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.end,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => (_ctx.end = $event)),\n type: \"date\",\n placeholder: \"End Date\",\n style: {\"margin-right\":\"10px\"}\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_el_select, {\n modelValue: _ctx.deviceType,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => (_ctx.deviceType = $event)),\n placeholder: \"Device Type\",\n style: {\"margin-right\":\"10px\"}\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.devices, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item,\n label: item,\n value: item\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_el_input, {\n modelValue: _ctx.search,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => (_ctx.search = $event)),\n clearable: \"\",\n placeholder: \"Type to search\",\n style: {\"width\":\"315px\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_ag_grid_vue, {\n style: {\"width\":\"100%\",\"min-height\":\"500px\"},\n class: \"ag-theme-material\",\n columnDefs: _ctx.columnDefs,\n rowData: _ctx.accounts,\n \"grid-options\": _ctx.gridOptions\n }, null, 8, [\"columnDefs\", \"rowData\", \"grid-options\"])\n ]),\n _: 1\n }, 512), [\n [_directive_loading, _ctx.loading]\n ])\n ]),\n _: 1\n })\n ]),\n _createVNode(_component_el_dialog, {\n title: \"Pause/Resume\",\n modelValue: _ctx.showPauseResume,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => (_ctx.showPauseResume = $event)),\n width: \"40%\",\n \"destroy-on-close\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_PauseResumeModal, {\n ids: _ctx.inUseIds,\n \"onUpdate:close\": _cache[12] || (_cache[12] = () => { _ctx.showPauseResume = false; })\n }, null, 8, [\"ids\"])\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_el_dialog, {\n title: \"Bid Adjustments\",\n modelValue: _ctx.showBidAdjust,\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = ($event: any) => (_ctx.showBidAdjust = $event)),\n width: \"40%\",\n \"destroy-on-close\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_BidAdjustModal, {\n ids: _ctx.inUseIds,\n \"onUpdate:close\": _cache[14] || (_cache[14] = () => { _ctx.showBidAdjust = false; })\n }, null, 8, [\"ids\"])\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_el_dialog, {\n title: \"Edit Keywords\",\n modelValue: _ctx.showEditKeywords,\n \"onUpdate:modelValue\": _cache[17] || (_cache[17] = ($event: any) => (_ctx.showEditKeywords = $event)),\n width: \"40%\",\n \"destroy-on-close\": \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_EditKeywordModal, {\n ids: _ctx.inUseIds,\n \"onUpdate:close\": _cache[16] || (_cache[16] = () => { _ctx.showEditKeywords = false; })\n }, null, 8, [\"ids\"])\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ], 64))\n}","import { createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, withCtx as _withCtx, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"content\" }\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"hr\", null, null, -1)\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"h4\", null, \"Platform Bid Adjustments\", -1)\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"h5\", null, \"Mobile\", -1)\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\" % \")\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"h5\", null, \"Computer\", -1)\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\" % \")\nconst _hoisted_8 = /*#__PURE__*/_createVNode(\"h5\", null, \"Tablet\", -1)\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\" % \")\nconst _hoisted_10 = /*#__PURE__*/_createVNode(\"hr\", null, null, -1)\nconst _hoisted_11 = /*#__PURE__*/_createVNode(\"h4\", null, \"Bid Options\", -1)\nconst _hoisted_12 = /*#__PURE__*/_createVNode(\"hr\", null, null, -1)\nconst _hoisted_13 = /*#__PURE__*/_createVNode(\"h4\", null, \"Demographics\", -1)\nconst _hoisted_14 = /*#__PURE__*/_createVNode(\"h5\", null, \"Age\", -1)\nconst _hoisted_15 = /*#__PURE__*/_createTextVNode(\" % \")\nconst _hoisted_16 = /*#__PURE__*/_createVNode(\"h5\", null, \"Gender\", -1)\nconst _hoisted_17 = /*#__PURE__*/_createTextVNode(\" % \")\nconst _hoisted_18 = /*#__PURE__*/_createVNode(\"h5\", null, \"Income Range\", -1)\nconst _hoisted_19 = /*#__PURE__*/_createTextVNode(\" % \")\nconst _hoisted_20 = /*#__PURE__*/_createTextVNode(\"Save Adjustments\")\nconst _hoisted_21 = /*#__PURE__*/_createTextVNode(\"Cancel\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_option = _resolveComponent(\"el-option\")\n const _component_el_select = _resolveComponent(\"el-select\")\n const _component_el_input = _resolveComponent(\"el-input\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_checkbox = _resolveComponent(\"el-checkbox\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _component_el_button = _resolveComponent(\"el-button\")\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(_component_el_space, {\n size: 8,\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _hoisted_2,\n _hoisted_3,\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"space-between\",\n align: \"middle\"\n }, {\n default: _withCtx(() => [\n _hoisted_4,\n _createVNode(_component_el_select, {\n modelValue: _ctx.mobileBidType,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.mobileBidType = $event))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.bidOptions, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.value,\n label: item.label,\n value: item.value\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(\"div\", null, [\n _createVNode(_component_el_input, {\n type: \"number\",\n modelValue: _ctx.mobileBid,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.mobileBid = $event)),\n style: {\"width\":\"unset\"}\n }, null, 8, [\"modelValue\"]),\n _hoisted_5\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"space-between\",\n align: \"middle\"\n }, {\n default: _withCtx(() => [\n _hoisted_6,\n _createVNode(_component_el_select, {\n modelValue: _ctx.computerBidType,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.computerBidType = $event))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.bidOptions, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.value,\n label: item.label,\n value: item.value\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(\"div\", null, [\n _createVNode(_component_el_input, {\n type: \"number\",\n modelValue: _ctx.computerBid,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.computerBid = $event)),\n style: {\"width\":\"unset\"}\n }, null, 8, [\"modelValue\"]),\n _hoisted_7\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"space-between\",\n align: \"middle\"\n }, {\n default: _withCtx(() => [\n _hoisted_8,\n _createVNode(_component_el_select, {\n modelValue: _ctx.tabletBidType,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.tabletBidType = $event))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.bidOptions, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.value,\n label: item.label,\n value: item.value\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(\"div\", null, [\n _createVNode(_component_el_input, {\n type: \"number\",\n modelValue: _ctx.tabletBid,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.tabletBid = $event)),\n style: {\"width\":\"unset\"}\n }, null, 8, [\"modelValue\"]),\n _hoisted_9\n ])\n ]),\n _: 1\n }),\n _hoisted_10,\n _hoisted_11,\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"start\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_checkbox, {\n type: \"checkbox\",\n modelValue: _ctx.maximizeConversions,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (_ctx.maximizeConversions = $event)),\n label: \"Maximize Conversions\",\n onChange: _cache[8] || (_cache[8] = () => _ctx.maximizeClicks = false)\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_el_checkbox, {\n type: \"checkbox\",\n modelValue: _ctx.maximizeClicks,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => (_ctx.maximizeClicks = $event)),\n label: \"Maximize Clicks\",\n onChange: _cache[10] || (_cache[10] = () => _ctx.maximizeConversions = false)\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _hoisted_12,\n _hoisted_13,\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"space-between\",\n align: \"middle\"\n }, {\n default: _withCtx(() => [\n _hoisted_14,\n _createVNode(_component_el_select, {\n modelValue: _ctx.ageSelection,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => (_ctx.ageSelection = $event))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.ageOptions, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.value,\n label: item.label,\n value: item.value\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(\"div\", null, [\n _createVNode(_component_el_input, {\n type: \"number\",\n modelValue: _ctx.ageBid,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => (_ctx.ageBid = $event)),\n style: {\"width\":\"unset\"}\n }, null, 8, [\"modelValue\"]),\n _hoisted_15\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"space-between\",\n align: \"middle\"\n }, {\n default: _withCtx(() => [\n _hoisted_16,\n _createVNode(_component_el_select, {\n modelValue: _ctx.genderSelection,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => (_ctx.genderSelection = $event))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.genderOptions, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.value,\n label: item.label,\n value: item.value\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(\"div\", null, [\n _createVNode(_component_el_input, {\n type: \"number\",\n modelValue: _ctx.genderBid,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = ($event: any) => (_ctx.genderBid = $event)),\n style: {\"width\":\"unset\"}\n }, null, 8, [\"modelValue\"]),\n _hoisted_17\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"space-between\",\n align: \"middle\"\n }, {\n default: _withCtx(() => [\n _hoisted_18,\n _createVNode(_component_el_select, {\n modelValue: _ctx.incomeSelection,\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = ($event: any) => (_ctx.incomeSelection = $event))\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.incomeOptions, (item) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: item.value,\n label: item.label,\n value: item.value\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(\"div\", null, [\n _createVNode(_component_el_input, {\n type: \"number\",\n modelValue: _ctx.incomeBid,\n \"onUpdate:modelValue\": _cache[16] || (_cache[16] = ($event: any) => (_ctx.incomeBid = $event)),\n style: {\"width\":\"unset\"}\n }, null, 8, [\"modelValue\"]),\n _hoisted_19\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"space-around\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n size: \"small\",\n onClick: _cache[17] || (_cache[17] = ($event: any) => (_ctx.doIt()))\n }, {\n default: _withCtx(() => [\n _hoisted_20\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"danger\",\n size: \"small\",\n onClick: _cache[18] || (_cache[18] = ($event: any) => (_ctx.closeIt()))\n }, {\n default: _withCtx(() => [\n _hoisted_21\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n}","export enum AgeRange {\r\n AGE_RANGE_UNDETERMINED = 'AGE_RANGE_UNDETERMINED',\r\n AGE_RANGE_18_24 = 'AGE_RANGE_18_24',\r\n AGE_RANGE_25_34 = 'AGE_RANGE_25_34',\r\n AGE_RANGE_35_44 = 'AGE_RANGE_35_44',\r\n AGE_RANGE_45_54 = 'AGE_RANGE_45_54',\r\n AGE_RANGE_55_64 = 'AGE_RANGE_55_64',\r\n AGE_RANGE_65_UP = 'AGE_RANGE_65_UP'\r\n}\r\n\r\nexport enum Gender {\r\n UNDETERMINED = 'UNDETERMINED',\r\n MALE = 'MALE',\r\n FEMALE = 'FEMALE'\r\n}\r\n\r\nexport enum IncomeRange {\r\n INCOME_RANGE_UNDETERMINED = 'INCOME_RANGE_UNDETERMINED',\r\n INCOME_RANGE_0_50 = 'INCOME_RANGE_0_50',\r\n INCOME_RANGE_50_60 = 'INCOME_RANGE_50_60',\r\n INCOME_RANGE_60_70 = 'INCOME_RANGE_60_70',\r\n INCOME_RANGE_70_80 = 'INCOME_RANGE_70_80',\r\n INCOME_RANGE_80_90 = 'INCOME_RANGE_80_90',\r\n INCOME_RANGE_90_UP = 'INCOME_RANGE_90_UP'\r\n}\r\n\r\nexport enum BidOption {\r\n Increase = 'Increase',\r\n Decrease = 'Decrease'\r\n}\r\n","\r\nimport { Emit, Options, Prop, Vue } from '../../../../vue';\r\nimport { ApiService } from '../../../../services/api.service';\r\nimport { AgeRange, BidOption, Gender, IncomeRange } from '../../../../models/demographics.model';\r\nimport { ElLoading } from 'element-plus';\r\n\r\nexport interface BidAdjustmentRequest {\r\n ids: Array;\r\n\r\n mobileBidType: BidOption | null;\r\n mobileBid: number | null;\r\n computerBidType: BidOption | null;\r\n computerBid: number | null;\r\n tabletBidType: BidOption | null;\r\n tabletBid: number | null;\r\n\r\n maximizeConversions: boolean | null;\r\n maximizeClicks: boolean | null;\r\n\r\n ageSelection: AgeRange | null;\r\n ageBid: number | null;\r\n genderSelection: Gender | null;\r\n genderBid: number | null;\r\n incomeSelection: IncomeRange | null;\r\n incomeBid: number | null;\r\n}\r\n\r\n@Options({})\r\nexport default class BidAdjustModal extends Vue {\r\n private apiService: ApiService = ApiService.Instance;\r\n\r\n loading = false;\r\n\r\n bidOptions = [\r\n {\r\n value: BidOption.Increase,\r\n label: 'Increase'\r\n },\r\n {\r\n value: BidOption.Decrease,\r\n label: 'Decrease'\r\n }\r\n ];\r\n\r\n ageOptions = [\r\n {\r\n value: AgeRange.AGE_RANGE_UNDETERMINED,\r\n label: 'Undetermined'\r\n },\r\n {\r\n value: AgeRange.AGE_RANGE_18_24,\r\n label: '18-24'\r\n },\r\n {\r\n value: AgeRange.AGE_RANGE_25_34,\r\n label: '25-34'\r\n },\r\n {\r\n value: AgeRange.AGE_RANGE_35_44,\r\n label: '35-44'\r\n },\r\n {\r\n value: AgeRange.AGE_RANGE_45_54,\r\n label: '45-54'\r\n },\r\n {\r\n value: AgeRange.AGE_RANGE_55_64,\r\n label: '55-64'\r\n },\r\n {\r\n value: AgeRange.AGE_RANGE_65_UP,\r\n label: '65-Up'\r\n }\r\n ];\r\n\r\n genderOptions = [\r\n {\r\n value: Gender.UNDETERMINED,\r\n label: 'Undetermined'\r\n },\r\n {\r\n value: Gender.MALE,\r\n label: 'Male'\r\n },\r\n {\r\n value: Gender.FEMALE,\r\n label: 'Female'\r\n }\r\n ];\r\n\r\n incomeOptions = [\r\n {\r\n value: IncomeRange.INCOME_RANGE_UNDETERMINED,\r\n label: 'Undetermined'\r\n },\r\n {\r\n value: IncomeRange.INCOME_RANGE_0_50,\r\n label: '0-50k'\r\n },\r\n {\r\n value: IncomeRange.INCOME_RANGE_50_60,\r\n label: '50k-60k'\r\n },\r\n {\r\n value: IncomeRange.INCOME_RANGE_60_70,\r\n label: '60k-70k'\r\n },\r\n {\r\n value: IncomeRange.INCOME_RANGE_70_80,\r\n label: '70k-80k'\r\n },\r\n {\r\n value: IncomeRange.INCOME_RANGE_80_90,\r\n label: '80k-90k'\r\n },\r\n {\r\n value: IncomeRange.INCOME_RANGE_90_UP,\r\n label: '90k-Up'\r\n }\r\n ];\r\n\r\n @Prop()\r\n ids: string[] = [];\r\n\r\n mobileBidType: BidOption | null = null;\r\n mobileBid: number | null = null;\r\n computerBidType: BidOption | null = null;\r\n computerBid: number | null = null;\r\n tabletBidType: BidOption | null = null;\r\n tabletBid: number | null = null;\r\n\r\n maximizeConversions = false;\r\n maximizeClicks = false;\r\n\r\n ageSelection: AgeRange | null = null;\r\n ageBid: number | null = null;\r\n genderSelection: Gender | null = null;\r\n genderBid: number | null = null;\r\n incomeSelection: IncomeRange | null = null;\r\n incomeBid: number | null = null;\r\n\r\n @Emit()\r\n close = false;\r\n\r\n async doIt() {\r\n const request: BidAdjustmentRequest = {\r\n ids: this.ids,\r\n mobileBidType: this.mobileBidType,\r\n mobileBid: this.mobileBid,\r\n computerBidType: this.computerBidType,\r\n computerBid: this.computerBid,\r\n tabletBidType: this.tabletBidType,\r\n tabletBid: this.tabletBid,\r\n maximizeConversions: this.maximizeConversions,\r\n maximizeClicks: this.maximizeClicks,\r\n ageSelection: this.ageSelection,\r\n ageBid: this.ageBid,\r\n genderSelection: this.genderSelection,\r\n genderBid: this.genderBid,\r\n incomeSelection: this.incomeSelection,\r\n incomeBid: this.incomeBid\r\n };\r\n\r\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\r\n try {\r\n await this.apiService.bidAdjustments(request);\r\n } finally {\r\n loading.close();\r\n }\r\n }\r\n\r\n closeIt() {\r\n this.close = true;\r\n }\r\n}\r\n\r\n","import { render } from \"./bid-adjust.vue?vue&type=template&id=00b68919&ts=true\"\nimport script from \"./bid-adjust.vue?vue&type=script&lang=ts\"\nexport * from \"./bid-adjust.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"content\" }\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"p\", null, \"You are about to pause these campaigns are you sure?\", -1)\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Pause\")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\"Resume\")\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Cancel\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_row = _resolveComponent(\"el-row\")\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"space-around\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n size: \"small\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.pauseIt()))\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n size: \"small\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.resumeIt()))\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"danger\",\n size: \"small\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.closeIt()))\n }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n}","\r\nimport { Emit, Options, Prop, Vue } from '../../../../vue';\r\nimport { ApiService } from '../../../../services/api.service';\r\nimport { AddKeywordsRequest } from './edit-keyword.vue';\r\nimport { ElLoading } from 'element-plus';\r\n\r\nexport interface PauseResumeCampaignsRequest {\r\n ids: Array;\r\n paused: boolean;\r\n}\r\n\r\n@Options({})\r\nexport default class PauseResumeModal extends Vue {\r\n private apiService: ApiService = ApiService.Instance;\r\n\r\n @Prop()\r\n ids: string[] = [];\r\n\r\n @Emit()\r\n close = false;\r\n\r\n async pauseIt() {\r\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\r\n const request: PauseResumeCampaignsRequest = {\r\n ids: this.ids,\r\n paused: true\r\n };\r\n\r\n try {\r\n await this.apiService.pauseResumeCampaigns(request);\r\n } finally {\r\n loading.close();\r\n }\r\n }\r\n\r\n async resumeIt() {\r\n const request: PauseResumeCampaignsRequest = {\r\n ids: this.ids,\r\n paused: false\r\n };\r\n\r\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\r\n try {\r\n await this.apiService.pauseResumeCampaigns(request);\r\n } finally {\r\n loading.close();\r\n }\r\n }\r\n\r\n closeIt() {\r\n this.close = true;\r\n }\r\n}\r\n\r\n","import { render } from \"./pause-resume.vue?vue&type=template&id=767efe19&ts=true\"\nimport script from \"./pause-resume.vue?vue&type=script&lang=ts\"\nexport * from \"./pause-resume.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"content\" }\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"h4\", null, \"Normal\", -1)\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"h4\", null, \"Negative Keywords\", -1)\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\"Add\")\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Cancel\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_select = _resolveComponent(\"el-select\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_button = _resolveComponent(\"el-button\")\n\n return (_openBlock(), _createBlock(\"div\", _hoisted_1, [\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"space-around\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"50%\"}\n }, {\n default: _withCtx(() => [\n _hoisted_2,\n _createVNode(_component_el_select, {\n style: {\"width\":\"100%\"},\n modelValue: _ctx.keywords,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.keywords = $event)),\n \"value-key\": \"id\",\n multiple: \"\",\n filterable: \"\",\n \"allow-create\": \"\",\n \"default-first-option\": \"\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_space, {\n size: 14,\n direction: \"vertical\",\n alignment: \"stretch\",\n style: {\"width\":\"50%\"}\n }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createVNode(_component_el_select, {\n style: {\"width\":\"100%\"},\n modelValue: _ctx.negativeKeywords,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.negativeKeywords = $event)),\n \"value-key\": \"id\",\n multiple: \"\",\n filterable: \"\",\n \"allow-create\": \"\",\n \"default-first-option\": \"\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"space-around\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n size: \"small\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.doIt()))\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"danger\",\n size: \"small\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.closeIt()))\n }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n}","\r\nimport { Emit, Options, Prop, Vue } from '../../../../vue';\r\nimport { ApiService } from '../../../../services/api.service';\r\nimport { BidAdjustmentRequest } from './bid-adjust.vue';\r\nimport { ElLoading } from 'element-plus';\r\n\r\nexport interface AddKeywordsRequest {\r\n ids: Array;\r\n keywords: Array;\r\n negativeKeywords: Array;\r\n}\r\n\r\n@Options({})\r\nexport default class EditKeywordModal extends Vue {\r\n private apiService: ApiService = ApiService.Instance;\r\n\r\n @Prop()\r\n ids: string[] = [];\r\n\r\n keywords: string[] = [];\r\n negativeKeywords: string[] = [];\r\n\r\n @Emit()\r\n close = false;\r\n\r\n async doIt() {\r\n const request: AddKeywordsRequest = {\r\n ids: this.ids,\r\n keywords: this.keywords,\r\n negativeKeywords: this.negativeKeywords\r\n };\r\n\r\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\r\n try {\r\n await this.apiService.addKeywords(request);\r\n } finally {\r\n loading.close();\r\n }\r\n }\r\n\r\n closeIt() {\r\n this.close = true;\r\n }\r\n}\r\n\r\n","import { render } from \"./edit-keyword.vue?vue&type=template&id=45d92fe8&ts=true\"\nimport script from \"./edit-keyword.vue?vue&type=script&lang=ts\"\nexport * from \"./edit-keyword.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\nimport { Options, VModel, Vue, Watch } from '../../../vue';\r\nimport { LoadingOverlay } from '../../../components';\r\nimport { ApiService } from '../../../services/api.service';\r\nimport { AuthService } from '../../../services/auth.service';\r\nimport { ElMessage } from 'element-plus';\r\nimport { RouteName } from '../../../router';\r\nimport { isHttpException } from '../../../utils/exceptions';\r\nimport {\r\n ClusterAccountMetrics, ClusterMetrics,\r\n DemographicType,\r\n ReportingModel,\r\n Stringify\r\n} from '../../../models/reporting/reporting.model';\r\nimport { roundMicros, formatNumber, mostCommon } from '../../../utils/helpers';\r\nimport { Device } from '../../shared/customer-overview.vue';\r\nimport BidAdjustModal from './modals/bid-adjust.vue';\r\nimport PauseResumeModal from '@/views/admin/analytics/modals/pause-resume.vue';\r\nimport EditKeywordModal from '@/views/admin/analytics/modals/edit-keyword.vue';\r\nimport { GridOptions, ValueFormatterParams } from 'ag-grid-community';\r\nimport { AccountLinkCellRenderer, AnalyticsLinkCellRenderer } from '../../../aggrid/renderers';\r\nimport { AgGridVue } from 'ag-grid-vue3';\r\n\r\ntype CampaignAnalyticsTableRow = Stringify;\r\n\r\n@Options({\r\n components: {\r\n LoadingOverlay,\r\n BidAdjustModal,\r\n PauseResumeModal,\r\n EditKeywordModal,\r\n AgGridVue\r\n }\r\n})\r\nexport default class AnalyticsCluster extends Vue {\r\n private apiService: ApiService = ApiService.Instance;\r\n private authService: AuthService = AuthService.Instance;\r\n\r\n clusterLabel = '';\r\n loading = false;\r\n RouteName = RouteName;\r\n DemographicType = DemographicType;\r\n start = new Date(new Date().getTime() - 2628000000);\r\n end = new Date();\r\n deviceType = Device.All;\r\n checkedOptions: string[] = [];\r\n inUseIds: string[] = [];\r\n page = 0;\r\n\r\n showPauseResume = false;\r\n showBidAdjust = false;\r\n showEditKeywords = false;\r\n @VModel() search = '';\r\n\r\n @Watch('deviceType')\r\n deviceTypeUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('page')\r\n endUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('end')\r\n startUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('start')\r\n pageUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('search')\r\n onInputUpdate(val: string) {\r\n this.gridOptions.api!.setQuickFilter(val);\r\n }\r\n\r\n pauseResume(ids: string[]) {\r\n this.inUseIds = ids;\r\n this.showPauseResume = true;\r\n }\r\n\r\n bidAdjust(ids: string[]) {\r\n this.inUseIds = ids;\r\n this.showBidAdjust = true;\r\n }\r\n\r\n editKeywords(ids: string[]) {\r\n this.inUseIds = ids;\r\n this.showEditKeywords = true;\r\n }\r\n\r\n onSelection(id: string, e: InputEvent) {\r\n if ((e.target as HTMLInputElement).checked) {\r\n this.checkedOptions.push(id);\r\n } else {\r\n const index = this.checkedOptions.indexOf(id);\r\n this.checkedOptions.splice(index, 1);\r\n }\r\n console.log(this.checkedOptions);\r\n };\r\n\r\n devices = Object.values(Device);\r\n\r\n rawData: ReportingModel | null = null;\r\n accounts: Array = [];\r\n\r\n mounted() {\r\n this.getData();\r\n }\r\n\r\n get selectedRows() {\r\n return this.gridOptions?.api!.getSelectedRows();\r\n }\r\n\r\n get gridOptions(): GridOptions {\r\n return {\r\n sideBar: 'filters',\r\n defaultColDef: {\r\n flex: 1,\r\n filter: true,\r\n sortable: true,\r\n resizable: true,\r\n menuTabs: ['filterMenuTab', 'generalMenuTab', 'columnsMenuTab'],\r\n filterParams: {\r\n // https://www.ag-grid.com/javascript-data-grid/filter-provided/#apply-clear-reset-and-cancel-buttons\r\n buttons: ['reset']\r\n }\r\n },\r\n // https://www.ag-grid.com/vue-data-grid/row-pagination/\r\n pagination: true,\r\n // https://www.ag-grid.com/javascript-data-grid/grid-size/\r\n domLayout: 'autoHeight',\r\n paginationPageSize: 20,\r\n rowSelection: 'multiple'\r\n // rowGroupPanelShow: 'always'\r\n };\r\n }\r\n\r\n get columnDefs() {\r\n return [\r\n {\r\n headerName: 'Customer',\r\n field: 'account.name',\r\n cellRenderer: AccountLinkCellRenderer,\r\n cellRendererParams: {\r\n idField: 'account.id'\r\n },\r\n flex: 2,\r\n enableRowGroup: false,\r\n checkboxSelection: true,\r\n headerCheckboxSelection: true\r\n },\r\n {\r\n headerName: 'Campaign',\r\n field: 'cluster.name',\r\n enableRowGroup: true\r\n },\r\n {\r\n headerName: 'Clicks',\r\n field: 'clicks',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Conversions',\r\n field: 'conversions',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Cost',\r\n field: 'costMicros',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => '$' + params.value\r\n },\r\n {\r\n headerName: 'CPC',\r\n field: 'cpc',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => '$' + params.value\r\n },\r\n {\r\n headerName: 'CTR',\r\n field: 'ctr',\r\n filter: 'agNumberColumnFilter',\r\n sort: 'desc',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Impressions',\r\n field: 'impressions',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Absolute Top',\r\n field: 'absoluteTop',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Click Share',\r\n field: 'clickShare',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Impression Share',\r\n field: 'impressionShare',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n }\r\n ];\r\n }\r\n\r\n async getData() {\r\n this.loading = true;\r\n try {\r\n const clusterLabels: Array = [];\r\n\r\n // TODO: PAGE SIZE SET AT 10000 FOR NOW NEED TO UPDATE WHEN MORE THAN 10000\r\n this.rawData = await this.apiService.getReportingCluster(this.$route.params.id as string, this.start.getTime(), this.end.getTime(), this.page, 10000, this.deviceType);\r\n this.accounts = this.rawData!.results.map(row => {\r\n clusterLabels.push(row.campaign.name);\r\n return {\r\n ...row,\r\n costMicros: roundMicros(row.costMicros),\r\n cpc: roundMicros(row.cpc)\r\n };\r\n });\r\n\r\n this.clusterLabel = mostCommon(clusterLabels);\r\n } catch (e) {\r\n if (isHttpException(e) && e.status === 403) {\r\n await this.$router.push({ name: RouteName.Forbidden });\r\n } else {\r\n ElMessage.error('Error fetching cluster accounts data');\r\n }\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n}\r\n\r\n","import { render } from \"./cluster.vue?vue&type=template&id=2f296049&ts=true\"\nimport script from \"./cluster.vue?vue&type=script&lang=ts\"\nexport * from \"./cluster.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"h1\", null, \"Analytics\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Campaigns\")\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Keywords\")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\"Search Terms\")\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Demographics\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_date_picker = _resolveComponent(\"el-date-picker\")\n const _component_el_input = _resolveComponent(\"el-input\")\n const _component_router_link = _resolveComponent(\"router-link\")\n const _component_el_table_column = _resolveComponent(\"el-table-column\")\n const _component_el_table = _resolveComponent(\"el-table\")\n const _component_el_pagination = _resolveComponent(\"el-pagination\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_space = _resolveComponent(\"el-space\")\n\n return (_openBlock(), _createBlock(\"main\", null, [\n _createVNode(_component_el_space, {\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n justify: \"space-between\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createVNode(_component_el_row, {\n align: \"middle\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsClusters });})\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n size: \"small\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsKeywords });})\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsSearchTerms });})\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.AgeRange } });})\n }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n align: \"middle\",\n justify: \"end\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.start,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.start = $event)),\n type: \"date\",\n placeholder: \"Start Date\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.end,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.end = $event)),\n type: \"date\",\n placeholder: \"End Date\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_el_input, {\n modelValue: _ctx.filterBy,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (_ctx.filterBy = $event)),\n placeholder: \"Filter\",\n style: {\"width\":\"auto\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_table, {\n data: _ctx.tableHolder.tableData,\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_table_column, { label: \"Keyword\" }, {\n default: _withCtx((scope) => [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.AdminAnalyticsKeyword, params: { text: encodeURIComponent(scope.row.keyword.text) } }\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(scope.row.keyword.text), 1)\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, {\n prop: \"clicks\",\n label: \"Clicks\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"conversions\",\n label: \"Conversions\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"costMicros\",\n label: \"Cost Micro\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"cpc\",\n label: \"Cost/Conversion\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"ctr\",\n label: \"CTR\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"impressions\",\n label: \"Impressions\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"absoluteTop\",\n label: \"Absolute Top\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"clickShare\",\n label: \"Click Share\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"impressionShare\",\n label: \"Impression Share\"\n })\n ]),\n _: 1\n }, 8, [\"data\"]),\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_pagination, {\n \"page-size\": 1,\n \"pager-count\": 5,\n onCurrentChange: _cache[8] || (_cache[8] = ($event: any) => (_ctx.page = $event - 1)),\n layout: \"prev, pager, next\",\n total: (_ctx.rawData && _ctx.rawData.pages) || 0\n }, null, 8, [\"total\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n}","\r\nimport { Vue, Options, Watch } from '../../../vue';\r\nimport { LoadingOverlay } from '../../../components';\r\nimport { ApiService } from '../../../services/api.service';\r\nimport { AuthService } from '../../../services/auth.service';\r\nimport { ElLoading, ElMessage } from 'element-plus';\r\nimport { RouteName } from '../../../router';\r\nimport { isHttpException } from '../../../utils/exceptions';\r\nimport { ElementTableHolder } from '../../../utils/element-table-holder';\r\nimport { ClusterMetrics, Stringify, ReportingModel, KeywordMetrics, DemographicType } from '../../../models/reporting/reporting.model';\r\nimport { formatCost, formatNumber } from '../../../utils/helpers';\r\nimport { Device } from '../../shared/customer-overview.vue';\r\n\r\ntype TableRow = Stringify;\r\n\r\n@Options({\r\n components: {\r\n LoadingOverlay\r\n }\r\n})\r\nexport default class AnalyticsKeywords extends Vue {\r\n private apiService: ApiService = ApiService.Instance;\r\n private authService: AuthService = AuthService.Instance;\r\n\r\n loading = false;\r\n RouteName = RouteName;\r\n DemographicType = DemographicType;\r\n start = new Date(new Date().getTime() - 2628000000);\r\n end = new Date();\r\n orderBy = null;\r\n filterBy = '';\r\n page = 0;\r\n\r\n @Watch('orderBy')\r\n orderByUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('filterBy')\r\n filterByUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('page')\r\n endUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('end')\r\n startUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('start')\r\n pageUpdate() {\r\n this.getData();\r\n }\r\n\r\n rawData: ReportingModel | null = null;\r\n tableHolder = new ElementTableHolder(null, ['name']);\r\n\r\n mounted() {\r\n this.getData();\r\n }\r\n\r\n async getData() {\r\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\r\n try {\r\n // TODO cancel old request\r\n this.rawData = await this.apiService.getReportingKeywords(this.start.getTime(), this.end.getTime(), this.page, 25, this.orderBy, `%${this.filterBy}%`);\r\n this.tableHolder.rawTableData = this.rawData.results.map(row => {\r\n return {\r\n ...row,\r\n clicks: formatNumber(row.clicks),\r\n conversions: formatNumber(row.conversions),\r\n costMicros: formatCost(row.costMicros),\r\n cpc: formatCost(row.cpc),\r\n ctr: formatNumber(row.ctr),\r\n impressions: formatNumber(row.impressions),\r\n absoluteTop: formatNumber(row.absoluteTop),\r\n clickShare: formatNumber(row.clickShare),\r\n impressionShare: formatNumber(row.impressionShare)\r\n };\r\n });\r\n } catch (e) {\r\n if (isHttpException(e) && e.status === 403) {\r\n await this.$router.push({ name: RouteName.Forbidden });\r\n } else {\r\n ElMessage.error('Error fetching recommendations');\r\n }\r\n } finally {\r\n loading.close();\r\n }\r\n }\r\n}\r\n\r\n","import { render } from \"./keywords.vue?vue&type=template&id=8697123c&ts=true\"\nimport script from \"./keywords.vue?vue&type=script&lang=ts\"\nexport * from \"./keywords.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"h1\", null, \"Analytics\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Campaigns\")\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Keywords\")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\"Search Terms\")\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Demographics\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_date_picker = _resolveComponent(\"el-date-picker\")\n const _component_el_table_column = _resolveComponent(\"el-table-column\")\n const _component_router_link = _resolveComponent(\"router-link\")\n const _component_el_table = _resolveComponent(\"el-table\")\n const _component_el_pagination = _resolveComponent(\"el-pagination\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_space = _resolveComponent(\"el-space\")\n\n return (_openBlock(), _createBlock(\"main\", null, [\n _createVNode(_component_el_space, {\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n justify: \"space-between\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createVNode(_component_el_row, {\n align: \"middle\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsClusters });})\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n size: \"small\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsKeywords });})\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsSearchTerms });})\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.AgeRange } });})\n }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n align: \"middle\",\n justify: \"end\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.start,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.start = $event)),\n type: \"date\",\n placeholder: \"Start Date\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.end,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.end = $event)),\n type: \"date\",\n placeholder: \"End Date\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_table, {\n data: _ctx.tableHolder.tableData,\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_table_column, { label: \"Keyword\" }, {\n default: _withCtx((scope) => [\n _createVNode(\"span\", null, _toDisplayString(scope.row.keyword.text), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, { label: \"Campaign\" }, {\n default: _withCtx((scope) => [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.AdminAnalyticsKeywordCluster, params: { text: encodeURIComponent(scope.row.keyword.text), clusterId: encodeURIComponent(scope.row.cluster.id) } }\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(scope.row.cluster.name), 1)\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, {\n prop: \"clicks\",\n label: \"Clicks\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"conversions\",\n label: \"Conversions\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"costMicros\",\n label: \"Cost Micro\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"cpc\",\n label: \"Cost/Conversion\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"ctr\",\n label: \"CTR\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"impressions\",\n label: \"Impressions\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"absoluteTop\",\n label: \"Absolute Top\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"clickShare\",\n label: \"Click Share\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"impressionShare\",\n label: \"Impression Share\"\n })\n ]),\n _: 1\n }, 8, [\"data\"]),\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_pagination, {\n \"page-size\": 1,\n \"pager-count\": 5,\n onCurrentChange: _cache[7] || (_cache[7] = ($event: any) => (_ctx.page = $event - 1)),\n layout: \"prev, pager, next\",\n total: (_ctx.rawData && _ctx.rawData.pages) || 0\n }, null, 8, [\"total\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n}","\r\nimport { Vue, Options, Watch } from '../../../vue';\r\nimport { LoadingOverlay } from '../../../components';\r\nimport { ApiService } from '../../../services/api.service';\r\nimport { AuthService } from '../../../services/auth.service';\r\nimport { ElLoading, ElMessage } from 'element-plus';\r\nimport { RouteName } from '../../../router';\r\nimport { isHttpException } from '../../../utils/exceptions';\r\nimport { ElementTableHolder } from '../../../utils/element-table-holder';\r\nimport {\r\n ClusterMetrics,\r\n Stringify,\r\n ReportingModel,\r\n KeywordMetrics,\r\n KeywordClusterMetrics,\r\n DemographicType\r\n} from '../../../models/reporting/reporting.model';\r\nimport { formatCost, formatNumber } from '../../../utils/helpers';\r\nimport { Device } from '../../shared/customer-overview.vue';\r\n\r\ntype TableRow = Stringify;\r\n\r\n@Options({\r\n components: {\r\n LoadingOverlay\r\n }\r\n})\r\nexport default class AnalyticsKeyword extends Vue {\r\n private apiService: ApiService = ApiService.Instance;\r\n private authService: AuthService = AuthService.Instance;\r\n\r\n loading = false;\r\n RouteName = RouteName;\r\n DemographicType = DemographicType;\r\n start = new Date(new Date().getTime() - 2628000000);\r\n end = new Date();\r\n page = 0;\r\n\r\n @Watch('page')\r\n endUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('end')\r\n startUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('start')\r\n pageUpdate() {\r\n this.getData();\r\n }\r\n\r\n rawData: ReportingModel | null = null;\r\n tableHolder = new ElementTableHolder(null, ['name']);\r\n\r\n mounted() {\r\n this.getData();\r\n }\r\n\r\n async getData() {\r\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\r\n try {\r\n this.rawData = await this.apiService.getReportingKeyword(this.$route.params.text as string, this.start.getTime(), this.end.getTime(), this.page, 25);\r\n this.tableHolder.rawTableData = this.rawData.results.map(row => {\r\n return {\r\n ...row,\r\n clicks: formatNumber(row.clicks),\r\n conversions: formatNumber(row.conversions),\r\n costMicros: formatCost(row.costMicros),\r\n cpc: formatCost(row.cpc),\r\n ctr: formatNumber(row.ctr),\r\n impressions: formatNumber(row.impressions),\r\n absoluteTop: formatNumber(row.absoluteTop),\r\n clickShare: formatNumber(row.clickShare),\r\n impressionShare: formatNumber(row.impressionShare)\r\n };\r\n });\r\n } catch (e) {\r\n if (isHttpException(e) && e.status === 403) {\r\n await this.$router.push({ name: RouteName.Forbidden });\r\n } else {\r\n ElMessage.error('Error fetching recommendations');\r\n }\r\n } finally {\r\n loading.close();\r\n }\r\n }\r\n}\r\n\r\n","import { render } from \"./keyword.vue?vue&type=template&id=67faa5f9&ts=true\"\nimport script from \"./keyword.vue?vue&type=script&lang=ts\"\nexport * from \"./keyword.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"h1\", null, \"Analytics\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Campaigns\")\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Keywords\")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\"Search Terms\")\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Demographics\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_date_picker = _resolveComponent(\"el-date-picker\")\n const _component_el_table_column = _resolveComponent(\"el-table-column\")\n const _component_router_link = _resolveComponent(\"router-link\")\n const _component_el_table = _resolveComponent(\"el-table\")\n const _component_el_pagination = _resolveComponent(\"el-pagination\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_space = _resolveComponent(\"el-space\")\n\n return (_openBlock(), _createBlock(\"main\", null, [\n _createVNode(_component_el_space, {\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n justify: \"space-between\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createVNode(_component_el_row, {\n align: \"middle\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsClusters });})\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n size: \"small\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsKeywords });})\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsSearchTerms });})\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.AgeRange } });})\n }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n align: \"middle\",\n justify: \"end\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.start,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.start = $event)),\n type: \"date\",\n placeholder: \"Start Date\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.end,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.end = $event)),\n type: \"date\",\n placeholder: \"End Date\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_table, {\n data: _ctx.tableHolder.tableData,\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_table_column, { label: \"Keyword\" }, {\n default: _withCtx((scope) => [\n _createVNode(\"span\", null, _toDisplayString(scope.row.keyword.text), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, { label: \"Campaign\" }, {\n default: _withCtx((scope) => [\n _createVNode(\"span\", null, _toDisplayString(scope.row.cluster.name), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, { label: \"Account\" }, {\n default: _withCtx((scope) => [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.AdminAccountDetails, params: { id: scope.row.account.id }}\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(scope.row.account.name), 1)\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, {\n prop: \"clicks\",\n label: \"Clicks\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"conversions\",\n label: \"Conversions\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"costMicros\",\n label: \"Cost Micro\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"cpc\",\n label: \"Cost/Conversion\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"ctr\",\n label: \"CTR\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"impressions\",\n label: \"Impressions\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"absoluteTop\",\n label: \"Absolute Top\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"clickShare\",\n label: \"Click Share\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"impressionShare\",\n label: \"Impression Share\"\n })\n ]),\n _: 1\n }, 8, [\"data\"]),\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_pagination, {\n \"page-size\": 1,\n \"pager-count\": 5,\n onCurrentChange: _cache[7] || (_cache[7] = ($event: any) => (_ctx.page = $event - 1)),\n layout: \"prev, pager, next\",\n total: (_ctx.rawData && _ctx.rawData.pages) || 0\n }, null, 8, [\"total\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n}","\r\nimport { Vue, Options, Watch } from '../../../vue';\r\nimport { LoadingOverlay } from '../../../components';\r\nimport { ApiService } from '../../../services/api.service';\r\nimport { AuthService } from '../../../services/auth.service';\r\nimport { ElLoading, ElMessage } from 'element-plus';\r\nimport { RouteName } from '../../../router';\r\nimport { isHttpException } from '../../../utils/exceptions';\r\nimport { ElementTableHolder } from '../../../utils/element-table-holder';\r\nimport {\r\n ClusterMetrics,\r\n Stringify,\r\n ReportingModel,\r\n KeywordMetrics,\r\n KeywordClusterMetrics, KeywordAccountClusterMetrics, DemographicType\r\n} from '../../../models/reporting/reporting.model';\r\nimport { formatCost, formatNumber } from '../../../utils/helpers';\r\nimport { Device } from '../../shared/customer-overview.vue';\r\n\r\ntype TableRow = Stringify;\r\n\r\n@Options({\r\n components: {\r\n LoadingOverlay\r\n }\r\n})\r\nexport default class AnalyticsKeywordCluster extends Vue {\r\n private apiService: ApiService = ApiService.Instance;\r\n private authService: AuthService = AuthService.Instance;\r\n\r\n loading = false;\r\n RouteName = RouteName;\r\n DemographicType = DemographicType;\r\n start = new Date(new Date().getTime() - 2628000000);\r\n end = new Date();\r\n page = 0;\r\n\r\n @Watch('page')\r\n endUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('end')\r\n startUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('start')\r\n pageUpdate() {\r\n this.getData();\r\n }\r\n\r\n rawData: ReportingModel | null = null;\r\n tableHolder = new ElementTableHolder(null, ['name']);\r\n\r\n mounted() {\r\n this.getData();\r\n }\r\n\r\n async getData() {\r\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\r\n try {\r\n this.rawData = await this.apiService.getReportingKeywordCluster(this.$route.params.text as string, this.$route.params.clusterId as string, this.start.getTime(), this.end.getTime(), this.page, 25);\r\n this.tableHolder.rawTableData = this.rawData.results.map(row => {\r\n return {\r\n ...row,\r\n clicks: formatNumber(row.clicks),\r\n conversions: formatNumber(row.conversions),\r\n costMicros: formatCost(row.costMicros),\r\n cpc: formatCost(row.cpc),\r\n ctr: formatNumber(row.ctr),\r\n impressions: formatNumber(row.impressions),\r\n absoluteTop: formatNumber(row.absoluteTop),\r\n clickShare: formatNumber(row.clickShare),\r\n impressionShare: formatNumber(row.impressionShare)\r\n };\r\n });\r\n } catch (e) {\r\n if (isHttpException(e) && e.status === 403) {\r\n await this.$router.push({ name: RouteName.Forbidden });\r\n } else {\r\n ElMessage.error('Error fetching recommendations');\r\n }\r\n } finally {\r\n loading.close();\r\n }\r\n }\r\n}\r\n\r\n","import { render } from \"./keyword-cluster.vue?vue&type=template&id=0fb1fa00&ts=true\"\nimport script from \"./keyword-cluster.vue?vue&type=script&lang=ts\"\nexport * from \"./keyword-cluster.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"h1\", null, \"Analytics\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Campaigns\")\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Keywords\")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\"Search Terms\")\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Demographics\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_date_picker = _resolveComponent(\"el-date-picker\")\n const _component_el_input = _resolveComponent(\"el-input\")\n const _component_router_link = _resolveComponent(\"router-link\")\n const _component_el_table_column = _resolveComponent(\"el-table-column\")\n const _component_el_table = _resolveComponent(\"el-table\")\n const _component_el_pagination = _resolveComponent(\"el-pagination\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_space = _resolveComponent(\"el-space\")\n\n return (_openBlock(), _createBlock(\"main\", null, [\n _createVNode(_component_el_space, {\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n justify: \"space-between\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createVNode(_component_el_row, {\n align: \"middle\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsClusters });})\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsKeywords });})\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n size: \"small\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsSearchTerms });})\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.AgeRange } });})\n }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n align: \"middle\",\n justify: \"end\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.start,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.start = $event)),\n type: \"date\",\n placeholder: \"Start Date\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.end,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.end = $event)),\n type: \"date\",\n placeholder: \"End Date\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_el_input, {\n modelValue: _ctx.filterBy,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (_ctx.filterBy = $event)),\n placeholder: \"Filter\",\n style: {\"width\":\"auto\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_table, {\n data: _ctx.tableHolder.tableData,\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_table_column, { label: \"SearchTerm\" }, {\n default: _withCtx((scope) => [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.AdminAnalyticsSearchTerm, params: { searchTerm: encodeURIComponent(scope.row.searchTerm.searchTerm) } }\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(scope.row.searchTerm.searchTerm), 1)\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, {\n prop: \"clicks\",\n label: \"Clicks\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"conversions\",\n label: \"Conversions\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"costMicros\",\n label: \"Cost Micro\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"cpc\",\n label: \"Cost/Conversion\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"ctr\",\n label: \"CTR\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"impressions\",\n label: \"Impressions\"\n })\n ]),\n _: 1\n }, 8, [\"data\"]),\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_pagination, {\n \"page-size\": 1,\n \"pager-count\": 5,\n onCurrentChange: _cache[8] || (_cache[8] = ($event: any) => (_ctx.page = $event - 1)),\n layout: \"prev, pager, next\",\n total: (_ctx.rawData && _ctx.rawData.pages) || 0\n }, null, 8, [\"total\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n}","\r\nimport { Vue, Options, Watch } from '../../../vue';\r\nimport { LoadingOverlay } from '../../../components';\r\nimport { ApiService } from '../../../services/api.service';\r\nimport { AuthService } from '../../../services/auth.service';\r\nimport { ElLoading, ElMessage } from 'element-plus';\r\nimport { RouteName } from '../../../router';\r\nimport { isHttpException } from '../../../utils/exceptions';\r\nimport { ElementTableHolder } from '../../../utils/element-table-holder';\r\nimport {\r\n ClusterMetrics,\r\n Stringify,\r\n ReportingModel,\r\n KeywordMetrics,\r\n SearchTermMetrics,\r\n DemographicType\r\n} from '../../../models/reporting/reporting.model';\r\nimport { formatCost, formatNumber } from '../../../utils/helpers';\r\nimport { Device } from '../../shared/customer-overview.vue';\r\n\r\ntype TableRow = Stringify;\r\n\r\n@Options({\r\n components: {\r\n LoadingOverlay\r\n }\r\n})\r\nexport default class AnalyticsSearchTerms extends Vue {\r\n private apiService: ApiService = ApiService.Instance;\r\n private authService: AuthService = AuthService.Instance;\r\n\r\n loading = false;\r\n RouteName = RouteName;\r\n DemographicType = DemographicType;\r\n start = new Date(new Date().getTime() - 2628000000);\r\n end = new Date();\r\n orderBy = null;\r\n filterBy = '';\r\n page = 0;\r\n\r\n @Watch('orderBy')\r\n orderByUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('filterBy')\r\n filterByUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('page')\r\n endUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('end')\r\n startUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('start')\r\n pageUpdate() {\r\n this.getData();\r\n }\r\n\r\n rawData: ReportingModel | null = null;\r\n tableHolder = new ElementTableHolder(null, ['name']);\r\n\r\n mounted() {\r\n this.getData();\r\n }\r\n\r\n async getData() {\r\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\r\n try {\r\n // TODO cancel old request\r\n this.rawData = await this.apiService.getReportingSearchTerms(this.start.getTime(), this.end.getTime(), this.page, 25, this.orderBy, `%${this.filterBy}%`);\r\n this.tableHolder.rawTableData = this.rawData.results.map(row => {\r\n return {\r\n ...row,\r\n clicks: formatNumber(row.clicks),\r\n conversions: formatNumber(row.conversions),\r\n costMicros: formatCost(row.costMicros),\r\n cpc: formatCost(row.cpc),\r\n ctr: formatNumber(row.ctr),\r\n impressions: formatNumber(row.impressions)\r\n };\r\n });\r\n } catch (e) {\r\n if (isHttpException(e) && e.status === 403) {\r\n await this.$router.push({ name: RouteName.Forbidden });\r\n } else {\r\n ElMessage.error('Error fetching recommendations');\r\n }\r\n } finally {\r\n loading.close();\r\n }\r\n }\r\n}\r\n\r\n","import { render } from \"./search-terms.vue?vue&type=template&id=a6a6e19c&ts=true\"\nimport script from \"./search-terms.vue?vue&type=script&lang=ts\"\nexport * from \"./search-terms.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"h1\", null, \"Analytics\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Campaigns\")\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Keywords\")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\"Search Terms\")\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Demographics\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_date_picker = _resolveComponent(\"el-date-picker\")\n const _component_el_table_column = _resolveComponent(\"el-table-column\")\n const _component_router_link = _resolveComponent(\"router-link\")\n const _component_el_table = _resolveComponent(\"el-table\")\n const _component_el_pagination = _resolveComponent(\"el-pagination\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_space = _resolveComponent(\"el-space\")\n\n return (_openBlock(), _createBlock(\"main\", null, [\n _createVNode(_component_el_space, {\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n justify: \"space-between\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createVNode(_component_el_row, {\n align: \"middle\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsClusters });})\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsKeywords });})\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n size: \"small\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsSearchTerms });})\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.AgeRange } });})\n }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n align: \"middle\",\n justify: \"end\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.start,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.start = $event)),\n type: \"date\",\n placeholder: \"Start Date\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.end,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.end = $event)),\n type: \"date\",\n placeholder: \"End Date\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_table, {\n data: _ctx.tableHolder.tableData,\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_table_column, { label: \"Search Term\" }, {\n default: _withCtx((scope) => [\n _createVNode(\"span\", null, _toDisplayString(scope.row.searchTerm.searchTerm), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, { label: \"Campaign\" }, {\n default: _withCtx((scope) => [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.AdminAnalyticsSearchTermCluster, params: { searchTerm: encodeURIComponent(scope.row.searchTerm.searchTerm), clusterId: encodeURIComponent(scope.row.cluster.id) } }\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(scope.row.cluster.name), 1)\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, {\n prop: \"clicks\",\n label: \"Clicks\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"conversions\",\n label: \"Conversions\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"costMicros\",\n label: \"Cost Micro\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"cpc\",\n label: \"Cost/Conversion\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"ctr\",\n label: \"CTR\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"impressions\",\n label: \"Impressions\"\n })\n ]),\n _: 1\n }, 8, [\"data\"]),\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_pagination, {\n \"page-size\": 1,\n \"pager-count\": 5,\n onCurrentChange: _cache[7] || (_cache[7] = ($event: any) => (_ctx.page = $event - 1)),\n layout: \"prev, pager, next\",\n total: (_ctx.rawData && _ctx.rawData.pages) || 0\n }, null, 8, [\"total\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n}","\r\nimport { Vue, Options, Watch } from '../../../vue';\r\nimport { LoadingOverlay } from '../../../components';\r\nimport { ApiService } from '../../../services/api.service';\r\nimport { AuthService } from '../../../services/auth.service';\r\nimport { ElLoading, ElMessage } from 'element-plus';\r\nimport { RouteName } from '../../../router';\r\nimport { isHttpException } from '../../../utils/exceptions';\r\nimport { ElementTableHolder } from '../../../utils/element-table-holder';\r\nimport {\r\n ClusterMetrics,\r\n Stringify,\r\n ReportingModel,\r\n KeywordMetrics,\r\n SearchTermMetrics, SearchTermClusterMetrics, DemographicType\r\n} from '../../../models/reporting/reporting.model';\r\nimport { formatCost, formatNumber } from '../../../utils/helpers';\r\nimport { Device } from '../../shared/customer-overview.vue';\r\n\r\ntype TableRow = Stringify;\r\n\r\n@Options({\r\n components: {\r\n LoadingOverlay\r\n }\r\n})\r\nexport default class AnalyticsSearchTerm extends Vue {\r\n private apiService: ApiService = ApiService.Instance;\r\n private authService: AuthService = AuthService.Instance;\r\n\r\n loading = false;\r\n RouteName = RouteName;\r\n DemographicType = DemographicType;\r\n start = new Date(new Date().getTime() - 2628000000);\r\n end = new Date();\r\n page = 0;\r\n\r\n @Watch('page')\r\n endUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('end')\r\n startUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('start')\r\n pageUpdate() {\r\n this.getData();\r\n }\r\n\r\n rawData: ReportingModel | null = null;\r\n tableHolder = new ElementTableHolder(null, ['name']);\r\n\r\n mounted() {\r\n this.getData();\r\n }\r\n\r\n async getData() {\r\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\r\n try {\r\n this.rawData = await this.apiService.getReportingSearchTerm(this.$route.params.searchTerm as string, this.start.getTime(), this.end.getTime(), this.page, 25);\r\n this.tableHolder.rawTableData = this.rawData.results.map(row => {\r\n return {\r\n ...row,\r\n clicks: formatNumber(row.clicks),\r\n conversions: formatNumber(row.conversions),\r\n costMicros: formatCost(row.costMicros),\r\n cpc: formatCost(row.cpc),\r\n ctr: formatNumber(row.ctr),\r\n impressions: formatNumber(row.impressions)\r\n };\r\n });\r\n } catch (e) {\r\n if (isHttpException(e) && e.status === 403) {\r\n await this.$router.push({ name: RouteName.Forbidden });\r\n } else {\r\n ElMessage.error('Error fetching recommendations');\r\n }\r\n } finally {\r\n loading.close();\r\n }\r\n }\r\n}\r\n\r\n","import { render } from \"./search-term.vue?vue&type=template&id=2b24a48d&ts=true\"\nimport script from \"./search-term.vue?vue&type=script&lang=ts\"\nexport * from \"./search-term.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"h1\", null, \"Analytics\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Campaigns\")\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Keywords\")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\"Search Terms\")\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Demographics\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_date_picker = _resolveComponent(\"el-date-picker\")\n const _component_el_table_column = _resolveComponent(\"el-table-column\")\n const _component_router_link = _resolveComponent(\"router-link\")\n const _component_el_table = _resolveComponent(\"el-table\")\n const _component_el_pagination = _resolveComponent(\"el-pagination\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_space = _resolveComponent(\"el-space\")\n\n return (_openBlock(), _createBlock(\"main\", null, [\n _createVNode(_component_el_space, {\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n justify: \"space-between\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createVNode(_component_el_row, {\n align: \"middle\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsClusters });})\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsKeywords });})\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n size: \"small\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsSearchTerms });})\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.AgeRange } });})\n }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n align: \"middle\",\n justify: \"end\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.start,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.start = $event)),\n type: \"date\",\n placeholder: \"Start Date\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.end,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.end = $event)),\n type: \"date\",\n placeholder: \"End Date\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_table, {\n data: _ctx.tableHolder.tableData,\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_table_column, { label: \"Search Term\" }, {\n default: _withCtx((scope) => [\n _createVNode(\"span\", null, _toDisplayString(scope.row.searchTerm.searchTerm), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, { label: \"Campaign\" }, {\n default: _withCtx((scope) => [\n _createVNode(\"span\", null, _toDisplayString(scope.row.cluster.name), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, { label: \"Account\" }, {\n default: _withCtx((scope) => [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.AdminAccountDetails, params: { id: scope.row.account.id }}\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(scope.row.account.name), 1)\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, {\n prop: \"clicks\",\n label: \"Clicks\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"conversions\",\n label: \"Conversions\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"costMicros\",\n label: \"Cost Micro\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"cpc\",\n label: \"Cost/Conversion\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"ctr\",\n label: \"CTR\"\n }),\n _createVNode(_component_el_table_column, {\n prop: \"impressions\",\n label: \"Impressions\"\n })\n ]),\n _: 1\n }, 8, [\"data\"]),\n _createVNode(_component_el_row, {\n type: \"flex\",\n justify: \"end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_pagination, {\n \"page-size\": 1,\n \"pager-count\": 5,\n onCurrentChange: _cache[7] || (_cache[7] = ($event: any) => (_ctx.page = $event - 1)),\n layout: \"prev, pager, next\",\n total: (_ctx.rawData && _ctx.rawData.pages) || 0\n }, null, 8, [\"total\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n}","\r\nimport { Vue, Options, Watch } from '../../../vue';\r\nimport { LoadingOverlay } from '../../../components';\r\nimport { ApiService } from '../../../services/api.service';\r\nimport { AuthService } from '../../../services/auth.service';\r\nimport { ElLoading, ElMessage } from 'element-plus';\r\nimport { RouteName } from '../../../router';\r\nimport { isHttpException } from '../../../utils/exceptions';\r\nimport { ElementTableHolder } from '../../../utils/element-table-holder';\r\nimport {\r\n ClusterMetrics,\r\n Stringify,\r\n ReportingModel,\r\n KeywordMetrics,\r\n SearchTermMetrics, SearchTermClusterMetrics, SearchTermAccountClusterMetrics, DemographicType\r\n} from '../../../models/reporting/reporting.model';\r\nimport { formatCost, formatNumber } from '../../../utils/helpers';\r\nimport { Device } from '../../shared/customer-overview.vue';\r\n\r\ntype TableRow = Stringify;\r\n\r\n@Options({\r\n components: {\r\n LoadingOverlay\r\n }\r\n})\r\nexport default class AnalyticsSearchTermCluster extends Vue {\r\n private apiService: ApiService = ApiService.Instance;\r\n private authService: AuthService = AuthService.Instance;\r\n\r\n loading = false;\r\n RouteName = RouteName;\r\n DemographicType = DemographicType;\r\n start = new Date(new Date().getTime() - 2628000000);\r\n end = new Date();\r\n page = 0;\r\n\r\n @Watch('page')\r\n endUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('end')\r\n startUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('start')\r\n pageUpdate() {\r\n this.getData();\r\n }\r\n\r\n rawData: ReportingModel | null = null;\r\n tableHolder = new ElementTableHolder(null, ['name']);\r\n\r\n mounted() {\r\n this.getData();\r\n }\r\n\r\n async getData() {\r\n const loading = ElLoading.service({ lock: true, background: 'rgba(0, 0, 0, 0.7)' });\r\n try {\r\n this.rawData = await this.apiService.getReportingSearchTermCluster(this.$route.params.searchTerm as string, this.$route.params.clusterId as string, this.start.getTime(), this.end.getTime(), this.page, 25);\r\n this.tableHolder.rawTableData = this.rawData.results.map(row => {\r\n return {\r\n ...row,\r\n clicks: formatNumber(row.clicks),\r\n conversions: formatNumber(row.conversions),\r\n costMicros: formatCost(row.costMicros),\r\n cpc: formatCost(row.cpc),\r\n ctr: formatNumber(row.ctr),\r\n impressions: formatNumber(row.impressions)\r\n };\r\n });\r\n } catch (e) {\r\n if (isHttpException(e) && e.status === 403) {\r\n await this.$router.push({ name: RouteName.Forbidden });\r\n } else {\r\n ElMessage.error('Error fetching recommendations');\r\n }\r\n } finally {\r\n loading.close();\r\n }\r\n }\r\n}\r\n\r\n","import { render } from \"./search-term-cluster.vue?vue&type=template&id=af60174a&ts=true\"\nimport script from \"./search-term-cluster.vue?vue&type=script&lang=ts\"\nexport * from \"./search-term-cluster.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, resolveDirective as _resolveDirective, withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"h1\", null, null, -1)\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Campaigns\")\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Keywords\")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\"Search Terms\")\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Demographics\")\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\"Age\")\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\"Gender\")\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\"Income Range\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_date_picker = _resolveComponent(\"el-date-picker\")\n const _component_ag_grid_vue = _resolveComponent(\"ag-grid-vue\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _directive_loading = _resolveDirective(\"loading\")\n\n return (_openBlock(), _createBlock(\"main\", null, [\n _createVNode(_component_el_space, {\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n justify: \"space-between\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createVNode(_component_el_row, {\n align: \"middle\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsClusters });})\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsKeywords });})\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsSearchTerms });})\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n size: \"small\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.AgeRange } });})\n }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _withDirectives(_createVNode(_component_el_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n align: \"middle\",\n justify: \"space-between\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n align: \"middle\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: _ctx.type === _ctx.DemographicType.AgeRange ? 'success' : 'info',\n size: \"small\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.AgeRange } });})\n }, {\n default: _withCtx(() => [\n _hoisted_6\n ]),\n _: 1\n }, 8, [\"type\"]),\n _createVNode(_component_el_button, {\n type: _ctx.type === _ctx.DemographicType.Gender ? 'success' : 'info',\n size: \"small\",\n onClick: _cache[6] || (_cache[6] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.Gender } });})\n }, {\n default: _withCtx(() => [\n _hoisted_7\n ]),\n _: 1\n }, 8, [\"type\"]),\n _createVNode(_component_el_button, {\n type: _ctx.type === _ctx.DemographicType.IncomeRange ? 'success' : 'info',\n size: \"small\",\n onClick: _cache[7] || (_cache[7] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.IncomeRange } });})\n }, {\n default: _withCtx(() => [\n _hoisted_8\n ]),\n _: 1\n }, 8, [\"type\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, {\n align: \"middle\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.start,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => (_ctx.start = $event)),\n type: \"date\",\n placeholder: \"Start Date\",\n style: {\"margin-right\":\"10px\"}\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.end,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => (_ctx.end = $event)),\n type: \"date\",\n placeholder: \"End Date\",\n style: {\"margin-right\":\"10px\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_ag_grid_vue, {\n style: {\"width\":\"100%\",\"min-height\":\"500px\"},\n class: \"ag-theme-material\",\n columnDefs: _ctx.columnDefs,\n rowData: _ctx.demographics,\n \"grid-options\": _ctx.gridOptions\n }, null, 8, [\"columnDefs\", \"rowData\", \"grid-options\"])\n ]),\n _: 1\n }, 512), [\n [_directive_loading, _ctx.loading]\n ])\n ]),\n _: 1\n })\n ]))\n}","\r\nimport { Vue, Options, Watch } from '../../../vue';\r\nimport { LoadingOverlay } from '../../../components';\r\nimport { ApiService } from '../../../services/api.service';\r\nimport { AuthService } from '../../../services/auth.service';\r\nimport { ElMessage } from 'element-plus';\r\nimport { RouteName } from '../../../router';\r\nimport { isHttpException } from '../../../utils/exceptions';\r\nimport { ElementTableHolder } from '../../../utils/element-table-holder';\r\nimport { Stringify, ReportingModel, DemographicMetrics, DemographicType } from '../../../models/reporting/reporting.model';\r\nimport { formatNumber, roundMicros } from '../../../utils/helpers';\r\nimport { AgGridVue } from 'ag-grid-vue3';\r\nimport { DemoLinkCellRenderer } from '../../../aggrid/renderers';\r\nimport { ValueFormatterParams, GridOptions } from 'ag-grid-community';\r\n\r\ntype CampaignAnalyticsTableRow = Stringify;\r\n\r\n@Options({\r\n components: {\r\n LoadingOverlay,\r\n AgGridVue\r\n }\r\n})\r\nexport default class AnalyticsDemographics extends Vue {\r\n private apiService: ApiService = ApiService.Instance;\r\n private authService: AuthService = AuthService.Instance;\r\n\r\n loading = false;\r\n RouteName = RouteName;\r\n DemographicType = DemographicType;\r\n start = new Date(new Date().getTime() - 2628000000);\r\n end = new Date();\r\n\r\n get type(): DemographicType {\r\n return this.$route.params.type as DemographicType;\r\n }\r\n\r\n get selectorLabel(): string {\r\n switch (this.type) {\r\n case DemographicType.AgeRange:\r\n return 'Age';\r\n case DemographicType.Gender:\r\n return 'Gender';\r\n case DemographicType.IncomeRange:\r\n return 'Income';\r\n }\r\n }\r\n\r\n @Watch('type')\r\n typeUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('end')\r\n startUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('start')\r\n pageUpdate() {\r\n this.getData();\r\n }\r\n\r\n rawData: ReportingModel | null = null;\r\n tableHolder = new ElementTableHolder(null, ['name']);\r\n demographics: Array = [];\r\n\r\n get gridOptions(): GridOptions {\r\n return {\r\n sideBar: false,\r\n defaultColDef: {\r\n flex: 1,\r\n filter: true,\r\n sortable: true,\r\n resizable: true,\r\n menuTabs: ['filterMenuTab', 'generalMenuTab', 'columnsMenuTab'],\r\n filterParams: {\r\n // https://www.ag-grid.com/javascript-data-grid/filter-provided/#apply-clear-reset-and-cancel-buttons\r\n buttons: ['reset']\r\n }\r\n },\r\n // https://www.ag-grid.com/vue-data-grid/row-pagination/\r\n pagination: false,\r\n // https://www.ag-grid.com/javascript-data-grid/grid-size/\r\n domLayout: 'autoHeight',\r\n rowSelection: 'multiple'\r\n // rowGroupPanelShow: 'always'\r\n };\r\n }\r\n\r\n get columnDefs() {\r\n return [\r\n {\r\n headerName: 'Age',\r\n field: 'demographic.type',\r\n flex: 2,\r\n enableRowGroup: false,\r\n cellRenderer: DemoLinkCellRenderer,\r\n cellRendererParams: {\r\n selector: 'demographic.type',\r\n type: this.type\r\n }\r\n },\r\n {\r\n headerName: 'Clicks',\r\n field: 'clicks',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Conversions',\r\n field: 'conversions',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Cost',\r\n field: 'costMicros',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => '$' + params.value\r\n },\r\n {\r\n headerName: 'CPC',\r\n field: 'cpc',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => '$' + params.value\r\n },\r\n {\r\n headerName: 'CTR',\r\n field: 'ctr',\r\n filter: 'agNumberColumnFilter',\r\n sort: 'desc',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Impressions',\r\n field: 'impressions',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Conversions from Interactions',\r\n field: 'conversionsFromInteractions',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n }\r\n ];\r\n }\r\n\r\n mounted() {\r\n this.getData();\r\n }\r\n\r\n async getData() {\r\n this.loading = true;\r\n try {\r\n this.rawData = await this.apiService.getReportingDemographics(this.type, this.start.getTime(), this.end.getTime());\r\n this.demographics = this.rawData.results.map(row => {\r\n return {\r\n ...row,\r\n costMicros: roundMicros(row.costMicros),\r\n cpc: roundMicros(row.cpc)\r\n };\r\n });\r\n } catch (e) {\r\n if (isHttpException(e) && e.status === 403) {\r\n await this.$router.push({ name: RouteName.Forbidden });\r\n } else {\r\n ElMessage.error('Error fetching age demographics data');\r\n }\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n}\r\n\r\n","import { render } from \"./demographics.vue?vue&type=template&id=a71fbe6e&ts=true\"\nimport script from \"./demographics.vue?vue&type=script&lang=ts\"\nexport * from \"./demographics.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, resolveDirective as _resolveDirective, withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"h1\", null, null, -1)\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Campaigns\")\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Keywords\")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\"Search Terms\")\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Demographics\")\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\"Age\")\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\"Gender\")\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\"Income Range\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_date_picker = _resolveComponent(\"el-date-picker\")\n const _component_ag_grid_vue = _resolveComponent(\"ag-grid-vue\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _directive_loading = _resolveDirective(\"loading\")\n\n return (_openBlock(), _createBlock(\"main\", null, [\n _createVNode(_component_el_space, {\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n justify: \"space-between\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createVNode(_component_el_row, {\n align: \"middle\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsClusters });})\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsKeywords });})\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsSearchTerms });})\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n size: \"small\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.AgeRange } });})\n }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _withDirectives(_createVNode(_component_el_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n align: \"middle\",\n justify: \"space-between\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n align: \"middle\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: _ctx.type === _ctx.DemographicType.AgeRange ? 'success' : 'info',\n size: \"small\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.AgeRange } });})\n }, {\n default: _withCtx(() => [\n _hoisted_6\n ]),\n _: 1\n }, 8, [\"type\"]),\n _createVNode(_component_el_button, {\n type: _ctx.type === _ctx.DemographicType.Gender ? 'success' : 'info',\n size: \"small\",\n onClick: _cache[6] || (_cache[6] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.Gender } });})\n }, {\n default: _withCtx(() => [\n _hoisted_7\n ]),\n _: 1\n }, 8, [\"type\"]),\n _createVNode(_component_el_button, {\n type: _ctx.type === _ctx.DemographicType.IncomeRange ? 'success' : 'info',\n size: \"small\",\n onClick: _cache[7] || (_cache[7] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.IncomeRange } });})\n }, {\n default: _withCtx(() => [\n _hoisted_8\n ]),\n _: 1\n }, 8, [\"type\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, {\n align: \"middle\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.start,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => (_ctx.start = $event)),\n type: \"date\",\n placeholder: \"Start Date\",\n style: {\"margin-right\":\"10px\"}\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.end,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => (_ctx.end = $event)),\n type: \"date\",\n placeholder: \"End Date\",\n style: {\"margin-right\":\"10px\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_ag_grid_vue, {\n style: {\"width\":\"100%\",\"min-height\":\"500px\"},\n class: \"ag-theme-material\",\n columnDefs: _ctx.columnDefs,\n rowData: _ctx.demographics,\n \"grid-options\": _ctx.gridOptions\n }, null, 8, [\"columnDefs\", \"rowData\", \"grid-options\"])\n ]),\n _: 1\n }, 512), [\n [_directive_loading, _ctx.loading]\n ])\n ]),\n _: 1\n })\n ]))\n}","\r\nimport { Vue, Options, Watch } from '../../../vue';\r\nimport { LoadingOverlay } from '../../../components';\r\nimport { ApiService } from '../../../services/api.service';\r\nimport { AuthService } from '../../../services/auth.service';\r\nimport { ElMessage } from 'element-plus';\r\nimport { RouteName } from '../../../router';\r\nimport { isHttpException } from '../../../utils/exceptions';\r\nimport { Stringify, ReportingModel, DemographicType, DemographicClusterMetrics } from '../../../models/reporting/reporting.model';\r\nimport { formatNumber, roundMicros } from '../../../utils/helpers';\r\nimport { AgGridVue } from 'ag-grid-vue3';\r\nimport { DemoLinkCellRenderer } from '../../../aggrid/renderers';\r\nimport { ValueFormatterParams, GridOptions, ValueGetterParams } from 'ag-grid-community';\r\n\r\n@Options({\r\n components: {\r\n LoadingOverlay,\r\n AgGridVue\r\n }\r\n})\r\nexport default class AnalyticsDemographic extends Vue {\r\n private apiService: ApiService = ApiService.Instance;\r\n private authService: AuthService = AuthService.Instance;\r\n\r\n loading = false;\r\n RouteName = RouteName;\r\n DemographicType = DemographicType;\r\n start = new Date(new Date().getTime() - 2628000000);\r\n end = new Date();\r\n\r\n get type(): DemographicType {\r\n return this.$route.params.type as DemographicType;\r\n }\r\n\r\n get selector(): string {\r\n return this.$route.params.selector as string;\r\n }\r\n\r\n get selectorLabel(): string {\r\n switch (this.type) {\r\n case DemographicType.AgeRange:\r\n return 'Age';\r\n case DemographicType.Gender:\r\n return 'Gender';\r\n case DemographicType.IncomeRange:\r\n return 'Income';\r\n }\r\n }\r\n\r\n @Watch('type')\r\n typeUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('selector')\r\n selectorUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('end')\r\n startUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('start')\r\n pageUpdate() {\r\n this.getData();\r\n }\r\n\r\n rawData: ReportingModel | null = null;\r\n demographics: Array = [];\r\n\r\n get gridOptions(): GridOptions {\r\n return {\r\n sideBar: false,\r\n defaultColDef: {\r\n flex: 1,\r\n filter: true,\r\n sortable: true,\r\n resizable: true,\r\n menuTabs: ['filterMenuTab', 'generalMenuTab', 'columnsMenuTab'],\r\n filterParams: {\r\n // https://www.ag-grid.com/javascript-data-grid/filter-provided/#apply-clear-reset-and-cancel-buttons\r\n buttons: ['reset']\r\n }\r\n },\r\n // https://www.ag-grid.com/vue-data-grid/row-pagination/\r\n pagination: false,\r\n // https://www.ag-grid.com/javascript-data-grid/grid-size/\r\n domLayout: 'autoHeight',\r\n rowSelection: 'multiple'\r\n // rowGroupPanelShow: 'always'\r\n };\r\n }\r\n\r\n get columnDefs() {\r\n return [\r\n {\r\n headerName: this.selectorLabel,\r\n valueGetter: (params: ValueGetterParams) => {\r\n return this.selector;\r\n }\r\n },\r\n {\r\n headerName: 'Campaign',\r\n field: 'campaign.name',\r\n flex: 2,\r\n enableRowGroup: false,\r\n cellRenderer: DemoLinkCellRenderer,\r\n cellRendererParams: {\r\n selector: 'demographic.type',\r\n type: this.type,\r\n clusterId: 'cluster.id',\r\n routeName: RouteName.AdminAnalyticsDemographicCluster\r\n }\r\n },\r\n {\r\n headerName: 'Clicks',\r\n field: 'clicks',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Conversions',\r\n field: 'conversions',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Cost',\r\n field: 'costMicros',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => '$' + params.value\r\n },\r\n {\r\n headerName: 'CPC',\r\n field: 'cpc',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => '$' + params.value\r\n },\r\n {\r\n headerName: 'CTR',\r\n field: 'ctr',\r\n filter: 'agNumberColumnFilter',\r\n sort: 'desc',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Impressions',\r\n field: 'impressions',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Conversions from Interactions',\r\n field: 'conversionsFromInteractions',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n }\r\n ];\r\n }\r\n\r\n mounted() {\r\n this.getData();\r\n }\r\n\r\n async getData() {\r\n this.loading = true;\r\n try {\r\n this.rawData = await this.apiService.getReportingDemographic(this.type, this.selector, this.start.getTime(), this.end.getTime());\r\n this.demographics = this.rawData.results.map(row => {\r\n return {\r\n ...row,\r\n costMicros: roundMicros(row.costMicros),\r\n cpc: roundMicros(row.cpc)\r\n };\r\n });\r\n } catch (e) {\r\n if (isHttpException(e) && e.status === 403) {\r\n await this.$router.push({ name: RouteName.Forbidden });\r\n } else {\r\n ElMessage.error('Error fetching demographic data');\r\n }\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n}\r\n\r\n","import { render } from \"./demographic.vue?vue&type=template&id=195ba804&ts=true\"\nimport script from \"./demographic.vue?vue&type=script&lang=ts\"\nexport * from \"./demographic.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, resolveDirective as _resolveDirective, withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"h1\", null, null, -1)\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\"Campaigns\")\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Keywords\")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\"Search Terms\")\nconst _hoisted_5 = /*#__PURE__*/_createTextVNode(\"Demographics\")\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\"Age\")\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\"Gender\")\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\"Income Range\")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_date_picker = _resolveComponent(\"el-date-picker\")\n const _component_ag_grid_vue = _resolveComponent(\"ag-grid-vue\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_space = _resolveComponent(\"el-space\")\n const _directive_loading = _resolveDirective(\"loading\")\n\n return (_openBlock(), _createBlock(\"main\", null, [\n _createVNode(_component_el_space, {\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n justify: \"space-between\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _createVNode(_component_el_row, {\n align: \"middle\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsClusters });})\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsKeywords });})\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"info\",\n size: \"small\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsSearchTerms });})\n }, {\n default: _withCtx(() => [\n _hoisted_4\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n size: \"small\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.AgeRange } });})\n }, {\n default: _withCtx(() => [\n _hoisted_5\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _withDirectives(_createVNode(_component_el_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n align: \"middle\",\n justify: \"space-between\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_row, {\n align: \"middle\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: _ctx.type === _ctx.DemographicType.AgeRange ? 'success' : 'info',\n size: \"small\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.AgeRange } });})\n }, {\n default: _withCtx(() => [\n _hoisted_6\n ]),\n _: 1\n }, 8, [\"type\"]),\n _createVNode(_component_el_button, {\n type: _ctx.type === _ctx.DemographicType.Gender ? 'success' : 'info',\n size: \"small\",\n onClick: _cache[6] || (_cache[6] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.Gender } });})\n }, {\n default: _withCtx(() => [\n _hoisted_7\n ]),\n _: 1\n }, 8, [\"type\"]),\n _createVNode(_component_el_button, {\n type: _ctx.type === _ctx.DemographicType.IncomeRange ? 'success' : 'info',\n size: \"small\",\n onClick: _cache[7] || (_cache[7] = ($event: any) => {_ctx.$router.push({ name: _ctx.RouteName.AdminAnalyticsDemographics, params: { type: _ctx.DemographicType.IncomeRange } });})\n }, {\n default: _withCtx(() => [\n _hoisted_8\n ]),\n _: 1\n }, 8, [\"type\"])\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, {\n align: \"middle\",\n type: \"flex\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.start,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => (_ctx.start = $event)),\n type: \"date\",\n placeholder: \"Start Date\",\n style: {\"margin-right\":\"10px\"}\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_el_date_picker, {\n modelValue: _ctx.end,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => (_ctx.end = $event)),\n type: \"date\",\n placeholder: \"End Date\",\n style: {\"margin-right\":\"10px\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_ag_grid_vue, {\n style: {\"width\":\"100%\",\"min-height\":\"500px\"},\n class: \"ag-theme-material\",\n columnDefs: _ctx.columnDefs,\n rowData: _ctx.demographics,\n \"grid-options\": _ctx.gridOptions\n }, null, 8, [\"columnDefs\", \"rowData\", \"grid-options\"])\n ]),\n _: 1\n }, 512), [\n [_directive_loading, _ctx.loading]\n ])\n ]),\n _: 1\n })\n ]))\n}","\r\nimport { Vue, Options, Watch } from '../../../vue';\r\nimport { LoadingOverlay } from '../../../components';\r\nimport { ApiService } from '../../../services/api.service';\r\nimport { AuthService } from '../../../services/auth.service';\r\nimport { ElMessage } from 'element-plus';\r\nimport { RouteName } from '../../../router';\r\nimport { isHttpException } from '../../../utils/exceptions';\r\nimport { ReportingModel, DemographicType, DemographicAccountClusterMetrics } from '../../../models/reporting/reporting.model';\r\nimport { formatNumber, roundMicros } from '../../../utils/helpers';\r\nimport { AgGridVue } from 'ag-grid-vue3';\r\nimport { AccountLinkCellRenderer } from '../../../aggrid/renderers';\r\nimport { ValueFormatterParams, GridOptions, ValueGetterParams } from 'ag-grid-community';\r\n\r\n@Options({\r\n components: {\r\n LoadingOverlay,\r\n AgGridVue\r\n }\r\n})\r\nexport default class AnalyticsDemographicCluster extends Vue {\r\n private apiService: ApiService = ApiService.Instance;\r\n private authService: AuthService = AuthService.Instance;\r\n\r\n loading = false;\r\n RouteName = RouteName;\r\n DemographicType = DemographicType;\r\n start = new Date(new Date().getTime() - 2628000000);\r\n end = new Date();\r\n\r\n get type(): DemographicType {\r\n return this.$route.params.type as DemographicType;\r\n }\r\n\r\n get selector(): string {\r\n return this.$route.params.selector as string;\r\n }\r\n\r\n get clusterId(): string {\r\n return this.$route.params.clusterId as string;\r\n }\r\n\r\n get selectorLabel(): string {\r\n switch (this.type) {\r\n case DemographicType.AgeRange:\r\n return 'Age';\r\n case DemographicType.Gender:\r\n return 'Gender';\r\n case DemographicType.IncomeRange:\r\n return 'Income';\r\n }\r\n }\r\n\r\n @Watch('type')\r\n typeUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('clusterId')\r\n clusterIdUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('selector')\r\n selectorUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('end')\r\n startUpdate() {\r\n this.getData();\r\n }\r\n\r\n @Watch('start')\r\n pageUpdate() {\r\n this.getData();\r\n }\r\n\r\n rawData: ReportingModel | null = null;\r\n demographics: Array = [];\r\n\r\n mounted() {\r\n this.getData();\r\n }\r\n\r\n get gridOptions(): GridOptions {\r\n return {\r\n sideBar: false,\r\n defaultColDef: {\r\n flex: 1,\r\n filter: true,\r\n sortable: true,\r\n resizable: true,\r\n menuTabs: ['filterMenuTab', 'generalMenuTab', 'columnsMenuTab'],\r\n filterParams: {\r\n // https://www.ag-grid.com/javascript-data-grid/filter-provided/#apply-clear-reset-and-cancel-buttons\r\n buttons: ['reset']\r\n }\r\n },\r\n // https://www.ag-grid.com/vue-data-grid/row-pagination/\r\n pagination: false,\r\n // https://www.ag-grid.com/javascript-data-grid/grid-size/\r\n domLayout: 'autoHeight',\r\n rowSelection: 'multiple'\r\n // rowGroupPanelShow: 'always'\r\n };\r\n }\r\n\r\n get columnDefs() {\r\n return [\r\n {\r\n headerName: this.selectorLabel,\r\n valueGetter: (params: ValueGetterParams) => {\r\n return this.selector;\r\n }\r\n },\r\n {\r\n headerName: 'Campaign',\r\n valueGetter: (params: ValueGetterParams) => {\r\n const clusterName = params.data?.cluster?.name;\r\n return clusterName || params.data?.campaign?.name;\r\n }\r\n },\r\n {\r\n headerName: 'Account',\r\n field: 'account.name',\r\n flex: 2,\r\n enableRowGroup: false,\r\n cellRenderer: AccountLinkCellRenderer,\r\n cellRendererParams: {\r\n idField: 'account.id'\r\n }\r\n },\r\n {\r\n headerName: 'Clicks',\r\n field: 'clicks',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Conversions',\r\n field: 'conversions',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Cost',\r\n field: 'costMicros',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => '$' + params.value\r\n },\r\n {\r\n headerName: 'CPC',\r\n field: 'cpc',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => '$' + params.value\r\n },\r\n {\r\n headerName: 'CTR',\r\n field: 'ctr',\r\n filter: 'agNumberColumnFilter',\r\n sort: 'desc',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Impressions',\r\n field: 'impressions',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n },\r\n {\r\n headerName: 'Conversions from Interactions',\r\n field: 'conversionsFromInteractions',\r\n filter: 'agNumberColumnFilter',\r\n valueFormatter: (params: ValueFormatterParams) => formatNumber(params.value)\r\n }\r\n ];\r\n }\r\n\r\n async getData() {\r\n this.loading = true;\r\n\r\n try {\r\n this.rawData = await this.apiService.getReportingDemographicCluster(this.type, this.selector, this.clusterId, this.start.getTime(), this.end.getTime());\r\n this.demographics = this.rawData.results.map(row => {\r\n return {\r\n ...row,\r\n costMicros: roundMicros(row.costMicros),\r\n cpc: roundMicros(row.cpc)\r\n };\r\n });\r\n } catch (e) {\r\n if (isHttpException(e) && e.status === 403) {\r\n await this.$router.push({ name: RouteName.Forbidden });\r\n } else {\r\n ElMessage.error('Error fetching cluster specific demographics');\r\n }\r\n } finally {\r\n this.loading = false;\r\n }\r\n }\r\n}\r\n\r\n","import { render } from \"./demographic-cluster.vue?vue&type=template&id=d9bc896a&ts=true\"\nimport script from \"./demographic-cluster.vue?vue&type=script&lang=ts\"\nexport * from \"./demographic-cluster.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, vModelRadio as _vModelRadio, withDirectives as _withDirectives, createTextVNode as _createTextVNode, withCtx as _withCtx, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-7855d42c\")\n\n_pushScopeId(\"data-v-7855d42c\")\nconst _hoisted_1 = { id: \"info\" }\nconst _hoisted_2 = { id: \"content-wrapper\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"h2\", { class: \"location-header\" }, \"Location Extension Setup\", -1)\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"h1\", { class: \"location-header\" }, \"Get Found on Maps\", -1)\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"p\", null, \" To include your business location in various maps applications, Google requires that your business have a Google My Business location. This is a completely free service from Google, and beneficial for any small business! \", -1)\nconst _hoisted_6 = /*#__PURE__*/_createVNode(\"h3\", { class: \"question\" }, \"Do you currently have a Google My Business account and listing?\", -1)\nconst _hoisted_7 = { class: \"input-container\" }\nconst _hoisted_8 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_9 = /*#__PURE__*/_createVNode(\"span\", null, [\n /*#__PURE__*/_createVNode(\"i\", { class: \"bold\" }, \"Yes,\"),\n /*#__PURE__*/_createTextVNode(\" I currently have a Google My Business account\")\n], -1)\nconst _hoisted_10 = { class: \"input-container\" }\nconst _hoisted_11 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_12 = /*#__PURE__*/_createVNode(\"span\", null, [\n /*#__PURE__*/_createVNode(\"i\", { class: \"bold\" }, \"No,\"),\n /*#__PURE__*/_createTextVNode(\" I do not have a Google My Business account\")\n], -1)\nconst _hoisted_13 = { class: \"inline-buttons\" }\nconst _hoisted_14 = { class: \"button-container\" }\nconst _hoisted_15 = /*#__PURE__*/_createTextVNode(\"Skip\")\nconst _hoisted_16 = /*#__PURE__*/_createVNode(\"div\", { class: \"button-container\" }, [\n /*#__PURE__*/_createVNode(\"button\", {\n class: \"w-arrow\",\n type: \"submit\"\n }, [\n /*#__PURE__*/_createVNode(\"span\", null, \"Continue\"),\n /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-long-arrow-right\" })\n ])\n], -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_WizardInfo = _resolveComponent(\"WizardInfo\")\n const _component_LoadingOverlay = _resolveComponent(\"LoadingOverlay\")\n const _component_router_link = _resolveComponent(\"router-link\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(_component_WizardInfo, { metadata: _ctx.infoMetadata }, null, 8, [\"metadata\"])\n ]),\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", {\n id: \"content\",\n class: {loading: _ctx.loading}\n }, [\n _createVNode(_component_LoadingOverlay),\n _hoisted_3,\n _hoisted_4,\n _hoisted_5,\n _hoisted_6,\n _createVNode(\"form\", {\n onSubmit: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.onSubmit && _ctx.onSubmit(...args))),\n novalidate: \"\"\n }, [\n _createVNode(\"label\", _hoisted_7, [\n _withDirectives(_createVNode(\"input\", {\n type: \"radio\",\n name: \"confirmation\",\n value: true,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.hasGoogleAccount = $event))\n }, null, 512), [\n [_vModelRadio, _ctx.hasGoogleAccount]\n ]),\n _hoisted_8,\n _hoisted_9\n ]),\n _createVNode(\"label\", _hoisted_10, [\n _withDirectives(_createVNode(\"input\", {\n type: \"radio\",\n name: \"confirmation\",\n value: false,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.hasGoogleAccount = $event))\n }, null, 512), [\n [_vModelRadio, _ctx.hasGoogleAccount]\n ]),\n _hoisted_11,\n _hoisted_12\n ]),\n _createVNode(\"div\", _hoisted_13, [\n _createVNode(\"div\", _hoisted_14, [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.WizardTracking },\n class: \"secondary link-button\"\n }, {\n default: _withId(() => [\n _hoisted_15\n ]),\n _: 1\n }, 8, [\"to\"])\n ]),\n _hoisted_16\n ])\n ], 32)\n ], 2)\n ])\n ], 64))\n})","import { brand } from '../utils/environment';\r\n\r\nexport class MyBusinessService {\r\n private static instance: MyBusinessService;\r\n\r\n public static get Instance() {\r\n return this.instance || (this.instance = new this());\r\n }\r\n\r\n private constructor() {\r\n }\r\n\r\n captureCode(): string | null {\r\n const urlSearchParams = new URLSearchParams(window.location.search);\r\n return urlSearchParams.get('code');\r\n }\r\n\r\n get redirectUrl() {\r\n return `${window.location.protocol}//${window.location.host}/wizard/location-oauth-callback`;\r\n }\r\n\r\n signIn(): void {\r\n location.href = `https://accounts.google.com/o/oauth2/auth/oauthchooseaccount?response_type=code&access_type=offline&prompt=consent&include_granted_scopes=true&client_id=${brand.oauthWebClientID}&redirect_uri=${this.redirectUrl}&scope=https://www.googleapis.com/auth/business.manage`;\r\n }\r\n}\r\n","\nimport { Options, Vue } from '../../vue';\nimport WizardInfo, { WizardInfoMetaData } from '../../components/wizard-info.vue';\nimport { RouteName } from '../../router';\nimport { LoadingOverlay, WizardProgress } from '../../components';\nimport { MyBusinessService } from '../../services/my-business.service';\n\n@Options({\n components: {\n WizardInfo,\n WizardProgress,\n LoadingOverlay\n }\n})\nexport default class Location extends Vue {\n private myBusinessService: MyBusinessService = MyBusinessService.Instance;\n infoMetadata: WizardInfoMetaData = {\n metric: '59% of shoppers',\n afterMetric: 'say they research online before making a purchase to ensure they are making the best possible choice.',\n quote: '– Google/Ipsos study'\n };\n\n buttonSelection = false;\n\n RouteName = RouteName;\n loading = false;\n\n hasGoogleAccount = true;\n\n async mounted() {\n }\n\n async onSubmit(e: Event) {\n e.preventDefault();\n localStorage.setItem('hasGoogleMyBusinessAccount', this.hasGoogleAccount.toString());\n this.myBusinessService.signIn();\n }\n}\n","import { render } from \"./location.vue?vue&type=template&id=7855d42c&scoped=true&ts=true\"\nimport script from \"./location.vue?vue&type=script&lang=ts\"\nexport * from \"./location.vue?vue&type=script&lang=ts\"\n\nimport \"./location.vue?vue&type=style&index=0&id=7855d42c&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7855d42c\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, vModelText as _vModelText, withDirectives as _withDirectives, createTextVNode as _createTextVNode, withCtx as _withCtx, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-6ee3e4d6\")\n\n_pushScopeId(\"data-v-6ee3e4d6\")\nconst _hoisted_1 = { id: \"info\" }\nconst _hoisted_2 = { id: \"content-wrapper\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"h2\", { class: \"location-header\" }, \"Location Extension Setup\", -1)\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"h1\", { class: \"location-header\" }, \"Business Information Verification\", -1)\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"p\", null, \" To complete your Google My Business listing, please verify the information below and fill out any missing information. \", -1)\nconst _hoisted_6 = { class: \"row\" }\nconst _hoisted_7 = { class: \"col-12 col-xl-6\" }\nconst _hoisted_8 = { class: \"row gap-30\" }\nconst _hoisted_9 = { class: \"col-12\" }\nconst _hoisted_10 = { class: \"input-container stacked\" }\nconst _hoisted_11 = /*#__PURE__*/_createVNode(\"span\", null, \"Business Name\", -1)\nconst _hoisted_12 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_13 = { class: \"row gap-30\" }\nconst _hoisted_14 = { class: \"col-12\" }\nconst _hoisted_15 = { class: \"input-container stacked\" }\nconst _hoisted_16 = /*#__PURE__*/_createVNode(\"span\", null, \"Business Address\", -1)\nconst _hoisted_17 = { class: \"row gap-30\" }\nconst _hoisted_18 = { class: \"col-12\" }\nconst _hoisted_19 = { class: \"input-container stacked\" }\nconst _hoisted_20 = /*#__PURE__*/_createVNode(\"span\", null, [\n /*#__PURE__*/_createTextVNode(\"Service Area \"),\n /*#__PURE__*/_createVNode(\"span\", { class: \"info\" }, \"(in miles)\")\n], -1)\nconst _hoisted_21 = /*#__PURE__*/_createVNode(\"i\", null, null, -1)\nconst _hoisted_22 = { class: \"col-12 col-xl-6\" }\nconst _hoisted_23 = { class: \"row gap-30\" }\nconst _hoisted_24 = { class: \"col-12\" }\nconst _hoisted_25 = { class: \"input-container stacked\" }\nconst _hoisted_26 = /*#__PURE__*/_createVNode(\"span\", null, \"Do you offer services at your location?\", -1)\nconst _hoisted_27 = { class: \"row gap-30\" }\nconst _hoisted_28 = { class: \"col-12\" }\nconst _hoisted_29 = { class: \"input-container stacked\" }\nconst _hoisted_30 = /*#__PURE__*/_createVNode(\"span\", null, \"Business Category\", -1)\nconst _hoisted_31 = { class: \"row gap-30\" }\nconst _hoisted_32 = { class: \"col-12\" }\nconst _hoisted_33 = { class: \"input-container stacked\" }\nconst _hoisted_34 = /*#__PURE__*/_createVNode(\"span\", null, [\n /*#__PURE__*/_createTextVNode(\"Description of Business \"),\n /*#__PURE__*/_createVNode(\"span\", { class: \"info\" }, \"(up to 750 characters)\")\n], -1)\nconst _hoisted_35 = /*#__PURE__*/_createVNode(\"div\", { class: \"button-container\" }, [\n /*#__PURE__*/_createVNode(\"button\", {\n class: \"w-arrow\",\n type: \"submit\"\n }, [\n /*#__PURE__*/_createVNode(\"span\", null, \"Continue\"),\n /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-long-arrow-right\" })\n ])\n], -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_WizardInfo = _resolveComponent(\"WizardInfo\")\n const _component_LoadingOverlay = _resolveComponent(\"LoadingOverlay\")\n const _component_PlacesInput = _resolveComponent(\"PlacesInput\")\n const _component_el_option = _resolveComponent(\"el-option\")\n const _component_el_select = _resolveComponent(\"el-select\")\n const _component_Dropdown = _resolveComponent(\"Dropdown\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(_component_WizardInfo, { metadata: _ctx.infoMetadata }, null, 8, [\"metadata\"])\n ]),\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", {\n id: \"content\",\n class: {loading: _ctx.loading}\n }, [\n _createVNode(_component_LoadingOverlay),\n _hoisted_3,\n _hoisted_4,\n _hoisted_5,\n _createVNode(\"form\", {\n novalidate: \"\",\n onSubmit: _cache[8] || (_cache[8] = \n//@ts-ignore\n(...args) => (_ctx.onSubmit && _ctx.onSubmit(...args)))\n }, [\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(\"div\", _hoisted_8, [\n _createVNode(\"div\", _hoisted_9, [\n _createVNode(\"label\", _hoisted_10, [\n _hoisted_11,\n _withDirectives(_createVNode(\"input\", {\n type: \"text\",\n class: _ctx.nameErrors ? 'w-error' : '',\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.formData.state.businessName = $event)),\n required: \"\",\n placeholder: \"required\"\n }, null, 2), [\n [_vModelText, _ctx.formData.state.businessName]\n ]),\n _hoisted_12\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_13, [\n _createVNode(\"div\", _hoisted_14, [\n _createVNode(\"label\", _hoisted_15, [\n _hoisted_16,\n _createVNode(_component_PlacesInput, {\n modelValue: _ctx.formData.state.address.input,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.formData.state.address.input = $event)),\n \"onUpdate:value\": _cache[3] || (_cache[3] = ($event: any) => {_ctx.formData.state.address.value = $event;})\n }, null, 8, [\"modelValue\"])\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_17, [\n _createVNode(\"div\", _hoisted_18, [\n _createVNode(\"label\", _hoisted_19, [\n _hoisted_20,\n _withDirectives(_createVNode(\"input\", {\n type: \"text\",\n class: _ctx.nameErrors ? 'w-error' : '',\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.formData.state.radius = $event)),\n required: \"\",\n placeholder: \"required\"\n }, null, 2), [\n [_vModelText, _ctx.formData.state.radius]\n ]),\n _hoisted_21\n ])\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_22, [\n _createVNode(\"div\", _hoisted_23, [\n _createVNode(\"div\", _hoisted_24, [\n _createVNode(\"label\", _hoisted_25, [\n _hoisted_26,\n _createVNode(_component_el_select, {\n modelValue: _ctx.formData.state.offerServices,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.formData.state.offerServices = $event)),\n style: {\"min-width\":\"100%\"},\n placeholder: \"Select\"\n }, {\n default: _withId(() => [\n _createVNode(_component_el_option, {\n key: \"os1\",\n label: \"Yes\",\n value: \"true\"\n }),\n _createVNode(_component_el_option, {\n key: \"os2\",\n label: \"No\",\n value: \"false\"\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_27, [\n _createVNode(\"div\", _hoisted_28, [\n _createVNode(\"label\", _hoisted_29, [\n _hoisted_30,\n _createVNode(_component_Dropdown, {\n modelValue: _ctx.formData.state.category,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.formData.state.category = $event)),\n options: _ctx.categoryOptions,\n required: \"\",\n placeholder: \"required\"\n }, null, 8, [\"modelValue\", \"options\"])\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_31, [\n _createVNode(\"div\", _hoisted_32, [\n _createVNode(\"label\", _hoisted_33, [\n _hoisted_34,\n _withDirectives(_createVNode(\"textarea\", {\n class: \"site-tag-div\",\n style: {\"overflow\":\"auto\"},\n ref: \"snippet\",\n id: \"snippet\",\n placeholder: \"Describe your business\",\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (_ctx.formData.state.description = $event))\n }, null, 512), [\n [_vModelText, _ctx.formData.state.description]\n ])\n ])\n ])\n ])\n ])\n ]),\n _hoisted_35\n ], 32)\n ], 2)\n ])\n ], 64))\n})","export interface LocationData {\r\n type: GMBBusinessType;\r\n languageCode: string;\r\n category: string;\r\n name: string;\r\n placeName: string;\r\n placeId: string;\r\n description: string;\r\n address: GMBPostalAddress;\r\n radius: GMBPointRadius;\r\n}\r\n\r\nexport enum GMBBusinessType {\r\n BUSINESS_TYPE_UNSPECIFIED = 'BUSINESS_TYPE_UNSPECIFIED',\r\n CUSTOMER_LOCATION_ONLY = 'CUSTOMER_LOCATION_ONLY',\r\n CUSTOMER_AND_BUSINESS_LOCATION = 'CUSTOMER_AND_BUSINESS_LOCATION'\r\n}\r\n\r\ninterface GMBPointRadius {\r\n latlng: {\r\n latitude: number;\r\n longitude: number;\r\n };\r\n radiusKm: number;\r\n}\r\n\r\ninterface GMBPostalAddress {\r\n revision: number;\r\n regionCode?: string;\r\n languageCode?: string;\r\n postalCode?: string;\r\n sortingCode?: string;\r\n administrativeArea?: string;\r\n locality?: string;\r\n sublocality?: string;\r\n addressLines: Array;\r\n recipients?: Array;\r\n organization?: string;\r\n}\r\n","\nimport { Options, Vue } from '../../vue';\nimport WizardInfo, { WizardInfoMetaData } from '../../components/wizard-info.vue';\nimport { Dropdown, LoadingOverlay, PlacesInput, WizardProgress } from '../../components';\nimport { FormGroup } from '../../utils/form';\nimport { PlacesValue } from '../../components/places-input.vue';\nimport { ApiService } from '../../services/api.service';\nimport { AddressOutput } from '../../models/address-output.model';\nimport { GMBBusinessType, LocationData } from '../../models/location-data.model';\nimport { SelectOption } from '../../components/dropdown.vue';\nimport router, { RouteName } from '../../router';\n\n@Options({\n components: {\n WizardInfo,\n WizardProgress,\n LoadingOverlay,\n PlacesInput,\n Dropdown\n }\n})\n\nexport default class LocationBusinessVerification extends Vue {\n private apiService: ApiService = ApiService.Instance;\n infoMetadata: WizardInfoMetaData = {\n metric: '59% of shoppers',\n afterMetric: 'say they research online before making a purchase to ensure they are making the best possible choice.',\n quote: '– Google/Ipsos study'\n };\n\n loading = false;\n formData = new FormGroup({\n businessName: '',\n radius: 10,\n offerServices: { key: 'os1', value: true, label: 'Yes' },\n address: ({ input: null, value: null } as PlacesValue),\n description: '',\n category: null as null | string\n });\n\n categoryOptions: Array> = [];\n\n async mounted() {\n try {\n this.loading = true;\n const response = await this.apiService.getCategories();\n this.categoryOptions = response.categories.map(c => ({\n name: c.displayName,\n value: c.name\n })).sort((a, b) => (a.name > b.name) ? 1 : -1);\n this.loading = false;\n } catch (e) {\n console.error(e);\n }\n }\n\n async onSubmit(e: Event) {\n e.preventDefault();\n this.loading = true;\n try {\n const address = this.formData.state.address.value?.value as AddressOutput;\n const regions = await this.apiService.autoCompleteAddress(`${address.city}, ${address.state}`, 'REGIONS', new AbortController().signal);\n const region = regions[0];\n const request: LocationData = {\n category: this.formData.state.category!,\n type: this.formData.state.offerServices.value ? GMBBusinessType.CUSTOMER_AND_BUSINESS_LOCATION : GMBBusinessType.CUSTOMER_LOCATION_ONLY,\n languageCode: 'en-us',\n name: this.formData.state.businessName,\n description: this.formData.state.description,\n placeId: region.id!,\n placeName: region.name!,\n address: {\n revision: 0,\n regionCode: 'US',\n postalCode: address.postalCode,\n locality: address.city,\n administrativeArea: address.state,\n addressLines: [\n `${address.street}`\n ]\n },\n radius: {\n latlng: {\n latitude: address.latitude,\n longitude: address.longitude\n },\n radiusKm: this.formData.state.radius * 1.60934\n }\n };\n await this.apiService.createGMBAccount(request);\n await router.push({ name: RouteName.WizardTracking });\n } catch (e) {\n console.error(e);\n }\n }\n}\n","import { render } from \"./location-business-verification.vue?vue&type=template&id=6ee3e4d6&scoped=true&ts=true\"\nimport script from \"./location-business-verification.vue?vue&type=script&lang=ts\"\nexport * from \"./location-business-verification.vue?vue&type=script&lang=ts\"\n\nimport \"./location-business-verification.vue?vue&type=style&index=0&id=6ee3e4d6&scoped=true&lang=css\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6ee3e4d6\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, createTextVNode as _createTextVNode, withCtx as _withCtx, createCommentVNode as _createCommentVNode, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-1dbe19c7\")\n\n_pushScopeId(\"data-v-1dbe19c7\")\nconst _hoisted_1 = { id: \"info\" }\nconst _hoisted_2 = { id: \"content-wrapper\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"h2\", { class: \"location-header\" }, \"Location Extension Setup\", -1)\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"h1\", { class: \"location-header\" }, \"Success!\", -1)\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"div\", null, [\n /*#__PURE__*/_createVNode(\"p\", null, \" We found a location that is already tied to your Google Account. Please choose from the location(s) tied to your account below or click Create New. \")\n], -1)\nconst _hoisted_6 = { style: {\"margin-bottom\":\"30px\"} }\nconst _hoisted_7 = { class: \"row\" }\nconst _hoisted_8 = { class: \"inline-buttons\" }\nconst _hoisted_9 = { class: \"button-container\" }\nconst _hoisted_10 = /*#__PURE__*/_createTextVNode(\"Create New \")\nconst _hoisted_11 = /*#__PURE__*/_createVNode(\"div\", { class: \"button-container\" }, [\n /*#__PURE__*/_createVNode(\"button\", {\n class: \"w-arrow\",\n type: \"submit\"\n }, [\n /*#__PURE__*/_createVNode(\"span\", null, \"Complete\"),\n /*#__PURE__*/_createVNode(\"i\", { class: \"far fa-long-arrow-right\" })\n ])\n], -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_WizardInfo = _resolveComponent(\"WizardInfo\")\n const _component_LoadingOverlay = _resolveComponent(\"LoadingOverlay\")\n const _component_LocationWidget = _resolveComponent(\"LocationWidget\")\n const _component_router_link = _resolveComponent(\"router-link\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(_component_WizardInfo, { metadata: _ctx.infoMetadata }, null, 8, [\"metadata\"])\n ]),\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", {\n id: \"content\",\n class: {loading: _ctx.loading}\n }, [\n _createVNode(_component_LoadingOverlay),\n _hoisted_3,\n _hoisted_4,\n _hoisted_5,\n (_ctx.locations !== null && _ctx.locations.length > 0)\n ? (_openBlock(), _createBlock(\"form\", {\n key: 0,\n novalidate: \"\",\n onSubmit: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.onSubmit && _ctx.onSubmit(...args)))\n }, [\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"div\", _hoisted_7, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.locations, (location, index) => {\n return (_openBlock(), _createBlock(\"div\", {\n class: \"col-12 col-lg-6\",\n key: location.name\n }, [\n _createVNode(_component_LocationWidget, {\n selected: _ctx.selectedItem === _ctx.locations[index].name,\n \"location-info\": location,\n \"onUpdate:toggle\": _ctx.selectionMade\n }, null, 8, [\"selected\", \"location-info\", \"onUpdate:toggle\"])\n ]))\n }), 128))\n ])\n ]),\n _createVNode(\"div\", _hoisted_8, [\n _createVNode(\"div\", _hoisted_9, [\n _createVNode(_component_router_link, {\n to: { name: _ctx.RouteName.WizardLocationBusVerification },\n class: \"secondary link-button\"\n }, {\n default: _withId(() => [\n _hoisted_10\n ]),\n _: 1\n }, 8, [\"to\"])\n ]),\n _hoisted_11\n ])\n ], 32))\n : _createCommentVNode(\"\", true)\n ], 2)\n ])\n ], 64))\n})","import { toDisplayString as _toDisplayString, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-0bb1ca0e\")\n\n_pushScopeId(\"data-v-0bb1ca0e\")\nconst _hoisted_1 = { style: {\"margin-bottom\":\"5px\"} }\nconst _hoisted_2 = { class: \"address\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"br\", null, null, -1)\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"br\", null, null, -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n return (_ctx.locationInfo !== null)\n ? (_openBlock(), _createBlock(\"button\", {\n key: 0,\n class: {selected: _ctx.selected},\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.onToggle && _ctx.onToggle(...args)))\n }, [\n _createVNode(\"h3\", _hoisted_1, _toDisplayString(_ctx.locationInfo.title), 1),\n _createVNode(\"p\", _hoisted_2, [\n _createVNode(\"span\", null, _toDisplayString(_ctx.locationInfo.storefrontAddress.addressLines[0]) + \" \" + _toDisplayString(_ctx.locationInfo.storefrontAddress.addressLines[1]), 1),\n _hoisted_3,\n _createVNode(\"span\", null, _toDisplayString(_ctx.locationInfo.storefrontAddress.locality) + \", \" + _toDisplayString(_ctx.locationInfo.storefrontAddress.administrativeArea) + \" \" + _toDisplayString(_ctx.locationInfo.storefrontAddress.postalCode), 1),\n _hoisted_4,\n _createVNode(\"span\", null, _toDisplayString(_ctx.locationInfo.phoneNumbers.primaryPhone), 1)\n ])\n ], 2))\n : _createCommentVNode(\"\", true)\n})","\nimport { Emit, Prop, Vue } from '../vue';\nimport { LocationModel } from '../models/category.model';\n\nexport default class LocationWidget extends Vue {\n @Prop({})\n locationInfo: LocationModel | null = null;\n\n @Prop({})\n selected = false;\n\n @Emit() toggle?: string | null;\n\n async onToggle(e: Event) {\n e.preventDefault();\n console.log('emitting with ' + this.locationInfo?.name);\n this.toggle = this.locationInfo?.name;\n }\n}\n\n","import { render } from \"./location-widget.vue?vue&type=template&id=0bb1ca0e&scoped=true&ts=true\"\nimport script from \"./location-widget.vue?vue&type=script&lang=ts\"\nexport * from \"./location-widget.vue?vue&type=script&lang=ts\"\n\nimport \"./location-widget.vue?vue&type=style&index=0&id=0bb1ca0e&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0bb1ca0e\"]])\n\nexport default __exports__","\nimport WizardInfo, { WizardInfoMetaData } from '../../components/wizard-info.vue';\nimport router, { RouteName } from '../../router';\nimport { LoadingOverlay, WizardProgress } from '../../components';\nimport { Options, Vue } from 'vue-class-component';\nimport LocationWidget from '../../components/location-widget.vue';\nimport { ApiService } from '../../services/api.service';\nimport { LocationModel } from '../../models/category.model';\n\n@Options({\n components: {\n LocationWidget,\n WizardInfo,\n WizardProgress,\n LoadingOverlay\n }\n})\nexport default class LocationSuccess extends Vue {\n private apiService: ApiService = ApiService.Instance;\n infoMetadata: WizardInfoMetaData = {\n metric: '59% of shoppers',\n afterMetric: 'say they research online before making a purchase to ensure they are making the best possible choice.',\n quote: '– Google/Ipsos study'\n };\n\n locations: LocationModel[] = [];\n\n RouteName = RouteName;\n loading = false;\n selectedItem: string | null = null;\n\n async mounted() {\n try {\n this.loading = true;\n this.locations = (await this.apiService.getLocations()).locations;\n this.loading = false;\n } catch (e) {\n console.error(e);\n }\n }\n\n async selectionMade(value: string) {\n this.selectedItem = value;\n }\n\n async onSubmit(e: Event) {\n e.preventDefault();\n this.loading = true;\n try {\n await this.apiService.createGMBFeed(this.locations.find(l => l.name === this.selectedItem)!.title);\n await router.push({ name: RouteName.WizardTracking });\n } catch (e) {\n console.error(e);\n }\n }\n}\n","import { render } from \"./location-success.vue?vue&type=template&id=1dbe19c7&scoped=true&ts=true\"\nimport script from \"./location-success.vue?vue&type=script&lang=ts\"\nexport * from \"./location-success.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1dbe19c7\"]])\n\nexport default __exports__","\nimport { Vue } from '../../vue';\nimport router, { RouteName } from '../../router';\nimport { MyBusinessService } from '../../services/my-business.service';\nimport { ApiService } from '../../services/api.service';\n\nexport default class LocationOAuthCallback extends Vue {\n private myBusinessService: MyBusinessService = MyBusinessService.Instance;\n private apiService: ApiService = ApiService.Instance;\n\n async mounted() {\n // This page is redirected to by the Google oAuth service after the user logs in.\n // The code query string parameter contains the authentication token.\n const code = this.myBusinessService.captureCode();\n if (code !== null) {\n try {\n await this.apiService.initCredentials(code, this.myBusinessService.redirectUrl);\n const hasGoogleAccount = localStorage.getItem('hasGoogleMyBusinessAccount');\n localStorage.removeItem('hasGoogleMyBusinessAccount');\n if (hasGoogleAccount === 'true') {\n await router.push({ name: RouteName.WizardLocationSuccess });\n } else {\n await router.push({ name: RouteName.WizardLocationBusVerification });\n }\n } catch (e) {\n await router.push({ name: RouteName.WizardLocation });\n }\n } else {\n await router.push({ name: RouteName.WizardLocation });\n }\n }\n}\n","import script from \"./location-oauth-callback.vue?vue&type=script&lang=ts\"\nexport * from \"./location-oauth-callback.vue?vue&type=script&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createTextVNode as _createTextVNode, Fragment as _Fragment, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-1d969e79\")\n\n_pushScopeId(\"data-v-1d969e79\")\nconst _hoisted_1 = /*#__PURE__*/_createVNode(\"h1\", null, \"ADP Metrics\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"h2\", null, \"Advertisers\", -1)\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\" Downloading ... \")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\" Download \")\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_el_row = _resolveComponent(\"el-row\")\n const _component_el_col = _resolveComponent(\"el-col\")\n const _component_el_button = _resolveComponent(\"el-button\")\n const _component_ag_grid_vue = _resolveComponent(\"ag-grid-vue\")\n const _component_el_card = _resolveComponent(\"el-card\")\n const _component_el_space = _resolveComponent(\"el-space\")\n\n return (_openBlock(), _createBlock(\"main\", null, [\n _createVNode(_component_el_space, {\n size: 14,\n alignment: \"stretch\",\n direction: \"vertical\",\n style: {\"width\":\"100%\"}\n }, {\n default: _withId(() => [\n _createVNode(_component_el_row, {\n justify: \"space-between\",\n type: \"flex\"\n }, {\n default: _withId(() => [\n _hoisted_1\n ]),\n _: 1\n }),\n _createVNode(_component_el_row, { type: \"flex\" }, {\n default: _withId(() => [\n _createVNode(_component_el_col, {\n sm: 24,\n md: 12\n }, {\n default: _withId(() => [\n _hoisted_2\n ]),\n _: 1\n }),\n _createVNode(_component_el_col, {\n sm: 24,\n md: 12\n }, {\n default: _withId(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n style: {\"float\":\"right\"},\n loading: _ctx.downloadingFile,\n onClick: _ctx.exportToExcel\n }, {\n default: _withId(() => [\n (_ctx.downloadingFile)\n ? (_openBlock(), _createBlock(_Fragment, { key: 0 }, [\n _hoisted_3\n ], 64))\n : (_openBlock(), _createBlock(_Fragment, { key: 1 }, [\n _hoisted_4\n ], 64))\n ]),\n _: 1\n }, 8, [\"loading\", \"onClick\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_el_card, null, {\n default: _withId(() => [\n _createVNode(_component_ag_grid_vue, {\n style: {\"width\":\"100%\",\"height\":\"800px\"},\n class: \"ag-theme-material\",\n columnDefs: _ctx.columnDefs,\n rowData: _ctx.reportData,\n \"grid-options\": _ctx.gridOptions\n }, null, 8, [\"columnDefs\", \"rowData\", \"grid-options\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n})","\nimport { Vue, Options } from '../../../vue';\nimport { LoadingOverlay } from '../../../components';\nimport { ApiService } from '../../../services/api.service';\nimport { RouteName } from '../../../router';\nimport { formatCost, formatDate } from '../../../utils/helpers';\nimport { AgGridVue } from 'ag-grid-vue3';\nimport { GridOptions, ValueFormatterParams } from 'ag-grid-community';\n\ninterface AccountMetricRow {\n adpId: string;\n businessName: string;\n contactName: string;\n contactEmail: string;\n registeredAt: string;\n googleAdsStatusAt: string | null;\n prevSpend?: number;\n monthSpend?: number;\n lifetimeSpend: number;\n status: string;\n}\n\n@Options({\n components: {\n LoadingOverlay,\n AgGridVue\n }\n})\nexport default class AdminReportAdpMetrics extends Vue {\n private apiService: ApiService = ApiService.Instance;\n loading = false;\n\n RouteName = RouteName;\n downloadingFile = false;\n reportData: Array = [];\n rowGroupPanelShow = 'always';\n\n get gridOptions(): GridOptions {\n return {\n defaultColDef: {\n flex: 1,\n filter: false,\n sortable: true,\n resizable: true\n },\n pagination: false,\n groupDisplayType: 'groupRows',\n groupDefaultExpanded: 1,\n excelStyles: [\n {\n id: 'dateUS',\n dataType: 'DateTime',\n numberFormat: {\n format: 'mm/dd/yy'\n }\n },\n {\n id: 'currencyFormat',\n numberFormat: {\n format: '$#,##0.00'\n }\n },\n {\n id: 'rowGroup',\n interior: {\n color: '#800000',\n pattern: 'Solid'\n },\n font: {\n color: '#ffffff'\n },\n dataType: 'String'\n }\n ],\n autoGroupColumnDef: {\n cellClass: 'rowGroup'\n }\n };\n }\n\n get columnDefs() {\n return [\n {\n headerName: 'Status',\n field: 'status',\n rowGroup: true,\n hide: true,\n filter: false\n },\n {\n headerName: 'ADP ID',\n field: 'adpId',\n enableRowGroup: false\n },\n {\n headerName: 'Business Name',\n field: 'businessName',\n enableRowGroup: false\n },\n {\n headerName: 'Name',\n field: 'contactName',\n enableRowGroup: false\n },\n {\n headerName: 'Email Address',\n field: 'contactEmail'\n },\n {\n headerName: 'Registration Date',\n field: 'registeredAt',\n valueFormatter: (params: ValueFormatterParams) => formatDate(params.value),\n cellClass: 'dateUS'\n },\n {\n headerName: 'Campaign Start/Canceled Date',\n field: 'googleAdsStatusAt',\n valueFormatter: (params: ValueFormatterParams) => params.value != null ? formatDate(params.value) : '',\n cellClass: 'dateUS'\n },\n {\n headerName: 'Prev Month Spend',\n field: 'prevSpend',\n valueFormatter: (params: ValueFormatterParams) => params.value ? formatCost(params.value, false) : '',\n cellClass: 'currencyFormat'\n },\n {\n headerName: 'MTD Spend',\n field: 'monthSpend',\n valueFormatter: (params: ValueFormatterParams) => params.value ? formatCost(params.value, false) : '',\n cellClass: 'currencyFormat'\n },\n {\n headerName: 'Lifetime Spend',\n field: 'lifetimeSpend',\n valueFormatter: (params: ValueFormatterParams) => params.value ? formatCost(params.value, false) : '',\n cellClass: 'currencyFormat'\n }\n ];\n }\n\n async mounted() {\n this.gridOptions.api!.showLoadingOverlay();\n const metrics = await this.apiService.getAdminReportMetrics();\n this.reportData = [...metrics.active.map(m => {\n return {\n adpId: m.adpId,\n businessName: m.businessName,\n contactName: m.contactName,\n contactEmail: m.contactEmail,\n registeredAt: new Date(m.registeredAt).toISOString(),\n googleAdsStatusAt: m.googleAdsStatusAt != null ? new Date(m.googleAdsStatusAt).toISOString() : null,\n prevSpend: m.prevMonthSpend,\n monthSpend: m.monthToDateSpend,\n lifetimeSpend: m.lifetimeSpend,\n status: 'Active Advertisers'\n };\n }), ...metrics.inActive.map(m => {\n return {\n adpId: m.adpId,\n businessName: m.businessName,\n contactName: m.contactName,\n contactEmail: m.contactEmail,\n registeredAt: new Date(m.registeredAt).toISOString(),\n googleAdsStatusAt: m.googleAdsStatusAt != null ? new Date(m.googleAdsStatusAt).toISOString() : null,\n prevSpend: m.prevMonthSpend,\n monthSpend: m.monthToDateSpend,\n lifetimeSpend: m.lifetimeSpend,\n status: 'In-Active Advertisers'\n };\n })];\n this.gridOptions.api!.hideOverlay();\n }\n\n async exportToExcel() {\n this.downloadingFile = true;\n this.gridOptions.api!.exportDataAsExcel({\n fileName: 'GABU Metrics.xlsx',\n fontSize: 11,\n prependContent: [[]]\n });\n setTimeout(() => { this.downloadingFile = false; }, 1000);\n }\n}\n\n","import { render } from \"./adp-metrics.vue?vue&type=template&id=1d969e79&scoped=true&ts=true\"\nimport script from \"./adp-metrics.vue?vue&type=script&lang=ts\"\nexport * from \"./adp-metrics.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1d969e79\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createStaticVNode as _createStaticVNode, Fragment as _Fragment, withScopeId as _withScopeId, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nconst _withId = /*#__PURE__*/_withScopeId(\"data-v-c09a4886\")\n\n_pushScopeId(\"data-v-c09a4886\")\nconst _hoisted_1 = { id: \"info\" }\nconst _hoisted_2 = { id: \"content-wrapper\" }\nconst _hoisted_3 = /*#__PURE__*/_createVNode(\"h1\", null, \"Great, let's get started with your quick ads setup!\", -1)\nconst _hoisted_4 = /*#__PURE__*/_createVNode(\"p\", { class: \"hint\" }, \"Because your ads will be running through Google Ads, the first step is to link your Google account.\", -1)\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"i\", { class: \"fas fa-question-circle\" }, null, -1)\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\" What if I don’t have a free Google account?\")\nconst _hoisted_7 = {\n key: 0,\n class: \"sign-in-info\"\n}\nconst _hoisted_8 = /*#__PURE__*/_createStaticVNode(\"
  1. Click Continue with Google below
  2. In Google, click Create account
  3. Select To manage my business
  4. Fill out the form.

    To use your existing email address, click Use my current email address instead under the username field.

\\\"google_create_account\\\"
\", 2)\nconst _hoisted_10 = { class: \"button-container ignore\" }\nconst _hoisted_11 = /*#__PURE__*/_createVNode(\"img\", {\n src: \"/img/google-badge.svg\",\n alt: \"google-badge\",\n class: \"badge\"\n}, null, -1)\nconst _hoisted_12 = /*#__PURE__*/_createVNode(\"span\", null, \"Link Your Google Account\", -1)\n_popScopeId()\n\nexport const render = /*#__PURE__*/_withId((_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) => {\n const _component_WizardInfo = _resolveComponent(\"WizardInfo\")\n const _component_LoadingOverlay = _resolveComponent(\"LoadingOverlay\")\n\n return (_openBlock(), _createBlock(_Fragment, null, [\n _createVNode(\"div\", _hoisted_1, [\n _createVNode(_component_WizardInfo, { metadata: _ctx.infoMetadata }, null, 8, [\"metadata\"])\n ]),\n _createVNode(\"div\", _hoisted_2, [\n _createVNode(\"div\", {\n id: \"content\",\n class: {loading: _ctx.loading}\n }, [\n _createVNode(_component_LoadingOverlay),\n _hoisted_3,\n _hoisted_4,\n _createVNode(\"button\", {\n class: \"button-link\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.shouldShowData = !_ctx.shouldShowData))\n }, [\n _hoisted_5,\n _hoisted_6\n ]),\n (_ctx.shouldShowData)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_7, [\n _hoisted_8\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_10, [\n _createVNode(\"button\", {\n class: \"w-icon sso-button\",\n disabled: !_ctx.authenticated,\n onclick: _ctx.linkGoogle\n }, [\n _hoisted_11,\n _hoisted_12\n ], 8, [\"disabled\", \"onclick\"])\n ])\n ], 2)\n ])\n ], 64))\n})","\nimport { Vue, Options } from '@/vue';\nimport WizardInfo, { WizardInfoMetaData } from '@/components/wizard-info.vue';\nimport { AuthProviders, AuthService } from '@/services/auth.service';\nimport { LoadingOverlay } from '@/components';\nimport { RouteName } from '@/router';\n\n@Options({\n components: {\n WizardInfo,\n LoadingOverlay\n }\n})\nexport default class Marketplace extends Vue {\n private authService: AuthService = AuthService.Instance;\n\n infoMetadata: WizardInfoMetaData = {\n beforeMetric: 'When you sign in with Google, you can be',\n metric: 'confident your information is secure.',\n afterMetric: 'You can enable features like multi-factor authentication for additional protection.'\n };\n\n shouldShowData = false;\n loading = false;\n\n get authenticated() {\n return this.authService.authenticated;\n }\n\n async linkGoogle() {\n await this.authService.linkToGoogle();\n return this.$router.push({ name: RouteName.WizardInfo });\n }\n\n async mounted() {\n const reqProviders = [AuthProviders.adp, AuthProviders.google];\n this.authService.Auth.onAuthStateChanged(u => {\n if (u && u.providerData && u.providerData.some(({ providerId }) => providerId === AuthProviders.adp)) {\n if (reqProviders.every(p => u.providerData.some(({ providerId }) => providerId === p))) {\n this.$router.push({ name: RouteName.WizardInfo });\n }\n } else {\n this.loading = true;\n this.authService.authenticateAdp();\n this.loading = false;\n }\n });\n }\n}\n","import { render } from \"./marketplace.vue?vue&type=template&id=c09a4886&scoped=true&ts=true\"\nimport script from \"./marketplace.vue?vue&type=script&lang=ts\"\nexport * from \"./marketplace.vue?vue&type=script&lang=ts\"\n\nimport \"./marketplace.vue?vue&type=style&index=0&id=c09a4886&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c09a4886\"]])\n\nexport default __exports__","import { createRouter, createWebHistory, NavigationGuardNext, RouteLocationNormalized, RouteRecordRaw } from 'vue-router';\nimport Wizard from '@/views/wizard/wizard.vue';\nimport Screener from '@/views/wizard/screener.vue';\nimport WizardSignIn from '@/views/wizard/sign-in.vue';\nimport Support from '@/views/wizard/support.vue';\nimport LinkAccount from '@/views/wizard/link-account.vue';\nimport Info from '@/views/wizard/info.vue';\nimport Budget from '@/views/wizard/budget.vue';\nimport Target from '@/views/wizard/target.vue';\nimport Tracking from '@/views/wizard/tracking.vue';\nimport Review from '@/views/wizard/review.vue';\nimport Dashboard from '@/views/dashboard/dashboard.vue';\nimport DashboardSignIn from '@/views/dashboard/sign-in.vue';\nimport Debug from '@/views/debug.vue';\nimport Billing from '@/views/wizard/billing.vue';\nimport StripeBilling from '@/views/wizard/stripe-billing.vue';\nimport Admin from '@/views/admin/admin.vue';\nimport AdminOverview from '@/views/admin/overview.vue';\nimport AdminTaxonomies from '@/views/admin/taxonomies/taxonomies.vue';\nimport AdminUsers from '@/views/admin/users.vue';\nimport AdminTaxonomyDetails from '@/views/admin/taxonomies/taxonomy-details.vue';\nimport InviteExpired from '@/views/dashboard/invite-expired.vue';\nimport AdminTaxonomyForm from '@/views/admin/taxonomies/taxonomy-form.vue';\nimport Forbidden from '@/views/dashboard/Forbidden.vue';\nimport AccountInactive from '@/views/dashboard/account-inactive.vue';\nimport NotFound from '@/views/dashboard/not-found.vue';\nimport DashboardOverview from '@/views/dashboard/dashboard-overview.vue';\nimport AdminCustomerOverview from '@/views/admin/admin-customer-overview.vue';\nimport AdminAccounts from '@/views/admin/accounts/accounts.vue';\nimport AdminAccountDetails from '@/views/admin/accounts/account-details.vue';\nimport AnalyticsClusters from '@/views/admin/analytics/clusters.vue';\nimport AnalyticsCluster from '@/views/admin/analytics/cluster.vue';\nimport AnalyticsKeywords from '@/views/admin/analytics/keywords.vue';\nimport AnalyticsKeyword from '@/views/admin/analytics/keyword.vue';\nimport AnalyticsKeywordCluster from '@/views/admin/analytics/keyword-cluster.vue';\nimport AnalyticsSearchTerms from '@/views/admin/analytics/search-terms.vue';\nimport AnalyticsSearchTerm from '@/views/admin/analytics/search-term.vue';\nimport AnalyticsSearchTermCluster from '@/views/admin/analytics/search-term-cluster.vue';\nimport AnalyticsDemographics from '@/views/admin/analytics/demographics.vue';\nimport AnalyticsDemographic from '@/views/admin/analytics/demographic.vue';\nimport AnalyticsDemographicCluster from '@/views/admin/analytics/demographic-cluster.vue';\nimport Location from '@/views/wizard/location.vue';\nimport LocationBusinessVerification from '@/views/wizard/location-business-verification.vue';\nimport LocationSuccess from '@/views/wizard/location-success.vue';\nimport LocationOAuthCallback from '@/views/wizard/location-oauth-callback.vue';\nimport AdminReportsAdpMetrics from '@/views/admin/reports/adp-metrics.vue';\nimport Marketplace from '@/views/wizard/marketplace.vue';\n\nimport { AdminService } from '@/services/admin.service';\n\nexport enum GeneralRoutes {\n Dashboard = 'Dashboard',\n Admin = 'Admin',\n Wizard = 'Wizard',\n SignIn = 'SignIn',\n InviteExpired = 'InviteExpired',\n NotFound = 'NotFound',\n Forbidden = 'Forbidden',\n Inactive = 'Inactive',\n Debug = 'Debug',\n}\n\nexport enum DashboardRoutes {\n DashboardOverview = 'DashboardOverview',\n}\n\nexport enum AdminRoutes {\n AdminOverview = 'AdminOverview',\n AdminAccounts = 'AdminAccounts',\n AdminAccountDetails = 'AdminAccountDetails',\n AdminAnalyticsClusters = 'AdminAnalyticsClusters',\n AdminAnalyticsCluster = 'AdminAnalyticsCluster',\n AdminAnalyticsKeywords = 'AdminAnalyticsKeywords',\n AdminAnalyticsKeyword = 'AdminAnalyticsKeyword',\n AdminAnalyticsKeywordCluster = 'AdminAnalyticsKeywordCluster',\n AdminAnalyticsSearchTerms = 'AdminAnalyticsSearchTerms',\n AdminAnalyticsSearchTerm = 'AdminAnalyticsSearchTerm',\n AdminAnalyticsSearchTermCluster = 'AdminAnalyticsSearchTermCluster',\n AdminAnalyticsDemographics = 'AdminAnalyticsDemographics',\n AdminAnalyticsDemographic = 'AdminAnalyticsDemographic',\n AdminAnalyticsDemographicCluster = 'AdminAnalyticsDemographicCluster',\n AdminTaxonomies = 'AdminTaxonomies',\n AdminTaxonomyDetails = 'AdminTaxonomyDetails',\n AdminTaxonomyFormEdit = 'AdminTaxonomyFormEdit',\n AdminTaxonomyFormNew = 'AdminTaxonomyFormNew',\n AdminUsers = 'AdminUsers',\n AdminCustomerOverview = 'AdminCustomerOverview',\n AdminReportsAdpMetrics = 'AdminReportsAdpMetrics'\n}\n\nexport enum WizardRoutes {\n WizardScreener = 'WizardScreener',\n WizardSupport = 'WizardSupport',\n WizardLinkAccount = 'WizardLinkAccount',\n WizardSignIn = 'WizardSignIn',\n WizardInfo = 'WizardInfo',\n WizardBudget = 'WizardBudget',\n WizardTarget = 'WizardTarget',\n WizardLocation = 'WizardLocation',\n WizardLocationBusVerification = 'WizardLocationBusVerification',\n WizardLocationSuccess = 'WizardLocationSuccess',\n WizardLocationOAuthCallback = 'WizardLocationOAuthCallback',\n WizardTracking = 'WizardTracking',\n WizardReview = 'WizardReview',\n WizardBilling = 'WizardBilling',\n WizardMarketplace = 'WizardMarketplace'\n}\n\nexport const RouteName = { ...GeneralRoutes, ...WizardRoutes, ...DashboardRoutes, ...AdminRoutes };\nexport type RouteNameType = typeof RouteName;\n\nconst routes: Array = [\n {\n path: '/',\n name: RouteName.Dashboard,\n component: Dashboard,\n children: [\n {\n path: 'overview',\n name: RouteName.DashboardOverview,\n component: DashboardOverview\n }\n ]\n },\n {\n path: '/customer-overview/:id',\n name: RouteName.AdminCustomerOverview,\n component: AdminCustomerOverview\n },\n {\n path: '/admin',\n name: RouteName.Admin,\n component: Admin,\n async beforeEnter(to: RouteLocationNormalized, from: RouteLocationNormalized, next: NavigationGuardNext) {\n await AdminService.Instance.setRole();\n next();\n },\n children: [\n {\n path: 'overview',\n name: RouteName.AdminOverview,\n component: AdminOverview\n },\n {\n path: 'accounts',\n name: RouteName.AdminAccounts,\n component: AdminAccounts\n },\n {\n path: 'accounts/:id',\n name: RouteName.AdminAccountDetails,\n component: AdminAccountDetails,\n meta: {\n textFormatter: function(text: string) {\n return text;\n },\n showCopyButton: true\n }\n },\n {\n path: 'analytics/clusters',\n name: RouteName.AdminAnalyticsClusters,\n component: AnalyticsClusters\n },\n {\n path: 'analytics/cluster/:id',\n name: RouteName.AdminAnalyticsCluster,\n component: AnalyticsCluster\n },\n {\n path: 'analytics/keywords',\n name: RouteName.AdminAnalyticsKeywords,\n component: AnalyticsKeywords\n },\n {\n path: 'analytics/keywords/:text',\n name: RouteName.AdminAnalyticsKeyword,\n component: AnalyticsKeyword\n },\n {\n path: 'analytics/keywords/:text/:clusterId',\n name: RouteName.AdminAnalyticsKeywordCluster,\n component: AnalyticsKeywordCluster\n },\n {\n path: 'analytics/search-term',\n name: RouteName.AdminAnalyticsSearchTerms,\n component: AnalyticsSearchTerms\n },\n {\n path: 'analytics/search-term/:searchTerm',\n name: RouteName.AdminAnalyticsSearchTerm,\n component: AnalyticsSearchTerm\n },\n {\n path: 'analytics/search-term/:searchTerm/:clusterId',\n name: RouteName.AdminAnalyticsSearchTermCluster,\n component: AnalyticsSearchTermCluster\n },\n {\n path: 'analytics/demographic/:type',\n name: RouteName.AdminAnalyticsDemographics,\n component: AnalyticsDemographics\n },\n {\n path: 'analytics/demographic/:type/:selector',\n name: RouteName.AdminAnalyticsDemographic,\n component: AnalyticsDemographic,\n meta: {\n textFormatter: function(text: string) {\n return text;\n }\n }\n },\n {\n path: 'analytics/demographic/:type/:selector/:clusterId',\n name: RouteName.AdminAnalyticsDemographicCluster,\n component: AnalyticsDemographicCluster,\n meta: {\n textFormatter: function(text: string) {\n return text;\n }\n }\n },\n {\n path: 'taxonomies',\n name: RouteName.AdminTaxonomies,\n component: AdminTaxonomies\n },\n {\n path: 'taxonomies/:id',\n name: RouteName.AdminTaxonomyDetails,\n component: AdminTaxonomyDetails\n },\n {\n path: 'taxonomies/edit/:id',\n name: RouteName.AdminTaxonomyFormEdit,\n component: AdminTaxonomyForm\n },\n {\n path: 'taxonomies/new',\n name: RouteName.AdminTaxonomyFormNew,\n component: AdminTaxonomyForm\n },\n {\n path: 'users',\n name: RouteName.AdminUsers,\n component: AdminUsers\n },\n {\n path: 'reports/adp-metrics',\n name: RouteName.AdminReportsAdpMetrics,\n component: AdminReportsAdpMetrics\n }\n ]\n },\n {\n path: '/sign-in',\n name: RouteName.SignIn,\n component: DashboardSignIn,\n async beforeEnter(to: RouteLocationNormalized, from: RouteLocationNormalized, next: NavigationGuardNext) {\n if (from && from?.path && from.path.indexOf('/admin/') > -1) {\n localStorage.setItem('admin-last-path', from.path);\n }\n next();\n }\n },\n {\n path: '/invite-expired',\n name: RouteName.InviteExpired,\n component: InviteExpired\n },\n {\n path: '/not-found',\n name: RouteName.NotFound,\n component: NotFound\n },\n {\n path: '/forbidden',\n name: RouteName.Forbidden,\n component: Forbidden\n },\n {\n path: '/in-active',\n name: RouteName.Inactive,\n component: AccountInactive\n },\n {\n path: '/debug',\n name: RouteName.Debug,\n component: Debug\n },\n {\n path: '/wizard',\n name: RouteName.Wizard,\n component: Wizard,\n children: [\n {\n path: 'marketplace',\n name: RouteName.WizardMarketplace,\n component: Marketplace\n },\n {\n path: 'screener',\n name: RouteName.WizardScreener,\n component: Screener\n },\n {\n path: 'sign-in',\n name: RouteName.WizardSignIn,\n component: WizardSignIn\n },\n {\n path: 'link-account',\n name: RouteName.WizardLinkAccount,\n component: LinkAccount\n },\n {\n path: 'support',\n name: RouteName.WizardSupport,\n component: Support\n },\n {\n path: 'info',\n name: RouteName.WizardInfo,\n component: Info\n },\n {\n path: 'budget',\n name: RouteName.WizardBudget,\n component: Budget\n },\n {\n path: 'target',\n name: RouteName.WizardTarget,\n component: Target\n },\n {\n path: 'review',\n name: RouteName.WizardReview,\n component: Review\n },\n {\n path: 'billing',\n name: RouteName.WizardBilling,\n component: process.env.VUE_APP_BRAND === 'upnetic' ? Billing : StripeBilling\n },\n {\n path: 'location',\n name: RouteName.WizardLocation,\n component: Location\n },\n {\n path: 'location-business-verification',\n name: RouteName.WizardLocationBusVerification,\n component: LocationBusinessVerification\n },\n {\n path: 'location-success',\n name: RouteName.WizardLocationSuccess,\n component: LocationSuccess\n },\n {\n path: 'location-oauth-callback',\n name: RouteName.WizardLocationOAuthCallback,\n component: LocationOAuthCallback\n },\n {\n path: 'tracking',\n name: RouteName.WizardTracking,\n component: Tracking\n }\n ]\n },\n {\n path: '/:catchAll(.*)',\n redirect: '/not-found'\n }\n];\n\nconst router = createRouter({\n history: createWebHistory(process.env.BASE_URL),\n routes\n});\n\nexport default router;\n","import { App } from 'vue';\n\nexport function registerClickOutsideDirective(app: App) {\n app.directive('click-outside', {\n beforeMount(el, binding, vnode) {\n el.clickOutsideEvent = function(event: { target: HTMLElement }) {\n if (!(el === event.target || el.contains(event.target))) {\n binding.value(event, el);\n }\n };\n document.body.addEventListener('click', el.clickOutsideEvent);\n },\n unmounted(el) {\n document.body.removeEventListener('click', el.clickOutsideEvent);\n }\n });\n}\n","import { createApp } from 'vue';\nimport App from './app.vue';\nimport './registerServiceWorker';\nimport { brand } from './utils/environment';\nimport router from './router';\nimport { Chart, registerables } from 'chart.js';\nimport ElementPlus from 'element-plus';\nimport 'element-plus/lib/theme-chalk/index.css';\nimport { registerClickOutsideDirective } from './directives/click-outside.directive';\n\nChart.register(...registerables);\n\nconst app = createApp(App).use(router);\n\napp.mixin({\n data() {\n return {\n brand,\n isUpnetic: brand.isUpnetic,\n isGSB: brand.isGSB,\n useStripe: !!brand.stripePublicKey\n };\n }\n});\n\napp.use(ElementPlus);\n\nregisterClickOutsideDirective(app);\n\napp.mount('#app');\n// eslint-disable-next-line @typescript-eslint/ban-ts-ignore\n// @ts-ignore\nwindow.__VUE_DEVTOOLS_GLOBAL_HOOK__?.Vue = app;\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader-v16/dist/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./app.scss?vue&type=style&index=0&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./account-details.vue?vue&type=style&index=1&id=e507f944&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./places-input.vue?vue&type=style&index=0&id=522d7652&scoped=true&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./customer-note.vue?vue&type=style&index=0&id=532fc872&scoped=true&lang=css\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./location-business-verification.vue?vue&type=style&index=0&id=6ee3e4d6&scoped=true&lang=css\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./link-account.vue?vue&type=style&index=0&id=45ed418e&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./screener.vue?vue&type=style&index=0&id=3f14b1af&scoped=true&lang=scss\""],"sourceRoot":""}