1(()=>{"use strict";var e={857: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 r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s(Array.isArray(e)?[]:{},e,t):e}function i(e,t,n){return e.concat(t).map(function(e){return r(e,n)})}function o(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,n,c){(c=c||{}).arrayMerge=c.arrayMerge||i,c.isMergeableObject=c.isMergeableObject||t,c.cloneUnlessOtherwiseSpecified=r;var u,l,d=Array.isArray(n);return d!==Array.isArray(e)?r(n,c):d?c.arrayMerge(e,n,c):(l={},(u=c).isMergeableObject(e)&&o(e).forEach(function(t){l[t]=r(e[t],u)}),o(n).forEach(function(t){(!a(e,t)||Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))&&(a(e,t)&&u.isMergeableObject(n[t])?l[t]=(function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s})(t,u)(e[t],n[t],u):l[t]=r(n[t],u))}),l)}s.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,n){return s(e,n,t)},{})},e.exports=s}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.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 r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e=n(857),t=n.n(e);class r{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=r.toUpperCamelCase(e,t);return r.lcFirst(n)}static toUpperCamelCase(e,t){return t?e.split(t).map(e=>r.ucFirst(e.toLowerCase())).join(""):r.ucFirst(e.toLowerCase())}static parsePrimitive(e){try{return/^\d+(.|,)\d+$/.test(e)&&(e=e.replace(",",".")),JSON.parse(e)}catch(t){return e.toString()}}}class i{static isNode(e){return"object"==typeof e&&null!==e&&(e===document||e===window||e instanceof Node)}static hasAttribute(e,t){if(!i.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===i.hasAttribute(e,t))throw Error('The required property "'.concat(t,'" does not exist!'));if("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],o=t.replace(/^data(|-)/,""),a=r.toLowerCamelCase(o,"-");if(!i.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[a];if(void 0===s){if(n)throw Error('The required data attribute "'.concat(t,'" does not exist on ').concat(e,"!"));return s}return r.parsePrimitive(s)}static querySelector(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(n&&!i.isNode(e))throw Error("The parent node is not a valid HTML Node!");let r=e.querySelector(t)||!1;if(n&&!1===r)throw Error('The required element "'.concat(t,'" does not exist in parent node!'));return r}static querySelectorAll(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(n&&!i.isNode(e))throw Error("The parent node is not a valid HTML Node!");let r=e.querySelectorAll(t);if(0===r.length&&(r=!1),n&&!1===r)throw Error('At least one item of "'.concat(t,'" must exist in parent node!'));return r}static getFocusableElements(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return e.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 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 o{publish(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=new CustomEvent(e,{detail:t,cancelable:n});return this.el.dispatchEvent(r),r}subscribe(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this,i=e.split("."),o=n.scope?t.bind(n.scope):t;if(n.once&&!0===n.once){let t=o;o=function(n){r.unsubscribe(e),t(n)}}return this.el.addEventListener(i[0],o),this.listeners.push({splitEventName:i,opts:n,cb:o}),!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}constructor(e=document){this._el=e,e.$emitter=this,this._listeners=[]}}class a{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(e){let n=r.toDashCase(this._pluginName),o=i.getDataAttribute(this.el,"data-".concat(n,"-config"),!1),a=i.getAttribute(this.el,"data-".concat(n,"-options"),!1),s=[this.constructor.options,this.options,e];o&&s.push(window.PluginConfigManager.get(this._pluginName,o));try{a&&s.push(JSON.parse(a))}catch(e){throw console.error(this.el),Error('The data attribute "data-'.concat(n,'-options" could not be parsed to json: ').concat(e.message))}return t().all(s.filter(e=>e instanceof Object&&!(e instanceof Array)).map(e=>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}constructor(e,t={},n=!1){if(!i.isNode(e))throw Error("There is no valid element given.");this.el=e,this.$emitter=new o(this.el),this._pluginName=this._getPluginName(n),this.options=this._mergeOptions(t),this._initialized=!1,this._registerInstance(),this._init()}}class s{static iterate(e,t){if(e instanceof Map||Array.isArray(e))return e.forEach(t);if(e instanceof FormData){for(var n of e.entries())t(n[1],n[0]);return}if(e instanceof NodeList)return e.forEach(t);if(e instanceof HTMLCollection)return Array.from(e).forEach(t);if(e instanceof Object)return Object.keys(e).forEach(n=>{t(e[n],n)});throw Error("The element type ".concat(typeof e," is not iterable!"))}}window.PluginManager.register("BilobaAdFacebookPixel",class extends a{init(){this.cookieEnabledName="biloba-facebook-pixel",this.cookieOptOutName="biloba-facebook-pixel-opt-out",this._registerEvents(),this.initialized=!0}_update(){this.init()}_registerEvents(){var e=this;this.initialized||(window.PluginManager.getPluginInstances("AddToCart").forEach(function(t){t.$emitter.subscribe("beforeFormSubmit",function(t){e._onAddToCart(t)})}),window.PluginManager.getPluginInstances("SearchWidget").forEach(function(t){t.$emitter.subscribe("afterSuggest",function(t){e._registerOnSearch(t)})}),document.$emitter.subscribe("CookieConfiguration_Update",this.handleCookies.bind(this))),e._registerPaymentOptionsEventListener(),e._registerViewManufacturer(),e._registerProductCustomized(),e._registerOnSearch(),e._registerOnContact()}checkElementAndValue(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return e?!(n&&void 0!==e.value&&(!e.value||""===e.value.trim()))||(console.log('[BilobaAdFacebookPixel] Element "'.concat(t,'" existiert, aber der Wert ist leer')),!1):(console.log('[BilobaAdFacebookPixel] Folgendes Element fehlt: "'.concat(t,'"')),!1)}handleCookies(e){let t=e.detail;if(t.hasOwnProperty(this.cookieEnabledName)&&t[this.cookieEnabledName]&&!t[this.cookieOptOutName]){window.fbq=null,function(e,t,n,r,i,o,a){e.fbq||(i=e.fbq=function(){i.callMethod?i.callMethod.apply(i,arguments):i.queue.push(arguments)},e._fbq||(e._fbq=i),i.push=i,i.loaded=!0,i.version="2.0",i.queue=[],(o=t.createElement(n)).async=!0,o.src=r,(a=t.getElementsByTagName(n)[0]).parentNode.insertBefore(o,a))}(window,document,"script","https://connect.facebook.net/en_US/fbevents.js",void 0,void 0,void 0),setTimeout(function(){window.fbq&&(window.fbq("init",window.facebookPixelId),window.fbq("track","PageView"))},2e3);return}}_onContact(e){e.checkValidity()&&(window.fbq?this._onContactFire(e):setTimeout(()=>this._onContactFire(e),3e3))}_onContactFire(e){let t=e.getAttribute("action").replace(/\//,"").replace(/\//g,"_");e.checkValidity()&&window.fbq&&window.fbq("trackCustom","Contact",{content_type:t,content_name:t,value:1,currency:window.bilobaFacebookPixelCurrency,contents:[{content_name:t}]})}_registerOnContact(){let e=i.querySelector(document,'form[action*="/form/"]',!1);if(e){let t=i.querySelector(e,'button[type="submit"]',!1);this.uniqueBind(t,"click",this._onContact.bind(this,e))}}_onSearch(e,t){let n=this;window.fbq?n._onSearchFire(e,t):setTimeout(()=>n._onSearchFire(e,t),3e3)}_onSearchFire(e,t){let n;n="suggest"==t?e.getAttribute("title"):e.querySelector(".header-search-input").value,window.fbq&&window.fbq("track","Search",{content_type:"product",search_string:n,value:1,currency:window.bilobaFacebookPixelCurrency})}_registerOnSearch(){var e=this,t=i.querySelectorAll(document,".header-search",!1);t&&s.iterate(t,function(t){if(t){var n=i.querySelectorAll(document,".search-suggest-product-link",!1),r=i.querySelectorAll(document,".header-search-form",!1);r&&s.iterate(r,function(t){t&&e.uniqueBind(t,"submit",e._onSearch.bind(e,t,null))}),!1!=n&&s.iterate(n,function(t){e.uniqueBind(t,"click",e._onSearch.bind(e,t,"suggest"))})}})}_onAddToCart(e){let t=this;window.fbq?t._onAddToCartFire(e):setTimeout(()=>t._onAddToCartFire(e),3e3)}_onAddToCartFire(e){var t=i.querySelector(e.target,'input[name="bit-fbq-id"]',!1),n=i.querySelector(e.target,'input[name="bit-fbq-price"]',!1),r=i.querySelector(e.target,'input[name="bit-fbq-currency"]',!1),o=i.querySelector(e.target,'input[name="bit-fbq-name"]',!1),a=i.querySelector(e.target,'input[name="bit-fbq-context-token"]',!1);this.checkElementAndValue(t,'input[name="bit-fbq-id"]');var s=t.value;this.checkElementAndValue(n,'input[name="bit-fbq-price"]');var c=n.value;this.checkElementAndValue(r,'input[name="bit-fbq-currency"]');var u=r.value;this.checkElementAndValue(o,'input[name="bit-fbq-name"]');var l=o.value;this.checkElementAndValue(a,'input[name="bit-fbq-context-token"]');var d=a.value,h=i.querySelector(e.target,'input[name="bit-fbq-quantity"]',!1)||i.querySelector(e.target,"select.product-detail-quantity-select",!1)||i.querySelector(e.target,'.bit--article-quantity-selector input[name^="lineItems["][name$="[quantity]"]',!1);if(window.fbq){this.checkElementAndValue(h,'input[name="bit-fbq-quantity"]');var b=h.value;window.fbq("track","AddToCart",{content_type:"product",content_ids:[s],content_name:l,value:c,currency:u,contents:[{id:s,item_price:c,item_currency:u,quantity:b}]},{eventID:(s+d).replace('"',"'")})}}_onViewManufacturer(e){let t=this;window.fbq?t._onViewManufacturerFire(e):setTimeout(()=>t._onViewManufacturerFire(e),3e3)}_onViewManufacturerFire(e){var t=i.querySelector(e,'input[name="bit-fbq-manufacturer-id"]',!1),n=i.querySelector(e,'input[name="bit-fbq-manufacturer-name"]',!1);if(this.checkElementAndValue(t,'input[name="bit-fbq-manufacturer-id"]')&&this.checkElementAndValue(n,'input[name="bit-fbq-manufacturer-name"]')){var r=t.value,o=n.value;window.fbq&&window.fbq("trackCustom","ViewManufacturer",{content_type:"manufacturer",content_ids:[r],content_name:o,value:1,currency:window.bilobaFacebookPixelCurrency,contents:[{id:r,content_name:o}]})}}_registerViewManufacturer(){var e=i.querySelector(document,".product-detail-manufacturer-link",!1);if(!1!=e){var t=i.querySelector(document,".product-detail",!1);if(!1!=t)this.uniqueBind(e,"click",this._onViewManufacturer.bind(this,t));else{var n=i.querySelector(document,".cms-page",!1);this.uniqueBind(e,"click",this._onViewManufacturer.bind(this,n))}}}_onProductCustomized(e){let t=this;window.fbq?t._onProductCustomizedFire(e):setTimeout(()=>t._onProductCustomizedFire(e),3e3)}_onProductCustomizedFire(e){var t=e.getAttribute("title"),n=e.getAttribute("for");window.fbq&&window.fbq("trackCustom","CustomizeProduct",{content_type:"customizedProduct",value:1,content_name:t,currency:window.bilobaFacebookPixelCurrency,content_ids:[n],contents:[{id:n,content_name:t}]})}_registerProductCustomized(){var e=this,t=i.querySelectorAll(document,".product-detail-configurator-option-label",!1);!1!=t&&s.iterate(t,function(t){e.uniqueBind(t,"click",e._onProductCustomized.bind(e,t))})}_registerCheckoutProgressEventListener(){var e=i.querySelector(document,".register-form",!1);!1!=e&&this.uniqueBind(e,"submit",this._onCheckoutProgress)}_onPaymentOption(e){let t=this;window.fbq?t._onPaymentOptionFire(e):setTimeout(()=>t._onPaymentOptionFire(e),3e3)}_onPaymentOptionFire(e){window.fbq&&window.fbq("track","AddPaymentInfo",{content_type:"product",checkout_option:e,currency:window.bilobaFacebookPixelCurrency,value:window.bilobaFacebookPixelCartValue})}_registerPaymentOptionsEventListener(){var e=this,t=document.getElementById("changePaymentForm");t&&t.addEventListener("change",function(n){var r=n.target;if(r.classList.contains("payment-method-input")){var i=t.querySelector('label[for="'.concat(r.id,'"]'));if(i){var o=i.querySelector(".payment-method-description strong");o&&e._onPaymentOption.bind(e,o.textContent)()}}})}
1uniqueBind(e,t,n){var r=e.getAttribute("id");r||(r="_"+Math.random().toString(36).substr(2,9),e.setAttribute("id",r)),this.listeners=this.listeners||{},this.listeners[r]=this.listeners[r]||{},this.listeners[r][t]&&e.removeEventListener(t,this.listeners[r][t]),this.listeners[r][t]=n,e.addEventListener(t,n)}})})()})();
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.