PageSourceSearch

https://stoll-sport.com/theme/e8778c5fac21de40e3ef3b920a6fce24/js/…/acris-tag-manager-app-c-s.js?1791533194

js stoll-sport.com collected 2026-10-09 21:20:12 UTC 43,275 bytes, 10 lines download raw bytes

1(()=>{"use strict";var e={156(e){var t=function(e){var t;return!!e&&"object"==typeof e&&"[object RegExp]"!==(t=Object.prototype.toString.call(e))&&"[object Date]"!==t&&e.$$typeof!==n},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?o(Array.isArray(e)?[]:{},e,t):e}function r(e,t,n){return e.concat(t).map(function(e){return i(e,n)})}function a(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function s(e,t){try{return t in e}catch(e){return!1}}function o(e,n,c){(c=c||{}).arrayMerge=c.arrayMerge||r,c.isMergeableObject=c.isMergeableObject||t,c.cloneUnlessOtherwiseSpecified=i;var l,u,d=Array.isArray(n);return d!==Array.isArray(e)?i(n,c):d?c.arrayMerge(e,n,c):(u={},(l=c).isMergeableObject(e)&&a(e).forEach(function(t){u[t]=i(e[t],l)}),a(n).forEach(function(t){(!s(e,t)||Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))&&(s(e,t)&&l.isMergeableObject(n[t])?u[t]=(function(e,t){if(!t.customMerge)return o;var n=t.customMerge(e);return"function"==typeof n?n:o})(t,l)(e[t],n[t],l):u[t]=i(n[t],l))}),u)}o.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,n){return o(e,n,t)},{})},e.exports=o}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var a=t[i]={exports:{}};return e[i](a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var i=n(156),r=n.n(i);class a{static ucFirst(e){return e.charAt(0).toUpperCase()+e.slice(1)}static lcFirst(e){return e.charAt(0).toLowerCase()+e.slice(1)}static toDashCase(e){return e.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}static toLowerCamelCase(e,t){let n=a.toUpperCamelCase(e,t);return a.lcFirst(n)}static toUpperCamelCase(e,t){return t?e.split(t).map(e=>a.ucFirst(e.toLowerCase())).join(""):a.ucFirst(e.toLowerCase())}static parsePrimitive(e){try{return/^\d+(.|,)\d+$/.test(e)&&(e=e.replace(",",".")),JSON.parse(e)}catch(t){return e.toString()}}}class s{constructor(e=document){this._el=e,e.$emitter=this,this._listeners=[]}publish(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new CustomEvent(e,{detail:t,cancelable:n});return this.el.dispatchEvent(i),i}subscribe(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this,r=e.split("."),a=n.scope?t.bind(n.scope):t;if(n.once&&!0===n.once){let t=a;a=function(n){i.unsubscribe(e),t(n)}}return this.el.addEventListener(r[0],a),this.listeners.push({splitEventName:r,opts:n,cb:a}),!0}unsubscribe(e){let t=e.split(".");return this.listeners=this.listeners.reduce((e,n)=>([...n.splitEventName].sort().toString()===t.sort().toString()?this.el.removeEventListener(n.splitEventName[0],n.cb):e.push(n),e),[]),!0}reset(){return this.listeners.forEach(e=>{this.el.removeEventListener(e.splitEventName[0],e.cb)}),this.listeners=[],!0}get el(){return this._el}set el(e){this._el=e}get listeners(){return this._listeners}set listeners(e){this._listeners=e}}class o{constructor(e,t={},n=!1){if(!(e instanceof Node)){console.warn(`There is no valid element given while trying to create a plugin instance for "${n}".`);return}this.el=e,this.$emitter=new s(this.el),this._pluginName=this._getPluginName(n),this.options=this._mergeOptions(t),this._initialized=!1,this._registerInstance(),this._init()}init(){console.warn(`The "init" method for the plugin "${this._pluginName}" is not defined. The plugin will not be initialized.`)}update(){}_init(){this._initialized||(this.init(),this._initialized=!0)}_update(){this._initialized&&this.update()}_mergeOptions(e){let t=[this.constructor.options,this.options,e];return t.push(this._getConfigFromDataAttribute()),t.push(this._getOptionsFromDataAttribute()),r().all(t.filter(e=>e instanceof Object&&!(e instanceof Array)).map(e=>e||{}))}_getConfigFromDataAttribute(){let e={};if("function"!=typeof this.el.getAttribute)return e;let t=a.toDashCase(this._pluginName),n=this.el.getAttribute(`data-${t}-config`);return n?window.PluginConfigManager.get(this._pluginName,n):e}_getOptionsFromDataAttribute(){let e={};if("function"!=typeof this.el.getAttribute)return e;let t=a.toDashCase(this._pluginName),n=this.el.getAttribute(`data-${t}-options`);if(n)try{return JSON.parse(n)}catch(e){console.error(`The data attribute "data-${t}-options" could not be parsed to json: ${e.message}`)}return e}_registerInstance(){window.PluginManager.getPluginInstancesFromElement(this.el).set(this._pluginName,this),window.PluginManager.getPlugin(this._pluginName,!1).get("instances").push(this)}_getPluginName(e){return e||(e=this.constructor.name),e}}class c{constructor({context:e}){this.options={context:e},this.context=e,this.init({context:e})}init(){}execute(){}isGa4Format(){return"ga4"===(this.context&&this.context.config?this.context.config:{}).dataLayerFormat}}class l{static isNode(e){return"object"==typeof e&&null!==e&&(e===document||e===window||e instanceof Node)}static hasAttribute(e,t){if(!l.isNode(e))throw Error("The element must be a valid HTML Node!");return"function"==typeof e.hasAttribute&&e.hasAttribute(t)}static getAttribute(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(n&&!1===l.hasAttribute(e,t))throw Error(`The required property "${t}" does not exist!`);
1if("function"!=typeof e.getAttribute){if(n)throw Error("This node doesn't support the getAttribute function!");return}return e.getAttribute(t)}static getDataAttribute(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=t.replace(/^data(|-)/,""),r=a.toLowerCamelCase(i,"-");if(!l.isNode(e)){if(n)throw Error("The passed node is not a valid HTML Node!");return}if(void 0===e.dataset){if(n)throw Error("This node doesn't support the dataset attribute!");return}let s=e.dataset[r];if(void 0===s){if(n)throw Error(`The required data attribute "${t}" does not exist on ${e}!`);return s}return a.parsePrimitive(s)}static querySelector(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(n&&!l.isNode(e))throw Error("The parent node is not a valid HTML Node!");let i=e.querySelector(t)||!1;if(n&&!1===i)throw Error(`The required element "${t}" does not exist in parent node!`);return i}static querySelectorAll(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(n&&!l.isNode(e))throw Error("The parent node is not a valid HTML Node!");let i=e.querySelectorAll(t);if(0===i.length&&(i=!1),n&&!1===i)throw Error(`At least one item of "${t}" must exist in parent node!`);return i}static getFocusableElements(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body,t=`
2            input:not([tabindex^="-"]):not([disabled]):not([type="hidden"]),
3            select:not([tabindex^="-"]):not([disabled]),
4            textarea:not([tabindex^="-"]):not([disabled]),
5            button:not([tabindex^="-"]):not([disabled]),
6            a[href]:not([tabindex^="-"]):not([disabled]),
7            [tabindex]:not([tabindex^="-"]):not([disabled])
8        `;return e.querySelectorAll(t)}static getFirstFocusableElement(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return this.getFocusableElements(e)[0]}static getLastFocusableElement(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=this.getFocusableElements(e);return t[t.length-1]}}class u{static findData(e){let t=l.querySelector(document,`script[data-acris-tag-manager-app-data="${e}"]`,!1);if(!t)return null;let n=t.innerText.trim();return n&&0!==n.length&&JSON.parse(n)||null}static getDecimalPlaces(e){if(!Number.isFinite(e))return 0;let t=String(e).split(".");return t.length>1?Math.min(t[1].length,10):0}static buildGa4Item(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r={item_id:e.number,item_name:e.name,price:t,quantity:n,index:i};return e.brand&&(r.item_brand=e.brand),e.category&&(r.item_category=e.category),e.variant&&(r.item_variant=e.variant),r}static mapGa4Items(e){return Array.isArray(e)?e.map((e,t)=>this.buildGa4Item(e,e.price,e.quantity,t)):[]}static calculateTotalPrice(e,t){if(!Number.isFinite(e)||!Number.isFinite(t))return null;let n=Math.pow(10,Math.max(this.getDecimalPlaces(e),2));return Math.round(e*n)*t/n}}class d extends c{execute(){document.addEventListener("submit",this._beforeFormSubmit.bind(this))}async _beforeFormSubmit(e){let t=e.target;if(this._isAddToCartForm(t))for(let e of this._extractProductData(t))await this._pushToDataLayer(e.id,t,e.quantity)}_isAddToCartForm(e){if(!e||!e.action)return!1;try{if(e.action.includes("/checkout/product-area-calculation/add"))return e.action.includes("/checkout/product-area-calculation/add");return e.action.includes("/checkout/line-item/add")}catch(e){return!1}}_findProductId(e){let t=this._extractProductData(e);return t.length>0?t[0].id:null}_extractProductData(e){let t=[],n=Array.from(e.elements),i=n.filter(e=>e.name&&e.name.endsWith("[id]")&&!e.disabled);if(i.length>0)for(let e of i){let i=e.value;if(!i)continue;let r=e.name,a=r.substring(0,r.lastIndexOf("[id]"))+"[quantity]",s=n.find(e=>e.name===a),o=0;s&&(o=parseInt("string"==typeof s.value?s.value.trim():s.value,10)),o>0&&t.push({id:i,quantity:o})}else{let e=n.find(e=>"id"===e.name&&!e.disabled),i=n.find(e=>"quantity"===e.name&&!e.disabled);if(e&&i){let n=parseInt("string"==typeof i.value?i.value.trim():i.value,10);n>0&&t.push({id:e.value,quantity:n})}}return t}async _pushToDataLayer(e,t){let n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=this._findProduct(e);
8if(!r)return;let a=i;for(let e of Array.from(t.elements||t)){if(null===a&&e.name&&e.name.endsWith("[quantity]")){let t=parseInt("string"==typeof e.value?e.value.trim():e.value,10);a=Number.isFinite(t)?t:null}e.name&&e.name.endsWith("[configuratorPrice]")&&(n=e.value)}let s=r&&Number.isFinite(r.quantity)&&r.quantity>0?r.quantity:1,o=Number.isFinite(a)&&a>0?a:s,c=null;if(r.priceTiers&&Array.isArray(r.priceTiers)&&r.priceTiers.length>0&&o){let e=[...r.priceTiers].sort((e,t)=>(null===e.quantityEnd||void 0===e.quantityEnd?Number.POSITIVE_INFINITY:"number"==typeof e.quantityEnd?e.quantityEnd:parseInt(e.quantityEnd))-(null===t.quantityEnd||void 0===t.quantityEnd?Number.POSITIVE_INFINITY:"number"==typeof t.quantityEnd?t.quantityEnd:parseInt(t.quantityEnd))),t=null;for(let n of e)if(o<=(null===n.quantityEnd||void 0===n.quantityEnd?Number.POSITIVE_INFINITY:"number"==typeof n.quantityEnd?n.quantityEnd:parseInt(n.quantityEnd))){t=n;break}t||(t=e[e.length-1]),c=parseFloat(t.price)}else c=n?parseFloat(n):parseFloat(r.price);let l=u.calculateTotalPrice(c,o);if(o&&null!==l){let e=this.context.config&&this.context.config.addToCartEventName?this.context.config.addToCartEventName:"add_to_cart";if(this.isGa4Format()){window.dataLayer.push({event:e,ecommerce:{currency:r.currency,value:l,items:[u.buildGa4Item(r,c,o)]}});return}window.dataLayer.push({event:e,ecommerce:{currencyCode:r.currency,value:l,add:{products:[{name:r.name,id:r.number,price:c,quantity:o}]}}})}}_findProduct(e){for(let t of["product-page-loaded","navigation-page-loaded","search-page-loaded","product-quick-view-widget-loaded"]){let n=u.findData(t);if(n){if(n.product&&n.product.id===e)return n.product;if(n.products&&Array.isArray(n.products)){for(let t of n.products)if(t.id===e)return t}if(n.productListing&&n.productListing.products){for(let t of n.productListing.products)if(t.id===e)return t}}}return null}}class h extends c{execute(){document.addEventListener("click",this._onRemoveFromCart.bind(this))}async _onRemoveFromCart(e){let t=e.target.closest(".line-item-remove-button");if(!t&&!(t=e.target.closest(".cart-item-remove-button")))return null;let n=this._findProductId(t);if(n){if(this._findProduct(n))await this._pushToDataLayer(n);else{let e=this._findParentProductId(t);if(!e)return;await this._pushToDataLayer(e)}}}_findProductId(e){return l.getDataAttribute(e,"product-id")}_findParentProductId(e){return l.getDataAttribute(e,"configurator-product-parent-id")}async _pushToDataLayer(e){let t=this._findProduct(e);if(!t)return;let n=parseFloat(t.price),i=u.calculateTotalPrice(n,t.quantity);if(null===i)return;let r=this.context.config&&this.context.config.removeFromCartEventName?this.context.config.removeFromCartEventName:"remove_from_cart";if(this.isGa4Format()){window.dataLayer.push({event:r,ecommerce:{currency:t.currency,value:i,items:[u.buildGa4Item(t,n,t.quantity)]}});return}window.dataLayer.push({event:r,ecommerce:{currencyCode:t.currency,value:i,remove:{products:[{name:t.name,id:t.number,price:n,quantity:t.quantity}]}}})}_findProduct(e){for(let t of["checkout-cart-page-loaded","checkout-confirm-page-loaded","checkout-info-widget-loaded","checkout-offcanvas-widget-loaded"]){let n=u.findData(t);if(n&&n.cart&&n.cart.products){for(let t of n.cart.products)if(t.id===e)return t}}return null}}class f extends c{execute(){for(let e of document.getElementsByClassName("product-wishlist-action"))e.addEventListener("click",this._onClick.bind(this));for(let e of document.getElementsByClassName("product-wishlist-btn"))e.addEventListener("click",this._onClick.bind(this))}async _onClick(e){let t;let n=document.querySelector(".product-detail-ordernumber");if(n?e.currentTarget.classList.contains("product-wishlist-added")&&(t=n.innerText):e.currentTarget.classList.contains("product-wishlist-added")&&(t=e.currentTarget.firstChild.nextSibling.innerText),t){let e;for(let n of["product-page-loaded","navigation-page-loaded","search-page-loaded","product-quick-view-widget-loaded"]){let i=u.findData(n);if(i&&i.product&&(e=i.product,window.dataLayer.push({event:this.context.config&&this.context.config.addToWishlistEventName?this.context.config.addToWishlistEventName:"add_to_wishlist",ecommerce:{currency:e.currency,value:e.price,items:this.isGa4Format()?[u.buildGa4Item(e,e.price,1)]:{item_name:e.name,item_id:e.number,price:e.price,quantity:1}}})),i&&i.productListing&&i.productListing.products)for(let n of i.productListing.products)n.number===t&&(e=n,window.dataLayer.push({event:this.context.config&&this.context.config.addToWishlistEventName?this.context.config.addToWishlistEventName:"add_to_wishlist",ecommerce:{currency:e.currency,value:e.price,items:this.isGa4Format()?[u.buildGa4Item(e,e.price,1)]:{item_name:e.name,item_id:e.number,price:e.price,quantity:1}}}))}}}}class p extends c{execute(){"checkout"===this.context.controllerName&&"confirmpage"===this.context.controllerAction&&document.addEventListener("change",this._onShippingMethodChange.bind(this))}_onShippingMethodChange(e){if(e.target&&"shippingMethodId"===e.target.name){let t=e.target.id,n=document.querySelector(`label[for="${t}"]`),i="";if(n){let e=n.querySelector("strong");i=e?e.innerText.trim():n.innerText.trim()}this._pushToDataLayer(i)}}_pushToDataLayer(e){let t=u.findData("checkout-confirm-page-loaded-shipping")||u.findData("checkout-confirm-page-loaded-v2")||u.findData("checkout-confirm-page-loaded");t&&(window.dataLayer.push({event:null,ecommerce:null}),window.dataLayer.push({event:this.context.config&&this.context.config.addShippingInfoEventName?this.context.config.addShippingInfoEventName:t.eventName||"add_shipping_info",ecommerce:{currency:this.context.currency.isoCode,value:t.totalPrice||(t.cart?t.cart.totalPrice:0),shipping_tier:e||t.shippingMethodName||"",items:t.items||(t.cart?this.isGa4Format()?u.mapGa4Items(t.cart.products):t.cart.products:[])}}))}}class g extends c{execute(){"checkout"===this.context.controllerName&&"confirmpage"===this.context.controllerAction&&document.addEventListener("change",this._onPaymentMethodChange.bind(this))}_onPaymentMethodChange(e){if(e.target&&"paymentMethodId"===e.target.name){let t=e.target.id,n=document.querySelector(`label[for="${t}"]`),i="";if(n){let e=n.querySelector("strong");i=e?e.innerText.trim():n.innerText.trim()}this._pushToDataLayer(i)}}_pushToDataLayer(e){let t=u.findData("checkout-confirm-page-loaded-payment")||u.findData("checkout-confirm-page-loaded-shipping")||u.findData("checkout-confirm-page-loaded");t&&(window.dataLayer.push({event:null,ecommerce:null}),window.dataLayer.push({event:this.context.config&&this.context.config.addPaymentInfoEventName?this.context.config.addPaymentInfoEventName:t.eventName||"add_payment_info",ecommerce:{currency:this.context.currency.isoCode,value:t.totalPrice||(t.cart?t.cart.totalPrice:0),payment_type:e||t.paymentMethodName||"",items:t.items||(t.cart?this.isGa4Format()?u.mapGa4Items(t.cart.products):t.cart.products:[])}}))}}class m extends c{execute(){document.addEventListener("click",this._onSelectItem.bind(this))}_onSelectItem(e){let t=e.target.closest(".product-name, .product-image-link, .product-link, .stretched-link");if(!t)return;let n=t.closest(".product-box");if(!n)return;let i=n.dataset.productInformation;if(!i)return;try{i=JSON.parse(i)}catch(e){return}let r=i.id;r&&this._pushToDataLayer(r)}_pushToDataLayer(e){let t=this._findProduct(e);
8if(!t)return;let n=this.options.context&&this.options.context.config&&this.options.context.config.selectItemEventName?this.options.context.config.selectItemEventName:"select_item";if(this.isGa4Format()){window.dataLayer.push({event:n,ecommerce:{currency:t.currency,item_list_name:t.list||"",items:[u.buildGa4Item(t,t.price,1,t.position||0)]}});return}window.dataLayer.push({event:n,ecommerce:{currencyCode:t.currency,click:{actionField:{list:t.list||""},products:[{name:t.name,id:t.number,price:t.price,brand:t.brand||"",category:t.category||"",variant:t.variant||"",position:t.position||0}]}}})}_findProduct(e){for(let t of["product-page-loaded","navigation-page-loaded","search-page-loaded","product-quick-view-widget-loaded"]){let n=u.findData(t);if(n&&n.product&&n.product.id===e)return n.product;if(n&&n.productListing&&n.productListing.products){for(let t of n.productListing.products)if(t.id===e)return t}if(n&&n.crossSellings){for(let t of n.crossSellings)if(t.products){for(let n of t.products)if(n.id===e)return n}}}return null}}class v{static isSupported(){return"undefined"!==document.cookie}static setItem(e,t,n){if(null==e)throw Error("You must specify a key to set a cookie");let i=new Date;i.setTime(i.getTime()+864e5*n);let r="";"https:"===location.protocol&&(r="secure"),document.cookie=`${e}=${t};expires=${i.toUTCString()};path=/;sameSite=lax;${r}`}static getItem(e){if(!e)return!1;let t=e+"=",n=document.cookie.split(";");for(let e=0;e<n.length;e++){let i=n[e];for(;" "===i.charAt(0);)i=i.substring(1);if(0===i.indexOf(t))return i.substring(t.length,i.length)}return!1}static removeItem(e){document.cookie=`${e}= ; expires = Thu, 01 Jan 1970 00:00:00 GMT;path=/`}static key(){return""}static clear(){}}let _="js-offcanvas-singleton";class y{constructor(){this.$emitter=new s}open(e,t,n,i,r,a,s){this._removeExistingOffCanvas();let o=this._createOffCanvas(n,a,s,i);this.setContent(e,r),this._openOffcanvas(o,t)}setContent(e,t){let n=this.getOffCanvas();n[0]&&(n[0].innerHTML=e,this._registerEvents(t),this._setAriaAttrs())}setAdditionalClassName(e){this.getOffCanvas()[0].classList.add(e)}getOffCanvas(){return document.querySelectorAll(`.${_}`)}close(e){let t=this.getOffCanvas();t.forEach(e=>{bootstrap.Offcanvas.getInstance(e).hide()}),setTimeout(()=>{this.$emitter.publish("onCloseOffcanvas",{offCanvasContent:t})},e)}goBackInHistory(){window.history.back()}exists(){return this.getOffCanvas().length>0}_openOffcanvas(e,t){window.focusHandler.saveFocusState("offcanvas"),window.focusHandler._addFocusTrapGuard(e),y.bsOffcanvas.show(),window.history.pushState("offcanvas-open",""),"function"==typeof t&&t()}_registerEvents(e){let t=this.getOffCanvas();t.forEach(n=>{let i=()=>{setTimeout(()=>{n.remove(),window.focusHandler._removeFocusTrapGuard(),window.focusHandler.resumeFocusState("offcanvas"),this.$emitter.publish("onCloseOffcanvas",{offCanvasContent:t})},e),n.removeEventListener("hide.bs.offcanvas",i)};n.addEventListener("hide.bs.offcanvas",i)}),window.addEventListener("popstate",this.close.bind(this,e),{once:!0}),document.querySelectorAll(".js-offcanvas-close").forEach(t=>{t.addEventListener("click",this.close.bind(this,e))})}_setAriaAttrs(){let e=this.getOffCanvas()[0],t="off-canvas-headline",n=e.querySelector(`[data-id="${t}"]`);n&&!e.hasAttribute("aria-labelledby")&&(n.setAttribute("id",t),e.setAttribute("aria-labelledby",t))}_removeExistingOffCanvas(){this.getOffCanvas().forEach(e=>{let t=bootstrap.Offcanvas.getInstance(e);t&&"function"==typeof t.dispose&&t.dispose(),e.remove(),window.focusHandler._removeFocusTrapGuard()}),y.bsOffcanvas=null}_getPositionClass(e){return"left"===e?"offcanvas-start":"right"===e?"offcanvas-end":`offcanvas-${e}`}_createOffCanvas(e,t,n,i){let r=document.createElement("div");if(r.classList.add("offcanvas",_),r.classList.add(this._getPositionClass(e)),r.setAttribute("tabindex","-1"),!0===t&&r.classList.add("is-fullwidth"),n){let e=typeof n;if("string"===e)r.classList.add(n);else if(Array.isArray(n))n.forEach(e=>{r.classList.add(e)});else throw Error(`The type "${e}" is not supported. Please pass an array or a string.`)}return document.body.appendChild(r),y.bsOffcanvas=new bootstrap.Offcanvas(r,{backdrop:!1!==i||"static"}),r}}let C=Object.freeze(new y);class b{static open(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"left",i=!(arguments.length>3)||void 0===arguments[3]||arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"";C.open(e,t,n,i,r,a,s)}static setContent(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:350;C.setContent(e,t,n)}static setAdditionalClassName(e){C.setAdditionalClassName(e)}static close(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:350;C.close(e)}static exists(){return C.exists()}static getOffCanvas(){return C.getOffCanvas()}static REMOVE_OFF_CANVAS_DELAY(){return 350}}let E="loader",k={BEFORE:"before",INNER:"inner"};class w{constructor(e,t=k.BEFORE){this.parent=e instanceof Element?e:document.body.querySelector(e),this.position=t}create(){if(!this.exists()){if(this.position===k.INNER){this._previousHTML=this.parent.innerHTML,this.parent.innerHTML=w.getTemplate();return}this.parent.insertAdjacentHTML(this._getPosition(),w.getTemplate())}}remove(){if(this.position===k.INNER){this.parent.innerHTML=this._previousHTML;return}this.parent.querySelectorAll(`.${E}
8`).forEach(e=>e.remove())}exists(){return this.parent.querySelectorAll(`.${E}`).length>0}_getPosition(){return this.position===k.BEFORE?"afterbegin":"beforeend"}static getTemplate(){return`<div class="${E}" role="status">
9                    <span class="visually-hidden">Loading...</span>
10                </div>`}static SELECTOR_CLASS(){return E}}class x extends b{static open(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"left",r=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:b.REMOVE_OFF_CANVAS_DELAY(),s=arguments.length>6&&void 0!==arguments[6]&&arguments[6],o=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"";if(!e)throw Error("A url must be given!");C._removeExistingOffCanvas();let c=C._createOffCanvas(i,s,o,r);this.setContent(e,t,n,r,a),C._openOffcanvas(c)}static setContent(e,t,n,i,r){super.setContent(`<div class="offcanvas-body">${w.getTemplate()}</div>`,r);let a=e=>{super.setContent(e,r),"function"==typeof n&&n(e)};t?fetch(e,{method:"POST",body:t instanceof FormData?t:JSON.stringify(t),headers:{"X-Requested-With":"XMLHttpRequest"}}).then(e=>e.text()).then(e=>x.executeCallback(a,e)):fetch(e,{headers:{"X-Requested-With":"XMLHttpRequest"}}).then(e=>e.text()).then(e=>x.executeCallback(a,e))}static executeCallback(e,t){"function"==typeof e&&e(t);let n=b.getOffCanvas();n.length>0&&window.PluginManager.initializePluginsInParentElement(n[0])}}class L{constructor(){this._request=null,this._errorHandlingInternal=!1}get(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"application/json",i=this._createPreparedRequest("GET",e,n);return this._sendRequest(i,null,t)}post(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";i=this._getContentType(t,i);let r=this._createPreparedRequest("POST",e,i);return this._sendRequest(r,t,n)}delete(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";i=this._getContentType(t,i);let r=this._createPreparedRequest("DELETE",e,i);return this._sendRequest(r,t,n)}patch(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";i=this._getContentType(t,i);let r=this._createPreparedRequest("PATCH",e,i);return this._sendRequest(r,t,n)}abort(){if(this._request)return this._request.abort()}setErrorHandlingInternal(e){this._errorHandlingInternal=e}_registerOnLoaded(e,t){t&&(!0===this._errorHandlingInternal?(e.addEventListener("load",()=>{t(e.responseText,e)}),e.addEventListener("abort",()=>{console.warn(`the request to ${e.responseURL} was aborted`)}),e.addEventListener("error",()=>{console.warn(`the request to ${e.responseURL} failed with status ${e.status}`)}),e.addEventListener("timeout",()=>{console.warn(`the request to ${e.responseURL} timed out`)})):e.addEventListener("loadend",()=>{t(e.responseText,e)}))}_sendRequest(e,t,n){return this._registerOnLoaded(e,n),e.send(t),e}_getContentType(e,t){return e instanceof FormData&&(t=!1),t}_createPreparedRequest(e,t,n){return this._request=new XMLHttpRequest,this._request.open(e,t),this._request.setRequestHeader("X-Requested-With","XMLHttpRequest"),n&&this._request.setRequestHeader("Content-type",n),this._request}}let A="CookieConfiguration_Update",O="CookieConfiguration_CloseOffCanvas";class S extends o{static #e=this.lastTriggerElement=null;static #t=this.options={defaultCookieExpiration:30,offCanvasPosition:"left",submitEvent:"click",cookiePreference:"cookie-preference",cookieConfigHash:"cookie-config-hash",cookieSelector:"[data-cookie]",buttonOpenSelector:".js-cookie-configuration-button button",buttonSubmitSelector:".js-offcanvas-cookie-submit",buttonPermissionSelector:".js-cookie-permission-button",buttonAcceptAllSelector:".js-offcanvas-cookie-accept-all",globalButtonAcceptAllSelector:".js-cookie-accept-all-button",globalButtonPermissionSelector:".js-cookie-permission-button",parentInputSelector:".offcanvas-cookie-parent-input",customLinkSelector:`[href="${window.router["frontend.cookie.offcanvas"]}"]`,entriesActiveClass:"offcanvas-cookie-entries--active",entriesClass:"offcanvas-cookie-entries",groupClass:"offcanvas-cookie-group",parentInputClass:"offcanvas-cookie-parent-input",consentAcceptButtonSelector:".js-wishlist-cookie-accept",consentLoginButtonSelector:".js-wishlist-login",consentCancelButtonSelector:".js-wishlist-cookie-offcanvas-cancel",consentPreferencesButtonSelector:".js-wishlist-cookie-preferences"};init(){this.lastState={active:[],inactive:[]},this._cleanupTasks=[],this._httpClient=new L,this._registerEvents(),this._checkCookieConfigurationHash(),document.$emitter.subscribe("CookieConfiguration/requestConsent",e=>{e instanceof CustomEvent&&(e=e.detail),this.openRequestConsentOffCanvas(e.route,e.cookieName)}),this._registerCleanup(()=>{document.$emitter.unsubscribe("CookieConfiguration/requestConsent")})}destroy(){if(this._cleanupTasks&&this._cleanupTasks.length>0){let e=this._cleanupTasks.slice();this._cleanupTasks=[];for(let t=0;t<e.length;t++)try{e[t]()}catch(e){}}}_getDefaultCookieExpiration(){let{defaultCookieExpiration:e}=this.options,t=Number(e);return Number.isInteger(t)&&t>0?t:30}_registerEvents(){if(this._delegatedEventHandler)return;let{submitEvent:e,buttonOpenSelector:t,customLinkSelector:n,buttonPermissionSelector:i,globalButtonAcceptAllSelector:r}=this.options;this._delegatedEventHandler=e=>{let a=e.target;if(a.closest(n)){this._handleCustomLink(e);return}if(a.closest(t)){this.openOffCanvas();return}if(a.closest(i)){this._handlePermission(e);return}if(a.closest(r)){this._acceptAllCookiesFromCookieBar(e);return}},document.addEventListener(e,this._delegatedEventHandler,!0),this._registerCleanup(()=>{document.removeEventListener(e,this._delegatedEventHandler,!0),this._delegatedEventHandler=null})}_registerOffCanvasEvents(){let e=this._getOffCanvas();e&&!e.hasAttribute("data-offcanvas-events-registered")&&(this._offCanvasDelegatedHandler||(this._offCanvasDelegatedHandler=this._handleOffCanvasClick.bind(this)),e.setAttribute("data-offcanvas-events-registered","true"),e.addEventListener("click",this._offCanvasDelegatedHandler,!0),this._registerCleanup(()=>{e.removeEventListener("click",this._offCanvasDelegatedHandler,!0),e.removeAttribute("data-offcanvas-events-registered"),this._offCanvasDelegatedHandler=null}))}_handleOffCanvasClick(e){let{buttonSubmitSelector:t,buttonAcceptAllSelector:n}=this.options,i=e.target;if(i.closest(t)){e.preventDefault(),this._handleSubmit(e);return}if(i.closest(n)){e.preventDefault(),this._acceptAllCookiesFromOffCanvas(e);return}if("checkbox"===i.type){this._handleCheckbox(e);return}}_handleCustomLink(e){0!==e.button||e.ctrlKey||e.metaKey||e.shiftKey||e.defaultPrevented||(e.preventDefault(),this.openOffCanvas())}async _fetchCookieGroups(){try{let e=window.router["frontend.cookie.groups"],t=await fetch(e,{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}});return await t.json()}catch(e){return console.error("Failed to fetch cookie groups:",e),null}}async _checkCookieConfigurationHash(){let{cookiePreference:e,cookieConfigHash:t}=this.options,n=v.getItem(e),i=v.getItem(t);if(!n&&!i)return;let r=await this._fetchCookieGroups();if(!r)return;let a=r.hash,s=r.languageId,o=this._getStoredHashForLanguage(i,s);if(o&&o!==a||n&&!o){await this._resetCookieConfiguration(r);return}o&&this._storeHashForLanguage(s,a,i)}_parseStoredHashes(e){if(!e)return{};try{let t=JSON.parse(e);if("object"==typeof t&&null!==t)return t}catch(e){}return{}}_getStoredHashForLanguage(e,t){return this._parseStoredHashes(e)[t]||null}_storeHashForLanguage(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,{cookieConfigHash:i}=this.options,r=n??v.getItem(i),a=this._parseStoredHashes(r);a[e]=t,v.setItem(i,JSON.stringify(a),this._getDefaultCookieExpiration())}async _resetCookieConfiguration(e){let t=e.elements||[],{activeCookieNames:n,inactiveCookieNames:i}=this._applyCookieConfiguration(t,"required",[],e.languageId);v.removeItem(this.options.cookiePreference);let r=n.filter(e=>e!==this.options.cookiePreference);this._handleUpdateListener(r,i),this._checkAndShowCookieBarIfNeeded()}_getTechnicallyRequiredCookieNames(){return["session-","timezone"]}async _handlePermission(e){e.preventDefault();let t=await this._fetchCookieGroups();if(!t)return;let n=t.elements,{activeCookieNames:i,inactiveCookieNames:r}=this._applyCookieConfiguration(n,"required",[],t.languageId);this._handleUpdateListener(i,r),this._hideCookieBar(),this.closeOffCanvas()}_applyCookieConfiguration(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=this._getTechnicallyRequiredCookieNames(),a=this._extractAllCookiesFromGroups(e),s=[],o=[];for(let e=0;e<a.length;e++){let i=a[e];("required"===t?i.isRequired:"selected"!==t||i.isRequired||n.includes(i.cookie))?s.push(i):o.push(i.cookie)}for(let e=0;e<o.length;e++)v.getItem(o[e])&&v.removeItem(o[e]);let c=[...r];for(let e=0;e<s.length;e++){let t=s[e],n=r.some(e=>t.cookie===e),a=t.cookie===this.options.cookieConfigHash;n||c.push(t.cookie),!t.value||n||(a&&i?this._storeHashForLanguage(i,t.value):a||v.setItem(t.cookie,t.value,t.expiration||this._getDefaultCookieExpiration()))}return{activeCookieNames:c,inactiveCookieNames:o}}_extractAllCookiesFromGroups(e){let t=[];for(let n=0;n<e.length;n++){let i=e[n],r=i.isRequired||!1;if(i.entries)for(let e=0;e<i.entries.length;e++){let n=i.entries[e];n.cookie&&t.push({cookie:n.cookie,value:n.value,expiration:n.expiration,isRequired:r})}i.cookie&&t.push({cookie:i.cookie,value:i.value,expiration:i.expiration,isRequired:r})}return t}
10_handleUpdateListener(e,t){let n=this._getUpdatedCookies(e,t);"function"==typeof window.registerGoogleReCaptchaPlugins&&(window.registerGoogleReCaptchaPlugins(),PluginManager.initializePlugins()),document.$emitter.publish(A,n)}_isLastStateEmpty(){return 0===this.lastState.active.length&&0===this.lastState.inactive.length}_getUpdatedCookies(e,t){let{lastState:n}=this,i={};return this._isLastStateEmpty()?(e.forEach(e=>{i[e]=!0}),t.forEach(e=>{i[e]=!1})):(e.forEach(e=>{n.inactive.includes(e)&&(i[e]=!0)}),t.forEach(e=>{n.active.includes(e)&&(i[e]=!1)})),i}openOffCanvas(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{offCanvasPosition:t}=this.options,n=window.router["frontend.cookie.offcanvas"];this._hideCookieBar(),x.open(n,!1,this._onOffCanvasOpened.bind(this,e),t)}closeOffCanvas(e){x.close(),"function"==typeof e&&e()}_checkAndShowCookieBarIfNeeded(){let{cookiePreference:e}=this.options;if(!v.getItem(e)){let e=new CustomEvent("showCookieBar");document.dispatchEvent(e)}}_onOffCanvasOpened(e){this._registerOffCanvasEvents(),this._setInitialState(),this._setInitialOffcanvasState(),this._registerOffCanvasCloseListener(),PluginManager.initializePlugins(),"function"==typeof e&&e()}_registerOffCanvasCloseListener(){this._onOffCanvasOnceHandler=()=>{this._checkAndShowCookieBarIfNeeded()},C.$emitter.subscribe("onCloseOffcanvas",this._onOffCanvasOnceHandler,{once:!0}),this._registerCleanup(()=>{C.$emitter.unsubscribe("onCloseOffcanvas"),this._onOffCanvasOnceHandler=null})}_registerCleanup(e){this._cleanupTasks||(this._cleanupTasks=[]),this._cleanupTasks.push(e)}_hideCookieBar(){let e=new CustomEvent("hideCookieBar");document.dispatchEvent(e)}openRequestConsentOffCanvas(e,t){e&&t&&(S.lastTriggerElement=document.activeElement,x.open(e,!1,()=>{window.PluginManager.initializePlugins();let e=document.querySelector(".offcanvas");e&&this._registerConsentOffcanvasEvents(e,t)},"left"))}_registerConsentOffcanvasEvents(e,t){let{consentAcceptButtonSelector:n,consentLoginButtonSelector:i,consentCancelButtonSelector:r,consentPreferencesButtonSelector:a}=this.options,s=e.querySelector(n);s&&s.addEventListener("click",this._onAccept.bind(this,t));let o=e.querySelector(i);o&&o.addEventListener("click",this._onLogin.bind(this));let c=e.querySelector(r);c&&c.addEventListener("click",this._onCancel.bind(this));let l=e.querySelector(a);l&&l.addEventListener("click",this._onPreferences.bind(this))}_setInitialState(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this._getCookies("all"),n=[],i=[];t.forEach(e=>{let{cookie:t,required:r}=e;v.getItem(t)||r?n.push(t):i.push(t)}),this.lastState={active:n,inactive:i}}_setInitialOffcanvasState(){let e=this.lastState.active,t=this._getOffCanvas();e.forEach(e=>{let n=t.querySelector(`[data-cookie="${e}"]`);n.checked=!0,this._childCheckboxEvent(n)})}_handleCheckbox(e){let{parentInputClass:t}=this.options,{target:n}=e;(n.classList.contains(t)?this._parentCheckboxEvent:this._childCheckboxEvent).call(this,n)}_findParentEl(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;for(;e&&!e.classList.contains(n);){if(e.classList.contains(t))return e;e=e.parentElement}return null}_isChecked(e){return!!e.checked}_parentCheckboxEvent(e){let{groupClass:t}=this.options,n=this._isChecked(e),i=this._findParentEl(e,t);this._toggleWholeGroup(n,i)}_childCheckboxEvent(e){let{groupClass:t}=this.options,n=this._isChecked(e),i=this._findParentEl(e,t);this._toggleParentCheckbox(n,i)}_toggleWholeGroup(e,t){Array.from(t.querySelectorAll("input")).forEach(t=>{t.checked=e})}_toggleParentCheckbox(e,t){let{parentInputSelector:n}=this.options,i=Array.from(t.querySelectorAll(`input:not(${n})`)),r=Array.from(t.querySelectorAll(`input:not(${n}):checked`));if(i.length>0){let e=t.querySelector(n);if(e){let t=r.length>0,n=t&&r.length!==i.length;e.checked=t,e.indeterminate=n}}}async _handleSubmit(){let e=this._getCookies("active").filter(e=>{let{required:t}=e;return!t}).map(e=>{let{cookie:t}=e;return t}),t=await this._fetchCookieGroups();if(!t)return;let n=t.elements,{activeCookieNames:i,inactiveCookieNames:r}=this._applyCookieConfiguration(n,"selected",e,t.languageId);this._handleUpdateListener(i,r),this.closeOffCanvas(document.$emitter.publish(O))}async acceptAllCookies(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];let e=await this._fetchCookieGroups();if(!e)return;let t=e.elements,{activeCookieNames:n,inactiveCookieNames:i}=this._applyCookieConfiguration(t,"all",[],e.languageId);this._handleUpdateListener(n,i),this._hideCookieBar(),this.closeOffCanvas()}async _acceptAllCookiesFromCookieBar(){let e=await this._fetchCookieGroups();if(!e)return;let t=e.elements,{activeCookieNames:n,inactiveCookieNames:i}=this._applyCookieConfiguration(t,"all",[],e.languageId);this._handleUpdateListener(n,i),this._hideCookieBar()}async _acceptAllCookiesFromOffCanvas(){let e=await this._fetchCookieGroups();if(!e)return;let t=e.elements,{activeCookieNames:n,inactiveCookieNames:i}=this._applyCookieConfiguration(t,"all",[],e.languageId);this._handleUpdateListener(n,i),this.closeOffCanvas(document.$emitter.publish(O))}_getCookies(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{cookieSelector:n}=this.options;return t||(t=this._getOffCanvas()),Array.from(t.querySelectorAll(n)).filter(t=>{switch(e){case"all":return!0;case"active":return this._isChecked(t);case"inactive":return!this._isChecked(t);default:return!1}}).map(e=>{let{cookie:t,cookieValue:n,cookieExpiration:i,cookieRequired:r}=e.dataset;return{cookie:t,value:n,expiration:i,required:r}})}_getOffCanvas(){let e=b?b.getOffCanvas():[];return!!e&&e.length>0&&e[0]}_onAccept(e){v.setItem(e,"1",this._getDefaultCookieExpiration()),x.close()}_navigateTo(e){window.location.href=e}_onLogin(){x.close(),this._navigateTo(window.router["frontend.account.login.page"])}_onCancel(){x.close()}_onPreferences(e){e.preventDefault(),x.close(),this.openOffCanvas(()=>{let e=document.querySelector(".offcanvas");e&&e.addEventListener("hidden.bs.offcanvas",this._restoreFocus.bind(this),{once:!0})})}_restoreFocus(){let e=S.lastTriggerElement;e?.focus?.()}}let q="acris-tag-manager";function T(){P()&&N()}function I(e){return!function(){let e=document.querySelector("script[data-acris-consent-mode-options]");if(!e)return!1;try{return!0===JSON.parse(e.dataset.acrisConsentModeOptions).containerEmbeddingStrict}catch(e){return!1}}()?e.includes(q):e===q}function P(){return document.cookie.split(";").some(e=>I(e.trim().split("=")[0]))}function N(){let e=document.querySelectorAll('script[type="text/plain"][data-acristagmanagercookie="true"]:not([data-acristagmanagerprocessed])');
10P()||v.setItem(q,"1","30"),e.forEach(e=>{let t,n,i,r,a;t=document.createElement("script"),n=e.innerHTML,i=e.src,r=e.async,a=e.defer,t.type="text/javascript",t.classList.add("acris-clone"),n&&(t.innerHTML=n),i&&(t.src=i),r&&(t.async=r),a&&(t.defer=a),e.dataset.acristagmanagerprocessed="true",e.after(t)})}document.$emitter.subscribe(A,function(e){let t=!1,n=[];for(let i in e.detail)i.includes(q)&&(!0===e.detail[i]?I(i)&&(t=!0):n.push(i));t&&N(),n.forEach(e=>v.removeItem(e))}),T(),P()||(document.addEventListener("DOMContentLoaded",T),window.addEventListener("load",T));let F=H(D(R()));function M(){let e=R();if(!e||!document.cookie.split(";").some(e=>"cookie-preference"===e.trim().split("=")[0]))return;let t=D(e);(function(e,t){if("function"!=typeof window.gtag||!["analytics","ads","analyticsAndAds"].includes(e.consentMode))return;let n=H(t);null!==n&&n!==F&&(F=n,window.gtag("consent","update",t))})(e,t),e.consentStatusEvent&&Array.isArray(window.dataLayer)&&window.dataLayer.push({event:"consent_status_update",consent_status_source:"consent_update",consent_decision_made:!0,consent_status:t})}function D(e){if(!e)return null;if("appDefault"===e.consentMode)return{ad_user_data:"denied",ad_storage:"denied",ad_personalization:"denied",analytics_storage:"denied",functionality_storage:"denied",personalization_storage:"denied",security_storage:"granted"};if(!["analytics","ads","analyticsAndAds"].includes(e.consentMode))return null;let t=["analytics","analyticsAndAds"].includes(e.consentMode),n=["ads","analyticsAndAds"].includes(e.consentMode),i=!1,r=!1;e.additionalCookieConsentSupport?(i=t&&$("acris-tag-manager-google-analytics-enabled"),r=n&&$("acris-tag-manager-google-ads-enabled")):e.cookieConsentSupport?(i=t&&$("acris-tag-manager"),r=n&&$("acris-tag-manager")):(i=t,r=n);let a=!!e.grantFunctionalityAndPersonalization&&r;return{ad_user_data:r?"granted":"denied",ad_storage:r?"granted":"denied",ad_personalization:r?"granted":"denied",analytics_storage:i?"granted":"denied",functionality_storage:a?"granted":"denied",personalization_storage:a?"granted":"denied",security_storage:"granted"}}function H(e){return e?JSON.stringify(e):null}function $(e){return document.cookie.split(";").some(t=>t.trim().split("=")[0].includes(e))}function R(){let e=document.querySelector("script[data-acris-consent-mode-options]");if(!e)return null;try{return JSON.parse(e.dataset.acrisConsentModeOptions)}catch(e){return null}}document.$emitter.subscribe(A,M),document.addEventListener("onClickDenyButton",M,!0);let{PluginManager:j}=window;j.register("AcrisTagManagerApp",class extends o{init(){this.acrisEvents=[],this._registerEvents(),this._executeEvents()}_registerEvents(){let e=new d({context:this.options.context});e.init(),this.acrisEvents.push(e);let t=new h({context:this.options.context});t.init(),this.acrisEvents.push(t);let n=new f({context:this.options.context});n.init(),this.acrisEvents.push(n);let i=new p({context:this.options.context});i.init(),this.acrisEvents.push(i);let r=new g({context:this.options.context});r.init(),this.acrisEvents.push(r);let a=new m({context:this.options.context});a.init(),this.acrisEvents.push(a)}_executeEvents(){this.acrisEvents.forEach(e=>{void 0!==this.options.context&&null!==this.options.context&&e.execute()})}},"[data-acris-tag-manager-app]");let G=console.warn;console.warn=function(){};try{window.PluginManager.getPluginInstances("AcrisAddToCartEvent")}catch(e){window.PluginManager.register("AcrisAddToCartEvent",d,"[data-acris-tag-manager-app]")}try{window.PluginManager.getPluginInstances("AcrisRemoveFromCartEvent")}catch(e){window.PluginManager.register("AcrisRemoveFromCartEvent",h,"[data-acris-tag-manager-app]")}try{window.PluginManager.getPluginInstances("AcrisAddToWishlistEvent")}catch(e){window.PluginManager.register("AcrisAddToWishlistEvent",f,"[data-acris-tag-manager-app]")}console.warn=G})();

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.