1import{e as I}from"./chunk-RRAYDVNW.js";import{Ea as m,Ga as u,ic as l,lc as g}from"./chunk-WGWIBZ2L.js";import{Bb as d,Pd as S,Va as c,dd as f,ua as o,ud as p,vd as y,ya as i,za as s}from"./chunk-6LP6WHZQ.js";import{k as v}from"./chunk-5KTCK5IS.js";var w=r=>()=>r.load();var E=(()=>{class r{constructor(){this.platformId=i(c),this.document=i(f)}injectDidomiScript(t){if(!y(this.platformId))return;this.document.querySelector("head").insertAdjacentElement("afterbegin",this.getDidomiScriptElement(t))}getDidomiScriptElement(t){let e=this.document.createElement("script");return e.id="didomi-script",e.type="text/javascript",e.innerHTML=`window.gdprAppliesGlobally=false;(function(){function n(e){if(!window.frames[e]){if(document.body&&document.body.firstChild){var t=document.body;var r=document.createElement("iframe");r.style.display="none";r.name=e;r.title=e;t.insertBefore(r,t.firstChild)}else{setTimeout(function(){n(e)},5)}}}function e(r,a,o,c,s){function e(e,t,r,n){if(typeof r!=="function"){return}if(!window[a]){window[a]=[]}var i=false;if(s){i=s(e,n,r)}if(!i){window[a].push({command:e,version:t,callback:r,parameter:n})}}e.stub=true;e.stubVersion=2;function t(n){if(!window[r]||window[r].stub!==true){return}if(!n.data){return}var i=typeof n.data==="string";var e;try{e=i?JSON.parse(n.data):n.data}catch(t){return}if(e[o]){var a=e[o];window[r](a.command,a.version,function(e,t){var r={};r[c]={returnValue:e,success:t,callId:a.callId};n.source.postMessage(i?JSON.stringify(r):r,"*")},a.parameter)}}if(typeof window[r]!=="function"){window[r]=e;if(window.addEventListener){window.addEventListener("message",t,false)}else{window.attachEvent("onmessage",t)}}}e("__tcfapi","__tcfapiBuffer","__tcfapiCall","__tcfapiReturn");n("__tcfapiLocator");(function(e,t){var r=document.createElement("link");r.rel="preconnect";r.as="script";var n=document.createElement("link");n.rel="dns-prefetch";n.as="script";var i=document.createElement("link");i.rel="preload";i.as="script";var a=document.createElement("script");a.id="spcloader";a.type="text/javascript";a["async"]=true;a.charset="utf-8";var o="https://sdk.privacy-center.org/"+e+"/loader.js?target_type=notice&target="+t;if(window.didomiConfig&&window.didomiConfig.user){var c=window.didomiConfig.user;var s=c.country;var d=c.region;if(s){o=o+"&country="+s;if(d){o=o+"®ion="+d}}}r.href="https://sdk.privacy-center.org/";n.href="https://sdk.privacy-center.org/";i.href=o;a.src=o;var f=document.getElementsByTagName("script")[0];f.parentNode.insertBefore(r,f);f.parentNode.insertBefore(n,f);f.parentNode.insertBefore(i,f);f.parentNode.insertBefore(a,f)})("fc16c9ca-52d2-4f88-a1c7-f5d5805589aa", "${t}")})();`,e}static{this.\u0275fac=function(e){return new(e||r)}}static{this.\u0275prov=o({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var T=(()=>{class r{constructor(){this.currentSiteState=i(g),this.environmentService=i(l),this.didomiAdapter=i(E)}load(){let t=this.currentSiteState.getSiteSettingValueByKey(m.DidomiConsentNoticeId),e=t||this.environmentService.getEnvironmentVariable(u.DIDOMI_DEFAULT_CONSENT_NOTICE_ID);return this.didomiAdapter.injectDidomiScript(e)}static{this.\u0275fac=function(e){return new(e||r)}}static{this.\u0275prov=o({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();function Z(){return s([{provide:d,multi:!0,useFactory:w,deps:[T]}])}var b=(r,A)=>()=>{let t=r.getConfig();A.set(t)};var C=(()=>{class r{constructor(){this.#t=i(g),this.environmentService=i(l)}#t;getConfig(){let t=this.#t.getSiteSettingValueByKey(m.GTMId);return{id:t||this.environmentService.getEnvironmentVariable(u.GTM_DEFAULT_ID)}}static{this.\u0275fac=function(e){return new(e||r)}}static{this.\u0275prov=o({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();function st(){return s([{provide:d,multi:!0,useFactory:b,deps:[C,I]}])}var D="https://cdn.wayvia.com/1/lib/ps-widget.js",j="wayvia-ps-widget-script",k=50,N=25,ut=(()=>{class r{#t=i(c);#e=i(f);#c=i(S);#i=!1;#n=!1;#r=[];injectTrackingScript(t){if(!p(this.#t)||this.#i)return;this.#c.addTags([{name:"ps-key",content:t.psKey},{name:"ps-country",content:t.country},{name:"ps-language",content:t.language}]);let e=this.#e.createElement("script");e.id=j,e.src=D,e.async=!0,e.onload=()=>{this.#n=!0,this.#r.forEach(a=>this.#a(a)),this.#r=[]},this.#e.querySelector("head")?.appendChild(e),this.#i=!0}setupWidget(t,e,n){p(this.#t)&&(this.teardownWidget(t),t.setAttribute("ps-sku",n),t.setAttribute("ps-country",e.country),t.setAttribute("ps-language",e.language),this.injectTrackingScript(e),this.#o(t))}teardownWidget(t){for(;t.firstChild;)t.removeChild(t.firstChild)}registerWidget(t){p(this.#t)&&this.#o(t)}#o(t){t.removeAttribute("data-ps-sku"),t.removeAttribute("data-ps-config"),t.removeAttribute("data-ps-initialized"),this.#n?this.#a(t):this.#r.push(t)}#a(t){let e=this.#e.defaultView,n=e?.PriceSpider;!e||!n||(n.WidgetBinder?(n.WidgetBinder.insert(t),n.WidgetBinder.bind()):n.insertWidget?(n.insertWidget(t),this.#s(t,e)):(n.rebind(),this.#s(t,e)))}#s(t,e){return v(this,null,function*(){for(let n=0;n<N;n++){yield new Promise(_=>e.setTimeout(_,k));let a=e.PriceSpider;if(a?.WidgetBinder){a.WidgetBinder.insert(t),a.WidgetBinder.bind();return}}})}static{this.\u0275fac=function(e){return new(e||r)}}static{this.\u0275prov=o({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var M=(function(r){return r.UserSelectedSKU="UserSelectedSKU",r.PrimarySKUWithEMGFallback="PrimarySKUWithEMGFallback",r})(M||{});export{Z as a,st as b,ut as c,M as d};
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.