PageSourceSearch

https://www.ins-waidlerland.de/basewebinterface/com/v02/dist/lib/lib-evlayout-0.1.5.js?rev=1788434901

js ins-waidlerland.de collected 2026-10-04 19:54:45 UTC 73,417 bytes, 2 lines download raw bytes

1(()=>{"use strict";var __webpack_modules__={393(e,t,l){l.d(t,{$X:()=>p,ox:()=>b,Ap:()=>E,Gn:()=>m,M:()=>r,nl:()=>C,qp:()=>S,KK:()=>d,iU:()=>w,Te:()=>i,uB:()=>s,x7:()=>g,sD:()=>u,Kl:()=>f,k9:()=>k,dk:()=>_,LO:()=>a,H:()=>n,qY:()=>h,qO:()=>x,kt:()=>c});let o=e=>{let t=Array(e.length);for(let l=0,o=e.length-1;l<e.length;l++,o--)t[o]=e[l];return t},a=[{key:"xs",width:0,container:440},{key:"ms",width:576,container:520},{key:"sm",width:576,container:520},{key:"md",width:992,container:970},{key:"lg",width:1200,container:1170},{key:"xl",width:1500,container:1410},{key:"xx",width:1800,container:1890}],n=["xs","ms","sm","md","lg","xl","xx"],i=0,r=1,s=2,d=3,c=4,u=5,p=6,g=7,h={STAGE_LOADED:2,DOM_PATCHED:3,RESIZED:4,OFFSET_CHANGED:5,CONFIG_CHANGED:6,HASH_CHANGED:7},y={EVENT_READY:0,EVENT_DOM_CONTENT_LOADED:1,EVENT_STAGE_LOADED:2,EVENT_DOM_PATCHED:3,EVENT_RESIZED:4,EVENT_OFFSET_CHANGED:5,EVENT_CONFIG_CHANGED:6,EVENT_HASH_CHANGED:7},f=Object.keys(y).reduce((e,t)=>(e[y[t]]=t,e),{}),v=Array(Math.max(...Object.values(y))+1);v.forEach((e,t)=>{v[t]=f[t]||void 0});let m=o(n),w={1:[1,1],2:[2,1],3:[1,2],4:[4,3],5:[16,9],6:[2,2],7:[2,3],8:[3,2],9:[3,4],10:[3,1],11:[1,3],12:[6,4],13:[5,3],14:[5,2],15:[5,1],16:[4,2],17:[3,3],18:[4,4],19:[2,4],20:[1,4],21:[4,1],22:[5,4],23:[6,2],24:[6,3],25:[6,5],26:[2,5],27:[2,6],28:[1,5],29:[1,6],30:[3,4],31:[3,5],32:[3,6],33:[4,5],34:[4,6],35:[7,3],36:[8,3],37:[10,3],38:[16,10],39:[8,9],40:[8,10]},b={};for(let[e,t]of Object.entries(w))b[t[0]+"x"+t[1]]=parseInt(e);let k={1:8,2:13,3:14,4:3,5:20,6:8,7:21,8:12,9:4,10:15,11:18,12:12,13:6,14:5,15:10,16:13,17:8,18:8,19:14,20:19,21:17,22:16,23:15,24:13,25:22,26:23,27:14,28:24,29:25,30:4,31:26,32:14,33:27,34:21,35:28,36:29,37:30,38:31,39:32,40:33},I={};for(let[e,t]of Object.entries(w))I[t[0]+"x"+t[1]]=k[parseInt(e)];let x={};for(let[e,t]of Object.entries(k))x[t]=parseInt(e);let E={};for(let[e,t]of Object.entries(I))E[t]=e;let A=[0,24,48,64,128,256,375,480,768,1024,1280,1366,1440,1680,1750,1920],C=A,S=A,_=[0,240,360,540,720,1080,1440,2160]},67(e,t,l){l.d(t,{k:()=>n});let o=/^[[\]{}]$/,a=/^[+-]*\d+(|.\d+)$/,n=e=>{if(e&&"string"==typeof e)if(e.length>=2&&o.test(e[0])&&o.test(e[e.length-1]))if(2===e.length)return e;else{let t=[e[0]],l=e.length,o="",n=":[]{},";for(let a=1,i=0;a<l&&i<l;i++){for(let t=a;t<l;t++)if(" "!==e[t]){a=t;break}if('"'===e[a]||"'"===e[a]){o=e[a];for(let n=a+1;n<l;n++)if(e[n]===o&&"\\"!==e[n-1]){t.push(e.slice(a,n+1)),a=n+1;break}}else for(let o=a;o<l;o++)if(n.includes(e[o])){t.push(e.slice(a,o)),a=o;break}for(let o=a;o<l;o++)if(n.includes(e[o])){if(o+1===l){t.push(e.slice(a,o+1)),a=o+1;break}}else{t.push(e.slice(a,o)),a=o;break}}let i=t.map((e,t)=>t%2?"'"===e[0]?'"'+e.slice(1,-1).replace(/\\'/g,"'").replace(/"/g,'\\"')+'"':'"'===e[0]?e:a.test(e)?e:'"'+e.replace(/"/g,'\\"')+'"':e).join("");return i.replace(/:""{/g,":{").replace(/:""\[/g,":[").replace(/:"true"/g,":true").replace(/:"false"/g,":false")}else try{return JSON.parse(e),e}catch(t){return JSON.stringify(e)}return null==e?"null":JSON.stringify(e)}},295(e,t,l){l.d(t,{c:()=>o});let o=e=>Array.isArray(e)},417(e,t,l){l.d(t,{O:()=>o});let o=e=>"string"==typeof e},26(e,t,l){function o(e,t){if("string"!=typeof e)return[e];let l=[e];"string"==typeof t||Array.isArray(t)?t={brackets:t}:t||(t={});let o=t.brackets?Array.isArray(t.brackets)?t.brackets:[t.brackets]:["{}","[]","()"],a=t.escape||"___",n=!!t.flat;o.forEach(function(e){let t=new RegExp(["\\",e[0],"[^\\",e[0],"\\",e[1],"]*\\",e[1]].join("")),o=[];function n(t,n,i){let r=l.push(t.slice(e[0].length,-e[1].length))-1;return o.push(r),a+r+a}l.forEach(function(e,o){let a,i=0;for(;e!==a;)if(a=e,e=e.replace(t,n),i++>1e4)throw Error("References have circular dependency. Please, check them.");l[o]=e}),o=o.reverse(),l=l.map(function(t){return o.forEach(function(l){t=t.replace(RegExp("(\\"+a+l+"\\"+a+")","g"),e[0]+"$1"+e[1])}),t})});let i=RegExp("\\"+a+"([0-9]+)\\"+a);function r(e,t,l){let o=[],a,n=0;for(;a=i.exec(e);){if(n++>1e4)throw Error("Circular references in parenthesis");o.push(e.slice(0,a.index)),o.push(r(t[a[1]],t,l)),e=e.slice(a.index+a[0].length)}return o.push(e),o}return n?l:r(l[0],l,a)}l.d(t,{q:()=>o})},525(__unused_rspack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{A:()=>__rspack_default_export});var _functions_human2json__rspack_import_1=__webpack_require__(67),_functions_parenthesis__rspack_import_3=__webpack_require__(26),_functions_isStr__rspack_import_2=__webpack_require__(417),_functions_isArray__rspack_import_4=__webpack_require__(295),_consts__rspack_import_0=__webpack_require__(393);let _getCSSValue=(e,t)=>
1{var l,o,a;let n=t[0],i=null==(o=e.style)||null==(l=o[n])?void 0:l.split(" ")[0];if(i||(i=null==(a=window.getComputedStyle(e).getPropertyValue(n))?void 0:a.split(" ")[0]),i)if(i.endsWith("px"))return parseInt(i.slice(0,-2));else console.warn("invalid unit for "+n,i);return 0},funcWidth=(e,t,l,o,a,n)=>{let i=l.match(/closest-(.+)/);return"window"===l?e.innerWidth:"current"===l?t(a).width():i?t(a).closest(i[1]).width():t(l).length?t(l).width():void n.error("funcWidth","selector "+l+" not found")},funcWidthClosest=(e,t,l,o,a,n)=>t(a).closest(l).width()||0,funcHeight=(e,t,l,o,a,n)=>"window"===l?e.innerHeight:"current"===l?t(a).height():t(l).height(),funcHeightClosest=(e,t,l,o,a,n)=>t(a).closest(l).height()||0,funcBorder=(e,t,l,o,a)=>"window"===l?0:_getCSSValue(t(l).get(0),["border"]),funcMargin=(e,t,l,o,a)=>"window"===l?0:_getCSSValue(t(l).get(0),["margin"]),funcPadding=(e,t,l,o,a)=>"window"===l?0:_getCSSValue(t(l).get(0),["padding"]),funcViewport=(e,t,l,o,a,n)=>{var i,r;let s={};try{s=JSON.parse((0,_functions_human2json__rspack_import_1.k)(l))}catch(e){console.error("evformula",l,e)}return _executeFormula(e,t,o,a,n,null!=(i=null!=(r=s[o])?r:s.md)?i:0)},REGISTRY_FUNC={width:funcWidth,widthClosest:funcWidthClosest,height:funcHeight,heightClosest:funcHeightClosest,viewport:funcViewport,border:funcBorder,margin:funcMargin,padding:funcPadding,w:funcWidth,wc:funcWidthClosest,h:funcHeight,hc:funcHeightClosest,vp:funcViewport,b:funcBorder,m:funcMargin,p:funcPadding},STA_FUNCTION=RegExp("("+Object.keys(REGISTRY_FUNC).join("|")+")\\((.+?)\\)"),_executeFormula=(e,t,l,o,a,n)=>(0,_functions_isStr__rspack_import_2.O)(n)?_executeFormulaLevel(e,t,l,o,a,(0,_functions_parenthesis__rspack_import_3.q)(n)):n,_executeFormulaPart=(e,t,l,o,a,n)=>{let i=n.split(STA_FUNCTION);if(!(i.length>1))return n;{let n=i[0],r=null;for(let s=1;s<3*Math.floor((i.length-1)/3);s+=3)n+=r=REGISTRY_FUNC[i[s]](e,t,i[s+1],l,o,a),n+=i[s+2];return n}},_executeFormulaLevel=(e,t,l,o,a,n)=>_executeFormulaPart(e,t,l,o,a,n.map(n=>(0,_functions_isArray__rspack_import_4.c)(n)?n.length>1?_executeFormulaPart(e,t,l,o,a,_executeFormulaLevel(e,t,l,o,a,n)):n[0]:n).join("")),run=(eventId,eventData,viewport,config,root,body,head,window,debug,helpers,getElements,getAllElements,next,reapply,$)=>{(eventId===_consts__rspack_import_0.M||eventId===_consts__rspack_import_0.KK||eventId===_consts__rspack_import_0.kt)&&getElements().forEach((param,index)=>{let[ele,settingsAll]=param,settings=settingsAll.formula,formula=null,result=null;Object.keys(settings).forEach(key=>{debug.log("evformula",key,settings[key]),formula=_executeFormula(window,$,viewport,ele,debug,settings[key]);try{result=eval(formula)}catch(e){console.error(ele,e,formula)}null!==result&&$(ele).css(key,result+"px"),debug.log("evformula",key,settings[key],"->",formula,"=",result)})}),next(eventId)},__rspack_default_export=run}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var l=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](l,l.exports,__webpack_require__),l.exports}(()=>{__webpack_require__.d=(e,t)=>{for(var l in t)__webpack_require__.o(t,l)&&!__webpack_require__.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})}})(),(()=>{__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();var __webpack_exports__={};(()=>{var e=__webpack_require__(393);let t=e=>{let t=document.createElement("script");document.body.appendChild(t),t.src=e.src,t.type=e.type,t.onload=e.onSuccess,t.onerror=e.onError||(e=>{console.error(e)}),t.async=!0},l=()=>{console.error("window.app.layout.plugin.a11ywidget.open() not ready")},o=()=>{console.error("window.app.layout.plugin.a11ywidget.reset() not ready")},a=(a,n,i,r,s,d,c,u,p,g,h,y,f,v,m)=>{let w=u.app.layout.languageKey;a===e.Te&&(u.app.layout.plugin.a11ywidget={open:l,reset:o}),a===e.M&&(u.app.layout.plugin.a11ywidget.reset=()=>(u.SiennaPlugin.resetMenu(),localStorage.removeItem("asw-user-settings"),!1),u.localStorage.getItem("asw-user-settings")?(p.log("asw-user-settings","exists"),t({src:"/basewebinterface/org/js/jquery/plugins2/aswidget/2.0.0/aswidget.min.js",type:"script",onSuccess:()=>{p.log("open override exists"),m("body").addClass("a11ywidget--active"),u.app.layout.plugin.a11ywidget.open=()=>(u.SiennaPlugin.openMenu(),!1)}})):u.app.layout.plugin.a11ywidget.open=()=>(p.log("open inital"),u.localStorage.getItem("asw-user-settings")||u.localStorage.setItem("asw-user-settings",JSON.stringify({lang:w})),t({src:"/basewebinterface/org/js/jquery/plugins2/aswidget/2.0.0/aswidget.min.js",type:"script",onSuccess:()=>{p.log("open override initial"),m("body").addClass("a11ywidget--active"),u.SiennaPlugin.openMenu(),u.a
1pp.layout.plugin.a11ywidget.open=()=>(u.SiennaPlugin.openMenu(),!1)}}),!1)),f(a)},n=(t,l,o,a,n)=>{let i=o(t,l);if(void 0!==i)return i;{let i=e.Gn.slice(e.Gn.findIndex(e=>e===l)).find(e=>void 0!==o(t,e));return i?o(t,i):n&&void 0!==n[l]?n[l]:a}};var i=__webpack_require__(417);let r=e=>(t,l)=>{let o=t.vp&&t.vp[l]&&t.vp[l][e[0]];if(void 0!==o){for(let t=1;t<e.length;t++)if(void 0===o)return;else o=o[e[t]];return o}},s=(e,t,l)=>(e,o)=>n(e,o,(e,t)=>e.vp&&e.vp[t],t,l?{[o]:l(e,o)}:void 0),d=(e,t,l)=>(o,a)=>n(o,a,(t,l)=>t.vp&&t.vp[l]&&t.vp[l][e],t,l?{[a]:l(o,a)}:void 0),c=(e,t,l)=>(o,a)=>n(o,a,r(e),t,l?{[a]:l(o,a)}:void 0),u=(e,t,l)=>{if(null===e)return s(e,t,void 0!==l?l:(e,t)=>e.vp[t]);if(Array.isArray(e))return c(e,t,void 0!==l?l:(t,l)=>r(e)(t,l));if((0,i.O)(e))return d(e,t,void 0!==l?l:(t,l)=>t.vp&&t.vp[l]&&t.vp[l][e]||t.vp&&t.vp.md&&t.vp.md[e]);throw Error()},p=u("offset",void 0),g=u("offsetFactor",void 0),h=function(e,t,l){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"animate__";return new Promise((n,i)=>{if(t.isAnimating)return e.warning("animateCSS() - already runs"),n("Animation skipped");e.log("animateCSS()"),t.isAnimating=!0;let r="".concat(a).concat(l),s="".concat(a).concat(l).replace("In","Out").replace("Up","Down"),d=t;function c(e){e.stopPropagation(),$(d).hasClass("evanimated-out")?d.style.opacity="0":d.style.opacity="1",d.classList.remove("".concat(a,"animated"),r),d.classList.remove("".concat(a,"animated"),s),t.isAnimating=!1,n("Animation ended")}o?(r=s,d.classList.remove("evanimated-in"),d.classList.add("evanimated-out")):(d.classList.remove("evanimated-out"),d.classList.add("evanimated-in")),d.classList.add("".concat(a,"animated"),r),d.addEventListener("animationend",c,{once:!0})})},y=function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];let t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)},f=(t,l,o,a,n,i,r,s,d,c,u,f,v,m,w)=>{if((t===e.M||t===e.KK)&&u().forEach(e=>{var t,l,o,n;let[i,r]=e,s=r.animate||null,c=s.effect,u=null!=(t=null!=(l=s.delay)?l:a.delay)?t:0,p=null!=(o=null!=(n=s.duration)?n:a.duration)?o:1,g=s.repeat;i.style.setProperty("--animate-delay",u+"s"),i.style.setProperty("--animate-duration",p+"s"),i.style.animationIterationCount=g+"",i.style.opacity="0",y(i)&&h(d,i,c)}),t===e.sD||t===e.kt){let e=s.innerWidth||document.documentElement.clientWidth,t=s.innerHeight||document.documentElement.clientHeight;u().forEach(l=>{var n,i,r,c,y,f,v;let[m,b]=l,k=b.animate||null,I=k.effect,x=null!=(n=p(k,o))?n:a.offset,E=null!=(i=g(k,o))?i:a.offsetFactor;null==x&&(x=t*(E=null!=E?E:.1));let A=m.getBoundingClientRect();r=a.delayRange;let C=null!=(c=null!=(y=k.once)?y:a.once)&&c,S=null==(f=null!=(v=k.mirror)?v:a.mirror)||f;d.log("layout.scrollDirection=",s.app.layout.scrollDirection,"once=",C,"mirror=",S,"offset=",x,"offsetFactor=",E,"getBoundingClientRect=",A);let _=[];_=u().filter(e=>e[0].getBoundingClientRect().top===A.top),"UP"===s.app.layout.scrollDirection&&_.reverse(),_.findIndex((e,t)=>{if(e[0]===m)return!0}),"UP"===s.app.layout.scrollDirection?S?A.top>=0&&A.left>=0&&A.bottom>=t+A.height-x&&A.right<=e?(d.log("ele lower than viewport","offset="+x),!w(m).hasClass("evanimated-out")&&w(m).hasClass("evanimated-in")&&h(d,m,I,!0)):A.top>=0&&A.left>=0&&A.bottom<=t+A.height-x&&A.right<=e&&(d.log("ele greater than viewport","offset="+x),w(m).hasClass("evanimated-out")||w(m).hasClass("evanimated-in")||h(d,m,I)):!C&&w(m).hasClass("evanimated-in")&&A.top>=t+A.height&&A.left>=0&&A.right<=e&&(w(m).removeClass("evanimated-in"),m.style.opacity="0"):A.left>=0&&A.bottom<=t+A.height+x&&A.right<=e&&!w(m).hasClass("evanimated-in")&&h(d,m,I)})}v(t)},v=/^(\d+)(?:x|:|by|,)(\d+)$/,m=u("ratio",null),w=u("ratioId",null),b=u("cropGroupTypeId",null),k=(t,l,o,a,n,i,r,s,d,c,u,p,g,h,y)=>{if(t===e.M||t===e.KK||t===e.kt){let t=null;u().forEach((l,a)=>{let[n,i]=l,r=i.ratio||null,c=m(r,o),u=w(r,o),p=b(r,o);if(null===c)if(null!==u){let t=u&&e.iU[u];t&&(c=t[0]+"x"+t[1])}else null!==p&&(c=p&&e.Ap[p]||null);"IMG"===n.tagName&&(n.style.display="block",n.style.width="100%");let g=s.getComputedStyle(n);if(d.log("position","setPosition=",!(n.style.position in["relative","absolute","fixed"]),"styles=",n.style.position,"dataset=",n.dataset.ratioPosition),n.dataset.ratioPosition||(n.dataset.ratioPosition=g.position||"static"),n.style.position=n.dataset.ratioPosition,y(n).removeClass("ev-absolute"),y(n).removeClass("ev-ratio-height"),n.style.height="auto","fit"===c||-1===u)y(n).addClass("ev-absolute"),n.style.position="absolute",n.style.width="100%",n.style.height="100%";else if("auto"===c||"null"===c||null===c)"static"===n.style.position&&(n.style.position="relative");else if("static"===n.style.position&&(n.style.position="relative"),null!==c)if(t=v.exec(c)){let e=parseFloat(t[1])/parseFloat(t[2]),l=n.offsetWidth,o=Math.floor(l/e);y(n).css("height",o+"px"),y(n).addClass("ev-ratio-height"),d.log("evlayout",n.offsetWidth,"ratio=",e,"width=",l,"height=",o)}else s.console.error("no ratioKey",c,r);else s.console.error("ratio key is null",c,r)})}g(t)},I=e=>void 0!==e._all&&e.get(0)?e.get(0)&&e.get(0).offsetHeight||0:e&&e.offsetHeight||0,x=u("minHeight",void 0),E=u("maxHeight",void 0),A=u("groupKey",null,(e,t)=>e.groupKey),C=u("property",null,(e,t)=>e.property),S=(t,l,o,a,n,i,r,s,d,c,u,p,g,h,y)=>
1{(t===e.M||t===e.KK||t===e.kt)&&(u().forEach((e,t)=>{let[l,o]=e;y(l).hasClass("ev-ratio-height")||(l.style.height="auto")}),u().forEach((e,t)=>{let[l,a]=e,n=a.match||null,i=x(n,o),r=E(n,o),s=A(n,o),c=C(n,o)||"height",p=y(l).get(0).getBoundingClientRect();d.log("ele=",l,"groupKey=",s);let g=[],h=l.getBoundingClientRect();if((g=s?u().filter(e=>A(e[1].match,o)===s):u().filter(function(e){let t=e[0].getBoundingClientRect();return d.log("top=",t.top===p.top,"x=",t.x===h.x,e),!(t.top!==p.top||A(e[1].match,o))})).forEach((e,t)=>{let[o,a]=e;y(o).hasClass("ev-ratio-height")||(l.style.height="auto")}),d.log("groupOffset=",g),g.length>1){let e=0;g.forEach((t,l)=>{let[o,a]=t,n=I(o);n>e&&(e=n)}),i&&(!e||i>e)&&(e=i),r&&e&&e>r&&(e=r),d.log("minHeight=",i,"maxHeight=",r,"eleMaxHeight="+e),g.forEach((t,l)=>{let[o,a]=t;y(o).css(c,e+"px"),y(o).css("position","absolute"===y(o).css("position")?"absolute":"relative")})}})),g(t)};var _=__webpack_require__(525);let L=e=>e.id,P=e=>e.key||"crop",O=e=>e.urlBase||null,N=u("url",null),j=u("original",null),T=u("fitMode",null),D={IMG:"src",IFRAME:"src",LINK:"href",EMBED:"src"},H=e=>D[e.tagName]?e.getAttribute(D[e.tagName]):e.style.backgroundImage?e.style.backgroundImage.substring(4,e.style.backgroundImage.length-1).replace(/["']/g,""):e.style.backgroundImage,R=(t,l,o,a,n,i,r,s,d,c,u,p,g,h,y)=>{s.app.layout.plugin.photo=!0,(t===e.Te||t===e.M||t===e.KK||t===e.kt)&&u().forEach(e=>{let t,[l,o]=e,a=L(o.photo||null);"IMG"===l.tagName?t=l:l.children.length&&"IMG"===l.children[0].tagName&&(t=l.children[0]),void 0!==t&&"lazy"===t.getAttribute("loading")&&t.getAttribute("src")&&(t.src="",t.removeAttribute("loading"),t.removeAttribute("src"),d.log(a,'remove loading="lazy" attribute from',{eleImage:t}))}),(t===e.M||t===e.KK||t===e.kt)&&u().forEach(t=>{var l,n;let i,[r,c]=t,u=c.photo||null,p=L(u);if(null==u?void 0:u.ignore)return void d.log(p,"ignored");let g=P(u),h=null,f=null,v=null!=(l=j(u,o))?l:u.original,m=null!=(n=T(u,o))?n:u.fitMode,w=N(u,o),b=u.urlBase||a.urlBase,k=void 0!==r.dataset.evlazy,I=s.devicePixelRatio||1,x=null;"IMG"===r.tagName&&(r.style.display="block",r.style.width="100%"),x=r;let E=s.getComputedStyle(r);r.children.length&&"IMG"===r.children[0].tagName&&(i=r.children[0])&&(k=void 0!==i.dataset.evlazy,"fixed"===E.backgroundAttachment?(r.removeChild(i),i=void 0):i.style.display="none");let A=0,C=0,S=x&&x.offsetWidth||0,_=x&&x.offsetHeight||0;if(!(S>0))return void d.log(p,"return; calcWidth="+S);if(null!==f&&f>0){if(void 0===e.iU[f])return;_=Math.floor(S/(e.iU[f][0]/e.iU[f][1])),C=S/_,"IMG"===r.tagName||y(r).html('<div style="padding-top:'+100/C+'%"></div>')}else if(h){if(void 0===e.ox[h])return;f=e.ox[h],_=Math.floor(S/(e.iU[f][0]/e.iU[f][1])),C=S/_,"IMG"===r.tagName||y(r).html('<div style="padding-top:'+100/C+'%"></div>')}else{"fixed"===E.backgroundAttachment?(S=s.innerWidth,_=s.innerHeight,d.log(p,"backgroundAttachment="+E.backgroundAttachment,"calcHeight="+_)):0===_&&(r.style.height="100%",d.log(p,"fallback set ele height=100%"),_=r.offsetHeight||0),void 0!==i&&(i.style.display="block"),C=parseFloat(""+S/_);let t=Object.keys(e.iU).map(function(t){return{ratioId:f=parseInt(t),ratioX:e.iU[f][0],ratioY:e.iU[f][1],ratio:e.iU[f][0]/e.iU[f][1],cropGroupTypeId:e.qO[f],width:e.iU[f][0]}});t.sort(function(e,t){return e.ratio-t.ratio});let l=null;l=Math.min(...t.map(function(e){return Math.abs(e.ratio-C)}));let o=0;for(let e=0;e<t.length;++e)if(Math.abs(t[e].ratio-C)===l){o=e;break}f=t&&t[o]&&t[o].ratioId}A=C>=1?S:_,a.highDPI&&s.app.layout.devicePixelRatio>1&&!s.app.layout.isSlowDevice&&(d.log("highDPI","devicePixelRatio="+I,"size="+A,"sizeHighDPI="+A*I),A*=2);for(let t=1;t<e.qp.length;t++)if(A>e.qp[t-1]&&A<=e.qp[t]){A=e.qp[t];break}A>1920&&(A=1920);let D=e.k9[f];v&&(D=1);let R=g+"__"+p+"_t"+D+"__"+A+".jpg";if(w=w?w.replace("{{WIDTH}}",""+Math.ceil(A)).replace("{{HEIGHT}}",""+Math.ceil(C>1?A/C:A*C)):(O(u)||b)+R,s.app.layout.revisionId&&(w+="?rev="+s.app.layout.revisionId),d.log(p,{tagName:r.tagName,calcWidth:S,calcHeight:_,ratioId:f,ratioIdKey:e.iU[f],ratio:e.iU[f][0]/e.iU[f][1],calcRatio:C,size:A,url:w,lazy:k,ele:r,eleClosest:x,eleImage:i,eleImageSrc:i&&i.getAttribute("src"),backgroundAttachment:E.backgroundAttachment}),"IMG"===r.tagName||void 0!==i)void 0!==i?("static"===E.position&&(r.style.position="relative"),i.style.position="absolute",i.style.left="0px",i.style.right="0px",
1i.style.bottom="0px",i.style.top="0px",i.style.width="100%",i.style.height="100%",i.style.objectFit=m||"cover"):i=r,w!==i.getAttribute("src")&&(k?(i.onerror=function(){d.log("photo not found "+w),i.src="data:,"},i.onload=function(){r.classList.add("evphoto-loaded")},i.setAttribute("data-src",""+w),d.log(p,"set data-src",w)):(i.onerror=function(){d.log("photo not found "+w),i.src="data:,"},i.onload=function(){r.classList.add("evphoto-loaded")},i.src=w));else{let e=H(r);if(w&&w!==e)if("fixed"===E.backgroundAttachment?(r.style.backgroundSize="cover",r.style.backgroundPosition="center",r.style.backgroundRepeat="no-repeat"):(r.style.backgroundSize=m||"cover",r.style.backgroundRepeat="no-repeat",r.style.backgroundPosition="center center"),k)r.setAttribute("data-src",w),d.log(p,"set data-src",w);else{let e=new Image;e.onerror=function(){d.log("photo not found "+w),r.style.removeProperty("backgroundImage")},e.onload=function(){r.classList.add("evphoto-loaded"),r.style.backgroundImage="url('"+w+"')",d.log(p,"set background image",w)},e.src=w}}}),g(t)},M=(t,l,o,a,n,i,r,s,d,c,u,p,g,h,y)=>{(t===e.M||t===e.KK||t===e.kt)&&u().forEach((e,t)=>{let[l,o]=e,a=l.parentElement;for(;a&&"relative"!==getComputedStyle(a).position&&"absolute"!==getComputedStyle(a).position;)if("body"===(a=a.parentElement).tagName.toLowerCase()){a=null;break}if(a){let e=a.offsetWidth,t=a.offsetHeight,o=e/t,n=null,i=parseFloat(y(l).data("width"))||l.offsetWidth,r=parseFloat(y(l).data("height"))||l.offsetHeight;i&&r&&(n=i/r),d.log("vars",{ratioParent:o,parentWidth:e,parentHeight:t,eleRatio:n,width:i,height:r});let s=0,c=0,u=0,p=0;o>=n?p=(u=e+4)/n:u=(p=t+4)*n,s=(t-p)/2,c=(e-u)/2,d.log("calced",{top:s,left:c,width:u,height:p}),a.style.overflow="hidden",l.style.position="absolute",l.style.top=s+"px",l.style.left=c+"px",l.style.width=u+"px",l.style.height=p+"px"}}),g(t)};function K(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}let z=e=>(void 0!==e._all?e.get(0):e).offsetWidth,G=u("cells",[]),B=u("cols",3,(e,t)=>["xs","sm"].includes(t)?2:3),q=u("gutter",6);class V{getRowIndex(){return parseInt((this.cellIndex/parseFloat(this.parent.colCount)).toString())}getColIndex(){return this.cellIndex%this.parent.colCount}getType(){return"CELL"}constructor(e,t,l,o,a){K(this,"parent",null),K(this,"cellIndex",0),K(this,"colSpan",0),K(this,"rowSpan",0),K(this,"dataIndex",null),this.parent=e,this.cellIndex=t,this.colSpan=l,this.rowSpan=o,this.dataIndex=void 0!==a?a:null}}class U extends V{getType(){return"PLACE_HOLDER"}}class F extends V{getType(){return"EMPTY_CELL"}}class W{setCell(e,t,l,o,a){if(0===t&&(t=this.colCount),t>this.colCount?t=this.colCount:this.colCount,"PLACEHOLDER_CELL"===o?this.cellList[e]=new U(this,e,t,l,a):"EMPTY_CELL"===o?this.cellList[e]=new F(this,e,t,l,a):this.cellList[e]=new V(this,e,t,l,a),0===l&&(l=1),t>0||l>0){for(let o=0;o<t;o++)for(let t=0;t<l;t++)if(t>0||o>0){let l=this.colCount*t+o+e;this.setCell(l,1,1,"PLACEHOLDER_CELL",null)}}}getRowCount(){return Math.floor(this.cellList.length/this.colCount)}getNextCellIndex(){for(let e=0;e<this.cellList.length;e++)if(void 0===this.cellList[e])return e;return this.cellList.length}setNextCell(e,t,l){this.setCell(this.getNextCellIndex(),e,t,"CELL",l)}render(e){for(let t=0;t<e.length;t++)this.setNextCell(e[t][0],e[t][1],t)}constructor(e){K(this,"colCount",0),K(this,"cellList",[]),this.colCount=e}}let J=(e,t,l,o,a,n,i)=>{let r=l,s=a(r).children(".evfloatinggrid-cell").toArray(),d=B(o,t),c=G(o,t),u=q(o,t),p=[];for(let e=0;e<s.length;e++)p.push([c[e][0],c[e][1],s[e]]);let g=new W(d||0);g.render(p);let h=Math.ceil(g.cellList.length/d),y=Math.floor(z(l)-(d-1)*u)/d,f=0;for(let e=0;e<g.cellList.length;e++){let t=g.cellList[e];if(t&&"CELL"===t.getType()){let e=!1,l=0;0===t.rowSpan&&(t.rowSpan=1,e=!0);let o=(y+u)*t.getColIndex(),s=(y+u)*t.getRowIndex(),d=t.colSpan*y+(t.colSpan-1)*u,c=t.rowSpan*y+(t.rowSpan-1)*u;if(a(".evfloatinggrid-cell-"+t.dataIndex,r).width(d),s+=f,e){let e=a(".evfloatinggrid-cell-"+t.dataIndex,r);a(e).children("*").first().hasClass("ev-absolute")&&(e=a(e).children("*").first()),e.css("position","relative").css("height","auto"),l=e.height(),e.css("position","absolute"),f+=l-c,c=l}n.log("cell",t.dataIndex,"rowIndex="+t.getRowIndex(),"colIndex="+t.getColIndex(),"isAutoHeight="+e,t.colSpan+"x"+t.rowSpan,"height="+c,"cellHeight="+l,"posTop="+s,"offsetTop="+f);let p="";p+="position:absolute;
1left:"+o+"px;top:"+s+"px;width:"+d+"px;height:"+c+"px;",null!=t.dataIndex&&(i||(a(".evfloatinggrid-cell-"+t.dataIndex,r).attr("style",p),a(".owl-carousel.owl-loaded",r).each((e,t)=>{var l;(null==(l=a.fn)?void 0:l.owlCarousel)&&a(t).owlCarousel("refresh")}),a(".flexslider",r).each(function(){a(this).resize().resize()})))}}r.css("height",h*y+(h-1)*u+f+"px")},X=(t,l,o,a,n,i,r,s,d,c,u,p,g,h,y)=>{switch(t){case e.M:case e.KK:case e.kt:u().forEach(e=>{let[l,a]=e;J(t,o,y(l),a.fltgrd,y,d)})}g(t)},Y=u("url",void 0),Q=u("height",void 0),Z=u("width",void 0),ee=u("fit",void 0),et=u("ratioId",void 0),el=u("ratio",void 0),eo=(t,l,o,a,n,i,r,s,d,c,u,p,g,h,y)=>{t===e.M&&u().forEach(e=>{let[t,l]=e;"IMG"===t.tagName&&(t.style.display="block",t.style.width="100%")}),(t===e.M||t===e.KK||t===e.kt)&&u().forEach(t=>{let[l,n]=t,i=n.image||null,r=n.ratio||null,c=null,u=null;r&&(c=el(r,o),u=et(r,o));let p=null!==u||null!==c,g=y(l),h=null,f=Y(i,o),v=Z(i,o),m=Q(i,o),w=ee(i,o),b=m>v,k=v/m,I=void 0!==l.dataset.evlazy,x=0,E=0,A=null;if(p&&(w=w||"cover"),l.style.removeProperty("objectFit"),"IMG"===l.tagName?(h=l,A=y(l).attr("src"),w&&(h.style.objectFit=w,l.style.removeProperty("objectFit"))):A=l.style.backgroundImage,f){if(v&&m){x=g.parent().get(0).offsetWidth||0,E=g.parent().get(0).offsetHeight||0,p?"cover"===w&&(E>=x?E*=k:E=x/k):E=x/k;let t=0;t=b?E:x,a.highDPI&&s.app.layout.devicePixelRatio>1&&!s.app.layout.isSlowDevice&&(d.log("highDPI","devicePixelRatio="+devicePixelRatio,"size="+t,"sizeHighDPI="+t*devicePixelRatio),t*=2);for(let l=1;l<e.nl.length;l++)if(t>e.nl[l-1]&&t<=e.nl[l]){t=e.nl[l];break}x>v&&(x=v),E>m&&(E=m);let l=f.split("/"),o=l.slice(-1)[0],n=o.split(".").slice(-1)[0];("png"===n||"jpg"===n||"webp"===n||"gif"===n)&&(f=l.slice(0,-1).join("/")+"/"+o.split(".").slice(0,-1).join(".")+"__"+t+"."+n)}if(!f.startsWith("http")&&a.urlBase&&(f=a.urlBase+f),s.app.layout.revisionId&&(f+="?rev="+s.app.layout.revisionId),p&&"fit"===c?(l.classList.add("ev-absolute"),l.style.width="100%",l.style.height="100%"):l.classList.remove("ev-absolute"),x&&E&&!p&&(l.style.width=x+"px",l.style.height=E+"px"),A!==f)if(I)l.setAttribute("data-src",f),d.log("data-src="+f,v,m);else{let e=new Image;e.onerror=function(){console.error("evlayout","evimage","photo not found "+f)},e.onload=function(){l.classList.add("evimage-loaded"),"IMG"===l.tagName?y(l).attr("src",f):l.style.backgroundImage="url('"+f+"')",d.log(f,v,m)},e.src=f,d.log("src="+f,v,m)}}else l.setAttribute("src",""),l.setAttribute("data-src","")}),g(t)},ea=(e,t,l,o,a)=>{let n=t.getBoundingClientRect(),i=n.top,r=n.bottom,s=n.left,d=n.right;l=l||0,o=o||0;let c=!1,u=(a=a||window).jquery?a:e(a);u.length||(console.warn("isInViewport: The viewport selector you have provided matches no element on page."),console.warn("isInViewport: Defaulting to viewport as window"),u=e(window));let p=""+u.get(0),g=u[0]===window||"[object Window]"===p||"[object DOMWindow]"===p,h=g?window.innerHeight:u.height(),y=g?window.innerWidth:u.width();if(!g){let e=u[0].getBoundingClientRect();i-=e.top,r-=e.top,s-=e.left,d-=e.left,y-=0}return h+=o,l<0&&(l=h+l),c=l?i<=l&&r>=l:r>0&&i<=h},en=u("url",void 0),ei=u("height",void 0),er=u("width",void 0),es=u("fit",void 0),ed=u("ratioId",void 0),ec=u("ratio",void 0),eu=(t,l,o,a,n,i,r,s,d,c,u,p,g,h,y)=>{t===e.M&&u().forEach(e=>{let[t,l]=e;"VIDEO"===t.tagName&&(t.style.display="block",t.style.width="100%",t.style.objectFit="cover")}),(t===e.M||t===e.KK||t===e.kt)&&u().forEach(t=>{let[l,n]=t,i=n.video||null,r=n.ratio||null,c=null,u=null;r&&(c=ec(r,o),u=ed(r,o));let p=null!==u||null!==c,g=void 0!==l.dataset.evlazy;if("VIDEO"===l.tagName){l.style.removeProperty("objectFit");let t=l,n=t.offsetWidth||0,r=t.offsetHeight||0,c=r>n,u=s.devicePixelRatio||1,h=en(i,o)||i.url,y=i.playbackRate,f=i.currentTime,v=i.volume,m=er(i,o)||i.width,w=ei(i,o)||i.height,b=es(i,o);d.log("isPortrait",i.vp),y>0&&(d.log("playbackRate=",y),t.defaultPlaybackRate=y),f>0&&(d.log("currentTime=",f),t.currentTime=f),v>0&&(d.log("volume=",v),t.volume=v),c&&i.vp&&i.vp.portrait&&i.vp.portrait.url&&(h=i.vp.portrait.url,m=i.vp.portrait.width,w=i.vp.portrait.height);let k=null,I=m/w,x=null;
1if(h)if(d.log("url="+h,"srcWidth="+m,"srcHeight="+w,"srcRatio="+I,"hasRatio="+p,"width="+n,"height="+r,"isPortrait="+c),n){if(p&&("contain"===b?l.style.objectFit="contain":l.style.objectFit="cover"),x=t.src,h.startsWith("https://file.evcdn.de/")){let t=new URL(h),l=t.pathname.split("/").pop().replace(/\.[^/.]+$/,""),o=t.pathname.split(".").pop(),i=h.split("/"),c=l.split("__")[0],p=l.split("__")[1],g=t.searchParams.get("rev");d.log("urlParts="+i,"fileNameWithoutExt="+l,"fileKey="+c,"fileId="+p,"fileExtension="+o,"fileRevision="+g);let y=2160;if(r>=n){a.highDPI&&s.app.layout.devicePixelRatio>1&&!s.app.layout.isSlowDevice&&(d.log("highDPI","devicePixelRatio="+u,"height="+r,"sizeHighDPI="+r*u),r*=2);for(let t=1;t<e.dk.length;t++)if(d.log("find by height",e.dk[t-1],"<",r,"<",e.dk[t]),r>e.dk[t-1]&&r<=e.dk[t]){y=e.dk[t];break}}else{a.highDPI&&s.app.layout.devicePixelRatio>1&&!s.app.layout.isSlowDevice&&(d.log("highDPI","devicePixelRatio="+u,"width="+n,"sizeHighDPI="+n*u),n*=2);for(let t=1;t<e.dk.length;t++)if(d.log("find by width",e.dk[t-1]*I,"<",n,"<",e.dk[t]*I),n>e.dk[t-1]*I&&n<=e.dk[t]*I){y=e.dk[t];break}}("mp4"===o||"webp"===o)&&(h=i.slice(0,-1).join("/")+"/"+c+"__"+p+"__"+y+"p."+o+(g?"?rev="+g:""),k=i.slice(0,-1).join("/")+"/"+c+"__"+p+"__"+y+"p.jpg"+(g?"?rev="+g:"")),d.log("size="+y,"url="+h,"posterUrl="+k)}x!==h&&(g?(l.setAttribute("data-src",h),l.setAttribute("data-poster-src",k)):(t.src!==h&&(t.src=h),k&&t.poster!==k&&(t.poster=k)))}else d.warning("width is "+n);else d.warning("url is "+h)}else d.error("evvideo only on VIDEO tag")}),t===e.sD&&u().forEach(e=>{let[t,l]=e;if("VIDEO"===t.tagName){let e=l.video||null,o=t;if(o.autoplay&&!1!=e.autostop){let e=o.offsetHeight||0;if(ea(y,t,0,e*=-1,s)){let e=o.play();void 0!==e&&e.then(e=>{}).catch(e=>{})}else o.pause()}}}),g(t)},ep={IMG:"src",IFRAME:"src",LINK:"href",EMBED:"src",VIDEO:"src"},eg=e=>ep[e.tagName]?e.getAttribute(ep[e.tagName]):e.style.backgroundImage?e.style.backgroundImage.substring(4,e.style.backgroundImage.length-1).replace(/["']/g,""):e.style.backgroundImage,eh=(e,t)=>{let l=eg(e);if(t&&t!==l)if(ep[e.tagName])if("IMG"===e.tagName){let l=new Image;l.onload=function(){e.classList.add("evlazy-loaded"),e.setAttribute(ep[e.tagName],t)},l.src=t}else e.setAttribute(ep[e.tagName],t);else{let l=new Image;l.onload=function(){e.classList.add("evlazy-loaded"),e.style.backgroundImage="url('"+t+"')"},l.src=t}},ey=u("offset",Math.round(window.innerHeight/2)),ef=e=>e.onload||null,ev=(t,l,o,a,n,i,r,s,d,c,u,p,g,h,y)=>{t===e.sD&&s.scrollY>0&&!y("body").hasClass("evlazy-scrolled")&&y("body").addClass("evlazy-scrolled"),(t===e.M||t===e.KK||t===e.kt||t===e.sD)&&u().forEach((e,t)=>{let[l,a]=e,n=a.lazy||{vp:null},i=ey(n,o),r=ef(n),u=ef(n);y("body").hasClass("evlazy-scrolled")||(i=10);let p=c.measureTime(),g=p.device+p.network,h=l.getAttribute("data-src");g>1e4&&(i=0);let f=null;"SCRIPT"===l.tagName?d.log(l.getBoundingClientRect()):"VIDEO"===l.tagName&&(f=l);let v=ea(y,l,0,i,s);if(v){if(null!==r&&!y(l).hasClass("evlazy-loaded")){if("#"===r[0]){let e=document.getElementById(r.replace("#",""));e&&"SCRIPT"===e.tagName&&(r=e.innerText)}try{s.eval(r),d.log("eval",r),l.classList.add("evlazy-loaded")}catch(e){console.error(e,r)}}f&&f.dataset.posterSrc&&(f.poster=f.dataset.posterSrc),h&&eh(l,l.getAttribute("data-src-"+o)||l.getAttribute("data-src")||"")}else u&&eh(l,"");d.log(l.tagName,"url="+l.dataset.src,"offset="+i,"isInViewport="+v,"onLoad="+r,n)}),g(t)};function em(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{},o=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(l).filter(function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable}))),o.forEach(function(t){K(e,t,l[t])})}return e}let ew=(e,t)=>{if(t){"string"==typeof t&&(t=function(e){return t=>[t[e],t]}(t));let l={};if(t){let o;e.forEach(function(e){l[(o=t(e))[0]]=o[1]})}else e.forEach(function(e){l[e[0]]=e[1]});return l}{let t={};return e.forEach(function(e){t[e[0]]=e[1]}),t}};function eb(e,t,l,o){if(void 0!==(o=o||window.document)){let a=o.createElement(e);
1return Object.keys(t).forEach(e=>{if(null!==t[e])if("style"===e){let l=t[e];Object.keys(l).forEach(e=>{a.style.setProperty(e,l[e])})}else if("className"===e)a.className=""+t[e];else if("onload"===e){let e=t.onload,l=a;l.onload=e,l.onreadystatechange=function(){("complete"===this.readyState||"loaded"===this.readyState)&&e()}}else a.setAttribute(e,""+t[e]);else a.removeAttribute(e)}),l&&(Array.isArray(l)||(l=[l]),l.forEach(e=>{e instanceof Element||e instanceof Node?a.appendChild(e):Array.isArray(e)?a.appendChild(eb(e[0],e[1],e[2])):a.appendChild(o.createTextNode("string"==typeof e?e:""+e))})),a}throw Error("no document")}let ek=(e,t,l)=>{let o=ej(e);o.allowedAll=!1,void 0!==l&&(o.allowedGroupIds=Array.from(new Set([...o.allowedGroupIds,...l]))),void 0!==t&&(o.allowedAppIds=Array.from(new Set([...o.allowedAppIds,...t]))),eT(e,o)},eI=(e,t,l)=>{let o=ej(e);o.allowedAll=!0,o.allowedAppIds=t,o.allowedGroupIds=l,eT(e,o)},ex=e=>{let t=ej(e);t.allowedAll=!1,t.allowedGroupIds=[],t.allowedAppIds=[],eT(e,t)},eE=e=>{e.removeItem("evConsent")},eA=(e,t,l)=>{let o=ej(e);o.allowedAll=!1,void 0!==l&&(o.allowedGroupIds=Array.from(new Set([...o.allowedGroupIds.filter(e=>!l.includes(e))]))),void 0!==t&&(o.allowedAppIds=Array.from(new Set([...o.allowedAppIds.filter(e=>!t.includes(e))]))),eT(e,o)},eC=null,eS=null,e_=e=>{let{config:t,container:l,window:o,$:a,debug:n}=e,i=o.app.layout.reapply;eC=eS=(e,l)=>{var a;let r=ej(o.localStorage);if(l.preventDefault(),l.stopPropagation(),e.hasClass("evconsent-allow-all"))eI(o.localStorage,Object.keys(t.apps).map(e=>t.apps[e].appId),Object.keys(t.groups).map(e=>t.groups[e].groupId)),n.log("allowAll",Object.keys(t.apps).map(e=>t.apps[e].appId));else if(e.hasClass("evconsent-clear-all"))eE(o.localStorage);else if(e.hasClass("evconsent-disallow-all"))ex(o.localStorage);else if(e.hasClass("evconsent-allow-group")){let l=JSON.parse(e.get(0).dataset.evconsentGroupId||"[]");if(l){if(l.length>1){let e=0;if(l.forEach(t=>{ej(o.localStorage).allowedGroupIds.includes(t)&&(e+=1)}),e&&e!==l.length){let e=[];l.forEach(t=>{ej(o.localStorage).allowedGroupIds.includes(t)||e.push(t)}),l=e}}l.forEach(e=>{var l,a,i,r;let s=[];ej(o.localStorage).allowedGroupIds.includes(e)?((null==(a=t.groups)||null==(l=a[e])?void 0:l.appIds)&&s.push(...t.groups[e].appIds),eA(o.localStorage,s,[e]),n.log("disallow group ",e,s,ej(o.localStorage).allowedGroupIds.includes(e)),n.log("disallow app by group",s)):((null==(r=t.groups)||null==(i=r[e])?void 0:i.appIds)&&s.push(...t.groups[e].appIds),ek(o.localStorage,s,[e]),n.log("allow group",e,s,ej(o.localStorage).allowedAppIds.includes(e)))})}}else if(e.hasClass("evconsent-allow-app")){let l=e.closest(".evconsent-placeholder"),a=parseInt(e.get(0).dataset.evconsentAppId||l.get(0).dataset.evconsentAppId||"0");if(a){let e=[];e.push(...r.allowedGroupIds);let l=t.apps[a]&&t.apps[a].groupId,i=[];if(t.groups[l]&&i.push(...t.groups[l].appIds),ej(o.localStorage).allowedAppIds.includes(a))eA(o.localStorage,[a],[l]),n.log("disallow app ",a,ej(o.localStorage).allowedAppIds.includes(a));else{let t=!0;i.forEach(e=>{r.allowedAppIds.includes(e)||e===a||(t=!1)}),t&&e.push(l),ek(o.localStorage,[a],e),n.log("allow app ",a,ej(o.localStorage).allowedAppIds.includes(a))}}else n.log("no appId",e)}let s=parseInt((null==e||null==(a=e.closest(".vlt"))?void 0:a.attr("id"))&&e.closest(".vlt").attr("id").match(/\d+/g)[0]||null),d=em({},ej(o.localStorage),{apps:t.apps,url:o.location.href,viewletId:s});n.log("evlayout","consent","logData="+d,"config="+t);let c=new Event("evconsent.changed");o.dispatchEvent(c),t.urlBasePrivacy?fetch(t.urlBasePrivacy+"log.pjson",{headers:{"Content-Type":"text/json; charset=utf-8"},method:"POST",body:JSON.stringify(d)}).catch(function(e){console.error("evlayout","consent","log fetch failed",e)}):console.error("no config.urlBasePrivacy defined"),e.hasClass("evconsent-close")&&o.fancyboxClose?o.fancyboxClose():n.log("hasClass",e.hasClass("evconsent-close"),o.fancyboxClose),i(null,"DOM_PATCHED")}},eL=e=>{let{config:t,container:l,window:o,$:a,debug:n}=e;a("a.evconsent-action",l).filter((e,t)=>!a(t).hasClass("initialized")).on("click",eC).addClass("initialized"),a("input.evconsent-action",l).filter((e,t)=>
1!a(t).hasClass("initialized")).on("change",eS).addClass("initialized");let i=a(".evconsent-state",l);if(i.length){let e=ej(o.localStorage);i.each((t,l)=>{let o=a(l).get(0),n=JSON.parse(o.dataset.evconsentGroupId||"[]"),i=parseInt(o.dataset.evconsentAppId||"0");if("INPUT"===o.tagName){let t=o;if(e.allowedAll)t.checked=!0;else if(o.dataset.evconsentAppId&&i)t.checked=e.allowedAppIds.includes(i);else if(o.dataset.evconsentGroupId&&n){let l=!0;n.forEach(t=>{e.allowedGroupIds.includes(t)||(l=!1)}),t.checked=l}}})}},eP=()=>{let e=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){let l=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?l:3&l|8).toString(16)})},eO=u("appId",null,(e,t)=>e.appId),eN={allowedAll:null,allowedGroupIds:[],allowedAppIds:[],uid:null,cdate:null},ej=e=>em({},eN,JSON.parse(e.getItem("evConsent")||"{}")),eT=(e,t)=>{t.uid||(t.uid=eP()),t.cdate||(t.cdate=new Date().getTime()),e.setItem("evConsent",JSON.stringify(t))},eD=e=>{console.error("configure not ready jet")},eH=(t,l,o,a,n,i,r,s,d,c,u,p,g,h,y)=>{let f=ej(s.localStorage),v=s.app.layout.languageKey,m=!!a.groups&&!!a.apps;if(t===e.Te&&(f.cdate&&d.log("cdate",f.cdate,new Date(f.cdate).toString()),d.log("evlayout","consent","fetch","url",a.urlBasePrivacy+"config.json"),fetch(a.urlBasePrivacy+"config.json",{headers:{"Content-Type":"application/json"},mode:"no-cors",cache:"default",credentials:"omit"}).then(e=>e.json()).then(t=>{d.log("fetch","data",t),a.groups=ew(t.config.groups,"groupId"),a.apps=ew(t.config.apps,"appId"),a.cookielessApps=t.config.cookielessApps,a.dialog=em({},a.dialog,t.config.dialog),a.dialogSettings=em({},a.dialogSettings,t.config.dialogSettings),d.log("fetch","config",a),s.addEventListener("evconsent.initialized",e=>{var t,l,o;d.log("evconsent.initialized",e);let n=ej(s.localStorage),i={},r={analytics_storage:"denied",ad_storage:"denied",ad_user_data:"denied",ad_personalization:"denied"};i.event=e.type,Object.keys(a.apps).forEach(e=>{i["evconsent_cookie_app_"+e]=n.allowedAppIds.includes(a.apps[e].appId),r["evconsent_cookie_app_"+e]=n.allowedAppIds.includes(a.apps[e].appId)?"granted":"denied"}),(n.allowedAll||n.allowedAppIds.includes(4))&&(null==(o=s._paq)||o.push(["setCookieConsentGiven"]),d.log("_paq","setCookieConsentGiven"),console.debug("matomo","_paq","setCookieConsentGiven")),(n.allowedAll||n.allowedAppIds.includes(195))&&(r.analytics_storage="granted"),(n.allowedAll||n.allowedAppIds.includes(8))&&(r.ad_storage="granted",r.ad_user_data="granted",r.ad_personalization="granted"),null==(t=s.gtag)||t.call(s,"consent","update",r),null==(l=s.dataLayer)||l.push(i)}),s.addEventListener("evconsent.changed",e=>{var t,l,o;d.log("evconsent.changed",e);let n=ej(s.localStorage),i={},r={analytics_storage:"denied",ad_storage:"denied",ad_user_data:"denied",ad_personalization:"denied"};i.event=e.type,Object.keys(a.apps).forEach(e=>{i["evconsent_cookie_app_"+e]=n.allowedAppIds.includes(a.apps[e].appId),r["evconsent_cookie_app_"+e]=n.allowedAppIds.includes(a.apps[e].appId)?"granted":"denied"}),(n.allowedAll||n.allowedAppIds.includes(4))&&(null==(o=s._paq)||o.push(["setCookieConsentGiven"]),d.log("_paq","setCookieConsentGiven"),console.debug("matomo","_paq","setCookieConsentGiven")),(n.allowedAll||n.allowedAppIds.includes(195))&&(r.analytics_storage="granted"),(n.allowedAll||n.allowedAppIds.includes(8))&&(r.ad_storage="granted",r.ad_user_data="granted",r.ad_personalization="granted"),null==(t=s.gtag)||t.call(s,"consent","update",r),null==(l=s.dataLayer)||l.push(i)});let l=new Event("evconsent.initialized");s.dispatchEvent(l),h(null,e.$X,{consent:{action:"fetchConfigJSON"}})}).catch(function(e){console.error("evlayout","consent","config fetch failed",e)}),e_({config:a,container:n,window:s,$:y,debug:d})),m){var w,b,k,I,x,E,A,C,S,_,L,P;if(t===e.uB||t===e.$X&&(null==l||null==(w=l[t])?void 0:w.consent)){if(a.apps&&Object.keys(a.apps).length>0){let e=(null==a?void 0:a.dialog)||a.dialogViewletId&&{viewletId:a.dialogViewletId||0,versionId:1,selector:"#page_evconsent",selectorContainer:"#cmsskin",urlBase:"/".concat(v,"/vlt"),configureViewletId:a.configureViewletId||0}||null;!s.document.querySelector(e.selector)&&e&&(null==(_=s.document.querySelector((null==e?void 0:e.selectorContainer)||"body"))||_.prepend(eb("div",{id:"#"===e.selector[0]?e.selector.slice(1):null,className:"."===e.selector[0]?e.selector.slice(1):null,style:{display:"none"}},[eb("div",{className:"vlt"})])))}s.app.layout.plugin.consent={configure:eD,clearAll:()=>{eE(s.localStorage)},allowAll:(e,t)=>
1{eI(s.localStorage,Object.keys(a.apps).map(e=>a.apps[e].appId),Object.keys(a.groups).map(e=>a.groups[e].groupId))},disallowAll:(e,t)=>{ex(s.localStorage)},isAllowedApp:e=>ej(s.localStorage).allowedAppIds.includes(e)||a.cookielessApps.includes(e),isAllowedGroup:e=>ej(s.localStorage).allowedGroupIds.includes(e)}}if(t===e.uB||t===e.$X&&(null==l||null==(b=l[t])?void 0:b.consent)){let e=a.dialog,t=s.document.querySelector(e.selector);if((null==a||null==(L=a.dialog)?void 0:L.html)&&t){t.innerHTML=e.html;try{e.javascript&&s.eval(e.javascript.replace(/{{REALM}}/g,a.dialog.selector).replace(/{{REALM_SNIPPLET}}/g,a.dialog.selector))}catch(t){console.error(t,e.javascript)}}}if((t===e.uB||t===e.$X&&(null==l||null==(k=l[t])?void 0:k.consent)||t===e.KK)&&((null==(P=s.app.layout.plugin.consent)?void 0:P.configure)&&s.app.layout.plugin.consent.configure!==eD||(s.app.layout.plugin.consent.configure=e=>{var t;if(null==a||null==(t=a.dialogSettings)?void 0:t.viewletId)if(s.snippletFancyboxOpen){let t=[],l={};e&&(l.cookieAppId=e),s.snippletFancyboxOpen(a.dialog.urlBase,v,a.dialogSettings.viewletId,t,l,()=>{},null,null,null,null,{baseClass:"evconsent-fancybox",zIndex:1e5})}else console.error("window.snippletFancyboxOpen not defined");else console.error("dialogSettings not configured",a)})),t===e.uB||t===e.$X&&(null==l||null==(I=l[t])?void 0:I.consent)||t===e.KK){let e=s.document.querySelector(a.dialog.selector);e&&(!s.localStorage.getItem("evConsent")&&a.apps&&Object.keys(a.apps).length?(e.style.display="block",y(i).addClass("evconsent"),y(i).addClass("evconsent-dialog-loaded")):(e.style.display="none",y(i).removeClass("evconsent-dialog-loaded")))}(t===e.uB||t===e.$X&&(null==l||null==(x=l[t])?void 0:x.consent)||t===e.KK)&&eL({config:a,container:n,window:s,$:y,debug:d}),(t===e.uB&&(null==l||null==(E=l[t])?void 0:E.stageId)+1===(null==l?void 0:l[t].stageCount)||t===e.$X&&s.app.layout.stageId+1===s.app.layout.stages.length&&(null==l||null==(A=l[t])?void 0:A.consent)||t===e.KK&&s.app.layout.stageId+1===s.app.layout.stages.length)&&u().forEach(e=>{let[t,l]=e,n=eO(l.consent||null,o);if(n&&s.$&&(f.allowedAppIds.includes(n)||a.cookielessApps.includes(n)||f.allowedAll)){if(d.log("appId="+n,"locals.allowedAppIds="+f.allowedAppIds.includes(n),"config.cookielessApps="+a.cookielessApps.includes(n),t),"SCRIPT"===t.tagName){let e=t;if("text/javascript"!==e.type&&!e.dataset.evconsentSrc&&""!==t.innerText){e.type="text/javascript",d.log("appId="+n,"eval",e.type,t.innerText.replace("\n"," "));try{s.eval(t.innerText)}catch(e){console.error(e,t.innerText)}}e.dataset.evconsentSrc&&e.dataset.evconsentSrc!==e.src&&(e.type=e.dataset.evconsentType||"text/javascript",e.dataset.evlazy?e.dataset.src=e.dataset.evconsentSrc:e.src=e.dataset.evconsentSrc)}else if("IFRAME"===t.tagName){let e=t;e.dataset.evconsentSrc&&e.dataset.evconsentSrc!==e.src&&(void 0!==e.dataset.evlazy?e.dataset.src=e.dataset.evconsentSrc:e.src=e.dataset.evconsentSrc,d.log("appId="+n,"iframe",e.dataset.evconsentSrc))}else if("LINK"===t.tagName){let e=t;if(e.dataset.evconsentSrc&&e.dataset.evconsentSrc!==e.href){if(void 0!==e.dataset.evlazy)e.dataset.src=e.dataset.evconsentSrc;else{let t=document.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),t.setAttribute("href",e.dataset.evconsentSrc),s.document.getElementsByTagName("head")[0].appendChild(t)}d.log("appId="+n,"link","set href",e.dataset.evconsentSrc)}}else if("IMG"===t.tagName){let e=t;e.dataset.evconsentSrc&&e.dataset.evconsentSrc!==e.src&&(void 0!==e.dataset.evlazy?e.dataset.src=e.dataset.evconsentSrc:e.src=e.dataset.evconsentSrc,d.log("appId="+n,"img",n,"set src",e.dataset.evconsentSrc))}}}),(t===e.uB||t===e.$X&&(null==l||null==(C=l[t])?void 0:C.consent)||t===e.KK)&&y(".evconsent-placeholder",i).each((e,t)=>{var l,o,n,i;let r=parseInt((null==(o=y(t).get(0))||null==(l=o.dataset)?void 0:l.evconsentAppId)||"0");f.allowedAppIds.includes(r)||a.cookielessApps.includes(r)||f.allowedAll||(null==(i=a.apps)||null==(n=i[r])?void 0:n.hidePlaceholder)?y(t).css("display","none"):y(t).css("display","block")}),(t===e.uB||t===e.$X&&(null==l||null==(S=l[t])?void 0:S.consent)||t===e.KK)&&y(".evconsent-app",i).each((e,t)=>{var l,o;let n=parseInt((null==(o=y(t).get(0))||null==(l=o.dataset)?void 0:l.evconsentAppId)||"0");f.allowedAppIds.includes(n)||a.cookielessApps.includes(n)||f.allowedAll?y(t).css("display","block"):y(t).css("display","none")})}g(t)},eR=e=>{if(void 0===e)return e;if(null!==e)if(Array.isArray(e))return e;else return[e]},eM=u("sticky",void 0,(e,t)=>e.sticky),eK=u("top",void 0,(e,t)=>e.top),ez=(e,t)=>eR(eK(e,t)),eG=u("bottom",void 0,(e,t)=>e[t]&&e[t].bottom),eB=(e,t)=>eR(eG(e,t)),eq=u("left",void 0,(e,t)=>e.left),e$=(e,t)=>eR(eq(e,t)),eV=u("right",void 0,(e,t)=>e.right),eU=(e,t)=>eR(eV(e,t)),eF=u("offset",void 0,(e,t)=>e.offset),eW=(e,t)=>eR(eF(e,t)),eJ=u("zIndex",void 0,(e,t)=>e.zIndex),eX=(t,l,o,a,n,r,s,d,c,u,p,g,h,y,f)=>
1{(t===e.kt||t===e.uB)&&(p().forEach(e=>{let[t,l]=e,o=f(t).attr("id")+"_wrapper",a=document.getElementById(o);a&&a.style.removeProperty("height"),f(t).removeClass("sticky"),t.removeAttribute("data-position"),t.removeAttribute("data-left"),t.removeAttribute("data-right"),t.removeAttribute("data-top"),t.removeAttribute("data-bottom"),t.removeAttribute("data-width"),t.removeAttribute("data-offset-top"),t.style.removeProperty("position"),t.style.removeProperty("top"),t.style.removeProperty("bottom"),t.style.removeProperty("left"),t.style.removeProperty("right"),t.style.removeProperty("width"),t.style.removeProperty("height"),t.style.removeProperty("zIndex")}),p().forEach(e=>{let[t,l]=e,o=t.getBoundingClientRect();t.dataset.position||(t.dataset.position=d.getComputedStyle(t).position),t.dataset.offsetTop||(t.dataset.offsetTop=Math.ceil(o.top+d.scrollY)+""),t.dataset.top||(t.dataset.top=o.top+""),t.dataset.left||(t.dataset.left=o.left+""),t.dataset.right||(t.dataset.right=o.right-o.width+""),t.dataset.width||(t.dataset.width=o.width+""),t.dataset.height||(t.dataset.height=o.height+""),c.log(t.id,"dataset",t.dataset)})),(t===e.uB||t===e.kt||t===e.sD)&&p().forEach(e=>{let[t,l]=e,a=l.sticky||null,n=f(t).attr("id")+"_wrapper",r=f(t).closest("#"+n).get(0)||t,s=a.vp&&a.vp[o]&&a.vp[o].sticky&&a.sticky&&!0;s=void 0===(s=eM(a,o))||s,c.log("sticky=",s,eM(a,o));let u=ez(a,o),p=eB(a,o),g=e$(a,o),h=eU(a,o),y=eW(a,o)||[0],v=eJ(a,o),m=0,w=0,b=0;c.log(t.id,o,"top",u,"bottom",p),void 0!==y&&y.forEach(e=>{e&&(0,i.O)(e)&&f(e).length?b+=I(f(e))||0:null!=e?b+=parseInt(e+""):console.error("evsticky",'offset value is not selector or int "'+e+'"')}),void 0!==u&&u.forEach(e=>{(0,i.O)(e)&&f(e).length?f(e).length?m+=I(f(e))||0:console.error("evsticky",'offset selector "'+e+'" not found'):e&&(m+=parseInt(e+""))}),void 0!==p&&(p.forEach(e=>{(0,i.O)(e)&&f(e).length?w+=I(f(e))||0:e&&(w+=parseInt(e+""))}),b*=-1);let k=parseFloat(t.dataset.offsetTop)+b;if(c.log("offset",y),c.log("calcOffset",b),s&&(k-m<d.pageYOffset&&void 0===p||k+parseFloat(t.dataset.height)>d.pageYOffset+d.window.innerHeight&&void 0===u||k+d.window.innerHeight<d.pageYOffset+d.window.innerHeight&&void 0===u)){f(t).addClass("sticky");let e=parseFloat(t.dataset.width||"0"),l=parseFloat(t.dataset.height||"0");f(t).closest("#"+n).length||(f(t).wrap(f(eb("div",{id:n}))),r=f(t).closest("#"+n).get(0)),"absolute"!==t.dataset.position&&"fixed"!==t.dataset.position&&f(r).css("height",l+"px");let o=r.getBoundingClientRect(),a=void 0!==g?g:t.dataset.left,s=void 0!==h?h:void 0;t.style.position="fixed",void 0!==u?(m=0,u.forEach(e=>{(0,i.O)(e)?m+=I(f(e))||0:"number"==typeof e&&(m+=e)}),t.style.top=m+"px"):void 0!==p?(w=0,p.forEach(e=>{(0,i.O)(e)?w+=I(f(e))||0:"number"==typeof e&&(w+=e)}),t.style.bottom=w+"px"):(m=0,t.style.top=m+"px"),"fixed"!==t.dataset.position&&(t.style.left=a+"px",void 0!==s?t.style.right=s+"px":t.style.width=e+"px"),void 0!==v&&(t.style.zIndex=v+""),c.log("evsticky",t.id,m,w,a,e,o)}else f(t).hasClass("sticky")&&(t.style.removeProperty("position"),t.style.removeProperty("top"),t.style.removeProperty("bottom"),t.style.removeProperty("left"),t.style.removeProperty("right"),t.style.removeProperty("width"),t.style.removeProperty("height"),t.style.removeProperty("zIndex"),r.style.removeProperty("height"),f(t).removeClass("sticky"),c.log("evsticky","init"))}),h(t)},eY=(t,l,o,a,n,i,r,s,d,c,p,g,h,y,f)=>{(t===e.M||t===e.KK||t===e.kt)&&p().forEach((e,t)=>{let[l,a]=e,n=a.style||null,i=[];n.vp?Object.keys(n.vp).forEach(e=>{i=[...i,Object.keys(n.vp[e])]}):i=Object.keys(n),i.forEach(e=>{let t=u(e,void 0,(t,l)=>t[e])(n,o);t?(l.style[e]=t,d.log(e,o,t)):l.style.removeProperty(e),d.log(e,t)})}),h(t)},eQ=u("offset",void 0,(e,t)=>e.offset),eZ=(e,t)=>eR(eQ(e,t)),e0=(t,l,o,a,n,r,s,d,c,u,p,g,h,y,f)=>{(t===e.M||t===e.KK||t===e.kt||t===e.sD)&&p().forEach((e,t)=>{let[l,a]=e,n=eZ(a.sticky||null,o),r=0;void 0!==n&&n.forEach(e=>{(0,i.O)(e)&&f(e).length?r+=I(f(e))||0:e&&(r+=parseInt(e+""))});let s=ea(f,l,0,r,d);s&&!l.classList.contains("ev-scrollspy-visible")?(l.classList.add("ev-scrollspy-visible"),l.classList.remove("ev-scrollspy-invisible")):s||l.classList.contains("ev-scrollspy-invisible")||(l.classList.add("ev-scrollspy-invisible"),l.classList.remove("ev-scrollspy-visible")),"DOWN"!==d.app.layout.scrollDirection||l.classList.contains("ev-scrollspy-down")?"UP"!==d.app.layout.scrollDirection||l.classList.contains("ev-scrollspy-up")||(l.classList.add("ev-scrollspy-up"),l.classList.remove("ev-scrollspy-down")):(l.classList.add("ev-scrollspy-down"),l.classList.remove("ev-scrollspy-up")),c.log(l,d.app.layout.scrollDirection,s,n)}),h(t)},e1=(e,t,l,o,a,n,i,r,s,d,c,u,p,g,h)=>
1{c().forEach(e=>{let[t,l]=e;s.log("evsync",t,l.sync)}),p(e)},e2=(t,l,o,a,n,i,r,s,d,c,u,p,g,h,y)=>{if(t===e.M&&u().forEach(e=>{let[t,l]=e,o=l.track||null;if("A"===t.tagName||"BUTTON"===t.tagName){let e=t;d.log(t,"add click event"),e.addEventListener("click",()=>{s.app.layout.plugin.track.event({id:o.id,category:"Button",action:e.textContent,label:e.href})})}else if("VIDEO"===t.tagName){let e=t;t.addEventListener("play",function(){s.app.layout.plugin.track.event({id:o.id,category:"Video",action:"play",label:e.src,value:null})}),t.addEventListener("pause",function(){s.app.layout.plugin.track.event({id:o.id,category:"Video",action:"pause",label:e.src,value:Math.round(e.currentTime)})}),t.addEventListener("ended",function(){s.app.layout.plugin.track.event({id:o.id,category:"Video",action:"ended",label:e.src,value:null})}),t.addEventListener("seeked",function(){s.app.layout.plugin.track.event({id:o.id,category:"Video",action:"seeked",label:e.src,value:Math.round(e.currentTime)})})}}),t===e.Te){let e=a.trackings&&a.trackings.reduce((e,t)=>(e[t.key]=t.props,e),{})||null;d.log("configTrackings",e);let t=a.trackingEvents&&a.trackingEvents.reduce((e,t)=>(e[t.id]=t,e),{})||null;d.log("configTrackingEvents",t),s.app.layout.plugin.track={event:l=>{let o=s.dataLayer,n=s.gtag,i=s.fbq,r=s._paq,c=s.printrk,u=t[l.id]||null,p=l.category||(null==u?void 0:u.category),g=l.label||(null==u?void 0:u.label)||(null==u?void 0:u.caption),h=l.action||(null==u?void 0:u.action),y=l.value||(null==u?void 0:u.value);if(d.log("track.event()",p,g,h,y,{dataLayer:o,gtag:n,fbq:i,_paq:r,printrk:c,config:u}),d.log("track()"),null!==u){let e=u&&u.items||[l];if(d.log("trackingEvents",u,e),null==u||u.items.forEach(e=>{if("gtm"===e.key||"ga4"===e.key||"gad"===e.key)if(n)try{n("event","%s",{send_to:"%s",value:l.value,currency:"EUR"})}catch(e){console.debug(e)}
1else if(o)try{o.push({event:"%s",send_to:"%s",value:l.value,currency:"EUR"})}catch(e){console.debug(e)}else console.error("track.event()","gtag or dataLayer unavailable");else if("mat"===e.key){let t=[];if(void 0!==r){e.payload&&e.payload.goalId?(t.push("trackGoal"),e.payload.goalId&&t.push(e.payload.goalId)):(t.push("trackEvent"),p&&t.push(p),h&&t.push(h),g&&t.push(g),y&&t.push(y)),d.log("track.event()","matomo",t);try{r.push(t)}catch(e){console.error("track.event()",e)}}else console.error("track.event()","_paq unavailable")}else if("fpx"===e.key){let e="track",t="",o={};l.value&&(o={value:l.value,currency:"EUR"});let a={};if(l.id&&(a={eventID:l.id}),d.log("track.event()","facebook",e,t,o,a),void 0!==i)try{i(e,t,o,a)}catch(e){console.debug("track.event()",e)}else console.error("track.event()","_fbq unavailable")}else console.error("track.event()","unknown tracking event key "+e.key)}),a.urlBase){let e=JSON.parse(s.localStorage.getItem("evTracking")||"{}");e.requestUrl=e.requestUrl||document.location.href||null,d.log("localStroage.evTracking",e),fetch(a.urlBase+"event/"+l.id,{headers:{"Content-Type":"text/json; charset=utf-8"},method:"POST",body:JSON.stringify(e)}).catch(function(e){console.error("track.event()","log","failed",e)}).then(function(e){d.log("track.event()","log","response",e)})}else console.error("no config.urlBase defined")}else if(console.error("track.event()","no trackingEvent found: ",l.id),e)if(void 0!==r){let e=[];l.payload&&l.payload.goalId?(e.push("trackGoal"),l.payload.goalId&&e.push(l.payload.goalId),y&&e.push(y),d.log("track.event()","matomo goal",e)):(e.push("trackEvent"),p&&e.push(p),h&&e.push(h),g&&e.push(g),y&&e.push(y)),d.log("track.event()","matomo fallback",e);try{r.push(e)}catch(e){console.error("track.event()",e)}}else console.error("track.event()","_paq unavailable");return!0}}}g(t)},e3=1,e4=2,e5=3,e6=function(e,t,l){e&&(l===e3?e.forEach(e=>{t.style.width?e.style.width=t.style.width:e.style.width=t.clientWidth+"px",t.style.height?e.style.height=t.style.height:e.style.height=t.clientHeight+"px"}):l===e4?e.forEach(e=>{e.style.width=t.style.width}):l===e5&&e.forEach(e=>{e.style.height=t.style.height}))},e7=e=>e&&"object"==typeof e,e9=e=>e.url||e,e8=e=>e7(e)?new Request(e.url):e,te=(e,t,l)=>{let o={},a=l?[...l]:[],n=[];e.forEach(e=>{let l=e8(e);a.push(t.fetch(l).then(e=>[e.clone().text(),e.blob?e.blob():null,{type:e.headers.get("Content-Type")}]).then(e=>Promise.all(e).then(e=>{o[e9(l)]={url:e9(l),text:e[0],blob:e[1],type:e[2].type}})))});let i=t.document.getElementsByTagName("head")[0];return Promise.all(a).then(()=>(e.forEach(e=>{let l=o[e9(e8(e))];n.push({then:(e,o)=>{let a=null;l.type.includes("text/css")?a=eb("style",{type:"text/css","data-url":l.url},t.document.createTextNode(l.text),t.document):(l.type.includes("application/javascript")||l.type.includes("text/javascript"))&&(a=eb("script",{type:"text/javascript","data-url":l.url,async:""},t.document.createTextNode(l.text),t.document)),a?(i.appendChild(a),e()):(console.error("EVBrowserLayout -> unsupported type",l.type,"for",l.url),o())}})}),Promise.all(n)))},tt=(e,t,l)=>{te((0,i.O)(e)?[e]:e,l).then(()=>{null==t||t()})},tl={},to=[],ta=(e,t)=>!e||e.find(e=>t.matches(e)||t.querySelector(e)),tn=(e,t)=>{let l=!1;if(void 0===t)if("CONFIG"===e)return{available:to,requires:Object.keys(tl)};else{let t=tl[e];return(l&&console.debug("$.plugin",e,t),void 0!==t)?t:null}if("function"==typeof t){let o=t,a=tl[e];void 0!==a?(l&&console.debug("$.plugin","function",e,a.loadingState),0===a.loadingState?(a.loadingState=1,ta(a.selectors,window.document.body)&&a.clbs.push(o),l&&console.debug("$.plugin","load",e,a.loadingState),te(a.urls.map(e=>e.url),window).then(()=>{a.loadingState=2,l&&console.debug("$.plugin","loaded",e,a.loadingState),a.clbs.forEach(t=>{l&&console.debug("$.plugin","runPushed",e,t),setTimeout(t,0)})})):1===a.loadingState?ta(a.selectors,window.document.body)&&(l&&console.debug("$.plugin","push",e,a.loadingState,o),a.clbs.push(o)):ta(a.selectors,window.document.body)&&(l&&console.debug("$.plugin","run",e,a.loadingState),setTimeout(o,0))):console.error("$.plugin",e,"is not defined",tl)}else if("object"==typeof t)if(tl[e])console.warn("$.plugin","already registered",e);else{let o=t,a={urls:o.files.map(e=>({url:e})),selectors:o.selectors||null,cache:o.cache||!1,priority:o.priority||99999,orderId:Object.keys(tl).length,loadingState:0,clbs:[]};tl[e]=a,l&&console.debug("$.plugin","register",e,a)}else console.error("invalid usage",e,t)},ti=e=>to.push(...e);var tr=__webpack_require__(67);let ts=(e,t,l)=>(t.filter(e=>"object"==typeof e).forEach(t=>{Object.keys(t).forEach(o=>{void 0!==e[o]?"object"==typeof t[o]&&"object"==typeof e[o]?ts(e[o],[t[o]],[...l,o]):(void 0!==e[o]&&typeof t[o]!=typeof e[o]&&console.warn("value changes type ".concat([...l,o].map(e=>"['".concat(e,"']")).join(""))),e[o]=t[o]):e[o]=t[o]})}),e),td=function(e){for(var t=arguments.length,l=Array(t>1?t-1:0),o=1;o<t;o++)l[o-1]=arguments[o];return ts(e,l,[])};var tc=__webpack_require__(295);let tu=(e,t)=>
1Array.from(e).map((l,o)=>String.fromCharCode(e.charCodeAt(o)-t)).join(""),tp=e=>"object"==typeof e,tg=Math.max,th=Math.min,ty=Date.now;function tf(e,t,l){let o,a,n,i,r,s,d=0,c=!1,u=!1,p=!0;if("function"!=typeof e)throw TypeError("Expected a function");function g(t){let l=o,n=a;return o=a=void 0,d=t,i=e.apply(n,l)}function h(e){return d=e,r=setTimeout(v,t),c?g(e):i}function y(e){let l=e-s,o=e-d,a=t-l;return u?th(a,n-o):a}function f(e){let l=e-s,o=e-d;return void 0===s||l>=t||l<0||u&&o>=n}function v(){let e=ty();if(f(e))return m(e);r=setTimeout(v,y(e))}function m(e){return(r=void 0,p&&o)?g(e):(o=a=void 0,i)}function w(){return void 0===r?i:m(ty())}function b(){for(var e=arguments.length,l=Array(e),n=0;n<e;n++)l[n]=arguments[n];let d=ty(),c=f(d);if(o=l,a=this,s=d,c){if(void 0===r)return h(s);if(u)return clearTimeout(r),r=setTimeout(v,t),g(s)}return void 0===r&&(r=setTimeout(v,t)),i}return t=t||0,tp(l)&&(c=!!l.leading,n=(u="maxWait"in l)?tg(l.maxWait||0,t):n,p="trailing"in l?!!l.trailing:p),b.cancel=function(){void 0!==r&&clearTimeout(r),d=0,o=s=a=r=void 0},b.flush=w,b}let tv=e=>void 0!==e._all,tm=e=>"string"==typeof e,tw=e=>"object"==typeof e,tb=function(e){for(var t=arguments.length,l=Array(t>1?t-1:0),o=1;o<t;o++)l[o-1]=arguments[o];return function(){for(var t=arguments.length,o=Array(t),a=0;a<t;a++)o[a]=arguments[a];return e(...l,...o)}};function tk(e,t,l){if(void 0===l){var o;return null==(o=e._all[0])?void 0:o.getAttribute(t)}return null===l?e._all.forEach(e=>{e.removeAttribute(t)}):e._all.forEach(e=>{e.setAttribute(t,l)}),e}let tI=(e,t,l)=>void 0===l?e._all[0].style.getPropertyValue(t):(e._all.forEach(e=>{t=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase()),e.style.setProperty(t,isNaN(l)?l:""+l)}),e),tx=(e,t,l)=>tI(e,t,l);function tE(e,t,l){let o=[];return tw(t)&&void 0===l&&(o=Object.keys(t).map(e=>[e,t[e]])),o.forEach(t=>{null===t[1]?e._all.forEach(e=>{e.removeAttribute("data-"+t[0])}):e._all.forEach(e=>{e.dataset[t[0]]=null!==t[1]?""+t[1]:void 0})}),e}let tA=(e,t)=>void 0===t?e._all[0].innerHTML:(null===t?e._all.forEach(e=>{e.innerHTML=""}):e._all.forEach(e=>{e.innerHTML=t}),e),tC=e=>t$(e._all.map(e=>e.parentNode).filter(e=>e)),tS=(e,t,l)=>(e._all.forEach(e=>{e.addEventListener(t,t=>l(t$([e]),t))}),e),t_=(e,t)=>t$(e._all.reduce((e,l)=>(e.push(...Array.from(l.querySelectorAll(t))),e),[])),tL=e=>t$([e._all[0]]),tP=(e,t)=>e._all.slice(t)[0],tO=e=>e._all,tN=(e,t)=>(e._all.forEach((e,l)=>t(l,e)),e),tj=(e,t)=>e._all.map((e,l)=>t(l,e)),tT=(e,t)=>void 0!==t?(tI(e,"width",t+"px"),e):e._all.length?e._all[0].offsetWidth:null,tD=(e,t)=>void 0!==t?(tI(e,"height",t+"px"),e):e._all.length?e._all[0].offsetHeight:null,tH=(e,t)=>{let l;return t$(e._all.map(e=>{for(l=e.parentNode;void 0!==l;)if(!l||9===l.nodeType)return;else if(l.matches(t))break;else l=l.parentNode;return l}).filter(e=>void 0!==e))},tR=(e,t)=>t$(Array.from(e.get(0).children).filter(e=>e.matches(t))),tM=(e,t)=>{let l=tv(t)?t.get(0):t;return e.get(0).parentNode&&e.get(0).parentNode.insertBefore(l,e.get(0)),l.appendChild(e.get(0)),e},tK=(e,t)=>{let l=tv(t)?t.get(0):t;return e._all.forEach((e,t)=>e.appendChild(l)),e},tz=(e,t)=>e._all.filter(e=>e.classList?e.classList.contains(t):e.className?e.className.indexOf(t)>-1:void 0).length===e._all.length,tG=(e,t)=>t$(e._all.filter((e,l)=>t(l,e))),tB=(e,t)=>(e._all.forEach(e=>{if(e.classList)e.classList.add(t);else{let l=e.className,o=!1,a=l.split(" ");for(let e=0;e<a.length&&!o;e++)o=a[e]===t;o||(""===l?e.className=t:e.className+=" "+t)}}),e),tq=(e,t)=>(e._all.forEach(e=>{e.classList?e.classList.remove(t):e.className=e.className.replace(RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}),e),t$=e=>{let t={_all:e};return t.length=e.length,t.attr=tb(tk,t),t.css=tb(tx,t),t.data=tb(tE,t),t.html=tb(tA,t),t.parent=tb(tC,t),t.find=tb(t_,t),t.on=tb(tS,t),t.first=tb(tL,t),t.get=tb(tP,t),t.toArray=tb(tO,t),t.each=tb(tN,t),t.map=tb(tj,t),t.width=tb(tT,t),t.height=tb(tD,t),t.closest=tb(tH,t),t.children=tb(tR,t),t.wrap=tb(tM,t),t.append=tb(tK,t),t.hasClass=tb(tz,t),t.filter=tb(tG,t),t.addClass=tb(tB,t),t.removeClass=tb(tq,t),t},tV=(e,t)=>{let l=t&&tv(t)?t._all[0]:t||window.document;return tm(e)?t$(Array.from(l.querySelectorAll(e))):tv(e)?e:Array.isArray(e)?t$(e):t$([e])},tU=Date.now(),tF=null,tW=["div","script","img","header","section","article","iframe","video","link","a","button","embed"],tJ={consent:{key:"consent",ext:null,breakpoints:e.H,run:eH},a11ywidget:{key:"a11ywidget",ext:null,breakpoints:e.H,run:a},animate:{key:"animate",ext:null,breakpoints:e.H,run:f},ratio:{key:"ratio",ext:null,breakpoints:e.H,run:k},match:{key:"match",ext:null,breakpoints:e.H,run:S},formula:{key:"formula",ext:null,breakpoints:e.H,run:_.A},photo:{key:"photo",ext:null,breakpoints:e.H,run:R},objectfit:{key:"objectfit",ext:null,breakpoints:e.H,run:M},fltgrd:{key:"fltgrd",ext:null,breakpoints:e.H,run:X},image:{key:"image",ext:null,breakpoints:e.H,run:eo},video:{key:"video",ext:null,breakpoints:e.H,run:eu},lazy:{key:"lazy",ext:null,breakpoints:e.H,run:ev}
1,sticky:{key:"sticky",ext:null,breakpoints:e.H,run:eX},scrollspy:{key:"scrollspy",ext:null,breakpoints:e.H,run:e0},style:{key:"style",ext:null,breakpoints:e.H,run:eY},syncto:{key:"syncto",ext:null,breakpoints:e.H,run:e1},track:{key:"track",ext:null,breakpoints:e.H,run:e2}},tX=Object.keys(tJ),tY=new RegExp("^ev(".concat(tX.join("|"),")(").concat(e.H.map(e=>e[0].toUpperCase()+e.slice(1,e.length)).join("|"),"|)(.*)$")),tQ=window[tu("tg|omgzux",6)][tu("{ykxGmktz",6)],tZ=RegExp(tu("suzu&m&vu}kx‚omnzn‚t{~40uzuyM‚~7740lu~5;:‚~7740usk59?‚~7740usk5<8‚uojy<40740~{yy;40SXG;>T40usk‚P]X<<_40usk5<8‚}uuhuz‚yvkkj‚zskzx‚kgjrk",6),"i").test(tQ),t0=(e,t)=>tZ?{device:e+3e3,network:t+12e3}:{device:e,network:t},t1=e=>{if(e.app.layout.debugLevel&&console.debug("evlayout","patchJQuery","jQuery=",e.$),e.$){var t;!e.$.plugin&&(e.$.plugin=tn,e.app.layout.debugLevel&&console.debug("evlayout","patchJQuery","$.plugin")),e.$.fn&&!(null==(t=e.$.fn)?void 0:t.evPhoto)&&(e.$.fn.evPhoto=()=>void 0,e.app.layout.debugLevel&&console.debug("evlayout","patchJQuery","$.fn.photo","undefined"))}};function t2(){var t,l,o,a,n,i,r,s,d,c;let u=window;if(u.dataLayer=u.dataLayer||[],!(null==u||null==(t=u.app)?void 0:t.layout)){u._ievl=()=>{t2()};return}if(tZ&&(null==u||null==(n=u.app)||null==(a=n.layout)||null==(o=a.optimize)||null==(l=o.slow)?void 0:l.device)&&(null==u||null==(d=u.app)||null==(s=d.layout)||null==(r=s.optimize)||null==(i=r.slow)?void 0:i.network))return void tV("body").addClass("ev-layout-slowdevice");let p=u.document.getElementsByTagName("head")[0],g=u.document.getElementsByTagName("body")[0],h=".ev-viewport { display: none; }";e.LO.forEach((t,l)=>{h+="@media (".concat(0!==l?"min-width:"+t.width+"px":"max-width:"+(e.LO["1"].width-1)+"px",") { .ev-viewport-").concat(t.key," { display: block; } }\n")}),p.appendChild(eb("style",{type:"text/css","data-id":"viewport-check"},h,u.document));let y=u.app=u.app||{app:{layout:{}}};y.addResource=(e,t)=>tt(e,t,window||u),y.createElement=(e,t,l)=>eb(e,t,l,(window||u).document),y.getPluginCompat=tn,y.previewCookieConsent=()=>{let e=window.app.layout.plugins.find(e=>"consent"===e.key).config,t=e.dialog,l=f.createElement;fetch(e.urlBasePrivacy+"config.json",{headers:{"Content-Type":"application/json"},mode:"no-cors",cache:"default",credentials:"omit"}).then(e=>e.json()).then(e=>{var o;null==(o=window.document.querySelector((null==t?void 0:t.selectorContainer)||"body"))||o.appendChild(l("div",{id:"#"===t.selector[0]?t.selector.slice(1):null,className:"."===t.selector[0]?t.selector.slice(1):null,style:{display:"none"}},[l("div",{className:"vlt"})]))}).catch(function(e){console.error("evlayout","consent","config fetch failed",e)})};let f=y.layout=y.layout||{};f.ts=f.ts||new Date().getTime(),f.languageId=f.languageId||1,f.languageKey=f.languageKey||"de",f.stageId=-1,f.plugin=f.plugin||{},f.viewport=null,f.isSlowDevice=tZ,f.connection=null,"connection"in navigator&&(f.connection=navigator.connection),f.devicePixelRatio=2,f.stages=f.stages||[],f.debugLevel&&(f.isSlowDevice&&console.warn("evlayout","isSlowDevice",f.isSlowDevice),f.devicePixelRatio>1&&console.warn("evlayout","devicePixelRatio",f.devicePixelRatio,window.devicePixelRatio));let v=(t,l,o,a)=>{if(f.debugLevel&&console.debug("evlayout","reapply",e.Kl[l],"stageId="+f.stageId,"------------------------------------------------------------------------","eleRoot=",t),u&&y&&f&&f.plugins){let n,i,r,s,d;t=t||u.document.getElementsByTagName("html")[0];let c=e.Gn.find(e=>tV(".ev-viewport-"+e).length&&"none"!==u.getComputedStyle(tV(".ev-viewport-"+e).get(0)).getPropertyValue("display"))||"xs";u.app.layout.viewport=c;let h=Array.from(t.querySelectorAll(tW.join(","))).filter(e=>Object.keys(e.dataset).length).map(t=>(s={},(r=Object.keys(t.dataset).map(e=>{if(!(n=tY.exec(e)))return null;if(""===(i=t.dataset[e]))i=!0;else try{i=JSON.parse((0,tr.k)(i.replace(/\n/g,"")))}catch(e){return console.error("json parse errer",t,(0,tr.k)(i.replace(/\n/g,""))),null}return{pluginKey:n[1],extViewport:n[2]?n[2][0].toLowerCase()+n[2][1]:null,ext:n[3]?n[3][0].toLowerCase()+n[3].substring(1):null,value:i,orderId:n[2]&&n[3]?3:n[2]?2:1}}).filter(e=>null!==e).sort((e,t)=>
1e.orderId-t.orderId)).length)?(r.forEach(t=>{t.extViewport&&t.ext?s[t.pluginKey]=td(s[t.pluginKey]||{},{vp:{[t.extViewport]:{[t.ext]:t.value}}}):t.extViewport?s[t.pluginKey]=td(s[t.pluginKey]||{},{vp:{[t.extViewport]:t.value}}):"vp"===t.ext?e.H.forEach(e=>{void 0!==t.value[e]&&(s[t.pluginKey]=td(s[t.pluginKey]||{},{vp:{[e]:t.value[e]}}))}):t.ext?e7(t.value)?Object.keys(t.value).forEach(l=>{e.H.includes(l)?s[t.pluginKey]=td(s[t.pluginKey]||{},{vp:{[l]:{[t.ext]:t.value[l]}}}):s[t.pluginKey]=td(s[t.pluginKey]||{},{[t.ext]:t.value})}):s[t.pluginKey]=td(s[t.pluginKey]||{},{[t.ext]:t.value}):e7(t.value)?Object.keys(t.value).forEach(l=>{e.H.includes(l)?s[t.pluginKey]=td(s[t.pluginKey]||{},{vp:{[l]:t.value[l]}}):s[t.pluginKey]=td(s[t.pluginKey]||{},{[l]:t.value[l]})}):s[t.pluginKey]=t.value}),[t,s]):null).filter(e=>null!==e),y=-1,m=h.filter(e=>e[1].hook);m=m.map(e=>(e[1].hook.before&&"string"==typeof e[1].hook.before&&(e[1].hook.before=e[1].hook.before.split(",").map(e=>e)),e[1].hook.after&&"string"==typeof e[1].hook.after&&(e[1].hook.after=e[1].hook.after.split(",").map(e=>e)),e));let b=[],k=m.filter(e=>e[1].hook.before),I=m.filter(e=>e[1].hook.after),x=h.filter(e=>e[1].syncto),E=null,A=e=>{var l,n;if(y>=0&&(d=f.plugins[y],b=I.filter(e=>e[1].hook.after.includes(d.key)),f.onHookAfter&&b.length&&((E={level:d.config&&d.config.debugLevel||0,log:function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l]},warning:function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];try{window.console.warn(...t)}catch(e){alert("Error:"+e)}},error:function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];try{window.console.error(...t)}catch(e){alert("Error:"+e)}}}).level&&(null==(l=window)?void 0:l.console)&&(E.log=function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];try{window.console.debug(...t)}catch(e){alert("Error:"+e)}}),f.onHookAfter(b,c,d.key,e,d.config,t,tV,E)),x.length&&x.forEach(e=>{let[t,l]=e;l.syncto.both?e6(Array.from(t.querySelectorAll(l.syncto.both)),t,1):l.syncto.width?e6(Array.from(t.querySelectorAll(l.syncto.width)),t,2):l.syncto.height&&e6(Array.from(t.querySelectorAll(l.syncto.height)),t,3)})),(y+=1)<f.plugins.length){if((E={level:(d=f.plugins[y]).config&&d.config.debugLevel||0,log:function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l]},warning:function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];try{window.console.warn("evlayout--"+d.key+"--"+c,...t)}catch(e){alert("Error:"+e)}},error:function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];try{window.console.error("evlayout--"+d.key+"--"+c,...t)}catch(e){alert("Error:"+e)}}}).level&&(null==(n=window)?void 0:n.console))try{E.log=function(){for(var t=arguments.length,l=Array(t),o=0;o<t;o++)l[o]=arguments[o];try{window.console.debug("evlayout--"+d.key+"--"+c,e,...l)}catch(e){alert("Error:"+e)}}}catch(e){alert("Error:"+e)}tJ[d.key]&&"hook"!==d.key?(f.onHookBefore&&(b=k.filter(e=>e[1].hook.before.includes(d.key))).length&&f.onHookBefore(b,c,d.key,e,d.config,t,tV,E),E.log("run()","eventId="+e,"elements="+h.filter(e=>e[1][d.key]).length+"/"+h.length),tJ[d.key].run(e,{[e]:o},c,d.config,t,g,p,u,E,w,()=>h.filter(e=>e[1][d.key]),()=>h,A,v,tV)):(console.warn("unkown plugin:",d),A(e))}else if(a)try{a()}catch(e){console.error(e,d,a)}};y=-1,A(l)}},m={1:e.KK,2:e.kt,3:e.sD};f.viewport=e.Gn.find(e=>tV(".ev-viewport-"+e).length&&"none"!==u.getComputedStyle(tV(".ev-viewport-"+e).get(0)).getPropertyValue("display"))||"xs",f.reapply=(t,l,o,a)=>{let n=null;(0,tc.c)(l)&&m[l[0]]?n=m[l[0]]:"number"==typeof l&&m[l]?n=m[l]:e.qY[l]?n=e.qY[l]:console.warn("unkown eventKey (or no compat): ",l),n&&v(t,n,o)},f.test=()=>{let e=tV("#test");e.css("border","1px solid red"),e.data("evsiz","testsize"),e.html("test222"),console.debug("html",e.parent().html()),console.debug("data",e.data("evsiz")),console.debug("css",e.css("border"))};let w={measureTime:()=>{var e;let t=null==f||null==(e=f.optimize)?void 0:e.slow,l={network:tU-f.ts,device:tF-tU};return(null==t?void 0:t.device)&&(null==t?void 0:t.network)&&(l=t0(l.device,l.network)),l}},b=f.stages,k=()=>
1{if(b.length){var t,l,o,a,n,i;f.stageId+=1,f.debugLevel&&console.debug("evlayout","loadStage","stageId="+f.stageId),t1(u),null==(t=Object.keys((null==(l=b[0])?void 0:l.requires)||[]))||t.forEach(e=>{var t;tn(e,null==(t=b[0])?void 0:t.requires[e]),f.debugLevel&&console.debug("evlayout","loadStage","stageId="+f.stageId,"register","plugin",e)});try{if(null==(a=b[0])?void 0:a.onIsReady){let e=null==(i=b[0])||null==(n=i.onIsReady)?void 0:n.call(i,w);f.debugLevel&&console.debug("evlayout","onIsReady",e),e&&!0===e.success&&"completed"===e.onIsReady||console.error("evlayout","function","onIsReady","not","completed",e)}}catch(e){console.error(e)}if(v(null,e.uB,{stageId:0,stageCount:b.length,stageUrls:null,loaded:(null==(o=b[0])?void 0:o.loaded)||[]}),b.length>1){let t=()=>{let l=b[f.stageId+1]||null;if(l){var o,a;let n=[...(null==l||null==(o=l.jsUrls)?void 0:o.map(e=>({type:"js",url:e})))||[],...(null==l||null==(a=l.cssUrls)?void 0:a.map(e=>({type:"css",url:e})))||[]];f.debugLevel&&console.debug("evlayout","loadStage","stageId="+f.stageId,"stageUrls=",n),tt(n,()=>{var o,a;f.stageId+=1,ti((null==l?void 0:l.loaded)||[]),null==(o=Object.keys(l.requires||[]))||o.forEach(e=>{tn(e,l.requires[e]),f.debugLevel&&console.debug("evlayout","loadStage","stageId="+f.stageId,"register","plugin",e)}),t1(u);try{if(l.onIsReady){let e=null==l||null==(a=l.onIsReady)?void 0:a.call(l,w);f.debugLevel&&console.debug("evlayout","onIsReady",e),e&&!0===e.success&&"completed"===e.onIsReady||console.error("evlayout","function","onIsReady","not","completed",e)}}catch(e){console.error(e)}f.debugLevel&&console.debug("evlayout","loadStage",f.stageId),v(null,e.uB,{stageId:f.stageId,stageCount:b.length,stageUrls:n,loaded:(null==l?void 0:l.loaded)||[]}),t()},u)}};t()}}},I=()=>{if(tF=Date.now(),t1(u),v(null,e.M),b.length>0){var t,l;if(null==f||null==(l=f.optimize)||null==(t=l.slow)?void 0:t.network){let e=w.measureTime(),t=e.device+e.network;t>1e4?(console.info("evlayout -> defer first stage because of slow device for",t),setTimeout(k,t)):k()}else k()}};t1(u),v(null,e.Te),"interactive"===document.readyState||"complete"===document.readyState?I():u.document.addEventListener("DOMContentLoaded",I);let x=tf(()=>{v(null,e.kt)},500,{leading:!1,trailing:!0}),E=tf(()=>{let t=document.body.getBoundingClientRect().top,l=t>
1u.app.layout.scrollPosition?"UP":"DOWN";u.app.layout.scrollDirection=l,u.app.layout.scrollPosition=t,v(null,e.sD,{scrollPosition:t,scrollDirection:l})},100,{leading:!1,trailing:!0,maxWait:250}),A=tf(t=>{v(null,e.x7,{hash:document.location.hash})},100);if(u.addEventListener("resize",x),u.addEventListener("scroll",E),u.addEventListener("onhashchange",A),"connection"in navigator){let e=tf(e=>{console.warn("evlayout","connection",u.app.layout.connection)},100);null==(c=u.app.layout.connection)||c.addEventListener("change",e)}}t2()})()})();
2//# sourceMappingURL=lib-evlayout-0.1.5.js.map

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.