1(()=>{"use strict";var t={857:t=>{var e=function(t){var e;return!!t&&"object"==typeof t&&"[object RegExp]"!==(e=Object.prototype.toString.call(t))&&"[object Date]"!==e&&t.$$typeof!==n},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function s(t,e){return!1!==e.clone&&e.isMergeableObject(t)?a(Array.isArray(t)?[]:{},t,e):t}function r(t,e,n){return t.concat(e).map(function(t){return s(t,n)})}function i(t){return Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[])}function o(t,e){try{return e in t}catch(t){return!1}}function a(t,n,l){(l=l||{}).arrayMerge=l.arrayMerge||r,l.isMergeableObject=l.isMergeableObject||e,l.cloneUnlessOtherwiseSpecified=s;var c,d,u=Array.isArray(n);return u!==Array.isArray(t)?s(n,l):u?l.arrayMerge(t,n,l):(d={},(c=l).isMergeableObject(t)&&i(t).forEach(function(e){d[e]=s(t[e],c)}),i(n).forEach(function(e){(!o(t,e)||Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))&&(o(t,e)&&c.isMergeableObject(n[e])?d[e]=(function(t,e){if(!e.customMerge)return a;var n=e.customMerge(t);return"function"==typeof n?n:a})(e,c)(t[e],n[e],c):d[e]=s(n[e],c))}),d)}a.all=function(t,e){if(!Array.isArray(t))throw Error("first argument should be an array");return t.reduce(function(t,n){return a(t,n,e)},{})},t.exports=a}},e={};function n(s){var r=e[s];if(void 0!==r)return r.exports;var i=e[s]={exports:{}};return t[s](i,i.exports,n),i.exports}(()=>{n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e}})(),(()=>{n.d=(t,e)=>{for(var s in e)n.o(e,s)&&!n.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})}})(),(()=>{n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})(),(()=>{var t=n(857),e=n.n(t);class s{static ucFirst(t){return t.charAt(0).toUpperCase()+t.slice(1)}static lcFirst(t){return t.charAt(0).toLowerCase()+t.slice(1)}static toDashCase(t){return t.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}static toLowerCamelCase(t,e){let n=s.toUpperCamelCase(t,e);return s.lcFirst(n)}static toUpperCamelCase(t,e){return e?t.split(e).map(t=>s.ucFirst(t.toLowerCase())).join(""):s.ucFirst(t.toLowerCase())}static parsePrimitive(t){try{return/^\d+(.|,)\d+$/.test(t)&&(t=t.replace(",",".")),JSON.parse(t)}catch(e){return t.toString()}}}class r{static isNode(t){return"object"==typeof t&&null!==t&&(t===document||t===window||t instanceof Node)}static hasAttribute(t,e){if(!r.isNode(t))throw Error("The element must be a valid HTML Node!");return"function"==typeof t.hasAttribute&&t.hasAttribute(e)}static getAttribute(t,e){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(n&&!1===r.hasAttribute(t,e))throw Error('The required property "'.concat(e,'" does not exist!'));if("function"!=typeof t.getAttribute){if(n)throw Error("This node doesn't support the getAttribute function!");return}return t.getAttribute(e)}static getDataAttribute(t,e){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=e.replace(/^data(|-)/,""),o=s.toLowerCamelCase(i,"-");if(!r.isNode(t)){if(n)throw Error("The passed node is not a valid HTML Node!");return}if(void 0===t.dataset){if(n)throw Error("This node doesn't support the dataset attribute!");return}let a=t.dataset[o];if(void 0===a){if(n)throw Error('The required data attribute "'.concat(e,'" does not exist on ').concat(t,"!"));return a}return s.parsePrimitive(a)}static querySelector(t,e){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(n&&!r.isNode(t))throw Error("The parent node is not a valid HTML Node!");let s=t.querySelector(e)||!1;if(n&&!1===s)throw Error('The required element "'.concat(e,'" does not exist in parent node!'));return s}static querySelectorAll(t,e){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(n&&!r.isNode(t))throw Error("The parent node is not a valid HTML Node!");let s=t.querySelectorAll(e);if(0===s.length&&(s=!1),n&&!1===s)throw Error('At least one item of "'.concat(e,'" must exist in parent node!'));return s}static getFocusableElements(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return t.querySelectorAll('\n input:not([tabindex^="-"]):not([disabled]):not([type="hidden"]),\n select:not([tabindex^="-"]):not([disabled]),\n textarea:not([tabindex^="-"]):not([disabled]),\n button:not([tabindex^="-"]):not([disabled]),\n a[href]:not([tabindex^="-"]):not([disabled]),\n [tabindex]:not
1([tabindex^="-"]):not([disabled])\n ')}static getFirstFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return this.getFocusableElements(t)[0]}static getLastFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=this.getFocusableElements(t);return e[e.length-1]}}class i{publish(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=new CustomEvent(t,{detail:e,cancelable:n});return this.el.dispatchEvent(s),s}subscribe(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=this,r=t.split("."),i=n.scope?e.bind(n.scope):e;if(n.once&&!0===n.once){let e=i;i=function(n){s.unsubscribe(t),e(n)}}return this.el.addEventListener(r[0],i),this.listeners.push({splitEventName:r,opts:n,cb:i}),!0}unsubscribe(t){let e=t.split(".");return this.listeners=this.listeners.reduce((t,n)=>([...n.splitEventName].sort().toString()===e.sort().toString()?this.el.removeEventListener(n.splitEventName[0],n.cb):t.push(n),t),[]),!0}reset(){return this.listeners.forEach(t=>{this.el.removeEventListener(t.splitEventName[0],t.cb)}),this.listeners=[],!0}get el(){return this._el}set el(t){this._el=t}get listeners(){return this._listeners}set listeners(t){this._listeners=t}constructor(t=document){this._el=t,t.$emitter=this,this._listeners=[]}}class o{init(){throw Error('The "init" method for the plugin "'.concat(this._pluginName,'" is not defined.'))}update(){}_init(){this._initialized||(this.init(),this._initialized=!0)}_update(){this._initialized&&this.update()}_mergeOptions(t){let n=s.toDashCase(this._pluginName),i=r.getDataAttribute(this.el,"data-".concat(n,"-config"),!1),o=r.getAttribute(this.el,"data-".concat(n,"-options"),!1),a=[this.constructor.options,this.options,t];i&&a.push(window.PluginConfigManager.get(this._pluginName,i));try{o&&a.push(JSON.parse(o))}catch(t){throw console.error(this.el),Error('The data attribute "data-'.concat(n,'-options" could not be parsed to json: ').concat(t.message))}return e().all(a.filter(t=>t instanceof Object&&!(t instanceof Array)).map(t=>t||{}))}_registerInstance(){window.PluginManager.getPluginInstancesFromElement(this.el).set(this._pluginName,this),window.PluginManager.getPlugin(this._pluginName,!1).get("instances").push(this)}_getPluginName(t){return t||(t=this.constructor.name),t}constructor(t,e={},n=!1){if(!r.isNode(t))throw Error("There is no valid element given.");this.el=t,this.$emitter=new i(this.el),this._pluginName=this._getPluginName(n),this.options=this._mergeOptions(e),this._initialized=!1,this._registerInstance(),this._init()}}class a{static iterate(t,e){if(t instanceof Map||Array.isArray(t))return t.forEach(e);if(t instanceof FormData){for(var n of t.entries())e(n[1],n[0]);return}if(t instanceof NodeList)return t.forEach(e);if(t instanceof HTMLCollection)return Array.from(t).forEach(e);if(t instanceof Object)return Object.keys(t).forEach(n=>{e(t[n],n)});throw Error("The element type ".concat(typeof t," is not iterable!"))}}let l="js-offcanvas-singleton";class c{open(t,e,n,s,r,i,o){this._removeExistingOffCanvas();let a=this._createOffCanvas(n,i,o,s);this.setContent(t,r),this._openOffcanvas(a,e)}setContent(t,e){let n=this.getOffCanvas();n[0]&&(n[0].innerHTML=t,this._registerEvents(e))}setAdditionalClassName(t){this.getOffCanvas()[0].classList.add(t)}getOffCanvas(){return document.querySelectorAll(".".concat(l))}close(t){let e=this.getOffCanvas();a.iterate(e,t=>{bootstrap.Offcanvas.getInstance(t).hide()}),setTimeout(()=>{this.$emitter.publish("onCloseOffcanvas",{offCanvasContent:e})},t)}goBackInHistory(){window.history.back()}exists(){return this.getOffCanvas().length>0}_openOffcanvas(t,e){window.focusHandler.saveFocusState("offcanvas"),c.bsOffcanvas.show(),window.history.pushState("offcanvas-open",""),"function"==typeof e&&e()}_registerEvents(t){let e=this.getOffCanvas();a.iterate(e,n=>{let s=()=>{setTimeout(()=>{n.remove(),window.focusHandler.resumeFocusState("offcanvas"),this.$emitter.publish("onCloseOffcanvas",{offCanvasContent:e})},t),n.removeEventListener("hide.bs.offcanvas",s)};n.addEventListener("hide.bs.offcanvas",s)}),window.addEventListener("popstate",this.close.bind(this,t),{once:!0});let n=document.querySelectorAll(".".concat("js-offcanvas-close"));a.iterate(n,e=>e.addEventListener("click",this.close.bind(this,t)))}_removeExistingOffCanvas(){c.bsOffcanvas=null;let t=this.getOffCanvas();return a.iterate(t,t=>t.remove())}_getPositionClass(t){return"left"===t?"offcanvas-start":"right"===t?"offcanvas-end":"offcanvas-".concat(t)}_createOffCanvas(t,e,n,s){let r=document.createElement("div");if(r.classList.add("offcanvas",l),r.classList.add(this._getPositionClass(t)),r.setAttribute("tabindex","-1"),!0===e&&r.classList.add("is-fullwidth"),n){let t=typeof n;if("string"===t)r.classList.add(n);else if(Array.isArray(n))n.forEach(t=>{r.classList.add(t)});else throw Error('The type "'.concat(t,'" is not supported. Please pass an array or a string.'))}return document.body.appendChild(r),c.bsOffcanvas=new bootstrap.Offcanvas(r,{backdrop:!1!==s||"static"}),r}constructor(){this.$emitter=new i}}let d=Object.freeze(new c);class u{static open(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"left",s=!(arguments.length>3)||void 0===arguments[3]||arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"";d.open(t,e,n,s,r,i,o)}static setContent(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:350;d.setContent(t,e,n)}static setAdditionalClassName(t){d.setAdditionalClassName(t)}static close(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:350;d.close(t)}static exists(){return d.exists()}static getOffCanvas(){return d.getOffCanvas()}static REMOVE_OFF_CANVAS_DELAY(){return 350}}class h{get(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"application/json",s=this._createPreparedRequest("GET",t,n);return this._sendRequest(s,null,e)}post(t,e,n){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";s=this._getContentType(e,s);let r=this._createPreparedRequest("POST",t,s);return this._sendRequest(r,e,n)}delete(t,e,n){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";s=this._getContentType(e,s);let r=this._createPreparedRequest("DELETE",t,s);return this._sendRequest(r,e,n)}patch(t,e,n){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";s=this._getContentType(e,s);let r=this._createPreparedRequest("PATCH",t,s);return this._sendRequest(r,e,n)}
1abort(){if(this._request)return this._request.abort()}setErrorHandlingInternal(t){this._errorHandlingInternal=t}_registerOnLoaded(t,e){e&&(!0===this._errorHandlingInternal?(t.addEventListener("load",()=>{e(t.responseText,t)}),t.addEventListener("abort",()=>{console.warn("the request to ".concat(t.responseURL," was aborted"))}),t.addEventListener("error",()=>{console.warn("the request to ".concat(t.responseURL," failed with status ").concat(t.status))}),t.addEventListener("timeout",()=>{console.warn("the request to ".concat(t.responseURL," timed out"))})):t.addEventListener("loadend",()=>{e(t.responseText,t)}))}_sendRequest(t,e,n){return this._registerOnLoaded(t,n),t.send(e),t}_getContentType(t,e){return t instanceof FormData&&(e=!1),e}_createPreparedRequest(t,e,n){return this._request=new XMLHttpRequest,this._request.open(t,e),this._request.setRequestHeader("X-Requested-With","XMLHttpRequest"),n&&this._request.setRequestHeader("Content-type",n),this._request}constructor(){this._request=null,this._errorHandlingInternal=!1}}let f="loader",g={BEFORE:"before",INNER:"inner"};class p{create(){if(!this.exists()){if(this.position===g.INNER){this.parent.innerHTML=p.getTemplate();return}this.parent.insertAdjacentHTML(this._getPosition(),p.getTemplate())}}remove(){let t=this.parent.querySelectorAll(".".concat(f));a.iterate(t,t=>t.remove())}exists(){return this.parent.querySelectorAll(".".concat(f)).length>0}_getPosition(){return this.position===g.BEFORE?"afterbegin":"beforeend"}static getTemplate(){return'<div class="'.concat(f,'" role="status">\n <span class="').concat("visually-hidden",'">Loading...</span>\n </div>')}static SELECTOR_CLASS(){return f}constructor(t,e=g.BEFORE){this.parent=t instanceof Element?t:document.body.querySelector(t),this.position=e}}let b=null;class v extends u{static open(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"left",r=!(arguments.length>4)||void 0===arguments[4]||arguments[4],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:u.REMOVE_OFF_CANVAS_DELAY(),o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"";if(!t)throw Error("A url must be given!");d._removeExistingOffCanvas();let l=d._createOffCanvas(s,o,a,r);this.setContent(t,e,n,r,i),d._openOffcanvas(l)}static setContent(t,e,n,s,r){let i=new h;super.setContent('<div class="offcanvas-body">'.concat(p.getTemplate(),"</div>"),s,r),b&&b.abort();let o=t=>{super.setContent(t,s,r),"function"==typeof n&&n(t)};b=e?i.post(t,e,v.executeCallback.bind(this,o)):i.get(t,v.executeCallback.bind(this,o))}static executeCallback(t,e){"function"==typeof t&&t(e),window.PluginManager.initializePlugins()}}let m="element-loader-backdrop";class _ extends p{static create(t){t.classList.add("has-element-loader"),_.exists(t)||(_.appendLoader(t),setTimeout(()=>{let e=t.querySelector(".".concat(m));e&&e.classList.add("element-loader-backdrop-open")},1))}static remove(t){t.classList.remove("has-element-loader");let e=t.querySelector(".".concat(m));e&&e.remove()}static exists(t){return t.querySelectorAll(".".concat(m)).length>0}static getTemplate(){return'\n <div class="'.concat(m,'">\n <div class="loader" role="status">\n <span class="').concat("visually-hidden",'">Loading...</span>\n </div>\n </div>\n ')}static appendLoader(t){t.insertAdjacentHTML("beforeend",_.getTemplate())}}window.router["frontend.cookie.offcanvas"],document.$emitter.subscribe("CookieConfiguration_Update",function(t){void 0!==t.detail.klar_attribution&&t.detail.klar_attribution&&startKlarAttribution()}),window.PluginManager.register("KlarPlugin",class extends o{init(){window._k_debug&&console.log("KlarAttributionPlugin: Initializing cart event tracking"),this._subscribedElements=new WeakSet,this._subscribeToAddToCart(),this._subscribeToListingUpdates()}_subscribeToAddToCart(){try{let t=window.PluginManager.getPluginInstances("AddToCart");if(!t||0===t.length){window._k_debug&&console.log("KlarAttributionPlugin: No AddToCart instances found on this page");return}t.forEach(t=>{let e=t.el||t;!this._subscribedElements.has(e)&&(t.$emitter.subscribe("beforeFormSubmit",this._onAddToCart.bind(this)),this._subscribedElements.add(e),window._k_debug&&console.log("KlarAttributionPlugin: Subscribed to AddToCart instance"))})}catch(t){window._k_debug&&console.error("KlarAttributionPlugin: Error subscribing to AddToCart:",t)}}_subscribeToListingUpdates(){if(!this._listingSubscribed)try{let t=window.PluginManager.getPluginInstances("Listing");if(!t||0===t.length)return;t.forEach(t=>{t.$emitter.subscribe("Listing/afterRenderResponse",async()=>{await window.PluginManager.initializePlugins(),this._subscribeToAddToCart()})}),this._listingSubscribed=!0,window._k_debug&&console.log("KlarAttributionPlugin: Subscribed to Listing updates")}catch(t){window._k_debug&&console.error("KlarAttributionPlugin: Error subscribing to Listing:",t)}}_onAddToCart(t){window._k_debug&&console.log("KlarAttributionPlugin: Add to cart event fired, sending to Klar"),window._k_q=window._k_q||[],window._k_q.push(["Klar:sendUpdateCartEvent",{cartId:window._k_s_id}])}})})()})();
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.