!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=154)}({154:function(t,e,n){t.exports=n(155)},155:function(t,e,n){"use strict";const o=n(156),r=n(160),s=n(164)(),i=document.documentElement.classList.contains("aow"),a=r.browser.firefox,u=r.os.android,c=r.browser.edge,d=r.os.ios&&r.os.version.major<13,f=function(t,e){let n=t.getPropertyValue(e);return!!n&&(n=n.match(/\(.+\)/)[0],n=n.replace(/\(+/,"("),n=n.replace(/\)+/,")"),n=n.replace(/"+/g,""),matchMedia(n))}(function(){let t=document.documentElement;return window.getComputedStyle(t)}(),"--enhanced-media-query").matches,h=!(s||i||u||c||d);o.addTests({firefox:a,"static-layout":s,"enhance-xp":h,"in-height-range":f&&!s}),o.htmlClass(),n(41).PictureHead},156:function(t,e,n){"use strict";const o=n(157),r=n(158);t.exports=new o(document.documentElement,r),t.exports.FeatureDetect=o;const s=n(159);document.addEventListener&&document.addEventListener("DOMContentLoaded",(()=>{new s}))},157:function(t,e,n){"use strict";t.exports=class{constructor(t,e){this._target=t,this._tests={},this.addTests(e)}addTests(t){this._tests=Object.assign(this._tests,t)}htmlClass(){this._target.classList.remove("no-js"),this._target.classList.add("js");for(let t of Object.keys(this._tests))this._addClass(t)}_supports(t){return void 0!==this._tests[t]&&("function"==typeof this._tests[t]&&(this._tests[t]=this._tests[t]()),this._tests[t])}_addClass(t,e){e=e||"no-",this._supports(t)?this._target.classList.add(t):this._target.classList.add(e+t)}}},158:function(t,e,n){"use strict";const o=n(37);t.exports={touch:o,"progressive-image":!0}},159:function(t,e,n){"use strict";const o="touch";t.exports=class{constructor(t,e){this._target=t||document.body,this._attr=e||"data-focus-method",this._focusMethod=this._lastFocusMethod=!1,this._onKeyDown=this._onKeyDown.bind(this),this._onMouseDown=this._onMouseDown.bind(this),this._onTouchStart=this._onTouchStart.bind(this),this._onFocus=this._onFocus.bind(this),this._onBlur=this._onBlur.bind(this),this._onWindowBlur=this._onWindowBlur.bind(this),this._bindEvents()}_bindEvents(){this._target.addEventListener("keydown",this._onKeyDown,!0),this._target.addEventListener("mousedown",this._onMouseDown,!0),this._target.addEventListener("touchstart",this._onTouchStart,{capture:!0,passive:!0}),this._target.addEventListener("focus",this._onFocus,!0),this._target.addEventListener("blur",this._onBlur,!0),window.addEventListener("blur",this._onWindowBlur)}_onKeyDown(t){this._focusMethod="key"}_onMouseDown(t){this._focusMethod!==o&&(this._focusMethod="mouse")}_onTouchStart(t){this._focusMethod=o}_onFocus(t){this._focusMethod||(this._focusMethod=this._lastFocusMethod),t.target.setAttribute(this._attr,this._focusMethod),this._lastFocusMethod=this._focusMethod,this._focusMethod=!1}_onBlur(t){t.target.removeAttribute(this._attr)}_onWindowBlur(t){this._focusMethod=!1}}},160:function(t,e,n){"use strict";var o={ua:window.navigator.userAgent,platform:window.navigator.platform,vendor:window.navigator.vendor};t.exports=n(161)(o)},161:function(t,e,n){"use strict";var o=n(162),r=n(163);function s(t,e){if("function"==typeof t.parseVersion)return t.parseVersion(e);var n,o=t.version||t.userAgent;"string"==typeof o&&(o=[o]);for(var r,s=o.length,i=0;i<s;i++)if((r=e.match((n=o[i],new RegExp(n+"[a-zA-Z\\s/:]+([0-9_.]+)","i"))))&&r.length>1)return r[1].replace(/_/g,".")}function i(t,e,n){for(var o,r,i=t.length,a=0;a<i;a++)if("function"==typeof t[a].test?!0===t[a].test(n)&&(o=t[a].name):n.ua.indexOf(t[a].userAgent)>-1&&(o=t[a].name),o){if(e[o]=!0,"string"==typeof(r=s(t[a],n.ua))){var u=r.split(".");e.version.name=r,u&&u.length>0&&(e.version.major=parseInt(u[0]||0),e.version.minor=parseInt(u[1]||0),e.version.patch=parseInt(u[2]||0))}else"edge"===o&&(e.version.name="12.0.0",e.version.major="12",e.version.minor="0",e.version.patch="0");return"function"==typeof t[a].parseDocumentMode&&(e.version.documentMode=t[a].parseDocumentMode()),e}return e}t.exports=function(t){var e={};return e.browser=i(r.browser,o.browser,t),e.os=i(r.os,o.os,t),e}},162:function(t,e,n){"use strict";t.exports={browser:{safari:!1,chrome:!1,firefox:!1,ie:!1,opera:!1,android:!1,edge:!1,version:{name:"",major:0,minor:0,patch:0,documentMode:!1}},os:{osx:!1,ios:!1,android:!1,windows:!1,linux:!1,fireos:!1,chromeos:!1,version:{name:"",major:0,minor:0,patch:0}}}},163:function(t,e,n){"use strict";t.exports={browser:[{name:"edge",userAgent:"Edge",version:["rv","Edge"],test:function(t){return t.ua.indexOf("Edge")>-1||"Mozilla/5.0 (Windows NT 10.0; Win64; x64)"===t.ua}},{name:"chrome",userAgent:"Chrome"},{name:"firefox",test:function(t){return t.ua.indexOf("Firefox")>-1&&-1===t.ua.indexOf("Opera")},version:"Firefox"},{name:"android",userAgent:"Android"},{name:"safari",test:function(t){return t.ua.indexOf("Safari")>-1&&t.vendor.indexOf("Apple")>-1},version:"Version"},{name:"ie",test:function(t){return t.ua.indexOf("IE")>-1||t.ua.indexOf("Trident")>-1},version:["MSIE","rv"],parseDocumentMode:function(){var t=!1;return document.documentMode&&(t=parseInt(document.documentMode,10)),t}},{name:"opera",userAgent:"Opera",version:["Version","Opera"]}],os:[{name:"windows",test:function(t){return t.platform.indexOf("Win")>-1},version:"Windows NT"},{name:"osx",userAgent:"Mac",test:function(t){return t.platform.indexOf("Mac")>-1}},{name:"ios",test:function(t){return t.ua.indexOf("iPhone")>-1||t.ua.indexOf("iPad")>-1},version:["iPhone OS","CPU OS"]},{name:"linux",userAgent:"Linux",test:function(t){return t.platform.indexOf("Linux")>-1&&-1===t.ua.indexOf("Android")}},{name:"fireos",test:function(t){return t.ua.indexOf("Firefox")>-1&&t.ua.indexOf("Mobile")>-1},version:"rv"},{name:"android",userAgent:"Android"},{name:"chromeos",userAgent:"CrOS"}]}},164:function(t,e,n){"use strict";var o=n(40);t.exports=function(){var t=o.getWindow().matchMedia("(prefers-reduced-motion)");return!(!t||!t.matches)}},3:function(t,e,n){"use strict";t.exports={PICTURE_DATA_DOWNLOAD_AREA_KEYFRAME:"data-download-area-keyframe",PICTURE_DATA_LAZY:"data-lazy",PICTURE_DATA_EMPTY_SOURCE:"data-empty",PICTURE_DATA_LOADED:"data-picture-loaded",PICTURE_CLASS_LOADED:"loaded"}},37:function(t,e,n){"use strict";var o=n(38),r=n(39);function s(){var t=o.getWindow(),e=o.getDocument(),n=o.getNavigator();return!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch||n.maxTouchPoints>0||n.msMaxTouchPoints>0)}t.exports=r(s),t.exports.original=s},38:function(t,e,n){"use strict";t.exports={getWindow:function(){return window},getDocument:function(){return document},getNavigator:function(){return navigator}}},39:function(t,e,n){"use strict";t.exports=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}},40:function(t,e,n){"use strict";t.exports={getWindow:function(){return window},getDocument:function(){return document},getNavigator:function(){return navigator}}},41:function(t,e,n){"use strict";const o=n(42),r=n(43);t.exports={PictureLazyLoading:o,PictureHead:r}},42:function(t,e,n){"use strict";const o=n(3).PICTURE_DATA_LAZY,r=n(3).PICTURE_DATA_EMPTY_SOURCE,s=n(3).PICTURE_DATA_DOWNLOAD_AREA_KEYFRAME;t.exports=class{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.options=t,this._init()}_init(){this._pictures=Array.from(document.querySelectorAll(`*[${o}]`)),this.AnimSystem=this._findAnim(),null!==this.AnimSystem&&(this._injectSources(),this._addKeyframesToImages(),this._addMethodsToPictures())}_addMethodsToPictures(){this._pictures.forEach((t=>{t.forceLoad=()=>{this._downloadImage(t)}}))}_injectSources(){this._pictures.forEach((t=>{const e=t.nextElementSibling;if(e&&"NOSCRIPT"===e.nodeName){const n=t.querySelector("img"),o=e.textContent.match(/<source .+ \/>/g);o&&n.insertAdjacentHTML("beforebegin",o.join(""))}}))}_defineKeyframeOptions(t){const e=t.getAttribute(s)||"{}";return Object.assign({},{start:"t - 200vh",end:"b + 100vh",event:"PictureLazyLoading"},JSON.parse(e))}_addKeyframesToImages(){this._pictures.forEach((t=>{t.__scrollGroup=this.AnimSystem.getGroupForTarget(document.body),this.AnimSystem.getGroupForTarget(t)&&(t.__scrollGroup=this.AnimSystem.getGroupForTarget(t));let e=this._defineKeyframeOptions(t);t.__scrollGroup.addKeyframe(t,e).controller.once("PictureLazyLoading:enter",(()=>{this._imageIsInLoadRange(t)}))}))}_imageIsInLoadRange(t){t.querySelector("img")&&this._downloadImage(t)}_downloadImage(t){const e=t.querySelector(`[${r}]`);e&&t.removeChild(e)}_findAnim(){var t=Array.from(document.querySelectorAll("[data-anim-group],[data-anim-scroll-group],[data-anim-time-group]"));return t.map((t=>t._animInfo?t._animInfo.group:null)).filter((t=>null!==t)),t[0]&&t[0]._animInfo?t[0]._animInfo.group.anim:(console.error("PictureLazyLoading: AnimSystem not found, please initialize anim before instantiating"),null)}}},43:function(t,e,n){"use strict";const o=n(3).PICTURE_CLASS_LOADED,r=n(3).PICTURE_DATA_LOADED,s=n(3).PICTURE_DATA_EMPTY_SOURCE;t.exports=(window.__pictureElementInstancesLoaded=new Map,void(window.__lp=function(t){const e=t.target.parentElement;e.querySelector(`[${s}]`)?t.stopImmediatePropagation():(e.classList.add(`${o}`),e.setAttribute(`${r}`,""),window.__pictureElementInstancesLoaded.set(e.id,e),t.target.onload=null)}))}});