PageSourceSearch

https://palaeogames.com/cdn/shop/t/3/assets/cookie-banner.js?v=133626267367211357101744392723

js palaeogames.com collected 2026-09-24 12:36:59 UTC 1,832 bytes, 2 lines download raw bytes

1class CookieBanner extends ModalElement{constructor(){super(),!theme.config.isTouch||Shopify.designMode?this.init():new theme.initWhenVisible(theme.utils.throttle(this.init.bind(this)))}get testMode(){return this.getAttribute("data-test-mode")==="true"}get delay(){return this.hasAttribute("data-delay")?parseInt(this.getAttribute("data-delay")):5}get acceptButton(){return this.querySelector('button[name="accept"]')}get declineButton(){return this.querySelector('button[name="decline"]')}init(){if(!this.initialized){if(this.initialized=!0,this.testMode){this.load(this.delay);return}window.Shopify.loadFeatures([{name:"consent-tracking-api",version:"0.1",onLoad:this.onConsentLibraryLoaded.bind(this)}])}}load(delay){Shopify.designMode||(setTimeout(()=>this.show(),delay*1e3),this.acceptButton&&this.acceptButton.addEventListener("click",this.acceptPolicy.bind(this)),this.declineButton&&this.declineButton.addEventListener("click",this.declinePolicy.bind(this)))}acceptPolicy(){this.hide(),window.Shopify.customerPrivacy?.setTrackingConsent(!0,this.noop),document.addEventListener("trackingConsentAccepted",()=>{console.log("trackingConsentAccepted event fired")})}declinePolicy(){this.hide(),window.Shopify.customerPrivacy?.setTrackingConsent(!1,this.noop)}onConsentLibraryLoaded(){const userCanBeTracked=window.Shopify.customerPrivacy.userCanBeTracked(),userTrackingConsent=window.Shopify.customerPrivacy.getTrackingConsent();!userCanBeTracked&&userTrackingConsent==="no_interaction"&&this.load(this.delay)}noop(){}afterHide(){super.afterHide(),document.body.classList.remove("has-cookie-banner")}afterShow(){super.afterShow(),document.body.classList.add("has-cookie-banner")}}customElements.define("cookie-banner",CookieBanner);
2//# sourceMappingURL=/cdn/shop/t/3/assets/cookie-banner.js.map?v=133626267367211357101744392723

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.