(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__;r0},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);r0},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]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=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=[];he.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\n\n\n\n\n\n\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=[];hBoolean(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",x="stick-up-clone",_="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 $=(n,e)=>{try{n.removeEventListener("change",e)}catch(t){n.removeListener(e)}};let R;const P=new Map,H=(n,e)=>{n.hasChildNodes()&&(e.replaceChildren(...n.childNodes),n.replaceChildren())},Y=(n,e=R)=>{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===R)return;R=n;const t=R.querySelectorAll("[position-initial]");t.length&&t.forEach(n=>{const t=n.getAttribute("position-initial"),a=R.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},R),e&&Array.from(P.keys()).forEach(n=>N(n,Y))})},terminate(n){n&&Array.from(P.keys()).forEach(n=>$(n,Y))}}),q="overlay-section",G="overlay-opacity",D="--ws-surface-background-color-opacity";const j=document.createElement("template");j.innerHTML=`\n \n`;var z=j;const B=document.createElement("template");B.innerHTML=`\n\n`;var V=B;const J=document.createElement("template");J.innerHTML=`\n\n`;var X={stickUpStyles:z,wsNav:V,layouts:J};const W=document.createElement("template");W.innerHTML=`\n\n\n
\n
\n \n \n \n
\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n`,r(W);var F=W;const K=document.createElement("template");K.innerHTML='\n\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n';var Q=K;const Z=document.createElement("template");Z.innerHTML=`\n\n\n \n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n`,r(Z);var nn=Z;const en=document.createElement("template");en.innerHTML=`\n\n\n \n
\n
\n \n \n \n \n \n \n
\n
\n
\n
\n`,r(en);var tn=en;const an=document.createElement("template");an.innerHTML=`\n\n
\n
\n \n \n \n
\n
\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
\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(`[${_}]`)}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(D,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(`[${x}]`)){const n=document.createElement("div");n.style.height=this.stickUpElement.offsetHeight+"px",n.setAttribute(x,"");(this.stickUpElement.parentElement||this.rootElement).appendChild(n)}}removeStickUpClone(){this.rootElement.querySelector(`[${x}]`)&&this.rootElement.querySelector(`[${x}]`).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;ie:n>t}applyOverlayMechanism(){this.isOverlayAvailable?(this.addOverlayStyle(),this.overlayOpacityCustomProperty=this.overlayOpacity,this.headerResizeObserver.observe()):(this.removeOverlayStyle(),this.style.removeProperty(D),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 e(e){for(var l,c,i=e[0],r=e[1],a=e[2],d=0,u=[];dBoolean(window.previewMode);var i=function(t,e){t.call(this,e)};var r={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"}},EMPTY_STATE_TPL:'\n\n\n\n\n\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:a,SELECTORS:m,EMPTY_STATE_TPL:d,TRANSLATION_KEYS:u}=r,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,e,o){this.updateClasses(e,o)}set layout(t){return this.setAttribute("layout",t)}get layout(){return this.getAttribute("layout")}updateClasses(t,e){const o=this.closest(m.block),l=o?o.getAttribute("src"):null;if(!l)return;const n=a[l]||{"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"},s=this.children,c=n[t],[i]=Object.entries(n),[,r]=i;let d=n[e];d||(d=r),Array.from(s).forEach(t=>{c&&t.classList.remove(...c.split(" ")),t.classList.remove(...r.split(" ")),t.classList.add(...d.split(" "))})}shouldHaveEmptyState(){return s()&&this.isUsedAsWidget()&&!c()}isUsedAsWidget(){const t=this.closest(m.block),e=t&&t.hasAttribute("widget")?t.getAttribute("widget"):"";return h.includes(e)}initColumnsWidgetHandler(){this.setEmptyStateContent(),this.columnObserver=new MutationObserver(t=>{t.forEach(({target:t})=>{this.handleEmptyState(t)})}),Array.from(this.querySelectorAll(m.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(m.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 e=t.shadowRoot.querySelector(m.emptyState);e.addEventListener("click",this.handlers.onEmptyStateClick),this.isTouchDevice&&e.classList.add("ws-touch-device"),e.hidden=!1}hideEmptyState(t){const e=t.shadowRoot.querySelector(m.emptyState);e.removeEventListener("click",this.handlers.onEmptyStateClick),e.hidden=!0}static onEmptyStateClick(t){!function(t){const e=new CustomEvent("ws:addWidget",{bubbles:!0});t.dispatchEvent(e)}(t.target.getRootNode().host)}destroyColumnsWidgetHandler(){this.columnObserver&&this.columnObserver.disconnect(),Array.from(this.querySelectorAll(m.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=[];u0}});else{var t=window.document,e=[],n=null,i=null;r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r._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},r._resetCrossOriginUpdater=function(){n=null,i=null},r.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()}},r.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()},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},r.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]}))},r.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},r.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var i=this._checkForIntersections,o=null,r=null;if(this.POLL_INTERVAL?o=n.setInterval(i,this.POLL_INTERVAL):(s(n,"resize",i,!0),s(e,"scroll",i,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(r=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&&(o&&t.clearInterval(o),a(t,"resize",i,!0)),a(e,"scroll",i,!0),r&&r.disconnect()})),e!=(this.root&&this.root.ownerDocument||t)){var h=l(e);h&&this._monitorIntersections(h.ownerDocument)}}},r.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 o=l(n);if((n=o&&o.ownerDocument)==e)return!0}return!1}))){var o=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),o(),e!=i){var r=l(e);r&&this._unmonitorIntersections(r.ownerDocument)}}}},r.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e=0&&f>=0&&{top:d,bottom:l,left:p,right:m,width:g,height:f}||null),!v)break;b=b&&u(b)}return v}},r.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)},r.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},r.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 o=0;o\n :host {\n display: block;\n max-width: var(${r}, none);\n margin-right: auto;\n margin-left: auto;\n }\n\n .media-wrapper {\n position: relative;\n height: 100%;\n overflow: hidden;\n user-select: none;\n }\n\n .ws-media-content-container.has-image:not(.${s}) {\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(.${s}).loaded {\n opacity: 1;\n }\n\n [part="decoration"] {\n display: none;\n }\n \n\n
\n
\n \n
\n
\n
\n`,o(a);var h=a;const c=(t={},e)=>`${e}`,d=(t={})=>{const e=t.src||"",n=t.alt||"";return`${n}`},u=(t={})=>`${d(t)}`;var l=Object.freeze({imageMediaContainer:(t,e,n)=>{const i=u(e),o=Boolean(n&&n.href);return c(t,o?((t={},e)=>{const{href:n}=t,i=t.rel||"nofollow",o=t.target||"_blank",r=t.download||"";return`${e}`})(n,i):i)},imageContainer:t=>d(t),pictureContainer:t=>u(t)});var p=function(t,e){t.call(this,e)};var m=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",p.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 g=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 f=function(t){g.observe(t,{subtree:!0,childList:!0,attributes:!0})};const v=new(n(0).a)(t=>{t.forEach(({target:t})=>t.getMediaAndRender())});var b=function(t){return v.observe(t),{unobserve(){v.unobserve(t)}}};n(42);const w=new IntersectionObserver(t=>{t.forEach(t=>{t.target.onIntersectionEntry&&t.target.onIntersectionEntry(t)})});var y=function(t){return w.observe(t),{unobserve(){w.unobserve(t)}}};var _=function(){try{return Boolean(window.parent.ws)}catch(t){return!1}};var E=()=>Boolean(window.previewMode);var R=function(t){return!isNaN(t)&&isFinite(t)};var T=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 A=(t,e)=>{const n=t.style.getPropertyValue(e);if(n)return Number(n);const i=getComputedStyle(t).getPropertyValue(e);return i?Number(i):null};var O=function(t){return t&&"img"===t.tagName.toLowerCase()};var I=t=>{const e=getComputedStyle(t).getPropertyValue("min-height");return e.includes("px")?parseInt(e,10):null};var C=t=>{const{offsetWidth:e}=t,n=A(t,i.MIN_ASPECT_RATIO_PROPERTY),o=I(t),r=e/o;return o&&n?Math.min(r,n):o?r:n};var P=(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 S=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 M=function(t){const e=t.getAttribute("loading");return e&&"lazy"===e};var x=function(t,e){switch(t.tagName.toLowerCase()){case"img":e.classList.add("has-image")}},L=Object.assign||function(t){for(var e=1;eparseFloat(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")}constructor(){super();const t=this.attachShadow({mode:"open"});t.appendChild(document.importNode(h.content,!0)),this.mediaContainer=t.querySelector(".media-wrapper"),this.mediaContent=t.querySelector(".ws-media-content-container")}connectedCallback(){this.connected=!0;const t=this.mediaElement;this.parentWidth=T(this),this.hasWsTextParent=this.closest("ws-text"),this.withLazyLoading=M(t),this.resizeObserver=b(this),this.safeMode?this.mediaContent.classList.add(i.SAFE_MODE_CLASS):this.intersectionObserver=y(this),x(t,this.mediaContent),_()&&(this.getMediaAndRender(),this.initWsBlockObserver(),f(this)),_()||this.withLazyLoading||this.getMediaAndRender()}disconnectedCallback(){this.resizeObserver.unobserve(),this.intersectionObserver&&this.intersectionObserver.unobserve(),_()&&!E()&&this.disconnectWsBlockObserver()}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=y(this))}}handleContentScaleChange(){this.renderMedia()}initWsBlockObserver(){const t=this.closest("ws-block");t&&(this.wsBlockObserver=new MutationObserver(()=>{const t=window.getComputedStyle(this);this.proxyBorderRadius(t)}),this.wsBlockObserver.observe(t,{attributes:!0,attributeFilter:["surfaces","with-border","with-shadow","rounded-images"],attributeOldValue:!0}))}disconnectWsBlockObserver(){this.wsBlockObserver&&this.wsBlockObserver.disconnect()}proxyBorderRadius(t){const{borderTopLeftRadius:e,borderTopRightRadius:n,borderBottomLeftRadius:i,borderBottomRightRadius:o}=t;this.mediaContainer.style.borderBottomRightRadius=o,this.mediaContainer.style.borderBottomLeftRadius=i,this.mediaContainer.style.borderTopRightRadius=n,this.mediaContainer.style.borderTopLeftRadius=e}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,o;this.mediaAspectRatio>=n?(i=e*this.mediaAspectRatio,o=e):(i=t,o=t/this.mediaAspectRatio);const r=100*this.contentScale;return{width:i/t*r,height:o/e*r}}computeMedia(t={}){const{contentBounds:e=this.getContentBounds(),contentPosition:n=this.contentPosition}=t,{width:i,height:o}=e,[r,s]=n;return{width:i,height:o,mediaWidth:this.mediaWidth,mediaHeight:this.mediaHeight,position:{x:r,y:s}}}setContainerNodeHeight(t){this.style.height=t+"px"}getContainerNodeHeight(t,e={}){const{aspectRatio:n=this.aspectRatio}=e,i=this.getBoundingClientRect(),o=i.height-parseFloat(t.height);if(this.roundedImages)return Math.round(i.width-o);const r=this.minAspectRatio,s=this.maxAspectRatio,a=!R(r)||r<=0?n:r,h=R(s)?s:0,c=Math.max(h,Math.min(n,a));return Math.round(i.width/c-o)}setMaxAspectRatioForImage(){O(this.mediaElement)&&this.hasWsTextParent&&(this.mediaWidth\n .${o} {\n position: relative;\n height: 100%;\n overflow: hidden;\n }\n\n .${r} {\n position: absolute;\n width: 100%;\n height: 100%;\n transform: translate(-50%, -50%);\n }\n\n .${s}{\n width: 100%;\n height: 100%;\n background-position: center center;\n background-repeat: no-repeat;\n background-size: cover;\n }\n\n .${a} {\n display: none;\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n opacity: 0;\n background: hsl(var(--ws-surface-background-color));\n pointer-events: none;\n }\n\n .${h} {\n opacity: 0;\n }\n\n .${c} {\n transition: opacity 1s;\n opacity: 1;\n }\n\n .${d} .${h} {\n opacity: 1;\n }\n\n [part="decoration"] {\n display: none;\n }\n\n\n
\n
\n
\n
\n
\n
\n
\n`;var u=l;const g=new Map;var p=function(t){if(g.has(t))return g.get(t);const e=new Promise((e,i)=>{const n=new Image;n.onload=()=>e(n),n.onerror=i,n.src=t});return g.set(t,e),e};var b=async function(t){const e=await p(t),{height:i,width:n}=e;return!navigator.userAgent.toLowerCase().includes("firefox")||0!==i&&0!==n?[n,i]:[150,150]};const m=new(i(0).a)(t=>{t.forEach(({target:t})=>t.handleResize())});var A=function(t){return m.observe(t),{unobserve(){m.unobserve(t)}}};var v=function(t){return!isNaN(t)&&isFinite(t)};var y=function(t){return p(t).then(()=>!0,()=>!1)};var f=function(){return p("data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoBAAEAAwA0JaQAA3AA/vuUAAA=").then(()=>!0,()=>!1)};var S=function(){try{return Boolean(window.parent.ws)}catch(t){return!1}};i(7);const O=new IntersectionObserver((t,e)=>{t.forEach(({target:t,isIntersecting:i})=>{i&&(t.setIntersectedStatus(!0),t.src&&(t.backgroundElement.classList.add(n.LOADING_CLASS),t.setupSrc().then(()=>{t.handleAnimation()}),e.unobserve(t)))})},{rootMargin:"0px 0px 600px 0px"});var E=t=>(O.observe(t),{disconnect(){O.unobserve(t)}});const w=new IntersectionObserver((t,e)=>{t.forEach(({target:t,isIntersecting:i})=>{i&&(t.handleAnimation(),e.unobserve(t))})});var C=t=>(w.observe(t),{disconnect(){w.unobserve(t)}});var M=(t,e)=>{const i=e/2;let n=t;return t-i>98&&(n=98+i),t+i<2&&(n=2-i),Math.round(100*n)/100},_=Object.assign||function(t){for(var e=1;eparseFloat(t)):[50,50]}set position(t){t?this.setAttribute("position",t):t||this.removeAttribute("position")}get overlay(){return this.hasAttribute("overlay")}get overlayOpacity(){return this.getAttribute("overlay-opacity")}get filter(){return this.getAttribute("filter")}get hasFilter(){return this.hasAttribute("filter")}get blendingMode(){return this.getAttribute("blending-mode")}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 hidden(){return this.hasAttribute("hidden")}get placeholder(){return this.hasAttribute("placeholder")}set wsBlockBackgroundPosition(t){const e=this.closest("ws-block");e&&e.setAttribute("background-position",t)}constructor(){super();const t=this.attachShadow({mode:"open"});t.appendChild(document.importNode(u.content,!0)),this.container=t.querySelector("."+L),this.imageContainer=t.querySelector("."+R),this.backgroundElement=t.querySelector("."+B),this.overlayElement=t.querySelector("."+k),this.mobileMediaQuery=window.matchMedia(`(max-width: ${D}px)`),this.mediaHeight=0,this.mediaWidth=0,this.wasIntersected=!1,this.preventAnimation=this.shouldPreventAnimation(),this.preventAnimation&&this.backgroundElement.classList.add(T),this.isReadyForAnimation=!1,this.setupSrc=this.setupSrc.bind(this)}connectedCallback(){this.hidden||this.placeholder||this.init()}disconnectedCallback(){this.destroy()}attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"safe-mode":this.safeMode?(this.intersectionObserver&&this.intersectionObserver.disconnect(),this.container.classList.add(G)):(this.intersectionObserver=C(this),this.container.classList.remove(G));break;case"scale":this.mediaSetupComplete&&this.handleScaleChange(e,i);break;case"cover-constraints":case"position":case"transform-scale-factor":this.renderMedia();break;case"src":case"src-mobile":this.wasIntersected&&this.setupSrc();break;case"overlay":this.setupOverlay(),this.setupOverlayBlendingMode();break;case"overlay-opacity":this.setupOverlayOpacity();break;case"filter":this.setupFilter(),this.setupOverlayBlendingMode();break;case"blending-mode":this.setupOverlayBlendingMode();break;case"hidden":case"placeholder":this.hidden||this.placeholder?this.destroy():this.init()}}init(){this.preIntersectionObserver=E(this),this.safeMode||(this.intersectionObserver=C(this)),this.mobileMediaQuery.addListener(this.setupSrc),this.setupOverlay(),this.setupOverlayOpacity(),this.setupFilter(),this.setupOverlayBlendingMode(),this.renderMedia()}destroy(){this.preIntersectionObserver&&this.preIntersectionObserver.disconnect(),this.intersectionObserver&&this.intersectionObserver.disconnect(),this.resizeObserver&&this.resizeObserver.unobserve(),this.mobileMediaQuery.removeListener(this.setupSrc),this.backgroundElement.removeAttribute("style"),this.imageContainer.removeAttribute("style"),this.overlayElement.removeAttribute("style")}setIntersectedStatus(t){this.wasIntersected=t}async setupSrc(){const t=await this.getImageUrl(),[e,i]=await b(t);this.mediaWidth=e,this.mediaHeight=i,this.backgroundElement.style["background-image"]=`url("${t}")`,this.mediaSetupComplete=!0,this.renderMedia(),this.resizeObserver=A(this)}handleScaleChange(){this.renderMedia()}handleResize(){this.renderMedia()}async getImageUrl(){if(S())return this.src;const t=this.mobileMediaQuery.matches&&this.srcMobile?this.srcMobile:this.src,e=await f();if(this.hasProgressiveSrc&&e){const e=t.replace(P,"")+".webp";if(await y(e))return e}return t}async computeBackgroundRectForSource(t,e={}){const i={scale:this.scale,position:this.position},n=_({},i,e),{position:s}=n,[r,o]=await b(t),a=this.getContentBounds({mediaWidth:r,mediaHeight:o});return this.computeMedia({position:s,contentBounds:a})}computeMedia(t={}){const{position:e=this.position,contentBounds:i=this.getContentBounds()}=t,{width:n,height:s}=this.areaBounds,{mediaAbsoluteTargetWidth:r,mediaAbsoluteTargetHeight:o}=i,[a,h]=e,c=r*a/100,d=o*h/100,l=n-r,u=s-o;return{width:r,height:o,position:{left:Math.min(0,Math.max(n/2-c,l)),top:Math.min(0,Math.max(s/2-d,u))}}}getContentPositionInPercents({x:t,y:e}){const{width:i,height:n}=this.getContentBounds();return[M(t,i),M(e,n)]}calculateBoundsByScale(t){this.scale=t;const[e,i]=this.position;return{scale:t,position:this.getContentPositionInPercents({x:e,y:i})}}setupOverlayOpacity(){this.overlayElement.style.opacity=this.overlayOpacity||""}setupOverlay(){this.overlayElement.style.display=this.overlay?"block":""}setupFilter(){this.hasFilter?this.imageContainer.style.filter=I[this.filter]||I.grayscale:this.imageContainer.style.filter=""}setupOverlayBlendingMode(){const t=this.overlayElement.style["mix-blend-mode"];if(this.hasFilter&&this.overlay){const e=this.blendingMode||"hard-light";t!==e&&(this.overlayElement.style["mix-blend-mode"]=e)}else t&&(this.overlayElement.style["mix-blend-mode"]="")}get computedBlendingMode(){return this.overlayElement.style["mix-blend-mode"]||null}getContainerBounds(){const{width:t,height:e}=this.container.getBoundingClientRect(),i=this.transformScaleFactor;return{width:Math.round(t)/i,height:Math.round(e)/i}}getContentBounds(t={}){const{width:e,height:i}=this.getContainerBounds(),{mediaWidth:n=this.mediaWidth,mediaHeight:s=this.mediaHeight}=t,r=n/s;let o,a;i>=e/r?(o=i*r,a=i):(o=e,a=e/r);return{width:o/e*this.scale*100,height:a/i*this.scale*100,mediaAbsoluteTargetWidth:o,mediaAbsoluteTargetHeight:a}}calculateScaledBounds(t,e,i){const{width:n,height:s}=this.areaBounds,r=Math.max(n/t,s/e);return{width:t*r*i,height:e*r*i,initialScale:r}}get scaledBounds(){return this.calculateScaledBounds(this.mediaWidth,this.mediaHeight,this.scale)}get areaBounds(){const t=this.container,{width:e,height:i}=t.getBoundingClientRect(),n=this.transformScaleFactor;return{width:e/n,height:i/n}}computeBackgroundRect(t,e){const{width:i,height:n}=this.areaBounds,{width:s,height:r}=e,[o,a]=t,h=s*o/100,c=r*a/100,d=i-s,l=n-r,u=s/i*100,g=r/n*100;return{width:u,height:g,position:{left:Math.min(0,Math.max(i/2-h,d))/i*100+u/2,top:Math.min(0,Math.max(n/2-c,l))/n*100+g/2}}}renderMedia(){const[t,e]=this.position,{style:i}=this.imageContainer,n={};if(this.coverConstraintsEnabled){const{width:t,height:e,position:i}=this.computeBackgroundRect(this.position,this.scaledBounds);n.left=i.left+"%",n.top=i.top+"%",n.width=t+"%",n.height=e+"%"}else{const{width:i,height:s}=this.getContentBounds();n.width=i+"%",n.height=s+"%",n.left=M(t,i)+"%",n.top=M(e,s)+"%"}i.width=n.width,i.height=n.height,i.left=n.left,i.top=n.top}handleAnimation(){this.preventAnimation||(this.isReadyForAnimation?(this.backgroundElement.classList.add(T),setTimeout(()=>{this.backgroundElement.classList.remove(T,N)},1e3)):this.isReadyForAnimation=!0)}shouldPreventAnimation(){const t=this.closest("ws-block");if(!t||!t.parentNode)return!1;const e=Array.from(t.parentNode.children).indexOf(t);return!(e>1)&&(0===e||t.previousElementSibling.matches(x))}}customElements.define(n.CONTAINER_TAG,F)}});;!function(n){var e={};function t(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return n[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.m=n,t.c=e,t.d=function(n,e,o){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:o})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var r in n)t.d(o,r,function(e){return n[e]}.bind(null,r));return o},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="",t(t.s=17)}({17:function(n,e,t){n.exports=t(65)},65:function(n,e,t){"use strict";t.r(e);var o=function(n,e){n.call(this,e)};var r=function(){try{return Boolean(window.parent.ws)}catch(n){return!1}};const i={utm_medium:"referral",utm_campaign:"branded_footer",utm_source:window.location.href};var a=function(n){return r()?n:`${n}?${new URLSearchParams(i).toString()}`};const s=null,c="#",l=null,d=46,u="logo",g="dark",p=document.createElement("template");p.innerHTML=`\n \n \n`;class m extends HTMLElement{static get observedAttributes(){return["logo","message","url","logo-width","theme"]}constructor(){super();this.attachShadow({mode:"open"}).appendChild(p.content.cloneNode(!0)),this.handlers={onClick:o.bind(this,this.onClick)}}connectedCallback(){r()&&this.addEventListener("click",this.handlers.onClick),this.applyHeightValue()}disconnectedCallback(){r()&&this.removeEventListener("click",this.handlers.onClick)}attributeChangedCallback(){this.refreshData()}getPropsValues(){return{logo:this.getAttribute("logo")||s,url:this.getAttribute("url")||c,message:this.getAttribute("message")||l,logoWidth:this.getAttribute("logo-width")||d,theme:this.getAttribute("theme")||g}}refreshData(){const{logo:n,url:e,message:t,logoWidth:o,theme:r}=this.getPropsValues(),i=document.createElement("a");if(i.classList.add("ws-branding-content",r),i.href=a(e),t){const n=document.createElement("span");n.innerText=t,i.append(n)}if(n){const e=document.createElement("img");e.src=n,e.width=o,e.alt=u,i.append(e)}this.shadowRoot.replaceChild(i,this.shadowRoot.querySelector("a"))}onClick(n){n.preventDefault()}applyHeightValue(){const n=Math.round(this.getBoundingClientRect().height),e=document.createElement("style");e.innerHTML=`\n :root {\n --ws-branding-height: ${n}px;\n }\n `,this.appendChild(e)}}customElements.define("ws-branding",m)}});;!function(e){function t(t){for(var s,r,a=t[0],l=t[1],c=t[2],d=0,h=[];d-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=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;tBoolean(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&&ee>t&&ee.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\n\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.offsetHeightBoolean(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:'
  • \n \n \n \n
  • ',nestableMenuItem:'
  • \n \n \n \n \n \n \n
      \n
      \n
    • ',submenuItem:'
    • \n \n \n \n
    • ',nestableSubmenuItem:'
    • \n \n \n \n \n \n \n
        \n
        \n
      • '});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 ul",submenuItem:"li",itemText:"span"});const l="enabled",i="disabled";var s=Object.freeze({nestableMenuItem:'
      • \n \n \n \n \n \n \n
          \n
          \n
        • '}),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{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 \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{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",h={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 u=document.createElement("template");u.innerHTML=`\n\n\n
          \n \n \n
          \n \n \n \n
          \n \n
          \n`,r(u);var f=u;const v=document.createElement("template");v.innerHTML=`\n\n\n
          \n \n \n \n
          \n`,r(v);var w=v;const y=document.createElement("template");y.innerHTML='\n\n\n
          \n \n \n \n \n \n \n \n \n
          \n',r(y);var b=y;const x=document.createElement("template");x.innerHTML=`\n\n\n
          \n \n \n \n \n \n \n
          \n`,r(x);var S=x;const L=document.createElement("template");L.innerHTML='\n\n\n
          \n \n \n \n \n \n
          \n',r(L);var E={LAYOUT_1:f,LAYOUT_2:w,LAYOUT_3:b,LAYOUT_4:S,LAYOUT_5:L},O=[{name:"1",template:E.LAYOUT_1,disabledSlots:[]},{name:"2",template:E.LAYOUT_2,disabledSlots:[h.ADDRESS,h.PHONE,h.EMAIL],columnNavigation:!0},{name:"3",template:E.LAYOUT_3,disabledSlots:[h.ADDRESS,h.PHONE,h.EMAIL],navigationCanMutate:!0},{name:"4",template:E.LAYOUT_4,disabledSlots:[h.ADDRESS,h.PHONE,h.EMAIL,h.SOCIALS,h.DESCRIPTION],navigationCanMutate:!0},{name:"5",template:E.LAYOUT_5,disabledSlots:[h.DESCRIPTION,h.ADDRESS,h.PHONE,h.EMAIL,h.SOCIALS,h.NAVIGATION]}];const A=document.createElement("template");A.innerHTML=`\n \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
          \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='${h.BUSINESS_LOGO}'], [slot='${h.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(h),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="${h.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(h).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="${h.NAVIGATION}"]`);this.navigationResizeObserver.observe(t)}}removeNavigationEventListener(){if(this.isNavigationCanMutate()){const t=this.shadowRoot.querySelector(`[name="${h.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(59)},59: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 \n \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 \n \n \n `};var c=function(e,t,n){const s=document.createElement("template"),{title:a,code:o}=t,l=r(o);return s.innerHTML=`\n ${l}\n \n ${e.reduce((e,t)=>{const{title:s,code:a}=t,l=r(a);return`\n ${e}\n
        • \n ${l}${s}\n
        • \n `},"")}\n \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 \n \n ${c}\n \n \n ${e.reduce((e,t)=>{const{title:i,code:s}=t;return`\n ${e}\n ${i}\n `},"")}\n \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(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.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 r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));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=4)}([function(e,t){!function(e,t){for(var n in t)e[n]=t[n]}(t,function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return 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 r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));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=1)}([function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return 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 r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));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=90)}({17:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i=n(18),r=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,i){void 0===i&&(i=!1);var r=e.getVersionPrecision(t),o=e.getVersionPrecision(n),a=Math.max(r,o),s=0,l=e.map([t,n],(function(t){var n=a-e.getVersionPrecision(t),i=t+new Array(n+1).join(".0");return e.map(i.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(i&&(s=a-Math.min(r,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]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(r).find((function(e){return t.isBrowser(e,!0)}));if(void 0!==d)return this.compareVersion(r[d])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var n=this.getBrowserName().toLowerCase(),i=e.toLowerCase(),r=s.default.getBrowserTypeByAlias(i);return t&&r&&(i=r.toLowerCase()),i===n},t.compareVersion=function(e){var t=[0],n=e,i=!1,r=this.getBrowserVersion();if("string"==typeof r)return">"===e[0]||"<"===e[0]?(n=e.substr(1),"="===e[1]?(i=!0,n=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?n=e.substr(1):"~"===e[0]&&(i=!0,n=e.substr(1)),t.indexOf(s.default.compareVersions(r,n,i))>-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 i,r=(i=n(17))&&i.__esModule?i:{default:i},o=/version\/(\d+(\.?_?\d+)+)/i,a=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},n=r.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},n=r.default.getFirstMatch(o,e)||r.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=r.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},n=r.default.getFirstMatch(o,e)||r.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=r.default.getFirstMatch(o,e)||r.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=r.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},n=r.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},n=r.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},n=r.default.getFirstMatch(o,e)||r.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=r.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},n=r.default.getFirstMatch(o,e)||r.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=r.default.getFirstMatch(o,e)||r.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=r.default.getFirstMatch(o,e)||r.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=r.default.getFirstMatch(o,e)||r.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=r.default.getFirstMatch(o,e)||r.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=r.default.getFirstMatch(o,e)||r.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=r.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||r.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=r.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},n=r.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=r.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=r.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=r.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},n=r.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},n=r.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=r.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},n=r.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},n=r.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=r.default.getFirstMatch(o,e)||r.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=r.default.getFirstMatch(o,e)||r.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=r.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},n=r.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},n=r.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},n=r.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=r.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},n=r.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=r.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=r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},n=r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},n=r.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:r.default.getFirstMatch(t,e),version:r.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 i,r=(i=n(17))&&i.__esModule?i:{default:i},o=n(18),a=[{test:[/Roku\/DVP/],describe:function(e){var t=r.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=r.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=r.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=r.default.getWindowsVersionName(t);return{name:o.OS_MAP.Windows,version:t,versionName:n}}},{test:[/macintosh/i],describe:function(e){var t=r.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=r.default.getMacOSVersionName(t),i={name:o.OS_MAP.MacOS,version:t};return n&&(i.versionName=n),i}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=r.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=r.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=r.default.getAndroidVersionName(t),i={name:o.OS_MAP.Android,version:t};return n&&(i.versionName=n),i}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=r.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=r.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||r.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||r.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:o.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=r.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=r.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=r.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 i,r=(i=n(17))&&i.__esModule?i:{default:i},o=n(18),a=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=r.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=r.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 i,r=(i=n(17))&&i.__esModule?i:{default:i},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=r.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=r.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=r.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=r.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=r.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 i=n(0),r=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(i).a.getParser(window.navigator.userAgent||"");t.default={chrome:r(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 i,r; /*! PhotoSwipe - v4.1.3 - 2019-01-08 * http://photoswipe.com * Copyright (c) 2019 Dmitry Semenov; */void 0===(r="function"==typeof(i=function(){"use strict";return function(e,t,n,i){var r={features:null,bind:function(e,t,n,i){var r=(i?"remove":"add")+"EventListener";t=t.split(" ");for(var o=0;o0&&(o=parseInt(o[1],10))>=1&&o<8&&(n.isOldIOSPhone=!0)}var a=i.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(i)}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)),i=window.setTimeout((function(){e(t+n)}),n);return m=t+n,i},n.caf=function(e){clearTimeout(e)}}return n.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,r.features=n,n}};r.detectFeatures(),r.features.oldIE&&(r.bind=function(e,t,n,i){t=t.split(" ");for(var r,o=(i?"detach":"attach")+"Event",a=function(){n.handleEvent.call(n)},s=0;st-1?e-t:e<0?t+e:e},Me={},Se=function(e,t){return Me[e]||(Me[e]=[]),Me[e].push(t)},Oe=function(e){var t=Me[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var i=0;io.currItem.fitRatio?ye||(Xt(o.currItem,!1,!0),ye=!0):ye&&(Xt(o.currItem),ye=!1)),Ee(te,de.x,de.y,v))},Fe=function(e){e.container&&Ee(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Ce=function(e,t){t[E]=w+e+"px, 0px"+b},Ie=function(e,t){if(!a.loop&&t){var n=c+(he.x*pe-e)/he.x,i=Math.round(e-ct.x);(n<0&&i>0||n>=Wt()-1&&i<0)&&(e=ct.x+i*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)},Re=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},Le=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},Be=null,Ne=function(){Be&&(r.unbind(document,"mousemove",Ne),r.addClass(e,"pswp--has_mouse"),a.mouseUsed=!0,Oe("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,i){return i===o.currItem.initialZoomLevel?(n[e]=o.currItem.initialPosition[e],!0):(n[e]=ke(e,i),n[e]>t.min[e]?(n[e]=t.min[e],!0):n[e]=i)return Ke(e),o(n),void(a&&a());o((n-t)*r(s/i)+t),qe[e].raf=C(u)}};u()},Qe={shout:Oe,listen:Se,viewportSize:fe,options:a,isMainScrollAnimating:function(){return ne},getZoomLevel:function(){return v},getCurrentIndex:function(){return c},isDragging:function(){return q},isZooming:function(){return $},setScrollOffset:function(e,t){me.x=e,B=me.y=t,Oe("updateScrollOffset",me)},applyZoomPan:function(e,t,n,i){de.x=t,de.y=n,v=e,Pe(i)},init:function(){if(!s&&!l){var n;o.framework=r,o.template=e,o.bg=r.getChildByClass(e,"pswp__bg"),k=e.className,s=!0,N=r.detectFeatures(),C=N.raf,I=N.caf,E=N.transform,L=N.oldIE,o.scrollWrap=r.getChildByClass(e,"pswp__scroll-wrap"),o.container=r.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(E){var t=N.perspective&&!F;return w="translate"+(t?"3d(":"("),void(b=N.perspective?", 0px)":")")}E="left",r.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,i=t*e.w,r=t*e.h;n.width=i+"px",n.height=r+"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,i=n*t.w,r=n*t.h;e.width=i+"px",e.height=r+"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:Ve,keydown:Ge,click:je};var i=N.isOldIOSPhone||N.isOldAndroid||N.isMobileOpera;for(N.animationName&&N.transform&&!i||(a.showAnimationDuration=a.hideAnimationDuration=0),n=0;n=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=r.getScrollY()+"px")),void 0===B&&(Oe("initialLayout"),B=R=r.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":"",r.addClass(e,u),o.updateSize(),f=-1,ve=null,n=0;n<3;n++)Ce((n+f)*he.x,_[n].el.style);L||r.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(),r.bind(document,"keydown",o),N.transform&&r.bind(o.scrollWrap,"click",o),a.mouseUsed||r.bind(document,"mousemove",Ne),r.bind(window,"resize scroll orientationchange",o),Oe("bindEvents")})),o.setContent(_[1],c),o.updateCurrItem(),Oe("afterInit"),ge||(y=setInterval((function(){Ue||q||$||v!==o.currItem.initialZoomLevel||o.updateSize()}),1e3)),r.addClass(e,"pswp--visible")}},close:function(){s&&(s=!1,l=!0,Oe("close"),r.unbind(window,"resize scroll orientationchange",o),r.unbind(window,"scroll",h.scroll),r.unbind(document,"keydown",o),r.unbind(document,"mousemove",Ne),N.transform&&r.unbind(o.scrollWrap,"click",o),q&&r.unbind(window,p,o),clearTimeout(D),Oe("unbindEvents"),Gt(o.currItem,null,!0,o.destroy))},destroy:function(){Oe("destroy"),Bt&&clearTimeout(Bt),e.setAttribute("aria-hidden","true"),e.className=k,y&&clearInterval(y),r.unbind(o.scrollWrap,m,o),r.unbind(window,"scroll",o),mt(),Ye(),Me=null},panTo:function(e,t,n){n||(e>ee.min.x?e=ee.min.x:eee.min.y?t=ee.min.y:t=3&&(f+=ve+(ve>0?-3:3),n=3);for(var i=0;i0?(t=_.shift(),_[2]=t,f++,Ce((f+2)*he.x,t.el.style),o.setContent(t,c-n+i+1+1)):(t=_.pop(),_.unshift(t),f--,Ce(f*he.x,t.el.style),o.setContent(t,c+n-i-1-1));if(te&&1===Math.abs(ve)){var r=Zt(M);r.initialZoomLevel!==v&&(Ut(r,fe),Xt(r),Fe(r))}ve=0,o.updateCurrZoomItem(),M=c,Oe("afterChange")}}},updateSize:function(t){if(!ge&&a.modal){var n=r.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,Ve(),he.x=fe.x+Math.round(fe.x*a.spacing),he.y=fe.y,Ie(he.x*pe),Oe("beforeResize"),void 0!==f){for(var i,s,l,u=0;u<3;u++)i=_[u],Ce((u+f)*he.x,i.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(i,l),1===u&&(o.currItem=s,o.updateCurrZoomItem(!0)),s.needsUpdate=!1):-1===i.index&&l>=0&&o.setContent(i,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)),Oe("resize")},zoomTo:function(e,t,n,i,o){t&&(g=v,dt.x=Math.abs(t.x)-de.x,dt.y=Math.abs(t.y)-de.y,Re(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;Le(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,i||r.easing.sine.inOut,d):d(1)}},$e={},Je={},et={},tt={},nt={},it=[],rt={},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(){q&&(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),Oe("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=[],Ot=function(e){for(;St.length>0;)St.pop();return P?(le=0,it.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},At=function(e,t){var n,i,r,s,l=de[e]+t[e],u=t[e]>0,c=ct.x+t.x,d=ct.x-rt.x;if(n=l>ee.min[e]||lee.min[e]&&(n=a.panEndFriction,ee.min[e],i=ee.min[e]-ce[e]),(i<=0||d<0)&&Wt()>1?(s=c,d<0&&c>rt.x&&(s=rt.x)):ee.min.x!==ee.max.x&&(r=l)):(l0)&&Wt()>1?(s=c,d>0&&co.currItem.fitRatio&&(de[e]+=t[e]*n)},Tt=function(e){if(!("mousedown"===e.type&&e.button>0))if(zt)e.preventDefault();else if(!V||"mousedown"!==e.type){if(wt(e,!0)&&e.preventDefault(),Oe("pointerDown"),P){var t=r.arraySearch(it,e.pointerId,"id");t<0&&(t=it.length),it[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=Ot(e),i=n.length;Q=null,Ye(),q&&1!==i||(q=re=!0,r.bind(window,p,o),G=se=oe=j=X=H=U=K=!1,ie=null,Oe("firstTouchStart",n),Re(ce,de),ue.x=ue.y=0,Re(tt,n[0]),Re(nt,tt),rt.x=he.x*pe,ot=[{x:tt.x,y:tt.y}],Z=z=Ae(),De(v,!0),mt(),ht()),!$&&i>1&&!ne&&!X&&(g=v,K=!1,$=U=!0,ue.y=ue.x=0,Re(ce,de),Re($e,n[0]),Re(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))}},Et=function(e){if(e.preventDefault(),P){var t=r.arraySearch(it,e.pointerId,"id");if(t>-1){var n=it[t];n.x=e.pageX,n.y=e.pageY}}if(q){var i=Ot(e);if(ie||H||$)Q=i;else if(ct.x!==he.x*pe)ie="h";else{var o=Math.abs(i[0].x-tt.x)-Math.abs(i[0].y-tt.y);Math.abs(o)>=10&&(ie=o>0?"h":"v",Q=i)}}},Pt=function(){if(Q){var e=Q.length;if(0!==e)if(Re($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;Re(Je,Q[1]),K||(K=!0,Oe("zoomGestureStarted"));var t=pt($e,Je),n=Rt(t);n>o.currItem.initialZoomLevel+o.currItem.initialZoomLevel/15&&(se=!0);var i=1,r=ze(),s=Ze();if(n1&&(i=1),n=r-i*(r/3);else n>s&&((i=(n-s)/(6*r))>1&&(i=1),n=s+i*r);i<0&&(i=0),yt($e,Je,lt),ue.x+=lt.x-ft.x,ue.y+=lt.y-ft.y,Re(ft,lt),de.x=ke("x",n),de.y=ke("y",n),G=n>v,v=n,Pe()}else{if(!ie)return;if(re&&(re=!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"===ie&&a.closeOnVerticalDrag&&"fit"===a.scaleMode&&v===o.currItem.initialZoomLevel){ue.y+=et.y,de.y+=et.y;var u=xt();return j=!0,Oe("onVerticalDrag",u),Te(u),void Pe()}!function(e,t,n){if(e-Z>50){var i=ot.length>2?ot.shift():{};i.x=t,i.y=n,ot.push(i),Z=e}}(Ae(),$e.x,$e.y),H=!0,ee=o.currItem.bounds,At("x",et)||(At("y",et),Le(de),Pe())}}},Ft=function(e){if(N.isOldAndroid){if(V&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout(V),V=setTimeout((function(){V=0}),600))}var t;if(Oe("pointerUp"),wt(e,!1)&&e.preventDefault(),P){var n=r.arraySearch(it,e.pointerId,"id");n>-1&&(t=it.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 i,s=Ot(e),l=s.length;if("mouseup"===e.type&&(l=0),2===l)return Q=null,!0;1===l&&Re(nt,s[0]),0!==l||ie||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"})),Oe("touchRelease",e,t));var u=-1;if(0===l&&(q=!1,r.unbind(window,p,o),mt(),$?u=0:-1!==ut&&(u=Ae()-ut)),ut=1===l?Ae():-1,i=-1!==u&&u<150?"zoom":"swipe",$&&l<2&&($=!1,1===l&&(i="zoomPointerUp"),Oe("zoomGestureEnded")),Q=null,H||K||ne||j)if(Ye(),W||(W=Ct()),W.calculateSwipeSpeed("x"),j)if(xt()o.currItem.fitRatio&&It(W):Lt())}},Ct=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(i){ot.length>1?(e=Ae()-Z+50,t=ot[ot.length-2][i]):(e=Ae()-z,t=nt[i]),n.lastFlickOffset[i]=tt[i]-t,n.lastFlickDist[i]=Math.abs(n.lastFlickOffset[i]),n.lastFlickDist[i]>20?n.lastFlickSpeed[i]=n.lastFlickOffset[i]/e:n.lastFlickSpeed[i]=0,Math.abs(n.lastFlickSpeed[i])<.1&&(n.lastFlickSpeed[i]=0),n.slowDownRatio[i]=.95,n.slowDownRatioReverse[i]=1-n.slowDownRatio[i],n.speedDecelerationRatio[i]=1},calculateOverBoundsAnimOffset:function(e,t){n.backAnimStarted[e]||(de[e]>ee.min[e]?n.backAnimDestination[e]=ee.min[e]:de[e]30&&(u||t.lastFlickOffset.x>20)?i=-1:l<-30&&(u||t.lastFlickOffset.x<-20)&&(i=1)}i&&((c+=i)<0?(c=a.loop?Wt()-1:0,s=!0):c>=Wt()&&(c=a.loop?0:Wt()-1,s=!0),s&&!a.loop||(ve+=i,pe-=i,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,Oe("mainScrollAnimStart"),Xe("mainScroll",ct.x,f,d,r.easing.cubic.out,Ie,(function(){Ye(),ne=!1,st=-1,(n||st!==c)&&o.updateCurrItem(),Oe("mainScrollAnimComplete")})),n&&o.updateCurrItem(!0),n},Rt=function(e){return 1/J*e*g},Lt=function(){var e=v,t=ze(),n=Ze();vn&&(e=n);var i,a=ae;return oe&&!G&&!se&&v1||navigator.msMaxTouchPoints>1),o.likelyTouchDevice=F,h[S]=Tt,h[O]=Et,h[A]=Ft,T&&(h[T]=h[A]),N.touch&&(m+=" mousedown",p+=" mousemove mouseup",h.mousedown=h[S],h.mousemove=h[O],h.mouseup=h[A]),F||(a.allowPanToNext=!1)}}});var Bt,Nt,Dt,zt,Zt,Wt,Gt=function(t,n,i,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=i?a.hideAnimationDuration:a.showAnimationDuration,m=function(){Ke("initialZoom"),i?(o.template.removeAttribute("style"),o.bg.removeAttribute("style")):(Te(1),n&&(n.style.display="block"),r.addClass(e,"pswp--animated-in"),Oe("initialZoom"+(i?"OutEnd":"InEnd"))),s&&s(),zt=!1};if(!p||!l||void 0===l.x)return Oe("initialZoom"+(i?"Out":"In")),v=t.initialZoomLevel,Re(de,t.initialPosition),Pe(),e.style.opacity=i?0:1,Te(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"),i||(v=l.w/t.w,de.x=l.x,de.y=l.y-R,o[f?"template":"bg"].style.opacity=.001,Pe()),He("initialZoom"),i&&!d&&r.removeClass(e,"pswp--animated-in"),f&&(i?r[(d?"remove":"add")+"Class"](e,"pswp--animate_opacity"):setTimeout((function(){r.addClass(e,"pswp--animate_opacity")}),30)),Bt=setTimeout((function(){if(Oe("initialZoom"+(i?"Out":"In")),i){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:Te(s-t*s)};d?Xe("initialZoom",0,1,p,r.easing.cubic.out,u,m):(u(1),Bt=setTimeout(m,p+20))}else v=t.initialZoomLevel,Re(de,t.initialPosition),Pe(),Te(1),f?e.style.opacity=1:Te(1),Bt=setTimeout(m,p+20)}),i?25:90)},jt={},Vt=[],qt={index:0,errorMsg:'
          The image could not be loaded.
          ',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Nt.length}},Ut=function(e,t,n){if(e.src&&!e.loadError){var i=!n;if(i&&(e.vGap||(e.vGap={top:0,bottom:0}),Oe("parseVerticalMargin",e)),jt.x=t.x,jt.y=t.y-e.vGap.top-e.vGap.bottom,i){var r=jt.x/e.w,o=jt.y/e.h;e.fitRatio=r1&&(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 i=e.bounds;i.center.x=Math.round((jt.x-t)/2),i.center.y=Math.round((jt.y-n)/2)+e.vGap.top,i.max.x=t>jt.x?Math.round(jt.x-t):i.center.x,i.max.y=n>jt.y?Math.round(jt.y-n)+e.vGap.top:i.center.y,i.min.x=t>jt.x?0:i.center.x,i.min.y=n>jt.y?e.vGap.top:i.center.y}(e,e.w*n,e.h*n),i&&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,i,r,a){t.loadError||i&&(t.imageAppended=!0,Xt(t,i,t===o.currItem&&ye),n.appendChild(i),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=r.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 i=n?e.w:Math.round(e.w*e.fitRatio),r=n?e.h:Math.round(e.h*e.fitRatio);e.placeholder&&!e.loaded&&(e.placeholder.style.width=i+"px",e.placeholder.style.height=r+"px"),t.style.width=i+"px",t.style.height=r+"px"}},Qt=function(){if(Vt.length){for(var e,t=0;t=0,r=Math.min(n[0],Wt()),s=Math.min(n[1],Wt());for(t=1;t<=(i?s:r);t++)o.lazyLoadItem(c+t);for(t=1;t<=(i?r: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=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 i,l=o.getItemAt(t);if(l){Oe("gettingData",t,l),e.index=t,e.item=l;var u=l.container=r.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&&((i=r.createEl("pswp__img","img")).style.opacity=1,i.src=l.src,Xt(l,i),Kt(0,l,u,i));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)?Vt.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,Oe("imageLoadComplete",t,n)}},r.features.transform){var d="pswp__img pswp__img--placeholder";d+=l.msrc?"":" pswp__img--placeholder--blank";var f=r.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?Vt.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,Gt(l,i||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 i=document.createEvent("CustomEvent"),r={origEvent:e,target:e.target,releasePoint:t,pointerType:n||"touch"};i.initCustomEvent("pswpTap",!0,!0,r),e.target.dispatchEvent(i)};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,i;if(t&&!H&&!U&&!Ue){var o=t;if($t&&(clearTimeout($t),$t=null,n=o,i=en,Math.abs(n.x-i.x)<25&&Math.abs(n.y-i.y)<25))return void Oe("doubleTap",o);if("mouse"===t.type)return void tn(e,t,"mouse");if("BUTTON"===e.target.tagName.toUpperCase()||r.hasClass(e.target,"pswp__single-tap"))return void tn(e,t);Re(en,o),$t=setTimeout((function(){tn(e,t),$t=null}),300)}}}}),xe("DesktopZoom",{publicMethods:{initDesktopZoom:function(){L||(F?Se("mouseUsed",(function(){o.setupDesktopZoom()})):o.setupDesktopZoom(!0))},setupDesktopZoom:function(t){Jt={};var n="wheel mousewheel DOMMouseScroll";Se("bindEvents",(function(){r.bind(e,n,o.handleMouseWheel)})),Se("unbindEvents",(function(){Jt&&r.unbind(e,n,o.handleMouseWheel)})),o.mouseZoomedIn=!1;var i,a=function(){o.mouseZoomedIn&&(r.removeClass(e,"pswp--zoomed-in"),o.mouseZoomedIn=!1),v<1?r.addClass(e,"pswp--zoom-allowed"):r.removeClass(e,"pswp--zoom-allowed"),s()},s=function(){i&&(r.removeClass(e,"pswp--dragging"),i=!1)};Se("resize",a),Se("afterChange",a),Se("pointerDown",(function(){o.mouseZoomedIn&&(i=!0,r.addClass(e,"pswp--dragging"))})),Se("pointerUp",s),t||a()},handleMouseWheel:function(e){if(v<=o.currItem.fitRatio)return a.modal&&(!a.closeOnScroll||Ue||q?e.preventDefault():E&&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),i=v===n;o.mouseZoomedIn=!i,o.zoomTo(i?o.currItem.initialZoomLevel:n,t,333),r[(i?"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,i=e.split("&");for(n=0;n-1&&"&"===(un=un.substring(0,t)).slice(-1)&&(un=un.slice(0,-1)),setTimeout((function(){s&&r.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())}}}),r.extend(o,Qe)}})?i.call(t,n,t,e):i)||(e.exports=r)},function(e,t,n){var i,r; /*! PhotoSwipe Default UI - 4.1.3 - 2019-01-08 * http://photoswipe.com * Copyright (c) 2019 Dmitry Semenov; */void 0===(r="function"==typeof(i=function(){"use strict";return function(e,t){var n,i,r,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},O=function(e){if(g)return!0;e=e||window.event,v.timeToIdle&&v.mouseUsed&&!c&&R();for(var n,i,r=(e.target||e.srcElement).getAttribute("class")||"",o=0;o-1&&(n.onTap(),i=!0);if(i){e.stopPropagation&&e.stopPropagation(),g=!0;var a=t.features.isOldAndroid?600:30;setTimeout((function(){g=!1}),a)}},A=function(e,n,i){t[(i?"add":"remove")+"Class"](e,"pswp__"+n)},T=function(){var e=1===v.getNumItemsFn();e!==h&&(A(i,"ui--one-slide",e),h=e)},E=function(){A(l,"share-modal--hidden",M)},P=function(){return(M=!M)?(t.removeClass(l,"pswp__share-modal--fade-in"),setTimeout((function(){M&&E()}),300)):(E(),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,i,r="",o=0;o