var _laola1;!function(){"use strict";var e,t,n,r,o={3909:function(e,t){function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(arguments.length>1)return Promise.all(Array.prototype.slice.call(arguments).map(e));var r=u(t);return new Promise((function(e,o){if(l(t)&&t.url||r){r&&(t={url:t}),t=Object.assign({},v,t);var i=c(t);if(i){var a,u,p=s(t),m=t.removeScript;if(t.callBackName||t.jsonp){var b=y(t),h=(u=3,function(e){if(Array.isArray(e))return e}(a=b)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}}(a,u)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(a,u)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),g=h[0],w=h[1],S=h[2];t.url=g,w[S]=function(n){delete w[S],d(m,i,p),f(t),e(n||m?void 0:p)}}else p.addEventListener("load",(function(){d(m,i,p),f(t),e(m?void 0:p)}));p.addEventListener("error",(function(){i.removeChild(p),o("Error: loading script")})),p.src=t.url,i.appendChild(p)}else o("Error: no DOM element to append script")}else o("Error: object with url or url string needed")}))};var r=window,o="_$_".concat("simpleLoadScript","CallBacks_$_"),i=0,a=function(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()},l=function(e){return"object"===a(e)},u=function(e){return"string"===a(e)},c=function(e){return e.insertInto?document.querySelector(e.insertInto):e.inBody?document.body:document.head},s=function(e){var t=document.createElement("script");if(e.attrs&&l(e.attrs))for(var n=0,r=Object.keys(e.attrs);n<r.length;n++){var o=r[n];t.setAttribute(o,e.attrs[o])}return t},f=function(e){e.callBack&&"function"===a(e.callBack)&&e.callBack()},d=function(e,t,n){e&&t.removeChild(n)},y=function(e){var t=e.callBackName;return[e.url,t?r:(r[o]=l(r[o])?r[o]:{},r[o]),t||"script-".concat(i++)]},v={jsonp:!1,callBackParamName:"callback",removeScript:!1,callBackName:null};e.exports=t.default},7040:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(3909),o=n.n(r),i=JSON.parse('{"desktop":{"home":{"medium_rectangle":{"6055":"7525797"},"pres_cad":{"6055":"7525797"},"meldungen_mobile_ad":{"6055":"7525797"},"meldung1":{"6055":"7525797"},"meldung2":{"6055":"7525797"},"meldung3":{"6055":"7525797"},"skyscraper":{"3484":"7525857","9758":"7525859"},"superbanner":{"664":"7525861"},"wettbanner":{"664":"7525861"},"billboard":{"8598":"7525863"},"skyscraper_left":{"7525759":"14529410","7525759 ":"14529401"}},"default":{"medium_rectangle":{"49":"7525856"},"pres_cad":{"49":"7525856"},"meldungen_mobile_ad":{"49":"7525856"},"meldung1":{"49":"7525856"},"meldung2":{"49":"7525856"},"meldung3":{"49":"7525856"},"skyscraper":{"115":"7525860","1552":"7525858"},"superbanner":{"7001":"7525862"},"wettbanner":{"7001":"7525862"},"billboard":{"7261":"7525864"},"skyscraper_left":{"7525759":"14529405","7525759 ":"14529398"}}},"mobile":{"home":{"superbanner":{"4688":"7525803","6340":"7525866"},"medium_rectangle":{"4623":"7525868","7525759":"8979298"}},"default":{"superbanner":{"1860":"7525867","9636":"7525865"},"medium_rectangle":{"8786":"7525869","7525759":"8979255"},"meldungen_mobile_ad":{"8786":"7525869","7525759":"8979255"},"meldung1":{"8786":"7525869"},"meldung2":{"8786":"7525869"},"meldung3":{"8786":"7525869"},"amp_banner":{"1860":"7525867","9636":"7525865"},"amp_content":{"8786":"7525869"}}}}'),a=n(1883);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==l(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===l(i)?i:String(i)),r)}var o,i}var c=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),window.l1Ads=this}var t,n,r;return t=e,n=[{key:"init",value:function(e){"hermann.laola1.at"!==window.location.host&&(this.renderQueue=[],this.isRendering=!1,this.tcString=e,this.screenWidth=window.initialWidth,this.registerAllAds())}},{key:"loadAditionScripts",value:function(){var e=this;return this.loadPromise||(this.loadPromise=Promise.all([this.loadSrpScript(),this.loadAutScript()]).then((function(){return e.initAditionScript()})).then((function(){e.loadPromise=new Promise((function(e){return e()}))}))),this.loadPromise}},{key:"loadSrpScript",value:function(){return o()({url:"https://imagesrv.adition.com/js/srp.js",callbackName:"adition"})}},{key:"loadAutScript",value:function(){return o()({url:"https://imagesrv.adition.com/js/aut.js?ts="+Date.now(),callbackName:"adition_aut"})}},{key:"initAditionScript",value:function(){var e=this;return new Promise((function(t){window.adition.srq.push((function(n){e.aditionApi=n,window.aditionApi=n,e.aditionApi.keepSiteContext(!0),e.setGdprConsent(),e.registerAndSetProfiles(i),t()}))}))}},{key:"registerAndSetProfiles",value:function(e){var t=this.screenWidth<640,n=this.screenWidth<1310,r=t?"mobile":n?"tablet":"desktop",o=window.location.href.endsWith("/de/");this.aditionApi.registerAdfarm("ad1.adfarm1.adition.com").setProfile("screenwidth",""+this.screenWidth).setProfile("device",r),this.yieldLabConfig=o?t?e.mobile.home:e.desktop.home:t?e.mobile.default:e.desktop.default}},{key:"registerAllAds",value:function(){var e=this;(arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).querySelectorAll(".ad-container").forEach((function(t){t.dataset.loaded||(t.dataset.loaded="1",e.registerAd(t))}))}},{key:"registerAd",value:function(e){var t=this;if(e){var n=window.laola1AditionJsonV2[e.id];n&&this.shouldBeLoaded(e,n)&&new a.Z(e,200).then((function(){t.loadAditionScripts().then((function(){t.addToRenderQueue(e,n)}))}))}}},{key:"shouldBeLoaded",value:function(e,t){var n="none"!==window.getComputedStyle(e).getPropertyValue("display"),r=t.adId&&!isNaN(t.adId);return n&&r}},{key:"renderVisibleAd",value:function(e,t){var n=this,r=parseInt(t.adId),o=e.id;this.configureYieldLab(e,r),this.aditionApi.configureRenderSlot(o).setContentunitId(r),this.aditionApi.renderSlot(o),this.aditionApi.load([o]).completeRendering(),this.isRendering=!0,this.aditionApi.events.onPostRender((function(){n.isRendering=!1,n.continueRenderQueue(),console.log("finished rendering ad for: "+o+"("+r+")")})),this.aditionApi.events.onNoBanner((function(){n.isRendering=!1,n.continueRenderQueue(),console.log("no ad-banner for: "+o+"("+r+")")}))}},{key:"configureYieldLab",value:function(e,t){var n=this.yieldLabConfig[e.id];if(n)for(var r in n)this.aditionApi.modules.configureModule("yieldlab").mapContentunit(t,parseInt(n[r]),parseInt(r)).enable()}},{key:"setReloadInterval",value:function(e,t){var n=this;t.intervall&&t.reloads&&(t.intervall=parseInt(t.intervall),t.reloads=parseInt(t.reloads),t.reloadInterval=setInterval((function(){0!==t.reloads?"visible"===document.visibilityState&&n.shouldBeLoaded(e,t)&&(t.reloads--,n.aditionApi.reload([e.id]),console.log("reload: "+e.id)):clearInterval(t.reloadInterval)}),1e3*t.intervall))}},{key:"setGdprConsent",value:function(){this.tcString&&this.aditionApi.consentService.setGdprConsent(this.tcString).setGdpr(1).setGdprPd(1)}},{key:"addToRenderQueue",value:function(e,t){this.renderQueue.push([e,t]),this.isRendering||this.continueRenderQueue()}},{key:"continueRenderQueue",value:function(){if(this.renderQueue.length){var e=this.renderQueue.shift();this.renderVisibleAd(e[0],e[1]),this.setReloadInterval(e[0],e[1])}}}],n&&u(t.prototype,n),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()},4930:function(e,t,n){n.d(t,{Z:function(){return u}});var r=n(3758),o=n(1883);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,a=void 0,a=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===i(a)?a:String(a)),r)}var o,a}var l={form:function(){return Promise.all([n.e(271),n.e(50)]).then(n.bind(n,8050))},l1form:function(){return Promise.all([n.e(271),n.e(186),n.e(927)]).then(n.bind(n,3496))},socialWall:function(){return n.e(337).then(n.bind(n,2337))},epg:function(){return n.e(335).then(n.bind(n,2335))},calendar:function(){return n.e(425).then(n.bind(n,4425))},overlay:function(){return n.e(196).then(n.bind(n,5196))},livepage:function(){return Promise.all([n.e(369),n.e(491)]).then(n.bind(n,6491))},videopage:function(){return Promise.all([n.e(369),n.e(238)]).then(n.bind(n,8238))},tablesorter:function(){return n.e(501).then(n.bind(n,501))},tagsearch:function(){return n.e(432).then(n.bind(n,9432))},diashow:function(){return n.e(502).then(n.bind(n,1502))},reactions:function(){return n.e(931).then(n.bind(n,2931))}},u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i;return t=e,n=[{key:"init",value:function(){var e=this;(arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).querySelectorAll("[data-module]").forEach((function(t){var n=t.dataset.module;if(t.dataset.loadModuleOn){var r=t.dataset.loadModuleOn.split(","),i=function o(){e.initLazyModule(l[n],t),r.forEach((function(e){t.removeEventListener(e,o)}))};r.forEach((function(e){"scroll"!==e?t.addEventListener(e,i):new o.Z(t,100).then(i)}))}else e.initLazyModule(l[n],t)}))}},{key:"initLazyModule",value:function(e,t){var n;if(e&&!t.dataset.loaded)return t.dataset.loaded="1",void 0!==t.dataset.loader&&(n=new r.Z(t,{after:!0})),e().then((function(e){(new e.default).init(t),t.classList.remove("hidden"),n&&n.stop()}))}}],n&&a(t.prototype,n),i&&a(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}()},4460:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===r(a)?a:String(a)),o)}var i,a}n.d(t,{Z:function(){return i}});var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"init",value:function(){var e=this;document.querySelectorAll(".css-slider").forEach((function(t){t.dataset.init||(t.dataset.init="1",e.initSlider(t),e.addScrollListener(t))}))}},{key:"initSlider",value:function(e){var t=e.parentElement.querySelector(".swiper-next"),n=e.parentElement.querySelector(".swiper-prev");if(t&&t.addEventListener("click",(function(){e.scrollLeft+=e.querySelector("*").offsetWidth})),n&&n.addEventListener("click",(function(){e.scrollLeft-=e.querySelector("*").offsetWidth})),t&&n){var r=!1,o=!1,i=function(){r=e.scrollLeft+e.clientWidth<e.scrollWidth-5,o=e.scrollLeft>=5,t.style.display=r?"":"none",n.style.display=o?"":"none"};e.addEventListener("scroll",(function(){i()})),i()}}},{key:"addScrollListener",value:function(e){var t={x:0,y:0},n=!1,r=5,o=0,i=0,a=function(e){e.preventDefault()},l=function t(){e.style["scroll-behavior"]="auto",requestAnimationFrame((function(){if(Math.abs(r)<.5)return r=0,void e.style.removeProperty("scroll-behavior");r*=.95,e.scrollLeft=e.scrollLeft+r,t()}))},u=function(r){o=i;var a=(i=r.clientX)-t.x;!n&&Math.abs(a)>20?(n=!0,e.style["pointer-events"]="none",e.style["scroll-behavior"]="auto",e.style["scroll-snap-type"]="none",e.classList.remove("snap")):e.scrollLeft=t.left-a},c=function t(i){n=!1,document.removeEventListener("mousemove",u),document.removeEventListener("mouseup",t),e.removeEventListener("dragstart",a),e.style.removeProperty("pointer-events"),e.style.removeProperty("scroll-behavior"),e.style.removeProperty("scroll-snap-type"),o&&(r=o-i.clientX,l())};e.addEventListener("mousedown",(function(n){t={left:e.scrollLeft,x:n.clientX},document.addEventListener("mousemove",u),document.addEventListener("mouseup",c),e.addEventListener("dragstart",a),r=0,o=0}))}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()},542:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===r(a)?a:String(a)),o)}var i,a}n.d(t,{Z:function(){return i}});var i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.jsonPath=t}var t,n,r;return t=e,(n=[{key:"init",value:function(e){this.callback=e,this.addTagNavigation()}},{key:"addTagNavigation",value:function(){var e=this,t=document.getElementById("tags");t&&this.loadAllTags(t).then((function(){var n=t.querySelector(".smart-filter"),r=e.getWindowTagId();if(r){var o=e.findTag(parseInt(r),e.allTags);e.loadFilter(n,o)}else e.loadFilter(n)}))}},{key:"getWindowTagId",value:function(){var e=new URLSearchParams(window.location.search).get("tagId");return e?parseInt(e):null}},{key:"createFilterElement",value:function(e,t){var n=document.createElement("li");return n.classList.add("filter-button"),n.classList.add("snap"),n.textContent=e.title,t.appendChild(n),e.element=n,n}},{key:"loadAllTags",value:function(e){var t=this,n="/templates/generated/1/json/"+this.jsonPath;return fetch(n).then((function(e){return e.json()})).then((function(n){t.allTags=n.tags,t.keepOnlyIncludedTags(e),t.removeExcludedTags(e),t.allTags.forEach((function(e){t.setParents(e)}))}))}},{key:"setParents",value:function(e){var t=this;(e.children||[]).forEach((function(n){n.parent=e,t.setParents(n)}))}},{key:"loadFilter",value:function(e,t){var n=this;e.innerHTML="";var r=t?t.children||[]:this.allTags;this.showParentTag(e,t),r.forEach((function(t){n.createFilterElement(t,e).addEventListener("click",(function(){n.triggerCallback(e,t),e.scrollLeft=t.element.offsetLeft}))}))}},{key:"showParentTag",value:function(e,t){var n=this;if(t){t.parent&&this.showParentTag(e,t.parent);var r=this.createFilterElement(t,e);r.classList.add("active"),r.addEventListener("click",(function(){n.triggerCallback(e,t.parent)}))}}},{key:"setWindowTagId",value:function(e){var t,n=new URLSearchParams(window.location.search);n.set("tagId",e),e||n.delete("tagId"),t=n.toString()?window.location.href.split("?")[0]+"?"+n.toString():window.location.href.split("?")[0],window.history.replaceState({},"",t)}},{key:"findTag",value:function(e,t){var n;for(var r in t){if(t[r].id==e)return t[r];if(t[r].children&&(n=this.findTag(e,t[r].children)))return n}return null}},{key:"triggerCallback",value:function(e,t){var n=this;this.isLoading;var r=t?t.id:"";this.setWindowTagId(r),this.loadFilter(e,t),this.isLoading=!0,this.callback(r).finally((function(){n.isLoading=!1}))}},{key:"keepOnlyIncludedTags",value:function(e){var t=this,n=e.dataset.includedTagIds;if(n){var r=[];n.split(",").forEach((function(e){var n=t.keepNodeById(t.allTags,parseInt(e));void 0!==n&&r.push(n)})),this.allTags=r}}},{key:"keepNodeById",value:function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.id===t)return r;var o=this.keepNodeById(r.children||[],t);if(o)return o}}},{key:"removeExcludedTags",value:function(e){var t=this,n=e.dataset.excludedTagIds;n&&n.split(",").forEach((function(e){t.deleteNodeById(t.allTags,parseInt(e))}))}},{key:"deleteNodeById",value:function(e,t){var n=this;e.forEach((function(r,o){r.id!==t?n.deleteNodeById(r.children||[],t):e.splice(o,1)}))}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()},189:function(e,t,n){n(3909)},1369:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(3758),o=n(1883),i=(n(189),n(4460)),a=n(7040),l=n(4930);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==u(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===u(i)?i:String(i)),r)}var o,i}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,u;return t=e,n=[{key:"init",value:function(){var e=this;document.querySelectorAll("[data-contel-page-id]").forEach((function(t){e.addContainerEvents(t)}))}},{key:"addContainerEvents",value:function(e){var t=this,n=e.dataset.on;n&&("click"===n&&e.addEventListener("click",(function(){t.fetchAjax(e)})),"scroll"===n&&new o.Z(e).then((function(){t.fetchAjax(e,!0,n)})),"instant"===n&&this.fetchAjax(e,!0,n),delete e.dataset.on)}},{key:"fetchAjax",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="/ajax.php?"+new URLSearchParams(e.dataset);e=this.findHtmlContainer(e);var u=this.showLoader(e),c=e.parentElement;return fetch(o).then((function(e){return e.json()})).then((function(r){var o=void 0!==e.dataset.script;n?e.outerHTML=r.html:e.innerHTML=r.html,o&&t.executeScripts(c),t.init()})).finally((function(){u&&u.stop(),"click"===r&&window.piwikLayer&&window.piwikLayer.push({event:"jspageview",event_key:"contentWithJs"}),(new i.Z).init(),(new a.Z).registerAllAds(c),(new l.Z).init(c)}))}},{key:"findHtmlContainer",value:function(e){for(var t=e;t;){if(t.classList&&t.classList.contains("fe-ajax-container"))return t;t=t.parentElement}return e}},{key:"showLoader",value:function(e){if(void 0===e.dataset.noLoader){var t=new r.Z(e,{after:!0});return e.innerHTML="",t}}},{key:"executeScripts",value:function(e){e.querySelectorAll("script").forEach((function(e){var t=document.createElement("script");t.innerHTML=e.innerHTML,document.head.appendChild(t)}))}}],n&&c(t.prototype,n),u&&c(t,u),Object.defineProperty(t,"prototype",{writable:!1}),e}()},5741:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(1883);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,o;return t=e,n=[{key:"init",value:function(){this.lazyLoad(document.body,100)}},{key:"lazyLoad",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:150,n=e.querySelectorAll("img[data-src]");n[0]&&new r.Z(n,t).then((function(e){e.dataset.src&&(e.src=e.dataset.src,delete e.dataset.src),e.dataset.srcset&&(e.srcset=e.dataset.srcset,delete e.dataset.srcset)}))}}],n&&i(t.prototype,n),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}()},3758:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===r(a)?a:String(a)),o)}var i,a}n.d(t,{Z:function(){return i}});var i=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.loader=document.createElement("DIV"),this.loader.classList.add("loader"),this.loader.classList.add("full-width"),n.center&&this.loader.classList.add("center"),n.after?t.parentNode.insertBefore(this.loader,t):t.appendChild(this.loader),n.white&&this.loader.classList.add("white")}var t,n,r;return t=e,(n=[{key:"stop",value:function(){this.loader.remove()}},{key:"stopAll",value:function(){document.querySelectorAll(".loader").forEach((function(e){e.remove()}))}},{key:"insertAfter",value:function(e){this.loader.insertAdjacentHTML("afterend",e)}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()},1883:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===r(a)?a:String(a)),o)}var i,a}n.d(t,{Z:function(){return i}});var i=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t,this.tolerance=n}var t,n,r;return t=e,(n=[{key:"then",value:function(e){return"IntersectionObserver"in window?this.createIntersectionObserver(this.element,this.tolerance,e):this.isArray(this.element)?void this.element.forEach((function(t){e(t)})):this.createScollingObserver(this.element,this.tolerance,e)}},{key:"createIntersectionObserver",value:function(e,t,n){var r=new IntersectionObserver((function(e,t){e.forEach((function(e){e.isIntersecting&&(t.unobserve(e.target),n(e.target))}))}),{rootMargin:t+"px"});this.isArray(e)?e.forEach((function(e){r.observe(e)})):r.observe(e)}},{key:"createScollingObserver",value:function(e,t,n){var r=this.getYPosition,o=function o(){var i=(document.scrollingElement||document.documentElement).scrollTop+window.innerHeight,a=r(e);i+t>=a&&null!==e.offsetParent&&(window.removeEventListener("scroll",o),n())};window.addEventListener("scroll",o),o()}},{key:"getYPosition",value:function(e){for(var t=0;e&&"html"!==(e.tagName||"").toLowerCase();)t+=e.offsetTop||0,e=e.offsetParent;return parseInt(t,10)}},{key:"isArray",value:function(e){return e[0]&&e.forEach}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()},5311:function(e){e.exports=jQuery}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=o,a.amdD=function(){throw new Error("define cannot be used indirect")},a.amdO={},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=function(e){return Promise.all(Object.keys(a.f).reduce((function(t,n){return a.f[n](e,t),t}),[]))},a.u=function(e){return"js/build/"+(448===e?"postings":e)+"_"+{50:"b691192ef6f13629a5a4",186:"fe91cd4fa33cfb7b7415",196:"8eb0f958b44f09e8d24c",238:"35764eb044b4ea6f3b5f",271:"523e6389663ac81a591b",335:"fae4b4acf73384146fc9",337:"eb96c95b8b7bf74b3e5e",369:"2a3f8057d9df9ca87975",425:"626c9614591fbad502d2",432:"b9ae62c99989581987af",448:"a051212029d6b8c1d554",491:"ffa30f49306be97585cc",501:"225327afc6d951618adb",502:"633d0fb6b57455238b53",927:"6db27af9b81283c2148b",931:"ccce25fb3fe09b570363"}[e]+".js"},a.miniCssF=function(e){return"css/build/"+e+"_"+{50:"04bcd282330ccda84378",271:"4128145633c7f3b91475",335:"0c6babdd51dc45b4b162",337:"010e5de926a3744779cd",927:"04bcd282330ccda84378"}[e]+".css"},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e={},t="_laola1:",a.l=function(n,r,o,i){if(e[n])e[n].push(r);else{var l,u;if(void 0!==o)for(var c=document.getElementsByTagName("script"),s=0;s<c.length;s++){var f=c[s];if(f.getAttribute("src")==n||f.getAttribute("data-webpack")==t+o){l=f;break}}l||(u=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,a.nc&&l.setAttribute("nonce",a.nc),l.setAttribute("data-webpack",t+o),l.src=n),e[n]=[r];var d=function(t,r){l.onerror=l.onload=null,clearTimeout(y);var o=e[n];if(delete e[n],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((function(e){return e(r)})),t)return t(r)},y=setTimeout(d.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=d.bind(null,l.onerror),l.onload=d.bind(null,l.onload),u&&document.head.appendChild(l)}},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},a.p="/?proxy=",n=function(e){return new Promise((function(t,n){var r=a.miniCssF(e),o=a.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var o=(a=n[r]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var i=document.getElementsByTagName("style");for(r=0;r<i.length;r++){var a;if((o=(a=i[r]).getAttribute("data-href"))===e||o===t)return a}}(r,o))return t();!function(e,t,n,r){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onerror=o.onload=function(i){if(o.onerror=o.onload=null,"load"===i.type)n();else{var a=i&&("load"===i.type?"missing":i.type),l=i&&i.target&&i.target.href||t,u=new Error("Loading CSS chunk "+e+" failed.\n("+l+")");u.code="CSS_CHUNK_LOAD_FAILED",u.type=a,u.request=l,o.parentNode.removeChild(o),r(u)}},o.href=t,document.head.appendChild(o)}(e,o,t,n)}))},r={658:0,271:0,369:0},a.f.miniCss=function(e,t){r[e]?t.push(r[e]):0!==r[e]&&{50:1,271:1,335:1,337:1,927:1}[e]&&t.push(r[e]=n(e).then((function(){r[e]=0}),(function(t){throw delete r[e],t})))},function(){var e={658:0,271:0,369:0};a.f.j=function(t,n){var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(271!=t){var o=new Promise((function(n,o){r=e[t]=[n,o]}));n.push(r[2]=o);var i=a.p+a.u(t),l=new Error;a.l(i,(function(n){if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;l.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",l.name="ChunkLoadError",l.type=o,l.request=i,r[1](l)}}),"chunk-"+t,t)}else e[t]=0};var t=function(t,n){var r,o,i=n[0],l=n[1],u=n[2],c=0;if(i.some((function(t){return 0!==e[t]}))){for(r in l)a.o(l,r)&&(a.m[r]=l[r]);if(u)u(a)}for(t&&t(n);c<i.length;c++)o=i[c],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunk_laola1=self.webpackChunk_laola1||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var l={};!function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(i=o.key,a=void 0,a=function(t,n){if("object"!==e(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,n||"default");if("object"!==e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(i,"string"),"symbol"===e(a)?a:String(a)),o)}var i,a}var n=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var n,r,o;return n=e,(r=[{key:"addNodeListForeach",value:function(){NodeList.prototype.forEach||(NodeList.prototype.forEach=function(e,t){if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=this;t=t||this;for(var r=0,o=n.length;r!==o;++r)e.call(t,n[r],r,n)})}}])&&t(n.prototype,r),o&&t(n,o),Object.defineProperty(n,"prototype",{writable:!1}),e}(),r=a(4930);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}var l=function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),document.addEventListener("DOMContentLoaded",(function(){(new n).addNodeListForeach(),r.init(t)}))}var t,o,a;return t=e,(o=[{key:"init",value:function(e){window.initialWidth=window.innerWidth,this.loadDarkMode(),this.initEach(e),(new r.Z).init()}},{key:"initEach",value:function(e){e.forEach((function(e){try{(new e).init()}catch(e){console.error(e)}}))}},{key:"loadDarkMode",value:function(){var e=document.getElementById("toggleDarkMode");e&&e.addEventListener("click",(function(){document.body.classList.toggle("dark-mode"),window.localStorage.darkMode=document.body.classList.contains("dark-mode")?"1":"0"}))}}])&&i(t.prototype,o),a&&i(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();function u(){return new Promise((function(e,t){var n=document.createElement("script");n.src="https://login.laola1.at/auth/authenticator.js",n.addEventListener("load",(function(){e(new window.authenticator)})),n.addEventListener("error",t),document.head.appendChild(n)}))}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===c(i)?i:String(i)),r)}var o,i}var f=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,n=[{key:"init",value:function(){this.header=document.querySelector("header"),this.nav=document.querySelector(".meta-nav"),this.hideNavigationOnScroll(),this.setProgressBar(),this.addPageLeaveEvent(),this.nav&&(this.countNews(),this.countUnreadNotifications())}},{key:"getTimestamp",value:function(){var e=window.localStorage.getItem("news_timestamp");return e?parseInt(e):this.setTimestamp()}},{key:"setTimestamp",value:function(){var e=Math.round((new Date).getTime()/1e3);return window.localStorage.setItem("news_timestamp",e),e}},{key:"countNews",value:function(){var e=this;fetch("/templates/generated/1/json/news_feed_cta.json").then((function(e){return e.json()})).then((function(t){e.showNewsCounter(t)}))}},{key:"showNewsCounter",value:function(e){window.location.pathname.startsWith("/de/sportdaten/news/")&&this.setTimestamp();var t=this.getTimestamp(),n=e.news.filter((function(e){return e>=t})),r=this.nav.querySelector(".indicator");if(n.length>0){var o=document.createElement("span");r.appendChild(o),n.length<100?o.innerHTML=n.length.toString():o.innerHTML="99+"}this.liveCounter(e.live)}},{key:"liveCounter",value:function(e){if(e){var t=this.nav.querySelector(".indicator.live");if(t){var n=document.createElement("span");t.appendChild(n),n.textContent=e}}}},{key:"hideNavigationOnScroll",value:function(){var e=this,t=!0,n=0,r=0;window.addEventListener("scroll",(function(){if(r+=n-window.scrollY,n=window.scrollY,r<-10){if(r=0,!t)return;t=!1,e.header&&e.header.classList.add("hide"),e.nav&&e.nav.classList.add("hide")}if(r>200){if(r=0,t)return;t=!0,e.header&&e.header.classList.remove("hide"),e.nav&&e.nav.classList.remove("hide")}}),{passive:!0})}},{key:"setProgressBar",value:function(){var e=document.getElementById("progress-bar"),t=document.querySelector("article")||document.body,n=window.innerHeight;e&&window.addEventListener("scroll",(function(){e.style.width=window.scrollY/(t.offsetHeight-n)*100+"%"}),{passive:!0})}},{key:"addPageLeaveEvent",value:function(){var e=document.querySelector("main");window.addEventListener("beforeunload",(function(t){window.addEventListener("pageshow",(function(t){t.persisted&&(e.style.filter="")})),e.style.filter="opacity(0.5)"}))}},{key:"countUnreadNotifications",value:function(){var e=this;if(-1!==document.cookie.indexOf("cognito.username")){var t,n=this.getLocalCache();!n||this.isCacheExpired(n.timestamp)?u().then((function(e){return(t=e).verifySession()})).then((function(){var e=window.ids.url+"postings/api/me/notifications/count";return t.fetchJson(e)})).then((function(t){e.setLocalCache(t.count),e.showUnreadNotificationsCount(t.count)})).catch((function(e){console.log("not logged in",e)})):this.showUnreadNotificationsCount(n.count)}}},{key:"showUnreadNotificationsCount",value:function(e){if(e&&0!==e){var t=this.header.querySelector(".login-wrapper");t.style.position="relative";var n=document.createElement("a");t.appendChild(n),n.href="/de/s/login/benachrichtigungen/",n.classList.add("notification-counter"),n.textContent=e.toString()}}},{key:"setLocalCache",value:function(e){var t={count:e};t.timestamp=(new Date).getTime(),window.localStorage.setItem("notificationsCache",JSON.stringify(t))}},{key:"getLocalCache",value:function(){var e=window.localStorage.getItem("notificationsCache");return JSON.parse(e)}},{key:"isCacheExpired",value:function(e){return(new Date).getTime()-e.timestamp>3e5}}],n&&s(t.prototype,n),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),d=a(5741),y=a(4460),v=a(1369);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==p(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===p(i)?i:String(i)),r)}var o,i}var b=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.img=t,this.text=n,this.id=r,this.classList=o,this.banner=this.createBanner(i)}var t,n,r;return t=e,n=[{key:"createBanner",value:function(e){var t=document.createElement("DIV");return t.className="sticky-banner hide-on-desktop "+this.classList,t.id=this.id,e?(t.innerHTML=this.img+"<div class='sticky-close'><i class='ico-close'></i></div>"+this.text,document.querySelector("body").appendChild(t),t.querySelector(".sticky-close").addEventListener("click",function(e){e.stopPropagation(),this.destroy()}.bind(this)),t):(t.textContent=this.text,document.querySelector("body").appendChild(t),t)}},{key:"show",value:function(){var e=this;setTimeout((function(){e.banner.style.transform="translate(0px, 0px)"}),arguments.length>0&&void 0!==arguments[0]?arguments[0]:500)}},{key:"hide",value:function(){var e=this;setTimeout((function(){e.banner.style.transform=""}),arguments.length>0&&void 0!==arguments[0]?arguments[0]:500)}},{key:"destroy",value:function(){this.banner.remove()}},{key:"addEventListener",value:function(e,t){this.banner.addEventListener(e,t)}}],n&&m(t.prototype,n),r&&m(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==h(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===h(i)?i:String(i)),r)}var o,i}var w=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"init",value:function(){this.checkOnlineStatus(),window.addEventListener("load",function(e){!1===window.navigator.onLine&&this.goOffline()}.bind(this))}},{key:"checkOnlineStatus",value:function(){window.addEventListener("online",this.goOnline.bind(this)),window.addEventListener("offline",this.goOffline.bind(this))}},{key:"goOnline",value:function(){this.offlineBanner&&this.offlineBanner.hide()}},{key:"goOffline",value:function(){this.addOfflineButton(),this.offlineBanner.show()}},{key:"addOfflineButton",value:function(){this.offlineBanner||(this.offlineBanner=new b("","OFFLINE","offline-banner"))}}])&&g(t.prototype,n),r&&g(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}function k(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==S(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==S(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===S(i)?i:String(i)),r)}var o,i}var j=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"init",value:function(){"serviceWorker"in navigator&&this.startPWA()}},{key:"startPWA",value:function(){this.registerServiceWorker(),this.isOnMobile()&&(this.replaceLinksForInterstitial(),(new w).init(),window.L1PWA=this)}},{key:"registerServiceWorker",value:function(){window.addEventListener("load",(function(){navigator.serviceWorker.register("/?proxy=l122/modules/ProgressiveWebApp/service-worker.js").then((function(e){console.log("ServiceWorker registration successful with scope: ",e.scope)}),(function(e){console.log("ServiceWorker registration failed: ",e)}))}))}},{key:"isHomeScreen",value:function(){return new URL(window.location.href).pathname.endsWith("/de/")}},{key:"replaceLinksForInterstitial",value:function(){if(this.isInStandaloneMode()&&window.laola1AditionJsonV2.Splashscreen_1){var e=document.querySelectorAll(".teaser2 a");e.length&&!this.hasSeenInterstitial()&&e.forEach((function(e){if(!(e.href.includes("#")||Math.random()<.67)){var t=encodeURIComponent(e.href);e.rel="no-follow",e.href="/de/s/interstitial/#"+t}}))}}},{key:"hasSeenInterstitial",value:function(){try{var e=window.localStorage.getItem("interstitial");return(new Date).getTime()<parseInt(e)}catch(e){return!0}}},{key:"getDomain",value:function(){var e=document.domain.split(".");return e[e.length-2]+"."+e[e.length-1]}},{key:"removeServiceWorker",value:function(){navigator.serviceWorker.getRegistrations().then((function(e){var t,n=k(e);try{for(n.s();!(t=n.n()).done;)t.value.unregister()}catch(e){n.e(e)}finally{n.f()}}))}},{key:"isOnMobile",value:function(){return window.innerWidth<640}},{key:"isInStandaloneMode",value:function(){return window.navigator.standalone||window.matchMedia("(display-mode: standalone)").matches}},{key:"isOnIos",value:function(){var e=window.navigator.userAgent.toLowerCase();return/iphone|ipad|ipod/.test(e)}}])&&E(t.prototype,n),r&&E(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function L(e){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L(e)}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==L(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==L(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===L(i)?i:String(i)),r)}var o,i}var O=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"init",value:function(){var e=this;document.querySelectorAll(".interactions .share").forEach((function(t){t.addEventListener("click",(function(){window.navigator.share({url:window.location.href,title:e.getTitle(),text:e.getDescription()})}))}))}},{key:"getDescription",value:function(){var e=document.querySelector('meta[name="description"]')||document.querySelector('meta[property="og:description"]');return e?e.content:""}},{key:"getTitle",value:function(){var e=document.head.querySelector('meta[property="og:title"]');return e?e.content.trim():""}}])&&T(t.prototype,n),r&&T(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),C=a(1883),A=a(3758);function I(e){return I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I(e)}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==I(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==I(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===I(i)?i:String(i)),r)}var o,i}var _=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"init",value:function(){var e=this,t=document.querySelectorAll(".new-postings-test");t.length&&("true"===t[0].dataset.lazy?new C.Z(t[0],300).then((function(){e.loadModules(t)})):this.loadModules(t))}},{key:"loadModules",value:function(e){var t=new A.Z(e[0]);a.e(448).then(a.bind(a,6858)).then((function(n){(new n.default).init(e),t.stop()})).catch((function(e){console.error(e),t.stop()}))}}])&&N(t.prototype,n),r&&N(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function x(e){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(e)}function M(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==x(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==x(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===x(i)?i:String(i)),r)}var o,i}var q=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"init",value:function(){this.api=window.ids.url+"postings/api",this.fillCounts()}},{key:"fillCounts",value:function(){var e=this,t=document.querySelectorAll(".comment-count"),n={};t.forEach((function(t){var r=e.getPageId(t);r&&(n[r]=!0)})),(n=Object.keys(n)).sort(),n.length&&this.fetchCounts(n).then((function(n){e.fillCommentBubbles(t,n.counts)}))}},{key:"fillCommentBubbles",value:function(e,t){var n=this;e.forEach((function(e){var r=t[n.getPageId(e)];r&&(e.textContent=r)}))}},{key:"getPageId",value:function(e){var t=e.dataset.pageid,n=e.dataset.type||"news";return t?n+"_"+t:null}},{key:"fetchCounts",value:function(e){var t=this.api+"/comments/count?ids="+e.join(",");return fetch(t).then((function(e){return e.json()}))}}])&&M(t.prototype,n),r&&M(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),B=a(3909),W=a.n(B);function R(e){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R(e)}function Z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==R(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==R(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===R(i)?i:String(i)),r)}var o,i}var D=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"init",value:function(){var e=document.querySelectorAll(".sr-widget");e.length&&(e.forEach((function(e){e.l1Loader=new A.Z(e),e.classList.remove("sr-widget")})),this.loadSIRScript().then((function(){e.forEach((function(e){e.l1Loader.stop()}))})))}},{key:"loadSIRScript",value:function(){return this.setOptions(),W()({url:"https://widgets.sir.sportradar.com/ce79c59234650a2c221157b40fce6d62/widgetloader"})}},{key:"setOptions",value:function(){window.SIR={o:{language:"de",theme:"neutral"}}}}])&&Z(t.prototype,n),r&&Z(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function V(e){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V(e)}function F(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==V(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==V(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===V(i)?i:String(i)),r)}var o,i}var H=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.ads={1:'<div><div class="ad-container" id="meldungen_mobile_ad"><div></div></div>',8:'<div><div class="ad-container" id="meldung1"><div></div></div></div>',15:'<div><div class="ad-container" id="meldung2"><div></div></div></div>',22:'<div><div class="ad-container" id="meldung3"><div></div></div></div>'}}var t,n,r;return t=e,(n=[{key:"init",value:function(){this.insertAds()}},{key:"insertAds",value:function(){var e=document.body.querySelectorAll(".article-content > p");for(var t in this.ads)e[t]&&e[t].insertAdjacentHTML("afterend",this.ads[t]);if(e.length<23){var n=document.getElementById("postings-ad");n&&(n.innerHTML=this.ads[22])}}}])&&F(t.prototype,n),r&&F(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function U(e){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},U(e)}function J(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==U(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==U(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===U(i)?i:String(i)),r)}var o,i}var Q=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"mount",value:function(e,t){if(this.iframe)this.iframe.src=this.getFullLink(t);else{var n=document.createElement("iframe");n.setAttribute("src",this.getFullLink(t)),n.style.width="100%",n.style.maxWidth="100vw",n.style.border="none",n.id="l1-iframe",n.scrolling="no",n.style.minHeight="450px",n.crossorigin="anonymous",n.allowFullscreen="allowFullscreen",e.parentNode.insertBefore(n,e.nextSibling),W()("https://matchcenter.laola1.at/iframe/v4/iframe-controller.js"),this.iframe=n}}},{key:"remove",value:function(){this.iframe&&this.iframe.remove()}},{key:"getFullLink",value:function(e){var t="?customer=laola1&navigation=false&header=false&widget=true";return document.body.classList.contains("dark-mode")&&(t+="&darkMode=true"),"https://matchcenter.laola1.at/"+e+t}}])&&J(t.prototype,n),r&&J(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();a(189);function z(e){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z(e)}function Y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==z(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==z(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===z(i)?i:String(i)),r)}var o,i}var G=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,n=[{key:"init",value:function(){this.initNavigation()}},{key:"initNavigation",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=document.getElementById("matchcenter-navigation");n&&(this.matchlink=n.dataset.matchlink,this.links=n.querySelectorAll(".nav-link"),this.links.forEach((function(r){r.addEventListener("click",(function(){e.addMatchcenterIframe(r),window.piwikLayer&&window.piwikLayer.push({event:"jspageview",event_key:"contentWithJs"})})),(n.dataset.initialView===r.dataset.location||!t&&window.location.hash&&"#"+r.dataset.location===window.location.hash)&&e.addMatchcenterIframe(r)})))}},{key:"addMatchcenterIframe",value:function(e){var t=document.querySelector(".matchheader-wrapper");if(this.matchcenter||(this.matchcenter=new Q),e.dataset.location){var n=this.matchlink+e.dataset.location;this.matchcenter.mount(t,n)}else this.matchcenter.remove(),this.matchcenter=null;this.links.forEach((function(e){e.classList.remove("active")})),e.classList.add("active")}}],n&&Y(t.prototype,n),r&&Y(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),$=a(542);function X(e){return X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},X(e)}function K(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==X(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==X(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===X(i)?i:String(i)),r)}var o,i}var ee=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"init",value:function(){var e=this;if(document.querySelector(".newscenter-wrapper")){var t=window.ids.portal;new $.Z("news-tag-hierarchy-"+t+".json").init((function(t){return e.loadNews(t)}))}}},{key:"loadNews",value:function(e){var t=document.querySelector(".newscenter-wrapper");return t.dataset.tagId=e,(new v.Z).fetchAjax(t,!1)}}])&&K(t.prototype,n),r&&K(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function te(e){return te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(e)}function ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==te(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==te(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===te(i)?i:String(i)),r)}var o,i}var re=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),window.ids={portal:"laola1",gtm:"GTM-W2F9H5D",ptm:"aa673c27-ff37-4f2a-a6b9-37fe201da36f",url:"https://www.laola1.at/",urlPart:"de",environment:"production"}}var t,n,r;return t=e,(n=[{key:"init",value:function(){}}])&&ne(t.prototype,n),r&&ne(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function oe(e){return oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oe(e)}function ie(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==oe(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==oe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===oe(i)?i:String(i)),r)}var o,i}var ae=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"init",value:function(){var e=this;this.fetchTcfApi().then((function(t){var n=t.tcString;e.doAfterConsent(n)}))}},{key:"fetchTcfApi",value:function(){var e=this;return new Promise((function(t,n){window.__tcfapi("addEventListener",2,(function(n){e.resolved||(!e.resolved&&"useractioncomplete"===n.eventStatus||"tcloaded"===n.eventStatus)&&(e.resolved=!0,t(n))}))}))}},{key:"loadModules",value:function(e,t){e.forEach((function(e){try{(new e).init(t)}catch(e){console.error(e)}}))}},{key:"doAfterConsent",value:function(){throw"no modules defined"}},{key:"skipConsent",value:function(){var e=this.getCookie("truendo-tcf-v2");this.doAfterConsent(e||"")}},{key:"getCookie",value:function(e){var t="; ".concat(document.cookie).split("; ".concat(e,"="));if(2===t.length)return t.pop().split(";").shift()}}])&&ie(t.prototype,n),r&&ie(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function le(e){return le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},le(e)}function ue(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==le(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==le(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===le(i)?i:String(i)),r)}var o,i}var ce=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,n=[{key:"init",value:function(){var e=window.pageInfo;if(!e)return console.error("Warning: no pageInfo"),this.loadScript();window.piwikLayer=[{pageTitle:document.title,pageId:e.pageId,publishDate:e.publishDate,publishTime:e.publishTime,pageBeType:e.pageBeType,author:e.author}],window.LAOLA1_pagePublishDate=e.publishDate,this.loadScript()}},{key:"loadScript",value:function(){!function(e,t,n,r){e[n]=e[n]||[],e[n].push({start:(new Date).getTime(),event:"stg.start"});var o=t.getElementsByTagName("script")[0],i=t.createElement("script"),a=(e.location.href.match("stg_debug")||t.cookie.match("stg_debug"))&&!e.location.href.match("stg_disable_debug");!function(e,n,r){var o="";if(r){var i=new Date;i.setTime(i.getTime()+24*r*60*60*1e3),o="; expires="+i.toUTCString()}t.cookie=e+"="+n+o+"; path=/"}("stg_debug",a?1:"",a?14:-1);var l=[];l.push("data_layer_name="+n),a&&l.push("stg_debug");var u=l.length>0?"?"+l.join("&"):"";i.async=!0,i.src="https://sportradar.containers.piwik.pro/"+r+".js"+u,o.parentNode.insertBefore(i,o),function(t,r,o){t[r]=t[r]||{};for(var i=0;i<o.length;i++)!function(o){t[r][o]=t[r][o]||{},t[r][o].api=t[r][o].api||function(){var t=[].slice.call(arguments,0);"string"==typeof t[0]&&e[n].push({event:r+"."+o+":"+t[0],parameters:[].slice.call(arguments,1)})}}(o[i])}(e,"ppms",["tm","cm"])}(window,document,"piwikLayer",window.ids.ptm)}}],n&&ue(t.prototype,n),r&&ue(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function se(e){return se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},se(e)}function fe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==se(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==se(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===se(i)?i:String(i)),r)}var o,i}var de=!1,ye=!1,ve=0,pe=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.useNewPlayer=!window.location.href.includes("useAgamo=no"),this.avvPlayer=null}var t,n,r;return t=e,(n=[{key:"init",value:function(e){var t=this;this.tcString=e||"",document.querySelectorAll(".spott-video").forEach((function(e){e.dataset.videoId&&new C.Z(e,0).then((function(){t.startVideo(e)}))}))}},{key:"startVideo",value:function(e){var t=this,n=new A.Z(e,{center:!0,white:!0});this.loadPlayer().then((function(){var r=e.dataset.videoId;e.id=e.id||"spott-"+r+"-"+ve,ve++;var o=t.getVideoConfig(e,r);t.avvPlayer=new window.avvpl.setupPlayer(o),n.stop(),t.avvPlayer.on("ended",(function(){!t.isIOS()&&t.endEvent&&t.endEvent()}))}))}},{key:"stopVideo",value:function(e){ye=!1,this.avvPlayer&&(this.avvPlayer.remove(),this.avvPlayer=null),e.innerHTML=""}},{key:"getVideoConfig",value:function(e,t){var n=this.shouldAutoPlay(e),r="";this.tcString?r="&gdpr=1&gdpr_consent="+this.tcString:console.warn("NO consent!!");var o="https://video.laola1.at/api/v2/content/".concat(t,"/player-setting?portal=at&autoplay=")+(n?"true":"false")+"&enableProgressBar=true&enableTime=true&enableSeekForward=true&enableSeekBehind=true&showTitle=true"+r;return{id:e.id,videoid:t,partnerid:9,autoplay:n,mute:n&&"false"!==e.dataset.mute,share:{enabled:!0,url:window.location.href,pages:["facebook","twitter","mail"]},configUrl:o}}},{key:"loadPlayer",value:function(){if(de)return de;var e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("href","https://avplayer-cdn.sportradar.com/dist/latest/styles.css"),this.useNewPlayer&&e.setAttribute("href","https://avplayer.sportradar.com/agamo/latest/avvpl-player.css"),e.setAttribute("type","text/css"),document.head.appendChild(e);var t="//avplayer-cdn.sportradar.com/dist/latest/avvpl-player.js";this.useNewPlayer&&(t="https://avplayer.sportradar.com/agamo/latest/avvpl-player.js");var n=W()({url:t,attrs:{charset:"utf8"},callbackName:"avvpl"}).then((function(){de=new Promise((function(e){e()}))}));return de=n,n}},{key:"shouldAutoPlay",value:function(e){return!ye&&("true"===e.dataset.autoplay||window.initialWidth>100)&&(ye=!0,!0)}},{key:"addEndEvent",value:function(e){this.endEvent=e}},{key:"isIOS",value:function(){return/(iPad|iPhone|iPod)/g.test(navigator.userAgent)}}])&&fe(t.prototype,n),r&&fe(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function me(e){return me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},me(e)}function be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==me(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==me(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===me(i)?i:String(i)),r)}var o,i}var he=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"init",value:function(e){var t=this;document.querySelectorAll(".videobox:not(.live-tv)").forEach((function(n){t.player=new pe,t.player.tcString=e,new C.Z(n,0).then((function(){t.startPlayList(n)}))}))}},{key:"startPlayList",value:function(e){var t=this,n=e.querySelector(".spott-video");this.videosLinks=e.querySelectorAll(".video-link");var r=this.videosLinks[0];if(!r)return this.player.stopVideo(n);n.dataset.videoId=r.dataset.videoId,this.player.startVideo(n),this.playNextVideoOnEnd(n),this.videosLinks.forEach((function(e){t.addClickEvent(n,e)}))}},{key:"addClickEvent",value:function(e,t){var n=this;t.addEventListener("click",(function(r){r.preventDefault(),n.startVideo(e,t)}))}},{key:"startVideo",value:function(e,t){e.dataset.autoplay="true",e.dataset.mute="false",e.dataset.videoId=t.dataset.videoId,this.player.stopVideo(e),this.player.startVideo(e),this.videosLinks.forEach((function(e){e.parentElement.classList.remove("active")})),t.parentElement.classList.add("active")}},{key:"playNextVideoOnEnd",value:function(e){var t=this;this.player.addEndEvent((function(){for(var n=0;n<t.videosLinks.length;n++)if(t.videosLinks[n].parentElement.classList.contains("active"))return void(t.videosLinks[n+1]&&t.startVideo(e,t.videosLinks[n+1]))}))}}])&&be(t.prototype,n),r&&be(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function ge(e){return ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ge(e)}function we(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==ge(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==ge(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===ge(i)?i:String(i)),r)}var o,i}var Se=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"init",value:function(){W()({url:"https://static.cleverpush.com/channel/loader/CrWeqySw6rSncfTck.js"})}}])&&we(t.prototype,n),r&&we(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function ke(e){return ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ke(e)}function Pe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==ke(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==ke(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===ke(i)?i:String(i)),r)}var o,i}var Ee=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"init",value:function(){var e=this;if(!window.laola1AditionJsonV2||window.laola1AditionJsonV2.outbrain_active){var t=document.querySelector("#outbrain-link");t&&t.dataset.src&&new C.Z(t,400).then((function(){console.log("Loading outbrain"),e.addDarkMode(),W()({url:t.dataset.src})}))}}},{key:"addDarkMode",value:function(){document.body.classList.contains("dark-mode")&&document.querySelectorAll(".OUTBRAIN").forEach((function(e){e.dataset.darkMode="true"}))}}])&&Pe(t.prototype,n),r&&Pe(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function je(e){return je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},je(e)}function Le(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==je(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==je(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===je(i)?i:String(i)),r)}var o,i}var Te=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"init",value:function(){this.loadToolsScript(),this.trackPixel(),this.loadSdk()}},{key:"loadToolsScript",value:function(){document.querySelector(".pinpoll[data-mode]")&&W()({url:"https://tools.pinpoll.com/global.js"})}},{key:"trackPixel",value:function(){window.addEventListener("message",(function(e){"https://direct.pinpoll.com"===e.origin&&"string"==typeof e.data&&"vote"===JSON.parse(e.data).action&&(window.piwikLayer&&window.piwikLayer.push({event:"jspageview",event_key:"pinpollVote"}),console.log("firing oewa pixel"))}))}},{key:"loadSdk",value:function(){var e=this;W()({url:"https://cdn.pinpoll.com/global.js"}).then((function(){return W()({url:"https://cdn.pinpoll.com/sdk.js"})})).then((function(){if(PinpollSdk.getVisitor())return(new PinpollSdk).getAudiences({tree:!1,removeRootLevel:"properties",onlyLabels:"en"})})).then((function(t){window.adition=window.adition||{srq:[]},t&&window.adition.srq.push((function(n){t.interests&&t.interests.length&&n.setProfile("interests",e.getCleanAditionString(t.interests)),t.properties&&t.properties.length&&n.setProfile("properties",e.getCleanAditionString(t.properties)),n.disableIpTargeting()}))}))}},{key:"getCleanAditionString",value:function(e){var t=e.join(",");return(t=t.replaceAll(" ","_").replace(/[^a-z0-9A-Z_.,\-]/gi,"")).substring(0,254)}}])&&Le(t.prototype,n),r&&Le(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Oe=a(7040);function Ce(e){return Ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ce(e)}function Ae(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==Ce(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Ce(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===Ce(i)?i:String(i)),r)}var o,i}function Ie(e,t){return Ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ie(e,t)}function Ne(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_e(e);if(t){var o=_e(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Ce(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function _e(e){return _e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_e(e)}var xe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ie(e,t)}(i,e);var t,n,r,o=Ne(i);function i(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"doAfterConsent",value:function(e){var t=[Oe.Z,ce,he,pe,Se,Ee,Te];this.loadModules(t,e)}}])&&Ae(t.prototype,n),r&&Ae(t,r),Object.defineProperty(t,"prototype",{writable:!1}),i}(ae);function Me(e){return Me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Me(e)}function qe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==Me(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Me(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===Me(i)?i:String(i)),r)}var o,i}var Be=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"show",value:function(e){var t=document.createElement("div"),n=document.createElement("div");t.classList.add("popup"),n.classList.add("popup-content"),n.innerHTML=e,t.appendChild(n),document.body.appendChild(t),t.addEventListener("click",(function(){t.remove()}))}}])&&qe(t.prototype,n),r&&qe(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function We(e){return We="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},We(e)}function Re(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==We(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==We(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===We(i)?i:String(i)),r)}var o,i}var Ze=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"init",value:function(){document.querySelectorAll("img.popup-img").forEach((function(e){e.addEventListener("click",(function(){if(!(window.innerWidth-60<e.clientWidth)){var t=e.dataset.size||"420x236",n='<div class="placeholder-16-9"><img src="'+e.src.replace(t,"1280x720")+'"></div>';(new Be).show(n)}}))}))}}])&&Re(t.prototype,n),r&&Re(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();new l([re,f,d.Z,y.Z,v.Z,xe,j,O,_,q,H,D,G,ee,Ze])}(),a.r(l),_laola1=l}();