(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[function(t,e,r){"use strict";(function(t){var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var r=-1;return t.some((function(t,n){return t[0]===e&&(r=n,!0)})),r}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var r=t(this.__entries__,e),n=this.__entries__[r];return n&&n[1]},e.prototype.set=function(e,r){var n=t(this.__entries__,e);~n?this.__entries__[n][1]=r:this.__entries__.push([e,r])},e.prototype.delete=function(e){var r=this.__entries__,n=t(r,e);~n&&r.splice(n,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var r=0,n=this.__entries__;r<n.length;r++){var i=n[r];t.call(e,i[1],i[0])}},e}()}(),n="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==t&&t.Math===Math?t:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],a="undefined"!=typeof MutationObserver,u=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var r=!1,n=!1,i=0;function s(){r&&(r=!1,t()),n&&u()}function a(){o(s)}function u(){var t=Date.now();if(r){if(t-i<2)return;n=!0}else r=!0,n=!1,setTimeout(a,e);i=t}return u}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,r=e.indexOf(t);~r&&e.splice(r,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),a?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,r=void 0===e?"":e;s.some((function(t){return!!~r.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),c=function(t,e){for(var r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},d=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},f=v(0,0,0,0);function h(t){return parseFloat(t)||0}function l(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.reduce((function(e,r){return e+h(t["border-"+r+"-width"])}),0)}function p(t){var e=t.clientWidth,r=t.clientHeight;if(!e&&!r)return f;var n=d(t).getComputedStyle(t),i=function(t){for(var e={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var i=n[r],o=t["padding-"+i];e[i]=h(o)}return e}(n),o=i.left+i.right,s=i.top+i.bottom,a=h(n.width),u=h(n.height);if("border-box"===n.boxSizing&&(Math.round(a+o)!==e&&(a-=l(n,"left","right")+o),Math.round(u+s)!==r&&(u-=l(n,"top","bottom")+s)),!function(t){return t===d(t).document.documentElement}(t)){var c=Math.round(a+o)-e,p=Math.round(u+s)-r;1!==Math.abs(c)&&(a-=c),1!==Math.abs(p)&&(u-=p)}return v(i.left,i.top,a,u)}var g="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof d(t).SVGGraphicsElement}:function(t){return t instanceof d(t).SVGElement&&"function"==typeof t.getBBox};function m(t){return n?g(t)?function(t){var e=t.getBBox();return v(0,0,e.width,e.height)}(t):p(t):f}function v(t,e,r,n){return{x:t,y:e,width:r,height:n}}var b=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=v(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=m(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),_=function(t,e){var r,n,i,o,s,a,u,d=(n=(r=e).x,i=r.y,o=r.width,s=r.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(a.prototype),c(u,{x:n,y:i,width:o,height:s,top:i,right:n+o,bottom:s+i,left:n}),u);c(this,{target:t,contentRect:d})},w=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof d(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new b(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof d(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new _(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),M="undefined"!=typeof WeakMap?new WeakMap:new r,y=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=u.getInstance(),n=new w(e,r,this);M.set(this,n)};["observe","unobserve","disconnect"].forEach((function(t){y.prototype[t]=function(){var e;return(e=M.get(this))[t].apply(e,arguments)}}));var O=void 0!==i.ResizeObserver?i.ResizeObserver:y;e.a=O}).call(this,r(6))},function(t,e){!function(t,e){for(var r in e)t[r]=e[r]}(e,function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=1)}([function(t,e,r){t.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=90)}({17:function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;var n=r(18),i=function(){function t(){}return t.getFirstMatch=function(t,e){var r=e.match(t);return r&&r.length>0&&r[1]||""},t.getSecondMatch=function(t,e){var r=e.match(t);return r&&r.length>1&&r[2]||""},t.matchAndReturnConst=function(t,e,r){if(t.test(e))return r},t.getWindowsVersionName=function(t){switch(t){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},t.getMacOSVersionName=function(t){var e=t.split(".").splice(0,2).map((function(t){return parseInt(t,10)||0}));if(e.push(0),10===e[0])switch(e[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},t.getAndroidVersionName=function(t){var e=t.split(".").splice(0,2).map((function(t){return parseInt(t,10)||0}));if(e.push(0),!(1===e[0]&&e[1]<5))return 1===e[0]&&e[1]<6?"Cupcake":1===e[0]&&e[1]>=6?"Donut":2===e[0]&&e[1]<2?"Eclair":2===e[0]&&2===e[1]?"Froyo":2===e[0]&&e[1]>2?"Gingerbread":3===e[0]?"Honeycomb":4===e[0]&&e[1]<1?"Ice Cream Sandwich":4===e[0]&&e[1]<4?"Jelly Bean":4===e[0]&&e[1]>=4?"KitKat":5===e[0]?"Lollipop":6===e[0]?"Marshmallow":7===e[0]?"Nougat":8===e[0]?"Oreo":9===e[0]?"Pie":void 0},t.getVersionPrecision=function(t){return t.split(".").length},t.compareVersions=function(e,r,n){void 0===n&&(n=!1);var i=t.getVersionPrecision(e),o=t.getVersionPrecision(r),s=Math.max(i,o),a=0,u=t.map([e,r],(function(e){var r=s-t.getVersionPrecision(e),n=e+new Array(r+1).join(".0");return t.map(n.split("."),(function(t){return new Array(20-t.length).join("0")+t})).reverse()}));for(n&&(a=s-Math.min(i,o)),s-=1;s>=a;){if(u[0][s]>u[1][s])return 1;if(u[0][s]===u[1][s]){if(s===a)return 0;s-=1}else if(u[0][s]<u[1][s])return-1}},t.map=function(t,e){var r,n=[];if(Array.prototype.map)return Array.prototype.map.call(t,e);for(r=0;r<t.length;r+=1)n.push(e(t[r]));return n},t.getBrowserAlias=function(t){return n.BROWSER_ALIASES_MAP[t]},t.getBrowserTypeByAlias=function(t){return n.BROWSER_MAP[t]||""},t}();e.default=i,t.exports=e.default},18:function(t,e,r){"use strict";e.__esModule=!0,e.ENGINE_MAP=e.OS_MAP=e.PLATFORMS_MAP=e.BROWSER_MAP=e.BROWSER_ALIASES_MAP=void 0,e.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},e.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},e.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},e.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},e.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;var n,i=(n=r(91))&&n.__esModule?n:{default:n},o=r(18);var s=function(){function t(){}var e;return t.getParser=function(t,e){if(void 0===e&&(e=!1),"string"!=typeof t)throw new Error("UserAgent should be a string");return new i.default(t,e)},t.parse=function(t){return new i.default(t).getResult()},(e=[{key:"BROWSER_MAP",get:function(){return o.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return o.ENGINE_MAP}},{key:"OS_MAP",get:function(){return o.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return o.PLATFORMS_MAP}}])&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(t,e),t}();e.default=s,t.exports=e.default},91:function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;var n=u(r(92)),i=u(r(93)),o=u(r(94)),s=u(r(95)),a=u(r(17));function u(t){return t&&t.__esModule?t:{default:t}}var c=function(){function t(t,e){if(void 0===e&&(e=!1),null==t||""===t)throw new Error("UserAgent parameter can't be empty");this._ua=t,this.parsedResult={},!0!==e&&this.parse()}var e=t.prototype;return e.getUA=function(){return this._ua},e.test=function(t){return t.test(this._ua)},e.parseBrowser=function(){var t=this;this.parsedResult.browser={};var e=n.default.find((function(e){if("function"==typeof e.test)return e.test(t);if(e.test instanceof Array)return e.test.some((function(e){return t.test(e)}));throw new Error("Browser's test function is not valid")}));return e&&(this.parsedResult.browser=e.describe(this.getUA())),this.parsedResult.browser},e.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},e.getBrowserName=function(t){return t?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},e.getBrowserVersion=function(){return this.getBrowser().version},e.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},e.parseOS=function(){var t=this;this.parsedResult.os={};var e=i.default.find((function(e){if("function"==typeof e.test)return e.test(t);if(e.test instanceof Array)return e.test.some((function(e){return t.test(e)}));throw new Error("Browser's test function is not valid")}));return e&&(this.parsedResult.os=e.describe(this.getUA())),this.parsedResult.os},e.getOSName=function(t){var e=this.getOS().name;return t?String(e).toLowerCase()||"":e||""},e.getOSVersion=function(){return this.getOS().version},e.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},e.getPlatformType=function(t){void 0===t&&(t=!1);var e=this.getPlatform().type;return t?String(e).toLowerCase()||"":e||""},e.parsePlatform=function(){var t=this;this.parsedResult.platform={};var e=o.default.find((function(e){if("function"==typeof e.test)return e.test(t);if(e.test instanceof Array)return e.test.some((function(e){return t.test(e)}));throw new Error("Browser's test function is not valid")}));return e&&(this.parsedResult.platform=e.describe(this.getUA())),this.parsedResult.platform},e.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},e.getEngineName=function(t){return t?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},e.parseEngine=function(){var t=this;this.parsedResult.engine={};var e=s.default.find((function(e){if("function"==typeof e.test)return e.test(t);if(e.test instanceof Array)return e.test.some((function(e){return t.test(e)}));throw new Error("Browser's test function is not valid")}));return e&&(this.parsedResult.engine=e.describe(this.getUA())),this.parsedResult.engine},e.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},e.getResult=function(){return Object.assign({},this.parsedResult)},e.satisfies=function(t){var e=this,r={},n=0,i={},o=0;if(Object.keys(t).forEach((function(e){var s=t[e];"string"==typeof s?(i[e]=s,o+=1):"object"==typeof s&&(r[e]=s,n+=1)})),n>0){var s=Object.keys(r),a=s.find((function(t){return e.isOS(t)}));if(a){var u=this.satisfies(r[a]);if(void 0!==u)return u}var c=s.find((function(t){return e.isPlatform(t)}));if(c){var d=this.satisfies(r[c]);if(void 0!==d)return d}}if(o>0){var f=Object.keys(i).find((function(t){return e.isBrowser(t,!0)}));if(void 0!==f)return this.compareVersion(i[f])}},e.isBrowser=function(t,e){void 0===e&&(e=!1);var r=this.getBrowserName().toLowerCase(),n=t.toLowerCase(),i=a.default.getBrowserTypeByAlias(n);return e&&i&&(n=i.toLowerCase()),n===r},e.compareVersion=function(t){var e=[0],r=t,n=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===t[0]||"<"===t[0]?(r=t.substr(1),"="===t[1]?(n=!0,r=t.substr(2)):e=[],">"===t[0]?e.push(1):e.push(-1)):"="===t[0]?r=t.substr(1):"~"===t[0]&&(n=!0,r=t.substr(1)),e.indexOf(a.default.compareVersions(i,r,n))>-1},e.isOS=function(t){return this.getOSName(!0)===String(t).toLowerCase()},e.isPlatform=function(t){return this.getPlatformType(!0)===String(t).toLowerCase()},e.isEngine=function(t){return this.getEngineName(!0)===String(t).toLowerCase()},e.is=function(t){return this.isBrowser(t)||this.isOS(t)||this.isPlatform(t)},e.some=function(t){var e=this;return void 0===t&&(t=[]),t.some((function(t){return e.is(t)}))},t}();e.default=c,t.exports=e.default},92:function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},o=/version\/(\d+(\.?_?\d+)+)/i,s=[{test:[/googlebot/i],describe:function(t){var e={name:"Googlebot"},r=i.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,t)||i.default.getFirstMatch(o,t);return r&&(e.version=r),e}},{test:[/opera/i],describe:function(t){var e={name:"Opera"},r=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/opr\/|opios/i],describe:function(t){var e={name:"Opera"},r=i.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,t)||i.default.getFirstMatch(o,t);return r&&(e.version=r),e}},{test:[/SamsungBrowser/i],describe:function(t){var e={name:"Samsung Internet for Android"},r=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/Whale/i],describe:function(t){var e={name:"NAVER Whale Browser"},r=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/MZBrowser/i],describe:function(t){var e={name:"MZ Browser"},r=i.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,t)||i.default.getFirstMatch(o,t);return r&&(e.version=r),e}},{test:[/focus/i],describe:function(t){var e={name:"Focus"},r=i.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,t)||i.default.getFirstMatch(o,t);return r&&(e.version=r),e}},{test:[/swing/i],describe:function(t){var e={name:"Swing"},r=i.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,t)||i.default.getFirstMatch(o,t);return r&&(e.version=r),e}},{test:[/coast/i],describe:function(t){var e={name:"Opera Coast"},r=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/yabrowser/i],describe:function(t){var e={name:"Yandex Browser"},r=i.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return r&&(e.version=r),e}},{test:[/ucbrowser/i],describe:function(t){var e={name:"UC Browser"},r=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/Maxthon|mxios/i],describe:function(t){var e={name:"Maxthon"},r=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/epiphany/i],describe:function(t){var e={name:"Epiphany"},r=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/puffin/i],describe:function(t){var e={name:"Puffin"},r=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/sleipnir/i],describe:function(t){var e={name:"Sleipnir"},r=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/k-meleon/i],describe:function(t){var e={name:"K-Meleon"},r=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/micromessenger/i],describe:function(t){var e={name:"WeChat"},r=i.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return r&&(e.version=r),e}},{test:[/qqbrowser/i],describe:function(t){var e={name:/qqbrowserlite/i.test(t)?"QQ Browser Lite":"QQ Browser"},r=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return r&&(e.version=r),e}},{test:[/msie|trident/i],describe:function(t){var e={name:"Internet Explorer"},r=i.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/\sedg\//i],describe:function(t){var e={name:"Microsoft Edge"},r=i.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/edg([ea]|ios)/i],describe:function(t){var e={name:"Microsoft Edge"},r=i.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/vivaldi/i],describe:function(t){var e={name:"Vivaldi"},r=i.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/seamonkey/i],describe:function(t){var e={name:"SeaMonkey"},r=i.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/sailfish/i],describe:function(t){var e={name:"Sailfish"},r=i.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,t);return r&&(e.version=r),e}},{test:[/silk/i],describe:function(t){var e={name:"Amazon Silk"},r=i.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/phantom/i],describe:function(t){var e={name:"PhantomJS"},r=i.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/slimerjs/i],describe:function(t){var e={name:"SlimerJS"},r=i.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var e={name:"BlackBerry"},r=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var e={name:"WebOS Browser"},r=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/bada/i],describe:function(t){var e={name:"Bada"},r=i.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/tizen/i],describe:function(t){var e={name:"Tizen"},r=i.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return r&&(e.version=r),e}},{test:[/qupzilla/i],describe:function(t){var e={name:"QupZilla"},r=i.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return r&&(e.version=r),e}},{test:[/firefox|iceweasel|fxios/i],describe:function(t){var e={name:"Firefox"},r=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/chromium/i],describe:function(t){var e={name:"Chromium"},r=i.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return r&&(e.version=r),e}},{test:[/chrome|crios|crmo/i],describe:function(t){var e={name:"Chrome"},r=i.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/GSA/i],describe:function(t){var e={name:"Google Search"},r=i.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:function(t){var e=!t.test(/like android/i),r=t.test(/android/i);return e&&r},describe:function(t){var e={name:"Android Browser"},r=i.default.getFirstMatch(o,t);return r&&(e.version=r),e}},{test:[/playstation 4/i],describe:function(t){var e={name:"PlayStation 4"},r=i.default.getFirstMatch(o,t);return r&&(e.version=r),e}},{test:[/safari|applewebkit/i],describe:function(t){var e={name:"Safari"},r=i.default.getFirstMatch(o,t);return r&&(e.version=r),e}},{test:[/.*/i],describe:function(t){var e=-1!==t.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:i.default.getFirstMatch(e,t),version:i.default.getSecondMatch(e,t)}}}];e.default=s,t.exports=e.default},93:function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},o=r(18),s=[{test:[/Roku\/DVP/],describe:function(t){var e=i.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,t);return{name:o.OS_MAP.Roku,version:e}}},{test:[/windows phone/i],describe:function(t){var e=i.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.WindowsPhone,version:e}}},{test:[/windows/i],describe:function(t){var e=i.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,t),r=i.default.getWindowsVersionName(e);return{name:o.OS_MAP.Windows,version:e,versionName:r}}},{test:[/macintosh/i],describe:function(t){var e=i.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,t).replace(/[_\s]/g,"."),r=i.default.getMacOSVersionName(e),n={name:o.OS_MAP.MacOS,version:e};return r&&(n.versionName=r),n}},{test:[/(ipod|iphone|ipad)/i],describe:function(t){var e=i.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,t).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:e}}},{test:function(t){var e=!t.test(/like android/i),r=t.test(/android/i);return e&&r},describe:function(t){var e=i.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,t),r=i.default.getAndroidVersionName(e),n={name:o.OS_MAP.Android,version:e};return r&&(n.versionName=r),n}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var e=i.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,t),r={name:o.OS_MAP.WebOS};return e&&e.length&&(r.version=e),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var e=i.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,t)||i.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,t)||i.default.getFirstMatch(/\bbb(\d+)/i,t);return{name:o.OS_MAP.BlackBerry,version:e}}},{test:[/bada/i],describe:function(t){var e=i.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.Bada,version:e}}},{test:[/tizen/i],describe:function(t){var e=i.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.Tizen,version:e}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(t){var e=i.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.PlayStation4,version:e}}}];e.default=s,t.exports=e.default},94:function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},o=r(18),s=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(t){var e=i.default.getFirstMatch(/(can-l01)/i,t)&&"Nova",r={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return e&&(r.model=e),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(t){var e=t.test(/ipod|iphone/i),r=t.test(/like (ipod|iphone)/i);return e&&!r},describe:function(t){var e=i.default.getFirstMatch(/(ipod|iphone)/i,t);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:e}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(t){return"blackberry"===t.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(t){return"bada"===t.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(t){return"windows phone"===t.getBrowserName()},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(t){var e=Number(String(t.getOSVersion()).split(".")[0]);return"android"===t.getOSName(!0)&&e>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(t){return"android"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(t){return"macos"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(t){return"windows"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(t){return"linux"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(t){return"playstation 4"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(t){return"roku"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];e.default=s,t.exports=e.default},95:function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},o=r(18),s=[{test:function(t){return"microsoft edge"===t.getBrowserName(!0)},describe:function(t){if(/\sedg\//i.test(t))return{name:o.ENGINE_MAP.Blink};var e=i.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,t);return{name:o.ENGINE_MAP.EdgeHTML,version:e}}},{test:[/trident/i],describe:function(t){var e={name:o.ENGINE_MAP.Trident},r=i.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:function(t){return t.test(/presto/i)},describe:function(t){var e={name:o.ENGINE_MAP.Presto},r=i.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:function(t){var e=t.test(/gecko/i),r=t.test(/like gecko/i);return e&&!r},describe:function(t){var e={name:o.ENGINE_MAP.Gecko},r=i.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(t){var e={name:o.ENGINE_MAP.WebKit},r=i.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,t);return r&&(e.version=r),e}}];e.default=s,t.exports=e.default}})},function(t,e,r){t.exports=r(2)},function(t,e,r){"use strict";r.r(e);var n=r(0),i=t=>"Chrome"===t.getBrowserName(),o=t=>"Chromium"===t.getBrowserName(),s=t=>"Microsoft Edge"===t.getBrowserName(),a=t=>"Firefox"===t.getBrowserName(),u=t=>"Internet Explorer"===t.getBrowserName(),c=t=>"Opera"===t.getBrowserName(),d=t=>"Safari"===t.getBrowserName(),f=t=>"macOS"===t.getOSName(),h=t=>"Android"===t.getOSName(),l=t=>"iOS"===t.getOSName(),p=t=>f(t)&&window.navigator.maxTouchPoints>1,g=t=>"Linux"===t.getOSName(),m=f,v=t=>"Windows"===t.getOSName(),b=t=>"Chrome OS"===t.getOSName(),_=t=>"mobile"===t.getPlatformType(),w=t=>"tablet"===t.getPlatformType(),M=t=>"desktop"===t.getPlatformType(),y=t=>t.getOSVersion(),O=(t,e)=>t.satisfies(e);const S=r.n(n).a.getParser(window.navigator.userAgent||"");e.default={chrome:i(S),chromium:o(S),edge:s(S),firefox:a(S),ie:u(S),opera:c(S),safari:d(S),android:h(S),ios:l(S),iPadOS:p(S),linux:g(S),macOS:m(S)&&!p(S),windows:v(S),chromeOS:b(S),mobile:_(S),tablet:w(S)||p(S),desktop:M(S)&&!p(S),version:y(S),isSatisfied:t=>O(S,t)}}]).default)},,,,,function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[];n.prototype.THROTTLE_TIMEOUT=100,n.prototype.POLL_INTERVAL=null,n.prototype.USE_MUTATION_OBSERVER=!0,n.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},n.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},n.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},n.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},n.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,r){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==r[e-1]}))},n.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},n.prototype._monitorIntersections=function(e){var r=e.defaultView;if(r&&-1==this._monitoringDocuments.indexOf(e)){var n=this._checkForIntersections,s=null,a=null;if(this.POLL_INTERVAL?s=r.setInterval(n,this.POLL_INTERVAL):(i(r,"resize",n,!0),i(e,"scroll",n,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in r&&(a=new r.MutationObserver(n)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(s&&t.clearInterval(s),o(t,"resize",n,!0)),o(e,"scroll",n,!0),a&&a.disconnect()})),e!=(this.root&&this.root.ownerDocument||t)){var u=d(e);u&&this._monitorIntersections(u.ownerDocument)}}},n.prototype._unmonitorIntersections=function(e){var r=this._monitoringDocuments.indexOf(e);if(-1!=r){var n=this.root&&this.root.ownerDocument||t;if(!this._observationTargets.some((function(t){var r=t.element.ownerDocument;if(r==e)return!0;for(;r&&r!=n;){var i=d(r);if((r=i&&i.ownerDocument)==e)return!0}return!1}))){var i=this._monitoringUnsubscribes[r];if(this._monitoringDocuments.splice(r,1),this._monitoringUnsubscribes.splice(r,1),i(),e!=n){var o=d(e);o&&this._unmonitorIntersections(o.ownerDocument)}}}},n.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e<t.length;e++)t[e]()},n.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(n){var i=n.element,o=a(i),s=this._rootContainsTarget(i),u=n.entry,c=t&&s&&this._computeTargetAndRootIntersection(i,o,e),d=n.entry=new r({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:o,rootBounds:e,intersectionRect:c});u?t&&s?this._hasCrossedThreshold(u,d)&&this._queuedEntries.push(d):u&&u.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},n.prototype._computeTargetAndRootIntersection=function(e,r,n){if("none"!=window.getComputedStyle(e).display){for(var i,o,u,d,f=r,h=c(e),l=!1;!l&&h;){var p=null,g=1==h.nodeType?window.getComputedStyle(h):{};if("none"==g.display)return null;if(h==this.root||9==h.nodeType)if(l=!0,h==this.root||h==t)p=n;else{var m=c(h),v=m&&a(m),b=m&&this._computeTargetAndRootIntersection(m,v,n);v&&b?(h=m,i=v,u=void 0,d=void 0,u=(o=b).top-i.top,d=o.left-i.left,p={top:u,left:d,height:o.height,width:o.width,bottom:u+o.height,right:d+o.width}):(h=null,f=null)}else{var _=h.ownerDocument;h!=_.body&&h!=_.documentElement&&"visible"!=g.overflow&&(p=a(h))}if(p&&(f=s(p,f)),!f)break;h=h&&c(h)}return f}},n.prototype._getRootRect=function(){var e;if(this.root)e=a(this.root);else{var r=t.documentElement,n=t.body;e={top:0,left:0,right:r.clientWidth||n.clientWidth,width:r.clientWidth||n.clientWidth,bottom:r.clientHeight||n.clientHeight,height:r.clientHeight||n.clientHeight}}return this._expandRectByRootMargin(e)},n.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,r){return"px"==e.unit?e.value:e.value*(r%2?t.width:t.height)/100})),r={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return r.width=r.right-r.left,r.height=r.bottom-r.top,r},n.prototype._hasCrossedThreshold=function(t,e){var r=t&&t.isIntersecting?t.intersectionRatio||0:-1,n=e.isIntersecting?e.intersectionRatio||0:-1;if(r!==n)for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==r||o==n||o<r!=o<n)return!0}},n.prototype._rootIsInDom=function(){return!this.root||u(t,this.root)},n.prototype._rootContainsTarget=function(e){return u(this.root||t,e)&&(!this.root||this.root.ownerDocument==e.ownerDocument)},n.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},n.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=n,window.IntersectionObserverEntry=r}function r(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,r=e.width*e.height,n=this.intersectionRect,i=n.width*n.height;this.intersectionRatio=r?Number((i/r).toFixed(4)):this.isIntersecting?1:0}function n(t,e){var r,n,i,o=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(o.root&&1!=o.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(r=this._checkForIntersections.bind(this),n=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout((function(){r(),i=null}),n))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(o.rootMargin),this.thresholds=this._initThresholds(o.threshold),this.root=o.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function i(t,e,r,n){"function"==typeof t.addEventListener?t.addEventListener(e,r,n||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,r)}function o(t,e,r,n){"function"==typeof t.removeEventListener?t.removeEventListener(e,r,n||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,r)}function s(t,e){var r=Math.max(t.top,e.top),n=Math.min(t.bottom,e.bottom),i=Math.max(t.left,e.left),o=Math.min(t.right,e.right),s=o-i,a=n-r;return s>=0&&a>=0&&{top:r,bottom:n,left:i,right:o,width:s,height:a}||null}function a(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(t,e){for(var r=e;r;){if(r==t)return!0;r=c(r)}return!1}function c(e){var r=e.parentNode;return 9==e.nodeType&&e!=t?d(e):r&&11==r.nodeType&&r.host?r.host:r&&r.assignedSlot?r.assignedSlot.parentNode:r}function d(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(t){return null}}}()}]]);;!function(t){function e(e){for(var o,r,a=e[0],l=e[1],c=e[2],h=0,p=[];h<a.length;h++)r=a[h],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&p.push(i[r][0]),i[r]=0;for(o in l)Object.prototype.hasOwnProperty.call(l,o)&&(t[o]=l[o]);for(d&&d(e);p.length;)p.shift()();return s.push.apply(s,c||[]),n()}function n(){for(var t,e=0;e<s.length;e++){for(var n=s[e],o=!0,a=1;a<n.length;a++){var l=n[a];0!==i[l]&&(o=!1)}o&&(s.splice(e--,1),t=r(r.s=n[0]))}return t}var o={},i={3:0},s=[];function r(e){if(o[e])return o[e].exports;var n=o[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=t,r.c=o,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="";var a=window.webpackJsonp=window.webpackJsonp||[],l=a.push.bind(a);a.push=e,a=a.slice();for(var c=0;c<a.length;c++)e(a[c]);var d=l;s.push([16,0]),n()}({16:function(t,e,n){t.exports=n(61)},4:function(t){t.exports=JSON.parse('{"cs":{"Hidden Block":"Skrytý blok","This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it.":"Tento blok je skrytý. Stisknutím ovládacího tlačítka „Skrýt / Zobrazit“ na ovládacím panelu jej aktivujte."},"de":{"Hidden Block":"Versteckter Block","This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it.":"Dieser Block ist versteckt. Drücken Sie auf den Auslöser \\"Ausblenden / Anzeigen\\" im Steuerungsfenster, um es zu aktivieren."},"es":{"Hidden Block":"Bloque oculto","This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it.":"Este bloque está oculto. Presione el gatillo \'Ocultar / Mostrar\' en el panel de control para activarlo."},"fi":{"Hidden Block":"Piilotettu lohko","This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it.":"Tämä lohko on piilotettu. Aktivoi se painamalla ohjauspaneelin Piilota/näytä -liipaisinta."},"fr":{"Hidden Block":"Bloc caché","This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it.":"Ce bloc est caché. Appuyez sur le déclencheur \'Masquer / Afficher\' du panneau de configuration pour l\'activer."},"hu":{"Hidden Block":"Rejtett blokk","This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it.":"Ez a blokk rejtett. A aktiváláshoz nyomja meg a vezérlőpult \'Hide / Show\' ravaszt."},"id":{"Hidden Block":"Blok Tersembunyi","This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it.":"Blok ini disembunyikan. Tekan pada pemicu \'Sembunyikan / Tampilkan\' pada panel kontrol untuk mengaktifkannya."},"it":{"Hidden Block":"Blocco nascosto","This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it.":"Questo blocco è nascosto. Premi sul grilletto \'Nascondi / Mostra\' sul pannello di controllo per attivarlo."},"ja":{"Hidden Block":"隠しブロック","This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it.":"このブロックは非表示です。 有効にするには、コントロールペインの[非表示/表示]トリガーを押します。"},"nb":{"Hidden Block":"Skjult blokk","This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it.":"Denne blokken er skjult. Trykk på \\"Skjul / vis\\" trigger på kontrollruten for å aktivere den."},"nl":{"Hidden Block":"Verborgen blok","This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it.":"Dit blok is verborgen. Druk op \'Verbergen / Tonen\' op het bedieningspaneel om het te activeren."},"pl":{"Hidden Block":"Ukryty blok","This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it.":"Ten blok jest ukryty. Naciśnij przycisk „Ukryj / pokaż” w panelu sterowania, aby go włączyć."},"pt-br":{"Hidden Block":"Bloco oculto","This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it.":"Este bloco está oculto. Pressione o gatilho \'Hide / Show\' no painel de controle para ativá-lo."},"ru":{"Hidden Block":"Скрытый блок","This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it.":"Этот блок скрыт. Нажмите на триггер «Скрыть / Показать» на панели управления, чтобы активировать его."},"sk":{"Hidden Block":"Skrytý blok","This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it.":"Tento blok je skrytý. Stlačením na spínacej ploche „Skryť / Zobraziť“ na ovládacom paneli ju aktivujete."},"sv":{"Hidden Block":"Dold block","This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it.":"Detta block är dold. Tryck på \\"Dölj / Visa\\" -trigern på kontrollpanelen för att aktivera den."},"zh-cn":{"Hidden Block":"隐藏块","This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it.":"该块被隐藏。 按控制面板上的“隐藏/显示”触发器以将其激活"},"en":{"Hidden Block":"Hidden Block","This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it.":"This block is hidden. Press on \'Hide/Show\' trigger on the control pane to activate it."}}')},61:function(t,e,n){"use strict";n.r(e);var o=n(1),i=n.n(o);var s=Object.freeze({surface:"ws-surface",section:"section.ws-section",surfaceAttribute:"data-surface",hiddenState:".ws-block-hidden-state",hiddenStateTitle:".ws-block-hidden-state__title",hiddenStateDescription:".ws-block-hidden-state__description",emptyState:".ws-block-empty-state",emptyStateTitle:".ws-block-empty-state__title",emptyStateDescription:".ws-block-empty-state__description",emptyStateAction:".ws-block-empty-state__floating-action",emptyStateActiveArea:".ws-block-empty-state__active-area",customContent:'[slot="custom-content"]',block:"ws-block"}),r={ROOT_OBJECT:"__TRANSLATIONS__",EMPTY_STATE_TITLE:"WS_BLOCK_EMPTY_STATE_TITLE",EMPTY_STATE_DESCRIPTION:"WS_BLOCK_EMPTY_STATE_DESCRIPTION",EMPTY_STATE_TOOLTIP:"WS_BLOCK_EMPTY_STATE_TOOLTIP"};var a=["0","8","16","24","32","40","48","56","64","72","80","88","96","104","112","120","128"];var l=function(){try{return Boolean(window.parent.ws)}catch(t){return!1}};let c,d,h;l()?(h=window.parent.document,window.parent.__site_cache__&&window.parent.__site_cache__.blockTemplates?(c=window.parent.__site_cache__.blockTemplates.templatesCache,d=window.parent.__site_cache__.blockTemplates.templatesQue):(c=new Map,d=new Map,window.parent.__site_cache__=window.parent.__site_cache__||{},window.parent.__site_cache__.blockTemplates={templatesCache:c,templatesQue:d})):(h=document,c=new Map,d=new Map);var p={get:function(t){if(c.has(t))return Promise.resolve(c.get(t));if(d.has(t))return d.get(t);const e=fetch(t).then(e=>e.text().then(e=>{if(c.has(t))return c.get(t);const n=h.createElement("template");return n.innerHTML=e,c.set(t,n),d.delete(t),n}));return d.set(t,e),e}};var u=()=>Boolean(window.previewMode),k=n(4);var b=function(t){const e=document.documentElement.lang;return k[e]&&k[e][t]?k[e][t]:t};var w=function(t,e){t.call(this,e)};const m=/\sslot=".+"/,g=/\s*\{([^{}]*)\}\s*(?:\{true\}|\{false\})\s*\{\s*(<[a-z][\s\S]*>)\s*\}\s*\{?([^{}]*)?\}?\s*$/,f=["background-image","background-position","background-scale","background-hidden","background-placeholder","overlay","overlay-opacity","filter","blending-mode","rounded-images","overlay-section","progressive-image","transform-scale-factor","safe-mode","cover-constraints","stick-up","layout","logo-alignment"];function _(t){return t&&t.trim()?t.trim().split(" "):[]}function y(t){const e=new CustomEvent("error");t.dispatchEvent(e)}function v(t){return`data-ws-block-${t}-target`}const S=document.createElement("template");S.innerHTML='\n<style>\n[hidden] {\n  display: none !important;\n}\n\n.ws-block-hidden-state,\n.ws-block-empty-state {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  justify-content: center;\n  padding: 24px 16px;\n  padding-top: calc(var(--ws-shadow-top-padding, 0px) + 24px);\n  background-color: var(--ws-editor-gray-200);\n}\n\n.ws-block-hidden-state__icon,\n.ws-block-empty-state__icon {\n  margin: 0 17px;\n}\n\n.ws-block-hidden-state__title,\n.ws-block-empty-state__title {\n  font-family: var(--ws-editor-font-family);\n  font-style: normal;\n  line-height: 24px;\n  font-weight: 500;\n  font-size: 14px;\n  color: var(--ws-editor-gray-700);\n  white-space: nowrap;\n}\n\n.ws-block-hidden-state__description,\n.ws-block-empty-state__description {\n  font-family: var(--ws-editor-font-family);\n  font-style: normal;\n  font-weight: normal;\n  font-size: 14px;\n  color: var(--ws-editor-gray-700);\n  text-align: left;\n}\n\n.ws-block-hidden-state__description {\n    line-height: 20px;\n}\n\n.ws-block-empty-state__description {\n    line-height: 24px;\n}\n\n.ws-block-empty-state__container {\n    box-sizing: border-box;\n    display: flex;\n    flex-wrap: wrap;\n    align-items: center;\n    justify-content: center;\n    width: 100%;\n    max-width: var(--ws-container-width);\n    padding-left: var(--ws-container-padding-horizontal, 15px);\n    padding-right: var(--ws-container-padding-horizontal, 15px);\n}\n\n.ws-block-empty-state__active-area {\n    width: 100%;\n    margin-top: 24px;\n    flex-grow: 1;\n    border: 1px dashed var(--ws-editor-gray-400);\n    border-radius: 2px;\n    box-sizing: border-box;\n    transition: all 175ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.ws-block-empty-state__active-area:hover {\n    border-color: transparent;\n    box-shadow: inset 0 0 0 2px var(--ws-editor-warning-800);\n    cursor: pointer;\n}\n\n.ws-block-empty-state__floating-action {\n    position:relative;\n    display: block;\n    width: 24px;\n    height: 24px;\n    margin: 28px auto;\n    background-color: var(--ws-editor-warning-700);\n    border-radius: 50%;\n    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);\n}\n\n.ws-block-empty-state__floating-action::before {\n    content: attr(data-tooltip);\n    position: absolute;\n    top: 50%;\n    left: 30px;\n    transform: translateY(-50%);\n    padding: 4px 8px;\n    font-family: var(--ws-editor-font-family);\n    font-size: 14px;\n    line-height: 1;\n    text-align: center;\n    white-space: nowrap;\n    color: var(--ws-editor-white);\n    background: #222;\n    border-radius: 4px;\n    z-index: 1001;\n    pointer-events: none;\n    cursor: pointer;\n    user-select: none;\n    opacity: 0;\n    transition: opacity 175ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.ws-block-empty-state__active-area:hover .ws-block-empty-state__floating-action::before {\n    opacity: 0.9;\n    pointer-events: auto;\n}\n\n.ws-touch-device\n.ws-block-empty-state__active-area:hover\n.ws-block-empty-state__floating-action::before {\n  opacity: 0;\n  pointer-events: none;\n}\n\n@media (max-width: 768px) {\n  .ws-block-hidden-state,\n  .ws-block-empty-state,\n  .ws-block-empty-state__container {\n    flex-direction: column;\n  }\n\n  .ws-block-hidden-state__icon,\n  .ws-block-empty-state__icon {\n    order: 0;\n    margin: 9px 0 0 0;\n  }\n\n  .ws-block-hidden-state__title,\n  .ws-block-empty-state__title {\n    order: 1;\n    margin: 13px 0 8px;\n    white-space: normal;\n  }\n\n  .ws-block-hidden-state__description,\n  .ws-block-empty-state__description {\n    order: 2;\n    text-align: center;\n  }\n\n  .ws-block-empty-state__active-area {\n    order: 3;\n  }\n}\n\n:host([surfaces*=\'ws-dark\']) .ws-block-hidden-state,\n:host([surfaces*=\'ws-dark\']) .ws-block-empty-state {\n  background-color: var(--ws-editor-gray-800);\n}\n\n:host([surfaces*=\'ws-dark\']) .ws-block-hidden-state__title,\n:host([surfaces*=\'ws-dark\']) .ws-block-empty-state__title,\n:host([surfaces*=\'ws-dark\']) .ws-block-hidden-state__description,\n:host([surfaces*=\'ws-dark\']) .ws-block-empty-state__description {\n  color: var(--ws-editor-gray-200);\n}\n\n:host([surfaces*=\'ws-dark\']) .ws-block-hidden-state__icon path,\n:host([surfaces*=\'ws-dark\']) .ws-block-empty-state__icon path  {\n  stroke: var(--ws-editor-gray-200);\n}\n\n</style>\n\n<div class="ws-block-hidden-state" hidden>\n  <span class="ws-block-hidden-state__title"></span>\n  <svg class="ws-block-hidden-state__icon" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n    <path d="M14.12 14.12C13.8454 14.4148 13.5141 14.6512 13.1462 14.8151C12.7782 14.9791 12.3809 15.0673 11.9781 15.0744C11.5753 15.0815 11.1752 15.0074 10.8016 14.8565C10.4281 14.7056 10.0887 14.4811 9.80385 14.1962C9.51897 13.9113 9.29439 13.572 9.14351 13.1984C8.99262 12.8249 8.91853 12.4247 8.92563 12.0219C8.93274 11.6191 9.02091 11.2219 9.18488 10.8539C9.34884 10.4859 9.58525 10.1547 9.88 9.88003M17.94 17.94C16.2306 19.243 14.1491 19.9649 12 20C5 20 1 12 1 12C2.24389 9.68192 3.96914 7.65663 6.06 6.06003L17.94 17.94ZM9.9 4.24002C10.5883 4.0789 11.2931 3.99836 12 4.00003C19 4.00003 23 12 23 12C22.393 13.1356 21.6691 14.2048 20.84 15.19L9.9 4.24002Z" stroke="#30373D" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>\n    <path d="M1 1L23 23" stroke="#30373D" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>\n  </svg>\n  <span class="ws-block-hidden-state__description"></span>\n</div>\n\n<div class="ws-block-empty-state" hidden>\n  <div class="ws-block-empty-state__container">\n    <span class="ws-block-empty-state__title"></span>\n    <svg class="ws-block-empty-state__icon" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n      <path d="M12.89 1.45015L20.89 5.45015C21.2233 5.61573 21.5037 5.87097 21.6998 6.18719C21.8959 6.50341 21.9999 6.86807 22 7.24015V16.7702C21.9999 17.1422 21.8959 17.5069 21.6998 17.8231C21.5037 18.1393 21.2233 18.3946 20.89 18.5602L12.89 22.5602C12.6122 22.6992 12.3058 22.7716 11.995 22.7716C11.6843 22.7716 11.3779 22.6992 11.1 22.5602L3.10005 18.5602C2.76718 18.3924 2.4878 18.135 2.29344 17.817C2.09907 17.4989 1.99745 17.1329 2.00005 16.7601V7.24015C2.00025 6.86807 2.10424 6.50341 2.30033 6.18719C2.49642 5.87097 2.77684 5.61573 3.11005 5.45015L11.11 1.45015C11.3866 1.31273 11.6912 1.24121 12 1.24121C12.3089 1.24121 12.6135 1.31273 12.89 1.45015V1.45015Z" stroke="#30373D" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>\n      <path d="M2.31982 6.16016L11.9998 11.0002L21.6798 6.16016" stroke="#30373D" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>\n      <path d="M12 22.76V11" stroke="#30373D" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>\n    </svg>\n    <span class="ws-block-empty-state__description"></span>\n    <div class="ws-block-empty-state__active-area">\n      <div class="ws-block-empty-state__floating-action">\n        <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n          <path d="M12.8002 6.75C12.8002 6.33579 12.442 6 12.0002 6C11.5584 6 11.2002 6.33579 11.2002 6.75V17.25C11.2002 17.6642 11.5584 18 12.0002 18C12.442 18 12.8002 17.6642 12.8002 17.25V6.75Z" fill="white" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>\n          <path d="M17.25 11.2002H6.75C6.33579 11.2002 6 11.5584 6 12.0002C6 12.442 6.33579 12.8002 6.75 12.8002H17.25C17.6642 12.8002 18 12.442 18 12.0002C18 11.5584 17.6642 11.2002 17.25 11.2002Z" fill="white" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>\n        </svg>\n      </div>\n    </div>\n  </div>\n</div>\n\n<slot></slot>\n';class T extends HTMLElement{constructor(){super(),this.isTouchDevice=i.a.mobile||i.a.tablet,this.updateStrategies={surfaces:this.updateSurfaces.bind(this),"hidden-state":this.changeHiddenState.bind(this)},this.handlers={onEmptyStateClick:w.bind(this,this.onEmptyStateClick)};this.attachShadow({mode:"open"}).appendChild(document.importNode(S.content,!0)),this.IS_READY=!1,this.PROVIDED_SLOTS=[],this.HIDDEN_CHILDREN=[],this.injectedTranslations=window[r.ROOT_OBJECT]||{},this.proxyAttributeValue=this.proxyAttributeValue.bind(this),this.applyUIEffects=this.applyUIEffects.bind(this),this.trackProvidedSlots=this.trackProvidedSlots.bind(this),this.trackHiddenChildren=this.trackHiddenChildren.bind(this),this.refreshObservedSlots=this.refreshObservedSlots.bind(this),this.clearObservedSlots=this.clearObservedSlots.bind(this)}static get observedAttributes(){return["surfaces","hidden-state",...f]}get surfaces(){return _(this.getAttribute("surfaces"))}get src(){return this.getAttribute("src")}set src(t){this.setAttribute("src",t)}get ready(){return this.IS_READY}get hiddenState(){return this.hasAttribute("hidden-state")}set hiddenState(t){t?this.setAttribute("hidden-state",""):this.removeAttribute("hidden-state")}get providedSlots(){return[...this.PROVIDED_SLOTS]}get hasProvidedSlots(){return Boolean(this.PROVIDED_SLOTS.length)}get hiddenChildren(){return[...this.HIDDEN_CHILDREN]}get hasHiddenChildren(){return Boolean(this.HIDDEN_CHILDREN.length)}connectedCallback(){this.isRendered||this.render()}disconnectedCallback(){this.customBlockObserver&&(this.customBlockObserver.disconnect(),this.removeEventListener("click",this.handlers.onEmptyStateClick))}attributeChangedCallback(t,e,n){const o=this.getStrategy(t);o?o(e,n):this.proxyAttributeValue(t,e,n)}isContentChanged(){this.trackProvidedSlots(),this.trackHiddenChildren(),this.refreshObservedSlots(),this.applyUIEffects()}getStrategy(t){return this.updateStrategies[t]}getWhiteSpaceTopValue(){const t=this.querySelector(s.section);return parseFloat(window.getComputedStyle(t).paddingTop)}getWhiteSpaceBottomValue(){const t=this.querySelector(s.section);return parseFloat(window.getComputedStyle(t).paddingBottom)}getCurrentWhiteSpaceBreakdowns(){return a.map(t=>{let e;return e="0"===t?0:parseFloat(getComputedStyle(this).getPropertyValue("--ws-white-space-"+t)),[t,e]})}querySelectorAllFromThisBlock(t,e=this){return[...e.querySelectorAll(t)].filter(t=>{const e=t.closest(s.block);return!e||e===this})}getTargetElementForAttribute(t){return this.querySelectorAllFromThisBlock(`[${v(t)}]`)}getTranslation(t){return this.injectedTranslations[t]||t}changeHiddenState(t,e){null!==e?(this.shadowRoot.querySelector(s.hiddenState).hidden=!1,this.shadowRoot.querySelector(s.hiddenStateTitle).innerText=b("Hidden Block"),this.shadowRoot.querySelector(s.hiddenStateDescription).innerText=b("This block is hidden. Press on 'Hide/Show' trigger on the control pane to activate it."),this.shadowRoot.querySelector("slot").hidden=!0):(this.shadowRoot.querySelector(s.hiddenState).hidden=!0,this.shadowRoot.querySelector("slot").hidden=!1)}initCustomBlockHandler(){if(!this.isBlockCustom()||u())return;const t=this.querySelector(s.customContent);this.customBlockObserver=new MutationObserver(([{target:t}])=>{this.handleEmptyState(t)}),this.customBlockObserver.observe(t,{childList:!0}),this.handleEmptyState(t),this.shadowRoot.querySelector(s.emptyStateActiveArea).addEventListener("click",this.handlers.onEmptyStateClick)}isBlockCustom(){return this.hasAttribute("custom")}handleEmptyState(t){t&&t.hasChildNodes()?this.hideEmptyState():this.showEmptyState()}showEmptyState(){const{EMPTY_STATE_TITLE:t,EMPTY_STATE_DESCRIPTION:e,EMPTY_STATE_TOOLTIP:n}=r,o=this.getTranslation(t),i=this.getTranslation(e),a=this.getTranslation(n),l=this.shadowRoot.querySelector(s.emptyState);this.isTouchDevice&&l.classList.add("ws-touch-device"),l.hidden=!1,this.shadowRoot.querySelector(s.emptyStateTitle).innerText=o,this.shadowRoot.querySelector(s.emptyStateDescription).innerText=i,this.shadowRoot.querySelector(s.emptyStateAction).setAttribute("data-tooltip",a),this.setAttribute("empty","")}hideEmptyState(){this.shadowRoot.querySelector(s.emptyState).hidden=!0,this.removeAttribute("empty")}onEmptyStateClick(){!function(t){const e=new CustomEvent("ws:addWidget",{bubbles:!0});t.dispatchEvent(e)}(this.querySelector(s.customContent))}proxyAttributeValue(t,e,n){const o=v(t);this.querySelectorAllFromThisBlock(`[${o}]`).forEach(e=>{const i=e.getAttribute(o)||t;null===n?e.removeAttribute(i):e.setAttribute(i,n)})}updateSurfaces(t){const e=_(t),n=this.surfaces;this.querySelectorAllFromThisBlock(`[${s.surfaceAttribute}]`).forEach(t=>{const o=parseInt(t.getAttribute(s.surfaceAttribute),10);if(0!==o&&!o)return;const i=e[o],r=n[o];i&&t.classList.remove(i,s.surface),r&&(t.classList.add(r,s.surface),function(t,e){const n=new CustomEvent("ws:surfaceChange",{bubbles:!0,detail:{surface:e}});t.dispatchEvent(n)}(this,r))})}findChildSlots(){return Array.from(this.childNodes).filter(t=>{switch(t.nodeType){case Node.ELEMENT_NODE:return t.hasAttribute("slot");case Node.COMMENT_NODE:return m.test(t.nodeValue);default:return!1}})}replaceTemplateSlotsByContent(t){const e=this.querySelectorAllFromThisBlock("slot",t),n=this.findChildSlots();e.forEach(t=>{const e=t.getAttribute("name"),o=new RegExp(`\\sslot="${e}"`),i=n.find(t=>{switch(t.nodeType){case Node.ELEMENT_NODE:return t.matches(`[slot="${e}"]`);case Node.COMMENT_NODE:return o.test(t.nodeValue);default:return!1}});i&&t.parentNode.replaceChild(i,t)})}applyUIEffects(){f.forEach(t=>{this.proxyAttributeValue(t,null,this.getAttribute(t))})}trackProvidedSlots(){if(!this.firstElementChild)return;const t=[];this.querySelectorAllFromThisBlock("[slot]").forEach(e=>{const n=e.getAttribute("slot");n&&n.trim()&&t.push(n)}),this.firstElementChild.setAttribute("data-ws-slots",t.join(" ")),this.PROVIDED_SLOTS=t}trackHiddenChildren(){if(!this.firstElementChild)return;const t=document.createTreeWalker(this,NodeFilter.SHOW_COMMENT),e=[];let n=t.nextNode();for(;n;){const o=n.nodeValue.match(g);o&&!e.includes(o[3])&&e.push(o[3]),n=t.nextNode()}this.firstElementChild.setAttribute("data-ws-hidden-children",e.join(" ")),this.HIDDEN_CHILDREN=e}refreshObservedSlots(){this.firstElementChild&&this.firstElementChild.setAttribute("data-ws-observed-slots",this.providedSlots.join(" "))}clearObservedSlots(){this.firstElementChild&&this.firstElementChild.removeAttribute("data-ws-observed-slots")}render(){if(!this.src)return this.IS_READY=!0,void y(this);this.isRendered=!0,p.get(this.src).then(t=>{const e=document.importNode(t.content,!0);this.replaceTemplateSlotsByContent(e),this.innerHTML="",this.appendChild(e)}).then(this.applyUIEffects).then(()=>this.updateSurfaces()).then(()=>this.changeHiddenState(null,this.getAttribute("hidden-state"))).then(()=>this.initCustomBlockHandler()).then(this.trackProvidedSlots).then(this.trackHiddenChildren).then(()=>{this.IS_READY=!0}).then(()=>function(t){const e=new CustomEvent("ready");t.dispatchEvent(e)}(this)).catch(()=>y(this))}}l()&&customElements.define("ws-block",T)}});;!function(n){function e(e){for(var a,o,r=e[0],l=e[1],d=e[2],h=0,p=[];h<r.length;h++)o=r[h],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&p.push(i[o][0]),i[o]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(n[a]=l[a]);for(c&&c(e);p.length;)p.shift()();return s.push.apply(s,d||[]),t()}function t(){for(var n,e=0;e<s.length;e++){for(var t=s[e],a=!0,r=1;r<t.length;r++){var l=t[r];0!==i[l]&&(a=!1)}a&&(s.splice(e--,1),n=o(o.s=t[0]))}return n}var a={},i={14:0},s=[];function o(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=a,o.d=function(n,e,t){o.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:t})},o.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},o.t=function(n,e){if(1&e&&(n=o(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var t=Object.create(null);if(o.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var a in n)o.d(t,a,function(e){return n[e]}.bind(null,a));return t},o.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return o.d(e,"a",e),e},o.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},o.p="";var r=window.webpackJsonp=window.webpackJsonp||[],l=r.push.bind(r);r.push=e,r=r.slice();for(var d=0;d<r.length;d++)e(r[d]);var c=l;s.push([33,0]),t()}({33:function(n,e,t){n.exports=t(51)},51:function(n,e,t){"use strict";t.r(e);var a=function(n,e){n.call(this,e)};var i=function(){try{return Boolean(window.parent.ws)}catch(n){return!1}};var s=()=>Boolean(window.previewMode);var o=()=>Boolean(window.livePreviewMode);var r=function(n){window.ShadyCSS&&window.ShadyCSS.prepareTemplate(n,"ws-header")};const l=new(t(0).a)(n=>{n.forEach(({target:n})=>{n.addOverlayStyle(n.offsetHeight)})});var d=function(n){return{observe(){l.observe(n)},unobserve(){l.unobserve(n)}}},c=t(1),h=t.n(c),p="ws-header",u="layout",g="mode";const m={SOCIALS:"business-social-profiles",PHONE:"business-phone",LOGO:"business-logo",SITE_NAME:"site-name",NAVIGATION:"navigation",PRIMARY_BUTTON:"primary-button",SECONDARY_BUTTON:"secondary-button",LANGUAGE_SELECTOR:"language-selector"},v=Object.values(m);var w=(n,e)=>{if(n.length>=1){const t=n[0].getAttribute("slot");return e.includes(t)}return!1};const y=h.a.edge,b=new MutationObserver(n=>{n.forEach(n=>{const{addedNodes:e,removedNodes:t}=n;let{target:a}=n;const i=[...e,...t,a].map(n=>{if(!n.closest)return"";if(n.slot)return n.slot;const e=n.closest("[slot]"),t=e&&e.slot;return v.includes(t)?t:""}).join("");a.tagName!==p&&(a=a.closest(p)),a.onMutateChild&&i&&(y?(w(e,v)||w(t,v))&&a.onMutateChild(i):a.onMutateChild(i))})});var f=function(n){Promise.resolve().then(()=>{b.observe(n,{attributes:!0,childList:!0,subtree:!0})})},S="stick-up",k="is-stuck",_="stick-up-clone",x="stick-up-target",L=10;var E=function(n,e){let t;return n.isStuck?t=e.clientHeight:(n.setAttribute(k,""),t=e.clientHeight,n.removeAttribute(k)),t};const O=(n,e,t)=>{n.setAttribute("name",t+"-hidden"),e.setAttribute("name",""+t)};var A=(n,e,t)=>{const a=n.querySelector(`[name^="${e}"][position="1"]`),i=n.querySelector(`[name^="${e}"][position="2"]`);if(t){if(a.getAttribute("name").includes("hidden"))return;O(a,i,e)}else{if(i.getAttribute("name").includes("hidden"))return;O(i,a,e)}};var U=function(){const n=document.documentElement,e=n.getAttribute("data-locale");return n.hasAttribute("data-locale")?e:null};var C=n=>{const{pathname:e}=window.location;return!n||!e.startsWith(`/${n}/`)};var T=function(n){const e=U();n&&!C(e)&&n.setAttribute("href",`/${e}/`)},M=new Map([["layout-sm",576],["layout-md",768],["layout-lg",992],["layout-xl",1200]]);var N=(n,e)=>{try{n.addEventListener("change",e)}catch(t){n.addListener(e)}};var R=(n,e)=>{try{n.removeEventListener("change",e)}catch(t){n.removeListener(e)}};let $;const P=new Map,H=(n,e)=>{n.hasChildNodes()&&(e.replaceChildren(...n.childNodes),n.replaceChildren())},Y=(n,e=$)=>{const{matches:t,target:a}=n;(P.get(a)||[]).forEach(n=>{const a=e.querySelector(`[position-initial='${n}']`),i=e.querySelector(`[position-target='${n}']`);t?H(a,i):H(i,a)})};var I=Object.freeze({init(n,e=!0){if(n===$)return;$=n;const t=$.querySelectorAll("[position-initial]");t.length&&t.forEach(n=>{const t=n.getAttribute("position-initial"),a=$.querySelector(`[position-target='${t}']`);if(!a)return;const i=a.getAttribute("position-breakpoint");if(!M.has(i))return;const s=(o=M.get(i),window.matchMedia(`(min-width: ${o}px)`));var o;const r=P.has(s)?[...P.get(s),t]:[t];P.set(s,r),Y({matches:s.matches,target:s},$),e&&Array.from(P.keys()).forEach(n=>N(n,Y))})},terminate(n){n&&Array.from(P.keys()).forEach(n=>R(n,Y))}}),q="overlay-section",G="overlay-opacity",z="--ws-surface-background-color-opacity";const D=document.createElement("template");D.innerHTML=`\n  <style>\n    :host([${S}][${k}]) .header-main-panel .container {\n      padding-top: var(--ws-header-stick-up-main-panel-vertical-padding, 32px);\n      padding-bottom: var(--ws-header-stick-up-main-panel-vertical-padding, 32px);\n    }\n\n    :host([${S}][${k}]) [${x}] {\n      ${z}: 1;\n\n      position: fixed;\n      top: 0;\n      right: 0;\n      left: 0;\n      z-index: 1;\n\n      box-shadow: var(--ws-header-stick-up-box-shadow);\n      animation-duration: var(--ws-header-stick-up-animation-duration);\n      animation-timing-function: var(--ws-header-stick-up-animation-timing-function);\n      animation-delay: var(--ws-header-stick-up-animation-delay);\n      animation-name: slideIn;\n    }\n\n    [${_}] {\n      background-color: hsl(var(--ws-surface-background-color));\n    }\n\n    :host([${q}]) [${_}] {\n      background-color: transparent;\n    }\n\n    @keyframes slideIn {\n      from {\n        transform: translateY(-100%);\n      }\n\n      to {\n        transform: translateY(0%);\n      }\n    }\n  </style>\n`;var j=D;const B=document.createElement("template");B.innerHTML=`\n<style>\n  .ws-nav__inner {\n    position: relative;\n    top: 0;\n    left: 0;\n    right: 0;\n  }\n\n  @media (max-width: ${M.get("layout-xl")-1}px) {\n    .ws-nav__toggle {\n      display: block;\n      cursor: pointer;\n      width: var(--ws-nav-toggle-width, 24px);\n      height: var(--ws-nav-toggle-height, 18px);\n      position: absolute;\n      right: var(--ws-nav-toggle-right-position, 16px);\n      top: 50%;\n      transform: translateY(-50%);\n      z-index: 2;\n    }\n\n    .ws-nav__toggle[active] {\n      position: fixed;\n      top: calc(var(--ws-nav-sidebar-padding-top, 60px) / 2);\n    }\n\n    .ws-nav__toggle-inner,\n    .ws-nav__toggle-inner::before,\n    .ws-nav__toggle-inner::after {\n      content: '';\n      position: absolute;\n      height: var(--ws-nav-toogle-line-height);\n      left: 0;\n      width: 100%;\n      background-color: hsla(\n        var(--ws-surface-m-nav-link-color),\n        var(--ws-surface-m-nav-link-color-opacity)\n      );\n    }\n\n    .ws-nav__toggle-inner {\n      top: 50%;\n      margin-top: calc(var(--ws-nav-toogle-line-height) / 2 * -1);\n    }\n\n    .ws-nav__toggle-inner::before {\n      top: calc(var(--ws-nav-toggle-height, 18px) / 2 + var(--ws-nav-toogle-line-height) * -1);\n    }\n\n    .ws-nav__toggle-inner::after {\n      bottom: calc(var(--ws-nav-toggle-height, 18px) / 2 + var(--ws-nav-toogle-line-height) * -1);\n    }\n\n    .ws-nav__toggle[active] .ws-nav__toggle-inner {\n      transform: rotate(45deg);\n    }\n\n    .ws-nav__toggle[active] .ws-nav__toggle-inner::after {\n      top: 0;\n      opacity: 0;\n    }\n\n    .ws-nav__toggle[active] .ws-nav__toggle-inner::before {\n      top: 0;\n      transform: rotate(90deg);\n    }\n\n    .ws-nav__menu {\n      position: fixed;\n      top: 0;\n      bottom: 0;\n      right: 0;\n      z-index: 1;\n      display: flex;\n      flex-direction: column;\n      width: var(--ws-nav-sidebar-width, 270px);\n      min-height: 85vh;\n      transform: translateX(100%);\n      visibility: hidden;\n      opacity: 0;\n      padding: var(--ws-nav-sidebar-padding-top, 60px) var(--ws-nav-sidebar-padding-horizontal, 16px) var(--ws-nav-sidebar-padding-bottom, 32px);\n      background-color: hsl(var(--ws-nav-sidebar-background, var(--ws-surface-background-color)));\n    }\n\n    .ws-nav__menu::before {\n      content: '';\n      position: absolute;\n      top: 0;\n      bottom: 0;\n      right: 100%;\n      width: 100vw;\n      background-color: var(--ws-nav-sidebar-overlay-color, #15171A);\n      opacity: var(--ws-nav-sidebar-overlay-opacity, 0.4);\n      transition: none;\n    }\n\n    .ws-nav__menu[visible] {\n      transition: transform var(--ws-nav-sidebar-transition-duration, 0.2s) var(--ws-nav-sidebar-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1));\n      opacity: 1;\n      visibility: visible;\n      transform: translateX(0);\n    }\n  }\n\n  @media (min-width: ${M.get("layout-xl")}px) {\n    .ws-nav__toggle {\n      display: none;\n    }\n\n    .ws-nav__menu {\n      display: flex;\n      flex: 1;\n      flex-direction: row;\n      align-items: center;\n      justify-content: flex-end;\n    }\n  }\n</style>\n`;var V=B;const J=document.createElement("template");J.innerHTML=`\n<style>\n  *,\n  *::before,\n  *::after {\n    box-sizing: border-box;\n  }\n\n  :host {\n    display: block;\n    text-align: left;\n  }\n\n  slot {\n    display: block;\n  }\n\n  [hidden],\n  slot[name$="hidden"] {\n    display: none !important;\n  }\n\n  .container {\n    width: 100%;\n    max-width: var(--ws-container-width, 100%);\n    padding-right: var(--ws-container-padding-horizontal, 15px);\n    padding-left: var(--ws-container-padding-horizontal, 15px);\n    margin-right: auto;\n    margin-left: auto;\n  }\n\n  .header-top-panel {\n    background-color: hsla(var(--ws-surface-background-color));\n  }\n\n  .header-top-panel .container {\n    padding-top: var(--ws-header-top-panel-vertical-padding, 16px);\n    padding-bottom: var(--ws-header-top-panel-vertical-padding, 16px);\n  }\n\n  .header-main-panel {\n    display: block;\n    background-color: hsla(var(--ws-surface-background-color), var(${z}, 1));\n    transition: background-color 0.15s;\n  }\n\n  .header-main-panel .container {\n    display: flex;\n    align-items: center;\n    padding-top: var(--ws-header-main-panel-vertical-padding, 32px);\n    padding-bottom: var(--ws-header-main-panel-vertical-padding, 32px);\n    min-height: var(--ws-header-main-panel-min-height, 56px);\n  }\n\n  .logo-wrapper {\n    display: flex;\n    max-width: var(--ws-m-logo-wrapper-max-width);\n    margin-right: var(--ws-header-main-panel-gap, 49px);\n    text-decoration: none;\n  }\n\n  [name="site-name"] {\n    min-width: var(--ws-m-site-name-min-width);\n    word-wrap: break-word;\n  }\n\n  [name="business-logo"]:not([hidden]) + [name="site-name"] {\n    display: block;\n    align-self: center;\n  }\n\n  [name="business-logo"]:not([hidden]) + [name="site-name"]:not([hidden]) {\n    margin-left: var(--ws-m-logo-wrapper-gap, 16px);\n  }\n\n  [out-of-screen] [name="business-social-profiles"]:not([hidden]) + * {\n    margin-left: inherit;\n    margin-top: var(--ws-nav-sidebar-gap, 10px);\n  }\n\n  [name="navigation"] {\n    flex: 1;\n    display: grid;\n  }\n\n  @media (max-width: ${M.get("layout-xl")-1}px) {\n    .header-main-panel [name="navigation"] ~ slot:not([hidden]) {\n      margin-top: var(--ws-nav-sidebar-gap, 16px);\n    }\n\n    [name="navigation"] {\n      min-height: 60px;\n    }\n\n    ::slotted([slot="navigation"]) {\n      overflow-y: auto;\n    }\n\n    ::slotted(ws-button) {\n      --ws-button-padding-horizontal: 20px;\n    }\n  }\n\n  @media (min-width: ${M.get("layout-xl")}px) {\n    .header-top-panel .container {\n      min-height: var(--ws-header-top-panel-min-height, 72px);\n    }\n\n    :host(:not([${k}])) .header-main-panel .container {\n      min-height: var(--ws-header-main-panel-min-height, 112px);\n    }\n\n    :host([layout="empty"]) .wrapper {\n      min-height: var(--ws-header-main-panel-min-height, 112px);\n      background-color: hsla(var(--ws-surface-background-color));\n    }\n\n    [name="navigation"]:not([hidden]) ~ [name$="-button"]:not([hidden]) {\n      margin-left: var(--ws-header-elements-indent, 49px);\n    }\n\n    [name$="-button"]:not([hidden]) + [name$="-button"]:not([hidden]) {\n      margin-left: var(--ws-header-button-group-gap, 16px);\n    }\n\n    ::slotted([slot="navigation"]) {\n      text-align: right;\n    }\n  }\n</style>\n`;var X={stickUpStyles:j,wsNav:V,layouts:J};const W=document.createElement("template");W.innerHTML=`\n<style>\n  :host([layout="1"]) .header-top-panel .container {\n    display: flex;\n    flex-wrap: wrap;\n    align-items: center;\n    gap: 10px;\n    justify-content: space-between;\n  }\n\n  :host([layout="1"]) .header-top-panel [name="business-phone"] {\n    margin-left: auto;\n  }\n\n  :host([layout="1"]) .header-top-panel [name="business-phone"][hidden] + [name="language-selector"] {\n    margin-left: auto;\n  }\n\n  @media (max-width: ${M.get("layout-xl")-1}px) {\n    :host([layout="1"]) .header-top-panel [name="business-phone"] {\n      margin-right: auto;\n      margin-left: 0;\n    }\n\n    :host([layout="1"]) .header-top-panel [name="language-selector"] {\n      display: flex;\n    }\n\n    @supports not (gap: 10px) {\n      :host([layout="1"]) [name="business-social-profiles"] {\n        margin-right: 15px;\n      }\n\n      :host([layout="1"]) .header-top-panel [name] {\n        padding-top: 5px;\n        padding-bottom: 5px;\n      }\n    }\n  }\n\n  @media (min-width: ${M.get("layout-xl")}px) {\n    :host([layout="1"]) .header-top-panel .container {\n      justify-content: flex-end;\n    }\n\n    /* On the desktop version, if business-phone slot off\n    we need to move the business-social-profiles to the right. */\n    :host([layout="1"]) [name="business-phone"],\n    :host([layout="1"]) .header-top-panel [name="language-selector"] {\n      margin-left: auto;\n    }\n\n    :host([layout="1"]) [name="business-phone"]:not([hidden]) + [name="language-selector"]:not([hidden]) {\n      margin-left: var(--ws-header-elements-indent, 49px);\n    }\n  }\n</style>\n<ws-nav class="ws-nav">\n  <div class="header-top-panel" part="top-panel">\n    <div class="container">\n      <slot name="business-social-profiles" position="1"></slot>\n      <slot name="business-phone"></slot>\n      <slot name="language-selector"></slot>\n    </div>\n  </div>\n  <ws-nav-content class="header-main-panel" part="main-panel" stick-up-target>\n    <div class="ws-nav__inner">\n      <div class="container">\n        <a href="/" class="logo-wrapper">\n          <slot name="business-logo"></slot>\n          <slot name="site-name"></slot>\n        </a>\n        <ws-nav-toggle toggle="#ws-nav-sidebar" on="click" disconnect-when="layout-xl" class="ws-nav__toggle" group-id="group-1">\n          <span class="ws-nav__toggle-inner"></span>\n        </ws-nav-toggle>\n        <ws-nav-collapse id="ws-nav-sidebar" class="ws-nav__menu" disable-body-scroll="true" part="sidebar">\n          <slot name="navigation"></slot>\n          <slot name="primary-button"></slot>\n          <slot name="secondary-button"></slot>\n          <slot name="business-social-profiles" position="2"></slot>\n        </ws-nav-collapse>\n      </div>\n    </div>\n  </ws-nav-content>\n</ws-nav>\n`,r(W);var F=W;const K=document.createElement("template");K.innerHTML='\n<ws-nav class="ws-nav">\n  <ws-nav-content class="header-main-panel" part="main-panel" stick-up-target>\n    <div class="ws-nav__inner">\n      <div class="container">\n        <a href="/" class="logo-wrapper">\n          <slot name="business-logo"></slot>\n          <slot name="site-name"></slot>\n        </a>\n        <ws-nav-toggle toggle="#ws-nav-sidebar" on="click" disconnect-when="layout-xl" class="ws-nav__toggle" group-id="group-1">\n          <span class="ws-nav__toggle-inner"></span>\n        </ws-nav-toggle>\n        <ws-nav-collapse id="ws-nav-sidebar" class="ws-nav__menu" disable-body-scroll="true" part="sidebar">\n          <slot name="navigation"></slot>\n          <slot name="primary-button"></slot>\n          <slot name="secondary-button"></slot>\n        </ws-nav-collapse>\n      </div>\n    </div>\n  </ws-nav-content>\n</ws-nav>\n';var Q=K;const Z=document.createElement("template");Z.innerHTML=`\n<style>\n  :host([layout="3"]) .header-top-panel .container {\n    display: flex;\n    justify-content: flex-end;\n  }\n\n  @media (min-width: ${M.get("layout-xl")}px) {\n    /* On the desktop version we need left indent for business-phone slot\n     we can't add [name="navigation"]:not([hidden]) + *\n     because we have .header-buttons wrapper after navigation slot in 1st and 2nd layouts */\n    :host([layout="3"]) [name="navigation"]:not([hidden]) ~ slot:not([hidden]) {\n      margin-left: var(--ws-header-elements-indent, 49px);\n    }\n  }\n</style>\n<ws-nav class="ws-nav">\n  <div class="header-top-panel" part="top-panel" hidden>\n    <div class="container">\n      <slot name="language-selector" position="2"></slot>\n    </div>\n  </div>\n  <ws-nav-content class="header-main-panel" part="main-panel" stick-up-target>\n    <div class="ws-nav__inner">\n      <div class="container">\n        <a href="/" class="logo-wrapper">\n          <slot name="business-logo"></slot>\n          <slot name="site-name"></slot>\n        </a>\n        <ws-nav-toggle toggle="#ws-nav-sidebar" on="click" disconnect-when="layout-xl" class="ws-nav__toggle" group-id="group-1">\n          <span class="ws-nav__toggle-inner"></span>\n        </ws-nav-toggle>\n        <ws-nav-collapse id="ws-nav-sidebar" class="ws-nav__menu" disable-body-scroll="true" part="sidebar">\n          <slot name="navigation"></slot>\n          <slot name="business-social-profiles"></slot>\n          <slot name="business-phone"></slot>\n          <slot name="language-selector" position="1"></slot>\n        </ws-nav-collapse>\n      </div>\n    </div>\n  </ws-nav-content>\n</ws-nav>\n`,r(Z);var nn=Z;const en=document.createElement("template");en.innerHTML=`\n<style>\n  @media (min-width: ${M.get("layout-xl")}px) {\n    :host([layout="4"]) ::slotted([slot="navigation"]) {\n      text-align: center;\n    }\n  }\n</style>\n<ws-nav class="ws-nav">\n  <ws-nav-content class="header-main-panel" part="main-panel" stick-up-target>\n    <div class="ws-nav__inner">\n      <div class="container">\n        <ws-nav-toggle toggle="#ws-nav-sidebar" on="click" disconnect-when="layout-xl" class="ws-nav__toggle" group-id="group-1">\n          <span class="ws-nav__toggle-inner"></span>\n        </ws-nav-toggle>\n        <ws-nav-collapse id="ws-nav-sidebar" class="ws-nav__menu" disable-body-scroll="true" part="sidebar">\n          <slot name="navigation"></slot>\n        </ws-nav-collapse>\n      </div>\n    </div>\n  </ws-nav-content>\n</ws-nav>\n`,r(en);var tn=en;const an=document.createElement("template");an.innerHTML=`\n<style>\n  :host([layout="5"]) .header-main-panel .container {\n    display: grid;\n    grid-template-columns: 1fr auto;\n    gap: 10px 15px;\n  }\n\n  :host([layout="5"]) [name="business-phone"] {\n    grid-column: 1;\n  }\n\n  :host([layout="5"]) [name="language-selector"] {\n    grid-row: 1;\n    grid-column: 2;\n  }\n\n  @media (min-width: ${M.get("layout-sm")}px) {\n    :host([layout="5"]) .header-main-panel .container {\n      display: flex;\n      justify-content: space-between;\n    }\n\n    :host([layout="5"]) [name="business-social-profiles"] {\n      margin-right: var(--ws-header-elements-indent, 49px);\n    }\n\n    :host([layout="5"]) [name="business-phone"],\n    :host([layout="5"]) [name="language-selector"] {\n      margin-left: auto;\n    }\n\n    :host([layout="5"]) [name="business-phone"]:not([hidden]) + [name="language-selector"]:not([hidden]) {\n      margin-left: var(--ws-header-elements-indent, 49px);\n    }\n  }\n</style>\n<div class="header-main-panel" part="main-panel" stick-up-target>\n  <div class="container">\n    <slot name="business-social-profiles"></slot>\n    <slot name="business-phone"></slot>\n    <slot name="language-selector"></slot>\n  </div>\n</div>\n`,r(an);var sn={LAYOUT_1:F,LAYOUT_2:Q,LAYOUT_3:nn,LAYOUT_4:tn,LAYOUT_5:an},on=[{name:"1",template:sn.LAYOUT_1,disabledSlots:[]},{name:"2",template:sn.LAYOUT_2,disabledSlots:[m.SOCIALS,m.PHONE,m.LANGUAGE_SELECTOR]},{name:"3",template:sn.LAYOUT_3,disabledSlots:[m.PRIMARY_BUTTON,m.SECONDARY_BUTTON,m.SOCIALS,m.LANGUAGE_SELECTOR]},{name:"3",template:sn.LAYOUT_3,disabledSlots:[m.PRIMARY_BUTTON,m.SECONDARY_BUTTON,m.PHONE,m.LANGUAGE_SELECTOR]},{name:"3",template:sn.LAYOUT_3,disabledSlots:[m.PRIMARY_BUTTON,m.SECONDARY_BUTTON,m.SOCIALS,m.PHONE]},{name:"4",template:sn.LAYOUT_4,disabledSlots:[m.LOGO,m.SITE_NAME,m.PRIMARY_BUTTON,m.SECONDARY_BUTTON,m.SOCIALS,m.PHONE,m.LANGUAGE_SELECTOR]},{name:"5",template:sn.LAYOUT_5,disabledSlots:[m.LOGO,m.SITE_NAME,m.PRIMARY_BUTTON,m.SECONDARY_BUTTON,m.NAVIGATION]}],rn="dynamic",ln="static";const dn=M.get("layout-xl")-1,cn=document.createElement("template");cn.innerHTML='\n  <div class="wrapper"></div>\n',r(X.layouts),r(X.wsNav),r(X.stickUpStyles);class hn extends HTMLElement{static get observedAttributes(){return[q,G,u,S]}constructor(){if(super(),this.isDynamicMode){const n=this.attachShadow({mode:"open"});[X.layouts,X.wsNav,X.stickUpStyles,cn].forEach(e=>{n.appendChild(document.importNode(e.content,!0))}),this.wrapper=n.querySelector(".wrapper"),this.disabledSlots=[],this.setDisabledSlots(),this.setLayout(),f(this)}this.handlers={applyStickUp:a.bind(this,this.applyStickUp),onLogoClick:a.bind(this,n=>n.preventDefault()),updateStickyHeight:a.bind(this,this.updateStickyHeight),onChangeSlotPositionOfLayout1:a.bind(this,this.changeSlotPositionOfLayout1),onChangeSlotPositionOfLayout3:a.bind(this,this.changeSlotPositionOfLayout3)},this.headerResizeObserver=d(this)}get mode(){return this.getAttribute(g)||rn}get isDynamicMode(){return this.mode===rn}get isStaticMode(){return this.mode===ln}get rootElement(){return this.isDynamicMode?this.shadowRoot:this}get layout(){return this.getAttribute(u)}get isOverlay(){return this.hasAttribute(q)}get isOverlayAvailable(){return!o()&&this.isOverlay}get isStuck(){return this.hasAttribute(k)}get isStickUp(){return this.hasAttribute(S)}get stickUpElement(){return this.rootElement.querySelector(`[${x}]`)}get isStickUpAvailable(){return(!i()||s())&&this.isStickUp&&this.stickUpElement}get logoLinkElement(){if(this.isDynamicMode)return this.shadowRoot.querySelector("a.logo-wrapper");const n=this.querySelector(`[slot='${m.LOGO}'], [slot='${m.SITE_NAME}']`);return n&&n.closest("a")}get overlayOpacity(){return this.getAttribute(G)}get stickyHeaderHeight(){return this.stickyHeight||(this.stickyHeight=E(this,this.stickUpElement)),this.stickyHeight}set isStuck(n){this.isStuck!==n&&(n?(this.createStickUpClone(),this.setAttribute(k,"")):(this.removeStickUpClone(),this.removeAttribute(k)))}set overlayOpacityCustomProperty(n){this.style.setProperty(z,n)}attributeChangedCallback(n,e,t){this.connected&&n===S&&this.initStickUpMechanism(),this.connected&&n===q&&this.applyOverlayMechanism(),n===G&&e!==t&&(this.overlayOpacityCustomProperty=t),this.isDynamicMode&&this.connected&&n===u&&this.onChangeLayout(t,e)}connectedCallback(){this.connected=!0,this.isDynamicMode&&(window.ShadyCSS&&window.ShadyCSS.styleElement(this),this.triggerSlotVisibility(),this.hideNavToggle(),this.setLayout(),this.onChangeLayout(this.layout)),this.isStaticMode&&(T(this.logoLinkElement),I.init(this,!o())),this.initStickUpMechanism(),this.applyOverlayMechanism(),this.addLogoLinkEventListener()}disconnectedCallback(){this.isDynamicMode&&this.onChangeLayout(null,this.layout),this.isStaticMode&&I.terminate(!o()),this.terminateStickUpMechanism(),this.removeLogoLinkEventListener()}closeMenuSidebar(){const n=this.rootElement.querySelector('ws-nav-toggle[toggle="#ws-nav-sidebar"]');n&&n.active&&(n.active=!1)}initStickUpMechanism(){this.isStickUpAvailable&&!this.stickUpInitiated&&(this.stickUpCalculatedValues=new Map,this.stickUpScrollingElement=document.scrollingElement,this.stickUpInitiated=!0,this.setStickUpConfig(),window.addEventListener("scroll",this.handlers.applyStickUp,!1),window.addEventListener("resize",this.handlers.updateStickyHeight,!1),this.isStickUp&&this.handlers.applyStickUp())}terminateStickUpMechanism(){this.isStickUpAvailable&&(window.removeEventListener("scroll",this.handlers.applyStickUp,!1),window.removeEventListener("resize",this.handlers.updateStickyHeight,!1))}createStickUpClone(){if(!this.rootElement.querySelector(`[${_}]`)){const n=document.createElement("div");n.style.height=this.stickUpElement.offsetHeight+"px",n.setAttribute(_,"");(this.stickUpElement.parentElement||this.rootElement).appendChild(n)}}removeStickUpClone(){this.rootElement.querySelector(`[${_}]`)&&this.rootElement.querySelector(`[${_}]`).remove()}updateStickyHeight(){this.stickyHeight=E(this,this.stickUpElement)}setStickUpConfig(){const{scrollTop:n}=this.stickUpScrollingElement;let{top:e,bottom:t,height:a}=this.stickUpElement.getBoundingClientRect();e+=n,t+=n+L,this.stickUpCalculatedValues.set("top",e),this.stickUpCalculatedValues.set("bottom",t),this.stickUpCalculatedValues.set("height",a)}applyStickUp(){const{scrollTop:n}=this.stickUpScrollingElement;let e=this.stickUpCalculatedValues.get("top");const t=this.stickUpCalculatedValues.get("bottom"),a=this.stickUpCalculatedValues.get("height"),i=this.stickUpElement.getBoundingClientRect().height;i<a&&(e+=(a-i)/2),this.isStuck=this.isStuck?n>e:n>t}applyOverlayMechanism(){this.isOverlayAvailable?(this.addOverlayStyle(),this.overlayOpacityCustomProperty=this.overlayOpacity,this.headerResizeObserver.observe()):(this.removeOverlayStyle(),this.style.removeProperty(z),this.headerResizeObserver.unobserve())}addOverlayStyle(n){let e=this.querySelector(".header-style");const t=n||this.offsetHeight;t&&(e||(e=document.createElement("style"),e.classList.add("header-style"),this.appendChild(e)),e.innerHTML=`\n      :root {\n        --ws-header-height: ${t}px;\n      }\n    `)}removeOverlayStyle(){const n=this.querySelector(".header-style");n&&n.remove()}addLogoLinkEventListener(){this.logoLinkElement&&i()&&this.addEventListener("click",this.handlers.onLogoClick)}removeLogoLinkEventListener(){this.logoLinkElement&&i()&&this.removeEventListener("click",this.handlers.onLogoClick)}onMutateChild(n){this.setDisabledSlots(),this.onChangeSlot(n),this.triggerSlotVisibility(),this.hideNavToggle(),this.setLayout()}onChangeLayout(n,e){"1"===n&&(this.changeSlotPositionOfLayout1(),window.addEventListener("resize",this.handlers.onChangeSlotPositionOfLayout1,!1)),"3"===n&&(this.changeSlotPositionOfLayout3(),window.addEventListener("resize",this.handlers.onChangeSlotPositionOfLayout3,!1)),"1"===e&&window.removeEventListener("resize",this.handlers.onChangeSlotPositionOfLayout1,!1),"3"===e&&window.removeEventListener("resize",this.handlers.onChangeSlotPositionOfLayout3,!1)}onChangeSlot(n){switch(n){case m.PHONE:case m.SOCIALS:case m.LANGUAGE_SELECTOR:"1"===this.layout&&this.changeSlotPositionOfLayout1()}}getSuitableLayout(){if(![...this.querySelectorAll("[slot]")].length)return null;return on.filter(n=>n.disabledSlots.every(n=>this.disabledSlots.includes(n))).pop()}setDisabledSlots(){const n=[...this.querySelectorAll("[slot]")].filter(n=>![...n.children].every(n=>n.hidden)).map(n=>n.slot);this.disabledSlots=v.filter(e=>!n.includes(e))}setLayout(){this.setDisabledSlots(),this.triggerSlotVisibility();const n=this.getSuitableLayout();if(!n)return this.wrapper.innerHTML="",void this.setAttribute(u,"empty");if(this.layout===n.name)return;const{name:e,template:t}=n;this.wrapper.innerHTML="",this.wrapper.appendChild(t.content.cloneNode(!0)),this.setAttribute(u,e),T(this.logoLinkElement)}triggerSlotVisibility(){this.shadowRoot.querySelectorAll("slot").forEach(n=>{this.disabledSlots.includes(n.name)?n.setAttribute("hidden",""):n.removeAttribute("hidden")});this.shadowRoot.querySelectorAll(".logo-wrapper").forEach(n=>{[...n.querySelectorAll("slot")].every(n=>n.hidden)?n.setAttribute("hidden",""):n.removeAttribute("hidden")})}hideNavToggle(){const n=this.shadowRoot.querySelector("ws-nav-toggle"),e=this.shadowRoot.querySelector("ws-nav-collapse");if(e){[...e.querySelectorAll("slot")].every(n=>n.hidden||!n.assignedNodes().length)?n.setAttribute("hidden",""):n.removeAttribute("hidden")}}changeSlotPositionOfLayout1(){const n=!this.disabledSlots.includes(m.LANGUAGE_SELECTOR)&&!this.disabledSlots.includes(m.SOCIALS)&&window.matchMedia(`(max-width: ${dn}px)`).matches;A(this.shadowRoot,m.SOCIALS,n)}changeSlotPositionOfLayout3(){const n=!this.disabledSlots.includes(m.LANGUAGE_SELECTOR)&&window.matchMedia(`(max-width: ${dn}px)`).matches;A(this.shadowRoot,m.LANGUAGE_SELECTOR,n);const e=this.shadowRoot.querySelector(".header-top-panel");n?e.removeAttribute("hidden"):e.setAttribute("hidden","")}}customElements.define(p,hn)}});;!function(t){function o(o){for(var e,s,i=o[0],a=o[1],m=o[2],d=0,u=[];d<i.length;d++)s=i[d],Object.prototype.hasOwnProperty.call(n,s)&&n[s]&&u.push(n[s][0]),n[s]=0;for(e in a)Object.prototype.hasOwnProperty.call(a,e)&&(t[e]=a[e]);for(r&&r(o);u.length;)u.shift()();return c.push.apply(c,m||[]),l()}function l(){for(var t,o=0;o<c.length;o++){for(var l=c[o],e=!0,i=1;i<l.length;i++){var a=l[i];0!==n[a]&&(e=!1)}e&&(c.splice(o--,1),t=s(s.s=l[0]))}return t}var e={},n={6:0},c=[];function s(o){if(e[o])return e[o].exports;var l=e[o]={i:o,l:!1,exports:{}};return t[o].call(l.exports,l,l.exports,s),l.l=!0,l.exports}s.m=t,s.c=e,s.d=function(t,o,l){s.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:l})},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,o){if(1&o&&(t=s(t)),8&o)return t;if(4&o&&"object"==typeof t&&t&&t.__esModule)return t;var l=Object.create(null);if(s.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:t}),2&o&&"string"!=typeof t)for(var e in t)s.d(l,e,function(o){return t[o]}.bind(null,e));return l},s.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(o,"a",o),o},s.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},s.p="";var i=window.webpackJsonp=window.webpackJsonp||[],a=i.push.bind(i);i.push=o,i=i.slice();for(var m=0;m<i.length;m++)o(i[m]);var r=a;c.push([19,0]),l()}({19:function(t,o,l){t.exports=l(62)},62:function(t,o,l){"use strict";l.r(o);var e=l(1),n=l.n(e);var c=function(){try{return Boolean(window.parent.ws)}catch(t){return!1}};var s=()=>Boolean(window.previewMode);var i=function(t,o){t.call(this,o)};var a={LAYOUTS:{"/ws/block-templates/features-with-icons/index.html":{"3-columns":"col-10 col-sm-8 col-md-6 col-lg-4","4-columns":"col-10 col-sm-8 col-md-6 col-lg-3"},"/ws/block-templates/features-with-aside-icons/index.html":{"3-columns":"col-10 col-sm-8 col-md-6 col-lg-4","4-columns":"col-10 col-sm-8 col-md-6 col-lg-3"},"/ws/block-templates/features-with-counters/index.html":{"3-columns":"col-10 col-sm-8 col-md-6 col-lg-4","4-columns":"col-10 col-sm-8 col-md-6 col-lg-3"},"/ws/block-templates/features-with-aside-cta/index.html":{"3-columns":"col-md-6 col-lg-6 col-xl-4","4-columns":"col-md-6 col-lg-6 col-xl-3"},"/ws/block-templates/products-with-media/index.html":{"2-columns":"col-10 col-sm-8 col-md-6","3-columns":"col-10 col-md-6 col-lg-4","4-columns":"col-10 col-sm-8 col-md-6 col-lg-3"},"/ws/block-templates/services-with-media/index.html":{"3-columns":"col-10 col-sm-8 col-md-6 col-lg-4","4-columns":"col-10 col-sm-8 col-md-6 col-lg-3"},"/ws/block-templates/team-members-with-media/index.html":{"2-columns":"col-10 col-sm-8 col-md-6","3-columns":"col-10 col-sm-8 col-md-6 col-lg-4","4-columns":"col-10 col-sm-8 col-md-6 col-lg-3"},"/ws/block-templates/articles-with-media/index.html":{"3-columns":"col-10 col-sm-8 col-md-6 col-lg-4","4-columns":"col-10 col-sm-8 col-md-6 col-lg-3"},"/ws/block-templates/testimonials-with-media/index.html":{"2-columns":"col-10 col-sm-8 col-md-6","3-columns":"col-11 col-sm-8 col-md-6 col-lg-4","4-columns":"col-11 col-sm-8 col-md-6 col-lg-3"},"/ws/block-templates/pricing-with-icons/index.html":{"3-columns":"col-10 col-sm-8 col-md-6 col-lg-4","4-columns":"col-10 col-sm-8 col-md-6 col-lg-3"},"/ws/block-templates/pricing-with-aside-cta/index.html":{"1-column":"col-md-6 col-lg-12","2-columns":"col-md-6"},"/ws/block-templates/gallery/index.html":{"2-columns":"col-10 col-sm-8 col-md-6","3-columns":"col-10 col-sm-8 col-md-6 col-lg-4","4-columns":"col-10 col-sm-8 col-md-6 col-lg-3"},"/ws/block-templates/gallery-fullwidth/index.html":{"3-columns":"col-12 col-sm-6 col-md-4 col-xl-4","4-columns":"col-12 col-sm-6 col-md-4 col-xl-3","6-columns":"col-12 col-sm-6 col-md-4 col-xl-2"},"/ws/block-templates/cover-with-features/index.html":{"3-columns":"col-10 col-sm-10 col-lg-4"},"/ws/block-templates/faq/index.html":{"1-column":"col-12 col-sm-10 col-md-8","2-columns":"col-12 col-sm-10 col-md-6","3-columns":"col-12 col-sm-10 col-md-6 col-lg-4"},"/ws/block-templates/services-with-media-cards/index.html":{"2-columns":"col-12 col-sm-10 col-md-6","3-columns":"col-12 col-sm-10 col-md-6 col-lg-4"},"/ws/block-templates/services-with-media-cards-vertical-layout/index.html":{"2-columns":"col-12 col-md-6","3-columns":"col-12 col-md-6 col-lg-4","4-columns":"col-12 col-md-6 col-lg-4 col-xl-3"},"/ws/block-templates/menu-with-aside-cta/index.html":{"1-column":"col-12","2-columns":"col-12 col-xl-6"},"/ws/block-templates/features-with-media-and-icon/index.html":{"2-columns":"col-10 col-lg-5 col-xl-6","3-columns":"col-10 col-lg-5 col-xl-4","4-columns":"col-10 col-lg-5 col-xl-3"}},EMPTY_STATE_TPL:'\n<style>\n[hidden] {\n  display: none !important;\n}\n\n.ws-column-empty-state {\n    width: 100%;\n    height: 100%;\n    min-height: 80px;\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    border: 1px dashed hsla(var(--ws-surface-text-color), 0.5);\n    border-radius: 2px;\n    box-sizing: border-box;\n    transition: all 175ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.ws-column-empty-state:hover {\n    border-color: transparent;\n    box-shadow: inset 0 0 0 2px var(--ws-editor-warning-800);\n    cursor: pointer;\n}\n\n.ws-column-empty-state__floating-action {\n    position: relative;\n    display: block;\n    width: 24px;\n    height: 24px;\n    background-color: var(--ws-editor-warning-700);\n    border-radius: 50%;\n    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);\n}\n\n.ws-column-empty-state__floating-action::before {\n    content: attr(data-tooltip);\n    position: absolute;\n    top: 50%;\n    left: 30px;\n    transform: translateY(-50%);\n    padding: 4px 8px;\n    font-family: var(--ws-editor-font-family);\n    font-size: 14px;\n    line-height: 1;\n    text-align: center;\n    white-space: nowrap;\n    color: var(--ws-editor-white);\n    background: #222;\n    border-radius: 4px;\n    z-index: 1001;\n    pointer-events: none;\n    cursor: pointer;\n    user-select: none;\n    opacity: 0;\n    transition: opacity 175ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.ws-column-empty-state:not(.ws-touch-device):hover\n.ws-column-empty-state__floating-action::before {\n    opacity: 0.9;\n    pointer-events: auto;\n}\n\n</style>\n\n<div class="ws-column-empty-state" hidden>\n  <div class="ws-column-empty-state__floating-action">\n    <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n      <path d="M12.8002 6.75C12.8002 6.33579 12.442 6 12.0002 6C11.5584 6 11.2002 6.33579 11.2002 6.75V17.25C11.2002 17.6642 11.5584 18 12.0002 18C12.442 18 12.8002 17.6642 12.8002 17.25V6.75Z" fill="white" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>\n      <path d="M17.25 11.2002H6.75C6.33579 11.2002 6 11.5584 6 12.0002C6 12.442 6.33579 12.8002 6.75 12.8002H17.25C17.6642 12.8002 18 12.442 18 12.0002C18 11.5584 17.6642 11.2002 17.25 11.2002Z" fill="white" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>\n    </svg>\n  </div>\n</div>\n\n<slot></slot>\n',SELECTORS:Object.freeze({block:"ws-block",column:"ws-column",emptyState:".ws-column-empty-state",emptyStateAction:".ws-column-empty-state__floating-action"}),TRANSLATION_KEYS:{ROOT_OBJECT:"__TRANSLATIONS__",EMPTY_STATE_TOOLTIP:"WS_BLOCK_EMPTY_STATE_TOOLTIP"}};const{LAYOUTS:m,SELECTORS:r,EMPTY_STATE_TPL:d,TRANSLATION_KEYS:u}=a,h=["columns","media-with-aside-text"],p=document.createElement("template");p.innerHTML=d;class w extends HTMLElement{constructor(){super(),this.isTouchDevice=n.a.mobile||n.a.tablet,this.injectedTranslations=window[u.ROOT_OBJECT]||{},this.isColumnsWidgetInithialized=!1,this.handlers={onEmptyStateClick:i.bind(this,w.onEmptyStateClick)}}connectedCallback(){this.shouldHaveEmptyState()&&!this.isColumnsWidgetInithialized&&this.initColumnsWidgetHandler()}disconnectedCallback(){this.shouldHaveEmptyState()&&this.isColumnsWidgetInithialized&&this.destroyColumnsWidgetHandler()}static get observedAttributes(){return["layout"]}attributeChangedCallback(t,o,l){this.updateClasses(o,l)}set layout(t){return this.setAttribute("layout",t)}get layout(){return this.getAttribute("layout")}updateClasses(t,o){const l=this.closest(r.block),e=l?l.getAttribute("src"):null;if(!e)return;const n=m[e]||{"2-columns":"col-10 col-sm-8 col-md-6","3-columns":"col-10 col-sm-8 col-md-6 col-lg-4","4-columns":"col-10 col-sm-8 col-md-6 col-lg-3"},c=this.children,s=n[t],[i]=Object.entries(n),[,a]=i;let d=n[o];d||(d=a),Array.from(c).forEach(t=>{s&&t.classList.remove(...s.split(" ")),t.classList.remove(...a.split(" ")),t.classList.add(...d.split(" "))})}shouldHaveEmptyState(){return c()&&this.isUsedAsWidget()&&!s()}isUsedAsWidget(){const t=this.closest(r.block),o=t&&t.hasAttribute("widget")?t.getAttribute("widget"):"";return h.includes(o)}initColumnsWidgetHandler(){this.setEmptyStateContent(),this.columnObserver=new MutationObserver(t=>{t.forEach(({target:t})=>{this.handleEmptyState(t)})}),Array.from(this.querySelectorAll(r.column)).forEach(t=>{if(!t.shadowRoot){t.attachShadow({mode:"open"}).appendChild(document.importNode(p.content,!0))}this.columnObserver.observe(t,{childList:!0}),this.handleEmptyState(t)}),this.isColumnsWidgetInithialized=!0}setEmptyStateContent(){const t=this.getTranslation(u.EMPTY_STATE_TOOLTIP);p.content.querySelector(r.emptyStateAction).setAttribute("data-tooltip",t)}getTranslation(t){return this.injectedTranslations[t]||t}handleEmptyState(t){t&&t.hasChildNodes()?this.hideEmptyState(t):this.showEmptyState(t)}showEmptyState(t){const o=t.shadowRoot.querySelector(r.emptyState);o.addEventListener("click",this.handlers.onEmptyStateClick),this.isTouchDevice&&o.classList.add("ws-touch-device"),o.hidden=!1}hideEmptyState(t){const o=t.shadowRoot.querySelector(r.emptyState);o.removeEventListener("click",this.handlers.onEmptyStateClick),o.hidden=!0}static onEmptyStateClick(t){!function(t){const o=new CustomEvent("ws:addWidget",{bubbles:!0});t.dispatchEvent(o)}(t.target.getRootNode().host)}destroyColumnsWidgetHandler(){this.columnObserver&&this.columnObserver.disconnect(),Array.from(this.querySelectorAll(r.column)).forEach(t=>{this.hideEmptyState(t)}),this.isColumnsWidgetInithialized=!1}}customElements.define("ws-columns",w)}});;!function(t){function e(e){for(var i,s,a=e[0],h=e[1],c=e[2],u=0,l=[];u<a.length;u++)s=a[u],Object.prototype.hasOwnProperty.call(r,s)&&r[s]&&l.push(r[s][0]),r[s]=0;for(i in h)Object.prototype.hasOwnProperty.call(h,i)&&(t[i]=h[i]);for(d&&d(e);l.length;)l.shift()();return o.push.apply(o,c||[]),n()}function n(){for(var t,e=0;e<o.length;e++){for(var n=o[e],i=!0,a=1;a<n.length;a++){var h=n[a];0!==r[h]&&(i=!1)}i&&(o.splice(e--,1),t=s(s.s=n[0]))}return t}var i={},r={20:0},o=[];function s(e){if(i[e])return i[e].exports;var n=i[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,s),n.l=!0,n.exports}s.m=t,s.c=i,s.d=function(t,e,n){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)s.d(n,i,function(e){return t[e]}.bind(null,i));return n},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="";var a=window.webpackJsonp=window.webpackJsonp||[],h=a.push.bind(a);a.push=e,a=a.slice();for(var c=0;c<a.length;c++)e(a[c]);var d=h;o.push([41,0]),n()}({41:function(t,e,n){t.exports=n(52)},42:function(t,e){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[],n=null,i=null;o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return n||(n=function(t,n){i=t&&n?c(t,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),n},o._resetCrossOriginUpdater=function(){n=null,i=null},o.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},o.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},o.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},o.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var i=this._checkForIntersections,r=null,o=null;if(this.POLL_INTERVAL?r=n.setInterval(i,this.POLL_INTERVAL):(s(n,"resize",i,!0),s(e,"scroll",i,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(o=new n.MutationObserver(i)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(r&&t.clearInterval(r),a(t,"resize",i,!0)),a(e,"scroll",i,!0),o&&o.disconnect()})),e!=(this.root&&this.root.ownerDocument||t)){var h=l(e);h&&this._monitorIntersections(h.ownerDocument)}}},o.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var i=this.root&&this.root.ownerDocument||t;if(!this._observationTargets.some((function(t){var n=t.element.ownerDocument;if(n==e)return!0;for(;n&&n!=i;){var r=l(n);if((n=r&&r.ownerDocument)==e)return!0}return!1}))){var r=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),r(),e!=i){var o=l(e);o&&this._unmonitorIntersections(o.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e<t.length;e++)t[e]()},o.prototype._checkForIntersections=function(){if(this.root||!n||i){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(i){var o=i.element,s=h(o),a=this._rootContainsTarget(o),c=i.entry,d=t&&a&&this._computeTargetAndRootIntersection(o,s,e),u=i.entry=new r({time:window.performance&&performance.now&&performance.now(),target:o,boundingClientRect:s,rootBounds:n&&!this.root?null:e,intersectionRect:d});c?t&&a?this._hasCrossedThreshold(c,u)&&this._queuedEntries.push(u):c&&c.isIntersecting&&this._queuedEntries.push(u):this._queuedEntries.push(u)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},o.prototype._computeTargetAndRootIntersection=function(e,r,o){if("none"!=window.getComputedStyle(e).display){for(var s,a,d,l,p,m,g,f,v=r,w=u(e),b=!1;!b&&w;){var y=null,_=1==w.nodeType?window.getComputedStyle(w):{};if("none"==_.display)return null;if(w==this.root||9==w.nodeType)if(b=!0,w==this.root||w==t)n&&!this.root?!i||0==i.width&&0==i.height?(w=null,y=null,v=null):y=i:y=o;else{var E=u(w),R=E&&h(E),T=E&&this._computeTargetAndRootIntersection(E,R,o);R&&T?(w=E,y=c(R,T)):(w=null,v=null)}else{var A=w.ownerDocument;w!=A.body&&w!=A.documentElement&&"visible"!=_.overflow&&(y=h(w))}if(y&&(s=y,a=v,d=void 0,l=void 0,p=void 0,m=void 0,g=void 0,f=void 0,d=Math.max(s.top,a.top),l=Math.min(s.bottom,a.bottom),p=Math.max(s.left,a.left),m=Math.min(s.right,a.right),f=l-d,v=(g=m-p)>=0&&f>=0&&{top:d,bottom:l,left:p,right:m,width:g,height:f}||null),!v)break;w=w&&u(w)}return v}},o.prototype._getRootRect=function(){var e;if(this.root)e=h(this.root);else{var n=t.documentElement,i=t.body;e={top:0,left:0,right:n.clientWidth||i.clientWidth,width:n.clientWidth||i.clientWidth,bottom:n.clientHeight||i.clientHeight,height:n.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(e)},o.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},o.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,i=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==i)for(var r=0;r<this.thresholds.length;r++){var o=this.thresholds[r];if(o==n||o==i||o<n!=o<i)return!0}},o.prototype._rootIsInDom=function(){return!this.root||d(t,this.root)},o.prototype._rootContainsTarget=function(e){return d(this.root||t,e)&&(!this.root||this.root.ownerDocument==e.ownerDocument)},o.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},o.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=o,window.IntersectionObserverEntry=r}function r(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,i=this.intersectionRect,r=i.width*i.height;this.intersectionRatio=n?Number((r/n).toFixed(4)):this.isIntersecting?1:0}function o(t,e){var n,i,r,o=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(o.root&&1!=o.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),i=this.THROTTLE_TIMEOUT,r=null,function(){r||(r=setTimeout((function(){n(),r=null}),i))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(o.rootMargin),this.thresholds=this._initThresholds(o.threshold),this.root=o.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(t,e,n,i){"function"==typeof t.addEventListener?t.addEventListener(e,n,i||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function a(t,e,n,i){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,i||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function h(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function c(t,e){var n=e.top-t.top,i=e.left-t.left;return{top:n,left:i,height:e.height,width:e.width,bottom:n+e.height,right:i+e.width}}function d(t,e){for(var n=e;n;){if(n==t)return!0;n=u(n)}return!1}function u(e){var n=e.parentNode;return 9==e.nodeType&&e!=t?l(e):n&&11==n.nodeType&&n.host?n.host:n&&n.assignedSlot?n.assignedSlot.parentNode:n}function l(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(t){return null}}}()},52:function(t,e,n){"use strict";n.r(e);var i={CONTAINER_TAG:"ws-media-container",MEDIA_ELEMENT_SELECTOR:"img, video, ws-iframe",POSITION_REGEXP:/^(-?\d+(?:\.\d+)?)% (-?\d+(?:\.\d+)?)%$/,MIN_ASPECT_RATIO_PROPERTY:"--min-aspect-ratio",MAX_ASPECT_RATIO_PROPERTY:"--max-aspect-ratio",MAX_WIDTH_PROPERTY:"--ws-media-container-max-width",MARGIN_LEFT_PROPERTY:"--ws-media-container-margin-left",MARGIN_RIGHT_PROPERTY:"--ws-media-container-margin-right",SAFE_MODE_CLASS:"ws-safe-mode",VISIBLE_IMAGE_OFFSET:15,RESIZE_EVENT:"ws:resize",ADJUST_POSITION_EVENT:"ws:adjust-image-position"};var r=function(t){window.ShadyCSS&&window.ShadyCSS.prepareTemplate(t,i.CONTAINER_TAG)};const{MAX_WIDTH_PROPERTY:o,MARGIN_LEFT_PROPERTY:s,MARGIN_RIGHT_PROPERTY:a,SAFE_MODE_CLASS:h}=i,c=document.createElement("template");c.innerHTML=`\n  <style>\n    :host {\n      display: block;\n      max-width: var(${o}, none);\n      margin-right: var(${a}, auto);\n      margin-left: var(${s}, auto);\n    }\n\n    .media-wrapper {\n      position: relative;\n      height: 100%;\n      overflow: hidden;\n      border-top-left-radius: var(--ws-media-container-border-top-left-radius, var(--ws-media-container-border-radius));\n      border-top-right-radius: var(--ws-media-container-border-top-right-radius, var(--ws-media-container-border-radius));\n      border-bottom-left-radius: var(--ws-media-container-border-bottom-left-radius, var(--ws-media-container-border-radius));\n      border-bottom-right-radius: var(--ws-media-container-border-bottom-right-radius, var(--ws-media-container-border-radius));\n      user-select: none;\n    }\n\n    .ws-media-content-container.has-image:not(.${h}) {\n      display: grid;\n      position: absolute;\n      transform: translate(-50%, -50%);\n      opacity: 0;\n      transition: opacity 1s;\n    }\n\n    ::slotted(a.ws-visible),\n    ::slotted(picture.ws-visible),\n    ::slotted(img.ws-visible),\n    .ws-media-content-container.has-image:not(.${h}).loaded {\n      opacity: 1;\n    }\n\n    [part="decoration"] {\n      display: none;\n    }\n  </style>\n\n  <div class="media-wrapper">\n    <div class="ws-media-content-container">\n      <slot></slot>\n    </div>\n  </div>\n  <div part="decoration"></div>\n`,r(c);var d=c;const u=(t={},e)=>`<ws-media-container\n    aspect-ratio="${t.aspectRatio||1}"\n    content-position="${t.contentPosition||"50% 50%"}"\n    content-scale="${t.contentScale||1}"\n  >${e}</ws-media-container>`,l=(t={})=>{const e=t.src||"",n=t.alt||"";return`<img src="${e}" ${t.title?`data-title="${t.title}"`:""} ${t.description?`data-description="${t.description}"`:""} alt="${n}" loading="lazy" />`},p=(t={})=>`<picture>${l(t)}</picture>`;var m=Object.freeze({imageMediaContainer:(t,e,n)=>{const i=p(e),r=Boolean(n&&n.href);return u(t,r?((t={},e)=>{const{href:n}=t,i=t.rel||"nofollow",r=t.target||"_blank",o=t.download||"";return`<a href="${n}" rel="${i}" target="${r}" ${o?`download="${o}"`:""}>${e}</a>`})(n,i):i)},imageContainer:t=>l(t),pictureContainer:t=>p(t)});var g=function(t,e){t.call(this,e)};var f=function(t,e){if(!t)return[0,0];switch(t.tagName.toLowerCase()){case"video":return t.readyState>=HTMLMediaElement.HAVE_METADATA?[t.videoWidth,t.videoHeight]:new Promise(e=>{t.addEventListener("loadedmetadata",g.bind(t,()=>{e([t.videoWidth,t.videoHeight])},{once:!0}))});case"img":return navigator.userAgent.toLowerCase().includes("firefox")?0===t.naturalWidth||0===t.naturalHeight?[150,150]:new Promise(e=>{setTimeout(()=>{e([t.naturalWidth,t.naturalHeight])},0)}):[t.naturalWidth,t.naturalHeight];case"ws-iframe":{const{width:t,height:n}=e;return[t,n]}default:return[0,0]}};const v=new MutationObserver(t=>{const e=new Set;t.forEach(({type:t,target:n})=>{"childList"!==t&&n.matches(i.CONTAINER_TAG)||e.add(n.closest(i.CONTAINER_TAG))}),e.forEach(t=>{t&&t.getMediaAndRender&&t.getMediaAndRender()})});var w=function(t){v.observe(t,{subtree:!0,childList:!0,attributes:!0})};const b=new(n(0).a)(t=>{t.forEach(({target:t})=>t.getMediaAndRender())});var y=function(t){return b.observe(t),{unobserve(){b.unobserve(t)}}};n(42);const _=new IntersectionObserver(t=>{t.forEach(t=>{t.target.onIntersectionEntry&&t.target.onIntersectionEntry(t)})});var E=function(t){return _.observe(t),{unobserve(){_.unobserve(t)}}};var R=function(){try{return Boolean(window.parent.ws)}catch(t){return!1}};var T=()=>Boolean(window.previewMode);var A=()=>Boolean(window.livePreviewMode);var P=function(t){return!isNaN(t)&&isFinite(t)};var I=function(t){const{parentElement:e}=t;if(!e)return null;const{paddingLeft:n,paddingRight:i}=getComputedStyle(e);return e.clientWidth-(parseFloat(n)+parseFloat(i))};var O=(t,e)=>{const n=t.style.getPropertyValue(e);if(n)return n;return getComputedStyle(t).getPropertyValue(e)||null};var S=function(t){return t&&"img"===t.tagName.toLowerCase()};var M=t=>{const e=getComputedStyle(t).getPropertyValue("min-height");return e.includes("px")?parseInt(e,10):null};var C=t=>{const{offsetWidth:e}=t,n=Number(O(t,i.MIN_ASPECT_RATIO_PROPERTY))||null,r=M(t),o=e/r;return r&&n?Math.min(o,n):r?o:n};var x=(t,e)=>{const n=e/2;let i=t;return t-n>98&&(i=98+n),t+n<2&&(i=2-n),Math.round(100*i)/100};var L=function(t){switch(t.tagName.toLowerCase()){case"img":return new Promise(e=>{t.complete?e(t):t.addEventListener("load",()=>{e(t)})});default:return Promise.resolve()}};var N=function(t){if(!t)return!1;const e=t.getAttribute("loading");return e&&"lazy"===e};var H=function(t,e){switch(t.tagName.toLowerCase()){case"img":e.classList.add("has-image")}},W=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};const{RESIZE_EVENT:D}=i;class F extends HTMLElement{static get observedAttributes(){return["aspect-ratio","content-position","content-scale","rounded-images","transform-scale-factor","safe-mode","width"]}static getTemplates(){return m}get mediaElement(){return this.querySelector(i.MEDIA_ELEMENT_SELECTOR)}get roundedImages(){return this.hasAttribute("rounded-images")}get aspectRatio(){const t=this.getAttribute("aspect-ratio"),e=parseFloat(t);return P(e)?e:1}get minAspectRatio(){return C(this)}get maxAspectRatio(){return Number(O(this,i.MAX_ASPECT_RATIO_PROPERTY))||null}get mediaAspectRatio(){return this.mediaWidth/this.mediaHeight}get maxAspectRatioStyleProperty(){return this.style.getPropertyValue(i.MAX_ASPECT_RATIO_PROPERTY)}set maxAspectRatioStyleProperty(t){t&&t!==this.maxAspectRatioStyleProperty?this.style.setProperty(i.MAX_ASPECT_RATIO_PROPERTY,t):!t&&this.maxAspectRatioStyleProperty&&this.style.removeProperty(i.MAX_ASPECT_RATIO_PROPERTY)}get maxWidthStyleProperty(){return this.style.getPropertyValue(i.MAX_WIDTH_PROPERTY)}get marginLeftStyleProperty(){return O(this,i.MARGIN_LEFT_PROPERTY)}get marginRightStyleProperty(){return O(this,i.MARGIN_RIGHT_PROPERTY)}set maxWidthStyleProperty(t){t&&t!==this.maxWidthStyleProperty?this.style.setProperty(i.MAX_WIDTH_PROPERTY,t):!t&&this.maxWidthStyleProperty&&this.style.removeProperty(i.MAX_WIDTH_PROPERTY)}get contentScale(){const t=this.getAttribute("content-scale"),e=parseFloat(t);return P(e)?Math.max(e,.1):1}set contentScale(t){t?this.setAttribute("content-scale",t):t||this.removeAttribute("content-scale")}get contentPosition(){const t=this.getAttribute("content-position"),e=t&&t.match(i.POSITION_REGEXP);return e?e.slice(1,3).map(t=>parseFloat(t)):[50,50]}set contentPosition(t){t?this.setAttribute("content-position",t):t||this.removeAttribute("content-position")}get transformScaleFactor(){const t=parseFloat(this.getAttribute("transform-scale-factor"));return isNaN(t)?1:t}get safeMode(){return this.hasAttribute("safe-mode")}get coverConstraintsEnabled(){return this.hasAttribute("cover-constraints")}get width(){return this.getAttribute("width")||null}set width(t){t?this.setAttribute("width",t):t||this.removeAttribute("width")}constructor(){super();const t=this.attachShadow({mode:"open"});t.appendChild(document.importNode(d.content,!0)),this.mediaContainer=t.querySelector(".media-wrapper"),this.mediaContent=t.querySelector(".ws-media-content-container")}connectedCallback(){this.connected=!0,this.setAspectRatioStyleProperty();const t=this.mediaElement;this.parentWidth=I(this),this.hasWsTextParent=this.closest("ws-text"),this.withLazyLoading=N(t),this.resizeObserver=y(this),this.safeMode&&this.mediaContent.classList.add(i.SAFE_MODE_CLASS),H(t,this.mediaContent),!R()||T()||A()||(this.getMediaAndRender(),w(this)),A()&&this.getMediaAndRender(),R()&&!T()||this.runLazyRender(),this.resizeObserver=y(this)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(),this.intersectionObserver&&this.intersectionObserver.unobserve(),this.wsBlockObserver&&this.wsBlockObserver.disconnect()}attributeChangedCallback(t,e,n){if(this.connected&&e!==n){if("content-scale"===t)return void this.handleContentScaleChange(e,n);if(this.renderMedia(),"safe-mode"!==t)return;this.safeMode?(this.mediaContent.classList.add(i.SAFE_MODE_CLASS),this.intersectionObserver&&this.intersectionObserver.unobserve()):(this.mediaContent.classList.remove(i.SAFE_MODE_CLASS),this.intersectionObserver=E(this))}}handleContentScaleChange(){this.renderMedia()}getContainerBounds(){const{width:t,height:e}=this.mediaContainer.getBoundingClientRect(),n=this.transformScaleFactor;return{width:Math.round(t)/n,height:Math.round(e)/n}}getContentBounds(){const{width:t,height:e}=this.getContainerBounds(),n=t/e;let i,r;this.mediaAspectRatio>=n?(i=e*this.mediaAspectRatio,r=e):(i=t,r=t/this.mediaAspectRatio);const o=100*this.contentScale;return{width:i/t*o,height:r/e*o}}computeMedia(t={}){const{contentBounds:e=this.getContentBounds(),contentPosition:n=this.contentPosition}=t,{width:i,height:r}=e,[o,s]=n;return{width:i,height:r,mediaWidth:this.mediaWidth,mediaHeight:this.mediaHeight,position:{x:o,y:s}}}setContainerNodeHeight(t){this.style.height=t+"px"}getContainerNodeHeight(t,e={}){const{aspectRatio:n=this.aspectRatio}=e,i=this.getBoundingClientRect(),r=i.height-parseFloat(t.height);if(this.roundedImages)return Math.round(i.width-r);const o=this.minAspectRatio,s=this.maxAspectRatio,a=!P(o)||o<=0?n:o,h=P(s)?s:0,c=Math.max(h,Math.min(n,a));return Math.round(i.width/c-r)}setMaxAspectRatioForImage(){S(this.mediaElement)&&this.hasWsTextParent&&(this.mediaWidth<this.parentWidth?(this.maxWidthStyleProperty=this.mediaWidth+"px",this.maxAspectRatioStyleProperty=(this.mediaWidth/this.mediaHeight).toFixed(3)):(this.maxWidthStyleProperty=null,this.maxAspectRatioStyleProperty=null))}runLazyRender(){this.withLazyLoading?this.intersectionObserver=E(this):this.getMediaAndRender()}async getMediaAndRender(){const t=this.mediaElement;if(!t)return;await L(t);const e=window.getComputedStyle(this);this.setContainerNodeHeight(this.getContainerNodeHeight(e));const{width:n,height:i}=this.getContainerBounds(),[r,o]=await f(t,{width:n,height:i});this.mediaWidth=r,this.mediaHeight=o,this.renderMedia(),this.removePredefinedStyles()}onIntersectionEntry(t){t.isIntersecting&&(this.getMediaAndRender(),this.intersectionObserver.unobserve())}handleAppearAnimation(){S(this.mediaElement)&&this.mediaContent.classList.add("loaded"),this.setAttribute("loaded","")}renderMedia(){const t=window.getComputedStyle(this);this.setMaxAspectRatioForImage(),this.setContainerNodeHeight(this.getContainerNodeHeight(t)),this.style.width=this.width;const{width:e,height:n}=this.getContentBounds(),{width:i,height:r}=this.getContainerBounds(),[o,s]=this.contentPosition,a=x(o,e),h=x(s,n);this.mediaContent.style.cssText=`\n      left: ${a}%;\n      top: ${h}%;\n      width: ${e}%;\n      height: ${n}%;\n    `,this.handleAppearAnimation(),function(t,e,n){const i=new CustomEvent(t,{detail:W({},n)});e.dispatchEvent(i)}(D,this,{containerWidth:i,containerHeight:r,contentWidth:e,contentHeight:n,position:{x:a,y:h},border:t.border,scale:this.contentScale})}calculateBoundsByScale(t){this.contentScale=t;const[e,n]=this.contentPosition;return{scale:t,position:this.getContentPositionInPercents({x:e,y:n})}}getContentPositionInPercents({x:t,y:e}){const{width:n,height:i}=this.getContentBounds();return[x(t,n),x(e,i)]}setAspectRatioStyleProperty(){Object.keys(this.style).includes("aspect-ratio")||this.style.setProperty("aspect-ratio",this.aspectRatio)}removePredefinedStyles(){this.style.removeProperty("aspect-ratio")}}customElements.define(i.CONTAINER_TAG,F)}});;!function(e){function t(t){for(var s,r,a=t[0],l=t[1],c=t[2],d=0,h=[];d<a.length;d++)r=a[d],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&h.push(i[r][0]),i[r]=0;for(s in l)Object.prototype.hasOwnProperty.call(l,s)&&(e[s]=l[s]);for(u&&u(t);h.length;)h.shift()();return o.push.apply(o,c||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],s=!0,a=1;a<n.length;a++){var l=n[a];0!==i[l]&&(s=!1)}s&&(o.splice(t--,1),e=r(r.s=n[0]))}return e}var s={},i={21:0},o=[];function r(t){if(s[t])return s[t].exports;var n=s[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=s,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)r.d(n,s,function(t){return e[t]}.bind(null,s));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="";var a=window.webpackJsonp=window.webpackJsonp||[],l=a.push.bind(a);a.push=t,a=a.slice();for(var c=0;c<a.length;c++)t(a[c]);var u=l;o.push([43,0]),n()}({12:function(e,t,n){(function(t){var n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/,i=/^\./,o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,a=/^\[object .+?Constructor\]$/,l="object"==typeof t&&t&&t.Object===Object&&t,c="object"==typeof self&&self&&self.Object===Object&&self,u=l||c||Function("return this")();var d,h=Array.prototype,m=Function.prototype,v=Object.prototype,p=u["__core-js_shared__"],f=(d=/[^.]+$/.exec(p&&p.keys&&p.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",g=m.toString,b=v.hasOwnProperty,w=v.toString,y=RegExp("^"+g.call(b).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_=u.Symbol,S=h.splice,E=N(u,"Map"),k=N(Object,"create"),A=_?_.prototype:void 0,O=A?A.toString:void 0;function x(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}function T(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}function C(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}function M(e,t){for(var n,s,i=e.length;i--;)if((n=e[i][0])===(s=t)||n!=n&&s!=s)return i;return-1}function L(e,t){for(var i,o=0,r=(t=function(e,t){if(I(e))return!1;var i=typeof e;if("number"==i||"symbol"==i||"boolean"==i||null==e||z(e))return!0;return s.test(e)||!n.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:I(i=t)?i:P(i)).length;null!=e&&o<r;)e=e[H(t[o++])];return o&&o==r?e:void 0}function j(e){return!(!q(e)||(t=e,f&&f in t))&&(function(e){var t=q(e)?w.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?y:a).test(function(e){if(null!=e){try{return g.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function B(e,t){var n,s,i=e.__data__;return("string"==(s=typeof(n=t))||"number"==s||"symbol"==s||"boolean"==s?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function N(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return j(n)?n:void 0}x.prototype.clear=function(){this.__data__=k?k(null):{}},x.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},x.prototype.get=function(e){var t=this.__data__;if(k){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return b.call(t,e)?t[e]:void 0},x.prototype.has=function(e){var t=this.__data__;return k?void 0!==t[e]:b.call(t,e)},x.prototype.set=function(e,t){return this.__data__[e]=k&&void 0===t?"__lodash_hash_undefined__":t,this},T.prototype.clear=function(){this.__data__=[]},T.prototype.delete=function(e){var t=this.__data__,n=M(t,e);return!(n<0)&&(n==t.length-1?t.pop():S.call(t,n,1),!0)},T.prototype.get=function(e){var t=this.__data__,n=M(t,e);return n<0?void 0:t[n][1]},T.prototype.has=function(e){return M(this.__data__,e)>-1},T.prototype.set=function(e,t){var n=this.__data__,s=M(n,e);return s<0?n.push([e,t]):n[s][1]=t,this},C.prototype.clear=function(){this.__data__={hash:new x,map:new(E||T),string:new x}},C.prototype.delete=function(e){return B(this,e).delete(e)},C.prototype.get=function(e){return B(this,e).get(e)},C.prototype.has=function(e){return B(this,e).has(e)},C.prototype.set=function(e,t){return B(this,e).set(e,t),this};var P=R((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(z(e))return O?O.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return i.test(e)&&n.push(""),e.replace(o,(function(e,t,s,i){n.push(s?i.replace(r,"$1"):t||e)})),n}));function H(e){if("string"==typeof e||z(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function R(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var s=arguments,i=t?t.apply(this,s):s[0],o=n.cache;if(o.has(i))return o.get(i);var r=e.apply(this,s);return n.cache=o.set(i,r),r};return n.cache=new(R.Cache||C),n}R.Cache=C;var I=Array.isArray;function q(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function z(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==w.call(e)}e.exports=function(e,t,n){var s=null==e?void 0:L(e,t);return void 0===s?n:s}}).call(this,n(6))},3:function(e,t,n){var s;s=function(){var e=!0;function t(t){function n(e){var n=t.match(e);return n&&n.length>1&&n[1]||""}function s(e){var n=t.match(e);return n&&n.length>1&&n[2]||""}var i,r=n(/(ipod|iphone|ipad)/i).toLowerCase(),a=!/like android/i.test(t)&&/android/i.test(t),l=/nexus\s*[0-6]\s*/i.test(t),c=!l&&/nexus\s*[0-9]+/i.test(t),u=/CrOS/.test(t),d=/silk/i.test(t),h=/sailfish/i.test(t),m=/tizen/i.test(t),v=/(web|hpw)(o|0)s/i.test(t),p=/windows phone/i.test(t),f=(/SamsungBrowser/i.test(t),!p&&/windows/i.test(t)),g=!r&&!d&&/macintosh/i.test(t),b=!a&&!h&&!m&&!v&&/linux/i.test(t),w=s(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),y=n(/version\/(\d+(\.\d+)?)/i),_=/tablet/i.test(t)&&!/tablet pc/i.test(t),S=!_&&/[^-]mobi/i.test(t),E=/xbox/i.test(t);/opera/i.test(t)?i={name:"Opera",opera:e,version:y||n(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(t)?i={name:"Opera",opera:e,version:n(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||y}:/SamsungBrowser/i.test(t)?i={name:"Samsung Internet for Android",samsungBrowser:e,version:y||n(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(t)?i={name:"NAVER Whale browser",whale:e,version:n(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(t)?i={name:"MZ Browser",mzbrowser:e,version:n(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(t)?i={name:"Opera Coast",coast:e,version:y||n(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(t)?i={name:"Focus",focus:e,version:n(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(t)?i={name:"Yandex Browser",yandexbrowser:e,version:y||n(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(t)?i={name:"UC Browser",ucbrowser:e,version:n(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(t)?i={name:"Maxthon",maxthon:e,version:n(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(t)?i={name:"Epiphany",epiphany:e,version:n(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(t)?i={name:"Puffin",puffin:e,version:n(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(t)?i={name:"Sleipnir",sleipnir:e,version:n(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(t)?i={name:"K-Meleon",kMeleon:e,version:n(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:p?(i={name:"Windows Phone",osname:"Windows Phone",windowsphone:e},w?(i.msedge=e,i.version=w):(i.msie=e,i.version=n(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(t)?i={name:"Internet Explorer",msie:e,version:n(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:u?i={name:"Chrome",osname:"Chrome OS",chromeos:e,chromeBook:e,chrome:e,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(t)?i={name:"Microsoft Edge",msedge:e,version:w}:/vivaldi/i.test(t)?i={name:"Vivaldi",vivaldi:e,version:n(/vivaldi\/(\d+(\.\d+)?)/i)||y}:h?i={name:"Sailfish",osname:"Sailfish OS",sailfish:e,version:n(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(t)?i={name:"SeaMonkey",seamonkey:e,version:n(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(t)?(i={name:"Firefox",firefox:e,version:n(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t)&&(i.firefoxos=e,i.osname="Firefox OS")):d?i={name:"Amazon Silk",silk:e,version:n(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(t)?i={name:"PhantomJS",phantom:e,version:n(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(t)?i={name:"SlimerJS",slimer:e,version:n(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(t)||/rim\stablet/i.test(t)?i={name:"BlackBerry",osname:"BlackBerry OS",blackberry:e,version:y||n(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:v?(i={name:"WebOS",osname:"WebOS",webos:e,version:y||n(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(t)&&(i.touchpad=e)):/bada/i.test(t)?i={name:"Bada",osname:"Bada",bada:e,version:n(/dolfin\/(\d+(\.\d+)?)/i)}:m?i={name:"Tizen",osname:"Tizen",tizen:e,version:n(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||y}:/qupzilla/i.test(t)?i={name:"QupZilla",qupzilla:e,version:n(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||y}:/chromium/i.test(t)?i={name:"Chromium",chromium:e,version:n(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||y}:/chrome|crios|crmo/i.test(t)?i={name:"Chrome",chrome:e,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:a?i={name:"Android",version:y}:/safari|applewebkit/i.test(t)?(i={name:"Safari",safari:e},y&&(i.version=y)):r?(i={name:"iphone"==r?"iPhone":"ipad"==r?"iPad":"iPod"},y&&(i.version=y)):i=/googlebot/i.test(t)?{name:"Googlebot",googlebot:e,version:n(/googlebot\/(\d+(\.\d+))/i)||y}:{name:n(/^(.*)\/(.*) /),version:s(/^(.*)\/(.*) /)},!i.msedge&&/(apple)?webkit/i.test(t)?(/(apple)?webkit\/537\.36/i.test(t)?(i.name=i.name||"Blink",i.blink=e):(i.name=i.name||"Webkit",i.webkit=e),!i.version&&y&&(i.version=y)):!i.opera&&/gecko\//i.test(t)&&(i.name=i.name||"Gecko",i.gecko=e,i.version=i.version||n(/gecko\/(\d+(\.\d+)?)/i)),i.windowsphone||!a&&!i.silk?!i.windowsphone&&r?(i[r]=e,i.ios=e,i.osname="iOS"):g?(i.mac=e,i.osname="macOS"):E?(i.xbox=e,i.osname="Xbox"):f?(i.windows=e,i.osname="Windows"):b&&(i.linux=e,i.osname="Linux"):(i.android=e,i.osname="Android");var k="";i.windows?k=function(e){switch(e){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}(n(/Windows ((NT|XP)( \d\d?.\d)?)/i)):i.windowsphone?k=n(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):i.mac?k=(k=n(/Mac OS X (\d+([_\.\s]\d+)*)/i)).replace(/[_\s]/g,"."):r?k=(k=n(/os (\d+([_\s]\d+)*) like mac os x/i)).replace(/[_\s]/g,"."):a?k=n(/android[ \/-](\d+(\.\d+)*)/i):i.webos?k=n(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):i.blackberry?k=n(/rim\stablet\sos\s(\d+(\.\d+)*)/i):i.bada?k=n(/bada\/(\d+(\.\d+)*)/i):i.tizen&&(k=n(/tizen[\/\s](\d+(\.\d+)*)/i)),k&&(i.osversion=k);var A=!i.windows&&k.split(".")[0];return _||c||"ipad"==r||a&&(3==A||A>=4&&!S)||i.silk?i.tablet=e:(S||"iphone"==r||"ipod"==r||a||l||i.blackberry||i.webos||i.bada)&&(i.mobile=e),i.msedge||i.msie&&i.version>=10||i.yandexbrowser&&i.version>=15||i.vivaldi&&i.version>=1||i.chrome&&i.version>=20||i.samsungBrowser&&i.version>=4||i.whale&&1===o([i.version,"1.0"])||i.mzbrowser&&1===o([i.version,"6.0"])||i.focus&&1===o([i.version,"1.0"])||i.firefox&&i.version>=20||i.safari&&i.version>=6||i.opera&&i.version>=10||i.ios&&i.osversion&&i.osversion.split(".")[0]>=6||i.blackberry&&i.version>=10.1||i.chromium&&i.version>=20?i.a=e:i.msie&&i.version<10||i.chrome&&i.version<20||i.firefox&&i.version<20||i.safari&&i.version<6||i.opera&&i.version<10||i.ios&&i.osversion&&i.osversion.split(".")[0]<6||i.chromium&&i.version<20?i.c=e:i.x=e,i}var n=t("undefined"!=typeof navigator&&navigator.userAgent||"");function s(e){return e.split(".").length}function i(e,t){var n,s=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(n=0;n<e.length;n++)s.push(t(e[n]));return s}function o(e){for(var t=Math.max(s(e[0]),s(e[1])),n=i(e,(function(e){var n=t-s(e);return i((e+=new Array(n+1).join(".0")).split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));--t>=0;){if(n[0][t]>n[1][t])return 1;if(n[0][t]!==n[1][t])return-1;if(0===t)return 0}}function r(e,s,i){var r=n;"string"==typeof s&&(i=s,s=void 0),void 0===s&&(s=!1),i&&(r=t(i));var a=""+r.version;for(var l in e)if(e.hasOwnProperty(l)&&r[l]){if("string"!=typeof e[l])throw new Error("Browser version in the minVersion map should be a string: "+l+": "+String(e));return o([a,e[l]])<0}return s}return n.test=function(e){for(var t=0;t<e.length;++t){var s=e[t];if("string"==typeof s&&s in n)return!0}return!1},n.isUnsupportedBrowser=r,n.compareVersions=o,n.check=function(e,t,n){return!r(e,t,n)},n._detect=t,n.detect=t,n},e.exports?e.exports=s():n(44)("bowser",s)},43:function(e,t,n){e.exports=n(54)},44:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},45:function(e,t){class n extends HTMLElement{}customElements.define("ws-nav-content",n)},54:function(e,t,n){"use strict";n.r(t);var s=n(3),i=n.n(s);var o=function(){try{return Boolean(window.parent.ws)}catch(e){return!1}};var r=()=>Boolean(window.livePreviewMode),a=n(12),l=n.n(a);const c=()=>!1;var u=function(e,t){return l()(e,t,c)};var d=(e,t)=>{const{width:n,height:s,x:i,y:o}=e.getBoundingClientRect(),{clientX:r,clientY:a}=t;return((e,t,n)=>e>t&&e<t+n)(r,i,n)&&((e,t,n)=>e>t&&e<t+n)(a,o,s)};var h=function(e,t){e.call(this,t)};var m=e=>e.getRootNode()instanceof ShadowRoot;var v=Object.freeze({menu:".ws-nav__menu-list",menuItem:"li",submenu:".ws-nav__submenu > ul",submenuItem:"li",itemLink:"a",itemText:"span"});const p=Boolean(i.a.mobile||i.a.tablet),f=document.createElement("template");f.innerHTML="\n<style>\n  :host([disconnected]) {\n    display: none;\n  }\n</style>\n<slot></slot>\n";class g extends HTMLElement{static get observedAttributes(){return["active","on","toggle","disconnected"]}static findRelatedElements(e){const t=e.getAttribute("toggle");return[...e.getRootNode().querySelectorAll(t)].filter(e=>e.matches("ws-nav-collapse"))}static hideNestedCollapse(e){g.findRelatedElements(e).forEach(e=>{e.querySelectorAll("ws-nav-toggle[active]").forEach(e=>{e.active=!1})})}static performEditorIntegrationHandlers(){if(o()){const e=window.parent.ws;u(e,"view.operations.setHoveredElement")(null)}}constructor(){super();this.attachShadow({mode:"open"}).appendChild(document.importNode(f.content,!0)),this.strategies={active:this.toggleRelatedItems.bind(this),on:this.switchEvent.bind(this),toggle:this.changeTargetElements.bind(this),disconnected:this.toggleCollapseConnection.bind(this)},this.handlers={onMouseOver:h.bind(this,this.onMouseOver),onMouseOut:h.bind(this,this.onMouseOut),onDocumentClick:h.bind(this,this.onDocumentClick),toggleActiveState:h.bind(this,this.toggleActiveState),clearHideTimeout:h.bind(this,this.clearHideTimeout),positionSubmenu:h.bind(this,this.positionSubmenu)},this.cache=new Map}get active(){return this.hasAttribute("active")}set active(e){e?this.setAttribute("active",""):this.removeAttribute("active")}get disconnected(){return this.hasAttribute("disconnected")}set disconnected(e){e?this.setAttribute("disconnected",""):this.removeAttribute("disconnected")}attributeChangedCallback(e,t,n){if(r())return;const s=this.getStrategy(e);s&&s(n,t)}connectedCallback(){this.isMounted=!0;let e=this.getAttribute("on");e||(e="hover",this.setAttribute("on","hover")),this.disconnected&&(this.disconnected=!0),r()||this.setupEventHandlers(e)}disconnectedCallback(){this.isMounted=!1,this.clearMemory()}toggleCollapseConnection(){if(this.disconnected)this.clearMemory(),this.active=!1;else{const e=this.getAttribute("on");this.setupEventHandlers(e)}g.findRelatedElements(this).forEach(e=>{const t=e;t.disconnected=this.disconnected,t.visible=this.disconnected})}toggleRelatedItems(){g.findRelatedElements(this).forEach(e=>{e.visible=this.active})}toggleActiveState(e){e.stopPropagation(),this.deactivateGroupMembers(),this.active=!this.active,g.performEditorIntegrationHandlers()}switchEvent(e){this.clearMemory(),this.setupEventHandlers(e)}changeTargetElements(){this.clearMemory();const e=this.cache.get("on");this.setupEventHandlers(e)}setupEventHandlers(e){this.cache.set("on",e),"click"===e||p?this.interactOnClick():this.interactOnHover()}interactOnClick(){this.addEventListener("click",this.handlers.toggleActiveState,!1),document.documentElement.addEventListener("click",this.handlers.onDocumentClick,!1)}interactOnHover(){this.addEventListener("mouseover",this.handlers.onMouseOver,!1),this.addEventListener("mouseout",this.handlers.onMouseOut,!1)}onDocumentClick(e){const{target:t}=e,n=this.getAttribute("toggle");let s;if(m(this)){s=this.closest("ws-nav").querySelector(n)}else s=t.closest(n);const i=s&&d(s,e);!this.active||i&&t!==this||(this.active=!1,e.stopPropagation(),g.performEditorIntegrationHandlers())}onMouseOver(){this.clearHideTimeout(),this.active||(this.deactivateGroupMembers(),this.active=!0,this.relatedElements=g.findRelatedElements(this),this.relatedElements.forEach(e=>{e.addEventListener("mouseover",this.handlers.clearHideTimeout,!1),e.addEventListener("mouseout",this.handlers.onMouseOut,!1),this.handlers.positionSubmenu(e)}))}positionSubmenu(e){const t=this.closest(v.submenu);if(e&&t){if(e.hasAttribute("display-top"))e.style.bottom=`calc(100% - ${this.offsetTop}px)`;else{const n=t.scrollTop;e.style.top=this.offsetTop-n+"px"}const n=e.getBoundingClientRect();n.right>(window.innerWidth||document.documentElement&&document.documentElement.clientWidth)&&(e.style.left=-n.width-16+"px")}}onMouseOut(){this.hideTimeout=setTimeout(()=>{this.active=!1,this.clearRelatedListeners()},300)}deactivateGroupMembers(){const e=this.getAttribute("group-id");document.querySelectorAll(`ws-nav-toggle[active][group-id='${e}']`).forEach(e=>{const t=e;t!==this&&(t.active=!1,g.hideNestedCollapse(t))})}clearRelatedListeners(){this.relatedElements&&(this.relatedElements.forEach(e=>{e.removeEventListener("mouseover",this.handlers.clearHideTimeout,!1),e.removeEventListener("mouseout",this.handlers.onMouseOut,!1)}),this.relatedElements=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}removeClickEvents(){this.removeEventListener("click",this.handlers.toggleActiveState,!1),document.documentElement.removeEventListener("click",this.handlers.onDocumentClick,!1)}removeHoverEvents(){this.removeEventListener("mouseover",this.handlers.onMouseOver,!1),this.removeEventListener("mouseout",this.handlers.onMouseOut,!1),this.clearRelatedListeners()}clearMemory(){"click"===this.cache.get("on")||p?this.removeClickEvents():this.removeHoverEvents()}getStrategy(e){return this.strategies[e]}}customElements.define("ws-nav-toggle",g);var b=function(e){const t=e.getBoundingClientRect(),n=t.left,s=t.right;return document.documentElement.clientWidth-s<0||n<0};var w=e=>{const t=document.querySelector(".page-container");if(!t)return!0;const{top:n,height:s}=e.getBoundingClientRect(),i=document.querySelector("html");return t.offsetHeight<i.scrollTop+n+s};var y=()=>Boolean(window.previewMode);let _=0;var S=e=>{const t=window.frameElement,n=t.ownerDocument.querySelector(".ws-view");e.visible?(_=n.scrollTop,t.style.maxHeight="100%",document.documentElement.scrollTo({top:_})):(t.style.removeProperty("max-height"),n.scrollTo({top:_}))};class E extends HTMLElement{get visible(){return this.hasAttribute("visible")}set visible(e){e?(this.setAttribute("visible",""),this.getAttribute("disable-body-scroll")&&this.disableBodyScroll()):(this.removeAttribute("visible"),this.getAttribute("disable-body-scroll")&&this.enableBodyScroll()),this.outOfScreen=this.visible,this.displayOnTop=this.visible}set disconnected(e){e?this.setAttribute("disconnected",""):this.removeAttribute("disconnected")}get outOfScreen(){return this.hasAttribute("out-of-screen")}set outOfScreen(e){e&&b(this)?this.setAttribute("out-of-screen",""):this.removeAttribute("out-of-screen")}set displayOnTop(e){this.removeAttribute("style"),e&&w(this)?this.setAttribute("display-top",""):this.removeAttribute("display-top")}disableBodyScroll(){this.hasAttribute("disconnected")||(document.body.classList.add("nav-open"),i.a.ios&&o()&&!y()&&S(this))}enableBodyScroll(){this.hasAttribute("disconnected")||(document.body.classList.remove("nav-open"),i.a.ios&&o()&&!y()&&S(this))}}customElements.define("ws-nav-collapse",E);n(45);var k=new Map([["layout-xs",0],["layout-sm",576],["layout-md",768],["layout-lg",992],["layout-xl",1200]]);var A=function(e,t,n){let s=e;const i=[];for(;s&&s!==t;)n?s.matches(n)&&i.push(s):i.push(s),s=s.parentNode;return i};var O=e=>e.startsWith("http://")||e.startsWith("https://")||e.startsWith("//"),x=Object.freeze({menuItem:'<li class="ws-nav__menu-list-item">\n    <a class="ws-nav__menu-link">\n      <span></span>\n    </a>\n  </li>',nestableMenuItem:'<li class="ws-nav__menu-list-item">\n    <ws-nav-toggle on="hover" class="ws-nav__toggle">\n      <a class="ws-nav__menu-link">\n        <span></span>\n      </a>\n    </ws-nav-toggle>\n    <ws-nav-collapse class="ws-nav__submenu">\n      <ul class="ws-nav__submenu-list"></ul>\n    </ws-nav-collapse>\n  </li>',submenuItem:'<li class="ws-nav__submenu-list-item">\n    <a class="ws-nav__menu-link">\n      <span></span>\n    </a>\n  </li>',nestableSubmenuItem:'<li class="ws-nav__submenu-list-item">\n    <ws-nav-toggle on="hover" class="ws-nav__toggle">\n      <a class="ws-nav__menu-link">\n        <span></span>\n      </a>\n    </ws-nav-toggle>\n    <ws-nav-collapse class="ws-nav__submenu">\n      <ul class="ws-nav__submenu-list"></ul>\n    </ws-nav-collapse>\n  </li>'});class T extends HTMLElement{static getTemplates(){return x}static getSelectors(){return v}constructor(){super(),this.cache=new Map,this.scrollingElement=document.scrollingElement,this.isInShadowDom=m(this),this.handlers={applyLayoutClass:h.bind(this,this.applyLayoutClass)},this.templateSettings=x,this.selectorSettings=v}get templates(){return this.templateSettings}get selectors(){return this.selectorSettings}connectedCallback(){this.applyActivePage(),this.applyLayoutClass(),window.addEventListener("resize",this.handlers.applyLayoutClass,!1),window.addEventListener("orientationchange",this.handlers.applyLayoutClass,!1)}disconnectedCallback(){window.removeEventListener("resize",this.handlers.applyLayoutClass,!1),window.removeEventListener("orientationchange",this.handlers.applyLayoutClass,!1)}getCurrentLayout(){const{innerWidth:e}=window;let t,n="";return k.forEach((s,i)=>{e>=s&&(t=i,n=this.getAttribute(t)||n)}),{className:n,layout:t}}applyLayoutClass(){const{layout:e,className:t}=this.getCurrentLayout(),n=this.cache.get("className"),s=this.cache.get("layout");n!==t&&(n&&this.classList.remove(n),t&&this.classList.add(t)),s!==e&&this.switchToggleConnection(e),this.cache.set("layout",e),this.cache.set("className",t)}applyActivePage(){let e,t=window.location.pathname;if(document.baseURI&&(t=new URL(document.baseURI).pathname),"/"!==t&&(t=t.replace(/(\/)+$/,"")),this.isInShadowDom){if(!this.navigationSlotNode())return;e=this.getNavigationSlotElements("a[href]",!0)}else e=this.querySelectorAll("a[href]");e.forEach(e=>{let n=e.pathname;const s=e.getAttribute("href");if("/"!==n&&(n=e.pathname.replace(/(\/)+$/,"")),!O(s)&&n===t&&!e.href.includes("#")){if(n.split("/").filter(e=>e).every(e=>t.includes(e))){const t=this.isInShadowDom?this.navigationSlotNode():this;A(e,t,"li").forEach(e=>{e.classList.add("active")})}}})}switchToggleConnection(e){const t=k.get(e);this.querySelectorAll("ws-nav-toggle[disconnect-when]").forEach(e=>{const n=e,s=n.getAttribute("disconnect-when"),i=k.get(s),o=t>=i;n.disconnected!==o&&(n.isMounted?n.disconnected=o:setTimeout(()=>{n.disconnected=o}))})}navigationSlotNode(){const e=this.querySelector('slot[name="navigation"]');return e&&e.assignedNodes()[0]}getNavigationSlotElements(e,t,n){const s=this.navigationSlotNode();return s?n&&t?n.querySelectorAll(e):n?n.querySelector(e):t?s.querySelectorAll(e):s.querySelector(e):null}}customElements.define("ws-nav",T)}});;!function(e){function t(t){for(var o,i,s=t[0],a=t[1],u=t[2],m=0,p=[];m<s.length;m++)i=s[m],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&p.push(r[i][0]),r[i]=0;for(o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o]);for(c&&c(t);p.length;)p.shift()();return l.push.apply(l,u||[]),n()}function n(){for(var e,t=0;t<l.length;t++){for(var n=l[t],o=!0,s=1;s<n.length;s++){var a=n[s];0!==r[a]&&(o=!1)}o&&(l.splice(t--,1),e=i(i.s=n[0]))}return e}var o={},r={22:0},l=[];function i(t){if(o[t])return o[t].exports;var n=o[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=e,i.c=o,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)i.d(n,o,function(t){return e[t]}.bind(null,o));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="";var s=window.webpackJsonp=window.webpackJsonp||[],a=s.push.bind(s);s.push=t,s=s.slice();for(var u=0;u<s.length;u++)t(s[u]);var c=a;l.push([46,0]),n()}({46:function(e,t,n){e.exports=n(57)},5:function(e){e.exports=JSON.parse('{"cs":{"More":"Více"},"de":{"More":"Mehr"},"es":{"More":"Más"},"fi":{"More":"Lisää"},"fr":{"More":"Plus"},"hu":{"More":"Több"},"id":{"More":"Lebih"},"it":{"More":"Di Più"},"ja":{"More":"もっと"},"nb":{"More":"Mer"},"nl":{"More":"Meer"},"pl":{"More":"Więcej"},"pt-br":{"More":"Mais"},"ru":{"More":"Больше"},"sk":{"More":"viac"},"sv":{"More":"Mer"},"zh-cn":{"More":"更多"},"en":{"More":"More"}}')},57:function(e,t,n){"use strict";n.r(t);var o=n(0),r=Object.freeze({menu:".ws-nav__menu-list",menuItem:"li",submenu:".ws-nav__submenu > ul",submenuItem:"li",itemText:"span"});const l="enabled",i="disabled";var s=Object.freeze({nestableMenuItem:'<li class="ws-nav__menu-list-item">\n    <ws-nav-toggle on="hover" class="ws-nav__toggle">\n      <a class="ws-nav__menu-link" href="#">\n        <span></span>\n      </a>\n    </ws-nav-toggle>\n    <ws-nav-collapse class="ws-nav__submenu">\n      <ul class="ws-nav__submenu-list"></ul>\n    </ws-nav-collapse>\n  </li>'}),a="--ws-nav-min-width";var u=function(e,t){e.call(this,t)},c=new Map([["layout-xl",1200]]);const m=window.matchMedia(`(min-width: ${c.get("layout-xl")}px)`);var p=()=>m.matches;var d=function(e,t){const n=t?e.length:e.length-1;if(!(n>2)||!p())return!1;const o=n-1,{top:r}=e[0].getBoundingClientRect(),{top:l}=e[o].getBoundingClientRect();return r!==l};var h=function(e){let{width:t}=e.getBoundingClientRect();const n=getComputedStyle(e);return t+=parseInt(n.marginLeft,10)+parseInt(n.marginRight,10),Math.ceil(t)};var b=(e,t,n,o,r)=>{let i=0,s=t.findIndex(e=>(i+=h(e),i>o));for(r||(i+=h(n)-h(t[s]));i>o&&s>0;)s-=1,i-=h(t[s]);const a=t.slice(s,t.length-1);if(r){const t=e.children[0];a.forEach(e=>{t.insertAdjacentElement("beforebegin",e)})}else a.forEach(t=>{e.insertAdjacentElement("beforeend",t)}),n.setAttribute("auto-collapse",l)};var g=function(e,t,n,o,r){const l=(e,t,o)=>{n.insertAdjacentElement("beforebegin",e),t===o.length-1&&n.setAttribute("auto-collapse",i)};if(e.length>1){const{top:n}=e[0].getBoundingClientRect(),{top:o}=e[1].getBoundingClientRect();if(n!==o)return void Array.prototype.forEach.call(t,l)}let s=e.reduce((e,t)=>e+h(t),0);Array.prototype.every.call(t,(e,t,r)=>{const l=t===r.length-1,a=e.cloneNode(!0);return a.setAttribute("dummy-element",t),n.insertAdjacentElement("beforebegin",a),s+=h(a),l&&(s-=h(n)),s<o?(e.remove(),l&&n.setAttribute("auto-collapse",i),!0):(a.remove(),!1)});const a=r.querySelectorAll("[dummy-element]");Array.prototype.forEach.call(a,e=>{e.removeAttribute("dummy-element")})},f=n(5);var v=function(e){const t=document.documentElement.lang;return f[t]&&f[t][e]?f[t][e]:e};class y extends HTMLElement{constructor(){super(),this.handlers={autoCollapseNav:u.bind(this,this.autoCollapseNav),onToggleMobileAttribute:u.bind(this,this.toggleMobileAttribute)}}get minWidthStyleProperty(){return this.style.getPropertyValue(a)}set minWidthStyleProperty(e){e&&e!==this.minWidthStyleProperty&&this.style.setProperty(a,e)}connectedCallback(){if(this.menuElement=this.querySelector(r.menu),this.menuElement){this.buildAutoCollapsingInitialMarkup(),this.autoCollapseNav(),this.toggleMobileAttribute(),m.addListener(this.handlers.onToggleMobileAttribute);const e=new o.a(this.handlers.autoCollapseNav);e.observe(this.menuElement);const t=this.querySelectorAll(`${r.menu} > ${r.menuItem}`);e.observe(t[0])}}disconnectedCallback(){m.removeListener(this.handlers.onToggleMobileAttribute)}autoCollapseNav(){const e=this.querySelectorAll(`${r.menu} > ${r.menuItem}`),t=Array.from(e),n=this.menuElement.querySelector("[auto-collapse]"),{width:o}=this.menuElement.getBoundingClientRect(),i=n.getAttribute("auto-collapse")===l;if(d(e,i)){const l=n.querySelector(r.submenu);this.setNonBreakingWidth(e[0],n),b(l,t,n,o,i)}else{const e=this.querySelectorAll(`[auto-collapse] > ${r.submenu} > ${r.submenuItem}`);e.length&&g(t,e,n,o,this.menuElement)}}buildAutoCollapsingInitialMarkup(){if(!this.menuElement.querySelector("[auto-collapse]")){const e=document.createElement("div");e.innerHTML=s.nestableMenuItem;const t=e.firstChild;t.setAttribute("auto-collapse",i);const n=t.querySelector("ws-nav-toggle"),o=t.querySelector("ws-nav-collapse");n.setAttribute("toggle","#ws-nav-auto-collapse"),n.setAttribute("group-id","auto-collapse"),o.setAttribute("id","ws-nav-auto-collapse");t.querySelector(r.itemText).textContent=v("More"),t.insertAdjacentHTML("beforeend",'\n  <style>\n    [auto-collapse="disabled"],\n    [dummy-element]{\n      position: absolute!important;\n      right: 0!important;\n      pointer-events: none!important;\n      opacity: 0!important;\n      visibility: hidden!important;\n    }\n  </style>\n'),this.menuElement.insertAdjacentElement("beforeend",t)}}setNonBreakingWidth(e,t){const n=h(e),o=h(t);this.minWidthStyleProperty=n+o+10+"px"}toggleMobileAttribute(e=m){e.matches?this.removeAttribute("data-view"):this.setAttribute("data-view","mobile")}}customElements.define("ws-navigation",y)}});;!function(t){function n(n){for(var o,r,s=n[0],l=n[1],d=n[2],p=0,g=[];p<s.length;p++)r=s[p],Object.prototype.hasOwnProperty.call(a,r)&&a[r]&&g.push(a[r][0]),a[r]=0;for(o in l)Object.prototype.hasOwnProperty.call(l,o)&&(t[o]=l[o]);for(c&&c(n);g.length;)g.shift()();return i.push.apply(i,d||[]),e()}function e(){for(var t,n=0;n<i.length;n++){for(var e=i[n],o=!0,s=1;s<e.length;s++){var l=e[s];0!==a[l]&&(o=!1)}o&&(i.splice(n--,1),t=r(r.s=e[0]))}return t}var o={},a={12:0},i=[];function r(n){if(o[n])return o[n].exports;var e=o[n]={i:n,l:!1,exports:{}};return t[n].call(e.exports,e,e.exports,r),e.l=!0,e.exports}r.m=t,r.c=o,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="";var s=window.webpackJsonp=window.webpackJsonp||[],l=s.push.bind(s);s.push=n,s=s.slice();for(var d=0;d<s.length;d++)n(s[d]);var c=l;i.push([30,0]),e()}({30:function(t,n,e){t.exports=e(55)},55:function(t,n,e){"use strict";e.r(n);var o=e(0);var a=function(t,n){t.call(this,n)};var i=function(){try{return Boolean(window.parent.ws)}catch(t){return!1}};var r=function(t){window.ShadyCSS&&window.ShadyCSS.prepareTemplate(t,"ws-footer")};const s=new Map;[{name:"--screen-width-xs",key:"xs",fallbackValue:0},{name:"--screen-width-sm",key:"sm",fallbackValue:576},{name:"--screen-width-md",key:"md",fallbackValue:768},{name:"--screen-width-lg",key:"lg",fallbackValue:992},{name:"--screen-width-xl",key:"xl",fallbackValue:1200}].forEach(t=>{const n=getComputedStyle(document.documentElement).getPropertyValue(t.name),e=n?parseFloat(n):t.fallbackValue;s.set(t.key,e)});var l=s;var d=function(){const t=document.documentElement,n=t.getAttribute("data-locale");return t.hasAttribute("data-locale")?n:null};var c=t=>{const{pathname:n}=window.location;return!t||!n.startsWith(`/${t}/`)};var p=function(t){const n=d();t&&!c(n)&&t.setAttribute("href",`/${n}/`)},g="mode",m=".ws-m-copyright",u={LOGO:"business-logo",SITE_NAME:"site-name",DESCRIPTION:"business-description",ADDRESS:"business-address",PHONE:"business-phone",EMAIL:"business-email",SOCIALS:"business-social-profiles",NAVIGATION:"footer-navigation",COPYRIGHT:"copyright"};const h=document.createElement("template");h.innerHTML=`\n<style>\n  :host([layout="1"]) {\n    padding-top: var(--ws-footer-padding-top-lg, var(--footer-padding-vertical-lg));\n  }\n\n  :host([layout="1"]) .container {\n    display: grid;\n    grid-column-gap: var(--ws-footer-column-gap, var(--footer-column-gap));\n    grid-row-gap: var(--ws-footer-row-gap-lg, var(--footer-row-gap-lg));\n    align-items: start;\n  }\n\n  :host([layout="1"]) .footer-info {\n    grid-column: 1 / -1;\n  }\n\n  :host([layout="1"]) [name="copyright"] {\n    grid-column: 1 / -1;\n  }\n\n  @media (min-width: ${l.get("md")}px) {\n    :host([layout="1"]) .container {\n      grid-template-columns: 2fr 1fr;\n    }\n  }\n\n  @media (min-width: ${l.get("lg")}px) {\n    :host([layout="1"]) .container {\n      display: grid;\n      grid-template-columns: repeat(4 , 1fr);\n      grid-column-gap: var(--ws-footer-column-gap, var(--footer-column-gap));\n      grid-row-gap: var(--ws-footer-row-gap-lg, var(--footer-row-gap-lg));\n      align-items: start;\n    }\n\n    :host([layout="1"]) .footer-info {\n      grid-column: auto;\n    }\n\n    :host([layout="1"]) [name="footer-navigation"] {\n      grid-column-start: 2 span;\n    }\n\n    :host([layout="1"]) .footer-info[hidden] ~ .contact-info {\n      grid-column-start: 2 span;\n    }\n\n    :host([layout="1"]) [name="copyright"] {\n      grid-column: 1 / -1;\n    }\n  }\n</style>\n\n<div class="container">\n  <div class="footer-info">\n    <a href="/" class="logo-wrapper">\n      <slot name="business-logo"></slot>\n      <slot name="site-name"></slot>\n    </a>\n    <slot name="business-description"></slot>\n    <slot name="business-social-profiles"></slot>\n  </div>\n  <slot name="footer-navigation"></slot>\n  <div class="contact-info">\n    <slot name="business-address"></slot>\n    <slot name="business-phone"></slot>\n    <slot name="business-email"></slot>\n  </div>\n  <slot name="copyright"></slot>\n</div>\n`,r(h);var f=h;const v=document.createElement("template");v.innerHTML=`\n<style>\n  :host([layout="2"]) {\n    padding-top: var(--ws-footer-padding-top-lg, var(--footer-padding-vertical-lg));\n  }\n\n  :host([layout="2"]) .container {\n    display: grid;\n    grid-row-gap: var(--ws-footer-row-gap-lg, var(--footer-row-gap-lg));\n  }\n\n  @media (min-width: ${l.get("lg")}px) {\n    :host([layout="2"]) .footer-info {\n      max-width: 50%;\n    }\n  }\n</style>\n\n<div class="container">\n  <div class="footer-info">\n    <a href="/" class="logo-wrapper">\n      <slot name="business-logo"></slot>\n      <slot name="site-name"></slot>\n    </a>\n    <slot name="business-description"></slot>\n  </div>\n  <slot name="footer-navigation"></slot>\n  <div class="footer-bottom">\n    <slot name="business-social-profiles"></slot>\n    <slot name="copyright"></slot>\n  </div>\n</div>\n`,r(v);var w=v;const y=document.createElement("template");y.innerHTML='\n<style>\n  :host([layout="3"]) {\n    padding-top: var(--ws-footer-padding-top-lg, var(--footer-padding-vertical-lg));\n  }\n\n  :host([layout="3"]) .container {\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    text-align: center;\n  }\n\n  :host([layout="3"]) *:not([hidden]) ~ [name="footer-navigation"] {\n    margin-top: var(--ws-footer-row-gap-md, var(--footer-row-gap-md));\n  }\n\n  :host([layout="3"]) [name="copyright"] {\n    margin-top: var(--ws-footer-row-gap-lg, var(--footer-row-gap-lg));\n  }\n</style>\n\n<div class="container container--small">\n  <a href="/" class="logo-wrapper">\n    <slot name="business-logo"></slot>\n    <slot name="site-name"></slot>\n  </a>\n  <slot name="business-description"></slot>\n  <slot name="footer-navigation"></slot>\n  <slot name="business-social-profiles"></slot>\n  <slot name="copyright"></slot>\n</div>\n',r(y);var b=y;const S=document.createElement("template");S.innerHTML=`\n<style>\n  :host([layout="4"]) .container {\n    display: grid;\n    grid-row-gap: var(--ws-footer-row-gap-sm, var(--footer-row-gap-sm));\n    justify-items: center;\n    text-align: center;\n  }\n\n  @media (min-width: ${l.get("lg")}px) {\n    :host([layout="4"]) .container {\n      display: grid;\n      grid-template-columns: auto 1fr;\n      grid-column-gap: var(--ws-footer-column-gap, var(--footer-column-gap));\n      justify-items: start;\n      align-items: center;\n      text-align: left;\n    }\n\n    :host([layout="4"]) [name="footer-navigation"] {\n      justify-self: end;\n      grid-column-end: -1;\n    }\n\n    :host([layout="4"]) [name="copyright"] {\n      grid-column: 1 / -1;\n    }\n  }\n</style>\n\n<div class="container">\n  <a href="/" class="logo-wrapper">\n    <slot name="business-logo"></slot>\n    <slot name="site-name"></slot>\n  </a>\n  <slot name="footer-navigation"></slot>\n  <slot name="copyright"></slot>\n</div>\n`,r(S);var L=S;const x=document.createElement("template");x.innerHTML='\n<style>\n  :host([layout="5"]) .container {\n    display: grid;\n    grid-row-gap: var(--ws-footer-row-gap-sm, var(--footer-row-gap-sm));\n    justify-items: center;\n  }\n</style>\n\n<div class="container">\n  <a href="/" class="logo-wrapper">\n    <slot name="business-logo"></slot>\n    <slot name="site-name"></slot>\n  </a>\n  <slot name="copyright"></slot>\n</div>\n',r(x);var E={LAYOUT_1:f,LAYOUT_2:w,LAYOUT_3:b,LAYOUT_4:L,LAYOUT_5:x},O=[{name:"1",template:E.LAYOUT_1,disabledSlots:[]},{name:"2",template:E.LAYOUT_2,disabledSlots:[u.ADDRESS,u.PHONE,u.EMAIL],columnNavigation:!0},{name:"3",template:E.LAYOUT_3,disabledSlots:[u.ADDRESS,u.PHONE,u.EMAIL],navigationCanMutate:!0},{name:"4",template:E.LAYOUT_4,disabledSlots:[u.ADDRESS,u.PHONE,u.EMAIL,u.SOCIALS,u.DESCRIPTION],navigationCanMutate:!0},{name:"5",template:E.LAYOUT_5,disabledSlots:[u.DESCRIPTION,u.ADDRESS,u.PHONE,u.EMAIL,u.SOCIALS,u.NAVIGATION]}];const A=document.createElement("template");A.innerHTML=`\n  <style>\n    :host {\n      /* footer fallback variables */\n\n      --footer-padding-vertical: 30px;\n      --footer-padding-vertical-lg: 30px;\n\n      --footer-column-gap: 30px;\n      --footer-row-gap-lg: 28px;\n      --footer-row-gap-md: 22px;\n      --footer-row-gap-sm: 16px;\n\n      display: block;\n      padding-top: var(--ws-footer-padding-top, var(--footer-padding-vertical));\n      padding-bottom: var(--ws-footer-padding-top, var(--footer-padding-vertical));\n      background-color: var(--ws-footer-background-color, #fff);\n      text-align: left;\n    }\n\n    * {\n      box-sizing: border-box;\n    }\n\n    slot {\n      display: block;\n    }\n\n    [hidden] {\n      display: none !important;\n    }\n\n    .container {\n      width: 100%;\n      max-width: var(--ws-container-width, 100%);\n      padding-right: var(--container-padding-right, 15px);\n      padding-left: var(--container-padding-left, 15px);\n      margin-right: auto;\n      margin-left: auto;\n    }\n\n    .logo-wrapper {\n      display: inline-flex;\n      max-width: var(--ws-m-logo-wrapper-max-width);\n      text-decoration: none;\n    }\n\n    .logo-wrapper [name="business-logo"]:not([hidden]) + [name="site-name"] {\n      align-self: center;\n      margin-left: var(--ws-footer-logo-wrapper-gap, 12px);\n    }\n\n    .logo-wrapper [name="site-name"] {\n      min-width: var(--ws-m-site-name-min-width);\n      word-wrap: break-word;\n    }\n\n    *:not([hidden]) ~ [name="business-description"] {\n      margin-top: var(--ws-footer-row-gap-sm, var(--footer-row-gap-sm));\n    }\n\n    *:not([hidden]) ~ [name="business-social-profiles"] {\n      margin-top: var(--ws-footer-social-indent-top, 28px);\n    }\n\n    .contact-info {\n      display: grid;\n      grid-row-gap: var(--ws-footer-contact-info-item-gap, 8px);\n    }\n\n    .footer-bottom {\n      display: grid;\n      grid-row-gap: var(--ws-footer-row-gap-sm, var(--footer-row-gap-sm));\n    }\n\n    @media (min-width: ${l.get("sm")}px) {\n      :host {\n        --footer-padding-vertical: 32px;\n        --footer-padding-vertical-lg: 58px;\n        --footer-row-gap-lg: 30px;\n        --footer-row-gap-md: 24px;\n        --footer-row-gap-sm: 18px;\n      }\n    }\n\n    @media (min-width: ${l.get("md")}px) {\n      :host {\n        --footer-padding-vertical: 34px;\n        --footer-padding-vertical-lg: 60px;\n        --footer-row-gap-lg: 34px;\n        --footer-row-gap-md: 26px;\n        --footer-row-gap-sm: 20px;\n      }\n\n      .footer-bottom {\n        display: flex;\n        justify-content: space-between;\n        align-items: center;\n      }\n\n      .footer-bottom [name="business-social-profiles"] {\n        order: 1;\n      }\n    }\n\n    @media (min-width: ${l.get("lg")}px) {\n      :host {\n        --footer-padding-vertical: 36px;\n        --footer-padding-vertical-lg: 64px;\n        --footer-row-gap-lg: 36px;\n        --footer-row-gap-md: 28px;\n        --footer-row-gap-sm: 22px;\n      }\n\n      .container.container--small {\n        max-width: 770px;\n      }\n    }\n\n    @media (min-width: ${l.get("xl")}px) {\n      :host {\n        --footer-padding-vertical: 40px;\n        --footer-padding-vertical-lg: 72px;\n        --footer-row-gap-lg: 40px;\n        --footer-row-gap-md: 32px;\n        --footer-row-gap-sm: 24px;\n      }\n    }\n  </style>\n`;var N=A;const C=new MutationObserver(t=>{t.forEach(t=>{t.target.onChangeSlot&&t.target.onChangeSlot(t)})});var M=function(t){Promise.resolve().then(()=>{C.observe(t,{attributes:!0,childList:!0,subtree:!0})})},k="dynamic",T="static";const I=document.createElement("template");I.innerHTML='\n  <div class="wrapper"></div>\n',r(N);class D extends HTMLElement{static createCopyrightYear(){const t=document.createElement("span"),n=(new Date).getFullYear();return t.textContent="© "+n,t}static getLayout(t){return O.find(n=>n.name===t)}constructor(){super(),this.isDynamicMode&&(this.attachShadow({mode:"open"}),[N,I].forEach(t=>{this.shadowRoot.appendChild(t.content.cloneNode(!0))}),this.wrapper=this.shadowRoot.querySelector(".wrapper"),this.disabledSlots=[],this.currentLayout={},this.columnNavigationState=!1,this.handlers={onChangeNavigation:a.bind(this,this.onChangeNavigation),onLogoClick:a.bind(this,t=>t.preventDefault())},this.navigationResizeObserver=new o.a(this.handlers.onChangeNavigation),this.setDisabledSlots(),this.setLayout(),M(this)),this.isStaticMode&&(this.handlers={onLogoClick:a.bind(this,t=>t.preventDefault())}),this.addCopyright()}get mode(){return this.getAttribute(g)||k}get isDynamicMode(){return this.mode===k}get isStaticMode(){return this.mode===T}get rootElement(){return this.isDynamicMode?this.shadowRoot:this}get logoLinkElement(){let t;if(this.isDynamicMode)t=this.shadowRoot.querySelector("a.logo-wrapper");else{const n=this.rootElement.querySelector(`[slot='${u.BUSINESS_LOGO}'], [slot='${u.SITE_NAME}']`);t=n?n.closest("a"):null}return t}connectedCallback(){this.isDynamicMode&&window.ShadyCSS&&window.ShadyCSS.styleElement(this),this.isStaticMode&&p(this.logoLinkElement),this.addLogoLinkEventListener()}disconnectedCallback(){this.removeLogoLinkEventListener()}getLayout(){let t=O.filter(t=>t.disabledSlots.every(t=>this.disabledSlots.includes(t)));return this.columnNavigationState&&(t=t.filter(t=>this.isLayoutWithColumnNavigation(t)),this.columnNavigationState=!1),t.pop()}setDisabledSlots(){const t=Object.values(u),n=[...this.querySelectorAll("[slot]")].map(t=>t.slot),e=t.filter(t=>!n.includes(t));this.disabledSlots.push(...e)}setLayout(t){const n=t?D.getLayout(t):this.getLayout();n&&this.currentLayout.name!==n.name&&(this.removeNavigationEventListener(),this.currentLayout=n,this.setAttribute("layout",n.name),this.wrapper.innerHTML="",this.wrapper.appendChild(n.template.content.cloneNode(!0)),this.triggerSlotVisibility(),this.addNavigationEventListener(),p(this.logoLinkElement))}addCopyright(){const t=this.querySelector(m);t&&t.prepend(D.createCopyrightYear())}triggerSlotVisibility(){this.shadowRoot.querySelectorAll("slot").forEach(t=>{this.disabledSlots.includes(t.name)?t.setAttribute("hidden",""):t.removeAttribute("hidden")});this.shadowRoot.querySelectorAll(".logo-wrapper, .footer-info").forEach(t=>{[...t.querySelectorAll("slot")].every(t=>t.hidden)?t.setAttribute("hidden",""):t.removeAttribute("hidden")})}isNavigationCanMutate(){return Object.prototype.hasOwnProperty.call(this.currentLayout,"navigationCanMutate")&&this.currentLayout.navigationCanMutate}isLayoutWithColumnNavigation(t=this.currentLayout){return Object.prototype.hasOwnProperty.call(t,"columnNavigation")&&t.columnNavigation}isColumnNavigation(){const t=this.querySelector(`[slot="${u.NAVIGATION}"]`),[n,e]=t.querySelectorAll("li:first-child, li:last-child"),{top:o}=n.getBoundingClientRect(),{top:a}=e.getBoundingClientRect();return o!==a}onChangeSlot(t){t&&(t.addedNodes.forEach(t=>{const n=this.disabledSlots.indexOf(t.slot);this.disabledSlots.includes(t.slot)&&this.disabledSlots.splice(n,1)}),t.removedNodes.forEach(t=>{Object.values(u).includes(t.slot)&&this.disabledSlots.push(t.slot)}),this.setLayout(),this.triggerSlotVisibility())}onChangeNavigation(t){!t[0].target.hidden&&window.matchMedia(`(min-width: ${l.get("lg")}px)`).matches&&this.isColumnNavigation()&&(this.columnNavigationState=!0,this.setLayout())}addNavigationEventListener(){if(this.isNavigationCanMutate()){const t=this.shadowRoot.querySelector(`[name="${u.NAVIGATION}"]`);this.navigationResizeObserver.observe(t)}}removeNavigationEventListener(){if(this.isNavigationCanMutate()){const t=this.shadowRoot.querySelector(`[name="${u.NAVIGATION}"]`);this.navigationResizeObserver.unobserve(t)}}addLogoLinkEventListener(){this.logoLinkElement&&i()&&this.addEventListener("click",this.handlers.onLogoClick)}removeLogoLinkEventListener(){this.logoLinkElement&&i()&&this.removeEventListener("click",this.handlers.onLogoClick)}}customElements.define("ws-footer",D)}});;!function(e){var t={};function n(i){if(t[i])return t[i].exports;var s=t[i]={i:i,l:!1,exports:{}};return e[i].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(i,s,function(t){return e[t]}.bind(null,s));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=40)}({40:function(e,t,n){e.exports=n(60)},60:function(e,t,n){"use strict";n.r(t);var i={LANG_CODE_ATTRIBUTE:"data-lang-code",LANG_TITLE_ATTRIBUTE:"data-lang-title",MAIN_LANG_ATTRIBUTE:"data-main-lang",PAGE_LOCALE_ATTRIBUTE:"data-locale",HIDDEN_ATTRIBUTE:"hidden",LANGUAGE_SELECTOR_VISIBILITY_ATTRIBUTE:"data-ws-language-selector-visibility",LISTBOX_CLASS:"ws-language-listbox",LISTBOX_BUTTON_CLASS:"ws-language-listbox-button",SELECT_CLASS:"ws-language-select",SELECT_LABEL_CLASS:"ws-language-select-label",ORIENTATION_TOP:"top",ORIENTATION_BOTTOM:"bottom"};const s=document.createElement("template");s.innerHTML=`\n  <style>\n    :host {\n      display: flex;\n      position: relative;\n    }\n\n    ::slotted(svg) {\n      width: 0;\n      height: 0;\n    }\n\n    ::slotted(.${i.LISTBOX_BUTTON_CLASS}) {\n      outline: none;\n    }\n\n    ::slotted(.${i.LISTBOX_CLASS}) {\n      margin: 0;\n      list-style: none;\n    }\n\n    ::slotted(.${i.LISTBOX_CLASS}[hidden]) {\n      display: none;\n    }\n\n    ::slotted(.${i.SELECT_CLASS}) {\n      position: absolute;\n      top: 0;\n      left: 0;\n      width: 0;\n      height: 100%;\n      padding: 0 0 0 100%;\n      background: none;\n      border: none;\n      -moz-appearance: none;\n      -webkit-appearance: none;\n      appearance: none;\n      outline: none;\n      z-index: 1;\n    }\n  </style>\n  <slot></slot>\n`;var a=function(e,t){e.call(this,t)};var o=function(){try{return Boolean(window.parent.ws)}catch(e){return!1}};var l=function(e){if(o())return window.parent.ws.siteLocales.accessors.getCurrentLocale();const t=document.documentElement,n=t.getAttribute(i.PAGE_LOCALE_ATTRIBUTE);return t.hasAttribute(i.PAGE_LOCALE_ATTRIBUTE)?n:e};var r=function(e,t=""){return`\n    <svg\n      class="ws-language-flag ${t}"\n      width="24"\n      height="24"\n      fill="none"\n    >\n      <use xlink:href="#flag-${e}" />\n    </svg>\n  `};var c=function(e,t,n){const s=document.createElement("template"),{title:a,code:o}=t,l=r(o);return s.innerHTML=`\n    <button\n      class="${i.LISTBOX_BUTTON_CLASS}"\n      aria-haspopup="true"\n      lang="${o}"\n      aria-label="${a}"\n      data-template="listbox"\n    >${l}</button>\n    <ul\n      class="${i.LISTBOX_CLASS}"\n      role="listbox"\n      data-template="listbox"\n      hidden\n    >\n      ${e.reduce((e,t)=>{const{title:s,code:a}=t,l=r(a);return`\n          ${e}\n          <li class="${i.LISTBOX_CLASS}__item" role="option">\n            <a\n              href="${a===n?"/":"/"+a}"\n              lang="${a}"\n              class="${i.LISTBOX_CLASS}__link"\n              hreflang="${a}"\n              ${a===o?'aria-selected="true"':""}\n            >${l}${s}</a>\n          </li>\n        `},"")}\n    </ul>\n  `,s};var d=function(e,t,n){const s=document.createElement("template"),{title:a,code:l}=t,c=r(l,i.SELECT_LABEL_CLASS+"__flag"),d=o()?'disabled="true"':"";return s.innerHTML=`\n    <label\n      class="${i.SELECT_LABEL_CLASS}"\n      aria-label="${a}"\n      for="ws-language-select"\n      data-template="select"\n    >\n      <span hidden>${a}</span>\n      ${c}\n    </label>\n    <select\n      id="ws-language-select"\n      class="${i.SELECT_CLASS}"\n      data-template="select"\n      ${d}\n    >\n      ${e.reduce((e,t)=>{const{title:i,code:s}=t;return`\n          ${e}\n          <option\n            value="${s===n?"/":"/"+s}"\n            ${s===l?"selected":""}\n          >${i}</option>\n        `},"")}\n    </select>\n  `,s};const{ORIENTATION_TOP:h,ORIENTATION_BOTTOM:u}=i;var L=function(e){const t=document.querySelector(".page-container");if(t&&e){const n=t.getBoundingClientRect(),i=e.getBoundingClientRect();let s=u;i.bottom>n.bottom&&i.height<(window.innerHeight||document.documentElement.clientHeight)&&(s=h),e.setAttribute("data-orientation",s)}};var g=function(e,t){o()&&e?e.ready?t():e.addEventListener("ready",t,{once:!0}):t()};const T=window.matchMedia("(min-width: 1200px)");window.ShadyCSS&&window.ShadyCSS.prepareTemplate(s,"ws-language-selector");class b extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(s.content.cloneNode(!0)),this.handlers={onChangeTemplate:a.bind(this,this.changeTemplate),onListboxToggle:a.bind(this,this.onListboxToggle),onListboxClickOutside:a.bind(this,this.onListboxClickOutside),onListboxClick:a.bind(this,e=>e.preventDefault()),onSelectChange:a.bind(this,e=>{window.location.assign(e.target.value)})}}connectedCallback(){this.changeVisibilityAttribute(this.hidden),this.hidden||(this.isListboxOriented=!1,window.ShadyCSS&&window.ShadyCSS.styleElement(this),this.setLanguageData(),this.changeTemplate(),T.addListener(this.handlers.onChangeTemplate),this.connected=!0)}disconnectedCallback(){this.connected&&(T.removeListener(this.handlers.onChangeTemplate),this.removeTemplateListeners())}setLanguageData(){this.mainLanguage=this.getAttribute(i.MAIN_LANG_ATTRIBUTE);const e=l(this.mainLanguage),t=this.querySelectorAll("symbol");this.languages=[...t].map(t=>{const n=t.getAttribute(i.LANG_CODE_ATTRIBUTE),s=t.getAttribute(i.LANG_TITLE_ATTRIBUTE);return n===e&&(this.currentLanguage={code:n,title:s}),{code:n,title:s}})}changeTemplate(e=T){const t=this.querySelectorAll("[data-template]");let n;t&&(this.removeTemplateListeners(),[...t].forEach(e=>e.remove())),e.matches?(this.template="listbox",n=c(this.languages,this.currentLanguage,this.mainLanguage)):(this.template="select",n=d(this.languages,this.currentLanguage,this.mainLanguage)),this.appendChild(n.content),this.addTemplateListeners()}addTemplateListeners(){"listbox"===this.template?(this.listboxButton=this.querySelector("."+i.LISTBOX_BUTTON_CLASS),this.listbox=this.querySelector("."+i.LISTBOX_CLASS),this.listboxButton.addEventListener("click",this.handlers.onListboxToggle),document.addEventListener("click",this.handlers.onListboxClickOutside),o()&&this.listbox.addEventListener("click",this.handlers.onListboxClick)):"select"===this.template&&(this.select=this.querySelector("."+i.SELECT_CLASS),o()||this.select.addEventListener("change",this.handlers.onSelectChange))}removeTemplateListeners(){"listbox"===this.template?(this.listboxButton.removeEventListener("click",this.handlers.onListboxToggle),document.removeEventListener("click",this.handlers.onListboxClickOutside),o()&&this.listbox.removeEventListener("click",this.handlers.onListboxClick)):"select"===this.template&&(o()||this.select.removeEventListener("change",this.handlers.onSelectChange))}onListboxToggle(){this.listboxExpanded?(this.listbox.setAttribute("hidden",""),this.listboxButton.removeAttribute("aria-expanded"),this.listboxExpanded=!1):(this.listbox.removeAttribute("hidden"),this.listboxButton.setAttribute("aria-expanded","true"),this.listboxExpanded=!0,this.isListboxOriented&&!o()||(L(this.listbox),this.isListboxOriented=!0))}onListboxClickOutside(e){!this.contains(e.target)&&this.listboxExpanded&&this.onListboxToggle()}changeVisibilityAttribute(e){const t=this.closest("ws-block");t&&g(t,()=>{const n=e?"hidden":"visible";t.firstElementChild.setAttribute(i.LANGUAGE_SELECTOR_VISIBILITY_ATTRIBUTE,n)})}}customElements.define("ws-language-selector",b)}});;!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t){!function(e,t){for(var n in t)e[n]=t[n]}(t,function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=90)}({17:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(18),i=function(){function e(){}return e.getFirstMatch=function(e,t){var n=t.match(e);return n&&n.length>0&&n[1]||""},e.getSecondMatch=function(e,t){var n=t.match(e);return n&&n.length>1&&n[2]||""},e.matchAndReturnConst=function(e,t,n){if(e.test(t))return n},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,n,r){void 0===r&&(r=!1);var i=e.getVersionPrecision(t),o=e.getVersionPrecision(n),a=Math.max(i,o),s=0,l=e.map([t,n],(function(t){var n=a-e.getVersionPrecision(t),r=t+new Array(n+1).join(".0");return e.map(r.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(r&&(s=a-Math.min(i,o)),a-=1;a>=s;){if(l[0][a]>l[1][a])return 1;if(l[0][a]===l[1][a]){if(a===s)return 0;a-=1}else if(l[0][a]<l[1][a])return-1}},e.map=function(e,t){var n,r=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(n=0;n<e.length;n+=1)r.push(t(e[n]));return r},e.getBrowserAlias=function(e){return r.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return r.BROWSER_MAP[e]||""},e}();t.default=i,e.exports=t.default},18:function(e,t,n){"use strict";t.__esModule=!0,t.ENGINE_MAP=t.OS_MAP=t.PLATFORMS_MAP=t.BROWSER_MAP=t.BROWSER_ALIASES_MAP=void 0,t.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},t.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},t.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},t.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},t.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(91))&&r.__esModule?r:{default:r},o=n(18);var a=function(){function e(){}var t;return e.getParser=function(e,t){if(void 0===t&&(t=!1),"string"!=typeof e)throw new Error("UserAgent should be a string");return new i.default(e,t)},e.parse=function(e){return new i.default(e).getResult()},(t=[{key:"BROWSER_MAP",get:function(){return o.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return o.ENGINE_MAP}},{key:"OS_MAP",get:function(){return o.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return o.PLATFORMS_MAP}}])&&function(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,r.key,r)}}(e,t),e}();t.default=a,e.exports=t.default},91:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=l(n(92)),i=l(n(93)),o=l(n(94)),a=l(n(95)),s=l(n(17));function l(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(e,t){if(void 0===t&&(t=!1),null==e||""===e)throw new Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==t&&this.parse()}var t=e.prototype;return t.getUA=function(){return this._ua},t.test=function(e){return e.test(this._ua)},t.parseBrowser=function(){var e=this;this.parsedResult.browser={};var t=r.default.find((function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var e=this;this.parsedResult.os={};var t=i.default.find((function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(e){void 0===e&&(e=!1);var t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""},t.parsePlatform=function(){var e=this;this.parsedResult.platform={};var t=o.default.find((function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var e=this;this.parsedResult.engine={};var t=a.default.find((function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return Object.assign({},this.parsedResult)},t.satisfies=function(e){var t=this,n={},r=0,i={},o=0;if(Object.keys(e).forEach((function(t){var a=e[t];"string"==typeof a?(i[t]=a,o+=1):"object"==typeof a&&(n[t]=a,r+=1)})),r>0){var a=Object.keys(n),s=a.find((function(e){return t.isOS(e)}));if(s){var l=this.satisfies(n[s]);if(void 0!==l)return l}var u=a.find((function(e){return t.isPlatform(e)}));if(u){var c=this.satisfies(n[u]);if(void 0!==c)return c}}if(o>0){var d=Object.keys(i).find((function(e){return t.isBrowser(e,!0)}));if(void 0!==d)return this.compareVersion(i[d])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var n=this.getBrowserName().toLowerCase(),r=e.toLowerCase(),i=s.default.getBrowserTypeByAlias(r);return t&&i&&(r=i.toLowerCase()),r===n},t.compareVersion=function(e){var t=[0],n=e,r=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===e[0]||"<"===e[0]?(n=e.substr(1),"="===e[1]?(r=!0,n=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?n=e.substr(1):"~"===e[0]&&(r=!0,n=e.substr(1)),t.indexOf(s.default.compareVersions(i,n,r))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e){return this.isBrowser(e)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=u,e.exports=t.default},92:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=/version\/(\d+(\.?_?\d+)+)/i,a=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},n=i.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},n=i.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},n=i.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},n=i.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},n=i.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},n=i.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},n=i.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},n=i.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},n=i.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},n=i.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},n=i.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},n=i.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},n=i.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},n=i.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},n=i.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},n=i.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},n=i.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},n=i.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},n=i.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},n=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},n=i.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},n=i.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},n=i.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t={name:"Android Browser"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:i.default.getFirstMatch(t,e),version:i.default.getSecondMatch(t,e)}}}];t.default=a,e.exports=t.default},93:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:[/Roku\/DVP/],describe:function(e){var t=i.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:o.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=i.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.WindowsPhone,version:t}}},{test:[/windows/i],describe:function(e){var t=i.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=i.default.getWindowsVersionName(t);return{name:o.OS_MAP.Windows,version:t,versionName:n}}},{test:[/macintosh/i],describe:function(e){var t=i.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=i.default.getMacOSVersionName(t),r={name:o.OS_MAP.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=i.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t=i.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=i.default.getAndroidVersionName(t),r={name:o.OS_MAP.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=i.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:o.OS_MAP.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=i.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||i.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||i.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:o.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=i.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=i.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=i.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.PlayStation4,version:t}}}];t.default=a,e.exports=t.default},94:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=i.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe:function(e){var t=i.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];t.default=a,e.exports=t.default},95:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:o.ENGINE_MAP.Blink};var t=i.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:o.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:o.ENGINE_MAP.Trident},n=i.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:o.ENGINE_MAP.Presto},n=i.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe:function(e){var t={name:o.ENGINE_MAP.Gecko},n=i.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:o.ENGINE_MAP.WebKit},n=i.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];t.default=a,e.exports=t.default}})},function(e,t,n){e.exports=n(2)},function(e,t,n){"use strict";n.r(t);var r=n(0),i=e=>"Chrome"===e.getBrowserName(),o=e=>"Chromium"===e.getBrowserName(),a=e=>"Microsoft Edge"===e.getBrowserName(),s=e=>"Firefox"===e.getBrowserName(),l=e=>"Internet Explorer"===e.getBrowserName(),u=e=>"Opera"===e.getBrowserName(),c=e=>"Safari"===e.getBrowserName(),d=e=>"macOS"===e.getOSName(),f=e=>"Android"===e.getOSName(),p=e=>"iOS"===e.getOSName(),m=e=>d(e)&&window.navigator.maxTouchPoints>1,h=e=>"Linux"===e.getOSName(),v=d,g=e=>"Windows"===e.getOSName(),w=e=>"Chrome OS"===e.getOSName(),b=e=>"mobile"===e.getPlatformType(),y=e=>"tablet"===e.getPlatformType(),x=e=>"desktop"===e.getPlatformType(),_=e=>e.getOSVersion(),M=(e,t)=>e.satisfies(t);const S=n.n(r).a.getParser(window.navigator.userAgent||"");t.default={chrome:i(S),chromium:o(S),edge:a(S),firefox:s(S),ie:l(S),opera:u(S),safari:c(S),android:f(S),ios:p(S),iPadOS:m(S),linux:h(S),macOS:v(S)&&!m(S),windows:g(S),chromeOS:w(S),mobile:b(S),tablet:y(S)||m(S),desktop:x(S)&&!m(S),version:_(S),isSatisfied:e=>M(S,e)}}]).default)},function(e,t,n){var r,i;
/*! PhotoSwipe - v4.1.3 - 2019-01-08
* http://photoswipe.com
* Copyright (c) 2019 Dmitry Semenov; */void 0===(i="function"==typeof(r=function(){"use strict";return function(e,t,n,r){var i={features:null,bind:function(e,t,n,r){var i=(r?"remove":"add")+"EventListener";t=t.split(" ");for(var o=0;o<t.length;o++)t[o]&&e[i](t[o],n,!1)},isArray:function(e){return e instanceof Array},createEl:function(e,t){var n=document.createElement(t||"div");return e&&(n.className=e),n},getScrollY:function(){var e=window.pageYOffset;return void 0!==e?e:document.documentElement.scrollTop},unbind:function(e,t,n){i.bind(e,t,n,!0)},removeClass:function(e,t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(e,t){i.hasClass(e,t)||(e.className+=(e.className?" ":"")+t)},hasClass:function(e,t){return e.className&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},getChildByClass:function(e,t){for(var n=e.firstChild;n;){if(i.hasClass(n,t))return n;n=n.nextSibling}},arraySearch:function(e,t,n){for(var r=e.length;r--;)if(e[r][n]===t)return r;return-1},extend:function(e,t,n){for(var r in t)if(t.hasOwnProperty(r)){if(n&&e.hasOwnProperty(r))continue;e[r]=t[r]}},easing:{sine:{out:function(e){return Math.sin(e*(Math.PI/2))},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{out:function(e){return--e*e*e+1}}},detectFeatures:function(){if(i.features)return i.features;var e=i.createEl().style,t="",n={};if(n.oldIE=document.all&&!document.addEventListener,n.touch="ontouchstart"in window,window.requestAnimationFrame&&(n.raf=window.requestAnimationFrame,n.caf=window.cancelAnimationFrame),n.pointerEvent=!!window.PointerEvent||navigator.msPointerEnabled,!n.pointerEvent){var r=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var o=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);o&&o.length>0&&(o=parseInt(o[1],10))>=1&&o<8&&(n.isOldIOSPhone=!0)}var a=r.match(/Android\s([0-9\.]*)/),s=a?a[1]:0;(s=parseFloat(s))>=1&&(s<4.4&&(n.isOldAndroid=!0),n.androidVersion=s),n.isMobileOpera=/opera mini|opera mobi/i.test(r)}for(var l,u,c=["transform","perspective","animationName"],d=["","webkit","Moz","ms","O"],f=0;f<4;f++){t=d[f];for(var p=0;p<3;p++)l=c[p],u=t+(t?l.charAt(0).toUpperCase()+l.slice(1):l),!n[l]&&u in e&&(n[l]=u);t&&!n.raf&&(t=t.toLowerCase(),n.raf=window[t+"RequestAnimationFrame"],n.raf&&(n.caf=window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"]))}if(!n.raf){var m=0;n.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-m)),r=window.setTimeout((function(){e(t+n)}),n);return m=t+n,r},n.caf=function(e){clearTimeout(e)}}return n.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,i.features=n,n}};i.detectFeatures(),i.features.oldIE&&(i.bind=function(e,t,n,r){t=t.split(" ");for(var i,o=(r?"detach":"attach")+"Event",a=function(){n.handleEvent.call(n)},s=0;s<t.length;s++)if(i=t[s])if("object"==typeof n&&n.handleEvent){if(r){if(!n["oldIE"+i])return!1}else n["oldIE"+i]=a;e[o]("on"+i,n["oldIE"+i])}else e[o]("on"+i,n)});var o=this,a={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(e){return"A"===e.tagName},getDoubleTapZoom:function(e,t){return e||t.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};i.extend(a,r);var s,l,u,c,d,f,p,m,h,v,g,w,b,y,x,_,M,S,A,O,E,T,P,F,C,I,k,L,R,B,N,D,z,Z,W,q,G,j,V,U,K,H,Y,X,Q,$,J,ee,te,ne,re,ie,oe,ae,se,le,ue={x:0,y:0},ce={x:0,y:0},de={x:0,y:0},fe={},pe=0,me={},he={x:0,y:0},ve=0,ge=!0,we=[],be={},ye=!1,xe=function(e,t){i.extend(o,t.publicMethods),we.push(e)},_e=function(e){var t=Wt();return e>t-1?e-t:e<0?t+e:e},Me={},Se=function(e,t){return Me[e]||(Me[e]=[]),Me[e].push(t)},Ae=function(e){var t=Me[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var r=0;r<t.length;r++)t[r].apply(o,n)}},Oe=function(){return(new Date).getTime()},Ee=function(e){ae=e,o.bg.style.opacity=e*a.bgOpacity},Te=function(e,t,n,r,i){(!ye||i&&i!==o.currItem)&&(r/=i?i.fitRatio:o.currItem.fitRatio),e[T]=w+t+"px, "+n+"px"+b+" scale("+r+")"},Pe=function(e){te&&(e&&(v>o.currItem.fitRatio?ye||(Xt(o.currItem,!1,!0),ye=!0):ye&&(Xt(o.currItem),ye=!1)),Te(te,de.x,de.y,v))},Fe=function(e){e.container&&Te(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Ce=function(e,t){t[T]=w+e+"px, 0px"+b},Ie=function(e,t){if(!a.loop&&t){var n=c+(he.x*pe-e)/he.x,r=Math.round(e-ct.x);(n<0&&r>0||n>=Wt()-1&&r<0)&&(e=ct.x+r*a.mainScrollEndFriction)}ct.x=e,Ce(e,d)},ke=function(e,t){var n=dt[e]-me[e];return ce[e]+ue[e]+n-n*(t/g)},Le=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},Re=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},Be=null,Ne=function(){Be&&(i.unbind(document,"mousemove",Ne),i.addClass(e,"pswp--has_mouse"),a.mouseUsed=!0,Ae("mouseUsed")),Be=setTimeout((function(){Be=null}),100)},De=function(e,t){var n=Ut(o.currItem,fe,e);return t&&(ee=n),n},ze=function(e){return e||(e=o.currItem),e.initialZoomLevel},Ze=function(e){return e||(e=o.currItem),e.w>0?a.maxSpreadZoom:1},We=function(e,t,n,r){return r===o.currItem.initialZoomLevel?(n[e]=o.currItem.initialPosition[e],!0):(n[e]=ke(e,r),n[e]>t.min[e]?(n[e]=t.min[e],!0):n[e]<t.max[e]&&(n[e]=t.max[e],!0))},qe=function(e){var t="";a.escKey&&27===e.keyCode?t="close":a.arrowKeys&&(37===e.keyCode?t="prev":39===e.keyCode&&(t="next")),t&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||(e.preventDefault?e.preventDefault():e.returnValue=!1,o[t]()))},Ge=function(e){e&&(H||K||ne||G)&&(e.preventDefault(),e.stopPropagation())},je=function(){o.setScrollOffset(0,i.getScrollY())},Ve={},Ue=0,Ke=function(e){Ve[e]&&(Ve[e].raf&&I(Ve[e].raf),Ue--,delete Ve[e])},He=function(e){Ve[e]&&Ke(e),Ve[e]||(Ue++,Ve[e]={})},Ye=function(){for(var e in Ve)Ve.hasOwnProperty(e)&&Ke(e)},Xe=function(e,t,n,r,i,o,a){var s,l=Oe();He(e);var u=function(){if(Ve[e]){if((s=Oe()-l)>=r)return Ke(e),o(n),void(a&&a());o((n-t)*i(s/r)+t),Ve[e].raf=C(u)}};u()},Qe={shout:Ae,listen:Se,viewportSize:fe,options:a,isMainScrollAnimating:function(){return ne},getZoomLevel:function(){return v},getCurrentIndex:function(){return c},isDragging:function(){return V},isZooming:function(){return $},setScrollOffset:function(e,t){me.x=e,B=me.y=t,Ae("updateScrollOffset",me)},applyZoomPan:function(e,t,n,r){de.x=t,de.y=n,v=e,Pe(r)},init:function(){if(!s&&!l){var n;o.framework=i,o.template=e,o.bg=i.getChildByClass(e,"pswp__bg"),k=e.className,s=!0,N=i.detectFeatures(),C=N.raf,I=N.caf,T=N.transform,R=N.oldIE,o.scrollWrap=i.getChildByClass(e,"pswp__scroll-wrap"),o.container=i.getChildByClass(o.scrollWrap,"pswp__container"),d=o.container.style,o.itemHolders=_=[{el:o.container.children[0],wrap:0,index:-1},{el:o.container.children[1],wrap:0,index:-1},{el:o.container.children[2],wrap:0,index:-1}],_[0].el.style.display=_[2].el.style.display="none",function(){if(T){var t=N.perspective&&!F;return w="translate"+(t?"3d(":"("),void(b=N.perspective?", 0px)":")")}T="left",i.addClass(e,"pswp--ie"),Ce=function(e,t){t.left=e+"px"},Fe=function(e){var t=e.fitRatio>1?1:e.fitRatio,n=e.container.style,r=t*e.w,i=t*e.h;n.width=r+"px",n.height=i+"px",n.left=e.initialPosition.x+"px",n.top=e.initialPosition.y+"px"},Pe=function(){if(te){var e=te,t=o.currItem,n=t.fitRatio>1?1:t.fitRatio,r=n*t.w,i=n*t.h;e.width=r+"px",e.height=i+"px",e.left=de.x+"px",e.top=de.y+"px"}}}(),h={resize:o.updateSize,orientationchange:function(){clearTimeout(D),D=setTimeout((function(){fe.x!==o.scrollWrap.clientWidth&&o.updateSize()}),500)},scroll:je,keydown:qe,click:Ge};var r=N.isOldIOSPhone||N.isOldAndroid||N.isMobileOpera;for(N.animationName&&N.transform&&!r||(a.showAnimationDuration=a.hideAnimationDuration=0),n=0;n<we.length;n++)o["init"+we[n]]();t&&(o.ui=new t(o,i)).init(),Ae("firstUpdate"),c=c||a.index||0,(isNaN(c)||c<0||c>=Wt())&&(c=0),o.currItem=Zt(c),(N.isOldIOSPhone||N.isOldAndroid)&&(ge=!1),e.setAttribute("aria-hidden","false"),a.modal&&(ge?e.style.position="fixed":(e.style.position="absolute",e.style.top=i.getScrollY()+"px")),void 0===B&&(Ae("initialLayout"),B=L=i.getScrollY());var u="pswp--open ";for(a.mainClass&&(u+=a.mainClass+" "),a.showHideOpacity&&(u+="pswp--animate_opacity "),u+=F?"pswp--touch":"pswp--notouch",u+=N.animationName?" pswp--css_animation":"",u+=N.svg?" pswp--svg":"",i.addClass(e,u),o.updateSize(),f=-1,ve=null,n=0;n<3;n++)Ce((n+f)*he.x,_[n].el.style);R||i.bind(o.scrollWrap,m,o),Se("initialZoomInEnd",(function(){o.setContent(_[0],c-1),o.setContent(_[2],c+1),_[0].el.style.display=_[2].el.style.display="block",a.focus&&e.focus(),i.bind(document,"keydown",o),N.transform&&i.bind(o.scrollWrap,"click",o),a.mouseUsed||i.bind(document,"mousemove",Ne),i.bind(window,"resize scroll orientationchange",o),Ae("bindEvents")})),o.setContent(_[1],c),o.updateCurrItem(),Ae("afterInit"),ge||(y=setInterval((function(){Ue||V||$||v!==o.currItem.initialZoomLevel||o.updateSize()}),1e3)),i.addClass(e,"pswp--visible")}},close:function(){s&&(s=!1,l=!0,Ae("close"),i.unbind(window,"resize scroll orientationchange",o),i.unbind(window,"scroll",h.scroll),i.unbind(document,"keydown",o),i.unbind(document,"mousemove",Ne),N.transform&&i.unbind(o.scrollWrap,"click",o),V&&i.unbind(window,p,o),clearTimeout(D),Ae("unbindEvents"),qt(o.currItem,null,!0,o.destroy))},destroy:function(){Ae("destroy"),Bt&&clearTimeout(Bt),e.setAttribute("aria-hidden","true"),e.className=k,y&&clearInterval(y),i.unbind(o.scrollWrap,m,o),i.unbind(window,"scroll",o),mt(),Ye(),Me=null},panTo:function(e,t,n){n||(e>ee.min.x?e=ee.min.x:e<ee.max.x&&(e=ee.max.x),t>ee.min.y?t=ee.min.y:t<ee.max.y&&(t=ee.max.y)),de.x=e,de.y=t,Pe()},handleEvent:function(e){e=e||window.event,h[e.type]&&h[e.type](e)},goTo:function(e){var t=(e=_e(e))-c;ve=t,c=e,o.currItem=Zt(c),pe-=t,Ie(he.x*pe),Ye(),ne=!1,o.updateCurrItem()},next:function(){o.goTo(c+1)},prev:function(){o.goTo(c-1)},updateCurrZoomItem:function(e){if(e&&Ae("beforeChange",0),_[1].el.children.length){var t=_[1].el.children[0];te=i.hasClass(t,"pswp__zoom-wrap")?t.style:null}else te=null;ee=o.currItem.bounds,g=v=o.currItem.initialZoomLevel,de.x=ee.center.x,de.y=ee.center.y,e&&Ae("afterChange")},invalidateCurrItems:function(){x=!0;for(var e=0;e<3;e++)_[e].item&&(_[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==ve){var t,n=Math.abs(ve);if(!(e&&n<2)){o.currItem=Zt(c),ye=!1,Ae("beforeChange",ve),n>=3&&(f+=ve+(ve>0?-3:3),n=3);for(var r=0;r<n;r++)ve>0?(t=_.shift(),_[2]=t,f++,Ce((f+2)*he.x,t.el.style),o.setContent(t,c-n+r+1+1)):(t=_.pop(),_.unshift(t),f--,Ce(f*he.x,t.el.style),o.setContent(t,c+n-r-1-1));if(te&&1===Math.abs(ve)){var i=Zt(M);i.initialZoomLevel!==v&&(Ut(i,fe),Xt(i),Fe(i))}ve=0,o.updateCurrZoomItem(),M=c,Ae("afterChange")}}},updateSize:function(t){if(!ge&&a.modal){var n=i.getScrollY();if(B!==n&&(e.style.top=n+"px",B=n),!t&&be.x===window.innerWidth&&be.y===window.innerHeight)return;be.x=window.innerWidth,be.y=window.innerHeight,e.style.height=be.y+"px"}if(fe.x=o.scrollWrap.clientWidth,fe.y=o.scrollWrap.clientHeight,je(),he.x=fe.x+Math.round(fe.x*a.spacing),he.y=fe.y,Ie(he.x*pe),Ae("beforeResize"),void 0!==f){for(var r,s,l,u=0;u<3;u++)r=_[u],Ce((u+f)*he.x,r.el.style),l=c+u-1,a.loop&&Wt()>2&&(l=_e(l)),(s=Zt(l))&&(x||s.needsUpdate||!s.bounds)?(o.cleanSlide(s),o.setContent(r,l),1===u&&(o.currItem=s,o.updateCurrZoomItem(!0)),s.needsUpdate=!1):-1===r.index&&l>=0&&o.setContent(r,l),s&&s.container&&(Ut(s,fe),Xt(s),Fe(s));x=!1}g=v=o.currItem.initialZoomLevel,(ee=o.currItem.bounds)&&(de.x=ee.center.x,de.y=ee.center.y,Pe(!0)),Ae("resize")},zoomTo:function(e,t,n,r,o){t&&(g=v,dt.x=Math.abs(t.x)-de.x,dt.y=Math.abs(t.y)-de.y,Le(ce,de));var a=De(e,!1),s={};We("x",a,s,e),We("y",a,s,e);var l=v,u=de.x,c=de.y;Re(s);var d=function(t){1===t?(v=e,de.x=s.x,de.y=s.y):(v=(e-l)*t+l,de.x=(s.x-u)*t+u,de.y=(s.y-c)*t+c),o&&o(t),Pe(1===t)};n?Xe("customZoomTo",0,1,n,r||i.easing.sine.inOut,d):d(1)}},$e={},Je={},et={},tt={},nt={},rt=[],it={},ot=[],at={},st=0,lt={x:0,y:0},ut=0,ct={x:0,y:0},dt={x:0,y:0},ft={x:0,y:0},pt=function(e,t){return at.x=Math.abs(e.x-t.x),at.y=Math.abs(e.y-t.y),Math.sqrt(at.x*at.x+at.y*at.y)},mt=function(){Y&&(I(Y),Y=null)},ht=function(){V&&(Y=C(ht),Pt())},vt=function(e,t){return!(!e||e===document)&&!(e.getAttribute("class")&&e.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(t(e)?e:vt(e.parentNode,t))},gt={},wt=function(e,t){return gt.prevent=!vt(e.target,a.isClickableElement),Ae("preventDragEvent",e,t,gt),gt.prevent},bt=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},yt=function(e,t,n){n.x=.5*(e.x+t.x),n.y=.5*(e.y+t.y)},xt=function(){var e=de.y-o.currItem.initialPosition.y;return 1-Math.abs(e/(fe.y/2))},_t={},Mt={},St=[],At=function(e){for(;St.length>0;)St.pop();return P?(le=0,rt.forEach((function(e){0===le?St[0]=e:1===le&&(St[1]=e),le++}))):e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&(St[0]=bt(e.touches[0],_t),e.touches.length>1&&(St[1]=bt(e.touches[1],Mt))):(_t.x=e.pageX,_t.y=e.pageY,_t.id="",St[0]=_t),St},Ot=function(e,t){var n,r,i,s,l=de[e]+t[e],u=t[e]>0,c=ct.x+t.x,d=ct.x-it.x;if(n=l>ee.min[e]||l<ee.max[e]?a.panEndFriction:1,l=de[e]+t[e]*n,(a.allowPanToNext||v===o.currItem.initialZoomLevel)&&(te?"h"!==re||"x"!==e||K||(u?(l>ee.min[e]&&(n=a.panEndFriction,ee.min[e],r=ee.min[e]-ce[e]),(r<=0||d<0)&&Wt()>1?(s=c,d<0&&c>it.x&&(s=it.x)):ee.min.x!==ee.max.x&&(i=l)):(l<ee.max[e]&&(n=a.panEndFriction,ee.max[e],r=ce[e]-ee.max[e]),(r<=0||d>0)&&Wt()>1?(s=c,d>0&&c<it.x&&(s=it.x)):ee.min.x!==ee.max.x&&(i=l))):s=c,"x"===e))return void 0!==s&&(Ie(s,!0),X=s!==it.x),ee.min.x!==ee.max.x&&(void 0!==i?de.x=i:X||(de.x+=t.x*n)),void 0!==s;ne||X||v>o.currItem.fitRatio&&(de[e]+=t[e]*n)},Et=function(e){if(!("mousedown"===e.type&&e.button>0))if(zt)e.preventDefault();else if(!j||"mousedown"!==e.type){if(wt(e,!0)&&e.preventDefault(),Ae("pointerDown"),P){var t=i.arraySearch(rt,e.pointerId,"id");t<0&&(t=rt.length),rt[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=At(e),r=n.length;Q=null,Ye(),V&&1!==r||(V=ie=!0,i.bind(window,p,o),q=se=oe=G=X=H=U=K=!1,re=null,Ae("firstTouchStart",n),Le(ce,de),ue.x=ue.y=0,Le(tt,n[0]),Le(nt,tt),it.x=he.x*pe,ot=[{x:tt.x,y:tt.y}],Z=z=Oe(),De(v,!0),mt(),ht()),!$&&r>1&&!ne&&!X&&(g=v,K=!1,$=U=!0,ue.y=ue.x=0,Le(ce,de),Le($e,n[0]),Le(Je,n[1]),yt($e,Je,ft),dt.x=Math.abs(ft.x)-de.x,dt.y=Math.abs(ft.y)-de.y,J=pt($e,Je))}},Tt=function(e){if(e.preventDefault(),P){var t=i.arraySearch(rt,e.pointerId,"id");if(t>-1){var n=rt[t];n.x=e.pageX,n.y=e.pageY}}if(V){var r=At(e);if(re||H||$)Q=r;else if(ct.x!==he.x*pe)re="h";else{var o=Math.abs(r[0].x-tt.x)-Math.abs(r[0].y-tt.y);Math.abs(o)>=10&&(re=o>0?"h":"v",Q=r)}}},Pt=function(){if(Q){var e=Q.length;if(0!==e)if(Le($e,Q[0]),et.x=$e.x-tt.x,et.y=$e.y-tt.y,$&&e>1){if(tt.x=$e.x,tt.y=$e.y,!et.x&&!et.y&&function(e,t){return e.x===t.x&&e.y===t.y}(Q[1],Je))return;Le(Je,Q[1]),K||(K=!0,Ae("zoomGestureStarted"));var t=pt($e,Je),n=Lt(t);n>o.currItem.initialZoomLevel+o.currItem.initialZoomLevel/15&&(se=!0);var r=1,i=ze(),s=Ze();if(n<i)if(a.pinchToClose&&!se&&g<=o.currItem.initialZoomLevel){var l=1-(i-n)/(i/1.2);Ee(l),Ae("onPinchClose",l),oe=!0}else(r=(i-n)/i)>1&&(r=1),n=i-r*(i/3);else n>s&&((r=(n-s)/(6*i))>1&&(r=1),n=s+r*i);r<0&&(r=0),yt($e,Je,lt),ue.x+=lt.x-ft.x,ue.y+=lt.y-ft.y,Le(ft,lt),de.x=ke("x",n),de.y=ke("y",n),q=n>v,v=n,Pe()}else{if(!re)return;if(ie&&(ie=!1,Math.abs(et.x)>=10&&(et.x-=Q[0].x-nt.x),Math.abs(et.y)>=10&&(et.y-=Q[0].y-nt.y)),tt.x=$e.x,tt.y=$e.y,0===et.x&&0===et.y)return;if("v"===re&&a.closeOnVerticalDrag&&"fit"===a.scaleMode&&v===o.currItem.initialZoomLevel){ue.y+=et.y,de.y+=et.y;var u=xt();return G=!0,Ae("onVerticalDrag",u),Ee(u),void Pe()}!function(e,t,n){if(e-Z>50){var r=ot.length>2?ot.shift():{};r.x=t,r.y=n,ot.push(r),Z=e}}(Oe(),$e.x,$e.y),H=!0,ee=o.currItem.bounds,Ot("x",et)||(Ot("y",et),Re(de),Pe())}}},Ft=function(e){if(N.isOldAndroid){if(j&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout(j),j=setTimeout((function(){j=0}),600))}var t;if(Ae("pointerUp"),wt(e,!1)&&e.preventDefault(),P){var n=i.arraySearch(rt,e.pointerId,"id");n>-1&&(t=rt.splice(n,1)[0],navigator.msPointerEnabled?(t.type={4:"mouse",2:"touch",3:"pen"}[e.pointerType],t.type||(t.type=e.pointerType||"mouse")):t.type=e.pointerType||"mouse")}var r,s=At(e),l=s.length;if("mouseup"===e.type&&(l=0),2===l)return Q=null,!0;1===l&&Le(nt,s[0]),0!==l||re||ne||(t||("mouseup"===e.type?t={x:e.pageX,y:e.pageY,type:"mouse"}:e.changedTouches&&e.changedTouches[0]&&(t={x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY,type:"touch"})),Ae("touchRelease",e,t));var u=-1;if(0===l&&(V=!1,i.unbind(window,p,o),mt(),$?u=0:-1!==ut&&(u=Oe()-ut)),ut=1===l?Oe():-1,r=-1!==u&&u<150?"zoom":"swipe",$&&l<2&&($=!1,1===l&&(r="zoomPointerUp"),Ae("zoomGestureEnded")),Q=null,H||K||ne||G)if(Ye(),W||(W=Ct()),W.calculateSwipeSpeed("x"),G)if(xt()<a.verticalDragRange)o.close();else{var c=de.y,d=ae;Xe("verticalDrag",0,1,300,i.easing.cubic.out,(function(e){de.y=(o.currItem.initialPosition.y-c)*e+c,Ee((1-d)*e+d),Pe()})),Ae("onVerticalDrag",1)}else{if((X||ne)&&0===l){if(kt(r,W))return;r="zoomPointerUp"}ne||("swipe"===r?!X&&v>o.currItem.fitRatio&&It(W):Rt())}},Ct=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(r){ot.length>1?(e=Oe()-Z+50,t=ot[ot.length-2][r]):(e=Oe()-z,t=nt[r]),n.lastFlickOffset[r]=tt[r]-t,n.lastFlickDist[r]=Math.abs(n.lastFlickOffset[r]),n.lastFlickDist[r]>20?n.lastFlickSpeed[r]=n.lastFlickOffset[r]/e:n.lastFlickSpeed[r]=0,Math.abs(n.lastFlickSpeed[r])<.1&&(n.lastFlickSpeed[r]=0),n.slowDownRatio[r]=.95,n.slowDownRatioReverse[r]=1-n.slowDownRatio[r],n.speedDecelerationRatio[r]=1},calculateOverBoundsAnimOffset:function(e,t){n.backAnimStarted[e]||(de[e]>ee.min[e]?n.backAnimDestination[e]=ee.min[e]:de[e]<ee.max[e]&&(n.backAnimDestination[e]=ee.max[e]),void 0!==n.backAnimDestination[e]&&(n.slowDownRatio[e]=.7,n.slowDownRatioReverse[e]=1-n.slowDownRatio[e],n.speedDecelerationRatioAbs[e]<.05&&(n.lastFlickSpeed[e]=0,n.backAnimStarted[e]=!0,Xe("bounceZoomPan"+e,de[e],n.backAnimDestination[e],t||300,i.easing.sine.out,(function(t){de[e]=t,Pe()})))))},calculateAnimOffset:function(e){n.backAnimStarted[e]||(n.speedDecelerationRatio[e]=n.speedDecelerationRatio[e]*(n.slowDownRatio[e]+n.slowDownRatioReverse[e]-n.slowDownRatioReverse[e]*n.timeDiff/10),n.speedDecelerationRatioAbs[e]=Math.abs(n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]),n.distanceOffset[e]=n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]*n.timeDiff,de[e]+=n.distanceOffset[e])},panAnimLoop:function(){if(Ve.zoomPan&&(Ve.zoomPan.raf=C(n.panAnimLoop),n.now=Oe(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),Pe(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05&&n.speedDecelerationRatioAbs.y<.05))return de.x=Math.round(de.x),de.y=Math.round(de.y),Pe(),void Ke("zoomPan")}};return n},It=function(e){if(e.calculateSwipeSpeed("y"),ee=o.currItem.bounds,e.backAnimDestination={},e.backAnimStarted={},Math.abs(e.lastFlickSpeed.x)<=.05&&Math.abs(e.lastFlickSpeed.y)<=.05)return e.speedDecelerationRatioAbs.x=e.speedDecelerationRatioAbs.y=0,e.calculateOverBoundsAnimOffset("x"),e.calculateOverBoundsAnimOffset("y"),!0;He("zoomPan"),e.lastNow=Oe(),e.panAnimLoop()},kt=function(e,t){var n,r,s;if(ne||(st=c),"swipe"===e){var l=tt.x-nt.x,u=t.lastFlickDist.x<10;l>30&&(u||t.lastFlickOffset.x>20)?r=-1:l<-30&&(u||t.lastFlickOffset.x<-20)&&(r=1)}r&&((c+=r)<0?(c=a.loop?Wt()-1:0,s=!0):c>=Wt()&&(c=a.loop?0:Wt()-1,s=!0),s&&!a.loop||(ve+=r,pe-=r,n=!0));var d,f=he.x*pe,p=Math.abs(f-ct.x);return n||f>ct.x==t.lastFlickSpeed.x>0?(d=Math.abs(t.lastFlickSpeed.x)>0?p/Math.abs(t.lastFlickSpeed.x):333,d=Math.min(d,400),d=Math.max(d,250)):d=333,st===c&&(n=!1),ne=!0,Ae("mainScrollAnimStart"),Xe("mainScroll",ct.x,f,d,i.easing.cubic.out,Ie,(function(){Ye(),ne=!1,st=-1,(n||st!==c)&&o.updateCurrItem(),Ae("mainScrollAnimComplete")})),n&&o.updateCurrItem(!0),n},Lt=function(e){return 1/J*e*g},Rt=function(){var e=v,t=ze(),n=Ze();v<t?e=t:v>n&&(e=n);var r,a=ae;return oe&&!q&&!se&&v<t?(o.close(),!0):(oe&&(r=function(e){Ee((1-a)*e+a)}),o.zoomTo(e,0,200,i.easing.cubic.out,r),!0)};xe("Gestures",{publicMethods:{initGestures:function(){var e=function(e,t,n,r,i){S=e+t,A=e+n,O=e+r,E=i?e+i:""};(P=N.pointerEvent)&&N.touch&&(N.touch=!1),P?navigator.msPointerEnabled?e("MSPointer","Down","Move","Up","Cancel"):e("pointer","down","move","up","cancel"):N.touch?(e("touch","start","move","end","cancel"),F=!0):e("mouse","down","move","up"),p=A+" "+O+" "+E,m=S,P&&!F&&(F=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),o.likelyTouchDevice=F,h[S]=Et,h[A]=Tt,h[O]=Ft,E&&(h[E]=h[O]),N.touch&&(m+=" mousedown",p+=" mousemove mouseup",h.mousedown=h[S],h.mousemove=h[A],h.mouseup=h[O]),F||(a.allowPanToNext=!1)}}});var Bt,Nt,Dt,zt,Zt,Wt,qt=function(t,n,r,s){var l;Bt&&clearTimeout(Bt),zt=!0,Dt=!0,t.initialLayout?(l=t.initialLayout,t.initialLayout=null):l=a.getThumbBoundsFn&&a.getThumbBoundsFn(c);var d,f,p=r?a.hideAnimationDuration:a.showAnimationDuration,m=function(){Ke("initialZoom"),r?(o.template.removeAttribute("style"),o.bg.removeAttribute("style")):(Ee(1),n&&(n.style.display="block"),i.addClass(e,"pswp--animated-in"),Ae("initialZoom"+(r?"OutEnd":"InEnd"))),s&&s(),zt=!1};if(!p||!l||void 0===l.x)return Ae("initialZoom"+(r?"Out":"In")),v=t.initialZoomLevel,Le(de,t.initialPosition),Pe(),e.style.opacity=r?0:1,Ee(1),void(p?setTimeout((function(){m()}),p):m());d=u,f=!o.currItem.src||o.currItem.loadError||a.showHideOpacity,t.miniImg&&(t.miniImg.style.webkitBackfaceVisibility="hidden"),r||(v=l.w/t.w,de.x=l.x,de.y=l.y-L,o[f?"template":"bg"].style.opacity=.001,Pe()),He("initialZoom"),r&&!d&&i.removeClass(e,"pswp--animated-in"),f&&(r?i[(d?"remove":"add")+"Class"](e,"pswp--animate_opacity"):setTimeout((function(){i.addClass(e,"pswp--animate_opacity")}),30)),Bt=setTimeout((function(){if(Ae("initialZoom"+(r?"Out":"In")),r){var n=l.w/t.w,o={x:de.x,y:de.y},a=v,s=ae,u=function(t){1===t?(v=n,de.x=l.x,de.y=l.y-B):(v=(n-a)*t+a,de.x=(l.x-o.x)*t+o.x,de.y=(l.y-B-o.y)*t+o.y),Pe(),f?e.style.opacity=1-t:Ee(s-t*s)};d?Xe("initialZoom",0,1,p,i.easing.cubic.out,u,m):(u(1),Bt=setTimeout(m,p+20))}else v=t.initialZoomLevel,Le(de,t.initialPosition),Pe(),Ee(1),f?e.style.opacity=1:Ee(1),Bt=setTimeout(m,p+20)}),r?25:90)},Gt={},jt=[],Vt={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Nt.length}},Ut=function(e,t,n){if(e.src&&!e.loadError){var r=!n;if(r&&(e.vGap||(e.vGap={top:0,bottom:0}),Ae("parseVerticalMargin",e)),Gt.x=t.x,Gt.y=t.y-e.vGap.top-e.vGap.bottom,r){var i=Gt.x/e.w,o=Gt.y/e.h;e.fitRatio=i<o?i:o;var s=a.scaleMode;"orig"===s?n=1:"fit"===s&&(n=e.fitRatio),n>1&&(n=1),e.initialZoomLevel=n,e.bounds||(e.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}})}if(!n)return;return function(e,t,n){var r=e.bounds;r.center.x=Math.round((Gt.x-t)/2),r.center.y=Math.round((Gt.y-n)/2)+e.vGap.top,r.max.x=t>Gt.x?Math.round(Gt.x-t):r.center.x,r.max.y=n>Gt.y?Math.round(Gt.y-n)+e.vGap.top:r.center.y,r.min.x=t>Gt.x?0:r.center.x,r.min.y=n>Gt.y?e.vGap.top:r.center.y}(e,e.w*n,e.h*n),r&&n===e.initialZoomLevel&&(e.initialPosition=e.bounds.center),e.bounds}return e.w=e.h=0,e.initialZoomLevel=e.fitRatio=1,e.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}},e.initialPosition=e.bounds.center,e.bounds},Kt=function(e,t,n,r,i,a){t.loadError||r&&(t.imageAppended=!0,Xt(t,r,t===o.currItem&&ye),n.appendChild(r),a&&setTimeout((function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)}),500))},Ht=function(e){e.loading=!0,e.loaded=!1;var t=e.img=i.createEl("pswp__img","img"),n=function(){e.loading=!1,e.loaded=!0,e.loadComplete?e.loadComplete(e):e.img=null,t.onload=t.onerror=null,t=null};return t.onload=n,t.onerror=function(){e.loadError=!0,n()},t.src=e.src,t},Yt=function(e,t){if(e.src&&e.loadError&&e.container)return t&&(e.container.innerHTML=""),e.container.innerHTML=a.errorMsg.replace("%url%",e.src),!0},Xt=function(e,t,n){if(e.src){t||(t=e.container.lastChild);var r=n?e.w:Math.round(e.w*e.fitRatio),i=n?e.h:Math.round(e.h*e.fitRatio);e.placeholder&&!e.loaded&&(e.placeholder.style.width=r+"px",e.placeholder.style.height=i+"px"),t.style.width=r+"px",t.style.height=i+"px"}},Qt=function(){if(jt.length){for(var e,t=0;t<jt.length;t++)(e=jt[t]).holder.index===e.index&&Kt(e.index,e.item,e.baseDiv,e.img,0,e.clearPlaceholder);jt=[]}};xe("Controller",{publicMethods:{lazyLoadItem:function(e){e=_e(e);var t=Zt(e);t&&(!t.loaded&&!t.loading||x)&&(Ae("gettingData",e,t),t.src&&Ht(t))},initController:function(){i.extend(a,Vt,!0),o.items=Nt=n,Zt=o.getItemAt,Wt=a.getNumItemsFn,a.loop,Wt()<3&&(a.loop=!1),Se("beforeChange",(function(e){var t,n=a.preload,r=null===e||e>=0,i=Math.min(n[0],Wt()),s=Math.min(n[1],Wt());for(t=1;t<=(r?s:i);t++)o.lazyLoadItem(c+t);for(t=1;t<=(r?i:s);t++)o.lazyLoadItem(c-t)})),Se("initialLayout",(function(){o.currItem.initialLayout=a.getThumbBoundsFn&&a.getThumbBoundsFn(c)})),Se("mainScrollAnimComplete",Qt),Se("initialZoomInEnd",Qt),Se("destroy",(function(){for(var e,t=0;t<Nt.length;t++)(e=Nt[t]).container&&(e.container=null),e.placeholder&&(e.placeholder=null),e.img&&(e.img=null),e.preloader&&(e.preloader=null),e.loadError&&(e.loaded=e.loadError=!1);jt=null}))},getItemAt:function(e){return e>=0&&void 0!==Nt[e]&&Nt[e]},allowProgressiveImg:function(){return a.forceProgressiveLoading||!F||a.mouseUsed||screen.width>1200},setContent:function(e,t){a.loop&&(t=_e(t));var n=o.getItemAt(e.index);n&&(n.container=null);var r,l=o.getItemAt(t);if(l){Ae("gettingData",t,l),e.index=t,e.item=l;var u=l.container=i.createEl("pswp__zoom-wrap");if(!l.src&&l.html&&(l.html.tagName?u.appendChild(l.html):u.innerHTML=l.html),Yt(l),Ut(l,fe),!l.src||l.loadError||l.loaded)l.src&&!l.loadError&&((r=i.createEl("pswp__img","img")).style.opacity=1,r.src=l.src,Xt(l,r),Kt(0,l,u,r));else{if(l.loadComplete=function(n){if(s){if(e&&e.index===t){if(Yt(n,!0))return n.loadComplete=n.img=null,Ut(n,fe),Fe(n),void(e.index===c&&o.updateCurrZoomItem());n.imageAppended?!zt&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):N.transform&&(ne||zt)?jt.push({item:n,baseDiv:u,img:n.img,index:t,holder:e,clearPlaceholder:!0}):Kt(0,n,u,n.img,0,!0)}n.loadComplete=null,n.img=null,Ae("imageLoadComplete",t,n)}},i.features.transform){var d="pswp__img pswp__img--placeholder";d+=l.msrc?"":" pswp__img--placeholder--blank";var f=i.createEl(d,l.msrc?"img":"");l.msrc&&(f.src=l.msrc),Xt(l,f),u.appendChild(f),l.placeholder=f}l.loading||Ht(l),o.allowProgressiveImg()&&(!Dt&&N.transform?jt.push({item:l,baseDiv:u,img:l.img,index:t,holder:e}):Kt(0,l,u,l.img,0,!0))}Dt||t!==c?Fe(l):(te=u.style,qt(l,r||l.img)),e.el.innerHTML="",e.el.appendChild(u)}else e.el.innerHTML=""},cleanSlide:function(e){e.img&&(e.img.onload=e.img.onerror=null),e.loaded=e.loading=e.img=e.imageAppended=!1}}});var $t,Jt,en={},tn=function(e,t,n){var r=document.createEvent("CustomEvent"),i={origEvent:e,target:e.target,releasePoint:t,pointerType:n||"touch"};r.initCustomEvent("pswpTap",!0,!0,i),e.target.dispatchEvent(r)};xe("Tap",{publicMethods:{initTap:function(){Se("firstTouchStart",o.onTapStart),Se("touchRelease",o.onTapRelease),Se("destroy",(function(){en={},$t=null}))},onTapStart:function(e){e.length>1&&(clearTimeout($t),$t=null)},onTapRelease:function(e,t){var n,r;if(t&&!H&&!U&&!Ue){var o=t;if($t&&(clearTimeout($t),$t=null,n=o,r=en,Math.abs(n.x-r.x)<25&&Math.abs(n.y-r.y)<25))return void Ae("doubleTap",o);if("mouse"===t.type)return void tn(e,t,"mouse");if("BUTTON"===e.target.tagName.toUpperCase()||i.hasClass(e.target,"pswp__single-tap"))return void tn(e,t);Le(en,o),$t=setTimeout((function(){tn(e,t),$t=null}),300)}}}}),xe("DesktopZoom",{publicMethods:{initDesktopZoom:function(){R||(F?Se("mouseUsed",(function(){o.setupDesktopZoom()})):o.setupDesktopZoom(!0))},setupDesktopZoom:function(t){Jt={};var n="wheel mousewheel DOMMouseScroll";Se("bindEvents",(function(){i.bind(e,n,o.handleMouseWheel)})),Se("unbindEvents",(function(){Jt&&i.unbind(e,n,o.handleMouseWheel)})),o.mouseZoomedIn=!1;var r,a=function(){o.mouseZoomedIn&&(i.removeClass(e,"pswp--zoomed-in"),o.mouseZoomedIn=!1),v<1?i.addClass(e,"pswp--zoom-allowed"):i.removeClass(e,"pswp--zoom-allowed"),s()},s=function(){r&&(i.removeClass(e,"pswp--dragging"),r=!1)};Se("resize",a),Se("afterChange",a),Se("pointerDown",(function(){o.mouseZoomedIn&&(r=!0,i.addClass(e,"pswp--dragging"))})),Se("pointerUp",s),t||a()},handleMouseWheel:function(e){if(v<=o.currItem.fitRatio)return a.modal&&(!a.closeOnScroll||Ue||V?e.preventDefault():T&&Math.abs(e.deltaY)>2&&(u=!0,o.close())),!0;if(e.stopPropagation(),Jt.x=0,"deltaX"in e)1===e.deltaMode?(Jt.x=18*e.deltaX,Jt.y=18*e.deltaY):(Jt.x=e.deltaX,Jt.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(Jt.x=-.16*e.wheelDeltaX),e.wheelDeltaY?Jt.y=-.16*e.wheelDeltaY:Jt.y=-.16*e.wheelDelta;else{if(!("detail"in e))return;Jt.y=e.detail}De(v,!0);var t=de.x-Jt.x,n=de.y-Jt.y;(a.modal||t<=ee.min.x&&t>=ee.max.x&&n<=ee.min.y&&n>=ee.max.y)&&e.preventDefault(),o.panTo(t,n)},toggleDesktopZoom:function(t){t=t||{x:fe.x/2+me.x,y:fe.y/2+me.y};var n=a.getDoubleTapZoom(!0,o.currItem),r=v===n;o.mouseZoomedIn=!r,o.zoomTo(r?o.currItem.initialZoomLevel:n,t,333),i[(r?"remove":"add")+"Class"](e,"pswp--zoomed-in")}}});var nn,rn,on,an,sn,ln,un,cn,dn,fn,pn,mn,hn={history:!0,galleryUID:1},vn=function(){return pn.hash.substring(1)},gn=function(){nn&&clearTimeout(nn),on&&clearTimeout(on)},wn=function(){var e=vn(),t={};if(e.length<5)return t;var n,r=e.split("&");for(n=0;n<r.length;n++)if(r[n]){var i=r[n].split("=");i.length<2||(t[i[0]]=i[1])}if(a.galleryPIDs){var o=t.pid;for(t.pid=0,n=0;n<Nt.length;n++)if(Nt[n].pid===o){t.pid=n;break}}else t.pid=parseInt(t.pid,10)-1;return t.pid<0&&(t.pid=0),t},bn=function(){if(on&&clearTimeout(on),Ue||V)on=setTimeout(bn,500);else{an?clearTimeout(rn):an=!0;var e=c+1,t=Zt(c);t.hasOwnProperty("pid")&&(e=t.pid);var n=un+"&gid="+a.galleryUID+"&pid="+e;cn||-1===pn.hash.indexOf(n)&&(fn=!0);var r=pn.href.split("#")[0]+"#"+n;mn?"#"+n!==window.location.hash&&history[cn?"replaceState":"pushState"]("",document.title,r):cn?pn.replace(r):pn.hash=n,cn=!0,rn=setTimeout((function(){an=!1}),60)}};xe("History",{publicMethods:{initHistory:function(){if(i.extend(a,hn,!0),a.history){pn=window.location,fn=!1,dn=!1,cn=!1,un=vn(),mn="pushState"in history,un.indexOf("gid=")>-1&&(un=(un=un.split("&gid=")[0]).split("?gid=")[0]),Se("afterChange",o.updateURL),Se("unbindEvents",(function(){i.unbind(window,"hashchange",o.onHashChange)}));var e=function(){ln=!0,dn||(fn?history.back():un?pn.hash=un:mn?history.pushState("",document.title,pn.pathname+pn.search):pn.hash=""),gn()};Se("unbindEvents",(function(){u&&e()})),Se("destroy",(function(){ln||e()})),Se("firstUpdate",(function(){c=wn().pid}));var t=un.indexOf("pid=");t>-1&&"&"===(un=un.substring(0,t)).slice(-1)&&(un=un.slice(0,-1)),setTimeout((function(){s&&i.bind(window,"hashchange",o.onHashChange)}),40)}},onHashChange:function(){if(vn()===un)return dn=!0,void o.close();an||(sn=!0,o.goTo(wn().pid),sn=!1)},updateURL:function(){gn(),sn||(cn?nn=setTimeout(bn,800):bn())}}}),i.extend(o,Qe)}})?r.call(t,n,t,e):r)||(e.exports=i)},function(e,t,n){var r,i;
/*! PhotoSwipe Default UI - 4.1.3 - 2019-01-08
* http://photoswipe.com
* Copyright (c) 2019 Dmitry Semenov; */void 0===(i="function"==typeof(r=function(){"use strict";return function(e,t){var n,r,i,o,a,s,l,u,c,d,f,p,m,h,v,g,w,b,y=this,x=!1,_=!0,M=!0,S={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(e,t){return e.title?(t.children[0].innerHTML=e.title,!0):(t.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return e.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return e.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},A=function(e){if(g)return!0;e=e||window.event,v.timeToIdle&&v.mouseUsed&&!c&&L();for(var n,r,i=(e.target||e.srcElement).getAttribute("class")||"",o=0;o<D.length;o++)(n=D[o]).onTap&&i.indexOf("pswp__"+n.name)>-1&&(n.onTap(),r=!0);if(r){e.stopPropagation&&e.stopPropagation(),g=!0;var a=t.features.isOldAndroid?600:30;setTimeout((function(){g=!1}),a)}},O=function(e,n,r){t[(r?"add":"remove")+"Class"](e,"pswp__"+n)},E=function(){var e=1===v.getNumItemsFn();e!==h&&(O(r,"ui--one-slide",e),h=e)},T=function(){O(l,"share-modal--hidden",M)},P=function(){return(M=!M)?(t.removeClass(l,"pswp__share-modal--fade-in"),setTimeout((function(){M&&T()}),300)):(T(),setTimeout((function(){M||t.addClass(l,"pswp__share-modal--fade-in")}),30)),M||C(),!1},F=function(t){var n=(t=t||window.event).target||t.srcElement;return e.shout("shareLinkClick",t,n),!(!n.href||!n.hasAttribute("download")&&(window.open(n.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),M||P(),1))},C=function(){for(var e,t,n,r,i="",o=0;o<v.shareButtons.length;o++)e=v.shareButtons[o],t=v.getImageURLForShare(e),n=v.getPageURLForShare(e),r=v.getTextForShare(e),i+='<a href="'+e.url.replace("{{url}}",encodeURIComponent(n)).replace("{{image_url}}",encodeURIComponent(t)).replace("{{raw_image_url}}",t).replace("{{text}}",encodeURIComponent(r))+'" target="_blank" class="pswp__share--'+e.id+'"'+(e.download?"download":"")+">"+e.label+"</a>",v.parseShareButtonOut&&(i=v.parseShareButtonOut(e,i));l.children[0].innerHTML=i,l.children[0].onclick=F},I=function(e){for(var n=0;n<v.closeElClasses.length;n++)if(t.hasClass(e,"pswp__"+v.closeElClasses[n]))return!0},k=0,L=function(){clearTimeout(b),k=0,c&&y.setIdle(!1)},R=function(e){var t=(e=e||window.event).relatedTarget||e.toElement;t&&"HTML"!==t.nodeName||(clearTimeout(b),b=setTimeout((function(){y.setIdle(!0)}),v.timeToIdleOutside))},B=function(e){p!==e&&(O(f,"preloader--active",!e),p=e)},N=function(n){var a=n.vGap;if(!e.likelyTouchDevice||v.mouseUsed||screen.width>v.fitControlsWidth){var s=v.barsSize;if(v.captionEl&&"auto"===s.bottom)if(o||((o=t.createEl("pswp__caption pswp__caption--fake")).appendChild(t.createEl("pswp__caption__center")),r.insertBefore(o,i),t.addClass(r,"pswp__ui--fit")),v.addCaptionHTMLFn(n,o,!0)){var l=o.clientHeight;a.bottom=parseInt(l,10)||44}else a.bottom=s.top;else a.bottom="auto"===s.bottom?0:s.bottom;a.top=s.top}else a.top=a.bottom=0},D=[{name:"caption",option:"captionEl",onInit:function(e){i=e}},{name:"share-modal",option:"shareEl",onInit:function(e){l=e},onTap:function(){P()}},{name:"button--share",option:"shareEl",onInit:function(e){s=e},onTap:function(){P()}},{name:"button--zoom",option:"zoomEl",onTap:e.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(e){a=e}},{name:"button--close",option:"closeEl",onTap:e.close},{name:"button--arrow--left",option:"arrowEl",onTap:e.prev},{name:"button--arrow--right",option:"arrowEl",onTap:e.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){n.isFullscreen()?n.exit():n.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(e){f=e}}];y.init=function(){var a;t.extend(e.options,S,!0),v=e.options,r=t.getChildByClass(e.scrollWrap,"pswp__ui"),(d=e.listen)("onVerticalDrag",(function(e){_&&e<.95?y.hideControls():!_&&e>=.95&&y.showControls()})),d("onPinchClose",(function(e){_&&e<.9?(y.hideControls(),a=!0):a&&!_&&e>.9&&y.showControls()})),d("zoomGestureEnded",(function(){(a=!1)&&!_&&y.showControls()})),d("beforeChange",y.update),d("doubleTap",(function(t){var n=e.currItem.initialZoomLevel;e.getZoomLevel()!==n?e.zoomTo(n,t,333):e.zoomTo(v.getDoubleTapZoom(!1,e.currItem),t,333)})),d("preventDragEvent",(function(e,t,n){var r=e.target||e.srcElement;r&&r.getAttribute("class")&&e.type.indexOf("mouse")>-1&&(r.getAttribute("class").indexOf("__caption")>0||/(SMALL|STRONG|EM)/i.test(r.tagName))&&(n.prevent=!1)})),d("bindEvents",(function(){t.bind(r,"pswpTap click",A),t.bind(e.scrollWrap,"pswpTap",y.onGlobalTap),e.likelyTouchDevice||t.bind(e.scrollWrap,"mouseover",y.onMouseOver)})),d("unbindEvents",(function(){M||P(),w&&clearInterval(w),t.unbind(document,"mouseout",R),t.unbind(document,"mousemove",L),t.unbind(r,"pswpTap click",A),t.unbind(e.scrollWrap,"pswpTap",y.onGlobalTap),t.unbind(e.scrollWrap,"mouseover",y.onMouseOver),n&&(t.unbind(document,n.eventK,y.updateFullscreen),n.isFullscreen()&&(v.hideAnimationDuration=0,n.exit()),n=null)})),d("destroy",(function(){v.captionEl&&(o&&r.removeChild(o),t.removeClass(i,"pswp__caption--empty")),l&&(l.children[0].onclick=null),t.removeClass(r,"pswp__ui--over-close"),t.addClass(r,"pswp__ui--hidden"),y.setIdle(!1)})),v.showAnimationDuration||t.removeClass(r,"pswp__ui--hidden"),d("initialZoomIn",(function(){v.showAnimationDuration&&t.removeClass(r,"pswp__ui--hidden")})),d("initialZoomOut",(function(){t.addClass(r,"pswp__ui--hidden")})),d("parseVerticalMargin",N),function(){var e,n,i,o=function(r){if(r)for(var o=r.length,a=0;a<o;a++){e=r[a],n=e.className;for(var s=0;s<D.length;s++)i=D[s],n.indexOf("pswp__"+i.name)>-1&&(v[i.option]?(t.removeClass(e,"pswp__element--disabled"),i.onInit&&i.onInit(e)):t.addClass(e,"pswp__element--disabled"))}};o(r.children);var a=t.getChildByClass(r,"pswp__top-bar");a&&o(a.children)}(),v.shareEl&&s&&l&&(M=!0),E(),v.timeToIdle&&d("mouseUsed",(function(){t.bind(document,"mousemove",L),t.bind(document,"mouseout",R),w=setInterval((function(){2==++k&&y.setIdle(!0)}),v.timeToIdle/2)})),v.fullscreenEl&&!t.features.isOldAndroid&&(n||(n=y.getFullscreenAPI()),n?(t.bind(document,n.eventK,y.updateFullscreen),y.updateFullscreen(),t.addClass(e.template,"pswp--supports-fs")):t.removeClass(e.template,"pswp--supports-fs")),v.preloaderEl&&(B(!0),d("beforeChange",(function(){clearTimeout(m),m=setTimeout((function(){e.currItem&&e.currItem.loading?(!e.allowProgressiveImg()||e.currItem.img&&!e.currItem.img.naturalWidth)&&B(!1):B(!0)}),v.loadingIndicatorDelay)})),d("imageLoadComplete",(function(t,n){e.currItem===n&&B(!0)})))},y.setIdle=function(e){c=e,O(r,"ui--idle",e)},y.update=function(){_&&e.currItem?(y.updateIndexIndicator(),v.captionEl&&(v.addCaptionHTMLFn(e.currItem,i),O(i,"caption--empty",!e.currItem.title)),x=!0):x=!1,M||P(),E()},y.updateFullscreen=function(r){r&&setTimeout((function(){e.setScrollOffset(0,t.getScrollY())}),50),t[(n.isFullscreen()?"add":"remove")+"Class"](e.template,"pswp--fs")},y.updateIndexIndicator=function(){v.counterEl&&(a.innerHTML=e.getCurrentIndex()+1+v.indexIndicatorSep+v.getNumItemsFn())},y.onGlobalTap=function(n){var r=(n=n||window.event).target||n.srcElement;if(!g)if(n.detail&&"mouse"===n.detail.pointerType){if(I(r))return void e.close();t.hasClass(r,"pswp__img")&&(1===e.getZoomLevel()&&e.getZoomLevel()<=e.currItem.fitRatio?v.clickToCloseNonZoomable&&e.close():e.toggleDesktopZoom(n.detail.releasePoint))}else if(v.tapToToggleControls&&(_?y.hideControls():y.showControls()),v.tapToClose&&(t.hasClass(r,"pswp__img")||I(r)))return void e.close()},y.onMouseOver=function(e){var t=(e=e||window.event).target||e.srcElement;O(r,"ui--over-close",I(t))},y.hideControls=function(){t.addClass(r,"pswp__ui--hidden"),_=!1},y.showControls=function(){_=!0,x||y.update(),t.removeClass(r,"pswp__ui--hidden")},y.supportsFullscreen=function(){var e=document;return!!(e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen)},y.getFullscreenAPI=function(){var t,n=document.documentElement,r="fullscreenchange";return n.requestFullscreen?t={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:r}:n.mozRequestFullScreen?t={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+r}:n.webkitRequestFullscreen?t={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+r}:n.msRequestFullscreen&&(t={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),t&&(t.enter=function(){if(u=v.closeOnScroll,v.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK)return e.template[this.enterK]();e.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},t.exit=function(){return v.closeOnScroll=u,document[this.exitK]()},t.isFullscreen=function(){return document[this.elementK]}),t}}})?r.call(t,n,t,e):r)||(e.exports=i)},function(e,t,n){!function(){"use strict";e.exports={polyfill:function(){var e=window,t=document;if(!("scrollBehavior"in t.documentElement.style)||!0===e.__forceSmoothScrollPolyfill__){var n,r=e.HTMLElement||e.Element,i={scroll:e.scroll||e.scrollTo,scrollBy:e.scrollBy,elementScroll:r.prototype.scroll||s,scrollIntoView:r.prototype.scrollIntoView},o=e.performance&&e.performance.now?e.performance.now.bind(e.performance):Date.now,a=(n=e.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);e.scroll=e.scrollTo=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?m.call(e,t.body,void 0!==arguments[0].left?~~arguments[0].left:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:e.scrollY||e.pageYOffset):i.scroll.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:e.scrollY||e.pageYOffset))},e.scrollBy=function(){void 0!==arguments[0]&&(l(arguments[0])?i.scrollBy.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):m.call(e,t.body,~~arguments[0].left+(e.scrollX||e.pageXOffset),~~arguments[0].top+(e.scrollY||e.pageYOffset)))},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==l(arguments[0])){var e=arguments[0].left,t=arguments[0].top;m.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},r.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},r.prototype.scrollIntoView=function(){if(!0!==l(arguments[0])){var n=f(this),r=n.getBoundingClientRect(),o=this.getBoundingClientRect();n!==t.body?(m.call(this,n,n.scrollLeft+o.left-r.left,n.scrollTop+o.top-r.top),"fixed"!==e.getComputedStyle(n).position&&e.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):e.scrollBy({left:o.left,top:o.top,behavior:"smooth"})}else i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function s(e,t){this.scrollLeft=e,this.scrollTop=t}function l(e){if(null===e||"object"!=typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"==typeof e&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function u(e,t){return"Y"===t?e.clientHeight+a<e.scrollHeight:"X"===t?e.clientWidth+a<e.scrollWidth:void 0}function c(t,n){var r=e.getComputedStyle(t,null)["overflow"+n];return"auto"===r||"scroll"===r}function d(e){var t=u(e,"Y")&&c(e,"Y"),n=u(e,"X")&&c(e,"X");return t||n}function f(e){for(;e!==t.body&&!1===d(e);)e=e.parentNode||e.host;return e}function p(t){var n,r,i,a,s=(o()-t.startTime)/468;a=s=s>1?1:s,n=.5*(1-Math.cos(Math.PI*a)),r=t.startX+(t.x-t.startX)*n,i=t.startY+(t.y-t.startY)*n,t.method.call(t.scrollable,r,i),r===t.x&&i===t.y||e.requestAnimationFrame(p.bind(e,t))}function m(n,r,a){var l,u,c,d,f=o();n===t.body?(l=e,u=e.scrollX||e.pageXOffset,c=e.scrollY||e.pageYOffset,d=i.scroll):(l=n,u=n.scrollLeft,c=n.scrollTop,d=s),p({scrollable:l,method:d,startTime:f,startX:u,startY:c,x:r,y:a})}}}}()},function(e,t,n){e.exports=n(5)},function(e,t,n){"use strict";n.r(t),function(){if(!("customElements"in window&&"content"in document.createElement("template"))){const e=new XMLHttpRequest;e.open("GET","https://unpkg.com/@webcomponents/webcomponentsjs@2.2.10/webcomponents-bundle.js",!1),e.send("");const t=document.createElement("script");t.type="text/javascript",t.text=e.responseText,document.body.appendChild(t)}}();var r=n(1),i=n.n(r),o=n(2),a=n.n(o);var s=function(){try{return Boolean(window.parent.ws)}catch(e){return!1}};var l=()=>Boolean(window.previewMode);var u=(e,t)=>`${e?`<span class="pswp__caption__title">${e}</span>`:""}${t?`<small class="pswp__caption__description">${t}</small>`:""}`,c=n(0),d=n.n(c);var f=()=>d.a.iPadOS||d.a.ios&&d.a.tablet;const p="ws-media-container[origin-src]:not([lightbox-disabled], [placeholder])";class m{constructor(){this.init()}init(){this.injectTemplate(),this.galleries=this.createGalleriesGroups(),this.setListeners()}injectTemplate(){if(!document.getElementById("pswp-template")){const e=document.createElement("div"),t=this.generateLightboxClasses();e.classList.add(...t),e.innerHTML='<div class="pswp" tabIndex="-1" role="dialog" aria-hidden="true" id="pswp-template">\n  <div class="pswp__bg"></div>\n  <div class="pswp__scroll-wrap">\n    <div class="pswp__container">\n      <div class="pswp__item"></div>\n      <div class="pswp__item"></div>\n      <div class="pswp__item"></div>\n    </div>\n    <div class="pswp__ui pswp__ui--hidden">\n      <div class="pswp__top-bar">\n        <div class="pswp__counter"></div>\n        <button class="pswp__button pswp__button--close">\n          <span aria-hidden="true" hidden>Close</span>\n        </button>\n        <button class="pswp__button pswp__button--share">\n          <span aria-hidden="true" hidden>Share</span>\n        </button>\n        <button class="pswp__button pswp__button--fs">\n          <span aria-hidden="true" hidden>Fullscreen</span>\n        </button>\n        <button class="pswp__button pswp__button--zoom">\n          <span aria-hidden="true" hidden>Zoom</span>\n        </button>\n        <div class="pswp__preloader">\n          <div class="pswp__preloader__icn">\n            <div class="pswp__preloader__cut">\n              <div class="pswp__preloader__donut"></div>\n            </div>\n          </div>\n        </div>\n      </div>\n      <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">\n        <div class="pswp__share-tooltip"></div>\n      </div>\n      <button class="pswp__button pswp__button--arrow--left">\n        <span aria-hidden="true" hidden>Arrow left</span>\n      </button>\n      <button class="pswp__button pswp__button--arrow--right">\n        <span aria-hidden="true" hidden>Arrow right</span>\n      </button>\n      <div class="pswp__caption">\n        <div class="pswp__caption__center"></div>\n      </div>\n    </div>\n  </div>\n</div>',document.body.appendChild(e)}}setListeners(){this.galleries.forEach((e,t)=>{t.addEventListener("click",e=>{const n=e.target.closest(p);n&&this.openLightbox(n,t)})})}generateLightboxClasses(){const e=["ws-lightbox-gallery"];return f()&&e.push("pswp-for-ipad"),e}openLightbox(e,t){const n=this.galleries.get(t),r=n.itemsMap.get(e);this.initPhotoSwipe(r,n.items)}initPhotoSwipe(e,t){const n={index:e,mainClass:"pswp--minimal--dark",bgOpacity:.85,history:!1,shareEl:!1,fullscreenEl:!l()};new i.a(document.querySelector(".pswp"),a.a,t,n).init()}createGalleriesGroups(){const e=new Map,t=document.querySelectorAll(p);return Array.from(t).forEach(t=>{const n=t.closest("ws-block");if(!n)return;e.has(n)||e.set(n,{items:[],itemsMap:new Map});const r=e.get(n),i=this.createSlideFromNode(t,r.items.length);r.items.push(i),r.itemsMap.set(t,i.index)}),e}createSlideFromNode(e,t){const n=e.getAttribute("origin-src"),r=e.getAttribute("origin-width"),i=e.getAttribute("origin-height"),o=e.querySelector("img"),a=o.hasAttribute("data-title")?o.getAttribute("data-title"):o.getAttribute("alt"),s=o.getAttribute("data-description");return{index:t,src:n,w:r,h:i,el:e,title:u(a,s)}}}s()&&!l()||document.addEventListener("DOMContentLoaded",()=>{new m});var h=n(3),v=n.n(h);var g=function(){const e=document.querySelectorAll("ws-block"),t=[];for(let n=0;n<e.length;n+=1){const{id:r}=e[n];t.push(r);const i=e[n+1];if(i&&r.includes("ws-block-header")){t.push(i.id);break}}return t};var w=function(e,t){const n=t.slice(1);return e.includes(n)};var b=function({hash:e,origin:t,pathname:n}){if(!e||!e.includes("ws-block"))return!1;const r=t===window.location.origin,i=n===window.location.pathname;return r&&i};s()&&!l()||(!function(){const e=document.querySelector(".page-container"),t=e.offsetTop,n=e.querySelector("ws-header"),r=n&&n.hasAttribute("stick-up"),i=r?g():[];e.addEventListener("click",e=>{const o=e.target,a=o&&o.href?o:o.closest("[href]");if(!a)return;if(b(a)){e.preventDefault();const{hash:o}=a,s=document.querySelector(o),l=r&&!w(i,o);if(s&&l){const e=s.offsetTop+t-n.stickyHeaderHeight;window.scroll({top:e,behavior:"smooth"})}else s&&s.scrollIntoView({behavior:"smooth"});n&&n.contains(a)&&n.closeMenuSidebar()}"#"===a.getAttribute("href")&&e.preventDefault()})}(),v.a.polyfill()),s()&&(window.__custom_load_event__=!0,window.addEventListener("load",()=>{const e=new CustomEvent("WSSiteLoaded");!function(e,t=(()=>{})){const n=[...document.querySelectorAll("ws-block[src]")].filter(e=>!1===e.ready);if(!n.length)return void e();const r=n.map(e=>new Promise((t,n)=>{function r(){t(),e.removeEventListener("error",i)}function i(){n(),e.removeEventListener("ready",r)}e.addEventListener("ready",r,{once:!0}),e.addEventListener("error",i,{once:!0})}));Promise.all(r).then(e,t)}(()=>document.dispatchEvent(e),()=>setTimeout(()=>document.dispatchEvent(e),2e3))}));var y=function(){return new URLSearchParams(window.location.search).get("next")||null};function x(){window.location.replace("/")}var _=function(){const e=y();if(!(e&&"/"!==e))return;const t=document.querySelector(".ws-close-button");t.removeAttribute("hidden"),t.addEventListener("click",()=>{x()}),document.addEventListener("keydown",e=>{"Escape"===e.key&&x()})};function M(e,t,n){n?(t.setAttribute("hidden",""),e.removeAttribute("invalid")):(t.removeAttribute("hidden"),e.setAttribute("invalid",""))}async function S(e,t,n){if(""===e.value)return void M(e,t,!1);const r=y()||"/";try{await async function(e){try{const t=window.location.href,n=await fetch(t,{method:"POST",body:JSON.stringify(e)});if(!n.ok)throw new Error(""+n.status)}catch(e){throw e}}({next:r,password:e.value}),window.location.replace(r)}catch(t){M(e,n,!1)}}var A=function(){const e=document.querySelector(".ws-protection-form");if(!e)return;const t=e.querySelector("#password-input"),n=e.querySelector("ws-button > a"),r=e.querySelector('ws-contact-form-validation-error[data-error-type="empty-password"]'),i=e.querySelector('ws-contact-form-validation-error[data-error-type="incorrect-password"]');t.addEventListener("input",e=>{M(t,i,!0),M(t,r,e.target.value)}),t.addEventListener("keydown",e=>{"Enter"===e.code&&(e.preventDefault(),S(t,r,i))}),n.addEventListener("click",e=>{e.preventDefault(),S(t,r,i)})};document.addEventListener("DOMContentLoaded",()=>{document.querySelector('ws-block[src*="/protection-form/"]')&&(_(),A())})}]);