PageSourceSearch

https://www.avalonflooring.com/cdn/shop/files/pandectes-rules.js?v=3846549523348427376

js avalonflooring.com collected 2026-10-02 17:50:31 UTC 26,958 bytes, 1 lines download raw bytes

1if (!window.pandectesRulesSettings) {window.pandectesRulesSettings={"version":"5","timestamp":1787728930627,"store":{"id":66019066074,"plan":"premium","primaryLocale":"en","headless":false,"useGeolocation":false,"checkoutRootDomain":"","storefrontRootDomain":"","storefrontAccessToken":""},"banner":{"enabled":true},"regions":{"strict":["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IS","IE","IT","LV","LI","LT","LU","MT","NL","NO","PL","PT","RO","SK","SI","ES","SE","GB"],"visible":["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IS","IE","IT","LV","LI","LT","LU","MT","NL","NO","PL","PT","RO","SK","SI","ES","SE","GB","USCA","USCO","USCT","USDE","USFL","USIN","USIA","USKY","USMN","USMT","USNE","USNH","USNJ","USOR","USRI","USTN","USTX","USUT","USVA","USPA"]},"storage":{"type":"http","domain":"","duration":365,"lastReset":1785938602},"gpc":{"enabled":true},"klaviyo":{"enabled":false},"customEvent":{"enabled":false},"rakuten":{"enabled":false,"cmp":false,"ccpa":false},"facebook":{"enabled":false,"id":""},"amazon":{"enabled":false},"microsoft":{"uet":{"enabled":false,"tags":""},"clarity":{"enabled":false,"id":""}},"google":{"enabled":true,"gtmId":"GTM-P7B8QWQ","ga4Id":"","adsId":"","gtmOnly":true,"adStorageCategory":4,"analyticsStorageCategory":2,"functionalityStorageCategory":1,"personalizationStorageCategory":1,"securityStorageCategory":0,"redactData":false,"urlPassthrough":false,"dataLayerName":"dataLayer","waitForUpdate":500,"sendPageView":true,"debugMode":false,"basicMode":false},"blocker":{"enabled":true,"scripts":{"0":[],"1":["prism.app-us1.com","zdassets.com","google-analytics.com|googletagmanager.com/gtag/destination|googletagmanager.com/gtag/js?id=UA|googletagmanager.com/gtag/js?id=G"],"2":[],"4":["linkedin.com|licdn.com","s.pinimg.com/ct/core.js|s.pinimg.com/ct/lib"],"8":[]},"css":{"0":[],"1":[],"2":[],"4":[],"8":[]},"iframes":{"0":[],"1":[],"2":[],"4":[],"8":[]},"pixels":{"0":[],"1":[],"2":[],"4":[],"8":[]}}};var PandectesRules=function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});var t=function(e){return e[e.Necessary=0]="Necessary",e[e.Preferences=1]="Preferences",e[e.Analytics=2]="Analytics",e[e.Marketing=4]="Marketing",e[e.Unclassified=8]="Unclassified",e}({}),n=function(e){return e[e.AllBlocked=t.Preferences|t.Marketing|t.Analytics]="AllBlocked",e[e.PreferencesOnlyAllowed=e.AllBlocked^t.Preferences]="PreferencesOnlyAllowed",e[e.AnalyticsOnlyAllowed=e.AllBlocked^t.Analytics]="AnalyticsOnlyAllowed",e[e.MarketingOnlyAllowed=e.AllBlocked^t.Marketing]="MarketingOnlyAllowed",e[e.PreferencesAndAnalyticsAllowed=e.AllBlocked^t.Preferences^t.Analytics]="PreferencesAndAnalyticsAllowed",e[e.PreferencesAndMarketingAllowed=e.AllBlocked^t.Preferences^t.Marketing]="PreferencesAndMarketingAllowed",e[e.AnalyticsAndMarketingAllowed=e.AllBlocked^t.Analytics^t.Marketing]="AnalyticsAndMarketingAllowed",e[e.AllAllowed=0]="AllAllowed",e}({}),o=function(e){return e.Granted="granted",e.Denied="denied",e}({}),r=function(e){return e.http="http",e.html="html",e}({}),a=new URLSearchParams(window.location.search).get("trace")||sessionStorage.getItem("pandectes-trace")||"",i=a.split(",");var l=e=>(t,n="debug")=>{(i.includes(e)||"*"===a)&&console[n](`[${function(){const e=new Date;return`${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}:${e.getSeconds().toString().padStart(2,"0")}`}()}] ${e}@pandectes → ${t}`)};function s(e,t,n,o=100,r=5e3){const a=Array.isArray(t)?t:[t],i=a.map(t=>e===window&&t.startsWith("window.")?t.substring(7):t);return new Promise((l,s)=>{let c=null;if(n?.aborted)return s(new Error("Aborted"));const d=()=>{c&&clearTimeout(c),n?.removeEventListener("abort",u)},u=()=>{d(),s(new Error("Aborted"))};n?.addEventListener("abort",u,{once:!0});const p=Date.now(),g=()=>{const n=i.map(t=>function(e,t){return t?null!=e?t.replace(/\[(\d+)\]/g,".$1").replace(/\["([^"]+)"\]/g,".$1").replace(/\['([^']+)'\]/g,".$1").split(".").filter(Boolean).reduce((e,t)=>{if(null!=e&&("object"==typeof e||"function"==typeof e))return e[t]},e):void 0:e}(e,t));if(n.every(e=>null!=e)){d();const e=n;return l({value:Array.isArray(t)?e:e[0]})}
1if(Date.now()-p>=r){d();const e=a.filter((e,t)=>void 0===n[t]||null===n[t]);return s(new Error(`Property path(s) "${e.join('", "')}" not found within ${r}ms.`))}c=setTimeout(g,o)};g()})}var c=l("shopify"),d=e=>e?"yes":"no",u=(e,t)=>{if(window.Shopify?.customerPrivacy){const o=window.Shopify.customerPrivacy;if("function"!=typeof o.setTrackingConsent)return void c("setTrackingConsent is not available","warn");const r=(e=>{if("function"!=typeof e.currentVisitorConsent)return null;try{return e.currentVisitorConsent()}catch{return null}})(o),{preferences:a,marketing:i,analytics:l}=(n=t,{preferences:!1===Boolean(1&n),analytics:!1===Boolean(2&n),marketing:!1===Boolean(4&n)});if(r&&d(a)===r.preferences&&d(l)===r.analytics&&d(i)===r.marketing)return;o.setTrackingConsent({...e.headless?{headlessStorefront:e.headless,storefrontRootDomain:e.storefrontRootDomain,checkoutRootDomain:e.checkoutRootDomain,storefrontAccessToken:e.storefrontAccessToken}:{},preferences:a,analytics:l,marketing:i},()=>{})}var n},p="_pandectes_gdpr",g=l("storage");function h(e,t,n){const o=[`${p}=${e?window.btoa(e):""}`,"path=/",`max-age=${t}`];return n.length>0?o.push(`domain=${n}`,"SameSite=None","Secure"):e&&o.push("SameSite=Lax"),o.join("; ")}function m(e,t,n){document.cookie=h(e,t,n),0===n.length&&(document.cookie=h("",-1,`.${window.location.hostname}`))}var f=(e,t)=>{const{type:n,duration:o,domain:r}=e;if(null!==t)if(g("updateStorage()"),"html"===n)try{A(p,t)}catch(a){m(t,86400*o,r)}else m(t,86400*o,r);else if(g("clearing storage"),"html"===n)try{b(p)}catch(a){m("",-1,r)}else m("",-1,r)};function y(){const e=document.cookie.split("; ");for(const t of e){const[e,...n]=t.split("=");if(e===p){const e=n.join("=");if(!e)return null;try{return window.atob(e)}catch{return g("invalid consent cookie","warn"),null}}}return null}var w=e=>{try{return window.localStorage.getItem(e)}catch(t){return g("localStorage is not available","warn"),null}},b=e=>{try{window.localStorage.removeItem(e)}catch(t){throw g("localStorage is not available","warn"),t}},A=(e,t)=>{try{window.localStorage.setItem(e,t)}catch(n){throw g("localStorage is not available","warn"),n}},k=(e,t)=>{if(!e)return null;const{type:o,duration:a}=e;let i,l;if(o===r.http){if(i=y(),!i&&(i=w(p),i)){try{b(p)}catch(s){}f(e,i)}}else i=w(p),i||(i=y(),i&&(m("",-1,e.domain),f(e,i)));try{if(i){const e=JSON.parse(i)||null;e?l=null==e.preferences?null:e:l=null}else l=null}catch(s){console.warn(s),l=null}return l&&a>0&&(l.timestamp<e.lastReset||Math.floor(Date.now()/1e3)-l.timestamp>86400*e.duration)&&(l=null,f(e,null),t&&u(t,n.AllBlocked)),l},C=(e,t)=>0===(e&t),E=e=>C(e,t.Preferences),v=e=>C(e,t.Analytics),S=e=>C(e,t.Marketing),P=function(e){return e.Optin="optin",e.Optout="optout",e}({}),_=l("amazon"),B=(e,t,n)=>{s(window,"amznConsent").then(({value:o})=>{const r=null===e?n===P.Optout:S(e);_(`permission: ${r}`),_(`country: ${t}`);const a=o();t&&2==t.length&&a.setCountryCode(t),a.setEnableAdStorage(r).setEnableUserData(r).build()}).catch(()=>{_("window.amznConsent not found","warn")})},M=e=>e.amazon.enabled??!1,N=(e,t,n,o)=>{M(e)&&((()=>{if(window.amznConsent||document.querySelector("script[data-amzn-consent]"))return;const e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src="https://c.amazon-adsystem.com/aat/amzn-consent.js",e.dataset.amznConsent="true",document.head.appendChild(e)})(),B(t,n,o))},O=(e,t,n)=>{M(e)&&B(t,n)},L={functionality:t.Preferences,performance:t.Analytics,targeting:t.Marketing},$=Object.keys(L),j="javascript/blocked",I=class e{config;currentConsent=n.AllBlocked;scriptPatterns;linkPatterns;pixelPatterns;iframePatterns;blockedAjaxCalls=[];cookieCategoryAttribute="data-cookiecategory";mutationObserver=null;static originalCreateElement=document.createElement;static originalAppendChild=Node.prototype.appendChild;static originalInsertBefore=Node.prototype.insertBefore;static originalReplaceChild=Node.prototype.replaceChild;static originalXMLHttpReqSend=XMLHttpRequest.prototype.send;static originalXMLHttpReqOpen=XMLHttpRequest.prototype.open;static originalFetch=window.fetch.bind(window);constructor(e){this.config=e,this.scriptPatterns=e.scripts,this.linkPatterns=e.css,this.pixelPatterns=e.pixels,this.iframePatterns=e.iframes}initialize(e){this.config.enabled&&(null!==e&&(this.currentConsent=e),this.currentConsent!==n.AllAllowed&&(console.log("Blocker is running."),this.setupMutationObserver(),this.patchCreateElement(),this.patchNodeInsertionMethods()))}destroy(){this.unPatchNodeInsertionMethods(),this.unPatchCreateElement(),this.disconnectMutationObserver(),console.log("Blocker not running.")}createElement(t){return e.originalCreateElement.call(document,t)}getBlockPatterns(e){return{script:this.scriptPatterns,link:this.linkPatterns,iframe:this.iframePatterns,pixel:this.pixelPatterns}
1[e]}copyScriptElement(e){const t=this.createElement("script"),n=e.getAttribute("data-src");return n&&(t.src=n),e.textContent&&(t.textContent=e.textContent),e.hasAttribute("nomodule")&&t.setAttribute("nomodule",""),"module"!==e.getAttribute("type")&&(t.type="text/javascript"),t}replaceWithOrAppendToBody(t,n){t.parentNode?e.originalReplaceChild.call(t.parentNode,n,t):(e.originalAppendChild.call(document.body,n),t.remove())}getBlockedScripts(){return document.querySelectorAll(`script[type="${j}"][${this.cookieCategoryAttribute}]`)}getBlockedLinks(){return document.querySelectorAll(`link[${this.cookieCategoryAttribute}]`)}getBlockedIframes(){return document.querySelectorAll(`iframe[${this.cookieCategoryAttribute}]`)}getBlockedPixels(){return document.querySelectorAll(`img[${this.cookieCategoryAttribute}]`)}getBlockedAjaxCalls(){return this.blockedAjaxCalls}unblockScriptElement(e){const t=this.copyScriptElement(e);this.replaceWithOrAppendToBody(e,t)}removeBlockStateAttributes(e){const t=this.isLinkElement(e)?"data-href":"data-src";e.removeAttribute(t),e.removeAttribute(this.cookieCategoryAttribute)}addBlockStateAttributes(e,t,n){const o=this.isLinkElement(e)?"data-href":"data-src";e.setAttribute(o,t),e.setAttribute(this.cookieCategoryAttribute,n?.toString())}getBlockstateUrl(e){const t=this.isLinkElement(e)?"data-href":"data-src";return e.getAttribute(t)}unblockLinkElement(e){const t=this.getBlockstateUrl(e);t&&(e.href=t),this.removeBlockStateAttributes(e)}unblockIframeElement(e){const t=this.getBlockstateUrl(e);t&&(e.src=t),this.removeBlockStateAttributes(e)}unblockImgElement(e){const t=this.getBlockstateUrl(e);t&&(e.src=t),this.removeBlockStateAttributes(e)}getAssociatedCookieCategory(e){const n=e.getAttribute(this.cookieCategoryAttribute);return n?$.includes(n)?L[n]:Number(n):t.Preferences}isLinkElement(e){return"LINK"===e.nodeName}isIframeElement(e){return"IFRAME"===e.nodeName}isImgElement(e){return"IMG"===e.nodeName}isScriptElement(e){return"SCRIPT"===e.nodeName}update(e){if(!this.config.enabled)return;this.currentConsent=e,this.getBlockedScripts().forEach(t=>{C(e,this.getAssociatedCookieCategory(t))&&this.unblockScriptElement(t)}),this.getBlockedLinks().forEach(t=>{C(e,this.getAssociatedCookieCategory(t))&&this.unblockLinkElement(t)}),this.getBlockedIframes().forEach(t=>{C(e,this.getAssociatedCookieCategory(t))&&this.unblockIframeElement(t)}),this.getBlockedPixels().forEach(t=>{C(e,this.getAssociatedCookieCategory(t))&&this.unblockImgElement(t)});const t=this.getBlockedAjaxCalls();for(let n=t.length-1;n>=0;n--){const o=t[n];C(e,o.category)&&(o.unblock(),t.splice(n,1))}}setupMutationObserver(){this.mutationObserver=new MutationObserver(e=>{e.forEach(e=>{e.addedNodes.forEach(e=>{this.blockElement(e)})})}),this.mutationObserver.observe(document.documentElement,{childList:!0,subtree:!0})}disconnectMutationObserver(){this.mutationObserver?.disconnect()}blockElement(e){this.isScriptElement(e)?this.blockScriptElement(e):this.isLinkElement(e)?this.blockLinkElement(e):this.isIframeElement(e)?this.blockIframeElement(e):this.isImgElement(e)&&this.blockImgElement(e)}domManipulationMethods={insertBefore:{original:Node.prototype.insertBefore,proto:Node.prototype,methodName:"insertBefore",nodeArgsExtractor:e=>[e[0]]},appendChild:{original:Node.prototype.appendChild,proto:Node.prototype,methodName:"appendChild",nodeArgsExtractor:e=>[e[0]]},replaceChild:{original:Node.prototype.replaceChild,proto:Node.prototype,methodName:"replaceChild",nodeArgsExtractor:e=>[e[0]]},before:{original:Element.prototype.before,proto:Element.prototype,methodName:"before",nodeArgsExtractor:e=>[...e]},after:{original:Element.prototype.after,proto:Element.prototype,methodName:"after",nodeArgsExtractor:e=>[...e]},prepend:{original:Element.prototype.prepend,proto:Element.prototype,methodName:"prepend",nodeArgsExtractor:e=>[...e]},append:{original:Element.prototype.append,proto:Element.prototype,methodName:"append",nodeArgsExtractor:e=>[...e]},replaceChildren:{original:Element.prototype.replaceChildren,proto:Element.prototype,methodName:"replaceChildren",nodeArgsExtractor:e=>[...e]},insertAdjacentElement:{original:Element.prototype.insertAdjacentElement,proto:Element.prototype,methodName:"insertAdjacentElement",n
1odeArgsExtractor:e=>[e[1]]},replaceWith:{original:Element.prototype.replaceWith,proto:Element.prototype,methodName:"replaceWith",nodeArgsExtractor:e=>[...e]}};patchNodeInsertionMethods(){const e=this;Object.entries(this.domManipulationMethods).forEach(([,{original:t,proto:n,methodName:o,nodeArgsExtractor:r}])=>{try{n[o]=function(...n){return r(n).forEach(t=>e.blockElement(t)),t.call(this,...n)}}catch(a){console.warn(`Pandectes: could not patch ${o}.`,a)}})}unPatchNodeInsertionMethods(){Object.entries(this.domManipulationMethods).forEach(([,{original:e,proto:t,methodName:n}])=>{t[n]=e})}patchFetch(){const e=window.fetch.bind(window),t=this;window.fetch=function(n,o){const r="string"==typeof n?n:n.url,a=t.shouldBlockUrlUnderCurrentConsent(r,"script");if(!1!==a){let i,l;const s=new Promise((e,t)=>{i=e,l=t});return t.blockedAjaxCalls.push({category:a,url:r,unblock:()=>{e(n,o).then(i).catch(l)}}),s}return e(n,o)}}unPatchFetch(){window.fetch=e.originalFetch}patchXhrSend(){const e=XMLHttpRequest.prototype.send,t=XMLHttpRequest.prototype.open,n=this;XMLHttpRequest.prototype.send=function(t){const o=this,r=o._url,a=n.shouldBlockUrlUnderCurrentConsent(r,"script");if(!1===a)return e.call(this,t);n.blockedAjaxCalls.push({category:a,url:r,unblock:()=>{e.call(o,t)}})},XMLHttpRequest.prototype.open=function(e,n,...o){return this._url="string"==typeof n?n:n.toString(),t.apply(this,[e,n,...o])}}patchCreateElement(){const t=this,n=(n,o)=>{const r=e.originalCreateElement.call(document,n,o);if("script"===n.toLowerCase()){const e=Object.getOwnPropertyDescriptor(HTMLScriptElement.prototype,"src");e&&e.set&&Object.defineProperty(r,"src",{set(n){const o=t.shouldBlockUrlUnderCurrentConsent(n,"script");if(o)return this.type=j,void t.addBlockStateAttributes(this,n,o);e.set?.call(this,n)},get:e.get})}return r};try{Object.defineProperty(document,"createElement",{value:n,writable:!0,configurable:!0})}catch(o){console.warn("Pandectes: could not patch document.createElement; relying on MutationObserver for blocking.",o)}}unPatchCreateElement(){try{Object.defineProperty(document,"createElement",{value:e.originalCreateElement,writable:!0,configurable:!0})}catch{}}blockScriptElement(e){const t=e.src||"",n=this.shouldBlockUrlUnderCurrentConsent(t,"script");n&&t.length&&(e.type=j,e.async=!1,e.removeAttribute("src"),this.addBlockStateAttributes(e,t,n))}blockLinkElement(e){if("stylesheet"!==e.rel)return;const t=e.href||"",n=this.shouldBlockUrlUnderCurrentConsent(t,"link");n&&(e.removeAttribute("href"),this.addBlockStateAttributes(e,t,n))}blockIframeElement(e){const t=e.src||"",n=this.shouldBlockUrlUnderCurrentConsent(t,"iframe");n&&(e.removeAttribute("src"),this.addBlockStateAttributes(e,t,n))}blockImgElement(e){const t=e.src||"",n=this.shouldBlockUrlUnderCurrentConsent(t,"pixel");n&&(e.removeAttribute("src"),this.addBlockStateAttributes(e,t,n))}urlMatchesPattern(e,t){return e.toString().match(t)}urlMatchesCategoryPattern(e,t,n){return this.getBlockPatterns(t)[n].some(t=>this.urlMatchesPattern(e,t))}shouldBlockUrlUnderCurrentConsent(e,n){return[t.Preferences,t.Analytics,t.Marketing].find(t=>{const o=C(this.currentConsent,t),r=this.urlMatchesCategoryPattern(e,n,t);return!o&&r})||!1}},q=l("facebook"),x=e=>e.facebook.enabled??!1,D=(e,t,n)=>{if(!x(e))return;var o,r,a,i,l,c;o=window,r=document,a="script",o.fbq||(i=o.fbq=function(){i.callMethod?i.callMethod.apply(i,arguments):i.queue.push(arguments)},o._fbq||(o._fbq=i),i.push=i,i.loaded=!0,i.version="2.0",i.queue=[],(l=r.createElement(a)).async=!0,l.src="https://connect.facebook.net/en_US/fbevents.js",(c=r.getElementsByTagName(a)[0]).parentNode.insertBefore(l,c));const d="undefined"!=typeof navigator&&!!navigator.globalPrivacyControl,u=null===t?n===P.Optout:S(t);q(`granted: ${u}`),s(window,"fbq").then(({value:t})=>{t("consent",u?"grant":"revoke"),e.facebook.id?.length&&t("init",e.facebook.id),d&&t("dataProcessingOptions",["LDU"],0,0),u&&t("track","PageView")}).catch(()=>{q("window.fbq not found","warn")})},U=(e,t)=>{if(!x(e))return;const n=S(t);q(`granted: ${n}`),s(window,"fbq").then(({value:e})=>{e("consent",n?"grant":"revoke")}).catch(()=>{q("window.fbq not found","warn")})},z=e=>{const t=document.createElement("script");t.async=!0,t.type="text/javascript",t.src=e,document.head.appendChild(t)},T=function(e){return e.basic="basic",e.plus="plus",e.premium="premium",e.enterprise="enterprise",e}({}),G="[Pandectes :: Google Consent Mode debug]:";function R(e){const{ad_storage:t,ad_user_data:n,ad_personalization:o,functionality_storage:r,analytics_storage:a,personalization_storage:i}=e;return"denied"===t&&"denied"===n&&"denied"===o&&"denied"===r&&"denied"===a&&"denied"===i}function H(e){return Array.isArray(e)?e.length>0:null!=e}function X(e){return Array.isArray(e)?e.join(", "):String(e)}var W=e=>{const t=e[0],n=e[1],o=e[2];if("consent"!==t)return"config"===t?"config":void 0;const{ad_storage:r,ad_user_data:a,ad_personalization:i,functionality_storage:l,analytics_storage:s,personalization_storage:c,security_storage:d,region:u}=o,p={Command:t,Mode:n,...H(u)?{region:X(u)}:{},ad_storage:r,ad_user_data:a,ad_personalization:i,functionality_storage:l,analytics_storage:s,personalization_storage:c,security_storage:d};return console.table(p),"default"===n&&(H(u)&&R(o)?J=!0:R(o)||J||console.warn(`${G} all types in a "default" command should be set to "denied" except for security_storage that should be set to "granted"`)),n},F=!1,V=!1,J=!1;function K(e){e&&("default"===e?(F=!0,V&&console.warn(`${G} "default" command was sent but there was already an "update" command before it.`)):"update"===e?(V=!0,F||console.warn(`${G} "update" command was sent but there was no "default" command before it.`)):"config"===e&&(F||console.warn(`${G}
1 a tag read consent state before a default was set (late consent signal). This often happens if Google Tag Gateway has been adopted. To verify visit https://help.pandectes.io/en/article/google-tag-gateway-gtg-and-consent-cl8mqk/.`)))}function Y(e){window[e].forEach(e=>{K(W(e))}),window[e].push=function(...e){var t;return t=e[0],"[object Arguments]"===Object.prototype.toString.call(t)&&K(W(e[0])),Array.prototype.push.apply(this,e)}}var Z="https://www.googletagmanager.com",Q=l("gcm"),ee=e=>{const t=e?.trim();return t||"dataLayer"},te=!1,ne=e=>E(e)||v(e)||S(e),oe=(e,n)=>{const{securityStorageCategory:r,functionalityStorageCategory:a,analyticsStorageCategory:i,adStorageCategory:l}=e,s={[t.Necessary]:o.Granted,[t.Preferences]:E(n)?o.Granted:o.Denied,[t.Analytics]:v(n)?o.Granted:o.Denied,[t.Marketing]:S(n)?o.Granted:o.Denied,[t.Unclassified]:o.Denied};return{security_storage:s[r],functionality_storage:s[a],personalization_storage:s[a],analytics_storage:s[i],ad_storage:s[l],ad_user_data:s[l],ad_personalization:s[l]}},re=(e,t)=>{if(t.length){const n=t.split(",");for(let t=0;t<n.length;t++){const o="dataLayer"!==e?`&l=${e}`:"";z(`${Z}/gtm.js?id=${n[t].trim()}${o}`),Q("loading GTM with ID: '"+n[t].trim()+"'")}}},ae=(e,t,n)=>{if(e.length){const o=e.split(",");for(let e=0;e<o.length;e++){const r=o[e].trim();r.length&&(z(`${Z}
1/gtag/js?id=${r}`),Q("loading GA4 property: '"+r+"'"),window.gtag("config",r,{debug_mode:t,send_page_view:n}))}}},ie=e=>{if(e.length){const t=e.split(",");for(let e=0;e<t.length;e++){const n=t[e].trim();n.length&&(z(`${Z}/gtag/js?id=${n}`),Q("loading AW property: '"+n+"'"),window.gtag("config",n,{allow_enhanced_conversions:!0}))}}},le=(e,t)=>{const{google:n}=e,{enabled:o,basicMode:r,gtmOnly:a}=n,{store:{plan:i}}=e;if(((e,t,n)=>{null!==t&&s(window,"pandectesConsentListeners").then(({value:n})=>{e!==T.basic?n.forEach(e=>{const n={preferences:t,consentType:"new"};Q("pandectesConsentListeners: "+JSON.stringify(n)),e(n)}):console.warn("%c Pandectes: Upgrade your plan to use Pandectes CMP Template for Google Tag Manager","background: orange; color: black; font-weight: bold")}).catch(e=>{n&&console.warn(e+" Check that you have loaded the Pandectes CMP Template for Google Tag Manager correctly.")})})(i,t,a),o&&!a&&(window.gtag("consent","update",oe(n,t)),r&&!te&&ne(t))){const{gtmId:e="",ga4Id:t="",adsId:o="",debugMode:r=!1,sendPageView:a=!0,dataLayerName:i}=n,l=ee(i);window.gtag("js",new Date),re(l,e),ae(t,r,a),ie(o),te=!0}},se=l("klaviyo"),ce=(e,t,n)=>{if(!(e=>e.klaviyo.enabled??!1)(e))return;const r=null===t?n===P.Optin?o.Denied:o.Granted:S(t)?o.Granted:o.Denied;se(`permission: ${r}`),s(window,"klaviyo").then(({value:e})=>{e.push(["identify",{ad_personalization:r,ad_user_data:r}])}).catch(()=>{se("Klaviyo object not found on window","warn")})},de=ce,ue=ce,pe=l("clarity"),ge=e=>e.microsoft?.clarity?.enabled??!1,he=(e,t,n)=>{if(!ge(e))return;const r=null===t?{source:162,ad_Storage:n===P.Optin?o.Denied:o.Granted,analytics_Storage:n===P.Optin?o.Denied:o.Granted}:{source:162,ad_Storage:S(t)?o.Granted:o.Denied,analytics_Storage:v(t)?o.Granted:o.Denied};pe(`signal: ${JSON.stringify(r)}`),window.clarity||(window.clarity=(...e)=>{(window.clarity.q=window.clarity.q||[]).push(e)}),window.clarity("consentv2",r)},me=(e,t,n)=>{var o,r,a,i,l,s,c,d;ge(e)&&(e.microsoft?.clarity?.id?(o=e.microsoft.clarity.id,document.querySelector("script[data-clarity-tag]")||o.length&&(r=window,a=document,l="script",s=o,r[i="clarity"]=r[i]||function(){(r[i].q=r[i].q||[]).push(arguments)},(c=a.createElement(l)).async=1,c.src="https://www.clarity.ms/tag/"+s,c.dataset.clarityTag="true",(d=a.getElementsByTagName(l)[0]).parentNode.insertBefore(c,d)),he(e,t,n)):pe("Microsoft Clarity id missing","warn"))},fe=he,ye=l("uet"),we=e=>{const t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src="//bat.bing.com/bat.js",t.onload=function(){window.uetq=new UET({ti:e,q:window.uetq}),window.uetq.push("pageLoad")},document.head.appendChild(t)},be=(e,t,n)=>{const r=null===e?n===P.Optin?o.Denied:o.Granted:S(e)?o.Granted:o.Denied;ye(`ad_storage: ${r} / ${t}`),window.uetq.push("consent",t,{ad_storage:r})},Ae=(e,t)=>
1{e.microsoft.uet.enabled&&be(t,"update")},ke="Pandectes_Consent_Update",Ce=l("customEvent"),Ee=(e,t,o)=>{let r,a;null!==e?(a=t?"new":"stored",r=e===n.AllBlocked?"deny":e===n.AllAllowed?"allow":"mixed"):(e=o===P.Optin?n.AllBlocked:n.AllAllowed,r=o===P.Optin?"deny":"allow",a="default");const i={event:ke,pandectes_action:a,pandectes_status:r,pandectes_categories:{C0000:"allow",C0001:E(e)?"allow":"deny",C0002:v(e)?"allow":"deny",C0003:S(e)?"allow":"deny"}};return Ce(JSON.stringify(i)),i},ve=e=>{s(window,"Shopify.analytics").then(({value:t})=>{t?.publish(ke,e)}).catch(()=>{Ce("Shopify.analytics object not found on window","warn")})},Se=e=>e.customEvent.enabled??!1,Pe=(e,t)=>{const n=Ee(t,!0,null);ve(n),Se(e)&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(n))},_e=l("rakuten"),Be=navigator.globalPrivacyControl,Me=(e,t,n)=>{const{rakuten:{enabled:r,cmp:a,ccpa:i}}=e;if(!r)return;const l=null!==t?S(t)?o.Granted:o.Denied:n===P.Optin?o.Denied:o.Granted;_e(`permission: ${l}`);const s=Be?"N":"Y",c=l===o.Granted?"Y":"N";i&&(window.__rmuspc=s+c),a&&(window.__rmcp2=l===o.Granted?[1,2,3,4,5,6,7,8,9,10]:[])},Ne=Me,Oe=Me,Le=function(e){return e.DialogOpened="PandectesDialogOpened",e.DialogClosed="PandectesDialogClosed",e.ButtonClicked="PandectesButtonClicked",e.Consent="PandectesConsentUpdate",e.ConsentLegacy="PandectesConsentUpdateLegacy",e.Api="PandectesApi",e.Initialized="PandectesInitialized",e}({});function $e(e){const{storage:t,banner:{enabled:o}}=e,r=(t?k(t):null)?.preferences??null;if(o){const t=new I(e.blocker);try{t.initialize(r)}catch(a){console.error("pandectes-rules: blocker failed to initialize",a)}((e,t)=>{const{google:o}=e,{regions:{strict:r,visible:a}}=e,{enabled:i,basicMode:l=!1,debugMode:s=!1,gtmOnly:c=!1,redactData:d=!1,urlPassthrough:u=!1,gtmId:p="",ga4Id:g="",adsId:h="",waitForUpdate:m=500,sendPageView:f=!0,dataLayerName:y}=o;if(!i)return;const w=ee(y);if(window.gtag=function(...e){window[w].push(arguments)},window[w]=window[w]||[],s&&Y(w),c)return window.gtag("js",new Date),void re(w,p);const b={"developer_id.dMTZkMj":!0,...d?{ads_data_redaction:!0}:{},...u?{url_passthrough:!0}:{}};window.gtag("set",b),"*"===r||"object"==typeof r&&r.length===a.length?window.gtag("consent","default",{...oe(o,n.AllBlocked),wait_for_update:m}):(r.length&&window.gtag("consent","default",{...oe(o,n.AllBlocked),wait_for_update:m,region:r.map(e=>2===e.length?e:4===e.length?e.slice(0,2)+"-"+e.slice(2,4):void 0)}),window.gtag("consent","default",{...oe(o,n.AllAllowed),wait_for_update:m})),null!==t&&window.gtag("consent","update",oe(o,t)),(!l||null!==t&&ne(t))&&(window.gtag("js",new Date),re(w,p),ae(g,s,f),ie(h),te=!0)})(e,r),window.addEventListener(Le.Initialized,o=>{const{detail:{policy:a,region:i,banner:l}}=o;l?(((e,t,n)=>{const o=Ee(t,!1,n);ve(o),Se(e)&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(o))})(e,r,a),D(e,r,a),me(e,r,a),((e,t,n)=>{e.microsoft.uet.enabled&&(window.uetq=window.uetq||[],be(t,"default",n),e.microsoft.uet.tags.split(",").forEach(we))})(e,r,a),de(e,r,a),Ne(e,r,a),N(e,r,i,a),null===r&&(a===P.Optin?t.update(n.AllBlocked):t.update(n.AllAllowed))):(t.update(n.AllAllowed),t.destroy(),le(e,n.AllAllowed),U(e,n.AllAllowed),O(e,n.AllAllowed,i),Ae(e,n.AllAllowed),fe(e,n.AllAllowed),Oe(e,n.AllAllowed),ue(e,n.AllAllowed),Pe(e,n.AllAllowed))}),window.addEventListener(Le.ConsentLegacy,n=>{const{detail:o}=n,r=o?.preferences??null,a=o?.country&&o.country.code||"";t.update(r),le(e,r),U(e,r),O(e,r,a),Ae(e,r),fe(e,r),Oe(e,r),ue(e,r),Pe(e,r)})}}return s(window,"pandectesRulesSettings").then(({value:e})=>$e(e)).catch(e=>{(e instanceof Error?e.message:String(e)).includes("pandectesRulesSettings")?console.error("pandectes-rules: could not find pandectesRulesSettings",e):console.error("pandectes-rules: failed to initialize",e)}),e.initialize=$e,e}({});}

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.