PageSourceSearch

https://portal.privacypillar.com/src_app_privacy_cookie-consent_ba…banner-config_module_ts.822362b108d40899.js

js privacypillar.com collected 2026-09-24 09:09:13 UTC 392,702 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkprivacypillar_sfo3=self.webpackChunkprivacypillar_sfo3||[]).push([["src_app_privacy_cookie-consent_banner-config_banner-config_module_ts"],{72951:(Ue,Y,_)=>{_.r(Y),_.d(Y,{BannerConfigModule:()=>Xl});var c=_(36895),h=_(51692),A=_(15861),b=_(53977),C=_(24006),d=_(43840),k=_(33381),B=_(3940),te=_(18583),oe=_(24850),ie=_(80013),D=_(73177),m=_(92340),H=_(68078);class re{constructor(){this.purposelist=[{tooltipdescription:"Essential cookies are required to deliver a desired online service. These cookies assist in user authentication and fight fraud. The service you expect \n                can't be provided without these cookies.\n Ex: Session cookies that keep users logged in on a website.",id:101},{tooltipdescription:"Functional cookies boost website performance and record user preferences and selections. Such as username, location, etc.",id:102},{tooltipdescription:"Analytical cookies assist in gathering information so that services may better understand how a user engages with a specific service. \n Ex: Google Analytics Cookies",id:103},{tooltipdescription:"Advertising cookies are used to monitor users' browsing patterns and provide relevant advertisements to them.",id:104},{tooltipdescription:"A website can be linked to different social media sites via Social Media cookies. These cookies keep a close eye on your browser while you visit other websites and build an interest profile. This might affect the personalization of advertisements.\n Ex: Cookies from Facebook, Twitter, Instagram, etc. ",id:105},{tooltipdescription:"We're working with the cookie providers to categorize cookies that are currently unknown to us.",id:106},{tooltipdescription:'To indicate that you do not want us to sell your personal information or share it for online targeted advertising, please switch the toggle to the right and click "Save." Please note that if you use different computers or browsers, you will need to express your preferences again on each device or browser that you use to access our services.',id:112}
1]}}var e=_(94650),q=_(11481),L=_(37407),M=_(32270),N=_(64491),z=_(59922),f=_(45597),T=_(37858),g=_(20388);let u=(()=>{const a=class{getConsentModeValue(o,t="denied"){return"granted"===o||"denied"===o?o:t}getMetaConsentValue(o){return"grant"===o||"revoke"===o?o:"revoke"}getGcmScript(o){let t=`\n            window.dataLayer = window.dataLayer || [];\n            function gtag(){dataLayer.push(arguments);}\n \n            gtag('consent', 'default', {\n                'ad_storage':  '${o.defaultGoogleConsent?o.defaultGoogleConsent.ad_storage:"denied"}',\n                'analytics_storage':  '${o.defaultGoogleConsent?o.defaultGoogleConsent.analytics_storage:"denied"}',\n                'functionality_storage':  '${o.defaultGoogleConsent?o.defaultGoogleConsent.functionality_storage:"denied"}',\n                'personalization_storage': '${o.defaultGoogleConsent?o.defaultGoogleConsent.personalization_storage:"denied"}',\n                'ad_user_data': '${o.defaultGoogleConsent?o.defaultGoogleConsent.ad_user_data:"denied"}',\n                'ad_personalization':  '${o.defaultGoogleConsent?o.defaultGoogleConsent.ad_personalization:"denied"}',\n                'security_storage': 'granted',\n                'wait_for_update': ${o.defaultGoogleConsent?o.defaultGoogleConsent.wait_for_update:2e3}\n                });\n                `;return o.gTag&&("Advanced"===o.gTagConsentMode||Array.isArray(o.gTagConsentMode)&&"Advanced"===o.gTagConsentMode[0])?t:o.gTag&&"Basic"===o.gTagConsentMode?"gTag"===o.gtagBasicModes?`\n              ${t}\n              gtag('js', new Date());                    \n              gtag('config', '${o?.googleTagID}');`:`\n              ${t}\n              dataLayer.push({'gtm.start': new Date().getTime(), 'event': 'gtm.js'});`:""}getMicrosoftScript(o){return o?.microsoftConsent?`\n            window.uetq = window.uetq || [];\n            window.uetq.push('consent', 'default', {\n                'ad_storage': '${o.uet_ad_storage||"denied"}'\n            });\n            `:""}getClarityScript(o){return o?.clarityConsent?`\n            window.clarity = window.clarity || function(){(window.clarity.q = window.clarity.q || []).push(arguments);};\n            window.clarity('consentv2', {\n                ad_Storage: '${this.getConsentModeValue(o.clarity_ad_Storage)}',\n                analytics_Storage: '${this.getConsentModeValue(o.clarity_analytics_Storage)}'\n            });\n            `:""}getMetaScript(o){return o?.metaPixelConsent?`fbq('consent', '${this.getMetaConsentValue(o.meta_consent)}');`:""}getAmazonConsentSignalScript(o){return o?.amazonConsentMode?`\n            (function() {\n                var acsPayload = {\n                    geo: { countryCode: '' },\n                    amazonConsentFormat: {\n                        amznAdStorage: '${o.amzn_ad_storage||"DENIED"}',\n                        amznUserData: '${o.amzn_user_data||"DENIED"}'\n                    },\n                    timestamp: new Date().toISOString(),\n                    version: '1'\n                };\n                document.cookie = 'amzn_consent=' + encodeURIComponent(JSON.stringify(acsPayload)) + ';path=/';\n            })();\n            `:""}getTikTokConsentScript(o){if(!o?.tikTokConsentMode)return"";const t="granted"===o.tiktok_cookie_consent?"enableCookie":"disableCookie";return`\n            window.ttq = window.ttq || {};\n            if (typeof window.ttq.${t} === 'function') {\n                window.ttq.${t}();\n            }\n            `}};let i=a;return a.\u0275fac=function(t){return new(t||a)},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),i})();var x=_(59241),Z=_(97028),I=_(42111),De=_(97396),qe=_(22203),pe=_(41277),ge=_(22096),de=_(52712),ue=_(36358),fe=_(18178),me=_(22962),ae=_(96923),Ce=_(22833),he=_(82778),xe=_(74146),Te=_(95029),ve=_(33169),j=_(38611),$=_(98473),W=_(4358),X=_(32320),be=_(8762),F=_(98606),y=_(43898);const Me=["listelement"];function Ne(i,a){if(1&i&&(e.TgZ(0,"div",16),e._uU(1),e.qZA()),2&i){const n=e.oxw(2);e.xp6(1),e.Oqu(n.header)}}function Ie(i,a){1&i&&e.GkF(0)}function Fe(i,a){if(1&i&&(e.TgZ(0,"div",13),e.YNc(1,Ne,2,1,"div",14),e.YNc(2,Ie,1,0,"ng-container",15),e.qZA()),2&i){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",!n.headerTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",n.headerTemplate)}}function Oe(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",17)(1,"div",18)(2,"input",19),e.NdJ("keyup",function(t){e.CHM(n);const r=e.oxw();return e.KtG(r.onFilterKeyup(t))}),e.qZA(),e._UZ(3,"span",20),e.qZA()()}if(2&i){const n=e.oxw();e.xp6(2),e.uIk("placeholder",n.filterPlaceholder)("aria-label",n.ariaFilterLabel)}}function Je(i,a){1&i&&e.GkF(0)}const Ge=function(i){return{"p-highlight":i}},Le=function(i,a){return{$implicit:i,index:a}};function Re(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"li",22),e.NdJ("click",function(t){e.CHM(n);const r=e.oxw(),l=r.$implicit,p=r.index,s=e.oxw();return e.KtG(s.onItemClick(t,l,p))})("touchend",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.onItemTouchEnd())})("keydown",function(t){e.CHM(n);const r=e.oxw(),l=r.$implicit,p=r.index,s=e.oxw();return e.KtG(s.onItemKeydown(t,l,p))}),e.YNc(1,Je,1,0,"ng-container",23),e.qZA()}if(2&i){const n=e.oxw(),o=n.$implicit,t=n.index,r=e.oxw();e.Q6J("ngClass",e.VKq(6,Ge,r.isSelected(o)))("cdkDragData",o)("cdkDragDisabled",!r.dragdrop),e.uIk("aria-selected",r.isSelected(o)),e.xp6(1),e.Q6J("ngTemplateOutlet",r.itemTemplate)("ngTemplateOutletContext",e.WLB(8,Le,o,t))}}function Ve(i,a){if(1&i&&e.YNc(0,Re,2,11,"li",21),2&i){const n=a.$implicit,o=e.oxw();e.Q6J("ngIf",o.isItemVisible(n))}}function Qe(i,a){1&i&&e.GkF(0)}function Ee(i,a){if(1&i&&(e.TgZ(0,"li",25),e.YNc(1,Qe,1,0,"ng-container",15),e.qZA()),2&i){const n=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",n.emptyMessageTemplate)}}function Ke(i,a){1&i&&e.GkF(0)}function Ye(i,a){if(1&i&&(e.TgZ(0,"li",25),e.YNc(1,Ke,1,0,"ng-container",15),e.qZA()),2&i){const n=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",n.emptyFilterMessageTemplate)}}function He(i,a){if(1&i&&(e.ynx(0),e.YNc(1,Ee,2,1,"li",24),e.YNc(2,Ye,2,1,"li",24),e.BQk()),2&i){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",!n.filterValue||!n.emptyFilterMessageTemplate),e.xp6(1),e.Q6J("ngIf",n.filterValue)}}const ze=function(i,a){return{"p-orderlist p-component":!0,"p-orderlist-control
1s-left":i,"p-orderlist-controls-right":a}};let je=(()=>{class i{constructor(n,o,t){this.el=n,this.cd=o,this.filterService=t,this.metaKeySelection=!0,this.dragdrop=!1,this.controlsPosition="left",this.filterMatchMode="contains",this.breakpoint="960px",this.selectionChange=new e.vpe,this.trackBy=(r,l)=>l,this.onReorder=new e.vpe,this.onSelectionChange=new e.vpe,this.onFilterEvent=new e.vpe,this.id=(0,y.Th)()}get selection(){return this._selection}set selection(n){this._selection=n}ngOnInit(){this.responsive&&this.createStyle()}ngAfterContentInit(){this.templates.forEach(n=>{switch(n.getType()){case"item":default:this.itemTemplate=n.template;break;case"empty":this.emptyMessageTemplate=n.template;break;case"emptyfilter":this.emptyFilterMessageTemplate=n.template;break;case"header":this.headerTemplate=n.template}})}ngAfterViewChecked(){if(this.movedUp||this.movedDown){let o,n=F.p.find(this.listViewChild.nativeElement,"li.p-highlight");n.length>0&&(o=this.movedUp?n[0]:n[n.length-1],F.p.scrollInView(this.listViewChild.nativeElement,o)),this.movedUp=!1,this.movedDown=!1}}get value(){return this._value}set value(n){this._value=n,this.filterValue&&this.filter()}onItemClick(n,o,t){this.itemTouched=!1;let r=y.gb.findIndexInList(o,this.selection),l=-1!=r;if(!this.itemTouched&&this.metaKeySelection){let s=n.metaKey||n.ctrlKey||n.shiftKey;l&&s?this._selection=this._selection.filter((v,w)=>w!==r):(this._selection=s&&this._selection?[...this._selection]:[],y.gb.insertIntoOrderedArray(o,t,this._selection,this.value))}else l?this._selection=this._selection.filter((s,v)=>v!==r):(this._selection=this._selection?[...this._selection]:[],y.gb.insertIntoOrderedArray(o,t,this._selection,this.value));this.selectionChange.emit(this._selection),this.onSelectionChange.emit({originalEvent:n,value:this._selection})}onFilterKeyup(n){this.filterValue=n.target.value.trim().toLocaleLowerCase(this.filterLocale),this.filter(),this.onFilterEvent.emit({originalEvent:n,value:this.visibleOptions})}filter(){let n=this.filterBy.split(",");this.visibleOptions=this.filterService.filter(this.value,n,this.filterValue,this.filterMatchMode,this.filterLocale)}isItemVisible(n){if(!this.filterValue||!this.filterValue.trim().length)return!0;for(let o=0;o<this.visibleOptions.length;o++)if(n==this.visibleOptions[o])return!0}onItemTouchEnd(){this.itemTouched=!0}isSelected(n){return-1!=y.gb.findIndexInList(n,this.selection)}isEmpty(){return this.filterValue?!this.visibleOptions||0===this.visibleOptions.length:!this.value||0===this.value.length}moveUp(){if(this.selection){for(let n=0;n<this.selection.length;n++){let t=y.gb.findIndexInList(this.selection[n],this.value);if(0==t)break;{let l=this.value[t-1];this.value[t-1]=this.value[t],this.value[t]=l}}this.dragdrop&&this.filterValue&&this.filter(),this.movedUp=!0,this.onReorder.emit(this.selection)}}moveTop(){if(this.selection){for(let n=this.selection.length-1;n>=0;n--){let t=y.gb.findIndexInList(this.selection[n],this.value);if(0==t)break;{let r=this.value.splice(t,1)[0];this.value.unshift(r)}}this.dragdrop&&this.filterValue&&this.filter(),this.onReorder.emit(this.selection),this.listViewChild.nativeElement.scrollTop=0}}moveDown(){if(this.selection){for(let n=this.selection.length-1;n>=0;n--){let t=y.gb.findIndexInList(this.selection[n],this.value);if(t==this.value.length-1)break;{let l=this.value[t+1];this.value[t+1]=this.value[t],this.value[t]=l}}this.dragdrop&&this.filterValue&&this.filter(),this.movedDown=!0,this.onReorder.emit(this.selection)}}moveBottom(){if(this.selection){for(let n=0;n<this.selection.length;n++){let t=y.gb.findIndexInList(this.selection[n],this.value);if(t==this.value.length-1)break;{let r=this.value.splice(t,1)[0];this.value.push(r)}}this.dragdrop&&this.filterValue&&this.filter(),this.onReorder.emit(this.selection),this.listViewChild.nativeElement.scrollTop=this.listViewChild.nativeElement.scrollHeight}}onDrop(n){let o=n.previousIndex,t=n.currentIndex;o!==t&&(this.visibleOptions&&(this.filterValue&&(o=y.gb.findIndexInList(n.item.data,this.value),t=y.gb.findIndexInList(this.visibleOptions[t],this.value)),(0,b.bA)(this.visibleOptions,n.previousIndex,n.currentIndex)),(0,b.bA)(this.value,o,t),this.onReorder.emit([n.item.data]))}onItemKeydown(n,o,t){let r=n.currentTarget;switch(n.which){case 40:var l=this.findNextItem(r);l&&l.focus(),n.preventDefault();break;case 38:var p=this.findPrevItem(r);p&&p.focus(),n.preventDefault();break;case 13:this.onItemClick(n,o,t),n.preventDefault()}}findNextItem(n){let o=n.nextElementSibling;return o?!F.p.hasClass(o,"p-orderlist-item")||F.p.isHidden(o)?this.findNextItem(o):o:null}findPrevItem(n){let o=n.previousElementSibling;return o?!F.p.hasClass(o,"p-orderlist-item")||F.p.isHidden(o)?this.findPrevItem(o):o:null}createStyle(){this.styleElement||(this.el.nativeElement.children[0].setAttribute(this.id,""),this.styleElement=document.createElement("style"),this.styleElement.type="text/css",document.head.appendChild(this.styleElement),this.styleElement.innerHTML=`\n                @media screen and (max-width: ${this.breakpoint}) {\n                    .p-orderlist[${this.id}] {\n                        flex-direction: column;\n                    }\n\n                    .p-orderlist[${this.id}
1] .p-orderlist-controls {\n                        padding: var(--content-padding);\n                        flex-direction: row;\n                    }\n\n                    .p-orderlist[${this.id}] .p-orderlist-controls .p-button {\n                        margin-right: var(--inline-spacing);\n                        margin-bottom: 0;\n                    }\n\n                    .p-orderlist[${this.id}] .p-orderlist-controls .p-button:last-child {\n                        margin-right: 0;\n                    }\n                }\n            `)}destroyStyle(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)}ngOnDestroy(){this.destroyStyle()}}return i.\u0275fac=function(n){return new(n||i)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(I.iZ))},i.\u0275cmp=e.Xpm({type:i,selectors:[["p-orderList"]],contentQueries:function(n,o,t){if(1&n&&e.Suo(t,I.jx,4),2&n){let r;e.iGM(r=e.CRH())&&(o.templates=r)}},viewQuery:function(n,o){if(1&n&&e.Gf(Me,5),2&n){let t;e.iGM(t=e.CRH())&&(o.listViewChild=t.first)}},inputs:{metaKeySelection:"metaKeySelection",dragdrop:"dragdrop",controlsPosition:"controlsPosition",filterMatchMode:"filterMatchMode",breakpoint:"breakpoint",trackBy:"trackBy",selection:"selection",value:"value",header:"header",style:"style",styleClass:"styleClass",listStyle:"listStyle",responsive:"responsive",filterBy:"filterBy",filterPlaceholder:"filterPlaceholder",filterLocale:"filterLocale",ariaFilterLabel:"ariaFilterLabel"},outputs:{selectionChange:"selectionChange",onReorder:"onReorder",onSelectionChange:"onSelectionChange",onFilterEvent:"onFilterEvent"},decls:13,vars:13,consts:[[3,"ngClass","ngStyle"],[1,"p-orderlist-controls"],["type","button","pButton","","pRipple","","icon","pi pi-angle-up",3,"click"],["type","button","pButton","","pRipple","","icon","pi pi-angle-double-up",3,"click"],["type","button","pButton","","pRipple","","icon","pi pi-angle-down",3,"click"],["type","button","pButton","","pRipple","","icon","pi pi-angle-double-down",3,"click"],[1,"p-orderlist-list-container"],["class","p-orderlist-header",4,"ngIf"],["class","p-orderlist-filter-container",4,"ngIf"],["cdkDropList","",1,"p-orderlist-list",3,"ngStyle","cdkDropListDropped"],["listelement",""],["ngFor","",3,"ngForTrackBy","ngForOf"],[4,"ngIf"],[1,"p-orderlist-header"],["class","p-orderlist-title",4,"ngIf"],[4,"ngTemplateOutlet"],[1,"p-orderlist-title"],[1,"p-orderlist-filter-container"],[1,"p-orderlist-filter"],["type","text","role","textbox",1,"p-orderlist-filter-input","p-inputtext","p-component",3,"keyup"],[1,"p-orderlist-filter-icon","pi","pi-search"],["class","p-orderlist-item","tabindex","0","cdkDrag","","pRipple","","role","option",3,"ngClass","cdkDragData","cdkDragDisabled","click","touchend","keydown",4,"ngIf"],["tabindex","0","cdkDrag","","pRipple","","role","option",1,"p-orderlist-item",3,"ngClass","cdkDragData","cdkDragDisabled","click","touchend","keydown"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","p-orderlist-empty-message",4,"ngIf"],[1,"p-orderlist-empty-message"]],template:function(n,o){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"button",2),e.NdJ("click",function(){return o.moveUp()}),e.qZA(),e.TgZ(3,"button",3),e.NdJ("click",function(){return o.moveTop()}),e.qZA(),e.TgZ(4,"button",4),e.NdJ("click",function(){return o.moveDown()}),e.qZA(),e.TgZ(5,"button",5),e.NdJ("click",function(){return o.moveBottom()}),e.qZA()(),e.TgZ(6,"div",6),e.YNc(7,Fe,3,2,"div",7),e.YNc(8,Oe,4,2,"div",8),e.TgZ(9,"ul",9,10),e.NdJ("cdkDropListDropped",function(r){return o.onDrop(r)}),e.YNc(11,Ve,1,1,"ng-template",11),e.YNc(12,He,3,2,"ng-container",12),e.qZA()()()),2&n&&(e.Tol(o.styleClass),e.Q6J("ngClass",e.WLB(10,ze,"left"===o.controlsPosition,"right"===o.controlsPosition))("ngStyle",o.style),e.xp6(7),e.Q6J("ngIf",o.header||o.headerTemplate),e.xp6(1),e.Q6J("ngIf",o.filterBy),e.xp6(1),e.Q6J("ngStyle",o.listStyle),e.xp6(2),e.Q6J("ngForTrackBy",o.trackBy)("ngForOf",o.value),e.xp6(1),e.Q6J("ngIf",o.isEmpty()&&(o.emptyMessageTemplate||o.emptyFilterMessageTemplate)))},dependencies:[c.mk,c.sg,c.O5,c.tP,c.PC,j.Hq,$.H,b.Wj,b.Zt],styles:[".p-orderlist{display:flex}
1.p-orderlist-controls{display:flex;flex-direction:column;justify-content:center}.p-orderlist-list-container{flex:1 1 auto}.p-orderlist-list{list-style-type:none;margin:0;min-height:12rem;overflow:auto;padding:0}.p-orderlist-item{cursor:pointer;display:block;overflow:hidden;position:relative}.p-orderlist-item:not(.cdk-drag-disabled){cursor:move}.p-orderlist-item.cdk-drag-placeholder{opacity:0}.p-orderlist-item.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.p-orderlist.p-state-disabled .p-button,.p-orderlist.p-state-disabled .p-orderlist-item{cursor:default}.p-orderlist.p-state-disabled .p-orderlist-list{overflow:hidden}.p-orderlist-filter{position:relative}.p-orderlist-filter-icon{margin-top:-.5rem;position:absolute;top:50%}.p-orderlist-filter-input{width:100%}.p-orderlist-controls-right .p-orderlist-controls{order:2}.p-orderlist-controls-right .p-orderlist-list-container{order:1}.p-orderlist-list.cdk-drop-list-dragging .p-orderlist-item:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}"],encapsulation:2,changeDetection:0}),i})(),$e=(()=>{class i{}return i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({imports:[c.ez,j.hJ,I.m8,$.T,b._t,I.m8,b._t]}),i})();var Ze=_(81272),We=_(62976),Xe=_(12553),Be=_(2854);const le=function(i){return{display:i}};function en(i,a){if(1&i&&(e.TgZ(0,"div",6),e._UZ(1,"iframe",7),e.qZA()),2&i){const n=e.oxw();e.Q6J("ngStyle",e.VKq(1,le,n.loading?"none":null))}}function nn(i,a){if(1&i&&(e.TgZ(0,"div",8),e._UZ(1,"iframe",9),e.qZA()),2&i){const n=e.oxw();e.Q6J("ngStyle",e.VKq(1,le,n.loading?"none":null))}}function tn(i,a){1&i&&(e.TgZ(0,"div",10)(1,"div",11)(2,"span",12),e._uU(3,"Loading..."),e.qZA()()())}function on(i,a){if(1&i&&e._UZ(0,"iframe",13),2&i){const n=e.oxw();e.Q6J("ngStyle",e.VKq(1,le,n.loading?"none":null))}}let rn=(()=>{const a=class{constructor(o){this.cd=o,this.bannerType="generic",this.loading=!0,this.showBadge=!1,this.currentBannerLayer=new e.vpe,this.showBadgeOption=new e.vpe}ngOnInit(){}ngOnChanges(o){for(const t in o)o.hasOwnProperty(t)&&"BundlePayload"===t&&this.onRefreshBanner()}onRefreshBanner(){if(!this.BundlePayload)return;this.loading=!0;const o=this,t=document.getElementById("az-banner");if(t){let r=t.contentDocument;!r&&t.contentWindow&&(r=t.contentWindow.document),t.contentWindow.document.body.innerHTML="",t.contentWindow.document.body.style.margin=0;const l=document.createElement("script");l.type="text/javascript",l.id="az_consent_banner",l.src="https://staging-cdn.adzapsrv.com/vendorlist/IABvendors/"===this.BundlePayload.vendorListUrl?m.N.consentBannerCDN:m.N.consentBannerCDNV2,this.BundlePayload.cdnEndpoint=this.BundlePayload.cdnEndpoint=new URL(m.N.consentBannerCDNV2).hostname,l.onload=()=>{const p=document.getElementById("az-banner").contentWindow;this.BundlePayload.iab_vendors_ids&&"string"==typeof this.BundlePayload.iab_vendors_ids&&(this.BundlePayload.iab_vendors_ids=JSON.parse(this.BundlePayload.iab_vendors_ids)),this.BundlePayload.google_vendors_ids&&"string"==typeof this.BundlePayload.google_vendors_ids&&(this.BundlePayload.google_vendors_ids=JSON.parse(this.BundlePayload.google_vendors_ids)),o.loading=!1,p.AZCookieConsent.init(this.BundlePayload),"preference"===this.BundlePayload?.currentBannerLayer&&(o.loading=!0,setTimeout(()=>{const s=document.getElementById("az-banner").contentWindow;typeof s.AZCookieConsent<"u"&&s.AZCookieConsent.hasOwnProperty("onOpenPreference")&&s.AZCookieConsent.onOpenPreference(),o.loading=!1},2e3))},l.onerror=()=>{console.log("Error")},r.body.appendChild(l)}}onOpenPreference(){this.currentBannerLayer.emit("preference")}get isBoxedType(){return-1!==this.formData?.LayoutType?.search("boxed")?"boxed":"full-width"}get isBannerBottomType(){return-1!==this.formData?.LayoutType?.search("bottom")?"bottom":"top"}get isBannerRightType(){return-1!==this.formData?.LayoutType?.search("right")?"right":"left"}showCookieNotice(){this.showBadge=!1,this.showBadgeOption.emit(!0)}};let i=a;return a.\u0275fac=function(t){return new(t||a)(e.Y36(e.sBO))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-az-banner"]],inputs:{formData:"formData",BundlePayload:"BundlePayload"},outputs:{currentBannerLayer:"currentBannerLayer",showBadgeOption:"showBadgeOption"},features:[e.TTD],decls:6,vars:4,consts:[[1,"banner-main",2,"height","100%"],["class","smartphone",3,"ngStyle",4,"ngIf"],["class","tablet",3,"ngStyle",4,"ngIf"],["class","loader",4,"ngIf"],[1,"web","ml-1"],["style","border: none;width:100%;","height","540","id","az-banner",3,"ngStyle",4,"ngIf"],[1,"smartphone",3,"ngStyle"],["id","az-banner",2,"width","370px","border","none","overflow","scroll","height","581px"],[1,"tablet",3,"ngStyle"],["id","az-banner",2,"width","100%","border","none","height","100%"],[1,"loader"],["role","status",1,"spinner-border"],[1,"sr-only"],["height","540","id","az-banner",2,"border","none","width","100%",3,"ngStyle"]],template:function(t,r){1&t&&(e.TgZ(0,"div",0),e.YNc(1,en,2,3,"div",1),e.YNc(2,nn,2,3,"div",2),e.YNc(3,tn,4,0,"div",3),e.TgZ(4,"div",4),e.YNc(5,on,1,3,"iframe",5),e.qZA()()),2&t&&(e.xp6(1),e.Q6J("ngIf","mobile"===r.formData.CurrentPreviewDevice),e.xp6(1),e.Q6J("ngIf","tablet"===r.formData.CurrentPreviewDevice),e.xp6(1),e.Q6J("ngIf",r.loading),e.xp6(2),e.Q6J("ngIf","web"===r.formData.CurrentPreviewDevice))},dependencies:[c.O5,c.PC],styles:['.banner-action-btn[_ngcontent-%COMP%]{padding-top:35px}.banner-bottom[_ngcontent-%COMP%]{position:absolute;bottom:0;box-shadow:0 -1px 10px #acabab4d}.banner-right[_ngcontent-%COMP%]{right:20px;position:absolute}.gdpr-banner-bottom[_ngcontent-%COMP%]{position:absolute;bottom:0;box-shadow:0 -1px 10px #acabab4d}.banner-border-top[_ngcontent-%COMP%]{border-top:2px solid #162893}.banner-border-full[_ngcontent-%COMP%]{border:2px solid #162893}.gdpr-border-right[_ngcontent-%COMP%]{border-right:2px solid #1b365d}.gdpr-border-bottom[_ngcontent-%COMP%]{border-bottom:2px solid #1b365d;margin-bottom:15px}.badge-btn-options[_ngcontent-%COMP%]{position:absolute;bottom:0}.smartphone[_ngcontent-%COMP%]{position:relative;width:400px;overflow:hidden;height:700px;margin:20px auto;border:16px black solid;border-top-width:60px;border-bottom-width:60px;border-radius:36px}.smartphone[_ngcontent-%COMP%]:before{content:"";display:block;width:60px;height:5px;position:absolute;top:-30px;left:50%;transform:translate(-50%,-50%);background:#333;border-radius:10px}.smartphone[_ngcontent-%COMP%]:after{content:"";display:block;width:35px;height:35px;position:absolute;
1left:50%;bottom:-65px;transform:translate(-50%,-50%);background:#333;border-radius:50%}.smartphone[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{width:360px;height:640px;background:white}.tablet[_ngcontent-%COMP%]{position:relative;width:800px;height:800px;margin:20px auto;border:16px black solid;border-top-width:60px;border-bottom-width:60px;border-radius:36px}.tablet[_ngcontent-%COMP%]:before{content:"";display:block;width:60px;height:5px;position:absolute;top:-30px;left:50%;transform:translate(-50%,-50%);background:#333;border-radius:10px}.tablet[_ngcontent-%COMP%]:after{content:"";display:block;width:35px;height:35px;position:absolute;left:50%;bottom:-65px;transform:translate(-50%,-50%);background:#333;border-radius:50%}.tablet[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{width:768px;height:1024px;background:white;margin:-1px}.spinner-border[_ngcontent-%COMP%]{display:inline-block;width:40px!important;height:40px!important}.loader[_ngcontent-%COMP%]{display:flex;justify-content:center;height:100%;align-items:center}']}),i})();var an=_(85740),ln=_(1637),ee=_(43265);function cn(i,a){1&i&&(e.TgZ(0,"tr")(1,"th"),e._uU(2,"Version"),e.qZA(),e.TgZ(3,"th"),e._uU(4,"Publish Date"),e.qZA(),e.TgZ(5,"th"),e._uU(6,"Status"),e.qZA(),e.TgZ(7,"th"),e._uU(8,"Action"),e.qZA()())}function sn(i,a){1&i&&(e.TgZ(0,"span",20),e._uU(1,"Inactive"),e.qZA())}function _n(i,a){1&i&&(e.TgZ(0,"span",21),e._uU(1,"Active"),e.qZA())}function pn(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",22)(1,"button",23),e.O4$(),e.TgZ(2,"svg",24),e._UZ(3,"path",25),e.qZA()(),e.kcU(),e.TgZ(4,"div",26)(5,"button",27),e.NdJ("click",function(){e.CHM(n);const t=e.oxw().$implicit,r=e.oxw();return e.KtG(r.onActiveConfig(t.id))}),e._uU(6,"Rollback"),e.qZA(),e.TgZ(7,"button",27),e.NdJ("click",function(){e.CHM(n);const t=e.oxw().$implicit,r=e.oxw();return e.KtG(r.onDeleteConfig(t.id))}),e._uU(8,"Delete"),e.qZA()()()}}function gn(i,a){if(1&i&&(e.TgZ(0,"tr")(1,"td"),e._uU(2),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.ALo(5,"date"),e.qZA(),e.TgZ(6,"td"),e.YNc(7,sn,2,0,"span",17),e.YNc(8,_n,2,0,"span",18),e.qZA(),e.TgZ(9,"td"),e.YNc(10,pn,9,0,"div",19),e.qZA()()),2&i){const n=a.$implicit;e.xp6(2),e.hij("Version - ",n.version_count,""),e.xp6(2),e.Oqu(e.lcZ(5,5,n.created_at)),e.xp6(3),e.Q6J("ngIf",!n.active),e.xp6(1),e.Q6J("ngIf",n.active),e.xp6(2),e.Q6J("ngIf",!n.active)}}function dn(i,a){if(1&i&&(e.TgZ(0,"alert",28),e._uU(1),e.qZA()),2&i){const n=e.oxw();e.Q6J("type",n.alertType),e.xp6(1),e.Oqu(n.alertMsg)}}const ye=function(i,a){return{oid:i,pid:a}},un=function(){return[10,20,30]};let we=(()=>{const a=class{constructor(o,t,r,l,p){this.activatedRouter=o,this.loading=t,this.router=r,this.titleService=l,this.consentBannerService=p,this.BannerHistoryList=[],this.isEdit=!1,this.isOpen=!1,this.tLoading=!0,this.router.routeReuseStrategy.shouldReuseRoute=()=>!1}ngOnInit(){this.titleService.setTitle("Cookie Banner - Publish History"),this.activatedRouter.queryParams.subscribe(o=>{this.oID=o.oid,this.pID=o.pid}),this.onGetBannerHistory()}onGetBannerHistory(){this.loading.start("1"),this.consentBannerService.GetConsentBannerHistory(this.constructor.name,B.e.cookieBannerModule,this.oID,this.pID).subscribe(o=>{this.loading.stop("1"),this.BannerHistoryList=o.response,this.tLoading=!1},o=>{this.loading.stop("1"),this.isOpen=!0,this.alertMsg=o,this.alertType="danger",this.tLoading=!1})}onActiveConfig(o){this.loading.start("2"),this.consentBannerService.ActiveConsentBannerHistory(this.constructor.name,B.e.cookieBannerModule,this.pID,this.oID,o).subscribe(t=>{this.loading.stop("2"),this.onGetBannerHistory(),this.isOpen=!0,this.alertMsg="Configuration Activated",this.alertType="success"},t=>{this.loading.stop("2"),this.isOpen=!0,this.alertMsg=t,this.alertType="danger"})}onDeleteConfig(o){this.loading.start("3"),this.consentBannerService.DeleteConsentBannerHistory(this.constructor.name,B.e.cookieBannerModule,this.pID,this.oID,o).subscribe(t=>{this.loading.stop("3"),this.isOpen=!0,this.alertMsg="Configuration Deleted",this.alertType="success",this.onGetBannerHistory()},t=>{this.loading.stop("3"),this.isOpen=!0,this.alertMsg=t,this.alertType="danger"})}};let i=a;return a.\u0275fac=function(t){return new(t||a)(e.Y36(h.gz),e.Y36(L.LA),e.Y36(h.F0),e.Y36(q.Dx),e.Y36(M.s))}
1,a.\u0275cmp=e.Xpm({type:a,selectors:[["app-banner-history"]],decls:25,vars:17,consts:[[1,"col-md-9","ml-4"],[1,"d-sm-flex","align-items-center","justify-content-between"],["aria-label","breadcrumb",1,"bredcrub-row",2,"margin-left","-14px"],[1,"breadcrumb","breadcrumb-style1","mg-b-10"],[1,"breadcrumb-item"],["routerLink","/home/dashboard/cookie-consent",3,"queryParams"],[1,"breadcrumb-item","active"],["routerLink","/cookie-consent/banner-configuration",3,"queryParams"],[1,"card"],[1,"pl-4","pt-3"],[1,"card-body"],["styleClass","p-datatable-sm","currentPageReportTemplate","Showing {first} to {last} of {totalRecords} entries","rowExpandMode","single",1,"banner-history","p-paginator-alignment",3,"value","loading","totalRecords","rowsPerPageOptions","paginator","rows","showCurrentPageReport"],["dt",""],["pTemplate","header"],["pTemplate","body","styleClass","p-datatable-responsive-demo"],[1,"col-sm-5","mt-3","mr-0","float-right","flotingdiv"],["dismissOnTimeout","5000",3,"type",4,"ngIf"],["class","product-badge status-outofstock",4,"ngIf"],["class","product-badge status-instock",4,"ngIf"],["ngbDropdown","","class","d-inline-block",4,"ngIf"],[1,"product-badge","status-outofstock"],[1,"product-badge","status-instock"],["ngbDropdown","",1,"d-inline-block"],["tooltip"," Click to delete or roll back the version","id","dropdownBasic1","ngbDropdownToggle","",1,"btn","btn-light","bg-white","border-0"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 128 512"],["d","M64 360C94.93 360 120 385.1 120 416C120 446.9 94.93 472 64 472C33.07 472 8 446.9 8 416C8 385.1 33.07 360 64 360zM64 200C94.93 200 120 225.1 120 256C120 286.9 94.93 312 64 312C33.07 312 8 286.9 8 256C8 225.1 33.07 200 64 200zM64 152C33.07 152 8 126.9 8 96C8 65.07 33.07 40 64 40C94.93 40 120 65.07 120 96C120 126.9 94.93 152 64 152z"],["ngbDropdownMenu","","aria-labelledby","dropdownBasic1"],["ngbDropdownItem","",1,"btn","btn-link",3,"click"],["dismissOnTimeout","5000",3,"type"]],template:function(t,r){1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div")(3,"nav",2)(4,"ol",3)(5,"li",4),e._uU(6,"Privacy"),e.qZA(),e.TgZ(7,"li",4)(8,"a",5),e._uU(9,"Cookie Consent"),e.qZA()(),e.TgZ(10,"li",6)(11,"a",7),e._uU(12,"Banner Configuration"),e.qZA()(),e.TgZ(13,"li",6),e._uU(14,"Publish History"),e.qZA()()()()()(),e.TgZ(15,"div",8)(16,"h4",9),e._uU(17,"Publish history"),e.qZA(),e.TgZ(18,"div",10)(19,"p-table",11,12),e.YNc(21,cn,9,0,"ng-template",13),e.YNc(22,gn,11,7,"ng-template",14),e.qZA()()(),e.TgZ(23,"div",15),e.YNc(24,dn,2,2,"alert",16),e.qZA()),2&t&&(e.xp6(8),e.Q6J("queryParams",e.WLB(10,ye,r.oID,r.pID)),e.xp6(3),e.Q6J("queryParams",e.WLB(13,ye,r.oID,r.pID)),e.xp6(8),e.Q6J("value",r.BannerHistoryList)("loading",r.tLoading)("totalRecords",r.BannerHistoryList.length)("rowsPerPageOptions",e.DdM(16,un))("paginator",!0)("rows",10)("showCurrentPageReport",!0),e.xp6(5),e.Q6J("ngIf",r.isOpen))},dependencies:[c.O5,I.jx,h.rH,ae.iA,W.wx,X.i9,ee.jt,ee.iD,ee.Vi,ee.TH,c.uU],styles:[".product-badge[_ngcontent-%COMP%]{border-radius:2px;padding:.25em .5rem;text-transform:uppercase;font-weight:700;font-size:10px;letter-spacing:.3px}.product-badge.status-instock[_ngcontent-%COMP%]{background:#c8e6c9;color:#256029}.product-badge.status-lowstock[_ngcontent-%COMP%]{background:#feedaf;color:#8a5340}.product-badge.status-outofstock[_ngcontent-%COMP%]{background:#ffcdd2;color:#c63737}.alert-info[_ngcontent-%COMP%]{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.alert-success[_ngcontent-%COMP%]{background-color:#10b759;border-color:#10b759;color:#fff}.alert-danger[_ngcontent-%COMP%]{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.flotingdiv[_ngcontent-%COMP%]{position:fixed;bottom:0;top:84%;right:0;overflow-x:hidden;overflow-y:auto}.dropdown-toggle[_ngcontent-%COMP%]:after{display:none!important}"]}),i})();const fn=["template"],Ae=function(i,a){return{oid:i,pid:a}};function mn(i,a){if(1&i&&(e.TgZ(0,"div",8)(1,"div")(2,"nav",9)(3,"ol",10)(4,"li",11),e._uU(5,"Privacy"),e.qZA(),e.TgZ(6,"li",11)(7,"a",12),e._uU(8,"Cookie Consent"),e.qZA()(),e.TgZ(9,"li",11)(10,"a",13),e._uU(11,"Banner Configuration"),e.qZA()(),e.TgZ(12,"li",14),e._uU(13,"Implementation"),e.qZA()()()()()),2&i){const n=e.oxw();e.xp6(7),e.Q6J("queryParams",e.WLB(2,Ae,n.queryOID,n.queryPID)),e.xp6(3),e.Q6J("queryParams",e.WLB(5,Ae,n.queryOID,n.queryPID))}}const O=function(i,a){return{color:i,"box-shadow":a}};function Cn(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",15)(1,"div",16)(2,"div",17)(3,"button",18),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return e.KtG(t.showVendorType=1)}),e._uU(4,"HTML"),e.qZA(),e.TgZ(5,"button",18),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return e.KtG(t.showVendorType=2)}),e._uU(6,"WordPress"),e.qZA(),e.TgZ(7,"button",18),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return t.showVendorType=3,e.KtG(t.onTabclick("cmp/implementation-videos/cookiebanner/cookie%20banner%20shopify.webm"))}),e._uU(8,"Shopify"),e.qZA(),e.TgZ(9,"button",18),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return t.showVendorType=4,e.KtG(t.onTabclick("cmp/implementation-videos/cookiebanner/cookie%20banner%20BigCommerce.webm\n      "))}),e._uU(10,"BigCommerce"),e.qZA(),e.TgZ(11,"button",18),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return t.showVendorType=5,e.KtG(t.onTabclick("cmp/implementation-videos/cookiebanner/cookie%20banner%20squarespace.webm"))}),e._uU(12,"Squarespace"),e.qZA(),e.TgZ(13,"button",18),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return t.showVendorType=6,e.KtG(t.onTabclick("cmp/implementation-videos/cookiebanner/cookie%20banner%20blogger.webm"))}),e._uU(14,"Blogger"),e.qZA()()()()}if(2&i){const n=e.oxw();e.xp6(3),e.Q6J("ngStyle",e.WLB(6,O,1===n.showVendorType?"#1B365D":"#555",1===n.showVendorType?"0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)":null)),e.xp6(2),e.Q6J("ngStyle",e.WLB(9,O,2===n.showVendorType?"#1B365D":"#555",2===n.showVendorType?"0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)":null)),e.xp6(2),e.Q6J("ngStyle",e.WLB(12,O,3===n.showVendorType?"#1B365D":"#555",3===n.showVendorType?"0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)":null)),e.xp6(2),e.Q6J("ngStyle",e.WLB(15,O,4===n.showVendorType?"#1B365D":"#555",4===n.showVendorType?"0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)":null)),e.xp6(2),e.Q6J("ngStyle",e.WLB(18,O,5===n.showVendorType?"#1B365D":"#555",5===n.showVendorType?"0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)":null)),e.xp6(2),e.Q6J("ngStyle",e.WLB(21,O,6===n.showVendorType?"#1B365D":"#555",6===n.showVendorType?"0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)":null))}}function hn(i,a){1&i&&(e.TgZ(0,"label"),e._uU(1,"with HTML"),e.qZA())}function xn(i,a){1&i&&(e.TgZ(0,"label"),e._uU(1,"with WordPress"),e.qZA())}function Tn(i,a){1&i&&(e.TgZ(0,"label"),e._uU(1,"with Shopify"),e.qZA())}function vn(i,a){1&i&&(e.TgZ(0,"label"),e._uU(1,"with BigCommerce"),e.qZA())}function bn(i,a){1&i&&(e.TgZ(0,"label"),e._uU(1,"with Squarespace"),e.qZA())}function Zn(i,a){1&i&&(e.TgZ(0,"label"),e._uU(1,"with Blogger"),e.qZA())}function Bn(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultGcmScirpt),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function yn(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your GCM Default Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyGcmToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,Bn,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isGcmCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function wn(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultMicrosoftScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function An(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Microsoft Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyMicrosoftToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,wn,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isMicrosoftCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function kn(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultClarityScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function Pn(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Clarity Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyClarityToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,kn,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isClarityCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Sn(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",70),e._uU(4," // Please copy and paste the below code before the init call in your Meta Pixel code."),e.qZA()(),e._UZ(5,"br"),e.TgZ(6,"span")(7,"code",69),e._uU(8),e.qZA()(),e._UZ(9,"br"),e.TgZ(10,"span")(11,"code",70),e._uU(12),e.qZA()()()()),2&i){const n=e.oxw(4);e.xp6(8),e.Oqu(n.defaultMetaScript),e.xp6(4),e.Oqu(n.metaPixelInstruction)}}function Un(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Meta Pixel Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your code kindly click on copy code button to copy into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyMetaToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,Sn,13,2,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isMetaCopied?"Copied":"Copy Code",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Dn(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultAmazonScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function qn(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Amazon Consent Signal Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyAmazonToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,Dn,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isAmazonCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Mn(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultTikTokScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function Nn(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default TikTok Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyTikTokToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,Mn,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isTikTokCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function In(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",71),e._uU(4),e.qZA()(),e._UZ(5,"br"),e.TgZ(6,"span")(7,"code",68),e._uU(8),e.qZA()(),e.TgZ(9,"span",69),e._uU(10),e.qZA(),e.TgZ(11,"span")(12,"code",68),e._uU(13),e.qZA()(),e._UZ(14,"br"),e.qZA()()),2&i){const n=e.oxw(3);e.xp6(4),e.hij("// Cookie Banner Version - ",n.scriptVersion,""),e.xp6(4),e.Oqu(n.addScript),e.xp6(2),e.Oqu(n.scriptUrl),e.xp6(3),e.Oqu(n.closeScript)}}function Fn(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"ul",55),e.YNc(1,yn,11,2,"ng-container",4),e.YNc(2,An,11,2,"ng-container",4),e.YNc(3,Pn,11,2,"ng-container",4),e.YNc(4,Un,11,2,"ng-container",4),e.YNc(5,qn,11,2,"ng-container",4),e.YNc(6,Nn,11,2,"ng-container",4),e.TgZ(7,"li")(8,"div",56)(9,"h5",57),e._uU(10,"Copy your cookie banner Script "),e.qZA(),e.TgZ(11,"p"),e._uU(12,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(13,"a",58),e._UZ(14,"i",59),e._uU(15," Preview "),e.qZA(),e.TgZ(16,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.copyToClipboard())}),e._UZ(17,"i",61),e._uU(18),e.qZA()(),e.YNc(19,In,15,4,"div",62),e.qZA(),e.TgZ(20,"li")(21,"h5",63),e._uU(22,"Where to Paste!"),e.qZA(),e.TgZ(23,"p"),e._uU(24,"As the cookie banner must appear over any other content of your website, you must insert the Cookie Banner CDN script before closing the "),e.TgZ(25,"strong"),e._uU(26,"</head>"),e.qZA(),e._uU(27," tag. "),e.qZA(),e.TgZ(28,"div",64)(29,"span"),e._uU(30,"<html>"),e.qZA(),e._UZ(31,"br"),e._uU(32," \xa0\xa0"),e.TgZ(33,"span"),e._uU(34,"<head>"),e.qZA(),e._UZ(35,"br"),e._uU(36," \xa0\xa0\xa0\xa0"),e.TgZ(37,"span"),e._uU(38,"<title>"),e.qZA(),e._UZ(39,"br"),e._uU(40," \xa0\xa0\xa0\xa0"),e.TgZ(41,"span"),e._uU(42,"</title>"),e.qZA(),e._UZ(43,"br"),e._uU(44," \xa0\xa0\xa0\xa0"),e.TgZ(45,"span",65),e._uU(46,"Paste here!"),e.qZA(),e._UZ(47,"br"),e._uU(48," \xa0\xa0"),e.TgZ(49,"span"),e._uU(50,"</head>"),e.qZA(),e._UZ(51,"br"),e._uU(52," \xa0\xa0"),e.TgZ(53,"span"),e._uU(54,"<body>"),e.qZA(),e._UZ(55,"br"),e._uU(56," \xa0\xa0\xa0\xa0"),e.TgZ(57,"span"),e._uU(58,"<p>
1You Should paste your code before closing body tag.</p>"),e.qZA(),e._UZ(59,"br"),e._uU(60," \xa0\xa0"),e.TgZ(61,"span"),e._uU(62,"</body>"),e.qZA(),e._UZ(63,"br"),e.TgZ(64,"span"),e._uU(65,"</html>"),e.qZA()()(),e.TgZ(66,"li")(67,"h5",63),e._uU(68,"Now run your website. Check that the cookie banner and Preference pop-up appear."),e.qZA()()()}if(2&i){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.canShowGcmScript),e.xp6(1),e.Q6J("ngIf",n.canShowMicrosoftScript),e.xp6(1),e.Q6J("ngIf",n.canShowClarityScript),e.xp6(1),e.Q6J("ngIf",n.canShowMetaScript),e.xp6(1),e.Q6J("ngIf",n.canShowAmazonScript),e.xp6(1),e.Q6J("ngIf",n.canShowTikTokScript),e.xp6(12),e.hij(" ",n.isCopied.one?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function On(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultGcmScirpt),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function Jn(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your GCM Default Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyGcmToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,On,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isGcmCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Gn(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultMicrosoftScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function Ln(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Microsoft Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyMicrosoftToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,Gn,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isMicrosoftCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Rn(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultClarityScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function Vn(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Clarity Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyClarityToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,Rn,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isClarityCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Qn(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",70),e._uU(4," // Please copy and paste the below code before the init call in your Meta Pixel code."),e.qZA()(),e._UZ(5,"br"),e.TgZ(6,"span")(7,"code",69),e._uU(8),e.qZA()(),e._UZ(9,"br"),e.TgZ(10,"span")(11,"code",70),e._uU(12),e.qZA()()()()),2&i){const n=e.oxw(4);e.xp6(8),e.Oqu(n.defaultMetaScript),e.xp6(4),e.Oqu(n.metaPixelInstruction)}}function En(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Meta Pixel Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your code kindly click on copy code button to copy into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyMetaToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,Qn,13,2,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isMetaCopied?"Copied":"Copy Code",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Kn(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultAmazonScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function Yn(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Amazon Consent Signal Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyAmazonToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,Kn,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isAmazonCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Hn(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultTikTokScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function zn(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default TikTok Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyTikTokToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,Hn,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isTikTokCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function jn(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",71),e._uU(4),e.qZA()(),e._UZ(5,"br"),e.TgZ(6,"span")(7,"code",68),e._uU(8),e.qZA()(),e.TgZ(9,"span",69),e._uU(10),e.qZA(),e.TgZ(11,"span")(12,"code",68),e._uU(13),e.qZA()(),e._UZ(14,"br"),e.qZA()()),2&i){const n=e.oxw(3);e.xp6(4),e.hij("// Cookie Banner Version - ",n.scriptVersion,""),e.xp6(4),e.Oqu(n.addScript),e.xp6(2),e.Oqu(n.scriptUrl),e.xp6(3),e.Oqu(n.closeScript)}}function $n(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"ul",72),e.YNc(1,Jn,11,2,"ng-container",4),e.YNc(2,Ln,11,2,"ng-container",4),e.YNc(3,Vn,11,2,"ng-container",4),e.YNc(4,En,11,2,"ng-container",4),e.YNc(5,Yn,11,2,"ng-container",4),e.YNc(6,zn,11,2,"ng-container",4),e.TgZ(7,"li")(8,"div",56)(9,"h5",57),e._uU(10,"Copy your cookie banner Script "),e.qZA(),e.TgZ(11,"p"),e._uU(12,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(13,"a",73),e._UZ(14,"i",59),e._uU(15," Preview "),e.qZA(),e.TgZ(16,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.copyToClipboard())}),e._UZ(17,"i",61),e._uU(18),e.qZA()(),e.YNc(19,jn,15,4,"div",62),e.qZA(),e.TgZ(20,"li")(21,"h5",52),e._uU(22,"Log in to the "),e.TgZ(23,"strong"),e._uU(24,"WordPress admin panel."),e.qZA()()(),e.TgZ(25,"li")(26,"h5",63),e._uU(27,"In the left pane, in "),e.TgZ(28,"strong"),e._uU(29,"Plugins"),e.qZA(),e._uU(30," and click "),e.TgZ(31,"strong"),e._uU(32,"Add New"),e.qZA(),e._uU(33,"."),e.qZA(),e._UZ(34,"img",74),e.qZA(),e.TgZ(35,"li")(36,"h5",63),e._uU(37,"In "),e.TgZ(38,"strong"),e._uU(39,"Search Plugins"),e.qZA(),e._uU(40),e.TgZ(41,"strong"),e._uU(42,"Enter"),e.qZA(),e._uU(43,". "),e.qZA()(),e.TgZ(44,"li")(45,"h5",63),e._uU(46,"Click "),e.TgZ(47,"strong"),e._uU(48,"Install Now"),e.qZA(),e._uU(49,", and click "),e.TgZ(50,"strong"),e._uU(51,"Activate"),e.qZA(),e._uU(52,"."),e.qZA(),e._UZ(53,"img",75),e.TgZ(54,"p"),e._uU(55,"The installed plugin will appear under the Settings menu."),e.qZA()(),e.TgZ(56,"li")(57,"h5",63),e._uU(58,"In "),e.TgZ(59,"strong"),e._uU(60,"Settings"),e.qZA(),e._uU(61,", click "),e.TgZ(62,"strong"),e._uU(63),e.qZA(),e._uU(64,"."),e.qZA(),e._UZ(65,"img",76),e.qZA(),e.TgZ(66,"li")(67,"h5",63),e._uU(68,"In the "),e.TgZ(69,"strong"),e._uU(70,"Insert JS Code"),e.qZA(),e._uU(71," editor, insert the Cookie Banner CDN script and click "),e.TgZ(72,"strong"),e._uU(73,"Save"),e.qZA(),e._uU(74,". "),e.qZA(),e._UZ(75,"img",77),e.qZA(),e.TgZ(76,"li")(77,"h5",63),e._uU(78,"Now run your website. Check that the cookie banner and Preference pop-up appear."),e.qZA()()()}if(2&i){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.canShowGcmScript),e.xp6(1),e.Q6J("ngIf",n.canShowMicrosoftScript),e.xp6(1),e.Q6J("ngIf",n.canShowClarityScript),e.xp6(1),e.Q6J("ngIf",n.canShowMetaScript),e.xp6(1),e.Q6J("ngIf",n.canShowAmazonScript),e.xp6(1),e.Q6J("ngIf",n.canShowTikTokScript),e.xp6(12),e.hij(" ",n.isCopied.one?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton),e.xp6(21),e.hij(', type "',n.portal,'", and press '),e.xp6(23),e.hij("",n.portal," GDPR")}}function Wn(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultGcmScirpt),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function Xn(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your GCM Default Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyGcmToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,Wn,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isGcmCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function et(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultMicrosoftScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function nt(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Microsoft Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyMicrosoftToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,et,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isMicrosoftCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function tt(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultClarityScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function ot(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Clarity Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyClarityToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,tt,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isClarityCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function it(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",70),e._uU(4," // Please copy and paste the below code before the init call in your Meta Pixel code."),e.qZA()(),e._UZ(5,"br"),e.TgZ(6,"span")(7,"code",69),e._uU(8),e.qZA()(),e._UZ(9,"br"),e.TgZ(10,"span")(11,"code",70),e._uU(12),e.qZA()()()()),2&i){const n=e.oxw(4);e.xp6(8),e.Oqu(n.defaultMetaScript),e.xp6(4),e.Oqu(n.metaPixelInstruction)}}function rt(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Meta Pixel Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your code kindly click on copy code button to copy into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyMetaToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,it,13,2,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isMetaCopied?"Copied":"Copy Code",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function at(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultAmazonScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function lt(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Amazon Consent Signal Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyAmazonToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,at,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isAmazonCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function ct(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultTikTokScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function st(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default TikTok Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyTikTokToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,ct,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isTikTokCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function _t(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",71),e._uU(4),e.qZA()(),e._UZ(5,"br"),e.TgZ(6,"span")(7,"code",68),e._uU(8),e.qZA()(),e.TgZ(9,"span",69),e._uU(10),e.qZA(),e.TgZ(11,"span")(12,"code",68),e._uU(13),e.qZA()(),e._UZ(14,"br"),e.qZA()()),2&i){const n=e.oxw(3);e.xp6(4),e.hij("// Cookie Banner Version - ",n.scriptVersion,""),e.xp6(4),e.Oqu(n.addScript),e.xp6(2),e.Oqu(n.scriptUrl),e.xp6(3),e.Oqu(n.closeScript)}}function pt(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"ul",72),e.YNc(1,Xn,11,2,"ng-container",4),e.YNc(2,nt,11,2,"ng-container",4),e.YNc(3,ot,11,2,"ng-container",4),e.YNc(4,rt,11,2,"ng-container",4),e.YNc(5,lt,11,2,"ng-container",4),e.YNc(6,st,11,2,"ng-container",4),e.TgZ(7,"li")(8,"div",56)(9,"h5",57),e._uU(10,"Copy your cookie banner Script "),e.qZA(),e.TgZ(11,"p"),e._uU(12,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(13,"a",73),e._UZ(14,"i",59),e._uU(15," Preview "),e.qZA(),e.TgZ(16,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.copyToClipboard())}),e._UZ(17,"i",61),e._uU(18),e.qZA()(),e.YNc(19,_t,15,4,"div",62),e.qZA(),e.TgZ(20,"li")(21,"h5",52),e._uU(22,"Log in to "),e.TgZ(23,"strong"),e._uU(24,"Shopify admin panel"),e.qZ
1A(),e._uU(25,"."),e.qZA()(),e.TgZ(26,"li")(27,"h5",52),e._uU(28,"In the left pane, click "),e.TgZ(29,"strong"),e._uU(30,"Home"),e.qZA(),e._uU(31," and select "),e.TgZ(32,"strong"),e._uU(33,"Customize theme"),e.qZA(),e._uU(34,". "),e.qZA(),e._UZ(35,"img",78),e.qZA(),e.TgZ(36,"li")(37,"h5",52),e._uU(38,"In "),e.TgZ(39,"strong"),e._uU(40,"Actions"),e.qZA(),e._uU(41,", click "),e.TgZ(42,"strong"),e._uU(43,"Edit code"),e.qZA(),e._uU(44,"."),e.qZA(),e._UZ(45,"img",79),e.TgZ(46,"p"),e._uU(47,"The code editor window appears."),e.qZA()(),e.TgZ(48,"li")(49,"h5",52),e._uU(50,"A list of code files is available in the left pane, under the "),e.TgZ(51,"strong"),e._uU(52,"Layout"),e.qZA(),e._uU(53," folder. If you want to publish the cookie banner on every page of your website, you must add the code to "),e.TgZ(54,"strong"),e._uU(55,"/theme.liquid file"),e.qZA(),e._uU(56,"."),e.qZA(),e._UZ(57,"img",80),e.qZA(),e.TgZ(58,"li")(59,"h5",52),e._uU(60,"Insert the copied script before closing the </head> tag and click "),e.TgZ(61,"strong"),e._uU(62,"Save"),e.qZA(),e._uU(63,"."),e.qZA()(),e.TgZ(64,"li")(65,"h5",52),e._uU(66,"Now run your website. Check that the cookie banner and Preference pop-up appear."),e.qZA()()()}if(2&i){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.canShowGcmScript),e.xp6(1),e.Q6J("ngIf",n.canShowMicrosoftScript),e.xp6(1),e.Q6J("ngIf",n.canShowClarityScript),e.xp6(1),e.Q6J("ngIf",n.canShowMetaScript),e.xp6(1),e.Q6J("ngIf",n.canShowAmazonScript),e.xp6(1),e.Q6J("ngIf",n.canShowTikTokScript),e.xp6(12),e.hij(" ",n.isCopied.one?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function gt(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultGcmScirpt),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function dt(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your GCM Default Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyGcmToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,gt,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isGcmCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function ut(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultMicrosoftScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function ft(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Microsoft Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyMicrosoftToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,ut,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isMicrosoftCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function mt(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultClarityScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function Ct(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Clarity Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyClarityToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,mt,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isClarityCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function ht(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",70),e._uU(4," // Please copy and paste the below code before the init call in your Meta Pixel code."),e.qZA()(),e._UZ(5,"br"),e.TgZ(6,"span")(7,"code",69),e._uU(8),e.qZA()(),e._UZ(9,"br"),e.TgZ(10,"span")(11,"code",70),e._uU(12),e.qZA()()()()),2&i){const n=e.oxw(4);e.xp6(8),e.Oqu(n.defaultMetaScript),e.xp6(4),e.Oqu(n.metaPixelInstruction)}}function xt(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Meta Pixel Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your code kindly click on copy code button to copy into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyMetaToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,ht,13,2,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isMetaCopied?"Copied":"Copy Code",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Tt(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultAmazonScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function vt(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Amazon Consent Signal Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyAmazonToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,Tt,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isAmazonCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function bt(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultTikTokScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function Zt(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default TikTok Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyTikTokToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,bt,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isTikTokCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Bt(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",71),e._uU(4),e.qZA()(),e._UZ(5,"br"),e.TgZ(6,"span")(7,"code",68),e._uU(8),e.qZA()(),e.TgZ(9,"span",69),e._uU(10),e.qZA(),e.TgZ(11,"span")(12,"code",68),e._uU(13),e.qZA()(),e._UZ(14,"br"),e.qZA()()),2&i){const n=e.oxw(3);e.xp6(4),e.hij("// Cookie Banner Version - ",n.scriptVersion,""),e.xp6(4),e.Oqu(n.addScript),e.xp6(2),e.Oqu(n.scriptUrl),e.xp6(3),e.Oqu(n.closeScript)}}function yt(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"ul",72),e.YNc(1,dt,11,2,"ng-container",4),e.YNc(2,ft,11,2,"ng-container",4),e.YNc(3,Ct,11,2,"ng-container",4),e.YNc(4,xt,11,2,"ng-container",4),e.YNc(5,vt,11,2,"ng-container",4),e.YNc(6,Zt,11,2,"ng-container",4),e.TgZ(7,"li")(8,"div",56)(9,"h5",57),e._uU(10,"Copy your cookie banner Script "),e.qZA(),e.TgZ(11,"p"),e._uU(12,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(13,"a",73),e._UZ(14,"i",59),e._uU(15," Preview "),e.qZA(),e.TgZ(16,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.copyToClipboard())}),e._UZ(17,"i",61),e._uU(18),e.qZA()(),e.YNc(19,Bt,15,4,"div",62),e.qZA(),e.TgZ(20,"li")(21,"h5",52),e._uU(22,"Log in to the "),e.TgZ(23,"strong"),e._uU(24,"BigCommerce control panel"),e.qZA(),e._uU(25,"."),e.qZA()(),e.TgZ(26,"li")(27,"h5",52),e._uU(28,"In the left pane, click "),e.TgZ(29,"strong"),e._uU(30,"Storefront"),e.qZA(),e._uU(31," and click "),e.TgZ(32,"strong"),e._uU(33,"Script Manager"),e.qZA(),e._uU(34,"."),e.qZA(),e.TgZ(35,"p"),e._uU(36,"The Script Manager page appears."),e.qZA(),e._UZ(37,"img",81),e.qZA(),e.TgZ(38,"li")(39,"h5",52),e._uU(40,"Click "),e.TgZ(41,"strong"),e._uU(42,"Create a Script"),e.qZA(),e._uU(43,"."),e.qZA(),e.TgZ(44,"p"),e._uU(45,"The Create Script page appears."),e.qZA()(),e.TgZ(46,"li")(47,"h5",52),e._uU(48,"Enter any Name of script and Description. "),e.qZA()(),e.TgZ(49,"li")(50,"h5",52),e._uU(51,"Enter any Name of script and Description, select "),e.TgZ(52,"strong"),e._uU(53,"All pages"),e.qZA(),e._uU(54,', and under "Script type", select '),e.TgZ(55,"strong"),e._uU(56,"Script"),e.qZA(),e._uU(57,"."),e.qZA(),e.TgZ(58,"p"),e._uU(59,"The script editor appears."),e.qZA(),e._UZ(60,"img",82),e.qZA(),e.TgZ(61,"li")(62,"h5",52),e._uU(63,"In the "),e.TgZ(64,"strong"),e._uU(65,"Script contents"),e.qZA(),e._uU(66,", insert the Cookie Banner CDN script, and click "),e.TgZ(67,"strong"),e._uU(68,"Save"),e.qZA(),e._uU(69,". "),e.qZA()(),e.TgZ(70,"li")(71,"h5",52),e._uU(72,"Click "),e.TgZ(73,"strong"),e._uU(74,"View Store"),e.qZA(),e._uU(75," and check that the cookie banner and preference pop-up appear."),e.qZA()()()}if(2&i){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.canShowGcmScript),e.xp6(1),e.Q6J("ngIf",n.canShowMicrosoftScript),e.xp6(1),e.Q6J("ngIf",n.canShowClarityScript),e.xp6(1),e.Q6J("ngIf",n.canShowMetaScript),e.xp6(1),e.Q6J("ngIf",n.canShowAmazonScript),e.xp6(1),e.Q6J("ngIf",n.canShowTikTokScript),e.xp6(12),e.hij(" ",n.isCopied.one?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function wt(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultGcmScirpt),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function At(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your GCM Default Consent Script"),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyGcmToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,wt,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isGcmCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function kt(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultMicrosoftScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function Pt(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Microsoft Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyMicrosoftToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,kt,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isMicrosoftCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function St(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultClarityScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function Ut(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Clarity Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyClarityToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,St,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isClarityCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Dt(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",70),e._uU(4," // Please copy and paste the below code before the init call in your Meta Pixel code."),e.qZA()(),e._UZ(5,"br"),e.TgZ(6,"span")(7,"code",69),e._uU(8),e.qZA()(),e._UZ(9,"br"),e.TgZ(10,"span")(11,"code",70),e._uU(12),e.qZA()()()()),2&i){const n=e.oxw(4);e.xp6(8),e.Oqu(n.defaultMetaScript),e.xp6(4),e.Oqu(n.metaPixelInstruction)}}function qt(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Meta Pixel Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your code kindly click on copy code button to copy into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyMetaToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,Dt,13,2,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isMetaCopied?"Copied":"Copy Code",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Mt(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultAmazonScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function Nt(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Amazon Consent Signal Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyAmazonToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,Mt,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isAmazonCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function It(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultTikTokScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function Ft(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default TikTok Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyTikTokToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,It,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isTikTokCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Ot(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",71),e._uU(4),e.qZA()(),e._UZ(5,"br"),e.TgZ(6,"span")(7,"code",68),e._uU(8),e.qZA()(),e.TgZ(9,"span",69),e._uU(10),e.qZA(),e.TgZ(11,"span")(12,"code",68),e._uU(13),e.qZA()(),e._UZ(14,"br"),e.qZA()()),2&i){const n=e.oxw(3);e.xp6(4),e.hij("// Cookie Banner Version - ",n.scriptVersion,""),e.xp6(4),e.Oqu(n.addScript),e.xp6(2),e.Oqu(n.scriptUrl),e.xp6(
13),e.Oqu(n.closeScript)}}function Jt(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"ul",72),e.YNc(1,At,11,2,"ng-container",4),e.YNc(2,Pt,11,2,"ng-container",4),e.YNc(3,Ut,11,2,"ng-container",4),e.YNc(4,qt,11,2,"ng-container",4),e.YNc(5,Nt,11,2,"ng-container",4),e.YNc(6,Ft,11,2,"ng-container",4),e.TgZ(7,"li")(8,"div",56)(9,"h5",57),e._uU(10,"Copy your cookie banner Script "),e.qZA(),e.TgZ(11,"p"),e._uU(12,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(13,"a",73),e._UZ(14,"i",59),e._uU(15," Preview "),e.qZA(),e.TgZ(16,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.copyToClipboard())}),e._UZ(17,"i",61),e._uU(18),e.qZA()(),e.YNc(19,Ot,15,4,"div",62),e.qZA(),e.TgZ(20,"li")(21,"h5",52),e._uU(22,"Log in to "),e.TgZ(23,"strong"),e._uU(24,"Squarespace"),e.qZA(),e._uU(25," and go to the "),e.TgZ(26,"strong"),e._uU(27,"My Dashboard"),e.qZA(),e._uU(28," page. "),e.qZA()(),e.TgZ(29,"li")(30,"h5",52),e._uU(31,"Go to "),e.TgZ(32,"strong"),e._uU(33,"Settings"),e.qZA(),e._uU(34,", click "),e.TgZ(35,"strong"),e._uU(36,"Advanced"),e.qZA(),e._uU(37,", and then click "),e.TgZ(38,"strong"),e._uU(39,"Code Injection"),e.qZA(),e._uU(40,". The code editing window appears. "),e.qZA(),e._UZ(41,"img",83),e.qZA(),e.TgZ(42,"li")(43,"h5",52),e._uU(44,"In the "),e.TgZ(45,"strong"),e._uU(46,"HEADER"),e.qZA(),e._uU(47," code editor, insert the Cookie Banner CDN script, and at the top-left of the window click "),e.TgZ(48,"strong"),e._uU(49,"Save"),e.qZA(),e._uU(50,". "),e.qZA(),e._UZ(51,"img",84),e.qZA(),e.TgZ(52,"li")(53,"h5",52),e._uU(54,"Now run your website. Check that the cookie banner and Preference pop-up appear."),e.qZA()()()}if(2&i){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.canShowGcmScript),e.xp6(1),e.Q6J("ngIf",n.canShowMicrosoftScript),e.xp6(1),e.Q6J("ngIf",n.canShowClarityScript),e.xp6(1),e.Q6J("ngIf",n.canShowMetaScript),e.xp6(1),e.Q6J("ngIf",n.canShowAmazonScript),e.xp6(1),e.Q6J("ngIf",n.canShowTikTokScript),e.xp6(12),e.hij(" ",n.isCopied.one?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Gt(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultGcmScirpt),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function Lt(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your GCM Default Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyGcmToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,Gt,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isGcmCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Rt(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultMicrosoftScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function Vt(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Microsoft Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyMicrosoftToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,Rt,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isMicrosoftCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Qt(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultClarityScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function Et(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Clarity Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyClarityToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,Qt,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isClarityCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Kt(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",70),e._uU(4," // Please copy and paste the below code before the init call in your Meta Pixel code."),e.qZA()(),e._UZ(5,"br"),e.TgZ(6,"span")(7,"code",69),e._uU(8),e.qZA()(),e._UZ(9,"br"),e.TgZ(10,"span")(11,"code",70),e._uU(12),e.qZA()()()()),2&i){const n=e.oxw(4);e.xp6(8),e.Oqu(n.defaultMetaScript),e.xp6(4),e.Oqu(n.metaPixelInstruction)}}function Yt(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Meta Pixel Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your code kindly click on copy code button to copy into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyMetaToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,Kt,13,2,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isMetaCopied?"Copied":"Copy Code",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Ht(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultAmazonScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function zt(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default Amazon Consent Signal Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyAmazonToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,Ht,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isAmazonCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function jt(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e.TgZ(5,"span",69),e._uU(6),e.qZA(),e.TgZ(7,"span")(8,"code",68),e._uU(9),e.qZA()(),e._UZ(10,"br"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(2),e.Oqu(n.defaultTikTokScript),e.xp6(3),e.Oqu(n.tagEle.closeScript)}}function $t(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"li")(2,"div",56)(3,"h5",57),e._uU(4,"Copy Your Default TikTok Consent Script "),e.qZA(),e.TgZ(5,"p"),e._uU(6,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(7,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.copyTikTokToClipboard())}),e._UZ(8,"i",61),e._uU(9),e.qZA()(),e.YNc(10,jt,11,3,"div",62),e.qZA(),e.BQk()}if(2&i){const n=e.oxw(3);e.xp6(9),e.hij(" ",n.isTikTokCopied?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function Wt(i,a){if(1&i&&(e.TgZ(0,"div",66)(1,"p",67)(2,"span")(3,"code",71),e._uU(4),e.qZA()(),e._UZ(5,"br"),e.TgZ(6,"span")(7,"code",68),e._uU(8),e.qZA()(),e.TgZ(9,"span",69),e._uU(10),e.qZA(),e.TgZ(11,"span")(12,"code",68),e._uU(13),e.qZA()(),e._UZ(14,"br"),e.qZA()()),2&i){const n=e.oxw(3);e.xp6(4),e.hij("// Cookie Banner Version - ",n.scriptVersion,""),e.xp6(4),e.Oqu(n.addScript),e.xp6(2),e.Oqu(n.scriptUrl),e.xp6(3),e.Oqu(n.closeScript)}}function Xt(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"ul",72),e.YNc(1,Lt,11,2,"ng-container",4),e.YNc(2,Vt,11,2,"ng-container",4),e.YNc(3,Et,11,2,"ng-container",4),e.YNc(4,Yt,11,2,"ng-container",4),e.YNc(5,zt,11,2,"ng-container",4),e.YNc(6,$t,11,2,"ng-container",4),e.TgZ(7,"li")(8,"div",56)(9,"h5",57),e._uU(10,"Copy your cookie banner Script "),e.qZA(),e.TgZ(11,"p"),e._uU(12,"Here is your script kindly click on copy script button to copy the script into clipboard"),e.qZA(),e.TgZ(13,"a",73),e._UZ(14,"i",59),e._uU(15," Preview "),e.qZA(),e.TgZ(16,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.copyToClipboard())}),e._UZ(17,"i",61),e._uU(18),e.qZA()(),e.YNc(19,Wt,15,4,"div",62),e.qZA(),e.TgZ(20,"li")(21,"h5",52),e._uU(22,"Log in to the "),e.TgZ(23,"strong"),e._uU(24,"Blogger"),e.qZA(),e._uU(25," application."),e.qZA()(),e.TgZ(26,"li")(27,"h5",52),e._uU(28,"In the left pane, click "),e.TgZ(29,"strong"),e._uU(30,"Layout"),e.qZA(),e._uU(31,"."),e.qZA(),e.TgZ(32,"p"),e._uU(33,"The layout configuration window appears."),e.qZA(),e._UZ(34,"img",85),e.qZA(),e.TgZ(35,"li")(36,"h5",52),e._uU(37,"Under the Sidebar (Top) module, click "),e.TgZ(38,"strong"),e._uU(39,"Add a Gadget"),e.qZA(),e._uU(40,"."),e.qZA(),e.TgZ(41,"p"),e._uU(42,"A list of gadget options appears."),e.qZA()(),e.TgZ(43,"li")(44,"h5",52),e._uU(45,"Select "),e.TgZ(46,"strong"),e._uU(47,"HTML/JavaScript"),e.qZA(),e._uU(48,"."),e.qZA(),e.TgZ(49,"p"),e._uU(50,"Configure HTML/JavaScript appears."),e.qZA()(),e.TgZ(51,"li")(52,"h5",52),e._uU(53,"In "),e.TgZ(54,"strong"),e._uU(55,"Title"),e.qZA(),e._uU(56,", enter a suitable title for the script. "),e.qZA(),e._UZ(57,"img",86),e.qZA(),e.TgZ(58,"li")(59,"h5",52),e._uU(60,"In "),e.TgZ(61,"strong"),e._uU(62,"Content"),e.qZA(),e._uU(63,", insert the Cookie Banner CDN script, and click "),e.TgZ(64,"strong"),e._uU(65,"SAVE"),e.qZA(),e._uU(66,". "),e.qZA()(),e.TgZ(67,"li")(68,"h5",52),e._uU(69,"Now run your website. Check that the cookie banner and Preference pop-up appear."),e.qZA()()()}if(2&i){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.canShowGcmScript),e.xp6(1),e.Q6J("ngIf",n.canShowMicrosoftScript),e.xp6(1),e.Q6J("ngIf",n.canShowClarityScript),e.xp6(1),e.Q6J("ngIf",n.canShowMetaScript),e.xp6(1),e.Q6J("ngIf",n.canShowAmazonScript),e.xp6(1),e.Q6J("ngIf",n.canShowTikTokScript),e.xp6(12),e.hij(" ",n.isCopied.one?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function eo(i,a){1&i&&e._UZ(0,"ngx-skeleton-loader",87)}function no(i,a){if(1&i&&(e.TgZ(0,"div",90)(1,"p",67)(2,"span")(3,"code",91),e._uU(4),e.qZA()(),e._UZ(5,"br"),e.TgZ(6,"span")(7,"code",68),e._uU(8),e.qZA()(),e._UZ(9,"br"),e.TgZ(10,"span")(11,"code",91),e._uU(12,"// Replace Your authId '123123123' "),e.qZA()(),e._UZ(13,"br"),e.TgZ(14,"span")(15,"code",92),e._uU(16,"document."),e.qZA(),e.TgZ(17,"code",93),e._uU(18,"cookie "),e.qZA(),e.TgZ(19,"code",94),e._uU(20," = "),e.qZA(),e.TgZ(21,"code",68),e._uU(22,'"'),e.qZA(),e.TgZ(23,"code",95),e._uU(24),e.qZA(),e.TgZ(25,"code",68),e._uU(26,'"'),e.qZA(),e.TgZ(27,"code",92),e._uU(28,";"),e.qZA()(),e._UZ(29,"br"),e.TgZ(30,"span")(31,"code",68),e._uU(32),e.qZA()(),e._UZ(33,"br"),e.qZA()()),2&i){const n=e.oxw(3);e.xp6(4),e.hij("//To implement authenticated consent on a web page, you can place a cookie on the page and pass the authenticated consent identifier to ",n.portal,". "),e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(16),e.hij("authId=","{Your-AuthID}",""),e.xp6(8),e.Oqu(n.tagEle.closeScript)}}function to(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",22)(1,"div",27)(2,"h6",88)(3,"b"),e._uU(4,"Authenticated Consent"),e.qZA()(),e.TgZ(5,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.copyToClipboards())}),e._UZ(6,"i",61),e._uU(7),e.qZA()(),e.YNc(8,no,34,4,"div",89),e.qZA()}if(2&i){const n=e.oxw(2);e.xp6(7),e.hij(" ",n.isCopied.three?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function oo(i,a){1&i&&e._UZ(0,"ngx-skeleton-loader",87)}function io(i,a){if(1&i&&(e.TgZ(0,"div",90)(1,"p",67)(2,"span")(3,"code",91),e._uU(4,"// Retrieve the list of consents "),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"span")(7,"code",71),e._uU(8," Authentication -- Set your App ID into Header"),e.qZA(),e._UZ(9,"br"),e.TgZ(10,"code",68),e._uU(11,"Header["),e.TgZ(12,"code",92),e._uU(13,"'Appid'"),e.qZA(),e._uU(14,"] = "),e.qZA(),e.TgZ(15,"code",96),e._uU(16),e.qZA()()(),e._UZ(17,"br"),e.TgZ(18,"span")(19,"code",91),e._uU(20,"// REST API Endpoint - Method Type = GET "),e.qZA(),e._UZ(21,"br"),e.TgZ(22,"code",92)(23,"code",68),e._uU(24),e.qZA(),e.TgZ(25,"code",92),e._uU(26),e.qZA()()(),e._UZ(27,"br"),e.TgZ(28,"span")(29,"code",71),e._uU(30," Optional Query Parameters - "),e.qZA(),e._UZ(31,"br"),e.TgZ(32,"code",68),e._uU(33,"authid="),e.qZA(),e.TgZ(34,"code",93),e._uU(35),e.qZA(),e.TgZ(36,"code",91),e._uU(37," // default Value = null "),e.qZA(),e._UZ(38,"br"),e.TgZ(39,"code",68),e._uU(40,"limit="),e.qZA(),e.TgZ(41,"code",93),e._uU(42,"10"),e.qZA(),e.TgZ(43,"code",91),e._uU(44," // default Value = 100 "),e.qZA(),e._UZ(45,"br"),e.TgZ(46,"code",68),e._uU(47,"page="),e.qZA(),e.TgZ(48,"code",93),e._uU(49,"1"),e.qZA(),e.TgZ(50,"code",91),e._uU(51," // default Value = 1 "),e.qZA()()()()),2&i){const n=e.oxw(3);e.xp6(16),e.hij(" ","\n{AppID}\n"," "),e.xp6(8),e.Oqu(n.env.apiUrl),e.xp6(2),e.Oqu(n.apiConstant.COOKIE_CONSENT_PUBLISHER+"/"+n.currrentManagedPropID),e.xp6(9),e.Oqu("{--your-authid--}\n")}}function ro(i,a){if(1&i&&(e.TgZ(0,"div",22)(1,"div",27)(2,"h6",88)(3,"b"),e._uU(4,"API EndPoint "),e.TgZ(5,"span")(6,"code",91),e._uU(7,"// Get Cookie Consent List by AuthID "),e.qZA()()()()(),e.YNc(8,io,52,4,"div",89),e.qZA()),2&i){const n=e.oxw(2);e.xp6(8),e.Q6J("ngIf",!n.loadingSkeleton)}}function ao(i,a){if(1&i&&(e.TgZ(0,"div",90)(1,"p",67)(2,"span")(3,"code",68),e._uU(4),e.qZA()(),e._UZ(5,"br"),e.TgZ(6,"span")(7,"code",97),e._uU(8,"// Execute the method for open Preferences "),e.qZA()(),e._UZ(9,"br"),e.TgZ(10,"span")(11,"code",91),e._uU(12,"// Applicable for version 1 "),e.qZA(),e._UZ(13,"br"),e.TgZ(14,"code",92),e._uU(15,"window"),e.qZA(),e.TgZ(16,"code",68),e._uU(17,".AzCMP"),e.qZA(),e.TgZ(18,"code",93),e._uU(19,".onOpenPopUp();"),e.qZA()(),e._UZ(20,"br")(21,"br"),e.TgZ(22,"span")(23,"code",91),e._uU(24,"// Applicable for version 2 "),e.qZA(),e._UZ(25,"br"),e.TgZ(26,"code",92),e._uU(27,"window"),e.qZA(),e.TgZ(28,"code",68),e._uU(29,".AZCookieConsent"),e.qZA(),e.TgZ(30,"code",93),e._uU(31,".onOpenPreference();"),e.qZA(),e.TgZ(32,"code",91),e._uU(33," // Pass Parameter to open specific preference type Ex: 'ccpa', 'gdpr' and 'global' "),e.qZA()(),e._UZ(34,"br"),e.TgZ(35,"span")(36,"code",68),e._uU(37),e.qZA()(),e._UZ(38,"br"),e.qZA()()),2&i){const n=e.oxw(3);e.xp6(4),e.Oqu(n.tagEle.openScript),e.xp6(33),e.Oqu(n.tagEle.closeScript)}}function lo(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",22)(1,"div",27)(2,"h6",88)(3,"b"),e._uU(4),e.qZA()(),e.TgZ(5,"button",60),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.copyToClipboardMethod())}),e._UZ(6,"i",61),e._uU(7),e.qZA()(),e.YNc(8,ao,39,2,"div",89),e.qZA()}if(2&i){const n=e.oxw(2);e.xp6(4),e.hij("Open Preferences ","{Method}\n"," "),e.xp6(3),e.hij(" ",n.isCopied.two?"Copied":"Copy Script",""),e.xp6(1),e.Q6J("ngIf",!n.loadingSkeleton)}}function co(i,a){if(1&i&&(e.ynx(0),e.TgZ(1,"div",19)(2,"h5",20)(3,"label",21),e._uU(4,"Implementing Banner Scripts "),e.YNc(5,hn,2,0,"label",4),e.YNc(6,xn,2,0,"label",4),e.YNc(7,Tn,2,0,"label",4),e.YNc(8,vn,2,0,"label",4),e.YNc(9,bn,2,0,"label",4),e.YNc(10,Zn,2,0,"label",4),e.qZA()(),e.TgZ(11,"div",22),e.YNc(12,Fn,69,8,"ul",23),e.YNc(13,$n,79,10,"ul",24),e.YNc(14,pt,67,8,"ul",24),e.YNc(15,yt,76,8,"ul",24),e.YNc(16,Jt,55,8,"ul",24),e.YNc(17,Xt,70,8,"ul",24),e.qZA(),e.YNc(18,eo,1,0,"ngx-skeleton-loader",25),e.YNc(19,to,9,2,"div",26),e.YNc(20,oo,1,0,"ngx-skeleton-loader",25),e.YNc(21,ro,9,1,"div",26),e.YNc(22,lo,9,3,"div",26),e.qZA(),e.TgZ(23,"div",22)(24,"div",27)(25,"div",28)(26,"h5"),e._uU(27),e.qZA()(),e.TgZ(28,"div",29)(29,"a",30)(30,"div",31),e._UZ(31,"img",32),e.qZA()(),e.TgZ(32,"a",30)(33,"div",33),e._UZ(34,"img",34),e.qZA()(),e.TgZ(35,"a",30)(36,"div",35),e._UZ(37,"img",36),e.qZA()(),e.TgZ(38,"a",30)(39,
1"div",37),e._UZ(40,"img",38),e.qZA()(),e.TgZ(41,"a",30)(42,"div",39),e._UZ(43,"img",40),e.qZA()(),e.TgZ(44,"a",30)(45,"div",41),e._UZ(46,"img",42),e.qZA()(),e.TgZ(47,"a",30)(48,"div",43),e._UZ(49,"img",44),e.qZA()()()(),e.TgZ(50,"div",16)(51,"div")(52,"ul",45)(53,"li",46)(54,"a",30),e._UZ(55,"img",47)(56,"br"),e.TgZ(57,"h5",21)(58,"label",48),e._uU(59,"Need help!"),e.qZA(),e._UZ(60,"br"),e.TgZ(61,"label",48),e._uU(62),e.qZA()()()(),e.TgZ(63,"li",49)(64,"a",50),e._UZ(65,"img",51)(66,"br"),e.TgZ(67,"h5",52)(68,"label",48),e._uU(69,"Email Code to"),e.qZA(),e._UZ(70,"br"),e.TgZ(71,"label",48),e._uU(72,"your Developer"),e.qZA()()()(),e.TgZ(73,"li",53)(74,"a",30),e._UZ(75,"img",54)(76,"br"),e.TgZ(77,"h5",21)(78,"label",48),e._uU(79,"Learn more"),e.qZA(),e._UZ(80,"br"),e.TgZ(81,"label",48),e._uU(82),e.qZA()()()()()()()(),e.BQk()),2&i){const n=e.oxw();e.xp6(5),e.Q6J("ngIf",1==n.showVendorType),e.xp6(1),e.Q6J("ngIf",2==n.showVendorType),e.xp6(1),e.Q6J("ngIf",3==n.showVendorType),e.xp6(1),e.Q6J("ngIf",4==n.showVendorType),e.xp6(1),e.Q6J("ngIf",5==n.showVendorType),e.xp6(1),e.Q6J("ngIf",6==n.showVendorType),e.xp6(2),e.Q6J("ngIf",1==n.showVendorType),e.xp6(1),e.Q6J("ngIf",2==n.showVendorType),e.xp6(1),e.Q6J("ngIf",3==n.showVendorType),e.xp6(1),e.Q6J("ngIf",4==n.showVendorType),e.xp6(1),e.Q6J("ngIf",5==n.showVendorType),e.xp6(1),e.Q6J("ngIf",6==n.showVendorType),e.xp6(1),e.Q6J("ngIf",n.loadingSkeleton),e.xp6(1),e.Q6J("ngIf",1==n.showVendorType),e.xp6(1),e.Q6J("ngIf",n.loadingSkeleton),e.xp6(1),e.Q6J("ngIf",1==n.showVendorType),e.xp6(1),e.Q6J("ngIf",1==n.showVendorType),e.xp6(5),e.hij("How to integrate ",n.portal," scripts to:"),e.xp6(2),e.MGl("href","",n.supportURL,"/help-center/articles/23/25/63/implement-adzapier-applications-on-website-html",e.LSH),e.xp6(3),e.MGl("href","",n.supportURL,"/help-center/articles/23/25/40/adzapiers-cookie-banner-integration-with-wordpress",e.LSH),e.xp6(3),e.MGl("href","",n.supportURL,"/help-center/articles/23/25/44/adzapiers-cookie-banner-integration-with-shopify",e.LSH),e.xp6(3),e.MGl("href","",n.supportURL,"/help-center/articles/23/25/49/adzapiers-cookie-banner-integration-with-squarespace",e.LSH),e.xp6(3),e.MGl("href","",n.supportURL,"/help-center/articles/23/25/47/adzapiers-cookie-banner-integration-with-blogger",e.LSH),e.xp6(3),e.MGl("href","",n.supportURL,"/help-center/articles/23/25/46/adzapiers-cookie-banner-integration-with-bigcommerce",e.LSH),e.xp6(3),e.MGl("href","",n.supportURL,"/help-center/articles/23/25/55/cookie-banner-configuration-with-google-tag-manager",e.LSH),e.xp6(7),e.MGl("href","",n.supportURL,"/help-center/tickets/new",e.LSH),e.xp6(8),e.hij("Contact ",n.portal," Support"),e.xp6(12),e.MGl("href","",n.supportURL,"/help-center",e.LSH),e.xp6(8),e.hij("about ",n.portal,"")}}function so(i,a){1&i&&(e.ynx(0),e._UZ(1,"app-banner-history"),e.BQk())}function _o(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"alert",98),e.NdJ("onClosed",function(){e.CHM(n);const t=e.oxw();return e.KtG(t.onClosed(t.alertMsg))}),e._uU(1),e.qZA()}if(2&i){const n=e.oxw();e.Q6J("type",n.alertType)("dismissible",n.dismissible),e.xp6(1),e.Oqu(n.alertMsg)}}function po(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",99)(1,"p"),e._uU(2,"Selected Property does not have any Banner Configuration "),e._UZ(3,"br"),e._uU(4," First create your Banner Configuration "),e.qZA(),e.TgZ(5,"button",100),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return e.KtG(t.navigate())}),e._uU(6,"Go Now "),e.qZA()()}}let ke=(()=>{const a=class{constructor(o,t,r,l,p,s,v,w,V,Q){this.cookieBannerService=o,this.loading=t,this.modalService=r,this.router=l,this.activateRoute=p,this.orgservice=s,this.dataService=v,this.titleService=w,this.location=V,this.gcmBussinessLogicService=Q,this.env=m.N,this.apiConstant=an.R,this.isCopied={one:!1,two:!1,three:!1},this.currentStep=1,this.isChild=!1,this.closeScript='"><\/script>',this.addScript='<script type="application/javascript" src="',this.tagEle={openHead:"<head>",closeHead:"</head>",openScript:"<script>",closeScript:"<\/script>"},this.loadingSkeleton=!1,this.dismissible=!0,this.isOpen=!1,this.implementationVideoLink=m.N.implementationvideoLink,this.showVendorType=1,this.hidevideo=!0,this.portal=m.N.portalPrefix,this.scriptVersion=2,this.supportURL=m.N.supportPortalURL,this.defaultGcmScirpt="",this.canShowGcmScript=!1,this.isGcmCopied=!1,this.defaultMicrosoftScript="",this.canShowMicrosoftScript=!1,this.isMicrosoftCopied=!1,this.defaultClarityScript="",this.canShowClarityScript=!1,this.isClarityCopied=!1,this.defaultAmazonScript="",this.canShowAmazonScript=!1,this.isAmazonCopied=!1,this.defaultMetaScript="",this.metaPixelInstruction="\n  // Consequently, the code should be like this:\n   \x3c!-- Facebook Pixel Code --\x3e\n   <script>\n    !function(f,b,e,v,n,t,s)\n    {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n    n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n    if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n    n.queue=[];t=b.createElement(e);t.async=!0;\n    t.src=v;s=b.getElementsByTagName(e)[0];\n    s.parentNode.insertBefore(t,s)}(window, document,'script',\n    'https://connect.facebook.net/en_US/fbevents.js');\n    \x3c!-- Paste your copied code here --\x3e\n    fbq('init', '{your-facebook-pixel-id}');\n    fbq('track', 'PageView');\n   <\/script>",this.canShowMetaScript=!1,this.isMetaCopied=!1,this.defaultTikTokScript="",this.canShowTikTokScript=!1,this.isTikTokCopied=!1,this.titleService.setTitle("C
1ookie Consent Setup - "+m.N.portalPrefix),this.router.routeReuseStrategy.shouldReuseRoute=()=>!1}ngOnInit(){this.dataService.isSubscriptionExistForProperty()||this.onCheckSubscription(),this.dataService.isSubscriptionExistForProperty()&&(this.activateRoute.queryParams.subscribe(o=>{this.queryOID=o.oid,this.queryPID=o.pid}),this.onGetPropsAndOrgId(),this.onGetCookieBannerData())}onGetPropsAndOrgId(){if(null!==this.queryOID&&null!==this.queryPID&&void 0!==this.queryOID&&void 0!==this.queryPID)this.currentManagedOrgID=this.queryOID,this.currrentManagedPropID=this.queryPID;else{let o=(0,H.Dq)(this.location.path());this.currentManagedOrgID=o[0],this.currrentManagedPropID=o[1]}}onGetCookieBannerData(){this.loading.start("2"),this.loadingSkeleton=!0,this.cookieBannerService.onGetCookieBannerData(this.queryOID,this.queryPID,this.constructor.name,B.e.setUpModule).subscribe(o=>{this.loadingSkeleton=!1,this.loading.stop("2"),200===o.status&&o.hasOwnProperty("response")?(this.scriptUrl="https://"+o.response.js_location,this.canShowGcmScript=o?.response?.config?.gTag,this.canShowMicrosoftScript=o?.response?.config?.microsoftConsent,this.canShowClarityScript=o?.response?.config?.clarityConsent,this.canShowMetaScript=o?.response?.config?.metaPixelConsent,this.canShowAmazonScript=o?.response?.config?.amazonConsentMode,this.canShowTikTokScript=o?.response?.config?.tikTokConsentMode,this.canShowGcmScript&&(this.defaultGcmScirpt=this.gcmBussinessLogicService.getGcmScript(o.response.config)),this.canShowMicrosoftScript&&(this.defaultMicrosoftScript=this.gcmBussinessLogicService.getMicrosoftScript(o.response.config)),this.canShowClarityScript&&(this.defaultClarityScript=this.gcmBussinessLogicService.getClarityScript(o.response.config)),this.canShowMetaScript&&(this.defaultMetaScript=this.gcmBussinessLogicService.getMetaScript(o.response.config)),this.canShowAmazonScript&&(this.defaultAmazonScript=this.gcmBussinessLogicService.getAmazonConsentSignalScript(o.response.config)),this.canShowTikTokScript&&(this.defaultTikTokScript=this.gcmBussinessLogicService.getTikTokConsentScript(o.response.config)),-1!==this.scriptUrl.search("cmp/v1")&&(this.scriptVersion=1)):this.openModal(this.template)},o=>{this.loading.stop("2"),this.loadingSkeleton=!1,this.isOpen=!0,this.alertMsg=o,this.alertType="danger"})}onCopyScript(){this.scriptUrl.select(),document.execCommand("copy"),this.scriptUrl.setSelectionRange(0,0)}copyToClipboard(){this.isCopied.one=!0;const o=this.addScript+this.scriptUrl+this.closeScript;let t=null;t=document.createElement("textarea"),t.style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",document.body.appendChild(t),t.value=o.trim(),t.select(),document.execCommand("copy")}copyGcmToClipboard(){this.isGcmCopied=!0;const o=this.tagEle.openScript+this.defaultGcmScirpt+this.tagEle.closeScript;let t=null;t=document.createElement("textarea"),t.style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",document.body.appendChild(t),t.value=o.trim(),t.select(),document.execCommand("copy")}copyMicrosoftToClipboard(){this.isMicrosoftCopied=!0;const o=this.tagEle.openScript+this.defaultMicrosoftScript+this.tagEle.closeScript;let t=null;t=document.createElement("textarea"),t.style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",document.body.appendChild(t),t.value=o.trim(),t.select(),document.execCommand("copy")}copyClarityToClipboard(){this.isClarityCopied=!0;const o=this.tagEle.openScript+this.defaultClarityScript+this.tagEle.closeScript;let t=null;t=document.createElement("textarea"),t.style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",document.body.appendChild(t),t.value=o.trim(),t.select(),document.execCommand("copy")}copyMetaToClipboard(){this.isMetaCopied=!0;const o=this.defaultMetaScript;let t=null;t=document.createElement("textarea"),t.style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",document.body.appendChild(t),t.value=o.trim(),t.select(),document.execCommand("copy")}copyAmazonToClipboard(){this.isAmazonCopied=!0;const o=this.tagEle.openScript+this.defaultAmazonScript+this.tagEle.closeScript;let t=null;t=document.createElement("textarea"),t.style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",document.body.appendChild(t),t.value=o.trim(),t.select(),document.execCommand("copy")}copyTikTokToClipboard(){this.isTikTokCopied=!0;const o=this.tagEle.openScript+this.defaultTikTokScript+this.tagEle.closeScript;let t=null;t=document.createElement("textarea"),t.style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",document.body.appendChild(t),t.value=o.trim(),t.select(),document.execCommand("copy")}copyToClipboards(){this.isCopied.three=!0;let t=null;t=document.createElement("textarea"),t.style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",document.body.appendChild(t),t.value="<script>\n    // Replace Your AuthId '123123123'\n    document.cookie = \"authId=123123123\";\n    <\/script> ".trim(),t.select(),document.execCommand("copy")}hideshowvideo(){this.hidevideo=!1}showvideo(){this.hidevideo=!0}onTabclick(o){this.tabUrl=this.implementationVideoLink+o}openModal(o){this.modalRef=this.modalService.show(o,{animated:!1,keyboard:!1,ignoreBackdropClick:!0})}navigate(){this.modalRef.hide(),this.router.navigate(["/cookie-consent/banner-configuration"],{queryParams:{oid:this.queryOID,pid:this.queryPID},queryParamsHandling:"merge",skipLocationChange:!1})}onClosed(o){}copyToClipboardMethod(){this.isCopied.two=!0;let t=null;t=document.createElement("textarea"),t.style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",document.body.appendChild(t),t.value="<script>\n    // Execute the method for open Preferences\n    // Applicable for version 1\n    window.AzCMP.onOpenPopUp();\n    // Applicable for version 2\n    window.AZCookieConsent.onOpenPreference();\n    <\/script> ".trim(),t.select(),document.execCommand("copy")}onCheckSubscription(){const o=this.dataService.getCurrentPropertyPlanDetails();Object.keys(void 0!==o&&void 0!==o.response?o.response.features:null).length>0?this.dataService.isLicenseAppliedForProperty.next({requesttype:"property",hasaccess:!0}):this.dataService.isLicenseAppliedForProperty.next({requesttype:"property",hasaccess:!1})}};let i=a;return a.\u0275fac=function(t){return new(t||a)(e.Y36(M.s),e.Y36(L.LA),e.Y36(g.tT),e.Y36(h.F0),e.Y36(h.gz),e.Y36(N.Mn),e.Y36(z.D),e.Y36(q.Dx),e.Y36(c.Ye),e.Y36(u))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-setup"]],viewQuery:function(t,r){if(1&t&&e.Gf(fn,7),2&t){let l;e.iGM(l=e.CRH())&&(r.template=l.first)}},inputs:{isChild:"isChild"},decls:10,vars:5,consts:[["xmlns","http://www.w3.org/1999/html","appTheme",""],["class","d-sm-flex align-items-center justify-content-between mg-b-5 mg-lg-b-10 mg-xl-b-15",4,"ngIf"],["class","card mt-3 setupcontainer",4,"ngIf"],[1,"setupheader",2,"display","flex","justify-content","end"],[4,"ngIf"],[1,"col-sm-5","mt-3","mr-0","float-right"],["dismissOnTimeout","5000",3,"type","dismissible","onClosed",4,"ngIf"],["template",""],[1,"d-sm-flex","align-items-center","justify-content-between","mg-b-5","mg-lg-b-10","mg-xl-b-15"],["aria-label","breadcrumb"],[1,"breadcrumb","breadcrumb-style1","mg-b-10"],[1,"breadcrumb-item"],["routerLink","/home/dashboard/cookie-consent",3,"queryParams"],["routerLink","/cookie-consent/banner-configuration",3,"queryParams"],[1,"breadcrumb-item","active"],[1,"card","mt-3","setupcontainer"],[1,"card-body"],[1,"btn-group-action"],["type","button",1,"btn","btn-link",3,"ngStyle","click"],[1,"floatingdiv"],[1,"mt-2","ml-2",2,"display","flex","justify-content","space-between"],[1,"mt-2"],[1,"card","mt-3"],["class","Instru
1ctions-list mt-3",4,"ngIf"],["class","Instructions-list",4,"ngIf"],["count","5",4,"ngIf"],["class","card mt-3",4,"ngIf"],[1,"card-header"],[2,"justify-content","center","display","flex"],[1,"platform-list","d-flex","justify-content-center","flex-wrap","mt-3"],["target","_blank",3,"href"],["tooltip","HTML","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/html5.png",1,"platform-logo"],["tooltip","Wordpress","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/wordpress.svg",1,"platform-logo"],["tooltip","Shopify","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/shopify.svg",1,"platform-logo"],["tooltip","Squarespace","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/squarespace.svg",1,"platform-logo"],["tooltip","Blogger","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/blogger.svg",1,"platform-logo"],["tooltip","BigCommerce","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/big-commerce-logo-partner.png",1,"platform-logo"],["tooltip","Google tag manager","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/google_1.png",1,"platform-logo"],[2,"display","flex","justify-content","space-between","list-style-type","none"],[2,"width","33.33%","text-align","center","border-right","1px solid #ffc107"],["src","/assets/imgs/icons/help.png",1,"email-logo",2,"width","60px","height","60px"],[1,"effects"],[1,"text-center",2,"width","33.33%","text-align","center","border-right","1px solid #ffc107"],["href","mailto:"],["src","/assets/imgs/icons/email.svg",1,"email-logo"],[1,"mt-4"],[2,"width","33.33%","text-align","center"],["src","/assets/imgs/icons/neural.png",1,"email-logo",2,"width","50px","height","50px"],[1,"Instructions-list","mt-3"],[1,"card-header",2,"border","none"],[1,"mt-1"],["tooltip","To see the preview of cookie notice and privacy settings pop-up on your website","type","button","href","https://cdn.primeconsent.com/cmp/preview/index.html","target","_blank",1,"ml-2","pull-right","btn-sm","btn","btn-primary","previewbutton",2,"float","right"],["aria-hidden","true",1,"mr-1","fa","fa-eye"],["type","button",1,"pull-right","btn-sm","btn","btn-primary",2,"float","right",3,"click"],["aria-hidden","true",1,"mr-1","fa","fa-clipboard"],["style","background: #282a36;margin-top: 60px;","class","card-body mr-3",4,"ngIf"],[1,"mt-3"],[1,"Instructions-code","mr-3"],[2,"color","yellow"],[1,"card-body","mr-3",2,"background","#282a36","margin-top","60px"],[1,"text-danger","codeText"],[2,"color","#8be9fd"],[2,"color","#fff","font-size","16px"],[2,"color","rgb(116, 116, 116)","white-space","pre-wrap","text-align","left","display","block","margin-left","10px"],[2,"color","lightpink"],[1,"Instructions-list"],["tooltip","To see the preview of cookie notice and privacy settings pop-up on your website","type","button","href","https://cdn.primeconsent.com/cmp/preview/index.html","target","_blank",1,"ml-2","pull-right","btn-sm","btn","btn-primary",2,"float","right"],["src","/assets/implementationimages/wordpress_1.png"],["src","/assets/implementationimages/wordpress_2.png"],["src","/assets/implementationimages/wordpress_3.png"],["src","/assets/implementationimages/wordpress_4.png"],["src","/assets/implementationimages/shopify.png"],["src","/assets/implementationimages/shopify_1.png"],["src","/assets/implementationimages/shopify_2.png"],["src","/assets/implementationimages/big_1.png"],["src","/assets/implementationimages/big_2.png"],["src","/assets/implementationimages/squarespace_1.png"],["src","/assets/implementationimages/squarespace_2.png"],["src","/assets/implementationimages/blogger_1.png"],["src","/assets/implementationimages/blogger_2.png"],["count","5"],[2,"float","left"],["style","background: #282a36","class","card-body",4,"ngIf"],[1,"card-body",2,"background","#282a36"],[2,"color","rgb(116, 116, 116)"],[2,"color","#fff"],[2,"color","#ff3f7c"],[2,"color","#ffffff"],[2,"color","#f5cea9"],[2,"color","#ff3f7c","font-weight","bold"],[2,"color","green"],["dismissOnTimeout","5000",3,"type","dismissible","onClosed"],["appTheme","",1,"modal-body","text-center"],["type","button",1,"btn","btn-primary",3,"click"]],template:function(t,r){1&t&&(e.TgZ(0,"div",0),e.YNc(1,mn,14,8,"div",1),e.YNc(2,Cn,15,24,"div",2),e._UZ(3,"div",3),e.YNc(4,co,83,29,"ng-container",4),e.YNc(5,so,2,0,"ng-container",4),e.qZA(),e.TgZ(6,"div",5),e.YNc(7,_o,2,3,"alert",6),e.qZA(),e.YNc(8,po,7,0,"ng-template",null,7,e.W1O)),2&t&&(e.xp6(1),e.Q6J("ngIf",!r.isChild),e.xp6(1),e.Q6J("ngIf",1===r.currentStep),e.xp6(2),e.Q6J("ngIf",1===r.currentStep),e.xp6(1),e.Q6J("ngIf",2===r.currentStep),e.xp6(2),e.Q6J("ngIf",r.isOpen))},dependencies:[c.O5,c.PC,h.rH,W.wx,X.i9,ln.xr,Be.E,we],styles:['.head[_ngcontent-%COMP%]{border-bottom:1px solid;padding-bottom:10px}.codeText[_ngcontent-%COMP%]{font-size:19px}.floatingdiv[_ngcontent-%COMP%]{box-shadow:0 4px 8px #0003,0 6px 20px #00000030}.previewbutton[_ngcontent-%COMP%]{background-color:#0168fa}.btn-group-action[_ngcontent-%COMP%]{text-align:center;border-bottom:1px solid lightgray}.btn-group-action[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{color:#555;font-weight:600}.Instructions-list[_ngcontent-%COMP%]{counter-reset:step;list-style-type:none}.Instructions-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{position:relative;padding:0 0 60px 60px;min-height:75px;border-left:2px solid #C7E4FF;color:#44484b}.Instructions-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:before{counter-increment:step;content:counters(step,".") " ";position:absolute;
1left:-26px;top:0;height:50px;width:50px;padding-top:11px;font-size:17px;font-weight:700;line-height:20px;text-align:center;color:#fff;background-color:#001737;border:2px solid #C7E4FF;border-radius:50%;z-index:2}.Instructions-code[_ngcontent-%COMP%]{margin-bottom:40px;padding:20px;background:linear-gradient(45deg,#202143 0,#303261 100%);color:#aaacd8;font-family:courier,monospace;font-size:16px;-webkit-user-select:none;user-select:none;border-radius:10px;overflow:auto;white-space:nowrap}.Instructions-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child:before{content:"Done"}.Instructions-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{border-left:none}.icon-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:15px 16px;border-radius:100%;border:.5px solid #c2c3c5;margin-right:14px;cursor:pointer;box-shadow:0 2px 4px #0003,0 6px 20px #00000030}.platform-logo[_ngcontent-%COMP%]{width:25px;height:25px}.email-logo[_ngcontent-%COMP%]{width:40px;height:40px}.setupcontainer[_ngcontent-%COMP%]{background-color:inherit;border:none}.setupheader[_ngcontent-%COMP%]{display:flex;justify-content:space-between;border:none}.videosection[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.videos[_ngcontent-%COMP%]{background-color:#1d2951;background-image:linear-gradient(315deg,#1d2951 0%,#dbe7fc 74%)}.videotexts[_ngcontent-%COMP%]{display:flex;justify-content:space-between;border:none}.card-body-action[_ngcontent-%COMP%]{text-align:center;border-bottom:2px solid lightgray}.effects[_ngcontent-%COMP%]{background-image:linear-gradient(transparent 0%,transparent 90%,#1B365D 90%,#1B365D 100%);background-repeat:no-repeat;background-size:0% 100%;background-position-x:right;transition:background-size .3s}.effects[_ngcontent-%COMP%]:hover{background-size:100% 100%;background-position-x:left}']}),i})();var Pe=_(48625);const go=["fileInput"],uo=["noCookie"],fo=["tabset"],mo=["publish"];function Co(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"button",30),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(),r=e.MAs(34),l=e.MAs(38);return t.iab_tcf_v3_enabled=!0,t.publishType="publish",e.KtG(t.PublishModal(r,l))}),e.qZA()}if(2&i){const n=e.oxw();e.Q6J("hidden",!n.upgradeToTCF)("disabled","saving"===n.contentSaving||(null==n.BannerConfigurationForm?null:n.BannerConfigurationForm.invalid))}}function ho(i,a){if(1&i&&(e.TgZ(0,"p",79),e._uU(1),e.ALo(2,"timeago"),e.qZA()),2&i){const n=e.oxw(3);e.xp6(1),e.hij("Last Published : ",e.lcZ(2,1,null==n.BannerConfigurationForm.value?null:n.BannerConfigurationForm.value.PublishDateDisplay),"")}}function xo(i,a){if(1&i&&(e.TgZ(0,"div",191)(1,"div"),e._uU(2),e.qZA()()),2&i){const n=a.$implicit,o=e.oxw(5);e.xp6(2),e.Oqu(o.onFindGdprCountry(n))}}function To(i,a){1&i&&(e.TgZ(0,"div",192),e._uU(1," Select European Countries "),e.qZA())}function vo(i,a){if(1&i&&(e.YNc(0,xo,3,1,"div",189),e.YNc(1,To,2,0,"div",190)),2&i){const n=e.oxw(4);e.Q6J("ngForOf",n.BannerConfigurationForm.value.GdprCountries),e.xp6(1),e.Q6J("ngIf",!n.BannerConfigurationForm.value.GdprCountries||0===n.BannerConfigurationForm.value.GdprCountries.length)}}function bo(i,a){if(1&i&&(e.TgZ(0,"div",193)(1,"div"),e._uU(2),e.qZA()()),2&i){const n=a.$implicit;e.xp6(2),e.Oqu(n.name)}}function Zo(i,a){1&i&&(e.TgZ(0,"div"),e._uU(1,"GDPR Target is required"),e.qZA())}function Bo(i,a){if(1&i&&(e.TgZ(0,"div",194),e.YNc(1,Zo,2,0,"div",16),e.qZA()),2&i){const n=e.oxw(4);e.xp6(1),e.Q6J("ngIf",n.f.GdprCountries.errors.required)}}function yo(i,a){if(1&i&&(e.TgZ(0,"div",195),e._uU(1,"United States"),e.qZA()),2&i){const n=e.oxw(4);e.Q6J("hidden",59!==n.BannerConfigurationForm.value.CCPATarget.length)}}function wo(i,a){if(1&i&&(e.TgZ(0,"div",191)(1,"div"),e._uU(2),e.qZA()()),2&i){const n=a.$implicit,o=e.oxw(5);e.xp6(2),e.Oqu(o.onFindCcpaCountry(n))}}function Ao(i,a){if(1&i&&e.YNc(0,wo,3,1,"div",189),2&i){const n=e.oxw(4);e.Q6J("ngForOf",n.BannerConfigurationForm.value.CCPATarget)}}function ko(i,a){if(1&i&&(e.TgZ(0,"div",193)(1,"div",196),e._uU(2),e.qZA()()),2&i){const n=a.$implicit;e.xp6(1),e.s9C("title",n.name),e.xp6(1),e.Oqu(n.name)}}function Po(i,a){1&i&&(e.TgZ(0,"div"),e._uU(1,"USA Target is required"),e.qZA())}function So(i,a){if(1&i&&(e.TgZ(0,"div",194),e.YNc(1,Po,2,0,"div",16),e.qZA()),2&i){const n=e.oxw(4);e.xp6(1),e.Q6J("ngIf",n.f.CCPATarget.errors.required)}}function Uo(i,a){1&i&&e._UZ(0,"i",197)}function Do(i,a){1&i&&e._UZ(0,"i",197)}function qo(i,a){1&i&&e._UZ(0,"i",197)}function Mo(i,a){1&i&&e._UZ(0,"i",197)}function No(i,a){1&i&&e._UZ(0,"i",197)}function Io(i,a){1&i&&e._UZ(0,"i",197)}function Fo(i,a){1&i&&e._UZ(0,"i",197)}function Oo(i,a){1&i&&e._UZ(0,"i",197)}const P=function(i){return{color:i}},Jo=function(){return{label:"Manual",value:"manual"}},Go=function(){return{label:"Auto",value:"auto"}},R=function(i,a){return[i,a]};function Lo(i,a){if(1&i&&(e.TgZ(0,"div",107)(1,"div",169)(2,"p",112),e._uU(3,"Cookie Blocking Type "),e.qZA()(),e.TgZ(4,"div",168)(
15,"div",62),e._UZ(6,"p-selectButton",198),e.qZA()()()),2&i){const n=e.oxw(4);e.xp6(2),e.Q6J("ngStyle",e.VKq(3,P,n.BannerConfigurationForm.value.ShowBadge?null:"#999")),e.xp6(4),e.Q6J("disabled",!n.BannerConfigurationForm.value.ShowBadge)("options",e.WLB(7,R,e.DdM(5,Jo),e.DdM(6,Go)))}}function Ro(i,a){if(1&i&&(e.TgZ(0,"p",200),e._uU(1," You can manually configure the cookie blocking by using script, iframe, and image elements as shown in the article"),e.TgZ(2,"a",201),e._uU(3," Manual Cookie Blocking"),e.qZA()()),2&i){const n=e.oxw(5);e.xp6(2),e.MGl("href","",n.supportURL,"/help-center/articles/23/7/70/cookie-blocking#manual-cookie-blocking",e.LSH)}}const ce=function(i,a){return{oid:i,pid:a}};function Vo(i,a){if(1&i&&(e.TgZ(0,"p",200),e._uU(1," To configure automatic cookie blocking, go to "),e.TgZ(2,"a",202),e._uU(3," Auto Cookie Blocking "),e.qZA()()),2&i){const n=e.oxw(5);e.xp6(2),e.Q6J("queryParams",e.WLB(1,ce,n.currentManagedOrgID,n.currrentManagedPropID))}}function Qo(i,a){if(1&i&&(e.TgZ(0,"div"),e.YNc(1,Ro,4,1,"p",199),e.YNc(2,Vo,4,4,"p",199),e.qZA()),2&i){const n=e.oxw(4);e.xp6(1),e.Q6J("ngIf","manual"==n.BannerConfigurationForm.value.CookieBlockingType),e.xp6(1),e.Q6J("ngIf","auto"==n.BannerConfigurationForm.value.CookieBlockingType)}}function Eo(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",107)(1,"div",99)(2,"button",203),e.NdJ("click",function(t){e.CHM(n);const r=e.oxw(4),l=e.MAs(42);return r.openModal(l),e.KtG(t.preventDefault())}),e._uU(3,"Configure GPP"),e.qZA()()()}}function Ko(i,a){if(1&i&&(e.TgZ(0,"div",107)(1,"div",108)(2,"p",109),e._uU(3,"Consent Mode "),e._UZ(4,"i-feather",204),e.qZA()(),e.TgZ(5,"div",108),e._UZ(6,"p-dropdown",205),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(6),e.Q6J("options",n.gtagModes)}}function Yo(i,a){if(1&i&&(e.TgZ(0,"div",107)(1,"div",108)(2,"p",109),e._uU(3,"Basic consent Modes "),e._UZ(4,"i-feather",206),e.qZA()(),e.TgZ(5,"div",108),e._UZ(6,"p-dropdown",207),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(6),e.Q6J("options",n.gtagBasicModes)}}function Ho(i,a){1&i&&(e.TgZ(0,"div",107)(1,"div",108)(2,"p",109),e._uU(3,"Google Tag ID "),e._UZ(4,"i-feather",208),e.qZA()(),e.TgZ(5,"div",108),e._UZ(6,"input",209),e.qZA()())}function zo(i,a){1&i&&(e.TgZ(0,"div",107)(1,"div",108)(2,"p",109),e._uU(3,"Container ID "),e._UZ(4,"i-feather",210),e.qZA()(),e.TgZ(5,"div",108),e._UZ(6,"input",211),e.qZA()())}function jo(i,a){if(1&i&&(e.TgZ(0,"div",107)(1,"div",108)(2,"p",109),e._uU(3,"ad_storage "),e._UZ(4,"i-feather",212),e.qZA()(),e.TgZ(5,"div",108),e._UZ(6,"p-dropdown",213),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(6),e.Q6J("options",n.consentModes)}}function $o(i,a){if(1&i&&(e.TgZ(0,"div",107)(1,"div",108)(2,"p",109),e._uU(3,"analytics_storage "),e._UZ(4,"i-feather",214),e.qZA()(),e.TgZ(5,"div",108),e._UZ(6,"p-dropdown",215),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(6),e.Q6J("options",n.consentModes)}}function Wo(i,a){if(1&i&&(e.TgZ(0,"div",107)(1,"div",108)(2,"p",109),e._uU(3,"functionality_storage "),e._UZ(4,"i-feather",216),e.qZA()(),e.TgZ(5,"div",108),e._UZ(6,"p-dropdown",217),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(6),e.Q6J("options",n.consentModes)}}function Xo(i,a){if(1&i&&(e.TgZ(0,"div",107)(1,"div",108)(2,"p",109),e._uU(3,"personalization_storage "),e._UZ(4,"i-feather",218),e.qZA()(),e.TgZ(5,"div",108),e._UZ(6,"p-dropdown",219),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(6),e.Q6J("options",n.consentModes)}}function ei(i,a){if(1&i&&(e.TgZ(0,"div",107)(1,"div",108)(2,"p",109),e._uU(3,"ad_user_data "),e._UZ(4,"i-feather",220),e.qZA()(),e.TgZ(5,"div",108),e._UZ(6,"p-dropdown",221),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(6),e.Q6J("options",n.consentModes)}}function ni(i,a){if(1&i&&(e.TgZ(0,"div",107)(1,"div",108)(2,"p",109),e._uU(3,"ad_personalization "),e._UZ(4,"i-feather",222),e.qZA()(),e.TgZ(5,"div",108),e._UZ(6,"p-dropdown",223),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(6),e.Q6J("options",n.consentModes)}}function ti(i,a){1&i&&(e.TgZ(0,"div",107)(1,"div",108)(2,"p",109),e._uU(3,"wait_for_update "),e._UZ(4,"i-feather",224),e.qZA()(),e.TgZ(5,"div",108),e._UZ(6,"input",225),e.qZA()())}function oi(i,a){if(1&i&&(e.TgZ(0,"div",107)(1,"div",108)(2,"p",109),e._uU(3,"ad_storage "),e._UZ(4,"i-feather",212),e.qZA()(),e.TgZ(5,"div",108),e._UZ(6,"p-dropdown",226),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(6),e.Q6J("options",n.consentModes)}}function ii(i,a){if(1&i&&(e.TgZ(0,"div",107)(1,"div",108)(2,"p",109),e._uU(3,"ad_Storage "),e._UZ(4,"i-feather",227),e.qZA()(),e.TgZ(5,"div",108),e._UZ(6,"p-dropdown",228),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(6),e.Q6J("options",n.consentModes)}}function ri(i,a){if(1&i&&(e.TgZ(0,"div",107)(1,"div",108)(2,"p",109),e._uU(3,"analytics_Storage "),e._UZ(4,"i-feather",229),e.qZA()(),e.TgZ(5,"div",108),e._UZ(6,"p-dropdown",230),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(6),e.Q6J("options",n.consentModes)}}function ai(i,a){if(1&i&&(e.TgZ(0,"div",107)(1,"div",108)(2,"p",109),e._uU(3,"consent "),e._UZ(4,"i-feather",231),e.qZA()(),e.TgZ(5,"div",108),e._UZ(6,"p-dropdown",232),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(6),e.Q6J("options",n.metaConsentModes)}}function li(i,a){if(1&i&&(e.TgZ(0,"p",233),e._uU(1),e.qZA()),2&i){const n=e.oxw(4);e.xp6(1),e.hij("",n.companyLogoValidation.msg," ")}}function ci(i,a){if(1&i&&e._UZ(0,"img",234),2&i){const n=e.oxw(4);e.Q6J("src",n.customerBrandLogo,e.LSH)}}function si(i,a){1&i&&(e.TgZ(0,"h5",235),e._UZ(1,"i",236),e._uU(2," Image Preview"),e.qZA())}function _i(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"button",237),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(4);return e.KtG(t.onResetPreview())}),e._uU(1,"Remove "),e.qZA()}}function pi(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"tr")(1,"th",238)(2,"p-checkbox",239),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(4);return e.KtG(r.onAllowAllLanguage(t))}),e.qZA()(),e.TgZ(3,"th",240),e._uU(4,"Language"),e.qZA(),e._UZ(5,"th",241),e.TgZ(6,"th",242),e._uU(7,"Default"),e.qZA()()}}function gi(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"button",249),e.NdJ("click",function(){e.CHM(n);const t=e.oxw().$implicit,r=e.oxw(4);return e.KtG(r.onResetLang(t.code,t))}),e._uU(1," Reset "),e.qZA()}}function di(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"tr")(1,"td",243)(2,"input",244),e.NdJ("change",function(t){const l=e.CHM(n).$implicit,p=e.oxw(4);return e.KtG(p.onSetLanguage(t,l.code))}),e.qZA()(),e.TgZ(3,"td",245),e._uU(4),e.qZA(),e.TgZ(5,"td",243),e.YNc(6,gi,2,0,"button",246),e.qZA(),e.TgZ(7,"td",247),e._UZ(8,"p-radioButton",248),e.qZA()()}if(2&i){const n=a.$implicit,o=e.oxw(4);e.xp6(2),e.Q6J("checked",o.selectedLanguage.includes(n.code))("value",n.code)("disabled",o.BannerConfigurationForm.value.DefaultLanguage===n.co
1de),e.xp6(2),e.hij(" ",n.title,""),e.xp6(2),e.Q6J("ngIf",o.customLang.includes(n.code)),e.xp6(2),e.Q6J("disabled",!o.selectedLanguage.includes(n.code))("value",n.code)}}function ui(i,a){if(1&i&&(e.TgZ(0,"div",259)(1,"span",260),e._uU(2),e.qZA()()),2&i){const n=e.oxw(6);e.xp6(2),e.hij(" ",n.BannerConfigurationForm.value.PreviewLanguage.title," ")}}function fi(i,a){if(1&i&&e.YNc(0,ui,3,1,"div",258),2&i){const n=e.oxw(5);e.Q6J("ngIf",n.BannerConfigurationForm.value.PreviewLanguage)}}function mi(i,a){if(1&i&&(e.TgZ(0,"div",261)(1,"span",260),e._uU(2),e.qZA()()),2&i){const n=a.$implicit;e.xp6(2),e.hij("",n.title," ")}}function Ci(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"p-messages",262),e.NdJ("valueChange",function(t){e.CHM(n);const r=e.oxw(5);return e.KtG(r.messages=t)}),e.qZA()}if(2&i){const n=e.oxw(5);e.Q6J("value",n.messages)("enableService",!1)("closable",!1)}}function hi(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function xi(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function Ti(i,a){1&i&&(e.TgZ(0,"div",271)(1,"div",272)(2,"label",273),e._uU(3,"Title"),e.qZA(),e._UZ(4,"br")(5,"input",274),e.qZA(),e.TgZ(6,"div",272)(7,"label",273),e._uU(8,"Description"),e.qZA(),e._UZ(9,"br")(10,"textarea",275),e.qZA(),e.TgZ(11,"div",272)(12,"label",273),e._uU(13,"Privacy Text"),e.qZA(),e._UZ(14,"br")(15,"input",276),e.qZA(),e.TgZ(16,"div",272)(17,"label",273),e._uU(18,"Link"),e.qZA(),e._UZ(19,"br")(20,"input",277),e.qZA()())}function vi(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function bi(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function Zi(i,a){if(1&i&&(e.TgZ(0,"div",271)(1,"div",272)(2,"label",273),e._uU(3,"GDPR Description "),e._UZ(4,"i-feather",278),e.qZA(),e._UZ(5,"br")(6,"textarea",279),e.qZA()()),2&i){const n=e.oxw(6);e.xp6(4),e.Q6J("hidden",n.upgradeToTCF)}}function Bi(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function yi(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function wi(i,a){1&i&&(e.TgZ(0,"div",271)(1,"div",272)(2,"label",273),e._uU(3,"Accept All"),e.qZA(),e._UZ(4,"br")(5,"input",280),e.qZA(),e.TgZ(6,"div",272)(7,"label",273),e._uU(8,"Preference"),e.qZA(),e._UZ(9,"br")(10,"input",281),e.qZA(),e.TgZ(11,"div",272)(12,"label",273),e._uU(13,"Disable All Button (GLOBAL)"),e.qZA(),e._UZ(14,"br")(15,"input",282),e.qZA(),e.TgZ(16,"div",272)(17,"label",273),e._uU(18,"Deny All (CCPA)"),e.qZA(),e._UZ(19,"br")(20,"input",283),e.qZA()())}function Ai(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",263)(1,"div",264)(2,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("cookieNotice"))}),e._uU(3,"Cookie Notice "),e.YNc(4,hi,2,0,"span",16),e.YNc(5,xi,2,0,"span",16),e.qZA(),e._UZ(6,"p-divider"),e.YNc(7,Ti,21,0,"div",266),e.qZA(),e.TgZ(8,"div",267)(9,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("GDPRdescription"))}),e._uU(10,"Banner Description "),e.YNc(11,vi,2,0,"span",16),e.YNc(12,bi,2,0,"span",16),e.qZA(),e._UZ(13,"p-divider"),e.YNc(14,Zi,7,1,"div",266),e.qZA(),e.TgZ(15,"div",268)(16,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("bannerButton"))}),e._uU(17,"Buttons "),e.YNc(18,Bi,2,0,"span",16),e.YNc(19,yi,2,0,"span",16),e.qZA(),e._UZ(20,"p-divider"),e.YNc(21,wi,21,0,"div",266),e.qZA()()}if(2&i){const n=e.oxw(5);e.xp6(4),e.Q6J("ngIf","cookieNotice"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","cookieNotice"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","cookieNotice"===n.showDropDownValue),e.xp6(4),e.Q6J("ngIf","GDPRdescription"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","GDPRdescription"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","GDPRdescription"===n.showDropDownValue),e.xp6(4),e.Q6J("ngIf","bannerButton"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","bannerButton"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","bannerButton"===n.showDropDownValue)}}function ki(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function Pi(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function Si(i,a){if(1&i&&(e.TgZ(0,"div",271)(1,"div",272)(2,"label",273),e._uU(3,"Purpose Description"),e.qZA(),e._UZ(4,"br")(5,"textarea",289),e.qZA(),e.TgZ(6,"div",272)(7,"label",273),e._uU(8,"Vendor Description "),e._UZ(9,"
1i-feather",278),e.qZA(),e._UZ(10,"br")(11,"textarea",290),e.qZA()()),2&i){const n=e.oxw(6);e.xp6(9),e.Q6J("hidden",n.upgradeToTCF)}}function Ui(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function Di(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function qi(i,a){1&i&&(e.TgZ(0,"div",271)(1,"div",272)(2,"label",273),e._uU(3,"Purpose Description"),e.qZA(),e._UZ(4,"br")(5,"textarea",291),e.qZA(),e.TgZ(6,"div",272)(7,"label",273),e._uU(8,"Privacy Description"),e.qZA(),e._UZ(9,"br")(10,"textarea",292),e.qZA()())}function Mi(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function Ni(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function Ii(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",271)(1,"div",272)(2,"label",273),e._uU(3,"Privacy Information Heading"),e.qZA(),e._UZ(4,"br")(5,"textarea",293),e.qZA(),e.TgZ(6,"div",272)(7,"label",273),e._uU(8,"Privacy Information Title"),e.qZA(),e._UZ(9,"br")(10,"textarea",294),e.qZA(),e.TgZ(11,"div",272)(12,"label",273),e._uU(13,"Privacy Information Description"),e.qZA(),e._UZ(14,"br")(15,"textarea",295),e.qZA(),e.TgZ(16,"div")(17,"button",296),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(6),r=e.MAs(36);return e.KtG(t.openModal(r))}),e._uU(18,"Manage Privacy Info "),e.qZA()()()}if(2&i){const n=e.oxw(6);e.xp6(17),e.Q6J("disabled",n.canShowPrivacyInfoModal)}}function Fi(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function Oi(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function Ji(i,a){1&i&&(e.TgZ(0,"div",271)(1,"div",272)(2,"label",273),e._uU(3,"Accept All"),e.qZA(),e._UZ(4,"br")(5,"input",297),e.qZA(),e.TgZ(6,"div",272)(7,"label",273),e._uU(8,"Save My Choice"),e.qZA(),e._UZ(9,"br")(10,"input",298),e.qZA(),e.TgZ(11,"div",272)(12,"label",273),e._uU(13,"Disable All"),e.qZA(),e._UZ(14,"br")(15,"input",299),e.qZA(),e.TgZ(16,"div",272)(17,"label",273),e._uU(18,"Deny All (CCPA)"),e.qZA(),e._UZ(19,"br")(20,"input",300),e.qZA()())}function Gi(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",284)(1,"div",285)(2,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("preferencePurposeAndVendors"))}),e._uU(3,"Purpose & Vendor ( GDPR ) "),e.YNc(4,ki,2,0,"span",16),e.YNc(5,Pi,2,0,"span",16),e.qZA(),e._UZ(6,"p-divider"),e.YNc(7,Si,12,1,"div",266),e.qZA(),e.TgZ(8,"div",286)(9,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("preferencePurposeAndPrivacy"))}),e._uU(10,"Purpose & Privacy ( CCPA & Global ) "),e.YNc(11,Ui,2,0,"span",16),e.YNc(12,Di,2,0,"span",16),e.qZA(),e._UZ(13,"p-divider"),e.YNc(14,qi,11,0,"div",266),e.qZA(),e.TgZ(15,"div",287)(16,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("privacyInformation"))}),e._uU(17,"Privacy Information "),e.YNc(18,Mi,2,0,"span",16),e.YNc(19,Ni,2,0,"span",16),e.qZA(),e._UZ(20,"p-divider"),e.YNc(21,Ii,19,1,"div",266),e.qZA(),e.TgZ(22,"div",288)(23,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("preferenceButtons"))}),e._uU(24,"Buttons "),e.YNc(25,Fi,2,0,"span",16),e.YNc(26,Oi,2,0,"span",16),e.qZA(),e._UZ(27,"p-divider"),e.YNc(28,Ji,21,0,"div",266),e.qZA()()}if(2&i){const n=e.oxw(5);e.xp6(4),e.Q6J("ngIf","preferencePurposeAndVendors"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","preferencePurposeAndVendors"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","preferencePurposeAndVendors"===n.showDropDownValue),e.xp6(4),e.Q6J("ngIf","preferencePurposeAndPrivacy"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","preferencePurposeAndPrivacy"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","preferencePurposeAndPrivacy"===n.showDropDownValue),e.xp6(4),e.Q6J("ngIf","privacyInformation"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","privacyInformation"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","privacyInformation"===n.showDropDownValue),e.xp6(4),e.Q6J("ngIf","preferenceButtons"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","preferenceButtons"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","preferenceButtons"===n.showDropDownValue)}}const J=function(i,a){return{color:i,"border-bottom":a}};function Li(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",250)(1,"p-divider",83)(2,"b"),e._uU(3,"Content"),e.qZA()(),e.TgZ(4,"div",251)(5,"div",63)(6,"p",100),e._uU(7,"Preview Language"),e.qZA()(),e.TgZ(8,"div",166)(9,"p-dropdown",252),e.NdJ("onChange",function(){e.CHM(n);const t=e.oxw(4);return e.KtG(t.onSelectPreviewLang())}),e.YNc(10,fi,1,1,"ng-template",124),e.YNc(11,mi,3,1,"ng-template",105),e.qZA()()(),e.YNc(12,Ci,1,3,"p-messages",253),e.TgZ(13,"div",254)(14,"button",255),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(4);return t.currentBannerLayer="banner",e.KtG(t.BundlePayloadChange())}),e._uU(15,"Banner "),e.qZA(),e.TgZ(16,"button",255),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(4);return t.currentBannerLayer="preference",e.KtG(t.BundlePayloadChange())}),e._uU(17,"Preference "),e.qZA()(),e.YNc(18,Ai,22,9,"div",256),e.YNc(19,Gi,29,12,"div",257),e.qZA()}if(2&i){const n=e.oxw(4);e.xp6(9),e.Q6J("options",n.allowedLanguagesForPreview)("showClear",!1),e.xp6(3),e.Q6J("ngIf",n.canShowPrivacyInfoModal),e.xp6(2),e.Q6J("ngStyle",e.WLB(7,J,"banner"===n.currentBannerLayer?"var(--side-nav-org)":"#555","banner"===n.currentBannerLayer?"2px solid":null)),e.xp6(2),e.Q6J("ngStyle",e.WLB(10,J,"preference"===n.currentBannerLayer?"var(--side-nav-org)":"#555","preference"===n.currentBannerLayer?"2px solid":null)),e.xp6(2),e.Q6J("ngIf","banner"===n.currentBannerLayer),e.xp6(1),e.Q6J("ngIf","preference"===n.currentBannerLayer)}}function Ri(i,a){1&i&&(e.TgZ(0,"span",325),e._UZ(1,"i",326),e.qZA())}function Vi(i,a){1&i&&(e.TgZ(0,"span",325),e._UZ(1,"i",326),e.qZA())}function Qi(i,a){1&i&&(e.TgZ(0,"span",325),e._UZ(1,"i",326),e.qZA())}function Ei(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function Ki(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function Yi(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",271)(1,"div",327)(2,"div",328)(3,"label",273),e._uU(4,"Backgroun
1d"),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"div",62)(7,"p-colorPicker",329),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerCookieNoticeBackgroundColor=t)}),e.qZA(),e.TgZ(8,"input",330),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerCookieNoticeBackgroundColor=t)}),e.qZA()()(),e.TgZ(9,"div",328)(10,"label",273),e._uU(11,"Text "),e.qZA(),e._UZ(12,"br"),e.TgZ(13,"div",62)(14,"p-colorPicker",331),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerCookieNoticeTextColor=t)}),e.qZA(),e.TgZ(15,"input",332),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerCookieNoticeTextColor=t)}),e.qZA()()(),e.TgZ(16,"div",333)(17,"label",273),e._uU(18,"Border"),e.qZA(),e._UZ(19,"br"),e.TgZ(20,"div",62)(21,"p-colorPicker",334),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerCookieNoticeBorderColor=t)}),e.qZA(),e.TgZ(22,"input",335),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerCookieNoticeBorderColor=t)}),e.qZA()()(),e.TgZ(23,"div",333)(24,"label",273),e._uU(25,"Privacy Link"),e.qZA(),e._UZ(26,"br"),e.TgZ(27,"div",62)(28,"p-colorPicker",336),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerCookieNoticePrivacyLinkColor=t)}),e.qZA(),e.TgZ(29,"input",337),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerCookieNoticePrivacyLinkColor=t)}),e.qZA()()()()()}if(2&i){const n=e.oxw(6);e.xp6(7),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.BannerCookieNoticeBackgroundColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.BannerCookieNoticeBackgroundColor),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.BannerCookieNoticeTextColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.BannerCookieNoticeTextColor),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.BannerCookieNoticeBorderColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.BannerCookieNoticeBorderColor),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.BannerCookieNoticePrivacyLinkColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.BannerCookieNoticePrivacyLinkColor)}}function Hi(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function zi(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function ji(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",271)(1,"div",327)(2,"div",328)(3,"label",273),e._uU(4,"Background"),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"div",62)(7,"p-colorPicker",338),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerAcceptAllBackgroundColor=t)}),e.qZA(),e.TgZ(8,"input",339),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerAcceptAllBackgroundColor=t)}),e.qZA()()(),e.TgZ(9,"div",328)(10,"label",273),e._uU(11,"Text "),e.qZA(),e._UZ(12,"br"),e.TgZ(13,"div",62)(14,"p-colorPicker",340),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerAcceptAllTextColor=t)}),e.qZA(),e.TgZ(15,"input",341),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerAcceptAllTextColor=t)}),e.qZA()()()()()}if(2&i){const n=e.oxw(6);e.xp6(7),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.BannerAcceptAllBackgroundColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.BannerAcceptAllBackgroundColor),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.BannerAcceptAllTextColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.BannerAcceptAllTextColor)}}function $i(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function Wi(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function Xi(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",342)(1,"div",62)(2,"div",328)(3,"label",273),e._uU(4,"Backgroun
1d"),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"div",62)(7,"p-colorPicker",343),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerPreferenceBackgroundColor=t)}),e.qZA(),e.TgZ(8,"input",344),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerPreferenceBackgroundColor=t)}),e.qZA()()(),e.TgZ(9,"div",328)(10,"label",273),e._uU(11,"Text "),e.qZA(),e._UZ(12,"br"),e.TgZ(13,"div",62)(14,"p-colorPicker",345),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerPreferenceTextColor=t)}),e.qZA(),e.TgZ(15,"input",346),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerPreferenceTextColor=t)}),e.qZA()()()()()}if(2&i){const n=e.oxw(6);e.xp6(7),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.BannerPreferenceBackgroundColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.BannerPreferenceBackgroundColor),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.BannerPreferenceTextColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.BannerPreferenceTextColor)}}function er(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function nr(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function tr(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",271)(1,"div",347)(2,"div",328)(3,"label",273),e._uU(4,"Background"),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"div",62)(7,"p-colorPicker",348),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerDisableAllBackgroundColor=t)}),e.qZA(),e.TgZ(8,"input",349),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerDisableAllBackgroundColor=t)}),e.qZA()()(),e.TgZ(9,"div",328)(10,"label",273),e._uU(11,"Text "),e.qZA(),e._UZ(12,"br"),e.TgZ(13,"div",62)(14,"p-colorPicker",350),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerDisableAllTextColor=t)}),e.qZA(),e.TgZ(15,"input",351),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerDisableAllTextColor=t)}),e.qZA()()()()()}if(2&i){const n=e.oxw(6);e.xp6(7),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.BannerDisableAllBackgroundColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.BannerDisableAllBackgroundColor),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.BannerDisableAllTextColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.BannerDisableAllTextColor)}}function or(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function ir(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function rr(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",271)(1,"div",347)(2,"div",328)(3,"label",273),e._uU(4,"Background"),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"div",62)(7,"p-colorPicker",352),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);
1return e.KtG(r.colorPicker.BannerDoNotSellBackgroundColor=t)}),e.qZA(),e.TgZ(8,"input",353),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerDoNotSellBackgroundColor=t)}),e.qZA()()(),e.TgZ(9,"div",328)(10,"label",273),e._uU(11,"Text "),e.qZA(),e._UZ(12,"br"),e.TgZ(13,"div",62)(14,"p-colorPicker",354),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerDoNotSellTextColor=t)}),e.qZA(),e.TgZ(15,"input",355),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerDoNotSellTextColor=t)}),e.qZA()()()()()}if(2&i){const n=e.oxw(6);e.xp6(7),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.BannerDoNotSellBackgroundColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.BannerDoNotSellBackgroundColor),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.BannerDoNotSellTextColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.BannerDoNotSellTextColor)}}function ar(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function lr(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function cr(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",271)(1,"div",347)(2,"div",328)(3,"label",273),e._uU(4,"Background"),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"div",62)(7,"p-colorPicker",356),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerContinueBackgroundColor=t)}),e.qZA(),e.TgZ(8,"input",357),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerContinueBackgroundColor=t)}),e.qZA()()(),e.TgZ(9,"div",328)(10,"label",273),e._uU(11,"Text "),e.qZA(),e._UZ(12,"br"),e.TgZ(13,"div",62)(14,"p-colorPicker",358),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerContinueTextColor=t)}),e.qZA(),e.TgZ(15,"input",359),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerContinueTextColor=t)}),e.qZA()()()()()}if(2&i){const n=e.oxw(6);e.xp6(7),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.BannerContinueBackgroundColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.BannerContinueBackgroundColor),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.BannerContinueTextColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.BannerContinueTextColor)}}function sr(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function _r(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function pr(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",271)(1,"div",347)(2,"div",328)(3,"label",273),e._uU(4,"Background"),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"div",62)(7,"p-colorPicker",360),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);
1return e.KtG(r.colorPicker.BannerBadgeBackgroundColor=t)}),e.qZA(),e.TgZ(8,"input",361),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerBadgeBackgroundColor=t)}),e.qZA()()(),e.TgZ(9,"div",328)(10,"label",273),e._uU(11,"Text "),e.qZA(),e._UZ(12,"br"),e.TgZ(13,"div",62)(14,"p-colorPicker",362),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerBadgeTextColor=t)}),e.qZA(),e.TgZ(15,"input",363),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.BannerBadgeTextColor=t)}),e.qZA()()()()()}if(2&i){const n=e.oxw(6);e.xp6(7),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.BannerBadgeBackgroundColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.BannerBadgeBackgroundColor),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.BannerBadgeTextColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.BannerBadgeTextColor)}}function gr(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function dr(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function ur(i,a){1&i&&(e.TgZ(0,"div",271)(1,"div",347)(2,"div",364)(3,"label",365),e._uU(4,"Margin Top"),e.TgZ(5,"span",366),e._uU(6,"-px"),e.qZA()(),e._UZ(7,"p-inputNumber",367),e.qZA(),e.TgZ(8,"div",364)(9,"label",365),e._uU(10,"Margin Bottom"),e.TgZ(11,"span",366),e._uU(12,"-px"),e.qZA()(),e._UZ(13,"p-inputNumber",368),e.qZA(),e.TgZ(14,"div",364)(15,"label",365),e._uU(16,"Margin Left"),e.TgZ(17,"span",366),e._uU(18,"-px"),e.qZA()(),e._UZ(19,"p-inputNumber",369),e.qZA(),e.TgZ(20,"div",364)(21,"label",365),e._uU(22,"Margin Right"),e.TgZ(23,"span",366),e._uU(24,"-px"),e.qZA()(),e._UZ(25,"p-inputNumber",370),e.qZA()()()),2&i&&(e.xp6(7),e.Q6J("showButtons",!0)("min",0)("max",100),e.xp6(6),e.Q6J("showButtons",!0)("min",0)("max",100),e.xp6(6),e.Q6J("showButtons",!0)("min",0)("max",100),e.xp6(6),e.Q6J("showButtons",!0)("min",0)("max",100))}function fr(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function mr(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function Cr(i,a){1&i&&(e.TgZ(0,"div",271)(1,"div",347)(2,"div",364)(3,"label",371),e._uU(4,"Padding Top"),e.TgZ(5,"span",366),e._uU(6,"-px"),e.qZA()(),e._UZ(7,"p-inputNumber",372),e.qZA(),e.TgZ(8,"div",364)(9,"label",373),e._uU(10,"Padding Bottom"),e.TgZ(11,"span",366),e._uU(12,"-px"),e.qZA()(),e._UZ(13,"p-inputNumber",374),e.qZA(),e.TgZ(14,"div",364)(15,"label",375),e._uU(16,"Padding Left"),e.TgZ(17,"span",366),e._uU(18,"-px"),e.qZA()(),e._UZ(19,"p-inputNumber",376),e.qZA(),e.TgZ(20,"div",364)(21,"label",377),e._uU(22,"Padding Right"),e.TgZ(23,"span",366),e._uU(24,"-px"),e.qZA()(),e._UZ(25,"p-inputNumber",378),e.qZA()()()),2&i&&(e.xp6(7),e.Q6J("showButtons",!0)("min",0)("max",100),e.xp6(6),e.Q6J("showButtons",!0)("min",0)("max",100),e.xp6(6),e.Q6J("showButtons",!0)("min",0)("max",100),e.xp6(6),e.Q6J("showButtons",!0)("min",0)("max",100))}const S=function(i){return{display:i}};function hr(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",304)(1,"div",305)(2,"div",306),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onSelectThemeType("light"))}),e._UZ(3,"i",307),e.TgZ(4,"span",308),e._uU(5,"Light Theme"),e.qZA(),e.YNc(6,Ri,2,0,"span",309),e.qZA(),e.TgZ(7,"div",310),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onSelectThemeType("dark"))}),e._UZ(8,"i",311),e.TgZ(9,"span",308),e._uU(10,"Dark Theme"),e.qZA(),e.YNc(11,Vi,2,0,"span",309),e.qZA(),e.TgZ(12,"div",306),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onSelectThemeType("custom"))}),e._UZ(13,"i",312),e.TgZ(14,"span",308),e._uU(15,"Custom Colors"),e.qZA(),e.YNc(16,Qi,2,0,"span",309),e.qZA()(),e.TgZ(17,"div",313)(18,"p-divider",83)(19,"b"),e._UZ(20,"i",314),e._uU(21," Customization "),e.qZA()(),e.TgZ(22,"div",315)(23,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("cookieNoticeColor"))}),e._uU(24,"Cookie Notice "),e.YNc(25,Ei,2,0,"span",16),e.YNc(26,Ki,2,0,"span",16),e.qZA(),e._UZ(27,"p-divider"),e.YNc(28,Yi,30,16,"div",266),e.qZA(),e.TgZ(29,"div",316)(30,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("acceptAllBannerButtonColor"))}),e._uU(31," Accept All "),e.YNc(32,Hi,2,0,"span",16),e.YNc(33,zi,2,0,"span",16),e.qZA(),e._UZ(34,"p-divider"),e.YNc(35,ji,16,8,"div",266),e.qZA(),e.TgZ(36,"div",317)(37,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("preferenceBannerButtonColor"))}),e._uU(38," Preference "),e.YNc(39,$i,2,0,"span",16),e.YNc(40,Wi,2,0,"span",16),e.qZA(),e._UZ(41,"p-div
1ider"),e.YNc(42,Xi,16,8,"div",318),e.qZA(),e.TgZ(43,"div",319)(44,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("disableAllBannerButtonColor"))}),e._uU(45," Disable All "),e.YNc(46,er,2,0,"span",16),e.YNc(47,nr,2,0,"span",16),e.qZA(),e._UZ(48,"p-divider"),e.YNc(49,tr,16,8,"div",266),e.qZA(),e.TgZ(50,"div",320)(51,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("doNotSellMyDataBannerButtonColor"))}),e._uU(52," Deny All (CCPA) "),e.YNc(53,or,2,0,"span",16),e.YNc(54,ir,2,0,"span",16),e.qZA(),e._UZ(55,"p-divider"),e.YNc(56,rr,16,8,"div",266),e.qZA(),e.TgZ(57,"div",321)(58,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("ContinueBannerButtonColor"))}),e._uU(59," Continue (GPC) "),e.YNc(60,ar,2,0,"span",16),e.YNc(61,lr,2,0,"span",16),e.qZA(),e._UZ(62,"p-divider"),e.YNc(63,cr,16,8,"div",266),e.qZA(),e.TgZ(64,"div",322)(65,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("badgeButtonColor"))}),e._uU(66,"Badge Button "),e.YNc(67,sr,2,0,"span",16),e.YNc(68,_r,2,0,"span",16),e.qZA(),e._UZ(69,"p-divider"),e.YNc(70,pr,16,8,"div",266),e.qZA(),e.TgZ(71,"div",323)(72,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("bannerMargin"))}),e._uU(73,"Margin "),e.YNc(74,gr,2,0,"span",16),e.YNc(75,dr,2,0,"span",16),e.qZA(),e._UZ(76,"p-divider"),e.YNc(77,ur,26,12,"div",266),e.qZA(),e.TgZ(78,"div",324)(79,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("bannerPadding"))}),e._uU(80,"Padding "),e.YNc(81,fr,2,0,"span",16),e.YNc(82,mr,2,0,"span",16),e.qZA(),e._UZ(83,"p-divider"),e.YNc(84,Cr,26,12,"div",266),e.qZA()()()}if(2&i){const n=e.oxw(5);e.xp6(6),e.Q6J("ngIf","light"===n.themeType),e.xp6(5),e.Q6J("ngIf","dark"===n.themeType),e.xp6(5),e.Q6J("ngIf","custom"===n.themeType),e.xp6(1),e.Q6J("ngStyle",e.VKq(31,S,"custom"===n.themeType?"block":"none")),e.xp6(8),e.Q6J("ngIf","cookieNoticeColor"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","cookieNoticeColor"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","cookieNoticeColor"===n.showDropDownValue),e.xp6(4),e.Q6J("ngIf","acceptAllBannerButtonColor"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","acceptAllBannerButtonColor"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","acceptAllBannerButtonColor"===n.showDropDownValue),e.xp6(4),e.Q6J("ngIf","preferenceBannerButtonColor"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","preferenceBannerButtonColor"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","preferenceBannerButtonColor"===n.showDropDownValue),e.xp6(4),e.Q6J("ngIf","disableAllBannerButtonColor"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","disableAllBannerButtonColor"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","disableAllBannerButtonColor"===n.showDropDownValue),e.xp6(4),e.Q6J("ngIf","doNotSellMyDataBannerButtonColor"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","doNotSellMyDataBannerButtonColor"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","doNotSellMyDataBannerButtonColor"===n.showDropDownValue),e.xp6(4),e.Q6J("ngIf","ContinueBannerButtonColor"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","ContinueBannerButtonColor"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","ContinueBannerButtonColor"===n.showDropDownValue),e.xp6(4),e.Q6J("ngIf","badgeButtonColor"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","badgeButtonColor"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","badgeButtonColor"===n.showDropDownValue),e.xp6(4),e.Q6J("ngIf","bannerMargin"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","bannerMargin"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","bannerMargin"===n.showDropDownValue),e.xp6(4),e.Q6J("ngIf","bannerPadding"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","bannerPadding"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","bannerPadding"===n.showDropDownValue)}}function xr(i,a){1&i&&(e.TgZ(0,"span",325),e._UZ(1,"i",326),e.qZA())}function Tr(i,a){1&i&&(e.TgZ(0,"span",325),e._UZ(1,"i",326),e.qZA())}function vr(i,a){1&i&&(e.TgZ(0,"span",325),e._UZ(1,"i",326),e.qZA())}function br(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function Zr(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function Br(i,a){1&i&&e._UZ(0,"i",410)}function yr(i,a){1&i&&e._UZ(0,"i",410)}function wr(i,a){1&i&&e._UZ(0,"i",410)}function Ar(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",271)(1,"div",347)(2,"div",328)(3,"label",273),e._uU(4,"Backgroun
1d"),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"div",62)(7,"p-colorPicker",388),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceBackgroundColor=t)}),e.qZA(),e.TgZ(8,"input",389),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceBackgroundColor=t)}),e.qZA()()(),e.TgZ(9,"div",328)(10,"label",273),e._uU(11,"Text "),e.qZA(),e._UZ(12,"br"),e.TgZ(13,"div",62)(14,"p-colorPicker",390),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceTextColor=t)}),e.qZA(),e.TgZ(15,"input",391),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceTextColor=t)}),e.qZA()()(),e.TgZ(16,"div",392)(17,"p-divider",83)(18,"b",393),e._uU(19,"Toggle Button Type"),e.qZA()(),e.TgZ(20,"div",394)(21,"div",395),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(6);return e.KtG(t.onSetToggleType("none"))}),e.YNc(22,Br,1,0,"i",396),e._UZ(23,"img",397),e.qZA(),e.TgZ(24,"div",398),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(6);return e.KtG(t.onSetToggleType("checkMark"))}),e.YNc(25,yr,1,0,"i",396),e._UZ(26,"img",397),e.qZA(),e.TgZ(27,"div",399),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(6);return e.KtG(t.onSetToggleType("onOff"))}),e.YNc(28,wr,1,0,"i",396),e._UZ(29,"img",397),e.qZA()()(),e.TgZ(30,"div",333)(31,"label",273),e._uU(32,"Switch Enable"),e.qZA(),e._UZ(33,"br"),e.TgZ(34,"div",62)(35,"p-colorPicker",400),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceSwitchColor=t)}),e.qZA(),e.TgZ(36,"input",401),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceSwitchColor=t)}),e.qZA()()(),e.TgZ(37,"div",333)(38,"label",273),e._uU(39,"Switch Disable"),e.qZA(),e._UZ(40,"br"),e.TgZ(41,"div",62)(42,"p-colorPicker",402),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceSwitchColorDisabled=t)}),e.qZA(),e.TgZ(43,"input",403),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceSwitchColorDisabled=t)}),e.qZA()()(),e.TgZ(44,"div",333)(45,"label",273),e._uU(46,"Switch Circle"),e.qZA(),e._UZ(47,"br"),e.TgZ(48,"div",62)(49,"p-colorPicker",404),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceSwitchCircleColor=t)}),e.qZA(),e.TgZ(50,"input",405),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceSwitchCircleColor=t)}),e.qZA()()(),e.TgZ(51,"div",333)(52,"label",273),e._uU(53,"Switch Enabled Text"),e.qZA(),e._UZ(54,"br"),e.TgZ(55,"div",62)(56,"p-colorPicker",406),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceSwitchTextColorEnabled=t)}),e.qZA(),e.TgZ(57,"input",407),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceSwitchTextColorEnabled=t)}),e.qZA()()(),e.TgZ(58,"div",333)(59,"label",273),e._uU(60,"Switch Disabled Text"),e.qZA(),e._UZ(61,"br"),e.TgZ(62,"div",62)(63,"p-colorPicker",408),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceSwitchTextColorDisabled=t)}),e.qZA(),e.TgZ(64,"input",409),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceSwitchTextColorDisabled=t)}),e.qZA()()()()()}if(2&i){const n=e.oxw(6);e.xp6(7),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.PreferenceBackgroundColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.PreferenceBackgroundColor),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.PreferenceTextColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.PreferenceTextColor),e.xp6(7),e.Q6J("ngIf","none"===n.BannerConfigurationForm.value.ToggleType),e.xp6(1),e.Q6J("src","assets/imgs/toggle-types/withoutCheckMark.svg",e.LSH),e.xp6(2),e.Q6J("ngIf","checkMark"===n.BannerConfigurationForm.value.ToggleType),e.xp6(1),e.Q6J("src","assets/imgs/toggle-types/checkMark.svg",e.LSH),e.xp6(2),e.Q6J("ngIf","onOff"===n.BannerConfigurationForm.value.ToggleType),e.xp6(1),e.Q6J("src","assets/imgs/toggle-types/onOff.svg",e.LSH),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.PreferenceSwitchColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.PreferenceSwitchColor),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.PreferenceSwitchColorDisabled)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.PreferenceSwitchColorDisabled),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.PreferenceSwitchCircleColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.PreferenceSwitchCircleColor),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.PreferenceSwitchTextColorEnabled)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.PreferenceSwitchTextColorEnabled),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.PreferenceSwitchTextColorDisabled)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.PreferenceSwitchTextColorDisabled)}}function kr(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function Pr(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function Sr(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",271)(1,"div",327)(2,"div",328)(3,"label",273),e._uU(4,"Backgroun
1d"),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"div",62)(7,"p-colorPicker",411),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferencePurposeBackgroundColor=t)}),e.qZA(),e.TgZ(8,"input",412),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferencePurposeBackgroundColor=t)}),e.qZA()()(),e.TgZ(9,"div",328)(10,"label",273),e._uU(11,"Text "),e.qZA(),e._UZ(12,"br"),e.TgZ(13,"div",62)(14,"p-colorPicker",413),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferencePurposeTextColor=t)}),e.qZA(),e.TgZ(15,"input",414),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferencePurposeTextColor=t)}),e.qZA()()()()()}if(2&i){const n=e.oxw(6);e.xp6(7),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.PreferencePurposeBackgroundColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.PreferencePurposeBackgroundColor),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.PreferencePurposeTextColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.PreferencePurposeTextColor)}}function Ur(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function Dr(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function qr(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",271)(1,"div",347)(2,"div",328)(3,"label",273),e._uU(4,"Background"),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"div",62)(7,"p-colorPicker",415),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceAcceptAllBackgroundColor=t)}),e.qZA(),e.TgZ(8,"input",416),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceAcceptAllBackgroundColor=t)}),e.qZA()()(),e.TgZ(9,"div",328)(10,"label",273),e._uU(11,"Text "),e.qZA(),e._UZ(12,"br"),e.TgZ(13,"div",62)(14,"p-colorPicker",417),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceAcceptAllTextColor=t)}),e.qZA(),e.TgZ(15,"input",418),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceAcceptAllTextColor=t)}),e.qZA()()()()()}if(2&i){const n=e.oxw(6);e.xp6(7),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.PreferenceAcceptAllBackgroundColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.PreferenceAcceptAllBackgroundColor),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.PreferenceAcceptAllTextColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.PreferenceAcceptAllTextColor)}}function Mr(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function Nr(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function Ir(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",271)(1,"div",347)(2,"div",328)(3,"label",273),e._uU(4,"Background"),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"div",62)(7,"p-colorPicker",419),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceSaveMyChoiceBackgroundColor=t)}),e.qZA(),e.TgZ(8,"input",420),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceSaveMyChoiceBackgroundColor=t)}),e.qZA()()(),e.TgZ(9,"div",328)(10,"label",273),e._uU(11,"Text "),e.qZA(),e._UZ(12,"br"),e.TgZ(13,"div",62)(14,"p-colorPicker",421),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceSaveMyChoiceTextColor=t)}),e.qZA(),e.TgZ(15,"input",422),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceSaveMyChoiceTextColor=t)}),e.qZA()()()()()}if(2&i){const n=e.oxw(6);e.xp6(7),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.PreferenceSaveMyChoiceBackgroundColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.PreferenceSaveMyChoiceBackgroundColor),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.PreferenceSaveMyChoiceTextColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.PreferenceS
1aveMyChoiceTextColor)}}function Fr(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function Or(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function Jr(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",271)(1,"div",347)(2,"div",328)(3,"label",273),e._uU(4,"Background"),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"div",62)(7,"p-colorPicker",423),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceDisableAllBackgroundColor=t)}),e.qZA(),e.TgZ(8,"input",424),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceDisableAllBackgroundColor=t)}),e.qZA()()(),e.TgZ(9,"div",328)(10,"label",273),e._uU(11,"Text "),e.qZA(),e._UZ(12,"br"),e.TgZ(13,"div",62)(14,"p-colorPicker",425),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceDisableAllTextColor=t)}),e.qZA(),e.TgZ(15,"input",426),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceDisableAllTextColor=t)}),e.qZA()()()()()}if(2&i){const n=e.oxw(6);e.xp6(7),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.PreferenceDisableAllBackgroundColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.PreferenceDisableAllBackgroundColor),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.PreferenceDisableAllTextColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.PreferenceDisableAllTextColor)}}function Gr(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",269),e.qZA())}function Lr(i,a){1&i&&(e.TgZ(0,"span"),e._UZ(1,"i",270),e.qZA())}function Rr(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",271)(1,"div",347)(2,"div",328)(3,"label",273),e._uU(4,"Background"),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"div",62)(7,"p-colorPicker",427),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);
1return e.KtG(r.colorPicker.PreferenceDoNotSellBackgroundColor=t)}),e.qZA(),e.TgZ(8,"input",428),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceDoNotSellBackgroundColor=t)}),e.qZA()()(),e.TgZ(9,"div",328)(10,"label",273),e._uU(11,"Text "),e.qZA(),e._UZ(12,"br"),e.TgZ(13,"div",62)(14,"p-colorPicker",429),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceDoNotSellTextColor=t)}),e.qZA(),e.TgZ(15,"input",430),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(6);return e.KtG(r.colorPicker.PreferenceDoNotSellTextColor=t)}),e.qZA()()()()()}if(2&i){const n=e.oxw(6);e.xp6(7),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.PreferenceDoNotSellBackgroundColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.PreferenceDoNotSellBackgroundColor),e.xp6(6),e.Q6J("showTransitionOptions","50ms")("ngModel",n.colorPicker.PreferenceDoNotSellTextColor)("hideTransitionOptions","50ms"),e.xp6(1),e.Q6J("ngModel",n.colorPicker.PreferenceDoNotSellTextColor)}}function Vr(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",379)(1,"div",380)(2,"div",306),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onSelectThemeType("light"))}),e._UZ(3,"i",307),e.TgZ(4,"span",308),e._uU(5,"Light Theme"),e.qZA(),e.YNc(6,xr,2,0,"span",309),e.qZA(),e.TgZ(7,"div",310),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onSelectThemeType("dark"))}),e._UZ(8,"i",311),e.TgZ(9,"span",308),e._uU(10,"Dark Theme"),e.qZA(),e.YNc(11,Tr,2,0,"span",309),e.qZA(),e.TgZ(12,"div",306),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onSelectThemeType("custom"))}),e._UZ(13,"i",312),e.TgZ(14,"span",308),e._uU(15,"Custom Colors"),e.qZA(),e.YNc(16,vr,2,0,"span",309),e.qZA()(),e.TgZ(17,"div",381)(18,"p-divider",83)(19,"b"),e._UZ(20,"i",314),e._uU(21," Customization "),e.qZA()(),e.TgZ(22,"div",382)(23,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("preferencePreferenceButtonColor"))}),e._uU(24," Preference "),e.YNc(25,br,2,0,"span",16),e.YNc(26,Zr,2,0,"span",16),e.qZA(),e._UZ(27,"p-divider"),e.YNc(28,Ar,65,34,"div",266),e.qZA(),e.TgZ(29,"div",383)(30,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("purposePreferenceButtonColor"))}),e._uU(31," Purpose "),e.YNc(32,kr,2,0,"span",16),e.YNc(33,Pr,2,0,"span",16),e.qZA(),e._UZ(34,"p-divider"),e.YNc(35,Sr,16,8,"div",266),e.qZA(),e.TgZ(36,"div",384)(37,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("acceptAllPreferenceButtonColor"))}),e._uU(38," Accept All "),e.YNc(39,Ur,2,0,"span",16),e.YNc(40,Dr,2,0,"span",16),e.qZA(),e._UZ(41,"p-divider"),e.YNc(42,qr,16,8,"div",266),e.qZA(),e.TgZ(43,"div",385)(44,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("saveMyChoicePreferenceButtonColor"))}),e._uU(45," Save My Choice "),e.YNc(46,Mr,2,0,"span",16),e.YNc(47,Nr,2,0,"span",16),e.qZA(),e._UZ(48,"p-divider"),e.YNc(49,Ir,16,8,"div",266),e.qZA(),e.TgZ(50,"div",386)(51,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("disablePreferenceButtonColor"))}),e._uU(52," Disable All "),e.YNc(53,Fr,2,0,"span",16),e.YNc(54,Or,2,0,"span",16),e.qZA(),e._UZ(55,"p-div
1ider"),e.YNc(56,Jr,16,8,"div",266),e.qZA(),e.TgZ(57,"div",387)(58,"p",265),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(5);return e.KtG(t.onOpenDropDown("doNotSellMyDataPreferenceButtonColor"))}),e._uU(59,"Deny All (CCPA) "),e.YNc(60,Gr,2,0,"span",16),e.YNc(61,Lr,2,0,"span",16),e.qZA(),e._UZ(62,"p-divider"),e.YNc(63,Rr,16,8,"div",266),e.qZA()()()}if(2&i){const n=e.oxw(5);e.xp6(6),e.Q6J("ngIf","light"===n.themeType),e.xp6(5),e.Q6J("ngIf","dark"===n.themeType),e.xp6(5),e.Q6J("ngIf","custom"===n.themeType),e.xp6(1),e.Q6J("ngStyle",e.VKq(22,S,n.showCustomColor?"block":"none")),e.xp6(8),e.Q6J("ngIf","preferencePreferenceButtonColor"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","preferencePreferenceButtonColor"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","preferencePreferenceButtonColor"===n.showDropDownValue),e.xp6(4),e.Q6J("ngIf","purposePreferenceButtonColor"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","purposePreferenceButtonColor"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","purposePreferenceButtonColor"===n.showDropDownValue),e.xp6(4),e.Q6J("ngIf","acceptAllPreferenceButtonColor"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","acceptAllPreferenceButtonColor"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","acceptAllPreferenceButtonColor"===n.showDropDownValue),e.xp6(4),e.Q6J("ngIf","saveMyChoicePreferenceButtonColor"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","saveMyChoicePreferenceButtonColor"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","saveMyChoicePreferenceButtonColor"===n.showDropDownValue),e.xp6(4),e.Q6J("ngIf","disablePreferenceButtonColor"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","disablePreferenceButtonColor"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","disablePreferenceButtonColor"===n.showDropDownValue),e.xp6(4),e.Q6J("ngIf","doNotSellMyDataPreferenceButtonColor"!==n.showDropDownValue),e.xp6(1),e.Q6J("ngIf","doNotSellMyDataPreferenceButtonColor"===n.showDropDownValue),e.xp6(2),e.Q6J("ngIf","doNotSellMyDataPreferenceButtonColor"===n.showDropDownValue)}}function Qr(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",301)(1,"p-divider",83)(2,"b"),e._uU(3,"Layout"),e.qZA()(),e.TgZ(4,"div",254)(5,"button",255),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(4);return t.currentBannerLayer="banner",e.KtG(t.BundlePayloadChange())}),e._uU(6,"Banner "),e.qZA(),e.TgZ(7,"button",255),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(4);return t.currentBannerLayer="preference",e.KtG(t.BundlePayloadChange())}),e._uU(8,"Preference "),e.qZA()(),e.YNc(9,hr,85,33,"div",302),e.YNc(10,Vr,64,24,"div",303),e.qZA()}if(2&i){const n=e.oxw(4);e.xp6(5),e.Q6J("ngStyle",e.WLB(4,J,"banner"===n.currentBannerLayer?"var(--side-nav-org)":"#555","banner"===n.currentBannerLayer?"2px solid":null)),e.xp6(2),e.Q6J("ngStyle",e.WLB(7,J,"preference"===n.currentBannerLayer?"var(--side-nav-org)":"#555","preference"===n.currentBannerLayer?"2px solid":null)),e.xp6(2),e.Q6J("ngIf","banner"===n.currentBannerLayer),e.xp6(1),e.Q6J("ngIf","preference"===n.currentBannerLayer)}}function Er(i,a){if(1&i&&(e.TgZ(0,"div",259)(1,"span",260),e._uU(2),e.qZA()()),2&i){const n=e.oxw(6);e.xp6(2),e.hij(" ",n.BannerConfigurationForm.value.PreviewLanguage.title," ")}}function Kr(i,a){if(1&i&&e.YNc(0,Er,3,1,"div",258),2&i){const n=e.oxw(5);e.Q6J("ngIf",n.BannerConfigurationForm.value.PreviewLanguage)}}function Yr(i,a){if(1&i&&(e.TgZ(0,"div",261)(1,"span",260),e._uU(2),e.qZA()()),2&i){const n=a.$implicit;e.xp6(2),e.hij("",n.title," ")}}const ne=function(){return{standalone:!0}};function Hr(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",107)(1,"div",166)(2,"p",109),e._uU(3,"Apply Explicit Consent for California (CIPA) "),e._UZ(4,"i-feather",440),e.qZA()(),e.TgZ(5,"div",435)(6,"p-inputSwitch",441),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(5);return e.KtG(r.cipaExplicit=t)}),e.qZA()()()}if(2&i){const n=e.oxw(5);e.xp6(6),e.Q6J("ngModel",n.cipaExplicit)("ngModelOptions",e.DdM(2,ne))}}function zr(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"span",450),e.NdJ("click",function(){e.CHM(n);const t=e.oxw().index,r=e.oxw(5);return e.KtG(r.onOpenDropDown("purpose"+t))}),e._UZ(1,"i",269),e.qZA()}}function jr(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"span",450),e.NdJ("click",function(){e.CHM(n);const t=e.oxw().index,r=e.oxw(5);return e.KtG(r.onOpenDropDown("purpose"+t))}),e._UZ(1,"i",270),e.qZA()}}function $r(i,a){if(1&i&&(e.TgZ(0,"div",271)(1,"div",272)(2,"label",451),e._uU(3,"Title"),e.qZA(),e._UZ(4,"br")(5,"input",452),e.qZA(),e.TgZ(6,"div",272)(7,"label",451),e._uU(8,"Description"),e.qZA(),e._UZ(9,"br")(10,"textarea",453),e.qZA()()),2&i){const n=e.oxw().index;e.xp6(5),e.MGl("id","title",n,""),e.xp6(5),e.MGl("id","description",n,"")}}function Wr(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",442)(1,"p",443)(2,"span",444),e._UZ(3,"i",445),e.qZA(),e.TgZ(4,"span",446)(5,"input",447),e.NdJ("change",function(t){const l=e.CHM(n).index,p=e.oxw(5);return e.KtG(p.onAllowPurposeID(t,p.purposesList[l].id))}),e.qZA()(),e.TgZ(6,"span",448),e.NdJ("click",function(){const r=e.CHM(n).index,l=e.oxw(5);return e.KtG(l.onOpenDropDown("purpose"+r))}),e._uU(7),e.qZA(),e.YNc(8,zr,2,0,"span",449),e.YNc(9,jr,2,0,"span",449),e.qZA(),e._UZ(10,"p-divider"),e.YNc(11,$r,11,2,"div",266),e.qZA()}if(2&i){const n=a.$implicit,o=a.index,t=e.oxw(5);let r;e.ekj("d-none","112"===(null==(r=n.get("id"))?null:r.value)&&"ccpa"!==(null==t.activeRegulation?null:t.activeRegulation.code)&&"cipa"!==(null==t.activeRegulation?null:t.activeRegulation.code)),e.Q6J("formGroupName",o),e.xp6(
15),e.s9C("tooltip",t.purposesList[o].tooltipdescription),e.Q6J("checked",t.purposeIDs.includes(t.purposesList[o].id))("disabled","101"===t.purposesList[o].id),e.xp6(1),e.s9C("tooltip","101"===t.purposesList[o].id?t.purposesList[o].tooltipdescription:""),e.xp6(1),e.Oqu(t.purposesList[o].title),e.xp6(1),e.Q6J("ngIf",t.showDropDownValue!=="purpose"+o),e.xp6(1),e.Q6J("ngIf",t.showDropDownValue==="purpose"+o),e.xp6(2),e.Q6J("ngIf",t.showDropDownValue==="purpose"+o)}}const Xr=function(){return{width:"100%"}};function ea(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",431)(1,"p-divider",83)(2,"b"),e._uU(3,"Manage Purposes"),e.qZA()(),e.TgZ(4,"div",251)(5,"div",63)(6,"p",100),e._uU(7,"Preview Language"),e.qZA()(),e.TgZ(8,"div",166)(9,"p-dropdown",252),e.NdJ("onChange",function(){e.CHM(n);const t=e.oxw(4);return e.KtG(t.onSelectPreviewLang())}),e.YNc(10,Kr,1,1,"ng-template",124),e.YNc(11,Yr,3,1,"ng-template",105),e.qZA()()(),e.TgZ(12,"div",107)(13,"div",63)(14,"p",109),e._uU(15,"Regulation "),e._UZ(16,"i-feather",432),e.qZA()(),e.TgZ(17,"div",166)(18,"p-dropdown",433),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(4);return e.KtG(r.activeRegulation=t)})("onChange",function(t){e.CHM(n);const r=e.oxw(4);return e.KtG(r.onSelectRegulation(t.value))}),e.qZA()()(),e.TgZ(19,"div",107)(20,"div",166)(21,"p",109),e._uU(22,"Allow Purposes By Default "),e._UZ(23,"i-feather",434),e.qZA()(),e.TgZ(24,"div",435)(25,"p-inputSwitch",436),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(4);return e.KtG(r.allowpurpose(t))}),e.qZA()()(),e.YNc(26,Hr,7,3,"div",146),e.TgZ(27,"div",437),e.NdJ("cdkDropListDropped",function(t){e.CHM(n);const r=e.oxw(4);return e.KtG(r.drop(t))}),e.TgZ(28,"div",438),e.YNc(29,Wr,12,11,"div",439),e.qZA()()()}if(2&i){const n=e.oxw(4);e.xp6(9),e.Q6J("options",n.allowedLanguagesForPreview)("showClear",!1),e.xp6(9),e.Akn(e.DdM(10,Xr)),e.Q6J("options",n.regulationList)("ngModel",n.activeRegulation)("ngModelOptions",e.DdM(11,ne)),e.xp6(7),e.Q6J("disabled",null==n.activeRegulation?null:n.activeRegulation.forcedExplicit),e.xp6(1),e.Q6J("ngIf","ccpa"===(null==n.activeRegulation?null:n.activeRegulation.code)),e.xp6(3),e.Q6J("ngForOf",n.BannerConfigurationForm.controls.PurposeList.controls)}}function na(i,a){if(1&i&&(e.ynx(0),e.TgZ(1,"div",272)(2,"label",273),e._uU(3,"For Partial Consent-Show Banner Every "),e._UZ(4,"i-feather",461),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"div",462),e._UZ(7,"p-inputNumber",463)(8,"p-dropdown",464),e.qZA()(),e.TgZ(9,"div",465)(10,"label",273),e._uU(11,"For Reject All -Show Banner Every "),e._UZ(12,"i-feather",466),e.qZA(),e._UZ(13,"br"),e.TgZ(14,"div",462),e._UZ(15,"p-inputNumber",467)(16,"p-dropdown",468),e.qZA()(),e.TgZ(17,"div",465)(18,"label",273),e._uU(19," For No Choice - Show Banner Every "),e._UZ(20,"i-feather",469),e.qZA(),e._UZ(21,"br"),e.TgZ(22,"div",462),e._UZ(23,"p-inputNumber",470)(24,"p-dropdown",471),e.qZA()(),e.BQk()),2&i){const n=e.oxw(5);e.xp6(7),e.Q6J("useGrouping",!1),e.xp6(1),e.Q6J("options",n.displayFrequency),e.xp6(7),e.Q6J("useGrouping",!1),e.xp6(1),e.Q6J("options",n.displayFrequency),e.xp6(7),e.Q6J("useGrouping",!1),e.xp6(1),e.Q6J("options",n.displayFrequency)}}function ta(i,a){if(1&i&&(e.TgZ(0,"div",454)(1,"p-divider",83)(2,"b")(3,"span",455),e._uU(4,"Display Frequency"),e.qZA()()(),e.TgZ(5,"div",456)(6,"div",107)(7,"div",457)(8,"p",112),e._uU(9," Enable Display Frequency "),e._UZ(10,"i-feather",458),e.qZA()(),e.TgZ(11,"div",459),e._UZ(12,"p-inputSwitch",460),e.qZA()(),e.YNc(13,na,25,6,"ng-container",16),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(8),e.Q6J("ngStyle",e.VKq(2,P,n.BannerConfigurationForm.value.EnableDisplayFrequency?"":"#999")),e.xp6(5),e.Q6J("ngIf",n.BannerConfigurationForm.value.EnableDisplayFrequency)}}function oa(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"a",478),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(6);return e.KtG(t.onAllowAllVendors("iab"))}),e._uU(1,"Allow All"),e.qZA()}if(2&i){const n=e.oxw(6);e.Q6J("hidden",0==n.BannerConfigurationForm.value.EnableIAB)}}function ia(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"a",478),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(6);return t.allowAllVendor.iab=!1,e.KtG(t.iabVendorsID=[1])}),e._uU(1,"Disallow All"),e.qZA()}if(2&i){const n=e.oxw(6);e.Q6J("hidden",0==n.BannerConfigurationForm.value.EnableIAB)}}function ra(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",62)(1,"div",479)(2,"input",480),e.NdJ("change",function(t){const l=e.CHM(n).$implicit,p=e.oxw(6);return e.KtG(p.onSelectIabVendor(t,l.id))}),e.qZA()(),e.TgZ(3,"div",481)(4,"div",482)(5,"div",483),e._UZ(6,"img",484),e.qZA(),e.TgZ(7,"div",485)(8,"p",486),e._uU(9),e.qZA(),e.TgZ(10,"a",201),e._UZ(11,"i",487),e.qZA()()()()()}if(2&i){const n=a.$implicit,o=e.oxw(6);e.xp6(1),e.Q6J("tooltip",0==o.BannerConfigurationForm.value.EnableIAB?"Please enable IAB in config tab":""),e.xp6(1),e.Q6J("disabled",0==o.BannerConfigurationForm.value.EnableIAB)("checked",o.iabVendorsID.includes(n.id
1)),e.xp6(7),e.hij(" ",n.name,""),e.xp6(1),e.Q6J("href",null==n?null:n.urls[0].privacy,e.LSH)}}const Se=function(){return{"max-height":"525px"}};function aa(i,a){if(1&i&&(e.TgZ(0,"div",60),e.YNc(1,oa,2,1,"a",476),e.YNc(2,ia,2,1,"a",476),e.TgZ(3,"p-orderList",477),e.YNc(4,ra,12,5,"ng-template",105),e.qZA()()),2&i){const n=e.oxw(5);e.xp6(1),e.Q6J("ngIf",n.iabVendorsID.length!==n.iabVendorsList.length),e.xp6(1),e.Q6J("ngIf",n.iabVendorsID.length===n.iabVendorsList.length),e.xp6(1),e.Q6J("value",n.iabVendorsList)("listStyle",e.DdM(4,Se))}}function la(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"a",478),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(7);return e.KtG(t.onAllowAllVendors("google"))}),e._uU(1,"Allow All"),e.qZA()}if(2&i){const n=e.oxw(7);e.Q6J("hidden",0==n.BannerConfigurationForm.value.GoogleVendors)}}function ca(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"a",478),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(7);return t.allowAllVendor.google=!1,e.KtG(t.googleVendorsID=[t.googleVendorsList[0].provider_id])}),e._uU(1,"Disallow All"),e.qZA()}if(2&i){const n=e.oxw(7);e.Q6J("hidden",0==n.BannerConfigurationForm.value.GoogleVendors)}}function sa(i,a){if(1&i&&(e.ynx(0),e.YNc(1,la,2,1,"a",476),e.YNc(2,ca,2,1,"a",476),e.BQk()),2&i){const n=e.oxw(6);e.xp6(1),e.Q6J("ngIf",n.googleVendorsID.length!==n.googleVendorsList.length),e.xp6(1),e.Q6J("ngIf",n.googleVendorsID.length===n.googleVendorsList.length)}}function _a(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",62)(1,"div",479)(2,"input",480),e.NdJ("change",function(t){const l=e.CHM(n).$implicit,p=e.oxw(6);return e.KtG(p.onSelectGoogleVendor(t,l.provider_id))}),e.qZA()(),e.TgZ(3,"div",481)(4,"div",482)(5,"div",483),e._UZ(6,"img",489),e.qZA(),e.TgZ(7,"div",485)(8,"p",486),e._uU(9),e.qZA(),e.TgZ(10,"a",201),e._UZ(11,"i",490),e.qZA()()()()()}if(2&i){const n=a.$implicit,o=e.oxw(6);e.xp6(1),e.Q6J("tooltip",0==o.BannerConfigurationForm.value.EnableIAB?"Please enable Google vendors in config tab":""),e.xp6(1),e.Q6J("disabled",0==o.BannerConfigurationForm.value.GoogleVendors)("checked",o.googleVendorsID.includes(n.provider_id))("disabled",!o.BannerConfigurationForm.value.GoogleVendors),e.xp6(7),e.hij(" ",n.provider_name,""),e.xp6(1),e.Q6J("href",n.policy_url,e.LSH)}}function pa(i,a){if(1&i&&(e.TgZ(0,"div",60),e.YNc(1,sa,3,2,"ng-container",16),e.TgZ(2,"p-orderList",488),e.YNc(3,_a,12,6,"ng-template",105),e.qZA()()),2&i){const n=e.oxw(5);e.xp6(1),e.Q6J("ngIf",n.BannerConfigurationForm.value.GoogleVendors),e.xp6(1),e.Q6J("value",n.googleVendorsList)("listStyle",e.DdM(3,Se))}}const ga=function(){return{label:"Iab Vendors",value:"iab_vendor"}},da=function(){return{label:"Google Vendors",value:"google_vendor"}};function ua(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",472)(1,"p-divider",83)(2,"b"),e._uU(3,"Manage Vendors "),e.qZA()(),e.TgZ(4,"div",473)(5,"p-selectButton",474),e.NdJ("ngModelChange",function(t){e.CHM(n);const r=e.oxw(4);return e.KtG(r.manageVendorLayer=t)}),e.qZA()(),e.YNc(6,aa,5,5,"div",475),e.YNc(7,pa,4,4,"div",475),e.qZA()}if(2&i){const n=e.oxw(4);e.xp6(5),e.Q6J("options",e.WLB(7,R,e.DdM(5,ga),e.DdM(6,da)))("ngModel",n.manageVendorLayer)("ngModelOptions",e.DdM(10,ne)),e.xp6(1),e.Q6J("ngIf","iab_vendor"===n.manageVendorLayer),e.xp6(1),e.Q6J("ngIf","google_vendor"===n.manageVendorLayer)}}const fa=function(i){return{maxHeight:i}},G=function(i){return{"ng-invalid ng-dirty":i}},ma=function(){return{label:"Cookie Consent",value:"text"}},Ca=function(){return{icon:"fas fa-fingerprint tx-18",value:"icon"}},ha=function(){return{label:"Left",value:"left"}},xa=function(){return{label:"Right",value:"right"}};function Ta(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",80)(1,"div",81)(2,"div",82)(3,"p-divider",83)(4,"b"),e._uU(5,"Enable Regulations"),e.qZA()(),e.TgZ(6,"div",84)(7,"div",85)(8,"div",86)(9,"p-checkbox",87),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(3);return e.KtG(r.onCheckRegulation("gdpr",t))}),e.qZA(),e.TgZ(10,"label",88),e._uU(11,"EEA & UK "),e._UZ(12,"i-feather",89),e.qZA()()(),e.TgZ(13,"div",85)(14,"div",86)(15,"p-checkbox",90),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(3);return e.KtG(r.onCheckRegulation("ccpa",t))}),e.qZA(),e.TgZ(16,"label",91),e._uU(17,"USA "),e._UZ(18,"i-feather",92),e.qZA()()(),e.TgZ(19,"div",85)(20,"div",86)(21,"p-checkbox",93),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(3);return e.KtG(r.onCheckRegulation("generic",t))}),e.qZA(),e.TgZ(22,"label",94),e._uU(23,"Global "),e._UZ(24,"i-feather",95),e.qZA()()()()(),e.TgZ(25,"div",96)(26,"p-div
1ider",97)(27,"b"),e._uU(28,"Regulations Configurations"),e.qZA()(),e.TgZ(29,"div",98)(30,"p-divider",83)(31,"b"),e._uU(32,"EEA & UK"),e.qZA()(),e.TgZ(33,"div",62)(34,"div",99)(35,"p",100),e._uU(36,"GDPR Target "),e._UZ(37,"i-feather",101),e.qZA()()(),e.TgZ(38,"div",102)(39,"div",99)(40,"p-multiSelect",103),e.YNc(41,vo,2,2,"ng-template",104),e.YNc(42,bo,3,1,"ng-template",105),e.qZA(),e.YNc(43,Bo,2,1,"div",106),e.qZA()(),e.TgZ(44,"div",107)(45,"div",108)(46,"p",109),e._uU(47,"Enable IAB "),e._UZ(48,"i-feather",110),e.qZA()(),e.TgZ(49,"div",108)(50,"p-inputSwitch",111),e.NdJ("click",function(t){e.CHM(n);const r=e.oxw(3);return e.KtG(r.unlistIAB(t))}),e.qZA()()(),e.TgZ(51,"div",107)(52,"div",108)(53,"p",112),e._uU(54,"Google Vendors "),e._UZ(55,"i-feather",113),e.qZA()(),e.TgZ(56,"div",114),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.onCheckAllowGoogleVendors())}),e._UZ(57,"p-inputSwitch",115),e.qZA()(),e.TgZ(58,"div",107)(59,"div",108)(60,"p",109),e._uU(61,"GDPR Everywhere "),e._UZ(62,"i-feather",116),e.qZA()(),e.TgZ(63,"div",108)(64,"p-inputSwitch",117),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(3);return e.KtG(r.onMakeRegulationEveryWhere("gdpr",t))}),e.qZA()()(),e.TgZ(65,"div",107)(66,"div",108)(67,"p",109),e._uU(68,"Show Privacy Information Tab on GDPR Banner"),e._UZ(69,"i-feather",118),e.qZA()(),e.TgZ(70,"div",108)(71,"p-inputSwitch",119),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(3);return e.KtG(r.onEnablePrivacyOnGDPR(t))}),e.qZA()()()(),e.TgZ(72,"div",120)(73,"p-divider",83)(74,"b"),e._uU(75,"USA"),e.qZA()(),e.TgZ(76,"div",62)(77,"div",99)(78,"p",100),e._uU(79,"USA Target "),e._UZ(80,"i-feather",121),e.qZA()()(),e.TgZ(81,"div",102)(82,"div",99)(83,"p-multiSelect",122),e.YNc(84,yo,2,1,"ng-template",123),e.YNc(85,Ao,
11,1,"ng-template",124),e.YNc(86,ko,3,2,"ng-template",105),e.qZA(),e.YNc(87,So,2,1,"div",106),e.qZA()(),e.TgZ(88,"div",107)(89,"div",108)(90,"p",100),e._uU(91,"CCPA Everywhere "),e._UZ(92,"i-feather",125),e.qZA()(),e.TgZ(93,"div",108)(94,"p-inputSwitch",126),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(3);return e.KtG(r.onMakeRegulationEveryWhere("ccpa",t))}),e.qZA()()(),e.TgZ(95,"div",107)(96,"div",108)(97,"p",100),e._uU(98,"Enable LSPA"),e._UZ(99,"i-feather",127),e.qZA()(),e.TgZ(100,"div",108),e._UZ(101,"p-inputSwitch",128),e.qZA()(),e.TgZ(102,"div",107)(103,"div",108)(104,"p",109),e._uU(105,"Enable GPC"),e._UZ(106,"i-feather",129),e.qZA()(),e.TgZ(107,"div",108),e._UZ(108,"p-inputSwitch",130),e.qZA()()(),e.TgZ(109,"div",131)(110,"p-divider",83)(111,"b"),e._uU(112,"Global "),e.qZA()(),e.TgZ(113,"div",107)(114,"div",108)(115,"p",109),e._uU(116,"Global Everywhere "),e._UZ(117,"i-feather",132),e.qZA()(),e.TgZ(118,"div",108)(119,"p-inputSwitch",133),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(3);return e.KtG(r.onMakeRegulationEveryWhere("generic",t))}),e.qZA()()()(),e.TgZ(120,"div",134)(121,"p-divider",83)(122,"b"),e._uU(123,"Layout Type"),e.qZA()(),e.TgZ(124,"div",62)(125,"div",135),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.onSetBannerType("full-width-top"))}),e.YNc(126,Uo,1,0,"i",136),e._UZ(127,"img",137),e.qZA(),e.TgZ(128,"div",135),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.onSetBannerType("full-width-bottom"))}),e.YNc(129,Do,1,0,"i",136),e._UZ(130,"img",137),e.qZA(),e.TgZ(131,"div",138),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.onSetBannerType("boxed-left-bottom"))}),e.YNc(132,qo,1,0,"i",136),e._UZ(133,"img",137),e.qZA(),e.TgZ(134,"div",138),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.onSetBannerType("boxed-right-bottom"))}),e.YNc(135,Mo,1,0,"i",136),e._UZ(136,"img",137),e.qZA(),e.TgZ(137,"div",138),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.onSetBannerType("boxed-left-top"))}),e.YNc(138,No,1,0,"i",136),e._UZ(139,"img",137),e.qZA(),e.TgZ(140,"div",138),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.onSetBannerType("boxed-right-top"))}),e.YNc(141,Io,1,0,"i",136),e._UZ(142,"img",137),e.qZA(),e.TgZ(143,"div",138),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.onSetBannerType("boxed-center"))}),e.YNc(144,Fo,1,0,"i",136),e._UZ(145,"img",137),e.qZA(),e.TgZ(146,"div",139),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.onSetBannerType("full-width-minify-bottom"))}),e.YNc(147,Oo,1,0,"i",136),e._UZ(148,"img",140),e.qZA()()(),e.TgZ(149,"div",141)(150,"p-divider",83)(151,"b"),e._uU(152,"Advanced Features"),e.qZA()(),e.TgZ(153,"div",107)(154,"div",108)(155,"p",109),e._uU(156,"Default Regulation "),e._UZ(157,"i-feather",142),e.qZA()(),e.TgZ(158,"div",108),e._UZ(159,"p-dropdown",143),e.qZA()(),e.TgZ(160,"div",107)(161,"div",108)(162,"p",112),e._uU(163,"Cookie Blocking "),e._UZ(164,"i-feather",144),e.qZA()(),e.TgZ(165,"div",114),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.onCheckDisableCookiebloking())}),e._UZ(166,"p-inputSwitch",145),e.qZA()(),e.YNc(167,Lo,7,10,"div",146),e.YNc(168,Qo,3,2,"div",16),e.TgZ(169,"div",107)(170,"div",108)(171,"p",109),e._uU(172,"Enable GPP "),e._UZ(173,"i-feather",147),e.qZA()(),e.TgZ(174,"div",108)(175,"p-inputSwitch",148),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(3);return e.KtG(r.setUsNational(t))}),e.qZA()()(),e.YNc(176,Eo,4,0,"div",146),e.TgZ(177,"div",107)(178,"div",108)(179,"p",112),e._uU(180,"Show Watermark "),e._UZ(181,"i-feather",149),e.qZA()(),e.TgZ(182,"div",114),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.onCheckLogoAllow())}),e._UZ(183,"p-inputSwitch",150),e.qZA()(),e.TgZ(184,"div",107)(185,"div",108)(186,"p",109),e._uU(187,"Mute Cookie Notice"),e.qZA()(),e.TgZ(188,"div",108),e._UZ(189,"p-inputSwitch",151),e.qZA()(),e.TgZ(190,"div",107)(191,"div",108)(192,"p",109),e._uU(193,"Show Disabled Button on Banner"),e._UZ(194,"i-feather",152),e.qZA()(),e.TgZ(195,"div",108),e._UZ(196,"p-inputSwitch",153),e.qZA()(),e.TgZ(197,"div",107)(198,"div",108)(199,"p",109),e._uU(200,"Show Close Button on Banner"),e._UZ(201,"i-feather",154),e.qZA()(),e.TgZ(202,"div",108),e._UZ(203,"p-inputSwitch",155),e.qZA()(),e.TgZ(204,"div",107)(205,"div",108)(206,"p",109),e._uU(207,"Banner Z-Index "),e.qZA()(),e.TgZ(208,"div",108),e._UZ(209,"input",156),e.qZA()(),e.TgZ(210,"p-divider",83)(211,"b"),e._uU(212,"Google Consent"),e.qZA()(),e.TgZ(213,"div",107)(214,"div",108)(215,"p",109),e._uU(216,"Enable Google Consent Mode "),e.qZA()(),e.TgZ(217,"div",108)(218,"p-inputSwitch",157),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(3);return e.KtG(r.resetGoogleConsentMode(t))}),e.qZA()()(),e.YNc(219,Ko,7,1,"div",146),e.YNc(220,Yo,7,1,"div",146),e.YNc(221,Ho,7,0,"div",146),e.YNc(222,zo,7,0,"div",146),e.TgZ(223,"div",158),e.YNc(224,jo,7,1,"div",146),e.YNc(225,$o,7,1,"div",146),e.YNc(226,Wo,7,1,"div",146),e.YNc(227,Xo,7,1,"div",146),e.YNc(228,ei,7,1,"div",146),e.YNc(229,ni,7,1,"div",146),e.YNc(230,ti,7,0,"div",146),e.qZA(),e.TgZ(231,"p-div
1ider",83)(232,"b"),e._uU(233,"Microsoft Consent"),e.qZA()(),e.TgZ(234,"div",107)(235,"div",108)(236,"p",109),e._uU(237,"Enable Microsoft\u2019s UET Consent Mode "),e.qZA()(),e.TgZ(238,"div",108)(239,"p-inputSwitch",159),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(3);return e.KtG(r.resetMicrosoftConsent(t))}),e.qZA()()(),e.YNc(240,oi,7,1,"div",146),e.TgZ(241,"p-divider",83)(242,"b"),e._uU(243,"Clarity Consent"),e.qZA()(),e.TgZ(244,"div",107)(245,"div",108)(246,"p",109),e._uU(247,"Enable Clarity Consent Mode"),e.qZA()(),e.TgZ(248,"div",108)(249,"p-inputSwitch",160),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(3);return e.KtG(r.resetClarityConsent(t))}),e.qZA()()(),e.YNc(250,ii,7,1,"div",146),e.YNc(251,ri,7,1,"div",146),e.TgZ(252,"p-divider",83)(253,"b"),e._uU(254,"Meta Pixel Consent"),e.qZA()(),e.TgZ(255,"div",107)(256,"div",108)(257,"p",109),e._uU(258,"Enable Meta Pixel Consent Mode "),e.qZA()(),e.TgZ(259,"div",108)(260,"p-inputSwitch",161),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(3);return e.KtG(r.resetMetaPixelConsent(t))}),e.qZA()()(),e.YNc(261,ai,7,1,"div",146),e.qZA(),e.TgZ(262,"div",162)(263,"p-divider",83)(264,"b"),e._uU(265,"Badge"),e.qZA()(),e.TgZ(266,"div",107)(267,"div",108)(268,"p",109),e._uU(269,"Show Badge "),e._UZ(270,"i-feather",163),e.qZA()(),e.TgZ(271,"div",108)(272,"p-inputSwitch",164,165),e.NdJ("onChange",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.showBadgeOption=!t.showBadgeOption)}),e.qZA()()(),e.TgZ(274,"div",107)(275,"div",63)(276,"p",112),e._uU(277," Badge Type "),e.qZA()(),e.TgZ(278,"div",166)(279,"div",62)(280,"p-selectButton",167),e.NdJ("onChange",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.showBadgeOption=!0)}),e.qZA()()()(),e.TgZ(281,"div",107)(282,"div",168)(283,"p",112),e._uU(284,"Badge Position"),e.qZA()(),e.TgZ(285,"div",169)(286,"div",62),e._UZ(287,"p-selectButton",170),e.qZA()()()(),e.TgZ(288,"div",171)(289,"p-divider",83)(290,"b"),e._uU(291,"Branding"),e.qZA()(),e.TgZ(292,"div",107)(293,"div",63)(294,"p",109),e._uU(295,"Company Logo"),e.qZA()(),e.TgZ(296,"div",166)(297,"p",172),e._uU(298,"File Type: .jpg, .png and .jpeg supported"),e.qZA(),e.TgZ(299,"input",173,174),e.NdJ("change",function(t){e.CHM(n);const r=e.oxw(3);return e.KtG(r.changeListener(t))}),e.qZA(),e.YNc(301,li,2,1,"p",175),e.qZA(),e.TgZ(302,"div",99)(303,"div",176),e.YNc(304,ci,1,1,"img",177),e.YNc(305,si,3,0,"h5",178),e.qZA(),e.YNc(306,_i,2,0,"button",179),e.qZA()()(),e.TgZ(307,"div",171)(308,"p-divider",83)(309,"b"),e._uU(310,"Custom CSS"),e.qZA()(),e.TgZ(311,"div",107)(312,"div",99),e._UZ(313,"textarea",180),e.qZA()()()()(),e.TgZ(314,"div",181)(315,"p-divider",83)(316,"b"),e._uU(317,"Manage Language"),e.qZA()(),e.TgZ(318,"div",60)(319,"p-table",182),e.YNc(320,pi,8,0,"ng-template",123),e.YNc(321,di,9,7,"ng-template",183),e.qZA()()(),e.YNc(322,Li,20,13,"div",184),e.YNc(323,Qr,11,10,"div",185),e.YNc(324,ea,30,12,"div",186),e.YNc(325,ta,14,4,"div",187),e.YNc(326,ua,8,11,"div",188),e.qZA()}if(2&i){const n=e.MAs(273),o=e.oxw(3);e.Q6J("ngStyle",e.VKq(84,fa,"tablet"===o.BannerConfigurationForm.value.CurrentPreviewDevice?"830px":"mobile"===o.BannerConfigurationForm.value.CurrentPreviewDevice?"720px":null)),e.xp6(1),e.Q6J("ngStyle",e.VKq(86,S,1===o.step?"block":"none")),e.xp6(8),e.Q6J("formControl",o.BannerConfigurationForm.controls.AllowGDPR)("disabled",o.BannerConfigurationForm.value.GdprGlobal||o.BannerConfigurationForm.value.CCPAGlobal||o.BannerConfigurationForm.value.CCPAGlobal||o.BannerConfigurationForm.value.GenericGlobal)("binary",!0),e.xp6(6),e.Q6J("disabled",o.BannerConfigurationForm.value.GdprGlobal||o.BannerConfigurationForm.value.CCPAGlobal||o.BannerConfigurationForm.value.CCPAGlobal||o.BannerConfigurationForm.value.GenericGlobal)("formControl",o.BannerConfigurationForm.controls.AllowCCPA)("binary",!0),e.xp6(6),e.Q6J("formControl",o.BannerConfigurationForm.controls.AllowGENERIC)("disabled",o.BannerConfigurationForm.value.GdprGlobal||o.BannerConfigurationForm.value.CCPAGlobal||o.BannerConfigurationForm.value.CCPAGlobal||o.BannerConfigurationForm.value.GenericGlobal)("binary",!0),e.xp6(8),e.Q6J("ngStyle",e.VKq(88,S,!o.BannerConfigurationForm.value.AllowGDPR||o.BannerConfigurationForm.value.GenericGlobal||o.BannerConfigurationForm.value.CCPAGlobal?"none":"block")),e.xp6(11),e.Q6J("options",o.gdprCountries)("ngClass",e.VKq(90,G,o.submitted&&o.f.GdprCountries.errors)),e.xp6(3),e.Q6J("ngIf",o.submitted&&o.f.GdprCountries.errors),e.xp6(10),e.Q6J("ngStyle",e.VKq(92,P,o.disablePlanFeatures.disableGoogleVendors?"#999":"")),e.xp6(4),e.Q6J("disabled",o.disablePlanFeatures.disableGoogleVendors),e.xp6(15),e.Q6J("ngStyle",e.VKq(94,S,!o.BannerConfigurationForm.value.AllowCCPA||o.BannerConfigurationForm.value.GenericGlobal||o.BannerConfigurationForm.value.GdprGlobal?"none":"block")),e.xp6(11),e.Q6J("options",o.countries)("filter",59!=o.BannerConfigurationForm.value.CCPATarget.length)("ngClass",e.VKq(96,G,o.submitted&&o.f.CCPATarget.errors)),e.xp6(4),e.Q6J("ngIf",o.submitted&&o.f.CCPATarget.errors),e.xp6(22),e.Q6J("ngStyle",e.VKq(98,S,!o.BannerConfigurationForm.value.AllowGENERIC||o.BannerConfigurationForm.value.CCPAGlobal||o.BannerConfigurationForm.value.GdprGlobal?"none":"block")),e.xp6(17),e.Q6J("ngIf","full-width-top"===o.BannerConfigurationForm.value.LayoutType),e.xp6(1),e.Q6J("src","PrivacyPillar"==o.portal?"assets/imgs/banner-types/az-banner-top.svg":"assets/imgs/banner-types/az-banner-top.png",e.LSH),e.xp6(2),e.Q6J("ngIf","full-width-bottom"===o.BannerConfigurationForm.value.LayoutType),e.xp6(1),e.Q6J("src","PrivacyPillar"==o.portal?"assets/imgs/banner-types/az-banner-bottom.svg":"assets/imgs/banner-types/az-banner-bottom.png",e.LSH),e.xp6(2),e.Q6J("ngIf","boxed-left-bottom"===o.BannerConfigurationForm.value.LayoutType),e.xp6(1),e.Q6J("src","PrivacyPillar"==o.portal?"assets/imgs/banner-types/az-box-bottom-left.svg":"assets/imgs/banner-types/az-box-bottom-left.png",e.LSH),e.xp6(2),e.Q6J("ngIf","boxed-right-bottom"===o.BannerConfigurationForm.value.LayoutType),e.xp6(1),e.Q6J("src","PrivacyPillar"==o.portal?"assets/imgs/banner-types/az-box-bottom-right.svg":"assets/imgs/banner-types/az-box-bottom-right.png",e.LSH),e.xp6(2),e.Q6J("ngIf","boxed-left-top"===o.BannerConfigurationForm.value.LayoutType),e.xp6(1),e.Q6J("src","PrivacyPillar"==o.portal?"assets/imgs/banner-types/az-box-top-left.svg":"assets/imgs/banner-types/az-box-top-left.png",e.LSH),e.xp6(2),e.Q6J("ngIf","boxed-right-top"===o.BannerConfigurationForm.value.LayoutType),e.xp6(1),e.Q6J("src","PrivacyPillar"==o.portal?"assets/imgs/banner-types/az-box-top-right.svg":"assets/imgs/banner-types/az-box-top-right.png",e.LSH),e.xp6(2),e.Q6J("ngIf","boxed-center"===o.BannerConfigurationForm.value.LayoutType),e.xp6(1),e.Q6J("src","PrivacyPillar"==o.portal?"assets/imgs/banner-types/popup-center.svg":"assets/imgs/banner-types/popup-center.png",e.LSH),e.xp6(1),e.Q6J("hidden",0==o.show),e.xp6(1),e.Q6J("ngIf","full-width-minify-bottom"===o.BannerConfigurationForm.value.LayoutType),e.xp6(1),e.Q6J("src","PrivacyPillar"==o.portal?"assets/imgs/banner-types/pp-banner-bottom-minify.png":"assets/imgs/banner-types/az-banner-bottom-minify.png",e.LSH),e.xp6(11),e.Q6J("options",o.defaultRegulation),e.xp6(3),e.Q6J("ngStyle",e.VKq(100,P,o.disablePlanFeatures.disableCookieblocking?"#999":"")),e.xp6(4),e.Q6J("disabled",o.disablePlanFeatures.disableCookieblocking),e.xp6(1),e.Q6J("ngIf",o.BannerConfigurationForm.value.CookieBlocking),e.xp6(1),e.Q6J("ngIf",o.BannerConfigurationForm.value.CookieBlocking),e.xp6(8),e.Q6J("ngIf",o.BannerConfigurationForm.value.EnableGpp),e.xp6(3),e.Q6J("ngStyle",e.VKq(102,P,o.disablePlanFeatures.hideLogo?"#999":"")),e.xp6(2),e.MGl("tooltip","If enabled, an ",o.portal," branding watermark appears on the footer of the privacy settings pop-up"),e.xp6(2),e.Q6J("disabled",o.disablePlanFeatures.hideLogo),e.xp6(35),e.Q6J("disabled",1!=o.showGtag),e.xp6(1),e.Q6J("ngIf",o.BannerConfigurationForm.get("gTag").value),e.xp6(1),e.Q6J("ngIf","Basic"==o.BannerConfigurationForm.get("gTagConsentMode").value),e.xp6(1),e.Q6J("ngIf","Basic"==o.BannerConfigurationForm.get("gTagConsentMode").value&&"gTag"==o.BannerConfigurationForm.get("gtagBasicModes").value),e.xp6(1),e.Q6J("ngIf","Basic"==o.BannerConfigurationForm.get("gTagConsentMode").value&&"TagManager"==o.BannerConfigurationForm.get("gtagBasicModes").value),e.xp6(2),e.Q6J("ngIf",o.BannerConfigurationForm.get("gTag").value),e.xp6(1),e.Q6J("ngIf",o.BannerConfigurationForm.get("gTag").value),e.xp6(1),e.Q6J("ngIf",o.BannerConfigurationForm.get("gTag").value),e.xp6(1),e.Q6J("ngIf",o.BannerConfigurationForm.get("gTag").value),e.xp6(1),e.Q6J("ngIf",o.BannerConfigurationForm.get("gTag").value),e.xp6(1),e.Q6J("ngIf",o.BannerConfigurationForm.get("gTag").value),e.xp6(1),e.Q6J("ngIf",o.BannerConfigurationForm.get("gTag").value),e.xp6(9),e.Q6J("disabled",1!=o.showUETId),e.xp6(1),e.Q6J("ngIf",1==o.BannerConfigurationForm.get("microsoftConsent").value),e.xp6(10),e.Q6J("ngIf",1==o.BannerConfigurationForm.get("clarityConsent").value),e.xp6(1),e.Q6J("ngIf",1==o.BannerConfigurationForm.get("clarityConsent").value),e.xp6(9),e.Q6J("disabled",1!=o.showMetaPixelId),e.xp6(1),e.Q6J("ngIf",1==o.BannerConfigurationForm.get("metaPixelConsent").value),e.xp6(15),e.Q6J("ngStyle",e.VKq(104,P,n.checked?null:"#999")),e.xp6(4),e.Q6J("disabled",!n.checked)("options",e.WLB(108,R,e.DdM(106,ma),e.DdM(107,Ca))),e.xp6(3),e.Q6J("ngStyle",e.VKq(111,P,o.BannerConfigurationForm.value.ShowBadge?null:"#999")),e.xp6(4),e.Q6J("disabled",!n.checked)("options",e.WLB(115,R,e.DdM(113,ha),e.DdM(114,xa))),e.xp6(14),e.Q6J("ngIf",o.companyLogoValidation.error),e.xp6(3),e.Q6J("ngIf",o.customerBrandLogo),e.xp6(1),e.Q6J("ngIf",!o.customerBrandLogo),e.xp6(1),e.Q6J("ngIf",o.customerBrandLogo),e.xp6(8),e.Q6J("ngStyle",e.VKq(118,S,2===o.step?"block":"none")),e.xp6(
15),e.Q6J("value",o.languages),e.xp6(3),e.Q6J("ngIf",3===o.step),e.xp6(1),e.Q6J("ngIf",4===o.step),e.xp6(1),e.Q6J("ngIf",5===o.step),e.xp6(1),e.Q6J("ngIf",6===o.step),e.xp6(1),e.Q6J("ngIf",7===o.step)}}function va(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",491)(1,"app-az-banner",492),e.NdJ("currentBannerLayer",function(t){e.CHM(n);const r=e.oxw(3);return e.KtG(r.onChangeBannerLayer(t))})("showBadgeOption",function(){e.CHM(n);const t=e.oxw(3);return e.KtG(t.showBadgeOption=!1)}),e.qZA()()}if(2&i){const n=e.oxw(3);e.xp6(1),e.Q6J("BundlePayload",n.BundlePayload)("formData",n.BannerConfigurationForm.value)}}const ba=function(){return{label:"EEA & UK",value:"gdpr"}},Za=function(){return{label:"USA",value:"ccpa"}},Ba=function(){return{label:"GLOBAL",value:"generic"}},ya=function(i,a,n){return[i,a,n]},wa=function(){return{label:"Banner",value:"banner"}},Aa=function(){return{label:"Preference",value:"preference"}},U=function(i){return{"step-active":i}},ka=function(){return[26,80]},Pa=function(){return[24,50]},se=function(i,a){return{"btn-primary device-btn":i,"btn-white":a}},_e=function(i){return{fill:i}};function Sa(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"form",32),e.NdJ("ngSubmit",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.onSubmit())}),e.TgZ(1,"div",33)(2,"div",34)(3,"div",35)(4,"h5",36),e._uU(5,"Banner Configuration "),e.qZA(),e.TgZ(6,"div",37)(7,"p",38),e._uU(8,"Preview :"),e.qZA(),e.TgZ(9,"div",39)(10,"p-selectButton",40),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(2);return e.KtG(r.onChangeBannerType(t))}),e.qZA()()(),e.TgZ(11,"div",18)(12,"p-selectButton",41),e.NdJ("onChange",function(){e.CHM(n);const t=e.oxw(2);return t.BundlePayloadChange(),e.KtG(t.deleteAllCookies())})("ngModelChange",function(t){e.CHM(n);const r=e.oxw(2);return e.KtG(r.currentBannerLayer=t)}),e.qZA()(),e.TgZ(13,"div",42),e.YNc(14,ho,3,3,"p",43),e.qZA()()()(),e.TgZ(15,"div",44)(16,"div",45)(17,"div",46),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.onSelectStep(1))}),e.TgZ(18,"p",47),e._UZ(19,"i",48),e.qZA(),e.TgZ(20,"p",49),e._uU(21,"Config"),e.qZA()(),e.TgZ(22,"div",46),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.onSelectStep(2))}),e.TgZ(23,"p",47),e._UZ(24,"i",50),e.qZA(),e.TgZ(25,"p",49),e._uU(26,"Language"),e.qZA()(),e.TgZ(27,"div",46),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.onCheckAllowBannerConfig(3))}),e.TgZ(28,"p",47),e._UZ(29,"i",51),e.qZA(),e.TgZ(30,"p",49),e._uU(31,"Content"),e.qZA()(),e.TgZ(32,"div",46),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.onCheckAllowBannerConfig(4))}),e.TgZ(33,"p",47),e._UZ(34,"i",52),e.qZA(),e.TgZ(35,"p",49),e._uU(36," Layout"),e.qZA()(),e.TgZ(37,"div",46),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.onSelectStep(5))}),e.TgZ(38,"p",47),e._UZ(39,"i",53),e.qZA(),e.TgZ(40,"p",49),e._uU(41,"Purposes"),e.qZA()(),e.TgZ(42,"div",46),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.onSelectStep(6))}),e.TgZ(43,"p",54),e._UZ(44,"i",55),e.qZA(),e.TgZ(45,"p",56),e._uU(46,"Display "),e._UZ(47,"br"),e._uU(48," Frequency"),e.qZA()(),e.TgZ(49,"div",46),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.onSelectStep(7))}),e.TgZ(50,"p",47),e._UZ(51,"i",53),e.qZA(),e.TgZ(52,"p",49),e._uU(53,"Vendors"),e.qZA()()(),e.TgZ(54,"div",57)(55,"p-splitter",58),e.YNc(56,Ta,327,120,"ng-template",59),e.YNc(57,va,2,2,"ng-template",59),e.qZA()()(),e.TgZ(58,"div",60)(59,"div",61)(60,"div",62),e._UZ(61,"div",63),e.TgZ(62,"div",64)(63,"h5"),e.O4$(),e.TgZ(64,"svg",65),e._UZ(65,"path",66),e.qZA(),e._uU(66," Preview Device "),e.qZA()(),e.kcU(),e.TgZ(67,"div",63)(68,"div",67)(69,"button",68),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.onSelectDevice("web"))}),e.O4$(),e.TgZ(70,"svg",69),e._UZ(71,"path",70),e.qZA()(),e.kcU(),e.TgZ(72,"button",68),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.onSelectDevice("tablet"))}),e.O4$(),e.TgZ(73,"svg",71),e._UZ(74,"path",72),e.qZA()(),e.kcU(),e.TgZ(75,"button",68),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.onSelectDevice("mobile"))}),e.O4$(),e.TgZ(76,"svg",73),e._UZ(77,"path",74),e.qZA()()()(),e.kcU(),e.TgZ(78,"div",75)(79,"a",76),e.O4$(),e.TgZ(80,"svg",77),e._UZ(81,"path",78),e.qZA(),e._uU(82," Publish History "),e.qZA()()()()()()}if(2&i){const n=e.oxw(2);e.Q6J("formGroup",n.BannerConfigurationForm),e.xp6(4),e.Q6J("ngClass",n.isSidemenuClicked?"col-lg-3":"col-lg-4"),e.xp6(6),e.Q6J("options",e.kEZ(26,ya,e.DdM(23,ba),e.DdM(24,Za),e.DdM(25,Ba))),e.xp6(2),e.Q6J("options",e.WLB(32,R,e.DdM(30,wa),e.DdM(31,Aa)))("ngModel",n.currentBannerLayer)("ngModelOptions",e.DdM(35,ne)),e.xp6(2),e.Q6J("ngIf",null==n.BannerConfigurationForm.value?null:n.BannerConfigurationForm.value.PublishDateDisplay),e.xp6(3),e.Q6J("ngClass",e.VKq(36,U,1===n.step)),e.xp6(
15),e.Q6J("ngClass",e.VKq(38,U,2===n.step)),e.xp6(5),e.Q6J("ngClass",e.VKq(40,U,3===n.step)),e.xp6(5),e.Q6J("ngClass",e.VKq(42,U,4===n.step)),e.xp6(5),e.Q6J("ngClass",e.VKq(44,U,5===n.step)),e.xp6(5),e.Q6J("ngClass",e.VKq(46,U,6===n.step)),e.xp6(7),e.Q6J("ngClass",e.VKq(48,U,7===n.step)),e.xp6(6),e.Q6J("panelSizes",e.DdM(50,ka))("minSizes",e.DdM(51,Pa)),e.xp6(14),e.Q6J("ngClass",e.WLB(52,se,"web"===n.BannerConfigurationForm.value.CurrentPreviewDevice,"web"!==n.BannerConfigurationForm.value.CurrentPreviewDevice)),e.xp6(1),e.Q6J("ngStyle",e.VKq(55,_e,"web"===n.BannerConfigurationForm.value.CurrentPreviewDevice?"#ffffff":"#1b365d")),e.xp6(2),e.Q6J("ngClass",e.WLB(57,se,"tablet"===n.BannerConfigurationForm.value.CurrentPreviewDevice,"tablet"!==n.BannerConfigurationForm.value.CurrentPreviewDevice)),e.xp6(1),e.Q6J("ngStyle",e.VKq(60,_e,"tablet"===n.BannerConfigurationForm.value.CurrentPreviewDevice?"#ffffff":"#1b365d")),e.xp6(2),e.Q6J("ngClass",e.WLB(62,se,"mobile"===n.BannerConfigurationForm.value.CurrentPreviewDevice,"mobile"!==n.BannerConfigurationForm.value.CurrentPreviewDevice)),e.xp6(1),e.Q6J("ngStyle",e.VKq(65,_e,"mobile"===n.BannerConfigurationForm.value.CurrentPreviewDevice?"#ffffff":"#1b365d")),e.xp6(3),e.Q6J("queryParams",e.WLB(67,ce,n.currentManagedOrgID,n.currrentManagedPropID))}}function Ua(i,a){if(1&i&&(e.ynx(0),e.YNc(1,Sa,83,70,"form",31),e.BQk()),2&i){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.BannerConfigurationForm)}}function Da(i,a){1&i&&e._UZ(0,"app-scan-details",493),2&i&&e.Q6J("isChild",!0)}function qa(i,a){1&i&&e._UZ(0,"app-cookie-category",493),2&i&&e.Q6J("isChild",!0)}function Ma(i,a){1&i&&e._UZ(0,"app-setup",493),2&i&&e.Q6J("isChild",!0)}function Na(i,a){1&i&&(e.TgZ(0,"div",494)(1,"h5",495),e._uU(2,"Creating Your Banner ..."),e.qZA(),e.TgZ(3,"div",496)(4,"div",497)(5,"span",498),e._uU(6,"Loading..."),e.qZA()(),e.TgZ(7,"div",499)(8,"span",498),e._uU(9,"Loading..."),e.qZA()(),e.TgZ(10,"div",500)(11,"span",498),e._uU(12,"Loading..."),e.qZA()(),e.TgZ(13,"div",501)(14,"span",498),e._uU(15,"Loading..."),e.qZA()(),e.TgZ(16,"div",502)(17,"span",498),e._uU(18,"Loading..."),e.qZA()(),e.TgZ(19,"div",503)(20,"span",498),e._uU(21,"Loading..."),e.qZA()(),e.TgZ(22,"div",504)(23,"span",498),e._uU(24,"Loading..."),e.qZA()(),e.TgZ(25,"div",505)(26,"span",498),e._uU(27,"Loading..."),e.qZA()()()())}function Ia(i,a){if(1&i&&(e.TgZ(0,"p",513),e._uU(1),e.ALo(2,"timeago"),e.qZA()),2&i){const n=e.oxw(2);e.xp6(1),e.hij("Last Reconsent date : ",e.lcZ(2,1,null==n.BannerConfigurationForm.value?null:n.BannerConfigurationForm.value.PublishDate),"")}}function Fa(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",506)(1,"button",507),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return e.KtG(null==t.modalRef?null:t.modalRef.hide())}),e.TgZ(2,"span",508),e._uU(3,"\xd7"),e.qZA()(),e.TgZ(4,"h5",509),e._uU(5,"Do you want to let your users give their consents again?"),e.qZA(),e.TgZ(6,"button",510),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return t.publishType="publish",t.onSubmit(),e.KtG(t.modalRef.hide())}),e.qZA(),e.TgZ(7,"button",511),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return t.publishType="publish",t.onSubmitWithReConsent(),e.KtG(t.modalRef.hide())}),e.qZA(),e.YNc(8,Ia,3,3,"p",512),e.qZA()}if(2&i){const n=e.oxw();e.xp6(8),e.Q6J("ngIf",null==n.BannerConfigurationForm.value?null:n.BannerConfigurationForm.value.PublishDate)}}function Oa(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"button",532),e.NdJ("click",function(){e.CHM(n);const t=e.oxw().index,r=e.oxw(2);return e.KtG(r.deleteUser(t))}),e._UZ(1,"i",533),e.qZA()}}function Ja(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"button",539),e.NdJ("click",function(){e.CHM(n);const t=e.oxw().index,r=e.oxw().index,l=e.oxw(2);return e.KtG(l.deletePhone(r,t))}),e._UZ(1,"i",533),e.qZA()}}function Ga(i,a){if(1&i&&(e.TgZ(0,"tr",523)(1,"td",534)(2,"div",535),e._UZ(3,"quill-editor",536),e.qZA()(),e.TgZ(4,"td",534)(5,"div",535),e._UZ(6,"quill-editor",537),e.qZA()(),e.TgZ(7,"td",518),e.YNc(8,Ja,2,0,"button",538),e.qZA()()),2&i){const n=a.index,o=e.oxw().$implicit,t=e.oxw(2);e.s9C("formGroupName",n),e.xp6(3),e.Q6J("modules",t.quillConfig),e.xp6(3),e.Q6J("modules",t.quillConfig),e.xp6(2),e.Q6J("ngIf",o.controls.answer.controls.length>1)}}const La=function(i){return{"is-invalid":i}};function Ra(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"tr",523)(1,"td",518),e.YNc(2,Oa,2,0,"button",524),e.qZA(),e.TgZ(3,"td",525),e._UZ(4,"textarea",526),e.qZA(),e.TgZ(5,"td",525)(6,"div",527)(7,"div",528)(8,"table",529)(9,"thead")(10,"th"),e._uU(11,"Sub title"),e.qZA(),e.TgZ(12,"th"),e._uU(13,"Description"),e.qZA()(),e.TgZ(14,"tbody"),e.YNc(15,Ga,9,4,"tr",517),e.qZA(),e.TgZ(16,"tfoot")(17,"tr")(18,"td",518)(19,"button",530),e.NdJ("click",function(){const r=e.CHM(n).index,l=e.oxw(2);return e.KtG(l.addPhone(r))}),e._uU(20,"Add Q&A"),e._UZ(21,"i",531),e.qZA()()()()()()()()()}if(2&i){const n=a.$implicit,o=a.index,t=e.oxw(2);e.s9C("formGroupName",o),e.xp6(2),e.Q6J("ngIf",t.BannerConfigurationForm.controls.PrivacyInformationQNA.controls.length>1),e.xp6(2),e.MGl("id","question",o,""),e.Q6J("ngClass",e.VKq(5,La,t.submitted&&n.get("question").errors)),e.xp6(11),e.Q6J("ngForOf",n.controls.answer.controls)}}function Va(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"button",540),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.addUser())}),e._uU(1,"Add Section"),e._UZ(2,"i",531),e.qZA()}}function Qa(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"button",541),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.addUser())}),e._UZ(1,"i",542),e.qZA()}}function Ea(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",506)(1,"button",507),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return e.KtG(null==t.modalRef?null:t.modalRef.hide())}),e.TgZ(2,"span",508),e._uU(3,"\xd7"),e.qZA()(),e.TgZ(4,"h5",509),e._uU(5,"Manage Privacy Information"),e.qZA(),e.TgZ(6,"form",514)(7,"div",62)(8,"div",515)(9,"table",516)(10,"thead"),e._UZ(11,"th"),e.TgZ(12,"th"),e._uU(13,"Title"),e.qZA()(),e.TgZ(14,"tbody"),e.YNc(15,Ra,22,7,"tr",517),e.qZA(),e.TgZ(16,"tfoot")(17,"tr")(18,"td",518),e.YNc(19,Va,3,0,"button",519),e.YNc(20,Qa,2,0,"button",520),e.qZA()()()()()()()(),e.TgZ(21,"div",521)(22,"button",522),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return t.onPublishLangOnS3(),t.BundlePayloadChange(),e.KtG(null==t.modalRef?null:t.modalRef.hide())}),e._uU(23,"Save"),e.qZA()()}if(2&i){const n=e.oxw();e.xp6(6),e.Q6J("formGroup",n.BannerConfigurationForm),e.xp6(9),e.Q6J("ngForOf",n.BannerConfigurationForm.controls.PrivacyInformationQNA.controls),e.xp6(4),e.Q6J("ngIf",0===n.BannerConfigurationForm.value.PrivacyInformationQNA.length),e.xp6(1),e.Q6J("ngIf",n.BannerConfigurationForm.value.PrivacyInformationQNA.length>0)}}function Ka(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",506)(1,"button",507),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return e.KtG(null==t.modalRef?null:t.modalRef.hide())}),e.TgZ(2,"span",508),e._uU(3,"\xd7"),e.qZA()(),e.TgZ(4,"p",509),e._uU(5,"We have upgraded our cookie banner. Publishing the configuration will necessarily need to update the JS code on your website. Go to the setup page to copy the new JS code."),e.qZA(),e.TgZ(6,"button",543),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(),r=e.MAs(34);return t.iab_tcf_v3_enabled=!0,t.publishType="publish",t.modalRef.hide(),e.KtG(t.openModal(r))}),e.qZA(),e.TgZ(7,"button",544),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(),r=e.MAs(34);return t.iab_tcf_v3_enabled=!1,t.publishType="publish",t.modalRef.hide(),e.KtG(t.openModal(r))}),e.qZA()()}}function Ya(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",506)(1,"button",507),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return e.KtG(null==t.modalRef?null:t.modalRef.hide())}),e.TgZ(2,"span",508),e._uU(3,"\xd7"),e.qZA()(),e.TgZ(4,"h5",509),e._uU(5," Are you sure you want to reset to default? "),e.qZA(),e.TgZ(6,"p"),e._uU(7,"This will reset all the user-defined settings, contents, and layouts into the default."),e.qZA(),e.TgZ(8,"button",545),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return e.KtG(null==t.modalRef?null:t.modalRef.hide())}),e._uU(9,"Cancel"),e.qZA(),e.TgZ(10,"button",540),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return e.KtG(t.onResetEverything())}),e._uU(11,"I Agree"),e.qZA()()}}function Ha(i,a){if(1&i&&(e.TgZ(0,"div",191)(1,"div"),e._uU(2),e.qZA()()),2&i){const n=a.$implicit,o=e.oxw(4);e.xp6(2),e.Oqu(o.onFindRegulation(n))}}function za(i,a){1&i&&(e.TgZ(0,"div",192),e._uU(1," Select "),e.qZA())}function ja(i,a){if(1&i&&(e.YNc(0,Ha,3,1,"div",189),e.YNc(1,za,2,0,"div",190)),2&i){const n=e.oxw(3);e.Q6J("ngForOf",n.BannerConfigurationForm.value.RegulationName),e.xp6(1),e.Q6J("ngIf",!n.BannerConfigurationForm.value.RegulationName||0===n.BannerConfigurationForm.value.RegulationName.length)}}function $a(i,a){if(1&i&&(e.TgZ(0,"div",193)(1,"div",196),e._uU(2),e.qZA()()),2&i){const n=a.$implicit;e.xp6(1),e.s9C("title",n.name),e.xp6(1),e.Oqu(n.name)}}function Wa(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"form",514)(1,"div",107)(2,"div",108)(3,"p",109),e._uU(4,"US-NATIONAL "),e.qZA()(),e.TgZ(5,"div",108)(6,"p-inputSwitch",555),e.NdJ("onChange",function(t){e.CHM(n);const r=e.MAs(20),l=e.oxw(2);return e.KtG(l.onDisableUSNAT(t,r.value))}),e.qZA()()(),e.TgZ(7,"div",107)(8,"div",108)(9,"p",109),e._uU(10,"GDPR (Using GPP) "),e.qZA()(),e.TgZ(11,"div",108),e._UZ(12,"p-inputSwitch",556),e.qZA()(),e.TgZ(13,"div",107)(14,"div",108)(15,"p",109),e._uU(16,"STATE-REGULATIONS "),e.qZA()(),e.TgZ(17,"div",108)(18,"div",254)(19,"p-multiSelect",557,558),e.NdJ("onClick",function(){e.CHM(n);const t=e.MAs(20),r=e.oxw(2);return e.KtG(r.onSelectRegulations(t.value))})("onChange",function(t){e.CHM(n);const r=e.MAs(20),l=e.oxw(2);return e.KtG(l.onChangeRegulation(t,r.value))}),e.YNc(21,ja,2,2,"ng-template",104),e.YNc(22,$a,3,2,"ng-template",105),e.qZA()()()()()}if(2&i){const n=e.oxw(2);e.Q6J("formGroup",n.BannerConfigurationForm),e.xp6(19),e.Q6J("options",n.regulationName)("ngClass",e.VKq(3,G,n.submitted&&n.f.RegulationName.errors))}}function Xa(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"button",255),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.selectedRegulation="usnat")}),e._uU(1,"USNAT "),e.qZA()}if(2&i){const n=e.oxw(2);e.Q6J("ngStyle",e.WLB(1,J,"usnat"===n.selectedRegulation?"var(--side-nav-org)":"#555","usnat"===n.selectedRegulation?"2px solid":null))}}function el(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"button",255),e.NdJ("click",function(){e.CHM(n);const t=e.oxw().$implicit,r=e.oxw(2);return e.KtG(r.selectedRegulation=t.code)}),e._uU(1),e.qZA()}if(2&i){const n=e.oxw().$implicit,o=e.oxw(2);e.Q6J("ngStyle",e.WLB(2,J,o.selectedRegulation===n.code?"var(--side-nav-org)":"#555",o.selectedRegulation===n.code?"2px solid":null)),e.xp6(1),e.hij("",n.label," ")}}function nl(i,a){if(1&i&&(e.ynx(0),e.YNc(1,el,2,5,"button",551),e.BQk()),2&i){const n=a.$implicit,o=e.oxw(2);e.xp6(1),e.Q6J("ngIf",o.BannerConfigurationForm.value.RegulationName.includes(n.code))}}function tl(i,a){if(1&i&&(e.TgZ(0,"div",191)(1,"div"),e._uU(2),e.qZA()()),2&i){const n=a.$implicit,o=e.oxw(6);e.xp6(2),e.Oqu(o.onFindNatSensitiveInfo(n))}}function ol(i,a){1&i&&(e.TgZ(0,"div",192),e._uU(1," Select "),e.qZA())}function il(i,a){if(1&i&&(e.YNc(0,tl,3,1,"div",189),e.YNc(1,ol,2,0,"div",190)),2&i){const n=e.oxw(5);e.Q6J("ngForOf",n.BannerConfigurationForm.value.SensitiveInformationData),e.xp6(1),e.Q6J("ngIf",!n.BannerConfigurationForm.value.SensitiveInformationData||0===n.BannerConfigurationForm.value.SensitiveInformationData.length)}}function rl(i,a){if(1&i&&(e.TgZ(0,"div",193)(1,"div",196),e._uU(2),e.qZA()()),2&i){const n=a.$implicit;e.xp6(1),e.s9C("title",n.description),e.xp6(1),e.Oqu(n.description)}}function al(i,a){if(1&i&&(e.TgZ(0,"div",191)(1,"div"),e._uU(2),e.qZA()()),2&i){const n=a.$implicit,o=e.oxw(6);e.xp6(2),e.Oqu(o.onFindknownInfo(n))}}function ll(i,a){1&i&&(e.TgZ(0,"div",192),e._uU(1," Select "),e.qZA())}function cl(i,a){if(1&i&&(e.YNc(0,al,3,1,"div",189),e.YNc(1,ll,2,0,"div",190)),2&i){const n=e.oxw(5);e.Q6J("ngForOf",n.BannerConfigurationForm.value.KnownChildSensitiveDataConsentsData),e.xp6(1),e.Q6J("ngIf",!n.BannerConfigurationForm.value.KnownChildSensitiveDataConsentsData||0===n.BannerConfigurationForm.value.KnownChildSensitiveDataConsentsData.length)}}function sl(i,a){if(1&i&&(e.TgZ(0,"div",193)(1,"div",196),e._uU(2),e.qZA()()),2&i){const n=a.$implicit;e.xp6(1),e.s9C("title",n.description),e.xp6(1),e.Oqu(n.description)}}function _l(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"form",514)(1,"div",107)(2,"div",108)(3,"p",109),e._uU(4,"Processing of Sensitive Personal Information "),e.qZA()(),e.TgZ(5,"div",108)(6,"p-inputSwitch",562),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(4);return e.KtG(r.onDisable(t,"SensitiveInformation","SensitiveInformationData"))}),e.qZA()()(),e.TgZ(7,"div",102),e._UZ(8,"div",108),e.TgZ(9,"div",563)(10,"p-multiSelect",564),e.YNc(11,il,2,2,"ng-template",104),e.YNc(12,rl,3,2,"ng-template",105),e.qZA()()(),e.TgZ(13,"div",107)(14,"div",108)(15,"p",109),e._uU(16,"Sharing of Personal Information / Targeted Advertsing "),e.qZA()(),e.TgZ(17,"div",108),e._UZ(18,"p-inputSwitch",565),e.qZA()(),e.TgZ(19,"div",107)(20,"div",108)(21,"p",109),e._uU(22,"Sale of Personal Information "),e.qZA()(),e.TgZ(23,"div",108),e._UZ(24,"p-inputSwitch",566),e.qZA()(),e.TgZ(25,"div",107)(26,"div",108)(27,"p",109),e._uU(28,"Known Child Sensitive Data Consents "),e.qZA()(),e.TgZ(29,"div",108)(30,"p-inputSwitch",567),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(4);return e.KtG(r.onDisable(t,"KnownChildSensitiveDataConsents","KnownChildSensitiveDataConsentsData"))}),e.qZA()()(),e.TgZ(31,"div",102),e._UZ(32,"div",108),e.TgZ(33,"div",563)(34,"p-multiSelect",568),e.YNc(35,cl,2,2,"ng-template",104),e.YNc(36,sl,3,2,"ng-template",105),e.qZA()()(),e.TgZ(37,"div",107)(38,"div",108)(39,"p",109),e._uU(40,"Personal Data Consents "),e.qZA()(),e.TgZ(41,"div",108),e._UZ(42,"p-inputSwitch",569),e.qZA()(),e.TgZ(43,"div",107)(44,"div",108)(45,"p",109),e._uU(46,"Default Consent "),e.qZA()(),e.TgZ(47,"div",108),e._UZ(48,"p-dropdown",570),e.qZA()(),e.TgZ(49,"div",107)(50,"div",108)(51,"p",109),e._uU(52,"MSPA Covered Transaction "),e.qZA()(),e.TgZ(53,"div",108)(54,"p-inputSwitch",571),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(4);return e.KtG(r.onDisableMSPA(t,"MspaCoveredTransaction","mspaMode","SalePersonalInfo","SharingPersonalInfo"))}),e.qZA()()(),e.TgZ(55,"div",107)(56,"div",108)(57,"p",109),e._uU(58,"MSPA mode "),e.qZA()(),e.TgZ(59,"div",108)(60,"p-dropdown",572,573),e.NdJ("onChange",function(){e.CHM(n);const t=e.MAs(61),r=e.oxw(4);return e.KtG(r.onDisableShareSale("SalePersonalInfo","SharingPersonalInfo",t.value,null==r.BannerConfigurationForm?null:r.BannerConfigurationForm.value.MspaCoveredTransaction))}),e.qZA()()()()}if(2&i){const n=e.oxw(4);e.Q6J("formGroup",n.BannerConfigurationForm),e.xp6(10),e.Q6J("options",n.sensitiveInformationData)("ngClass",e.VKq(10,G,n.submitted&&n.f.SensitiveInformationData.errors))("disabled",!n.BannerConfigurationForm.value.SensitiveInformation),e.xp6(8),e.Q6J("disabled","MspaServiceProviderMode"==n.BannerConfigurationForm.get("mspaMode").value&&n.ondisableShare("SharingPersonalInfo")),e.xp6(6),e.Q6J("disabled","MspaServiceProviderMode"==n.BannerConfigurationForm.get("mspaMode").value&&n.ondisableSale("SalePersonalInfo")),e.xp6(10),e.Q6J("options",n.knownChildSensitiveDataConsentsData)("ngClass",e.VKq(12,G,n.submitted&&n.f.KnownChildSensitiveDataConsentsData.errors)),e.xp6(14),e.Q6J("options",n.ConsentOptions),e.xp6(12),e.Q6J("options",n.MspaOptions)}}function pl(i,a){if(1&i&&(e.TgZ(0,"div",560)(1,"div",561),e.YNc(2,_l,62,14,"form",548),e.qZA()()),2&i){const n=e.oxw(3);e.xp6(2),e.Q6J("ngIf",n.BannerConfigurationForm)}}function gl(i,a){if(1&i&&(e.TgZ(0,"section"),e.YNc(1,pl,3,1,"div",559),e.qZA()),2&i){const n=e.oxw(2);
1e.xp6(1),e.Q6J("ngIf","optIn"===n.currentGppLayer)}}function dl(i,a){if(1&i&&(e.TgZ(0,"div",191)(1,"div"),e._uU(2),e.qZA()()),2&i){const n=a.$implicit,o=e.oxw(6).$implicit,t=e.oxw(2);e.xp6(2),e.Oqu(t.onFindSensitiveInfo(o.code,n))}}function ul(i,a){1&i&&(e.TgZ(0,"div",192),e._uU(1,"Select"),e.qZA())}function fl(i,a){if(1&i&&(e.YNc(0,dl,3,1,"div",189),e.YNc(1,ul,2,0,"div",190)),2&i){const n=e.oxw(5).$implicit,o=e.oxw(2);e.Q6J("ngForOf",o.BannerConfigurationForm.value[n.sensitiveDataKey]),e.xp6(1),e.Q6J("ngIf",!o.BannerConfigurationForm.value[n.sensitiveDataKey]||0===o.BannerConfigurationForm.value[n.sensitiveDataKey].length)}}function ml(i,a){if(1&i&&(e.TgZ(0,"div",193)(1,"div",196),e._uU(2),e.qZA()()),2&i){const n=a.$implicit;e.xp6(1),e.s9C("title",n.description),e.xp6(1),e.Oqu(n.description)}}function Cl(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"div",107)(2,"div",108)(3,"p",109),e._uU(4,"Processing of Sensitive Personal Information"),e.qZA()(),e.TgZ(5,"div",108)(6,"p-inputSwitch",576),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(4).$implicit,l=e.oxw(2);return e.KtG(l.onDisable(t,r.sensitiveKey,r.sensitiveDataKey))}),e.qZA()()(),e.TgZ(7,"div",102),e._UZ(8,"div",108),e.TgZ(9,"div",563)(10,"p-multiSelect",578),e.YNc(11,fl,2,2,"ng-template",104),e.YNc(12,ml,3,2,"ng-template",105),e.qZA()()(),e.BQk()}if(2&i){const n=e.oxw(4).$implicit,o=e.oxw(2);e.xp6(6),e.Q6J("formControlName",n.sensitiveKey),e.xp6(4),e.Q6J("options",n.sensitiveDataOptions)("formControlName",n.sensitiveDataKey)("ngClass",e.VKq(5,G,o.submitted&&(null==o.f[n.sensitiveDataKey]?null:o.f[n.sensitiveDataKey].errors)))("disabled",!o.BannerConfigurationForm.value[n.sensitiveKey])}}function hl(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"div",107)(2,"div",108)(3,"p",109),e._uU(4,"Known Child Sensitive Data Consents"),e.qZA()(),e.TgZ(5,"div",108)(6,"p-inputSwitch",576),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(4).$implicit,l=e.oxw(2);return e.KtG(r.knownChildDataKey?l.onDisable(t,r.knownChildKey,r.knownChildDataKey):null)}),e.qZA()()(),e.BQk()}if(2&i){const n=e.oxw(4).$implicit;e.xp6(6),e.Q6J("formControlName",n.knownChildKey)}}function xl(i,a){if(1&i&&(e.TgZ(0,"div",191)(1,"div"),e._uU(2),e.qZA()()),2&i){const n=a.$implicit,o=e.oxw(6).$implicit,t=e.oxw(2);e.xp6(2),e.Oqu(t.onFindKnownChildInfo(o.code,n))}}function Tl(i,a){1&i&&(e.TgZ(0,"div",192),e._uU(1,"Select "),e.qZA())}function vl(i,a){if(1&i&&(e.YNc(0,xl,3,1,"div",189),e.YNc(1,Tl,2,0,"div",190)),2&i){const n=e.oxw(5).$implicit,o=e.oxw(2);e.Q6J("ngForOf",o.BannerConfigurationForm.value[n.knownChildDataKey]),e.xp6(1),e.Q6J("ngIf",!o.BannerConfigurationForm.value[n.knownChildDataKey]||0===o.BannerConfigurationForm.value[n.knownChildDataKey].length)}}function bl(i,a){if(1&i&&(e.TgZ(0,"div",193)(1,"div",196),e._uU(2),e.qZA()()),2&i){const n=a.$implicit;e.xp6(1),e.s9C("title",n.description),e.xp6(1),e.Oqu(n.description)}}function Zl(i,a){if(1&i&&(e.ynx(0),e.TgZ(1,"div",102),e._UZ(2,"div",108),e.TgZ(3,"div",563)(4,"p-multiSelect",579),e.YNc(5,vl,2,2,"ng-template",104),e.YNc(6,bl,3,2,"ng-template",105),e.qZA()()(),e.BQk()),2&i){const n=e.oxw(4).$implicit,o=e.oxw(2);e.xp6(4),e.Q6J("options",n.knownChildDataOptions)("formControlName",n.knownChildDataKey)("disabled",!o.BannerConfigurationForm.value[n.knownChildKey])}}function Bl(i,a){if(1&i&&(e.ynx(0),e.TgZ(1,"div",107)(2,"div",108)(3,"p",109),e._uU(4,"Personal Data consents"),e.qZA()(),e.TgZ(5,"div",108),e._UZ(6,"p-inputSwitch",580),e.qZA()(),e.BQk()),2&i){const n=e.oxw(4).$implicit;e.xp6(6),e.Q6J("formControlName",n.personalDataConsentsKey)}}function yl(i,a){if(1&i&&(e.ynx(0),e.TgZ(1,"div",107)(2,"div",108)(3,"p",109),e._uU(4,"Additional Data Processing Consent"),e.qZA()(),e.TgZ(5,"div",108),e._UZ(6,"p-inputSwitch",580),e.qZA()(),e.BQk()),2&i){const n=e.oxw(4).$implicit;e.xp6(6),e.Q6J("formControlName",n.additionalDataConsentKey)}}function wl(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"form",514),e.YNc(1,Cl,13,7,"ng-container",16),e.TgZ(2,"div",107)(3,"div",108)(4,"p",109),e._uU(5,"Sharing of Personal Information / Targeted Advertising"),e.qZA()(),e.TgZ(6,"div",108),e._UZ(7,"p-inputSwitch",574),e.qZA()(),e.TgZ(8,"div",107)(9,"div",108)(10,"p",109),e._uU(11,"Sale of Personal Information"),e.qZA()(),e.TgZ(12,"div",108),e._UZ(13,"p-inputSwitch",574),e.qZA()(),e.YNc(14,hl,7,1,"ng-container",16),e.YNc(15,Zl,7,3,"ng-container",16),e.YNc(16,Bl,7,1,"ng-container",16),e.YNc(17,yl,7,1,"ng-container",16),e.TgZ(18,"div",107)(19,"div",108)(20,"p",109),e._uU(21,"Default Consent"),e.qZA()(),e.TgZ(22,"div",108),e._UZ(23,"p-dropdown",575),e.qZA()(),e.TgZ(24,"div",107)(25,"div",108)(26,"p",109),e._uU(27,"MSPA Covered Transaction"),e.qZA()(),e.TgZ(28,"div",108)(29,"p-inputSwitch",576),e.NdJ("onChange",function(t){e.CHM(n);const r=e.oxw(3).$implicit,l=e.oxw(2);return e.KtG(l.onDisableMSPA(t,r.mspaCoveredKey,r.mspaModeKey,r.saleKey,r.sharingKey))}),e.qZA()()(),e.TgZ(30,"div",107)(31,"div",108)(32,"p",109),e._uU(33,"MSPA mode"),e.qZA()(),e.TgZ(34,"div",108)(35,"p-dropdown",577),e.NdJ("onChange",function(){e.CHM(n);const t=e.oxw(3).$implicit,r=e.oxw(2);return e.KtG(r.onDisableShareSale(t.saleKey,t.sharingKey,r.BannerConfigurationForm.get(t.mspaModeKey).value,null==r.BannerConfigurationForm?null:r.BannerConfigurationForm.value[t.mspaCoveredKey]))}),e.qZA()()()()}if(2&i){const n=e.oxw(3).$implicit,o=e.oxw(2);e.Q6J("formGroup",o.BannerConfigurationForm),e.xp6(1),e.Q6J("ngIf",n.sensitiveDataOptions.length>0),e.xp6(6),e.Q6J("formControlName",n.sharingKey)("disabled","MspaServiceProviderMode"==o.BannerConfigurationForm.get(n.mspaModeKey).value&&o.ondisableShare(n.sharingKey)),e.xp6(6),e.Q6J("formControlName",n.saleKey)("disabled","MspaServiceProviderMode"==o.BannerConfigurationForm.get(n.mspaModeKey).value&&o.ondisableSale(n.saleKey)),e.xp6(1),e.Q6J("ngIf",n.knownChildKey),e.xp6(1),e.Q6J("ngIf",n.knownChildDataKey),e.xp6(1),e.Q6J("ngIf",n.personalDataConsentsKey),e.xp6(1),e.Q6J("ngIf",n.additionalDataConsentKey),e.xp6(6),e.Q6J("formControlName",n.deafultConsentKey)("options",o.ConsentOptions),e.xp6(6),e.Q6J("formControlName",n.mspaCoveredKey),e.xp6(6),e.Q6J("formControlName",n.mspaModeKey)("options",o.MspaOptions)}}function Al(i,a){if(1&i&&(e.TgZ(0,"div",560)(1,"div",561),e.YNc(2,wl,36,15,"form",548),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(2),e.Q6J("ngIf",n.BannerConfigurationForm)}}function kl(i,a){if(1&i&&(e.TgZ(0,"section"),e.YNc(1,Al,3,1,"div",559),e.qZA()),2&i){const n=e.oxw(3);
1e.xp6(1),e.Q6J("ngIf","optIn"===n.currentGppLayer)}}function Pl(i,a){if(1&i&&(e.ynx(0),e.YNc(1,kl,2,1,"section",16),e.BQk()),2&i){const n=a.$implicit,o=e.oxw(2);e.xp6(1),e.Q6J("ngIf",o.BannerConfigurationForm.value.RegulationName.includes(n.code)&&o.selectedRegulation===n.code)}}function Sl(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",546)(1,"div",547),e.YNc(2,Wa,23,5,"form",548),e.TgZ(3,"div",549)(4,"div",550),e.YNc(5,Xa,2,4,"button",551),e.YNc(6,nl,2,1,"ng-container",552),e.qZA()()(),e.TgZ(7,"div"),e.YNc(8,gl,2,1,"section",16),e.YNc(9,Pl,2,1,"ng-container",552),e.qZA(),e.TgZ(10,"div",553)(11,"button",554),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return e.KtG(null==t.modalRef?null:t.modalRef.hide())}),e._uU(12," Close "),e.qZA()()()}if(2&i){const n=e.oxw();e.xp6(2),e.Q6J("ngIf",n.BannerConfigurationForm),e.xp6(3),e.Q6J("ngIf",n.BannerConfigurationForm.value.EnableUSNAT),e.xp6(1),e.Q6J("ngForOf",n.gppUsStates),e.xp6(2),e.Q6J("ngIf",n.BannerConfigurationForm.value.EnableUSNAT&&"usnat"===n.selectedRegulation),e.xp6(1),e.Q6J("ngForOf",n.gppUsStates)}}function Ul(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"div",583)(2,"h6",584)(3,"b"),e._uU(4,"GCM Default Consent Script"),e.qZA()(),e.TgZ(5,"button",585),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.copyGcmToClipboard())}),e._UZ(6,"i",586),e._uU(7),e.qZA()(),e.TgZ(8,"div",587)(9,"p",588)(10,"span")(11,"code",589),e._uU(12,"// Please copy and paste this code into the header of each page on your website(s). Place it before the Production CDN script in your document."),e.qZA()(),e._UZ(13,"br"),e.TgZ(14,"span")(15,"code",590),e._uU(16),e.qZA()(),e.TgZ(17,"span")(18,"code",591),e._uU(19),e.qZA()(),e.TgZ(20,"span")(21,"code",590),e._uU(22),e.qZA()()()(),e.BQk()}if(2&i){const n=e.oxw(2);e.xp6(7),e.hij(" ",n.isGcmCopied?"Copied":"Copy Script",""),e.xp6(9),e.Oqu(n.gcmOpeningTag),e.xp6(3),e.Oqu(n.defaultGcmScript),e.xp6(3),e.Oqu(n.gcmClosingTag)}}function Dl(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"div",583)(2,"h6",584)(3,"b"),e._uU(4,"Microsoft Uet's Default Consent Script"),e.qZA()(),e.TgZ(5,"button",585),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.copyMicrosoftToClipboard())}),e._UZ(6,"i",586),e._uU(7),e.qZA()(),e.TgZ(8,"div",587)(9,"p",588)(10,"span")(11,"code",589),e._uU(12,"// Please copy and paste this code into the header of each page on your website(s). Place it before the Production CDN script in your document."),e.qZA()(),e._UZ(13,"br"),e.TgZ(14,"span")(15,"code",590),e._uU(16),e.qZA()(),e.TgZ(17,"span")(18,"code",591),e._uU(19),e.qZA()(),e.TgZ(20,"span")(21,"code",590),e._uU(22),e.qZA()()()(),e.BQk()}if(2&i){const n=e.oxw(2);e.xp6(7),e.hij(" ",n.isMicrosoftCopied?"Copied":"Copy Script",""),e.xp6(9),e.Oqu(n.microsoftOpeningTag),e.xp6(3),e.Oqu(n.defaultMicrosoftScript),e.xp6(3),e.Oqu(n.microsoftClosingTag)}}function ql(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"div",583)(2,"h6",584)(3,"b"),e._uU(4,"Clarity Default Consent Script"),e.qZA()(),e.TgZ(5,"button",585),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.copyClarityToClipboard())}),e._UZ(6,"i",586),e._uU(7),e.qZA()(),e.TgZ(8,"div",587)(9,"p",588)(10,"span")(11,"code",589),e._uU(12,"// Please copy and paste this code into the header of each page on your website(s). Place it before the Production CDN script in your document."),e.qZA()(),e._UZ(13,"br"),e.TgZ(14,"span")(15,"code",590),e._uU(16),e.qZA()(),e.TgZ(17,"span")(18,"code",591),e._uU(19),e.qZA()(),e.TgZ(20,"span")(21,"code",590),e._uU(22),e.qZA()()()(),e.BQk()}if(2&i){const n=e.oxw(2);e.xp6(7),e.hij(" ",n.isClarityCopied?"Copied":"Copy Script",""),e.xp6(9),e.Oqu(n.clarityOpeningTag),e.xp6(3),e.Oqu(n.defaultClarityScript),e.xp6(3),e.Oqu(n.clarityClosingTag)}}function Ml(i,a){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"div",583)(2,"h6",584)(3,"b"),e._uU(4,"Meta Pixel Default Consent Script"),e.qZA()(),e.TgZ(5,"button",585),e.NdJ("click",function(){e.CHM(n);const t=e.oxw(2);return e.KtG(t.copyMetaToClipboard())}),e._UZ(6,"i",586),e._uU(7),e.qZA()(),e.TgZ(8,"div",587)(9,"p",588)(10,"span")(11,"code",611),e._uU(12," // Please copy and paste the below code before the init call in your Meta Pixel code."),e.qZA()(),e._UZ(13,"br"),e.TgZ(14,"span")(15,"code",591),e._uU(16),e.qZA()(),e._UZ(17,"br"),e.TgZ(18,"span")(19,"code",611),e._uU(20),e.qZA()()()(),e.BQk()}if(2&i){const n=e.oxw(2);e.xp6(7),e.hij(" ",n.isMetaCopied?"Copied":"Copy Script",""),e.xp6(9),e.Oqu(n.defaultMetaScript),e.xp6(4),e.Oqu(n.metaPixelInstruction)}}function Nl(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",506)(1,"button",507),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return e.KtG(null==t.modalRef?null:t.modalRef.hide())}),e.TgZ(2,"span",508),e._uU(3,"\xd7"),e.qZA()(),e.TgZ(4,"div",581)(5,"div",582),e._uU(6," Please ignore if you have already saved the CDN script, otherwise copy and paste the code into header of your website."),e.qZA(),e.YNc(7,Ul,23,4,"ng-container",16),e.YNc(8,Dl,23,4,"ng-container",16),e.YNc(9,ql,23,4,"ng-container",16),e.YNc(10,Ml,21,3,"ng-container",16),e.TgZ(11,"div",583)(12,"h6",584)(13,"b"),e._uU(14,"Production CDN "),e.qZA()(),e.TgZ(15,"button",585),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return e.KtG(t.copyToClipboard())}),e._UZ(16,"i",586),e._uU(17),e.qZA()(),e.TgZ(18,"div",587)(19,"p",588)(20,"span")(21,"code",589),e._uU(22,"// Please copy and paste this code into the header of each page on your website(s). Place it after all Consent Mode script(s), or use it alone if no Mode scripts are configured."),e.qZA()(),e._UZ(23,"br"),e.TgZ(24,"span")(25,"code",590),e._uU(26),e.qZA()(),e.TgZ(27,"span",591),e._uU(28),e.qZA(),e.TgZ(29,"span")(30,"code",590),e._uU(31),e.qZA()(),e._UZ(32,"br"),e.qZA()(),e.TgZ(33,"div",592)(34,"div",593)(35,"h5"),e._uU(36),e.qZA()(),e.TgZ(37,"div",594)(38,"a",201)(39,"div",595),e._UZ(40,"img",596),e.qZA()(),e.TgZ(41,"a",201)(42,"div",597),e._UZ(43,"img",598),e.qZA()(),e.TgZ(44,"a",201)(45,"div",599),e._UZ(46,"img",600),e.qZA()(),e.TgZ(47,"a",201)(48,"div",601),e._UZ(49,"img",602),e.qZA()(),e.TgZ(50,"a",201)(51,"div",603),e._UZ(52,"img",604),e.qZA()(),e.TgZ(53,"a",201)(54,"div",605),e._UZ(55,"img",606),e.qZA()()(),e.TgZ(56,"div",607)(57,"button",608),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return e.KtG(t.goToDashboard())}),e._UZ(58,"i",609),e._uU(59," Go to Dashboard "),e.qZA(),e.TgZ(60,"button",540),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return e.KtG(t.goToSetup())}),e._UZ(61,"i",610),e._uU(62," Implementation "),e.qZA()()()()()}if(2&i){const n=e.oxw();e.xp6(7),e.Q6J("ngIf",n.showGcmScriptInPublishModal),e.xp6(1),e.Q6J("ngIf",n.showMicrosoftScriptInPublishModal),e.xp6(1),e.Q6J("ngIf",n.showClarityScriptInPublishModal),e.xp6(1),e.Q6J("ngIf",n.showMetaScriptInPublishModal),e.xp6(7),e.hij(" ",n.isCopied?"Copied":"Copy Script",""),e.xp6(9),e.Oqu(n.addScript),e.xp6(2),e.Oqu(n.scriptUrl),e.xp6(3),e.Oqu(n.closeScript),e.xp6(5),e.hij("How to integrate ",n.portal," scripts to:"),e.xp6(2),e.MGl("href","",n.supportURL,"/help-center/articles/23/25/63/implement-adzapier-applications-on-website-html",e.LSH),e.xp6(3),e.MGl("href","",n.supportURL,"/help-center/articles/23/25/40/adzapiers-cookie-banner-integration-with-wordpress",e.LSH),e.xp6(3),e.MGl("href","",n.supportURL,"/help-center/articles/23/25/44/adzapiers-cookie-banner-integration-with-shopify",e.LSH),e.xp6(3),e.MGl("href","",n.supportURL,"/help-center/articles/23/25/49/adzapiers-cookie-banner-integration-with-squarespace",e.LSH),e.xp6(3),e.MGl("href","",n.supportURL,"/help-center/articles/23/25/47/adzapiers-cookie-banner-integration-with-blogger",e.LSH),e.xp6(3),e.MGl("href","",n.supportURL,"/help-center/articles/23/25/46/adzapiers-cookie-banner-integration-with-bigcommerce",e.LSH)}}function Il(i,a){if(1&i){const n=e.EpF();e.TgZ(0,"div",506)(1,"p"),e._uU(2,"You don't have any cookies"),e._UZ(3,"br"),e._uU(4," you need to create cookie manually or scan the property "),e.qZA(),e.TgZ(5,"button",612),e.NdJ("click",function(){e.CHM(n);const t=e.oxw();return e.KtG(t.navigateToCookie())}),e._uU(6,"Go Now"),e.qZA()()}}function Fl(i,a){if(1&i&&(e.TgZ(0,"alert",615),e._UZ(1,"span",616),e.qZA()),2&i){const n=e.oxw(2);e.Q6J("type",n.alertType)("dismissible",n.dismissible),e.xp6(1),e.Q6J("innerHTML",n.alertMsg,e.oJD)}}const Ol=function(i){return{hide:i}};function Jl(i,a){if(1&i&&(e.ynx(0),e.TgZ(1,"div",613),e.YNc(2,Fl,2,3,"alert",614),e.qZA(),e.BQk()),2&i){const n=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(2,Ol,!n.isOpen)),e.xp6(1),e.Q6J("ngIf",n.isOpen)}}const Gl=function(i){return{display:i}},Ll=function(i){return{marginRight:i}};let Rl=(()=>{const a=class{onFindSensitiveInfo(o,t){return this.gppUsStates.find(l=>l.code===o)?.sensitiveDataOptions?.find(l=>l.Id===t)?.description??""}onFindKnownChildInfo(o,t){return this.gppUsStates.find(l=>l.code===o)?.knownChildDataOptions?.find(l=>l.Id===t)?.description??""}constructor(o,t,r,l,p,s,v,w,V,Q,E,ec,nc,tc,oc,ic){this.sanitizer=o,this.formBuilder=t,this.loading=r,this.cookieBannerService=l,this.orgservice=p,this.router=s,this.activatedRouter=v,this.dataService=w,this.userService=V,this.cookieCategoryService=Q,this.gdprService=E,this.cd=ec,this.modalService=nc,this.location=tc,this.titleService=oc,this.gcmBussinessLogicService=ic,this.navType="config",this.step=1,this.submitted=!1,this.countries=d.e3,this.gdprCountries=d.Fx,this.sensitiveInformationData=d.u$,this.gppUsStates=k.P,this.knownChildSensitiveDataConsentsData=d.y6,this.caknownChildSensitiveDataConsentsData=d.dB,this.ctknownChildSensitiveDataConsentsData=d.Mr,this.ConsentOptions=d.zZ,this.MspaOptions=d.Pm,this.regulationName=d.j6,this.showDropDownValue="cookieNotice",this.url="",this.themeType="light",this.languages=d.qg,this.selectedRegulation="usnat",this.selectedLanguage=["en-US"],this.currentBannerLayer="banner",this.currentGppLayer="optIn",this.manageVendorLayer="iab_vendor",this.purposesList=[],this.QNAList=[],this.showCustomColor=!1,this.displayFrequency=d.uh,this.defaultRegulation=d.hZ,this.gtagModes=d.QA,this.consentModes=d.As,this.metaConsentModes=d.qt,this.gtagBasicModes=d.Bk,this.dismissible=!0,this.isEdit=!1,this.isOpen=!1,this.publishType="draft",this.explicitPreviewLang=null,this.isFormUpdate=!1,this.contentSaving="",this.customLang=[],this.previewSize=[26,80],this.currentPreviewState="gdpr",this.allowedLanguagesForPreview=[{title:"English (United States)",code:"en-US",countryFlag:"us"}],this.publishing=!1,this.disablePlanFeatures={hideLogo:!1,disableGoogleVendors:!1,disableCookieblocking:!1,disableBannerConfig:!1},this.googleVendorsID=[],this.purposeIDs=["101","102","103","104","105","106","112"],this.regulationList=[{code:"gdpr",label:"EEA & UK",forcedExplicit:!0,defaultAllowByDefault:!1},{code:"ccpa",label:"USA",forcedExplicit:!1,defaultAllowByDefault:null},{code:"generic",label:"GLOBAL",forcedExplicit:!1,defaultAllowByDefault:null}
1],this.activeRegulation=this.regulationList[1],this.cipaExplicit=!1,this.regulationPurposeConfig={},this.iabVendorsID=[],this.colorPicker={...d.ib},this.customerBrandLogo=null,this.companyLogoValidation={error:!1,msg:""},this.allowAllVendor={iab:!1,google:!1},this.showBadgeOption=!1,this.googleVendorsList=[],this.iabVendorsList=[],this.iabVendorIDs=[],this.googleVendorIDs=[],this.isSidemenuClicked=!1,this.CustomLanguageList={},this.addScript='<script type="application/javascript" src="',this.closeScript='"><\/script>',this.isCopied=!1,this.isConsentPublished=!1,this.portal=m.N.portalPrefix,this.supportURL=m.N.supportPortalURL,this.show=!1,this.upgradeToTCF=!1,this.domainList=[],this.quillConfig={toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],["clean"],["link","image","video"]]},this.showGtag=!1,this.showUETId=!1,this.showMetaPixelId=!1,this.showGcmScriptInPublishModal=!1,this.defaultGcmScript="",this.gcmOpeningTag="<script>",this.gcmClosingTag="<\/script>",this.showMicrosoftScriptInPublishModal=!1,this.defaultMicrosoftScript="",this.microsoftOpeningTag="<script>",this.microsoftClosingTag="<\/script>",this.showClarityScriptInPublishModal=!1,this.defaultClarityScript="",this.clarityOpeningTag="<script>",this.clarityClosingTag="<\/script>",this.showMetaScriptInPublishModal=!1,this.metaPixelInstruction="\n  // Consequently, the code should be like this:\n   \x3c!-- Facebook Pixel Code --\x3e\n   <script>\n    !function(f,b,e,v,n,t,s)\n    {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n    n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n    if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n    n.queue=[];t=b.createElement(e);t.async=!0;\n    t.src=v;s=b.getElementsByTagName(e)[0];\n    s.parentNode.insertBefore(t,s)}(window, document,'script',\n    'https://connect.facebook.net/en_US/fbevents.js');\n    \x3c!-- Paste your copied code here --\x3e\n    fbq('init', '{your-facebook-pixel-id}');\n    fbq('track', 'PageView');\n   <\/script>",this.defaultMetaScript="",this.metaOpeningTag="<script>",this.metaClosingTag="<\/script>",this.showAmazonScriptInPublishModal=!1,this.defaultAmazonScript="",this.amazonOpeningTag="<script>",this.amazonClosingTag="<\/script>",this.showTikTokScriptInPublishModal=!1,this.defaultTikTokScript="",this.tikTokOpeningTag="<script>",this.tikTokClosingTag="<\/script>",this.disAllowedPurpose=[],this.isGcmCopied=!1,this.isMicrosoftCopied=!1,this.isClarityCopied=!1,this.isMetaCopied=!1,this.isAmazonCopied=!1,this.isTikTokCopied=!1,this.canShowPrivacyInfoModal=!1,this.messages=[{severity:"warn",detail:"IAB does not support this language."}];const K=document.getElementById("main");K.classList.remove("container"),K.classList.remove("site-content"),K.classList.add("container-fluid"),K.style.padding="0px",K.style.margin="0px",this.titleService.setTitle("Cookie Banner - "+m.N.portalPrefix)}ngOnInit(){var o=this;return(0,A.Z)(function*(){o.dataService.isSubscriptionExistForProperty()||o.onCheckSubscription(),o.dataService.isSubscriptionExistForProperty()&&(o.deleteAllCookies(),o.onGetAllCookies(),o.onGetPropsAndOrgId(),o.onInitForm(),yield o.onGetGoogleAndIabVendors(),o.onLoadContent("en-US"),o.onSetDefaultStyle(d.ib),o.onGetSavedBannerConfig(),o.onGetDomainList(),o.setValidationForGoogleTagID(),o.setValidationForTagID(),o.userService.getLoggedInUserData.pipe((0,te.g)(1e3)).subscribe(t=>{null!==t&&(o.userRole=t.response.role)}),o.BannerConfigurationForm.valueChanges.pipe((0,oe.U)(t=>t),(0,ie.b)(2e3)).subscribe(t=>{o.showGcmScriptInPublishModal=t?.gTag,o.showGcmScriptInPublishModal&&(o.defaultGcmScript=o.gcmBussinessLogicService.getGcmScript(t)),o.showMicrosoftScriptInPublishModal=t?.microsoftConsent,o.showMicrosoftScriptInPublishModal&&(o.defaultMicrosoftScript=o.gcmBussinessLogicService.getMicrosoftScript(t)),o.showClarityScriptInPublishModal=t?.clarityConsent,o.showClarityScriptInPublishModal&&(o.defaultClarityScript=o.gcmBussinessLogicService.getClarityScript(t)),o.showMetaScriptInPublishModal=t?.metaPixelConsent,o.showMetaScriptInPublishModal&&(o.defaultMetaScript=o.gcmBussinessLogicService.getMetaScript(t)),o.showAmazonScriptInPublishModal=t?.amazonConsentMode,o.showAmazonScriptInPublishModal&&(o.defaultAmazonScript=o.gcmBussinessLogicService.getAmazonConsentSignalScript(t)),o.showTikTokScriptInPublishModal=t?.tikTokConsentMode,o.showTikTokScriptInPublishModal&&(o.defaultTikTokScript=o.gcmBussinessLogicService.getTikTokConsentScript(t)),o.BundlePayloadChange(),o.onCheckEnterpriseSubscription(),o.onCheckBusinessOrEnterpriseSubscription(),o.checkFormDirty()&&o.onPublishLangOnS3()}),o.purposetooltipList=new re)})()}ngAfterViewInit(){if(this.planDetails=this.dataService.getCurrentPropertyPlanDetails(),""!==this.planDetails&&null!=this.planDetails){const o=this.dataService.isAllowFeatureByYes(this.planDetails.response,D.f.REMOVE_ADZAPIER_LOGO),t=this.dataService.isAllowFeatureByYes(this.planDetails.response,D.f.GOOGLE_VENDORS),r=this.dataService.isAllowFeatureByYes(this.planDetails.response,D.f.THIRD_PARTY_COOKIE_BLOCKING),l=this.dataService.isAllowFeatureByYes(this.planDetails.response,D.f.HIGHLY_BANNER_CONFIG);this.disablePlanFeatures={hideLogo:!o,disableGoogleVendors:!t,disableCookieblocking:!r,disableBannerConfig:!l},this.cd.detectChanges()}this.BannerConfigurationForm.get("PreviewLanguage")?.valueChanges.subscribe(o=>{if("gdpr"===this.currentPreviewState&&!d.mk.includes(o.code.split("-")[0]))return this.disableContentFieldsForIabTcf(!0),void(this.canShowPrivacyInfoModal=!0);this.canShowPrivacyInfoModal=!1,this.disableContentFieldsForIabTcf(!1),this.BundlePayloadChange()}),this.BannerConfigurationForm.get("DefaultLanguage")?.valueChanges.subscribe(()=>{this.explicitPreviewLang=null}
1),this.BannerConfigurationForm.get("LivePreviewType")?.valueChanges.subscribe(o=>{if("gdpr"===o&&!d.mk.includes(this.BannerConfigurationForm.get("PreviewLanguage").value.code.split("-")[0]))return this.disableContentFieldsForIabTcf(!0),void(this.canShowPrivacyInfoModal=!0);this.canShowPrivacyInfoModal=!1,this.disableContentFieldsForIabTcf(!1)})}disableContentFieldsForIabTcf(o){o?this.BannerConfigurationForm.get("BannerTitle").disable():this.BannerConfigurationForm.get("BannerTitle").enable(),o?this.BannerConfigurationForm.get("BannerDescription").disable():this.BannerConfigurationForm.get("BannerDescription").enable(),o?this.BannerConfigurationForm.get("BannerPrivacyText").disable():this.BannerConfigurationForm.get("BannerPrivacyText").enable(),o?this.BannerConfigurationForm.get("BannerPrivacyLink").disable():this.BannerConfigurationForm.get("BannerPrivacyLink").enable(),o?this.BannerConfigurationForm.get("BannerAcceptAllText").disable():this.BannerConfigurationForm.get("BannerAcceptAllText").enable(),o?this.BannerConfigurationForm.get("BannerPreferenceText").disable():this.BannerConfigurationForm.get("BannerPreferenceText").enable(),o?this.BannerConfigurationForm.get("BannerDisableAllText").disable():this.BannerConfigurationForm.get("BannerDisableAllText").enable(),o?this.BannerConfigurationForm.get("BannerDoNotSellText").disable():this.BannerConfigurationForm.get("BannerDoNotSellText").enable(),o?this.BannerConfigurationForm.get("BannerGdprDescText").disable():this.BannerConfigurationForm.get("BannerGdprDescText").enable(),o?this.BannerConfigurationForm.get("PreferencePurposeGdprDescriptionText").disable():this.BannerConfigurationForm.get("PreferencePurposeGdprDescriptionText").enable(),o?this.BannerConfigurationForm.get("PreferenceVendorGdprDescriptionText").disable():this.BannerConfigurationForm.get("PreferenceVendorGdprDescriptionText").enable(),o?this.BannerConfigurationForm.get("PreferencePurposeCcpaAndGenericDescriptionText").disable():this.BannerConfigurationForm.get("PreferencePurposeCcpaAndGenericDescriptionText").enable(),o?this.BannerConfigurationForm.get("PreferencePrivacyCcpaAndGenericDescriptionText").disable():this.BannerConfigurationForm.get("PreferencePrivacyCcpaAndGenericDescriptionText").enable(),o?this.BannerConfigurationForm.get("PrivacyInformationHeaderText").disable():this.BannerConfigurationForm.get("PrivacyInformationHeaderText").enable(),o?this.BannerConfigurationForm.get("PrivacyInformationTitle").disable():this.BannerConfigurationForm.get("PrivacyInformationTitle").enable(),o?this.BannerConfigurationForm.get("PrivacyInformationDescription").disable():this.BannerConfigurationForm.get("PrivacyInformationDescription").enable(),o?this.BannerConfigurationForm.get("PreferenceAcceptAllText").disable():this.BannerConfigurationForm.get("PreferenceAcceptAllText").enable(),o?this.BannerConfigurationForm.get("PreferenceSaveMyChoiceText").disable():this.BannerConfigurationForm.get("PreferenceSaveMyChoiceText").enable(),o?this.BannerConfigurationForm.get("PreferenceDisableAllText").disable():this.BannerConfigurationForm.get("PreferenceDisableAllText").enable(),o?this.BannerConfigurationForm.get("PreferenceDoNotSellMyDataText").disable():this.BannerConfigurationForm.get("PreferenceDoNotSellMyDataText").enable()}onDisable(o,t,r){o.checked?this.BannerConfigurationForm.get(r)?.enable():(this.BannerConfigurationForm.get(r).disable(),this.BannerConfigurationForm.patchValue({[r]:[]}))}onDisableMSPA(o,t,r,l,p){o.checked?this.BannerConfigurationForm.get(r)?.enable():(this.BannerConfigurationForm.get(r).disable(),this.BannerConfigurationForm.patchValue({[r]:["MspaOptOutOptionMode"]}),this.BannerConfigurationForm.get(l).enable(),this.BannerConfigurationForm.get(p).enable())}onCheckLogoAllow(){this.disablePlanFeatures.hideLogo&&this.dataService.openSubcriptionModalForRestrication(this.planDetails)}onCheckAllowGoogleVendors(){return this.disablePlanFeatures.disableGoogleVendors?(this.dataService.openSubcriptionModalForRestrication(this.planDetails),!1):(this.unlistGoogleVendors(),!0)}onCheckDisableCookiebloking(){this.disablePlanFeatures.disableCookieblocking&&this.dataService.openSubcriptionModalForRestrication(this.planDetails)}onCheckAllowBannerConfig(o){this.disablePlanFeatures.disableBannerConfig?this.dataService.openSubcriptionModalForRestrication(this.planDetails):this.onSelectStep(o)}onGetAllCookies(){this.loading.start(),this.cookieCategoryService.getCookieData({},this.constructor.name,B.e.cookieBannerModule).subscribe(o=>{this.loading.stop(),0===o.response.length&&(this.modalRef=this.modalService.show(this.noCookie,{animated:!1,keyboard:!1,ignoreBackdropClick:!0}))},o=>{this.loading.stop()})}copyToClipboard(){this.isCopied=!0;const o=this.addScript+this.scriptUrl+this.closeScript;let t=null;t=document.createElement("textarea"),t.style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",document.body.appendChild(t),t.value=o.trim(),t.select(),document.execCommand("copy")}copyGcmToClipboard(){this.isGcmCopied=!0;const o=this.gcmOpeningTag+this.defaultGcmScript+this.gcmClosingTag;let t=null;t=document.createElement("textarea"),t.style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",document.body.appendChild(t),t.value=o.trim(),t.select(),document.execCommand("copy")}copyMicrosoftToClipboard(){this.isMicrosoftCopied=!0;const o=this.microsoftOpeningTag+this.defaultMicrosoftScript+this.microsoftClosingTag;let t=null;t=document.createElement("textarea"),t.style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",document.body.appendChild(t),t.value=o.trim(),t.select(),document.execCommand("copy")}copyClarityToClipboard(){this.isClarityCopied=!0;const o=this.clarityOpeningTag+this.defaultClarityScript+this.clarityClosingTag;let t=null;t=document.createElement("textarea"),t.style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",document.body.appendChild(t),t.value=o.trim(),t.select(),document.execCommand("copy")}copyMetaToClipboard(){this.isMetaCopied=!0;const o=this.defaultMetaScript;let t=null;t=document.createElement("textarea"),t.style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",document.body.appendChild(t),t.value=o.trim(),t.select(),document.execCommand("copy")}copyAmazonToClipboard(){this.isAmazonCopied=!0;const o=this.amazonOpeningTag+this.defaultAmazonScript+this.amazonClosingTag;let t=null;t=document.createElement("textarea"),t.style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",document.body.appendChild(t),t.value=o.trim(),t.select(),document.execCommand("copy")}copyTikTokToClipboard(){this.isTikTokCopied=!0;const o=this.tikTokOpeningTag+this.defaultTikTokScript+this.tikTokClosingTag;let t=null;t=document.createElement("textarea"),t.style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",document.body.appendChild(t),t.value=o.trim(),t.select(),document.execCommand("copy")}onDisableGppDropdown(){0==this.BannerConfigurationForm.getRawValue().KnownChildSensitiveDataConsents?this.BannerConfigurationForm.get("KnownChildSensitiveDataConsentsData")?.disable():this.BannerConfigurationForm.get("KnownChildSensitiveDataConsentsData")?.enable(),0==this.BannerConfigurationForm.getRawValue().SensitiveInformation?this.BannerConfigurationForm.get("SensitiveInformationData")?.disable():this.BannerConfigurationForm.get("SensitiveInformationData")?.enable(),0==this.BannerConfigurationForm.getRawValue().MspaCoveredTransaction?this.BannerConfigurationForm.get("mspaMode")?.disable():this.BannerConfigurationForm.get("mspaMode")?.enable();for(const o of this.gppUsStates){const t=this.BannerConfigurationForm.getRawValue();0==t[o.sensitiveDataKey]?this.BannerConfigurationForm.get(o.sensitiveDataKey)?.disable():this.BannerConfigurationForm.get(o.sensitiveDataKey)?.enable(),o.knownChildDataKey&&(0==t[o.knownChildKey]?this.BannerConfigurationForm.get(o.knownChildDataKey)?.disable():this.BannerConfigurationForm.get(o.knownChildDataKey)?.enable()),0==t[o.mspaCoveredKey]?this.BannerConfigurationForm.get(o.mspaModeKey)?.disable():this.BannerConfigurationForm.get(o.mspaModeKey)?.enable()}}checkFormDirty(){return this.BannerConfigurationForm.controls.BannerTitle.dirty||this.BannerConfigurationForm.controls.BannerDescription.dirty||this.BannerConfigurationForm.controls.BannerPrivacyText.dirty||this.BannerConfigurationForm.controls.BannerPrivacyLink.dirty||this.BannerConfigurationForm.controls.BannerAcceptAllText.dirty||this.BannerConfigurationForm.controls.BannerPreferenceText.dirty||this.BannerConfigurationForm.controls.BannerDisableAllText.dirty||this.BannerConfigurationForm.controls.BannerDoNotSellText.dirty||this.BannerConfigurationForm.controls.BannerGdprDescText.dirty||this.BannerConfigurationForm.controls.PreferencePurposeGdprDescriptionText.dirty||this.BannerConfigurationForm.controls.PreferenceVendorGdprDescriptionText.dirty||this.BannerConfigurationForm.controls.PreferencePurposeCcpaAndGenericDescriptionText.dirty||this.BannerConfigurationForm.controls.PreferencePrivacyCcpaAndGenericDescriptionText.dirty||this.BannerConfigurationForm.controls.PreferenceAcceptAllText.dirty||this.BannerConfigurationForm.controls.PreferenceS
1aveMyChoiceText.dirty||this.BannerConfigurationForm.controls.PreferenceDisableAllText.dirty||this.BannerConfigurationForm.controls.PreferenceDoNotSellMyDataText.dirty||this.BannerConfigurationForm.controls.PrivacyInformationHeaderText.dirty||this.BannerConfigurationForm.controls.PrivacyInformationTitle.dirty||this.BannerConfigurationForm.controls.PrivacyInformationDescription.dirty||this.BannerConfigurationForm.controls.PrivacyInformationQNA.dirty||this.BannerConfigurationForm.controls.PurposeList.dirty}ngOnDestroy(){const o=document.getElementById("main");o.classList.remove("container-fluid"),o.style.padding=null,o.style.margin=null,o.classList.add("site-content")}onGetPropsAndOrgId(){this.activatedRouter.queryParams.subscribe(o=>{let t=o.oid,r=o.pid;null!=this.currentManagedOrgID&&(this.currentManagedOrgID!=t||this.currrentManagedPropID!=r)&&(this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.navigateByUrl(this.router.url)),this.currentManagedOrgID=t,this.currrentManagedPropID=r}),(null==this.currentManagedOrgID||null==this.currentManagedOrgID&&null==this.currrentManagedPropID||null==this.currrentManagedPropID)&&this.getOIDPIDFromURL()}onGetSavedBannerConfig(){this.loading.start("3"),this.cookieBannerService.onGetCookieBannerData(this.currentManagedOrgID,this.currrentManagedPropID,this.constructor.name,B.e.cookieBannerModule).subscribe(o=>{this.loading.stop("3"),200===o.status&&o.hasOwnProperty("response")?(this.showGcmScriptInPublishModal=o?.response?.config?.gTag,this.showMicrosoftScriptInPublishModal=o?.response?.config?.microsoftConsent,this.showClarityScriptInPublishModal=o?.response?.config?.clarityConsent,this.showMetaScriptInPublishModal=o?.response?.config?.metaPixelConsent,this.showAmazonScriptInPublishModal=o?.response?.config?.amazonConsentMode,this.showTikTokScriptInPublishModal=o?.response?.config?.tikTokConsentMode,this.showGcmScriptInPublishModal&&(this.defaultGcmScript=this.gcmBussinessLogicService.getGcmScript(o?.response?.config)),this.showMicrosoftScriptInPublishModal&&(this.defaultMicrosoftScript=this.gcmBussinessLogicService.getMicrosoftScript(o?.response?.config)),this.showClarityScriptInPublishModal&&(this.defaultClarityScript=this.gcmBussinessLogicService.getClarityScript(o?.response?.config)),this.showMetaScriptInPublishModal&&(this.defaultMetaScript=this.gcmBussinessLogicService.getMetaScript(o?.response?.config)),this.showAmazonScriptInPublishModal&&(this.defaultAmazonScript=this.gcmBussinessLogicService.getAmazonConsentSignalScript(o?.response?.config)),this.showTikTokScriptInPublishModal&&(this.defaultTikTokScript=this.gcmBussinessLogicService.getTikTokConsentScript(o?.response?.config)),this.scriptUrl=o.response?.js_location?"https://"+o.response?.js_location:"",this.isFormUpdate=!0,this.ispublishstatus="draft"!=o.response.type,this.upgradeToTCF=""!==o.response?.js_location&&!this.scriptUrl.includes("/v2.2"),this.onSetSavedGeneralConfig(o.response),this.onSetSavedStyle(o.response.config)):(this.upgradeToTCF=!1,this.defaultRegulation.splice(3)),this.onDisableGppDropdown()},o=>{this.loading.stop("3"),this.isOpen=!0,this.alertMsg=o,this.alertType="danger"})}onCheckRegulation(o,t){const r=t.checked;this.defaultRegulation.push({name:"Automatic",code:""});const{AllowGDPR:l,AllowCCPA:p,AllowGENERIC:s,AllowDPDPA:v}=this.BannerConfigurationForm.getRawValue();r?this.BannerConfigurationForm.patchValue({LivePreviewType:o}):"gdpr"===o?this.BannerConfigurationForm.patchValue({LivePreviewType:"ccpa"}):"ccpa"===o&&this.BannerConfigurationForm.patchValue({LivePreviewType:"generic"}),!l&&!p&&!v&&!s&&this.BannerConfigurationForm.patchValue({AllowGENERIC:!0,LivePreviewType:"generic"}),this.onSetDefaultRegulation()}onSetDefaultRegulation(){const{AllowGDPR:o,AllowCCPA:t,AllowGENERIC:l}=this.BannerConfigurationForm.getRawValue(),p=[];t&&p.push(d.hZ[2]),o&&p.push(d.hZ[1]),l&&p.push(d.hZ[0]),(t||o)&&!l&&p.push(d.hZ[4]),this.defaultRegulation=p,this.defaultRegulation.length>0&&this.BannerConfigurationForm.patchValue({DefaultRegulation:this.defaultRegulation[0]?.code})}onMakeRegulationEveryWhere(o,t){this.SET_COOKIE(m.N.cmpType,o),this.deleteAllCookies(),this.BannerConfigurationForm.patchValue({LivePreviewT
1ype:o}),t.checked?this.defaultRegulation="gdpr"===o?[{name:"GDPR",code:"gdpr"}]:"ccpa"===o?[{name:"CCPA",code:"ccpa"}]:"dpdpa"===o?[{name:"DPDPA",code:"dpdpa"}]:[{name:"GLOBAL",code:"generic"}]:this.onSetDefaultRegulation(),this.BundlePayloadChange()}initPurpose(){return this.formBuilder.group({title:[""],description:[""],id:[""]})}onResetLang(o,t){const r=this.customLang.indexOf(o);r>-1&&this.customLang.splice(r,1),this.BannerConfigurationForm.patchValue({PreviewLanguage:{title:t.title,code:t.code,countryFlag:t.countryFlag}}),this.onGetGlobleLangData(o,!0)}onEnablePrivacyOnGDPR(o){this.BannerConfigurationForm.patchValue(o.checked?{GDPRPrivacyTab:!0}:{GDPRPrivacyTab:!1})}onSelectRegulations(o){0==this.BannerConfigurationForm?.getRawValue()?.EnableUSNAT&&o.length>0&&(this.selectedRegulation=o[0])}setUsNational(o){if(o.checked)this.BannerConfigurationForm.patchValue({EnableUSNAT:!0}),this.selectedRegulation="usnat";else{const t=[];for(const l of k.P)t.push(l.sensitiveDataKey),l.knownChildDataKey&&t.push(l.knownChildDataKey),t.push(l.mspaModeKey);let r=["SensitiveInformationData","KnownChildSensitiveDataConsentsData","mspaMode",...t];for(let l of r)this.BannerConfigurationForm.get(l).disable();this.BannerConfigurationForm.patchValue({EnableUSNAT:!1,GppForGDPR:!1,RegulationName:[],SensitiveInformationData:[],KnownChildSensitiveDataConsentsData:[],KnownChildSensitiveDataConsents:!1,SensitiveInformation:!1,SalePersonalInfo:!1,SharingPersonalInfo:!1,MspaCoveredTransaction:!1,defaultNatConsent:["opt-out"],mspaMode:["MspaOptOutOptionMode"],PersonalDataConsents:!1,...this.buildStateDeselectionPatch()})}}onDisableUSNAT(o,t){o.checked?this.selectedRegulation="usnat":t.length>0&&(this.selectedRegulation=t[0]),o.checked||(this.BannerConfigurationForm.get("mspaMode").disable(),this.BannerConfigurationForm.get("KnownChildSensitiveDataConsentsData").disable(),this.BannerConfigurationForm.get("SensitiveInformationData").disable(),this.BannerConfigurationForm.patchValue({SensitiveInformationData:[],KnownChildSensitiveDataConsentsData:[],KnownChildSensitiveDataConsents:!1,SensitiveInformation:!1,SalePersonalInfo:!1,SharingPersonalInfo:!1,MspaCoveredTransaction:!1,defaultNatConsent:["opt-out"],mspaMode:["MspaOptOutOptionMode"],PersonalDataConsents:!1}))}onChangeRegulation(o,t){if(0==t.length&&(1==this.BannerConfigurationForm.getRawValue().EnableUSNAT&&(this.selectedRegulation="usnat"),this.BannerConfigurationForm.patchValue({...this.buildStateDeselectionPatch()})),!t.includes(o.itemValue)){const r=this.gppUsStates.find(l=>l.code===o.itemValue);if(r){t.length>0?this.selectedRegulation=t[0]:1==this.BannerConfigurationForm.getRawValue().EnableUSNAT&&(this.selectedRegulation="usnat"),this.BannerConfigurationForm.get(r.mspaModeKey).disable(),this.BannerConfigurationForm.get(r.sensitiveDataKey)?.disable(),r.knownChildDataKey&&this.BannerConfigurationForm.get(r.knownChildDataKey)?.disable();const l={[r.sensitiveDataKey]:[],[r.sensitiveKey]:!1,[r.sharingKey]:!1,[r.saleKey]:!1,[r.knownChildKey]:!1,[r.mspaCoveredKey]:!1,[r.defaultConsentKey]:["opt-out"],[r.mspaModeKey]:["MspaOptOutOptionMode"]};r.knownChildKey&&(l[r.knownChildKey]=[]),r.knownChildDataKey&&(l[r.knownChildDataKey]=[]),r.personalDataConsentsKey&&(l[r.personalDataConsentsKey]=!1),r.knownChildDataKey&&(l[r.additionalDataConsentKey]=!1),this.BannerConfigurationForm.patchValue(l)}}}addPurpose(o){return this.formBuilder.group(o)}onInitForm(){const o=[];for(const s of d.Fx)o.push(s.code);const t=[];for(const s of d.e3)t.push(s.code);const r=[];for(const s of d.u$)r.push(s.Id);const l=[];for(const s of d.y6)l.push(s.Id);const p=[];for(const s of d.j6)p.push(s.code);this.BannerConfigurationForm=this.formBuilder.group({AllowGDPR:[!0],AllowCCPA:[!0],AllowDPDPA:[!0],gpc_enabled:[!0],AllowGENERIC:[!0],GdprCountries:[o,C.kI.required],SensitiveInformationData:[r],KnownChildSensitiveDataConsentsData:[l],RegulationName:[p],...this.buildStateFormGroup(),EnableIAB:[!1],GoogleVendors:[!1],GdprGlobal:[!1],ShowDisabledOnBannerGDPR:[!0],CCPATarget:[t,C.kI.required],CCPAGlobal:[!1],DPDPAGlobal:[!1],GenericGlobal:[!1],GDPRPrivacyTab:[!1],DefaultRegulation:["generic"],CookieBlocking:[!1],EnableGpp:[!1],CookieBlockingType:["manual"],AllowPurposeByDefault:[!0],ShowWatermark:[!0],MuteBanner:[!1],LSPAenable:[!1],LayoutType:["full-width-bottom"],ToggleType:["none"],PublishDate:[],PublishDateDisplay:[],BadgePosition:["right"],DomainList:[this.domainList],ShowBadge:[!0],BadgeType:["text"],CurrentPreviewDevice:["web"],DefaultLanguage:["en-US"],CustomCss:[""],defaultGoogleConsent:this.formBuilder.group({ad_storage:["denied"],analytics_storage:["denied"],functionality_storage:["denied"],personalization_storage:["denied"],ad_user_data:["denied"],ad_personalization:["denied"],wait_for_update:[2e3]}
1),gtagBasicModes:["gTag"],CloseIconEnable:!0,gTag:[!1],gTagConsentMode:["Advanced"],googleTagID:[""],containerID:[""],microsoftConsent:[!1],microsoftUETID:[""],uet_ad_storage:["denied"],clarityConsent:[!1],clarity_ad_Storage:["denied"],clarity_analytics_Storage:["denied"],metaPixelConsent:[!1],metaPixelID:[""],meta_consent:["revoke"],amazonConsentMode:[!1],amzn_ad_storage:["DENIED"],amzn_user_data:["DENIED"],tikTokConsentMode:[!1],tiktok_cookie_consent:["denied"],SensitiveInformation:[!1],KnownChildSensitiveDataConsents:[!1],EnableUSNAT:[!1],GppForGDPR:[!1],SharingPersonalInfo:[!1],SalePersonalInfo:[!1],PersonalDataConsents:[!1],MspaCoveredTransaction:[!1],mspaMode:["MspaOptOutOptionMode"],BannerTitle:[""],BannerDescription:[""],BannerGDPRDescription2:[""],BannerPrivacyText:["Privacy Link"],BannerPrivacyLink:["http://www.example.com/privacy"],BannerAcceptAllText:[""],BannerPreferenceText:[""],BannerDisableAllText:[""],BannerDoNotSellText:[""],BannerGdprDescText:[""],PreferencePurposeGdprDescriptionText:[""],PreferenceVendorGdprDescriptionText:[""],PreferencePurposeCcpaAndGenericDescriptionText:[""],PreferencePrivacyCcpaAndGenericDescriptionText:[""],PreferenceAcceptAllText:[""],PreferenceSaveMyChoiceText:[""],PreferenceDisableAllText:[""],PreferenceDoNotSellMyDataText:[""],PrivacyInformationHeaderText:[""],PrivacyInformationDescription:[""],PrivacyInformationTitle:[""],PrivacyInformationQNA:this.formBuilder.array([]),BannerCookieNoticeBackgroundColor:[""],BannerCookieNoticeTextColor:[""],BannerCookieNoticeBorderColor:[""],BannerCookieNoticePrivacyLinkColor:[""],BannerAcceptAllBackgroundColor:[""],BannerAcceptAllTextColor:[""],BannerPreferenceBackgroundColor:[""],BannerPreferenceTextColor:[""],BannerDisableAllBackgroundColor:[""],BannerDisableAllTextColor:[""],BannerContinueBackgroundColor:[""],BannerContinueTextColor:[""],BannerDoNotSellMyDataBackgroundColor:[""],BannerDoNotSellMyDataTextColor:[""],BannerBadgeBackgroun
1dColor:[""],BannerBadgeTextColor:[""],BannerMarginTop:[0],BannerMarginBottom:[0],BannerMarginLeft:[0],BannerMarginRight:[0],BannerPaddingTop:[10],BannerPaddingBottom:[5],BannerPaddingLeft:[5],BannerPaddingRight:[5],BannerZindex:[9999],defaultNatConsent:["opt-out"],PreferenceBackgroundColor:[""],PreferenceTextColor:[""],PreferencePurposeBackgroundColor:[""],PreferencePurposeTextColor:[""],PreferenceSwitchColor:[""],PreferenceSwitchColorDisabled:[""],PreferenceSwitchCircleColor:[""],PreferenceSwitchTextColorEnabled:[""],PreferenceSwitchTextColorDisabled:[""],PreferenceAcceptAllBackgroundColor:[""],PreferenceAcceptAllTextColor:[""],PreferenceSaveMyChoiceBackgroundColor:[""],PreferenceSaveMyChoiceTextColor:[""],PreferenceDisableAllBackgroundColor:[""],PreferenceDisableAllTextColor:[""],PreferenceDoNotSellBackgroundColor:[""],PreferenceDoNotSellTextColor:[""],PurposeList:this.formBuilder.array([]),EnableDisplayFrequency:[!1],DisplayPartialConsent:[24],DisplayPartialConsentType:["hours"],DisplayRejectAllConsent:[2],DisplayRejectAllConsentType:["days"],DisplayClosedConsent:[10],DisplayClosedConsentType:["pageViews"],LivePreviewType:["gdpr"],PreviewLanguage:[{title:"English (United States)",code:"en-US",countryFlag:"us"}]})}onSetBannerType(o){this.BannerConfigurationForm.patchValue("full-width-top"!==o&&"full-width-bottom"!==o?"full-width-minify-bottom"!==o?{LayoutType:o,BannerMarginTop:20,BannerMarginBottom:20,BannerMarginLeft:20,BannerMarginRight:20,BannerPaddingTop:20,BannerPaddingBottom:20,BannerPaddingLeft:25,BannerPaddingRight:25}:{LayoutType:o,BannerMarginTop:0,BannerMarginBottom:0,BannerMarginLeft:0,BannerMarginRight:0,BannerPaddingTop:1,BannerPaddingBottom:1,BannerPaddingLeft:1,BannerPaddingRight:1}:{LayoutType:o,BannerMarginTop:0,BannerMarginBottom:0,BannerMarginLeft:0,BannerMarginRight:0,BannerPaddingTop:10,BannerPaddingBottom:5,BannerPaddingLeft:5,BannerPaddingRight:5})}onSetToggleType(o){this.BannerConfigurationForm.patchValue({ToggleType:o,PreferenceSwitchTextColorEnabled:"checkMark"===o?"#325668":"#e0e0e0",PreferenceSwitchTextColorDisabled:"checkMark"===o?"#545f69":"#e0e0e0"}),this.currentBannerLayer="preference"}get f(){return this.BannerConfigurationForm.controls}setValidationForGoogleTagID(){this.BannerConfigurationForm.get("gTagConsentMode").valueChanges.subscribe(o=>{"Basic"==this.BannerConfigurationForm.get("gTagConsentMode").value&&"gTag"==this.BannerConfigurationForm.get("gtagBasicModes").value?this.BannerConfigurationForm.controls.googleTagID.setValidators([C.kI.required]):this.BannerConfigurationForm.controls.googleTagID.clearValidators(),this.BannerConfigurationForm.controls.googleTagID.updateValueAndValidity(),"Basic"==this.BannerConfigurationForm.get("gTagConsentMode").value&&"TagManager"==this.BannerConfigurationForm.get("gtagBasicModes").value?this.BannerConfigurationForm.controls.containerID.setValidators([C.kI.required]):this.BannerConfigurationForm.controls.containerID.clearValidators(),this.BannerConfigurationForm.controls.containerID.updateValueAndValidity()})}setValidationForTagID(){this.BannerConfigurationForm.get("gtagBasicModes").valueChanges.subscribe(o=>{"Basic"==this.BannerConfigurationForm.get("gTagConsentMode").value&&"gTag"==this.BannerConfigurationForm.get("gtagBasicModes").value?this.BannerConfigurationForm.controls.googleTagID.setValidators([C.kI.required]):this.BannerConfigurationForm.controls.googleTagID.clearValidators(),this.BannerConfigurationForm.controls.googleTagID.updateValueAndValidity(),"Basic"==this.BannerConfigurationForm.get("gTagConsentMode").value&&"TagManager"==this.BannerConfigurationForm.get("gtagBasicModes").value?this.BannerConfigurationForm.controls.containerID.setValidators([C.kI.required]):this.BannerConfigurationForm.controls.containerID.clearValidators(),this.BannerConfigurationForm.controls.containerID.updateValueAndValidity()})}onLoadContent(o){this.customLang.includes(o)?this.onGetCustomLangData(o):this.onGetGlobleLangData(o)}addUser(o){let t=this.formBuilder.group({question:[o?o.question:"",C.kI.compose([C.kI.required])],answer:this.formBuilder.array([])});this.BannerConfigurationForm.get("PrivacyInformationQNA").push(t);let r=this.BannerConfigurationForm.get("PrivacyInformationQNA").length-1;o?o.answer.forEach(l=>{this.addPhone(r,l)}):this.addPhone(r)}addPhone(o,t){let r=this.formBuilder.group({title:[t&&t.title?t.title:""],desc:[t&&t.desc?t.desc:""]});this.BannerConfigurationForm.controls.PrivacyInformationQNA.controls[o].controls.answer.push(r)}deletePhone(o,t){this.BannerConfigurationForm.controls.PrivacyInformationQNA.controls[o].controls.answer.removeAt(t)}deleteUser(o){this.BannerConfigurationForm.get("PrivacyInformationQNA").removeAt(o)}onCheckEnterpriseSubscription(){this.enterpriseData=this.dataService.getCurrentPropertyPlanDetails(),this.show=void 0!==this.enterpriseData&&void 0!==this.enterpriseData.response&&"Cookie Consent Management - Enterprise"==this.enterpriseData.response.plan_details.cookieConsent.product_name}onGetGlobleLangData(o,t=!1){this.loading.start("5"),this.cookieBannerService.GetGlobleLangData(o).subscribe(r=>{this.loading.stop("5"),this.languageContents=r,this.BannerConfigurationForm.markAsPristine();let l=this.appendTooltipContentToPurpose(r);if(this.onSetDefaultContent(l),t){const s={...this.CustomLanguageList};s[o]=this.onAssignPayload(),this.CustomLanguageList=s,this.BundlePayloadChange()}},r=>{this.loading.stop("5"),alert("Error ::: Unable to Load Language")})}onGetDomainList(){this.loading.start("5"),this.cookieBannerService.getPropertyDetails(this.currentManagedOrgID,this.currrentManagedPropID).subscribe(o=>{this.loading.stop("5"),this.domainList=[],this.domainList=o.response?.sub_domain,this.BannerConfigurationForm.patchValue({DomainList:this.domainList})},o=>{this.loading.stop("5")})}
1onGetCustomLangData(o){if(Object.keys(this.CustomLanguageList).length>0){let t=this.CustomLanguageList[o];t.PURPOSES.some(r=>"112"===r.id)?this.onSetDefaultContent(t):this.cookieBannerService.GetGlobleLangData(o).subscribe(r=>{this.loading.stop("lang"),200===r.status&&(this.CustomLanguageList[o].PURPOSES.push(r.PURPOSES.find(l=>"112"===l.id)),t.PURPOSES=r.PURPOSES,this.onSetDefaultContent(t))},r=>{this.loading.stop("lang")}),t[""]=o,this.BannerConfigurationForm.markAsPristine()}else this.loading.start("lang"),this.cookieBannerService.GetCustomLangData(this.constructor.name,B.e.cookieBannerModule,o,this.currentManagedOrgID,this.currrentManagedPropID).subscribe(t=>{if(this.loading.stop("lang"),200===t.status){const r=JSON.parse(t.response.lang_data);this.languageContents=t,this.onSetDefaultContent(r),this.BannerConfigurationForm.markAsPristine()}},t=>{this.loading.stop("lang")})}onSetDefaultContent(o){const t=o;this.BannerConfigurationForm.patchValue({BannerTitle:t.CONFIG.BANNER.TITLE,BannerDescription:t.CONFIG.BANNER.DESCRIPTION,BannerGDPRDescription2:t.CONFIG.BANNER.GDPR_PRIVACY_DESC,BannerPrivacyText:t.CONFIG.BANNER.PRIVACY,BannerAcceptAllText:t.CONFIG.BANNER.ACCEPT_ALL_BTN,BannerPreferenceText:t.CONFIG.BANNER.PRIVACY_SETTINGS_BTN,BannerDisableAllText:t.CONFIG.BANNER.DISABLE_ALL_BTN,BannerDoNotSellText:t.CONFIG.BANNER.DENY_ALL,BannerGdprDescText:null==this.scriptUrl||this.scriptUrl?.includes("/v2.2")?t.CONFIG.BANNER.GDPR_PRIVACY_DESC:t.CONFIG.BANNER.GDPR_PRIVACY_DESC.replace("${NUMBER_OF_VENDORS} ",""),PreferencePurposeGdprDescriptionText:t.CONFIG.POPUP.GDPR_PURPOSES_DESC,PreferenceVendorGdprDescriptionText:null==this.scriptUrl||this.scriptUrl?.includes("/v2.2")?t.CONFIG.POPUP.GDPR_VENDORS_DESC:t.CONFIG.POPUP.GDPR_VENDORS_DESC.replace("${NUMBER_OF_VENDORS} ",""),PreferencePurposeCcpaAndGenericDescriptionText:t.CONFIG.POPUP.CCPA_AND_GENERIC_PURPOSES_DESC,PreferencePrivacyCcpaAndGenericDescriptionText:t.CONFIG.POPUP.CCPA_AND_GENERIC_PRIVACY_INFO_DESCRIPTION,PreferenceAcceptAllText:t.CONFIG.POPUP.ACCEPT_ALL_BTN,PreferenceSaveMyChoiceText:t.CONFIG.POPUP.SAVE_MY_CHOICE_BTN,PreferenceDisableAllText:t.CONFIG.POPUP.DISABLE_ALL_BTN,PreferenceDoNotSellMyDataText:t.CONFIG.POPUP.DENY_ALL,PrivacyInformationHeaderText:t.CONFIG.POPUP.PRIVACY_INFO,PrivacyInformationTitle:t.CONFIG.POPUP.CCPA_AND_GENERIC_PRIVACY_INFO_TITLE,PrivacyInformationDescription:t.CONFIG.POPUP.CCPA_AND_GENERIC_PRIVACY_INFO_DESCRIPTION}),this.purposesList=t.PURPOSES;const r=this.BannerConfigurationForm.getRawValue().AllowPurposeByDefault??!1;if(this.initRegulationPurposeConfig(r,this.purposeIDs,this.disAllowedPurpose,this.purposesList),this.onSelectRegulations(this.activeRegulation),0===this.BannerConfigurationForm.getRawValue().PurposeList.length)for(const p of this.purposesList)this.addPurposeRows.push(this.addPurpose(p));else this.BannerConfigurationForm.patchValue({PurposeList:this.purposesList});const l=this.BannerConfigurationForm.controls.PrivacyInformationQNA;for(let p=l.length-1;p>=0;p--)l.removeAt(p);this.QNAList=[],this.QNAList=t.CONFIG.POPUP.CUSTOM_PRIVACY_INFORMATION,0===this.BannerConfigurationForm.getRawValue().PrivacyInformationQNA.length&&this.QNAList.forEach(p=>{this.addUser(p)})}get addPurposeRows(){return this.BannerConfigurationForm.get("PurposeList")}onSetLanguage(o,t){const l=[...this.selectedLanguage],p=[...this.allowedLanguagesForPreview];if(o.target.checked)l.push(t),p.push(this.onFindLangByCode(t));else{const s=this.selectedLanguage.indexOf(t);s>-1&&l.splice(s,1),this.allowedLanguagesForPreview.indexOf(this.onFindLangByCode(t))>-1&&p.splice(s,1)}this.selectedLanguage=l,this.allowedLanguagesForPreview=p}onSelectStep(o){this.step=o}onGetGoogleAndIabVendors(){var o=this;return(0,A.Z)(function*(){const t=yield o.gdprService.getAllData();o.iabVendorsList=Object.values(t.vendors),yield new Promise(r=>{o.gdprService.getGoogleVendors(o.constructor.name,B.e.companyModule).subscribe(l=>{o.googleVendorsList=l,r(!0)})})})()}unlistIAB(o){this.BannerConfigurationForm.getRawValue().EnableIAB?this.onAllowAllIABVendors():this.iabVendorsID=[],this.cd.detectChanges()}unlistGoogleVendors(){this.BannerConfigurationForm.getRawValue().GoogleVendors?this.onAllowAllGoogleVendors():this.googleVendorsID=[],this.cd.detectChanges()}onAllowAllIABVendors(){const o=this.iabVendorsList;this.iabVendorsID=[];for(const t of o)this.iabVendorsID.push(t.id)}initRegulationPurposeConfig(o,t,r,l){this.regulationList.forEach(p=>{const s=this.regulationPurposeConfig[p.code],v=!p.forcedExplicit&&(null!==p.defaultAllowByDefault?p.defaultAllowByDefault:o),w="ccpa"===p.code,V=w?[...t]:t.filter(E=>"112"!==E),Q=w?[...r]:r.filter(E=>"112"!==E);this.regulationPurposeConfig[p.code]=s??{allowByDefault:v,allowedPurposesID:V,disAllowedPurposesID:Q,purposes:[...l]}})}onSelectRegulation(o){this.activeRegulation=o;const t=this.regulationPurposeConfig[o.code];t&&(this.purposesList=[...t.purposes]);const r=this.BannerConfigurationForm.get("AllowPurposeByDefault");o.forcedExplicit?(r.setValue(!1),r.disable()):(r.enable(),r.setValue(t?.allowByDefault??!1))}allowpurpose(o){this.deleteAllCookies(),this.activatedRouter&&(this.regulationPurposeConfig[this.activeRegulation.code].allowByDefault=o.checked)}onAllowAllGoogleVendors(){const o=this.googleVendorsList;this.googleVendorsID=[];for(const t of o)this.googleVendorsID.push(t.provider_id)}deleteAllCookies(){this.deleteCookies("az-cookie-consent"),this.deleteCookies("euconsent-v2"),this.deleteCookies("az-google-consent"),this.deleteCookies("usprivacy"),this.deleteCookies("privacypillar-cookie-consent"),this.deleteCookies("privacypillar-google-consent")}deleteCookies(o){document.cookie=o+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"}onOpenDropDown(o){this.showDropDownValue=this.showDropDownValue===o?"":o}onSetBadgeType(o){this.BannerConfigurationForm.patchValue({BadgeType:
1o}),this.showBadgeOption=!0}onSelectThemeType(o){this.themeType=o,"dark"===o?(this.BannerConfigurationForm.patchValue({ToggleType:"none"}),this.onSetDefaultStyle(d.Cs)):"light"===o&&(this.BannerConfigurationForm.patchValue({ToggleType:"none"}),this.onSetDefaultStyle(d.ib)),this.showCustomColor="custom"===o}drop(o){const t=this.BannerConfigurationForm.getRawValue().PurposeList;(0,b.bA)(t,o.previousIndex,o.currentIndex),this.purposesList=t,this.BannerConfigurationForm.patchValue({PurposeList:t}),this.activeRegulation&&(this.regulationPurposeConfig[this.activeRegulation.code].purposes=[...t]),this.onPublishLangOnS3(),this.onSaveCustomLangOnDB()}onChangeBannerLayer(o){this.currentBannerLayer=o}ondisableSale(o){this.BannerConfigurationForm.patchValue({[o]:!1})}ondisableShare(o){this.BannerConfigurationForm.patchValue({[o]:!1})}onDisableShareSale(o,t,r,l){"MspaServiceProviderMode"==r&&1==l?(this.BannerConfigurationForm.get(o).disable(),this.BannerConfigurationForm.get(t).disable(),this.BannerConfigurationForm.patchValue({[o]:!1,[t]:!1})):(this.BannerConfigurationForm.get(o).enable(),this.BannerConfigurationForm.get(t).enable())}onSetSavedGeneralConfig(o){const t=o.config,r=!("false"===o.gdpr_global||!1===o.gdpr_global),l=[];for(const s of d.e3)l.push(s.code);this.BannerConfigurationForm.patchValue({AllowGDPR:t.AllowedBanners.gdpr,AllowCCPA:t.AllowedBanners.ccpa,AllowGENERIC:t.AllowedBanners.generic,AllowDPDPA:t.AllowedBanners.dpdpa??!1,SensitiveInformationData:t.SensitiveInformationData?t.SensitiveInformationData:"",KnownChildSensitiveDataConsentsData:t.KnownChildSensitiveDataConsentsData?t.KnownChildSensitiveDataConsentsData:"",RegulationName:t.RegulationName?t.RegulationName:"",...this.buildStateConfigPatch(t),GdprCountries:o.gdpr_target,EnableIAB:o.enable_iab,gpc_enabled:o.gpc_enabled,GoogleVendors:o.google_vendors,GdprGlobal:r,CCPATarget:o.ccpa_target.toLowerCase().toString().split(",").includes("us")?l:o.ccpa_target.toLowerCase().toString().split(","),CCPAGlobal:o.ccpa_global,GenericGlobal:o.generic_global,DPDPAGlobal:o.dpdpa_global??!1,DefaultRegulation:o.default_regulation,CookieBlocking:o.cookie_blocking,CookieBlockingType:t.hasOwnProperty("CookieBlockingType")?t.CookieBlockingType:"manual",AllowPurposeByDefault:!this.activeRegulation?.forcedExplicit&&o.purposes_by_default,ShowWatermark:o.logo,ShowBadge:o.show_badge,MuteBanner:t.MuteBanner,LSPAenable:!!t.LSPAenable&&t.LSPAenable,EnableGpp:!!t.EnableGpp&&t.EnableGpp,DefaultLanguage:t.LanguageConfig.defaultLang,LayoutType:t?.LayoutType?t?.LayoutType:"full-width-bottom",ToggleType:t?.ToggleType?t?.ToggleType:"none",PublishDate:t?.PublishDate,PublishDateDisplay:t?.PublishDateDisplay,ShowDisabledOnBannerGDPR:!t?.hasOwnProperty("ShowDisabledOnBannerGDPR")||t?.ShowDisabledOnBannerGDPR,CustomCss:t.hasOwnProperty("CustomCss")?t?.CustomCss:"",defaultGoogleConsent:t.hasOwnProperty("defaultGoogleConsent")?t?.defaultGoogleConsent:{ad_storage:"denied",analytics_storage:"denied",functionality_storage:"denied",personalization_storage:"denied",ad_user_data:"denied",ad_personalization:"denied",wait_for_update:2e3},gtagBasicModes:t.hasOwnProperty("gtagBasicModes")?t?.gtagBasicModes:"gTag",CloseIconEnable:!t.hasOwnProperty("CloseIconEnable")||t?.CloseIconEnable,googleTagID:t.hasOwnProperty("googleTagID")?t?.googleTagID:"",containerID:t.hasOwnProperty("containerID")?t?.containerID:"",gTag:!!t.hasOwnProperty("gTag")&&t?.gTag,gTagConsentMode:t.hasOwnProperty("gTagConsentMode")?t?.gTagConsentMode:"Advanced",microsoftConsent:!!t.hasOwnProperty("microsoftConsent")&&t?.microsoftConsent,microsoftUETID:t.hasOwnProperty("microsoftUETID")?t?.microsoftUETID:"",uet_ad_storage:t.hasOwnProperty("uet_ad_storage")?t?.uet_ad_storage:"denied",clarityConsent:!!t.hasOwnProperty("clarityConsent")&&t?.clarityConsent,clarity_ad_Storage:t.hasOwnProperty("clarity_ad_Storage")?t?.clarity_ad_Storage:"denied",clarity_analytics_Storage:t.hasOwnProperty("clarity_analytics_Storage")?t?.clarity_analytics_Storage:"denied",metaPixelConsent:!!t.hasOwnProperty("metaPixelConsent")&&t?.metaPixelConsent,metaPixelID:t.hasOwnProperty("metaPixelID")?t?.metaPixelID:"",meta_consent:t.hasOwnProperty("meta_consent")?t?.meta_consent:"revoke",amazonConsentMode:!!t.hasOwnProperty("amazonConsentMode")&&t?.amazonConsentMode,amzn_ad_storage:t.hasOwnProperty("amzn_ad_storage")?t?.amzn_ad_storage:"DENIED",amzn_user_data:t.hasOwnProperty("amzn_user_data")?t?.amzn_user_data:"DENIED",tikTokConsentMode:!!t.hasOwnProperty("tikTokConsentMode")&&t?.tikTokConsentMode,tiktok_cookie_consent:t.hasOwnProperty("tiktok_cookie_consent")?t?.tiktok_cookie_consent:"denied",SensitiveInformation:!!t.hasOwnProperty("SensitiveInformation")&&t?.SensitiveInformation,KnownChildSensitiveDataConsents:!!t.hasOwnProperty("KnownChildSensitiveDataConsents")&&t?.KnownChildSensitiveDataConsents,EnableUSNAT:!!t.hasOwnProperty("EnableUSNAT")&&t?.EnableUSNAT,GppForGDPR:!!t.hasOwnProperty("GppForGDPR")&&t?.GppForGDPR,SharingPersonalInfo:!!t.hasOwnProperty("SharingPersonalInfo")&&t?.SharingPersonalInfo,SalePersonalInfo:!!t.hasOwnProperty("SalePersonalInfo")&&t?.SalePersonalInfo,GDPRPrivacyTab:!!t.hasOwnProperty("GDPRPrivacyTab")&&t?.GDPRPrivacyTab,BadgePosition:t.BadgePosition,DomainList:this.domainList,BadgeType:t?.BadgeType,BannerPrivacyLink:t.Banner.Privacy.privacyLink,BannerMarginTop:t.Banner?.BannerMargin?.BannerMarginTop?t.Banner?.BannerMargin?.BannerMarginTop:0,BannerMarginBottom:t.Banner?.BannerMargin?.BannerMarginBottom?t.Banner?.BannerMargin?.BannerMarginBottom:0,BannerMarginLeft:t.Banner?.BannerMargin?.BannerMarginLeft?t.Banner?.BannerMargin?.BannerMarginLeft:0,BannerMarginRight:t.Banner?.BannerMargin?.BannerMarginRight?t.Banner?.BannerMargin?.BannerMarginRight:0,BannerZindex:t.BannerZindex?t.BannerZindex:9999,defaultNatConsent:t.defaultNatConsent?t.defaultNatConsent:"opt-out",PersonalDataConsents:!!t.PersonalDataConsents&&t.PersonalDataConsents,MspaCoveredTransaction:!!t.MspaCoveredTransaction&&t.MspaCoveredTransaction,mspaMode:t.mspaMode?t.mspaMode:"MspaOptOutOptionMode",BannerPaddingTop:t.Banner?.BannerPadding?.BannerPaddingTop?t.Banner?.BannerPadding?.BannerPaddingTop:10,BannerPaddingBottom:t.Banner?.BannerPadding?.BannerPaddingBottom?t.Banner?.BannerPadding?.BannerPaddingBottom:5,BannerPaddingLeft:t.Banner?.BannerPadding?.BannerPaddingLeft?t.Banner?.BannerPadding?.BannerPaddingLeft:5,BannerPaddingRight:t.Banner?.BannerPadding?.BannerPaddingRight?t.Banner?.BannerPadding?.BannerPaddingRight:5,EnableDisplayFrequency:!!t.DisplayFrequency?.status&&t.DisplayFrequency?.status,DisplayPartialConsent:t.DisplayFrequency.bannerPartialConsent,Dis
1playPartialConsentType:t.DisplayFrequency.bannerPartialConsentType,DisplayRejectAllConsent:t.DisplayFrequency.bannerRejectAllConsent,DisplayRejectAllConsentType:t.DisplayFrequency.bannerRejectAllConsentType,DisplayClosedConsent:t.DisplayFrequency.bannerClosedConsent,DisplayClosedConsentType:t.DisplayFrequency.bannerClosedConsentType}),this.customLang=t.LanguageConfig.customLang,this.customerBrandLogo=t.CustomerBrandLogo,this.selectedLanguage=t.LanguageConfig.allowedLang,t.LanguageConfig?.CustomLanguagesList&&(this.CustomLanguageList=t.LanguageConfig?.CustomLanguagesList),this.customLang?.length>0&&this.customLang.map(s=>{(6===this.CustomLanguageList[s].PURPOSES.length||!this.CustomLanguageList[s].CONFIG.POPUP?.DENY_ALL&&!this.CustomLanguageList[s].CONFIG.BANNER?.DENY_ALL)&&this.cookieBannerService.GetGlobleLangData(s).subscribe(v=>{this.loading.stop("lang"),6===this.CustomLanguageList[s].PURPOSES.length&&this.CustomLanguageList[s].PURPOSES.push(v.PURPOSES.find(w=>"112"===w.id)),!this.CustomLanguageList[s].CONFIG.POPUP?.DENY_ALL&&!this.CustomLanguageList[s].CONFIG.BANNER?.DENY_ALL&&(this.CustomLanguageList[s].CONFIG.BANNER.DENY_ALL=v.CONFIG.BANNER.DENY_ALL,this.CustomLanguageList[s].CONFIG.POPUP.DENY_ALL=v.CONFIG.POPUP.DENY_ALL)},v=>{this.loading.stop("lang")})}),this.themeType=t.ThemeType,t?.AllowedPurposesID&&(this.purposeIDs=[],this.purposeIDs=t?.AllowedPurposesID,t?.regulationPurposeConfig&&(this.regulationPurposeConfig=t.regulationPurposeConfig),void 0!==t?.cipaExplicit&&(this.cipaExplicit=t.cipaExplicit),t?.DisAllowedPurposesID?0===t.DisAllowedPurposesID.length?this.purposeIDs.some(s=>"112"===s)||this.purposeIDs.push("112"):this.disAllowedPurpose=t?.DisAllowedPurposesID||[]:this.purposeIDs.some(s=>"112"===s)||this.purposeIDs.push("112")),this.allowedLanguagesForPreview=[],o.iab_vendors_ids&&(this.iabVendorsID=JSON.parse(o.iab_vendors_ids)),o.google_vendors_ids&&(this.googleVendorsID=JSON.parse(o?.google_vendors_ids));for(const s of t.LanguageConfig.allowedLang)this.allowedLanguagesForPreview.push(this.onFindLangByCode(s));this.onLoadContent("en-US");let p="generic";o.ccpa_global?p="ccpa":r&&(p="gdpr"),this.onMakeRegulationEveryWhere(p,{event:{checked:!0}}),this.onSetDefaultRegulation(),this.onSetGlobleRegulation(o),this.BannerConfigurationForm.patchValue({DefaultRegulation:o.default_regulation}),this.onSelectRegulation(this.activeRegulation),this.BannerConfigurationForm.markAsPristine()}onSetGlobleRegulation(o){const t=!("false"===o.gdpr_global||!1===o.gdpr_global),r={checked:!0};o.ccpa_global?this.onMakeRegulationEveryWhere("ccpa",r):o.generic_global?this.onMakeRegulationEveryWhere("generic",r):t&&this.onMakeRegulationEveryWhere("gdpr",r)}onSetSavedStyle(o){this.BannerConfigurationForm.patchValue({BannerCookieNoticeBackgroundColor:o.Banner.GlobalStyles.background,BannerCookieNoticeTextColor:o.Banner.GlobalStyles.textColor,BannerCookieNoticeBorderColor:o.Banner.GlobalStyles.borderColor,BannerCookieNoticePrivacyLinkColor:o.Banner.Privacy.textColor,BannerAcceptAllBackgroundColor:o.Banner.AllowAllButtonStylesAndContent.background,BannerAcceptAllTextColor:o.Banner.AllowAllButtonStylesAndContent.textColor,BannerPreferenceBackgroundColor:o.Banner.PreferenceButtonStylesAndContent.background,BannerPreferenceTextColor:o.Banner.PreferenceButtonStylesAndContent.textColor,BannerDisableAllBackgroundColor:o.Banner.DisableAllButtonStylesAndContent.background,BannerDisableAllTextColor:o.Banner.DisableAllButtonStylesAndContent.textColor,BannerContinueTextColor:o.Banner.ContinueButtonStylesAndContent?.textColor?o.Banner.ContinueButtonStylesAndContent?.textColor:"#ffffff",BannerContinueBackgroundColor:o.Banner.ContinueButtonStylesAndContent?.background?o.Banner.ContinueButtonStylesAndContent?.background:"#0069bc",BannerDoNotSellMyDataBackgroundColor:o.Banner.DoNotSellButtonStylesAndContent.background,BannerDoNotSellMyDataTextColor:o.Banner.DoNotSellButtonStylesAndContent.textColor,BannerBadgeBackgroun
1dColor:o.Banner?.BannerBadgeButtonStyles?.background?o.Banner?.BannerBadgeButtonStyles?.background:d.ib.BannerBadgeBackgroundColor,BannerBadgeTextColor:o.Banner?.BannerBadgeButtonStyles?.textColor?o.Banner?.BannerBadgeButtonStyles?.textColor:d.ib.BannerBadgeTextColor,PreferenceBackgroundColor:o.POPUP.GlobalStyles.background,PreferenceTextColor:o.POPUP.GlobalStyles.textColor,PreferencePurposeBackgroundColor:o.POPUP.PurposeButton.background,PreferencePurposeTextColor:o.POPUP.PurposeButton.textColor,PreferenceSwitchColor:o.POPUP.SwitchButton.background,PreferenceSwitchCircleColor:o.POPUP.SwitchButton.circleColor,PreferenceSwitchColorDisabled:o.POPUP.SwitchButton.switchDisable||"#545f69",PreferenceSwitchTextColorEnabled:o.POPUP.SwitchButton.circleTextEnabled||"#e0e0e0",PreferenceSwitchTextColorDisabled:o.POPUP.SwitchButton.circleTextDisbaled||"#338433",PreferenceAcceptAllBackgroundColor:o.POPUP.AllowAllButton.background||"#b80606",PreferenceAcceptAllTextColor:o.POPUP.AllowAllButton.textColor,PreferenceSaveMyChoiceBackgroundColor:o.POPUP.SaveMyChoiseButton.background,PreferenceSaveMyChoiceTextColor:o.POPUP.SaveMyChoiseButton.textColor,PreferenceDisableAllBackgroundColor:o.POPUP.DisableAllButton.background,PreferenceDisableAllTextColor:o.POPUP.DisableAllButton.textColor,PreferenceDoNotSellBackgroun
1dColor:o.POPUP.DoNotSellButtonStylesAndContent.background,PreferenceDoNotSellTextColor:o.POPUP.DoNotSellButtonStylesAndContent.textColor}),this.colorPicker={BannerCookieNoticeBackgroundColor:o.Banner.GlobalStyles.background,BannerCookieNoticeTextColor:o.Banner.GlobalStyles.textColor,BannerCookieNoticeBorderColor:o.Banner.GlobalStyles.borderColor,BannerCookieNoticePrivacyLinkColor:o.Banner.Privacy.textColor,BannerAcceptAllBackgroundColor:o.Banner.AllowAllButtonStylesAndContent.background,BannerAcceptAllTextColor:o.Banner.AllowAllButtonStylesAndContent.textColor,BannerPreferenceBackgroundColor:o.Banner.PreferenceButtonStylesAndContent.background,BannerPreferenceTextColor:o.Banner.PreferenceButtonStylesAndContent.textColor,BannerDisableAllBackgroundColor:o.Banner.DisableAllButtonStylesAndContent.background,BannerDisableAllTextColor:o.Banner.DisableAllButtonStylesAndContent.textColor,BannerContinueTextColor:o.Banner.ContinueButtonStylesAndContent?.textColor?o.Banner.ContinueButtonStylesAndContent?.textColor:"#ffffff",BannerContinueBackgroundColor:o.Banner.ContinueButtonStylesAndContent?.background?o.Banner.ContinueButtonStylesAndContent?.background:"#0069bc",BannerDoNotSellBackgroun
1dColor:o.Banner.DoNotSellButtonStylesAndContent.background,BannerDoNotSellTextColor:o.Banner.DoNotSellButtonStylesAndContent.textColor,BannerBadgeBackgroundColor:o.Banner?.BannerBadgeButtonStyles?.background?o.Banner?.BannerBadgeButtonStyles?.background:d.ib.BannerBadgeBackgroundColor,BannerBadgeTextColor:o.Banner?.BannerBadgeButtonStyles?.textColor?o.Banner?.BannerBadgeButtonStyles?.textColor:d.ib.BannerBadgeTextColor,PreferenceBackgroundColor:o.POPUP.GlobalStyles.background,PreferenceTextColor:o.POPUP.GlobalStyles.textColor,PreferencePurposeBackgroundColor:o.POPUP.PurposeButton.background,PreferencePurposeTextColor:o.POPUP.PurposeButton.textColor,PreferenceSwitchColor:o.POPUP.SwitchButton.background,PreferenceSwitchColorDisabled:o.POPUP.SwitchButton.switchDisable||"#545f69",PreferenceSwitchCircleColor:o.POPUP.SwitchButton.circleColor||"#e0e0e0",PreferenceSwitchTextColorEnabled:o.POPUP.SwitchButton.circleTextEnabled||"#338433",PreferenceSwitchTextColorDisabled:o.POPUP.SwitchButton.circleTextDisbaled||"#b80606",PreferenceAcceptAllBackgroundColor:o.POPUP.AllowAllButton.background,PreferenceAcceptAllTextColor:o.POPUP.AllowAllButton.textColor,PreferenceSaveMyChoiceBackgroundColor:o.POPUP.SaveMyChoiseButton.background,PreferenceSaveMyChoiceTextColor:o.POPUP.SaveMyChoiseButton.textColor,PreferenceDisableAllBackgroundColor:o.POPUP.DisableAllButton.background,PreferenceDisableAllTextColor:o.POPUP.DisableAllButton.textColor,PreferenceDoNotSellBackgroun
1dColor:o.POPUP.DoNotSellButtonStylesAndContent.background,PreferenceDoNotSellTextColor:o.POPUP.DoNotSellButtonStylesAndContent.textColor},this.BannerConfigurationForm.markAsPristine()}onSetDefaultStyle(o){const t=o;this.BannerConfigurationForm.patchValue({BannerCookieNoticeBackgroundColor:t.BannerCookieNoticeBackgroundColor,BannerCookieNoticeTextColor:t.BannerCookieNoticeTextColor,BannerCookieNoticeBorderColor:t.BannerCookieNoticeBorderColor,BannerCookieNoticePrivacyLinkColor:t.BannerCookieNoticePrivacyLinkColor,BannerAcceptAllBackgroundColor:t.BannerAcceptAllBackgroundColor,BannerAcceptAllTextColor:t.BannerAcceptAllTextColor,BannerPreferenceBackgroundColor:t.BannerPreferenceBackgroundColor,BannerPreferenceTextColor:t.BannerPreferenceTextColor,BannerDisableAllBackgroundColor:t.BannerDisableAllBackgroundColor,BannerDisableAllTextColor:t.BannerDisableAllTextColor,BannerContinueTextColor:t.BannerContinueTextColor,BannerContinueBackgroundColor:t.BannerContinueBackgroundColor,BannerDoNotSellMyDataBackgroundColor:t.BannerDoNotSellBackgroun
1dColor,BannerDoNotSellMyDataTextColor:t.BannerDoNotSellTextColor,BannerBadgeBackgroundColor:t.BannerBadgeBackgroundColor,BannerBadgeTextColor:t.BannerBadgeTextColor,PreferenceBackgroundColor:t.PreferenceBackgroundColor,PreferenceTextColor:t.PreferenceTextColor,PreferencePurposeBackgroundColor:t.PreferencePurposeBackgroundColor,PreferencePurposeTextColor:t.PreferencePurposeTextColor,PreferenceSwitchColor:t.PreferenceSwitchColor,PreferenceSwitchColorDisabled:t.PreferenceSwitchColorDisabled,PreferenceSwitchCircleColor:t.PreferenceSwitchCircleColor,PreferenceSwitchTextColorEnabled:t.PreferenceSwitchTextColorEnabled,PreferenceSwitchTextColorDisabled:t.PreferenceSwitchTextColorDisabled,PreferenceAcceptAllBackgroundColor:t.PreferenceAcceptAllBackgroundColor,PreferenceAcceptAllTextColor:t.PreferenceAcceptAllTextColor,PreferenceSaveMyChoiceBackgroundColor:t.PreferenceSaveMyChoiceBackgroundColor,PreferenceSaveMyChoiceTextColor:t.PreferenceSaveMyChoiceTextColor,PreferenceDisableAllBackgroundColor:t.PreferenceDisableAllBackgroundColor,PreferenceDisableAllTextColor:t.PreferenceDisableAllTextColor,PreferenceDoNotSellBackgroun
1dColor:t.PreferenceDoNotSellBackgroundColor,PreferenceDoNotSellTextColor:t.PreferenceDoNotSellTextColor}),this.colorPicker={BannerCookieNoticeBackgroundColor:t.BannerCookieNoticeBackgroundColor,BannerCookieNoticeTextColor:t.BannerCookieNoticeTextColor,BannerCookieNoticeBorderColor:t.BannerCookieNoticeBorderColor,BannerCookieNoticePrivacyLinkColor:t.BannerCookieNoticePrivacyLinkColor,BannerAcceptAllBackgroundColor:t.BannerAcceptAllBackgroundColor,BannerAcceptAllTextColor:t.BannerAcceptAllTextColor,BannerPreferenceBackgroundColor:t.BannerPreferenceBackgroundColor,BannerPreferenceTextColor:t.BannerPreferenceTextColor,BannerDisableAllBackgroundColor:t.BannerDisableAllBackgroundColor,BannerDisableAllTextColor:t.BannerDisableAllTextColor,BannerContinueTextColor:t.BannerContinueTextColor,BannerContinueBackgroundColor:t.BannerContinueBackgroundColor,BannerDoNotSellBackgroundColor:t.BannerDoNotSellBackgroundColor,BannerDoNotSellTextColor:t.BannerDoNotSellTextColor,BannerBadgeBackgroundColor:t.BannerBadgeBackgroundColor,BannerBadgeTextColor:t.BannerBadgeTextColor,PreferenceBackgroundColor:t.PreferenceBackgroundColor,PreferenceTextColor:t.PreferenceTextColor,PreferencePurposeBackgroundColor:t.PreferencePurposeBackgroundColor,PreferencePurposeTextColor:t.PreferencePurposeTextColor,PreferenceSwitchColor:t.PreferenceSwitchColor,PreferenceSwitchColorDisabled:t.PreferenceSwitchColorDisabled,PreferenceSwitchCircleColor:t.PreferenceSwitchCircleColor,PreferenceSwitchTextColorEnabled:t.PreferenceSwitchTextColorEnabled,PreferenceSwitchTextColorDisabled:t.PreferenceSwitchTextColorDisabled,PreferenceAcceptAllBackgroundColor:t.PreferenceAcceptAllBackgroundColor,PreferenceAcceptAllTextColor:t.PreferenceAcceptAllTextColor,PreferenceSaveMyChoiceBackgroundColor:t.PreferenceSaveMyChoiceBackgroundColor,PreferenceSaveMyChoiceTextColor:t.PreferenceSaveMyChoiceTextColor,PreferenceDisableAllBackgroundColor:t.PreferenceDisableAllBackgroundColor,PreferenceDisableAllTextColor:t.PreferenceDisableAllTextColor,PreferenceDoNotSellBackgroun
1dColor:t.PreferenceDoNotSellBackgroundColor,PreferenceDoNotSellTextColor:t.PreferenceDoNotSellTextColor},this.BannerConfigurationForm.markAsPristine()}onSelectPreviewLang(){const o=this.BannerConfigurationForm.getRawValue().PreviewLanguage.code;this.explicitPreviewLang=o,this.onLoadContent(o),this.BundlePayloadChange()}onAllowAllVendors(o){"iab"===o?(this.iabVendorsID=[],this.iabVendorsList.forEach(t=>{this.iabVendorsID.push(t.id)}),this.allowAllVendor.iab=!0):(this.googleVendorsID=[],this.googleVendorsList.forEach(t=>{this.googleVendorsID.push(t.provider_id)}),this.allowAllVendor.google=!0)}onSelectLang(o){this.BannerConfigurationForm.patchValue({PreviewLanguage:o}),this.onSelectPreviewLang()}BundlePayloadChange(){const o=[];for(let t of this.BannerConfigurationForm.getRawValue().CCPATarget)o.push(t);this.BundlePayload={ccpaTarget:this.BannerConfigurationForm.getRawValue().CCPATarget,type:this.publishType,PreviewLanguage:this.BannerConfigurationForm.getRawValue().PreviewLanguage.code,logoText:this.BannerConfigurationForm.getRawValue().ShowWatermark,gdprGlobal:this.BannerConfigurationForm.getRawValue().GdprGlobal,ccpaGlobal:this.BannerConfigurationForm.getRawValue().CCPAGlobal,dpdpaGlobal:this.BannerConfigurationForm.getRawValue().DPDPAGlobal,genericGlobal:this.BannerConfigurationForm.getRawValue().GenericGlobal,defaultRegulation:this.BannerConfigurationForm.getRawValue().DefaultRegulation,allowAllPurposeByDefault:this.BannerConfigurationForm.getRawValue().AllowPurposeByDefault,gdprTarget:this.BannerConfigurationForm.getRawValue().GdprCountries,iab_vendors_ids:JSON.stringify(this.iabVendorsID),google_vendors_ids:JSON.stringify(this.googleVendorsID),cookieBlocking:this.BannerConfigurationForm.getRawValue().CookieBlocking,CookieBlockingType:this.BannerConfigurationForm.getRawValue().CookieBlockingType,enableIab:this.BannerConfigurationForm.getRawValue().EnableIAB,gpcEnabled:this.BannerConfigurationForm.getRawValue().gpc_enabled,email:!1,allowGoogleVendors:this.BannerConfigurationForm.getRawValue().GoogleVendors,showOpenBtn:this.BannerConfigurationForm.getRawValue().ShowBadge,alwaysCheckedPurpose:["101"],apiEnvUrl:m.N.apiUrl,googleVendorsListUrl:m.N.googleVendorsUrl,lokiUrl:m.N.lokiUrl,orgId:this.currentManagedOrgID,propId:this.currrentManagedPropID,vendorListUrl:this.upgradeToTCF?"https://staging-cdn.adzapsrv.com/vendorlist/IABvendors/":"https://staging-cdn.adzapsrv.com/vendorlist/IABvendors/v2.2/",currentBannerLayer:this.currentBannerLayer,isLivePreviewMode:!0,lokiConfig:{app:m.N.lokiConfig.app,env:m.N.lokiConfig.env},portal:m.N.portalPrefix.toLowerCase(),CONFIG:(()=>{const t=this.onGetBannerConfig();return this.explicitPreviewLang&&(t.LanguageConfig={...t.LanguageConfig,defaultLang:this.explicitPreviewLang}),t})()}}onCheckBusinessOrEnterpriseSubscription(){this.enterpriseData=this.dataService.getCurrentPropertyPlanDetails(),void 0===this.enterpriseData||void 0===this.enterpriseData.response||"Cookie Consent Management - Enterprise"!=this.enterpriseData.response.plan_details.cookieConsent.product_name&&"Cookie Consent Management - Professional"!=this.enterpriseData.response.plan_details.cookieConsent.product_name&&"Cookie Consent Management - Essentials"!=this.enterpriseData.response.plan_details.cookieConsent.product_name?(this.showGtag=!1,this.showUETId=!1,this.showMetaPixelId=!1):(this.showGtag=!0,this.showUETId=!0,this.showMetaPixelId=!0)}onSubmit(){this.submitted=!0,!this.BannerConfigurationForm.invalid&&(this.showDropDownValue="",this.isFormUpdate?this.onUpdateForm():this.onCreateForm())}onCreateForm(){this.upgradeToTCF=!1;const o={ccpa_target:this.BannerConfigurationForm.getRawValue().CCPATarget.length==d.e3.length?"us":this.BannerConfigurationForm.getRawValue().CCPATarget.toString(),type:this.publishType,logo:this.BannerConfigurationForm.getRawValue().ShowWatermark,gdpr_global:this.BannerConfigurationForm.getRawValue().GdprGlobal,ccpa_global:this.BannerConfigurationForm.getRawValue().CCPAGlobal,generic_global:this.BannerConfigurationForm.getRawValue().GenericGlobal,default_regulation:this.BannerConfigurationForm.getRawValue().DefaultRegulation,purposes_by_default:this.BannerConfigurationForm.getRawValue().AllowPurposeByDefault,gdpr_target:this.BannerConfigurationForm.getRawValue().GdprCountries,iab_vendors_ids:JSON.stringify(this.iabVendorsID),google_vendors_ids:JSON.stringify(this.googleVendorsID),cookie_blocking:this.BannerConfigurationForm.getRawValue().CookieBlocking,enable_iab:this.BannerConfigurationForm.getRawValue().EnableIAB,gpc_enabled:this.BannerConfigurationForm.getRawValue().gpc_enabled,email:!1,google_vendors:this.BannerConfigurationForm.getRawValue().GoogleVendors,show_badge:this.BannerConfigurationForm.getRawValue().ShowBadge,portal:m.N.portalPrefix.toLowerCase(),CONFIG:this.onGetBannerConfig(),iab_tcf_v3_enabled:!0};"draft"===this.publishType?this.loading.start():this.publishing=!0,this.cookieBannerService.onSubmitCookieBannerData(o,this.currentManagedOrgID,this.currrentManagedPropID,this.constructor.name,B.e.cookieBannerModule).subscribe(t=>{this.BannerConfigurationForm.markAsPristine(),this.loading.stop(),this.isOpen=!0,this.alertMsg=t.response,this.alertType="success",this.publishing=!1,this.tabset.tabs[0].active=!0,this.BannerConfigurationForm.markAsPristine(),setTimeout(()=>{this.isOpen=!1},5e3),this.onGetSavedBannerConfig(),this.BannerConfigurationForm.patchValue({PreviewLanguage:{title:"English (United States)",code:"en-US",countryFlag:"us"}}),"publish"===this.publishType&&(this.isCopied=!1,this.openModal(this.publishModal))},t=>{this.isOpen=!0,setTimeout(()=>{this.isOpen=!1},5e3),this.alertMsg=t,this.alertType="danger",this.loading.stop(),this.publishing=!1})}onUpdateForm(){const o={ccpa_target:this.BannerConfigurationForm.getRawValue().CCPATarget.length==d.e3.length?"us":this.BannerConfigurationForm.getRawValue().CCPATarget.toString(),type:this.publishType,logo:this.BannerConfigurationForm.getRawValue().ShowWatermark,gdpr_global:Boolean(this.BannerConfigurationForm.getRawValue().GdprGlobal),ccpa_global:this.BannerConfigurationForm.getRawValue().CCPAGlobal,generic_global:this.BannerConfigurationForm.getRawValue().GenericGlobal,default_regulation:this.BannerConfigurationForm.getRawValue().DefaultRegulation,purposes_by_default:this.BannerConfigurationForm.getRawValue().AllowPurposeByDefault,gdpr_target:this.BannerConfigurationForm.getRawValue().GdprCountries,iab_vendors_ids:JSON.stringify(this.iabVendorsID),google_vendors_ids:JSON.stringify(this.googleVendorsID),cookie_blocking:this.BannerConfigurationForm.getRawValue().CookieBlocking,enable_iab:this.BannerConfigurationForm.getRawValue().EnableIAB,gpc_enabled:this.BannerConfigurationForm.getRawValue().gpc_enabled,email:!1,google_vendors:this.BannerConfigurationForm.getRawValue().GoogleVendors,show_badge:this.BannerConfigurationForm.getRawValue().ShowBadge,portal:m.N.portalPrefix.toLowerCase(),CONFIG:this.onGetBannerConfig(),iab_tcf_v3_enabled:this.iab_tcf_v3_enabled};"draft"===this.publishType?this.loading.start():this.publishing=!0,this.cookieBannerService.onUpdateCookieBannerData(o,this.currentManagedOrgID,this.currrentManagedPropID,this.constructor.name,B.e.cookieBannerModule).subscribe(t=>{this.BannerConfigurationForm.markAsPristine(),this.loading.stop(),this.isOpen=!0,this.alertMsg=t.response,this.alertType="success",this.publishing=!1,this.tabset.tabs[0].active=!0,setTimeout(()=>{this.isOpen=!1},5e3),this.onGetSavedBannerConfig(),this.BannerConfigurationForm.markAsPristine(),this.BannerConfigurationForm.patchValue({PreviewLanguage:{title:"English (United States)",code:"en-US",countryFlag:"us"}}),"publish"===this.publishType&&(this.isCopied=!1,this.openModal(this.publishModal))},t=>{this.isOpen=!0,setTimeout(()=>{this.isOpen=!1},5e3),this.alertMsg=t,this.alertType="danger",this.loading.stop(),this.publishing=!1})}onGetBannerConfig(){return{LanguageConfig:{allowedLang:this.selectedLanguage,defaultLang:this.BannerConfigurationForm.getRawValue().DefaultLanguage,customLang:this.customLang,CustomLanguagesList:this.CustomLanguageList},AllowedBanners:{ccpa:this.BannerConfigurationForm.getRawValue().AllowCCPA,gdpr:this.BannerConfigurationForm.getRawValue().AllowGDPR,dpdpa:this.BannerConfigurationForm.getRawValue().AllowDPDPA,generic:this.BannerConfigurationForm.getRawValue().AllowGENERIC},MuteBanner:this.BannerConfigurationForm.getRawValue().MuteBanner,LayoutType:this.BannerConfigurationForm?.getRawValue()?.LayoutType,ToggleType:this.BannerConfigurationForm?.getRawValue()?.ToggleType,LSPAenable:this.BannerConfigurationForm?.getRawValue()?.LSPAenable,EnableGpp:this.BannerConfigurationForm?.getRawValue()?.EnableGpp,BadgePosition:this.BannerConfigurationForm.getRawValue().BadgePosition,DomainList:this.BannerConfigurationForm.getRawValue().DomainList,BadgeType:this.BannerConfigurationForm.getRawValue()?.BadgeType,CookieBlockingType:this.BannerConfigurationForm.getRawValue()?.CookieBlockingType,CustomerBrandLogo:this.customerBrandLogo,SensitiveInformationData:this.BannerConfigurationForm?.getRawValue()?.SensitiveInformationData,KnownChildSensitiveDataConsentsData:this.BannerConfigurationForm?.getRawValue()?.KnownChildSensitiveDataConsentsData,RegulationName:this.BannerConfigurationForm?.getRawValue()?.RegulationName,...this.buildStatePayload(),ThemeType:this.themeType,PublishDate:this.BannerConfigurationForm.getRawValue()?.PublishDate,ShowDisabledOnBannerGDPR:this.BannerConfigurationForm.getRawValue()?.ShowDisabledOnBannerGDPR,CustomCss:this.BannerConfigurationForm.getRawValue()?.CustomCss,defaultGoogleConsent:this.BannerConfigurationForm.getRawValue()?.defaultGoogleConsent,gtagBasicModes:this.BannerConfigurationForm.getRawValue()?.gtagBasicModes,CloseIconEnable:this.BannerConfigurationForm.getRawValue()?.CloseIconEnable,googleTagID:this.BannerConfigurationForm.getRawValue()?.googleTagID,containerID:this.BannerConfigurationForm.getRawValue()?.containerID,gTag:this.BannerConfigurationForm.getRawValue()?.gTag,gTagConsentMode:this.BannerConfigurationForm.getRawValue()?.gTagConsentMode,microsoftConsent:this.BannerConfigurationForm.getRawValue()?.microsoftConsent,microsoftUETID:this.BannerConfigurationForm.getRawValue()?.microsoftUETID,uet_ad_storage:this.BannerConfigurationForm.getRawValue()?.uet_ad_storage,clarityConsent:this.BannerConfigurationForm.getRawValue()?.clarityConsent,clarity_ad_Storage:this.BannerConfigurationForm.getRawValue()?.clarity_ad_Storage,clarity_analytics_Storage:this.BannerConfigurationForm.getRawValue()?.clarity_analytics_Storage,metaPixelConsent:this.BannerConfigurationForm.getRawValue()?.metaPixelConsent,metaPixelID:this.BannerConfigurationForm.getRawValue()?.metaPixelID,meta_consent:this.BannerConfigurationForm.getRawValue()?.meta_consent,amazonConsentMode:this.BannerConfigurationForm.getRawValue()?.amazonConsentMode,amzn_ad_storage:this.BannerConfigurationForm.getRawValue()?.amzn_ad_storage,amzn_user_data:this.BannerConfigurationForm.getRawValue()?.amzn_user_data,tikTokConsentMode:this.BannerConfigurationForm.getRawValue()?.tikTokConsentMode,tiktok_cookie_consent:this.BannerConfigurationForm.getRawValue()?.tiktok_cookie_consent,SensitiveInformation:this.BannerConfigurationForm?.getRawValue()?.SensitiveInformation,KnownChildSensitiveDataConsents:this.BannerConfigurationForm?.getRawValue()?.KnownChildSensitiveDataConsents,EnableUSNAT:this.BannerConfigurationForm?.getRawValue()?.EnableUSNAT,GppForGDPR:this.BannerConfigurationForm?.getRawValue()?.GppForGDPR,SharingPersonalInfo:this.BannerConfigurationForm?.getRawValue()?.SharingPersonalInfo,SalePersonalInfo:this.BannerConfigurationForm?.getRawValue()?.SalePersonalInfo,PersonalDataConsents:this.BannerConfigurationForm?.getRawValue()?.PersonalDataConsents,MspaCoveredTransaction:this.BannerConfigurationForm?.getRawValue()?.MspaCoveredTransaction,mspaMode:this.BannerConfigurationForm.getRawValue()?.mspaMode,GDPRPrivacyTab:this.BannerConfigurationForm.getRawValue()?.GDPRPrivacyTab,PublishDateDisplay:"publish"===this.publishType?new Date:this.BannerConfigurationForm.getRawValue()?.PublishDateDisplay,AllowedPurposesID:this.purposeIDs,DisAllowedPurposesID:this.disAllowedPurpose,regulationPurposeConfig:this.regulationPurposeConfig,cipaExplicit:this.cipaExplicit,BannerZindex:this.BannerConfigurationForm.getRawValue()?.BannerZindex,defaultNatConsent:this.BannerConfigurationForm.getRawValue()?.defaultNatConsent,Dis
1playFrequency:{status:this.BannerConfigurationForm.getRawValue().EnableDisplayFrequency,bannerPartialConsent:this.BannerConfigurationForm.getRawValue().DisplayPartialConsent,bannerPartialConsentType:this.BannerConfigurationForm.getRawValue().DisplayPartialConsentType,bannerRejectAllConsent:this.BannerConfigurationForm.getRawValue().DisplayRejectAllConsent,bannerRejectAllConsentType:this.BannerConfigurationForm.getRawValue().DisplayRejectAllConsentType,bannerClosedConsent:this.BannerConfigurationForm.getRawValue().DisplayClosedConsent,bannerClosedConsentType:this.BannerConfigurationForm.getRawValue().DisplayClosedConsentType},Banner:{Privacy:{privacyLink:this.BannerConfigurationForm.getRawValue().BannerPrivacyLink,textColor:this.BannerConfigurationForm.getRawValue().BannerCookieNoticePrivacyLinkColor},GlobalStyles:{textColor:this.BannerConfigurationForm.getRawValue().BannerCookieNoticeTextColor,borderColor:this.BannerConfigurationForm.getRawValue().BannerCookieNoticeBorderColor,background:this.BannerConfigurationForm.getRawValue().BannerCookieNoticeBackgroundColor},PreferenceButtonStylesAndContent:{textColor:this.BannerConfigurationForm.getRawValue().BannerPreferenceTextColor,background:this.BannerConfigurationForm.getRawValue().BannerPreferenceBackgroundColor},AllowAllButtonStylesAndContent:{textColor:this.BannerConfigurationForm.getRawValue().BannerAcceptAllTextColor,background:this.BannerConfigurationForm.getRawValue().BannerAcceptAllBackgroundColor},DisableAllButtonStylesAndContent:{textColor:this.BannerConfigurationForm.getRawValue().BannerDisableAllTextColor,background:this.BannerConfigurationForm.getRawValue().BannerDisableAllBackgroundColor},DoNotSellButtonStylesAndContent:{textColor:this.BannerConfigurationForm.getRawValue().BannerDoNotSellMyDataTextColor,background:this.BannerConfigurationForm.getRawValue().BannerDoNotSellMyDataBackgroundColor},ContinueButtonStylesAndContent:{textColor:this.BannerConfigurationForm.getRawValue().BannerContinueTextColor,background:this.BannerConfigurationForm.getRawValue().BannerContinueBackgroundColor},BannerBadgeButtonStyles:{background:this.BannerConfigurationForm.getRawValue()?.BannerBadgeBackgroun
1dColor,textColor:this.BannerConfigurationForm.getRawValue()?.BannerBadgeTextColor},BannerMargin:{BannerMarginTop:this.BannerConfigurationForm.getRawValue()?.BannerMarginTop,BannerMarginBottom:this.BannerConfigurationForm.getRawValue()?.BannerMarginBottom,BannerMarginLeft:this.BannerConfigurationForm.getRawValue()?.BannerMarginLeft,BannerMarginRight:this.BannerConfigurationForm.getRawValue()?.BannerMarginRight},BannerPadding:{BannerPaddingTop:this.BannerConfigurationForm.getRawValue()?.BannerPaddingTop,BannerPaddingBottom:this.BannerConfigurationForm.getRawValue()?.BannerPaddingBottom,BannerPaddingLeft:this.BannerConfigurationForm.getRawValue()?.BannerPaddingLeft,BannerPaddingRight:this.BannerConfigurationForm.getRawValue()?.BannerPaddingRight}},POPUP:{GlobalStyles:{textColor:this.BannerConfigurationForm.getRawValue().PreferenceTextColor,background:this.BannerConfigurationForm.getRawValue().PreferenceBackgroundColor},SwitchButton:{background:this.BannerConfigurationForm.getRawValue().PreferenceSwitchColor,switchDisable:this.BannerConfigurationForm.getRawValue().PreferenceSwitchColorDisabled,circleColor:this.BannerConfigurationForm.getRawValue().PreferenceSwitchCircleColor,circleTextEnabled:this.BannerConfigurationForm.getRawValue().PreferenceSwitchTextColorEnabled,circleTextDisbaled:this.BannerConfigurationForm.getRawValue().PreferenceSwitchTextColorDisabled},PurposeButton:{textColor:this.BannerConfigurationForm.getRawValue().PreferencePurposeTextColor,background:this.BannerConfigurationForm.getRawValue().PreferencePurposeBackgroundColor},DisableAllButton:{background:this.BannerConfigurationForm.getRawValue().PreferenceDisableAllBackgroundColor,textColor:this.BannerConfigurationForm.getRawValue().PreferenceDisableAllTextColor},DoNotSellButtonStylesAndContent:{textColor:this.BannerConfigurationForm.getRawValue().PreferenceDoNotSellTextColor,background:this.BannerConfigurationForm.getRawValue().PreferenceDoNotSellBackgroun
1dColor},AllowAllButton:{background:this.BannerConfigurationForm.getRawValue().PreferenceAcceptAllBackgroundColor,textColor:this.BannerConfigurationForm.getRawValue().PreferenceAcceptAllTextColor},SaveMyChoiseButton:{background:this.BannerConfigurationForm.getRawValue().PreferenceSaveMyChoiceBackgroundColor,textColor:this.BannerConfigurationForm.getRawValue().PreferenceSaveMyChoiceTextColor}}}}onPublishLangOnS3(){const o=this.BannerConfigurationForm.getRawValue().PreviewLanguage.code;if(!o)return alert("Please Select Language"),!1;this.customLang.includes(o)||this.customLang.push(o);const t={...this.CustomLanguageList};t[o]=this.onAssignPayload(o),this.CustomLanguageList=t,this.BundlePayloadChange()}onSaveCustomLangOnDB(){const o=JSON.stringify(this.onAssignPayload()),r={lang_code:this.BannerConfigurationForm.getRawValue().PreviewLanguage.code,lang_data:o};this.contentSaving="saving",this.cookieBannerService.saveCustomLangInDB(r,this.currentManagedOrgID,this.currrentManagedPropID,this.constructor.name,B.e.manageVendorsModule).subscribe(l=>{this.contentSaving="saved",201===l.status&&this.BannerConfigurationForm.markAsPristine(),this.BundlePayloadChange()},l=>{this.contentSaving=""})}onAssignPayload(o){let t=null;t=o&&this.CustomLanguageList[o]?this.CustomLanguageList[o]:this.languageContents.hasOwnProperty("CONFIG")?{...this.languageContents}:JSON.parse(this.languageContents.response.lang_data);const r={...t};return r.CONFIG.BANNER.ACCEPT_ALL_BTN=this.BannerConfigurationForm.getRawValue().BannerAcceptAllText,r.CONFIG.BANNER.DESCRIPTION=this.BannerConfigurationForm.getRawValue().BannerDescription,r.CONFIG.BANNER.PRIVACY_SETTINGS_BTN=this.BannerConfigurationForm.getRawValue().BannerPreferenceText,r.CONFIG.BANNER.DISABLE_ALL_BTN=this.BannerConfigurationForm.getRawValue().BannerDisableAllText,r.CONFIG.BANNER.DENY_ALL=this.BannerConfigurationForm.getRawValue().BannerDoNotSellText,r.CONFIG.BANNER.TITLE=this.BannerConfigurationForm.getRawValue().BannerTitle,r.CONFIG.BANNER.PRIVACY=this.BannerConfigurationForm.getRawValue().BannerPrivacyText,r.CONFIG.BANNER.GDPR_PRIVACY_DESC=this.BannerConfigurationForm.getRawValue().BannerGdprDescText,r.CONFIG.POPUP.GDPR_PURPOSES_DESC=this.BannerConfigurationForm.getRawValue().PreferencePurposeGdprDescriptionText,r.CONFIG.POPUP.GDPR_VENDORS_DESC=this.BannerConfigurationForm.getRawValue().PreferenceVendorGdprDescriptionText,r.CONFIG.POPUP.CCPA_AND_GENERIC_PURPOSES_DESC=this.BannerConfigurationForm.getRawValue().PreferencePurposeCcpaAndGenericDescriptionText,r.CONFIG.POPUP.CCPA_AND_GENERIC_PRIVACY_INFO_DESCRIPTION=this.BannerConfigurationForm.getRawValue().PreferencePrivacyCcpaAndGenericDescriptionText,r.CONFIG.POPUP.PRIVACY_INFO=this.BannerConfigurationForm.getRawValue().PrivacyInformationHeaderText,r.CONFIG.POPUP.CCPA_AND_GENERIC_PRIVACY_INFO_TITLE=this.BannerConfigurationForm.getRawValue().PrivacyInformationTitle,r.CONFIG.POPUP.CCPA_AND_GENERIC_PRIVACY_INFO_DESCRIPTION=this.BannerConfigurationForm.getRawValue().PrivacyInformationDescription,r.CONFIG.POPUP.CUSTOM_PRIVACY_INFORMATION=this.BannerConfigurationForm.getRawValue().PrivacyInformationQNA,r.CONFIG.POPUP.DISABLE_ALL_BTN=this.BannerConfigurationForm.getRawValue().PreferenceDisableAllText,r.CONFIG.POPUP.SAVE_MY_CHOICE_BTN=this.BannerConfigurationForm.getRawValue().PreferenceSaveMyChoiceText,r.CONFIG.POPUP.ACCEPT_ALL_BTN=this.BannerConfigurationForm.getRawValue().PreferenceAcceptAllText,r.CONFIG.POPUP.DENY_ALL=this.BannerConfigurationForm.getRawValue().PreferenceDoNotSellMyDataText,r.PURPOSES=this.BannerConfigurationForm.getRawValue().PurposeList,r}onFindLangByCode(o){let t={title:"English (United States)",code:"en-US",countryFlag:"us"};for(const r of d.qg)r.code===o&&(t=r);return t}onAllowAllLanguage(o){if(o.checked){this.selectedLanguage=[],this.allowedLanguagesForPreview=[];for(const t of d.qg)this.selectedLanguage.push(t.code);this.allowedLanguagesForPreview=[...d.qg]}else{this.selectedLanguage=[],this.allowedLanguagesForPreview=[],this.selectedLanguage.push(this.BannerConfigurationForm.getRawValue().DefaultLanguage);let t=[];t=d.qg.filter(r=>r.code===this.BannerConfigurationForm.getRawValue().DefaultLanguage),this.allowedLanguagesForPreview=[...t]}
1this.BundlePayloadChange()}onFindCcpaCountry(o){let t="";for(const r of d.e3)o===r.code&&(t=r.name);return t}onFindGdprCountry(o){let t="";for(const r of d.Fx)o===r.code&&(t=r.name);return t}onFindNatSensitiveInfo(o){let t="";for(const r of d.u$)o===r.Id&&(t=r.description);return t}onFindknownInfo(o){let t="";for(const r of d.y6)o===r.Id&&(t=r.description);return t}onFindRegulation(o){let t="";for(const r of d.j6)o===r.code&&(t=r.name);return t}PublishModal(o,t){this.ispublishstatus||this.scriptUrl?(this.publishType="publish",this.scriptUrl&&(!this.scriptUrl.includes("/v2.2")&&this.BannerConfigurationForm.getRawValue().AllowGDPR?this.modalRef=this.modalService.show(t,{animated:!1,keyboard:!1,ignoreBackdropClick:!0}):(this.scriptUrl.includes("/v2.2")||this.BannerConfigurationForm.getRawValue(),this.iab_tcf_v3_enabled=!0,this.modalRef=this.modalService.show(o,{animated:!1,keyboard:!1,ignoreBackdropClick:!0})))):(this.publishType="publish",this.onSubmit())}openModal(o){this.modalRef=this.modalService.show(o,{class:"modal-lg setup-modal",animated:!1,keyboard:!1,ignoreBackdropClick:!0})}openModalprivacy(o){this.modalRef=this.modalService.show(o,{class:"modal-lg",animated:!1,keyboard:!1,ignoreBackdropClick:!0})}openModalPublish(o){this.isFormUpdate?(this.publishType="publish",this.modalRef=this.modalService.show(o,{animated:!1,keyboard:!1,ignoreBackdropClick:!0})):(this.publishType="publish",this.onSubmit())}goToDashboard(){this.router.navigate(["/home/dashboard/cookie-consent"],{queryParams:{oid:this.currentManagedOrgID,pid:this.currrentManagedPropID}}),this.modalRef.hide()}goToSetup(){this.router.navigate(["/cookie-consent/banner-configuration/implementation"],{queryParams:{oid:this.currentManagedOrgID,pid:this.currrentManagedPropID}}),this.modalRef.hide()}buildStateFormGroup(){const o={};for(const t of k.P)o[t.sensitiveDataKey]=[t.sensitiveDataOptions.map(r=>r.Id)],o[t.sensitiveKey]=[!1],o[t.sharingKey]=[!1],o[t.saleKey]=[!1],o[t.defaultConsentKey]=["opt-out"],o[t.mspaCoveredKey]=[!1],o[t.mspaModeKey]=["MspaOptOutOptionMode"],o[t.knownChildKey]=[!1],t.knownChildKey&&(o[t.knownChildKey]=[!1]),t.knownChildDataKey&&(o[t.knownChildDataKey]=[(t.knownChildDataOptions||[]).map(r=>r.Id)]),t.additionalDataConsentKey&&(o[t.additionalDataConsentKey]=[!1]),t.personalDataConsentsKey&&(o[t.personalDataConsentsKey]=[!1]);return o}buildStateConfigPatch(o){const t={};for(const r of k.P)t[r.sensitiveDataKey]=o[r.sensitiveDataKey]||"",t[r.sensitiveKey]=!!o.hasOwnProperty(r.sensitiveKey)&&o[r.sensitiveKey],t[r.sharingKey]=!!o.hasOwnProperty(r.sharingKey)&&o[r.sharingKey],t[r.saleKey]=!!o.hasOwnProperty(r.saleKey)&&o[r.saleKey],t[r.defaultConsentKey]=o[r.defaultConsentKey]||"opt-out",t[r.mspaCoveredKey]=o[r.mspaCoveredKey]||!1,t[r.mspaModeKey]=o[r.mspaModeKey]||"MspaOptOutOptionMode",r.knownChildKey&&(t[r.knownChildKey]=!!o.hasOwnProperty(r.knownChildKey)&&o[r.knownChildKey]),r.knownChildDataKey&&(t[r.knownChildDataKey]=o[r.knownChildDataKey]||""),r.additionalDataConsentKey&&(t[r.additionalDataConsentKey]=!!o.hasOwnProperty(r.additionalDataConsentKey)&&o[r.additionalDataConsentKey]),r.personalDataConsentsKey&&(t[r.personalDataConsentsKey]=o[r.personalDataConsentsKey]||!1);return t}buildStatePayload(){const o=this.BannerConfigurationForm?.getRawValue(),t={};for(const r of k.P)t[r.sensitiveDataKey]=o?.[r.sensitiveDataKey],t[r.sensitiveKey]=o?.[r.sensitiveKey],t[r.sharingKey]=o?.[r.sharingKey],t[r.saleKey]=o?.[r.saleKey],t[r.defaultConsentKey]=o?.[r.defaultConsentKey],t[r.mspaCoveredKey]=o?.[r.mspaCoveredKey],t[r.mspaModeKey]=o?.[r.mspaModeKey],r.knownChildKey&&(t[r.knownChildKey]=o?.[r.knownChildKey]),r.knownChildDataKey&&(t[r.knownChildDataKey]=o?.[r.knownChildDataKey]),r.additionalDataConsentKey&&(t[r.additionalDataConsentKey]=o?.[r.additionalDataConsentKey]),r.personalDataConsentsKey&&(t[r.personalDataConsentsKey]=o?.[r.personalDataConsentsKey]);return t}buildStateDeselectionPatch(){const o={};for(const t of k.P)o[t.sensitiveDataKey]=[],o[t.sensitiveKey]=!1,o[t.sharingKey]=!1,o[t.saleKey]=!1,o[t.defaultConsentKey]=["opt-out"],o[t.mspaCoveredKey]=!1,o[t.mspaModeKey]=["MspaOptOutOptionMode"],t.knownChildKey&&(o[t.knownChildKey]=!1),t.knownChildDataKey&&(o[t.knownChildDataKey]=[]),t.additionalDataConsentKey&&(o[t.additionalDataConsentKey]=!1),t.personalDataConsentsKey&&(o[t.personalDataConsentsKey]=!1);return o}buildStateResetPatch(){const o={};for(const t of k.P)o[t.sensitiveDataKey]=t.sensitiveDataOptions.map(r=>r.Id),o[t.sensitiveKey]=!1,o[t.sharingKey]=!1,o[t.saleKey]=!1,o[t.defaultConsentKey]="opt-out",o[t.mspaCoveredKey]=!1,o[t.mspaModeKey]="MspaOptOutOptionMode",t.knownChildKey&&(o[t.knownChildKey]=!1),t.knownChildDataKey&&(o[t.knownChildDataKey]=(t.knownChildDataOptions||[]).map(r=>r.Id)),t.additionalDataConsentKey&&(o[t.additionalDataConsentKey]=!1),t.personalDataConsentsKey&&(o[t.personalDataConsentsKey]=!1);return o}onResetEverything(){if("View Only"!==this.userRole){this.onGetGlobleLangData("en-US"),this.themeType="light",this.onSetDefaultStyle(d.ib),this.allowedLanguagesForPreview=[{title:"English (United States)",code:"en-US",countryFlag:"us"}],this.onAllowAllIABVendors(),this.onAllowAllGoogleVendors(),this.customLang=[],this.selectedLanguage=["en-US"];const o=[];for(const s of d.Fx)o.push(s.code);const t=[];for(const s of d.e3)t.push(s.code);const r=d.u$.map(s=>s.Id),l=d.y6.map(s=>s.Id),p=[];for(const s of d.j6)p.push(s.code);this.BannerConfigurationForm.patchValue({AllowGDPR:!0,AllowCCPA:!0,AllowGENERIC:!0,GdprCountries:o,SensitiveInformationData:r,KnownChildSensitiveDataConsentsData:l,RegulationName:p,...this.buildStateResetPatch(),EnableIAB:!1,gpc_enabled:!0,GoogleVendors:!1,GdprGlobal:!1,ShowDisabledOnBannerGDPR:!0,CustomCss:"",defaultGoogleConsent:{ad_storage:["denied"],analytics_storage:["denied"],functionality_storage:["denied"],personalization_storage:["denied"],ad_user_data:["denied"],ad_personalization:["denied"],wait_for_update:[2e3]},gtagBasicModes:"gTag",CloseIconEnable:!0,googleTagID:"",containerID:"",gTag:!1,gTagConsentMode:"Advanced",microsoftConsent:!1,microsoftUETID:"",uet_ad_storage:"denied",clarityConsent:!1,clarity_ad_Storage:"denied",clarity_analytics_Storage:"denied",metaPixelConsent:!1,metaPixelID:"",meta_consent:"revoke",SensitiveInformation:!1,KnownChildSensitiveDataConsents:!1,EnableUSNAT:!1,GppForGDPR:!1,SharingPersonalInfo:!1,SalePersonalInfo:!1,GDPRPrivacyTab:!1,CCPATarget:t,CCPAGlobal:!1,GenericGlobal:!1,DefaultRegulation:"generic",CookieBlocking:!1,CookieBlockingType:"manual",AllowPurposeByDefault:!0,ShowWatermark:!0,MuteBanner:!1,LSPAenable:!1,EnableGpp:!1,LayoutType:"full-width-bottom",ToggleType:"none",BadgePosition:"right",ShowBadge:!0,BadgeType:"text",DefaultLanguage:"en-US",BannerPrivacyText:"Privacy Link",BannerPrivacyLink:"http://www.example.com/privacy",EnableDisplayFrequency:!1,DisplayPartialConsent:24,DisplayPartialConsentType:"hours",DisplayRejectAllConsent:2,DisplayRejectAllConsentType:"days",DisplayClosedConsent:10,DisplayClosedConsentType:"pageViews",BannerMarginTop:[0],BannerMarginBottom:[0],BannerMarginLeft:[
10],BannerMarginRight:[0],BannerZindex:[9999],defaultNatConsent:["opt-out"],PersonalDataConsents:[!1],mspaMode:["MspaOptOutOptionMode"],BannerPaddingTop:[10],BannerPaddingBottom:[5],BannerPaddingLeft:[5],BannerPaddingRight:[5]}),this.modalRef.hide(),setTimeout(()=>{this.onSaveCustomLangOnDB(),this.onPublishLangOnS3()},4e3),this.BundlePayloadChange()}else this.modalRef.hide(),this.dataService.openUnAuthModal.next({isTrue:!0,error:"User is not authorized to access this functionality."})}resetGoogleConsentMode(o){o.checked||this.BannerConfigurationForm.patchValue({googleTagID:"",gTagConsentMode:"Advanced",containerID:""})}resetMicrosoftConsent(o){o.checked||this.BannerConfigurationForm.patchValue({microsoftUETID:""})}resetClarityConsent(o){o.checked||this.BannerConfigurationForm.patchValue({clarity_ad_Storage:"denied",clarity_analytics_Storage:"denied"})}resetMetaPixelConsent(o){o.checked||this.BannerConfigurationForm.patchValue({metaPixelID:"",meta_consent:"revoke"})}resetAmazonConsent(o){o.checked||this.BannerConfigurationForm.patchValue({amzn_ad_storage:"DENIED",amzn_user_data:"DENIED"})}resetTikTokConsent(o){o.checked||this.BannerConfigurationForm.patchValue({tiktok_cookie_consent:"denied"})}changeListener(o){const t=o.target.files[0];return this.validateFile(o.target.files[0].name)?t.size>2e4?(this.companyLogoValidation.error=!0,this.companyLogoValidation.msg="Maximum file size to upload is 20kb.",this.cd.detectChanges(),!1):(this.companyLogoValidation.error=!1,void this.readThis(o.target)):(this.companyLogoValidation.error=!0,this.companyLogoValidation.msg="Selected file format is not supported.",this.cd.detectChanges(),!1)}validateFile(o){const t=o.substring(o.lastIndexOf(".")+1);return"png"===t.toLowerCase()||"jpg"===t.toLowerCase()||"jpeg"===t.toLowerCase()}readThis(o){const t=o.files[0],r=new FileReader;r.onloadend=l=>{this.customerBrandLogo=r.result,this.currentBannerLayer="preference",this.BundlePayloadChange()},r.readAsDataURL(t)}navigateToCookie(){this.modalRef.hide(),this.tabset.tabs[2].active=!0,this.tabset.tabs[0].active=!1}onSubmitWithReConsent(){this.BannerConfigurationForm.patchValue({PublishDate:new Date}),this.isConsentPublished=!0,this.onSubmit()}onSelectIabVendor(o,t){if(o.target.checked)this.iabVendorsID.push(t);else{if(1===this.iabVendorsID.length)return o.target.checked=!0,o.preventDefault(),o.stopPropagation(),void alert("At least one iab vendor must be allowed");const l=this.iabVendorsID.indexOf(t);l>-1&&this.iabVendorsID.splice(l,1)}this.cd.detectChanges(),this.BundlePayloadChange()}onSelectGoogleVendor(o,t){if(o.target.checked)this.googleVendorsID.push(t);else{if(1===this.googleVendorsID.length)return o.target.checked=!0,o.preventDefault(),o.stopPropagation(),void alert("At least one google vendor must be allowed");const l=this.googleVendorsID.indexOf(t);l>-1&&this.googleVendorsID.splice(l,1)}this.cd.detectChanges(),this.BundlePayloadChange()}onAllowPurposeID(o,t){if(o.preventDefault(),o.target.checked){this.purposeIDs.push(t);const l=this.disAllowedPurpose.indexOf(t);l>-1&&this.disAllowedPurpose.splice(l,1)}else{const l=this.purposeIDs.indexOf(t);this.disAllowedPurpose.push(t),l>-1&&this.purposeIDs.splice(l,1)}this.activeRegulation&&(this.regulationPurposeConfig[this.activeRegulation.code].allowedPurposesID=[...this.purposeIDs],this.regulationPurposeConfig[this.activeRegulation.code].disAllowedPurposesID=[...this.disAllowedPurpose]),this.BundlePayloadChange()}onResetPreview(){this.customerBrandLogo=null,this.fileInput.nativeElement.value="",this.BundlePayloadChange()}ngAfterViewChecked(){this.isSidemenuClicked=this.userService.isSideMenuClicked}onSelectDevice(o){"mobile"===o?this.previewSize=[71,25]:"web"===o&&(this.previewSize=[26,80]),this.BannerConfigurationForm.patchValue({CurrentPreviewDevice:o}),this.cd.detectChanges()}onChangeBannerType(o){const t=o.value;return"gdpr"!==t||this.BannerConfigurationForm.getRawValue().AllowGDPR?"ccpa"!==t||this.BannerConfigurationForm.getRawValue().AllowCCPA?"dpdpa"!==t||this.BannerConfigurationForm.getRawValue().AllowDPDPA?"generic"!==t||this.BannerConfigurationForm.getRawValue().AllowGENERIC?(this.currentPreviewState=t,this.SET_COOKIE(m.N.cmpType,t),void this.deleteAllCookies()):(this.onFindEnableRegulationToActivate(),alert("You haven't enabled Global Regulation in the configuration. If you want to see the Global preview, enable it under Config tab."),!1):(this.onFindEnableRegulationToActivate(),alert("You haven't enabled DPDPA Regulation in the configuration. If you want to see the DPDPA preview, enable it under Config tab."),!1):(this.onFindEnableRegulationToActivate(),alert("You haven't enabled CCPA Regulation in the configuration. If you want to see the CCPA preview, enable it under Config tab."),!1):(this.onFindEnableRegulationToActivate(),void alert("You haven't enabled GDPR Regulation in the configuration. If you want to see the GDPR preview, enable it under Config tab."))}onFindEnableRegulationToActivate(){const{AllowGDPR:o,AllowCCPA:t,AllowDPDPA:r,AllowGENERIC:l}=this.BannerConfigurationForm.getRawValue();
1t&&this.BannerConfigurationForm.patchValue({LivePreviewType:"ccpa"}),o&&this.BannerConfigurationForm.patchValue({LivePreviewType:"gdpr"}),r&&this.BannerConfigurationForm.patchValue({LivePreviewType:"dpdpa"}),l&&this.BannerConfigurationForm.patchValue({LivePreviewType:"generic"})}SET_COOKIE(o,t){const r=new Date;r.setTime(r.getTime()+2592e6);const l="expires="+r.toUTCString();document.cookie=o+"="+t+";"+l+";host=.consensu.org;path=/"}getOIDPIDFromURL(){let o=(0,H.Dq)(this.location.path());null!=o&&(this.currentManagedOrgID=o[0],this.currrentManagedPropID=o[1])}onSelect(o,t,r){this.navType=t,this.tabset.tabs[r].active=!0,0==r&&(this.titleService.setTitle("Cookie Banner - "+m.N.portalPrefix),this.ngOnInit(),this.ngAfterViewInit())}appendTooltipContentToPurpose(o){return o.PURPOSES.filter(t=>{for(let r of this.purposetooltipList.purposelist)r.id==t.id&&(t.tooltipdescription=r.tooltipdescription)}),o}onCheckSubscription(){const o=this.dataService.getCurrentPropertyPlanDetails(),t=void 0!==o&&void 0!==o.response?o.response.features:null;null!==t&&Object.keys(t).length>0?this.dataService.isLicenseAppliedForProperty.next({requesttype:"property",hasaccess:!0}):this.dataService.isLicenseAppliedForProperty.next({requesttype:"property",hasaccess:!1})}};let i=a;return a.\u0275fac=function(t){return new(t||a)(e.Y36(q.H7),e.Y36(C.QS),e.Y36(L.LA),e.Y36(M.s),e.Y36(N.Mn),e.Y36(h.F0),e.Y36(h.gz),e.Y36(z.D),e.Y36(N.KD),e.Y36(f.o),e.Y36(T.Q),e.Y36(e.sBO),e.Y36(g.tT),e.Y36(c.Ye),e.Y36(q.Dx),e.Y36(u))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-banner-config"]],viewQuery:function(t,r){if(1&t&&(e.Gf(go,5),e.Gf(uo,7),e.Gf(fo,5),e.Gf(mo,7)),2&t){let l;e.iGM(l=e.CRH())&&(r.fileInput=l.first),e.iGM(l=e.CRH())&&(r.noCookie=l.first),e.iGM(l=e.CRH())&&(r.tabset=l.first),e.iGM(l=e.CRH())&&(r.publishModal=l.first)}},decls:48,vars:20,consts:[["appTheme","",1,"cc-container-fluid","margin-top-70","banner-wrapper",3,"ngStyle"],[1,"d-flex"],[1,"col-md-5","ml-4"],[1,"d-sm-flex","align-items-center","justify-content-between"],["aria-label","breadcrumb",1,"bredcrub-row",2,"margin-left","-14px"],[1,"breadcrumb","breadcrumb-style1","mg-b-10"],[1,"breadcrumb-item"],["routerLink","/home/dashboard/cookie-consent",3,"queryParams"],[1,"breadcrumb-item","active"],[1,"pl-0","text-right","ml-auto",2,"margin-bottom","-37px",3,"ngStyle"],["pButton","","pRipple","","type","button","label","Upgrade to TCF v2.2","class","p-button-secondary action-btn mr-2",3,"hidden","disabled","click",4,"ngIf"],["pButton","","pRipple","","type","button","label","Reset to Default",1,"p-button-secondary","action-btn","mr-2",3,"disabled","click"],["pButton","","pRipple","","type","submit","label","Save","tooltip","Any changes you make to the configuration will be reflected after it is published again.","placement","left",1,"p-button-warning","action-btn","mr-2",3,"disabled","click"],["pButton","","pRipple","","type","button","label","Publish","tooltip","Please be sure to fill out all mandatory fields on all tabs.","placement","left",1,"action-btn",3,"disabled","click"],["tabset",""],["heading","Banner Configuration",1,"mt-2",3,"selectTab"],[4,"ngIf"],["heading","Cookie Scanner",1,"mt-2",3,"selectTab"],[1,"ml-3"],[3,"isChild",4,"ngIf"],["heading","Cookie Categories",1,"mt-2",3,"selectTab"],["heading","Implementation",1,"mt-2",3,"selectTab"],["class","w-100 card mt-3 publish-loader",4,"ngIf"],["ReConsentConfirmation",""],["PrivacyInfo",""],["UpdateVersionModal",""],["resetConfig",""],["gppConfig",""],["publish",""],["noCookie",""],["pButton","","pRipple","","type","button","label","Upgrade to TCF v2.2",1,"p-button-secondary","action-btn","mr-2",3,"hidden","disabled","click"],["class","margin-wrapper",3,"formGroup","ngSubmit",4,"ngIf"],[1,"margin-wrapper",3,"formGroup","ngSubmit"],[1,"card","title-head"],[1,"card-header","p-2","pb-3"],[1,"d-flex-center"],[1,"main-heading","col-sm-4","pt-2","col-md-3","pl-1",3,"ngClass"],[1,"pr-0","pl-2","preview-border-left","d-flex"],[1,"live-preview-type","float-left","pr-3",2,"font-size","14px"],[1,"ml-2"],["optionLabel","label","formControlName","LivePreviewType","optionValue","value",3,"options","onChange"],["o
1ptionLabel","label","optionValue","value",3,"options","ngModel","ngModelOptions","onChange","ngModelChange"],[1,"pl-0","text-right","ml-auto"],["style","margin-top: 15px","class","publish-date-text",4,"ngIf"],[1,"d-flex","row-cols-group","mb-0"],[1,"col-md-1","border-right","menu-background"],[1,"row","step-bg",3,"ngClass","click"],[1,"col-md-12","mb-2","p-0","text-center"],[1,"fas","fa-cogs","tx-25"],[1,"col-md-12","p-0","mb-2","text-center","tx-13","font-weight-bold"],[1,"fas","fa-language","tx-25"],[1,"fas","fa-file-alt","tx-25"],[1,"fas","fa-fill-drip","tx-25"],[1,"fas","fa-tools","tx-25"],[1,"col-md-12","mt-1","mb-1","p-0","text-center"],[1,"fas","fa-tv","tx-25"],[1,"col-md-12","p-0","text-center","tx-13","mb-2","font-weight-bold"],[1,"col-md-11","p-0"],["stateStorage","session","styleClass","p-mb-5",3,"panelSizes","minSizes"],["pTemplate",""],[1,"card"],[1,"card-body","p-1"],[1,"row"],[1,"col-md-4"],[1,"col-md-2","preview-div"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 576 512",2,"height","25px"],["d","M279.6 160.4C282.4 160.1 285.2 160 288 160C341 160 384 202.1 384 256C384 309 341 352 288 352C234.1 352 192 309 192 256C192 253.2 192.1 250.4 192.4 247.6C201.7 252.1 212.5 256 224 256C259.3 256 288 227.3 288 192C288 180.5 284.1 169.7 279.6 160.4zM480.6 112.6C527.4 156 558.7 207.1 573.5 243.7C576.8 251.6 576.8 260.4 573.5 268.3C558.7 304 527.4 355.1 480.6 399.4C433.5 443.2 368.8 480 288 480C207.2 480 142.5 443.2 95.42 399.4C48.62 355.1 17.34 304 2.461 268.3C-.8205 260.4-.8205 251.6 2.461 243.7C17.34 207.1 48.62 156 95.42 112.6C142.5 68.84 207.2 32 288 32C368.8 32 433.5 68.84 480.6 112.6V112.6zM288 112C208.5 112 144 176.5 144 256C144 335.5 208.5 400 288 400C367.5 400 432 335.5 432 256C432 176.5 367.5 112 288 112z"],[1,"btn-group"],["type","button",1,"btn",3,"ngClass","click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 576 512",3,"ngStyle"],["d","M528 0h-480C21.5 0 0 21.5 0 48v320C0 394.5 21.5 416 48 416h192L224 464H152C138.8 464 128 474.8 128 488S138.8 512 152 512h272c13.25 0 24-10.75 24-24s-10.75-24-24-24H352L336 416h192c26.5 0 48-21.5 48-48v-320C576 21.5 554.5 0 528 0zM512 288H64V64h448V288z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512",3,"ngStyle"],["d","M384 .0001H64c-35.35 0-64 28.65-64 64v384c0 35.35 28.65 63.1 64 63.1h320c35.35 0 64-28.65 64-63.1v-384C448 28.65 419.3 .0001 384 .0001zM224 480c-17.75 0-32-14.25-32-32s14.25-32 32-32s32 14.25 32 32S241.8 480 224 480zM384 384H64v-320h320V384z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 384 512",3,"ngStyle"],["d","M304 0h-224c-35.35 0-64 28.65-64 64v384c0 35.35 28.65 64 64 64h224c35.35 0 64-28.65 64-64V64C368 28.65 339.3 0 304 0zM192 480c-17.75 0-32-14.25-32-32s14.25-32 32-32s32 14.25 32 32S209.8 480 192 480zM304 64v320h-224V64H304z"],[1,"col-md-2"],["routerLink","/cookie-consent/banner-configuration/history",1,"btn","btn-link","float-right",2,"color","var(--side-nav-org)",3,"queryParams"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512",2,"fill","var(--side-nav-org)"],["d","M256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C201.7 512 151.2 495 109.7 466.1C95.2 455.1 91.64 436 101.8 421.5C111.9 407 131.8 403.5 146.3 413.6C177.4 435.3 215.2 448 256 448C362 448 448 362 448 256C448 149.1 362 64 256 64C202.1 64 155 85.46 120.2 120.2L151 151C166.1 166.1 155.4 192 134.1 192H24C10.75 192 0 181.3 0 168V57.94C0 36.56 25.85 25.85 40.97 40.97L74.98 74.98C121.3 28.69 185.3 0 255.1 0L256 0zM256 128C269.3 128 280 138.7 280 152V246.1L344.1 311C354.3 320.4 354.3 335.6 344.1 344.1C335.6 354.3 320.4 354.3 311 344.1L239 272.1C234.5 268.5 232 262.4 232 256V152C232 138.7 242.7 128 256 128V128z"],[1,"publish-date-text",2,"margin-top","15px"],[1,"steppers",3,"ngStyle"],[1,"step-1","config-wrapper",3,"ngStyle"],[1,"allow-regulations","mt-3"],["align","left","type","dashed"],[1,"checkbox-group","row","ml-3"],[1,"col-md-12","mb-2"],[1,"p-field-checkbox","row"],["inputId","gdpr",1,"col-md-2",3,"formControl","disabled","binary","onChange"],["for","gdpr",1,"col-md-10","mb-0","label-tx"],["name","info","tooltip","GDPR",1,"feather-16"],["name","group1","inputId","ccpa",1,"col-md-2",3,"disabled","formControl","binary","onChange"],["for","ccpa",1,"col-md-10","mb-0","label-tx"],["name","info","tooltip","CCPA, CPRA, CPA, VCDPA, CTDPA, OCDPA, TXDPSA, UCPA",1,"feather-16"],["name","group1","inputId","generic",1,"col-md-2",3,"formControl","disabled","binary","onChange"],["for","generic",1,"col-md-10","mb-0","label-tx"],["name","info","tooltip","LGPD, PIPL, PIPEDA, PDPL",1,"feather-16"],[1,"regulations-config","mt-3"],["align","center","type","dashed"],[1,"gdpr-regulations","ml-4",3,"ngStyle"],[1,"col-md-12"],["for","ccpa_target",1,"mb-0","input-label","pt-2"],["name","info","tooltip","The users from the selected countries will get the GDPR banner. The rest of the users will get the default banner that you selected under the Advanced Features.",1,"feather-16"],[1,"row","mt-2"],["formControlName","GdprCountries","defaultLabel","Select a Country","optionLabel","name","optionValue","code",1,"multiselect-custom",3,"options","ngClass"],["pTemplate","selectedItems"],["pTemplate","item"],["class","invali
1d-feedback mt-1",4,"ngIf"],[1,"row","mt-3"],[1,"col-md-6"],[1,"mb-0","input-label","pt-2"],["name","info","tooltip","If enabled, a set of IAB vendors can send or receive the signals from your domain",1,"feather-16"],["formControlName","EnableIAB",3,"click"],[1,"mb-0","input-label","pt-2",3,"ngStyle"],["name","info","tooltip","If enabled, a set of Google vendors can send or receive the signals from your domain",1,"feather-16"],[1,"col-md-6",3,"click"],["formControlName","GoogleVendors",3,"disabled"],["name","info","tooltip","If enabled, the GDPR banner will appear everywhere, regardless of the location of the visitor.",1,"feather-16"],["formControlName","GdprGlobal",3,"onChange"],["name","info","tooltip","If enabled, Privacy Information tab will be displayed on GDPR popup",1,"feather-16"],["formControlName","GDPRPrivacyTab",3,"onChange"],[1,"ccpa-regulations","ml-4",3,"ngStyle"],["name","info","tooltip","The users from the selected region will get the CCPA banner. The rest of the users will get the default banner that you selected under the Advanced Features.",1,"feather-16"],["defaultLabel","Select a state","formControlName","CCPATarget","optionLabel","name","optionValue","code","display","chip",1,"multiselect-custom",3,"options","filter","ngClass"],["pTemplate","header"],["pTemplate","selectedItem"],["name","info","tooltip","If enabled, the CCPA banner will appear everywhere, regardless of the location of the visitor.",1,"feather-16"],["formControlName","CCPAGlobal",3,"onChange"],["name","info","tooltip","If enabled, you support the Limited Service Provider Agreement.",1,"feather-16"],["formControlName","LSPAenable"],["name","info","tooltip","If enabled, your website can receive the end-user's GPC signal for opt-out preference.",1,"feather-16"],["formControlName","gpc_enabled"],[1,"generic-regulations","ml-4",3,"ngStyle"],["name","info","tooltip","If enabled, the Global banner will appear everywhere, regardless of the location of the visitor",1,"feather-16"],["formControlName","GenericGlobal",3,"onChange"],[1,"banner-box-type","ml-4"],["tooltip","Select to see the preview",1,"col-md-4","mb-2","cursor-pointer",3,"click"],["class","fas fa-check-circle banner-types",4,"ngIf"],[1,"w-100",2,"height","50px",3,"src"],["tooltip","Select to see the preview",1,"col-md-4","mb-4","cursor-pointer",3,"click"],["tooltip","Select to see the preview",1,"col-md-4","mb-2","cursor-pointer",3,"hidden","click"],[1,"w-100",2,"height","50px","border-radius","5px",3,"src"],[1,"additional-feature","ml-4"],["name","info","tooltip","The users from any region will get the cookie banner of  the selected regulation, excluding the targeted regions. ",1,"feather-16"],["formControlName","DefaultRegulation","optionLabel","name","optionValue","code",1,"col-md-6","p-0","m-0",3,"options"],["name","info","tooltip","Turn ON to configure cookie blocking",1,"feather-16"],["formControlName","CookieBlocking",3,"disabled"],["class","row mt-3",4,"ngIf"],["name","info","tooltip","Turn ON Global Privacy Platform",1,"feather-16"],["formControlName","EnableGpp",3,"onChange"],["name","info",1,"feather-16",3,"tooltip"],["formControlName","ShowWatermark",3,"disabled"],["formControlName","MuteBanner","tooltip","If enabled, the cookie notice won't be displayed on the domain"],["name","info","tooltip","If disabled, the first layer of the banner will not display the Disable All & Do Not Sell My Data button.",1,"feather-16"],["formControlName","ShowDisabledOnBannerGDPR"],["name","info","tooltip","If disabled, the first layer of the banner will not display the close button.",1,"feather-16"],["formControlName","CloseIconEnable"],["type","text","pInputText","","formControlName","BannerZindex",1,"p-inputtext-sm",2,"width","100%"],["formControlName","gTag",3,"disabled","onChange"],["formGroupName","defaultGoogleConsent"],["formControlName","microsoftConsent",3,"disabled","onChange"],["formControlName","clarityConsent",3,"onChange"],["formControlName","metaPixelConsent",3,"disabled","onChange"],[1,"badge-config","ml-4"],["name","info","tooltip","If enabled, a privacy settings badge will remain on the website after closing the cookie notice",1,"feather-16"],["formControlName","ShowBadge",3,"onChange"],["showBadgeBtn",""],[1,"col-md-8"],["tooltip","Use Cookie Consent text as the badge or use icon as the badge","formControlName","BadgeType","optionLabel","label","optionValue","value",3,"disabled","options","onChange"],[1,"col-md-5"],[1,"col-md-7"],["formControlName","BadgePosition","optionLabel","label","optionValue","value",3,"disabled","options"],[1,"customer-logo","ml-4"],[1,"mb-1","tx-12"],["type","file","accept","image/png, image/jpg, image/jpeg",3,"change"],["fileInput",""],["class","text-danger",4,"ngIf"],[1,"mt-4","img-preview"],["class","img-preview-tag",3,"src",4,"ngIf"],["class","text-center mt-4 mb-4 pt-1",4,"ngIf"],["class","btn btn-link mt-1","type","button",3,"click",4,"ngIf"],["formControlName","CustomCss","rows","5","cols","30"],[1,"step-2","lang-config",3,"ngStyle"],["styleClass","p-datatable",3,"value"],["pTemplate","body"],["class","step-3 content",4,"ngIf"],["class","step-4 layout content",4,"ngIf"],["class","step-5 content purpose-preference",4,"ngIf"],["class","step-6 content display-frequency",4,"ngIf"],["class","step-7 config-wrapper",4,"ngIf"],["class","country-item country-item-value",4,"ngFor","ngForOf"],["class","country-placeholder",4,"ngIf"],[1,"country-item","country-item-value"],[1,"country-placeholder"],[1,"country-item"],[1,"invalid-feedback","mt-1"],[1,"checkbox-all-text",3,"hidden"],[3,"title"],[1,"fas","fa-check-circle","banner-types"],["formControlName","CookieBlockingType","optionLabel","label","optionValue","value",3,"disabled","options"],["class","tx-11 mt-1",4,"ngIf"],[1,"tx-11","mt-1"],["target","_blank",3,"href"],["routerLink","/cookie-consent/auto-cookie-blocking/enables","target","_blank",3,"queryParams"],[1,"btn","btn-sm","btn-success",3,"click"],["name","info","tooltip","Choose advanced or basic google consent mode",1,"feather-16"],["formControlName","gTagConsentMode","optionLabel","name","optionValue","name",1,"col-md-6","p-0","m-0",3,"options"],["name","info","tooltip","Choose gTag or Tag Manager mode",1,"feather-16"],["formControlName","gtagBasicModes","optionLabel","name","optionValue","name",1,"col-md-6","p-0","m-0",3,"options"],["name","info","tooltip","Your Google Tag ID",1,"feather-16"],["type","text","pInputText","","formControlName","googleTagID",1,"p-inputtext-sm",2,"width","100%"],["name","info","tooltip","Your Container ID",1,"feather-16"],["type","text","pInputText","","formControlName","containerID",1,"p-inputtext-sm",2,"width","100%"],["name","info","tooltip","Enables storage (such as cookies) related to advertising.",1,"feather-16"],["formControlName","ad_storage","optionLabel","name","optionValue","name",1,"col-md-6","p-0","m-0",3,"options"],["name","info","tooltip","Enables storage (such as cookies) related to analytics e.g. visit duration",1,"feather-16"],["formControlName","analytics_storage","optionLabel","name","optionValue","name",1,"col-md-6","p-0","m-0",3,"options"],["name","info","tooltip","Enables storage that supports the functionality of the website or app e.g. language settings.",1,"feather-16"],["formControlName","functionality_storage","optionLabel","name","optionValue","name",1,"col-md-6","p-0","m-0",3,"options"],["name","info","tooltip","Enables storage related to personalization e.g. video recommendations",1,"feather-16"],["formControlName","personalization_storage","optionLabel","name","optionValue","name",1,"col-md-6","p-0","m-0",3,"options"],["name","info","tooltip","Sets consent for sending user data related to advertising to Google.",1,"feather-16"],["formControlName","ad_user_data","optionLabel","name","optionValue","name",1,"col-md-6","p-0","m-0",3,"options"],["name","info","tooltip","Sets consent for personalized advertising.",1,"feather-16"],["formControlName","ad_personalization","optionLabel","name","optionValue","name",1,"col-md-6","p-0","m-0",3,"options"],["name","info","tooltip","Millisecond value to control how long to wait before data is sent.",1,"feather-16"],["type","number","pInputText","","formControlName","wait_for_update",1,"p-inputtext-sm",2,"width","100%"],["formControlName","uet_ad_storage","optionLabel","name","optionValue","name",1,"col-md-6","p-0","m-0",3,"options"],["name","info","tooltip","Consent for storing data related to ads.",1,"feather-16"],["formControlName","clarity_ad_Storage","optionLabel","name","optionValue","name",1,"col-md-6","p-0","m-0",3,"options"],["name","info","tooltip","Consent for storing analytics-related data.",1,"feather-16"],["formControlName","clarity_analytics_Storage","optionLabel","name","optionValue","name",1,"col-md-6","p-0","m-0",3,"options"],["name","info","tooltip","Enables storage (such as cookies) related to marketing/advertising consent.",1,"feather-16"],["formControlName","meta_consent","optionLabel","name","optionValue","name",1,"col-md-6","p-0","m-0",3,"options"],[1,"text-danger"],[1,"img-preview-tag",3,"src"],[1,"text-center","mt-4","mb-4","pt-1"],[1,"far","fa-image"],["type","button",1,"btn","btn-link","mt-1",3,"click"],[1,"p-0",2,"width","18%"],["name","group1",1,"col-md-2",3,"onChange"],[1,"p-0",2,"width","35%"],[1,"p-0",2,"width","12%"],[1,"p-0",2,"width","35%","text-align","right"],[1,"pt-2","pb-2","pl-0","pr-0"],["type","checkbox",1,"lang-checkbox","ml-1",3,"checked","value","disabled","change"],[1,"pt-2","pb-2","pl-0","pr-0",2,"font-size","14px"],["type","button","class","btn btn-link",3,"click",4,"ngIf"],[1,"text-right","pt-2","pb-2","pl-0","pr-0"],["formControlName","DefaultLanguage",3,"disabled","value"],["type","button",1,"btn","btn-link",3,"click"],[1,"step-3","content"],[1,"row","mb-3"],["formControlName","PreviewLanguage","placeholder","Select a Language",3,"options","showClear","onChange"],[3,"value","enableService","closable","valueChange",4,"ngIf"],[1,"btn-group-action","mb-4","mt-2"],["type","button",1,"btn","btn-link",3,"ngStyle","click"],["class","content-banner",4,"ngIf"],["class","content-preference",4,"ngIf"],["class","country-item country-item-value row",4,"ngIf"],[1,"country-item","country-item-value","row"],[1,"pl-2"],[1,"country-item","row"],[3,"value","enableService","closable","valueChange"],[1,"content-banner"],["id","cookieNotice"],[1,"az-dropdown",3,"click"],["class","az-input-group",4,"ngIf"],["id","GDPRdescription"],["id","bannerButton"],[1,"fas","fa-chevron-down"],[1,"fas","fa-chevron-up"],[1,"az-input-group"],[1,"p-field"],["for","title",1,"input-label"],["formControlName","BannerTitle","type","text","pInputText","",1,"az-input"],["pInputTextarea","","formControlName","BannerDescription"],["id","BannerPrivacyText","formControlName","BannerPrivacyText","type","text","pInputText","",1,"az-input"],["type","text","formControlName","BannerPrivacyLink","pInputText","",1,"az-input"],["name","info","tooltip","${NUMBER_OF_VENDORS} - Using this macro will display the total number of vendors those are enabled in Vendors section",1,"feather-16",3,"hidden"],["formControlName","BannerGdprDescText","type","text","pInputTextarea",""],["type","text","formControlName","BannerAcceptAllText","pInputText","",1,"az-input"],["type","text","formControlName","BannerPreferenceText","pInputText","",1,"az-input"],["type","text","formControlName","BannerDisableAllText","pInputText","",1,"az-input"],["type","text","formControlName","BannerDoNotSellText","pInputText","",1,"az-input"],[1,"content-preference"],["id","preferencePurposeAndVendors"],["id","preferencePurposeAndPrivacy"],["
1id","privacyInformation"],["id","preferenceButtons"],["pInputTextarea","","formControlName","PreferencePurposeGdprDescriptionText"],["pInputTextarea","","formControlName","PreferenceVendorGdprDescriptionText"],["pInputTextarea","","formControlName","PreferencePurposeCcpaAndGenericDescriptionText"],["pInputTextarea","","formControlName","PreferencePrivacyCcpaAndGenericDescriptionText"],["pInputTextarea","","formControlName","PrivacyInformationHeaderText"],["pInputTextarea","","formControlName","PrivacyInformationTitle"],["pInputTextarea","","formControlName","PrivacyInformationDescription"],["type","button",1,"btn","btn-sm","btn-success",3,"disabled","click"],["type","text","formControlName","PreferenceAcceptAllText","pInputText","",1,"az-input"],["type","text","formControlName","PreferenceSaveMyChoiceText","pInputText","",1,"az-input"],["type","text","formControlName","PreferenceDisableAllText","pInputText","",1,"az-input"],["type","text","formControlName","PreferenceDoNotSellMyDataText","pInputText","",1,"az-input"],[1,"step-4","layout","content"],["class","layout-banner",4,"ngIf"],["class","layout-preference",4,"ngIf"],[1,"layout-banner"],[1,"card-theme","mb-3","mt-2"],[1,"theme-btn-light","mt-2",3,"click"],[1,"fas","fa-tint",2,"color","#4e98fa"],[1,"pl-3"],["class","allowSign",4,"ngIf"],[1,"theme-btn-dark","mt-2",3,"click"],[1,"fas","fa-tint"],[1,"fas","fa-palette"],[1,"banner-color-wrap","mt-3",3,"ngStyle"],[1,"fas","fa-tools","mr-2"],["id","cookieNoticeColor"],["id","acceptAllBannerButtonColor"],["id","preferenceBannerButtonColor"],["class","",4,"ngIf"],["id","disableAllBannerButtonColor"],["id","doNotSellMyDataBannerButtonColor"],["id","ContinueBannerButtonColor"],["id","badgeButtonColor"],["id","bannerMargin"],["id","bannerPadding"],[1,"allowSign"],[1,"fas","fa-check-circle"],[1,"row","mr-0"],[1,"p-field","col-md-6"],["appendTo","body","format","hex","formControlName","BannerCookieNoticeBackgroundColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","BannerCookieNoticeBackgroundColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","BannerCookieNoticeTextColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","BannerCookieNoticeTextColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],[1,"p-field","col-md-6","mt-2"],["appendTo","body","format","hex","formControlName","BannerCookieNoticeBorderColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","BannerCookieNoticeBorderColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","BannerCookieNoticePrivacyLinkColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","BannerCookieNoticePrivacyLinkColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","BannerAcceptAllBackgroundColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","BannerAcceptAllBackgroundColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","BannerAcceptAllTextColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","BannerAcceptAllTextColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],[1,""],["appendTo","body","format","hex","formControlName","BannerPreferenceBackgroundColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","BannerPreferenceBackgroundColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","BannerPreferenceTextColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","BannerPreferenceTextColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],[1,"mr-0","row"],["appendTo","body","format","hex","formControlName","BannerDisableAllBackgroun
1dColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","BannerDisableAllBackgroundColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","BannerDisableAllTextColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","pInputText","","formControlName","BannerDisableAllTextColor",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","BannerDoNotSellMyDataBackgroundColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","BannerDoNotSellMyDataBackgroundColor","pInputText","",1,"pl-0","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","BannerDoNotSellMyDataTextColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","BannerDoNotSellMyDataTextColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","BannerContinueBackgroundColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","BannerContinueBackgroundColor","pInputText","",1,"pl-0","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","BannerContinueTextColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","BannerContinueTextColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","BannerBadgeBackgroun
1dColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","BannerBadgeBackgroundColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","BannerBadgeTextColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","BannerBadgeTextColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],[1,"col-md-12","mb-3"],["for","BannerMargin"],[1,"tx-12"],["formControlName","BannerMarginTop","inputId","BannerMargin",3,"showButtons","min","max"],["formControlName","BannerMarginBottom","inputId","BannerMargin",3,"showButtons","min","max"],["formControlName","BannerMarginLeft","inputId","BannerMargin",3,"showButtons","min","max"],["formControlName","BannerMarginRight","inputId","BannerMargin",3,"showButtons","min","max"],["for","BannerPaddingTop"],["formControlName","BannerPaddingTop","inputId","BannerPaddingTop",3,"showButtons","min","max"],["for","BannerPaddingBottom"],["formControlName","BannerPaddingBottom","inputId","BannerPaddingBottom",3,"showButtons","min","max"],["for","BannerPaddingLeft"],["formControlName","BannerPaddingLeft","inputId","BannerPaddingLeft",3,"showButtons","min","max"],["for","BannerPaddingRight"],["formControlName","BannerPaddingRight","inputId","BannerPaddingRight",3,"showButtons","min","max"],[1,"layout-preference"],[1,"card-theme","mb-3","mb-3"],[1,"preference-color-wrap","mt-3","mb-3",3,"ngStyle"],["id","preferencePreferenceButtonColor"],["id","purposePreferenceButtonColor"],["id","acceptAllPreferenceButtonColor"],["id","saveMyChoicePreferenceButtonColor"],["id","disablePreferenceButtonColor"],["id","doNotSellMyDataPreferenceButtonColor"],["appendTo","body","format","hex","formControlName","PreferenceBackgroundColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","PreferenceBackgroundColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","PreferenceTextColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","PreferenceTextColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],[1,"banner-box-type",2,"margin-left","1rem"],[2,"font-size","13px"],[1,"row",2,"margin-right","-3px"],["tooltip","Basic toggle button",1,"col-md-4","mb-2","cursor-pointer",3,"click"],["class","fas fa-check-circle toggle-types",4,"ngIf"],[1,"w-100","toggle-height",2,"border-radius","13px",3,"src"],["tooltip","Toggle button with tick & cross",1,"col-md-4","mb-2","cursor-pointer",3,"click"],["tooltip","Toggle button with tick & cross",1,"col-md-4","mb-4","cursor-pointer",3,"click"],["appendTo","body","format","hex","formControlName","PreferenceSwitchColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","PreferenceSwitchColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","PreferenceSwitchColorDisabled",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","PreferenceSwitchColorDisabled","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","PreferenceSwitchCircleColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","PreferenceSwitchCircleColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","PreferenceSwitchTextColorEnabled",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","PreferenceSwitchTextColorEnabled","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","PreferenceSwitchTextColorDisabled",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","PreferenceSwitchTextColorDisabled","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],[1,"fas","fa-check-circle","toggle-types"],["appendTo","body","format","hex","formControlName","PreferencePurposeBackgroun
1dColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","PreferencePurposeBackgroundColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","PreferencePurposeTextColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","PreferencePurposeTextColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","PreferenceAcceptAllBackgroundColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","PreferenceAcceptAllBackgroundColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","PreferenceAcceptAllTextColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","PreferenceAcceptAllTextColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","PreferenceSaveMyChoiceBackgroundColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","PreferenceSaveMyChoiceBackgroundColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","PreferenceSaveMyChoiceTextColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","PreferenceSaveMyChoiceTextColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","PreferenceDisableAllBackgroundColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","PreferenceDisableAllBackgroundColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","PreferenceDisableAllTextColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","PreferenceDisableAllTextColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","PreferenceDoNotSellBackgroun
1dColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","PreferenceDoNotSellBackgroundColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],["appendTo","body","format","hex","formControlName","PreferenceDoNotSellTextColor",1,"col-md-4","pr-0",3,"showTransitionOptions","ngModel","hideTransitionOptions","ngModelChange"],["type","text","formControlName","PreferenceDoNotSellTextColor","pInputText","",1,"pl-0","color-input","col-md-8",3,"ngModel","ngModelChange"],[1,"step-5","content","purpose-preference"],["name","info","tooltip","Select a regulation to configure its purpose settings independently",1,"feather-16"],["optionLabel","label",3,"options","ngModel","ngModelOptions","ngModelChange","onChange"],["name","info","tooltip","If enabled, all categories of cookies will be allowed by default",1,"feather-16"],[1,"col-md-4","mt-3"],["formControlName","AllowPurposeByDefault",3,"disabled","onChange"],["cdkDropList","",3,"cdkDropListDropped"],["formArrayName","PurposeList"],["id","essentialCookies","class","mt-2","cdkDrag","",3,"formGroupName","d-none",4,"ngFor","ngForOf"],["name","info","tooltip","When enabled, California (CA) region users will require explicit consent regardless of the Allow Purposes By Default setting",1,"feather-16"],[3,"ngModel","ngModelOptions","ngModelChange"],["id","essentialCookies","cdkDrag","",1,"mt-2",3,"formGroupName"],[1,"az-purpose-dropdown"],["cdkDragHandle","",1,"drag-drop",2,"cursor","move"],["tooltip","Drag to move",1,"fas","fa-grip-vertical"],[1,"float-left"],["type","checkbox","name","group4",1,"lang-checkbox",3,"checked","disabled","tooltip","change"],["placement","bottom",1,"tx-14","float-left",3,"tooltip","click"],["tooltip","Click here to customize the title and description of the purpose.",3,"click",4,"ngIf"],["tooltip","Click here to customize the title and description of the purpose.",3,"click"],[1,"input-label"],["type","text","formControlName","title","pInputText","",1,"az-input",3,"id"],["pInputTextarea","","formControlName","description",3,"id"],[1,"step-6","content","display-frequency"],[1,"tx-14"],["id","displayFrequency"],[1,"col-md-9"],["name","info","tooltip","Control how often the cookie banner appears on the domain based on user\u2019s consents",1,"feather-16"],[1,"col-md-3"],["formControlName","EnableDisplayFrequency"],["name","info","tooltip","Show consent banner to users who have partially accepted the purposes in every",1,"feather-16"],[1,"row","m-0"],["mode","decimal","inputId","withoutgrouping","maxlength","8","min","1","formControlName","DisplayPartialConsent",1,"az-input","col-md-6","p-0","m-0",3,"useGrouping"],["formControlName","DisplayPartialConsentType","optionLabel","name","optionValue","code",1,"col-md-6","p-0","m-0",3,"options"],[1,"p-field","mt-4"],["name","info","tooltip","Show consent banner to users who have rejected all purposes in every",1,"feather-16"],["mode","decimal","inputId","withoutgrouping","min","1","formControlName","DisplayRejectAllConsent","maxlength","8",1,"az-input","col-md-6","p-0","m-0",3,"useGrouping"],["formControlName","DisplayRejectAllConsentType","optionLabel","name","optionValue","code",1,"col-md-6","p-0","m-0",3,"options"],["name","info","tooltip","Show consent banner to users who haven\u2019t accepted the cookies yet every",1,"feather-16"],["mode","decimal","inputId","withoutgrouping","min","1","formControlName","DisplayClosedConsent","maxlength","8",1,"az-input","col-md-6","p-0","m-0",3,"useGrouping"],["formControlName","DisplayClosedConsentType","optionLabel","name","optionValue","code",1,"col-md-6","p-0","m-0",3,"options"],[1,"step-7","config-wrapper"],[1,"text-center","mt-3"],["optionLabel","label","optionValue","value",3,"options","ngModel","ngModelOptions","ngModelChange"],["class","card",4,"ngIf"],["href","javascript:;","class","tx-12 text-right pr-2",3,"hidden","click",4,"ngIf"],["filterBy","name","filterPlaceholder","Filter by name",3,"value","listStyle"],["href","javascript:;",1,"tx-12","text-right","pr-2",3,"hidden","click"],["placement","right",1,"col-md-2","p-0",3,"tooltip"],["type","checkbox",1,"lang-checkbox","ml-1",3,"disabled","checked","change"],[1,"col-md-10","pl-0","pr-0"],[1,"product-item"],[1,"image-container","float-left"],["src","assets/imgs/iab.png","height","15",1,"product-image"],[1,"product-list-detail"],[1,"m-0","tx-13","float-left",2,"padding-top","4px","padding-left","5px"],["tooltip","Click here to know about the privacy policy of the vendor.","placement","left",1,"pl-1","tx-13","pt-1","pi","pi-tag","product-category-icon"],["filterBy","provider_name","filterPlaceholder","Filter by name",3,"value","listStyle"],["src","assets/imgs/google-new.png","height","25",1,"product-image"],["tooltip","Click here to know about the vendor.","placement","left",1,"pl-1","tx-13","pt-1","pi","pi-tag","product-category-icon"],[1,"p-col","p-d-flex","p-ai-center","p-jc-center","w-100"],[3,"BundlePayload","formData","currentBannerLayer","showBadgeOption"],[3,"isChild"],[1,"w-100","card","mt-3","publish-loader"],[1,"text-center"],[1,"loading","text-center"],["role","status",1,"spinner-grow","text-primary"],[1,"sr-only"],["role","status",1,"spinner-grow","text-secondary"],["role","status",1,"spinner-grow","text-success"],["role","status",1,"spinner-grow","text-danger"],["role","status",1,"spinner-grow","text-warning"],["role","status",1,"spinner-grow","text-info"],["role","status",1,"spinner-grow","text-light"],["role","status",1,"spinner-grow","text-dark"],["appTheme","",1,"modal-body","text-center"],["type","button","aria-label","Close",1,"btn-close","close","pull-right",3,"click"],["aria-hidden","true",1,"visually-hidden"],[1,"mb-3"],["pButton","","pRipple","","type","button","label","No",1,"p-button-warning","mr-2",3,"click"],["pButton","","pRipple","","type","button","label","Yes",3,"click"],["class","publish-date-text text-right pt-2",4,"ngIf"],[1,"publish-date-text","text-right","pt-2"],[1,"margin-wrapper",3,"formGroup"],["formArrayName","PrivacyInformationQNA",1,"col-sm-12","table-responsive"],[1,"table","privacytable"],[3,"formGroupName",4,"ngFor","ngForOf"],[2,"border","none"],["type","button","class","btn btn-sm btn-primary",3,"click",4,"ngIf"],["type","button","tooltip","Add Section","class","btn btn-sm btn-primary",3,"click",4,"ngIf"],[1,"modal-footer"],["type","button",1,"btn","btn-success","btn-md",3,"click"],[3,"formGroupName"],["type","button","class","btn btn-sm btn-danger","tooltip","Remove Section","placement","left",3,"click",4,"ngIf"],[2,"white-space","nowrap","border","none"],["formControlName","question",1,"form-control",2,"width","250px",3,"id","ngClass"],[1,"row",2,"width","100%"],["formArrayName","answer",1,"col","table-responsive",2,"overflow-x","hidden"],[1,"tables"],["type","button","placement","left",1,"btn","btn-sm","btn-primary",3,"click"],["aria-hidden","true",1,"fa","fa-plus","ml-2"],["type","button","tooltip","Remove Section","placement","left",1,"btn","btn-sm","btn-danger",3,"click"],["aria-hidden","true",1,"fa","fa-minus-circle"],[2,"white-space","nowrap","border","none","padding","0p
1x 15px 15px 0px"],["id","editor-container2",1,"form-group"],["formControlName","title",1,"quill",2,"white-space","normal","height","90px",3,"modules"],["formControlName","desc",1,"quill",2,"white-space","normal","height","90px",3,"modules"],["type","button","class","btn btn-sm btn-danger","tooltip","Remove Q&A","placement","left",3,"click",4,"ngIf"],["type","button","tooltip","Remove Q&A","placement","left",1,"btn","btn-sm","btn-danger",3,"click"],["type","button",1,"btn","btn-sm","btn-primary",3,"click"],["type","button","tooltip","Add Section",1,"btn","btn-sm","btn-primary",3,"click"],["aria-hidden","true",1,"fa","fa-plus-circle"],["pButton","","pRipple","","type","button","label","Upgrade to TCFv2.2",1,"p-button-warning","mr-2",3,"click"],["pButton","","pRipple","","type","button","label","Stay with TCFv2.0",3,"click"],["type","button",1,"btn","btn-sm","btn-secondary","mr-2",3,"click"],["appTheme","",1,"card"],[1,"card-header","text-center"],["class","margin-wrapper",3,"formGroup",4,"ngIf"],[1,"mb-4","mt-2",2,"overflow-x","auto","white-space","nowrap","text-align","center","-webkit-overflow-scrolling","touch","scrollbar-width","thin"],[1,"btn-group-action",2,"display","inline-flex","flex-wrap","nowrap"],["type","button","class","btn btn-link ",3,"ngStyle","click",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"card-footer",2,"display","flex","justify-content","end"],["type","button","aria-label","Close",1,"btn","btn-sm","btn-secondary",3,"click"],["formControlName","EnableUSNAT",3,"onChange"],["formControlName","GppForGDPR"],["formControlName","RegulationName","defaultLabel","Select","optionLabel","name","optionValue","code",1,"multiselect-custom",3,"options","ngClass","onClick","onChange"],["elm",""],["style","border:none ;","class","card-body text-center","appTheme","",4,"ngIf"],["appTheme","",1,"card-body","text-center",2,"border","none"],[2,"text-align","justify"],["formControlName","SensitiveInformation",3,"onChange"],[1,"col-md-6","sensitiveDropdown"],["formControlName","SensitiveInformationData","defaultLabel","Select","optionLabel","description","optionValue","Id",1,"multiselect-custom",3,"options","ngClass","disabled"],["formControlName","SharingPersonalInfo",3,"disabled"],["formControlName","SalePersonalInfo",3,"disabled"],["formControlName","KnownChildSensitiveDataConsents",3,"onChange"],["formControlName","KnownChildSensitiveDataConsentsData","defaultLabel","Select","optionLabel","description","optionValue","Id",1,"multiselect-custom",3,"options","ngClass"],["formControlName","PersonalDataConsents"],["formControlName","defaultNatConsent","optionLabel","description","optionValue","description",1,"col-md-6","p-0","m-0",3,"options"],["formControlName","MspaCoveredTransaction",3,"onChange"],["formControlName","mspaMode","optionLabel","description","optionValue","description",1,"col-md-6","p-0","m-0",3,"options","onChange"],["mspa",""],[3,"formControlName","disabled"],["optionLabel","description","optionValue","description",1,"col-md-6","p-0","m-0",3,"formControlName","options"],[3,"formControlName","onChange"],["optionLabel","description","optionValue","description",1,"col-md-6","p-0","m-0",3,"formControlName","options","onChange"],["defaultLabel","Select","optionLabel","description","optionValue","Id",1,"multiselect-custom",3,"options","formControlName","ngClass","disabled"],["defaultLabel","Select","optionLabel","description","optionValue","Id",1,"multiselect-custom",3,"options","formControlName","disabled"],[3,"formControlName"],[1,"card","mt-3"],[1,"alert","alert-info","ccpa-status-text","mt-1","mr-1","ml-1"],[1,"card-header"],[2,"float","left"],["type","button",1,"pull-right","btn-sm","btn","btn-primary",2,"float","right",3,"click"],["aria-hidden","true",1,"mr-1","fa","fa-clipboard"],[1,"card-body",2,"background","#282a36"],[1,"text-danger","codeText"],[2,"color","rgb(116, 116, 116)"],[2,"color","#8be9fd"],[2,"color","#fff","font-size","16px"],[1,"card-footer"],[2,"justify-content","center","display","flex"],[1,"platform-list","d-flex","justify-content-center","flex-wrap","mt-3"],["tooltip","HTML","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/html5.png",1,"platform-logo"],["tooltip","Wordpress","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/wordpress.svg",1,"platform-logo"],["tooltip","Shopify","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/shopify.svg",1,"platform-logo"],["tooltip","Squarespace","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/squarespace.svg",1,"platform-logo"],["tooltip","Blogger","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/blogger.svg",1,"platform-logo"],["tooltip","BigCommerce","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/big-commerce-logo-partner.png",1,"platform-logo"],[2,"display","flex","justify-content","center","margin-top","15px"],["type","button",1,"btn","btn-sm","btn-primary","mr-4",3,"click"],[1,"fa-cookie","fas","feather-16","pr-2"],[1,"fa-wrench","fas","feather-16","pr-2"],[2,"color","rgb(116, 116, 116)","white-space","pre-wrap","text-align","left","display","block","margin-left","10px"],["type","button",1,"btn","btn-primary",3,"click"],[1,"col-sm-5","mr-0","float-right","flotingdiv",3,"ngClass"],["dismissOnTimeout","5000",3,"type","dismissible",4,"ngIf"],["dismissOnTimeout","5000",3,"type","dismissible"],[3,"innerHTML"]],template:function(t,r){if(1&t){const l=e.EpF();e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div")(5,"nav",4)(6,"ol",5)(7,"li",6),e._uU(8,"Privacy"),e.qZA(),e.TgZ(9,"li",6)(10,"a",7),e._uU(11,"Cookie Consent"),e.qZA()(),e.TgZ(12,"li",8),e._uU(13,"Banner Configuration"),e.qZA()()()()()()(),e.TgZ(14,"div",9),e.YNc(15,Co,1,2,"button",10),e.TgZ(16,"button",11),e.NdJ("click",function(){e.CHM(l);const s=e.MAs(40);return e.KtG(r.openModal(s))}),e.qZA(),e.TgZ(17,"button",12),e.NdJ("click",function(){return r.publishType="draft",r.iab_tcf_v3_enabled=!0,r.onSubmit()}),e.qZA(),e.TgZ(18,"button",13),e.NdJ("click",function(){e.CHM(l);const s=e.MAs(34),v=e.MAs(38);return e.KtG(r.PublishModal(s,v))}),e.qZA()(),e.TgZ(19,"tabset",null,14)(21,"tab",15),e.NdJ("selectTab",function(s){return r.onSelect(s,"config",0)}),e.YNc(22,Ua,2,1,"ng-container",16),e.qZA(),e.TgZ(23,"tab",17),e.NdJ("selectTab",function(s){return r.onSelect(s,"scanner",1)}
1),e.TgZ(24,"div",18),e.YNc(25,Da,1,1,"app-scan-details",19),e.qZA()(),e.TgZ(26,"tab",20),e.NdJ("selectTab",function(s){return r.onSelect(s,"categories",2)}),e.TgZ(27,"div",18),e.YNc(28,qa,1,1,"app-cookie-category",19),e.qZA()(),e.TgZ(29,"tab",21),e.NdJ("selectTab",function(s){return r.onSelect(s,"implement",3)}),e.TgZ(30,"div",18),e.YNc(31,Ma,1,1,"app-setup",19),e.qZA()()()(),e.YNc(32,Na,28,0,"div",22),e.YNc(33,Fa,9,1,"ng-template",null,23,e.W1O),e.YNc(35,Ea,24,4,"ng-template",null,24,e.W1O),e.YNc(37,Ka,8,0,"ng-template",null,25,e.W1O),e.YNc(39,Ya,12,0,"ng-template",null,26,e.W1O),e.YNc(41,Sl,13,5,"ng-template",null,27,e.W1O),e.YNc(43,Nl,63,15,"ng-template",null,28,e.W1O),e.YNc(45,Il,7,0,"ng-template",null,29,e.W1O),e.YNc(47,Jl,3,4,"ng-container",16)}2&t&&(e.Q6J("ngStyle",e.VKq(13,Gl,r.publishing?"none":"block")),e.xp6(10),e.Q6J("queryParams",e.WLB(15,ce,r.currentManagedOrgID,r.currrentManagedPropID)),e.xp6(4),e.Q6J("ngStyle",e.VKq(18,Ll,"config"===r.navType?"-16px":null)),e.xp6(1),e.Q6J("ngIf",null==r.BannerConfigurationForm.value?null:r.BannerConfigurationForm.value.AllowGDPR),e.xp6(1),e.Q6J("disabled","saving"===r.contentSaving),e.xp6(1),e.Q6J("disabled","saving"===r.contentSaving||(null==r.BannerConfigurationForm?null:r.BannerConfigurationForm.invalid)),e.xp6(1),e.Q6J("disabled","saving"===r.contentSaving||(null==r.BannerConfigurationForm?null:r.BannerConfigurationForm.invalid)),e.xp6(4),e.Q6J("ngIf","config"===r.navType),e.xp6(3),e.Q6J("ngIf","scanner"==r.navType),e.xp6(3),e.Q6J("ngIf","categories"==r.navType),e.xp6(3),e.Q6J("ngIf","implement"==r.navType),e.xp6(1),e.Q6J("ngIf",r.publishing),e.xp6(15),e.Q6J("ngIf",r.isOpen))},dependencies:[c.mk,c.sg,c.O5,c.PC,x.wW,x.AH,Z.q,I.jx,De.c,qe.h,pe.Ql,h.rH,ge.u,de.i,ue.XZ,fe.Lt,C._Y,C.Fj,C.wV,C.JJ,C.JL,C.nD,C.On,me.NU,ae.iA,Ce.EU,he.o,xe.g,Te.zH,b.Wj,b.Zt,b.Bh,ve.Rn,j.Hq,$.H,C.oH,C.sg,C.u,C.x0,C.CE,W.wx,X.i9,be.UN,je,Ze.V,We.g6,Xe.mh,Be.E,rn,ke,Pe.wr],styles:[".tab-container .nav-tabs{margin-left:22px}.cc-container-fluid{width:98%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}#editor-container2{width:350px;height:200px;display:flex;flex-direction:column;justify-content:flex-start;align-items:start}::ng-deep #quill-editor .ql-toolbar{overflow-x:auto!important}::ng-deep .quill .ql-toolbar{white-space:normal!important}.tables .td{padding:0 15px 15px 0!important}#editor1,#editor2{overflow-y:hidden}.setup-modal{margin-top:4em!important;width:1268px!important}.tab-container>ul>li>a.nav-link{background-color:#eaf2fe!important;border-color:#485e9029!important}.tab-container>ul>li>.nav-link.active{background-color:var(--billing-background)!important;color:#fff!important}.tab-bg{background-color:var(--billing-background)!important;color:#fff!important}.row-cols-group{margin-bottom:50px;background:#fff}.menu-background{background:#eaf2fe}.step-bg{background:#eaf1fe;padding-top:10px;color:var(--billing-background);border-bottom:1px solid lightblue;cursor:pointer}.tx-35{font-size:35px}.step-active{background:var(--billing-background);color:#fff}.label-tx{font-weight:500;font-size:13px;color:#1b365d}.head-tx{font-size:16px;font-weight:600}.banner-wrapper .p-checkbox .p-checkbox-box.p-highlight{background:var(--billing-background);border-color:var(--billing-background)}.icon-wrapper{display:flex;align-items:center;justify-content:center;padding:15px 16px;border-radius:100%;border:.5px solid #c2c3c5;margin-right:14px;cursor:pointer;box-shadow:0 2px 4px #0003,0 6px 20px #00000030}.codeText{font-size:19px}.platform-logo{width:25px;height:25px}.p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-highlight:hover{background:var(--billing-background);border-color:var(--billing-background)}.p-dropdown{width:100%}.flag{margin-top:2px}.p-splitter-horizontal{border-bottom:0px}.p-inputswitch.p-inputswitch-checked .p-inputswitch-slider{background:var(--user-preference)}.p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider{background:var(--user-preference)}.p-multiselect.p-multiselect-chip .p-multiselect-token{background:var(--side-nav-org)!important;color:#fff!important}.flag-gdpr{float:left;margin-right:10px}.p-multiselect,.p-dropdown{width:100%;max-width:240px}.sensitiveDropdown .p-multiselect{max-width:500px}.sensitiveDropdown .p-multiselect-items-wrapper{display:flex}.multiselect-custom .p-multiselect-label{padding-top:.25rem;padding-bottom:.25rem}.multiselect-custom .p-multiselect .p-multiselect-panel{width:160px!important}.multiselect-custom .checkbox-all-text{position:absolute;
1left:40px}.multiselect-custom .country-item-value{padding:.25rem .5rem;border-radius:3px;display:inline-flex;margin-right:.5rem;background-color:var(--side-nav-org);color:var(--primary-color-text)}.multiselect-custom .country-item-value img.flag{width:17px}.multiselect-custom .country-placeholder{padding:.25rem}@media screen and (max-width: 640px){.p-multiselect{width:100%}}.steppers{min-height:544px;max-height:544px;overflow:scroll;width:100%;overflow-x:hidden;padding-bottom:20px}.p-selectbutton .p-button.p-highlight{background:var(--billing-background)!important;border-color:var(--billing-background)!important;color:#fff!important}.p-buttonset .p-button{font-size:12px!important}.p-radiobutton .p-radiobutton-box.p-highlight{border-color:#004097;background:#004097}.p-radiobutton .p-radiobutton-box .p-radiobutton-icon{width:12px;height:12px;transition-duration:.2s;background-color:#004097}.az-dropdown{cursor:pointer;font-size:15px;font-weight:600;color:#1b365d;width:90%}.device-btn{background:var(--user-preference)!important}.device-btn:active{background:var(--user-preference)}.az-dropdown span{float:right}.az-purpose-dropdown{cursor:pointer;font-size:15px;font-weight:600;color:#1b365d;width:90%;padding-top:20px;padding-left:12px}.az-purpose-dropdown span{float:right}.p-field{margin-bottom:1rem}.p-field>label{display:inline-block;margin-bottom:.5rem}.az-input{width:100%;font-weight:600;color:#1b365d;font-size:15px!important}.p-field{display:block}.input-label{font-size:13px;font-weight:600;color:#1b365d}.p-tabview .p-tabview-nav{justify-content:center;flex-direction:initial;padding:0!important}.p-divider.p-divider-horizontal{width:100%;z-index:0}.p-colorpicker-preview{width:100%;height:100%;border-right:none}.color-input{border-radius:0}.p-colorpicker{height:42px}.p-colorpicker input{border-radius:0}.theme-btn-dark{padding:20px;border:1px solid #e2e5ed;border-radius:6px;background:#ffffff;color:#000;cursor:pointer;font-size:15px;font-weight:600}.theme-btn-light{padding:20px;border:1px solid #e2e5ed;border-radius:6px;cursor:pointer;background:#ffffff;color:#1b365d;font-size:15px;font-weight:600}.allowSign{float:right;color:#9fe0fa;font-size:18px}.p-divider-content{font-size:18px}.p-inputtextarea{width:100%;font-weight:600;color:#1b365d;font-size:15px!important}.content{padding:0 10px 10px}.az-input-group{margin:25px 5%}.example-list{width:500px;max-width:100%;border:solid 1px #ccc;min-height:60px;display:block;background:white;border-radius:4px;overflow:hidden}.example-box{padding:20px 10px;border-bottom:solid 1px #ccc;color:#000000de;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:white;font-size:14px}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.example-box:last-child{border:none}.example-list.cdk-drop-list-dragging .example-box:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.purpose-preference{padding:0 7% 7%!important}.p-inputnumber{width:100%;border-right:none;height:43px}.p-inputnumber-input{border-right:none}.title-head{border-bottom:none;width:100%}.main-heading{font-size:18px;font-weight:600;color:#1b365d}.action-btn{font-size:12px;border-radius:5px 5px 0 0}.tooltip-inner{text-align:left}.live-preview-type{color:#1b365d;font-weight:600;font-size:18px;padding-top:6px;margin-bottom:0}.preview-radio{vertical-align:inherit}.preview-border-left{border-left:3px solid #1b365d}.lang-checkbox{width:40px;height:20px;background:#eaf2fe}.drag-drop{float:left!important;font-size:21px;margin-right:5px;margin-top:-5px}.spinner-border{width:1rem;height:1rem}.publish-loader{height:100vh;justify-content:center}.btn-group-action{text-align:center}.btn-group-action button{color:#555;font-weight:600}.alert-info{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.alert-success{background-color:#10b759;border-color:#10b759;color:#fff}.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.flotingdiv{position:fixed;bottom:0;top:84%;right:0;overflow-x:hidden;overflow-y:auto}.id-cell{text-align:left;border:1px solid #e9ecef;border-width:0 0 1px 0;padding:1rem}.banner-types{position:absolute;right:20px;font-size:20px;color:var(--side-nav-org)}.toggle-types{position:absolute;right:8px;font-size:20px;color:var(--side-nav-org);top:-5px;font-size:medium}.toggle-height{height:34px}@media screen and (min-width: 1800px){.toggle-height{height:60px}}.cursor-pointer{cursor:pointer}.img-preview{max-width:270px;max-height:120px;border:1px solid lightgray;border-radius:2px;padding:10px}.img-preview-tag{max-width:250px;max-height:100px}.publish-date-text{margin-bottom:-15px;margin-top:5px;font-weight:500;font-size:12px}.margin-top-70{margin:70px 0 0}.margin-wrapper{margin:0 -20px 0 20px}.tx-25{font-size:25px}
1.p-orderlist-controls{display:none!important}.p-orderlist .p-orderlist-filter-container{padding:5px}.d-flex-center{display:flex;align-content:center;justify-content:flex-start}.preview-div{display:flex;justify-content:flex-end;align-items:center}.preview-div h5{font-size:15px;padding-top:5px}.mobile-height{height:720px}\n"],encapsulation:2}),i})();var Vl=_(70713),Ql=_(548),El=_(10835),Kl=_(19119),Yl=_(54687),Hl=_(23501),zl=_(55466),jl=_(91742),$l=_(74642);const Wl=[{path:"",component:Rl},{path:"implementation",component:ke},{path:"history",component:we}];let Xl=(()=>{const a=class{};let i=a;return a.\u0275fac=function(t){return new(t||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[c.ez,x.P4.forRoot(),Z.t,Yl.CookieCategoryModule,pe.Iu,h.Bz.forChild(Wl),ge.p,de.x,ue.nD,fe.kW,C.u5,me.q4,ae.U$,Ce.cc,Vl.LU,he.j,xe.A,Te.e4,b._t,ve.L$,j.hJ,$.T,C.UX.withConfig({warnOnNgModelWithFormControl:"never"}),Ql.fx,W.nM,El.Fq,X.z8,Pe.$L,be.Qy,$e,Ze.$,$l.S,Kl.J,Hl.O.forRoot({themes:[zl.W,jl.$],active:m.N.theme})]}),i})()},548:(Ue,Y,_)=>{_.d(Y,{UQ:()=>N,US:()=>M,fx:()=>z});var c=_(94650),h=_(37340),A=_(36895),b=_(42111);function C(f,T){if(1&f&&(c.TgZ(0,"span",9),c._uU(1),c.qZA()),2&f){const g=c.oxw();c.xp6(1),c.hij(" ",g.header," ")}}function d(f,T){1&f&&c.GkF(0)}function k(f,T){1&f&&c.Hsn(0,1,["*ngIf","hasHeaderFacet"])}function B(f,T){1&f&&c.GkF(0)}function te(f,T){if(1&f&&(c.ynx(0),c.YNc(1,B,1,0,"ng-container",5),c.BQk()),2&f){const g=c.oxw();c.xp6(1),c.Q6J("ngTemplateOutlet",g.contentTemplate)}}const oe=["*",[["p-header"]]],ie=function(f){return{"p-accordion-tab-active":f}},D=function(f,T){return{"p-highlight":f,"p-disabled":T}},m=function(f){return{transitionParams:f}},H=function(f){return{value:"visible",params:f}},re=function(f){return{value:"hidden",params:f}},e=["*","p-header"],q=["*"];let L=0,M=(()=>{class f{constructor(g,u){this.changeDetector=u,this.cache=!0,this.selectedChange=new c.vpe,this.transitionOptions="400ms cubic-bezier(0.86, 0, 0.07, 1)",this.id="p-accordiontab-"+L++,this.accordion=g}get selected(){return this._selected}set selected(g){this._selected=g,this.loaded||(this._selected&&this.cache&&(this.loaded=!0),this.changeDetector.detectChanges())}
1ngAfterContentInit(){this.templates.forEach(g=>{switch(g.getType()){case"content":default:this.contentTemplate=g.template;break;case"header":this.headerTemplate=g.template}})}toggle(g){if(this.disabled)return!1;let u=this.findTabIndex();if(this.selected)this.selected=!1,this.accordion.onClose.emit({originalEvent:g,index:u});else{if(!this.accordion.multiple)for(var x=0;x<this.accordion.tabs.length;x++)this.accordion.tabs[x].selected=!1,this.accordion.tabs[x].selectedChange.emit(!1),this.accordion.tabs[x].changeDetector.markForCheck();this.selected=!0,this.loaded=!0,this.accordion.onOpen.emit({originalEvent:g,index:u})}this.selectedChange.emit(this.selected),this.accordion.updateActiveIndex(),this.changeDetector.markForCheck(),g.preventDefault()}findTabIndex(){let g=-1;for(var u=0;u<this.accordion.tabs.length;u++)if(this.accordion.tabs[u]==this){g=u;break}return g}get hasHeaderFacet(){return this.headerFacet&&this.headerFacet.length>0}onKeydown(g){(32===g.which||13===g.which)&&(this.toggle(g),g.preventDefault())}ngOnDestroy(){this.accordion.tabs.splice(this.findTabIndex(),1)}}return f.\u0275fac=function(g){return new(g||f)(c.Y36((0,c.Gpc)(()=>N)),c.Y36(c.sBO))},f.\u0275cmp=c.Xpm({type:f,selectors:[["p-accordionTab"]],contentQueries:function(g,u,x){if(1&g&&(c.Suo(x,b.h4,4),c.Suo(x,b.jx,4)),2&g){let Z;c.iGM(Z=c.CRH())&&(u.headerFacet=Z),c.iGM(Z=c.CRH())&&(u.templates=Z)}},inputs:{cache:"cache",transitionOptions:"transitionOptions",selected:"selected",header:"header",disabled:"disabled"},outputs:{selectedChange:"selectedChange"},ngContentSelectors:e,decls:11,vars:28,consts:[[1,"p-accordion-tab",3,"ngClass"],[1,"p-accordion-header",3,"ngClass"],["role","tab",1,"p-accordion-header-link",3,"click","keydown"],[1,"p-accordion-toggle-icon",3,"ngClass"],["class","p-accordion-header-text",4,"ngIf"],[4,"ngTemplateOutlet"],[4,"ngIf"],["role","region",1,"p-toggleable-content"],[1,"p-accordion-content"],[1,"p-accordion-header-text"]],template:function(g,u){1&g&&(c.F$t(oe),c.TgZ(0,"div",0)(1,"div",1)(2,"a",2),c.NdJ("click",function(Z){return u.toggle(Z)})("keydown",function(Z){return u.onKeydown(Z)}),c._UZ(3,"span",3),c.YNc(4,C,2,1,"span",4),c.YNc(5,d,1,0,"ng-container",5),c.YNc(6,k,1,0,"ng-content",6),c.qZA()(),c.TgZ(7,"div",7)(8,"div",8),c.Hsn(9),c.YNc(10,te,2,1,"ng-container",6),c.qZA()()()),2&g&&(c.Q6J("ngClass",c.VKq(15,ie,u.selected)),c.xp6(1),c.Q6J("ngClass",c.WLB(17,D,u.selected,u.disabled)),c.xp6(1),c.uIk("tabindex",u.disabled?null:0)("id",u.id)("aria-controls",u.id+"-content")("aria-expanded",u.selected),c.xp6(1),c.Q6J("ngClass",u.selected?u.accordion.collapseIcon:u.accordion.expandIcon),c.xp6(1),c.Q6J("ngIf",!u.hasHeaderFacet),c.xp6(1),c.Q6J("ngTemplateOutlet",u.headerTemplate),c.xp6(1),c.Q6J("ngIf",u.hasHeaderFacet),c.xp6(1),c.Q6J("@tabContent",u.selected?c.VKq(22,H,c.VKq(20,m,u.transitionOptions)):c.VKq(26,re,c.VKq(24,m,u.transitionOptions))),c.uIk("id",u.id+"-content")("aria-hidden",!u.selected)("aria-labelledby",u.id),c.xp6(3),c.Q6J("ngIf",u.contentTemplate&&(u.cache?u.loaded:u.selected)))},dependencies:[A.mk,A.O5,A.tP],styles:[".p-accordion-header-link{-ms-user-select:none;-webkit-user-select:none;align-items:center;cursor:pointer;display:flex;position:relative;text-decoration:none;user-select:none}.p-accordion-header-link:focus{z-index:1}.p-accordion-header-text{line-height:1}"],encapsulation:2,data:{animation:[(0,h.X$)("tabContent",[(0,h.SB)("hidden",(0,h.oB)({height:"0",overflow:"hidden"})),(0,h.SB)("visible",(0,h.oB)({height:"*"})),(0,h.eR)("visible <=> hidden",[(0,h.oB)({overflow:"hidden"}),(0,h.jt)("{{transitionParams}}")]),(0,h.eR)("void => *",(0,h.jt)(0))])]},changeDetection:0}),f})(),N=(()=>{class f{constructor(g,u){this.el=g,this.changeDetector=u,this.onClose=new c.vpe,this.onOpen=new c.vpe,this.expandIcon="pi pi-fw pi-chevron-right",this.collapseIcon="pi pi-fw pi-chevron-down",this.activeIndexChange=new c.vpe,this.tabs=[]}ngAfterContentInit(){this.initTabs(),this.tabListSubscription=this.tabList.changes.subscribe(g=>{this.initTabs()})}initTabs(){this.tabs=this.tabList.toArray(),this.updateSelectionState(),this.changeDetector.markForCheck()}getBlockableElement(){return this.el.nativeElement.children[0]}get activeIndex(){return this._activeIndex}set activeIndex(g){this._activeIndex=g,this.preventActiveIndexPropagation?this.preventActiveIndexPropagation=!1:this.updateSelectionState()}updateSelectionState(){if(this.tabs&&this.tabs.length&&null!=this._activeIndex)for(let g=0;g<this.tabs.length;g++){let u=this.multiple?this._activeIndex.includes(g):g===this._activeIndex;u!==this.tabs[g].selected&&(this.tabs[g].selected=u,this.tabs[g].selectedChange.emit(u),this.tabs[g].changeDetector.markForCheck())}}updateActiveIndex(){let g=this.multiple?[]:null;
1this.tabs.forEach((u,x)=>{if(u.selected){if(!this.multiple)return void(g=x);g.push(x)}}),this.preventActiveIndexPropagation=!0,this.activeIndexChange.emit(g)}ngOnDestroy(){this.tabListSubscription&&this.tabListSubscription.unsubscribe()}}return f.\u0275fac=function(g){return new(g||f)(c.Y36(c.SBq),c.Y36(c.sBO))},f.\u0275cmp=c.Xpm({type:f,selectors:[["p-accordion"]],contentQueries:function(g,u,x){if(1&g&&c.Suo(x,M,4),2&g){let Z;c.iGM(Z=c.CRH())&&(u.tabList=Z)}},inputs:{expandIcon:"expandIcon",collapseIcon:"collapseIcon",activeIndex:"activeIndex",multiple:"multiple",style:"style",styleClass:"styleClass"},outputs:{onClose:"onClose",onOpen:"onOpen",activeIndexChange:"activeIndexChange"},ngContentSelectors:q,decls:2,vars:4,consts:[["role","tablist",3,"ngClass","ngStyle"]],template:function(g,u){1&g&&(c.F$t(),c.TgZ(0,"div",0),c.Hsn(1),c.qZA()),2&g&&(c.Tol(u.styleClass),c.Q6J("ngClass","p-accordion p-component")("ngStyle",u.style))},dependencies:[A.mk,A.PC],encapsulation:2,changeDetection:0}),f})(),z=(()=>{class f{}return f.\u0275fac=function(g){return new(g||f)},f.\u0275mod=c.oAB({type:f}),f.\u0275inj=c.cJS({imports:[A.ez,b.m8]}),f})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.