{"version":3,"sources":["libs/local-seo/src/lib/local-seo.ts","libs/local-seo/src/lib/upgrade-cta-dialog/upgrade-cta-dialog.service.ts","libs/local-seo/src/lib/keyword-tracking-page/keyword-tracking/keyword-tracking.service.ts","libs/local-seo/src/lib/keyword-tracking-page/local-seo-keyword-dialog/local-seo-keyword-dialog.component.ts","libs/local-seo/src/lib/keyword-tracking-page/local-seo-keyword-dialog/local-seo-keyword-dialog.component.html","libs/local-seo/src/lib/delta/delta.component.ts","libs/local-seo/src/lib/delta/delta.component.html","libs/local-seo/src/lib/local-seo-table/local-seo-graph/local-seo-graph.config.ts","libs/local-seo/src/lib/local-seo-table/local-seo-graph/local-seo-graph.component.ts","libs/local-seo/src/lib/local-seo-table/local-seo-graph/local-seo-graph.component.html","libs/local-seo/src/lib/local-seo-table/local-seo-grid/local-seo-grid.ts","libs/local-seo/src/lib/local-seo-table/local-seo-grid/local-seo-grid.component.ts","libs/local-seo/src/lib/local-seo-table/local-seo-grid/local-seo-grid.component.html","libs/local-seo/src/lib/local-seo-table/local-seo-table.component.ts","libs/local-seo/src/lib/local-seo-table/local-seo-table.component.html","libs/bit-chart/src/lib/chart-color.service.ts","libs/bit-chart/src/lib/config-parser.service.ts","libs/bit-chart/src/lib/chart.component.ts","libs/bit-chart/src/lib/chart.component.html","libs/bit-chart/src/lib/chart.module.ts","libs/bit-chart/src/lib/interface.ts","libs/bit-chart/src/lib/colors.ts","libs/bit-chart/src/lib/public_api.ts","libs/bit-chart/src/index.ts","libs/local-seo/src/lib/stat-tabs/stat-tabs.component.ts","libs/local-seo/src/lib/stat-tabs/stat-tabs.component.html","libs/local-seo/src/lib/keyword-stats-cards/local-seo-keywords-stats-cards.component.ts","libs/local-seo/src/lib/keyword-stats-cards/local-seo-keywords-stats-cards.component.html","libs/local-seo/src/lib/info-banner/info-banner.component.ts","libs/local-seo/src/lib/info-banner/info-banner.component.html","libs/local-seo/src/lib/keyword-tracking-page/keyword-tracking/keyword-tracking.component.ts","libs/local-seo/src/lib/keyword-tracking-page/keyword-tracking/keyword-tracking.component.html","libs/local-seo/src/lib/keyword-tracking-page/local-seo-settings-dialog/local-seo-settings-dialog.component.ts","libs/local-seo/src/lib/keyword-tracking-page/local-seo-settings-dialog/local-seo-settings-dialog.component.html","libs/local-seo/src/lib/keyword-tracking-page/local-seo-page-title-action/local-seo-page-title-action.component.ts","libs/local-seo/src/lib/keyword-tracking-page/local-seo-page-title-action/local-seo-page-title-action.component.html","libs/local-seo/src/lib/keyword-stats-cards/local-seo-keywords-stats-cards.module.ts","libs/local-seo/src/lib/assets/i18n/en_devel.json","libs/local-seo/src/lib/local-seo-table/local-seo-table.module.ts","libs/local-seo/src/lib/keyword-tracking-page/keyword-tracking/keyword-tracking.module.ts","node_modules/ng-click-outside/lib_esmodule/click-outside.directive.js","node_modules/ng-click-outside/lib_esmodule/click-outside.module.js","node_modules/ng-click-outside/lib_esmodule/index.js","libs/local-seo/src/lib/business-center/business-center.service.ts","libs/local-seo/src/lib/repcore-api/repcore-api.service.ts","node_modules/@vendasta/listing-sync-pro/fesm2020/vendasta-listing-sync-pro.mjs","libs/local-seo/src/lib/listings-management/listing-sync.api.service.ts","libs/local-seo/src/lib/listings-management/listing-score.api.service.ts","node_modules/@vendasta/listing-syndication/fesm2020/vendasta-listing-syndication.mjs","libs/local-seo/src/lib/listings-management/listing-sync-table/columns/presence-accuracy/accuracy-text.pipe.ts","libs/local-seo/src/lib/listings-management/language-service.service.ts","libs/local-seo/src/lib/listings-management/listing-sync-table/listing-sync-table.service.ts","libs/local-seo/src/lib/listings-management/listing-sync.service.ts","libs/local-seo/src/lib/listings-management/listings-management.component.ts","libs/local-seo/src/lib/listings-management/listings-management.component.html","node_modules/ngx-json-viewer/fesm2020/ngx-json-viewer.mjs","libs/local-seo/src/lib/color-icon/color-icon.component.ts","libs/local-seo/src/lib/color-icon/color-icon.component.html","libs/local-seo/src/lib/disconnect-service-modal/disconnect-service-modal.component.ts","libs/local-seo/src/lib/disconnect-service-modal/disconnect-service-modal.component.html","libs/local-seo/src/lib/repcore-api/vapi.service.ts","libs/local-seo/src/lib/listings-management/connected-account-modal/connected-account-modal.component.ts","libs/local-seo/src/lib/listings-management/connected-account-modal/connected-account-modal.component.html","libs/local-seo/src/lib/listings-management/listing-sync-table/columns/column.directive.ts","libs/local-seo/src/lib/listings-management/listing-sync-table/columns/presence-accuracy/presence-accuracy.component.ts","libs/local-seo/src/lib/listings-management/listing-sync-table/columns/presence-accuracy/presence-accuracy.component.html","libs/local-seo/src/lib/listings-management/listing-sync-table/columns/source-name-column/icon/icon.component.ts","libs/local-seo/src/lib/listings-management/listing-sync-table/columns/source-name-column/icon/icon.component.html","libs/local-seo/src/lib/listings-management/listing-sync-table/columns/source-name-column/source-name-column.component.ts","libs/local-seo/src/lib/listings-management/listing-sync-table/columns/source-name-column/source-name-column.component.html","libs/local-seo/src/lib/listings-management/listing-sync-table/columns/status-column/status-column.component.ts","libs/local-seo/src/lib/listings-management/listing-sync-table/columns/status-column/status-column.component.html","libs/local-seo/src/lib/listings-management/listing-sync-table/sync-info-modal/sync-info-modal.component.ts","libs/local-seo/src/lib/listings-management/listing-sync-table/sync-info-modal/sync-info-modal.component.html","libs/local-seo/src/lib/listings-management/listing-sync-table/listing-sidebar-accuracy/listing-sidebar-accuracy.component.ts","libs/local-seo/src/lib/listings-management/listing-sync-table/listing-sidebar-accuracy/listing-sidebar-accuracy.component.html","libs/local-seo/src/lib/listings-management/listing-sync-table/listing-sidebar-actions/listing-sidebar-actions.component.ts","libs/local-seo/src/lib/listings-management/listing-sync-table/listing-sidebar-actions/listing-sidebar-actions.component.html","libs/local-seo/src/lib/listings-management/listing-sync-table/listing-sidebar-errors/listing-sidebar-errors.component.ts","libs/local-seo/src/lib/listings-management/listing-sync-table/listing-sidebar-errors/listing-sidebar-errors.component.html","libs/local-seo/src/lib/listings-management/listing-sync-table/listing-sidebar-accounts/listing-sidebar-accounts.component.ts","libs/local-seo/src/lib/listings-management/listing-sync-table/listing-sidebar-accounts/listing-sidebar-accounts.component.html","libs/local-seo/src/lib/listings-management/listing-sync-table/listing-sidebar/listing-sidebar.component.ts","libs/local-seo/src/lib/listings-management/listing-sync-table/listing-sidebar/listing-sidebar.component.html","libs/local-seo/src/lib/listings-management/listing-sync-table/listing-sync-table-filter.service.ts","libs/local-seo/src/lib/listings-management/listing-sync-table/listing-sync-table-model.ts","libs/local-seo/src/lib/listings-management/listing-sync-table/listing-sync-table.component.ts","libs/local-seo/src/lib/listings-management/listing-sync-table/listing-sync-table.component.html","libs/local-seo/src/lib/listings-management/listings-summary-card/listings-summary-card.component.ts","libs/local-seo/src/lib/listings-management/listings-summary-card/listings-summary-card.component.html","libs/local-seo/src/lib/listings-management/primary-sources/primary-source/primary-source.component.ts","libs/local-seo/src/lib/listings-management/primary-sources/primary-source/primary-source.component.html","libs/local-seo/src/lib/listings-management/primary-sources/primary-sources.component.ts","libs/local-seo/src/lib/listings-management/primary-sources/primary-sources.component.html","libs/local-seo/src/lib/listings-management/syncing-progress-summary-card/syncing-progress-summary-card.component.ts","libs/local-seo/src/lib/listings-management/syncing-progress-summary-card/syncing-progress-summary-card.component.html","libs/local-seo/src/lib/index.ts","libs/local-seo/src/index.ts","libs/local-seo/src/lib/listings-management/listings-nap-map-card/listings-nap-map-card.component.ts","libs/local-seo/src/lib/listings-management/listings-nap-map-card/listings-nap-map-card.component.html","libs/local-seo/src/lib/listings-management/listings-management.module.ts"],"sourcesContent":["import {\n AccuracyStatus,\n ConnectedDirectSyncAccount,\n EcosystemSource,\n Provider,\n SEODataSummary,\n SourceAccuracy,\n SyncData as SyncDataProto,\n SyncRequirement,\n SyncStatus,\n SyndicationStatus,\n} from '@vendasta/listing-products';\nimport { formatNumber } from '@angular/common';\nimport { DateRange } from '@vendasta/galaxy/utility/date-utils';\nimport { ScoreData } from '@vendasta/listing-sync-pro';\nimport { TranslateService } from '@ngx-translate/core';\nimport { CategorySelectService } from '@galaxy/business-category';\nimport { LanguageService } from './listings-management/language-service.service';\nimport { Observable, of } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { CategoryRequest, CategoryType } from '@vendasta/category';\n\nexport const SEARCH_RADIUS_LOCAL = 1.25;\nexport const SEARCH_RADIUS_SMALL_CITY = 2.5;\nexport const SEARCH_RADIUS_BIG_CITY = 5;\nexport const SEARCH_RADIUS_XL_CITY = 10;\n\nexport const AGIDTOKEN = 'AGID';\nexport const IS_IMPERSONATING_TOKEN = 'IS_IMPERSONATING';\nexport const DEMO_PAID_EDITION = 'EDITION-MXWLTQPN';\nexport const PROD_PAID_EDITION = 'EDITION-CFH5CKHC';\nexport const APP_ID = 'MS';\n\nexport const AppleSourceID = 13840;\nexport const FacebookSourceID = 10050;\nexport const GoogleSourceID = 10010;\nexport const InstagramSourceID = 11610;\nexport const XSourceID = 10060;\nexport const BingSourceID = 10020;\nexport const Top4SourceID = 14920;\n\nexport const LOCAL_SEO_UI_TRIGGER = 'local seo ui';\n\nexport const SEODataSearchRadiusZoomValue = {\n [SEARCH_RADIUS_LOCAL]: 12.6,\n [SEARCH_RADIUS_SMALL_CITY]: 11.55,\n [SEARCH_RADIUS_BIG_CITY]: 10.6,\n [SEARCH_RADIUS_XL_CITY]: 9.7,\n};\n\nexport const SEODataSearchRadiusTypes = [\n SEARCH_RADIUS_LOCAL,\n SEARCH_RADIUS_SMALL_CITY,\n SEARCH_RADIUS_BIG_CITY,\n SEARCH_RADIUS_XL_CITY,\n] as const;\n\nexport type SeoDataSearchRadiusType = (typeof SEODataSearchRadiusTypes)[number];\n\nexport const MaxRank = 50;\nexport const MaxMapsRank = 20;\n\nexport interface SEODataPoint {\n date: Date;\n value: number;\n}\n\nexport interface SeoDataKeywordMetrics {\n dateRange?: DateRange;\n keyword?: string;\n localRank?: SEODataPoint[];\n organicRank?: SEODataPoint[];\n}\n\nexport interface SeoDataSettings {\n businessId?: string;\n localSearchRadius?: number;\n favoriteKeywords?: string[];\n}\n\nexport interface Stat {\n value: string;\n rawValue: number;\n}\n\nexport class SEOTableData {\n keyword: Stat;\n date: Date;\n localRank: Stat;\n organicRank: Stat;\n localStartedAt: Stat;\n organicStartedAt: Stat;\n difficulty: Stat;\n searchVolume: Stat;\n metrics?: SeoDataKeywordMetrics;\n searchRadius?: number;\n isFavorite?: boolean;\n inProgress?: boolean;\n\n constructor(keyword: string, data: SEODataSummary, metrics: SeoDataKeywordMetrics, favoriteKeywords?: string[]) {\n if (!data) {\n this.inProgress = true;\n }\n\n this.keyword = { value: keyword, rawValue: 0 };\n this.date = data?.date;\n this.localRank = {\n value: convertRank(0, this.inProgress),\n rawValue: 0,\n };\n this.organicRank = {\n value: convertRank(0, this.inProgress),\n rawValue: 0,\n };\n if (metrics?.localRank.length > 0) {\n this.localRank = {\n value: convertRank(metrics.localRank[metrics.localRank.length - 1].value, this.inProgress),\n rawValue: metrics.localRank[metrics.localRank.length - 1].value,\n };\n }\n if (metrics?.organicRank.length > 0) {\n this.organicRank = {\n value: convertRank(metrics.organicRank[metrics.organicRank.length - 1].value, this.inProgress),\n rawValue: metrics.organicRank[metrics.organicRank.length - 1].value,\n };\n }\n this.difficulty = {\n value: convertDifficulty(data?.difficulty),\n rawValue: data?.difficulty,\n };\n this.searchVolume = {\n value: convertNumber(data?.searchVolume),\n rawValue: data?.searchVolume,\n };\n this.searchRadius = data?.searchRadius;\n this.metrics = metrics;\n\n this.localStartedAt = {\n value: convertRank(0, this.inProgress),\n rawValue: this.localRank.value === '—' || this.localRank.value === 'NR' ? 0 : MaxMapsRank,\n };\n this.organicStartedAt = {\n value: convertRank(0, this.inProgress),\n rawValue: this.organicRank.value === '—' || this.organicRank.value === 'NR' ? 0 : MaxRank,\n };\n if (metrics?.localRank.length > 0) {\n this.localStartedAt = {\n value: convertRank(metrics.localRank[0].value, this.inProgress),\n rawValue:\n this.localRank.value === '—' || this.localRank.value === 'NR' ? 0 : metrics.localRank[0].value || MaxMapsRank,\n };\n }\n if (metrics?.organicRank.length > 0) {\n this.organicStartedAt = {\n value: convertRank(metrics.organicRank[0].value, this.inProgress),\n rawValue:\n this.organicRank.value === '—' || this.organicRank.value === 'NR'\n ? 0\n : metrics.organicRank[0].value || MaxRank,\n };\n }\n this.isFavorite = favoriteKeywords?.includes(keyword);\n }\n}\n\nfunction convertDifficulty(value?: number): string {\n if (value === null || value === undefined || value === 0) {\n return 'N/A';\n }\n if (value < 33) {\n return 'Low';\n }\n if (value < 66) {\n return 'Medium';\n }\n return 'High';\n}\n\nfunction convertRank(value: number, inProgress: boolean): string {\n if (inProgress) {\n return '—';\n }\n if (value === null || value === undefined || value === 0) {\n return 'NR';\n }\n if (value > MaxRank) {\n return '50+';\n }\n return formatNumber(value, 'en-US', '1.0-2');\n}\n\nfunction convertNumber(value?: number): string {\n if (value === null || value === undefined || value === 0) {\n return 'N/A';\n }\n return formatNumber(value, 'en-US', '1.0-2');\n}\n\nexport const LocaleDateTickFormatting = (val: any) => {\n if (val instanceof Date) {\n let locale = 'en';\n if (localStorage) {\n locale = localStorage['locale'] || 'en';\n }\n return (val).toLocaleDateString(locale, { month: 'short', day: 'numeric' });\n }\n return val;\n};\n\nexport const WholeNumberTickFormatting = (val: any) => {\n if (val % 1 === 0) {\n return val.toLocaleString();\n }\n return '';\n};\n\nexport interface SyncingProgressSummaryData {\n totalSourcesCount: number;\n syncedSourcesCount: number;\n syncInProgressSourcesCount: number;\n notSyncingSourcesCount: number;\n}\n\nexport interface ListingsScoreSummaryData {\n listingScore: number;\n originalListingScore: number;\n industryAverageListingsScore: number;\n ninetyFifthPercentile: number;\n totalAcceptedSources: number;\n totalSources: number;\n totalAccurate: number;\n totalPossibleErrors: number;\n totalNotFound: number;\n history: { name: Date; value: number }[];\n}\n\nexport function determineOriginalListingScore(scoreData: ScoreData): number {\n if (!scoreData?.listingScoreHistory || scoreData?.listingScoreHistory.length <= 0) {\n return 0;\n }\n\n return scoreData.listingScoreHistory[0].score || 0;\n}\n\nexport interface SyncingProgressSyncLegend {\n icon: MaterialIcons;\n name: string;\n description: string;\n style: SyncStyle;\n}\n\nexport enum MaterialIcons {\n DONE = 'done',\n SYNC = 'sync',\n SYNC_DISABLED = 'sync_disabled',\n SYNC_PROBLEM = 'sync_problem',\n VISIBILITY = 'visibility',\n WARNING = 'warning',\n LOCK = 'lock',\n LINK_OFF = 'link_off',\n NONE = '',\n}\n\nexport enum SyncStyle {\n UNSET = 'unset',\n SUCCESS = 'success',\n WARNING = 'warning',\n NEUTRAL = 'neutral',\n}\n\nexport interface DirectSubmitSourceConfig {\n RequiresAccount: boolean;\n}\n\nexport const DIRECT_SUBMIT_SOURCE_CONFIG: Record = {\n [GoogleSourceID]: {\n RequiresAccount: true,\n },\n [FacebookSourceID]: {\n RequiresAccount: true,\n },\n [XSourceID]: {\n RequiresAccount: true,\n },\n [InstagramSourceID]: {\n RequiresAccount: true,\n },\n};\n\nexport interface AccuracyAndSyncMapping {\n syncIcon: MaterialIcons;\n style: SyncStyle;\n syncText: string;\n tooltipTitle?: string;\n tooltipText?: string;\n}\n\nexport const SyncStatusMapping = new Map([\n [\n SyncStatus.SYNC_STATUS_SUCCESS,\n {\n syncIcon: MaterialIcons.DONE,\n style: SyncStyle.SUCCESS,\n syncText: 'LISTING_SYNC.SYNC_STATUS_SUCCESS.NAME',\n },\n ],\n [\n SyncStatus.SYNC_STATUS_SUBMITTED,\n {\n syncIcon: MaterialIcons.DONE,\n style: SyncStyle.SUCCESS,\n syncText: 'LISTING_SYNC.SYNC_STATUS_SUBMITTED.NAME',\n },\n ],\n [\n SyncStatus.SYNC_STATUS_SYNCING,\n {\n syncIcon: MaterialIcons.SYNC,\n style: SyncStyle.SUCCESS,\n syncText: 'LISTING_SYNC.SYNC_STATUS_SYNCING.NAME',\n },\n ],\n [\n SyncStatus.SYNC_STATUS_PARTIALLY_SYNCED,\n {\n syncIcon: MaterialIcons.SYNC_PROBLEM,\n style: SyncStyle.WARNING,\n syncText: 'LISTING_SYNC.SYNC_STATUS_PARTIALLY_SYNCED.NAME',\n },\n ],\n [\n SyncStatus.SYNC_STATUS_FAILED,\n {\n syncIcon: MaterialIcons.WARNING,\n style: SyncStyle.WARNING,\n syncText: 'LISTING_SYNC.SYNC_STATUS_FAILED.NAME',\n },\n ],\n [\n SyncStatus.SYNC_STATUS_CLAIMED,\n {\n syncIcon: MaterialIcons.LOCK,\n style: SyncStyle.WARNING,\n syncText: 'LISTING_SYNC.SYNC_STATUS_CLAIMED.NAME',\n tooltipTitle: 'LISTING_SYNC.LSP_ADDON.COLUMNS.SYNC_STATUS.NOT_CLAIMABLE.TOOLTIP.TITLE',\n tooltipText: 'LISTING_SYNC.LSP_ADDON.COLUMNS.SYNC_STATUS.NOT_CLAIMABLE.TOOLTIP.DESCRIPTION',\n },\n ],\n [\n SyncStatus.SYNC_STATUS_UNAVAILABLE,\n {\n syncIcon: MaterialIcons.SYNC_DISABLED,\n style: SyncStyle.NEUTRAL,\n syncText: 'LISTING_SYNC.SYNC_STATUS_UNAVAILABLE.NAME',\n },\n ],\n [\n SyncStatus.SYNC_STATUS_UNSET,\n {\n syncIcon: null,\n style: SyncStyle.NEUTRAL,\n syncText: 'LISTING_SYNC.SYNC_STATUS_UNSET.NAME',\n },\n ],\n]);\n\nexport const SyncingProgressSyncLegendConfig: SyncingProgressSyncLegend[] = [\n {\n icon: MaterialIcons.DONE,\n name: 'LISTING_SYNC.SYNC_STATUS_SUCCESS.NAME',\n description: 'LISTING_SYNC.SYNC_STATUS_SUCCESS.DESCRIPTION',\n style: SyncStyle.SUCCESS,\n },\n {\n icon: MaterialIcons.DONE,\n name: 'LISTING_SYNC.SYNC_STATUS_SUBMITTED.NAME',\n description: 'LISTING_SYNC.SYNC_STATUS_SUBMITTED.DESCRIPTION',\n style: SyncStyle.SUCCESS,\n },\n {\n icon: MaterialIcons.SYNC,\n name: 'LISTING_SYNC.SYNC_STATUS_SYNCING.NAME',\n description: 'LISTING_SYNC.SYNC_STATUS_SYNCING.DESCRIPTION',\n style: SyncStyle.SUCCESS,\n },\n {\n icon: MaterialIcons.SYNC_PROBLEM,\n name: 'LISTING_SYNC.SYNC_STATUS_PARTIALLY_SYNCED.NAME',\n description: 'LISTING_SYNC.SYNC_STATUS_PARTIALLY_SYNCED.DESCRIPTION',\n style: SyncStyle.WARNING,\n },\n {\n icon: MaterialIcons.WARNING,\n name: 'LISTING_SYNC.SYNC_STATUS_FAILED.NAME',\n description: 'LISTING_SYNC.SYNC_STATUS_FAILED.DESCRIPTION',\n style: SyncStyle.WARNING,\n },\n {\n icon: MaterialIcons.LOCK,\n name: 'LISTING_SYNC.SYNC_STATUS_CLAIMED.NAME',\n description: 'LISTING_SYNC.SYNC_STATUS_CLAIMED.DESCRIPTION',\n style: SyncStyle.WARNING,\n },\n];\n\nexport enum DirectSyncErrorCode {\n SUBMISSION_ERROR = 1,\n INVALID_CATEGORY_ERROR = 2,\n INVALID_FIELD_ERROR = 3,\n MISSING_FIELD_ERROR = 4,\n MISMATCHED_FIELD_ERROR = 5,\n AUTHENTICATION_ERROR = 6,\n AUTHORIZATION_ERROR = 7,\n UNABLE_TO_VALIDATE_ERROR = 8,\n CANNOT_HIDE_ADDRESS_ERROR = 9,\n UNABLE_TO_GEOCODE_ERROR = 10,\n UNABLE_TO_UPDATE_PHONE_ERROR = 11,\n IMAGE_REQUIREMENTS_ERROR = 12,\n MISSING_ADDRESS_ERROR = 13,\n CLAIMED_ERROR = 14,\n}\n\nexport const DirectSyncErrorTranslationKeys: Record = {\n [DirectSyncErrorCode.SUBMISSION_ERROR]: 'LISTING_SYNC.SYNC_STATUS.UNKNOWN_ERROR',\n [DirectSyncErrorCode.INVALID_CATEGORY_ERROR]: 'LISTING_SYNC.SYNC_STATUS.INVALID_CATEGORY',\n [DirectSyncErrorCode.INVALID_FIELD_ERROR]: 'LISTING_SYNC.SYNC_STATUS.INVALID_FIELD',\n [DirectSyncErrorCode.MISSING_FIELD_ERROR]: 'LISTING_SYNC.SYNC_STATUS.MISSING_FIELD',\n [DirectSyncErrorCode.MISMATCHED_FIELD_ERROR]: 'LISTING_SYNC.SYNC_STATUS.MISMATCHED_FIELD',\n [DirectSyncErrorCode.AUTHENTICATION_ERROR]: 'LISTING_SYNC.SYNC_STATUS.AUTHENTICATION_ERROR',\n [DirectSyncErrorCode.AUTHORIZATION_ERROR]: 'LISTING_SYNC.SYNC_STATUS.AUTHORIZATION_ERROR',\n [DirectSyncErrorCode.UNABLE_TO_VALIDATE_ERROR]: 'LISTING_SYNC.SYNC_STATUS.UNABLE_TO_VALIDATE',\n [DirectSyncErrorCode.CANNOT_HIDE_ADDRESS_ERROR]: 'LISTING_SYNC.SYNC_STATUS.CANNOT_HIDE_ADDRESS',\n [DirectSyncErrorCode.UNABLE_TO_GEOCODE_ERROR]: 'LISTING_SYNC.SYNC_STATUS.UNABLE_TO_GEOCODE',\n [DirectSyncErrorCode.UNABLE_TO_UPDATE_PHONE_ERROR]: 'LISTING_SYNC.SYNC_STATUS.UNABLE_TO_UPDATE_PHONE',\n [DirectSyncErrorCode.IMAGE_REQUIREMENTS_ERROR]: 'LISTING_SYNC.SYNC_STATUS.IMAGE_REQUIREMENTS',\n [DirectSyncErrorCode.MISSING_ADDRESS_ERROR]: 'LISTING_SYNC.SYNC_STATUS.MISSING_ADDRESS',\n [DirectSyncErrorCode.CLAIMED_ERROR]: 'LISTING_SYNC.SYNC_STATUS_CLAIMED.DESCRIPTION',\n};\n\nexport interface MismatchedField {\n field: string;\n current: string;\n suggested: string;\n}\n\nexport interface SyncError {\n message: string;\n listedFields?: string[];\n}\n\nexport class DirectSyncErrorMessage {\n mismatchedFieldDetails?: MismatchedField[];\n missingFields?: string[];\n invalidFields?: string[];\n errorCode?: DirectSyncErrorCode;\n sourceName?: string;\n currentCategory?: string;\n suggestedCategory?: string;\n link?: string;\n rawMessage?: string;\n\n private translate: TranslateService;\n private categoryService: CategorySelectService;\n private languageService: LanguageService;\n\n constructor(\n translate: TranslateService,\n categoryService: CategorySelectService,\n languageService: LanguageService,\n rawJSON: string,\n ) {\n this.translate = translate;\n this.categoryService = categoryService;\n this.languageService = languageService;\n\n const parsed = JSON.parse(rawJSON);\n this.mismatchedFieldDetails = parsed?.mismatchedFieldDetails;\n this.missingFields = parsed?.missingFields;\n this.invalidFields = parsed?.invalidFields;\n this.errorCode = parsed?.errorCode;\n this.sourceName = parsed?.sourceName;\n this.currentCategory = parsed?.currentCategory;\n this.suggestedCategory = parsed?.suggestedCategory;\n this.link = parsed?.link;\n this.rawMessage = parsed?.rawMessage;\n }\n\n get fields(): string[] {\n let fields: string[] = [];\n switch (this.errorCode) {\n case DirectSyncErrorCode.MISSING_FIELD_ERROR:\n fields = this.missingFields;\n break;\n case DirectSyncErrorCode.IMAGE_REQUIREMENTS_ERROR:\n case DirectSyncErrorCode.INVALID_FIELD_ERROR:\n fields = this.invalidFields;\n break;\n case DirectSyncErrorCode.MISMATCHED_FIELD_ERROR:\n return this.formatMismatchedFields;\n }\n return fields.map((field) => getTranslatedErrorMessageField(this.translate, field));\n }\n\n get formatMismatchedFields(): string[] {\n const current = this.translate.instant('LISTING_SYNC.SYNC_STATUS.CURRENT');\n const suggested = this.translate.instant('LISTING_SYNC.SYNC_STATUS.SUGGESTED');\n return this.mismatchedFieldDetails.map((field) => {\n const fieldName = getTranslatedErrorMessageField(this.translate, field.field);\n return `\\n${fieldName}: \\n${current}: ${field.current}, \\n${suggested}: ${field.suggested},\\n`;\n });\n }\n\n get translatedError$(): Observable {\n if (!this.errorCode) {\n return of({\n message: this.rawMessage,\n });\n }\n\n const key = DirectSyncErrorTranslationKeys[this.errorCode];\n if (this.errorCode === DirectSyncErrorCode.INVALID_CATEGORY_ERROR) {\n return this.getCategories(this.currentCategory, this.suggestedCategory).pipe(\n map((cats) => {\n return {\n message: this.translate.instant(key, {\n source: this.sourceName,\n current_category: cats.at(0),\n suggested_category: cats.at(1),\n }),\n };\n }),\n );\n }\n if (this.errorCode === DirectSyncErrorCode.IMAGE_REQUIREMENTS_ERROR) {\n const field = this.invalidFields.length > 0 ? this.invalidFields[0] : '';\n const requirements = getImageRequirementByField(field);\n let translatedField = this.fields?.join('');\n translatedField = this.link ? `${translatedField}` : translatedField;\n\n return of({\n message: this.translate.instant(key, {\n source: this.sourceName,\n field: translatedField,\n requirements: this.translate.instant(requirements),\n }),\n });\n }\n\n return of({\n message: this.translate.instant(key, {\n source: this.sourceName,\n field: this.fields?.join(', '),\n link: this.link,\n }),\n });\n }\n\n private getCategories(currentCat: string, suggestedCat: string): Observable {\n const currentAndSuggested: CategoryRequest[] = [\n new CategoryRequest({\n categoryType: CategoryType.CATEGORY_TYPE_V_CATEGORY,\n externalId: currentCat,\n }),\n new CategoryRequest({\n categoryType: CategoryType.CATEGORY_TYPE_V_CATEGORY,\n externalId: suggestedCat,\n }),\n ];\n\n this.categoryService.language$$.next(this.languageService.getCurrentLang());\n\n return this.categoryService\n .getCategoryByExternalIDsAndType(currentAndSuggested)\n .pipe(map((categories) => categories.map((cat) => cat.name)));\n }\n}\n\nexport function syncBadgeIcon(source: SyncDataProto): MaterialIcons {\n if (source.account?.tokenBroken) {\n if (source.account.tokenBroken) {\n return MaterialIcons.LINK_OFF;\n }\n }\n\n if (source.account?.connectionId && !source.account?.isAuthenticated) {\n return MaterialIcons.WARNING;\n }\n\n if (source.isSyncingEnabled) {\n return SyncStatusMapping.get(source.syncStatus)?.syncIcon;\n }\n return MaterialIcons.NONE;\n}\n\nexport function accuracyBadgeStyle(src: SyncDataProto): SyncStyle {\n if (src.accuracy.status === AccuracyStatus.ACCURACY_STATUS_ACCURATE) {\n return SyncStyle.SUCCESS;\n }\n return SyncStyle.UNSET;\n}\n\nexport function syncBadgeStyle(source: SyncDataProto): SyncStyle {\n if (source.account?.tokenBroken) {\n return SyncStyle.UNSET;\n }\n if (source.account?.connectionId && !source.account?.isAuthenticated) {\n return SyncStyle.WARNING;\n }\n\n if (source.isSyncingEnabled) {\n return SyncStatusMapping.get(source.syncStatus)?.style;\n }\n return SyncStyle.NEUTRAL;\n}\n\nexport function getSyncStatusText(\n translate: TranslateService,\n sourceId: number,\n sourceName: string,\n listingFound: boolean,\n accuracy: AccuracyStatus,\n hasAccountConnected: boolean,\n isSyncingEnabled: boolean,\n locked: boolean,\n isTokenBroken: boolean,\n isVerified: boolean,\n isGoogleTokenBroken: boolean,\n syncStatus: SyncStatus,\n): string {\n if (sourceId == GoogleSourceID && isGoogleTokenBroken) {\n return translate.instant('LISTING_SYNC.SYNCING_STATUS.BROKEN');\n }\n\n if (sourceId == GoogleSourceID && hasAccountConnected && !isVerified) {\n return translate.instant('LISTING_SYNC.SYNCING_STATUS.PROFILE_UNVERIFIED');\n }\n\n if (sourceId == BingSourceID && isSyncingEnabled && !listingFound) {\n return translate.instant('LISTING_SYNC.SYNCING_STATUS.CREATING');\n }\n\n if (locked) {\n if (!listingFound) {\n return translate.instant('LISTING_SYNC.SYNCING_STATUS.LOCKED_UPGRADE_TO_CREATE');\n }\n return translate.instant('LISTING_SYNC.SYNCING_STATUS.LOCKED_UPGRADE_TO_SYNC');\n }\n\n if (!hasAccountConnected) {\n if (sourceId === InstagramSourceID) {\n return translate.instant('LISTING_SYNC.SYNCING_STATUS.CONNECT_FACEBOOK_TO_SYNC');\n }\n if (!listingFound) {\n return translate.instant('LISTING_SYNC.SYNCING_STATUS.CONNECT_OR_CREATE');\n }\n if (accuracy !== AccuracyStatus.ACCURACY_STATUS_ACCURATE) {\n return translate.instant('LISTING_SYNC.SYNCING_STATUS.SYNC_TO_FIX') + ' ' + sourceName;\n }\n return translate.instant('LISTING_SYNC.SYNCING_STATUS.SYNC_TO_KEEP_ACCURATE');\n }\n if (isTokenBroken) {\n return translate.instant('LISTING_SYNC.SYNCING_STATUS.BROKEN');\n }\n if (!isSyncingEnabled) {\n if (!listingFound) {\n return translate.instant('LISTING_SYNC.SYNCING_STATUS.SYNC_TO') + ' ' + sourceName;\n }\n if (accuracy !== AccuracyStatus.ACCURACY_STATUS_ACCURATE) {\n return translate.instant('LISTING_SYNC.SYNCING_STATUS.SYNC_TO_FIX') + ' ' + sourceName;\n }\n return translate.instant('LISTING_SYNC.SYNCING_STATUS.SYNC_TO_KEEP_ACCURATE');\n }\n\n if (syncStatus === SyncStatus.SYNC_STATUS_SUCCESS && accuracy == AccuracyStatus.ACCURACY_STATUS_UNAVAILABLE) {\n return translate.instant('LISTING_SYNC.SYNC_STATUS_SUBMITTED.NAME');\n }\n\n return translate.instant(SyncStatusMapping.get(syncStatus)?.syncText);\n}\n\nfunction getImageRequirementByField(field: string) {\n switch (field) {\n case 'Logo':\n return 'LISTING_SYNC.SYNC_STATUS.FIELDS.LOGO_REQUIREMENTS';\n case 'Cover Photo':\n return 'LISTING_SYNC.SYNC_STATUS.FIELDS.COVER_REQUIREMENTS';\n default:\n return 'LISTING_SYNC.SYNC_STATUS.FIELDS.PHOTO_REQUIREMENTS';\n }\n}\n\nexport function getTranslatedErrorMessageField(translate: TranslateService, field: string): string {\n switch (field) {\n case 'Company Name':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.COMPANY_NAME');\n case 'Address':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.ADDRESS');\n case 'Phone Number':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.PHONE_NUMBER');\n case 'Zip/Postal Code':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.ZIP_CODE');\n case 'Website':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.WEBSITE');\n case 'City':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.CITY');\n case 'Category':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.CATEGORY');\n case 'State/Province':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.STATE');\n case 'Country/Region':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.COUNTRY');\n case 'Business':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.BUSINESS');\n case 'Geolocation':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.GEOLOCATION');\n case 'Logo':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.LOGO');\n case 'Cover Photo':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.COVER');\n case 'Hours':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.HOURS');\n case 'Description':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.DESCRIPTION');\n case 'Email':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.EMAIL');\n case 'Photos':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.PHOTOS');\n case 'Payment Methods':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.PAYMENT_METHODS');\n case 'Social URLs':\n return translate.instant('LISTING_SYNC.SYNC_STATUS.FIELDS.SOCIAL_URLS');\n }\n}\n\ninterface Status {\n text: string;\n style?: SyncStyle;\n icon?: MaterialIcons;\n tooltip?: string;\n tooltipTitle?: string;\n}\n\nexport interface SyncData {\n sourceId: number;\n name: string;\n accuracy: SourceAccuracy;\n score: number;\n maxScore: number;\n listingUrl: string;\n listingId: string;\n\n account?: ConnectedDirectSyncAccount;\n additionalAccounts?: ConnectedDirectSyncAccount[];\n connectLink?: string;\n clientTags?: string[];\n sourceHasReporting?: boolean;\n syncDetails?: SyndicationStatus;\n syncStatus?: SyncStatus;\n isSyncingEnabled?: boolean;\n ecosystemSources?: EcosystemSource[];\n isListingVerified?: boolean;\n hidden?: boolean;\n lastUpdatedDate?: Date;\n errors?: DirectSyncErrorMessage[];\n provider?: Provider;\n requirement: SyncRequirement;\n\n // computed\n sourceType?: string;\n errorMessages?: SyncError[];\n syncInfo?: Status;\n accuracyInfo?: Status;\n sourceIcon?: string;\n lastUpdated?: string;\n locked?: boolean;\n}\n\nexport interface KeywordStore {\n keywords: string[];\n syncingKeywords: string[];\n favoriteKeywords: string[];\n}\n","import { Inject, Injectable } from '@angular/core';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { TranslateService } from '@ngx-translate/core';\nimport {\n AppPartnerSettingsService,\n Currency,\n Frequency,\n MarketplacePackagesApiService,\n PartnerMarketContainer,\n Price,\n Pricing,\n RetailPrice,\n} from '@vendasta/marketplace-packages';\nimport { DisplayPriceService } from '@vendasta/shared';\nimport { ProductAnalyticsService } from '@vendasta/product-analytics';\nimport { AppPartnerService, EditionChange, EditionUpgradeAction, UpgradeDialogContent } from '@galaxy/marketplace-apps';\nimport { combineLatest, Observable, of, throwError } from 'rxjs';\nimport { catchError, distinctUntilChanged, filter, map, shareReplay, switchMap } from 'rxjs/operators';\nimport { AppSettings } from '@vendasta/marketplace-apps';\nimport { AGIDTOKEN, IS_IMPERSONATING_TOKEN } from '../local-seo';\nimport { DomainService } from '@vendasta/domain';\nimport { AccountGroupApiService, GetMultiRequest, ProjectionFilter } from '@vendasta/account-group';\n\ninterface RedirectInfo {\n url: string;\n isImpersonation: boolean;\n}\n\nexport interface PartnerMarket {\n marketId: string;\n partnerId: string;\n}\n\nexport const appID = 'MS';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class UpgradeCTADialogService {\n vbcHost$: Observable;\n partnerMarket$: Observable;\n public appSettings$: Observable;\n\n constructor(\n @Inject(AGIDTOKEN) private agid$: Observable,\n @Inject(IS_IMPERSONATING_TOKEN) private isImpersonation$: Observable,\n private translateService: TranslateService,\n private matSnackBar: MatSnackBar,\n private snowplowService: ProductAnalyticsService,\n private appPartnerService: AppPartnerService,\n private appPartnerSettingsService: AppPartnerSettingsService,\n private marketplacePackagesService: MarketplacePackagesApiService,\n private displayPriceService: DisplayPriceService,\n private domainService: DomainService,\n private accountGroupService: AccountGroupApiService,\n ) {\n this.partnerMarket$ = this.agid$.pipe(\n switchMap((businessID) =>\n businessID\n ? this.accountGroupService\n .getMulti(\n new GetMultiRequest({\n accountGroupIds: [businessID],\n projectionFilter: new ProjectionFilter({\n accountGroupExternalIdentifiers: true,\n }),\n }),\n )\n .pipe(\n map((resp) => {\n let partnerId = resp.accountGroups[0]?.accountGroup?.accountGroupExternalIdentifiers?.partnerId;\n const marketId = resp.accountGroups[0]?.accountGroup?.accountGroupExternalIdentifiers?.marketId;\n if (partnerId.toUpperCase() === 'DW1') {\n partnerId = 'DW';\n }\n if (partnerId.toUpperCase() === 'VEND') {\n partnerId = 'SRP';\n }\n return {\n partnerId: partnerId,\n marketId: marketId,\n };\n }),\n filter((val) => !!val),\n )\n : of(null),\n ),\n distinctUntilChanged(),\n shareReplay(1),\n );\n const defaultAppSettings = new AppSettings({\n editionChange: {\n editionUpgradeAction: EditionUpgradeAction.EDITION_UPGRADE_ACTION_CONTACT_SALES,\n },\n branding: { enabled: false },\n });\n\n this.appSettings$ = this.partnerMarket$.pipe(\n switchMap((pm) => {\n return this.appPartnerService.getAppSettings(appID, pm.partnerId, pm.marketId).pipe(\n catchError((err) => {\n if (err.status === 404) {\n // The selected market doesn't have auto-activation setting\n return of(defaultAppSettings);\n }\n return throwError(err);\n }),\n map((response: AppSettings) => {\n return response ? response : defaultAppSettings;\n }),\n );\n }),\n shareReplay(1),\n );\n\n this.vbcHost$ = this.partnerMarket$.pipe(\n switchMap((pm) =>\n this.domainService.getDomainByIdentifier(`/application/VBC/partner/${pm.partnerId}`).pipe(\n map((resp) => resp.primary.domain),\n shareReplay(1),\n ),\n ),\n );\n }\n\n getUpgradeText(retailPrice: RetailPrice, editionChangeDetails: EditionChange): string {\n if (!retailPrice) {\n return null;\n }\n\n if (retailPrice.price !== null && !(retailPrice.price < 0)) {\n // The price isn't `contact sales`.\n let upgradeSuffix = 'UPGRADE_NOW';\n if (\n !!editionChangeDetails &&\n editionChangeDetails.editionUpgradeAction === EditionUpgradeAction.EDITION_UPGRADE_ACTION_CUSTOM_ORDER &&\n !!editionChangeDetails.customUpgradePackageIds &&\n editionChangeDetails.customUpgradePackageIds.length > 1\n ) {\n upgradeSuffix = 'STARTING_AT';\n }\n return this.translateService.instant(`UPGRADE_DIALOG.UPGRADE_TEXT.${upgradeSuffix}`);\n }\n return null;\n }\n\n getFrequencyText(retailPrice: RetailPrice): string {\n if (!retailPrice) {\n return null;\n }\n\n if (!!retailPrice.price && retailPrice.price > 0) {\n const frequencyKey: string = Frequency[retailPrice.billingFrequency || Frequency.MONTHLY];\n return this.translateService.instant(`UPGRADE_DIALOG.FREQUENCY.${frequencyKey}`);\n }\n return null;\n }\n\n getEditionChangeDetails$(): Observable {\n return this.appSettings$.pipe(\n map((response: AppSettings) => (response?.editionChange ? response.editionChange : new EditionChange())),\n shareReplay(1),\n );\n }\n\n getAddonUpgradeDetails$(addonID: string): Observable {\n const defaultEditionChange = new EditionChange({\n editionUpgradeAction: EditionUpgradeAction.EDITION_UPGRADE_ACTION_CONTACT_SALES,\n });\n\n return this.partnerMarket$.pipe(\n switchMap((pm) => {\n return this.appPartnerService.getAppSettings(addonID, pm.partnerId, pm.marketId).pipe(\n catchError((err) => {\n if (err.status === 404) {\n // The selected market doesn't have auto-activation setting\n return of(defaultEditionChange);\n }\n return throwError(err);\n }),\n map((response: AppSettings) => {\n return response?.editionChange ? response.editionChange : defaultEditionChange;\n }),\n );\n }),\n shareReplay(1),\n );\n }\n\n getCustomUpgradeModalContent$(addonID?: string): Observable {\n return this.partnerMarket$.pipe(\n switchMap((pm) => {\n return this.appPartnerService.getUpgradeDialogContent(pm.partnerId, pm.marketId, addonID ? addonID : appID);\n }),\n catchError(() => of(null)),\n map((response) => (response ? response.upgradeDialogContent : null)),\n );\n }\n\n getFormattedRetailPrice$(retailPrice: RetailPrice): Observable {\n if (!retailPrice) {\n // The price is hidden.\n return of('');\n }\n const currencyKey: string = Currency[retailPrice.currency || Currency.USD];\n return this.displayPriceService.formatDisplayPrice(retailPrice.price, currencyKey, null, true, true, true, false);\n }\n\n getUpgradePrice$(\n pmConfig: PartnerMarket,\n addonID: string,\n editionChangeDetails: EditionChange,\n editionID?: string,\n ): Observable {\n if (\n !editionChangeDetails?.editionUpgradeAction ||\n editionChangeDetails.editionUpgradeAction === EditionUpgradeAction.EDITION_UPGRADE_ACTION_CREATE_ORDER\n ) {\n return this.getRetailPriceForAddonID$(addonID, pmConfig, editionID);\n } else if (editionChangeDetails.editionUpgradeAction === EditionUpgradeAction.EDITION_UPGRADE_ACTION_CUSTOM_ORDER) {\n if (editionChangeDetails.priceReferencePackageId) {\n return this.getMostFrequentPriceForPackage$(editionChangeDetails.priceReferencePackageId);\n }\n }\n return of(null);\n }\n\n getRetailPriceForAddonID$(\n addonID: string,\n partnerMarket: PartnerMarket,\n editionId?: string,\n ): Observable {\n const pmConfig = new PartnerMarketContainer({\n partnerId: partnerMarket.partnerId,\n marketId: partnerMarket.marketId,\n });\n return combineLatest([\n this.appPartnerSettingsService\n .getRetailPrice(addonID, pmConfig, editionId, true)\n .pipe(catchError(() => of(null))),\n this.appPartnerSettingsService\n .getRetailPrice(addonID, pmConfig, editionId, false)\n .pipe(catchError(() => of(null))),\n ]).pipe(map(([overridePrice, defaultPrice]: [RetailPrice, RetailPrice]) => overridePrice || defaultPrice));\n }\n\n getMostFrequentPriceForPackage$(packageID: string): Observable {\n return this.marketplacePackagesService\n .getMultiPackages({\n packageIds: [packageID],\n })\n .pipe(\n map((response) => {\n if (!!response.packageContainers && response.packageContainers.length > 0) {\n const container = response.packageContainers[0];\n return findMostFrequentPrice(container.package.pricing);\n } else {\n return {\n price: -1,\n } as RetailPrice;\n }\n }),\n );\n }\n\n buildBusinessCenterUpgradeRedirectInfo(\n item: UpgradeRedirectItem,\n upgradeAction: EditionUpgradeAction,\n ): Observable {\n return combineLatest([this.agid$, this.vbcHost$, this.isImpersonation$]).pipe(\n map(([agid, vbcHost, isImpersonation]) => {\n const nextURL = encodeURIComponent(window.location.href);\n const itemsJSON = encodeURIComponent(JSON.stringify([item]));\n const upgradePath =\n upgradeAction === EditionUpgradeAction.EDITION_UPGRADE_ACTION_CONTACT_SALES\n ? 'edition-upgrades'\n : 'orders/create/confirmation';\n const purchaseAddOnURL = `https://${vbcHost}/account/location/${agid}/${upgradePath}?items=${itemsJSON}&nextUrl=${nextURL}`;\n return {\n url: purchaseAddOnURL,\n isImpersonation: isImpersonation,\n };\n }),\n );\n }\n\n sendToVbc(redirectInfo: RedirectInfo) {\n if (redirectInfo.isImpersonation) {\n this.matSnackBar.open(this.translateService.instant('SHARED.UPGRADE_MODAL.IMPERSONATION_FORBIDDEN'), null, {\n duration: 2000,\n });\n } else {\n window.location.href = redirectInfo.url;\n }\n }\n}\n\nfunction normalizeFrequencyEnum(value: keyof typeof Frequency | Frequency): Frequency {\n if (typeof value === 'string') {\n return Frequency[value];\n }\n\n return value;\n}\n\nexport function findMostFrequentPrice(pricing: Pricing): RetailPrice {\n if (!pricing || !pricing.prices || pricing.prices.length <= 0) {\n return {\n price: -1,\n } as RetailPrice;\n }\n\n // Sort the prices by frequency.\n const mostFrequentPrice = pricing.prices.sort((a: Price, b: Price): number => {\n if (a.price === null || a.price < 0) {\n // The price is `contact sales`\n return 1;\n }\n\n const orderedFrequencies = [\n Frequency.DAILY,\n Frequency.WEEKLY,\n Frequency.MONTHLY,\n Frequency.YEARLY,\n Frequency.ONCE,\n Frequency.OTHER,\n ];\n a.frequency = normalizeFrequencyEnum(a.frequency || Frequency.MONTHLY);\n b.frequency = normalizeFrequencyEnum(b.frequency || Frequency.MONTHLY);\n const aIndex = orderedFrequencies.indexOf(a.frequency);\n const bIndex = orderedFrequencies.indexOf(b.frequency);\n return aIndex !== bIndex ? aIndex - bIndex : a.price - b.price;\n })[0]; // The first price is the most frequent.\n\n if (mostFrequentPrice.price === undefined) {\n mostFrequentPrice.price = 0;\n } else if (mostFrequentPrice.price === null) {\n mostFrequentPrice.price = -1;\n }\n\n return {\n price: mostFrequentPrice.price,\n billingFrequency: mostFrequentPrice.frequency,\n currency: pricing.currency,\n } as RetailPrice;\n}\n\n// Usage of this interface will differ based on upgrade type:\n// - Edition: appId and editionId\n// - Addon: appId and addonId\n// - Package: packageId\nexport interface UpgradeRedirectItem {\n appId?: string;\n editionId?: string;\n addonId?: string;\n packageId?: string;\n}\n","import { HttpErrorResponse } from '@angular/common/http';\nimport { Inject, Injectable } from '@angular/core';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { TranslateService } from '@ngx-translate/core';\nimport {\n AccountsService,\n AppAndAddonActivationStatus,\n ListAppAndAddonActivationStatusFilter,\n} from '@vendasta/accounts/legacy';\nimport { DateRange } from '@vendasta/galaxy/utility/date-utils';\nimport {\n AddonActivation,\n DirectSyncSource,\n FieldMask,\n GetActiveSEOAddonsRequest,\n GetDirectSyncSourceInfoRequest,\n GetLocalSearchSEODataRequest,\n GetMultiListingProfileRequest,\n GetOrGenerateSEOSuggestedKeywordsResponse,\n GetPartnerSettingsRequest,\n GetPartnerSettingsResponse,\n GetSEODataSummaryRequest,\n GetSEOSettingsRequest,\n GetSEOSuggestedKeywordsRequest,\n KeywordInfo,\n ListingProductsApiService,\n ListingProfile,\n ListingProfileApiService,\n LocalSearchData,\n PartnerSettingsApiService,\n ProjectionFilter,\n RichData,\n SaveSEOSettingsRequest,\n SEOApiService,\n SEODataSummary,\n SEOSettingsResponse,\n SEOSuggestedKeywordsApiService,\n UpdateListingProfileRequest,\n UpdateOperation,\n} from '@vendasta/listing-products';\n\nimport {\n Alignment,\n AlignmentPeriod,\n AlignmentPeriodCalendar,\n BusinessResourceId,\n FieldFilter,\n FieldFilterOperator,\n Filter,\n GroupBy,\n Measure,\n MeasureAggregate,\n MeasureAggregateOperator,\n MetricResult,\n MultiLocationAnalyticsService,\n Order,\n PropertyType,\n QueryMetricsRequest,\n QueryMetricsResponse,\n ResourceId,\n} from '@vendasta/multi-location-analytics';\nimport dayjs from 'dayjs';\nimport { BehaviorSubject, combineLatest, EMPTY, Observable, of } from 'rxjs';\nimport { catchError, filter, map, shareReplay, switchMap, take, tap } from 'rxjs/operators';\nimport {\n AGIDTOKEN,\n DEMO_PAID_EDITION,\n GoogleSourceID,\n KeywordStore,\n PROD_PAID_EDITION,\n SEARCH_RADIUS_LOCAL,\n} from '../../local-seo';\nimport { PartnerMarket, UpgradeCTADialogService } from '../../upgrade-cta-dialog/upgrade-cta-dialog.service';\n\nexport interface SEODataPoint {\n date: Date;\n value: number;\n}\n\nexport interface SeoDataKeywordMetrics {\n dateRange?: DateRange;\n keyword?: string;\n localRank?: SEODataPoint[];\n organicRank?: SEODataPoint[];\n}\n\nexport interface SeoDataSettings {\n businessId?: string;\n localSearchRadius?: number;\n isFullSearchEnabled?: boolean;\n}\n\nconst ADDON_INCREMENT = 15;\n\nconst SEODATA_STATS: string[] = ['local_rank', 'organic_rank'];\nconst free_edition_keywords = 3;\nconst paid_edition_keywords = 15;\n\nexport const MaxRank = 50;\n\n@Injectable({\n providedIn: 'root',\n})\nexport class KeywordTrackingService {\n public listingProfile$$: BehaviorSubject = new BehaviorSubject(null);\n public loading$$: BehaviorSubject = new BehaviorSubject(false);\n public keywordLimit$: Observable;\n\n public readonly SEOSummaryData$: Observable;\n public keywordMetrics$: Observable;\n\n private seoSettings$$: BehaviorSubject = new BehaviorSubject({});\n public readonly seoSettings$: Observable;\n\n private keywordStore$$: BehaviorSubject = new BehaviorSubject({\n keywords: [],\n syncingKeywords: [],\n favoriteKeywords: [],\n });\n public readonly keywordStore$: Observable = this.keywordStore$$.asObservable();\n\n private canEditKeywords$$ = new BehaviorSubject(true);\n public canEditKeywords$ = this.canEditKeywords$$.asObservable();\n\n private defaultMarketID = 'all-markets-default-fallback';\n\n public suggestedKeywords$: Observable;\n public suggestedKeywordsErrorMessage: string | null = null;\n\n private dateRange$$: BehaviorSubject = new BehaviorSubject(undefined);\n private addOns$: Observable;\n\n public readonly partnerSettings$: Observable;\n\n public missingGeoLocation$$: BehaviorSubject = new BehaviorSubject(false);\n public missingWebsite$$: BehaviorSubject = new BehaviorSubject(false);\n public suggestedKeywords$$: BehaviorSubject = new BehaviorSubject([]);\n\n public isLBFreeEdition$: Observable;\n public gbpData$: Observable;\n\n constructor(\n private listingProfileService: ListingProfileApiService,\n private lpSEOService: SEOApiService,\n private seoPartnerSettingsService: PartnerSettingsApiService,\n private mla: MultiLocationAnalyticsService,\n @Inject(AGIDTOKEN) private agid$: Observable,\n private snackBar: MatSnackBar,\n private translate: TranslateService,\n private listingProductsApiService: ListingProductsApiService,\n private seoSuggestedKeywordsService: SEOSuggestedKeywordsApiService,\n private accountsService: AccountsService,\n private upgradeDialogService: UpgradeCTADialogService,\n private listingProductsService: ListingProductsApiService,\n ) {\n this.isLBFreeEdition$ = this.agid$.pipe(\n switchMap((agid) => {\n const filters: ListAppAndAddonActivationStatusFilter = {\n appIds: ['MS'],\n statuses: [AppAndAddonActivationStatus.ACTIVATED, AppAndAddonActivationStatus.CANCELED],\n };\n return accountsService.listAppsAndAddonsActivationStatusesForBusiness(agid, filters).pipe(\n map((activations) => {\n if (activations?.length > 0) {\n switch (activations[0].editionId) {\n case DEMO_PAID_EDITION:\n return false;\n case PROD_PAID_EDITION:\n return false;\n }\n }\n return true;\n }),\n shareReplay(1),\n );\n }),\n );\n\n this.partnerSettings$ = this.upgradeDialogService.partnerMarket$.pipe(\n switchMap((pm) =>\n this.seoPartnerSettingsService.getPartnerSettings(\n new GetPartnerSettingsRequest({\n partnerId: pm.partnerId,\n marketId: this.defaultMarketID,\n }),\n ),\n ),\n );\n\n this.gbpData$ = this.agid$.pipe(\n switchMap((agid) =>\n this.listingProductsService\n .getDirectSyncSourceInfo(\n new GetDirectSyncSourceInfoRequest({\n businessId: agid,\n refresh: true,\n }),\n )\n .pipe(\n map((res) => {\n const gbpData =\n res.directSubmitSources.find((s) => s.sourceId === GoogleSourceID) || new DirectSyncSource();\n return gbpData;\n }),\n ),\n ),\n shareReplay(1),\n );\n this.fetchBusinessData();\n this.fetchSEODataSettings();\n this.getProductSettings();\n this.getSuggestedKeywords();\n const seoDataResponse$ = combineLatest([this.agid$, this.keywordStore$, this.dateRange$$.asObservable()]).pipe(\n filter(([agid, _, dateRange]) => !!agid && !!dateRange),\n switchMap(([agid, keywordStore, dateRange]: [string, KeywordStore, DateRange]) => {\n return this.GetSEOSummaryData(agid, keywordStore.keywords, dateRange).pipe(shareReplay(1));\n }),\n );\n\n this.SEOSummaryData$ = seoDataResponse$.pipe(map((res) => res.current));\n this.suggestedKeywords$ = this.suggestedKeywords$$.asObservable();\n\n this.keywordMetrics$ = combineLatest([\n this.upgradeDialogService.partnerMarket$,\n this.agid$,\n this.keywordStore$,\n this.dateRange$$.asObservable(),\n ]).pipe(\n filter(([pm, agid, keywords, dateRange]) => !!pm && !!agid && !!keywords && !!dateRange),\n switchMap(([pm, agid, keywordStore, dateRange]: [PartnerMarket, string, KeywordStore, DateRange]) => {\n return this.fetchSEOQueryMetrics(pm.partnerId, agid, keywordStore.keywords, dateRange);\n }),\n shareReplay(1),\n );\n\n this.seoSettings$ = this.seoSettings$$.asObservable();\n\n this.addOns$ = this.agid$.pipe(\n switchMap((agid) => {\n return this.lpSEOService\n .getActiveSeoAddons(\n new GetActiveSEOAddonsRequest({\n businessId: agid,\n }),\n )\n .pipe(\n map((res) => {\n return res?.activeAddons || [];\n }),\n );\n }),\n shareReplay(1),\n );\n\n this.keywordLimit$ = combineLatest([this.isLBFreeEdition$, this.addOns$]).pipe(\n map(([isFreeEdition, addOns]) => {\n let keywordLimit = free_edition_keywords;\n\n if (!isFreeEdition) {\n keywordLimit = paid_edition_keywords;\n }\n\n if (addOns?.length > 0) {\n // ActiveSEOAddons will always contain one element, with the count property\n // incremented based on the number of activations for that add on\n const limitIncrement = addOns[0].count * ADDON_INCREMENT;\n\n keywordLimit = keywordLimit + limitIncrement;\n }\n\n return keywordLimit;\n }),\n );\n }\n\n fetchSEODataSettings(): void {\n this.agid$\n .pipe(\n switchMap((agid) =>\n this.lpSEOService.getSeoSettings(new GetSEOSettingsRequest({ businessId: agid })).pipe(\n catchError((err: HttpErrorResponse) => {\n if (err.status !== 404) {\n const message = err.error?.message\n ? err.error.message\n : this.translate.instant('LOCAL_SEO.UNKNOWN_ERROR');\n this.snackBar.open(message, '', { politeness: 'assertive', duration: 5000 });\n return EMPTY;\n }\n return of(\n new SEOSettingsResponse({\n businessId: agid,\n localSearchRadius: SEARCH_RADIUS_LOCAL,\n favoriteKeywords: [],\n }),\n );\n }),\n map((res) => {\n return new SEOSettingsResponse({\n businessId: res.businessId,\n localSearchRadius: res.localSearchRadius,\n favoriteKeywords: res.favoriteKeywords || [],\n isFullSearchEnabled: res.isFullSearchEnabled,\n });\n }),\n ),\n ),\n )\n .subscribe((seoSettings) => {\n this.seoSettings$$.next(\n new SEOSettingsResponse({\n businessId: seoSettings.businessId || '',\n localSearchRadius: seoSettings.localSearchRadius || SEARCH_RADIUS_LOCAL,\n isFullSearchEnabled: seoSettings.isFullSearchEnabled,\n }),\n );\n this.keywordStore$$.next({\n ...this.keywordStore$$.value,\n favoriteKeywords: seoSettings.favoriteKeywords || [],\n });\n });\n }\n\n fetchBusinessData(): void {\n this.loading$$.next(true);\n this.agid$\n .pipe(\n switchMap((agid) =>\n this.listingProfileService\n .getMulti(\n new GetMultiListingProfileRequest({\n businessIds: [agid],\n languageCode: this.translate.currentLang || this.translate.defaultLang,\n projectionFilter: new ProjectionFilter({\n richData: true,\n napData: true,\n }),\n }),\n )\n .pipe(\n catchError((err: HttpErrorResponse) => {\n const message = err.error?.message\n ? err.error.message\n : this.translate.instant('LOCAL_SEO.UNKNOWN_ERROR');\n this.snackBar.open(message, '', { politeness: 'assertive', duration: 5000 });\n return EMPTY;\n }),\n map((res) => res.listingProfiles[0].listingProfile),\n ),\n ),\n )\n .subscribe((listingProfile) => {\n this.listingProfile$$.next(listingProfile);\n this.missingGeoLocation$$.next(\n !listingProfile?.napData?.location?.latitude && !listingProfile?.napData?.location?.longitude,\n );\n this.missingWebsite$$.next(!listingProfile?.napData?.website);\n const seoKeywords = listingProfile?.richData?.seoKeywords;\n const syncingKeywords = listingProfile?.richData?.syncingSeoKeywords;\n this.keywordStore$$.next({\n ...this.keywordStore$$.value,\n keywords: seoKeywords?.filter((value) => value !== '') || [],\n syncingKeywords: syncingKeywords || [],\n });\n this.loading$$.next(false);\n });\n }\n\n fetchSEOQueryMetrics(\n pid: string,\n businessId: string,\n keywords: string[],\n range: DateRange,\n ): Observable {\n this.loading$$.next(true);\n const metrics: SeoDataKeywordMetrics[] = [];\n const obsMetrics: Observable[] = [];\n keywords.forEach((keyword) => {\n const result = this.mla\n .queryMetrics(generateSEODataQueryMetricsRequest(pid, businessId, keyword, range.start, range.end))\n .pipe(\n catchError((err: HttpErrorResponse) => {\n const message = err.error?.message ? err.error.message : this.translate.instant('LOCAL_SEO.UNKNOWN_ERROR');\n this.snackBar.open(message, '', { politeness: 'assertive', duration: 5000 });\n return EMPTY;\n }),\n map((resp: QueryMetricsResponse) => {\n const metricResults = this.mla.unwrapMetricsResponse(resp);\n return {\n dateRange: range,\n keyword: keyword,\n localRank: ParseRowsFromQueryMetricsResult(metricResults, SEODATA_STATS.indexOf('local_rank')),\n organicRank: ParseRowsFromQueryMetricsResult(metricResults, SEODATA_STATS.indexOf('organic_rank')),\n };\n }),\n );\n obsMetrics.push(result);\n });\n\n return combineLatest(obsMetrics).pipe(\n map((res) => {\n res.forEach((metric) => {\n metrics.push(metric);\n });\n return metrics;\n }),\n tap(() => {\n this.loading$$.next(false);\n }),\n );\n }\n\n getProductSettings(): void {\n this.loading$$.next(true);\n this.upgradeDialogService.partnerMarket$\n .pipe(\n switchMap((pm) =>\n this.listingProductsApiService.getProductSettings(\n new GetPartnerSettingsRequest({\n partnerId: pm.partnerId,\n marketId: this.defaultMarketID,\n }),\n ),\n ),\n take(1),\n catchError(() => {\n return of(null);\n }),\n )\n .subscribe((partnerSettings) => {\n this.setCanEditKeywords(partnerSettings?.canEditKeywords || false);\n this.loading$$.next(false);\n });\n }\n\n GetSEOSummaryData(\n businessID: string,\n keywords: string[],\n dateRange: DateRange,\n ): Observable<{ current: SEODataSummary[]; previous: SEODataSummary[] }> {\n return this.lpSEOService\n .getSeoDataSummary(\n new GetSEODataSummaryRequest({\n businessId: businessID,\n keywords: keywords,\n startDate: dateRange.start,\n endDate: dateRange.end,\n }),\n )\n .pipe(\n catchError((err: HttpErrorResponse) => {\n const message = err.error?.message ? err.error.message : this.translate.instant('LOCAL_SEO.UNKNOWN_ERROR');\n this.snackBar.open(message, '', { politeness: 'assertive', duration: 5000 });\n return EMPTY;\n }),\n map((seoSummaryData) => {\n return {\n current: seoSummaryData.data,\n previous: seoSummaryData.previousData,\n };\n }),\n );\n }\n\n GetLocalSEOSearchDetails(keyword: string): Observable {\n return combineLatest([this.agid$, this.dateRange$$.asObservable()]).pipe(\n switchMap(([agid, dateRange]: [string, DateRange]) =>\n this.lpSEOService.getLocalSearchSeoData(\n new GetLocalSearchSEODataRequest({\n businessId: agid,\n keyword: keyword,\n startDate: dateRange.start,\n endDate: dateRange.end,\n }),\n ),\n ),\n map((response) => formatLocalSearchSEOData(response.localSearchData)),\n );\n }\n\n getSuggestedKeywords(): void {\n this.loading$$.next(true);\n combineLatest([this.agid$, this.isLBFreeEdition$])\n .pipe(\n switchMap(([agid, isFree]: [string, boolean]) => {\n if (isFree) {\n return of(new GetOrGenerateSEOSuggestedKeywordsResponse({ keywordInfo: [] }));\n }\n return this.seoSuggestedKeywordsService\n .getOrGenerateSeoSuggestedKeywords(\n new GetSEOSuggestedKeywordsRequest({\n businessId: agid,\n }),\n )\n .pipe(\n catchError((error) => {\n this.suggestedKeywordsErrorMessage = error?.error?.message || error?.message;\n return of(new GetOrGenerateSEOSuggestedKeywordsResponse({ keywordInfo: [] }));\n }),\n );\n }),\n )\n .subscribe((suggestedkeywords) => {\n this.suggestedKeywords$$.next(\n suggestedkeywords.keywordInfo.map(\n (info) =>\n new KeywordInfo({\n keyword: info.keyword || '',\n competition: info.competition || 'LOW',\n competitionIndex: info.competitionIndex || 0,\n searchVolume: info.searchVolume || 0,\n lowTopOfPageBid: info.lowTopOfPageBid || 0,\n highTopOfPageBid: info.highTopOfPageBid || 0,\n }),\n ) || [],\n );\n this.loading$$.next(false);\n });\n }\n\n updateSeoSettingsForDialog(mapRadius: number, isFullSearchEnabled: boolean): void {\n this.agid$\n .pipe(\n take(1),\n switchMap((agid) =>\n this.lpSEOService\n .saveSeoSettings(\n new SaveSEOSettingsRequest({\n businessId: agid,\n localSearchRadius: mapRadius,\n fieldMask: new FieldMask({\n paths: ['local_search_radius', 'is_full_search_enabled'],\n }),\n isFullSearchEnabled: isFullSearchEnabled,\n }),\n )\n .pipe(\n catchError((err: HttpErrorResponse) => {\n const message = err.error?.message\n ? err.error.message\n : this.translate.instant('LOCAL_SEO.UNKNOWN_ERROR');\n this.snackBar.open(message, '', { politeness: 'assertive', duration: 5000 });\n return EMPTY;\n }),\n ),\n ),\n )\n .subscribe(() => {\n this.fetchSEODataSettings();\n });\n }\n\n updateFavoriteKeywords(keywords: string[]): void {\n keywords = keywords.filter((keyword) => !!keyword);\n this.agid$\n .pipe(\n take(1),\n switchMap((agid) =>\n this.lpSEOService.saveSeoSettings(\n new SaveSEOSettingsRequest({\n businessId: agid,\n favoriteKeywords: keywords,\n fieldMask: new FieldMask({\n paths: ['favorite_keywords'],\n }),\n }),\n ),\n ),\n )\n .subscribe({\n error: (err) => {\n const message = err.error?.message ? err.error.message : this.translate.instant('LOCAL_SEO.UNKNOWN_ERROR');\n this.snackBar.open(message, '', { politeness: 'assertive', duration: 5000 });\n },\n next: () => {\n this.snackBar.open(this.translate.instant('LOCAL_SEO.FAVORITES_UPDATED'), '', {\n politeness: 'polite',\n duration: 5000,\n });\n this.keywordStore$$.next({ ...this.keywordStore$$.value, favoriteKeywords: keywords });\n },\n });\n }\n\n updateKeywords(oldKeywords: string[], newKeywords: string[]): void {\n const keywords = Array.from(new Set(newKeywords.concat(oldKeywords)).values());\n if (keywords.length === 0) {\n return;\n }\n this.agid$\n .pipe(\n take(1),\n switchMap((agid) =>\n this.listingProfileService.update(\n new UpdateListingProfileRequest({\n businessId: agid,\n updateOperations: [\n new UpdateOperation({\n richData: new RichData({\n seoKeywords: keywords,\n }),\n fieldMask: new FieldMask({\n paths: ['seo_keywords'],\n }),\n }),\n ],\n }),\n ),\n ),\n switchMap(() => this.partnerSettings$),\n )\n .subscribe({\n error: (err) => {\n const message = err.error?.message ? err.error.message : this.translate.instant('LOCAL_SEO.UNKNOWN_ERROR');\n this.snackBar.open(message, '', { politeness: 'assertive', duration: 5000 });\n },\n next: (partnerSettings: GetPartnerSettingsResponse) => {\n this.snackBar.open(this.translate.instant('LOCAL_SEO.KEYWORDS_UPDATED'), '', {\n politeness: 'polite',\n duration: 5000,\n });\n let favoriteKeywords = this.keywordStore$$.value.favoriteKeywords;\n let syncingKeywords = this.keywordStore$$.value.syncingKeywords;\n if (!partnerSettings?.isFavoriteNewKeywordsDisabled) {\n favoriteKeywords = Array.from(new Set(newKeywords.concat(favoriteKeywords)).values());\n }\n if (!partnerSettings?.isSyncKeywordsDisabled) {\n syncingKeywords = Array.from(new Set(newKeywords.concat(syncingKeywords)).values());\n }\n this.keywordStore$$.next({\n keywords: keywords,\n favoriteKeywords: favoriteKeywords,\n syncingKeywords: syncingKeywords,\n });\n },\n });\n }\n\n updateSyncingKeywords(syncingKeywords: string[]): void {\n syncingKeywords = syncingKeywords.filter((keyword) => !!keyword);\n this.agid$\n .pipe(\n take(1),\n switchMap((agid) =>\n this.listingProfileService.update(\n new UpdateListingProfileRequest({\n businessId: agid,\n updateOperations: [\n new UpdateOperation({\n richData: new RichData({\n syncingSeoKeywords: syncingKeywords,\n }),\n fieldMask: new FieldMask({\n paths: ['syncing_seo_keywords'],\n }),\n }),\n ],\n }),\n ),\n ),\n )\n .subscribe({\n error: (err) => {\n const message = err.error?.message ? err.error.message : this.translate.instant('LOCAL_SEO.UNKNOWN_ERROR');\n this.snackBar.open(message, '', { politeness: 'assertive', duration: 5000 });\n },\n next: () => {\n this.snackBar.open(this.translate.instant('LOCAL_SEO.SYNCING_KEYWORDS_UPDATED'), '', {\n politeness: 'polite',\n duration: 5000,\n });\n this.keywordStore$$.next({ ...this.keywordStore$$.value, syncingKeywords: syncingKeywords });\n },\n });\n }\n\n deleteKeyword(keyword: string): void {\n this.agid$\n .pipe(\n take(1),\n switchMap((agid: string) => {\n const filteredKeywords = this.keywordStore$$.value.keywords.filter((k) => k !== keyword);\n return this.listingProfileService.update(\n new UpdateListingProfileRequest({\n businessId: agid,\n updateOperations: [\n new UpdateOperation({\n richData: new RichData({\n seoKeywords: filteredKeywords,\n }),\n fieldMask: new FieldMask({\n paths: ['seo_keywords'],\n }),\n }),\n ],\n }),\n );\n }),\n )\n .subscribe({\n error: (err) => {\n const message = err.error?.message ? err.error.message : this.translate.instant('LOCAL_SEO.UNKNOWN_ERROR');\n this.snackBar.open(message, '', { politeness: 'assertive', duration: 5000 });\n },\n next: () => {\n this.snackBar.open(this.translate.instant('LOCAL_SEO.KEYWORD_DELETED'), '', {\n politeness: 'polite',\n duration: 5000,\n });\n this.fetchBusinessData();\n },\n });\n }\n\n updateDateRange(dateRange: DateRange): void {\n this.dateRange$$.next(dateRange);\n }\n\n setCanEditKeywords(value: boolean): void {\n this.canEditKeywords$$.next(value);\n }\n\n setLocalStorage(key: string, value: string): void {\n this.agid$\n .pipe(\n map((agid) => {\n localStorage.setItem(`${agid}-${key}`, value);\n return EMPTY;\n }),\n )\n .subscribe();\n }\n\n getLocalStorage(key: string): Observable {\n return this.agid$.pipe(\n map((agid) => {\n return localStorage.getItem(`${agid}-${key}`);\n }),\n );\n }\n}\n\nfunction formatLocalSearchSEOData(data: LocalSearchData[]): LocalSearchData[] {\n return (\n data?.map((localSearchData) => {\n const mainIndex = localSearchData.results.findIndex((result) => result.isMainBusiness);\n if (mainIndex > 2) {\n const mainBusiness = localSearchData.results[mainIndex];\n localSearchData.results = localSearchData.results.slice(0, 3);\n localSearchData.results.push(mainBusiness);\n } else {\n localSearchData.results = localSearchData.results.slice(0, 3);\n }\n return localSearchData;\n }) || []\n );\n}\n\nfunction ParseRowsFromQueryMetricsResult(resp: MetricResult[], metricIndex: number): SEODataPoint[] {\n return resp.reduce((arr: SEODataPoint[], metric) => {\n if (metric?.results?.metrics) {\n metric.results.metrics.forEach((nestedMetric) => {\n if (nestedMetric?.measures) {\n arr.push({\n value: nestedMetric.measures[metricIndex],\n date: metric.dimension,\n });\n }\n });\n }\n return arr;\n }, []);\n}\n\nfunction generateSEODataQueryMetricsRequest(\n partnerId: string,\n businessId: string,\n keyword: string,\n startDate: Date,\n endDate: Date,\n): QueryMetricsRequest {\n const measures = [\n new Measure({\n aggregate: new MeasureAggregate({\n measure: 'local_rank',\n aggOp: MeasureAggregateOperator.MAX,\n }),\n }),\n new Measure({\n aggregate: new MeasureAggregate({\n measure: 'organic_rank',\n aggOp: MeasureAggregateOperator.MAX,\n }),\n }),\n ];\n\n const alignmentPeriod = getAlignmentPeriodForDayJSRange(dayjs(startDate), dayjs(endDate));\n\n return new QueryMetricsRequest({\n metricName: 'seo_data',\n partnerId: partnerId,\n resourceIds: [\n new ResourceId({\n businessId: new BusinessResourceId({ businessId: businessId }),\n }),\n ],\n filter: new Filter({\n fieldFilter: new FieldFilter({\n dimension: 'keyword',\n operator: FieldFilterOperator.EQUAL,\n value: {\n value: keyword,\n valueType: PropertyType.PROPERTY_TYPE_STRING,\n },\n }),\n }),\n dateRange: {\n start: startDate,\n end: endDate,\n },\n measures: measures,\n groupBy: new GroupBy({\n dimension: [\n {\n dimension: 'date',\n },\n {\n limitDimension: {\n dimension: 'version',\n order: Order.ORDER_DESC,\n limit: 1,\n },\n },\n ],\n }),\n alignment: Alignment.ALIGN_DELTA,\n alignmentPeriod: new AlignmentPeriod({\n calendar: alignmentPeriod,\n }),\n });\n}\n\nexport function getAlignmentPeriodForDayJSRange(start: dayjs.Dayjs, end: dayjs.Dayjs): AlignmentPeriodCalendar {\n const numMonths = end.diff(start, 'months');\n const numDays = end.diff(start, 'days');\n if (numMonths >= 5) {\n // set the alignment period to monthly if the range is 6 months or more\n return AlignmentPeriodCalendar.CALENDAR_MONTH;\n } else if (numDays >= 89) {\n // Use weekly alignment for 90 days or more\n return AlignmentPeriodCalendar.CALENDAR_WEEK;\n } else {\n return AlignmentPeriodCalendar.CALENDAR_DAY;\n }\n}\n","import { Component, Inject } from '@angular/core';\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\nimport { FormBuilder, UntypedFormArray } from '@angular/forms';\nimport { SelectInputOption } from '@vendasta/galaxy/input';\nimport { Observable } from 'rxjs';\nimport { KeywordInfo } from '@vendasta/listing-products';\nimport { ProductAnalyticsService } from '@vendasta/product-analytics';\nimport { KeywordTrackingService } from '../keyword-tracking/keyword-tracking.service';\n\nexport interface KeywordDialogResult {\n originalKeywords: string[];\n newKeywords: string[];\n}\n\n@Component({\n selector: 'local-seo-keyword-dialog',\n templateUrl: './local-seo-keyword-dialog.component.html',\n styleUrls: ['./local-seo-keyword-dialog.component.scss'],\n standalone: false,\n})\nexport class LocalSeoKeywordDialogComponent {\n keywordLimit: number;\n form: UntypedFormArray;\n options: SelectInputOption[];\n suggestedKeywordList: KeywordInfo[];\n displayedColumns: string[] = ['keyword', 'competition', 'search_volume', 'add_button'];\n isLbFreeEdition$: Observable;\n canEditKeywords: boolean;\n\n originalKeywords: string[] = [];\n\n public suggestedKeywordsErrorMessage: string | null = null;\n constructor(\n @Inject(MAT_DIALOG_DATA)\n public data: {\n keywords: string[];\n keywordLimit: number;\n suggestedKeywords: KeywordInfo[];\n canEditKeywords: boolean;\n },\n public dialogRef: MatDialogRef,\n private fb: FormBuilder,\n private keywordTrackingService: KeywordTrackingService,\n private posthogService: ProductAnalyticsService,\n ) {\n this.originalKeywords = this.data.keywords;\n this.canEditKeywords = data.canEditKeywords;\n this.isLbFreeEdition$ = this.keywordTrackingService.isLBFreeEdition$;\n this.suggestedKeywordList = data.suggestedKeywords;\n this.suggestedKeywordsErrorMessage = this.keywordTrackingService.suggestedKeywordsErrorMessage;\n this.keywordLimit = data.keywordLimit;\n this.form = new UntypedFormArray([]);\n this.form.controls.push(this.fb.control(''));\n }\n\n currentKeywordUsage() {\n const inputsWithText = this.form.controls.filter((control) => control.value.length > 0).length;\n return this.data.keywords.length + inputsWithText;\n }\n\n closeModal(save: boolean): void {\n // forms-va-input-repeated returns [''] by default. We need to filter this out.\n const keywordsAdded = this.form.controls.map((control) => control.value).filter((value) => value !== '');\n if (!keywordsAdded.length) {\n this.dialogRef.close(undefined);\n }\n\n const result: KeywordDialogResult = {\n originalKeywords: this.originalKeywords,\n newKeywords: keywordsAdded,\n };\n\n this.raisePostHogEvent(keywordsAdded);\n\n this.dialogRef.close(save ? result : undefined);\n }\n\n raisePostHogEvent(keywordsAdded: any[]): void {\n const suggestedKeywordsAdded = this.data.suggestedKeywords.filter((keyword) =>\n keywordsAdded.includes(keyword.keyword),\n );\n\n for (const suggestedKeywordsAddedElement of suggestedKeywordsAdded) {\n this.posthogService.trackEvent('suggested-keywords-added', 'suggest-keyword', 'save', 1, {\n keyword: suggestedKeywordsAddedElement.keyword,\n });\n }\n }\n\n addSuggestedKeyword(element: KeywordInfo): void {\n this.form.controls.push(this.fb.control(element.keyword));\n this.form.controls = this.form.controls.filter((control) => control.value !== '');\n this.suggestedKeywordList = this.suggestedKeywordList.filter((keyword) => keyword.keyword !== element.keyword);\n }\n\n removeClicked(keyword: string): void {\n const removedKeyword = this.data.suggestedKeywords.find((keywordInfo) => keywordInfo.keyword === keyword);\n if (!removedKeyword) {\n return;\n }\n this.suggestedKeywordList.push(removedKeyword);\n this.suggestedKeywordList = [].concat(this.suggestedKeywordList);\n }\n}\n","

\n {{ 'LOCAL_SEO.ADD_KEYWORDS' | translate }}\n \n {{ currentKeywordUsage() }}/{{ keywordLimit }} {{ 'LOCAL_SEO.USED' | translate }}\n \n

\n\n \n = keywordLimit\"\n [bottomSpacing]=\"'small'\"\n (removeClicked)=\"removeClicked($event)\"\n >\n \n \n {{ 'LOCAL_SEO.SMART_SUGGESTIONS' | translate }}\n 0; else noKeywords\">\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n
KEYWORD{{ element?.keyword }}COMPETITIVENESS{{ element?.competition | titlecase }}SEARCH VOLUME\n {{ element.searchVolume ? element.searchVolume.toLocaleString() : '' }}\n \n keywordLimit || !canEditKeywords\"\n (click)=\"addSuggestedKeyword(element)\"\n >\n add\n \n
\n
\n
\n \n @if (this.suggestedKeywordsErrorMessage) {\n

{{ suggestedKeywordsErrorMessage }}

\n } @else {\n

{{ 'LOCAL_SEO.NO_KEYWORDS_AVAILABLE' | translate }}

\n }\n
\n
\n\n \n data?.keywords.length && canEditKeywords)\"\n >\n {{ 'COMMON.ADD_KEYWORDS' | translate }}\n \n\n","import { Component, Input } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatIconModule } from '@angular/material/icon';\n\n@Component({\n selector: 'local-seo-delta',\n imports: [CommonModule, MatIconModule],\n templateUrl: './delta.component.html',\n styleUrls: ['./delta.component.scss'],\n})\nexport class DeltaComponent {\n @Input() value: number;\n @Input() showNeutral = false;\n\n absVal(value: number) {\n return Math.abs(value);\n }\n}\n","
\n 0\">\n \n \n \n \n \n \n \n \n
\n\n\n
\n arrow_drop_down\n {{ absVal(value) | number : '1.0-2' }}\n
\n
\n\n\n
\n arrow_drop_up\n {{ value | number : '1.0-2' }}\n
\n
\n\n\n
no change
\n
\n","export const chartBlue = '#2E8DED';\nexport const chartGreen = '#3FB23F';\n","import { Component, Input, OnChanges, OnInit } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { AlignmentPeriodCalendar } from '@vendasta/multi-location-analytics';\nimport dayjs from 'dayjs';\nimport {\n LocaleDateTickFormatting,\n MaxRank,\n SEODataPoint,\n SEOTableData,\n WholeNumberTickFormatting,\n} from '../../local-seo';\nimport { chartBlue, chartGreen } from './local-seo-graph.config';\n\ninterface ChartConfig {\n seriesData: MultiSeriesValue[];\n seriesTotal?: number;\n alignment?: AlignmentPeriodCalendar;\n colorOverrides?: SeriesValue[];\n showXAxis?: boolean;\n showYAxis?: boolean;\n showLegend?: boolean;\n xAxisLabel?: string;\n yAxisLabel?: string;\n disableTooltip?: boolean;\n yAxisMin?: number;\n yAxisMax?: number;\n view?: number[];\n xAxisTickFormatting?: (val: any) => string;\n yAxisTickFormatting?: (val: any) => string;\n}\n\ninterface SeriesValue {\n name: any;\n value: T;\n}\n\ninterface MultiSeriesValue {\n name: string;\n series: SeriesValue[];\n}\n\n@Component({\n selector: 'local-seo-graph',\n templateUrl: 'local-seo-graph.component.html',\n styleUrls: ['local-seo-graph.component.scss'],\n standalone: false,\n})\nexport class LocalSEOGraphComponent implements OnInit, OnChanges {\n @Input() localSEOData: SEOTableData;\n config: ChartConfig;\n\n forceHoverState = true;\n legendConfig = [\n {\n legendTranslationKey: 'LOCAL_SEO.LOCAL_SEO.GRAPH.LEGEND.LOCAL_RANK',\n icon: 'stop',\n iconColor: chartGreen,\n },\n {\n legendTranslationKey: 'LOCAL_SEO.LOCAL_SEO.GRAPH.LEGEND.ORGANIC_RANK',\n icon: 'stop',\n iconColor: chartBlue,\n },\n ];\n\n constructor(private translate: TranslateService) {}\n\n ngOnChanges(): void {\n window.requestAnimationFrame(() => {\n this.forceHoverState = false;\n });\n\n // Dispatch a resize event on the next frame\n window.requestAnimationFrame(() => {\n window.dispatchEvent(new Event('resize'));\n this.forceHoverState = true;\n });\n }\n\n ngOnInit() {\n this.config = this.buildChartConfig(this.localSEOData);\n }\n\n buildChartConfig(seoData: SEOTableData) {\n const defaultMultiConfig = {\n showXAxis: true,\n showYAxis: true,\n xAxisTickFormatting: LocaleDateTickFormatting,\n yAxisTickFormatting: WholeNumberTickFormatting,\n yAxisLabel: this.translate.instant('LOCAL_SEO.LOCAL_SEO.GRAPH.LABEL.YAXIS'),\n showLegend: false,\n };\n\n const range = seoData.metrics?.dateRange;\n\n const seriesData: MultiSeriesValue[] = [\n {\n name: 'Google Maps (Local)',\n series: formatSeriesData(seoData.metrics?.localRank || []),\n },\n {\n name: 'Google Search (Organic)',\n series: formatSeriesData(seoData.metrics?.organicRank || []),\n },\n ];\n\n const alignment = getAlignmentPeriodForDayJSRange(dayjs(range.start), dayjs(range.end));\n\n return {\n ...defaultMultiConfig,\n seriesData: seriesData,\n colorOverrides: [\n { name: 'Google Maps (Local)', value: chartGreen },\n { name: 'Google Search (Organic)', value: chartBlue },\n ],\n alignment: alignment,\n yAxisTickFormatting(value) {\n value = Math.abs(value);\n if (value > MaxRank) {\n return '${MaxRank}+';\n }\n return value;\n },\n yAxisMax: -1,\n };\n }\n\n formatDataPointDate(date: Date, aligment: AlignmentPeriodCalendar) {\n if (aligment === AlignmentPeriodCalendar.CALENDAR_MONTH) {\n return dayjs.utc(date).format('MMM, YYYY');\n } else if (aligment === AlignmentPeriodCalendar.CALENDAR_WEEK) {\n return this.translate.instant('COMMON.WEEK_OF') + ' ' + dayjs.utc(date).format('MMM D, YYYY');\n }\n return dayjs.utc(date).format('MMM D, YYYY');\n }\n}\n\nfunction getAlignmentPeriodForDayJSRange(start: dayjs.Dayjs, end: dayjs.Dayjs): AlignmentPeriodCalendar {\n const numMonths = end.diff(start, 'months');\n if (numMonths >= 8) {\n return AlignmentPeriodCalendar.CALENDAR_MONTH;\n } else if (numMonths >= 2) {\n return AlignmentPeriodCalendar.CALENDAR_WEEK;\n }\n return AlignmentPeriodCalendar.CALENDAR_DAY;\n}\n\nfunction formatSeriesData(data: SEODataPoint[]) {\n return data\n .filter((e) => e.value > 0 && e.value <= MaxRank)\n .map((l) => {\n return {\n name: offsetToUTCZero(l.date.toString()),\n value: l.value * -1, // add the lowest rank as possible since 0 is no rank\n };\n });\n}\n\nexport function offsetToUTCZero(date: string): Date {\n const offset = dayjs(date).utcOffset();\n return dayjs.utc(date).subtract(offset, 'm').toDate();\n}\n","
\n
\n \n \n
\n
\n {{ formatDataPointDate(model[0]?.name, config.alignment) }}\n
\n
\n
\n {{ mod.series }}: {{ config.yAxisTickFormatting(mod.value) }}\n
\n
\n
\n \n
\n
{{ config.yAxisTickFormatting(model.value) }}
\n
{{ formatDataPointDate(model.name, config.alignment) }}
\n
\n
\n \n
\n
\n \n
\n stop\n \n {{ legendItem.legendTranslationKey | translate }}\n \n
\n
\n
\n
\n","export interface BusinessPerformance {\n ranking: string;\n color: string;\n}\n//\nexport interface MapMarker {\n label: google.maps.MarkerLabel;\n lat: string;\n lng: string;\n icon: google.maps.Symbol;\n}\n//\nexport const SEOPerformance = {\n TOP: { ranking: 'top', color: '#4CAF50' },\n AVERAGE: { ranking: 'average', color: '#FFB300' },\n BOTTOM: { ranking: 'bottom', color: '#C62828' },\n UNKNOWN: { ranking: 'unknown', color: '#C62828' },\n};\n","import { Component, Input, OnInit, Pipe, PipeTransform } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { LocalSearchData, Vicinity } from '@vendasta/listing-products';\nimport { Geo } from '@vendasta/listing-products/lib/_internal/objects/listing-profile';\nimport { Location } from '@vendasta/listing-products';\nimport { GMBClaimStatus, Status } from '@vendasta/snapshot';\nimport { Observable, ReplaySubject } from 'rxjs';\nimport { SEOTableData } from '../../local-seo';\nimport { offsetToUTCZero } from '../local-seo-graph/local-seo-graph.component';\nimport { BusinessPerformance, MapMarker, SEOPerformance } from './local-seo-grid';\nimport { KeywordTrackingService } from '../../keyword-tracking-page/keyword-tracking/keyword-tracking.service';\n\n@Pipe({\n name: 'ordinalNumber',\n standalone: false,\n})\nexport class OrdinalNumberPipe implements PipeTransform {\n static nth(n: number): string {\n if (n > 3 && n < 21) return 'th';\n switch (n % 10) {\n case 1:\n return 'st';\n case 2:\n return 'nd';\n case 3:\n return 'rd';\n default:\n return 'th';\n }\n }\n\n transform(value: number): string {\n if (!value) {\n return '';\n }\n return `${value}${OrdinalNumberPipe.nth(value)}`;\n }\n}\n\nconst selectedMarkerOpacity = 1;\nconst markerOpacity = 0.6;\n\n@Component({\n selector: 'local-seo-grid',\n templateUrl: 'local-seo-grid.component.html',\n styleUrls: ['local-seo-grid.component.scss'],\n providers: [OrdinalNumberPipe],\n standalone: false,\n})\nexport class LocalSEOGridComponent implements OnInit {\n @Input() agid: string;\n @Input() businessData: Location;\n @Input() localSEOData: SEOTableData;\n @Input() zoomValue: number;\n @Input() radiusSetting: number;\n\n private currentNearMeSearch$$: ReplaySubject = new ReplaySubject(1);\n private readonly conversionFactor = 1.60934;\n currentNearMeSearch$: Observable = this.currentNearMeSearch$$.asObservable();\n LocalSearchDatas: LocalSearchData[];\n nearMeMarkers: MapMarker[];\n searchTerm: string;\n dataRadiusValue: number;\n mapUnits: string;\n translatedMapUnitsKMS: string;\n isloading = true; // Flag to track loading state\n\n public get SEOPerformance(): typeof SEOPerformance {\n return SEOPerformance;\n }\n\n public get Vicinity(): typeof Vicinity {\n return Vicinity;\n }\n\n public get Status(): typeof Status {\n return Status;\n }\n\n public get GMBClaimStatus(): typeof GMBClaimStatus {\n return GMBClaimStatus;\n }\n\n public get CenterPoint(): Geo {\n const center = this.LocalSearchDatas?.find((search) => search.vicinity === Vicinity.VICINITY_C3);\n if (!center) {\n return this.businessData.location;\n }\n\n return center?.searchLocation;\n }\n\n public get MainBusinessPerformance(): BusinessPerformance {\n const center = this.LocalSearchDatas?.find((search) => search.vicinity === Vicinity.VICINITY_C3);\n const mainBusiness = center?.results.find((result) => result.isMainBusiness);\n return this.businessPerformance(+mainBusiness.rank);\n }\n\n public get MainBusinessRank(): number {\n const center = this.LocalSearchDatas?.find((search) => search.vicinity === Vicinity.VICINITY_C3);\n const mainBusiness = center?.results.find((result) => result.isMainBusiness);\n return +mainBusiness.rank;\n }\n\n constructor(\n private ordinalPipe: OrdinalNumberPipe,\n private translate: TranslateService,\n private localSEOService: KeywordTrackingService,\n ) {}\n\n ngOnInit(): void {\n this.localSEOService.GetLocalSEOSearchDetails(this.localSEOData.keyword.value).subscribe((localSearches) => {\n this.LocalSearchDatas = localSearches;\n this.currentNearMeSearch$$.next(localSearches.find((search) => search.vicinity === Vicinity.VICINITY_C3));\n this.nearMeMarkers = this.buildMarkers(localSearches);\n this.isloading = false;\n });\n\n // this.radiusValue = Object.keys(SEODataSearchRadiusZoomValue).find((key) => SEODataSearchRadiusZoomValue[key] === this.zoomValue) ??\n // SEARCH_RADIUS_LOCAL.toString();\n\n this.mapUnits =\n this.getLocalStorage('mapUnits') ?? this.translate.instant('LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.MILES');\n\n this.translate.get('LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.KMS').subscribe((translation) => {\n this.translatedMapUnitsKMS = translation;\n });\n }\n\n onMarkerClick(index: number): void {\n this.currentNearMeSearch$$.next(this.LocalSearchDatas[index]);\n this.setNearMeSelectedMarker(index);\n }\n\n offsetUTC(date: Date): Date {\n return offsetToUTCZero(date.toString());\n }\n\n businessPerformance(rank: number): BusinessPerformance {\n if (rank > 0 && rank <= 3) {\n return SEOPerformance.TOP;\n }\n if (rank > 3 && rank <= 20) {\n return SEOPerformance.AVERAGE;\n }\n if (rank > 20 && rank <= 100) {\n return SEOPerformance.BOTTOM;\n }\n return SEOPerformance.UNKNOWN;\n }\n\n getLocalStorage(key: string): string | null {\n return localStorage.getItem(`${this.agid}-${key}`);\n }\n\n buildMarkers(searches: LocalSearchData[]): MapMarker[] {\n const businessMarkers = [];\n\n searches.forEach((s) => {\n const markerBase = {\n path: 0,\n strokeWeight: 2,\n strokeColor: 'white',\n scale: 22,\n fillOpacity: this.setSelectedCenterMarker(s.vicinity),\n };\n\n const mainBusinessFiltered = s.results?.filter((b) => b.isMainBusiness);\n const mainBusiness = mainBusinessFiltered.length > 0 ? mainBusinessFiltered[0] : null;\n if (mainBusiness) {\n const markerIcon = {\n ...markerBase,\n fillColor: this.businessPerformance(+mainBusiness.rank).color,\n };\n\n if (s.searchLocation) {\n businessMarkers.push({\n label: {\n text: mainBusiness?.rank ? this.ordinalPipe.transform(+mainBusiness.rank) : '-',\n color: 'white',\n },\n lat: s.searchLocation.latitude,\n lng: s.searchLocation.longitude,\n icon: markerIcon,\n });\n }\n } else {\n businessMarkers.push({\n label: {\n text: '-',\n color: 'white',\n },\n lat: s.searchLocation.latitude,\n lng: s.searchLocation.longitude,\n icon: {\n ...markerBase,\n fillColor: SEOPerformance.UNKNOWN.color,\n },\n });\n }\n });\n return businessMarkers;\n }\n\n setSelectedCenterMarker(vicinity: Vicinity): number {\n if (vicinity === Vicinity.VICINITY_CITY || vicinity === Vicinity.VICINITY_C3) {\n return selectedMarkerOpacity;\n }\n return markerOpacity;\n }\n\n setNearMeSelectedMarker(index: number): void {\n this.nearMeMarkers.forEach((m) => {\n if (m.icon.fillOpacity === 1) {\n m.icon = { ...m.icon, fillOpacity: markerOpacity };\n }\n });\n this.nearMeMarkers[index].icon = { ...this.nearMeMarkers[index].icon, fillOpacity: selectedMarkerOpacity };\n }\n\n convertStringToNumber(radiusValue: string): number {\n return +radiusValue;\n }\n\n getConvertedRadiusValue(radiusValue: number, mapUnits: string, kilometersTranslationKey: string): number {\n if (mapUnits === kilometersTranslationKey) {\n const kilometers = radiusValue * this.conversionFactor;\n return Math.round(kilometers);\n }\n\n return radiusValue;\n }\n}\n","
\n @if (!isloading) {\n \n \n
\n '{{ localSEOData.keyword }}'\n \n {{ MainBusinessRank || '-' }}\n \n
\n
\n
\n\n \n\n \n } @else {\n \n }\n
\n\n\n
\n
\n
\n \n
\n \n
\n \n
\n \n ads_click\n {{ 'LOCAL_SEO.LOCAL_SEO.MAP_INFO_TEXT' | translate }}\n
\n
\n
\n
\n \n {{ 'LOCAL_SEO.LOCAL_SEO.RADIUS_UPDATE_IN_PROGRESS_BADGE' | translate }}\n \n
\n
\n 0; else noSearchResults\">\n
\n
\n
\n
\n \n {{ result.rank || '-' }}\n \n \n \n {{ result.businessName }}\n
\n \n \n {{ result.reviews?.rating }}\n star\n
\n 0\"\n >\n \n {{ 'LOCAL_SEO.LOCAL_SEO.REVIEWS_COUNT' | translate: { count: result.reviews?.count } }}\n \n \n \n \n {{ 'COMMON.YOU' | translate }}\n \n
\n\n
\n
\n \n \n {{ result.address }}\n \n \n \n {{ result.phoneNumber | phone: result?.country || 'US' }}\n \n \n
\n
\n
\n 1 }\">\n
\n \n \n
\n
\n \n
\n
\n
\n\n \n
\n {{ 'COMMON.UPDATED' | translate }} {{ offsetUTC(localSEOData.date) | date: 'MMMM d, y' }}\n
\n
\n \n \n\n \n
\n \n \n search_off\n \n \n {{ 'LOCAL_SEO.LOCAL_SEO.NO_RESULTS_TITLE' | translate }}\n \n \n
\n
\n\n \n \n {{ 'LOCAL_SEO.LOCAL_SEO.PHONE_NOT_FOUND' | translate }}\n \n \n\n \n \n \n \n \n verified_user\n {{ 'LOCAL_SEO.LOCAL_SEO.CLAIMED' | translate }}\n \n \n\n \n \n \n not_listed_location\n {{ 'LOCAL_SEO.LOCAL_SEO.UNCLAIMED' | translate }}\n \n \n\n \n \n \n \n \n
\n","import { animate, state, style, transition, trigger } from '@angular/animations';\nimport { ChangeDetectorRef, Component, EventEmitter, Input, OnDestroy, OnInit, Output, ViewChild } from '@angular/core';\nimport { MatPaginator } from '@angular/material/paginator';\nimport { MatSort } from '@angular/material/sort';\nimport { MatTableDataSource } from '@angular/material/table';\nimport { Location } from '@vendasta/listing-products';\nimport { TranslateService } from '@ngx-translate/core';\nimport { BehaviorSubject, Observable, Subscription } from 'rxjs';\nimport {\n KeywordStore,\n MaxRank,\n SEARCH_RADIUS_LOCAL,\n SEODataSearchRadiusZoomValue,\n SeoDataSettings,\n SEOTableData,\n} from '../local-seo';\n\ninterface ColumnConfigValue {\n name: string;\n class: string;\n iconURL?: string;\n showDelta?: boolean;\n deltaColumn?: string;\n}\n\nexport interface ColumnConfig {\n [key: string]: ColumnConfigValue;\n}\n\ninterface SortSettings {\n active: keyof SEOTableData;\n direction: 'asc' | 'desc';\n}\n\nexport interface Stat {\n value: string;\n rawValue: number;\n}\n\nexport const SEODATA_TAB_GRAPH = 'graph';\nexport const SEODATA_TAB_GRID = 'grid';\n\n@Component({\n selector: 'local-seo-keyword-table',\n templateUrl: './local-seo-table.component.html',\n styleUrls: ['./local-seo-table.component.scss'],\n animations: [\n trigger('detailExpand', [\n state('collapsed', style({ height: '0px', minHeight: '0' })),\n state('expanded', style({ height: '*', minHeight: '60px' })),\n transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),\n ]),\n trigger('rotateIcon', [\n state('down', style({ transform: 'rotate(0)' })),\n state('up', style({ transform: 'rotate(-180deg)' })),\n transition('down <=> up', animate('225ms ease-out')),\n ]),\n ],\n standalone: false,\n})\nexport class LocalSEOTableComponent implements OnInit, OnDestroy {\n sortSettings = { active: 'localRank', direction: 'asc' };\n dataSource: MatTableDataSource = new MatTableDataSource([]);\n\n @Input() set SEOData(data: SEOTableData[]) {\n if (!data?.length) {\n return;\n }\n this.dataSource.data = data;\n this.dataSource.sort = this.sort;\n this.dataSource.paginator = this.paginator;\n this.dataSource.sortData = (data: SEOTableData[], sort: MatSort) => {\n const favorites = this.sortData(\n data.filter((item) => item.isFavorite),\n sort,\n );\n const nonFavorites = this.sortData(\n data.filter((item) => !item.isFavorite),\n sort,\n );\n return [...favorites, ...nonFavorites];\n };\n if (!this.expandedData) {\n const sortedData = this.dataSource.sortData(data, this.sort);\n this.expandedData = sortedData[0];\n }\n }\n\n @Input() loading$: Observable;\n @Input() keywordStore: KeywordStore;\n @Input() emptyStateImageURL: string;\n @Input() hideDropdown: boolean;\n @Input() proActive: boolean;\n @Input() location: Location;\n @Input() agid: string;\n @Input() settings: SeoDataSettings;\n @Input() disableEditingKeywords: boolean;\n @Input() editionUpgradeHidden: boolean;\n @Output() upgradeButtonClicked: EventEmitter = new EventEmitter();\n @Output() deleteKeyword: EventEmitter = new EventEmitter();\n @Output() favoriteKeywordsChanged: EventEmitter = new EventEmitter();\n @Output() syncingKeywordsChanged: EventEmitter = new EventEmitter();\n selectedTab$: Observable;\n subscriptions: Subscription[] = [];\n private selectedTab$$: BehaviorSubject = new BehaviorSubject(SEODATA_TAB_GRID);\n private paginator: MatPaginator;\n private sort: MatSort;\n expandedData: SEOTableData | null;\n activeTab: string;\n\n maxRank = MaxRank;\n\n columnConfig: ColumnConfig = {\n keyword: {\n name: 'LOCAL_SEO.KEYWORD.TITLE',\n class: '',\n },\n local: {\n name: 'LOCAL_SEO.LOCAL_SEO.MAPS',\n class: 'divided',\n iconURL: 'https://vstatic-prod.apigateway.co/listing-builder-client/assets/images/google/google-maps.svg',\n },\n organic: {\n name: 'LOCAL_SEO.LOCAL_SEO.ORGANIC',\n class: 'divided',\n iconURL: 'https://vstatic-prod.apigateway.co/listing-builder-client/assets/images/google/google.png',\n },\n localRank: {\n name: 'LOCAL_SEO.LOCAL_SEO.RANK',\n class: 'divided',\n showDelta: true,\n deltaColumn: 'localStartedAt',\n },\n organicRank: {\n name: 'LOCAL_SEO.LOCAL_SEO.RANK',\n class: 'divided',\n showDelta: true,\n deltaColumn: 'organicStartedAt',\n },\n localStartedAt: {\n name: 'LOCAL_SEO.LOCAL_SEO.STARTED_AT',\n class: '',\n },\n organicStartedAt: {\n name: 'LOCAL_SEO.LOCAL_SEO.STARTED_AT',\n class: '',\n },\n difficulty: {\n name: 'LOCAL_SEO.LOCAL_SEO.RANK_DIFFICULTY',\n class: 'divided',\n },\n searchVolume: {\n name: 'LOCAL_SEO.LOCAL_SEO.SEARCH_VOLUME',\n class: 'mat-header-wrap-text',\n },\n empty: {\n name: '',\n class: '',\n },\n empty2: {\n name: '',\n class: '',\n },\n };\n statColumns: string[] = [\n 'localRank',\n 'localStartedAt',\n 'organicRank',\n 'organicStartedAt',\n 'difficulty',\n 'searchVolume',\n ];\n topColumns: string[] = ['empty', 'local', 'organic', 'empty2', 'expandIcon'];\n columns: string[] = [\n 'keyword',\n 'localRank',\n 'localStartedAt',\n 'organicRank',\n 'organicStartedAt',\n 'difficulty',\n 'searchVolume',\n 'expandIcon',\n ];\n\n constructor(\n public translate: TranslateService,\n private cdr: ChangeDetectorRef,\n ) {\n this.selectedTab$ = this.selectedTab$$.asObservable();\n }\n\n @ViewChild(MatSort)\n set matSort(ms: MatSort) {\n this.sort = ms;\n this.setDataSourceAttributes();\n }\n\n @ViewChild(MatPaginator)\n set matPaginator(mp: MatPaginator) {\n this.paginator = mp;\n this.setDataSourceAttributes();\n }\n\n setDataSourceAttributes(): void {\n this.dataSource.paginator = this.paginator;\n this.dataSource.sort = this.sort;\n }\n\n onSelectActiveTab(tab: string): void {\n this.selectedTab$$.next(tab);\n this.cdr.detectChanges();\n }\n\n ngOnInit(): void {\n this.subscriptions.push(\n this.selectedTab$.subscribe((tab: string) => {\n this.activeTab = tab;\n }),\n );\n }\n\n ngOnDestroy() {\n this.subscriptions.forEach((sub) => sub.unsubscribe());\n }\n\n setSortSettings($event: SortSettings): void {\n this.sortSettings = { ...$event };\n }\n\n getZoomLevel(radius: number): number {\n return SEODataSearchRadiusZoomValue[radius ?? SEARCH_RADIUS_LOCAL];\n }\n\n updateSyncingKeywords(keyword: string, checked: boolean): void {\n if (checked) {\n this.syncingKeywordsChanged.emit([...this.keywordStore.syncingKeywords, keyword]);\n } else {\n this.syncingKeywordsChanged.emit(\n this.keywordStore?.syncingKeywords?.filter((syncingKeywords) => syncingKeywords !== keyword),\n );\n }\n }\n\n updateFavoriteKeywords(keyword: string, checked: boolean): void {\n if (checked) {\n this.favoriteKeywordsChanged.emit([...this.keywordStore.favoriteKeywords, keyword]);\n } else {\n this.favoriteKeywordsChanged.emit(\n this.keywordStore?.favoriteKeywords?.filter((favKeyword) => favKeyword !== keyword),\n );\n }\n }\n\n sortData(data: SEOTableData[], sort: MatSort): SEOTableData[] {\n const active = sort?.active;\n const direction = sort?.direction ?? '';\n if (!active || direction === '') {\n return data;\n }\n\n return data.sort((a, b) => {\n const valueA = getValuesForSorting(a, active);\n const valueB = getValuesForSorting(b, active);\n const comparatorResult = valueA < valueB ? -1 : valueA > valueB ? 1 : 0;\n return comparatorResult * (direction === 'asc' ? 1 : -1);\n });\n }\n}\n\nexport function getValuesForSorting(data: SEOTableData, sortHeaderId: string): string | number {\n const value = data[sortHeaderId];\n switch (sortHeaderId) {\n case 'keyword':\n return (value as Stat).value.toLocaleLowerCase();\n default:\n return (value as Stat).rawValue ?? 999999; //set undefined as the highest possible value so it remains at the bottom\n }\n}\n","\n \n\n\n\n \n \n \n \n \n
\n @if (seoData.isFavorite) {\n star\n }\n\n {{ seoData.keyword.value }}\n
\n \n \n\n \n
\n \n
\n {{ seoData[column].value }}\n \n \n 0\"\n [value]=\"-1 * (seoData[column]?.rawValue - seoData[deltaColumn]?.rawValue)\"\n >\n \n \n
\n \n \n\n \n
\n \n\n \n \n \n\n \n \n \n \n \n
{{ columnConfig['organic'].name | translate }}
\n \n
\n\n \n \n \n\n \n \n \n \n expand_more\n \n \n \n\n \n \n \n \n \n
\n \n \n grid_on\n {{ 'LOCAL_SEO.LOCAL_SEO.KEYWORD.EXPANDED_DROPDOWN.TAB.LOCAL_GRID' | translate }}\n \n \n trending_up\n {{ 'LOCAL_SEO.LOCAL_SEO.KEYWORD.EXPANDED_DROPDOWN.TAB.TREND' | translate }}\n \n \n settings\n {{ 'LOCAL_SEO.LOCAL_SEO.KEYWORD.EXPANDED_DROPDOWN.TAB.SETTINGS' | translate }}\n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n \n
\n
\n \n
\n
\n {{ 'LOCAL_SEO.LOCAL_SEO.KEYWORD.EXPANDED_DROPDOWN.SETTINGS.FAVORITE_KEYWORD' | translate }}\n
\n
\n {{\n 'LOCAL_SEO.LOCAL_SEO.KEYWORD.EXPANDED_DROPDOWN.SETTINGS.FAVORITE_KEYWORD_SUBTITLE' | translate\n }}\n
\n
\n
\n
\n \n
\n
\n {{ 'LOCAL_SEO.LOCAL_SEO.KEYWORD.EXPANDED_DROPDOWN.SETTINGS.SYNC_KEYWORD' | translate }}\n
\n
\n {{ 'LOCAL_SEO.LOCAL_SEO.KEYWORD.EXPANDED_DROPDOWN.SETTINGS.SYNC_KEYWORD_SUBTITLE' | translate }}\n
\n
\n
\n\n \n
\n
\n \n \n
\n\n
\n \n \n \n
\n {{ columnConfig['keyword'].name | translate }}\n \n \n \n \n \n \n \n \n \n
{{ columnConfig['local'].name | translate }}
\n
\n 20\"\n #paginator\n [pageSize]=\"20\"\n [pageSizeOptions]=\"[10, 20, 50, 100]\"\n >\n \n
\n\n\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n
{{ columnConfig['organic'].name | translate }}
\n \n
\n\n \n \n \n\n \n \n \n expand_more\n \n \n\n \n \n \n \n \n\n \n \n \n
\n {{ columnConfig['keyword'].name | translate }}\n \n \n \n \n \n \n \n
{{ columnConfig['local'].name | translate }}
\n
\n \n \n
\n\n\n
\n \n \n
\n
\n\n\n
\n \n \n
\n
\n\n\n \n \n pending\n \n \n {{ 'LOCAL_SEO.LOCAL_SEO.IN_PROGRESS_TITLE' | translate }}\n \n

{{ 'LOCAL_SEO.LOCAL_SEO.IN_PROGRESS_DESCRIPTION' | translate }}

\n
\n
\n","import { Injectable } from '@angular/core';\nimport { GalaxyGradientFill, GalaxyChartColor } from './interface';\n\n@Injectable()\nexport class ChartColorService {\n /**\n * Parses the GalaxyChartColor into either the string representation of the color or a\n * gradient fill compatable with Canvas\n * @param ctx - Canvas 2D context\n * @param value - GalaxyChartColor config\n */\n public parseColorInformation(ctx: CanvasRenderingContext2D, value: GalaxyChartColor | GalaxyChartColor[]) {\n // If the value is a string, that means they are just passing in a Hex, RGB, etc.\n if (typeof value === 'string') {\n return value;\n }\n\n // If it is an array of colors, change the check a bit\n if (Array.isArray(value)) {\n return value.map((val) => {\n return this.parseColorInformation(ctx, val);\n });\n }\n\n const gradientFill = ctx.createLinearGradient(ctx.canvas.width / 2, 0, ctx.canvas.width / 2, ctx.canvas.height);\n (value as GalaxyGradientFill).colors.forEach((color, index) => {\n gradientFill.addColorStop(index / value.colors.length, color);\n });\n return gradientFill;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { ChartConfiguration } from 'chart.js';\nimport { ChartColorService } from './chart-color.service';\n\n@Injectable()\nexport class ConfigParserService {\n constructor(private readonly chartColorService: ChartColorService) {}\n\n /**\n * Constructs an Option config for Chart.js based on the Galaxy Config passed in\n * @param config - Config to parse\n */\n public parseConfig(ctx: CanvasRenderingContext2D, config: ChartConfiguration) {\n // If there is no options passed in, just return out of it.\n if (!config || !config.options) {\n return {};\n }\n\n return this.checkForColorParsing(ctx, config.options, '');\n }\n\n /**\n * Parses through the GalaxyChartConfig for any *Color variables and if any are found, they are\n * parsed through the color parser.\n * @param ctx - Canvas 2D Context\n * @param currentDict - The current dictionary we are looking at\n * @param val - Current key we are looking at\n */\n private checkForColorParsing(ctx: CanvasRenderingContext2D, currentDict: any, val: any) {\n if (val.endsWith('Color')) {\n return this.chartColorService.parseColorInformation(ctx, currentDict);\n }\n\n const responseObject = {};\n Object.keys(currentDict).forEach((key) => {\n // If the information passed in is an object, we have to loop through those keys\n if (typeof currentDict[key] === 'object' && key !== 'scales' && key !== 'tooltip') {\n responseObject[key] = this.checkForColorParsing(ctx, currentDict[key], key);\n } else {\n responseObject[key] = currentDict[key];\n }\n });\n return responseObject;\n }\n}\n","import {\n Component,\n ElementRef,\n EventEmitter,\n Input,\n OnChanges,\n OnInit,\n Output,\n SimpleChanges,\n ViewChild,\n} from '@angular/core';\nimport { Chart, ChartConfiguration, ChartData } from 'chart.js';\nimport { ConfigParserService } from './config-parser.service';\n\n// Limit the available chart types while we are developing\nconst AVAILABLE_CHART_TYPES = ['line', 'bar'];\n\n@Component({\n selector: 'glxy-chart',\n templateUrl: './chart.component.html',\n styleUrls: ['./chart.component.scss'],\n standalone: false,\n})\nexport class ChartComponent implements OnInit, OnChanges {\n @Input() config: ChartConfiguration;\n @Input() data: ChartData;\n @Input() htmlLegend = false;\n @Output() htmlLegendContent: EventEmitter = new EventEmitter(true);\n\n @ViewChild('chartJsChartContainer', { static: true })\n chartContainer: ElementRef;\n\n private canvasContext: CanvasRenderingContext2D;\n private chartObj;\n\n constructor(private readonly configParserService: ConfigParserService) {}\n\n ngOnInit() {\n if (this.config) {\n if (AVAILABLE_CHART_TYPES.indexOf(this.config.type) === -1) {\n throw new Error(\n `The chart type \"${this.config.type}\" is not a supported chart type. Please reach out to #wisakejak to request this chart type`,\n );\n }\n this.setupChartJsContainer();\n if (this.htmlLegend) {\n this.emitHtmlLegend();\n }\n }\n }\n\n ngOnChanges(changes: SimpleChanges) {\n if (!!changes.config && !changes.config.firstChange) {\n const options = this.configParserService.parseConfig(this.canvasContext, this.config);\n this.chartObj.options = options;\n this.chartObj.update();\n }\n if (!!changes.data && !changes.data.firstChange) {\n this.chartObj.data = this.data;\n this.chartObj.update();\n }\n if (this.htmlLegend && this.config) {\n this.emitHtmlLegend();\n }\n }\n\n /**\n * Constructs the canvas object and sets up the chart container\n */\n private setupChartJsContainer() {\n this.canvasContext = (this.chartContainer.nativeElement as HTMLCanvasElement).getContext('2d');\n\n const options = this.configParserService.parseConfig(this.canvasContext, this.config);\n this.chartObj = new Chart(this.canvasContext, {\n type: this.config.type,\n data: this.data,\n options,\n });\n }\n\n emitHtmlLegend() {\n if (this.chartObj) {\n this.htmlLegendContent.emit(this.chartObj.generateLegend());\n }\n }\n}\n","\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ChartComponent } from './chart.component';\nimport { ConfigParserService } from './config-parser.service';\nimport { ChartColorService } from './chart-color.service';\n\n@NgModule({\n declarations: [ChartComponent],\n imports: [CommonModule],\n exports: [ChartComponent],\n providers: [ConfigParserService, ChartColorService],\n})\nexport class ChartModule {}\n\nexport { ChartComponent } from './chart.component';\n","// Chart.js chart types: 'line' | 'bar' | 'radar' | 'pie' | 'doughtnut' | 'polarArea' | 'bubble' | 'scatter';\nexport enum GalaxyChartType {\n LINE = 'line',\n BAR = 'bar',\n}\n\nexport type GalaxyChartAvailableTypes = GalaxyChartType.LINE | GalaxyChartType.BAR;\nexport type GalaxyPointTypes =\n | 'circle'\n | 'cross'\n | 'crossRot'\n | 'dash'\n | 'line'\n | 'rect'\n | 'rectRounded'\n | 'rectRot'\n | 'star'\n | 'triangle';\n\n/**\n * An example of using a custom tick for showing USD currency\n */\nexport function USDCurrencyTick(value) {\n return new Intl.NumberFormat('en-US', {\n style: 'currency',\n currency: 'USD',\n notation: 'compact',\n compactDisplay: 'short',\n } as any).format(value);\n}\n\n/**\n * Galaxy gradient fill color. It will order indexes 0 -> ... top -> bottom\n */\nexport interface GalaxyGradientFill {\n colors: string[];\n}\nexport type GalaxyChartColor = string | GalaxyGradientFill;\n\n/**\n * Configure Chart.js Legend\n * For more information:\n * https://www.chartjs.org/docs/latest/configuration/legend.html\n */\nexport interface GalaxyChartLegendConfig {\n display?: boolean;\n position?: 'top' | 'left' | 'right' | 'bottom';\n align?: 'start' | 'center' | 'end';\n\n onClick?: (event, legendItem) => void;\n onHover?: (event, legendItem) => void;\n onLeave?: (event, legendItem) => void;\n}\n\n/**\n * Configure the Chart.js title\n * For more information:\n * https://www.chartjs.org/docs/latest/configuration/title.html\n */\nexport interface GalaxyChartTitle {\n /// Show the title, default false\n display?: boolean;\n // Position of the title, default top\n position?: 'top' | 'left' | 'right' | 'bottom';\n // Font Settings\n fontSize?: number;\n fontFamily?: string;\n fontColor?: GalaxyChartColor;\n fontStyle?: string;\n // Number of pixels to add above and below the title text\n padding?: number;\n // Height of an individual line\n lineHeight?: number | string;\n // Title text to display.\n text: string;\n}\n\n/**\n * Layout config for the chart\n * For more information:\n * https://www.chartjs.org/docs/latest/configuration/layout.html\n */\nexport interface GalaxyChartLayout {\n // If this value is a number, it is applied to all sides of the chart (left, top, right, bottom).\n // If this value is an object, the left property defines the left padding.\n // Similarly the right, top and bottom properties can also be specified.\n padding: number | Record;\n}\n\n/**\n * Configure Chart.js Line Chart\n * This is only a subset of options available on the config.\n * Just to keep things streamlined and simple. If there is a missing config\n * that you could utillize, you can add it to the config.\n * For more information:\n * https://www.chartjs.org/docs/latest/charts/line.html#line-styling\n */\nexport interface GalaxyLineChartConfig {\n /**\n * GENERAL SETTINGS\n */\n // Bezier curve tension of the line. Set to 0 to draw straightlines.\n lineTension?: number;\n // Bar chart style steps in a line chart\n // https://www.chartjs.org/docs/latest/charts/line.html#stepped-line\n steppedLine?: boolean | 'before' | 'after' | 'middle';\n\n /**\n * LINE STYLING\n */\n // How to fill the area under the line\n // https://www.chartjs.org/docs/latest/charts/area.html\n // false = disabled, enabled by default\n fill?: any;\n // The line fill color\n backgroundColor?: GalaxyChartColor;\n // The line color\n borderColor?: GalaxyChartColor;\n // The line width (in pixels).\n borderWidth?: number;\n\n /**\n * POINT STYLING\n */\n // The fill color for points.\n pointBackgroundColor?: GalaxyChartColor;\n // The border color for points.\n pointBorderColor?: GalaxyChartColor;\n // The width of the point border (in pixels).\n pointBorderWidth?: number;\n // The radius of the point shape. If set to 0, the point is not rendered.\n pointRadius?: number;\n // The style of the point\n pointStyle?: GalaxyPointTypes;\n // The pixel size of the non-displayed point that reacts to mouse events.\n pointHitRadius?: number;\n}\n\nexport interface GalaxyBarChartConfig {\n backgroundColor: GalaxyChartColor[];\n}\n","export const GalaxyChartPredefinedColor = {\n BLUE: {\n SOLID: 'rgb(66, 165, 245)',\n GRADIENT: [\n 'rgba(66, 165, 245, 0.5)',\n 'rgba(66, 165, 245, 0.3)',\n 'rgba(66, 165, 245, 0.2)',\n 'rgba(66, 165, 245, 0.0)',\n 'rgba(66, 165, 245, 0.0)',\n ],\n },\n};\n","export * from './chart.module';\nexport * from './interface';\nexport * from './colors';\n","export * from './lib/public_api';\n","import { Component, Input, TemplateRef, ViewChild } from '@angular/core';\nimport { animate, state, style, transition, trigger } from '@angular/animations';\n\nexport interface StatTabTooltip {\n title: string;\n content: string;\n}\n\nexport interface StatTabData {\n name: string;\n value: string;\n showDelta: boolean;\n deltaValue: number;\n toolTip?: StatTabTooltip;\n subtitle?: string;\n}\n\n@Component({\n selector: 'local-seo-stat-tabs',\n templateUrl: './stat-tabs.component.html',\n styleUrls: ['./stat-tabs.component.scss'],\n animations: [\n trigger('detailExpand', [\n state('collapsed', style({ height: '0px', minHeight: '0' })),\n state('expanded', style({ height: '*', minHeight: '0' })),\n transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),\n ]),\n ],\n standalone: false,\n})\nexport class LocalSEOStatTabsComponent {\n @Input() tabs: StatTabData[];\n @Input() content: TemplateRef[];\n\n openContent: TemplateRef;\n selectedIndex = -1;\n\n @ViewChild('tabGroup') tabGroup;\n\n selectContent(index: number) {\n if (this.selectedIndex === index) {\n this.selectedIndex = -1;\n this.openContent = null;\n return;\n }\n this.selectedIndex = index;\n this.openContent = this.content[index];\n }\n}\n","
\n
\n \n
\n
\n {{ tab.name | translate }}\n \n \n info_outline\n \n \n
\n
\n {{ tab.value }}\n \n
{{ tab.subtitle }}
\n
\n
\n
\n
\n\n
\n \n
\n\n","import { formatNumber } from '@angular/common';\nimport { Component, HostListener, Input, OnChanges } from '@angular/core';\nimport { GalaxyChartType } from '@bit/vendasta.planets.chart';\nimport { TranslateService } from '@ngx-translate/core';\nimport { Chart, ChartConfiguration, ChartData, registerables } from 'chart.js';\nimport dayjs from 'dayjs';\nimport { MaxMapsRank, MaxRank, SEODataPoint, SEOTableData, SeoDataKeywordMetrics } from '../local-seo';\nimport { StatTabData } from '../stat-tabs/stat-tabs.component';\n\ninterface CardDataPoint {\n value: string;\n delta?: number;\n}\n\ninterface keywordMovement {\n keywordsUp: number;\n keywordsDown: number;\n ranksUp: number;\n ranksDown: number;\n}\n\ninterface keywordRanks {\n date: Date;\n top10: number;\n top50: number;\n other: number;\n}\n\ninterface positionDataPoint {\n date: Date;\n local: positionTotal;\n organic: positionTotal;\n average: positionTotal;\n}\n\ninterface positionTotal {\n value: number;\n totalKeywords: number;\n}\n\n@Component({\n selector: 'local-seo-keywords-stats-cards',\n templateUrl: './local-seo-keywords-stats-cards.component.html',\n styleUrls: ['./local-seo-keywords-stats-cards.component.scss'],\n standalone: false,\n})\nexport class LocalSeoKeywordsStatsCardsComponent implements OnChanges {\n localCards: StatTabData[];\n @Input() data: SEOTableData[];\n\n keywordMovement: keywordMovement;\n screenWidth = window.innerWidth;\n\n constructor(private translate: TranslateService) {\n this.onResize();\n Chart.register(...registerables);\n }\n\n @HostListener('window:resize', ['$event'])\n onResize() {\n this.top10ChartConfig.options.plugins.legend.position = window.innerWidth > 600 ? 'right' : 'bottom';\n this.positionChartConfig.options.plugins.legend.position = window.innerWidth > 600 ? 'right' : 'bottom';\n }\n\n @Input() set keywordMetrics(metrics: SeoDataKeywordMetrics[]) {\n this.setTop10PositionChartData(metrics);\n this.setPositionChartData(metrics);\n }\n\n setTop10PositionChartData(metrics: SeoDataKeywordMetrics[]) {\n const series = metrics.map((keywordSeries) =>\n getBestRankForEachDate(keywordSeries.organicRank, keywordSeries.localRank),\n );\n let values: keywordRanks[] = [];\n series.reduce((acc, keywordSeries) => {\n acc = keywordSeries.reduce((acc2, point) => {\n if (point.value > 0 && point.value <= 10) {\n acc2 = addKeywordRanksToList(acc2, point.date, true, false, false);\n } else if (point.value > 0 && point.value <= MaxRank) {\n acc2 = addKeywordRanksToList(acc2, point.date, false, true, false);\n } else {\n acc2 = addKeywordRanksToList(acc2, point.date, false, false, true);\n }\n return acc2;\n }, acc);\n return acc;\n }, values);\n\n values = values.sort((a, b) => {\n return new Date(a.date).getTime() < new Date(b.date).getTime() ? -1 : 1;\n });\n\n this.top10ChartData.labels = values.map((value) => dayjs.utc(value.date).format('MMM D'));\n this.top10ChartData.datasets = [\n {\n label: this.translate.instant('LOCAL_SEO.LOCAL_SEO.GRAPHS.OVER_50'),\n data: values.map((value) => value.other),\n backgroundColor: ['#BDBDBD'],\n },\n {\n label: this.translate.instant('LOCAL_SEO.LOCAL_SEO.GRAPHS.TOP50'),\n data: values.map((value) => value.top50),\n backgroundColor: ['#4CAF50'],\n },\n {\n label: this.translate.instant('LOCAL_SEO.LOCAL_SEO.GRAPHS.TOP10'),\n data: values.map((value) => value.top10),\n backgroundColor: ['#388E3C'],\n },\n ];\n }\n\n setPositionChartData(metrics: SeoDataKeywordMetrics[]) {\n let datesWithData = metrics.reduce((acc, keywordSeries) => {\n keywordSeries.organicRank.reduce((acc2, point) => {\n if (point.value >= 0 && !acc2.includes(point.date)) {\n acc2.push(point.date);\n }\n return acc2;\n }, acc);\n keywordSeries.localRank.reduce((acc2, point) => {\n if (point.value >= 0 && !acc2.includes(point.date)) {\n acc2.push(point.date);\n }\n return acc2;\n }, acc);\n return acc;\n }, []);\n\n datesWithData = datesWithData.sort((a, b) => {\n return new Date(a).getTime() < new Date(b).getTime() ? -1 : 1;\n });\n\n let dataPoints: positionDataPoint[] = datesWithData.map((date) => {\n return {\n date: date,\n local: {\n value: 0,\n totalKeywords: 0,\n },\n organic: {\n value: 0,\n totalKeywords: 0,\n },\n average: {\n value: 0,\n totalKeywords: 0,\n },\n };\n });\n\n dataPoints = metrics.reduce((acc, keywordSeries) => {\n acc = keywordSeries.organicRank.reduce((acc2, point) => {\n if (point.value === 0 || point.value > MaxRank) {\n point.value = MaxRank + 1;\n }\n const existingIndex = acc.findIndex((entry) => entry.date === point.date);\n if (existingIndex > -1) {\n acc2[existingIndex].organic.value += point.value;\n acc2[existingIndex].organic.totalKeywords++;\n acc2[existingIndex].average.value += point.value;\n acc2[existingIndex].average.totalKeywords++;\n }\n return acc2;\n }, acc);\n acc = keywordSeries.localRank.reduce((acc2, point) => {\n if (point.value === 0 || point.value > MaxMapsRank) {\n point.value = MaxMapsRank + 1;\n }\n const existingIndex = acc.findIndex((entry) => entry.date === point.date);\n if (existingIndex > -1) {\n acc2[existingIndex].local.value += point.value;\n acc2[existingIndex].local.totalKeywords++;\n acc2[existingIndex].average.value += point.value;\n acc2[existingIndex].average.totalKeywords++;\n }\n return acc2;\n }, acc);\n return acc;\n }, dataPoints);\n\n this.positionChartData.labels = datesWithData.map((date) => dayjs.utc(date).format('MMM D'));\n this.positionChartData.datasets = [\n {\n label: '',\n type: 'line',\n data: dataPoints.map((point) => {\n if (point.average.value === 0 || point.average.totalKeywords === 0) {\n return 0;\n }\n return MaxRank - Math.round(point.average.value / point.average.totalKeywords);\n }),\n borderColor: ['#000000'],\n borderDash: [2, 2],\n borderWidth: 1,\n pointRadius: 0,\n },\n {\n label: this.translate.instant('LOCAL_SEO.LOCAL_SEO.GRAPHS.LOCAL'),\n data: dataPoints.map((point) => {\n if (point.local.value === 0 || point.local.totalKeywords === 0) {\n return 0;\n }\n return MaxRank - Math.round(point.local.value / point.local.totalKeywords);\n }),\n backgroundColor: ['#66BB6A'],\n },\n {\n label: this.translate.instant('LOCAL_SEO.LOCAL_SEO.GRAPHS.ORGANIC'),\n data: dataPoints.map((point) => {\n if (point.organic.value === 0 || point.organic.totalKeywords === 0) {\n return 0;\n }\n return MaxRank - Math.round(point.organic.value / point.organic.totalKeywords);\n }),\n backgroundColor: ['#56B4E9'],\n },\n ];\n }\n\n top10ChartConfig: ChartConfiguration = {\n type: GalaxyChartType.BAR,\n data: {\n datasets: [],\n labels: [],\n },\n options: {\n responsive: true,\n maintainAspectRatio: false,\n plugins: {\n legend: {\n display: true,\n position: this.screenWidth > 600 ? 'right' : 'bottom',\n align: 'center',\n fullSize: true,\n },\n },\n scales: {\n x: {\n stacked: false,\n },\n y: {\n beginAtZero: true,\n ticks: {\n maxTicksLimit: 3,\n },\n },\n },\n },\n };\n\n top10ChartData: ChartData = {\n datasets: [],\n };\n\n positionChartConfig: ChartConfiguration = {\n type: GalaxyChartType.BAR,\n data: {\n datasets: [],\n labels: [],\n },\n options: {\n responsive: true,\n maintainAspectRatio: false,\n plugins: {\n legend: {\n display: true,\n position: this.screenWidth > 600 ? 'right' : 'bottom',\n align: 'center',\n fullSize: true,\n labels: {\n filter: function (item) {\n return !!item.text;\n },\n },\n },\n tooltip: {\n callbacks: {\n label: function (context) {\n let label = context.dataset.label || '';\n if (label) {\n label += ': ';\n }\n if (context.parsed.y !== null) {\n label += MaxRank - context.parsed.y;\n }\n return label;\n },\n },\n },\n },\n scales: {\n x: {\n stacked: false,\n },\n y: {\n max: MaxRank - 1,\n min: 0,\n ticks: {\n maxTicksLimit: 3,\n callback: function (value): string {\n if (value === 0) {\n return `${MaxRank}+`;\n }\n return (-1 * (+value - MaxRank)).toString();\n },\n },\n },\n },\n },\n };\n\n positionChartData: ChartData = {\n labels: [],\n datasets: [],\n };\n\n ngOnChanges() {\n const averagePosition = this.getAveragePosition(this.data);\n const top10 = this.getTop10(this.data);\n const hasPreviousData = !!this.data.find((item) => !!item.localStartedAt);\n this.keywordMovement = this.getKeywordsUp(this.data, hasPreviousData);\n\n this.localCards = [\n {\n name: 'LOCAL_SEO.LOCAL_SEO.TOP_10',\n value: top10.value,\n showDelta: hasPreviousData,\n deltaValue: top10.delta,\n },\n {\n name: 'LOCAL_SEO.LOCAL_SEO.AVERAGE_POSITION',\n value: averagePosition.value,\n showDelta: hasPreviousData,\n deltaValue: averagePosition.delta,\n toolTip: {\n title: 'LOCAL_SEO.LOCAL_SEO.AVERAGE_POSITION_TOOLTIP_TITLE',\n content: 'LOCAL_SEO.LOCAL_SEO.AVERAGE_POSITION_TOOLTIP',\n },\n },\n {\n name: 'LOCAL_SEO.LOCAL_SEO.KEYWORDS_UP',\n value: this.keywordMovement.keywordsUp.toString(),\n showDelta: false,\n deltaValue: null,\n subtitle:\n this.keywordMovement.ranksUp > 0\n ? this.translate.instant('LOCAL_SEO.LOCAL_SEO.BY_RANKS', { value: this.keywordMovement.ranksUp })\n : '',\n },\n ];\n }\n\n private getAveragePosition(data: SEOTableData[]): CardDataPoint {\n let currentTotalRanks = 0;\n let currentTotalRankValue = 0;\n let previousTotalRanks = 0;\n let previousTotalRankValue = 0;\n data.forEach((item) => {\n const organicValue =\n item.organicRank.rawValue && item.organicRank.rawValue < MaxRank ? item.organicRank.rawValue : MaxRank + 1;\n const localValue =\n item.localRank.rawValue && item.localRank.rawValue < MaxMapsRank ? item.localRank.rawValue : MaxMapsRank + 1;\n const organicStartedAt =\n item.organicStartedAt.rawValue && item.organicStartedAt.rawValue < MaxRank\n ? item.organicStartedAt.rawValue\n : MaxRank + 1;\n const localStartedAt =\n item.localStartedAt.rawValue && item.localStartedAt.rawValue < MaxMapsRank\n ? item.localStartedAt.rawValue\n : MaxMapsRank + 1;\n currentTotalRanks += 2;\n currentTotalRankValue += organicValue;\n currentTotalRankValue += localValue;\n\n previousTotalRanks += 2;\n previousTotalRankValue += organicStartedAt;\n previousTotalRankValue += localStartedAt;\n });\n if (currentTotalRanks === 0) {\n return { value: '---' };\n }\n const average = Math.round(currentTotalRankValue / currentTotalRanks);\n const previousAverage = Math.round(previousTotalRankValue / previousTotalRanks);\n // We invert the delta here because a lower number is better\n return { value: formatNumber(average, 'en-US', '1.0-2'), delta: -1 * (average - previousAverage) };\n }\n\n private getKeywordsUp(data: SEOTableData[], hasPreviousData: boolean): keywordMovement {\n if (!hasPreviousData) {\n return {\n ranksUp: 0,\n ranksDown: 0,\n keywordsUp: 0,\n keywordsDown: 0,\n };\n }\n\n let keywordsUp = 0;\n let keywordsDown = 0;\n let ranksUp = 0;\n let ranksDown = 0;\n data.forEach((item) => {\n let rank = 0;\n if (item.localRank.rawValue > 0 && item.localRank.rawValue < MaxMapsRank && item.localStartedAt.rawValue > 0) {\n rank += item.localStartedAt.rawValue - item.localRank.rawValue;\n }\n\n if (item.organicRank.rawValue > 0 && item.organicRank.rawValue < MaxRank && item.organicStartedAt.rawValue > 0) {\n rank += item.organicStartedAt.rawValue - item.organicRank.rawValue;\n }\n rank > 0 ? keywordsUp++ : rank < 0 ? keywordsDown++ : null;\n rank > 0 ? (ranksUp += rank) : rank < 0 ? (ranksDown += rank) : null;\n });\n\n return {\n ranksUp: ranksUp,\n ranksDown: Math.abs(ranksDown),\n keywordsUp: keywordsUp,\n keywordsDown: keywordsDown,\n };\n }\n\n private getTop10(data: SEOTableData[]): CardDataPoint {\n const currentTop10 = data.filter(\n (item) =>\n (item.localRank.rawValue > 0 && item.localRank.rawValue <= 10) ||\n (item.organicRank.rawValue > 0 && item.organicRank.rawValue <= 10),\n ).length;\n const previousTop10 = data.filter(\n (item) =>\n (item.localStartedAt.rawValue > 0 && item.localStartedAt.rawValue <= 10) ||\n (item.organicStartedAt.rawValue > 0 && item.organicStartedAt.rawValue <= 10),\n ).length;\n return {\n value: formatNumber(currentTop10, 'en-US', '1.0-2'),\n delta: currentTop10 - previousTop10,\n };\n }\n}\n\nfunction addKeywordRanksToList(\n list: keywordRanks[],\n date: Date,\n top10: boolean,\n top50: boolean,\n other: boolean,\n): keywordRanks[] {\n const existingIndex = list.findIndex((point) => point.date === date);\n if (existingIndex > -1) {\n if (top10) {\n list[existingIndex].top10++;\n }\n if (top50) {\n list[existingIndex].top50++;\n }\n if (other) {\n list[existingIndex].other++;\n }\n } else {\n list.push({\n date: date,\n top10: top10 ? 1 : 0,\n top50: top50 ? 1 : 0,\n other: other ? 1 : 0,\n });\n }\n return list;\n}\n\nfunction getBestRankForEachDate(organic: SEODataPoint[], local: SEODataPoint[]) {\n const bestRank: SEODataPoint[] = [];\n organic.forEach((organicPoint) => {\n bestRank.push({\n date: organicPoint.date,\n value: organicPoint.value,\n });\n });\n local.forEach((localPoint) => {\n const existingIndex = bestRank.findIndex((point) => point.date === localPoint.date);\n if (existingIndex > -1) {\n if (\n (localPoint.value !== 0 && localPoint.value < bestRank[existingIndex].value) ||\n bestRank[existingIndex].value === 0\n ) {\n bestRank[existingIndex].value = localPoint.value;\n }\n } else {\n bestRank.push({\n date: localPoint.date,\n value: localPoint.value,\n });\n }\n });\n return bestRank;\n}\n","
\n
\n \n
\n
\n\n\n \n \n \n \n \n\n\n\n \n \n \n \n \n\n\n\n \n \n
\n
\n
\n Keywords Up\n
\n
\n {{ keywordMovement.keywordsUp }}\n
0\">\n {{ 'LOCAL_SEO.LOCAL_SEO.BY_RANKS' | translate: { value: keywordMovement.ranksUp } }}\n
\n
\n
\n\n
\n
\n Keywords Down\n
\n
\n {{ keywordMovement.keywordsDown }}\n
0\">\n {{ 'LOCAL_SEO.LOCAL_SEO.BY_RANKS' | translate: { value: keywordMovement.ranksDown } }}\n
\n
\n
\n
\n
\n
\n
\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\n\n@Component({\n selector: 'local-seo-info-banner',\n templateUrl: './info-banner.component.html',\n styleUrls: ['./info-banner.component.scss'],\n standalone: false,\n})\nexport class InfoBannerComponent {\n @Input() title: string;\n @Input() imageURL: string;\n @Input() description: string;\n @Input() buttonText: string;\n @Output() buttonClick = new EventEmitter();\n open = true;\n\n toggle() {\n this.open = !this.open;\n }\n}\n","
\n \n \n
\n \n \n \n
\n
{{ title }}
\n
{{ description }}
\n
\n \n
\n
\n \n
\n
\n
\n
\n\n\n \n\n","import { animate, state, style, transition, trigger } from '@angular/animations';\nimport { Component, Inject, OnDestroy, OnInit } from '@angular/core';\nimport { MatDialog, MatDialogRef } from '@angular/material/dialog';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { Environment, EnvironmentService } from '@galaxy/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport {\n DirectSyncSource,\n KeywordInfo,\n Location,\n ListingProductsApiService,\n SEODataSummary,\n} from '@vendasta/listing-products';\nimport { EditionUpgradeAction } from '@vendasta/marketplace-apps';\nimport { RetailPrice } from '@vendasta/marketplace-packages';\nimport { UpgradeCTADialogComponent, UpgradeCTADialogConfig, VaProductNavActionButton } from '@vendasta/uikit';\nimport { Observable, Subscription, combineLatest } from 'rxjs';\nimport { filter, map, shareReplay, switchMap, take } from 'rxjs/operators';\nimport { AGIDTOKEN, APP_ID, DEMO_PAID_EDITION, KeywordStore, PROD_PAID_EDITION, SEOTableData } from '../../local-seo';\nimport {\n UpgradeCTADialogService,\n appID,\n UpgradeRedirectItem,\n} from '../../upgrade-cta-dialog/upgrade-cta-dialog.service';\nimport {\n KeywordDialogResult,\n LocalSeoKeywordDialogComponent,\n} from '../local-seo-keyword-dialog/local-seo-keyword-dialog.component';\nimport { KeywordTrackingService, SeoDataKeywordMetrics } from './keyword-tracking.service';\n\nexport interface Stat {\n value: string;\n rawValue: number;\n}\n\ninterface ColumnConfigValue {\n name: string;\n class: string;\n iconURL?: string;\n}\n\nexport interface ColumnConfig {\n [key: string]: ColumnConfigValue;\n}\n\ninterface SortSettings {\n active: keyof SEOTableData;\n direction: 'asc' | 'desc';\n}\n\nexport const SEODATA_TAB_GRAPH = 'graph';\nexport const SEODATA_TAB_GRID = 'grid';\n\n@Component({\n selector: 'local-seo-keyword-tracking',\n templateUrl: './keyword-tracking.component.html',\n styleUrls: ['./keyword-tracking.component.scss'],\n animations: [\n trigger('detailExpand', [\n state('collapsed', style({ height: '0px', minHeight: '0' })),\n state('expanded', style({ height: '*', minHeight: '60px' })),\n transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),\n ]),\n trigger('rotateIcon', [\n state('down', style({ transform: 'rotate(0)' })),\n state('up', style({ transform: 'rotate(-180deg)' })),\n transition('down <=> up', animate('225ms ease-out')),\n ]),\n ],\n standalone: false,\n})\nexport class KeywordTrackingComponent implements OnInit, OnDestroy {\n actionButton: VaProductNavActionButton;\n SEOData$: Observable;\n Location$: Observable;\n loading$: Observable;\n isKeywordListEmpty$: Observable;\n Math: Math;\n subscriptions: Subscription[] = [];\n activeTab: string;\n ListingSyncService: boolean;\n gbpData$: Observable;\n keywordMetrics$: Observable;\n columnConfig: ColumnConfig = {\n keyword: {\n name: 'LOCAL_SEO.KEYWORD',\n class: 'keyword',\n },\n local: {\n name: 'LOCAL_SEO.LOCAL_SEO.MAPS',\n class: 'divided',\n iconURL: 'https://vstatic-prod.apigateway.co/listing-builder-client/assets/images/google/google-maps.svg',\n },\n organic: {\n name: 'LOCAL_SEO.LOCAL_SEO.ORGANIC',\n class: 'divided',\n iconURL: 'https://vstatic-prod.apigateway.co/listing-builder-client/assets/images/google/google.png',\n },\n localRank: {\n name: 'LOCAL_SEO.LOCAL_SEO.RANK',\n class: 'divided',\n },\n organicRank: {\n name: 'LOCAL_SEO.LOCAL_SEO.RANK',\n class: 'divided',\n },\n localStartedAt: {\n name: 'LOCAL_SEO.LOCAL_SEO.STARTED_AT',\n class: '',\n },\n organicStartedAt: {\n name: 'LOCAL_SEO.LOCAL_SEO.STARTED_AT',\n class: '',\n },\n difficulty: {\n name: 'LOCAL_SEO.LOCAL_SEO.RANK_DIFFICULTY',\n class: 'divided',\n },\n searchVolume: {\n name: 'LOCAL_SEO.LOCAL_SEO.SEARCH_VOLUME',\n class: 'mat-header-wrap-text',\n },\n empty: {\n name: '',\n class: '',\n },\n empty2: {\n name: '',\n class: '',\n },\n };\n sortSettings = { active: 'localRank', direction: 'asc' };\n\n ExampleData = [\n {\n keyword: 'LOCAL_SEO.LOCAL_SEO.EXAMPLE_KEYWORD',\n mapsRank: 1,\n mapsStartedAt: 3,\n organicRank: 2,\n organicStartedAt: 10,\n rankDifficulty: 200,\n searchVolume: 4000,\n },\n ];\n\n statColumns: string[] = [\n 'keyword',\n 'localRank',\n 'localStartedAt',\n 'organicRank',\n 'organicStartedAt',\n 'difficulty',\n 'searchVolume',\n ];\n columns: string[] = [\n 'keyword',\n 'localRank',\n 'localStartedAt',\n 'organicRank',\n 'organicStartedAt',\n 'difficulty',\n 'searchVolume',\n 'expandIcon',\n ];\n\n dialogRef: MatDialogRef;\n upgradeDialogRef: MatDialogRef;\n listingProfileRedirectLink: string;\n canEditKeywords: boolean;\n editionUpgradeHidden$: Observable;\n emptyStateImage$: Observable;\n isLbFreeEdition$: Observable;\n listingSyncPageLink: string;\n\n readonly gmbVerifyUrl = 'https://support.google.com/business/answer/7107242';\n\n constructor(\n public localSEOService: KeywordTrackingService,\n @Inject(AGIDTOKEN) public agid$: Observable,\n private dialog: MatDialog,\n private upgradeDialogService: UpgradeCTADialogService,\n private translate: TranslateService,\n private router: Router,\n private route: ActivatedRoute,\n private env: EnvironmentService,\n private listingProductsService: ListingProductsApiService,\n ) {\n this.gbpData$ = localSEOService.gbpData$;\n this.isLbFreeEdition$ = localSEOService.isLBFreeEdition$;\n\n this.editionUpgradeHidden$ = combineLatest([\n this.isLbFreeEdition$,\n this.upgradeDialogService.getEditionChangeDetails$(),\n ]).pipe(\n map(([isFreeEdition, details]) => {\n return isFreeEdition && !!details?.hideUpgradeCta;\n }),\n );\n this.listingProfileRedirectLink = this.router\n .createUrlTree(['../listing-profile'], { relativeTo: this.route })\n .toString();\n this.loading$ = localSEOService.loading$$.asObservable();\n\n this.emptyStateImage$ = this.isLbFreeEdition$.pipe(\n map((isFreeEdition) =>\n isFreeEdition\n ? 'https://vstatic-prod.apigateway.co/listing-builder-client/assets/images/keywords-empty-state-std-edition.svg'\n : 'https://vstatic-prod.apigateway.co/listing-builder-client/assets/images/keywords-empty-state-pro-edition.svg',\n ),\n );\n this.keywordMetrics$ = localSEOService.keywordMetrics$.pipe(\n map((data) => structuredClone(data)), // Deep cloning\n );\n this.SEOData$ = combineLatest([\n localSEOService.SEOSummaryData$,\n localSEOService.keywordStore$,\n localSEOService.keywordMetrics$,\n ]).pipe(\n map(([seoData, keywordStore, metrics]: [SEODataSummary[], KeywordStore, SeoDataKeywordMetrics[]]) => {\n const seoDataPeriods: SEOTableData[] = [];\n keywordStore?.keywords.forEach((keyword) => {\n const currentKMetric = metrics.find((m) => m.keyword === keyword);\n const currentData = seoData.find((d) => d.keyword === keyword);\n seoDataPeriods.push(new SEOTableData(keyword, currentData, currentKMetric, keywordStore.favoriteKeywords));\n });\n return seoDataPeriods;\n }),\n );\n this.Location$ = localSEOService.listingProfile$$.asObservable().pipe(map((profile) => profile?.napData));\n\n this.isKeywordListEmpty$ = this.localSEOService.keywordStore$.pipe(map((k) => k?.keywords?.length < 1));\n this.localSEOService.canEditKeywords$.subscribe((value) => {\n this.canEditKeywords = value;\n });\n }\n\n ngOnInit(): void {\n this.actionButton = {\n label: 'local-seo-title-action',\n } as VaProductNavActionButton;\n }\n\n public getValuesForSorting(data: SEOTableData, sortHeaderId: keyof SEOTableData): string | number {\n const value = data[sortHeaderId];\n switch (sortHeaderId) {\n case 'keyword':\n return (value as Stat).value.toLocaleLowerCase();\n default:\n return (value as Stat).rawValue ?? 999999; //set undefined as the highest possible value so it remains at the bottom\n }\n }\n\n ngOnDestroy() {\n this.subscriptions.forEach((sub) => sub.unsubscribe());\n }\n\n setSortSettings($event: SortSettings): void {\n this.sortSettings = { ...$event };\n }\n\n open(limit: number, suggestedKeywords: KeywordInfo[]): void {\n this.dialogRef = this.dialog.open(LocalSeoKeywordDialogComponent, {\n data: {\n keywords: [],\n keywordLimit: limit,\n suggestedKeywords: suggestedKeywords,\n canEditKeywords: this.canEditKeywords,\n },\n width: '600px',\n });\n this.subscriptions.push(\n this.dialogRef.afterClosed().subscribe((result: KeywordDialogResult) => {\n if (result !== undefined) {\n this.localSEOService.updateKeywords(result.originalKeywords, result.newKeywords);\n }\n }),\n );\n }\n\n OpenUpgradeDialog() {\n const editionChangeDetails$ = this.upgradeDialogService.getEditionChangeDetails$();\n const upgradePrice$: Observable = combineLatest([\n this.upgradeDialogService.partnerMarket$,\n editionChangeDetails$,\n ]).pipe(\n switchMap(([pmConfig, editionChangeDetails]) => {\n let paidEdition = DEMO_PAID_EDITION;\n if (this.env.getEnvironment() == Environment.PROD) {\n paidEdition = PROD_PAID_EDITION;\n }\n return this.upgradeDialogService.getUpgradePrice$(pmConfig, appID, editionChangeDetails, paidEdition);\n }),\n shareReplay(1),\n );\n const formattedUpgradePrice$ = upgradePrice$.pipe(\n switchMap((upgradePrice) => this.upgradeDialogService.getFormattedRetailPrice$(upgradePrice)),\n );\n combineLatest([\n upgradePrice$,\n formattedUpgradePrice$,\n editionChangeDetails$,\n this.upgradeDialogService.getCustomUpgradeModalContent$(),\n this.upgradeDialogService.appSettings$,\n ])\n .pipe(\n take(1),\n switchMap(\n ([upgradePrice, formattedUpgradePrice, editionChangeDetails, customUpgradeModalContent, settings]) => {\n const marketingPoints = [\n this.translate.instant('EDITION.UPGRADE_MODAL.MARKETING_POINTS.LINE_1'),\n this.translate.instant('EDITION.UPGRADE_MODAL.MARKETING_POINTS.LINE_2'),\n this.translate.instant('EDITION.UPGRADE_MODAL.MARKETING_POINTS.LINE_3'),\n this.translate.instant('EDITION.UPGRADE_MODAL.MARKETING_POINTS.LINE_4'),\n this.translate.instant('EDITION.UPGRADE_MODAL.MARKETING_POINTS.LINE_5'),\n this.translate.instant('EDITION.UPGRADE_MODAL.MARKETING_POINTS.LINE_6'),\n ];\n const appName =\n settings.branding &&\n settings.branding.enabled &&\n settings.branding.enabled === true &&\n settings.branding.name\n ? settings.branding.name\n : 'Local SEO';\n\n let ctaText =\n !!customUpgradeModalContent && customUpgradeModalContent.buttonText\n ? customUpgradeModalContent.buttonText\n : undefined;\n if (editionChangeDetails?.editionUpgradeAction && !ctaText) {\n switch (editionChangeDetails?.editionUpgradeAction) {\n case EditionUpgradeAction.EDITION_UPGRADE_ACTION_CONTACT_SALES:\n ctaText = this.translate.instant('UPGRADE_DIALOG.PRICE.CONTACT_SALES');\n break;\n default:\n ctaText = this.translate.instant('LISTING_DISTRIBUTION.UPGRADE_MODAL.BUTTON_TEXT');\n break;\n }\n }\n\n const dialogConfig: UpgradeCTADialogConfig = {\n editionName: `${appName} ${this.translate.instant('COMMON.PRO')}`,\n imageText:\n !!customUpgradeModalContent && customUpgradeModalContent.titleText\n ? customUpgradeModalContent.titleText\n : this.translate.instant('EDITION.UPGRADE_MODAL.IMAGE_TEXT'),\n imageUrl:\n !!customUpgradeModalContent && customUpgradeModalContent.imageUrl\n ? customUpgradeModalContent.imageUrl\n : `https://vstatic-prod.apigateway.co/listing-builder-client/assets/images/LocalSearch.svg`,\n keySellingPoints:\n !!customUpgradeModalContent && customUpgradeModalContent.sellingPoints\n ? customUpgradeModalContent.sellingPoints\n : marketingPoints,\n ctaText: ctaText || this.translate.instant('LISTING_DISTRIBUTION.UPGRADE_MODAL.BUTTON_TEXT'),\n upgradeNowText: this.upgradeDialogService.getUpgradeText(upgradePrice, editionChangeDetails),\n price: formattedUpgradePrice,\n frequency: this.upgradeDialogService.getFrequencyText(upgradePrice),\n };\n\n this.upgradeDialogRef = this.dialog.open(UpgradeCTADialogComponent, {\n data: dialogConfig,\n });\n return this.upgradeDialogRef.afterClosed().pipe(\n filter((upgradeClicked) => !!upgradeClicked),\n switchMap(() => {\n const isCustomPackage =\n editionChangeDetails.editionUpgradeAction == EditionUpgradeAction.EDITION_UPGRADE_ACTION_CUSTOM_ORDER;\n let paidEdition = DEMO_PAID_EDITION;\n if (this.env.getEnvironment() == Environment.PROD) {\n paidEdition = PROD_PAID_EDITION;\n }\n const item: UpgradeRedirectItem = isCustomPackage\n ? { packageId: editionChangeDetails.priceReferencePackageId }\n : { appId: APP_ID, editionId: paidEdition };\n return this.upgradeDialogService.buildBusinessCenterUpgradeRedirectInfo(\n item,\n editionChangeDetails.editionUpgradeAction,\n );\n }),\n );\n },\n ),\n )\n .subscribe((redirectInfo) => {\n this.upgradeDialogService.sendToVbc(redirectInfo);\n });\n }\n\n deleteKeyword(keyword: string): void {\n this.localSEOService.deleteKeyword(keyword);\n }\n}\n","
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n @if (gbpData$ | async; as gbpData) {\n @if (!gbpData?.account?.connectionId) {\n \n {{ 'LISTING_SYNC.PRIMARY_SOURCES.GMB_AUTH' | translate }}\n \n {{ 'LISTING_SYNC.PRIMARY_SOURCES.GMB_AUTH_BUTTON' | translate }}\n \n \n } @else if (gbpData?.account?.tokenBroken || !gbpData?.account?.isAuthenticated) {\n \n {{ 'GOOGLE_INSIGHTS.SOCIAL_TOKEN_BROKEN' | translate }}\n \n } @else if (!gbpData?.account?.isVerified) {\n \n {{ 'GOOGLE_INSIGHTS.NOT_VERIFIED.TITLE' | translate }}\n — {{ 'GOOGLE_INSIGHTS.NOT_VERIFIED.DESCRIPTION' | translate }}\n \n }\n }\n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \n \n \n
\n
\n
\n
\n \n \n \n \n add\n {{ 'LOCAL_SEO.ADD_INITIAL_KEYWORD' | translate }}\n \n \n \n \n \n \n \n
\n
\n\n
\n
\n \n
\n
\n {{ 'LOCAL_SEO.LEGEND.LABEL' | translate }}\n
\n
50+ {{ 'LOCAL_SEO.LEGEND.OVER_50' | translate }}
\n
NR {{ 'LOCAL_SEO.LEGEND.NOT_RANKED' | translate }}
\n
{{ 'LOCAL_SEO.LEGEND.SEARCHING' | translate }}
\n
\n
\n
\n
\n \n
\n

\n {{ 'COMMON.DISCLAIMER' | translate }}\n

\n
\n\n\n\n \n \n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n
\n
\n \n
{{ 'LOCAL_SEO.LOCAL_SEO.MAPS' | translate }}
\n
\n
\n
\n \n
{{ 'LOCAL_SEO.LOCAL_SEO.ORGANIC' | translate }}
\n
\n
{{ 'LOCAL_SEO.KEYWORD.TITLE' | translate }}{{ element.keyword | translate }}{{ 'LOCAL_SEO.LOCAL_SEO.RANK' | translate }}{{ element.mapsRank }}{{ 'LOCAL_SEO.LOCAL_SEO.STARTED_AT' | translate }}{{ element.mapsStartedAt }}{{ 'LOCAL_SEO.LOCAL_SEO.RANK' | translate }}{{ element.organicRank }}{{ 'LOCAL_SEO.LOCAL_SEO.STARTED_AT' | translate }}{{ element.organicStartedAt }}\n {{ 'LOCAL_SEO.LOCAL_SEO.RANK_DIFFICULTY' | translate }}\n {{ element.rankDifficulty }}{{ element.searchVolume }}
\n
\n
\n\n \n \n \n\n\n \n\n","import { Component, Inject, Pipe, PipeTransform } from '@angular/core';\nimport { FormBuilder, UntypedFormControl } from '@angular/forms';\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\nimport { TranslateService } from '@ngx-translate/core';\nimport { SelectInputOption } from '@vendasta/galaxy/input';\nimport {\n SEARCH_RADIUS_BIG_CITY,\n SEARCH_RADIUS_LOCAL,\n SEARCH_RADIUS_SMALL_CITY,\n SEARCH_RADIUS_XL_CITY,\n SEODataSearchRadiusTypes,\n SeoDataSearchRadiusType,\n} from '../../local-seo';\n\nconst defaultOptions = [\n {\n label: 'LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.LOCAL',\n value: SEARCH_RADIUS_LOCAL,\n },\n {\n label: 'LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.SMALL_CITY',\n value: SEARCH_RADIUS_SMALL_CITY,\n },\n {\n label: 'LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.BIG_CITY',\n value: SEARCH_RADIUS_BIG_CITY,\n },\n {\n label: 'LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.XL_CITY',\n value: SEARCH_RADIUS_XL_CITY,\n },\n];\n\n@Pipe({\n name: 'mileToKilometer',\n standalone: false,\n})\nexport class MileToKilometerPipe implements PipeTransform {\n private readonly conversionFactor = 1.60934;\n transform(value: string, kilometersTranslationKey: string): string {\n const parts = value.split(' ');\n const number = parseFloat(parts[0]);\n const unit = parts[1];\n if (unit === kilometersTranslationKey) {\n const kilometers = number * this.conversionFactor;\n return `${Math.round(kilometers)} ${unit}`;\n }\n\n return `${number} ${unit}`;\n }\n}\n\n@Component({\n selector: 'local-seo-settings-dialog',\n templateUrl: './local-seo-settings-dialog.component.html',\n styleUrls: ['./local-seo-settings-dialog.component.scss'],\n standalone: false,\n})\nexport class LocalSeoSettingsDialogComponent {\n seoSettingsRadiusForm: UntypedFormControl;\n options: SelectInputOption[];\n selectedMapUnit: string;\n selectedValue: number;\n translatedMapUnitsKMS: string;\n isFullSearchEnabled: boolean;\n constructor(\n @Inject(MAT_DIALOG_DATA)\n public data: { mapRadius: number; mapUnits: string; isFullSearchEnabled: boolean },\n public dialogRef: MatDialogRef,\n private fb: FormBuilder,\n private translateService: TranslateService,\n ) {\n this.options = defaultOptions;\n this.isFullSearchEnabled = data.isFullSearchEnabled;\n this.selectedValue = SEARCH_RADIUS_LOCAL;\n\n this.translateService.get('LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.KMS').subscribe((translation) => {\n this.translatedMapUnitsKMS = translation;\n });\n\n const radiusValue = SEODataSearchRadiusTypes.includes(data.mapRadius as SeoDataSearchRadiusType)\n ? data.mapRadius\n : SEARCH_RADIUS_LOCAL;\n\n if (data.mapRadius && data.mapRadius > 0) {\n this.selectedValue = radiusValue;\n }\n\n this.seoSettingsRadiusForm = new UntypedFormControl();\n this.selectedMapUnit = data.mapUnits;\n this.seoSettingsRadiusForm.setValue(radiusValue);\n }\n\n closeModal(save: boolean): void {\n const result = {\n mapRadius: this.selectedValue,\n mapUnits: this.selectedMapUnit,\n isFullSearchEnabled: this.isFullSearchEnabled,\n };\n this.dialogRef.close(save ? result : undefined);\n }\n\n setMapUnit(selectedMapUnit: string): void {\n this.selectedMapUnit = selectedMapUnit;\n }\n}\n","

{{ 'COMMON.SETTINGS' | translate }}

\n\n \n \n {{ 'LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.MAP_UNITS.LABEL' | translate }}\n \n \n {{ 'LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.MAP_UNITS.MILES' | translate }}\n \n \n {{ 'LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.MAP_UNITS.KILOMETERS' | translate }}\n \n \n \n \n {{ 'LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.LABEL' | translate }}\n \n \n {{ option.label | translate: { mapUnits: selectedMapUnit } | mileToKilometer: translatedMapUnitsKMS }}\n \n \n \n\n \n {{ 'LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.DESCRIPTION' | translate }}\n \n\n \n {{ 'LOCAL_SEO.KEYWORD.FULL_URL.LABEL' | translate }}\n \n {{ 'LOCAL_SEO.KEYWORD.FULL_URL.CHECK_BOX.CONTENT' | translate }}\n \n \n \n {{ 'LOCAL_SEO.KEYWORD.FULL_URL.CHECK_BOX.DESCRIPTION' | translate }}\n \n \n\n\n \n \n\n","import { Component, OnDestroy } from '@angular/core';\nimport { MatDialog, MatDialogRef } from '@angular/material/dialog';\nimport { TranslateService } from '@ngx-translate/core';\nimport { DateRangePresetPeriod } from '@vendasta/galaxy/datepicker';\nimport { DateRange } from '@vendasta/galaxy/utility/date-utils';\nimport { KeywordInfo } from '@vendasta/listing-products';\nimport { BehaviorSubject, Subscription } from 'rxjs';\nimport { SEODATA_TAB_GRID } from '../keyword-tracking/keyword-tracking.component';\nimport { KeywordTrackingService, SeoDataSettings } from '../keyword-tracking/keyword-tracking.service';\nimport { LocalSeoKeywordDialogComponent } from '../local-seo-keyword-dialog/local-seo-keyword-dialog.component';\nimport { LocalSeoSettingsDialogComponent } from '../local-seo-settings-dialog/local-seo-settings-dialog.component';\nimport { toSignal } from '@angular/core/rxjs-interop';\nimport { BreakpointObserver } from '@angular/cdk/layout';\nimport { map } from 'rxjs/operators';\n\n@Component({\n selector: 'local-seo-page-title-action',\n templateUrl: './local-seo-page-title-action.component.html',\n styleUrls: ['./local-seo-page-title-action.component.scss'],\n standalone: false,\n})\nexport class LocalSeoPageTitleActionComponent implements OnDestroy {\n selectedDateRange: DateRange;\n keywordDialogRef: MatDialogRef;\n settingsDialogRef: MatDialogRef;\n subscriptions: Subscription[] = [];\n defaultDatePeriod = DateRangePresetPeriod.lastThirtyDays;\n private selectedTab$$: BehaviorSubject = new BehaviorSubject(SEODATA_TAB_GRID);\n canEditKeywords: boolean;\n\n protected isMobile = toSignal(\n this.breakpointObserver.observe('(max-width: 840px)').pipe(map((result) => result.matches)),\n );\n\n constructor(\n public readonly service: KeywordTrackingService,\n private readonly dialog: MatDialog,\n private readonly translate: TranslateService,\n private readonly breakpointObserver: BreakpointObserver,\n ) {\n this.service.canEditKeywords$.subscribe((value) => {\n this.canEditKeywords = value;\n });\n }\n\n openKeywords(keywords: string[], limit: number, suggestedKeywords: KeywordInfo[]): void {\n if (!keywords || keywords.length === 0) {\n keywords = [];\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let mapUnits: string;\n this.service.getLocalStorage('mapUnits').subscribe((value) => {\n mapUnits = value ?? this.translate.instant('LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.MILES');\n });\n\n this.keywordDialogRef = this.dialog.open(LocalSeoKeywordDialogComponent, {\n data: {\n keywords: keywords,\n keywordLimit: limit,\n suggestedKeywords: suggestedKeywords,\n canEditKeywords: this.canEditKeywords,\n },\n width: '600px',\n });\n this.subscriptions.push(\n this.keywordDialogRef.afterClosed().subscribe((result) => {\n if (result !== undefined) {\n this.service.updateKeywords(result.originalKeywords, result.newKeywords);\n }\n }),\n );\n }\n\n openSettings(seoDataSettings: SeoDataSettings): void {\n let mapUnits: string;\n this.service.getLocalStorage('mapUnits').subscribe((value) => {\n mapUnits = value ?? this.translate.instant('LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.MILES');\n });\n\n this.settingsDialogRef = this.dialog.open(LocalSeoSettingsDialogComponent, {\n data: {\n mapRadius: seoDataSettings?.localSearchRadius,\n mapUnits: mapUnits,\n isFullSearchEnabled: seoDataSettings?.isFullSearchEnabled,\n },\n width: '600px',\n });\n this.subscriptions.push(\n this.settingsDialogRef.afterClosed().subscribe((result) => {\n if (result !== undefined) {\n this.service.updateSeoSettingsForDialog(result.mapRadius, result.isFullSearchEnabled);\n this.service.setLocalStorage(\n 'mapUnits',\n result.mapUnits ?? this.translate.instant('LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.MILES'),\n );\n }\n }),\n );\n }\n\n onDateRangeSelect(value: DateRange): void {\n this.selectedTab$$.next(SEODATA_TAB_GRID);\n this.service.updateDateRange(value);\n }\n\n ngOnDestroy() {\n this.subscriptions.forEach((sub) => sub.unsubscribe());\n }\n}\n","
\n \n @if (isMobile) {\n \n settings\n \n } @else {\n \n }\n \n
\n
\n
\n \n
\n
\n
\n \n \n \n \n add\n @if (!isMobile()) {\n {{ 'LOCAL_SEO.ADD_KEYWORDS' | translate }}\n }\n \n \n \n \n
\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatCardModule } from '@angular/material/card';\nimport { LocalSeoKeywordsStatsCardsComponent } from './local-seo-keywords-stats-cards.component';\nimport { LocalSEOStatTabsComponent } from '../stat-tabs/stat-tabs.component';\nimport { ChartModule } from '@bit/vendasta.planets.chart';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { MatIconModule } from '@angular/material/icon';\nimport { GalaxyTooltipModule } from '@vendasta/galaxy/tooltip';\nimport { DeltaComponent } from '../delta/delta.component';\nimport { MatRipple } from '@angular/material/core';\n\n@NgModule({\n declarations: [LocalSeoKeywordsStatsCardsComponent, LocalSEOStatTabsComponent],\n imports: [\n CommonModule,\n TranslateModule,\n MatCardModule,\n ChartModule,\n MatIconModule,\n GalaxyTooltipModule,\n DeltaComponent,\n MatRipple,\n ],\n exports: [LocalSeoKeywordsStatsCardsComponent],\n})\nexport class LocalSeoKeywordsStatsCardsModule {}\n","{\n \"COMMON.ACTIVATE_SYNC\": \"Activate Syncing\",\n \"COMMON.APPLY\": \"Apply\",\n \"COMMON.ADD_KEYWORDS\": \"Add Keywords\",\n \"COMMON.CANCEL\": \"Cancel\",\n \"COMMON.DISCLAIMER\": \"All product and company names, logos, brands are trademarks or registered trademarks of their respective holders. Use of them is for identification or reference purposes only and does not imply any affiliation, association, or endorsement by them.\",\n \"COMMON.DISCONNECT\": \"Disconnect\",\n \"COMMON.HAS_CATEGORY_NOT_FOUND_MESSAGE\": \"Please select a business category to improve the performance of your syncing listings\",\n \"COMMON.LEGEND\": \"Legend\",\n \"COMMON.LISTING_SYNC_UNAVAILABLE\": \"Listing Score unavailable. Please try again later.\",\n \"COMMON.PRO\": \"Pro\",\n \"COMMON.RECONNECT_FACEBOOK.NO_SM_DESCRIPTION\": \"We’re updating the way we manage connections to Facebook and Instagram accounts. Reconnect your accounts to ensure that your business data continues to sync to these sources.\",\n \"COMMON.RECONNECT_FACEBOOK.TITLE\": \"Reconnect to Facebook and Instagram\",\n \"COMMON.RECONNECT_FACEBOOK.WITH_SM_DESCRIPTION\": \"We’re updating the way we manage connections to Facebook and Instagram accounts. Reconnect your accounts from the {{businessAppCustomName}} Connections Page to ensure that your business data continues to sync to these sources. Any removed accounts will result in scheduled social posts moving to drafts.\",\n \"COMMON.SETTINGS\": \"Settings\",\n \"COMMON.TWITTER_RECONNECT\": \"Reconnect to X\",\n \"COMMON.TWITTER_BANNER_RECONNECT_MESSAGE\": \"Your posts are no longer being posted to X. Please reconnect your accounts to ensure your content can be posted.\",\n \"COMMON.UPDATED\": \"Updated\",\n \"COMMON.YOU\": \"You\",\n \"COMMON.WEEK_OF\": \"Week of\",\n \"COMMON.LISTING_SCORE_UNAVAILABLE\": \"Listing Score unavailable. Please try again later.\",\n \"EDITION.UPGRADE_MODAL.IMAGE_TEXT\": \"Additional listing sources, local search grid, competitor rankings, and more!\",\n \"EDITION.UPGRADE_MODAL.MARKETING_POINTS.LINE_1\": \"Intuitive local SEO grid\",\n \"EDITION.UPGRADE_MODAL.MARKETING_POINTS.LINE_2\": \"Zero in on results based on map location\",\n \"EDITION.UPGRADE_MODAL.MARKETING_POINTS.LINE_3\": \"Gain access to 15 keywords\",\n \"EDITION.UPGRADE_MODAL.MARKETING_POINTS.LINE_4\": \"Keyword data refreshes weekly\",\n \"EDITION.UPGRADE_MODAL.MARKETING_POINTS.LINE_5\": \"Visually track keyword position over time\",\n \"EDITION.UPGRADE_MODAL.MARKETING_POINTS.LINE_6\": \"Sync to premium sources Apple, Bing, Instagram, and X\",\n \"GOOGLE_INSIGHTS.SOCIAL_TOKEN_BROKEN\": \"Your Google Business Profile location connection has expired. No new Insights data will be collected and any Business Profile updates will not be synced to Google Business Profile.\",\n \"LISTING_DATA.TURBO_LISTER_BUTTON\": \"Sync\",\n \"LISTING_DISTRIBUTION.UPGRADE_MODAL.BUTTON_TEXT\": \"Upgrade now\",\n \"LISTING_DISTRIBUTION.UPGRADE_MODAL.IMAGE_TEXT\": \"The essential layer to your business being found.\",\n \"LISTING_DISTRIBUTION.UPGRADE_MODAL.MARKETING_POINTS.LINE_1\": \"Help customers find your business\",\n \"LISTING_DISTRIBUTION.UPGRADE_MODAL.MARKETING_POINTS.LINE_2\": \"Ensure accuracy across sources\",\n \"LISTING_DISTRIBUTION.UPGRADE_MODAL.MARKETING_POINTS.LINE_3\": \"Mobile apps, voice search, & more\",\n \"LISTING_DISTRIBUTION.UPGRADE_MODAL.MARKETING_POINTS.LINE_4\": \"Keep listings correct through changes\",\n \"LISTING_DISTRIBUTION.UPGRADE_MODAL.MARKETING_POINTS.LINE_5\": \"Trusted over manual listing updates\",\n \"LISTING_SYNC.ADDITIONAL_SOURCES.SUBTITLE\": \"If a listing for your business already exists it will be found, updated and checked regularly. Sources with no listing will have a new listing automatically created.\",\n \"LISTING_SYNC.ADDITIONAL_SOURCES.TITLE\": \"Additional Sources\",\n \"LISTING_SYNC.COLUMN_HEADERS.CONNECTED_ACCOUNT\": \"Connected Account\",\n \"LISTING_SYNC.COLUMN_HEADERS.LAST_UPDATED\": \"Last Update\",\n \"LISTING_SYNC.COLUMN_HEADERS.LISTING_ACCURACY\": \"Accuracy Report\",\n \"LISTING_SYNC.COLUMN_HEADERS.MAX_SCORE\": \"Listing Score (max)\",\n \"LISTING_SYNC.COLUMN_HEADERS.SCORE\": \"Listing Score\",\n \"LISTING_SYNC.COLUMN_HEADERS.SITE_NAME\": \"Source\",\n \"LISTING_SYNC.COLUMN_HEADERS.SITE_TYPE\": \"Category\",\n \"LISTING_SYNC.COLUMN_HEADERS.STATUS\": \"Status\",\n \"LISTING_SYNC.COLUMN_HEADERS.NETWORK_ECOSYSTEM\": \"Network ecosystem\",\n \"LISTING_SYNC.COLUMN_HEADERS.NETWORK_ECOSYSTEM_TOOLTIP\": \"This source sends your business data to additional networks, expanding your reach.\",\n \"LISTING_SYNC.LISTING_SCORE_SUMMARY_CARD.INDUSTRY_AVERAGE\": \"Industry Avg.\",\n \"LISTING_SYNC.LISTING_SCORE_SUMMARY_CARD.LISTING_SCORE_TOOL_TIP\": \"Your listing score represents the quality of your online presence across all listing sources. The score is calculated according to your listing’s presence and accuracy on a listing source, as well as any citations of your business across the internet. Certain sources like Google Business Profile, are weighted higher than others based on their reputability.\",\n \"LISTING_SYNC.LISTING_SCORE_SUMMARY_CARD.PERCENTILE\": \"95th percentile.\",\n \"LISTING_SYNC.LISTING_SCORE_SUMMARY_CARD.STARTED_AT\": \"Started at\",\n \"LISTING_SYNC.LISTING_SCORE_SUMMARY_CARD.TITLE\": \"Listing Score\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.ACCURATE\": \"Accurate\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.ACCURATE_LISTING\": \"Accurate Listing\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.ERRORS.ADDRESS\": \"Address\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.ERRORS.CITY\": \"City\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.ERRORS.COUNTRY\": \"Country\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.ERRORS.NAME\": \"Name\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.ERRORS.PHONE\": \"Phone\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.ERRORS.STATE\": \"State\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.ERRORS.WEBSITE\": \"Website\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.ERRORS.ZIP\": \"Zip Code\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.FOUND_WITH_ERRORS\": \"Found with possible errors\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.IN_PROGRESS\": \"In Progress\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.LISTING_NOT_FOUND\": \"Listing Not found\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.NOT_AVAILABLE\": \"Accuracy reporting isn't available for this source.\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.NOT_FOUND\": \"Not found\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.NO_REPORTING\": \"Source does not have reporting\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.POSSIBLE_ERRORS\": \"Possible errors\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.REFRESH\": \"Refresh accuracy data\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.SEARCHING\": \"We're still searching for accuracy data for this source. Check back soon.\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.TITLE\": \"Accuracy\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.WARNING\": \"Some fields don't match your\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.SITE_TYPE.TYPES.AGGREGATOR\": \"Aggregator\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.SITE_TYPE.TYPES.APP\": \"App\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.SITE_TYPE.TYPES.DIRECTORY\": \"Directory\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.SITE_TYPE.TYPES.GPS\": \"GPS\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.SITE_TYPE.TYPES.HISPANIC_SITE\": \"Hispanic Site\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.SITE_TYPE.TYPES.MAP\": \"Map\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.SITE_TYPE.TYPES.SOCIAL\": \"Social\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.SITE_TYPE.TYPES.REVIEW\": \"Review Site\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.SITE_TYPE.TYPES.SEARCH_ENGINE\": \"Search Engine\",\n \"LISTING_SYNC.SYNC_STATUS_SUCCESS.NAME\": \"Synced\",\n \"LISTING_SYNC.SYNC_STATUS_SUCCESS.DESCRIPTION\": \"Data is correct, checked regularly, and updated if needed.\",\n \"LISTING_SYNC.SYNC_STATUS_SUBMITTED.NAME\": \"Submitted\",\n \"LISTING_SYNC.SYNC_STATUS_SUBMITTED.DESCRIPTION\": \"Data has been sent to a provider that does not provide publishing feedback. Updates complete.\",\n \"LISTING_SYNC.SYNC_STATUS_SYNCING.NAME\": \"Syncing\",\n \"LISTING_SYNC.SYNC_STATUS_SYNCING.DESCRIPTION\": \"Data is in the process of being submitted and accepted.\",\n \"LISTING_SYNC.SYNC_STATUS_PARTIALLY_SYNCED.NAME\": \"Partially synced\",\n \"LISTING_SYNC.SYNC_STATUS_PARTIALLY_SYNCED.DESCRIPTION\": \"Some data was rejected by the recipient.\",\n \"LISTING_SYNC.SYNC_STATUS_FAILED.NAME\": \"Sync failed\",\n \"LISTING_SYNC.SYNC_STATUS_FAILED.DESCRIPTION\": \"Data was rejected by the recipient.\",\n \"LISTING_SYNC.SYNC_STATUS_CLAIMED.NAME\": \"Claimed\",\n \"LISTING_SYNC.SYNC_STATUS_CLAIMED.DESCRIPTION\": \"The listing cannot be updated because the business owner or a third party already owns it.\",\n \"LISTING_SYNC.SYNC_STATUS_UNAVAILABLE.NAME\": \"Manual update only\",\n \"LISTING_SYNC.SYNC_STATUS_UNAVAILABLE.DESCRIPTION\": \"This site cannot be synced to for your business's location or category.\",\n \"LISTING_SYNC.SYNC_STATUS_UNSET.NAME\": \"Not found\",\n \"LISTING_SYNC.SYNC_STATUS_UNSET.DESCRIPTION\": \"Listing Not found\",\n \"LISTING_SYNC.LSP_ADDON.COLUMNS.SYNC_STATUS.TURN_OFF_SYNCING\": \"Turn off syncing\",\n \"LISTING_SYNC.LSP_ADDON.ERRORS_MESSAGE\": \"Not syncing due to the following errors:\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.CATEGORIES\": \"One or more of your Business Categories are invalid.\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.CHAIN_LOCATION\": \"According to Yelp, we're unable to update this listing, as it's associated with a larger chain and is not eligible for all updates.\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.CITY\": \"There was an error found in your address's City field\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.CONTACT_SOURCE\": \"Yelp has indicated to us that they are unable to update certain fields as they have been locked due to previous abuse or the business requesting to have it locked.\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.DESCRIPTION_LONG\": \"There was an error found in your Business Long Description.\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.DESCRIPTION_SHORT\": \"There was an error found in your Business Short Description.\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.EMAIL\": \"There was an error found in your Business Email.\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.EXISTING_RELATIONSHIP\": \"Listing Sync is not available because this business has a paid advertising relationship with a particular source.\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.HOURS_OF_OPERATION\": \"Hours of operation are invalid.\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.NAME\": \"There was an error found in your Business name.\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.PAYMENT_OPTIONS\": \"There was an error found in your Payment Methods.\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.PHONE_NUMBER\": \"There was an error found in your Phone number.\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.PHOTOS\": \"There was an error found in your Photos.\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.SERVICES\": \"There was an error found in services\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.SOCIAL_PROFILES\": \"There was an error found in your Social Business Pages URL.\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.STREET_ADDRESS\": \"There was an error found in your Street address.\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.UNHANDLED_ERROR\": \"There was an error syncing this listing. Please contact support.\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.WEBSITE\": \"There was an error found in your Website URL.\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.WHOLE_ADDRESS\": \"There was an error found in your Business Address.\",\n \"LISTING_SYNC.LSP_ADDON.ERROR_CODE.ZIP_CODE\": \"There was an error found in your Zip code.\",\n \"LISTING_SYNC.LSP_ADDON.FIELDS_TO_BE_SYNCED\": \"Fields still to be synced\",\n \"LISTING_SYNC.LSP_ADDON.IN_PROGRESS_CHECK_BACK_SOON_MESSAGE\": \"Data syncing is in progress. Check back soon for more information.\",\n \"LISTING_SYNC.LSP_ADDON.NAME\": \"Listing Sync Pro\",\n \"LISTING_SYNC.LSP_ADDON.SYNCING_WITH_WARNINGS_MESSAGE\": \"Partial syncing in progress. Check listing for errors in these fields:\",\n \"LISTING_SYNC.LSP_ADDON.UPGRADE_MODAL.ACTIVE_ORDER_PRIMARY\": \"Hold tight!\",\n \"LISTING_SYNC.LSP_ADDON.UPGRADE_MODAL.ACTIVE_ORDER_SECONDARY\": \"Your upgrade is on its way.\",\n \"LISTING_SYNC.LSP_ADDON.UPGRADE_MODAL.BUTTON_TEXT\": \"Upgrade now\",\n \"LISTING_SYNC.LSP_ADDON.UPGRADE_MODAL.IMAGE_TEXT\": \"Help customers find your business faster.\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.CATEGORIES\": \"Categories\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.CHAIN_LOCATION\": \"Chain Location\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.CITY\": \"City\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.CONTACT_SOURCE\": \"Contact Source\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.DESCRIPTION_LONG\": \"Long description\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.DESCRIPTION_SHORT\": \"Short description\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.EMAIL\": \"Email\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.EXISTING_RELATIONSHIP\": \"Paid Advertiser\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.HOURS_OF_OPERATION\": \"Hours of operation\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.NAME\": \"Name\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.PAYMENT_OPTIONS\": \"Payment options\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.PHONE_NUMBER\": \"Phone number\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.PHOTOS\": \"Photos\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.SERVICES\": \"Services\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.SOCIAL_PROFILES\": \"Social profiles\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.STREET_ADDRESS\": \"Street Address\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.WEBSITE\": \"Website\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.WHOLE_ADDRESS\": \"Whole Address\",\n \"LISTING_SYNC.LSP_ADDON.WARNING_CODE.ZIP_CODE\": \"Zip code\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.ADDRESS\": \"Street Address, Zip/Postal Code, City, State (street address and zip/postal code are hidden for service area businesses)\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.BUSINESS_NAME\": \"Business Name\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.GOOGLE_ATTRIBUTES\": \"Google Attributes (see Business Profile's More tab)\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.HOURS\": \"Hours of operation\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.HOURS_AND_SPECIAL_HOURS\": \"Hours of operation and Special Hours\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.IMAGE_TIP_FORMAT\": \"Format: JPG, PNG\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.IMAGE_TIP_QUALITY\": \"Ensure that your Primary Photo is in focus, well lit, and does not feature excessive filters or alterations\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.IMAGE_TIP_RECOMMENDED_ASPECT_RATIO_PRIMARY_PHOTO\": \"Must have an aspect ratio of 16:9\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.IMAGE_TIP_RECOMMENDED_RESOLUTION_LOGO\": \"Recommended resolution of 250:250px (min 120:120px; max 5200:5300px)\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.IMAGE_TIP_RECOMMENDED_RESOLUTION_PRIMARY_PHOTO\": \"Recommended resolution of 1080:608px (min 480:270px; max 2120:1192px)\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.IMAGE_TIP_SIZE\": \"File size: 10KB-5MB\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.LOCATION_HEADER\": \"Location Requirements\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.LOGO\": \"Logo\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.LONG_DESCRIPTION\": \"Long description\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.MEDIA_HEADER\": \"Image Requirements\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.PAYMENT\": \"Payment methods\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.PHONE\": \"Phone number\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.PRIMARY_PHONE\": \"Primary phone number\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.PRIMARY_PHOTO\": \"Primary Photo\",\n \"LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.WEBSITE\": \"Website URL\",\n \"LISTING_SYNC.LS_FREE_ADDON.FACEBOOK.ACTIVATE_DIALOG.TEXT\": \"Your Facebook account has been successfully connected. Sync your business profile data (address, phone number, website url, etc.) now to ensure accurate and consistent information appears on your public profile.\",\n \"LISTING_SYNC.LS_FREE_ADDON.FACEBOOK.ACTIVATE_DIALOG.TITLE\": \"Would you like to activate sync now?\",\n \"LISTING_SYNC.LS_FREE_ADDON.FACEBOOK.TOOLTIP.TEXT\": \"The following information will be synced to Facebook if an account is connected and sync is turned on:\",\n \"LISTING_SYNC.LS_FREE_ADDON.FACEBOOK.TOOLTIP.TITLE\": \"Info Synced to Facebook\",\n \"LISTING_SYNC.LS_FREE_ADDON.GOOGLE_MY_BUSINESS.ACTIVATE_DIALOG.TEXT\": \"Your {{ name }} account, {{ accountName }} has been successfully connected\",\n \"LISTING_SYNC.LS_FREE_ADDON.GOOGLE_MY_BUSINESS.ACTIVATE_DIALOG.TITLE\": \"Activate {{ name }} syncing\",\n \"LISTING_SYNC.LS_FREE_ADDON.GOOGLE_MY_BUSINESS.TOOLTIP.TEXT\": \"The following information from your Business Profile is synced to Google Business Profile when your location is connected and syncing is active.\",\n \"LISTING_SYNC.LS_FREE_ADDON.GOOGLE_MY_BUSINESS.TOOLTIP.TITLE\": \"Info synced to Google Business Profile\",\n \"LISTING_SYNC.LS_FREE_ADDON.INSTAGRAM.TOOLTIP.TEXT\": \"Your Facebook account must be connected with sync turned on, in order to connect Instagram. The following information will be synced to Instagram if an account is connected and sync is turned on:\",\n \"LISTING_SYNC.LS_FREE_ADDON.INSTAGRAM.TOOLTIP.TITLE\": \"Info Synced to Instagram\",\n \"LISTING_SYNC.LS_FREE_ADDON.TWITTER.ACTIVATE_DIALOG.TEXT\": \"Your X account has been successfully connected. Sync your business profile data (city, website url, etc.) now to ensure accurate and consistent information appears on your public profile.\",\n \"LISTING_SYNC.LS_FREE_ADDON.TWITTER.ACTIVATE_DIALOG.TITLE\": \"Would you like to activate sync now?\",\n \"LISTING_SYNC.LS_FREE_ADDON.TWITTER.TOOLTIP.SHORT_DESC\": \"Short Description, if less than 160 characters\",\n \"LISTING_SYNC.LS_FREE_ADDON.TWITTER.TOOLTIP.TEXT\": \"The following information will be synced to X if an account is connected and sync is turned on:\",\n \"LISTING_SYNC.LS_FREE_ADDON.TWITTER.TOOLTIP.TITLE\": \"Info Synced to X\",\n \"LISTING_SYNC.LS_FREE_ADDON.TWITTER.TOOLTIP.ADDRESS\": \"City, State, and Country\",\n \"LISTING_SYNC.PRIMARY_SOURCES.APPLE.COMING_SOON\": \"Apple (Coming soon)\",\n \"LISTING_SYNC.PRIMARY_SOURCES.APPLE.COMING_SOON_SIGNED_UP\": \"Signed up\",\n \"LISTING_SYNC.PRIMARY_SOURCES.APPLE.COMING_SOON_SIGN_UP\": \"Sign up\",\n \"LISTING_SYNC.PRIMARY_SOURCES.APPLE.TURN_ON_MODAL.CANCEL\": \"Cancel\",\n \"LISTING_SYNC.PRIMARY_SOURCES.APPLE.TURN_ON_MODAL.P1\": \"Apple Business Connect is coming soon. By opting-in, a listing will automatically be created for you once this source becomes available.\",\n \"LISTING_SYNC.PRIMARY_SOURCES.APPLE.TURN_ON_MODAL.P2\": \"Service area businesses will only be accepted by Apple if they serve customers at their business location.\",\n \"LISTING_SYNC.PRIMARY_SOURCES.APPLE.TURN_ON_MODAL.SERVES_CUSTOMERS_AT_LOCATION_CHECKBOX\": \"My business serves customers at the business location\",\n \"LISTING_SYNC.PRIMARY_SOURCES.APPLE.TURN_ON_MODAL.TITLE\": \"Sign up for syncing\",\n \"LISTING_SYNC.PRIMARY_SOURCES.BING.ATTRIBUTES\": \"Bing Attributes (see Business Profile's More tab)\",\n \"LISTING_SYNC.PRIMARY_SOURCES.BING.HOURS\": \"Regular hours of operation\",\n \"LISTING_SYNC.PRIMARY_SOURCES.BING.TOOLTIP.TEXT\": \"Info Synced to Bing\",\n \"LISTING_SYNC.PRIMARY_SOURCES.BING.TOOLTIP.TITLE\": \"The following information will be synced to Bing if sync is turned on\",\n \"LISTING_SYNC.PRIMARY_SOURCES.LISTING_SCORE\": \"Listing Score\",\n \"LISTING_SYNC.PRIMARY_SOURCES.SUBTITLE\": \"Connect directly to your existing listings to begin updating them with the data on your business profile.\",\n \"LISTING_SYNC.PRIMARY_SOURCES.TITLE\": \"Primary Sources\",\n \"LISTING_SYNC.PRIMARY_SOURCES.UPGRADE_TO_PRO\": \"Upgrade to Pro\",\n \"LISTING_SYNC.PRIMARY_SOURCES.GMB_AUTH\": \"To find your listing in Google results, please connect your\",\n \"LISTING_SYNC.PRIMARY_SOURCES.GMB_AUTH_BUTTON\": \"Google Business Profile.\",\n \"LISTING_SYNC.PRODUCT.MORE_INFO_VIDEO_BUTTON\": \"Learn about Listing Syncing\",\n \"LISTING_SYNC.PRODUCT.NAME\": \"Listing Sync\",\n \"LISTING_SYNC.PRODUCT.TITLE\": \"Listing Sync\",\n \"LISTING_SYNC.SOURCE_MENU.DETAILS\": \"Details\",\n \"LISTING_SYNC.SOURCE_MENU.MISMATCHING_FIELDS_TITLE\": \"Check for issues in the following fields\",\n \"LISTING_SYNC.SOURCE_MENU.FORCE_SYNC\": \"Force sync to {{ source }}\",\n \"LISTING_SYNC.SOURCE_MENU.FORCE_SYNC_SUCCESS\": \"Force sync submitted\",\n \"LISTING_SYNC.SOURCE_MENU.MISSING_FIELDS_TITLE\": \"The following fields are missing\",\n \"LISTING_SYNC.SOURCE_MENU.BING_CREATING_LISTING\": \"Your listing is being created on Bing, this can take up to 30 business days. Check back soon.\",\n \"LISTING_SYNC.SOURCE_MENU.REFRESH_LISTING_FAILURE\": \"Error when attempting to refresh\",\n \"LISTING_SYNC.SOURCE_MENU.REFRESH_LISTING_SUCCESS\": \"Refresh Listing in Process\",\n \"LISTING_SYNC.SOURCE_MENU.REFRESH_SYNCING_SUCCESS\": \"Updated syncing\",\n \"LISTING_SYNC.SOURCE_MENU.SYNCING_INFO_LINK\": \"What data is synced to {{ source }}?\",\n \"LISTING_SYNC.SOURCE_MENU.SYNCING_INFO_LINK_X\": \"What data is synced to X?\",\n \"LISTING_SYNC.SOURCE_MENU.UPDATE_SERVICE_FAILURE\": \"Error updating selected account\",\n \"LISTING_SYNC.SOURCE_MENU.UPDATE_SERVICE_SUCCESS\": \"Updated selected account\",\n \"LISTING_SYNC.SYNCING_PROGRESS_SUMMARY_CARD.SYNC_IN_PROGRESS_DETAILS.NOT_SYNCING\": \"Not syncing\",\n \"LISTING_SYNC.SYNCING_PROGRESS_SUMMARY_CARD.SYNC_IN_PROGRESS_DETAILS.SYNCED_OR_SUBMITTED\": \"Synced or submitted\",\n \"LISTING_SYNC.SYNCING_PROGRESS_SUMMARY_CARD.SYNC_IN_PROGRESS_DETAILS.SYNC_IN_PROGRESS\": \"Sync in progress\",\n \"LISTING_SYNC.SYNCING_PROGRESS_SUMMARY_CARD.TITLE\": \"Syncing progress\",\n \"LISTING_SYNC.SYNCING_STATUS.CONNECT_FACEBOOK_TO_SYNC\": \"Connect Facebook to Sync\",\n \"LISTING_SYNC.SYNCING_STATUS.CONNECT_OR_CREATE\": \"Connect or create listing\",\n \"LISTING_SYNC.SYNCING_STATUS.LOCKED_UPGRADE_TO_CREATE\": \"Upgrade to create listing\",\n \"LISTING_SYNC.SYNCING_STATUS.PROFILE_UNVERIFIED\": \"Profile Unverified\",\n \"LISTING_SYNC.SYNCING_STATUS.CREATING\": \"Creating\",\n \"LISTING_SYNC.SYNCING_STATUS.LOCKED_UPGRADE_TO_SYNC\": \"Upgrade to sync\",\n \"LISTING_SYNC.SYNCING_STATUS.SYNCED\": \"Synced\",\n \"LISTING_SYNC.SYNCING_STATUS.SYNC_TO\": \"Sync to\",\n \"LISTING_SYNC.SYNCING_STATUS.SYNC_TO_FIX\": \"Sync to fix\",\n \"LISTING_SYNC.SYNCING_STATUS.SYNC_TO_KEEP_ACCURATE\": \"Sync to keep accurate\",\n \"LISTING_SYNC.SYNCING_STATUS.BROKEN\": \"Connection broken\",\n \"LISTING_SYNC.SYNCING_STATUS.RECONNECT\": \"Reconnect to sync\",\n \"LISTING_SYNC.SYNC_STATUS.UNKNOWN_ERROR\": \"There was a problem submitting your business data to {{source}}. Please review your Business Profile to ensure that all data entered is accurate\",\n \"LISTING_SYNC.SYNC_STATUS.INVALID_CATEGORY\": \"Please confirm your Primary Business Category:\\nCurrent: {{current_category}}\\nSuggested: {{suggested_category}}\\n\\nEnsure your primary category is correct before submitting your data to {{source}}\",\n \"LISTING_SYNC.SYNC_STATUS.INVALID_FIELD\": \"Field {{field}} is invalid for {{source}}. Please review your Business Profile to ensure that all data entered is accurate\",\n \"LISTING_SYNC.SYNC_STATUS.MISSING_FIELD\": \"{{source}} requires {{field}} to accept your location. Please add this information to your Business Profile\",\n \"LISTING_SYNC.SYNC_STATUS.MISMATCHED_FIELD\": \"Please confirm the following fields:\\n{{field}}\\nEnsure these fields are correct before submitting your data to {{source}}\",\n \"LISTING_SYNC.SYNC_STATUS.AUTHENTICATION_ERROR\": \"There was a problem authenticating your {{source}} account. Please verify if the connected\\naccount is valid\",\n \"LISTING_SYNC.SYNC_STATUS.AUTHORIZATION_ERROR\": \"There was a problem accessing your {{source}} account. Please log in to your {{source}} account and ensure that the account is active and that you have the correct permissions to manage the account\",\n \"LISTING_SYNC.SYNC_STATUS.UNABLE_TO_VALIDATE\": \"We were unable to validate your business data, please ensure your data is correct, then Force Sync your data to {{source}}\",\n \"LISTING_SYNC.SYNC_STATUS.CANNOT_HIDE_ADDRESS\": \"Address removal isn’t permitted for this business category on {{source}}. If you operate as a service area business, please review {{source}}’s requirements for address display, or contact {{source}} support for help with updating your business profile.\",\n \"LISTING_SYNC.SYNC_STATUS.UNABLE_TO_GEOCODE\": \"Unable to place your business on the map. Ensure your Address and Map pin is correct, then Force Sync.\",\n \"LISTING_SYNC.SYNC_STATUS.UNABLE_TO_UPDATE_PHONE\": \"To update your phone number, please submit a request via {{source}}’s form here.\",\n \"LISTING_SYNC.SYNC_STATUS.IMAGE_REQUIREMENTS\": \"{{source}} has indicated that the provided {{field}} does not match their formatting requirements.\\n\\nUpload a {{field}} that is:\\n
    {{requirements}}
\",\n \"LISTING_SYNC.SYNC_STATUS.MISSING_ADDRESS\": \"It looks like your business may operate as a Service Area Business. Please note that {{source}} requires a storefront for these listings. Review your Business Profile to confirm that all details are accurate.\",\n \"LISTING_SYNC.SYNC_STATUS.CURRENT\": \"Current\",\n \"LISTING_SYNC.SYNC_STATUS.SUGGESTED\": \"Suggested\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.COMPANY_NAME\": \"Company Name\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.ADDRESS\": \"Address\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.CITY\": \"City\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.STATE\": \"State/Province\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.COUNTRY\": \"Country/Region\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.PHONE_NUMBER\": \"Phone Number\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.ZIP_CODE\": \"Zip/Postal Code\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.CATEGORY\": \"Category\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.BUSINESS\": \"Business\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.GEOLOCATION\": \"Geolocation\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.WEBSITE\": \"Website\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.LOGO\": \"Logo image\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.LOGO_REQUIREMENTS\": \"
  • 1:1 aspect ratio
  • 250 x 250px minimum
  • \",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.COVER\": \"Cover image\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.HOURS\": \"Business Hours\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.DESCRIPTION\": \"Description\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.EMAIL\": \"Email\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.PHOTOS\": \"Photo\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.PHOTO_REQUIREMENTS\": \"
  • 250 x 250px minimum
  • \",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.PAYMENT_METHODS\": \"Payment Methods\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.SOCIAL_URLS\": \"Social URLs\",\n \"LISTING_SYNC.SYNC_STATUS.FIELDS.COVER_REQUIREMENTS\": \"
  • 16:9 aspect ratio
  • 480 x 270px minimum
  • \",\n \"LISTING_SYNC.TABLE_FILTERS.SYNC_STATUS_FILTER.GROUP_LABEL\": \"Syncing Status Filters\",\n \"LISTING_SYNC.TABLE_FILTERS.SYNC_STATUS_FILTER.MANUAL_UPDATE_ONLY\": \"Manual Update Only\",\n \"LISTING_SYNC.TABLE_FILTERS.SYNC_STATUS_FILTER.SYNCING_AVAILABLE\": \"Syncing Available\",\n \"LISTING_SYNC.TABLE_LABEL.ADD_SORT_COLUMN\": \"Add another column to sort on\",\n \"LISTING_SYNC.TABLE_LABEL.CANCEL\": \"Cancel\",\n \"LISTING_SYNC.TABLE_LABEL.CHOOSE_SORT_COLUMN\": \"Choose a column to sort on\",\n \"LISTING_SYNC.TABLE_LABEL.COLUMN_SELECTOR\": \"Columns\",\n \"LISTING_SYNC.TABLE_LABEL.EXPORT\": \"Export\",\n \"LISTING_SYNC.TABLE_LABEL.NONE\": \"None\",\n \"LISTING_SYNC.TABLE_LABEL.NO_RESULTS\": \"No Results\",\n \"LISTING_SYNC.TABLE_LABEL.SORT_BY\": \"Sort By\",\n \"LISTING_SYNC.TABLE_LABEL.SORT_DATE_ASC\": \"Earliest to Latest\",\n \"LISTING_SYNC.TABLE_LABEL.SORT_DATE_DSC\": \"Latest to Earliest\",\n \"LISTING_SYNC.TABLE_LABEL.SORT_DEFAULT_ASC\": \"ascending\",\n \"LISTING_SYNC.TABLE_LABEL.SORT_DEFAULT_DSC\": \"descending\",\n \"LISTING_SYNC.TABLE_LABEL.SORT_NUMBER_ASC\": \"1 to 9\",\n \"LISTING_SYNC.TABLE_LABEL.SORT_NUMBER_DSC\": \"9 to 1\",\n \"LISTING_SYNC.TABLE_LABEL.SORT_STRING_ASC\": \"A to Z\",\n \"LISTING_SYNC.TABLE_LABEL.SORT_STRING_DSC\": \"Z to A\",\n \"LISTING_SYNC.TABLE_LABEL.THEN_SORT_BY\": \"Then Sort By\",\n \"LISTING_SYNC.TABLE_LABEL.UPDATE\": \"Update\",\n \"LISTING_SYNC.TABLE_LABEL.VIEW_SOURCE\": \"View listing\",\n \"LISTING_SYNC.UPDATE_BUSINESS_PROFILE\": \"Update on Business Profile\",\n \"NAVBAR.LISTING_PROFILE\": \"Business Profile\",\n \"NAVBAR.SEO\": \"Keyword Tracking\",\n \"LOCAL_SEO.ADD_A_KEYWORD\": \"Add a keyword...\",\n \"LOCAL_SEO.ADD_INITIAL_KEYWORD\": \"Add your first keyword\",\n \"LOCAL_SEO.ADD_KEYWORDS\": \"Add Keywords\",\n \"LOCAL_SEO.USED\": \"used\",\n \"LOCAL_SEO.BANNER.DESCRIPTION\": \"Track your business's keyword positions on Google, equipping you to stay ahead of the competition and improve your online visibility\",\n \"LOCAL_SEO.BANNER.TITLE\": \"Google keyword tracking to empower your marketing efforts\",\n \"LOCAL_SEO.FAVORITES_UPDATED\": \"Favorites updated\",\n \"LOCAL_SEO.KEYWORD.TITLE\": \"Keyword\",\n \"LOCAL_SEO.KEYWORDS_UPDATED\": \"Keywords updated\",\n \"LOCAL_SEO.KEYWORD_DELETED\": \"Keyword deleted\",\n \"LOCAL_SEO.SYNCING_KEYWORDS_UPDATED\": \"Syncing keywords updated\",\n \"LOCAL_SEO.UNKNOWN_ERROR\": \"Unknown error\",\n \"LOCAL_SEO.LOCAL_SEO.AVERAGE_POSITION\": \"Average Position\",\n \"LOCAL_SEO.LOCAL_SEO.AVERAGE_POSITION_TOOLTIP\": \"Positions from both maps and keywords are averaged together.\",\n \"LOCAL_SEO.LOCAL_SEO.AVERAGE_POSITION_TOOLTIP_TITLE\": \"How is this calculated?\",\n \"LOCAL_SEO.LOCAL_SEO.BUSINESS_NOT_FOUND\": \"Your business {{businessName}} wasn't found in the top 100 search results\",\n \"LOCAL_SEO.LOCAL_SEO.BY_RANKS\": \"by {{value}} ranks\",\n \"LOCAL_SEO.LOCAL_SEO.CLAIMED\": \"Claimed\",\n \"LOCAL_SEO.LOCAL_SEO.DESCRIPTION_KEYWORD\": \"This is your average ranking on Google Maps when someone searches for '{{searchTerm}}', within a {{radius}} {{unit}} radius of your business.\",\n \"LOCAL_SEO.LOCAL_SEO.EXAMPLE_KEYWORD\": \"Example Keyword\",\n \"LOCAL_SEO.LOCAL_SEO.PROFILE_GEO_NOT_SET\": \"Geo-location not set: Please set your pin to enable citation searching and local search results\",\n \"LOCAL_SEO.LOCAL_SEO.GEO_NOT_SET\": \"Geo-location not set: Please set your pin to enable citation searching and local search results. Set pin\",\n \"LOCAL_SEO.LOCAL_SEO.GRAPH.LABEL.YAXIS\": \"Keyword Position\",\n \"LOCAL_SEO.LOCAL_SEO.GRAPH.LEGEND.LOCAL_RANK\": \"Google Maps (Local)\",\n \"LOCAL_SEO.LOCAL_SEO.GRAPH.LEGEND.ORGANIC_RANK\": \"Google Search (Organic)\",\n \"LOCAL_SEO.LOCAL_SEO.GRAPHS.AVERAGE\": \"Average\",\n \"LOCAL_SEO.LOCAL_SEO.GRAPHS.LOCAL\": \"Google Maps (Local)\",\n \"LOCAL_SEO.LOCAL_SEO.GRAPHS.ORGANIC\": \"Google Search (Organic)\",\n \"LOCAL_SEO.LOCAL_SEO.GRAPHS.OVER_50\": \"Position 50+\",\n \"LOCAL_SEO.LOCAL_SEO.GRAPHS.TOP10\": \"Position 1-10\",\n \"LOCAL_SEO.LOCAL_SEO.GRAPHS.TOP50\": \"Position 10-50\",\n \"LOCAL_SEO.LOCAL_SEO.HEADING\": \"Local Search Results\",\n \"LOCAL_SEO.LOCAL_SEO.IN_PROGRESS_DESCRIPTION\": \"We are currently searching your keywords. Searching can take up to 15 minutes.\",\n \"LOCAL_SEO.LOCAL_SEO.IN_PROGRESS_TITLE\": \"Searching in progress\",\n \"LOCAL_SEO.LOCAL_SEO.KEYWORD.EXPANDED_DROPDOWN.SETTINGS.DELETE_KEYWORD\": \"Delete Keyword\",\n \"LOCAL_SEO.LOCAL_SEO.KEYWORD.EXPANDED_DROPDOWN.SETTINGS.FAVORITE_KEYWORD\": \"Favorite Keyword\",\n \"LOCAL_SEO.LOCAL_SEO.KEYWORD.EXPANDED_DROPDOWN.SETTINGS.FAVORITE_KEYWORD_SUBTITLE\": \"Enable this setting to surface this keyword at the top of the list and push it to your executive report and multi-location keyword page.\",\n \"LOCAL_SEO.LOCAL_SEO.KEYWORD.EXPANDED_DROPDOWN.SETTINGS.SYNC_KEYWORD\": \"Sync Keyword\",\n \"LOCAL_SEO.LOCAL_SEO.KEYWORD.EXPANDED_DROPDOWN.SETTINGS.SYNC_KEYWORD_SUBTITLE\": \"Enable this setting to send this keyword to listings that accept this data\",\n \"LOCAL_SEO.LOCAL_SEO.KEYWORD.EXPANDED_DROPDOWN.TAB.LOCAL_GRID\": \"Local Grid\",\n \"LOCAL_SEO.LOCAL_SEO.KEYWORD.EXPANDED_DROPDOWN.TAB.SETTINGS\": \"Settings\",\n \"LOCAL_SEO.LOCAL_SEO.KEYWORD.EXPANDED_DROPDOWN.TAB.TREND\": \"Trend\",\n \"LOCAL_SEO.LOCAL_SEO.KEYWORDS_UP\": \"Total Keywords Up\",\n \"LOCAL_SEO.LOCAL_SEO.MAPS\": \"Maps\",\n \"LOCAL_SEO.LOCAL_SEO.MAP_INFO_TEXT\": \"Click hotspots to see results change based on location\",\n \"LOCAL_SEO.LOCAL_SEO.NO_RESULTS_DESCRIPTION\": \"We couldn’t find any search results for {{searchTerm}} + {{vicinity}}.\",\n \"LOCAL_SEO.LOCAL_SEO.NO_RESULTS_TITLE\": \"No results\",\n \"LOCAL_SEO.LOCAL_SEO.ORGANIC\": \"Organic\",\n \"LOCAL_SEO.LOCAL_SEO.PHONE_NOT_FOUND\": \"Phone not found\",\n \"LOCAL_SEO.LOCAL_SEO.RADIUS_UPDATE_IN_PROGRESS_BADGE\": \"Map radius update in progress\",\n \"LOCAL_SEO.LOCAL_SEO.RANK\": \"Rank\",\n \"LOCAL_SEO.LOCAL_SEO.RANK_DIFFICULTY\": \"Rank Difficulty\",\n \"LOCAL_SEO.LOCAL_SEO.REVIEWS_COUNT\": \"{{count}} reviews\",\n \"LOCAL_SEO.LOCAL_SEO.SEARCH_VOLUME\": \"Search Volume (last 30 days)\",\n \"LOCAL_SEO.LOCAL_SEO.STARTED_AT\": \"Started at\",\n \"LOCAL_SEO.LOCAL_SEO.SUBHEADING\": \"Who shows up when customers search for your business category?\",\n \"LOCAL_SEO.LOCAL_SEO.TABS.NEAR_ME\": \"'Near me'\",\n \"LOCAL_SEO.LOCAL_SEO.TOP_10\": \"Keywords in top 10\",\n \"LOCAL_SEO.LOCAL_SEO.UNCLAIMED\": \"Unclaimed\",\n \"LOCAL_SEO.LOCAL_SEO.UPGRADE_TO_VIEW\": \"Upgrade to view\",\n \"LOCAL_SEO.LOCAL_SEO.WEBSITE_NOT_SET\": \"Website not entered: Organic rank is based on your website, add it here to begin tracking your organic rankings.\",\n \"LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.BIG_CITY\": \"5 {{mapUnits}}\",\n \"LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.DESCRIPTION\": \"Expanding the map radius affects competitor inclusion, map ranking, and local grid results. Allow up to 15 minutes for this change to update all keywords.\",\n \"LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.KMS\": \"kms\",\n \"LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.LABEL\": \"Map Radius\",\n \"LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.LOCAL\": \"1.25 {{mapUnits}}\",\n \"LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.MAP_UNITS.KILOMETERS\": \"Kilometers\",\n \"LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.MAP_UNITS.LABEL\": \"Map Units\",\n \"LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.MAP_UNITS.MILES\": \"Miles\",\n \"LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.MILES\": \"miles\",\n \"LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.SMALL_CITY\": \"2.5 {{mapUnits}}\",\n \"LOCAL_SEO.SELECT_LOCAL_SEARCH_RADIUS.XL_CITY\": \"10 {{mapUnits}}\",\n \"LOCAL_SEO.KEYWORD.FULL_URL.LABEL\": \"Organic Settings\",\n \"LOCAL_SEO.KEYWORD.FULL_URL.CHECK_BOX.CONTENT\": \"Use full URL path\",\n \"LOCAL_SEO.KEYWORD.FULL_URL.CHECK_BOX.DESCRIPTION\": \"By default we consider the root domain for your business website. Enable the setting to utilize the full URL in your business profile instead.\",\n \"LOCAL_SEO.LEGEND.LABEL\": \"Legend\",\n \"LOCAL_SEO.LEGEND.OVER_50\": \"Your rank for this keyword is above 50\",\n \"LOCAL_SEO.LEGEND.NOT_RANKED\": \"You don't rank for this keyword\",\n \"LOCAL_SEO.LEGEND.SEARCHING\": \"We're still searching for results for this keyword\",\n \"LOCAL_SEO.SMART_SUGGESTIONS\": \"Smart Suggestions\",\n \"LOCAL_SEO.NO_KEYWORDS_AVAILABLE\": \"Keyword suggestions are unavailable. Please make sure a valid website and Location is set in your business profile.\",\n \"LISTING_SYNC.YOUR_BUSINESS_PROFILE\": \"Your Business Profile\",\n \"SHARED.DISCONNECT_MODAL.TEXT\": \"Disconnecting {{ source }} will affect the performance and accuracy of products and reports associated with your business. This action cannot be undone, but you may reconnect your account at any time.\",\n \"SHARED.DISCONNECT_MODAL.TITLE\": \"Are you sure you want to disconnect {{ source }}?\",\n \"SHARED.UPGRADE_MODAL.IMPERSONATION_FORBIDDEN\": \"An impersonated user cannot upgrade.\",\n \"UPGRADE_DIALOG.FREQUENCY.DAILY\": \"/day\",\n \"UPGRADE_DIALOG.FREQUENCY.MONTHLY\": \"/month\",\n \"UPGRADE_DIALOG.FREQUENCY.ONCE\": \"One time\",\n \"UPGRADE_DIALOG.FREQUENCY.OTHER\": \"Other\",\n \"UPGRADE_DIALOG.FREQUENCY.WEEKLY\": \"/week\",\n \"UPGRADE_DIALOG.FREQUENCY.YEARLY\": \"/year\",\n \"UPGRADE_DIALOG.PRICE.CONTACT_SALES\": \"Contact sales\",\n \"UPGRADE_DIALOG.PRICE.FREE\": \"Free\",\n \"UPGRADE_DIALOG.UPGRADE_TEXT.STARTING_AT\": \"Upgrades starting at\",\n \"UPGRADE_DIALOG.UPGRADE_TEXT.UPGRADE_NOW\": \"Upgrade now for only\",\n \"LOCAL_SEO.LOCAL_SEO.KEYWORD.SLIDE_IN\": \"Data not avilable for this location\",\n \"COMMON.RECONNECT_ACCOUNT\": \"Reconnect\"\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { MatCardModule } from '@angular/material/card';\nimport { MatIconModule } from '@angular/material/icon';\nimport { UIKitModule } from '@vendasta/uikit';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatPaginatorModule } from '@angular/material/paginator';\nimport { MatSortModule } from '@angular/material/sort';\nimport { MatDividerModule } from '@angular/material/divider';\nimport { GalaxyEmptyStateModule } from '@vendasta/galaxy/empty-state';\nimport { MatListModule } from '@angular/material/list';\nimport { GalaxyLoadingSpinnerModule } from '@vendasta/galaxy/loading-spinner';\nimport { LocalSEOTableComponent } from './local-seo-table.component';\nimport { DeltaComponent } from '../delta/delta.component';\nimport { LexiconModule } from '@galaxy/lexicon';\nimport en from '../assets/i18n/en_devel.json';\nimport { MatButtonToggleModule } from '@angular/material/button-toggle';\nimport { MatButtonModule } from '@angular/material/button';\nimport { LocalSEOGridComponent } from './local-seo-grid/local-seo-grid.component';\nimport { LocalSEOGraphComponent } from './local-seo-graph/local-seo-graph.component';\nimport { NgxChartsModule } from '@swimlane/ngx-charts';\nimport { GoogleMapsModule } from '@angular/google-maps';\nimport { GalaxyBadgeModule } from '@vendasta/galaxy/badge';\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\n@NgModule({\n declarations: [LocalSEOTableComponent, LocalSEOGridComponent, LocalSEOGraphComponent],\n imports: [\n CommonModule,\n TranslateModule,\n MatCardModule,\n MatIconModule,\n UIKitModule,\n MatTableModule,\n MatPaginatorModule,\n MatSortModule,\n MatDividerModule,\n GalaxyEmptyStateModule,\n MatListModule,\n GalaxyLoadingSpinnerModule,\n DeltaComponent,\n LexiconModule.forChild({\n componentName: 'common/local-seo',\n baseTranslation: en,\n }),\n DeltaComponent,\n MatButtonToggleModule,\n DeltaComponent,\n MatButtonModule,\n NgxChartsModule,\n GoogleMapsModule,\n GalaxyBadgeModule,\n MatSlideToggleModule,\n ],\n exports: [LocalSEOTableComponent],\n})\nexport class LocalSEOTableModule {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { GalaxyDatepickerModule } from '@vendasta/galaxy/datepicker';\nimport { MatCardModule } from '@angular/material/card';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatSelectModule } from '@angular/material/select';\nimport { NgxChartsModule } from '@swimlane/ngx-charts';\nimport { MatTabsModule } from '@angular/material/tabs';\nimport { GoogleMapsModule } from '@angular/google-maps';\nimport { UIKitModule } from '@vendasta/uikit';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatPaginatorModule } from '@angular/material/paginator';\nimport { MatSortModule } from '@angular/material/sort';\nimport { MatDividerModule } from '@angular/material/divider';\nimport { GalaxyEmptyStateModule } from '@vendasta/galaxy/empty-state';\nimport { LocalSeoKeywordDialogComponent } from '../local-seo-keyword-dialog/local-seo-keyword-dialog.component';\nimport { MileToKilometerPipe } from '../local-seo-settings-dialog/local-seo-settings-dialog.component';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatButtonToggleModule } from '@angular/material/button-toggle';\nimport { MatDialogModule } from '@angular/material/dialog';\nimport { MatListModule } from '@angular/material/list';\nimport { VaFormsModule } from '@vendasta/forms';\nimport { GalaxyLoadingSpinnerModule } from '@vendasta/galaxy/loading-spinner';\nimport { DeltaComponent } from '../../delta/delta.component';\nimport { GalaxyFormFieldModule } from '@vendasta/galaxy/form-field';\nimport { ChartModule } from '@bit/vendasta.planets.chart';\nimport { GalaxyAlertModule } from '@vendasta/galaxy/alert';\nimport { MatRadioModule } from '@angular/material/radio';\nimport { GalaxyBadgeModule } from '@vendasta/galaxy/badge';\nimport { LocalSeoKeywordsStatsCardsModule } from '../../keyword-stats-cards/local-seo-keywords-stats-cards.module';\nimport { LocalSEOTableModule } from '../../local-seo-table/local-seo-table.module';\nimport { LocalSeoSettingsDialogComponent } from '../local-seo-settings-dialog/local-seo-settings-dialog.component';\nimport { InfoBannerComponent } from '../../info-banner/info-banner.component';\nimport { GalaxyPageModule } from '@vendasta/galaxy/page';\nimport { KeywordTrackingComponent } from './keyword-tracking.component';\nimport { LocalSeoPageTitleActionComponent } from '../local-seo-page-title-action/local-seo-page-title-action.component';\nimport { LexiconModule } from '@galaxy/lexicon';\nimport en from '../../assets/i18n/en_devel.json';\nimport { GalaxyCheckboxModule } from '@vendasta/galaxy/checkbox';\nimport { FormsModule } from '@angular/forms';\n\n@NgModule({\n declarations: [\n LocalSeoKeywordDialogComponent,\n MileToKilometerPipe,\n LocalSeoSettingsDialogComponent,\n InfoBannerComponent,\n KeywordTrackingComponent,\n LocalSeoPageTitleActionComponent,\n ],\n imports: [\n CommonModule,\n TranslateModule,\n GalaxyDatepickerModule,\n MatCardModule,\n MatIconModule,\n MatTabsModule,\n GoogleMapsModule,\n UIKitModule,\n MatTableModule,\n MatPaginatorModule,\n MatSortModule,\n MatDividerModule,\n GalaxyEmptyStateModule,\n MatButtonModule,\n MatDialogModule,\n MatListModule,\n VaFormsModule,\n GalaxyLoadingSpinnerModule,\n DeltaComponent,\n MatButtonToggleModule,\n NgxChartsModule,\n GalaxyFormFieldModule,\n MatSelectModule,\n ChartModule,\n GalaxyAlertModule,\n MatRadioModule,\n GalaxyBadgeModule,\n LocalSEOTableModule,\n LocalSeoKeywordsStatsCardsModule,\n GalaxyPageModule,\n LexiconModule.forChild({\n componentName: 'common/local-seo',\n baseTranslation: en,\n }),\n GalaxyCheckboxModule,\n FormsModule,\n ],\n exports: [KeywordTrackingComponent, LocalSeoPageTitleActionComponent],\n})\nexport class KeywordTrackingModule {}\n","import { Directive, ElementRef, EventEmitter, Inject, Input, Output, PLATFORM_ID, NgZone } from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\nimport * as i0 from \"@angular/core\";\nvar ClickOutsideDirective = function () {\n function ClickOutsideDirective(_el, _ngZone, platformId) {\n this._el = _el;\n this._ngZone = _ngZone;\n this.platformId = platformId;\n this.clickOutsideEnabled = true;\n this.attachOutsideOnClick = false;\n this.delayClickOutsideInit = false;\n this.emitOnBlur = false;\n this.exclude = '';\n this.excludeBeforeClick = false;\n this.clickOutsideEvents = '';\n this.clickOutside = new EventEmitter();\n this._nodesExcluded = [];\n this._events = ['click'];\n this._initOnClickBody = this._initOnClickBody.bind(this);\n this._onClickBody = this._onClickBody.bind(this);\n this._onWindowBlur = this._onWindowBlur.bind(this);\n }\n ClickOutsideDirective.prototype.ngOnInit = function () {\n if (!isPlatformBrowser(this.platformId)) {\n return;\n }\n this._init();\n };\n ClickOutsideDirective.prototype.ngOnDestroy = function () {\n if (!isPlatformBrowser(this.platformId)) {\n return;\n }\n this._removeClickOutsideListener();\n this._removeAttachOutsideOnClickListener();\n this._removeWindowBlurListener();\n };\n ClickOutsideDirective.prototype.ngOnChanges = function (changes) {\n if (!isPlatformBrowser(this.platformId)) {\n return;\n }\n if (changes['attachOutsideOnClick'] || changes['exclude'] || changes['emitOnBlur']) {\n this._init();\n }\n };\n ClickOutsideDirective.prototype._init = function () {\n if (this.clickOutsideEvents !== '') {\n this._events = this.clickOutsideEvents.split(',').map(function (e) {\n return e.trim();\n });\n }\n this._excludeCheck();\n if (this.attachOutsideOnClick) {\n this._initAttachOutsideOnClickListener();\n } else {\n this._initOnClickBody();\n }\n if (this.emitOnBlur) {\n this._initWindowBlurListener();\n }\n };\n ClickOutsideDirective.prototype._initOnClickBody = function () {\n if (this.delayClickOutsideInit) {\n setTimeout(this._initClickOutsideListener.bind(this));\n } else {\n this._initClickOutsideListener();\n }\n };\n ClickOutsideDirective.prototype._excludeCheck = function () {\n if (this.exclude) {\n try {\n var nodes = Array.from(document.querySelectorAll(this.exclude));\n if (nodes) {\n this._nodesExcluded = nodes;\n }\n } catch (err) {\n console.error('[ng-click-outside] Check your exclude selector syntax.', err);\n }\n }\n };\n ClickOutsideDirective.prototype._onClickBody = function (ev) {\n if (!this.clickOutsideEnabled) {\n return;\n }\n if (this.excludeBeforeClick) {\n this._excludeCheck();\n }\n if (!this._el.nativeElement.contains(ev.target) && !this._shouldExclude(ev.target)) {\n this._emit(ev);\n if (this.attachOutsideOnClick) {\n this._removeClickOutsideListener();\n }\n }\n };\n ClickOutsideDirective.prototype._onWindowBlur = function (ev) {\n var _this = this;\n setTimeout(function () {\n if (!document.hidden) {\n _this._emit(ev);\n }\n });\n };\n ClickOutsideDirective.prototype._emit = function (ev) {\n var _this = this;\n if (!this.clickOutsideEnabled) {\n return;\n }\n this._ngZone.run(function () {\n return _this.clickOutside.emit(ev);\n });\n };\n ClickOutsideDirective.prototype._shouldExclude = function (target) {\n for (var _i = 0, _a = this._nodesExcluded; _i < _a.length; _i++) {\n var excludedNode = _a[_i];\n if (excludedNode.contains(target)) {\n return true;\n }\n }\n return false;\n };\n ClickOutsideDirective.prototype._initClickOutsideListener = function () {\n var _this = this;\n this._ngZone.runOutsideAngular(function () {\n _this._events.forEach(function (e) {\n return document.addEventListener(e, _this._onClickBody);\n });\n });\n };\n ClickOutsideDirective.prototype._removeClickOutsideListener = function () {\n var _this = this;\n this._ngZone.runOutsideAngular(function () {\n _this._events.forEach(function (e) {\n return document.removeEventListener(e, _this._onClickBody);\n });\n });\n };\n ClickOutsideDirective.prototype._initAttachOutsideOnClickListener = function () {\n var _this = this;\n this._ngZone.runOutsideAngular(function () {\n _this._events.forEach(function (e) {\n return _this._el.nativeElement.addEventListener(e, _this._initOnClickBody);\n });\n });\n };\n ClickOutsideDirective.prototype._removeAttachOutsideOnClickListener = function () {\n var _this = this;\n this._ngZone.runOutsideAngular(function () {\n _this._events.forEach(function (e) {\n return _this._el.nativeElement.removeEventListener(e, _this._initOnClickBody);\n });\n });\n };\n ClickOutsideDirective.prototype._initWindowBlurListener = function () {\n var _this = this;\n this._ngZone.runOutsideAngular(function () {\n window.addEventListener('blur', _this._onWindowBlur);\n });\n };\n ClickOutsideDirective.prototype._removeWindowBlurListener = function () {\n var _this = this;\n this._ngZone.runOutsideAngular(function () {\n window.removeEventListener('blur', _this._onWindowBlur);\n });\n };\n ClickOutsideDirective.ɵfac = function ClickOutsideDirective_Factory(t) {\n return new (t || ClickOutsideDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(PLATFORM_ID));\n };\n ClickOutsideDirective.ɵdir = i0.ɵɵdefineDirective({\n type: ClickOutsideDirective,\n selectors: [[\"\", \"clickOutside\", \"\"]],\n inputs: {\n clickOutsideEnabled: \"clickOutsideEnabled\",\n attachOutsideOnClick: \"attachOutsideOnClick\",\n delayClickOutsideInit: \"delayClickOutsideInit\",\n emitOnBlur: \"emitOnBlur\",\n exclude: \"exclude\",\n excludeBeforeClick: \"excludeBeforeClick\",\n clickOutsideEvents: \"clickOutsideEvents\"\n },\n outputs: {\n clickOutside: \"clickOutside\"\n },\n features: [i0.ɵɵNgOnChangesFeature]\n });\n return ClickOutsideDirective;\n}();\nexport { ClickOutsideDirective };\n(function () {\n void 0;\n})();","import { NgModule } from '@angular/core';\nimport { ClickOutsideDirective } from './click-outside.directive';\nimport * as i0 from \"@angular/core\";\nvar ClickOutsideModule = function () {\n function ClickOutsideModule() {}\n ClickOutsideModule.ɵmod = i0.ɵɵdefineNgModule({\n type: ClickOutsideModule\n });\n ClickOutsideModule.ɵinj = i0.ɵɵdefineInjector({\n factory: function ClickOutsideModule_Factory(t) {\n return new (t || ClickOutsideModule)();\n }\n });\n return ClickOutsideModule;\n}();\nexport { ClickOutsideModule };\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(ClickOutsideModule, {\n declarations: [ClickOutsideDirective],\n exports: [ClickOutsideDirective]\n });\n})();\n(function () {\n void 0;\n})();","export { ClickOutsideDirective } from './click-outside.directive';\nexport { ClickOutsideModule } from './click-outside.module';","import { Injectable, Inject } from '@angular/core';\nimport { SSOService, newPartnerServiceContext } from '@vendasta/sso';\nimport { switchMap, map, shareReplay } from 'rxjs/operators';\nimport { Observable, combineLatest } from 'rxjs';\nimport { WhitelabelService } from '@galaxy/partner';\n\nexport interface VBCEntryInfo {\n url: string;\n name: string;\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class BusinessCenterService {\n private entryUrl$: Observable;\n private vbcName$: Observable = this.partnerId$.pipe(\n switchMap((partnerId) => this.whitelabelService.getBranding(partnerId)),\n map((branding) => branding.apps['VBC'].name),\n shareReplay(1),\n );\n\n constructor(\n private ssoService: SSOService,\n @Inject('PARTNER_ID') private readonly partnerId$: Observable,\n private whitelabelService: WhitelabelService,\n ) {\n // Whitelabelled entry URL\n this.entryUrl$ = this.partnerId$.pipe(\n switchMap((partnerId) => {\n return this.ssoService.getEntryUrl('VBC', newPartnerServiceContext(partnerId));\n }),\n shareReplay(1),\n );\n }\n\n getVBCEntryUrl(accountGroupId?: string, page = 'dashboard'): Observable {\n if (accountGroupId) {\n // Entry URL with nextUrl to go to location's dashboard\n return combineLatest([this.entryUrl$, this.vbcName$]).pipe(\n map(([entryUrl, vbcName]) => {\n return {\n url: addNextUrl(entryUrl, `/account/location/${accountGroupId}/${page}`),\n name: vbcName,\n };\n }),\n );\n }\n // if no account group chosen, just redirect to /entry, and let business app\n // handle looking up default account group\n return combineLatest([this.entryUrl$, this.vbcName$]).pipe(\n map(([entryUrl, vbcName]) => {\n return {\n url: entryUrl,\n name: vbcName,\n };\n }),\n );\n }\n}\n\nexport function addNextUrl(entryUrl: string, nextUrl: string): string {\n if (!('URL' in window)) {\n return entryUrl + `?nextUrl=${encodeURIComponent(nextUrl)}`;\n }\n const urlObj = new URL(entryUrl);\n const params = new URLSearchParams(urlObj.search);\n params.append('nextUrl', nextUrl);\n urlObj.search = params.toString();\n return urlObj.toString();\n}\n","import { Injectable, inject } from '@angular/core';\nimport { Observable, of } from 'rxjs';\nimport { catchError, map } from 'rxjs/operators';\nimport { ConnectionsService } from '@vendasta/business-center';\nimport {\n GetFacebookAppCheckerResponseInterface,\n GetTwitterAppCheckerResponseInterface,\n} from '@vendasta/business-center/lib/_internal';\n\n@Injectable()\nexport class RepcoreApiService {\n private connectionsService = inject(ConnectionsService);\n\n getTwitterCustomAppConnections(accountGroupId: string): Observable {\n return this.connectionsService.getTwitterAppChecker(accountGroupId).pipe(\n map((res) => res),\n catchError(() => of({ reconnectGroup: [], totalConnections: 0 })),\n );\n }\n\n getFacebookAppConnections(accountGroupId: string): Observable {\n return this.connectionsService.getFacebookAppChecker(accountGroupId).pipe(\n map((res) => res),\n catchError(() =>\n of({\n reconnectNeeded: false,\n reconnectGroup: [],\n totalConnections: 0,\n }),\n ),\n );\n }\n}\n","import * as i0 from '@angular/core';\nimport { Injectable, inject } from '@angular/core';\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { map, catchError } from 'rxjs/operators';\nimport { of } from 'rxjs';\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar AccuracyStatus = /*#__PURE__*/function (AccuracyStatus) {\n AccuracyStatus[AccuracyStatus[\"ACCURACY_STATUS_UNKNOWN\"] = 0] = \"ACCURACY_STATUS_UNKNOWN\";\n AccuracyStatus[AccuracyStatus[\"ACCURACY_STATUS_ACCURATE\"] = 1] = \"ACCURACY_STATUS_ACCURATE\";\n AccuracyStatus[AccuracyStatus[\"ACCURACY_STATUS_INACCURATE\"] = 2] = \"ACCURACY_STATUS_INACCURATE\";\n AccuracyStatus[AccuracyStatus[\"ACCURACY_STATUS_NOT_AVAILABLE\"] = 3] = \"ACCURACY_STATUS_NOT_AVAILABLE\";\n AccuracyStatus[AccuracyStatus[\"ACCURACY_STATUS_NOT_FOUND\"] = 4] = \"ACCURACY_STATUS_NOT_FOUND\";\n return AccuracyStatus;\n}(AccuracyStatus || {});\nvar ListListingSyncProAddonIdsResponseAddonInfoBillingFrequency = /*#__PURE__*/function (ListListingSyncProAddonIdsResponseAddonInfoBillingFrequency) {\n ListListingSyncProAddonIdsResponseAddonInfoBillingFrequency[ListListingSyncProAddonIdsResponseAddonInfoBillingFrequency[\"LIST_LISTING_SYNC_PRO_ADDON_IDS_RESPONSE_ADDON_INFO_BILLING_FREQUENCY_UNSPECIFIED\"] = 0] = \"LIST_LISTING_SYNC_PRO_ADDON_IDS_RESPONSE_ADDON_INFO_BILLING_FREQUENCY_UNSPECIFIED\";\n ListListingSyncProAddonIdsResponseAddonInfoBillingFrequency[ListListingSyncProAddonIdsResponseAddonInfoBillingFrequency[\"LIST_LISTING_SYNC_PRO_ADDON_IDS_RESPONSE_ADDON_INFO_BILLING_FREQUENCY_MONTHLY\"] = 1] = \"LIST_LISTING_SYNC_PRO_ADDON_IDS_RESPONSE_ADDON_INFO_BILLING_FREQUENCY_MONTHLY\";\n ListListingSyncProAddonIdsResponseAddonInfoBillingFrequency[ListListingSyncProAddonIdsResponseAddonInfoBillingFrequency[\"LIST_LISTING_SYNC_PRO_ADDON_IDS_RESPONSE_ADDON_INFO_BILLING_FREQUENCY_YEARLY\"] = 2] = \"LIST_LISTING_SYNC_PRO_ADDON_IDS_RESPONSE_ADDON_INFO_BILLING_FREQUENCY_YEARLY\";\n return ListListingSyncProAddonIdsResponseAddonInfoBillingFrequency;\n}(ListListingSyncProAddonIdsResponseAddonInfoBillingFrequency || {});\nvar BillingFrequency = /*#__PURE__*/function (BillingFrequency) {\n BillingFrequency[BillingFrequency[\"BILLING_FREQUENCY_UNSPECIFIED\"] = 0] = \"BILLING_FREQUENCY_UNSPECIFIED\";\n BillingFrequency[BillingFrequency[\"BILLING_FREQUENCY_MONTHLY\"] = 1] = \"BILLING_FREQUENCY_MONTHLY\";\n BillingFrequency[BillingFrequency[\"BILLING_FREQUENCY_YEARLY\"] = 2] = \"BILLING_FREQUENCY_YEARLY\";\n return BillingFrequency;\n}(BillingFrequency || {});\nvar ErrorCode = /*#__PURE__*/function (ErrorCode) {\n ErrorCode[ErrorCode[\"ERROR_CODE_NAME\"] = 0] = \"ERROR_CODE_NAME\";\n ErrorCode[ErrorCode[\"ERROR_CODE_STREET_ADDRESS\"] = 1] = \"ERROR_CODE_STREET_ADDRESS\";\n ErrorCode[ErrorCode[\"ERROR_CODE_ZIP_CODE\"] = 2] = \"ERROR_CODE_ZIP_CODE\";\n ErrorCode[ErrorCode[\"ERROR_CODE_PHONE_NUMBER\"] = 3] = \"ERROR_CODE_PHONE_NUMBER\";\n ErrorCode[ErrorCode[\"ERROR_CODE_WHOLE_ADDRESS\"] = 4] = \"ERROR_CODE_WHOLE_ADDRESS\";\n ErrorCode[ErrorCode[\"ERROR_CODE_HOURS_OF_OPERATION\"] = 5] = \"ERROR_CODE_HOURS_OF_OPERATION\";\n ErrorCode[ErrorCode[\"ERROR_CODE_CATEGORIES\"] = 6] = \"ERROR_CODE_CATEGORIES\";\n ErrorCode[ErrorCode[\"ERROR_CODE_DESCRIPTION_LONG\"] = 7] = \"ERROR_CODE_DESCRIPTION_LONG\";\n ErrorCode[ErrorCode[\"ERROR_CODE_DESCRIPTION_SHORT\"] = 8] = \"ERROR_CODE_DESCRIPTION_SHORT\";\n ErrorCode[ErrorCode[\"ERROR_CODE_EMAIL\"] = 9] = \"ERROR_CODE_EMAIL\";\n ErrorCode[ErrorCode[\"ERROR_CODE_PAYMENT_OPTIONS\"] = 10] = \"ERROR_CODE_PAYMENT_OPTIONS\";\n ErrorCode[ErrorCode[\"ERROR_CODE_PHOTOS\"] = 11] = \"ERROR_CODE_PHOTOS\";\n ErrorCode[ErrorCode[\"ERROR_CODE_SOCIAL_PROFILES\"] = 12] = \"ERROR_CODE_SOCIAL_PROFILES\";\n ErrorCode[ErrorCode[\"ERROR_CODE_WEBSITE\"] = 13] = \"ERROR_CODE_WEBSITE\";\n ErrorCode[ErrorCode[\"ERROR_CODE_NOT_FOUND\"] = 14] = \"ERROR_CODE_NOT_FOUND\";\n ErrorCode[ErrorCode[\"ERROR_CODE_NOT_IN_SYNC\"] = 15] = \"ERROR_CODE_NOT_IN_SYNC\";\n ErrorCode[ErrorCode[\"ERROR_CODE_DOES_NOT_SUPPORT_SERVICE_AREA_BUSINESS\"] = 16] = \"ERROR_CODE_DOES_NOT_SUPPORT_SERVICE_AREA_BUSINESS\";\n ErrorCode[ErrorCode[\"ERROR_CODE_CLAIMED_BY_OTHERS\"] = 17] = \"ERROR_CODE_CLAIMED_BY_OTHERS\";\n ErrorCode[ErrorCode[\"ERROR_CODE_NOT_CLAIMABLE\"] = 18] = \"ERROR_CODE_NOT_CLAIMABLE\";\n ErrorCode[ErrorCode[\"ERROR_CODE_NO_ONLINE_LISTING\"] = 19] = \"ERROR_CODE_NO_ONLINE_LISTING\";\n ErrorCode[ErrorCode[\"ERROR_CODE_UNHANDLED_ERROR\"] = 20] = \"ERROR_CODE_UNHANDLED_ERROR\";\n ErrorCode[ErrorCode[\"ERROR_CODE_EXISTING_RELATIONSHIP\"] = 21] = \"ERROR_CODE_EXISTING_RELATIONSHIP\";\n ErrorCode[ErrorCode[\"ERROR_CODE_CONTACT_SOURCE\"] = 22] = \"ERROR_CODE_CONTACT_SOURCE\";\n ErrorCode[ErrorCode[\"ERROR_CODE_CHAIN_LOCATION\"] = 23] = \"ERROR_CODE_CHAIN_LOCATION\";\n ErrorCode[ErrorCode[\"ERROR_CODE_UNAVAILABLE_REASON\"] = 24] = \"ERROR_CODE_UNAVAILABLE_REASON\";\n ErrorCode[ErrorCode[\"ERROR_CODE_SCRAPED_DATA_URL_MISMATCH\"] = 25] = \"ERROR_CODE_SCRAPED_DATA_URL_MISMATCH\";\n ErrorCode[ErrorCode[\"ERROR_CODE_CITY\"] = 26] = \"ERROR_CODE_CITY\";\n ErrorCode[ErrorCode[\"ERROR_CODE_SERVICES\"] = 27] = \"ERROR_CODE_SERVICES\";\n return ErrorCode;\n}(ErrorCode || {});\nvar ServiceProvider = /*#__PURE__*/function (ServiceProvider) {\n ServiceProvider[ServiceProvider[\"SERVICE_PROVIDER_UNSPECIFIED\"] = 0] = \"SERVICE_PROVIDER_UNSPECIFIED\";\n ServiceProvider[ServiceProvider[\"SERVICE_PROVIDER_PROVIDER_0\"] = 1] = \"SERVICE_PROVIDER_PROVIDER_0\";\n ServiceProvider[ServiceProvider[\"SERVICE_PROVIDER_PROVIDER_1\"] = 2] = \"SERVICE_PROVIDER_PROVIDER_1\";\n return ServiceProvider;\n}(ServiceProvider || {});\nvar SiteType = /*#__PURE__*/function (SiteType) {\n SiteType[SiteType[\"SITE_TYPE_UNSPECIFIED\"] = 0] = \"SITE_TYPE_UNSPECIFIED\";\n SiteType[SiteType[\"SITE_TYPE_MAP\"] = 1] = \"SITE_TYPE_MAP\";\n SiteType[SiteType[\"SITE_TYPE_SOCIAL\"] = 2] = \"SITE_TYPE_SOCIAL\";\n SiteType[SiteType[\"SITE_TYPE_AGGREGATOR\"] = 3] = \"SITE_TYPE_AGGREGATOR\";\n SiteType[SiteType[\"SITE_TYPE_HISPANIC_SITE\"] = 4] = \"SITE_TYPE_HISPANIC_SITE\";\n SiteType[SiteType[\"SITE_TYPE_APP\"] = 5] = \"SITE_TYPE_APP\";\n SiteType[SiteType[\"SITE_TYPE_GPS\"] = 6] = \"SITE_TYPE_GPS\";\n SiteType[SiteType[\"SITE_TYPE_DIRECTORY\"] = 7] = \"SITE_TYPE_DIRECTORY\";\n return SiteType;\n}(SiteType || {});\nvar StatusCode = /*#__PURE__*/function (StatusCode) {\n StatusCode[StatusCode[\"STATUS_CODE_UNKNOWN\"] = 0] = \"STATUS_CODE_UNKNOWN\";\n StatusCode[StatusCode[\"STATUS_CODE_SYNCED\"] = 1] = \"STATUS_CODE_SYNCED\";\n StatusCode[StatusCode[\"STATUS_CODE_IN_PROGRESS\"] = 2] = \"STATUS_CODE_IN_PROGRESS\";\n StatusCode[StatusCode[\"STATUS_CODE_IGNORING_ERRORS\"] = 3] = \"STATUS_CODE_IGNORING_ERRORS\";\n StatusCode[StatusCode[\"STATUS_CODE_SYNCING_WITH_WARNINGS\"] = 4] = \"STATUS_CODE_SYNCING_WITH_WARNINGS\";\n StatusCode[StatusCode[\"STATUS_CODE_HAS_ERRORS\"] = 5] = \"STATUS_CODE_HAS_ERRORS\";\n StatusCode[StatusCode[\"STATUS_CODE_SYNC_DISABLED\"] = 6] = \"STATUS_CODE_SYNC_DISABLED\";\n StatusCode[StatusCode[\"STATUS_CODE_CLAIMED_BY_OTHERS\"] = 7] = \"STATUS_CODE_CLAIMED_BY_OTHERS\";\n StatusCode[StatusCode[\"STATUS_CODE_DOES_NOT_SUPPORT_SERVICE_AREA_BUSINESS\"] = 8] = \"STATUS_CODE_DOES_NOT_SUPPORT_SERVICE_AREA_BUSINESS\";\n StatusCode[StatusCode[\"STATUS_CODE_SUBMITTED\"] = 9] = \"STATUS_CODE_SUBMITTED\";\n StatusCode[StatusCode[\"STATUS_CODE_MANUAL_UPDATE_ONLY\"] = 10] = \"STATUS_CODE_MANUAL_UPDATE_ONLY\";\n StatusCode[StatusCode[\"STATUS_CODE_NOT_FOUND\"] = 11] = \"STATUS_CODE_NOT_FOUND\";\n return StatusCode;\n}(StatusCode || {});\nvar SyncingStatus = /*#__PURE__*/function (SyncingStatus) {\n SyncingStatus[SyncingStatus[\"SYNCING_STATUS_UNSPECIFIED\"] = 0] = \"SYNCING_STATUS_UNSPECIFIED\";\n SyncingStatus[SyncingStatus[\"SYNCING_STATUS_SYNCING\"] = 1] = \"SYNCING_STATUS_SYNCING\";\n SyncingStatus[SyncingStatus[\"SYNCING_STATUS_COMPLETELY_SYNCED\"] = 2] = \"SYNCING_STATUS_COMPLETELY_SYNCED\";\n return SyncingStatus;\n}(SyncingStatus || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums Index.\n// *********************************\n\nfunction enumStringToValue$1(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Access {\n static fromProto(proto) {\n let m = new Access();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.scope !== 'undefined') {\n toReturn['scope'] = this.scope;\n }\n if (typeof this.public !== 'undefined') {\n toReturn['public'] = this.public;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AccountFilters {\n static fromProto(proto) {\n let m = new AccountFilters();\n m = Object.assign(m, proto);\n if (proto.serviceProvider) {\n m.serviceProvider = enumStringToValue(ServiceProvider, proto.serviceProvider);\n }\n if (proto.errorCodes) {\n m.errorCodes = proto.errorCodes.map(v => enumStringToValue(ErrorCode, v));\n }\n if (proto.syncingStatus) {\n m.syncingStatus = enumStringToValue(SyncingStatus, proto.syncingStatus);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n if (typeof this.serviceProvider !== 'undefined') {\n toReturn['serviceProvider'] = this.serviceProvider;\n }\n if (typeof this.errorCodes !== 'undefined') {\n toReturn['errorCodes'] = this.errorCodes;\n }\n if (typeof this.syncingStatus !== 'undefined') {\n toReturn['syncingStatus'] = this.syncingStatus;\n }\n return toReturn;\n }\n}\nclass AccountListingStatuses {\n static fromProto(proto) {\n let m = new AccountListingStatuses();\n m = Object.assign(m, proto);\n if (proto.sourceStatuses) {\n m.sourceStatuses = proto.sourceStatuses.map(SourceStatus.fromProto);\n }\n if (proto.statusDate) {\n m.statusDate = new Date(proto.statusDate);\n }\n if (proto.businessUpdated) {\n m.businessUpdated = new Date(proto.businessUpdated);\n }\n if (proto.sourceData) {\n m.sourceData = SourceData.fromProto(proto.sourceData);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessName !== 'undefined') {\n toReturn['businessName'] = this.businessName;\n }\n if (typeof this.address !== 'undefined') {\n toReturn['address'] = this.address;\n }\n if (typeof this.city !== 'undefined') {\n toReturn['city'] = this.city;\n }\n if (typeof this.state !== 'undefined') {\n toReturn['state'] = this.state;\n }\n if (typeof this.sourceStatuses !== 'undefined' && this.sourceStatuses !== null) {\n toReturn['sourceStatuses'] = 'toApiJson' in this.sourceStatuses ? this.sourceStatuses.toApiJson() : this.sourceStatuses;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.statusDate !== 'undefined' && this.statusDate !== null) {\n toReturn['statusDate'] = 'toApiJson' in this.statusDate ? this.statusDate.toApiJson() : this.statusDate;\n }\n if (typeof this.businessUpdated !== 'undefined' && this.businessUpdated !== null) {\n toReturn['businessUpdated'] = 'toApiJson' in this.businessUpdated ? this.businessUpdated.toApiJson() : this.businessUpdated;\n }\n if (typeof this.sourceData !== 'undefined' && this.sourceData !== null) {\n toReturn['sourceData'] = 'toApiJson' in this.sourceData ? this.sourceData.toApiJson() : this.sourceData;\n }\n return toReturn;\n }\n}\nclass ActivateListingSyncProRequest {\n static fromProto(proto) {\n let m = new ActivateListingSyncProRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n return toReturn;\n }\n}\nclass ListListingSyncProAddonIdsResponseAddonInfo {\n static fromProto(proto) {\n let m = new ListListingSyncProAddonIdsResponseAddonInfo();\n m = Object.assign(m, proto);\n if (proto.provider) {\n m.provider = enumStringToValue(ServiceProvider, proto.provider);\n }\n if (proto.billingFrequency) {\n m.billingFrequency = enumStringToValue(ListListingSyncProAddonIdsResponseAddonInfoBillingFrequency, proto.billingFrequency);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.provider !== 'undefined') {\n toReturn['provider'] = this.provider;\n }\n if (typeof this.isDiscounted !== 'undefined') {\n toReturn['isDiscounted'] = this.isDiscounted;\n }\n if (typeof this.countryCode !== 'undefined') {\n toReturn['countryCode'] = this.countryCode;\n }\n if (typeof this.billingFrequency !== 'undefined') {\n toReturn['billingFrequency'] = this.billingFrequency;\n }\n return toReturn;\n }\n}\nclass ListListingSyncProAddonIdsResponseAddonInfoEntry {\n static fromProto(proto) {\n let m = new ListListingSyncProAddonIdsResponseAddonInfoEntry();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = ListListingSyncProAddonIdsResponseAddonInfo.fromProto(proto.value);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined' && this.value !== null) {\n toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;\n }\n return toReturn;\n }\n}\nclass AnchorData {\n static fromProto(proto) {\n let m = new AnchorData();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.website !== 'undefined') {\n toReturn['website'] = this.website;\n }\n if (typeof this.city !== 'undefined') {\n toReturn['city'] = this.city;\n }\n if (typeof this.zip !== 'undefined') {\n toReturn['zip'] = this.zip;\n }\n if (typeof this.companyName !== 'undefined') {\n toReturn['companyName'] = this.companyName;\n }\n if (typeof this.country !== 'undefined') {\n toReturn['country'] = this.country;\n }\n if (typeof this.phone !== 'undefined') {\n toReturn['phone'] = this.phone;\n }\n if (typeof this.state !== 'undefined') {\n toReturn['state'] = this.state;\n }\n if (typeof this.address !== 'undefined') {\n toReturn['address'] = this.address;\n }\n return toReturn;\n }\n}\nclass AnchorDataMatches {\n static fromProto(proto) {\n let m = new AnchorDataMatches();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.website !== 'undefined') {\n toReturn['website'] = this.website;\n }\n if (typeof this.city !== 'undefined') {\n toReturn['city'] = this.city;\n }\n if (typeof this.zip !== 'undefined') {\n toReturn['zip'] = this.zip;\n }\n if (typeof this.companyName !== 'undefined') {\n toReturn['companyName'] = this.companyName;\n }\n if (typeof this.country !== 'undefined') {\n toReturn['country'] = this.country;\n }\n if (typeof this.phone !== 'undefined') {\n toReturn['phone'] = this.phone;\n }\n if (typeof this.state !== 'undefined') {\n toReturn['state'] = this.state;\n }\n if (typeof this.address !== 'undefined') {\n toReturn['address'] = this.address;\n }\n return toReturn;\n }\n}\nclass Citation {\n static fromProto(proto) {\n let m = new Citation();\n m = Object.assign(m, proto);\n if (proto.listings) {\n m.listings = proto.listings.map(CitationListing.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.domain !== 'undefined') {\n toReturn['domain'] = this.domain;\n }\n if (typeof this.listings !== 'undefined' && this.listings !== null) {\n toReturn['listings'] = 'toApiJson' in this.listings ? this.listings.toApiJson() : this.listings;\n }\n return toReturn;\n }\n}\nclass CitationListing {\n static fromProto(proto) {\n let m = new CitationListing();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n return toReturn;\n }\n}\nclass CollectStatsRequest {\n static fromProto(proto) {\n let m = new CollectStatsRequest();\n m = Object.assign(m, proto);\n if (proto.serviceProvider) {\n m.serviceProvider = enumStringToValue(ServiceProvider, proto.serviceProvider);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.serviceProvider !== 'undefined') {\n toReturn['serviceProvider'] = this.serviceProvider;\n }\n if (typeof this.serviceAreaBusiness !== 'undefined') {\n toReturn['serviceAreaBusiness'] = this.serviceAreaBusiness;\n }\n if (typeof this.refreshListings !== 'undefined') {\n toReturn['refreshListings'] = this.refreshListings;\n }\n if (typeof this.validateCsListingSubmissions !== 'undefined') {\n toReturn['validateCsListingSubmissions'] = this.validateCsListingSubmissions;\n }\n return toReturn;\n }\n}\nclass CreateListingSyncProProviderSourceDataRequest {\n static fromProto(proto) {\n let m = new CreateListingSyncProProviderSourceDataRequest();\n m = Object.assign(m, proto);\n if (proto.serviceProvider) {\n m.serviceProvider = enumStringToValue(ServiceProvider, proto.serviceProvider);\n }\n if (proto.sourceData) {\n m.sourceData = ListingSyncProProviderSourceData.fromProto(proto.sourceData);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.providerSpecificId !== 'undefined') {\n toReturn['providerSpecificId'] = this.providerSpecificId;\n }\n if (typeof this.serviceProvider !== 'undefined') {\n toReturn['serviceProvider'] = this.serviceProvider;\n }\n if (typeof this.sourceData !== 'undefined' && this.sourceData !== null) {\n toReturn['sourceData'] = 'toApiJson' in this.sourceData ? this.sourceData.toApiJson() : this.sourceData;\n }\n return toReturn;\n }\n}\nclass CreateListingSyncProSourceRequest {\n static fromProto(proto) {\n let m = new CreateListingSyncProSourceRequest();\n m = Object.assign(m, proto);\n if (proto.sourceInfo) {\n m.sourceInfo = SourceInfo.fromProto(proto.sourceInfo);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sourceInfo !== 'undefined' && this.sourceInfo !== null) {\n toReturn['sourceInfo'] = 'toApiJson' in this.sourceInfo ? this.sourceInfo.toApiJson() : this.sourceInfo;\n }\n return toReturn;\n }\n}\nclass CreateListingSyncProSourceResponse {\n static fromProto(proto) {\n let m = new CreateListingSyncProSourceResponse();\n m = Object.assign(m, proto);\n if (proto.sourceInfo) {\n m.sourceInfo = SourceInfo.fromProto(proto.sourceInfo);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sourceInfo !== 'undefined' && this.sourceInfo !== null) {\n toReturn['sourceInfo'] = 'toApiJson' in this.sourceInfo ? this.sourceInfo.toApiJson() : this.sourceInfo;\n }\n return toReturn;\n }\n}\nclass DeactivateListingSyncProRequest {\n static fromProto(proto) {\n let m = new DeactivateListingSyncProRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n return toReturn;\n }\n}\nclass DeleteListingSyncProProviderSourceRequest {\n static fromProto(proto) {\n let m = new DeleteListingSyncProProviderSourceRequest();\n m = Object.assign(m, proto);\n if (proto.serviceProvider) {\n m.serviceProvider = enumStringToValue(ServiceProvider, proto.serviceProvider);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.providerSpecificId !== 'undefined') {\n toReturn['providerSpecificId'] = this.providerSpecificId;\n }\n if (typeof this.serviceProvider !== 'undefined') {\n toReturn['serviceProvider'] = this.serviceProvider;\n }\n return toReturn;\n }\n}\nclass DeleteStatsRequest {\n static fromProto(proto) {\n let m = new DeleteStatsRequest();\n m = Object.assign(m, proto);\n if (proto.fromDate) {\n m.fromDate = new Date(proto.fromDate);\n }\n if (proto.toDate) {\n m.toDate = new Date(proto.toDate);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.fromDate !== 'undefined' && this.fromDate !== null) {\n toReturn['fromDate'] = 'toApiJson' in this.fromDate ? this.fromDate.toApiJson() : this.fromDate;\n }\n if (typeof this.toDate !== 'undefined' && this.toDate !== null) {\n toReturn['toDate'] = 'toApiJson' in this.toDate ? this.toDate.toApiJson() : this.toDate;\n }\n if (typeof this.sources !== 'undefined') {\n toReturn['sources'] = this.sources;\n }\n return toReturn;\n }\n}\nclass Errors {\n static fromProto(proto) {\n let m = new Errors();\n m = Object.assign(m, proto);\n if (proto.errorCode) {\n m.errorCode = enumStringToValue(ErrorCode, proto.errorCode);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.errorCode !== 'undefined') {\n toReturn['errorCode'] = this.errorCode;\n }\n if (typeof this.errorDetails !== 'undefined') {\n toReturn['errorDetails'] = this.errorDetails;\n }\n return toReturn;\n }\n}\nclass GetAvailableProvidersForPartnerRequest {\n static fromProto(proto) {\n let m = new GetAvailableProvidersForPartnerRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GetAvailableProvidersForPartnerResponse {\n static fromProto(proto) {\n let m = new GetAvailableProvidersForPartnerResponse();\n m = Object.assign(m, proto);\n if (proto.serviceProviders) {\n m.serviceProviders = proto.serviceProviders.map(v => enumStringToValue(ServiceProvider, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProviders !== 'undefined') {\n toReturn['serviceProviders'] = this.serviceProviders;\n }\n return toReturn;\n }\n}\nclass GetCitationDataRequest {\n static fromProto(proto) {\n let m = new GetCitationDataRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass GetCitationDataResponse {\n static fromProto(proto) {\n let m = new GetCitationDataResponse();\n m = Object.assign(m, proto);\n if (proto.citationCount) {\n m.citationCount = parseInt(proto.citationCount, 10);\n }\n if (proto.initialCitationCount) {\n m.initialCitationCount = parseInt(proto.initialCitationCount, 10);\n }\n if (proto.historicalCitationsSeries) {\n m.historicalCitationsSeries = proto.historicalCitationsSeries.map(HistoricalCitationsDataPoint.fromProto);\n }\n if (proto.citations) {\n m.citations = proto.citations.map(Citation.fromProto);\n }\n if (proto.startDate) {\n m.startDate = new Date(proto.startDate);\n }\n if (proto.citationPercentGrowth) {\n m.citationPercentGrowth = parseInt(proto.citationPercentGrowth, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.citationCount !== 'undefined') {\n toReturn['citationCount'] = this.citationCount;\n }\n if (typeof this.initialCitationCount !== 'undefined') {\n toReturn['initialCitationCount'] = this.initialCitationCount;\n }\n if (typeof this.historicalCitationsSeries !== 'undefined' && this.historicalCitationsSeries !== null) {\n toReturn['historicalCitationsSeries'] = 'toApiJson' in this.historicalCitationsSeries ? this.historicalCitationsSeries.toApiJson() : this.historicalCitationsSeries;\n }\n if (typeof this.citations !== 'undefined' && this.citations !== null) {\n toReturn['citations'] = 'toApiJson' in this.citations ? this.citations.toApiJson() : this.citations;\n }\n if (typeof this.startDate !== 'undefined' && this.startDate !== null) {\n toReturn['startDate'] = 'toApiJson' in this.startDate ? this.startDate.toApiJson() : this.startDate;\n }\n if (typeof this.citationPercentGrowth !== 'undefined') {\n toReturn['citationPercentGrowth'] = this.citationPercentGrowth;\n }\n return toReturn;\n }\n}\nclass GetListingDataForATimePeriodRequest {\n static fromProto(proto) {\n let m = new GetListingDataForATimePeriodRequest();\n m = Object.assign(m, proto);\n if (proto.begin) {\n m.begin = new Date(proto.begin);\n }\n if (proto.recent) {\n m.recent = new Date(proto.recent);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.begin !== 'undefined' && this.begin !== null) {\n toReturn['begin'] = 'toApiJson' in this.begin ? this.begin.toApiJson() : this.begin;\n }\n if (typeof this.recent !== 'undefined' && this.recent !== null) {\n toReturn['recent'] = 'toApiJson' in this.recent ? this.recent.toApiJson() : this.recent;\n }\n return toReturn;\n }\n}\nclass GetListingDataRequest {\n static fromProto(proto) {\n let m = new GetListingDataRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass GetListingDataResponse {\n static fromProto(proto) {\n let m = new GetListingDataResponse();\n m = Object.assign(m, proto);\n if (proto.provider) {\n m.provider = enumStringToValue(ServiceProvider, proto.provider);\n }\n if (proto.scores) {\n m.scores = ScoreData.fromProto(proto.scores);\n }\n if (proto.anchorData) {\n m.anchorData = AnchorData.fromProto(proto.anchorData);\n }\n if (proto.sources) {\n m.sources = proto.sources.map(SourceTableData.fromProto);\n }\n if (proto.totalSources) {\n m.totalSources = parseInt(proto.totalSources, 10);\n }\n if (proto.totalAcceptedSources) {\n m.totalAcceptedSources = parseInt(proto.totalAcceptedSources, 10);\n }\n if (proto.totalAccuracyGoodSources) {\n m.totalAccuracyGoodSources = parseInt(proto.totalAccuracyGoodSources, 10);\n }\n if (proto.totalManualSyncOnlySources) {\n m.totalManualSyncOnlySources = parseInt(proto.totalManualSyncOnlySources, 10);\n }\n if (proto.totalAccuracySources) {\n m.totalAccuracySources = parseInt(proto.totalAccuracySources, 10);\n }\n if (proto.totalPossibleErrors) {\n m.totalPossibleErrors = parseInt(proto.totalPossibleErrors, 10);\n }\n if (proto.totalNotFound) {\n m.totalNotFound = parseInt(proto.totalNotFound, 10);\n }\n if (proto.totalInProgressSources) {\n m.totalInProgressSources = parseInt(proto.totalInProgressSources, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.lspActive !== 'undefined') {\n toReturn['lspActive'] = this.lspActive;\n }\n if (typeof this.ldActive !== 'undefined') {\n toReturn['ldActive'] = this.ldActive;\n }\n if (typeof this.provider !== 'undefined') {\n toReturn['provider'] = this.provider;\n }\n if (typeof this.scores !== 'undefined' && this.scores !== null) {\n toReturn['scores'] = 'toApiJson' in this.scores ? this.scores.toApiJson() : this.scores;\n }\n if (typeof this.anchorData !== 'undefined' && this.anchorData !== null) {\n toReturn['anchorData'] = 'toApiJson' in this.anchorData ? this.anchorData.toApiJson() : this.anchorData;\n }\n if (typeof this.sources !== 'undefined' && this.sources !== null) {\n toReturn['sources'] = 'toApiJson' in this.sources ? this.sources.toApiJson() : this.sources;\n }\n if (typeof this.totalSources !== 'undefined') {\n toReturn['totalSources'] = this.totalSources;\n }\n if (typeof this.totalAcceptedSources !== 'undefined') {\n toReturn['totalAcceptedSources'] = this.totalAcceptedSources;\n }\n if (typeof this.totalAccuracyGoodSources !== 'undefined') {\n toReturn['totalAccuracyGoodSources'] = this.totalAccuracyGoodSources;\n }\n if (typeof this.totalManualSyncOnlySources !== 'undefined') {\n toReturn['totalManualSyncOnlySources'] = this.totalManualSyncOnlySources;\n }\n if (typeof this.totalAccuracySources !== 'undefined') {\n toReturn['totalAccuracySources'] = this.totalAccuracySources;\n }\n if (typeof this.percentageAccuracyGoodSources !== 'undefined') {\n toReturn['percentageAccuracyGoodSources'] = this.percentageAccuracyGoodSources;\n }\n if (typeof this.totalPossibleErrors !== 'undefined') {\n toReturn['totalPossibleErrors'] = this.totalPossibleErrors;\n }\n if (typeof this.totalNotFound !== 'undefined') {\n toReturn['totalNotFound'] = this.totalNotFound;\n }\n if (typeof this.socialProfileId !== 'undefined') {\n toReturn['socialProfileId'] = this.socialProfileId;\n }\n if (typeof this.totalInProgressSources !== 'undefined') {\n toReturn['totalInProgressSources'] = this.totalInProgressSources;\n }\n if (typeof this.lspUpgradePathEnabled !== 'undefined') {\n toReturn['lspUpgradePathEnabled'] = this.lspUpgradePathEnabled;\n }\n if (typeof this.localSeoProUpgradePathEnabled !== 'undefined') {\n toReturn['localSeoProUpgradePathEnabled'] = this.localSeoProUpgradePathEnabled;\n }\n return toReturn;\n }\n}\nclass GetListingSyncProAddonIdRequest {\n static fromProto(proto) {\n let m = new GetListingSyncProAddonIdRequest();\n m = Object.assign(m, proto);\n if (proto.provider) {\n m.provider = enumStringToValue(ServiceProvider, proto.provider);\n }\n if (proto.billingFrequency) {\n m.billingFrequency = enumStringToValue(BillingFrequency, proto.billingFrequency);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.provider !== 'undefined') {\n toReturn['provider'] = this.provider;\n }\n if (typeof this.billingFrequency !== 'undefined') {\n toReturn['billingFrequency'] = this.billingFrequency;\n }\n return toReturn;\n }\n}\nclass GetListingSyncProAddonIdResponse {\n static fromProto(proto) {\n let m = new GetListingSyncProAddonIdResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n if (typeof this.preferencesOverriddenReasons !== 'undefined') {\n toReturn['preferencesOverriddenReasons'] = this.preferencesOverriddenReasons;\n }\n return toReturn;\n }\n}\nclass GetListingSyncProProviderSourcesDataRequest {\n static fromProto(proto) {\n let m = new GetListingSyncProProviderSourcesDataRequest();\n m = Object.assign(m, proto);\n if (proto.serviceProvider) {\n m.serviceProvider = enumStringToValue(ServiceProvider, proto.serviceProvider);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProvider !== 'undefined') {\n toReturn['serviceProvider'] = this.serviceProvider;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GetListingSyncProProviderSourcesDataResponse {\n static fromProto(proto) {\n let m = new GetListingSyncProProviderSourcesDataResponse();\n m = Object.assign(m, proto);\n if (proto.sourceData) {\n m.sourceData = Object.keys(proto.sourceData).reduce((obj, k) => {\n obj[k] = ListingSyncProProviderSourceData.fromProto(proto.sourceData[k]);\n return obj;\n }, {});\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sourceData !== 'undefined' && this.sourceData !== null) {\n toReturn['sourceData'] = 'toApiJson' in this.sourceData ? this.sourceData.toApiJson() : this.sourceData;\n }\n return toReturn;\n }\n}\nclass GetProviderSourcesForBusinessRequest {\n static fromProto(proto) {\n let m = new GetProviderSourcesForBusinessRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass GetProviderSourcesForBusinessResponse {\n static fromProto(proto) {\n let m = new GetProviderSourcesForBusinessResponse();\n m = Object.assign(m, proto);\n if (proto.provider) {\n m.provider = enumStringToValue(ServiceProvider, proto.provider);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.provider !== 'undefined') {\n toReturn['provider'] = this.provider;\n }\n if (typeof this.sourceNames !== 'undefined') {\n toReturn['sourceNames'] = this.sourceNames;\n }\n return toReturn;\n }\n}\nclass GetScrapedSourceStatusesRequest {\n static fromProto(proto) {\n let m = new GetScrapedSourceStatusesRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass GetScrapedSourceStatusesResponse {\n static fromProto(proto) {\n let m = new GetScrapedSourceStatusesResponse();\n m = Object.assign(m, proto);\n if (proto.sourceStatuses) {\n m.sourceStatuses = proto.sourceStatuses.map(SourceStatus.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sourceStatuses !== 'undefined' && this.sourceStatuses !== null) {\n toReturn['sourceStatuses'] = 'toApiJson' in this.sourceStatuses ? this.sourceStatuses.toApiJson() : this.sourceStatuses;\n }\n return toReturn;\n }\n}\nclass GetSelectedSocialServicesRequest {\n static fromProto(proto) {\n let m = new GetSelectedSocialServicesRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass GetSelectedSocialServicesResponse {\n static fromProto(proto) {\n let m = new GetSelectedSocialServicesResponse();\n m = Object.assign(m, proto);\n if (proto.selectedServices) {\n m.selectedServices = proto.selectedServices.map(SelectedSocialService.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.selectedServices !== 'undefined' && this.selectedServices !== null) {\n toReturn['selectedServices'] = 'toApiJson' in this.selectedServices ? this.selectedServices.toApiJson() : this.selectedServices;\n }\n return toReturn;\n }\n}\nclass HistoricalCitationsDataPoint {\n static fromProto(proto) {\n let m = new HistoricalCitationsDataPoint();\n m = Object.assign(m, proto);\n if (proto.date) {\n m.date = new Date(proto.date);\n }\n if (proto.value) {\n m.value = parseInt(proto.value, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.date !== 'undefined' && this.date !== null) {\n toReturn['date'] = 'toApiJson' in this.date ? this.date.toApiJson() : this.date;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n return toReturn;\n }\n}\nclass HistoricalScore {\n static fromProto(proto) {\n let m = new HistoricalScore();\n m = Object.assign(m, proto);\n if (proto.score) {\n m.score = parseInt(proto.score, 10);\n }\n if (proto.timestamp) {\n m.timestamp = new Date(proto.timestamp);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.score !== 'undefined') {\n toReturn['score'] = this.score;\n }\n if (typeof this.timestamp !== 'undefined' && this.timestamp !== null) {\n toReturn['timestamp'] = 'toApiJson' in this.timestamp ? this.timestamp.toApiJson() : this.timestamp;\n }\n return toReturn;\n }\n}\nclass IsListingSyncProActiveRequest {\n static fromProto(proto) {\n let m = new IsListingSyncProActiveRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n return toReturn;\n }\n}\nclass IsListingSyncProActiveResponse {\n static fromProto(proto) {\n let m = new IsListingSyncProActiveResponse();\n m = Object.assign(m, proto);\n if (proto.provider) {\n m.provider = enumStringToValue(ServiceProvider, proto.provider);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.isActive !== 'undefined') {\n toReturn['isActive'] = this.isActive;\n }\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n if (typeof this.provider !== 'undefined') {\n toReturn['provider'] = this.provider;\n }\n return toReturn;\n }\n}\nclass ListListingSyncProAddonIdsRequest {\n static fromProto(proto) {\n let m = new ListListingSyncProAddonIdsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n return toReturn;\n }\n}\nclass ListListingSyncProAddonIdsResponse {\n static fromProto(proto) {\n let m = new ListListingSyncProAddonIdsResponse();\n m = Object.assign(m, proto);\n if (proto.addonInfo) {\n m.addonInfo = Object.keys(proto.addonInfo).reduce((obj, k) => {\n obj[k] = ListListingSyncProAddonIdsResponseAddonInfo.fromProto(proto.addonInfo[k]);\n return obj;\n }, {});\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.addonIds !== 'undefined') {\n toReturn['addonIds'] = this.addonIds;\n }\n if (typeof this.addonInfo !== 'undefined' && this.addonInfo !== null) {\n toReturn['addonInfo'] = 'toApiJson' in this.addonInfo ? this.addonInfo.toApiJson() : this.addonInfo;\n }\n return toReturn;\n }\n}\nclass ListListingSyncProSourcesRequest {\n static fromProto(proto) {\n let m = new ListListingSyncProSourcesRequest();\n m = Object.assign(m, proto);\n if (proto.serviceProviders) {\n m.serviceProviders = proto.serviceProviders.map(v => enumStringToValue(ServiceProvider, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.serviceProviders !== 'undefined') {\n toReturn['serviceProviders'] = this.serviceProviders;\n }\n return toReturn;\n }\n}\nclass ListListingSyncProSourcesResponse {\n static fromProto(proto) {\n let m = new ListListingSyncProSourcesResponse();\n m = Object.assign(m, proto);\n if (proto.sources) {\n m.sources = Object.keys(proto.sources).reduce((obj, k) => {\n obj[k] = SourceInfo.fromProto(proto.sources[k]);\n return obj;\n }, {});\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sources !== 'undefined' && this.sources !== null) {\n toReturn['sources'] = 'toApiJson' in this.sources ? this.sources.toApiJson() : this.sources;\n }\n return toReturn;\n }\n}\nclass ListStatusesByBusinessRequest {\n static fromProto(proto) {\n let m = new ListStatusesByBusinessRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass ListStatusesByBusinessResponse {\n static fromProto(proto) {\n let m = new ListStatusesByBusinessResponse();\n m = Object.assign(m, proto);\n if (proto.sourceStatuses) {\n m.sourceStatuses = proto.sourceStatuses.map(SourceStatus.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sourceStatuses !== 'undefined' && this.sourceStatuses !== null) {\n toReturn['sourceStatuses'] = 'toApiJson' in this.sourceStatuses ? this.sourceStatuses.toApiJson() : this.sourceStatuses;\n }\n return toReturn;\n }\n}\nclass ListStatusesByPartnerRequest {\n static fromProto(proto) {\n let m = new ListStatusesByPartnerRequest();\n m = Object.assign(m, proto);\n if (proto.pagingOptions) {\n m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);\n }\n if (proto.filters) {\n m.filters = AccountFilters.fromProto(proto.filters);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {\n toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;\n }\n if (typeof this.searchTerm !== 'undefined') {\n toReturn['searchTerm'] = this.searchTerm;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n return toReturn;\n }\n}\nclass ListStatusesByPartnerResponse {\n static fromProto(proto) {\n let m = new ListStatusesByPartnerResponse();\n m = Object.assign(m, proto);\n if (proto.lspData) {\n m.lspData = proto.lspData.map(AccountListingStatuses.fromProto);\n }\n if (proto.pagingData) {\n m.pagingData = PagedResponseMetadata.fromProto(proto.pagingData);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.lspData !== 'undefined' && this.lspData !== null) {\n toReturn['lspData'] = 'toApiJson' in this.lspData ? this.lspData.toApiJson() : this.lspData;\n }\n if (typeof this.pagingData !== 'undefined' && this.pagingData !== null) {\n toReturn['pagingData'] = 'toApiJson' in this.pagingData ? this.pagingData.toApiJson() : this.pagingData;\n }\n return toReturn;\n }\n}\nclass ListingSyncProProviderSourceData {\n static fromProto(proto) {\n let m = new ListingSyncProProviderSourceData();\n m = Object.assign(m, proto);\n if (proto.type) {\n m.type = enumStringToValue(SiteType, proto.type);\n }\n if (proto.popularity) {\n m.popularity = parseInt(proto.popularity, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.icon !== 'undefined') {\n toReturn['icon'] = this.icon;\n }\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.popularity !== 'undefined') {\n toReturn['popularity'] = this.popularity;\n }\n if (typeof this.whitelistedPartnerIds !== 'undefined') {\n toReturn['whitelistedPartnerIds'] = this.whitelistedPartnerIds;\n }\n return toReturn;\n }\n}\nclass ProcessListingSyncProMarketplaceActivationRequestOrderFormDataEntry {\n static fromProto(proto) {\n let m = new ProcessListingSyncProMarketplaceActivationRequestOrderFormDataEntry();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n return toReturn;\n }\n}\nclass PagedRequestOptions {\n static fromProto(proto) {\n let m = new PagedRequestOptions();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n}\nclass PagedResponseMetadata {\n static fromProto(proto) {\n let m = new PagedResponseMetadata();\n m = Object.assign(m, proto);\n if (proto.totalResults) {\n m.totalResults = parseInt(proto.totalResults, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n if (typeof this.totalResults !== 'undefined') {\n toReturn['totalResults'] = this.totalResults;\n }\n return toReturn;\n }\n}\nclass ProcessListingSyncProMarketplaceActivationRequest {\n static fromProto(proto) {\n let m = new ProcessListingSyncProMarketplaceActivationRequest();\n m = Object.assign(m, proto);\n if (proto.orderFormData) {\n m.orderFormData = Object.keys(proto.orderFormData).reduce((obj, k) => {\n obj[k] = proto.orderFormData[k];\n return obj;\n }, {});\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.addonId !== 'undefined') {\n toReturn['addonId'] = this.addonId;\n }\n if (typeof this.activationId !== 'undefined') {\n toReturn['activationId'] = this.activationId;\n }\n if (typeof this.orderFormData !== 'undefined' && this.orderFormData !== null) {\n toReturn['orderFormData'] = 'toApiJson' in this.orderFormData ? this.orderFormData.toApiJson() : this.orderFormData;\n }\n if (typeof this.dryRun !== 'undefined') {\n toReturn['dryRun'] = this.dryRun;\n }\n return toReturn;\n }\n}\nclass SourceInfoProviderSpecificIdsEntry {\n static fromProto(proto) {\n let m = new SourceInfoProviderSpecificIdsEntry();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n return toReturn;\n }\n}\nclass ScoreData {\n static fromProto(proto) {\n let m = new ScoreData();\n m = Object.assign(m, proto);\n if (proto.totalScore) {\n m.totalScore = parseInt(proto.totalScore, 10);\n }\n if (proto.maxListingScore) {\n m.maxListingScore = parseInt(proto.maxListingScore, 10);\n }\n if (proto.listingScore) {\n m.listingScore = parseInt(proto.listingScore, 10);\n }\n if (proto.industryAverage) {\n m.industryAverage = parseInt(proto.industryAverage, 10);\n }\n if (proto.industryAveragePercentile) {\n m.industryAveragePercentile = parseInt(proto.industryAveragePercentile, 10);\n }\n if (proto.ninetyFifthPercentile) {\n m.ninetyFifthPercentile = parseInt(proto.ninetyFifthPercentile, 10);\n }\n if (proto.businessPercentile) {\n m.businessPercentile = parseInt(proto.businessPercentile, 10);\n }\n if (proto.initialBusinessPercentile) {\n m.initialBusinessPercentile = parseInt(proto.initialBusinessPercentile, 10);\n }\n if (proto.listingScoreHistory) {\n m.listingScoreHistory = proto.listingScoreHistory.map(HistoricalScore.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.totalScore !== 'undefined') {\n toReturn['totalScore'] = this.totalScore;\n }\n if (typeof this.maxListingScore !== 'undefined') {\n toReturn['maxListingScore'] = this.maxListingScore;\n }\n if (typeof this.listingScore !== 'undefined') {\n toReturn['listingScore'] = this.listingScore;\n }\n if (typeof this.industryAverage !== 'undefined') {\n toReturn['industryAverage'] = this.industryAverage;\n }\n if (typeof this.industryAveragePercentile !== 'undefined') {\n toReturn['industryAveragePercentile'] = this.industryAveragePercentile;\n }\n if (typeof this.ninetyFifthPercentile !== 'undefined') {\n toReturn['ninetyFifthPercentile'] = this.ninetyFifthPercentile;\n }\n if (typeof this.businessPercentile !== 'undefined') {\n toReturn['businessPercentile'] = this.businessPercentile;\n }\n if (typeof this.initialBusinessPercentile !== 'undefined') {\n toReturn['initialBusinessPercentile'] = this.initialBusinessPercentile;\n }\n if (typeof this.listingScoreHistory !== 'undefined' && this.listingScoreHistory !== null) {\n toReturn['listingScoreHistory'] = 'toApiJson' in this.listingScoreHistory ? this.listingScoreHistory.toApiJson() : this.listingScoreHistory;\n }\n return toReturn;\n }\n}\nclass SelectedSocialService {\n static fromProto(proto) {\n let m = new SelectedSocialService();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sourceId !== 'undefined') {\n toReturn['sourceId'] = this.sourceId;\n }\n if (typeof this.sourceName !== 'undefined') {\n toReturn['sourceName'] = this.sourceName;\n }\n if (typeof this.ssid !== 'undefined') {\n toReturn['ssid'] = this.ssid;\n }\n return toReturn;\n }\n}\nclass SetSelectedSocialServiceRequest {\n static fromProto(proto) {\n let m = new SetSelectedSocialServiceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.ssid !== 'undefined') {\n toReturn['ssid'] = this.ssid;\n }\n if (typeof this.sourceId !== 'undefined') {\n toReturn['sourceId'] = this.sourceId;\n }\n if (typeof this.sourceName !== 'undefined') {\n toReturn['sourceName'] = this.sourceName;\n }\n return toReturn;\n }\n}\nclass SetSelectedSocialServiceResponse {\n static fromProto(proto) {\n let m = new SetSelectedSocialServiceResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.errorMsg !== 'undefined') {\n toReturn['errorMsg'] = this.errorMsg;\n }\n if (typeof this.successful !== 'undefined') {\n toReturn['successful'] = this.successful;\n }\n return toReturn;\n }\n}\nclass SourceAccuracy {\n static fromProto(proto) {\n let m = new SourceAccuracy();\n m = Object.assign(m, proto);\n if (proto.anchorData) {\n m.anchorData = AnchorData.fromProto(proto.anchorData);\n }\n if (proto.anchorDataMatches) {\n m.anchorDataMatches = AnchorDataMatches.fromProto(proto.anchorDataMatches);\n }\n if (proto.status) {\n m.status = enumStringToValue(AccuracyStatus, proto.status);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.anchorData !== 'undefined' && this.anchorData !== null) {\n toReturn['anchorData'] = 'toApiJson' in this.anchorData ? this.anchorData.toApiJson() : this.anchorData;\n }\n if (typeof this.anchorDataMatches !== 'undefined' && this.anchorDataMatches !== null) {\n toReturn['anchorDataMatches'] = 'toApiJson' in this.anchorDataMatches ? this.anchorDataMatches.toApiJson() : this.anchorDataMatches;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n return toReturn;\n }\n}\nclass SourceData {\n static fromProto(proto) {\n let m = new SourceData();\n m = Object.assign(m, proto);\n if (proto.syncedSources) {\n m.syncedSources = parseInt(proto.syncedSources, 10);\n }\n if (proto.totalSources) {\n m.totalSources = parseInt(proto.totalSources, 10);\n }\n if (proto.errors) {\n m.errors = proto.errors.map(v => enumStringToValue(ErrorCode, v));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.syncedSources !== 'undefined') {\n toReturn['syncedSources'] = this.syncedSources;\n }\n if (typeof this.totalSources !== 'undefined') {\n toReturn['totalSources'] = this.totalSources;\n }\n if (typeof this.errors !== 'undefined') {\n toReturn['errors'] = this.errors;\n }\n return toReturn;\n }\n}\nclass GetListingSyncProProviderSourcesDataResponseSourceDataEntry {\n static fromProto(proto) {\n let m = new GetListingSyncProProviderSourcesDataResponseSourceDataEntry();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = ListingSyncProProviderSourceData.fromProto(proto.value);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined' && this.value !== null) {\n toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;\n }\n return toReturn;\n }\n}\nclass SourceInfo {\n static fromProto(proto) {\n let m = new SourceInfo();\n m = Object.assign(m, proto);\n if (proto.sourceId) {\n m.sourceId = parseInt(proto.sourceId, 10);\n }\n if (proto.serviceProviders) {\n m.serviceProviders = proto.serviceProviders.map(v => enumStringToValue(ServiceProvider, v));\n }\n if (proto.providerSpecificIds) {\n m.providerSpecificIds = Object.keys(proto.providerSpecificIds).reduce((obj, k) => {\n obj[k] = proto.providerSpecificIds[k];\n return obj;\n }, {});\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sourceId !== 'undefined') {\n toReturn['sourceId'] = this.sourceId;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.serviceProviders !== 'undefined') {\n toReturn['serviceProviders'] = this.serviceProviders;\n }\n if (typeof this.providerSpecificIds !== 'undefined' && this.providerSpecificIds !== null) {\n toReturn['providerSpecificIds'] = 'toApiJson' in this.providerSpecificIds ? this.providerSpecificIds.toApiJson() : this.providerSpecificIds;\n }\n return toReturn;\n }\n}\nclass SourceStatus {\n static fromProto(proto) {\n let m = new SourceStatus();\n m = Object.assign(m, proto);\n if (proto.statusCode) {\n m.statusCode = enumStringToValue(StatusCode, proto.statusCode);\n }\n if (proto.errors) {\n m.errors = proto.errors.map(Errors.fromProto);\n }\n if (proto.warnings) {\n m.warnings = proto.warnings.map(Errors.fromProto);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.source !== 'undefined') {\n toReturn['source'] = this.source;\n }\n if (typeof this.statusCode !== 'undefined') {\n toReturn['statusCode'] = this.statusCode;\n }\n if (typeof this.errors !== 'undefined' && this.errors !== null) {\n toReturn['errors'] = 'toApiJson' in this.errors ? this.errors.toApiJson() : this.errors;\n }\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n if (typeof this.warnings !== 'undefined' && this.warnings !== null) {\n toReturn['warnings'] = 'toApiJson' in this.warnings ? this.warnings.toApiJson() : this.warnings;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n return toReturn;\n }\n}\nclass SourceTableData {\n static fromProto(proto) {\n let m = new SourceTableData();\n m = Object.assign(m, proto);\n if (proto.popularity) {\n m.popularity = parseInt(proto.popularity, 10);\n }\n if (proto.type) {\n m.type = enumStringToValue(SiteType, proto.type);\n }\n if (proto.provider) {\n m.provider = enumStringToValue(ServiceProvider, proto.provider);\n }\n if (proto.sourceId) {\n m.sourceId = parseInt(proto.sourceId, 10);\n }\n if (proto.syncStatus) {\n m.syncStatus = enumStringToValue(StatusCode, proto.syncStatus);\n }\n if (proto.score) {\n m.score = parseInt(proto.score, 10);\n }\n if (proto.maxScore) {\n m.maxScore = parseInt(proto.maxScore, 10);\n }\n if (proto.errorDetails) {\n m.errorDetails = proto.errorDetails.map(Errors.fromProto);\n }\n if (proto.warningDetails) {\n m.warningDetails = proto.warningDetails.map(Errors.fromProto);\n }\n if (proto.accuracy) {\n m.accuracy = SourceAccuracy.fromProto(proto.accuracy);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.icon !== 'undefined') {\n toReturn['icon'] = this.icon;\n }\n if (typeof this.popularity !== 'undefined') {\n toReturn['popularity'] = this.popularity;\n }\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.providerSourceId !== 'undefined') {\n toReturn['providerSourceId'] = this.providerSourceId;\n }\n if (typeof this.provider !== 'undefined') {\n toReturn['provider'] = this.provider;\n }\n if (typeof this.sourceId !== 'undefined') {\n toReturn['sourceId'] = this.sourceId;\n }\n if (typeof this.isDirectlySubmittedSource !== 'undefined') {\n toReturn['isDirectlySubmittedSource'] = this.isDirectlySubmittedSource;\n }\n if (typeof this.isLdSource !== 'undefined') {\n toReturn['isLdSource'] = this.isLdSource;\n }\n if (typeof this.directSubmissionActive !== 'undefined') {\n toReturn['directSubmissionActive'] = this.directSubmissionActive;\n }\n if (typeof this.syncStatus !== 'undefined') {\n toReturn['syncStatus'] = this.syncStatus;\n }\n if (typeof this.score !== 'undefined') {\n toReturn['score'] = this.score;\n }\n if (typeof this.maxScore !== 'undefined') {\n toReturn['maxScore'] = this.maxScore;\n }\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\n }\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n if (typeof this.errorDetails !== 'undefined' && this.errorDetails !== null) {\n toReturn['errorDetails'] = 'toApiJson' in this.errorDetails ? this.errorDetails.toApiJson() : this.errorDetails;\n }\n if (typeof this.warningDetails !== 'undefined' && this.warningDetails !== null) {\n toReturn['warningDetails'] = 'toApiJson' in this.warningDetails ? this.warningDetails.toApiJson() : this.warningDetails;\n }\n if (typeof this.accuracy !== 'undefined' && this.accuracy !== null) {\n toReturn['accuracy'] = 'toApiJson' in this.accuracy ? this.accuracy.toApiJson() : this.accuracy;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.listingId !== 'undefined') {\n toReturn['listingId'] = this.listingId;\n }\n if (typeof this.connectLink !== 'undefined') {\n toReturn['connectLink'] = this.connectLink;\n }\n if (typeof this.disconnectLink !== 'undefined') {\n toReturn['disconnectLink'] = this.disconnectLink;\n }\n if (typeof this.ssid !== 'undefined') {\n toReturn['ssid'] = this.ssid;\n }\n if (typeof this.updateSyncLink !== 'undefined') {\n toReturn['updateSyncLink'] = this.updateSyncLink;\n }\n if (typeof this.selectedSocialService !== 'undefined') {\n toReturn['selectedSocialService'] = this.selectedSocialService;\n }\n if (typeof this.socialServiceName !== 'undefined') {\n toReturn['socialServiceName'] = this.socialServiceName;\n }\n if (typeof this.serviceType !== 'undefined') {\n toReturn['serviceType'] = this.serviceType;\n }\n if (typeof this.serviceUserId !== 'undefined') {\n toReturn['serviceUserId'] = this.serviceUserId;\n }\n if (typeof this.clientTags !== 'undefined') {\n toReturn['clientTags'] = this.clientTags;\n }\n if (typeof this.profileImageUrl !== 'undefined') {\n toReturn['profileImageUrl'] = this.profileImageUrl;\n }\n if (typeof this.isListingVerified !== 'undefined') {\n toReturn['isListingVerified'] = this.isListingVerified;\n }\n return toReturn;\n }\n}\nclass ListListingSyncProSourcesResponseSourcesEntry {\n static fromProto(proto) {\n let m = new ListListingSyncProSourcesResponseSourcesEntry();\n m = Object.assign(m, proto);\n if (proto.key) {\n m.key = parseInt(proto.key, 10);\n }\n if (proto.value) {\n m.value = SourceInfo.fromProto(proto.value);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined' && this.value !== null) {\n toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;\n }\n return toReturn;\n }\n}\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Objects Index.\n// *********************************\n\nconst environment = (window ? window['environment'] : 'prod') ?? 'prod';\nconst hostMap = {\n 'local': 'listing-sync-pro-api.vendasta-local.com',\n 'test': '',\n 'demo': 'listing-sync-pro-api-demo.apigateway.co',\n 'prod': 'listing-sync-pro-api-prod.apigateway.co',\n 'production': 'listing-sync-pro-api-prod.apigateway.co'\n};\nlet HostService = /*#__PURE__*/(() => {\n class HostService {\n get host() {\n return hostMap[environment.toLowerCase()];\n }\n get hostWithScheme() {\n return 'https://' + this.host;\n }\n }\n HostService.ɵfac = function HostService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || HostService)();\n };\n HostService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: HostService,\n factory: HostService.ɵfac,\n providedIn: 'root'\n });\n return HostService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet ListingSyncProApiService = /*#__PURE__*/(() => {\n class ListingSyncProApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n debouncedTriggerStatsCollection(r) {\n const request = r.toApiJson ? r : new CollectStatsRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/DebouncedTriggerStatsCollection\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n triggerStatsCollection(r) {\n const request = r.toApiJson ? r : new CollectStatsRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/TriggerStatsCollection\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listStatusesByPartner(r) {\n const request = r.toApiJson ? r : new ListStatusesByPartnerRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/ListStatusesByPartner\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListStatusesByPartnerResponse.fromProto(resp)));\n }\n listStatusesByBusiness(r) {\n const request = r.toApiJson ? r : new ListStatusesByBusinessRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/ListStatusesByBusiness\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListStatusesByBusinessResponse.fromProto(resp)));\n }\n deleteStats(r) {\n const request = r.toApiJson ? r : new DeleteStatsRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/DeleteStats\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n createListingSyncProSource(r) {\n const request = r.toApiJson ? r : new CreateListingSyncProSourceRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/CreateListingSyncProSource\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateListingSyncProSourceResponse.fromProto(resp)));\n }\n listListingSyncProSources(r) {\n const request = r.toApiJson ? r : new ListListingSyncProSourcesRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/ListListingSyncProSources\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListListingSyncProSourcesResponse.fromProto(resp)));\n }\n getAvailableProvidersForPartner(r) {\n const request = r.toApiJson ? r : new GetAvailableProvidersForPartnerRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/GetAvailableProvidersForPartner\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetAvailableProvidersForPartnerResponse.fromProto(resp)));\n }\n listListingSyncProAddonIds(r) {\n const request = r.toApiJson ? r : new ListListingSyncProAddonIdsRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/ListListingSyncProAddonIds\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListListingSyncProAddonIdsResponse.fromProto(resp)));\n }\n activateListingSyncPro(r) {\n const request = r.toApiJson ? r : new ActivateListingSyncProRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/ActivateListingSyncPro\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n processListingSyncProMarketplaceActivation(r) {\n const request = r.toApiJson ? r : new ProcessListingSyncProMarketplaceActivationRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/ProcessListingSyncProMarketplaceActivation\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n deactivateListingSyncPro(r) {\n const request = r.toApiJson ? r : new DeactivateListingSyncProRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/DeactivateListingSyncPro\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n isListingSyncProActiveForAccount(r) {\n const request = r.toApiJson ? r : new IsListingSyncProActiveRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/IsListingSyncProActiveForAccount\", request.toApiJson(), this.apiOptions()).pipe(map(resp => IsListingSyncProActiveResponse.fromProto(resp)));\n }\n createListingSyncProProviderSourceData(r) {\n const request = r.toApiJson ? r : new CreateListingSyncProProviderSourceDataRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/CreateListingSyncProProviderSourceData\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getListingSyncProProviderSourcesData(r) {\n const request = r.toApiJson ? r : new GetListingSyncProProviderSourcesDataRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/GetListingSyncProProviderSourcesData\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetListingSyncProProviderSourcesDataResponse.fromProto(resp)));\n }\n deleteListingSyncProProviderSource(r) {\n const request = r.toApiJson ? r : new DeleteListingSyncProProviderSourceRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/DeleteListingSyncProProviderSource\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getListingSyncProAddonId(r) {\n const request = r.toApiJson ? r : new GetListingSyncProAddonIdRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/GetListingSyncProAddonId\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetListingSyncProAddonIdResponse.fromProto(resp)));\n }\n getScrapedSourceStatuses(r) {\n const request = r.toApiJson ? r : new GetScrapedSourceStatusesRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/GetScrapedSourceStatuses\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetScrapedSourceStatusesResponse.fromProto(resp)));\n }\n getListingData(r) {\n const request = r.toApiJson ? r : new GetListingDataRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/GetListingData\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetListingDataResponse.fromProto(resp)));\n }\n getListingDataForATimePeriod(r) {\n const request = r.toApiJson ? r : new GetListingDataForATimePeriodRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/GetListingDataForATimePeriod\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetListingDataResponse.fromProto(resp)));\n }\n setSelectedSocialService(r) {\n const request = r.toApiJson ? r : new SetSelectedSocialServiceRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/SetSelectedSocialService\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SetSelectedSocialServiceResponse.fromProto(resp)));\n }\n getSelectedSocialServices(r) {\n const request = r.toApiJson ? r : new GetSelectedSocialServicesRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/GetSelectedSocialServices\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetSelectedSocialServicesResponse.fromProto(resp)));\n }\n getCitationsData(r) {\n const request = r.toApiJson ? r : new GetCitationDataRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/GetCitationsData\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetCitationDataResponse.fromProto(resp)));\n }\n getRawProviderSourcesForBusiness(r) {\n const request = r.toApiJson ? r : new GetProviderSourcesForBusinessRequest(r);\n return this.http.post(this._host + \"/listing_sync_pro.v1.ListingSyncProService/GetRawProviderSourcesForBusiness\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetProviderSourcesForBusinessResponse.fromProto(resp)));\n }\n }\n ListingSyncProApiService.ɵfac = function ListingSyncProApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ListingSyncProApiService)();\n };\n ListingSyncProApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ListingSyncProApiService,\n factory: ListingSyncProApiService.ɵfac,\n providedIn: 'root'\n });\n return ListingSyncProApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Index.\n// *********************************\nlet ListingSyncProService = /*#__PURE__*/(() => {\n class ListingSyncProService {\n constructor(_api) {\n this._api = _api;\n }\n getListingSyncProAddonIds() {\n return this._api.listListingSyncProAddonIds({}).pipe(map(response => response.addonIds), catchError(() => {\n return of([]);\n }));\n }\n getListingSyncProAddonInfo() {\n return this._api.listListingSyncProAddonIds({}).pipe(map(response => response.addonInfo), catchError(() => {\n return of({});\n }));\n }\n getListingSyncProProviderSourcesData(provider, partnerId) {\n if (typeof provider === 'string') {\n provider = this.convertServiceProvider(provider);\n }\n return this._api.getListingSyncProProviderSourcesData({\n serviceProvider: provider,\n partnerId: partnerId\n }).pipe(map(response => response.sourceData), catchError(() => {\n return of({});\n }));\n }\n getListingSyncStatusesByBusinessID(businessId) {\n return this._api.listStatusesByBusiness({\n businessId\n }).pipe(map(response => response.sourceStatuses), catchError(() => {\n return of([]);\n }));\n }\n getListingSyncSources() {\n return this._api.listListingSyncProSources({\n serviceProviders: [ServiceProvider.SERVICE_PROVIDER_PROVIDER_0, ServiceProvider.SERVICE_PROVIDER_PROVIDER_1]\n }).pipe(map(response => response.sources), catchError(() => {\n return of({});\n }));\n }\n getScrapedSourceStatuses(businessId) {\n return this._api.getScrapedSourceStatuses({\n businessId\n }).pipe(map(response => response.sourceStatuses), catchError(() => {\n return of([]);\n }));\n }\n getListingData(businessId) {\n return this._api.getListingData({\n businessId\n }).pipe(map(response => response), catchError(() => {\n return of(new GetListingDataResponse({}));\n }));\n }\n listStatusesByPartner(partnerId, pagingOptions, searchTerm, filters) {\n return this._api.listStatusesByPartner({\n partnerId,\n pagingOptions,\n searchTerm,\n filters\n }).pipe(map(response => response), catchError(() => {\n return of(new ListStatusesByPartnerResponse({}));\n }));\n }\n convertServiceProvider(provider) {\n if (provider === 'PROVIDER_0') {\n return ServiceProvider.SERVICE_PROVIDER_PROVIDER_0;\n } else if (provider === 'PROVIDER_1') {\n return ServiceProvider.SERVICE_PROVIDER_PROVIDER_1;\n } else {\n return ServiceProvider.SERVICE_PROVIDER_UNSPECIFIED;\n }\n }\n }\n ListingSyncProService.ɵfac = function ListingSyncProService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ListingSyncProService)(i0.ɵɵinject(ListingSyncProApiService));\n };\n ListingSyncProService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ListingSyncProService,\n factory: ListingSyncProService.ɵfac,\n providedIn: 'root'\n });\n return ListingSyncProService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Access, AccountFilters, AccountListingStatuses, AccuracyStatus, ActivateListingSyncProRequest, AnchorData, AnchorDataMatches, BillingFrequency, Citation, CitationListing, CollectStatsRequest, CreateListingSyncProProviderSourceDataRequest, CreateListingSyncProSourceRequest, CreateListingSyncProSourceResponse, DeactivateListingSyncProRequest, DeleteListingSyncProProviderSourceRequest, DeleteStatsRequest, ErrorCode, Errors, GetAvailableProvidersForPartnerRequest, GetAvailableProvidersForPartnerResponse, GetCitationDataRequest, GetCitationDataResponse, GetListingDataForATimePeriodRequest, GetListingDataRequest, GetListingDataResponse, GetListingSyncProAddonIdRequest, GetListingSyncProAddonIdResponse, GetListingSyncProProviderSourcesDataRequest, GetListingSyncProProviderSourcesDataResponse, GetListingSyncProProviderSourcesDataResponseSourceDataEntry, GetProviderSourcesForBusinessRequest, GetProviderSourcesForBusinessResponse, GetScrapedSourceStatusesRequest, GetScrapedSourceStatusesResponse, GetSelectedSocialServicesRequest, GetSelectedSocialServicesResponse, HistoricalCitationsDataPoint, HistoricalScore, HostService, IsListingSyncProActiveRequest, IsListingSyncProActiveResponse, ListListingSyncProAddonIdsRequest, ListListingSyncProAddonIdsResponse, ListListingSyncProAddonIdsResponseAddonInfo, ListListingSyncProAddonIdsResponseAddonInfoBillingFrequency, ListListingSyncProAddonIdsResponseAddonInfoEntry, ListListingSyncProSourcesRequest, ListListingSyncProSourcesResponse, ListListingSyncProSourcesResponseSourcesEntry, ListStatusesByBusinessRequest, ListStatusesByBusinessResponse, ListStatusesByPartnerRequest, ListStatusesByPartnerResponse, ListingSyncProApiService, ListingSyncProProviderSourceData, ListingSyncProService, PagedRequestOptions, PagedResponseMetadata, ProcessListingSyncProMarketplaceActivationRequest, ProcessListingSyncProMarketplaceActivationRequestOrderFormDataEntry, ScoreData, SelectedSocialService, ServiceProvider, SetSelectedSocialServiceRequest, SetSelectedSocialServiceResponse, SiteType, SourceAccuracy, SourceData, SourceInfo, SourceInfoProviderSpecificIdsEntry, SourceStatus, SourceTableData, StatusCode, SyncingStatus };\n","import { Injectable } from '@angular/core';\nimport { HttpClient, HttpParams } from '@angular/common/http';\nimport { EMPTY, Observable, of } from 'rxjs';\nimport { catchError } from 'rxjs/operators';\nimport { MatSnackBar } from '@angular/material/snack-bar';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class ListingSyncApiService {\n constructor(\n private http: HttpClient,\n private snackbar: MatSnackBar,\n ) {}\n\n updateSyncStatus(url: string, ssid: string): Observable {\n const body = new HttpParams().set('syncing_ssid', ssid);\n return this.http\n .post(url, body.toString(), {\n headers: {\n 'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',\n },\n })\n .pipe(\n catchError((error) => {\n if (!error.responseText || error.responseText.indexOf('NORMALIZATION_FAILED') < 0) {\n this.snackbar.open('There was an error updating your sync status', '', { duration: 5000 });\n }\n return of(null);\n }),\n );\n }\n\n getServiceUserIdFromSSID(ssid: string): string {\n if (ssid?.split('/')?.length > 1) {\n return ssid.split('/')[1];\n } else {\n return ssid.substring(ssid.indexOf('-') + 1);\n }\n }\n\n disconnectService(url: string, ssid: string, clientTags: string[]): Observable {\n const body = new HttpParams()\n .set('ssid', ssid)\n .set('service_user_id', this.getServiceUserIdFromSSID(ssid))\n .set('clientTags', JSON.stringify(clientTags));\n return this.http\n .post(url, body.toString(), {\n headers: {\n 'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',\n },\n })\n .pipe(\n catchError((error) => {\n if (!error.responseText || error.responseText.indexOf('NORMALIZATION_FAILED') < 0) {\n this.snackbar.open('There was an error disconnecting your account', '', { duration: 5000 });\n }\n return EMPTY;\n }),\n );\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\nimport { Observable, switchMap } from 'rxjs';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { Environment, EnvironmentService } from '@galaxy/core';\nimport { SessionService } from '@galaxy/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class ListingScoreApiService {\n private httpHost: string;\n\n constructor(\n private http: HttpClient,\n private snackbar: MatSnackBar,\n private environmentService: EnvironmentService,\n private sessionService: SessionService,\n ) {}\n\n setupHttpHostName(): string {\n if (this.httpHost) {\n return this.httpHost;\n }\n\n if (this.environmentService.getEnvironment() === Environment.PROD) {\n this.httpHost = 'https://listing-score-api-prod.vendasta-internal.com/listingscore.v1.ListingScore';\n return this.httpHost;\n }\n\n this.httpHost = 'https://listing-score-api-demo.vendasta-internal.com/listingscore.v1.ListingScore';\n return this.httpHost;\n }\n\n getListingScore(accountGroupId: string, sourceIds: string[]): Observable {\n const body = {\n account_group_id: accountGroupId,\n source_ids: sourceIds,\n };\n const url = `${this.setupHttpHostName()}/GetScore`;\n return this.sessionService.getSessionId().pipe(\n switchMap((sessionId) => {\n return this.http.post(url, body, {\n headers: {\n 'content-type': 'application/json; charset=UTF-8',\n Authorization: `Bearer ${sessionId}`,\n },\n });\n }),\n );\n }\n}\n","import * as i0 from '@angular/core';\nimport { Injectable, inject } from '@angular/core';\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { map } from 'rxjs/operators';\nconst environment = (window ? window['environment'] : 'prod') ?? 'prod';\nconst hostMap = {\n 'local': 'listing-syndication-api.vendasta-local.com',\n 'test': '',\n 'demo': 'listing-syndication-demo.apigateway.co',\n 'prod': 'listing-syndication-prod.apigateway.co',\n 'production': 'listing-syndication-prod.apigateway.co'\n};\nlet HostService = /*#__PURE__*/(() => {\n class HostService {\n get host() {\n return hostMap[environment.toLowerCase()];\n }\n get hostWithScheme() {\n return 'https://' + this.host;\n }\n }\n HostService.ɵfac = function HostService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || HostService)();\n };\n HostService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: HostService,\n factory: HostService.ɵfac,\n providedIn: 'root'\n });\n return HostService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nclass Access {\n static fromProto(proto) {\n let m = new Access();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.scope !== 'undefined') {\n toReturn['scope'] = this.scope;\n }\n if (typeof this.public !== 'undefined') {\n toReturn['public'] = this.public;\n }\n return toReturn;\n }\n}\nclass DataValidationRequest {\n static fromProto(proto) {\n let m = new DataValidationRequest();\n m = Object.assign(m, proto);\n if (proto.sourceIds) {\n m.sourceIds = proto.sourceIds.map(i => parseInt(i, 10));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sourceIds !== 'undefined') {\n toReturn['sourceIds'] = this.sourceIds;\n }\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.force !== 'undefined') {\n toReturn['force'] = this.force;\n }\n return toReturn;\n }\n}\nclass DataValidationResponse {\n static fromProto(proto) {\n let m = new DataValidationResponse();\n m = Object.assign(m, proto);\n if (proto.result) {\n m.result = proto.result.map(ValidationResult.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.result !== 'undefined' && this.result !== null) {\n toReturn['result'] = 'toApiJson' in this.result ? this.result.toApiJson() : this.result;\n }\n return toReturn;\n }\n}\nclass DetailedSyndicationStatusResultValue {\n static fromProto(proto) {\n let m = new DetailedSyndicationStatusResultValue();\n m = Object.assign(m, proto);\n if (proto.lastSyncTime) {\n m.lastSyncTime = new Date(proto.lastSyncTime);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.dataType !== 'undefined') {\n toReturn['dataType'] = this.dataType;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.syncedFields !== 'undefined') {\n toReturn['syncedFields'] = this.syncedFields;\n }\n if (typeof this.failedFields !== 'undefined') {\n toReturn['failedFields'] = this.failedFields;\n }\n if (typeof this.lastSyncTime !== 'undefined' && this.lastSyncTime !== null) {\n toReturn['lastSyncTime'] = 'toApiJson' in this.lastSyncTime ? this.lastSyncTime.toApiJson() : this.lastSyncTime;\n }\n if (typeof this.errorMessage !== 'undefined') {\n toReturn['errorMessage'] = this.errorMessage;\n }\n return toReturn;\n }\n}\nclass DetailedSyndicationStatusResults {\n static fromProto(proto) {\n let m = new DetailedSyndicationStatusResults();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = DetailedSyndicationStatusResultValue.fromProto(proto.value);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined' && this.value !== null) {\n toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;\n }\n return toReturn;\n }\n}\nclass EnableSyndicationToSourceRequest {\n static fromProto(proto) {\n let m = new EnableSyndicationToSourceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sourceId !== 'undefined') {\n toReturn['sourceId'] = this.sourceId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass FieldValidationResult {\n static fromProto(proto) {\n let m = new FieldValidationResult();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.fieldName !== 'undefined') {\n toReturn['fieldName'] = this.fieldName;\n }\n if (typeof this.messages !== 'undefined') {\n toReturn['messages'] = this.messages;\n }\n return toReturn;\n }\n}\nclass GetEditionSourceConfigRequest {\n static fromProto(proto) {\n let m = new GetEditionSourceConfigRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n return toReturn;\n }\n}\nclass GetEditionSourceConfigResponse {\n static fromProto(proto) {\n let m = new GetEditionSourceConfigResponse();\n m = Object.assign(m, proto);\n if (proto.freeSourceIds) {\n m.freeSourceIds = proto.freeSourceIds.map(i => parseInt(i, 10));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.freeSourceIds !== 'undefined') {\n toReturn['freeSourceIds'] = this.freeSourceIds;\n }\n return toReturn;\n }\n}\nclass GetMultiMostRecentSyndicationStatusRequest {\n static fromProto(proto) {\n let m = new GetMultiMostRecentSyndicationStatusRequest();\n m = Object.assign(m, proto);\n if (proto.sourceIds) {\n m.sourceIds = proto.sourceIds.map(i => parseInt(i, 10));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sourceIds !== 'undefined') {\n toReturn['sourceIds'] = this.sourceIds;\n }\n if (typeof this.accountGroupIds !== 'undefined') {\n toReturn['accountGroupIds'] = this.accountGroupIds;\n }\n return toReturn;\n }\n}\nclass GetMultiMostRecentSyndicationStatusResponse {\n static fromProto(proto) {\n let m = new GetMultiMostRecentSyndicationStatusResponse();\n m = Object.assign(m, proto);\n if (proto.syndicationStatuses) {\n m.syndicationStatuses = proto.syndicationStatuses.map(SyndicationStatus.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.syndicationStatuses !== 'undefined' && this.syndicationStatuses !== null) {\n toReturn['syndicationStatuses'] = 'toApiJson' in this.syndicationStatuses ? this.syndicationStatuses.toApiJson() : this.syndicationStatuses;\n }\n return toReturn;\n }\n}\nclass ListSyndicationSettingRequest {\n static fromProto(proto) {\n let m = new ListSyndicationSettingRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = ListSyndicationSettingRequestOptionalListSyndicationSettingFilters.fromProto(proto.filters);\n }\n if (proto.pageOptions) {\n m.pageOptions = PagedRequestOptions.fromProto(proto.pageOptions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.pageOptions !== 'undefined' && this.pageOptions !== null) {\n toReturn['pageOptions'] = 'toApiJson' in this.pageOptions ? this.pageOptions.toApiJson() : this.pageOptions;\n }\n return toReturn;\n }\n}\nclass ListSyndicationSettingResponse {\n static fromProto(proto) {\n let m = new ListSyndicationSettingResponse();\n m = Object.assign(m, proto);\n if (proto.syndicationSettings) {\n m.syndicationSettings = proto.syndicationSettings.map(SyndicationSetting.fromProto);\n }\n if (proto.pagingMetadata) {\n m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.syndicationSettings !== 'undefined' && this.syndicationSettings !== null) {\n toReturn['syndicationSettings'] = 'toApiJson' in this.syndicationSettings ? this.syndicationSettings.toApiJson() : this.syndicationSettings;\n }\n if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {\n toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;\n }\n return toReturn;\n }\n}\nclass Metadata {\n static fromProto(proto) {\n let m = new Metadata();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n return toReturn;\n }\n}\nclass ListSyndicationSettingRequestOptionalListSyndicationSettingFilters {\n static fromProto(proto) {\n let m = new ListSyndicationSettingRequestOptionalListSyndicationSettingFilters();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sourceIds !== 'undefined') {\n toReturn['sourceIds'] = this.sourceIds;\n }\n return toReturn;\n }\n}\nclass PagedRequestOptions {\n static fromProto(proto) {\n let m = new PagedRequestOptions();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n}\nclass PagedResponseMetadata {\n static fromProto(proto) {\n let m = new PagedResponseMetadata();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass SetAssociatedSocialServiceRequest {\n static fromProto(proto) {\n let m = new SetAssociatedSocialServiceRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.sourceId !== 'undefined') {\n toReturn['sourceId'] = this.sourceId;\n }\n if (typeof this.associatedSocialServiceId !== 'undefined') {\n toReturn['associatedSocialServiceId'] = this.associatedSocialServiceId;\n }\n return toReturn;\n }\n}\nclass SetEditionSourceConfigRequest {\n static fromProto(proto) {\n let m = new SetEditionSourceConfigRequest();\n m = Object.assign(m, proto);\n if (proto.freeSourceIds) {\n m.freeSourceIds = proto.freeSourceIds.map(i => parseInt(i, 10));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.namespace !== 'undefined') {\n toReturn['namespace'] = this.namespace;\n }\n if (typeof this.freeSourceIds !== 'undefined') {\n toReturn['freeSourceIds'] = this.freeSourceIds;\n }\n return toReturn;\n }\n}\nclass SetSyndicationStatusRequest {\n static fromProto(proto) {\n let m = new SetSyndicationStatusRequest();\n m = Object.assign(m, proto);\n if (proto.metadata) {\n m.metadata = proto.metadata.map(Metadata.fromProto);\n }\n if (proto.lastAttemptedOn) {\n m.lastAttemptedOn = new Date(proto.lastAttemptedOn);\n }\n if (proto.lastSucceededOn) {\n m.lastSucceededOn = new Date(proto.lastSucceededOn);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.sourceId !== 'undefined') {\n toReturn['sourceId'] = this.sourceId;\n }\n if (typeof this.listingUrl !== 'undefined') {\n toReturn['listingUrl'] = this.listingUrl;\n }\n if (typeof this.listingExternalId !== 'undefined') {\n toReturn['listingExternalId'] = this.listingExternalId;\n }\n if (typeof this.metadata !== 'undefined' && this.metadata !== null) {\n toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.lastAttemptedOn !== 'undefined' && this.lastAttemptedOn !== null) {\n toReturn['lastAttemptedOn'] = 'toApiJson' in this.lastAttemptedOn ? this.lastAttemptedOn.toApiJson() : this.lastAttemptedOn;\n }\n if (typeof this.lastSucceededOn !== 'undefined' && this.lastSucceededOn !== null) {\n toReturn['lastSucceededOn'] = 'toApiJson' in this.lastSucceededOn ? this.lastSucceededOn.toApiJson() : this.lastSucceededOn;\n }\n return toReturn;\n }\n}\nclass SubmitListingSyndicationRequest {\n static fromProto(proto) {\n let m = new SubmitListingSyndicationRequest();\n m = Object.assign(m, proto);\n if (proto.sourceIds) {\n m.sourceIds = proto.sourceIds.map(i => parseInt(i, 10));\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.sourceIds !== 'undefined') {\n toReturn['sourceIds'] = this.sourceIds;\n }\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.trigger !== 'undefined') {\n toReturn['trigger'] = this.trigger;\n }\n if (typeof this.force !== 'undefined') {\n toReturn['force'] = this.force;\n }\n return toReturn;\n }\n}\nclass SubmitListingSyndicationResponse {\n static fromProto(proto) {\n let m = new SubmitListingSyndicationResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.workflowId !== 'undefined') {\n toReturn['workflowId'] = this.workflowId;\n }\n return toReturn;\n }\n}\nclass SyndicationSetting {\n static fromProto(proto) {\n let m = new SyndicationSetting();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.deleted) {\n m.deleted = new Date(proto.deleted);\n }\n if (proto.lastSyndicationOnTime) {\n m.lastSyndicationOnTime = new Date(proto.lastSyndicationOnTime);\n }\n if (proto.lastSyndicationOffTime) {\n m.lastSyndicationOffTime = new Date(proto.lastSyndicationOffTime);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.sourceId !== 'undefined') {\n toReturn['sourceId'] = this.sourceId;\n }\n if (typeof this.syndicationOn !== 'undefined') {\n toReturn['syndicationOn'] = this.syndicationOn;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.deleted !== 'undefined' && this.deleted !== null) {\n toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;\n }\n if (typeof this.lastSyndicationOnTime !== 'undefined' && this.lastSyndicationOnTime !== null) {\n toReturn['lastSyndicationOnTime'] = 'toApiJson' in this.lastSyndicationOnTime ? this.lastSyndicationOnTime.toApiJson() : this.lastSyndicationOnTime;\n }\n if (typeof this.lastSyndicationOffTime !== 'undefined' && this.lastSyndicationOffTime !== null) {\n toReturn['lastSyndicationOffTime'] = 'toApiJson' in this.lastSyndicationOffTime ? this.lastSyndicationOffTime.toApiJson() : this.lastSyndicationOffTime;\n }\n if (typeof this.sourceLocationId !== 'undefined') {\n toReturn['sourceLocationId'] = this.sourceLocationId;\n }\n if (typeof this.associatedSocialServiceId !== 'undefined') {\n toReturn['associatedSocialServiceId'] = this.associatedSocialServiceId;\n }\n return toReturn;\n }\n}\nclass SyndicationStatus {\n static fromProto(proto) {\n let m = new SyndicationStatus();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.deleted) {\n m.deleted = new Date(proto.deleted);\n }\n if (proto.lastAttemptedOn) {\n m.lastAttemptedOn = new Date(proto.lastAttemptedOn);\n }\n if (proto.lastSucceededOn) {\n m.lastSucceededOn = new Date(proto.lastSucceededOn);\n }\n if (proto.detailedResults) {\n m.detailedResults = proto.detailedResults.map(DetailedSyndicationStatusResults.fromProto);\n }\n if (proto.metadata) {\n m.metadata = proto.metadata.map(Metadata.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.sourceId !== 'undefined') {\n toReturn['sourceId'] = this.sourceId;\n }\n if (typeof this.sourceLocationId !== 'undefined') {\n toReturn['sourceLocationId'] = this.sourceLocationId;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.deleted !== 'undefined' && this.deleted !== null) {\n toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;\n }\n if (typeof this.lastAttemptedOn !== 'undefined' && this.lastAttemptedOn !== null) {\n toReturn['lastAttemptedOn'] = 'toApiJson' in this.lastAttemptedOn ? this.lastAttemptedOn.toApiJson() : this.lastAttemptedOn;\n }\n if (typeof this.lastSucceededOn !== 'undefined' && this.lastSucceededOn !== null) {\n toReturn['lastSucceededOn'] = 'toApiJson' in this.lastSucceededOn ? this.lastSucceededOn.toApiJson() : this.lastSucceededOn;\n }\n if (typeof this.listingUrl !== 'undefined') {\n toReturn['listingUrl'] = this.listingUrl;\n }\n if (typeof this.listingExternalId !== 'undefined') {\n toReturn['listingExternalId'] = this.listingExternalId;\n }\n if (typeof this.lastSyncAttemptId !== 'undefined') {\n toReturn['lastSyncAttemptId'] = this.lastSyncAttemptId;\n }\n if (typeof this.lastSuccessfulAttemptId !== 'undefined') {\n toReturn['lastSuccessfulAttemptId'] = this.lastSuccessfulAttemptId;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.detailedResults !== 'undefined' && this.detailedResults !== null) {\n toReturn['detailedResults'] = 'toApiJson' in this.detailedResults ? this.detailedResults.toApiJson() : this.detailedResults;\n }\n if (typeof this.metadata !== 'undefined' && this.metadata !== null) {\n toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;\n }\n if (typeof this.force !== 'undefined') {\n toReturn['force'] = this.force;\n }\n return toReturn;\n }\n}\nclass TurnOffSyndicationSettingRequest {\n static fromProto(proto) {\n let m = new TurnOffSyndicationSettingRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.sourceId !== 'undefined') {\n toReturn['sourceId'] = this.sourceId;\n }\n return toReturn;\n }\n}\nclass TurnOnSyndicationSettingRequest {\n static fromProto(proto) {\n let m = new TurnOnSyndicationSettingRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.sourceId !== 'undefined') {\n toReturn['sourceId'] = this.sourceId;\n }\n if (typeof this.sourceLocationId !== 'undefined') {\n toReturn['sourceLocationId'] = this.sourceLocationId;\n }\n if (typeof this.associatedSocialServiceId !== 'undefined') {\n toReturn['associatedSocialServiceId'] = this.associatedSocialServiceId;\n }\n return toReturn;\n }\n}\nclass ValidationResult {\n static fromProto(proto) {\n let m = new ValidationResult();\n m = Object.assign(m, proto);\n if (proto.sourceId) {\n m.sourceId = parseInt(proto.sourceId, 10);\n }\n if (proto.fieldValidationResult) {\n m.fieldValidationResult = proto.fieldValidationResult.map(FieldValidationResult.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.isValid !== 'undefined') {\n toReturn['isValid'] = this.isValid;\n }\n if (typeof this.sourceId !== 'undefined') {\n toReturn['sourceId'] = this.sourceId;\n }\n if (typeof this.fieldValidationResult !== 'undefined' && this.fieldValidationResult !== null) {\n toReturn['fieldValidationResult'] = 'toApiJson' in this.fieldValidationResult ? this.fieldValidationResult.toApiJson() : this.fieldValidationResult;\n }\n return toReturn;\n }\n}\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Objects Index.\n// *********************************\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet SyndicationApiService = /*#__PURE__*/(() => {\n class SyndicationApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n submitListingSyndication(r) {\n const request = r.toApiJson ? r : new SubmitListingSyndicationRequest(r);\n return this.http.post(this._host + \"/listing_syndication.v1.SyndicationService/SubmitListingSyndication\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SubmitListingSyndicationResponse.fromProto(resp)));\n }\n dataValidation(r) {\n const request = r.toApiJson ? r : new DataValidationRequest(r);\n return this.http.post(this._host + \"/listing_syndication.v1.SyndicationService/DataValidation\", request.toApiJson(), this.apiOptions()).pipe(map(resp => DataValidationResponse.fromProto(resp)));\n }\n getMultiMostRecentSyndicationStatus(r) {\n const request = r.toApiJson ? r : new GetMultiMostRecentSyndicationStatusRequest(r);\n return this.http.post(this._host + \"/listing_syndication.v1.SyndicationService/GetMultiMostRecentSyndicationStatus\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiMostRecentSyndicationStatusResponse.fromProto(resp)));\n }\n setSyndicationStatus(r) {\n const request = r.toApiJson ? r : new SetSyndicationStatusRequest(r);\n return this.http.post(this._host + \"/listing_syndication.v1.SyndicationService/SetSyndicationStatus\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n turnOnSyndication(r) {\n const request = r.toApiJson ? r : new TurnOnSyndicationSettingRequest(r);\n return this.http.post(this._host + \"/listing_syndication.v1.SyndicationService/TurnOnSyndication\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n turnOffSyndication(r) {\n const request = r.toApiJson ? r : new TurnOffSyndicationSettingRequest(r);\n return this.http.post(this._host + \"/listing_syndication.v1.SyndicationService/TurnOffSyndication\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n setAssociatedSocialService(r) {\n const request = r.toApiJson ? r : new SetAssociatedSocialServiceRequest(r);\n return this.http.post(this._host + \"/listing_syndication.v1.SyndicationService/SetAssociatedSocialService\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listSyndicationSettings(r) {\n const request = r.toApiJson ? r : new ListSyndicationSettingRequest(r);\n return this.http.post(this._host + \"/listing_syndication.v1.SyndicationService/ListSyndicationSettings\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListSyndicationSettingResponse.fromProto(resp)));\n }\n setEditionSourceConfig(r) {\n const request = r.toApiJson ? r : new SetEditionSourceConfigRequest(r);\n return this.http.post(this._host + \"/listing_syndication.v1.SyndicationService/SetEditionSourceConfig\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getEditionSourceConfig(r) {\n const request = r.toApiJson ? r : new GetEditionSourceConfigRequest(r);\n return this.http.post(this._host + \"/listing_syndication.v1.SyndicationService/GetEditionSourceConfig\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetEditionSourceConfigResponse.fromProto(resp)));\n }\n enableSyndicationToSource(r) {\n const request = r.toApiJson ? r : new EnableSyndicationToSourceRequest(r);\n return this.http.post(this._host + \"/listing_syndication.v1.SyndicationService/EnableSyndicationToSource\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n SyndicationApiService.ɵfac = function SyndicationApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || SyndicationApiService)();\n };\n SyndicationApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SyndicationApiService,\n factory: SyndicationApiService.ɵfac,\n providedIn: 'root'\n });\n return SyndicationApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Index.\n// *********************************\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Access, DataValidationRequest, DataValidationResponse, DetailedSyndicationStatusResultValue, DetailedSyndicationStatusResults, EnableSyndicationToSourceRequest, FieldValidationResult, GetEditionSourceConfigRequest, GetEditionSourceConfigResponse, GetMultiMostRecentSyndicationStatusRequest, GetMultiMostRecentSyndicationStatusResponse, HostService, ListSyndicationSettingRequest, ListSyndicationSettingRequestOptionalListSyndicationSettingFilters, ListSyndicationSettingResponse, Metadata, PagedRequestOptions, PagedResponseMetadata, SetAssociatedSocialServiceRequest, SetEditionSourceConfigRequest, SetSyndicationStatusRequest, SubmitListingSyndicationRequest, SubmitListingSyndicationResponse, SyndicationApiService, SyndicationSetting, SyndicationStatus, TurnOffSyndicationSettingRequest, TurnOnSyndicationSettingRequest, ValidationResult };\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { AccuracyStatus } from '@vendasta/listing-products';\n\n@Pipe({\n name: 'accuracyText',\n standalone: false,\n})\nexport class AccuracyTextPipe implements PipeTransform {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n transform(value: unknown, ...args: unknown[]): unknown {\n const notFound = 'Not found';\n switch (value) {\n case AccuracyStatus.ACCURACY_STATUS_UNKNOWN:\n return notFound;\n case AccuracyStatus.ACCURACY_STATUS_UNAVAILABLE:\n return 'Source does not have reporting';\n case AccuracyStatus.ACCURACY_STATUS_ACCURATE:\n return 'Accurate';\n case AccuracyStatus.ACCURACY_STATUS_INACCURATE:\n return `Possible errors`;\n }\n return null;\n }\n}\n\nexport interface AccuracyText {\n Card: string;\n Table: string;\n Sidebar: string;\n}\n\nexport const ListingAccuracyText: Record = {\n [AccuracyStatus.ACCURACY_STATUS_INVALID]: {\n Card: 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.LISTING_NOT_FOUND',\n Table: 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.NOT_FOUND',\n Sidebar: 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.NOT_FOUND',\n },\n [AccuracyStatus.ACCURACY_STATUS_UNKNOWN]: {\n Card: 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.LISTING_NOT_FOUND',\n Table: 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.NOT_FOUND',\n Sidebar: 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.NOT_FOUND',\n },\n [AccuracyStatus.ACCURACY_STATUS_UNAVAILABLE]: {\n Card: 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.NO_REPORTING',\n Table: 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.NO_REPORTING',\n Sidebar: 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.NO_REPORTING',\n },\n [AccuracyStatus.ACCURACY_STATUS_ACCURATE]: {\n Card: 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.ACCURATE',\n Table: 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.ACCURATE',\n Sidebar: 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.ACCURATE_LISTING',\n },\n [AccuracyStatus.ACCURACY_STATUS_INACCURATE]: {\n Card: 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.FOUND_WITH_ERRORS',\n Table: 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.POSSIBLE_ERRORS',\n Sidebar: 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.FOUND_WITH_ERRORS',\n },\n};\n","import { Injectable } from '@angular/core';\nimport { LangChangeEvent, TranslateService } from '@ngx-translate/core';\nimport moment from 'moment';\nimport { Observable } from 'rxjs';\nimport { map, skip, startWith, tap } from 'rxjs/operators';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class LanguageService {\n public currentLang$: Observable;\n\n constructor(private translateService: TranslateService) {\n this.currentLang$ = this.translateService.onLangChange.pipe(\n skip(1),\n map((langChange: LangChangeEvent) => langChange.lang),\n tap((lang) => {\n moment.locale(lang);\n this.saveCurrentLang(lang);\n }),\n startWith(this.getCurrentLang()),\n );\n this.currentLang$.subscribe();\n }\n\n getCurrentLang(): string {\n const browserLang = this.translateService.getBrowserLang();\n if (localStorage && localStorage['locale']) {\n return localStorage['locale'];\n } else if (browserLang) {\n if (browserLang.startsWith('cs')) {\n return 'cs';\n } else if (browserLang.startsWith('fr')) {\n if (browserLang.toLowerCase().indexOf('ca') >= 0) {\n return 'fr-ca';\n }\n return 'fr-fr';\n } else if (browserLang.startsWith('nl')) {\n return 'nl';\n } else if (browserLang.startsWith('de')) {\n return 'de';\n } else if (browserLang.startsWith('es')) {\n return 'es-419';\n }\n }\n return 'en';\n }\n\n saveCurrentLang(locale: string): void {\n if (localStorage) {\n localStorage['locale'] = locale;\n }\n }\n}\n","import { Inject, Injectable } from '@angular/core';\nimport { LoadRequest, SortDirection, SortSetting, TableDataService } from '@vendasta/va-filter2-table';\nimport { delay, Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport {\n AGIDTOKEN,\n AppleSourceID,\n BingSourceID,\n FacebookSourceID,\n GoogleSourceID,\n InstagramSourceID,\n SyncData,\n XSourceID,\n} from '../../local-seo';\nimport { ListingSyncService } from '../listing-sync.service';\nimport { SyncStatus } from '@vendasta/listing-products';\n\nexport const SITE_TYPE_MAPPING = new Map([\n ['directory-site', `LISTING_SYNC.LSP_ADDON.COLUMNS.SITE_TYPE.TYPES.DIRECTORY`],\n ['map', `LISTING_SYNC.LSP_ADDON.COLUMNS.SITE_TYPE.TYPES.MAP`],\n ['social-site', `LISTING_SYNC.LSP_ADDON.COLUMNS.SITE_TYPE.TYPES.SOCIAL`],\n ['internet-data-provider', `LISTING_SYNC.LSP_ADDON.COLUMNS.SITE_TYPE.TYPES.AGGREGATOR`],\n ['app', `LISTING_SYNC.LSP_ADDON.COLUMNS.SITE_TYPE.TYPES.APP`],\n ['gps', `LISTING_SYNC.LSP_ADDON.COLUMNS.SITE_TYPE.TYPES.GPS`],\n ['review-site', `LISTING_SYNC.LSP_ADDON.COLUMNS.SITE_TYPE.TYPES.REVIEW`],\n ['search-engine', `LISTING_SYNC.LSP_ADDON.COLUMNS.SITE_TYPE.TYPES.SEARCH_ENGINE`],\n]);\n\n// mirrors getAccuracyText except for sorting with a private enum\nfunction sortAccuracy(a: SyncData, b: SyncData): number {\n const aCode = a?.accuracy?.status || 0;\n const bCode = b?.accuracy?.status || 0;\n return aCode > bCode ? 1 : bCode > aCode ? -1 : 0;\n}\n\nexport function getLastUpdated(lastUpdated: Date): string {\n if (lastUpdated === undefined) {\n return 'Never';\n }\n const lastUpdatedDate = new Date(lastUpdated);\n const differenceInTime = new Date().getTime() - lastUpdatedDate.getTime();\n const differenceInDays = Math.floor(differenceInTime / (1000 * 3600 * 24));\n\n if (differenceInDays === 0) {\n return 'Just updated';\n }\n\n return differenceInDays + ' days ago';\n}\n\nfunction sortSyncStatus(a: SyncData, b: SyncData): number {\n const aCode = a.syncStatus || 0;\n const bCode = b.syncStatus || 0;\n return aCode > bCode ? 1 : bCode > aCode ? -1 : 0;\n}\n\nfunction _columnTypeSpecificComparitor(field: string, a: SyncData, b: SyncData): number {\n switch (field) {\n // Date\n case 'lastUpdated': {\n const x = a.lastUpdatedDate;\n const y = b.lastUpdatedDate;\n\n // handle when date is 'never'\n if (x !== undefined && y === undefined) {\n return 1;\n } else if (x === undefined && y !== undefined) {\n return -1;\n } else if (x === undefined && y === undefined) {\n return 0;\n }\n\n return x > y ? 1 : y > x ? -1 : 0;\n }\n // Strings\n case 'name': {\n // normalize to lower case\n return a[field].localeCompare(b[field]);\n }\n // Numbers\n case 'score':\n case 'maxScore':\n return a[field] > b[field] ? 1 : b[field] > a[field] ? -1 : 0;\n // Enums\n case 'accuracyText':\n return sortAccuracy(a, b);\n case 'syncText':\n return sortSyncStatus(a, b);\n case 'type':\n return a.sourceType > b.sourceType ? 1 : b.sourceType > a.sourceType ? -1 : 0;\n default:\n // unknown column type, defaulting sort to number sort\n return a[field] > b[field] ? 1 : b[field] > a[field] ? -1 : 0;\n }\n\n return 0;\n}\n\nfunction _columnSort(sortOptions: SortSetting[], sortOptionIndex: number, a: SyncData, b: SyncData): number {\n const field = sortOptions[sortOptionIndex].field;\n const ascend = sortOptions[sortOptionIndex].direction === SortDirection.SORT_DIRECTION_ASCENDING;\n const result = _columnTypeSpecificComparitor(field, a, b);\n\n // If the sort results in a tie then progress to the next highest priority sort\n if (result === 0) {\n if (sortOptionIndex === sortOptions.length - 1) {\n return 0;\n }\n return _columnSort(sortOptions, sortOptionIndex + 1, a, b);\n }\n return ascend ? result : result * -1;\n}\n\nfunction columnSortEntry(sortOptions: SortSetting[], a: SyncData, b: SyncData): number {\n if (sortOptions.length === 0) {\n return 0;\n }\n return _columnSort(sortOptions, 0, a, b);\n}\n\nfunction applyDefaultSortOptions(sortOpts: SortSetting[]): void {\n const sortMaxScoreOpt: SortSetting = {\n ascendingLabel: 'LISTING_SYNC.TABLE_LABEL.SORT_NUMBER_ASC',\n descendingLabel: 'LISTING_SYNC.TABLE_LABEL.SORT_NUMBER_DSC',\n direction: SortDirection.SORT_DIRECTION_DESCENDING,\n displayName: 'LISTING_SYNC.COLUMN_HEADERS.MAX_SCORE',\n field: 'maxScore',\n id: 'scoreMax',\n };\n\n if (sortOpts.length === 0) {\n sortOpts.push(sortMaxScoreOpt);\n }\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class ListingSyncTableService implements TableDataService {\n totalResults$: Observable;\n // lspEnabled = false;\n private excludedSources = [\n AppleSourceID,\n FacebookSourceID,\n GoogleSourceID,\n InstagramSourceID,\n XSourceID,\n BingSourceID,\n ];\n\n constructor(\n @Inject(AGIDTOKEN) private accountGroupId$: Observable,\n private listingSyncService: ListingSyncService,\n ) {}\n\n load(request: LoadRequest): Observable {\n return this.listingSyncService.syncData$.pipe(\n map((sources: SyncData[]) => {\n sources = sources.filter((value) => {\n return !this.excludedSources.includes(+value.sourceId);\n });\n\n if (request.filters['search']) {\n sources = sources.filter((value) => {\n const query: string = request.filters['search'];\n return value.name.toLowerCase().startsWith(query.toLowerCase());\n });\n }\n\n if (request.filters['syncing_available']) {\n sources = sources.filter((value) => {\n return value.syncStatus !== SyncStatus.SYNC_STATUS_UNAVAILABLE;\n });\n }\n\n if (request.filters['manual_update_only']) {\n sources = sources.filter((value) => {\n return value.syncStatus === SyncStatus.SYNC_STATUS_UNAVAILABLE;\n });\n }\n\n const sortOpts = [...request.sortingOptions];\n applyDefaultSortOptions(sortOpts);\n\n const result = this.sortTableRows(sources, sortOpts);\n return result;\n }),\n delay(0),\n );\n }\n\n sortTableRows(data: SyncData[], options?: SortSetting[]): SyncData[] {\n const cmpGenerator = function (): (a: SyncData, b: SyncData) => number {\n return (a: SyncData, b: SyncData): number => {\n return columnSortEntry(options, a, b);\n };\n };\n\n data = data.sort(cmpGenerator());\n\n return data;\n }\n}\n","import { Inject, Injectable } from '@angular/core';\nimport {\n AccountsService,\n AppAndAddonActivationStatus,\n ListAppAndAddonActivationStatusFilter,\n} from '@vendasta/accounts/legacy';\nimport { AccountsService as Accounts } from '@vendasta/accounts';\nimport { FeatureFlagMultiResponse, FeatureFlagService } from '@vendasta/businesses';\nimport {\n BillingFrequency,\n GetListingDataRequest,\n GetListingDataResponse,\n GetListingSyncProAddonIdRequestInterface,\n GetListingSyncProAddonIdResponse,\n IsListingSyncProActiveRequest,\n IsListingSyncProActiveResponse,\n ListingSyncProApiService as ListingSyncProApiServiceSDK,\n ServiceProvider,\n} from '@vendasta/listing-sync-pro';\nimport { BehaviorSubject, combineLatest, Observable, of, Subject } from 'rxjs';\nimport { catchError, map, shareReplay, startWith, switchMap, tap } from 'rxjs/operators';\nimport {\n accuracyBadgeStyle,\n AGIDTOKEN,\n AppleSourceID,\n DEMO_PAID_EDITION,\n determineOriginalListingScore,\n DIRECT_SUBMIT_SOURCE_CONFIG,\n DirectSyncErrorMessage,\n FacebookSourceID,\n getSyncStatusText,\n GoogleSourceID,\n ListingsScoreSummaryData,\n LOCAL_SEO_UI_TRIGGER,\n MaterialIcons,\n PROD_PAID_EDITION,\n syncBadgeIcon,\n syncBadgeStyle,\n SyncData,\n SyncError,\n SyncingProgressSummaryData,\n Top4SourceID,\n} from '../local-seo';\nimport { UpgradeCTADialogService } from '../upgrade-cta-dialog/upgrade-cta-dialog.service';\nimport { ListingSyncApiService } from './listing-sync.api.service';\nimport { ListingScoreApiService } from './listing-score.api.service';\nimport {\n GetEditionSourceConfigRequest,\n GetEditionSourceConfigResponse,\n SetAssociatedSocialServiceRequest,\n SubmitListingSyndicationRequest,\n SyndicationApiService,\n TurnOffSyndicationSettingRequest,\n TurnOnSyndicationSettingRequest,\n} from '@vendasta/listing-syndication';\nimport {\n AccuracyStatus as LPAccuracyStatus,\n AnchorDataMatches,\n GetSyncDataRequest,\n GetSyncDataResponse,\n ListingProductsApiService,\n SourceAccuracy,\n SyncData as SyncDataProto,\n SyncStatus,\n} from '@vendasta/listing-products';\nimport { ListingAccuracyText } from './listing-sync-table/columns/presence-accuracy/accuracy-text.pipe';\nimport { TranslateService } from '@ngx-translate/core';\nimport { CategorySelectService } from '@galaxy/business-category';\nimport { LanguageService } from './language-service.service';\nimport { SnackbarService } from '@vendasta/galaxy/snackbar-service';\nimport { getLastUpdated, SITE_TYPE_MAPPING } from './listing-sync-table/listing-sync-table.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class ListingSyncService {\n public addonID$: Observable;\n\n private listingDataRetry$$ = new Subject();\n public listingData$: Observable;\n\n public syncData$: Observable;\n private syncDataRetry$$ = new Subject();\n\n private loadingSource$$ = new BehaviorSubject(0);\n public readonly loadingSource$: Observable = this.loadingSource$$.asObservable();\n\n private lspActivation$: Observable;\n public lspActive$: Observable;\n public activeLSPProvider$: Observable;\n\n public isLBFreeEdition$: Observable;\n public featureFlags$: Observable;\n\n public syncingProgressSummaryData$: Observable;\n public listingsScoreSummaryData$: Observable;\n public lspFacebookPages$: Observable;\n\n public listingSyncUnavailable$$: BehaviorSubject = new BehaviorSubject(false);\n public listingScoreUnavailable$: Observable;\n\n private activeProductIds$: Observable;\n private freeSources$: Observable;\n\n constructor(\n @Inject(AGIDTOKEN) private agid$: Observable,\n private apiService: ListingSyncApiService,\n private listingSyncProApiServiceSDK: ListingSyncProApiServiceSDK,\n private legacyAccountsService: AccountsService,\n private accountsService: Accounts,\n private upgradeCTADialogService: UpgradeCTADialogService,\n private featureFlagService: FeatureFlagService,\n private listingScoreApiService: ListingScoreApiService,\n private listingSyndicationService: SyndicationApiService,\n private listingProductsService: ListingProductsApiService,\n private translate: TranslateService,\n private categorySelectService: CategorySelectService,\n private languageService: LanguageService,\n private snackbar: SnackbarService,\n ) {\n this.syncData$ = this.syncDataRetry$$.pipe(\n startWith(null),\n switchMap(() =>\n this.agid$.pipe(\n switchMap((agid) => {\n return this.listingProductsService.getSyncData(\n new GetSyncDataRequest({\n businessId: agid,\n refresh: true,\n }),\n );\n }),\n switchMap((res: GetSyncDataResponse) => {\n return combineLatest(res?.sources?.map((src) => this.constructSyncData(src)));\n }),\n ),\n ),\n tap(() => this.loadingSource$$.next(0)),\n shareReplay(1),\n );\n\n this.listingData$ = this.listingDataRetry$$.pipe(\n startWith(null),\n switchMap(() =>\n this.agid$.pipe(\n switchMap((agid: string) => {\n const data = this.listingSyncProApiServiceSDK\n .getListingData(new GetListingDataRequest({ businessId: agid }))\n .pipe(\n catchError(() => {\n // Return an empty GetListingDataResponse if the API call fails\n this.listingSyncUnavailable$$.next(true);\n return of(new GetListingDataResponse({}));\n }),\n );\n return data;\n }),\n ),\n ),\n shareReplay(1),\n );\n\n this.lspFacebookPages$ = this.syncData$.pipe(\n map((data) => data?.find((source) => source.sourceId === FacebookSourceID)),\n );\n\n this.featureFlags$ = upgradeCTADialogService.partnerMarket$.pipe(\n switchMap((partnerMarket) =>\n featureFlagService.checkFeatureFlagsMulti(partnerMarket.partnerId, partnerMarket.marketId, [\n 'reauth_facebook_account_banner_2023',\n 'apple_oauth_connection',\n ]),\n ),\n shareReplay(1),\n );\n\n // We just want to catch errors for the listing score. I.E. the dreaded elasticsearch failure\n this.listingScoreUnavailable$ = this.agid$.pipe(\n switchMap((agid) => {\n return this.listingScoreApiService.getListingScore(agid, []).pipe(\n shareReplay(1),\n catchError((e) => {\n return of({ error: e });\n }),\n map((r) => !!r.error),\n );\n }),\n );\n\n this.isLBFreeEdition$ = this.agid$.pipe(\n switchMap((agid) => {\n const filters: ListAppAndAddonActivationStatusFilter = {\n appIds: ['MS'],\n statuses: [AppAndAddonActivationStatus.ACTIVATED, AppAndAddonActivationStatus.CANCELED],\n };\n return legacyAccountsService.listAppsAndAddonsActivationStatusesForBusiness(agid, filters).pipe(\n map((activations) => {\n if (activations?.length > 0) {\n switch (activations[0].editionId) {\n case DEMO_PAID_EDITION:\n return false;\n case PROD_PAID_EDITION:\n return false;\n }\n }\n return true;\n }),\n shareReplay(1),\n );\n }),\n );\n\n this.addonID$ = this.agid$.pipe(\n switchMap((agid) =>\n this.listingSyncProApiServiceSDK.getListingSyncProAddonId({\n accountGroupId: agid,\n provider: ServiceProvider.SERVICE_PROVIDER_UNSPECIFIED,\n billingFrequency: BillingFrequency.BILLING_FREQUENCY_MONTHLY,\n } as GetListingSyncProAddonIdRequestInterface),\n ),\n catchError(() => of(null)),\n map((resp: GetListingSyncProAddonIdResponse) => (resp && resp.addonId ? resp.addonId : null)),\n shareReplay(1),\n );\n\n this.lspActivation$ = this.agid$.pipe(\n switchMap((agid) =>\n this.listingSyncProApiServiceSDK.isListingSyncProActiveForAccount(\n new IsListingSyncProActiveRequest({\n accountGroupId: agid,\n }),\n ),\n ),\n catchError(() => of(null)),\n shareReplay(1),\n );\n\n this.lspActive$ = this.lspActivation$.pipe(map((resp: IsListingSyncProActiveResponse) => resp?.isActive));\n\n this.activeLSPProvider$ = this.lspActivation$.pipe(\n map((data) => (data.isActive ? data.provider : ServiceProvider.SERVICE_PROVIDER_UNSPECIFIED)),\n );\n\n this.syncingProgressSummaryData$ = this.syncData$.pipe(\n map((data) => {\n return {\n totalSourcesCount:\n data\n ?.map((s) => {\n return 1 + s.ecosystemSources?.length;\n })\n .reduce((sum, current) => sum + current, 0) || 0,\n syncedSourcesCount:\n data\n ?.map((s) => {\n return s.syncStatus === SyncStatus.SYNC_STATUS_SUCCESS ||\n s.syncStatus === SyncStatus.SYNC_STATUS_SUBMITTED\n ? 1 + s.ecosystemSources?.length\n : 0;\n })\n .reduce((sum, current) => sum + current, 0) || 0,\n syncInProgressSourcesCount:\n data\n ?.map((s) => {\n const inProgress =\n s.syncStatus === SyncStatus.SYNC_STATUS_SYNCING ||\n s.syncStatus === SyncStatus.SYNC_STATUS_PARTIALLY_SYNCED;\n return inProgress ? 1 + s.ecosystemSources?.length : 0;\n })\n .reduce((sum, current) => sum + current, 0) || 0,\n notSyncingSourcesCount:\n data\n ?.map((s) => {\n const notSyncing =\n s.syncStatus === SyncStatus.SYNC_STATUS_UNAVAILABLE ||\n s.syncStatus === SyncStatus.SYNC_STATUS_UNSET ||\n s.syncStatus === SyncStatus.SYNC_STATUS_FAILED ||\n s.syncStatus === SyncStatus.SYNC_STATUS_CLAIMED;\n return notSyncing ? 1 + s.ecosystemSources?.length : 0;\n })\n .reduce((sum, current) => sum + current, 0) || 0,\n };\n }),\n shareReplay(1),\n );\n\n this.listingsScoreSummaryData$ = this.listingData$.pipe(\n map((data) => {\n return {\n listingScore: data?.scores?.totalScore ? data.scores?.totalScore : 0,\n totalAcceptedSources: data?.totalAcceptedSources ? data.totalAcceptedSources : 0,\n totalSources: data?.totalSources ? data.totalSources : 0,\n originalListingScore: determineOriginalListingScore(data?.scores),\n industryAverageListingsScore: data?.scores?.industryAverage ? data.scores?.industryAverage : 0,\n ninetyFifthPercentile: data?.scores?.ninetyFifthPercentile ? data.scores?.ninetyFifthPercentile : 0,\n totalAccurate: data?.totalAccuracyGoodSources ? data.totalAccuracyGoodSources : 0,\n totalPossibleErrors: data?.totalPossibleErrors ? data.totalPossibleErrors : 0,\n totalNotFound: data?.totalNotFound ? data.totalNotFound : 0,\n history:\n data?.scores?.listingScoreHistory?.map((history) => {\n return {\n name: history?.timestamp,\n value: history?.score || 0,\n };\n }) || [],\n };\n }),\n );\n\n this.activeProductIds$ = this.agid$.pipe(\n switchMap((businessID) => this.accountsService.getMultiActivationStatuses([businessID])),\n map((activations) => activations.map((activation) => activation.productId)),\n shareReplay(1),\n );\n\n this.freeSources$ = this.upgradeCTADialogService.partnerMarket$.pipe(\n switchMap((pm) =>\n this.listingSyndicationService.getEditionSourceConfig(\n new GetEditionSourceConfigRequest({\n namespace: pm.partnerId,\n }),\n ),\n ),\n map((resp: GetEditionSourceConfigResponse) => {\n return resp?.freeSourceIds || [];\n }),\n shareReplay(1),\n );\n }\n\n retrySyncData(sourceId: number): void {\n this.loadingSource$$.next(sourceId);\n this.syncDataRetry$$.next(null);\n }\n\n disconnectService$(url: string, ssid: string, clientTags = []): Observable {\n return this.apiService.disconnectService(url, ssid, clientTags);\n }\n\n constructSyncData(src: SyncDataProto): Observable {\n // If the account does not have a profile URL, set it to the listing URL\n if (\n src.account &&\n !src.account.profileUrl &&\n src.listingUrl &&\n (+src.sourceId === GoogleSourceID || +src.sourceId === AppleSourceID)\n ) {\n src.account.profileUrl = src.listingUrl;\n }\n\n const errors =\n src?.syncDetails?.detailedResults\n ?.filter((result) => {\n return result?.value?.errorMessage;\n })\n .map((result) => {\n return new DirectSyncErrorMessage(\n this.translate,\n this.categorySelectService,\n this.languageService,\n result?.value?.errorMessage,\n );\n }) || [];\n\n let errorMessages$: Observable = of([]);\n if (errors.length > 0) {\n errorMessages$ = combineLatest(errors.map((error) => error.translatedError$));\n }\n return errorMessages$.pipe(\n map((errorMessages) => {\n const config = DIRECT_SUBMIT_SOURCE_CONFIG[+src.sourceId];\n\n // TODO: Remove when Top4 accuracy is implemented\n if (+src.sourceId === Top4SourceID && src.isSyncingEnabled) {\n src.score = 2;\n }\n\n return {\n sourceId: +src.sourceId,\n name: src.name,\n accuracy: new SourceAccuracy({\n anchorData: src.accuracy?.anchorData,\n anchorDataMatches: src.accuracy?.anchorDataMatches || new AnchorDataMatches({}),\n status: src.accuracy?.status,\n }),\n score: src.score || 0,\n maxScore: src.maxScore,\n listingUrl: src.listingUrl,\n listingId: src.listingId,\n sourceIcon: src.iconUrl,\n\n sourceHasReporting: src.accuracy?.status !== LPAccuracyStatus.ACCURACY_STATUS_UNAVAILABLE,\n account: src.account,\n additionalAccounts: src.additionalAccounts,\n connectLink: src.connectLink,\n clientTags: src.account?.clientTags,\n\n syncDetails: src.syncDetails,\n syncStatus: src.syncStatus || 0,\n isSyncingEnabled: src.isSyncingEnabled,\n isListingVerified: src.isListingVerified,\n errors: errors,\n hidden: src.hidden,\n provider: src.provider,\n requirement: src.requirement,\n sourceType: this.translate.instant(SITE_TYPE_MAPPING.get(src.sourceType || 'directory-site')),\n ecosystemSources: src.ecosystemSources || [],\n\n errorMessages: errorMessages,\n syncInfo: {\n icon: syncBadgeIcon(src),\n style: syncBadgeStyle(src),\n text: getSyncStatusText(\n this.translate,\n +src.sourceId,\n src.name,\n src.listingUrl && src.listingUrl.length > 0,\n src.accuracy.status,\n src.account?.connectionId?.length > 0 || !config?.RequiresAccount,\n src.isSyncingEnabled,\n src.locked,\n src.account?.tokenBroken,\n src.account?.connectionId?.length > 0 && src.account.isVerified,\n src.account?.connectionId && !src.account?.isAuthenticated,\n src.syncStatus || 0,\n ),\n },\n accuracyInfo: {\n style: accuracyBadgeStyle(src),\n text: this.translate.instant(ListingAccuracyText[src.accuracy?.status]?.Card),\n icon:\n src.accuracy?.status === LPAccuracyStatus.ACCURACY_STATUS_ACCURATE\n ? MaterialIcons.DONE\n : MaterialIcons.NONE,\n },\n locked: src.locked,\n lastUpdatedDate: src.accuracy?.lastScraped || src?.syncDetails?.lastAttemptedOn,\n lastUpdated: getLastUpdated(src.accuracy?.lastScraped || src?.syncDetails?.lastAttemptedOn),\n };\n }),\n );\n }\n\n updateSyncing(sourceId: number, ssid: string, newSyncState: boolean): Observable {\n ssid = newSyncState ? ssid : '';\n\n let request: Observable;\n const syndicationSettingRequest = this.agid$.pipe(\n switchMap((agid) => {\n if (newSyncState) {\n const turnOnSyndicationRequest = new TurnOnSyndicationSettingRequest({\n businessId: agid,\n sourceId: sourceId.toString(),\n associatedSocialServiceId: ssid,\n });\n return this.listingSyndicationService.turnOnSyndication(turnOnSyndicationRequest);\n }\n\n return this.listingSyndicationService.turnOffSyndication(\n new TurnOffSyndicationSettingRequest({\n businessId: agid,\n sourceId: sourceId.toString(),\n }),\n );\n }),\n );\n if (newSyncState) {\n const syncRequest = this.agid$.pipe(\n switchMap((agid) => {\n return this.listingSyndicationService.submitListingSyndication(\n new SubmitListingSyndicationRequest({\n accountGroupId: agid,\n sourceIds: [sourceId],\n trigger: LOCAL_SEO_UI_TRIGGER,\n }),\n );\n }),\n );\n request = syndicationSettingRequest.pipe(switchMap(() => syncRequest));\n } else {\n request = syndicationSettingRequest;\n }\n\n return request;\n }\n\n setSelectedSocialService(selectedSSID: string, sourceId: number): Observable {\n return this.agid$.pipe(\n switchMap((agid) => {\n return this.listingSyndicationService\n .setAssociatedSocialService(\n new SetAssociatedSocialServiceRequest({\n businessId: agid,\n sourceId: sourceId.toString(),\n associatedSocialServiceId: selectedSSID,\n }),\n )\n .pipe(switchMap(() => this.updateSyncing(sourceId, '', false)));\n }),\n );\n }\n}\n","import { Component, Inject, Input, OnDestroy, OnInit } from '@angular/core';\nimport { AccountGroup, AccountGroupService, ProjectionFilter } from '@galaxy/account-group';\nimport {\n AccountsService,\n AppAndAddonActivationStatus,\n ListAppAndAddonActivationStatusFilter,\n} from '@vendasta/accounts/legacy';\nimport { combineLatest, EMPTY, Observable, of, Subscription } from 'rxjs';\nimport { catchError, map, shareReplay, switchMap } from 'rxjs/operators';\nimport { BusinessCenterService } from '../business-center/business-center.service';\nimport { AGIDTOKEN } from '../local-seo';\nimport { RepcoreApiService } from '../repcore-api/repcore-api.service';\nimport { ListingSyncService } from './listing-sync.service';\nimport { GetMultiListingProfileRequest, ListingProfileApiService } from '@vendasta/listing-products';\nimport { HttpErrorResponse } from '@angular/common/http';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { ActivatedRoute, Router } from '@angular/router';\n\n@Component({\n selector: 'local-seo-listings-management',\n templateUrl: './listings-management.component.html',\n styleUrls: ['./listings-management.component.scss'],\n standalone: false,\n})\nexport class ListingsManagementComponent implements OnInit, OnDestroy {\n @Input() isListingfromEmbedded = false;\n\n accountGroup$: Observable;\n hasCategoryNotFound: boolean;\n redirectLink: string;\n facebookReauthFeatureFlag$: Observable;\n showFacebookReconnectBanner$: Observable;\n isSmActive$: Observable;\n businessAppReconnectLink: string;\n businessAppCustomName: string;\n lspUpgradeHidden$: Observable;\n missingGeoLocation$: Observable;\n listingProfileRedirectLink: string;\n\n public listingSyncUnavailable$: Observable;\n public listingScoreUnavailable$: Observable;\n\n private readonly subscriptions: Subscription[] = [];\n\n showTwitterReconnectBanner$: Observable = this.accountGroupId$.pipe(\n switchMap((agid) => this.repCoreService.getTwitterCustomAppConnections(agid)),\n map((response) => response.reconnectGroup?.length > 0),\n );\n\n constructor(\n @Inject(AGIDTOKEN) private accountGroupId$: Observable,\n private repCoreService: RepcoreApiService,\n private accountGroupService: AccountGroupService,\n private businessCenterService: BusinessCenterService,\n private accountsService: AccountsService,\n private listingSyncService: ListingSyncService,\n private listingProfileService: ListingProfileApiService,\n private snackBar: MatSnackBar,\n private router: Router,\n private route: ActivatedRoute,\n ) {\n this.lspUpgradeHidden$ = combineLatest([this.listingSyncService.lspActive$, this.listingSyncService.addonID$]).pipe(\n map(([active, addonID]: [boolean, string]) => !active && !addonID),\n );\n this.facebookReauthFeatureFlag$ = this.listingSyncService.featureFlags$.pipe(\n map((flags) => flags['reauth_facebook_account_banner_2023']),\n );\n\n this.listingSyncUnavailable$ = this.listingSyncService.listingSyncUnavailable$$.asObservable();\n this.listingScoreUnavailable$ = this.listingSyncService.listingScoreUnavailable$;\n\n this.listingProfileRedirectLink = this.router\n .createUrlTree(['../listing-profile'], { relativeTo: this.route })\n .toString();\n\n this.missingGeoLocation$ = this.accountGroupId$.pipe(\n switchMap((agid) =>\n this.listingProfileService\n .getMulti(\n new GetMultiListingProfileRequest({\n businessIds: [agid],\n projectionFilter: new ProjectionFilter({\n napData: true,\n }),\n }),\n )\n .pipe(\n catchError((err: HttpErrorResponse) => {\n const message = err.error?.message ? err.error.message : 'Unknown error';\n this.snackBar.open(message, '', { politeness: 'assertive', duration: 5000 });\n return EMPTY;\n }),\n map(\n (res) =>\n !res.listingProfiles[0].listingProfile?.napData?.location?.latitude &&\n !res.listingProfiles[0].listingProfile?.napData?.location?.longitude,\n ),\n ),\n ),\n shareReplay(1),\n );\n }\n\n ngOnInit(): void {\n this.accountGroupId$.subscribe((agid) => {\n this.subscriptions.push(\n this.accountGroupService\n .get(agid, new ProjectionFilter({ accountGroupExternalIdentifiers: true }))\n .subscribe((data) => {\n const vCat = data.externalIdentifiers.vCategoryIds;\n this.hasCategoryNotFound = vCat.length === 0 || (vCat.length === 1 && vCat.includes('not_found'));\n }),\n );\n this.redirectLink = '/edit/account/' + agid + '/app/listing-profile';\n });\n\n this.isSmActive$ = this.accountGroupId$.pipe(\n switchMap((agid) => {\n return this.accountsService\n .listAppsAndAddonsActivationStatusesForBusiness(agid, {\n appIds: ['SM'],\n statuses: [AppAndAddonActivationStatus.ACTIVATED, AppAndAddonActivationStatus.CANCELED],\n } as ListAppAndAddonActivationStatusFilter)\n .pipe(\n map((data) => {\n return (\n data?.map(\n (d) =>\n d.status === AppAndAddonActivationStatus.ACTIVATED ||\n d.status === AppAndAddonActivationStatus.CANCELED,\n )?.length > 0\n );\n }),\n );\n }),\n );\n\n this.showFacebookReconnectBanner$ = combineLatest([\n this.accountGroupId$,\n this.facebookReauthFeatureFlag$,\n this.isSmActive$,\n ]).pipe(\n switchMap(([agid, isFbFeatureFlagEnabled, isSmActive]) => {\n if (isFbFeatureFlagEnabled) {\n if (isSmActive) {\n this.businessCenterService.getVBCEntryUrl(agid, 'settings/connections').subscribe((data) => {\n this.businessAppReconnectLink = data.url;\n this.businessAppCustomName = data.name;\n });\n }\n\n return this.repCoreService.getFacebookAppConnections(agid).pipe(\n map((response) => {\n return response.reconnectNeeded;\n }),\n );\n }\n return of(false);\n }),\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions.forEach((s) => s.unsubscribe());\n }\n}\n","
    \n
    \n \n
    \n \n
    \n\n
    \n @if (showTwitterReconnectBanner$ | async) {\n \n {{ 'COMMON.TWITTER_RECONNECT' | translate }}\n — {{ 'COMMON.TWITTER_BANNER_RECONNECT_MESSAGE' | translate }}\n \n }\n @if (listingScoreUnavailable$ | async) {\n \n {{ 'COMMON.LISTING_SCORE_UNAVAILABLE' | translate }}\n \n }\n @if (listingSyncUnavailable$ | async) {\n \n {{ 'COMMON.LISTING_SYNC_UNAVAILABLE' | translate }}\n \n }\n @if (showFacebookReconnectBanner$ | async) {\n \n @if (isSmActive$ | async) {\n {{ 'COMMON.RECONNECT_FACEBOOK.TITLE' | translate }}\n —\n \n } @else {\n {{ 'COMMON.RECONNECT_FACEBOOK.TITLE' | translate }}\n — {{ 'COMMON.RECONNECT_FACEBOOK.NO_SM_DESCRIPTION' | translate }}\n }\n \n }\n\n @if (hasCategoryNotFound) {\n \n
    \n
    \n }\n\n
    \n
    \n \n \n \n \n {{ 'LISTING_SYNC.YOUR_BUSINESS_PROFILE' | translate }}\n \n \n \n \n \n
    \n
    \n \n
    \n
    \n\n
    \n
    \n
    {{ 'LISTING_SYNC.PRIMARY_SOURCES.TITLE' | translate }}
    \n

    {{ 'LISTING_SYNC.PRIMARY_SOURCES.SUBTITLE' | translate }}

    \n \n
    \n
    \n\n @if ((lspUpgradeHidden$ | async) === false) {\n
    \n
    \n
    {{ 'LISTING_SYNC.ADDITIONAL_SOURCES.TITLE' | translate }}
    \n

    {{ 'LISTING_SYNC.ADDITIONAL_SOURCES.SUBTITLE' | translate }}

    \n \n
    \n
    \n }\n
    \n","import * as i0 from '@angular/core';\nimport { Component, Input, NgModule } from '@angular/core';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nconst _c0 = a0 => [\"segment\", a0];\nconst _c1 = (a0, a1) => ({\n \"segment-main\": true,\n \"expandable\": a0,\n \"expanded\": a1\n});\nfunction NgxJsonViewerComponent_section_1_div_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"div\", 9);\n }\n}\nfunction NgxJsonViewerComponent_section_1_span_7_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\", 10);\n i0.ɵɵtext(1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const segment_r2 = i0.ɵɵnextContext().$implicit;\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate(segment_r2.description);\n }\n}\nfunction NgxJsonViewerComponent_section_1_section_8_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"section\", 11);\n i0.ɵɵelement(1, \"ngx-json-viewer\", 12);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const segment_r2 = i0.ɵɵnextContext().$implicit;\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"json\", segment_r2.value)(\"expanded\", ctx_r2.expanded)(\"depth\", ctx_r2.depth)(\"_currentDepth\", ctx_r2._currentDepth + 1);\n }\n}\nfunction NgxJsonViewerComponent_section_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"section\", 2)(1, \"section\", 3);\n i0.ɵɵlistener(\"click\", function NgxJsonViewerComponent_section_1_Template_section_click_1_listener() {\n const segment_r2 = i0.ɵɵrestoreView(_r1).$implicit;\n const ctx_r2 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r2.toggle(segment_r2));\n });\n i0.ɵɵtemplate(2, NgxJsonViewerComponent_section_1_div_2_Template, 1, 0, \"div\", 4);\n i0.ɵɵelementStart(3, \"span\", 5);\n i0.ɵɵtext(4);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(5, \"span\", 6);\n i0.ɵɵtext(6, \": \");\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(7, NgxJsonViewerComponent_section_1_span_7_Template, 2, 1, \"span\", 7);\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(8, NgxJsonViewerComponent_section_1_section_8_Template, 2, 4, \"section\", 8);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const segment_r2 = ctx.$implicit;\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction1(6, _c0, \"segment-type-\" + segment_r2.type));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction2(8, _c1, ctx_r2.isExpandable(segment_r2), segment_r2.expanded));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.isExpandable(segment_r2));\n i0.ɵɵadvance(2);\n i0.ɵɵtextInterpolate(segment_r2.key);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngIf\", !segment_r2.expanded || !ctx_r2.isExpandable(segment_r2));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", segment_r2.expanded && ctx_r2.isExpandable(segment_r2));\n }\n}\nlet NgxJsonViewerComponent = /*#__PURE__*/(() => {\n class NgxJsonViewerComponent {\n constructor() {\n this.expanded = true;\n this.depth = -1;\n this._currentDepth = 0;\n this.segments = [];\n }\n ngOnChanges() {\n this.segments = [];\n // remove cycles\n this.json = this.decycle(this.json);\n if (typeof this.json === 'object') {\n Object.keys(this.json).forEach(key => {\n this.segments.push(this.parseKeyValue(key, this.json[key]));\n });\n } else {\n this.segments.push(this.parseKeyValue(`(${typeof this.json})`, this.json));\n }\n }\n isExpandable(segment) {\n return segment.type === 'object' || segment.type === 'array';\n }\n toggle(segment) {\n if (this.isExpandable(segment)) {\n segment.expanded = !segment.expanded;\n }\n }\n parseKeyValue(key, value) {\n const segment = {\n key: key,\n value: value,\n type: undefined,\n description: '' + value,\n expanded: this.isExpanded()\n };\n switch (typeof segment.value) {\n case 'number':\n {\n segment.type = 'number';\n break;\n }\n case 'boolean':\n {\n segment.type = 'boolean';\n break;\n }\n case 'function':\n {\n segment.type = 'function';\n break;\n }\n case 'string':\n {\n segment.type = 'string';\n segment.description = '\"' + segment.value + '\"';\n break;\n }\n case 'undefined':\n {\n segment.type = 'undefined';\n segment.description = 'undefined';\n break;\n }\n case 'object':\n {\n // yea, null is object\n if (segment.value === null) {\n segment.type = 'null';\n segment.description = 'null';\n } else if (Array.isArray(segment.value)) {\n segment.type = 'array';\n segment.description = 'Array[' + segment.value.length + '] ' + JSON.stringify(segment.value);\n } else if (segment.value instanceof Date) {\n segment.type = 'date';\n } else {\n segment.type = 'object';\n segment.description = 'Object ' + JSON.stringify(segment.value);\n }\n break;\n }\n }\n return segment;\n }\n isExpanded() {\n return this.expanded && !(this.depth > -1 && this._currentDepth >= this.depth);\n }\n // https://github.com/douglascrockford/JSON-js/blob/master/cycle.js\n decycle(object) {\n const objects = new WeakMap();\n return function derez(value, path) {\n let old_path;\n let nu;\n if (typeof value === 'object' && value !== null && !(value instanceof Boolean) && !(value instanceof Date) && !(value instanceof Number) && !(value instanceof RegExp) && !(value instanceof String)) {\n old_path = objects.get(value);\n if (old_path !== undefined) {\n return {\n $ref: old_path\n };\n }\n objects.set(value, path);\n if (Array.isArray(value)) {\n nu = [];\n value.forEach(function (element, i) {\n nu[i] = derez(element, path + '[' + i + ']');\n });\n } else {\n nu = {};\n Object.keys(value).forEach(function (name) {\n nu[name] = derez(value[name], path + '[' + JSON.stringify(name) + ']');\n });\n }\n return nu;\n }\n return value;\n }(object, '$');\n }\n }\n NgxJsonViewerComponent.ɵfac = function NgxJsonViewerComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || NgxJsonViewerComponent)();\n };\n NgxJsonViewerComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: NgxJsonViewerComponent,\n selectors: [[\"ngx-json-viewer\"]],\n inputs: {\n json: \"json\",\n expanded: \"expanded\",\n depth: \"depth\",\n _currentDepth: \"_currentDepth\"\n },\n standalone: false,\n features: [i0.ɵɵNgOnChangesFeature],\n decls: 2,\n vars: 1,\n consts: [[1, \"ngx-json-viewer\"], [3, \"ngClass\", 4, \"ngFor\", \"ngForOf\"], [3, \"ngClass\"], [3, \"click\", \"ngClass\"], [\"class\", \"toggler\", 4, \"ngIf\"], [1, \"segment-key\"], [1, \"segment-separator\"], [\"class\", \"segment-value\", 4, \"ngIf\"], [\"class\", \"children\", 4, \"ngIf\"], [1, \"toggler\"], [1, \"segment-value\"], [1, \"children\"], [3, \"json\", \"expanded\", \"depth\", \"_currentDepth\"]],\n template: function NgxJsonViewerComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"section\", 0);\n i0.ɵɵtemplate(1, NgxJsonViewerComponent_section_1_Template, 9, 11, \"section\", 1);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", ctx.segments);\n }\n },\n dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, NgxJsonViewerComponent],\n styles: [\"@charset \\\"UTF-8\\\";.ngx-json-viewer[_ngcontent-%COMP%]{font-family:var(--ngx-json-font-family, monospace);font-size:var(--ngx-json-font-size, 1em);width:100%;height:100%;overflow:hidden;position:relative}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%]{padding:2px;margin:1px 1px 1px 12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%]{word-wrap:break-word}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]{position:absolute;margin-left:-14px;margin-top:3px;font-size:.8em;line-height:1.2em;vertical-align:middle;color:var(--ngx-json-toggler, #787878)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]:after{display:inline-block;content:\\\"\\\\25ba\\\";transition:transform .1s ease-in}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-key, #4E187C)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-separator[_ngcontent-%COMP%]{color:var(--ngx-json-separator, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-value, #000)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .children[_ngcontent-%COMP%]{margin-left:12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-string[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-string, #FF6B6B)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-number[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-number, #009688)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-boolean[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-boolean, #B938A4)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-date[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-date, #05668D)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-array, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-object, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-function[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-function, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-null, #fff)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-undefined, #fff)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-null-bg, red)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%]{white-space:nowrap}.ngx-json-viewer[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]:after{transform:rotate(90deg)}.ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]{cursor:pointer}\"]\n });\n return NgxJsonViewerComponent;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet NgxJsonViewerModule = /*#__PURE__*/(() => {\n class NgxJsonViewerModule {}\n NgxJsonViewerModule.ɵfac = function NgxJsonViewerModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || NgxJsonViewerModule)();\n };\n NgxJsonViewerModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: NgxJsonViewerModule\n });\n NgxJsonViewerModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n return NgxJsonViewerModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { NgxJsonViewerComponent, NgxJsonViewerModule };\n","import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'local-seo-color-icon',\n templateUrl: './color-icon.component.html',\n styleUrls: ['./color-icon.component.scss'],\n standalone: false,\n})\nexport class ColorIconComponent {\n @Input() backgroundColor: 'green' | 'dark-green' | 'grey' | 'white' | 'default' = 'default';\n @Input() iconColor: 'green' | 'dark-green' | 'grey' | 'white' = 'white';\n @Input() icon = 'close';\n @Input() text: string;\n @Input() backgroundSize = 18;\n @Input() iconSize = 16;\n}\n","
    \n \n \n check\n \n \n sync\n \n \n check_circle\n \n \n check_circle_outline\n \n \n close\n \n
    \n
    {{ text }}
    \n\n","import { Component, Inject } from '@angular/core';\nimport { MAT_DIALOG_DATA } from '@angular/material/dialog';\n\n@Component({\n selector: 'local-seo-disconnect-service-modal',\n templateUrl: './disconnect-service-modal.component.html',\n styleUrls: ['./disconnect-service-modal.component.scss'],\n standalone: false,\n})\nexport class DisconnectServiceModalComponent {\n source: string;\n\n constructor(@Inject(MAT_DIALOG_DATA) public data: any) {\n this.source = data.source;\n }\n}\n","\n \n \n {{ 'SHARED.DISCONNECT_MODAL.TITLE' | translate : { source: source } }}\n \n \n \n
    \n {{ 'SHARED.DISCONNECT_MODAL.TEXT' | translate : { source: source } }}\n
    \n
    \n \n \n \n \n
    \n","import { Injectable } from '@angular/core';\nimport { HttpClient, HttpErrorResponse, HttpHeaders } from '@angular/common/http';\nimport { Observable, throwError as observableThrowError } from 'rxjs';\n\nimport { catchError, map } from 'rxjs/operators';\nimport { SessionService } from '@galaxy/core';\n\nexport class ApiError implements Error {\n name: string;\n message: string;\n code: number;\n data?: Record;\n\n constructor(message: string, code: number, data?: Record) {\n this.name = `ApiError${code}`;\n this.message = message;\n this.code = code;\n this.data = data;\n }\n}\n\n@Injectable()\nexport class VApiService {\n apiOptions: any;\n\n constructor(private http: HttpClient, private sessionService: SessionService) {\n this.apiOptions = {\n headers: new HttpHeaders({\n Authorization: `Bearer ${sessionService.getSessionId()}`,\n 'Content-Type': 'application/json',\n }),\n withCredentials: true,\n responseType: 'json',\n };\n }\n\n public get(url: string, options?: any): Observable {\n return this.http\n .get(url, Object.assign({}, this.apiOptions, options))\n .pipe(map(this.extractData), catchError(this.handleError));\n }\n\n public put(url: string, body: any, options?: any): Observable {\n return this.http\n .put(url, body, Object.assign({}, this.apiOptions, options))\n .pipe(map(this.extractData), catchError(this.handleError));\n }\n\n public post(url: string, body: any, options?: any): Observable {\n return this.http\n .post(url, body, Object.assign({}, this.apiOptions, options))\n .pipe(map(this.extractData), catchError(this.handleError));\n }\n\n public generateUrlWithParams(url: string, params: Record): string {\n if (Object.keys(params).length === 0) {\n return url;\n }\n\n const finalUrl = url + '?';\n const finalParams = Object.keys(params)\n .map((param_key) => `${param_key}=${params[param_key]}`)\n .join('&');\n return finalUrl + finalParams;\n }\n\n public generateRepeatedUrlParams(paramName: string, params: string[]): string {\n let repeatedParams = '';\n params.forEach((id, index) => {\n if (index !== 0) {\n repeatedParams += '&';\n }\n repeatedParams += paramName + '=' + id;\n });\n return repeatedParams;\n }\n\n private extractData(res: any): any {\n try {\n return 'data' in res ? res.data : res;\n } catch (error) {\n return res;\n }\n }\n\n private handleError(error: HttpErrorResponse): Observable {\n try {\n const errorInfo = error;\n const err = new ApiError(errorInfo.message, errorInfo.status, errorInfo.error);\n return observableThrowError(err);\n } catch (error) {\n const err = new ApiError('Unknown Error', 500);\n return observableThrowError(err);\n }\n }\n}\n","import { Component, Inject } from '@angular/core';\nimport { MAT_DIALOG_DATA } from '@angular/material/dialog';\n\n@Component({\n selector: 'local-seo-connected-account-modal',\n templateUrl: './connected-account-modal.component.html',\n styleUrls: ['./connected-account-modal.component.scss'],\n standalone: false,\n})\nexport class ConnectedAccountModalComponent {\n sourceId: string;\n accountName: string;\n accountLink: string;\n sourceName: Record = {\n 10010: 'Google',\n 10050: 'Facebook',\n 10060: 'Twitter',\n };\n\n readonly GOOGLE_MY_BUSINESS = 'Google My Business';\n readonly FACEBOOK = 'Facebook';\n readonly TWITTER = 'Twitter';\n\n constructor(\n @Inject(MAT_DIALOG_DATA)\n public data: {\n sourceId: string;\n accountName: string;\n accountLink: string;\n },\n ) {\n this.sourceId = data?.sourceId;\n this.accountName = data?.accountName;\n this.accountLink = data?.accountLink;\n }\n}\n","\n \n \n {{\n 'LISTING_SYNC.LS_FREE_ADDON.GOOGLE_MY_BUSINESS.ACTIVATE_DIALOG.TITLE'\n | translate : { name: sourceName[sourceId] }\n }}\n \n \n \n
    \n {{\n 'LISTING_SYNC.LS_FREE_ADDON.GOOGLE_MY_BUSINESS.ACTIVATE_DIALOG.TEXT'\n | translate : { name: sourceName[sourceId], accountName: accountName }\n }}\n
    \n
    \n \n
    \n \n \n
    \n
    \n
    \n","import { Directive, EventEmitter, Input } from '@angular/core';\nimport { ColumnDefinition, CustomCellComponent } from '@vendasta/va-filter2-table';\nimport { SyncData } from '../../../local-seo';\n\n@Directive()\nexport class TableColumnDirective implements CustomCellComponent {\n @Input() columnDefinition: ColumnDefinition;\n @Input() element: SyncData;\n @Input() eventEmitter: EventEmitter;\n}\n\nexport interface ListingsTableRowEvent {\n element?: SyncData;\n openUpgradeDialog?: boolean;\n}\n","import { Component } from '@angular/core';\nimport { TableColumnDirective } from '../column.directive';\n\n@Component({\n selector: 'local-seo-presence-accuracy',\n templateUrl: './presence-accuracy.component.html',\n styleUrls: ['./presence-accuracy.component.scss'],\n standalone: false,\n})\nexport class PresenceAccuracyComponent extends TableColumnDirective {\n constructor() {\n super();\n }\n}\n","\n {{ element.accuracyInfo.text | translate }}\n\n","import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'local-seo-source-name-icon',\n templateUrl: './icon.component.html',\n styleUrls: ['./icon.component.scss'],\n standalone: false,\n})\nexport class IconComponent {\n @Input() iconUrl: string;\n @Input() name: string;\n @Input() iconSize = 36;\n @Input() ecosystemSources: number;\n @Input() shadow = false;\n @Input() defaulticonUrl: string;\n\n getHeightStyle(): { [klass: string]: any } {\n return {\n height: `${this.iconSize}px`,\n lineHeight: `${this.iconSize}px`,\n };\n }\n\n getIconSize(): { [klass: string]: any } {\n return {\n width: `${this.iconSize}px`,\n height: `${this.iconSize}px`,\n };\n }\n getDefaultProfileImage() {\n this.iconUrl = this.defaulticonUrl;\n }\n}\n","\n
    \n \n
    0\">\n
    +{{ ecosystemSources }}
    \n
    \n
    \n
    \n\n\n
    \n \n
    \n
    \n","import { Component } from '@angular/core';\nimport { TableColumnDirective } from '../column.directive';\n\n@Component({\n selector: 'local-seo-source-name-column',\n templateUrl: './source-name-column.component.html',\n styleUrls: ['./source-name-column.component.scss'],\n standalone: false,\n})\nexport class SourceNameColumnComponent extends TableColumnDirective {}\n","
    \n \n \n
    \n","import { Component } from '@angular/core';\nimport { TableColumnDirective } from '../column.directive';\nimport { SyncStyle } from '../../../../local-seo';\n\n@Component({\n selector: 'local-seo-status-column',\n templateUrl: './status-column.component.html',\n styleUrls: ['./status-column.component.scss'],\n standalone: false,\n})\nexport class StatusColumnComponent extends TableColumnDirective {\n constructor() {\n super();\n }\n\n openUpgradeDialog(): void {\n this.eventEmitter.emit({ openUpgradeDialog: true });\n }\n\n getTextClassForStyle(style: SyncStyle) {\n return style + '-text';\n }\n\n getIconClassForStyle(style: SyncStyle) {\n return style + '-icon';\n }\n}\n","@if (element.isSyncingEnabled || !element.locked) {\n
    \n \n {{ element.syncInfo.icon }}\n \n \n {{ element.syncInfo.text }}\n \n
    \n} @else {\n \n}\n","import { Component, Inject } from '@angular/core';\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\nimport {\n AppleSourceID,\n BingSourceID,\n FacebookSourceID,\n GoogleSourceID,\n InstagramSourceID,\n XSourceID,\n} from '../../../local-seo';\n\n@Component({\n selector: 'local-seo-sync-info-modal',\n templateUrl: './sync-info-modal.component.html',\n styleUrls: ['./sync-info-modal.component.scss'],\n standalone: false,\n})\nexport class SyncInfoModalComponent {\n readonly Google = GoogleSourceID;\n readonly Facebook = FacebookSourceID;\n readonly Instagram = InstagramSourceID;\n readonly X = XSourceID;\n readonly Bing = BingSourceID;\n readonly Apple = AppleSourceID;\n source: number;\n\n constructor(\n @Inject(MAT_DIALOG_DATA) public data: any,\n public dialogRef: MatDialogRef,\n ) {\n this.source = data.source;\n }\n onCancel(): void {\n this.dialogRef.close();\n }\n}\n","\n \n \n \n \n \n\n\n\n \n \n \n {{ 'LISTING_SYNC.LS_FREE_ADDON.GOOGLE_MY_BUSINESS.TOOLTIP.TITLE' | translate }}\n \n \n \n {{ 'LISTING_SYNC.LS_FREE_ADDON.GOOGLE_MY_BUSINESS.TOOLTIP.TEXT' | translate }}\n
    \n

    \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.LOCATION_HEADER' | translate }}\n

    \n
    \n
      \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.BUSINESS_NAME' | translate }}\n
    • \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.ADDRESS' | translate }}\n
    • \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.PRIMARY_PHONE' | translate }}\n
    • \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.WEBSITE' | translate }}\n
    • \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.HOURS_AND_SPECIAL_HOURS' | translate }}\n
    • \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.GOOGLE_ATTRIBUTES' | translate }}\n
    • \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.LONG_DESCRIPTION' | translate }}\n
    • \n
    \n
    \n

    \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.MEDIA_HEADER' | translate }}\n

    \n
      \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.IMAGE_TIP_FORMAT' | translate }}\n
    • \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.IMAGE_TIP_SIZE' | translate }}\n
    • \n
    • \n \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.LOGO' | translate }}\n \n
    • \n
        \n
      • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.IMAGE_TIP_RECOMMENDED_RESOLUTION_LOGO' | translate }}\n
      • \n
      \n
    • \n \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.PRIMARY_PHOTO' | translate }}\n \n
    • \n
        \n
      • \n {{\n 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.IMAGE_TIP_RECOMMENDED_ASPECT_RATIO_PRIMARY_PHOTO' | translate\n }}\n
      • \n
      • \n {{\n 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.IMAGE_TIP_RECOMMENDED_RESOLUTION_PRIMARY_PHOTO' | translate\n }}\n
      • \n
      • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.IMAGE_TIP_QUALITY' | translate }}\n
      • \n
      \n
    \n
    \n
    \n
    \n
    \n\n\n \n \n \n {{ 'LISTING_SYNC.LS_FREE_ADDON.FACEBOOK.TOOLTIP.TITLE' | translate }}\n \n \n
    \n \n {{ 'LISTING_SYNC.LS_FREE_ADDON.FACEBOOK.TOOLTIP.TEXT' | translate }}\n
    \n
      \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.ADDRESS' | translate }}\n
    • \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.PRIMARY_PHONE' | translate }}\n
    • \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.WEBSITE' | translate }}\n
    • \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.HOURS' | translate }}\n
    • \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.PAYMENT' | translate }}\n
    • \n
    • \n \n
    • \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.LONG_DESCRIPTION' | translate }}\n
    • \n
    \n
    \n
    \n
    \n
    \n\n\n \n \n \n {{ 'LISTING_SYNC.LS_FREE_ADDON.INSTAGRAM.TOOLTIP.TITLE' | translate }}\n \n \n
    \n \n {{ 'LISTING_SYNC.LS_FREE_ADDON.INSTAGRAM.TOOLTIP.TEXT' | translate }}\n
    \n
      \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.ADDRESS' | translate }}\n
    • \n
    \n
    \n
    \n
    \n
    \n\n\n \n \n \n {{ 'LISTING_SYNC.LS_FREE_ADDON.TWITTER.TOOLTIP.TITLE' | translate }}\n \n \n
    \n \n {{ 'LISTING_SYNC.LS_FREE_ADDON.TWITTER.TOOLTIP.TEXT' | translate }}\n
    \n
      \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.TWITTER.TOOLTIP.ADDRESS' | translate }}\n
    • \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.WEBSITE' | translate }}\n
    • \n
    • \n \n
    • \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.TWITTER.TOOLTIP.SHORT_DESC' | translate }}\n
    • \n
    \n
    \n
    \n
    \n
    \n\n\n \n \n \n {{ 'LISTING_SYNC.PRIMARY_SOURCES.BING.TOOLTIP.TITLE' | translate }}\n \n \n
    \n \n {{ 'LISTING_SYNC.PRIMARY_SOURCES.BING.TOOLTIP.TEXT' | translate }}\n
    \n
      \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.BUSINESS_NAME' | translate }}\n
    • \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.ADDRESS' | translate }}\n
    • \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.WEBSITE' | translate }}\n
    • \n
    • \n \n
    • \n
    • \n {{ 'LISTING_SYNC.PRIMARY_SOURCES.BING.ATTRIBUTES' | translate }}\n
    • \n
    • \n {{ 'LISTING_SYNC.LS_FREE_ADDON.COMMON_TOOLTIP.PRIMARY_PHONE' | translate }}\n
    • \n
    • \n {{ 'LISTING_SYNC.PRIMARY_SOURCES.BING.HOURS' | translate }}\n
    • \n
    \n
    \n
    \n
    \n
    \n\n\n \n\n","import { Component, Input, Output, EventEmitter } from '@angular/core';\nimport { ListingAccuracyText } from '../columns/presence-accuracy/accuracy-text.pipe';\nimport { AccuracyStatus, SourceAccuracy } from '@vendasta/listing-products';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { BingSourceID } from '../../../local-seo';\n\n@Component({\n selector: 'local-seo-listing-sidebar-accuracy',\n templateUrl: './listing-sidebar-accuracy.component.html',\n styleUrl: './listing-sidebar-accuracy.component.scss',\n standalone: false,\n})\nexport class ListingSidebarAccuracyComponent {\n @Input() accuracy: SourceAccuracy;\n @Input() sourceSupportsListings: boolean;\n @Input() isSyncingEnabled: boolean;\n @Input() syncingHasErrors: boolean;\n @Input() sourceId: number;\n @Input() isListingVerified: boolean;\n @Output() markListingAccurate: EventEmitter = new EventEmitter();\n constructor(\n private router: Router,\n private route: ActivatedRoute,\n ) {}\n\n accuracyText = ListingAccuracyText;\n inaccurateStatus = AccuracyStatus.ACCURACY_STATUS_INACCURATE;\n\n accuracySidebarBadgeColor(): string {\n if (this.accuracy?.status === AccuracyStatus.ACCURACY_STATUS_ACCURATE || this.isListingVerified) {\n return 'green';\n }\n return 'yellow';\n }\n canMarkAsAccurate(status: AccuracyStatus): boolean {\n this.accuracy.status;\n if (\n status === AccuracyStatus.ACCURACY_STATUS_INACCURATE ||\n (status === AccuracyStatus.ACCURACY_STATUS_ACCURATE && this.isListingVerified)\n ) {\n return true;\n }\n return false;\n }\n markListingAccurateEvent($event): void {\n this.isListingVerified = $event.checked;\n this.markListingAccurate.emit($event.checked);\n }\n\n navigateToListingProfile(): void {\n this.router.navigate(['../listing-profile'], {\n queryParamsHandling: 'preserve',\n relativeTo: this.route,\n });\n }\n\n creatingListing(): boolean {\n // only supported for Bing for now\n return (\n this.accuracy?.status === AccuracyStatus.ACCURACY_STATUS_UNAVAILABLE &&\n this.isSyncingEnabled &&\n !this.syncingHasErrors &&\n this.sourceId === BingSourceID\n );\n }\n}\n","
    \n
    \n
    {{ 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.TITLE' | translate }}
    \n \n
    \n {{ accuracyText[isListingVerified && accuracy?.status === 2 ? 1 : accuracy?.status]?.Sidebar | translate }}\n
    \n
    \n
    \n \n
    \n \n
    \n {{ 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.NOT_AVAILABLE' | translate }}\n
    \n
    \n
    \n \n \n
    \n \n
    \n {{ 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.SEARCHING' | translate }}\n
    \n
    \n
    \n
    \n {{ 'LISTING_SYNC.SOURCE_MENU.BING_CREATING_LISTING' | translate }}\n
    \n
    \n
    \n @if (accuracy?.status === inaccurateStatus) {\n
    \n {{ 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.WARNING' | translate }}\n {{ 'NAVBAR.LISTING_PROFILE' | translate }}\n
    \n }\n @if (canMarkAsAccurate(accuracy?.status)) {\n Mark as accurate\n }\n \n
    \n business\n
    \n \n {{ accuracy.anchorData?.companyName || '--' }}\n \n
    \n
    \n
    \n room\n
    \n
    \n {{ accuracy.anchorData?.address || '--' }}\n
    \n
    \n \n {{ accuracy.anchorData?.city || '--' }},\n \n \n {{ accuracy.anchorData?.state || '--' }},\n \n \n {{ accuracy.anchorData?.country || '--' }}\n \n
    \n
    \n {{ accuracy.anchorData?.zip || '--' }}\n
    \n
    \n
    \n
    \n phone\n
    \n \n {{ accuracy.anchorData?.phone || '--' }}\n \n
    \n
    \n
    \n link\n
    \n \n {{ accuracy.anchorData?.website || '--' }}\n \n
    \n
    \n
    \n
    \n
    \n","import { Component, EventEmitter, Inject, Input, Output } from '@angular/core';\nimport {\n AGIDTOKEN,\n AppleSourceID,\n DIRECT_SUBMIT_SOURCE_CONFIG,\n DirectSubmitSourceConfig,\n getSyncStatusText,\n GoogleSourceID,\n SyncData,\n XSourceID,\n} from '../../../local-seo';\nimport { BehaviorSubject, combineLatest, EMPTY, Observable, of, Subscription, zip } from 'rxjs';\nimport { TranslateService } from '@ngx-translate/core';\nimport { catchError, filter, map, switchMap, take } from 'rxjs/operators';\nimport { SyndicationApiService } from '@vendasta/listing-syndication';\nimport { HttpErrorResponse } from '@angular/common/http';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { ListingSyncService } from '../../listing-sync.service';\nimport { ForceRefreshListingRequest, ListingApiService } from '@vendasta/reputation';\nimport { DisconnectServiceModalComponent } from '../../../disconnect-service-modal/disconnect-service-modal.component';\nimport { MatDialog, MatDialogConfig, MatDialogRef } from '@angular/material/dialog';\nimport {\n CardDataService,\n ConnectionActionService,\n ConnectionButtonConfigModel,\n IntegrationType,\n SyncSettingsComponent,\n} from '@galaxy/platform-integrations';\nimport { ConnectionResponse, ConnectionStatus, IntegrationMarketingResponse } from '@vendasta/platform-integrations';\nimport { ActivatedRoute } from '@angular/router';\nimport { Provider, SyncRequirement } from '@vendasta/listing-products';\n\n@Component({\n selector: 'local-seo-listing-sidebar-actions',\n templateUrl: './listing-sidebar-actions.component.html',\n styleUrl: './listing-sidebar-actions.component.scss',\n standalone: false,\n})\nexport class ListingSidebarActionsComponent {\n @Input() set source(src: SyncData) {\n this.data = src;\n this.config = DIRECT_SUBMIT_SOURCE_CONFIG[src.sourceId];\n }\n @Input() loading$$: BehaviorSubject;\n @Output() upgrade: EventEmitter = new EventEmitter();\n\n readonly gmbVerifyUrl = 'https://support.google.com/business/answer/7107242';\n readonly GoogleSourceID = GoogleSourceID;\n protected readonly AppleSourceID = AppleSourceID;\n protected readonly XSourceID = XSourceID;\n readonly DirectProvider = Provider.PROVIDER_DIRECT;\n private readonly refreshTrigger$ = new BehaviorSubject(undefined);\n\n data: SyncData;\n config: DirectSubmitSourceConfig;\n subscriptions: Subscription[] = [];\n\n appleBusinessConnectFF$: Observable;\n appleBCConnectionButtonConfig: ConnectionButtonConfigModel;\n appleBCLocationModal: MatDialogRef;\n\n private appleBCIntegration$: Observable =\n this.cardService.getIntegrationByIntegrationType(IntegrationType.APPLEBUSINESSCONNECT);\n\n private appleBCConnection$: Observable = this.refreshTrigger$.pipe(\n switchMap(() =>\n this.agid$.pipe(\n switchMap((agid) =>\n this.cardService.getExistingConnectionByIntegrationType(IntegrationType.APPLEBUSINESSCONNECT, agid),\n ),\n ),\n ),\n );\n\n constructor(\n @Inject(AGIDTOKEN) private agid$: Observable,\n protected translate: TranslateService,\n private listingSyndicationService: SyndicationApiService,\n private snackBar: MatSnackBar,\n private listingSyncService: ListingSyncService,\n private reputationService: ListingApiService,\n private dialog: MatDialog,\n private connectionActionService: ConnectionActionService,\n private cardService: CardDataService,\n private activatedRoute: ActivatedRoute,\n ) {\n this.appleBusinessConnectFF$ = this.listingSyncService.featureFlags$.pipe(\n map((flags) => flags['apple_oauth_connection']),\n );\n this.appleBCConnectionButtonConfig = {\n connectLabel: 'Connect Now',\n resumeLabel: 'Continue Connection',\n reconnectLabel: 'Reconnect',\n disconnectLabel: 'Disconnect',\n connectAction: () => this.connectionActionService.openConnectModal(true),\n disconnectAction: () => this.disconnectService(),\n preconnectAction: () => this.connectionActionService.openConnectModal(false),\n styleClass: 'sidebar-button mat-primary',\n style: {},\n };\n }\n\n requiresLSP(r: SyncRequirement): boolean {\n return (\n r === SyncRequirement.SYNC_REQUIREMENT_LSP ||\n r === SyncRequirement.SYNC_REQUIREMENT_UBERALL_LSP ||\n r === SyncRequirement.SYNC_REQUIREMENT_YEXT_LSP\n );\n }\n\n ngOnInit(): void {\n this.subscriptions.push(\n combineLatest([this.agid$, this.appleBusinessConnectFF$]).subscribe(([agid, appleBusinessConnectFF]) => {\n if (appleBusinessConnectFF && this.data?.sourceId === AppleSourceID) {\n this.connectionActionService.initialize(IntegrationType.APPLEBUSINESSCONNECT, agid);\n }\n }),\n );\n this.subscriptions.push(\n this.activatedRoute.queryParams.subscribe((params) => {\n if (params['src'] === 'sso' && this.data?.sourceId === AppleSourceID && !this.appleBCLocationModal) {\n this.openAppleSettingsModal();\n }\n }),\n );\n if (this.data?.sourceId === AppleSourceID) {\n this.subscriptions.push(\n this.appleBusinessConnectFF$\n .pipe(\n filter((appleBusinessConnectFF) => appleBusinessConnectFF),\n switchMap(() => this.appleBCConnection$),\n )\n .subscribe((response) => {\n this.connectionActionService.refreshStatus(response, this.connectionActionService.connectionStatus);\n }),\n );\n }\n }\n\n refreshConnection() {\n this.refreshTrigger$.next();\n }\n\n openAppleSettingsModal() {\n this.subscriptions.push(\n zip([this.appleBCIntegration$, this.appleBCConnection$, this.agid$])\n .pipe(\n filter(([integration, connection, agid]) => {\n if (!connection) {\n return false;\n }\n if (connection.status === ConnectionStatus.CONNECTED) {\n return false;\n }\n if (\n connection.status === ConnectionStatus.PRECONNECTED &&\n !this.cardService.applePreconnectionHasToken(\n integration.integrationType,\n connection.status,\n connection.customFields,\n )\n ) {\n return false;\n }\n return Boolean(integration) && Boolean(connection) && Boolean(agid);\n }),\n take(1),\n )\n .subscribe(([integration, connection, agid]) => {\n const dialogConfig = new MatDialogConfig();\n dialogConfig.width = '660px';\n\n this.appleBCLocationModal = this.dialog.open(SyncSettingsComponent, dialogConfig);\n const instance = this.appleBCLocationModal.componentInstance;\n instance.integrationType = integration.integrationType;\n instance.pageData = {\n cardDetail: {\n integration: integration,\n connection: connection,\n },\n namespace: agid,\n connectionId: connection.connectionId,\n };\n instance.locationSaved.subscribe(() => {\n this.appleBCLocationModal.close();\n this.refreshConnection();\n });\n }),\n );\n }\n\n public connectSocialService(): void {\n if (!this.data?.account?.connectionId || this.data?.account?.tokenBroken || !this.data?.account?.isAuthenticated) {\n window.location.href = this.data?.connectLink;\n }\n }\n\n syncButtonText(): string {\n if (this.data?.account?.tokenBroken) {\n return this.translate.instant('LISTING_SYNC.SYNCING_STATUS.RECONNECT');\n }\n return getSyncStatusText(\n this.translate,\n this.data?.sourceId,\n this.data?.name,\n this.data?.listingUrl && this.data?.listingUrl.length > 0,\n this.data?.accuracy?.status,\n this.data?.account?.connectionId?.length > 0 || !this.config?.RequiresAccount,\n this.data?.isSyncingEnabled,\n this.data?.locked,\n this.data?.account?.tokenBroken,\n this.data?.account?.isVerified,\n this.data?.account?.tokenBroken,\n this.data?.syncStatus,\n );\n }\n\n updateSyncing(newSyncState: boolean): void {\n this.loading$$.next(true);\n this.subscriptions.push(\n this.listingSyncService\n .updateSyncing(this.data?.sourceId, this.data?.account?.connectionId, newSyncState)\n .pipe(\n catchError((err: HttpErrorResponse) => {\n const message = err.error?.message ? err.error.message : 'Unknown error';\n this.snackBar.open(message, '', { politeness: 'assertive', duration: 5000 });\n return EMPTY;\n }),\n )\n .subscribe(() => {\n this.snackBar.open(this.translate.instant('LISTING_SYNC.SOURCE_MENU.REFRESH_SYNCING_SUCCESS'), '', {\n duration: 5000,\n });\n this.loading$$.next(false);\n this.listingSyncService.retrySyncData(this.data?.sourceId);\n }),\n );\n }\n\n refreshListing(): void {\n if (!this.data?.listingId) {\n this.snackBar.open('No listing found', '', { duration: 5000 });\n return;\n }\n this.subscriptions.push(\n this.agid$\n .pipe(\n switchMap((agid) =>\n this.reputationService.forceRefreshListing(\n new ForceRefreshListingRequest({\n accountGroupId: agid,\n listingId: this.data?.listingId,\n sourceId: this.data?.sourceId,\n }),\n ),\n ),\n catchError((err: HttpErrorResponse) => {\n const message = err.error?.message ? err.error.message : 'Unknown error';\n this.snackBar.open(\n this.translate.instant('LISTING_SYNC.SOURCE_MENU.REFRESH_LISTING_FAILURE') + `: ${message}`,\n '',\n { politeness: 'assertive', duration: 5000 },\n );\n return EMPTY;\n }),\n )\n .subscribe(() => {\n this.snackBar.open(this.translate.instant('LISTING_SYNC.SOURCE_MENU.REFRESH_LISTING_SUCCESS'), '', {\n duration: 5000,\n });\n }),\n );\n }\n\n disconnectService(): void {\n const url =\n this.data?.sourceId === GoogleSourceID\n ? '/_ajax/v1/disconnect-gmb-location/'\n : '/_ajax/v1/disconnect-social-service/';\n const disconnectDialogRef = this.dialog\n .open(DisconnectServiceModalComponent, {\n data: {\n source: this.data?.name,\n },\n })\n .afterClosed()\n .pipe(\n switchMap((shouldDisconnect: boolean) => {\n if (!shouldDisconnect) {\n return EMPTY; // If the user chooses not to disconnect, exit early.\n }\n if (this.data?.sourceId === AppleSourceID) {\n return combineLatest([this.appleBCConnection$, this.agid$]).pipe(\n switchMap(([connection, agid]) => this.cardService.deleteConnection(agid, connection.connectionId)),\n );\n }\n return this.listingSyncService.disconnectService$(\n url,\n this.data?.account?.connectionId,\n this.data?.account?.clientTags,\n );\n }),\n switchMap(() => {\n if (this.data?.sourceId === AppleSourceID) {\n return of(null);\n }\n return this.listingSyncService.updateSyncing(this.data?.sourceId, '', false);\n }),\n )\n .subscribe({\n next: () => this.listingSyncService.retrySyncData(this.data?.sourceId),\n });\n this.subscriptions.push(disconnectDialogRef);\n }\n\n ngOnDestroy(): void {\n this.subscriptions.forEach((sub) => sub.unsubscribe());\n }\n}\n","
    \n @if ((loading$$.asObservable() | async) === false) {\n @if (!data?.locked) {\n @if (config?.RequiresAccount && (!data?.account?.connectionId || data?.account?.tokenBroken)) {\n \n {{ syncButtonText() }}\n \n }\n\n @if (data?.account?.connectionId && !data?.account?.isAuthenticated) {\n \n {{ 'GOOGLE_INSIGHTS.SOCIAL_TOKEN_BROKEN' | translate }}\n

    \n \n
    \n } @else if (data?.sourceId === GoogleSourceID && data?.account?.isAuthenticated && !data?.account?.isVerified) {\n \n {{ 'GOOGLE_INSIGHTS.NOT_VERIFIED.TITLE' | translate }}\n — {{ 'GOOGLE_INSIGHTS.NOT_VERIFIED.DESCRIPTION' | translate }}
    \n
    \n \n
    \n } @else if (\n (data?.account?.connectionId || (!config?.RequiresAccount && data?.provider === DirectProvider)) &&\n !data?.isSyncingEnabled\n ) {\n \n {{ syncButtonText() }}\n \n }\n } @else if (requiresLSP(data?.requirement) && data?.locked) {\n \n }\n\n @if (data?.sourceId === AppleSourceID && (appleBusinessConnectFF$ | async)) {\n \n }\n\n @if (\n data?.listingId || data?.account?.connectionId || (data?.provider === DirectProvider && data?.isSyncingEnabled)\n ) {\n \n }\n } @else {\n \n }\n
    \n\n\n @if (!!data?.listingId) {\n \n }\n @if (data?.account?.connectionId) {\n \n }\n @if (data?.provider === DirectProvider && data?.isSyncingEnabled) {\n \n sync_disabled\n {{ 'LISTING_SYNC.LSP_ADDON.COLUMNS.SYNC_STATUS.TURN_OFF_SYNCING' | translate }}\n \n }\n\n","import { Component, Inject, Input } from '@angular/core';\nimport { switchMap } from 'rxjs/operators';\nimport { SubmitListingSyndicationRequest, SyndicationApiService } from '@vendasta/listing-syndication';\nimport { Observable, Subscription } from 'rxjs';\nimport { AGIDTOKEN, SyncError } from '../../../local-seo';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { TranslateService } from '@ngx-translate/core';\n\n@Component({\n selector: 'local-seo-listing-sidebar-errors',\n templateUrl: './listing-sidebar-errors.component.html',\n styleUrl: './listing-sidebar-errors.component.scss',\n standalone: false,\n})\nexport class ListingSidebarErrorsComponent {\n @Input() sourceName: string;\n @Input() sourceId: number;\n @Input() errors: SyncError[];\n @Input() canForceSync: boolean;\n\n subscriptions: Subscription[] = [];\n\n constructor(\n @Inject(AGIDTOKEN) private agid$: Observable,\n private listingSyndicationService: SyndicationApiService,\n private snackBar: MatSnackBar,\n private translate: TranslateService,\n ) {}\n\n forceSync(): void {\n this.subscriptions.push(\n this.agid$\n .pipe(\n switchMap((agid) =>\n this.listingSyndicationService.submitListingSyndication(\n new SubmitListingSyndicationRequest({\n accountGroupId: agid,\n sourceIds: [this.sourceId],\n trigger: 'local seo force sync ui',\n force: true,\n }),\n ),\n ),\n )\n .subscribe(() => {\n this.snackBar.open(this.translate.instant('LISTING_SYNC.SOURCE_MENU.FORCE_SYNC_SUCCESS'), '', {\n duration: 5000,\n });\n }),\n );\n }\n}\n","
    \n
    \n {{ 'LISTING_SYNC.SOURCE_MENU.DETAILS' | translate }}\n
    \n\n @for (err of errors; track err) {\n
    \n @if (err?.listedFields?.length > 0) {\n
      \n @for (field of err.listedFields; track field) {\n
    • {{ field }}
    • \n }\n
    \n }\n }\n\n @if (canForceSync) {\n \n }\n
    \n","import { Component, EventEmitter, Inject, Input, OnDestroy, OnInit, Output } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { ConnectedDirectSyncAccount } from '@vendasta/listing-products';\nimport { catchError } from 'rxjs/operators';\nimport { EMPTY, Observable, Subscription } from 'rxjs';\nimport { HttpErrorResponse } from '@angular/common/http';\nimport { ListingSyncService } from '../../listing-sync.service';\nimport { AGIDTOKEN } from '../../../local-seo';\nimport { MatSnackBar } from '@angular/material/snack-bar';\n\n@Component({\n selector: 'local-seo-listing-sidebar-accounts',\n templateUrl: './listing-sidebar-accounts.component.html',\n styleUrl: './listing-sidebar-accounts.component.scss',\n standalone: false,\n})\nexport class ListingSidebarAccountsComponent implements OnInit, OnDestroy {\n @Input() sourceId: number;\n @Input() sourceName: string;\n @Input() listingUrl: string;\n @Input() account: ConnectedDirectSyncAccount;\n @Input() additionalAccounts: ConnectedDirectSyncAccount[];\n\n @Output() retry = new EventEmitter();\n\n subscriptions: Subscription[] = [];\n selectedSSID: string;\n\n readonly defaultIconUrl =\n 'https://vstatic-prod.apigateway.co/listing-builder-client/assets/images/default_profile_normal.png';\n\n constructor(\n @Inject(AGIDTOKEN) private agid$: Observable,\n private listingSyncService: ListingSyncService,\n private snackBar: MatSnackBar,\n protected translate: TranslateService,\n ) {}\n\n ngOnInit(): void {\n this.selectedSSID = this.account?.connectionId;\n }\n\n ngOnDestroy(): void {\n this.subscriptions.forEach((sub) => sub.unsubscribe());\n }\n\n setSelectedSocialService(): void {\n this.subscriptions.push(\n this.listingSyncService\n .setSelectedSocialService(this.selectedSSID, this.sourceId)\n .pipe(\n catchError((err: HttpErrorResponse) => {\n console.log(err);\n const message = err.error?.message ? err.error.message : 'Unknown error';\n this.snackBar.open(\n this.translate.instant('LISTING_SYNC.SOURCE_MENU.UPDATE_SERVICE_FAILURE') + `: ${message}`,\n '',\n { politeness: 'assertive', duration: 5000 },\n );\n return EMPTY;\n }),\n )\n .subscribe(() => {\n this.snackBar.open(this.translate.instant('LISTING_SYNC.SOURCE_MENU.UPDATE_SERVICE_SUCCESS'), '', {\n duration: 5000,\n });\n this.listingSyncService.retrySyncData(this.sourceId);\n }),\n );\n }\n}\n","\n
    \n
    {{ 'LISTING_SYNC.COLUMN_HEADERS.CONNECTED_ACCOUNT' | translate }}
    \n
    \n @if (!additionalAccounts?.length && account?.username) {\n
    \n \n \n {{ account?.username }}\n \n
    \n {{ account?.username }}\n
    \n
    \n }\n\n @if (additionalAccounts?.length) {\n \n \n
    \n \n \n {{ account?.username }}\n \n
    \n {{ account?.username }}\n
    \n
    \n
    \n \n
    \n \n
    \n {{ service?.username }}\n
    \n
    \n
    \n
    \n }\n
    \n","import { Component, EventEmitter, Inject, Input, OnDestroy, OnInit, Output } from '@angular/core';\nimport { MatDialog } from '@angular/material/dialog';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { ListingSyncProApiService as ListingSyncProApiServiceSDK } from '@vendasta/listing-sync-pro';\nimport { FieldMask, ListingApiService, UpdateListingRequest } from '@vendasta/reputation';\nimport { BehaviorSubject, Observable, Subscription } from 'rxjs';\nimport { switchMap } from 'rxjs/operators';\nimport {\n AGIDTOKEN,\n AppleSourceID,\n BingSourceID,\n DirectSyncErrorCode,\n FacebookSourceID,\n GoogleSourceID,\n InstagramSourceID,\n SyncData,\n XSourceID,\n} from '../../../local-seo';\nimport { ListingSyncService } from '../../listing-sync.service';\nimport { ListingAccuracyText } from '../columns/presence-accuracy/accuracy-text.pipe';\nimport { SyncInfoModalComponent } from '../sync-info-modal/sync-info-modal.component';\nimport { SyndicationApiService } from '@vendasta/listing-syndication';\nimport { CategorySelectService } from '@galaxy/business-category';\nimport { LanguageService } from '../../language-service.service';\nimport { Provider, SyncStatus } from '@vendasta/listing-products';\n\n@Component({\n selector: 'local-seo-listing-sidebar',\n templateUrl: './listing-sidebar.component.html',\n styleUrls: ['./listing-sidebar.component.scss'],\n standalone: false,\n})\nexport class ListingSidebarComponent implements OnInit, OnDestroy {\n @Input() data: SyncData;\n\n @Output() closed: EventEmitter = new EventEmitter();\n @Output() upgrade: EventEmitter = new EventEmitter();\n\n accuracyText = ListingAccuracyText;\n loadingChanges$$: BehaviorSubject = new BehaviorSubject(false);\n\n subscriptions: Subscription[] = [];\n selectedSSID: string;\n\n AppleSourceID = AppleSourceID;\n XSourceID = XSourceID;\n SyncFailed = SyncStatus.SYNC_STATUS_FAILED;\n readonly DirectProvider = Provider.PROVIDER_DIRECT;\n\n constructor(\n @Inject(AGIDTOKEN) private agid$: Observable,\n protected translate: TranslateService,\n private listingSyncService: ListingSyncService,\n private dialog: MatDialog,\n private router: Router,\n private route: ActivatedRoute,\n private reputationService: ListingApiService,\n private snackBar: MatSnackBar,\n private listingSyncProApiServiceSDK: ListingSyncProApiServiceSDK,\n private listingSyndicationService: SyndicationApiService,\n private categorySelectService: CategorySelectService,\n private languageService: LanguageService,\n private lspAPIService: ListingApiService,\n ) {}\n\n ngOnInit(): void {\n this.selectedSSID = this.data?.account?.connectionId;\n }\n\n markListingAccurateEvent(marklistingaccurate: boolean) {\n this.agid$\n .pipe(\n switchMap((agid) => {\n return this.lspAPIService.updateListing(\n new UpdateListingRequest({\n listingId: { accountGroupId: agid, listingId: this.data.listingId },\n fieldMask: new FieldMask({\n paths: ['isVerified'],\n }),\n isVerified: marklistingaccurate,\n }),\n );\n }),\n )\n .subscribe(() => {\n setTimeout(() => {\n this.listingSyncService.retrySyncData(this.data?.sourceId); //emit this retry after 700ms.\n }, 700);\n });\n }\n\n canShowInfoModal(sourceId: number): boolean {\n return [GoogleSourceID, FacebookSourceID, InstagramSourceID, XSourceID, BingSourceID].indexOf(sourceId) !== -1;\n }\n\n openSyncInfoModal(): void {\n this.dialog.open(SyncInfoModalComponent, {\n data: {\n source: this.data?.sourceId,\n },\n });\n }\n\n ngOnDestroy(): void {\n this.subscriptions.forEach((sub) => sub.unsubscribe());\n }\n\n canForceSync(data: SyncData): boolean {\n if (data.provider !== Provider.PROVIDER_DIRECT) {\n return false;\n }\n return !!data?.errors?.find((error) => {\n return (\n error.errorCode === DirectSyncErrorCode.UNABLE_TO_VALIDATE_ERROR ||\n error.errorCode === DirectSyncErrorCode.INVALID_FIELD_ERROR ||\n error.errorCode === DirectSyncErrorCode.MISMATCHED_FIELD_ERROR ||\n error.errorCode === DirectSyncErrorCode.UNABLE_TO_GEOCODE_ERROR ||\n error.errorCode === DirectSyncErrorCode.INVALID_CATEGORY_ERROR\n );\n });\n }\n}\n","\n \n \n
    \n \n \n {{ data?.name }}\n open_in_new\n \n
    \n {{ data?.name }}\n
    \n
    \n \n
    \n
    \n\n \n @if (data?.account?.connectionId || (data?.sourceId === AppleSourceID && data?.account?.username)) {\n \n \n }\n\n \n \n\n @if (data?.listingUrl || data.provider === DirectProvider || data.locked) {\n \n \n }\n\n @if (canShowInfoModal(data?.sourceId)) {\n \n {{ 'LISTING_SYNC.SOURCE_MENU.SYNCING_INFO_LINK' | translate: { source: data?.name } }}\n \n }\n\n @if (data?.errorMessages?.length > 0) {\n \n \n }\n\n @if (data.ecosystemSources?.length > 0) {\n \n
    \n
    {{ 'LISTING_SYNC.COLUMN_HEADERS.NETWORK_ECOSYSTEM' | translate }}
    \n \n info_outline\n \n
    \n @for (source of data.ecosystemSources; track source) {\n
    \n \n

    {{ source?.name }}

    \n
    \n }\n }\n
    \n
    \n","import { Injectable } from '@angular/core';\nimport { CheckboxFilterControl, FilterGroup, SearchFilterControl } from '@vendasta/va-filter2';\n\n@Injectable()\nexport class ListingSyncTableFilterService {\n filters: FilterGroup = new FilterGroup('listings_table');\n constructor() {\n this.filters\n .addToolbarSection(new SearchFilterControl('search'))\n .addSection('LISTING_SYNC.TABLE_FILTERS.SYNC_STATUS_FILTER.GROUP_LABEL', [\n new CheckboxFilterControl(\n 'syncing_available',\n 'LISTING_SYNC.TABLE_FILTERS.SYNC_STATUS_FILTER.SYNCING_AVAILABLE',\n false,\n {\n appliedValueMapper: (name) => ({\n name,\n label: 'LISTING_SYNC.TABLE_FILTERS.SYNC_STATUS_FILTER.SYNCING_AVAILABLE',\n }),\n },\n ),\n new CheckboxFilterControl(\n 'manual_update_only',\n 'LISTING_SYNC.TABLE_FILTERS.SYNC_STATUS_FILTER.MANUAL_UPDATE_ONLY',\n false,\n {\n appliedValueMapper: (name) => ({\n name,\n label: 'LISTING_SYNC.TABLE_FILTERS.SYNC_STATUS_FILTER.MANUAL_UPDATE_ONLY',\n }),\n },\n ),\n ]);\n }\n}\n","import {\n ColumnOrganizerType,\n ColumnType,\n ColumnWidth,\n GenericTableLabels,\n Pinned,\n TableDefinition,\n} from '@vendasta/va-filter2-table';\nimport { ListingSyncTableFilterService } from './listing-sync-table-filter.service';\nimport { SourceNameColumnComponent } from './columns/source-name-column/source-name-column.component';\nimport { StatusColumnComponent } from './columns/status-column/status-column.component';\nimport { PresenceAccuracyComponent } from './columns/presence-accuracy/presence-accuracy.component';\n\nconst COMMON_TABLE_LABELS: GenericTableLabels = {\n noResults: 'LISTING_SYNC.TABLE_LABEL.NO_RESULTS',\n cancel: 'LISTING_SYNC.TABLE_LABEL.CANCEL',\n none: 'LISTING_SYNC.TABLE_LABEL.NONE',\n update: 'LISTING_SYNC.TABLE_LABEL.UPDATE',\n sortBy: 'LISTING_SYNC.TABLE_LABEL.SORT_BY',\n thenSortBy: 'LISTING_SYNC.TABLE_LABEL.THEN_SORT_BY',\n addAnotherSortColumn: 'LISTING_SYNC.TABLE_LABEL.ADD_SORT_COLUMN',\n chooseColumnToSortBy: 'LISTING_SYNC.TABLE_LABEL.CHOOSE_SORT_COLUMN',\n columnSorting: {\n date: {\n ascending: 'LISTING_SYNC.TABLE_LABEL.SORT_DATE_ASC',\n descending: 'LISTING_SYNC.TABLE_LABEL.SORT_DATE_DSC',\n },\n number: {\n ascending: 'LISTING_SYNC.TABLE_LABEL.SORT_NUMBER_ASC',\n descending: 'LISTING_SYNC.TABLE_LABEL.SORT_NUMBER_DSC',\n },\n string: {\n ascending: 'LISTING_SYNC.TABLE_LABEL.SORT_STRING_ASC',\n descending: 'LISTING_SYNC.TABLE_LABEL.SORT_STRING_DSC',\n },\n default: {\n ascending: 'LISTING_SYNC.TABLE_LABEL.SORT_DEFAULT_ASC',\n descending: 'LISTING_SYNC.TABLE_LABEL.SORT_DEFAULT_DSC',\n },\n },\n export: {\n buttonText: '',\n buttonTooltipBeforeCount: '',\n buttonTooltipAfterCount: '',\n description: 'LISTING_SYNC.TABLE_LABEL.EXPORT',\n },\n columnSelector: {\n buttonText: 'LISTING_SYNC.TABLE_LABEL.COLUMN_SELECTOR',\n },\n};\n\nconst LISTING_SYNC_TABLE_DEF: TableDefinition = {\n id: 'listing-sync',\n labels: COMMON_TABLE_LABELS,\n columns: [\n {\n id: 'sourceName',\n field: 'name',\n displayName: 'LISTING_SYNC.COLUMN_HEADERS.SITE_NAME',\n type: ColumnType.COLUMN_TYPE_STRING,\n cellComponent: SourceNameColumnComponent,\n pinned: Pinned.PINNED_LEFT,\n sortOptions: { sortable: true },\n width: ColumnWidth.WIDTH_WIDE,\n },\n {\n id: 'listingAccuracy',\n field: 'accuracyText',\n displayName: 'LISTING_SYNC.COLUMN_HEADERS.LISTING_ACCURACY',\n type: ColumnType.COLUMN_TYPE_STRING,\n cellComponent: PresenceAccuracyComponent,\n sortOptions: { sortable: true },\n },\n {\n id: 'syncStatus',\n field: 'syncText',\n displayName: 'LISTING_SYNC.COLUMN_HEADERS.STATUS',\n type: ColumnType.COLUMN_TYPE_STRING,\n cellComponent: StatusColumnComponent,\n sortOptions: { sortable: true },\n },\n {\n id: 'score',\n field: 'score',\n displayName: 'LISTING_SYNC.COLUMN_HEADERS.SCORE',\n type: ColumnType.COLUMN_TYPE_NUMBER,\n sortOptions: { sortable: true },\n },\n {\n id: 'scoreMax',\n field: 'maxScore',\n displayName: 'LISTING_SYNC.COLUMN_HEADERS.MAX_SCORE',\n type: ColumnType.COLUMN_TYPE_NUMBER,\n sortOptions: { sortable: true },\n },\n {\n id: 'lastUpdated',\n field: 'lastUpdated',\n displayName: 'LISTING_SYNC.COLUMN_HEADERS.LAST_UPDATED',\n type: ColumnType.COLUMN_TYPE_STRING,\n sortOptions: { sortable: true },\n },\n {\n id: 'sourceType',\n field: 'sourceType',\n displayName: 'LISTING_SYNC.COLUMN_HEADERS.SITE_TYPE',\n type: ColumnType.COLUMN_TYPE_STRING,\n sortOptions: { sortable: true },\n },\n ],\n groups: [],\n columnOrganizerType: ColumnOrganizerType.ADVANCED_ORGANIZER,\n options: {\n pageSizeOptions: [10, 25, 50],\n defaultPageSize: 50,\n },\n};\n\nexport const tableDefinitionFactory = (filterService: ListingSyncTableFilterService) => {\n const tableDefinition = LISTING_SYNC_TABLE_DEF;\n tableDefinition.filters = filterService.filters;\n return tableDefinition;\n};\n","import { Component, Input, ViewChild } from '@angular/core';\nimport { MatDialog, MatDialogRef } from '@angular/material/dialog';\nimport { MatSidenav } from '@angular/material/sidenav';\nimport { TranslateService } from '@ngx-translate/core';\nimport { EditionUpgradeAction } from '@vendasta/marketplace-apps';\nimport { RetailPrice } from '@vendasta/marketplace-packages';\nimport { ProductAnalyticsService } from '@vendasta/product-analytics';\nimport { UpgradeCTADialogComponent, UpgradeCTADialogConfig } from '@vendasta/uikit';\nimport { VaFilteredMatTableComponent, VaFilteredMatTableService, VaTableSortService } from '@vendasta/va-filter2-table';\nimport { combineLatest, Observable } from 'rxjs';\nimport { filter, shareReplay, switchMap, take } from 'rxjs/operators';\nimport { UpgradeCTADialogService, UpgradeRedirectItem } from '../../upgrade-cta-dialog/upgrade-cta-dialog.service';\nimport { ListingSyncService } from '../listing-sync.service';\nimport { ListingsTableRowEvent } from './columns/column.directive';\nimport { ListingSidebarComponent } from './listing-sidebar/listing-sidebar.component';\nimport { ListingSyncTableFilterService } from './listing-sync-table-filter.service';\nimport { ListingSyncTableService } from './listing-sync-table.service';\nimport { APP_ID, SyncData } from '../../local-seo';\n\n@Component({\n selector: 'local-seo-listing-sync-table',\n templateUrl: './listing-sync-table.component.html',\n styleUrls: ['./listing-sync-table.component.scss'],\n providers: [VaTableSortService, VaFilteredMatTableService],\n standalone: false,\n})\nexport class ListingSyncTableComponent {\n @Input() isListingfromEmbedded = false;\n @ViewChild('table') table: VaFilteredMatTableComponent;\n\n @Input() lspPurchaseDate: string;\n @ViewChild('sidenav') sidenav: MatSidenav;\n @ViewChild('listingSidebar') listingSidebar: ListingSidebarComponent;\n\n lspActive$: Observable;\n dialogRef: MatDialogRef;\n\n sidebarData: SyncData;\n\n constructor(\n public listingSyncTableService: ListingSyncTableService,\n private dialog: MatDialog,\n private upgradeDialogService: UpgradeCTADialogService,\n private listingSyncService: ListingSyncService,\n private translateService: TranslateService,\n private readonly analyticsService: ProductAnalyticsService,\n private filterService: ListingSyncTableFilterService,\n private vaFilteredMatTableService: VaFilteredMatTableService,\n ) {\n this.lspActive$ = this.listingSyncService.lspActive$;\n }\n\n handleRowClick(event: SyncData): void {\n this.sidebarData = event;\n this.sidenav.open();\n }\n\n retry(): void {\n this.vaFilteredMatTableService.load();\n this.sidenav.close();\n }\n\n handleCellEvent(event: ListingsTableRowEvent): void {\n if (event.openUpgradeDialog) {\n this.OpenUpgradeDialog();\n }\n }\n\n OpenUpgradeDialog() {\n const editionChangeDetails$ = this.listingSyncService.addonID$.pipe(\n switchMap((addonID) => this.upgradeDialogService.getAddonUpgradeDetails$(addonID)),\n );\n const upgradePrice$: Observable = combineLatest([\n this.upgradeDialogService.partnerMarket$,\n this.listingSyncService.addonID$,\n editionChangeDetails$,\n ]).pipe(\n switchMap(([pmConfig, addonID, editionChangeDetails]) => {\n return this.upgradeDialogService.getUpgradePrice$(pmConfig, addonID, editionChangeDetails);\n }),\n shareReplay(1),\n );\n const formattedUpgradePrice$ = upgradePrice$.pipe(\n switchMap((upgradePrice) => this.upgradeDialogService.getFormattedRetailPrice$(upgradePrice)),\n );\n this.listingSyncService.addonID$\n .pipe(\n switchMap((addonID) =>\n combineLatest([\n upgradePrice$,\n formattedUpgradePrice$,\n editionChangeDetails$,\n this.upgradeDialogService.getCustomUpgradeModalContent$(addonID),\n ]).pipe(\n take(1),\n switchMap(([upgradePrice, formattedUpgradePrice, editionChangeDetails, customUpgradeModalContent]) => {\n const marketingPoints = [\n this.translateService.instant('LISTING_DISTRIBUTION.UPGRADE_MODAL.MARKETING_POINTS.LINE_1'),\n this.translateService.instant('LISTING_DISTRIBUTION.UPGRADE_MODAL.MARKETING_POINTS.LINE_2'),\n this.translateService.instant('LISTING_DISTRIBUTION.UPGRADE_MODAL.MARKETING_POINTS.LINE_3'),\n this.translateService.instant('LISTING_DISTRIBUTION.UPGRADE_MODAL.MARKETING_POINTS.LINE_4'),\n this.translateService.instant('LISTING_DISTRIBUTION.UPGRADE_MODAL.MARKETING_POINTS.LINE_5'),\n ];\n let ctaText =\n !!customUpgradeModalContent && customUpgradeModalContent.buttonText\n ? customUpgradeModalContent.buttonText\n : undefined;\n if (editionChangeDetails?.editionUpgradeAction && !ctaText) {\n switch (editionChangeDetails?.editionUpgradeAction) {\n case EditionUpgradeAction.EDITION_UPGRADE_ACTION_CONTACT_SALES:\n ctaText = this.translateService.instant('UPGRADE_DIALOG.PRICE.CONTACT_SALES');\n break;\n default:\n ctaText = this.translateService.instant('LISTING_SYNC.LSP_ADDON.UPGRADE_MODAL.BUTTON_TEXT');\n break;\n }\n }\n const dialogRef: UpgradeCTADialogConfig = {\n editionName: this.translateService.instant('LISTING_SYNC.LSP_ADDON.NAME'),\n imageText:\n !!customUpgradeModalContent && customUpgradeModalContent.titleText\n ? customUpgradeModalContent.titleText\n : this.translateService.instant('LISTING_SYNC.LSP_ADDON.UPGRADE_MODAL.IMAGE_TEXT'),\n imageUrl:\n !!customUpgradeModalContent && customUpgradeModalContent.imageUrl\n ? customUpgradeModalContent.imageUrl\n : `https://vstatic-prod.apigateway.co/listing-builder-client/assets/images/listing-sync-pro-upgrade-info.png`,\n keySellingPoints:\n !!customUpgradeModalContent && customUpgradeModalContent.sellingPoints\n ? customUpgradeModalContent.sellingPoints\n : marketingPoints,\n ctaText: ctaText || this.translateService.instant('LISTING_SYNC.LSP_ADDON.UPGRADE_MODAL.BUTTON_TEXT'),\n activeOrderPrimaryText: this.translateService.instant(\n 'LISTING_SYNC.LSP_ADDON.UPGRADE_MODAL.ACTIVE_ORDER_PRIMARY',\n ),\n activeOrderSecondaryText: this.translateService.instant(\n 'LISTING_SYNC.LSP_ADDON.UPGRADE_MODAL.ACTIVE_ORDER_SECONDARY',\n ),\n activeOrderImageUrl: `https://vstatic-prod.apigateway.co/listing-builder-client/assets/images/active-order.png`,\n upgradeNowText: this.upgradeDialogService.getUpgradeText(upgradePrice, editionChangeDetails),\n price: formattedUpgradePrice,\n frequency: this.upgradeDialogService.getFrequencyText(upgradePrice),\n };\n\n this.dialogRef = this.dialog.open(UpgradeCTADialogComponent, {\n data: dialogRef,\n });\n return this.dialogRef.afterClosed().pipe(\n filter((upgradeClicked) => !!upgradeClicked),\n switchMap(() => {\n const isCustomPackage =\n editionChangeDetails.editionUpgradeAction ==\n EditionUpgradeAction.EDITION_UPGRADE_ACTION_CUSTOM_ORDER;\n const item: UpgradeRedirectItem = isCustomPackage\n ? { packageId: editionChangeDetails.priceReferencePackageId }\n : { appId: APP_ID, addonId: addonID };\n return this.upgradeDialogService.buildBusinessCenterUpgradeRedirectInfo(\n item,\n editionChangeDetails.editionUpgradeAction,\n );\n }),\n );\n }),\n ),\n ),\n )\n .subscribe((redirectInfo) => {\n this.upgradeDialogService.sendToVbc(redirectInfo);\n });\n }\n getSideNavTopGap(): number {\n return this.isListingfromEmbedded ? 124 : 100;\n }\n}\n","
    \n \n \n \n \n \n \n \n \n \n \n
    \n","import { Component, Input } from '@angular/core';\n\nimport { SyncingProgressSummaryData } from '../../local-seo';\n\n@Component({\n selector: 'local-seo-listings-summary-card',\n templateUrl: './listings-summary-card.component.html',\n styleUrls: ['./listings-summary-card.component.scss'],\n standalone: false,\n})\nexport class ListingsSummaryCardComponent {\n @Input() data: SyncingProgressSummaryData;\n}\n","
    \n
    \n \n {{ data.syncedSourcesCount || 0 }}\n
    \n
    \n \n {{ data.syncInProgressSourcesCount || 0 }}\n
    \n
    \n \n {{ data.notSyncingSourcesCount || 0 }}\n
    \n
    \n","import { Component, input, Input, OnDestroy, OnInit, ViewChild } from '@angular/core';\nimport { MatDialog, MatDialogRef } from '@angular/material/dialog';\nimport { MatSidenav } from '@angular/material/sidenav';\nimport { ActivatedRoute, Params, Router } from '@angular/router';\nimport { Environment, EnvironmentService } from '@galaxy/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { EditionChange, EditionUpgradeAction } from '@vendasta/marketplace-apps';\nimport { RetailPrice } from '@vendasta/marketplace-packages';\nimport { UpgradeCTADialogComponent, UpgradeCTADialogConfig } from '@vendasta/uikit';\nimport { combineLatest, Observable, Subscription } from 'rxjs';\nimport { filter, map, shareReplay, switchMap, take } from 'rxjs/operators';\nimport {\n APP_ID,\n DEMO_PAID_EDITION,\n FacebookSourceID,\n GoogleSourceID,\n PROD_PAID_EDITION,\n SyncData,\n SyncStyle,\n} from '../../../local-seo';\nimport {\n appID,\n PartnerMarket,\n UpgradeCTADialogService,\n UpgradeRedirectItem,\n} from '../../../upgrade-cta-dialog/upgrade-cta-dialog.service';\nimport { ConnectedAccountModalComponent } from '../../connected-account-modal/connected-account-modal.component';\nimport { ListingAccuracyText } from '../../listing-sync-table/columns/presence-accuracy/accuracy-text.pipe';\nimport { ListingSidebarComponent } from '../../listing-sync-table/listing-sidebar/listing-sidebar.component';\nimport { ListingSyncService } from '../../listing-sync.service';\nimport { BadgeColor } from '@vendasta/galaxy/badge';\nimport { toObservable } from '@angular/core/rxjs-interop';\n\n@Component({\n selector: 'local-seo-primary-source',\n templateUrl: './primary-source.component.html',\n styleUrls: ['./primary-source.component.scss'],\n standalone: false,\n})\nexport class PrimarySourceComponent implements OnInit, OnDestroy {\n data = input.required();\n @Input() sidebarTopPadding = 0;\n @Input() isListingfromEmbedded = false;\n\n @ViewChild('sidenav') sidenav: MatSidenav;\n @ViewChild('listingSidebar') listingSidebar: ListingSidebarComponent;\n\n data$: Observable = toObservable(this.data);\n syncStatusloading$: Observable;\n subscriptions: Subscription[] = [];\n dialogRef: MatDialogRef;\n accuracyText = ListingAccuracyText;\n\n constructor(\n private translate: TranslateService,\n private route: ActivatedRoute,\n private router: Router,\n private dialog: MatDialog,\n private upgradeDialogService: UpgradeCTADialogService,\n private env: EnvironmentService,\n private listingSyncService: ListingSyncService,\n ) {\n this.syncStatusloading$ = combineLatest([this.listingSyncService.loadingSource$, this.data$]).pipe(\n map(([loadingSource, data]: [number, SyncData]) => loadingSource === data.sourceId),\n );\n }\n\n syncStyleToBadgeColor(style: SyncStyle): BadgeColor {\n switch (style) {\n case SyncStyle.SUCCESS:\n return 'green';\n case SyncStyle.WARNING:\n return 'yellow';\n case SyncStyle.NEUTRAL:\n return 'blue-solid';\n default:\n return 'grey';\n }\n }\n\n ngOnInit(): void {\n this.subscriptions.push(\n combineLatest([this.data$, this.route.queryParams]).subscribe(([data, params]: [SyncData, Params]) => {\n if (params['service'] && serviceToSourceID(params['service']) === data.sourceId) {\n this.dialog\n .open(ConnectedAccountModalComponent, {\n data: {\n sourceId: data.sourceId,\n accountName: data.account?.username,\n },\n })\n .afterClosed()\n .pipe(\n switchMap((shouldSync) => {\n return this.listingSyncService.updateSyncing(data.sourceId, data.account.connectionId, shouldSync);\n }),\n )\n .subscribe(() => {\n this.router.navigate([this.router.url.split('?')[0]]);\n });\n }\n }),\n );\n }\n\n ngOnDestroy() {\n this.subscriptions.forEach((s) => s.unsubscribe());\n }\n\n close() {\n this.sidenav.close();\n }\n\n open(locked: boolean) {\n if (!locked) {\n this.sidenav.open();\n } else {\n this.OpenUpgradeDialog();\n }\n }\n\n OpenUpgradeDialog() {\n const editionChangeDetails$ = this.upgradeDialogService.getEditionChangeDetails$();\n const upgradePrice$: Observable = combineLatest([\n this.upgradeDialogService.partnerMarket$,\n editionChangeDetails$,\n ]).pipe(\n switchMap(([pmConfig, editionChangeDetails]: [PartnerMarket, EditionChange]) => {\n let paidEdition = DEMO_PAID_EDITION;\n if (this.env.getEnvironment() == Environment.PROD) {\n paidEdition = PROD_PAID_EDITION;\n }\n return this.upgradeDialogService.getUpgradePrice$(pmConfig, appID, editionChangeDetails, paidEdition);\n }),\n shareReplay(1),\n );\n const formattedUpgradePrice$ = upgradePrice$.pipe(\n switchMap((upgradePrice) => this.upgradeDialogService.getFormattedRetailPrice$(upgradePrice)),\n );\n combineLatest([\n upgradePrice$,\n formattedUpgradePrice$,\n editionChangeDetails$,\n this.upgradeDialogService.getCustomUpgradeModalContent$(),\n this.upgradeDialogService.appSettings$,\n ])\n .pipe(\n take(1),\n switchMap(\n ([upgradePrice, formattedUpgradePrice, editionChangeDetails, customUpgradeModalContent, settings]) => {\n const marketingPoints = [\n this.translate.instant('EDITION.UPGRADE_MODAL.MARKETING_POINTS.LINE_1'),\n this.translate.instant('EDITION.UPGRADE_MODAL.MARKETING_POINTS.LINE_2'),\n this.translate.instant('EDITION.UPGRADE_MODAL.MARKETING_POINTS.LINE_3'),\n this.translate.instant('EDITION.UPGRADE_MODAL.MARKETING_POINTS.LINE_4'),\n this.translate.instant('EDITION.UPGRADE_MODAL.MARKETING_POINTS.LINE_5'),\n this.translate.instant('EDITION.UPGRADE_MODAL.MARKETING_POINTS.LINE_6'),\n ];\n const appName =\n settings.branding &&\n settings.branding.enabled &&\n settings.branding.enabled === true &&\n settings.branding.name\n ? settings.branding.name\n : 'Local SEO';\n let ctaText =\n !!customUpgradeModalContent && customUpgradeModalContent.buttonText\n ? customUpgradeModalContent.buttonText\n : undefined;\n if (editionChangeDetails?.editionUpgradeAction && !ctaText) {\n switch (editionChangeDetails?.editionUpgradeAction) {\n case EditionUpgradeAction.EDITION_UPGRADE_ACTION_CONTACT_SALES:\n ctaText = this.translate.instant('UPGRADE_DIALOG.PRICE.CONTACT_SALES');\n break;\n default:\n ctaText = this.translate.instant('LISTING_SYNC.LSP_ADDON.UPGRADE_MODAL.BUTTON_TEXT');\n break;\n }\n }\n const dialogConfig: UpgradeCTADialogConfig = {\n editionName: `${appName} ${this.translate.instant('COMMON.PRO')}`,\n imageText:\n !!customUpgradeModalContent && customUpgradeModalContent.titleText\n ? customUpgradeModalContent.titleText\n : this.translate.instant('EDITION.UPGRADE_MODAL.IMAGE_TEXT'),\n imageUrl:\n !!customUpgradeModalContent && customUpgradeModalContent.imageUrl\n ? customUpgradeModalContent.imageUrl\n : `https://vstatic-prod.apigateway.co/listing-builder-client/assets/images/LocalSearch.svg`,\n keySellingPoints:\n !!customUpgradeModalContent && customUpgradeModalContent.sellingPoints\n ? customUpgradeModalContent.sellingPoints\n : marketingPoints,\n ctaText: ctaText || this.translate.instant('LISTING_SYNC.LSP_ADDON.UPGRADE_MODAL.BUTTON_TEXT'),\n upgradeNowText: this.upgradeDialogService.getUpgradeText(upgradePrice, editionChangeDetails),\n price: formattedUpgradePrice,\n frequency: this.upgradeDialogService.getFrequencyText(upgradePrice),\n };\n\n this.dialogRef = this.dialog.open(UpgradeCTADialogComponent, {\n data: dialogConfig,\n });\n return this.dialogRef.afterClosed().pipe(\n filter((upgradeClicked) => !!upgradeClicked),\n switchMap(() => {\n const isCustomPackage =\n editionChangeDetails.editionUpgradeAction == EditionUpgradeAction.EDITION_UPGRADE_ACTION_CUSTOM_ORDER;\n let paidEdition = DEMO_PAID_EDITION;\n if (this.env.getEnvironment() == Environment.PROD) {\n paidEdition = PROD_PAID_EDITION;\n }\n const item: UpgradeRedirectItem = isCustomPackage\n ? { packageId: editionChangeDetails.priceReferencePackageId }\n : { appId: APP_ID, editionId: paidEdition };\n return this.upgradeDialogService.buildBusinessCenterUpgradeRedirectInfo(\n item,\n editionChangeDetails.editionUpgradeAction,\n );\n }),\n );\n },\n ),\n )\n .subscribe((redirectInfo) => {\n this.upgradeDialogService.sendToVbc(redirectInfo);\n });\n }\n\n getSideNavTopGap(): number {\n return this.isListingfromEmbedded ? 124 : 100;\n }\n}\n\nfunction serviceToSourceID(service: string): number {\n switch (service) {\n case 'GMB_LOCATION':\n return GoogleSourceID;\n case 'FB_PAGE':\n return FacebookSourceID;\n default:\n return 10060;\n }\n}\n","\n \n \n \n \n \n \n \n
    \n \n
    {{ data?.name }}
    \n lock\n
    \n
    \n {{ 'LISTING_SYNC.PRIMARY_SOURCES.LISTING_SCORE' | translate }} {{ data.score }}/{{ data.maxScore }}\n
    \n \n {{ data.accuracyInfo?.icon }}\n
    {{ data.accuracyInfo?.text }}
    \n \n \n {{ data?.syncInfo?.icon }}\n
    {{ data.syncInfo.text }}
    \n \n
    \n
    \n
    \n
    \n
    \n\n\n \n\n\n\n \n {{ 'LISTING_SYNC.LSP_ADDON.COLUMNS.ACCURACY.NO_REPORTING' | translate }}\n \n\n","import { Component, Inject, Input } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport {\n AGIDTOKEN,\n AppleSourceID,\n BingSourceID,\n FacebookSourceID,\n GoogleSourceID,\n InstagramSourceID,\n SyncData,\n XSourceID,\n} from '../../local-seo';\nimport { ListingSyncService } from '../listing-sync.service';\n\n@Component({\n selector: 'local-seo-primary-sources',\n templateUrl: './primary-sources.component.html',\n styleUrls: ['./primary-sources.component.scss'],\n standalone: false,\n})\nexport class PrimarySourcesComponent {\n @Input() sidebarTopPadding = 0;\n @Input() isListingfromEmbedded = false;\n\n Cards$: Observable;\n cardSources = [GoogleSourceID, FacebookSourceID, InstagramSourceID, XSourceID, BingSourceID, AppleSourceID];\n\n constructor(\n @Inject(AGIDTOKEN) private accountGroupId$: Observable,\n public listingSyncService: ListingSyncService,\n ) {\n this.Cards$ = this.listingSyncService.syncData$.pipe(\n map((sources) =>\n sources\n .filter((source) => this.cardSources.includes(source.sourceId))\n .sort((a, b) => this.cardSources.indexOf(a.sourceId) - this.cardSources.indexOf(b.sourceId)),\n ),\n );\n }\n}\n","
    \n @if (Cards$ | async; as cards) {\n @for (card of cards; track card) {\n
    \n \n
    \n }\n } @else {\n @for (src of cardSources; track src) {\n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n }\n }\n
    \n","import { Component } from '@angular/core';\nimport { ListingSyncService } from '../listing-sync.service';\nimport { PopoverPositions } from '@vendasta/galaxy/popover';\nimport { Observable } from 'rxjs';\nimport { SyncingProgressSummaryData, SyncingProgressSyncLegendConfig } from '../../local-seo';\n\n@Component({\n selector: 'local-seo-syncing-progress-summary-card',\n templateUrl: './syncing-progress-summary-card.component.html',\n styleUrls: ['./syncing-progress-summary-card.component.scss'],\n standalone: false,\n})\nexport class SyncingProgressSummaryCardComponent {\n summaryData$: Observable;\n PopoverPositions = PopoverPositions;\n showPopover = false;\n\n syncingProgressLegendConfig = SyncingProgressSyncLegendConfig;\n\n constructor(private readonly listingSyncService: ListingSyncService) {\n this.summaryData$ = this.listingSyncService.syncingProgressSummaryData$;\n }\n\n showPopovers(): void {\n this.showPopover = true;\n }\n\n hidePopovers(): void {\n this.showPopover = false;\n }\n\n getSyncValueBgColor(data: SyncingProgressSummaryData): string {\n const ratio = data?.syncedSourcesCount / data?.totalSourcesCount;\n if (ratio >= 0.75) {\n return 'sync-green';\n }\n if (ratio >= 0.5) {\n return 'syncing-green';\n }\n return 'not-syncing-grey';\n }\n}\n","\n \n \n \n {{ 'LISTING_SYNC.SYNCING_PROGRESS_SUMMARY_CARD.TITLE' | translate }}\n \n \n \n info_outline\n \n \n
    \n
    \n \n {{ statusLegend.icon }}\n \n {{ statusLegend.name | translate }}\n |\n {{ statusLegend.description | translate }}\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n {{ data.syncedSourcesCount || 0 }}/{{ data.totalSourcesCount }}\n
    \n
    \n \n
    \n \n
    \n \n
    \n \n
    \n
    \n
    \n","export { LocalSEOTableModule } from './local-seo-table/local-seo-table.module';\nexport { LocalSeoKeywordsStatsCardsModule } from './keyword-stats-cards/local-seo-keywords-stats-cards.module';\nexport { KeywordTrackingPageModule } from './keyword-tracking-page/keyword-tracking-page.module';\nexport { KeywordTrackingModule } from './keyword-tracking-page/keyword-tracking/keyword-tracking.module';\nexport { KeywordTrackingService } from './keyword-tracking-page/keyword-tracking/keyword-tracking.service';\nexport { LanguageService } from './listings-management/language-service.service';\nexport { ListingSyncService } from './listings-management/listing-sync.service';\nexport { LocalSEOListingsManagementModule } from './listings-management/listings-management.module';\nexport {\n appID,\n PartnerMarket,\n UpgradeRedirectItem,\n UpgradeCTADialogService,\n} from './upgrade-cta-dialog/upgrade-cta-dialog.service';\nexport * from './local-seo';\n","export * from './lib/index';\n","import { Component, Inject, Input, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { ListingProfileService } from '@galaxy/listing-profile-common';\nimport { map, shareReplay, switchMap } from 'rxjs/operators';\nimport { ListingProfile, ProjectionFilter } from '@vendasta/listing-products';\n// eslint-disable-next-line @nx/enforce-module-boundaries\nimport { AGIDTOKEN } from '@vendasta/local-seo';\n\n@Component({\n selector: 'local-seo-listing-nap-map-card',\n templateUrl: './listings-nap-map-card.component.html',\n styleUrls: ['./listings-nap-map-card.component.scss'],\n standalone: false,\n})\nexport class ListingsNapMapCardComponent implements OnInit {\n @Input() size = '';\n @Input() overlay: 'half' | 'small' = 'half';\n public mapPixelSize = '';\n public businessProfileCardData$: Observable;\n public businessPrimaryCategory = '';\n public isLoaded = false;\n constructor(\n private router: Router,\n private route: ActivatedRoute,\n @Inject(AGIDTOKEN) private accountGroupId$: Observable,\n private listingProfileService: ListingProfileService,\n ) {\n this.businessProfileCardData$ = this.accountGroupId$.pipe(\n switchMap((agid) => {\n return this.listingProfileService\n .get(agid, new ProjectionFilter({ napData: true, externalIdentifiers: true }))\n .pipe(\n map((lp: ListingProfile) => {\n return {\n mapOptions: {\n center: {\n lat: lp.napData.location.latitude,\n lng: lp.napData.location.longitude - 0.024,\n },\n zoom: 13,\n mapTypeControl: false,\n gestureHandling: 'none',\n },\n markerOptions: {\n position: {\n lat: lp.napData.location.latitude,\n lng: lp.napData.location.longitude,\n },\n draggable: false,\n title: lp.napData.companyName,\n },\n listingProfile: lp,\n };\n }),\n shareReplay(1),\n );\n }),\n );\n }\n\n getBusinessCategory(listingProfile: ListingProfile): boolean {\n const ids = listingProfile.externalIdentifiers?.vCategoryIds || [];\n if (ids.length > 0) {\n const value = ids[0].split('_');\n this.businessPrimaryCategory = value\n .map((word, index) => {\n if (index === 0) {\n // Capitalize the first word\n return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase();\n } else {\n // Keep the rest in lowercase\n return word.toLowerCase();\n }\n })\n .join(' ');\n return true;\n } else {\n return false;\n }\n }\n\n validateAddressDisplay(listingProfile: ListingProfile): boolean {\n const napData = listingProfile?.napData;\n const serviceArea = napData?.serviceArea;\n\n // Show address when the business is not a service area business\n if (!napData?.serviceAreaBusiness) {\n return true;\n }\n\n // Hide address when the business type indicates address should be hidden\n if (serviceArea?.businessType === 1) {\n return false;\n }\n\n return true;\n }\n\n getMatCardClass(): ClassList {\n return {\n 'listings-nap-map-card-content': this.size != 'Small',\n };\n }\n\n getOverlayClass(): ClassList {\n return {\n 'business-profile-overlay-small': this.size === 'Small',\n 'business-profile-overlay-large': this.size != 'Small',\n 'small-width': this.overlay === 'small',\n 'half-width': this.overlay != 'small',\n };\n }\n\n ngOnInit(): void {\n this.isLoaded = true;\n if (this.size === 'Small') {\n this.mapPixelSize = '150px';\n } else {\n this.mapPixelSize = '250px';\n }\n }\n\n navigateInsideAngular(page: string): void {\n this.router.navigate([`../${page}`], {\n queryParamsHandling: 'preserve',\n relativeTo: this.route,\n });\n }\n\n truncateString(str: string): string {\n const maxLength = 50;\n if (!str) {\n return '';\n }\n if (str.length > maxLength) {\n return str.slice(0, maxLength) + '...';\n }\n return str;\n }\n}\n\nexport interface BusinessProfileCardData {\n mapOptions: google.maps.MapOptions;\n markerOptions: google.maps.MarkerOptions;\n listingProfile: ListingProfile;\n}\n\ninterface ClassList {\n [key: string]: boolean;\n}\n","\n \n
    \n
    \n
    \n business\n
    \n
    \n
    {{ truncateString(data.listingProfile.napData.companyName) }}
    \n
    \n {{ businessPrimaryCategory }}\n
    \n
    \n (Service area business)\n
    \n
    \n {{ truncateString(data.listingProfile.napData.address) }}\n
    \n
    \n {{ data.listingProfile.napData.city }} {{ data.listingProfile.napData.state }}\n {{ data.listingProfile.napData.zip }}\n
    \n
    {{ data.listingProfile.napData.country }}
    \n
    0\">\n {{ data.listingProfile.napData.workNumber[0] }}\n
    \n
    \n
    \n
    \n \n \n \n
    \n
    \n\n\n \n
    \n \n
    \n
    \n
    \n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatCardModule } from '@angular/material/card';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatDialogModule } from '@angular/material/dialog';\nimport { MatExpansionModule } from '@angular/material/expansion';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatListModule } from '@angular/material/list';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { MatRadioModule } from '@angular/material/radio';\nimport { MatSidenavModule } from '@angular/material/sidenav';\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\nimport { MatSnackBarModule } from '@angular/material/snack-bar';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { LexiconModule } from '@galaxy/lexicon';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { GalaxyAlertModule } from '@vendasta/galaxy/alert';\nimport { GalaxyBadgeModule } from '@vendasta/galaxy/badge';\nimport { GalaxyFormFieldModule } from '@vendasta/galaxy/form-field';\nimport { GalaxyLoadingSpinnerModule } from '@vendasta/galaxy/loading-spinner';\nimport { GalaxyPageModule } from '@vendasta/galaxy/page';\nimport { GalaxyPopoverModule } from '@vendasta/galaxy/popover';\nimport { GalaxyTooltipModule } from '@vendasta/galaxy/tooltip';\nimport { VaIconModule, VaStencilsModule } from '@vendasta/uikit';\nimport { FilterModule } from '@vendasta/va-filter2';\nimport { Filter2TableModule, TABLE_DEFINITION, VaFilteredMatTableService } from '@vendasta/va-filter2-table';\nimport { ClickOutsideModule } from 'ng-click-outside';\nimport { NgxJsonViewerModule } from 'ngx-json-viewer';\nimport en from '../assets/i18n/en_devel.json';\nimport { ColorIconComponent } from '../color-icon/color-icon.component';\nimport { DisconnectServiceModalComponent } from '../disconnect-service-modal/disconnect-service-modal.component';\nimport { RepcoreApiService } from '../repcore-api/repcore-api.service';\nimport { VApiService } from '../repcore-api/vapi.service';\nimport { UpgradeCTADialogService } from '../upgrade-cta-dialog/upgrade-cta-dialog.service';\nimport { ConnectedAccountModalComponent } from './connected-account-modal/connected-account-modal.component';\nimport { ListingScoreSummaryCardComponent } from './listing-score-summary-card/listing-score-summary-card.component';\nimport { AccuracyTextPipe } from './listing-sync-table/columns/presence-accuracy/accuracy-text.pipe';\nimport { AnchorDataKeyToIconPipe } from './listing-sync-table/columns/presence-accuracy/errors-modal/anchor-data-key-to-icon.pipe';\nimport { ErrorsModalComponent } from './listing-sync-table/columns/presence-accuracy/errors-modal/errors-modal.component';\nimport { FillEmptyAnchorDataPipe } from './listing-sync-table/columns/presence-accuracy/errors-modal/fill-empty-anchor-data.pipe';\nimport { PresenceAccuracyComponent } from './listing-sync-table/columns/presence-accuracy/presence-accuracy.component';\nimport { IconComponent } from './listing-sync-table/columns/source-name-column/icon/icon.component';\nimport { SourceNameColumnComponent } from './listing-sync-table/columns/source-name-column/source-name-column.component';\nimport { StatusColumnComponent } from './listing-sync-table/columns/status-column/status-column.component';\nimport { ListingSidebarComponent } from './listing-sync-table/listing-sidebar/listing-sidebar.component';\nimport { ListingSyncTableFilterService } from './listing-sync-table/listing-sync-table-filter.service';\nimport { tableDefinitionFactory } from './listing-sync-table/listing-sync-table-model';\nimport { ListingSyncTableComponent } from './listing-sync-table/listing-sync-table.component';\nimport { ListingSyncTableService } from './listing-sync-table/listing-sync-table.service';\nimport { SyncInfoModalComponent } from './listing-sync-table/sync-info-modal/sync-info-modal.component';\nimport { ListingSyncService } from './listing-sync.service';\nimport { ListingsManagementComponent } from './listings-management.component';\nimport { ListingsSummaryCardComponent } from './listings-summary-card/listings-summary-card.component';\nimport { PrimarySourceComponent } from './primary-sources/primary-source/primary-source.component';\nimport { PrimarySourcesComponent } from './primary-sources/primary-sources.component';\nimport { SyncingProgressSummaryCardComponent } from './syncing-progress-summary-card/syncing-progress-summary-card.component';\nimport { ListingsNapMapCardComponent } from './listings-nap-map-card/listings-nap-map-card.component';\nimport { GoogleMap, MapMarker } from '@angular/google-maps';\nimport EditBusinessProfileComponent from './edit-business-profile/edit-business-profile.component';\nimport { ListingSidebarAccuracyComponent } from './listing-sync-table/listing-sidebar-accuracy/listing-sidebar-accuracy.component';\nimport { LanguageService } from './language-service.service';\nimport { ListingSidebarActionsComponent } from './listing-sync-table/listing-sidebar-actions/listing-sidebar-actions.component';\nimport { ListingSidebarErrorsComponent } from './listing-sync-table/listing-sidebar-errors/listing-sidebar-errors.component';\nimport { ListingSidebarAccountsComponent } from './listing-sync-table/listing-sidebar-accounts/listing-sidebar-accounts.component';\nimport { ConnectionButtonComponent } from '@galaxy/platform-integrations';\n\n@NgModule({\n declarations: [\n ListingsManagementComponent,\n ListingSidebarComponent,\n SyncInfoModalComponent,\n ConnectedAccountModalComponent,\n ListingSyncTableComponent,\n SourceNameColumnComponent,\n IconComponent,\n StatusColumnComponent,\n ListingsSummaryCardComponent,\n ListingScoreSummaryCardComponent,\n SyncingProgressSummaryCardComponent,\n PresenceAccuracyComponent,\n ErrorsModalComponent,\n AccuracyTextPipe,\n AnchorDataKeyToIconPipe,\n FillEmptyAnchorDataPipe,\n PrimarySourcesComponent,\n PrimarySourceComponent,\n DisconnectServiceModalComponent,\n ColorIconComponent,\n EditBusinessProfileComponent,\n ListingsNapMapCardComponent,\n ListingsNapMapCardComponent,\n EditBusinessProfileComponent,\n ListingSidebarAccuracyComponent,\n ListingSidebarActionsComponent,\n ListingSidebarErrorsComponent,\n ListingSidebarAccountsComponent,\n ],\n imports: [\n CommonModule,\n TranslateModule,\n GalaxyAlertModule,\n CommonModule,\n MatButtonModule,\n MatCardModule,\n MatDialogModule,\n MatMenuModule,\n MatIconModule,\n GalaxyTooltipModule,\n MatProgressSpinnerModule,\n MatSlideToggleModule,\n MatSnackBarModule,\n MatTableModule,\n MatRadioModule,\n TranslateModule,\n VaIconModule,\n Filter2TableModule,\n ReactiveFormsModule,\n FilterModule,\n MatTooltipModule,\n GalaxyFormFieldModule,\n GalaxyPageModule,\n NgxJsonViewerModule,\n MatExpansionModule,\n MatListModule,\n GalaxyBadgeModule,\n GalaxyLoadingSpinnerModule,\n MatSidenavModule,\n ClickOutsideModule,\n GalaxyPopoverModule,\n ReactiveFormsModule,\n FormsModule,\n MatCheckboxModule,\n LexiconModule.forChild({\n componentName: 'common/local-seo',\n baseTranslation: en,\n }),\n MatExpansionModule,\n GoogleMap,\n MapMarker,\n ConnectionButtonComponent,\n VaStencilsModule,\n ],\n exports: [\n ListingsSummaryCardComponent,\n ListingScoreSummaryCardComponent,\n SyncingProgressSummaryCardComponent,\n ListingSyncTableComponent,\n PrimarySourcesComponent,\n ListingsManagementComponent,\n ListingsNapMapCardComponent,\n EditBusinessProfileComponent,\n IconComponent,\n ],\n providers: [\n VaFilteredMatTableService,\n ListingSyncTableFilterService,\n {\n provide: TABLE_DEFINITION,\n useFactory: tableDefinitionFactory,\n deps: [ListingSyncTableFilterService],\n },\n RepcoreApiService,\n VApiService,\n UpgradeCTADialogService,\n ListingSyncService,\n ListingSyncTableService,\n LanguageService,\n ],\n})\nexport class LocalSEOListingsManagementModule {}\n"],"mappings":"84KAqKA,SAASA,GAAkBC,EAAc,CACvC,OAAIA,GAAU,MAA+BA,IAAU,EAC9C,MAELA,EAAQ,GACH,MAELA,EAAQ,GACH,SAEF,MACT,CAEA,SAASC,GAAYD,EAAeE,EAAmB,CACrD,OAAIA,EACK,SAELF,GAAU,MAA+BA,IAAU,EAC9C,KAELA,EAAQG,GACH,MAEFC,GAAaJ,EAAO,QAAS,OAAO,CAC7C,CAEA,SAASK,GAAcL,EAAc,CACnC,OAAIA,GAAU,MAA+BA,IAAU,EAC9C,MAEFI,GAAaJ,EAAO,QAAS,OAAO,CAC7C,CA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MAAOA,CAAmB,iDAAnBA,EAAmB,CAAA,gCAAnBA,CAAmB,CAAA,CAAA,oCA5B5BuB,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GAAcC,SAAS,CACrBC,cAAe,mBACfC,gBAAiBC,GAClB,EACDL,GACAM,GACAN,GACAO,GACAC,GACAC,GACAC,GACAC,EAAoB,CAAA,CAAA,CAAA,SAIX9C,CAAmB,GAAA,ICxDhC,IA2Fa+C,GA3FbC,GAAAC,EAAA,KACAC,IACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KAGAC,KACAC,KACAC,KACAC,KACAT,KACAU,KACAC,KACAC,KACAZ,KACAa,KACAC,KACAC,KACAC,KACAC,KAGAC,KAGAlB,KACAmB,KACAC,KACAC,SAmDajC,IAAqB,IAAA,CAA5B,MAAOA,CAAqB,iDAArBA,EAAqB,CAAA,gCAArBA,CAAqB,CAAA,CAAA,oCAvC9BkC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GAAcC,SAAS,CACrBC,cAAe,mBACfC,gBAAiBC,GAClB,EACDC,GACAC,EAAW,CAAA,CAAA,CAAA,SAIFtE,CAAqB,GAAA,IC3FlC,IAGIuE,GAHJC,GAAAC,EAAA,KAAAC,IACAC,IACAD,IACIH,GAAwB,UAAY,CACtC,SAASA,EAAsBK,EAAKC,EAASC,EAAY,CACvD,KAAK,IAAMF,EACX,KAAK,QAAUC,EACf,KAAK,WAAaC,EAClB,KAAK,oBAAsB,GAC3B,KAAK,qBAAuB,GAC5B,KAAK,sBAAwB,GAC7B,KAAK,WAAa,GAClB,KAAK,QAAU,GACf,KAAK,mBA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2B,CAAAC,EAAAC,GAAAC,GAAAC,GAAAC,GAI3BC,GAMAC,GAMAC,GAMAC,EAA2B,EAAA,CAAAC,GAAAC,CAAA,CAAA","names":["convertDifficulty","value","convertRank","inProgress","MaxRank","formatNumber","convertNumber","determineOriginalListingScore","scoreData","listingScoreHistory","length","score","syncBadgeIcon","source","account","tokenBroken","MaterialIcons","LINK_OFF","connectionId","isAuthenticated","WARNING","isSyncingEnabled","SyncStatusMapping","get","syncStatus","syncIcon","NONE","accuracyBadgeStyle","src","accuracy","status","AccuracyStatus","ACCURACY_STATUS_ACCURATE","SyncStyle","SUCCESS","UNSET","syncBadgeStyle","style","NEUTRAL","getSyncStatusText","translate","sourceId","sourceName","listingFound","hasAccountConnected","locked","isTokenBroken","isVerified","isGoogleTokenBroken","GoogleSourceID","instant","BingSourceID","SyncStatus","SYNC_STATUS_SUCCESS","ACCURACY_STATUS_UNAVAILABLE","syncText","InstagramSourceID","getImageRequirementByField","field","getTranslatedErrorMessageField","SEARCH_RADIUS_LOCAL","SEARCH_RADIUS_SMALL_CITY","SEARCH_RADIUS_BIG_CITY","SEARCH_RADIUS_XL_CITY","AGIDTOKEN","IS_IMPERSONATING_TOKEN","DEMO_PAID_EDITION","PROD_PAID_EDITION","APP_ID","AppleSourceID","FacebookSourceID","XSourceID","Top4SourceID","LOCAL_SEO_UI_TRIGGER","SEODataSearchRadiusZoomValue","SEODataSearchRadiusTypes","MaxMapsRank","SEOTableData","LocaleDateTickFormatting","WholeNumberTickFormatting","DIRECT_SUBMIT_SOURCE_CONFIG","SyncingProgressSyncLegendConfig","DirectSyncErrorCode","DirectSyncErrorTranslationKeys","DirectSyncErrorMessage","init_local_seo","__esmMin","init_vendasta_listing_products","init_common","init_esm","init_operators","init_vendasta_category","constructor","keyword","data","metrics","favoriteKeywords","rawValue","date","localRank","organicRank","difficulty","searchVolume","searchRadius","localStartedAt","organicStartedAt","isFavorite","includes","val","Date","locale","localStorage","toLocaleDateString","month","day","toLocaleString","RequiresAccount","Map","DONE","SYNC_STATUS_SUBMITTED","SYNC_STATUS_SYNCING","SYNC","SYNC_STATUS_PARTIALLY_SYNCED","SYNC_PROBLEM","SYNC_STATUS_FAILED","SYNC_STATUS_CLAIMED","LOCK","tooltipTitle","tooltipText","SYNC_STATUS_UNAVAILABLE","SYNC_DISABLED","SYNC_STATUS_UNSET","icon","name","description","SUBMISSION_ERROR","INVALID_CATEGORY_ERROR","INVALID_FIELD_ERROR","MISSING_FIELD_ERROR","MISMATCHED_FIELD_ERROR","AUTHENTICATION_ERROR","AUTHORIZATION_ERROR","UNABLE_TO_VALIDATE_ERROR","CANNOT_HIDE_ADDRESS_ERROR","UNABLE_TO_GEOCODE_ERROR","UNABLE_TO_UPDATE_PHONE_ERROR","IMAGE_REQUIREMENTS_ERROR","MISSING_ADDRESS_ERROR","CLAIMED_ERROR","categoryService","languageService","rawJSON","parsed","JSON","parse","mismatchedFieldDetails","missingFields","invalidFields","errorCode","currentCategory","suggestedCategory","link","rawMessage","fields","formatMismatchedFields","map","current","suggested","translatedError$","of","message","key","getCategories","pipe","cats","current_category","at","suggested_category","requirements","translatedField","join","currentCat","suggestedCat","currentAndSuggested","CategoryRequest","categoryType","CategoryType","CATEGORY_TYPE_V_CATEGORY","externalId","language$$","next","getCurrentLang","getCategoryByExternalIDsAndType","categories","cat","normalizeFrequencyEnum","value","Frequency","findMostFrequentPrice","pricing","prices","length","price","mostFrequentPrice","sort","a","b","orderedFrequencies","DAILY","WEEKLY","MONTHLY","YEARLY","ONCE","OTHER","frequency","aIndex","indexOf","bIndex","undefined","billingFrequency","currency","appID","UpgradeCTADialogService","init_upgrade_cta_dialog_service","__esmMin","init_vendasta_marketplace_packages","init_src","init_esm","init_operators","init_vendasta_marketplace_apps","init_local_seo","init_vendasta_account_group","constructor","agid$","isImpersonation$","translateService","matSnackBar","snowplowService","appPartnerService","appPartnerSettingsService","marketplacePackagesService","displayPriceService","domainService","accountGroupService","partnerMarket$","pipe","switchMap","businessID","getMulti","GetMultiRequest","accountGroupIds","projectionFilter","ProjectionFilter","accountGroupExternalIdentifiers","map","resp","partnerId","accountGroups","accountGroup","marketId","toUpperCase","filter","val","of","distinctUntilChanged","shareReplay","defaultAppSettings","AppSettings","editionChange","editionUpgradeAction","EditionUpgradeAction","EDITION_UPGRADE_ACTION_CONTACT_SALES","branding","enabled","appSettings$","pm","getAppSettings","catchError","err","status","throwError","response","vbcHost$","getDomainByIdentifier","primary","domain","getUpgradeText","retailPrice","editionChangeDetails","upgradeSuffix","EDITION_UPGRADE_ACTION_CUSTOM_ORDER","customUpgradePackageIds","instant","getFrequencyText","frequencyKey","getEditionChangeDetails$","EditionChange","getAddonUpgradeDetails$","addonID","defaultEditionChange","getCustomUpgradeModalContent$","getUpgradeDialogContent","upgradeDialogContent","getFormattedRetailPrice$","currencyKey","Currency","USD","formatDisplayPrice","getUpgradePrice$","pmConfig","editionID","EDITION_UPGRADE_ACTION_CREATE_ORDER","getRetailPriceForAddonID$","priceReferencePackageId","getMostFrequentPriceForPackage$","partnerMarket","editionId","PartnerMarketContainer","combineLatest","getRetailPrice","overridePrice","defaultPrice","packageID","getMultiPackages","packageIds","packageContainers","container","package","buildBusinessCenterUpgradeRedirectInfo","item","upgradeAction","agid","vbcHost","isImpersonation","nextURL","encodeURIComponent","window","location","href","itemsJSON","JSON","stringify","upgradePath","url","sendToVbc","redirectInfo","open","duration","ɵɵinject","AGIDTOKEN","IS_IMPERSONATING_TOKEN","TranslateService","MatSnackBar","ProductAnalyticsService","AppPartnerService","AppPartnerSettingsService","MarketplacePackagesApiService","DisplayPriceService","DomainService","AccountGroupApiService","factory","ɵfac","providedIn","formatLocalSearchSEOData","data","map","localSearchData","mainIndex","results","findIndex","result","isMainBusiness","mainBusiness","slice","push","ParseRowsFromQueryMetricsResult","resp","metricIndex","reduce","arr","metric","metrics","forEach","nestedMetric","measures","value","date","dimension","generateSEODataQueryMetricsRequest","partnerId","businessId","keyword","startDate","endDate","Measure","aggregate","MeasureAggregate","measure","aggOp","MeasureAggregateOperator","MAX","alignmentPeriod","getAlignmentPeriodForDayJSRange","dayjs","QueryMetricsRequest","metricName","resourceIds","ResourceId","BusinessResourceId","filter","Filter","fieldFilter","FieldFilter","operator","FieldFilterOperator","EQUAL","valueType","PropertyType","PROPERTY_TYPE_STRING","dateRange","start","end","groupBy","GroupBy","limitDimension","order","Order","ORDER_DESC","limit","alignment","Alignment","ALIGN_DELTA","AlignmentPeriod","calendar","numMonths","diff","numDays","AlignmentPeriodCalendar","CALENDAR_MONTH","CALENDAR_WEEK","CALENDAR_DAY","import_dayjs","ADDON_INCREMENT","SEODATA_STATS","free_edition_keywords","paid_edition_keywords","KeywordTrackingService","init_keyword_tracking_service","__esmMin","init_vendasta_accounts_legacy","init_vendasta_listing_products","init_vendasta_multi_location_analytics","init_esm","init_operators","init_local_seo","constructor","listingProfileService","lpSEOService","seoPartnerSettingsService","mla","agid$","snackBar","translate","listingProductsApiService","seoSuggestedKeywordsService","accountsService","upgradeDialogService","listingProductsService","listingProfile$$","BehaviorSubject","loading$$","seoSettings$$","keywordStore$$","keywords","syncingKeywords","favoriteKeywords","keywordStore$","asObservable","canEditKeywords$$","canEditKeywords$","defaultMarketID","suggestedKeywordsErrorMessage","dateRange$$","undefined","missingGeoLocation$$","missingWebsite$$","suggestedKeywords$$","isLBFreeEdition$","pipe","switchMap","agid","filters","appIds","statuses","AppAndAddonActivationStatus","ACTIVATED","CANCELED","listAppsAndAddonsActivationStatusesForBusiness","activations","length","editionId","DEMO_PAID_EDITION","PROD_PAID_EDITION","shareReplay","partnerSettings$","partnerMarket$","pm","getPartnerSettings","GetPartnerSettingsRequest","marketId","gbpData$","getDirectSyncSourceInfo","GetDirectSyncSourceInfoRequest","refresh","res","directSubmitSources","find","s","sourceId","GoogleSourceID","DirectSyncSource","fetchBusinessData","fetchSEODataSettings","getProductSettings","getSuggestedKeywords","seoDataResponse$","combineLatest","_","keywordStore","GetSEOSummaryData","SEOSummaryData$","current","suggestedKeywords$","keywordMetrics$","fetchSEOQueryMetrics","seoSettings$","addOns$","getActiveSeoAddons","GetActiveSEOAddonsRequest","activeAddons","keywordLimit$","isFreeEdition","addOns","keywordLimit","limitIncrement","count","getSeoSettings","GetSEOSettingsRequest","catchError","err","status","message","error","instant","open","politeness","duration","EMPTY","of","SEOSettingsResponse","localSearchRadius","SEARCH_RADIUS_LOCAL","isFullSearchEnabled","subscribe","seoSettings","next","__spreadProps","__spreadValues","getMulti","GetMultiListingProfileRequest","businessIds","languageCode","currentLang","defaultLang","projectionFilter","ProjectionFilter","richData","napData","listingProfiles","listingProfile","location","latitude","longitude","website","seoKeywords","syncingSeoKeywords","pid","range","obsMetrics","queryMetrics","metricResults","unwrapMetricsResponse","localRank","indexOf","organicRank","tap","take","partnerSettings","setCanEditKeywords","canEditKeywords","businessID","getSeoDataSummary","GetSEODataSummaryRequest","seoSummaryData","previous","previousData","GetLocalSEOSearchDetails","getLocalSearchSeoData","GetLocalSearchSEODataRequest","response","isFree","GetOrGenerateSEOSuggestedKeywordsResponse","keywordInfo","getOrGenerateSeoSuggestedKeywords","GetSEOSuggestedKeywordsRequest","suggestedkeywords","info","KeywordInfo","competition","competitionIndex","searchVolume","lowTopOfPageBid","highTopOfPageBid","updateSeoSettingsForDialog","mapRadius","saveSeoSettings","SaveSEOSettingsRequest","fieldMask","FieldMask","paths","updateFavoriteKeywords","updateKeywords","oldKeywords","newKeywords","Array","from","Set","concat","values","update","UpdateListingProfileRequest","updateOperations","UpdateOperation","RichData","isFavoriteNewKeywordsDisabled","isSyncKeywordsDisabled","updateSyncingKeywords","deleteKeyword","filteredKeywords","k","updateDateRange","setLocalStorage","key","localStorage","setItem","getLocalStorage","getItem","ɵɵinject","ListingProfileApiService","SEOApiService","PartnerSettingsApiService","MultiLocationAnalyticsService","AGIDTOKEN","MatSnackBar","TranslateService","ListingProductsApiService","SEOSuggestedKeywordsApiService","AccountsService","UpgradeCTADialogService","factory","ɵfac","providedIn","ɵɵelementStart","ɵɵlistener","$event","ɵɵrestoreView","_r2","ctx_r2","ɵɵnextContext","ɵɵresetView","removeClicked","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","form","ɵɵpipeBind1","keywordLimit","data","keywords","length","ɵɵtext","ɵɵtextInterpolate","element_r4","keyword","element_r5","competition","ɵɵtextInterpolate1","element_r6","searchVolume","toLocaleString","ɵɵelement","element_r8","_r7","$implicit","addSuggestedKeyword","controls","canEditKeywords","ɵɵelementContainerStart","ɵɵtemplate","LocalSeoKeywordDialogComponent_ng_container_8_ng_container_4_th_3_Template","LocalSeoKeywordDialogComponent_ng_container_8_ng_container_4_td_4_Template","LocalSeoKeywordDialogComponent_ng_container_8_ng_container_4_th_6_Template","LocalSeoKeywordDialogComponent_ng_container_8_ng_container_4_td_7_Template","LocalSeoKeywordDialogComponent_ng_container_8_ng_container_4_th_9_Template","LocalSeoKeywordDialogComponent_ng_container_8_ng_container_4_td_10_Template","LocalSeoKeywordDialogComponent_ng_container_8_ng_container_4_th_12_Template","LocalSeoKeywordDialogComponent_ng_container_8_ng_container_4_td_13_Template","LocalSeoKeywordDialogComponent_ng_container_8_ng_container_4_tr_14_Template","LocalSeoKeywordDialogComponent_ng_container_8_ng_container_4_tr_15_Template","suggestedKeywordList","displayedColumns","LocalSeoKeywordDialogComponent_ng_container_8_ng_container_4_Template","noKeywords_r9","suggestedKeywordsErrorMessage","LocalSeoKeywordDialogComponent_ng_template_10_Conditional_0_Template","LocalSeoKeywordDialogComponent_ng_template_10_Conditional_1_Template","ɵɵconditional","LocalSeoKeywordDialogComponent","init_local_seo_keyword_dialog_component","__esmMin","init_dialog","init_forms","constructor","dialogRef","fb","keywordTrackingService","posthogService","originalKeywords","isLbFreeEdition$","isLBFreeEdition$","suggestedKeywords","UntypedFormArray","push","control","currentKeywordUsage","inputsWithText","filter","value","closeModal","save","keywordsAdded","map","close","undefined","result","newKeywords","raisePostHogEvent","suggestedKeywordsAdded","includes","suggestedKeywordsAddedElement","trackEvent","element","removedKeyword","find","keywordInfo","concat","ɵɵdirectiveInject","MAT_DIALOG_DATA","MatDialogRef","FormBuilder","KeywordTrackingService","ProductAnalyticsService","selectors","standalone","decls","vars","consts","template","rf","ctx","LocalSeoKeywordDialogComponent_mat_list_7_Template","LocalSeoKeywordDialogComponent_ng_container_8_Template","LocalSeoKeywordDialogComponent_ng_template_10_Template","ɵɵtemplateRefExtractor","i0","_r1","ɵɵtextInterpolate3","ɵɵelementContainer","ɵɵelementContainerStart","ɵɵtemplate","DeltaComponent_ng_container_1_ng_container_1_Template","ɵɵadvance","ɵɵproperty","positiveDelta_r2","ɵɵpureFunction1","_c0","ctx_r0","value","DeltaComponent_ng_container_2_ng_container_1_Template","neutralDelta_r3","DeltaComponent_ng_container_3_ng_container_1_Template","negativeDelta_r4","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵtextInterpolate1","ɵɵpipeBind2","absVal","value_r5","value_r6","DeltaComponent","init_delta_component","__esmMin","init_common","init_icon","constructor","showNeutral","Math","abs","selectors","inputs","decls","vars","consts","template","rf","ctx","DeltaComponent_ng_container_1_Template","DeltaComponent_ng_container_2_Template","DeltaComponent_ng_container_3_Template","DeltaComponent_ng_template_4_Template","ɵɵtemplateRefExtractor","DeltaComponent_ng_template_6_Template","DeltaComponent_ng_template_8_Template","CommonModule","NgIf","NgTemplateOutlet","DecimalPipe","MatIconModule","MatIcon","styles","chartBlue","chartGreen","init_local_seo_graph_config","__esmMin","ɵɵelementStart","ɵɵelement","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c1","mod_r1","color","ɵɵtextInterpolate2","series","ctx_r1","config","yAxisTickFormatting","value","ɵɵtemplate","LocalSEOGraphComponent_ngx_charts_line_chart_2_ng_template_2_div_0_div_3_Template","ɵɵtextInterpolate1","formatDataPointDate","model_r3","name","alignment","LocalSEOGraphComponent_ngx_charts_line_chart_2_ng_template_2_div_0_Template","ɵɵtextInterpolate","model_r4","LocalSEOGraphComponent_ngx_charts_line_chart_2_ng_template_2_Template","ɵɵtemplateRefExtractor","LocalSEOGraphComponent_ngx_charts_line_chart_2_ng_template_4_Template","view","_c0","forceHoverState","seriesData","showLegend","showXAxis","showYAxis","colorOverrides","xAxisLabel","yAxisLabel","xAxisTickFormatting","disableTooltip","yAxisMin","yAxisMax","ɵɵpipeBind1","ɵɵelementContainerStart","_c2","legendItem_r5","iconColor","legendTranslationKey","getAlignmentPeriodForDayJSRange","start","end","numMonths","diff","AlignmentPeriodCalendar","CALENDAR_MONTH","CALENDAR_WEEK","CALENDAR_DAY","formatSeriesData","data","filter","e","MaxRank","map","l","offsetToUTCZero","date","toString","offset","dayjs","utcOffset","utc","subtract","toDate","import_dayjs","LocalSEOGraphComponent","init_local_seo_graph_component","__esmMin","init_vendasta_multi_location_analytics","init_local_seo","init_local_seo_graph_config","constructor","translate","legendConfig","icon","chartGreen","chartBlue","ngOnChanges","window","requestAnimationFrame","dispatchEvent","Event","ngOnInit","buildChartConfig","localSEOData","seoData","defaultMultiConfig","LocaleDateTickFormatting","WholeNumberTickFormatting","instant","range","metrics","dateRange","localRank","organicRank","__spreadProps","__spreadValues","Math","abs","aligment","format","ɵɵdirectiveInject","TranslateService","selectors","inputs","standalone","features","ɵɵNgOnChangesFeature","decls","vars","consts","template","rf","ctx","LocalSEOGraphComponent_ngx_charts_line_chart_2_Template","LocalSEOGraphComponent_ng_container_4_Template","SEOPerformance","init_local_seo_grid","__esmMin","TOP","ranking","color","AVERAGE","BOTTOM","UNKNOWN","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵtextInterpolate1","ctx_r0","localSEOData","keyword","ɵɵproperty","ɵɵpureFunction2","_c2","MainBusinessPerformance","SEOPerformance","TOP","AVERAGE","MainBusinessRank","ɵɵtemplate","LocalSEOGridComponent_Conditional_1_ng_template_0_ng_template_0_Template","ɵɵelementContainer","LocalSEOGridComponent_Conditional_1_ng_template_0_Template","ɵɵtemplateRefExtractor","LocalSEOGridComponent_Conditional_1_ng_container_2_Template","LocalSEOGridComponent_Conditional_1_ng_container_4_Template","currentNearMeSearch_r2","ɵɵpureFunction1","_c0","ɵɵpipeBind1","currentNearMeSearch$","businessesRanking_r3","_c1","nearMeMarkers","ɵɵelement","ɵɵlistener","i_r5","ɵɵrestoreView","_r4","index","ɵɵnextContext","ɵɵresetView","onMarkerClick","_c3","marker_r6","lat","lng","icon","label","ɵɵpipeBind2","ɵɵpureFunction3","_c5","search_r7","getConvertedRadiusValue","radiusSetting","mapUnits","translatedMapUnitsKMS","ɵɵsanitizeHtml","result_r8","reviews","rating","_c7","count","businessPerformance","rank","phoneNumber","country","_c8","index_r9","LocalSEOGridComponent_ng_template_3_ng_container_9_div_1_span_10_Template","LocalSEOGridComponent_ng_template_3_ng_container_9_div_1_span_11_Template","LocalSEOGridComponent_ng_template_3_ng_container_9_div_1_span_12_Template","LocalSEOGridComponent_ng_template_3_ng_container_9_div_1_span_13_Template","LocalSEOGridComponent_ng_template_3_ng_container_9_div_1_span_21_Template","LocalSEOGridComponent_ng_template_3_ng_container_9_div_1_mat_divider_22_Template","ɵɵclassProp","url","ɵɵpropertyInterpolate","ɵɵsanitizeUrl","businessName","claimStatus_r12","_c6","claimStatus","isMainBusiness","address","phoneNotFound_r11","last_r10","ɵɵelementContainerStart","_c9","businessData","companyName","LocalSEOGridComponent_ng_template_3_ng_container_9_div_1_Template","LocalSEOGridComponent_ng_template_3_ng_container_9_ng_container_2_Template","results","mainBusiness","ɵɵtextInterpolate2","offsetUTC","date","LocalSEOGridComponent_ng_template_3_ng_template_15_ng_container_1_Template","LocalSEOGridComponent_ng_template_3_ng_template_15_ng_container_2_Template","LocalSEOGridComponent_ng_template_3_ng_template_15_ng_container_3_Template","claimStatus_r13","GMBClaimStatus","GMB_CLAIM_STATUS_CLAIMED","GMB_CLAIM_STATUS_UNCLAIMED","LocalSEOGridComponent_ng_template_3_div_4_Template","LocalSEOGridComponent_ng_template_3_div_5_Template","LocalSEOGridComponent_ng_template_3_div_7_Template","LocalSEOGridComponent_ng_template_3_div_8_Template","LocalSEOGridComponent_ng_template_3_ng_container_9_Template","LocalSEOGridComponent_ng_template_3_ng_container_10_Template","LocalSEOGridComponent_ng_template_3_ng_template_11_Template","LocalSEOGridComponent_ng_template_3_ng_template_13_Template","LocalSEOGridComponent_ng_template_3_ng_template_15_Template","_c4","CenterPoint","latitude","longitude","zoomValue","markers_r14","data","vicinity","Vicinity","VICINITY_CITY","searchRadius","length","noSearchResults_r15","OrdinalNumberPipe","selectedMarkerOpacity","markerOpacity","LocalSEOGridComponent","init_local_seo_grid_component","__esmMin","init_vendasta_listing_products","init_vendasta_snapshot","init_esm","init_local_seo_graph_component","init_local_seo_grid","nth","n","transform","value","pure","standalone","Status","center","LocalSearchDatas","find","search","VICINITY_C3","searchLocation","location","result","constructor","ordinalPipe","translate","localSEOService","currentNearMeSearch$$","ReplaySubject","conversionFactor","asObservable","isloading","ngOnInit","GetLocalSEOSearchDetails","subscribe","localSearches","next","buildMarkers","getLocalStorage","instant","get","translation","setNearMeSelectedMarker","offsetToUTCZero","toString","BOTTOM","UNKNOWN","key","localStorage","getItem","agid","searches","businessMarkers","forEach","s","markerBase","path","strokeWeight","strokeColor","scale","fillOpacity","setSelectedCenterMarker","mainBusinessFiltered","filter","b","markerIcon","__spreadProps","__spreadValues","fillColor","color","push","text","m","convertStringToNumber","radiusValue","kilometersTranslationKey","kilometers","Math","round","ɵɵdirectiveInject","TranslateService","KeywordTrackingService","selectors","inputs","features","ɵɵProvidersFeature","decls","vars","consts","template","rf","ctx","LocalSEOGridComponent_Conditional_1_Template","LocalSEOGridComponent_Conditional_2_Template","LocalSEOGridComponent_ng_template_3_Template","ɵɵconditional","ɵɵelement","ɵɵproperty","ctx_r0","emptyStateImageURL","ɵɵsanitizeUrl","ɵɵelementContainerStart","ɵɵtemplate","LocalSEOTableComponent_ng_container_0_img_1_Template","ɵɵadvance","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵtextInterpolate","ɵɵpipeBind1","columnConfig","name","LocalSEOTableComponent_ng_template_1_div_0_table_1_td_4_Conditional_2_Template","seoData_r3","expandedData","hideDropdown","ɵɵconditional","isFavorite","ɵɵtextInterpolate1","keyword","value","iconURL_r4","LocalSEOTableComponent_ng_template_1_div_0_table_1_ng_container_5_th_1_ng_container_1_Template","ɵɵclassMap","column_r5","class","iconURL","ɵɵsanitizeHtml","seoData_r7","rawValue","deltaColumn_r6","LocalSEOTableComponent_ng_template_1_div_0_table_1_ng_container_5_td_2_ng_container_3_ng_container_1_local_seo_delta_1_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_ng_container_5_td_2_ng_container_3_ng_container_1_Template","deltaColumn","LocalSEOTableComponent_ng_template_1_div_0_table_1_ng_container_5_td_2_ng_container_3_Template","showDelta","LocalSEOTableComponent_ng_template_1_div_0_table_1_ng_container_5_th_1_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_ng_container_5_td_2_Template","iconURL_r8","LocalSEOTableComponent_ng_template_1_div_0_table_1_th_9_ng_container_1_Template","iconURL_r9","LocalSEOTableComponent_ng_template_1_div_0_table_1_th_11_ng_container_1_Template","element_r10","LocalSEOTableComponent_ng_template_1_div_0_table_1_td_16_mat_icon_1_Template","ɵɵlistener","ɵɵrestoreView","_r12","ɵɵnextContext","ɵɵresetView","onSelectActiveTab","agid","location","getZoomLevel","searchRadius","settings","localSearchRadius","LocalSEOTableComponent_ng_template_1_div_0_table_1_td_18_div_1_ng_container_1_ng_container_1_ng_container_14_ng_container_1_local_seo_grid_1_Template","inProgress","keywordEmpty_r13","LocalSEOTableComponent_ng_template_1_div_0_table_1_td_18_div_1_ng_container_1_ng_container_1_ng_container_14_ng_container_1_Template","proActive","blurredGrid_r14","LocalSEOTableComponent_ng_template_1_div_0_table_1_td_18_div_1_ng_container_1_ng_container_1_ng_container_15_ng_container_1_local_seo_graph_1_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_td_18_div_1_ng_container_1_ng_container_1_ng_container_15_ng_container_1_Template","blurredGraph_r15","ɵɵelementContainer","LocalSEOTableComponent_ng_template_1_div_0_table_1_td_18_div_1_ng_container_1_ng_container_1_ng_container_16_ng_container_1_Template","settingsTab_r16","_r11","LocalSEOTableComponent_ng_template_1_div_0_table_1_td_18_div_1_ng_container_1_ng_container_1_mat_button_toggle_13_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_td_18_div_1_ng_container_1_ng_container_1_ng_container_14_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_td_18_div_1_ng_container_1_ng_container_1_ng_container_15_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_td_18_div_1_ng_container_1_ng_container_1_ng_container_16_Template","disableEditingKeywords","activeTab","LocalSEOTableComponent_ng_template_1_div_0_table_1_td_18_div_1_ng_container_1_ng_container_1_Template","editionUpgradeHidden","$event","_r17","updateFavoriteKeywords","checked","updateSyncingKeywords","deleteKeyword","emit","keywordStore","syncingKeywords","includes","LocalSEOTableComponent_ng_template_1_div_0_table_1_td_18_div_1_ng_container_1_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_td_18_div_1_ng_template_2_Template","ɵɵtemplateRefExtractor","element_r18","LocalSEOTableComponent_ng_template_1_div_0_table_1_td_18_div_1_Template","row_r20","_r19","$implicit","ɵɵclassProp","LocalSEOTableComponent_ng_template_1_div_0_table_1_th_3_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_td_4_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_ng_container_5_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_th_7_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_th_9_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_th_11_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_th_13_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_th_15_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_td_16_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_td_18_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_tr_19_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_tr_20_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_tr_21_Template","LocalSEOTableComponent_ng_template_1_div_0_table_1_tr_22_Template","dataSource","statColumns","topColumns","columns","ɵɵpureFunction0","_c0","_c1","_r2","setSortSettings","LocalSEOTableComponent_ng_template_1_div_0_table_1_Template","LocalSEOTableComponent_ng_template_1_div_0_mat_paginator_2_Template","sortSettings","active","direction","data","length","LocalSEOTableComponent_ng_template_1_div_0_Template","loading$","loadingTable_r21","column_r23","LocalSEOTableComponent_ng_template_3_ng_container_5_th_1_img_1_Template","LocalSEOTableComponent_ng_template_3_ng_container_5_th_1_Template","iconURL_r24","LocalSEOTableComponent_ng_template_3_th_9_ng_container_1_Template","iconURL_r25","LocalSEOTableComponent_ng_template_3_th_11_ng_container_1_Template","element_r26","element_r27","_r22","LocalSEOTableComponent_ng_template_3_th_4_Template","LocalSEOTableComponent_ng_template_3_ng_container_5_Template","LocalSEOTableComponent_ng_template_3_th_7_Template","LocalSEOTableComponent_ng_template_3_th_9_Template","LocalSEOTableComponent_ng_template_3_th_11_Template","LocalSEOTableComponent_ng_template_3_th_13_Template","LocalSEOTableComponent_ng_template_3_th_15_Template","LocalSEOTableComponent_ng_template_3_td_16_Template","LocalSEOTableComponent_ng_template_3_td_18_Template","LocalSEOTableComponent_ng_template_3_tr_19_Template","LocalSEOTableComponent_ng_template_3_tr_20_Template","LocalSEOTableComponent_ng_template_3_tr_21_Template","ɵɵpureFunction1","_c3","_c2","_r28","upgradeButtonClicked","_r29","getValuesForSorting","sortHeaderId","toLocaleLowerCase","SEODATA_TAB_GRID","LocalSEOTableComponent","init_local_seo_table_component","__esmMin","init_animations","init_core","init_paginator","init_sort","init_table","init_esm","init_local_seo","SEOData","sort","paginator","sortData","favorites","filter","item","nonFavorites","sortedData","constructor","translate","cdr","MatTableDataSource","EventEmitter","favoriteKeywordsChanged","syncingKeywordsChanged","subscriptions","selectedTab$$","BehaviorSubject","maxRank","MaxRank","local","organic","localRank","organicRank","localStartedAt","organicStartedAt","difficulty","searchVolume","empty","empty2","selectedTab$","asObservable","matSort","ms","setDataSourceAttributes","matPaginator","mp","tab","next","detectChanges","ngOnInit","push","subscribe","ngOnDestroy","forEach","sub","unsubscribe","__spreadValues","radius","SEODataSearchRadiusZoomValue","SEARCH_RADIUS_LOCAL","favoriteKeywords","favKeyword","a","b","valueA","valueB","ɵɵdirectiveInject","TranslateService","ChangeDetectorRef","selectors","viewQuery","rf","ctx","MatSort","MatPaginator","LocalSEOTableComponent_ng_container_0_Template","LocalSEOTableComponent_ng_template_1_Template","LocalSEOTableComponent_ng_template_3_Template","LocalSEOTableComponent_ng_template_5_Template","LocalSEOTableComponent_ng_template_7_Template","LocalSEOTableComponent_ng_template_9_Template","keywords","showTable_r30","trigger","state","style","height","minHeight","transition","animate","transform","ChartColorService","init_chart_color_service","__esmMin","parseColorInformation","ctx","value","Array","isArray","map","val","gradientFill","createLinearGradient","canvas","width","height","colors","forEach","color","index","addColorStop","length","factory","ɵfac","ConfigParserService","init_config_parser_service","__esmMin","constructor","chartColorService","parseConfig","ctx","config","options","checkForColorParsing","currentDict","val","endsWith","parseColorInformation","responseObject","Object","keys","forEach","key","ɵɵinject","ChartColorService","factory","ɵfac","AVAILABLE_CHART_TYPES","ChartComponent","init_chart_component","__esmMin","init_core","init_chart","constructor","configParserService","htmlLegend","htmlLegendContent","EventEmitter","ngOnInit","config","indexOf","type","Error","setupChartJsContainer","emitHtmlLegend","ngOnChanges","changes","firstChange","options","parseConfig","canvasContext","chartObj","update","data","chartContainer","nativeElement","getContext","Chart","emit","generateLegend","ɵɵdirectiveInject","ConfigParserService","selectors","viewQuery","rf","ctx","ɵɵelement","ChartModule","init_chart_module","__esmMin","init_common","init_config_parser_service","init_chart_color_service","ConfigParserService","ChartColorService","imports","CommonModule","GalaxyChartType","init_interface","__esmMin","init_colors","__esmMin","init_public_api","__esmMin","init_chart_module","init_interface","init_colors","init_src","__esmMin","init_public_api","ɵɵelementContainerStart","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","ɵɵpipeBind1","tab_r4","toolTip","content","title","ɵɵelement","deltaValue","ɵɵtextInterpolate","subtitle","ɵɵlistener","i_r2","ɵɵrestoreView","_r1","index","ctx_r2","ɵɵnextContext","ɵɵresetView","selectContent","ɵɵtemplate","LocalSEOStatTabsComponent_div_2_ng_container_6_Template","LocalSEOStatTabsComponent_div_2_local_seo_delta_10_Template","LocalSEOStatTabsComponent_div_2_div_11_Template","ɵɵpureFunction1","_c1","selectedIndex","name","value","showDelta","LocalSEOStatTabsComponent_4_ng_template_0_Template","openContent","LocalSEOStatTabsComponent","init_stat_tabs_component","__esmMin","init_animations","constructor","selectors","viewQuery","rf","ctx","LocalSEOStatTabsComponent_div_2_Template","LocalSEOStatTabsComponent_4_Template","tabs","trigger","state","style","height","minHeight","transition","animate","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","ctx_r0","top10ChartConfig","top10ChartData","positionChartConfig","positionChartData","ɵɵtext","ɵɵtextInterpolate1","ɵɵpipeBind2","ɵɵpureFunction1","_c1","keywordMovement","ranksUp","ranksDown","ɵɵtemplate","LocalSeoKeywordsStatsCardsComponent_ng_template_7_div_10_Template","LocalSeoKeywordsStatsCardsComponent_ng_template_7_div_18_Template","ɵɵtextInterpolate","keywordsUp","keywordsDown","addKeywordRanksToList","list","date","top10","top50","other","existingIndex","findIndex","point","push","getBestRankForEachDate","organic","local","bestRank","forEach","organicPoint","value","localPoint","import_dayjs","LocalSeoKeywordsStatsCardsComponent","init_local_seo_keywords_stats_cards_component","__esmMin","init_common","init_src","init_chart","init_local_seo","constructor","translate","screenWidth","window","innerWidth","type","GalaxyChartType","BAR","data","datasets","labels","options","responsive","maintainAspectRatio","plugins","legend","display","position","align","fullSize","scales","x","stacked","y","beginAtZero","ticks","maxTicksLimit","filter","item","text","tooltip","callbacks","label","context","dataset","parsed","MaxRank","max","min","callback","toString","onResize","Chart","register","registerables","keywordMetrics","metrics","setTop10PositionChartData","setPositionChartData","series","map","keywordSeries","organicRank","localRank","values","reduce","acc","acc2","sort","a","b","Date","getTime","dayjs","utc","format","instant","backgroundColor","datesWithData","includes","dataPoints","totalKeywords","average","entry","MaxMapsRank","Math","round","borderColor","borderDash","borderWidth","pointRadius","ngOnChanges","averagePosition","getAveragePosition","getTop10","hasPreviousData","find","localStartedAt","getKeywordsUp","localCards","name","showDelta","deltaValue","delta","toolTip","title","content","subtitle","currentTotalRanks","currentTotalRankValue","previousTotalRanks","previousTotalRankValue","organicValue","rawValue","localValue","organicStartedAt","previousAverage","formatNumber","rank","abs","currentTop10","length","previousTop10","ɵɵdirectiveInject","TranslateService","selectors","hostBindings","rf","ctx","ɵɵlistener","$event","ɵɵresolveWindow","LocalSeoKeywordsStatsCardsComponent_ng_template_3_Template","ɵɵtemplateRefExtractor","LocalSeoKeywordsStatsCardsComponent_ng_template_5_Template","LocalSeoKeywordsStatsCardsComponent_ng_template_7_Template","ɵɵpureFunction3","_c0","top10KeywordChart_r2","positionChart_r3","keywordMovementCard_r4","ɵɵelementContainerStart","ɵɵelement","ɵɵadvance","ɵɵproperty","ctx_r1","imageURL","ɵɵsanitizeUrl","ɵɵelementStart","ɵɵlistener","ɵɵrestoreView","_r3","ɵɵnextContext","ɵɵresetView","buttonClick","emit","ɵɵtext","ɵɵelementEnd","ɵɵtextInterpolate1","buttonText","ɵɵtemplate","InfoBannerComponent_mat_card_1_ng_container_3_Template","_r1","toggle","InfoBannerComponent_mat_card_1_button_13_Template","ɵɵtextInterpolate","title","description","length","_r4","InfoBannerComponent","init_info_banner_component","__esmMin","init_core","constructor","EventEmitter","open","selectors","inputs","outputs","standalone","decls","vars","consts","template","rf","ctx","InfoBannerComponent_mat_card_1_Template","InfoBannerComponent_ng_template_2_Template","ɵɵtemplateRefExtractor","closed_r5","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","ɵɵpipeBind2","ɵɵpureFunction1","_c0","ctx_r0","listingProfileRedirectLink","ɵɵsanitizeHtml","ɵɵtext","ɵɵtextInterpolate","ɵɵpipeBind1","gbpData_r2","connectLink","ɵɵsanitizeUrl","ɵɵtextInterpolate1","ɵɵpropertyInterpolate","gmbVerifyUrl","ɵɵtemplate","KeywordTrackingComponent_Conditional_9_Conditional_0_Template","KeywordTrackingComponent_Conditional_9_Conditional_1_Template","KeywordTrackingComponent_Conditional_9_Conditional_2_Template","ɵɵconditional","account","connectionId","tokenBroken","isAuthenticated","isVerified","ɵɵelementContainerStart","data_r3","keywordMetrics$","ɵɵlistener","suggestedKeywords_r5","ɵɵrestoreView","_r4","ngIf","limit_r6","ɵɵnextContext","ɵɵresetView","open","canEditKeywords","KeywordTrackingComponent_ng_container_22_ng_container_1_ng_container_1_Template","localSEOService","suggestedKeywords$","KeywordTrackingComponent_ng_container_22_ng_container_1_Template","keywordLimit$","ɵɵelementContainer","KeywordTrackingComponent_ng_container_24_ng_container_1_Template","isLbFreeEdition$","exampleTable_r7","emptyStatePro_r8","element_r9","keyword","element_r10","mapsRank","element_r11","mapsStartedAt","element_r12","organicRank","element_r13","organicStartedAt","element_r14","rankDifficulty","element_r15","searchVolume","KeywordTrackingComponent_ng_template_53_th_3_Template","KeywordTrackingComponent_ng_template_53_th_5_Template","KeywordTrackingComponent_ng_template_53_th_7_Template","KeywordTrackingComponent_ng_template_53_th_9_Template","KeywordTrackingComponent_ng_template_53_th_11_Template","KeywordTrackingComponent_ng_template_53_td_12_Template","KeywordTrackingComponent_ng_template_53_th_14_Template","KeywordTrackingComponent_ng_template_53_td_15_Template","KeywordTrackingComponent_ng_template_53_th_17_Template","KeywordTrackingComponent_ng_template_53_td_18_Template","KeywordTrackingComponent_ng_template_53_th_20_Template","KeywordTrackingComponent_ng_template_53_td_21_Template","KeywordTrackingComponent_ng_template_53_th_23_Template","KeywordTrackingComponent_ng_template_53_td_24_Template","KeywordTrackingComponent_ng_template_53_th_26_Template","KeywordTrackingComponent_ng_template_53_td_27_Template","KeywordTrackingComponent_ng_template_53_th_29_Template","KeywordTrackingComponent_ng_template_53_td_30_Template","KeywordTrackingComponent_ng_template_53_tr_31_Template","KeywordTrackingComponent_ng_template_53_tr_32_Template","KeywordTrackingComponent_ng_template_53_tr_33_Template","ExampleData","ɵɵpureFunction0","_c1","_c2","_r16","OpenUpgradeDialog","$event","deleteKeyword","updateFavoriteKeywords","updateSyncingKeywords","SEOData$","loading$","keywordStore$","emptyStateImage$","editionUpgradeHidden$","Location$","agid$","seoSettings$","SEODATA_TAB_GRID","KeywordTrackingComponent","init_keyword_tracking_component","__esmMin","init_animations","init_src","init_vendasta_marketplace_apps","init_esm","init_operators","init_local_seo","init_upgrade_cta_dialog_service","init_local_seo_keyword_dialog_component","constructor","dialog","upgradeDialogService","translate","router","route","env","listingProductsService","subscriptions","columnConfig","name","class","local","iconURL","organic","localRank","localStartedAt","difficulty","empty","empty2","sortSettings","active","direction","statColumns","columns","gbpData$","isLBFreeEdition$","combineLatest","getEditionChangeDetails$","pipe","map","isFreeEdition","details","hideUpgradeCta","createUrlTree","relativeTo","toString","loading$$","asObservable","data","structuredClone","SEOSummaryData$","seoData","keywordStore","metrics","seoDataPeriods","keywords","forEach","currentKMetric","find","m","currentData","d","push","SEOTableData","favoriteKeywords","listingProfile$$","profile","napData","isKeywordListEmpty$","k","length","canEditKeywords$","subscribe","value","ngOnInit","actionButton","label","getValuesForSorting","sortHeaderId","toLocaleLowerCase","rawValue","ngOnDestroy","sub","unsubscribe","setSortSettings","__spreadValues","limit","suggestedKeywords","dialogRef","LocalSeoKeywordDialogComponent","keywordLimit","width","afterClosed","result","undefined","updateKeywords","originalKeywords","newKeywords","editionChangeDetails$","upgradePrice$","partnerMarket$","switchMap","pmConfig","editionChangeDetails","paidEdition","DEMO_PAID_EDITION","getEnvironment","Environment","PROD","PROD_PAID_EDITION","getUpgradePrice$","appID","shareReplay","formattedUpgradePrice$","upgradePrice","getFormattedRetailPrice$","getCustomUpgradeModalContent$","appSettings$","take","formattedUpgradePrice","customUpgradeModalContent","settings","marketingPoints","instant","appName","branding","enabled","ctaText","buttonText","editionUpgradeAction","EditionUpgradeAction","EDITION_UPGRADE_ACTION_CONTACT_SALES","dialogConfig","editionName","imageText","titleText","imageUrl","keySellingPoints","sellingPoints","upgradeNowText","getUpgradeText","price","frequency","getFrequencyText","upgradeDialogRef","UpgradeCTADialogComponent","filter","upgradeClicked","isCustomPackage","EDITION_UPGRADE_ACTION_CUSTOM_ORDER","item","packageId","priceReferencePackageId","appId","APP_ID","editionId","buildBusinessCenterUpgradeRedirectInfo","redirectInfo","sendToVbc","ɵɵdirectiveInject","KeywordTrackingService","AGIDTOKEN","MatDialog","UpgradeCTADialogService","TranslateService","Router","ActivatedRoute","EnvironmentService","ListingProductsApiService","selectors","standalone","decls","vars","consts","template","rf","ctx","KeywordTrackingComponent_div_2_Template","KeywordTrackingComponent_div_4_Template","KeywordTrackingComponent_Conditional_9_Template","KeywordTrackingComponent_ng_container_18_Template","KeywordTrackingComponent_ng_container_22_Template","KeywordTrackingComponent_ng_container_24_Template","KeywordTrackingComponent_ng_template_53_Template","ɵɵtemplateRefExtractor","KeywordTrackingComponent_ng_template_55_Template","KeywordTrackingComponent_ng_template_57_Template","missingGeoLocation$$","missingWebsite$$","tmp_5_0","showTable_r17","trigger","state","style","height","minHeight","transition","animate","transform","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵproperty","option_r1","value","ɵɵadvance","ɵɵtextInterpolate1","ɵɵpipeBind2","label","ɵɵpureFunction1","_c0","ctx_r1","selectedMapUnit","translatedMapUnitsKMS","defaultOptions","MileToKilometerPipe","LocalSeoSettingsDialogComponent","init_local_seo_settings_dialog_component","__esmMin","init_forms","init_dialog","init_local_seo","SEARCH_RADIUS_LOCAL","SEARCH_RADIUS_SMALL_CITY","SEARCH_RADIUS_BIG_CITY","SEARCH_RADIUS_XL_CITY","constructor","conversionFactor","transform","kilometersTranslationKey","parts","split","number","parseFloat","unit","kilometers","Math","round","pure","standalone","data","dialogRef","fb","translateService","options","isFullSearchEnabled","selectedValue","get","subscribe","translation","radiusValue","SEODataSearchRadiusTypes","includes","mapRadius","seoSettingsRadiusForm","UntypedFormControl","mapUnits","setValue","closeModal","save","result","close","undefined","setMapUnit","ɵɵdirectiveInject","MAT_DIALOG_DATA","MatDialogRef","FormBuilder","TranslateService","selectors","decls","vars","consts","template","rf","ctx","ɵɵlistener","$event","ɵɵtwoWayListener","i0","ɵɵtwoWayBindingSet","ɵɵtemplate","LocalSeoSettingsDialogComponent_mat_option_23_Template","ɵɵtextInterpolate","ɵɵpipeBind1","ɵɵpropertyInterpolate","ɵɵtwoWayProperty","styles","ɵɵelementStart","ɵɵlistener","ɵɵrestoreView","_r1","settings_r2","ɵɵnextContext","ngIf","ctx_r2","ɵɵresetView","openSettings","ɵɵtext","ɵɵelementEnd","ɵɵproperty","canEditKeywords","_r4","ɵɵadvance","ɵɵtextInterpolate1","ɵɵpipeBind1","ɵɵelementContainerStart","ɵɵtemplate","LocalSeoPageTitleActionComponent_ng_container_1_Conditional_1_Template","LocalSeoPageTitleActionComponent_ng_container_1_Conditional_2_Template","ɵɵconditional","isMobile","suggestedKeywords_r6","_r5","limit_r7","keywordStore_r8","openKeywords","keywords","LocalSeoPageTitleActionComponent_ng_container_7_ng_container_1_ng_container_1_Conditional_4_Template","LocalSeoPageTitleActionComponent_ng_container_7_ng_container_1_ng_container_1_Template","service","suggestedKeywords$","LocalSeoPageTitleActionComponent_ng_container_7_ng_container_1_Template","keywordLimit$","LocalSeoPageTitleActionComponent","init_local_seo_page_title_action_component","__esmMin","init_datepicker","init_esm","init_keyword_tracking_component","init_local_seo_keyword_dialog_component","init_local_seo_settings_dialog_component","init_rxjs_interop","init_operators","constructor","dialog","translate","breakpointObserver","subscriptions","defaultDatePeriod","DateRangePresetPeriod","lastThirtyDays","selectedTab$$","BehaviorSubject","SEODATA_TAB_GRID","toSignal","observe","pipe","map","result","matches","canEditKeywords$","subscribe","value","limit","suggestedKeywords","length","mapUnits","getLocalStorage","instant","keywordDialogRef","open","LocalSeoKeywordDialogComponent","data","keywordLimit","width","push","afterClosed","undefined","updateKeywords","originalKeywords","newKeywords","seoDataSettings","settingsDialogRef","LocalSeoSettingsDialogComponent","mapRadius","localSearchRadius","isFullSearchEnabled","updateSeoSettingsForDialog","setLocalStorage","onDateRangeSelect","next","updateDateRange","ngOnDestroy","forEach","sub","unsubscribe","ɵɵdirectiveInject","KeywordTrackingService","MatDialog","TranslateService","BreakpointObserver","selectors","standalone","decls","vars","consts","template","rf","ctx","LocalSeoPageTitleActionComponent_ng_container_1_Template","$event","LocalSeoPageTitleActionComponent_ng_container_7_Template","seoSettings$","keywordStore$","LocalSeoKeywordsStatsCardsModule","init_local_seo_keywords_stats_cards_module","__esmMin","init_common","init_card","init_src","init_ngx_translate_core","init_icon","init_tooltip","init_delta_component","CommonModule","TranslateModule","MatCardModule","ChartModule","MatIconModule","GalaxyTooltipModule","DeltaComponent","en_devel_default","init_en_devel","__esmMin","LocalSEOTableModule","init_local_seo_table_module","__esmMin","init_common","init_ngx_translate_core","init_card","init_icon","init_src","init_table","init_paginator","init_sort","init_divider","init_empty_state","init_list","init_loading_spinner","init_delta_component","init_en_devel","init_button_toggle","init_button","init_swimlane_ngx_charts","init_google_maps","init_badge","init_slide_toggle","CommonModule","TranslateModule","MatCardModule","MatIconModule","UIKitModule","MatTableModule","MatPaginatorModule","MatSortModule","MatDividerModule","GalaxyEmptyStateModule","MatListModule","GalaxyLoadingSpinnerModule","DeltaComponent","LexiconModule","forChild","componentName","baseTranslation","en","MatButtonToggleModule","MatButtonModule","NgxChartsModule","GoogleMapsModule","GalaxyBadgeModule","MatSlideToggleModule","KeywordTrackingModule","init_keyword_tracking_module","__esmMin","init_common","init_ngx_translate_core","init_datepicker","init_card","init_icon","init_select","init_swimlane_ngx_charts","init_tabs","init_google_maps","init_src","init_table","init_paginator","init_sort","init_divider","init_empty_state","init_button","init_button_toggle","init_dialog","init_list","init_loading_spinner","init_delta_component","init_form_field","init_alert","init_radio","init_badge","init_local_seo_keywords_stats_cards_module","init_local_seo_table_module","init_page","init_en_devel","init_checkbox","init_forms","CommonModule","TranslateModule","GalaxyDatepickerModule","MatCardModule","MatIconModule","MatTabsModule","GoogleMapsModule","UIKitModule","MatTableModule","MatPaginatorModule","MatSortModule","MatDividerModule","GalaxyEmptyStateModule","MatButtonModule","MatDialogModule","MatListModule","VaFormsModule","GalaxyLoadingSpinnerModule","DeltaComponent","MatButtonToggleModule","NgxChartsModule","GalaxyFormFieldModule","MatSelectModule","ChartModule","GalaxyAlertModule","MatRadioModule","GalaxyBadgeModule","LocalSEOTableModule","LocalSeoKeywordsStatsCardsModule","GalaxyPageModule","LexiconModule","forChild","componentName","baseTranslation","en","GalaxyCheckboxModule","FormsModule","ClickOutsideDirective","init_click_outside_directive","__esmMin","init_core","init_common","_el","_ngZone","platformId","EventEmitter","isPlatformBrowser","changes","e","nodes","err","ev","_this","target","_i","_a","excludedNode","t","ɵɵdirectiveInject","ElementRef","NgZone","PLATFORM_ID","ɵɵdefineDirective","ɵɵNgOnChangesFeature","ClickOutsideModule","init_click_outside_module","__esmMin","init_click_outside_directive","init_core","ɵɵdefineNgModule","ɵɵdefineInjector","t","init_lib_esmodule","__esmMin","init_click_outside_directive","init_click_outside_module","addNextUrl","entryUrl","nextUrl","window","encodeURIComponent","urlObj","URL","params","URLSearchParams","search","append","toString","BusinessCenterService","init_business_center_service","__esmMin","init_vendasta_sso","init_operators","init_esm","constructor","ssoService","partnerId$","whitelabelService","vbcName$","pipe","switchMap","partnerId","getBranding","map","branding","apps","name","shareReplay","entryUrl$","getEntryUrl","newPartnerServiceContext","getVBCEntryUrl","accountGroupId","page","combineLatest","vbcName","url","ɵɵinject","SSOService","WhitelabelService","factory","ɵfac","providedIn","RepcoreApiService","init_repcore_api_service","__esmMin","init_core","init_esm","init_operators","init_vendasta_business_center","constructor","connectionsService","inject","ConnectionsService","getTwitterCustomAppConnections","accountGroupId","getTwitterAppChecker","pipe","map","res","catchError","of","reconnectGroup","totalConnections","getFacebookAppConnections","getFacebookAppChecker","reconnectNeeded","factory","ɵfac","enumStringToValue","enumRef","value","AccuracyStatus","ListListingSyncProAddonIdsResponseAddonInfoBillingFrequency","BillingFrequency","ErrorCode","ServiceProvider","SiteType","StatusCode","SyncingStatus","AccountFilters","AccountListingStatuses","ActivateListingSyncProRequest","ListListingSyncProAddonIdsResponseAddonInfo","AnchorData","AnchorDataMatches","Citation","CitationListing","CollectStatsRequest","CreateListingSyncProProviderSourceDataRequest","CreateListingSyncProSourceRequest","CreateListingSyncProSourceResponse","DeactivateListingSyncProRequest","DeleteListingSyncProProviderSourceRequest","DeleteStatsRequest","Errors","GetAvailableProvidersForPartnerRequest","GetAvailableProvidersForPartnerResponse","GetCitationDataRequest","GetCitationDataResponse","GetListingDataForATimePeriodRequest","GetListingDataRequest","GetListingDataResponse","GetListingSyncProAddonIdRequest","GetListingSyncProAddonIdResponse","GetListingSyncProProviderSourcesDataRequest","GetListingSyncProProviderSourcesDataResponse","GetProviderSourcesForBusinessRequest","GetProviderSourcesForBusinessResponse","GetScrapedSourceStatusesRequest","GetScrapedSourceStatusesResponse","GetSelectedSocialServicesRequest","GetSelectedSocialServicesResponse","HistoricalCitationsDataPoint","HistoricalScore","IsListingSyncProActiveRequest","IsListingSyncProActiveResponse","ListListingSyncProAddonIdsRequest","ListListingSyncProAddonIdsResponse","ListListingSyncProSourcesRequest","ListListingSyncProSourcesResponse","ListStatusesByBusinessRequest","ListStatusesByBusinessResponse","ListStatusesByPartnerRequest","ListStatusesByPartnerResponse","ListingSyncProProviderSourceData","PagedRequestOptions","PagedResponseMetadata","ProcessListingSyncProMarketplaceActivationRequest","ScoreData","SelectedSocialService","SetSelectedSocialServiceRequest","SetSelectedSocialServiceResponse","SourceAccuracy","SourceData","SourceInfo","SourceStatus","SourceTableData","environment","hostMap","HostService","ListingSyncProApiService","init_vendasta_listing_sync_pro","__esmMin","init_core","init_http","init_operators","_AccountFilters","proto","m","v","kwargs","toReturn","_AccountListingStatuses","_ActivateListingSyncProRequest","_ListListingSyncProAddonIdsResponseAddonInfo","_AnchorData","_AnchorDataMatches","_Citation","_CitationListing","_CollectStatsRequest","_CreateListingSyncProProviderSourceDataRequest","_CreateListingSyncProSourceRequest","_CreateListingSyncProSourceResponse","_DeactivateListingSyncProRequest","_DeleteListingSyncProProviderSourceRequest","_DeleteStatsRequest","_Errors","_GetAvailableProvidersForPartnerRequest","_GetAvailableProvidersForPartnerResponse","_GetCitationDataRequest","_GetCitationDataResponse","_GetListingDataForATimePeriodRequest","_GetListingDataRequest","_GetListingDataResponse","_GetListingSyncProAddonIdRequest","_GetListingSyncProAddonIdResponse","_GetListingSyncProProviderSourcesDataRequest","_GetListingSyncProProviderSourcesDataResponse","obj","k","_GetProviderSourcesForBusinessRequest","_GetProviderSourcesForBusinessResponse","_GetScrapedSourceStatusesRequest","_GetScrapedSourceStatusesResponse","_GetSelectedSocialServicesRequest","_GetSelectedSocialServicesResponse","_HistoricalCitationsDataPoint","_HistoricalScore","_IsListingSyncProActiveRequest","_IsListingSyncProActiveResponse","_ListListingSyncProAddonIdsRequest","_ListListingSyncProAddonIdsResponse","_ListListingSyncProSourcesRequest","_ListListingSyncProSourcesResponse","_ListStatusesByBusinessRequest","_ListStatusesByBusinessResponse","_ListStatusesByPartnerRequest","_ListStatusesByPartnerResponse","_ListingSyncProProviderSourceData","_PagedRequestOptions","_PagedResponseMetadata","_ProcessListingSyncProMarketplaceActivationRequest","_ScoreData","_SelectedSocialService","_SetSelectedSocialServiceRequest","_SetSelectedSocialServiceResponse","_SourceAccuracy","_SourceData","_SourceInfo","_SourceStatus","_SourceTableData","__ngFactoryType__","ɵɵdefineInjectable","inject","HttpClient","HttpHeaders","r","request","__spreadProps","__spreadValues","map","resp","ListingSyncApiService","init_listing_sync_api_service","__esmMin","init_http","init_esm","init_operators","constructor","http","snackbar","updateSyncStatus","url","ssid","body","HttpParams","set","post","toString","headers","pipe","catchError","error","responseText","indexOf","open","duration","of","getServiceUserIdFromSSID","split","length","substring","disconnectService","clientTags","JSON","stringify","EMPTY","ɵɵinject","HttpClient","MatSnackBar","factory","ɵfac","providedIn","ListingScoreApiService","init_listing_score_api_service","__esmMin","init_esm","init_src","constructor","http","snackbar","environmentService","sessionService","setupHttpHostName","httpHost","getEnvironment","Environment","PROD","getListingScore","accountGroupId","sourceIds","body","account_group_id","source_ids","url","getSessionId","pipe","switchMap","sessionId","post","headers","Authorization","ɵɵinject","HttpClient","MatSnackBar","EnvironmentService","SessionService","factory","ɵfac","providedIn","environment","hostMap","HostService","DataValidationRequest","DataValidationResponse","DetailedSyndicationStatusResultValue","DetailedSyndicationStatusResults","EnableSyndicationToSourceRequest","FieldValidationResult","GetEditionSourceConfigRequest","GetEditionSourceConfigResponse","GetMultiMostRecentSyndicationStatusRequest","GetMultiMostRecentSyndicationStatusResponse","ListSyndicationSettingRequest","ListSyndicationSettingResponse","Metadata","ListSyndicationSettingRequestOptionalListSyndicationSettingFilters","PagedRequestOptions","PagedResponseMetadata","SetAssociatedSocialServiceRequest","SetEditionSourceConfigRequest","SetSyndicationStatusRequest","SubmitListingSyndicationRequest","SubmitListingSyndicationResponse","SyndicationSetting","SyndicationStatus","TurnOffSyndicationSettingRequest","TurnOnSyndicationSettingRequest","ValidationResult","SyndicationApiService","init_vendasta_listing_syndication","__esmMin","init_core","init_http","init_operators","__ngFactoryType__","ɵɵdefineInjectable","_DataValidationRequest","proto","m","i","kwargs","toReturn","_DataValidationResponse","_DetailedSyndicationStatusResultValue","_DetailedSyndicationStatusResults","_EnableSyndicationToSourceRequest","_FieldValidationResult","_GetEditionSourceConfigRequest","_GetEditionSourceConfigResponse","_GetMultiMostRecentSyndicationStatusRequest","_GetMultiMostRecentSyndicationStatusResponse","_ListSyndicationSettingRequest","_ListSyndicationSettingResponse","_Metadata","_ListSyndicationSettingRequestOptionalListSyndicationSettingFilters","_PagedRequestOptions","_PagedResponseMetadata","_SetAssociatedSocialServiceRequest","_SetEditionSourceConfigRequest","_SetSyndicationStatusRequest","_SubmitListingSyndicationRequest","_SubmitListingSyndicationResponse","_SyndicationSetting","_SyndicationStatus","_TurnOffSyndicationSettingRequest","_TurnOnSyndicationSettingRequest","_ValidationResult","inject","HttpClient","HttpHeaders","r","request","map","resp","__spreadProps","__spreadValues","ListingAccuracyText","init_accuracy_text_pipe","__esmMin","init_vendasta_listing_products","AccuracyStatus","ACCURACY_STATUS_INVALID","Card","Table","Sidebar","ACCURACY_STATUS_UNKNOWN","ACCURACY_STATUS_UNAVAILABLE","ACCURACY_STATUS_ACCURATE","ACCURACY_STATUS_INACCURATE","import_moment","LanguageService","init_language_service_service","__esmMin","init_operators","constructor","translateService","currentLang$","onLangChange","pipe","skip","map","langChange","lang","tap","moment","locale","saveCurrentLang","startWith","getCurrentLang","subscribe","browserLang","getBrowserLang","localStorage","startsWith","toLowerCase","indexOf","ɵɵinject","TranslateService","factory","ɵfac","providedIn","sortAccuracy","a","b","aCode","accuracy","status","bCode","getLastUpdated","lastUpdated","undefined","lastUpdatedDate","Date","differenceInTime","getTime","differenceInDays","Math","floor","sortSyncStatus","syncStatus","_columnTypeSpecificComparitor","field","x","y","localeCompare","sourceType","_columnSort","sortOptions","sortOptionIndex","ascend","direction","SortDirection","SORT_DIRECTION_ASCENDING","result","length","columnSortEntry","applyDefaultSortOptions","sortOpts","sortMaxScoreOpt","ascendingLabel","descendingLabel","SORT_DIRECTION_DESCENDING","displayName","id","push","SITE_TYPE_MAPPING","ListingSyncTableService","init_listing_sync_table_service","__esmMin","init_src","init_esm","init_operators","init_local_seo","init_vendasta_listing_products","Map","constructor","accountGroupId$","listingSyncService","excludedSources","AppleSourceID","FacebookSourceID","GoogleSourceID","InstagramSourceID","XSourceID","BingSourceID","load","request","syncData$","pipe","map","sources","filter","value","includes","sourceId","filters","query","name","toLowerCase","startsWith","SyncStatus","SYNC_STATUS_UNAVAILABLE","sortingOptions","sortTableRows","delay","data","options","cmpGenerator","sort","ɵɵinject","AGIDTOKEN","ListingSyncService","factory","ɵfac","providedIn","ListingSyncService","init_listing_sync_service","__esmMin","init_vendasta_accounts_legacy","init_vendasta_listing_sync_pro","init_esm","init_operators","init_local_seo","init_vendasta_listing_syndication","init_vendasta_listing_products","init_accuracy_text_pipe","init_listing_sync_table_service","constructor","agid$","apiService","listingSyncProApiServiceSDK","legacyAccountsService","accountsService","upgradeCTADialogService","featureFlagService","listingScoreApiService","listingSyndicationService","listingProductsService","translate","categorySelectService","languageService","snackbar","listingDataRetry$$","Subject","syncDataRetry$$","loadingSource$$","BehaviorSubject","loadingSource$","asObservable","listingSyncUnavailable$$","syncData$","pipe","startWith","switchMap","agid","getSyncData","GetSyncDataRequest","businessId","refresh","res","combineLatest","sources","map","src","constructSyncData","tap","next","shareReplay","listingData$","getListingData","GetListingDataRequest","catchError","of","GetListingDataResponse","lspFacebookPages$","data","find","source","sourceId","FacebookSourceID","featureFlags$","partnerMarket$","partnerMarket","checkFeatureFlagsMulti","partnerId","marketId","listingScoreUnavailable$","getListingScore","e","error","r","isLBFreeEdition$","filters","appIds","statuses","AppAndAddonActivationStatus","ACTIVATED","CANCELED","listAppsAndAddonsActivationStatusesForBusiness","activations","length","editionId","DEMO_PAID_EDITION","PROD_PAID_EDITION","addonID$","getListingSyncProAddonId","accountGroupId","provider","ServiceProvider","SERVICE_PROVIDER_UNSPECIFIED","billingFrequency","BillingFrequency","BILLING_FREQUENCY_MONTHLY","resp","addonId","lspActivation$","isListingSyncProActiveForAccount","IsListingSyncProActiveRequest","lspActive$","isActive","activeLSPProvider$","syncingProgressSummaryData$","totalSourcesCount","s","ecosystemSources","reduce","sum","current","syncedSourcesCount","syncStatus","SyncStatus","SYNC_STATUS_SUCCESS","SYNC_STATUS_SUBMITTED","syncInProgressSourcesCount","SYNC_STATUS_SYNCING","SYNC_STATUS_PARTIALLY_SYNCED","notSyncingSourcesCount","SYNC_STATUS_UNAVAILABLE","SYNC_STATUS_UNSET","SYNC_STATUS_FAILED","SYNC_STATUS_CLAIMED","listingsScoreSummaryData$","listingScore","scores","totalScore","totalAcceptedSources","totalSources","originalListingScore","determineOriginalListingScore","industryAverageListingsScore","industryAverage","ninetyFifthPercentile","totalAccurate","totalAccuracyGoodSources","totalPossibleErrors","totalNotFound","history","listingScoreHistory","name","timestamp","value","score","activeProductIds$","businessID","getMultiActivationStatuses","activation","productId","freeSources$","pm","getEditionSourceConfig","GetEditionSourceConfigRequest","namespace","freeSourceIds","retrySyncData","disconnectService$","url","ssid","clientTags","disconnectService","account","profileUrl","listingUrl","GoogleSourceID","AppleSourceID","errors","syncDetails","detailedResults","filter","result","errorMessage","DirectSyncErrorMessage","errorMessages$","translatedError$","errorMessages","config","DIRECT_SUBMIT_SOURCE_CONFIG","Top4SourceID","isSyncingEnabled","accuracy","SourceAccuracy","anchorData","anchorDataMatches","AnchorDataMatches","status","maxScore","listingId","sourceIcon","iconUrl","sourceHasReporting","LPAccuracyStatus","ACCURACY_STATUS_UNAVAILABLE","additionalAccounts","connectLink","isListingVerified","hidden","requirement","sourceType","instant","SITE_TYPE_MAPPING","get","syncInfo","icon","syncBadgeIcon","style","syncBadgeStyle","text","getSyncStatusText","connectionId","RequiresAccount","locked","tokenBroken","isVerified","isAuthenticated","accuracyInfo","accuracyBadgeStyle","ListingAccuracyText","Card","ACCURACY_STATUS_ACCURATE","MaterialIcons","DONE","NONE","lastUpdatedDate","lastScraped","lastAttemptedOn","lastUpdated","getLastUpdated","updateSyncing","newSyncState","request","syndicationSettingRequest","turnOnSyndicationRequest","TurnOnSyndicationSettingRequest","toString","associatedSocialServiceId","turnOnSyndication","turnOffSyndication","TurnOffSyndicationSettingRequest","syncRequest","submitListingSyndication","SubmitListingSyndicationRequest","sourceIds","trigger","LOCAL_SEO_UI_TRIGGER","setSelectedSocialService","selectedSSID","setAssociatedSocialService","SetAssociatedSocialServiceRequest","ɵɵinject","AGIDTOKEN","ListingSyncApiService","ListingSyncProApiService","AccountsService","UpgradeCTADialogService","FeatureFlagService","ListingScoreApiService","SyndicationApiService","ListingProductsApiService","TranslateService","CategorySelectService","LanguageService","SnackbarService","factory","ɵfac","providedIn","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","ɵɵpipeBind2","ɵɵpureFunction1","_c0","ctx_r0","listingProfileRedirectLink","ɵɵsanitizeHtml","ɵɵtext","ɵɵtextInterpolate","ɵɵpipeBind1","ɵɵtextInterpolate1","ɵɵtemplate","ListingsManagementComponent_Conditional_5_glxy_alert_0_Template","listingScoreUnavailable$","ɵɵpureFunction2","_c1","businessAppReconnectLink","businessAppCustomName","ListingsManagementComponent_Conditional_9_Conditional_1_Template","ListingsManagementComponent_Conditional_9_Conditional_3_Template","ɵɵconditional","isSmActive$","redirectLink","isListingfromEmbedded","ListingsManagementComponent","init_listings_management_component","__esmMin","init_src","init_vendasta_accounts_legacy","init_esm","init_operators","init_local_seo","init_vendasta_listing_products","constructor","accountGroupId$","repCoreService","accountGroupService","businessCenterService","accountsService","listingSyncService","listingProfileService","snackBar","router","route","subscriptions","showTwitterReconnectBanner$","pipe","switchMap","agid","getTwitterCustomAppConnections","map","response","reconnectGroup","length","lspUpgradeHidden$","combineLatest","lspActive$","addonID$","active","addonID","facebookReauthFeatureFlag$","featureFlags$","flags","listingSyncUnavailable$","listingSyncUnavailable$$","asObservable","createUrlTree","relativeTo","toString","missingGeoLocation$","getMulti","GetMultiListingProfileRequest","businessIds","projectionFilter","ProjectionFilter","napData","catchError","err","message","error","open","politeness","duration","EMPTY","res","listingProfiles","listingProfile","location","latitude","longitude","shareReplay","ngOnInit","subscribe","push","get","accountGroupExternalIdentifiers","data","vCat","externalIdentifiers","vCategoryIds","hasCategoryNotFound","includes","listAppsAndAddonsActivationStatusesForBusiness","appIds","statuses","AppAndAddonActivationStatus","ACTIVATED","CANCELED","d","status","showFacebookReconnectBanner$","isFbFeatureFlagEnabled","isSmActive","getVBCEntryUrl","url","name","getFacebookAppConnections","reconnectNeeded","of","ngOnDestroy","forEach","s","unsubscribe","ɵɵdirectiveInject","AGIDTOKEN","RepcoreApiService","AccountGroupService","BusinessCenterService","AccountsService","ListingSyncService","ListingProfileApiService","MatSnackBar","Router","ActivatedRoute","selectors","inputs","standalone","decls","vars","consts","template","rf","ctx","ListingsManagementComponent_div_0_Template","ListingsManagementComponent_Conditional_3_Template","ListingsManagementComponent_Conditional_5_Template","ListingsManagementComponent_Conditional_7_Template","ListingsManagementComponent_Conditional_9_Template","ListingsManagementComponent_Conditional_11_Template","ɵɵelementContainerStart","ListingsManagementComponent_Conditional_32_Template","NgxJsonViewerModule","init_ngx_json_viewer","__esmMin","init_core","init_common","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","CommonModule","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵproperty","ctx_r0","iconColor","ɵɵpureFunction3","_c1","iconSize","ɵɵadvance","ɵɵtextInterpolate","text","ColorIconComponent","init_color_icon_component","__esmMin","constructor","backgroundColor","icon","backgroundSize","selectors","inputs","standalone","decls","vars","consts","template","rf","ctx","ɵɵtemplate","ColorIconComponent_mat_icon_2_Template","ColorIconComponent_mat_icon_3_Template","ColorIconComponent_mat_icon_4_Template","ColorIconComponent_mat_icon_5_Template","ColorIconComponent_mat_icon_6_Template","ColorIconComponent_div_7_Template","ɵɵpureFunction2","_c0","DisconnectServiceModalComponent","init_disconnect_service_modal_component","__esmMin","init_dialog","constructor","data","source","ɵɵdirectiveInject","MAT_DIALOG_DATA","selectors","standalone","decls","vars","consts","template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵtextInterpolate1","ɵɵpipeBind2","ɵɵpureFunction1","_c0","ɵɵproperty","ɵɵpipeBind1","ApiError","VApiService","init_vapi_service","__esmMin","init_http","init_esm","init_operators","constructor","message","code","data","name","http","sessionService","apiOptions","headers","HttpHeaders","Authorization","getSessionId","withCredentials","responseType","get","url","options","Object","assign","pipe","map","extractData","catchError","handleError","put","body","post","generateUrlWithParams","params","keys","length","finalUrl","finalParams","param_key","join","generateRepeatedUrlParams","paramName","repeatedParams","forEach","id","index","res","error","errorInfo","err","status","observableThrowError","ɵɵinject","HttpClient","SessionService","factory","ɵfac","ConnectedAccountModalComponent","init_connected_account_modal_component","__esmMin","init_dialog","constructor","data","sourceName","GOOGLE_MY_BUSINESS","FACEBOOK","TWITTER","sourceId","accountName","accountLink","ɵɵdirectiveInject","MAT_DIALOG_DATA","selectors","standalone","decls","vars","consts","template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵtextInterpolate1","ɵɵpipeBind2","ɵɵpureFunction1","_c0","ɵɵpureFunction2","_c1","ɵɵproperty","ɵɵpipeBind1","TableColumnDirective","init_column_directive","__esmMin","inputs","columnDefinition","element","eventEmitter","PresenceAccuracyComponent","init_presence_accuracy_component","__esmMin","init_column_directive","TableColumnDirective","constructor","selectors","standalone","features","ɵɵInheritDefinitionFeature","decls","vars","template","rf","ctx","ɵɵelementContainerStart","ɵɵtext","ɵɵadvance","ɵɵtextInterpolate1","ɵɵpipeBind1","element","accuracyInfo","text","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵproperty","ctx_r1","getIconSize","ɵɵadvance","ɵɵtextInterpolate1","ecosystemSources","ɵɵelementContainerStart","ɵɵlistener","ɵɵrestoreView","_r1","ɵɵnextContext","ɵɵresetView","getDefaultProfileImage","ɵɵtemplate","IconComponent_ng_container_0_div_3_Template","ɵɵpropertyInterpolate","iconUrl","ɵɵsanitizeUrl","name","ɵɵpureFunction1","_c0","shadow","getHeightStyle","ɵɵelement","IconComponent","init_icon_component","__esmMin","constructor","iconSize","height","lineHeight","width","defaulticonUrl","selectors","inputs","standalone","decls","vars","consts","template","rf","ctx","IconComponent_ng_container_0_Template","IconComponent_ng_template_1_Template","ɵɵtemplateRefExtractor","generatedIcon_r3","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵproperty","ctx_r0","element","listingUrl","ɵɵsanitizeUrl","ɵɵadvance","ɵɵtextInterpolate1","ɵɵpipeBind1","SourceNameColumnComponent","init_source_name_column_component","__esmMin","init_column_directive","TableColumnDirective","__ngFactoryType__","selectors","standalone","features","ɵɵInheritDefinitionFeature","decls","vars","consts","template","rf","ctx","ɵɵelement","ɵɵtemplate","SourceNameColumnComponent_Conditional_5_Template","name","sourceIcon","ɵɵtextInterpolate","ɵɵconditional","isSyncingEnabled","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵclassMapInterpolate1","ctx_r0","getIconClassForStyle","element","syncInfo","style","ɵɵtextInterpolate1","icon","getTextClassForStyle","ɵɵproperty","tooltip","tooltipTitle","text","ɵɵlistener","ɵɵrestoreView","_r2","ɵɵnextContext","ɵɵresetView","openUpgradeDialog","StatusColumnComponent","init_status_column_component","__esmMin","init_column_directive","TableColumnDirective","constructor","eventEmitter","emit","selectors","standalone","features","ɵɵInheritDefinitionFeature","decls","vars","consts","template","rf","ctx","ɵɵtemplate","StatusColumnComponent_Conditional_0_Template","StatusColumnComponent_Conditional_1_Template","ɵɵconditional","isSyncingEnabled","locked","ɵɵelementContainer","ɵɵproperty","gmb_r2","facebook_r3","instagram_r4","twitter_r5","bing_r6","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵelement","ɵɵadvance","ɵɵtextInterpolate1","ɵɵpipeBind1","ɵɵsanitizeHtml","SyncInfoModalComponent","init_sync_info_modal_component","__esmMin","init_dialog","init_local_seo","constructor","data","dialogRef","Google","GoogleSourceID","Facebook","FacebookSourceID","Instagram","InstagramSourceID","X","XSourceID","Bing","BingSourceID","Apple","AppleSourceID","source","onCancel","close","ɵɵdirectiveInject","MAT_DIALOG_DATA","MatDialogRef","selectors","standalone","decls","vars","consts","template","rf","ctx","ɵɵelementContainerStart","ɵɵtemplate","SyncInfoModalComponent_ng_container_1_Template","SyncInfoModalComponent_ng_container_2_Template","SyncInfoModalComponent_ng_container_3_Template","SyncInfoModalComponent_ng_container_4_Template","SyncInfoModalComponent_ng_container_5_Template","SyncInfoModalComponent_ng_template_6_Template","ɵɵtemplateRefExtractor","SyncInfoModalComponent_ng_template_8_Template","SyncInfoModalComponent_ng_template_10_Template","SyncInfoModalComponent_ng_template_12_Template","SyncInfoModalComponent_ng_template_14_Template","ɵɵlistener","i0","ɵɵrestoreView","_r1","ɵɵresetView","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵproperty","ctx_r0","accuracySidebarBadgeColor","ɵɵadvance","ɵɵtextInterpolate1","ɵɵpipeBind1","accuracyText","isListingVerified","accuracy","status","Sidebar","ɵɵelementContainerStart","ɵɵelement","ɵɵtemplate","ListingSidebarAccuracyComponent_ng_container_7_ng_container_1_div_1_Template","ListingSidebarAccuracyComponent_ng_container_7_ng_container_1_div_2_Template","creatingListing","ɵɵlistener","ɵɵrestoreView","_r2","ɵɵnextContext","ɵɵresetView","navigateToListingProfile","ɵɵtextInterpolate","$event","_r3","markListingAccurateEvent","ɵɵtwoWayListener","i0","ɵɵtwoWayBindingSet","ɵɵtwoWayProperty","ɵɵclassProp","anchorDataMatches","address","anchorData","city","state","country","zip","ListingSidebarAccuracyComponent_ng_container_7_ng_container_4_div_7_Template","companyName","sourceSupportsListings","phone","website","ListingSidebarAccuracyComponent_ng_container_7_ng_container_1_Template","ListingSidebarAccuracyComponent_ng_container_7_Conditional_2_Template","ListingSidebarAccuracyComponent_ng_container_7_Conditional_3_Template","ListingSidebarAccuracyComponent_ng_container_7_ng_container_4_Template","isSyncingEnabled","syncingHasErrors","ɵɵconditional","inaccurateStatus","canMarkAsAccurate","ListingSidebarAccuracyComponent","init_listing_sidebar_accuracy_component","__esmMin","init_core","init_accuracy_text_pipe","init_vendasta_listing_products","init_local_seo","constructor","router","route","markListingAccurate","EventEmitter","ListingAccuracyText","AccuracyStatus","ACCURACY_STATUS_INACCURATE","ACCURACY_STATUS_ACCURATE","checked","emit","navigate","queryParamsHandling","relativeTo","ACCURACY_STATUS_UNAVAILABLE","sourceId","BingSourceID","ɵɵdirectiveInject","Router","ActivatedRoute","selectors","inputs","outputs","standalone","decls","vars","consts","template","rf","ctx","ListingSidebarAccuracyComponent_glxy_badge_5_Template","ListingSidebarAccuracyComponent_ng_container_6_Template","ListingSidebarAccuracyComponent_ng_container_7_Template","ɵɵelementStart","ɵɵlistener","ɵɵrestoreView","_r1","ctx_r1","ɵɵnextContext","ɵɵresetView","connectSocialService","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵtextInterpolate1","syncButtonText","ɵɵelement","_r3","ɵɵpropertyInterpolate","ɵɵpipeBind1","ɵɵtextInterpolate","ɵɵproperty","gmbVerifyUrl","ɵɵsanitizeUrl","_r4","updateSyncing","ɵɵtemplate","ListingSidebarActionsComponent_Conditional_1_Conditional_0_Conditional_0_Template","ListingSidebarActionsComponent_Conditional_1_Conditional_0_Conditional_1_Template","ListingSidebarActionsComponent_Conditional_1_Conditional_0_Conditional_2_Template","ListingSidebarActionsComponent_Conditional_1_Conditional_0_Conditional_3_Template","ɵɵconditional","config","RequiresAccount","data","account","connectionId","tokenBroken","isAuthenticated","sourceId","GoogleSourceID","isVerified","provider","DirectProvider","isSyncingEnabled","_r5","upgrade","emit","ɵɵtextInterpolate2","name","appleBCConnectionButtonConfig","optionsMenu_r6","ListingSidebarActionsComponent_Conditional_1_Conditional_0_Template","ListingSidebarActionsComponent_Conditional_1_Conditional_1_Template","ListingSidebarActionsComponent_Conditional_1_Conditional_2_Template","ListingSidebarActionsComponent_Conditional_1_Conditional_4_Template","locked","requiresLSP","requirement","AppleSourceID","appleBusinessConnectFF$","listingId","_r7","refreshListing","_r8","disconnectService","_r9","ListingSidebarActionsComponent","init_listing_sidebar_actions_component","__esmMin","init_core","init_local_seo","init_esm","init_operators","init_vendasta_reputation","init_disconnect_service_modal_component","init_dialog","init_src","init_vendasta_platform_integrations","init_vendasta_listing_products","source","src","DIRECT_SUBMIT_SOURCE_CONFIG","constructor","agid$","translate","listingSyndicationService","snackBar","listingSyncService","reputationService","dialog","connectionActionService","cardService","activatedRoute","EventEmitter","XSourceID","Provider","PROVIDER_DIRECT","refreshTrigger$","BehaviorSubject","undefined","subscriptions","appleBCIntegration$","getIntegrationByIntegrationType","IntegrationType","APPLEBUSINESSCONNECT","appleBCConnection$","pipe","switchMap","agid","getExistingConnectionByIntegrationType","featureFlags$","map","flags","connectLabel","resumeLabel","reconnectLabel","disconnectLabel","connectAction","openConnectModal","disconnectAction","preconnectAction","styleClass","style","r","SyncRequirement","SYNC_REQUIREMENT_LSP","SYNC_REQUIREMENT_UBERALL_LSP","SYNC_REQUIREMENT_YEXT_LSP","ngOnInit","push","combineLatest","subscribe","appleBusinessConnectFF","initialize","queryParams","params","appleBCLocationModal","openAppleSettingsModal","filter","response","refreshStatus","connectionStatus","refreshConnection","next","zip","integration","connection","status","ConnectionStatus","CONNECTED","PRECONNECTED","applePreconnectionHasToken","integrationType","customFields","Boolean","take","dialogConfig","MatDialogConfig","width","open","SyncSettingsComponent","instance","componentInstance","pageData","cardDetail","namespace","locationSaved","close","window","location","href","connectLink","instant","getSyncStatusText","listingUrl","length","accuracy","syncStatus","newSyncState","loading$$","catchError","err","message","error","politeness","duration","EMPTY","retrySyncData","forceRefreshListing","ForceRefreshListingRequest","accountGroupId","url","disconnectDialogRef","DisconnectServiceModalComponent","afterClosed","shouldDisconnect","deleteConnection","disconnectService$","clientTags","of","ngOnDestroy","forEach","sub","unsubscribe","ɵɵdirectiveInject","AGIDTOKEN","TranslateService","SyndicationApiService","MatSnackBar","ListingSyncService","ListingApiService","MatDialog","ConnectionActionService","CardDataService","ActivatedRoute","selectors","inputs","outputs","standalone","decls","vars","consts","template","rf","ctx","ListingSidebarActionsComponent_Conditional_1_Template","ListingSidebarActionsComponent_Conditional_3_Template","ListingSidebarActionsComponent_Conditional_6_Template","ListingSidebarActionsComponent_Conditional_7_Template","ListingSidebarActionsComponent_Conditional_8_Template","asObservable","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵtextInterpolate","field_r1","ɵɵrepeaterCreate","ListingSidebarErrorsComponent_For_5_Conditional_1_For_2_Template","ɵɵrepeaterTrackByIdentity","ɵɵrepeater","err_r2","listedFields","ɵɵelement","ɵɵtemplate","ListingSidebarErrorsComponent_For_5_Conditional_1_Template","ɵɵproperty","message","ɵɵsanitizeHtml","ɵɵconditional","length","ɵɵlistener","ɵɵrestoreView","_r3","ctx_r3","ɵɵnextContext","ɵɵresetView","forceSync","ɵɵtextInterpolate1","ɵɵpipeBind2","ɵɵpureFunction1","_c0","sourceName","ListingSidebarErrorsComponent","init_listing_sidebar_errors_component","__esmMin","init_operators","init_vendasta_listing_syndication","init_local_seo","constructor","agid$","listingSyndicationService","snackBar","translate","subscriptions","push","pipe","switchMap","agid","submitListingSyndication","SubmitListingSyndicationRequest","accountGroupId","sourceIds","sourceId","trigger","force","subscribe","open","instant","duration","ɵɵdirectiveInject","AGIDTOKEN","SyndicationApiService","MatSnackBar","TranslateService","selectors","inputs","errors","canForceSync","standalone","decls","vars","consts","template","rf","ctx","ListingSidebarErrorsComponent_For_5_Template","ListingSidebarErrorsComponent_Conditional_6_Template","ɵɵpipeBind1","ɵɵelement","ɵɵproperty","ctx_r0","account","profileImageUrl","defaultIconUrl","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","profileUrl","ɵɵsanitizeUrl","ɵɵadvance","ɵɵtextInterpolate1","username","ɵɵtemplate","ListingSidebarAccountsComponent_Conditional_5_local_seo_source_name_icon_1_Template","ListingSidebarAccountsComponent_Conditional_5_a_2_Template","ListingSidebarAccountsComponent_Conditional_5_div_3_Template","listingUrl","service_r3","ListingSidebarAccountsComponent_Conditional_6_mat_radio_button_6_local_seo_source_name_icon_2_Template","connectionId","ɵɵtwoWayListener","$event","ɵɵrestoreView","_r2","ɵɵnextContext","i0","ɵɵtwoWayBindingSet","selectedSSID","ɵɵresetView","ɵɵlistener","setSelectedSocialService","ListingSidebarAccountsComponent_Conditional_6_local_seo_source_name_icon_3_Template","ListingSidebarAccountsComponent_Conditional_6_a_4_Template","ListingSidebarAccountsComponent_Conditional_6_div_5_Template","ListingSidebarAccountsComponent_Conditional_6_mat_radio_button_6_Template","ɵɵtwoWayProperty","additionalAccounts","ListingSidebarAccountsComponent","init_listing_sidebar_accounts_component","__esmMin","init_core","init_operators","init_esm","init_local_seo","constructor","agid$","listingSyncService","snackBar","translate","retry","EventEmitter","subscriptions","ngOnInit","ngOnDestroy","forEach","sub","unsubscribe","push","sourceId","pipe","catchError","err","console","log","message","error","open","instant","politeness","duration","EMPTY","subscribe","retrySyncData","ɵɵdirectiveInject","AGIDTOKEN","ListingSyncService","MatSnackBar","TranslateService","selectors","inputs","sourceName","outputs","standalone","decls","vars","consts","template","rf","ctx","ɵɵelementContainerStart","ListingSidebarAccountsComponent_Conditional_5_Template","ListingSidebarAccountsComponent_Conditional_6_Template","ɵɵtextInterpolate","ɵɵpipeBind1","ɵɵconditional","length","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵproperty","ctx_r0","data","listingUrl","ɵɵsanitizeUrl","ɵɵadvance","ɵɵtextInterpolate1","name","ɵɵelement","sourceId","account","additionalAccounts","ɵɵlistener","ɵɵrestoreView","_r2","ɵɵnextContext","ɵɵresetView","upgrade","emit","loadingChanges$$","_r3","openSyncInfoModal","ɵɵpipeBind2","ɵɵpureFunction1","_c0","errorMessages","canForceSync","source_r4","icon","ɵɵtextInterpolate","ɵɵrepeaterCreate","ListingSidebarComponent_Conditional_16_For_9_Template","ɵɵrepeaterTrackByIdentity","ɵɵpipeBind1","ɵɵrepeater","ecosystemSources","ListingSidebarComponent","init_listing_sidebar_component","__esmMin","init_core","init_vendasta_reputation","init_esm","init_operators","init_local_seo","init_accuracy_text_pipe","init_sync_info_modal_component","init_vendasta_listing_products","constructor","agid$","translate","listingSyncService","dialog","router","route","reputationService","snackBar","listingSyncProApiServiceSDK","listingSyndicationService","categorySelectService","languageService","lspAPIService","closed","EventEmitter","accuracyText","ListingAccuracyText","BehaviorSubject","subscriptions","AppleSourceID","XSourceID","SyncFailed","SyncStatus","SYNC_STATUS_FAILED","DirectProvider","Provider","PROVIDER_DIRECT","ngOnInit","selectedSSID","connectionId","markListingAccurateEvent","marklistingaccurate","pipe","switchMap","agid","updateListing","UpdateListingRequest","listingId","accountGroupId","fieldMask","FieldMask","paths","isVerified","subscribe","setTimeout","retrySyncData","canShowInfoModal","GoogleSourceID","FacebookSourceID","InstagramSourceID","BingSourceID","indexOf","open","SyncInfoModalComponent","source","ngOnDestroy","forEach","sub","unsubscribe","provider","errors","find","error","errorCode","DirectSyncErrorCode","UNABLE_TO_VALIDATE_ERROR","INVALID_FIELD_ERROR","MISMATCHED_FIELD_ERROR","UNABLE_TO_GEOCODE_ERROR","INVALID_CATEGORY_ERROR","ɵɵdirectiveInject","AGIDTOKEN","TranslateService","ListingSyncService","MatDialog","Router","ActivatedRoute","ListingApiService","MatSnackBar","ListingSyncProApiService","SyndicationApiService","CategorySelectService","LanguageService","selectors","inputs","outputs","standalone","decls","vars","consts","template","rf","ctx","ɵɵtemplate","ListingSidebarComponent_a_5_Template","ListingSidebarComponent_div_6_Template","ListingSidebarComponent_Conditional_11_Template","$event","ListingSidebarComponent_Conditional_13_Template","ListingSidebarComponent_Conditional_14_Template","ListingSidebarComponent_Conditional_15_Template","ListingSidebarComponent_Conditional_16_Template","sourceIcon","ɵɵconditional","username","accuracy","sourceHasReporting","isSyncingEnabled","syncStatus","isListingVerified","locked","length","ListingSyncTableFilterService","init_listing_sync_table_filter_service","__esmMin","init_src","constructor","filters","FilterGroup","addToolbarSection","SearchFilterControl","addSection","CheckboxFilterControl","appliedValueMapper","name","label","factory","ɵfac","COMMON_TABLE_LABELS","LISTING_SYNC_TABLE_DEF","tableDefinitionFactory","init_listing_sync_table_model","__esmMin","init_src","init_source_name_column_component","init_status_column_component","init_presence_accuracy_component","noResults","cancel","none","update","sortBy","thenSortBy","addAnotherSortColumn","chooseColumnToSortBy","columnSorting","date","ascending","descending","number","string","default","export","buttonText","buttonTooltipBeforeCount","buttonTooltipAfterCount","description","columnSelector","id","labels","columns","field","displayName","type","ColumnType","COLUMN_TYPE_STRING","cellComponent","SourceNameColumnComponent","pinned","Pinned","PINNED_LEFT","sortOptions","sortable","width","ColumnWidth","WIDTH_WIDE","PresenceAccuracyComponent","StatusColumnComponent","COLUMN_TYPE_NUMBER","groups","columnOrganizerType","ColumnOrganizerType","ADVANCED_ORGANIZER","options","pageSizeOptions","defaultPageSize","filterService","tableDefinition","filters","ɵɵelementContainerStart","ɵɵelementStart","ɵɵlistener","ɵɵrestoreView","_r3","ɵɵnextContext","sidenav_r2","ɵɵreference","ɵɵresetView","close","ctx_r3","OpenUpgradeDialog","retry","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","sidebarData","ListingSyncTableComponent","init_listing_sync_table_component","__esmMin","init_vendasta_marketplace_apps","init_src","init_esm","init_operators","init_local_seo","constructor","listingSyncTableService","dialog","upgradeDialogService","listingSyncService","translateService","analyticsService","filterService","vaFilteredMatTableService","isListingfromEmbedded","lspActive$","handleRowClick","event","sidenav","open","load","handleCellEvent","openUpgradeDialog","editionChangeDetails$","addonID$","pipe","switchMap","addonID","getAddonUpgradeDetails$","upgradePrice$","combineLatest","partnerMarket$","pmConfig","editionChangeDetails","getUpgradePrice$","shareReplay","formattedUpgradePrice$","upgradePrice","getFormattedRetailPrice$","getCustomUpgradeModalContent$","take","formattedUpgradePrice","customUpgradeModalContent","marketingPoints","instant","ctaText","buttonText","undefined","editionUpgradeAction","EditionUpgradeAction","EDITION_UPGRADE_ACTION_CONTACT_SALES","dialogRef","editionName","imageText","titleText","imageUrl","keySellingPoints","sellingPoints","activeOrderPrimaryText","activeOrderSecondaryText","activeOrderImageUrl","upgradeNowText","getUpgradeText","price","frequency","getFrequencyText","UpgradeCTADialogComponent","data","afterClosed","filter","upgradeClicked","item","EDITION_UPGRADE_ACTION_CUSTOM_ORDER","packageId","priceReferencePackageId","appId","APP_ID","addonId","buildBusinessCenterUpgradeRedirectInfo","subscribe","redirectInfo","sendToVbc","getSideNavTopGap","ɵɵdirectiveInject","ListingSyncTableService","MatDialog","UpgradeCTADialogService","ListingSyncService","TranslateService","ProductAnalyticsService","ListingSyncTableFilterService","VaFilteredMatTableService","selectors","viewQuery","rf","ctx","VaTableSortService","decls","vars","consts","template","_r1","ɵɵtemplate","ListingSyncTableComponent_ng_container_4_Template","$event","i0","ListingsSummaryCardComponent","init_listings_summary_card_component","__esmMin","selectors","inputs","data","standalone","decls","vars","consts","template","rf","ctx","ɵɵelementStart","ɵɵelement","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","ɵɵpipeBind1","ɵɵtextInterpolate","syncedSourcesCount","syncInProgressSourcesCount","notSyncingSourcesCount","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵtextInterpolate","data_r3","accuracyInfo","icon","ɵɵtemplate","PrimarySourceComponent_ng_container_0_glxy_badge_17_mat_icon_1_Template","ɵɵproperty","ctx_r3","syncStyleToBadgeColor","style","text","syncInfo","PrimarySourceComponent_ng_container_0_glxy_badge_18_mat_icon_1_Template","ɵɵelementContainerStart","ɵɵlistener","ɵɵrestoreView","_r1","sidenav_r2","ɵɵreference","ɵɵresetView","close","ngIf","ɵɵnextContext","open","locked","ɵɵelement","PrimarySourceComponent_ng_container_0_mat_icon_13_Template","PrimarySourceComponent_ng_container_0_glxy_badge_17_Template","PrimarySourceComponent_ng_container_0_glxy_badge_18_Template","getSideNavTopGap","ɵɵpureFunction1","_c2","_c3","name","sourceIcon","ecosystemSources","length","ɵɵtextInterpolate3","ɵɵpipeBind1","score","maxScore","sourceHasReporting","noReporting_r6","syncStatusloading$","loadingSyncStatus_r5","ɵɵtextInterpolate1","serviceToSourceID","service","GoogleSourceID","FacebookSourceID","PrimarySourceComponent","init_primary_source_component","__esmMin","init_core","init_src","init_vendasta_marketplace_apps","init_esm","init_operators","init_local_seo","init_upgrade_cta_dialog_service","init_connected_account_modal_component","init_accuracy_text_pipe","init_rxjs_interop","constructor","translate","route","router","dialog","upgradeDialogService","env","listingSyncService","data","input","required","sidebarTopPadding","isListingfromEmbedded","data$","toObservable","subscriptions","accuracyText","ListingAccuracyText","combineLatest","loadingSource$","pipe","map","loadingSource","sourceId","SyncStyle","SUCCESS","WARNING","NEUTRAL","ngOnInit","push","queryParams","subscribe","params","ConnectedAccountModalComponent","accountName","account","username","afterClosed","switchMap","shouldSync","updateSyncing","connectionId","navigate","url","split","ngOnDestroy","forEach","s","unsubscribe","sidenav","OpenUpgradeDialog","editionChangeDetails$","getEditionChangeDetails$","upgradePrice$","partnerMarket$","pmConfig","editionChangeDetails","paidEdition","DEMO_PAID_EDITION","getEnvironment","Environment","PROD","PROD_PAID_EDITION","getUpgradePrice$","appID","shareReplay","formattedUpgradePrice$","upgradePrice","getFormattedRetailPrice$","getCustomUpgradeModalContent$","appSettings$","take","formattedUpgradePrice","customUpgradeModalContent","settings","marketingPoints","instant","appName","branding","enabled","ctaText","buttonText","undefined","editionUpgradeAction","EditionUpgradeAction","EDITION_UPGRADE_ACTION_CONTACT_SALES","dialogConfig","editionName","imageText","titleText","imageUrl","keySellingPoints","sellingPoints","upgradeNowText","getUpgradeText","price","frequency","getFrequencyText","dialogRef","UpgradeCTADialogComponent","filter","upgradeClicked","isCustomPackage","EDITION_UPGRADE_ACTION_CUSTOM_ORDER","item","packageId","priceReferencePackageId","appId","APP_ID","editionId","buildBusinessCenterUpgradeRedirectInfo","redirectInfo","sendToVbc","ɵɵdirectiveInject","TranslateService","ActivatedRoute","Router","MatDialog","UpgradeCTADialogService","EnvironmentService","ListingSyncService","selectors","viewQuery","rf","ctx","PrimarySourceComponent_ng_container_0_Template","PrimarySourceComponent_ng_template_2_Template","ɵɵtemplateRefExtractor","PrimarySourceComponent_ng_template_4_Template","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","card_r1","ctx_r1","sidebarTopPadding","isListingfromEmbedded","ɵɵrepeaterCreate","PrimarySourcesComponent_Conditional_1_For_1_Template","ɵɵrepeaterTrackByIdentity","ɵɵrepeater","ctx","PrimarySourcesComponent_Conditional_3_For_1_Template","cardSources","PrimarySourcesComponent","init_primary_sources_component","__esmMin","init_operators","init_local_seo","constructor","accountGroupId$","listingSyncService","GoogleSourceID","FacebookSourceID","InstagramSourceID","XSourceID","BingSourceID","AppleSourceID","Cards$","syncData$","pipe","map","sources","filter","source","includes","sourceId","sort","a","b","indexOf","ɵɵdirectiveInject","AGIDTOKEN","ListingSyncService","selectors","inputs","standalone","decls","vars","consts","template","rf","ɵɵtemplate","PrimarySourcesComponent_Conditional_1_Template","PrimarySourcesComponent_Conditional_3_Template","ɵɵconditional","tmp_0_0","ɵɵpipeBind1","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","statusLegend_r2","style","ɵɵtextInterpolate","icon","ɵɵpipeBind1","name","description","ɵɵelement","ctx_r3","getSyncValueBgColor","data_r3","ɵɵtextInterpolate2","syncedSourcesCount","totalSourcesCount","SyncingProgressSummaryCardComponent","init_syncing_progress_summary_card_component","__esmMin","init_popover","init_local_seo","constructor","listingSyncService","PopoverPositions","showPopover","syncingProgressLegendConfig","SyncingProgressSyncLegendConfig","summaryData$","syncingProgressSummaryData$","showPopovers","hidePopovers","data","ratio","ɵɵdirectiveInject","ListingSyncService","selectors","standalone","decls","vars","consts","template","rf","ctx","ɵɵelementContainerStart","ɵɵlistener","i0","ɵɵrestoreView","_r1","ɵɵresetView","ɵɵtemplate","SyncingProgressSummaryCardComponent_div_11_Template","SyncingProgressSummaryCardComponent_mat_card_content_12_Template","SyncingProgressSummaryCardComponent_ng_template_14_Template","ɵɵtemplateRefExtractor","ɵɵtextInterpolate1","syncingProgressPopover_r5","ɵɵpureFunction1","_c0","Bottom","loading_r6","init_lib","__esmMin","init_local_seo_table_module","init_local_seo_keywords_stats_cards_module","init_keyword_tracking_module","init_keyword_tracking_service","init_listings_management_module","init_upgrade_cta_dialog_service","init_local_seo","init_src","__esmMin","init_lib","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵtextInterpolate1","ctx_r0","businessPrimaryCategory","truncateString","data_r2","listingProfile","napData","address","workNumber","ɵɵelementContainerStart","ɵɵtemplate","ListingsNapMapCardComponent_ng_container_1_div_9_Template","ListingsNapMapCardComponent_ng_container_1_div_10_Template","ListingsNapMapCardComponent_ng_container_1_div_11_Template","ListingsNapMapCardComponent_ng_container_1_div_16_Template","ɵɵelement","ɵɵproperty","getOverlayClass","ɵɵtextInterpolate","companyName","isLoaded","getBusinessCategory","serviceAreaBusiness","validateAddressDisplay","ɵɵtextInterpolate3","city","state","zip","country","length","mapOptions","mapPixelSize","markerOptions","ListingsNapMapCardComponent","init_listings_nap_map_card_component","__esmMin","init_operators","init_vendasta_listing_products","init_src","constructor","router","route","accountGroupId$","listingProfileService","size","overlay","businessProfileCardData$","pipe","switchMap","agid","get","ProjectionFilter","externalIdentifiers","map","lp","center","lat","location","latitude","lng","longitude","zoom","mapTypeControl","gestureHandling","position","draggable","title","shareReplay","ids","vCategoryIds","value","split","word","index","charAt","toUpperCase","slice","toLowerCase","join","serviceArea","businessType","getMatCardClass","ngOnInit","navigateInsideAngular","page","navigate","queryParamsHandling","relativeTo","str","maxLength","ɵɵdirectiveInject","Router","ActivatedRoute","AGIDTOKEN","ListingProfileService","selectors","inputs","standalone","decls","vars","consts","template","rf","ctx","ListingsNapMapCardComponent_ng_container_1_Template","ListingsNapMapCardComponent_ng_template_3_Template","ɵɵtemplateRefExtractor","ɵɵpipeBind1","loadingCard_r3","LocalSEOListingsManagementModule","init_listings_management_module","__esmMin","init_common","init_forms","init_button","init_card","init_checkbox","init_dialog","init_expansion","init_icon","init_list","init_menu","init_progress_spinner","init_radio","init_sidenav","init_slide_toggle","init_snack_bar","init_table","init_tooltip","init_src","init_ngx_translate_core","init_alert","init_badge","init_form_field","init_loading_spinner","init_page","init_popover","init_lib_esmodule","init_ngx_json_viewer","init_en_devel","init_repcore_api_service","init_vapi_service","init_upgrade_cta_dialog_service","init_listing_sync_table_filter_service","init_listing_sync_table_model","init_listing_sync_table_component","init_listing_sync_table_service","init_listing_sync_service","init_listings_management_component","init_primary_sources_component","init_syncing_progress_summary_card_component","init_listings_nap_map_card_component","init_google_maps","init_language_service_service","VaFilteredMatTableService","ListingSyncTableFilterService","provide","TABLE_DEFINITION","useFactory","tableDefinitionFactory","deps","RepcoreApiService","VApiService","UpgradeCTADialogService","ListingSyncService","ListingSyncTableService","LanguageService","imports","CommonModule","TranslateModule","GalaxyAlertModule","MatButtonModule","MatCardModule","MatDialogModule","MatMenuModule","MatIconModule","GalaxyTooltipModule","MatProgressSpinnerModule","MatSlideToggleModule","MatSnackBarModule","MatTableModule","MatRadioModule","VaIconModule","Filter2TableModule","ReactiveFormsModule","FilterModule","MatTooltipModule","GalaxyFormFieldModule","GalaxyPageModule","NgxJsonViewerModule","MatExpansionModule","MatListModule","GalaxyBadgeModule","GalaxyLoadingSpinnerModule","MatSidenavModule","ClickOutsideModule","GalaxyPopoverModule","FormsModule","MatCheckboxModule","LexiconModule","forChild","componentName","baseTranslation","en","GoogleMap","ConnectionButtonComponent","VaStencilsModule","ListingsManagementComponent","NgIf","AlertComponent","MatCard","MatCardHeader","MatCardTitle","ListingSyncTableComponent","SyncingProgressSummaryCardComponent","PrimarySourcesComponent","ListingsNapMapCardComponent","AsyncPipe","TranslatePipe"],"x_google_ignoreList":[40,41,42,45,48,55]}