{
  "version": 3,
  "sources": ["src/app/services/seo.service.ts", "src/app/services/app-context.ts"],
  "sourcesContent": ["import { inject, Injectable } from '@angular/core'\nimport { Meta, Title } from '@angular/platform-browser'\nimport { DOCUMENT } from '@angular/common'\n\nexport interface SeoSocialShareData {\n    title?: string\n    keywords?: string\n    description?: string\n    image?: string\n    imageAuxData?: ImageAuxData\n    url?: string\n    type?: string\n    author?: string\n    section?: string\n    published?: string\n    modified?: string\n}\n\nexport interface ImageAuxData {\n    width?: number\n    height?: number\n    secureUrl?: string\n    mimeType?: string\n    alt?: string\n}\nexport enum NgxSeoMetaTagAttr {\n    name = 'name',\n    property = 'property',\n}\n\nexport interface NgxSeoMetaTag {\n    attr: NgxSeoMetaTagAttr\n    attrValue: string\n    value?: string\n}\n\n@Injectable({\n    providedIn: 'root',\n})\nexport class SeoSocialShareService {\n    private readonly metaService = inject(Meta)\n    private readonly titleService = inject(Title)\n    private readonly document = inject(DOCUMENT)\n\n    public setData(data: SeoSocialShareData): void {\n        this.setSection(data.section)\n        this.setKeywords(data.keywords)\n        this.setTitle(data.title)\n        this.setType(data.type)\n        this.setDescription(data.description)\n        this.setImage(data.image, data.imageAuxData)\n        this.setUrl(data.url)\n        this.setPublished(data.published)\n        this.setModified(data.modified)\n        this.setAuthor(data.author)\n    }\n\n    public setKeywords(keywords?: string): void {\n        if (keywords) {\n            this.metaService.updateTag({ name: 'keywords', content: keywords })\n        } else {\n            this.metaService.removeTag(`name='keywords'`)\n        }\n    }\n\n    public setSection(section?: string): void {\n        if (section) {\n            this.metaService.updateTag({ name: 'article:section', content: section })\n        } else {\n            this.metaService.removeTag(`name='article:section'`)\n        }\n    }\n\n    public setTitle(title: string = ''): void {\n        this.titleService.setTitle(title)\n        if (title && title.length) {\n            this.metaService.updateTag({ name: 'twitter:title', content: title })\n            this.metaService.updateTag({ name: 'twitter:image:alt', content: title })\n            this.metaService.updateTag({ property: 'og:image:alt', content: title })\n            this.metaService.updateTag({ property: 'og:title', content: title })\n            this.metaService.updateTag({ name: 'title', content: title })\n            this.metaService.updateTag({ itemprop: 'name', content: title }, `itemprop='name'`)\n        } else {\n            this.metaService.removeTag(`name='twitter:title'`)\n            this.metaService.removeTag(`name='twitter:image:alt'`)\n            this.metaService.removeTag(`property='og:image:alt'`)\n            this.metaService.removeTag(`property='og:title'`)\n            this.metaService.removeTag(`name='title'`)\n            this.metaService.removeTag(`itemprop='name'`)\n        }\n    }\n\n    public setType(type?: string): void {\n        if (type && type.length) {\n            this.metaService.updateTag({ property: 'og:type', content: type })\n        } else {\n            this.metaService.removeTag(`property='og:type'`)\n        }\n    }\n\n    public setDescription(description?: string): void {\n        if (description && description.length) {\n            this.metaService.updateTag({ name: 'twitter:description', content: description })\n            this.metaService.updateTag({ property: 'og:description', content: description })\n            this.metaService.updateTag({ name: 'description', content: description })\n            this.metaService.updateTag({ itemprop: 'description', content: description }, `itemprop='description'`)\n        } else {\n            this.metaService.removeTag(`name='twitter:description'`)\n            this.metaService.removeTag(`property='og:description'`)\n            this.metaService.removeTag(`name='description'`)\n            this.metaService.removeTag(`itemprop='description'`)\n        }\n    }\n\n    public setImage(image?: string, auxData?: ImageAuxData): void {\n        if (image && image.length) {\n            this.metaService.updateTag({ name: 'twitter:image', content: image })\n            this.metaService.updateTag({ itemprop: 'image', content: image }, `itemprop='image'`)\n            this.metaService.updateTag({ property: 'og:image', content: image })\n\n            if (auxData && auxData.height) {\n                this.metaService.updateTag({ property: 'og:image:height', content: auxData.height.toString() })\n            } else {\n                this.metaService.removeTag(`property='og:image:height'`)\n            }\n\n            if (auxData && auxData.width) {\n                this.metaService.updateTag({ property: 'og:image:width', content: auxData.width.toString() })\n            } else {\n                this.metaService.removeTag(`property='og:image:width'`)\n            }\n\n            if (auxData && auxData.alt) {\n                this.metaService.updateTag({ property: 'og:image:alt', content: auxData.alt })\n                this.metaService.updateTag({ property: 'twitter:image:alt', content: auxData.alt })\n            } else {\n                this.metaService.removeTag(`property='og:image:alt'`)\n                this.metaService.removeTag(`property='twitter:image:alt'`)\n            }\n\n            if (auxData && auxData.mimeType) {\n                this.metaService.updateTag({ property: 'og:image:type', content: auxData.mimeType })\n            } else {\n                this.metaService.removeTag(`property='og:image:type'`)\n            }\n\n            if (auxData && auxData.secureUrl) {\n                this.metaService.updateTag({ property: 'og:image:secure_url', content: auxData.secureUrl })\n            } else {\n                this.metaService.removeTag(`property='og:image:secure_url'`)\n            }\n        } else {\n            this.metaService.removeTag(`name='twitter:image'`)\n            this.metaService.removeTag(`property='twitter:image:alt'`)\n            this.metaService.removeTag(`property='og:image'`)\n            this.metaService.removeTag(`property='og:image:height'`)\n            this.metaService.removeTag(`property='og:image:secure_url'`)\n            this.metaService.removeTag(`property='og:image:type'`)\n            this.metaService.removeTag(`property='og:image:alt'`)\n            this.metaService.removeTag(`property='og:image:width'`)\n            this.metaService.removeTag(`itemprop='image'`)\n        }\n    }\n\n    public setUrl(url?: string): void {\n        if (url && url.length) {\n            this.metaService.updateTag({ property: 'og:url', content: url })\n        } else {\n            this.metaService.removeTag(`property='og:url'`)\n        }\n        this.setCanonicalUrl(url)\n    }\n\n    public setPublished(publishedDateString?: string): void {\n        if (publishedDateString) {\n            const publishedDate = new Date(publishedDateString)\n            this.metaService.updateTag({ name: 'article:published_time', content: publishedDate.toISOString() })\n            this.metaService.updateTag({ name: 'published_date', content: publishedDate.toISOString() })\n        } else {\n            this.metaService.removeTag(`name='article:published_time'`)\n            this.metaService.removeTag(`name='publication_date'`)\n        }\n    }\n\n    public setModified(modifiedDateString?: string): void {\n        if (modifiedDateString) {\n            const modifiedDate = new Date(modifiedDateString)\n            this.metaService.updateTag({ name: 'article:modified_time', content: modifiedDate.toISOString() })\n            this.metaService.updateTag({ name: 'og:updated_time', content: modifiedDate.toISOString() })\n        } else {\n            this.metaService.removeTag(`name='article:modified_time'`)\n            this.metaService.removeTag(`name='og:updated_time'`)\n        }\n    }\n\n    public setAuthor(author?: string): void {\n        if (author && author.length) {\n            this.metaService.updateTag({ name: 'article:author', content: author })\n            this.metaService.updateTag({ name: 'author', content: author })\n        } else {\n            this.metaService.removeTag(`name='article:author'`)\n            this.metaService.removeTag(`name='author'`)\n        }\n    }\n\n    public setTwitterSiteCreator(site?: string): void {\n        if (site) {\n            this.metaService.updateTag({ name: 'twitter:site', content: site })\n            this.metaService.updateTag({ name: 'twitter:creator', content: site })\n        } else {\n            this.metaService.removeTag(`name='twitter:site'`)\n            this.metaService.removeTag(`name='twitter:creator'`)\n        }\n    }\n\n    public setTwitterCard(card?: string): void {\n        if (card) {\n            this.metaService.updateTag({ name: 'twitter:card', content: card })\n        } else {\n            this.metaService.removeTag(`name='twitter:card'`)\n        }\n    }\n\n    public setFbAppId(appId?: string): void {\n        if (appId) {\n            this.metaService.updateTag({ property: 'fb:app_id', content: appId })\n        } else {\n            this.metaService.removeTag(`property='fb:app_id'`)\n        }\n    }\n\n    public setMetaTag(metaTag: NgxSeoMetaTag): void {\n        if (metaTag.value) {\n            const metaTagObject = {\n                [metaTag.attr]: metaTag.attrValue,\n                content: metaTag.value,\n            }\n            this.metaService.updateTag(metaTagObject)\n        } else {\n            const selector = `${metaTag.attr}='${metaTag.attrValue}'`\n            this.metaService.removeTag(selector)\n        }\n    }\n\n    public setMetaTags(metaTags: NgxSeoMetaTag[]): void {\n        for (const metaTag of metaTags) {\n            this.setMetaTag(metaTag)\n        }\n    }\n\n    public setLanguageAlternativeUrl(lang: string, url?: string): void {\n        // first remove potential previous url\n        const selector = `link[rel='alternate'][hreflang='${lang}']`\n        const languageAlternativeElement = this.document.head.querySelector(selector)\n        if (languageAlternativeElement) {\n            this.document.head.removeChild(languageAlternativeElement)\n        }\n\n        if (url && url.length) {\n            const link: HTMLLinkElement = this.document.createElement('link')\n            link.setAttribute('rel', 'alternate')\n            link.setAttribute('hreflang', lang)\n            link.setAttribute('href', url)\n            this.document.head.appendChild(link)\n        }\n    }\n\n    public setCanonicalUrl(url?: string): void {\n        // first remove potential previous url\n        const selector = `link[rel='canonical']`\n        const canonicalElement = this.document.head.querySelector(selector)\n        if (canonicalElement) {\n            this.document.head.removeChild(canonicalElement)\n        }\n\n        if (url && url.length) {\n            const link: HTMLLinkElement = this.document.createElement('link')\n            link.setAttribute('rel', 'canonical')\n            link.setAttribute('href', url)\n            this.document.head.appendChild(link)\n        }\n    }\n}\n", "import { Inject, Injectable } from '@angular/core'\nimport { ApiService } from '../api/api.client'\nimport { IAppConfig } from '../api/api.models'\nimport { DOCUMENT, isPlatformServer } from '@angular/common'\nimport { SeoSocialShareService } from './seo.service'\nimport { AccountContext } from './account-context'\nexport type NavLink = { path: string; label: string }\n\n@Injectable({\n    providedIn: 'root',\n})\nexport class AppContext {\n    public showRecordButton!: boolean | null\n    public showOrderCodeText!: boolean | null\n    public orderCode!: string | null\n    public LoginFooterText!: string | null\n    public ResetPasswordFooterText!: string | null\n    public ConfirmResetPasswordFooterText!: string | null\n    public locale: string = 'uk-UA'\n    private enableSeo: boolean = false\n    private googleTagManagerKey?: string | null = null\n    private version?: string\n    private _configurations!: IAppConfig\n\n    public get configurations() {\n        return this._configurations\n    }\n\n    public get isGoogleTagManagerEnabled() {\n        return !!this.googleTagManagerKey\n    }\n\n    public showPatientCardNavLink() {\n        return this.getPatientCardLinks().length > 0\n    }\n    ClientName?: string\n\n    public getPatientCardLinks() {\n        const links: NavLink[] = []\n        if (!this.configurations.HidePlannedPrerecords) {\n            links.push({\n                path: 'documents/prerecords',\n                label: 'Заплановані візити',\n            })\n        }\n\n        if (!this.configurations.HidePatientProtocols)\n            links.push({\n                path: 'documents/protocolHistory',\n                label: 'Результати обстежень',\n            })\n\n        if (!this.configurations.HidePatientAnalysis)\n            links.push({\n                path: 'documents/analysisHistory',\n                label: 'Результати аналізів',\n            })\n\n        if (!this.configurations.HidePatientDiscounts)\n            links.push({\n                path: 'documents/discounts',\n                label: 'Дисконтні картки',\n            })\n\n        return links\n    }\n\n    constructor(\n        @Inject(DOCUMENT) private document: Document,\n        private seo: SeoSocialShareService\n    ) {}\n\n    public async load(client: ApiService, accountContext: AccountContext, platform: Object) {\n        const [_, data] = await Promise.all([accountContext.get().toPromise(), client.getAppContext().toPromise()])\n        this.version = data.ProductVersion\n        this._configurations = data.Configurations\n        this.enableSeo = data.EnableSeo\n        this.ClientName = data.ClientName\n\n        this.googleTagManagerKey = data.GoogleTagManagerKey\n        this.showRecordButton = this._configurations.ShowRecordButton\n        this.showOrderCodeText = this._configurations.ShowRecordButton\n        this.orderCode = this._configurations.OrderCodeTitle\n        this.LoginFooterText = this._configurations.LoginFooterText\n        this.ResetPasswordFooterText = this._configurations.ResetPasswordFooterText\n\n        if (isPlatformServer(platform)) {\n            this.setupPage()\n        }\n    }\n\n    private addGoogleAnalyticsTag(googleAnalyticsKey: string) {\n        const ga = this.document.createElement('script')\n        ga.setAttribute('async', '')\n        ga.src = `https://www.googletagmanager.com/gtag/js?id=${googleAnalyticsKey}`\n        ga.text = ``\n        this.document.head.appendChild(ga)\n        const gaScript = this.document.createElement('script')\n        gaScript.text = `window.dataLayer = window.dataLayer || [];\n        function gtag(){dataLayer.push(arguments);}\n        gtag('js', new Date());\n        gtag('config', '${googleAnalyticsKey}');`\n        this.document.head.appendChild(gaScript)\n    }\n\n    private addGoogleTagManager(googleTagManagerKey: string) {\n        const gtm = this.document.createElement('script')\n        gtm.id = 'gtm-script'\n        gtm.text = `\n        ;(function (w, d, s, l, i) {\n                w[l] = w[l] || []\n                w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' })\n                var f = d.getElementsByTagName(s)[0],\n                    j = d.createElement(s),\n                    dl = l != 'dataLayer' ? '&l=' + l : ''\n                j.async = true\n                j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl\n                f.parentNode.insertBefore(j, f)\n            })(window, document, 'script', 'dataLayer', '${googleTagManagerKey}')\n        `\n        this.document.head.appendChild(gtm)\n\n        const gtmNoScript = this.document.createElement('noscript')\n        const iframe = this.document.createElement('iframe')\n        iframe.src = `https://www.googletagmanager.com/ns.html?id=${googleTagManagerKey}`\n        iframe.height = '0'\n        iframe.width = '0'\n        iframe.style.display = 'none'\n        iframe.style.visibility = 'hidden'\n        gtmNoScript.appendChild(iframe)\n        this.document.body.appendChild(gtmNoScript)\n    }\n\n    private setupPage() {\n        this.seo.setKeywords(this.configurations.MetaKeywords ?? undefined)\n        this.seo.setDescription(this.configurations.MetaDescription ?? undefined)\n        this.seo.setTitle(this.configurations.Title ?? 'Clinica WEB Online')\n\n        let colorTheme = `/${this.configurations.ColorTheme ?? 'light-blue-theme'}.css`\n\n        if (this.version) {\n            colorTheme += `?v=${this.version}`\n        }\n        const theme = this.document.createElement('link')\n        theme.rel = 'stylesheet'\n        theme.href = colorTheme\n        this.document.head.appendChild(theme)\n\n        if (this.configurations.Favicon) {\n            const favicon = this.document.createElement('link')\n            favicon.type = 'image/x-icon'\n            favicon.rel = 'shortcut icon'\n            favicon.href = this.configurations.Favicon\n            this.document.head.appendChild(favicon)\n        }\n\n        if (this.configurations.Logo) {\n            this.seo.setImage(this.configurations.Logo, {\n                alt: this.configurations.Title ?? undefined,\n                height: this.configurations.LogoHeight,\n                width: this.configurations.LogoWidth,\n            })\n        }\n\n        if (this.configurations.ImagesBaseUrl) {\n            const favicon = this.document.createElement('link')\n            favicon.rel = 'preconnect'\n            favicon.href = this.configurations.ImagesBaseUrl\n            this.document.head.appendChild(favicon)\n        }\n\n        if (!this.enableSeo) {\n            const robots = this.document.createElement('meta')\n            robots.name = 'robots'\n            robots.content = 'noindex, nofollow'\n            this.document.head.appendChild(robots)\n        }\n\n        if (this.configurations.GoogleAnaliticsKey) {\n            this.addGoogleAnalyticsTag(this.configurations.GoogleAnaliticsKey)\n        }\n\n        if (this.googleTagManagerKey) {\n            this.addGoogleTagManager(this.googleTagManagerKey)\n        }\n    }\n}\n"],
  "mappings": "+JAuCA,IAAaA,GAAqB,IAAA,CAA5B,IAAOA,EAAP,MAAOA,CAAqB,CAHlCC,aAAA,CAIqB,KAAAC,YAAcC,EAAOC,CAAI,EACzB,KAAAC,aAAeF,E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AKnE,UAAW,CACjB,IAAM2E,EAAS,KAAK9E,SAASkC,cAAc,MAAM,EACjD4C,EAAOC,KAAO,SACdD,EAAOE,QAAU,oBACjB,KAAKhF,SAASsC,KAAKC,YAAYuC,CAAM,CACzC,CAEI,KAAK9F,eAAeiG,oBACpB,KAAKlD,sBAAsB,KAAK/C,eAAeiG,kBAAkB,EAGjE,KAAK9F,qBACL,KAAKsD,oBAAoB,KAAKtD,mBAAmB,CAEzD,yCA9KSJ,GAAUmG,EAyDPC,CAAQ,EAAAD,EAAAE,CAAA,CAAA,CAAA,wBAzDXrG,EAAUsG,QAAVtG,EAAUuG,UAAAC,WAFP,MAAM,CAAA,EAEhB,IAAOxG,EAAPyG,SAAOzG,CAAU,GAAA",
  "names": ["SeoSocialShareService", "constructor", "metaService", "inject", "Meta", "titleService", "Title", "document", "DOCUMENT", "setData", "data", "setSection", "section", "setKeywords", "keywords", "setTitle", "title", "setType", "type", "setDescription", "description", "setImage", "image", "imageAuxData", "setUrl", "url", "setPublished", "published", "setModified", "modified", "setAuthor", "author", "updateTag", "name", "content", "removeTag", "length", "property", "itemprop", "auxData", "height", "toString", "width", "alt", "mimeType", "secureUrl", "setCanonicalUrl", "publishedDateString", "publishedDate", "Date", "toISOString", "modifiedDateString", "modifiedDate", "setTwitterSiteCreator", "site", "setTwitterCard", "card", "setFbAppId", "appId", "setMetaTag", "metaTag", "value", "metaTagObject", "attr", "attrValue", "selector", "setMetaTags", "metaTags", "setLanguageAlternativeUrl", "lang", "languageAlternativeElement", "head", "querySelector", "removeChild", "link", "createElement", "setAttribute", "appendChild", "canonicalElement", "factory", "\u0275fac", "providedIn", "_SeoSocialShareService", "AppContext", "configurations", "_configurations", "isGoogleTagManagerEnabled", "googleTagManagerKey", "showPatientCardNavLink", "getPatientCardLinks", "length", "links", "HidePlannedPrerecords", "push", "path", "label", "HidePatientProtocols", "HidePatientAnalysis", "HidePatientDiscounts", "constructor", "document", "seo", "locale", "enableSeo", "load", "client", "accountContext", "platform", "__async", "_", "data", "Promise", "all", "get", "toPromise", "getAppContext", "version", "ProductVersion", "Configurations", "EnableSeo", "ClientName", "GoogleTagManagerKey", "showRecordButton", "ShowRecordButton", "showOrderCodeText", "orderCode", "OrderCodeTitle", "LoginFooterText", "ResetPasswordFooterText", "isPlatformServer", "setupPage", "addGoogleAnalyticsTag", "googleAnalyticsKey", "ga", "createElement", "setAttribute", "src", "text", "head", "appendChild", "gaScript", "addGoogleTagManager", "gtm", "id", "gtmNoScript", "iframe", "height", "width", "style", "display", "visibility", "body", "_a", "_b", "_c", "_d", "_e", "setKeywords", "MetaKeywords", "undefined", "setDescription", "MetaDescription", "setTitle", "Title", "colorTheme", "ColorTheme", "theme", "rel", "href", "Favicon", "favicon", "type", "Logo", "setImage", "alt", "LogoHeight", "LogoWidth", "ImagesBaseUrl", "robots", "name", "content", "GoogleAnaliticsKey", "\u0275\u0275inject", "DOCUMENT", "SeoSocialShareService", "factory", "\u0275fac", "providedIn", "_AppContext"]
}