(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(7))},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(),v=f,m=t=>"Windows"===t.getOSName(),b=t=>"mobile"===t.getPlatformType(),_=t=>"tablet"===t.getPlatformType(),w=t=>"desktop"===t.getPlatformType(),M=t=>t.getOSVersion(),y=(t,e)=>t.satisfies(e);const O=r.n(n).a.getParser(window.navigator.userAgent||"");e.default={chrome:i(O),chromium:o(O),edge:s(O),firefox:a(O),ie:u(O),opera:c(O),safari:d(O),android:h(O),ios:l(O),iPadOS:p(O),linux:g(O),macOS:v(O)&&!p(O),windows:m(O),mobile:b(O),tablet:_(O)||p(O),desktop:w(O)&&!p(O),version:M(O),isSatisfied:t=>y(O,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(l.has(t))return l.get(t);const n=d.createElement("template");return n.innerHTML=e,l.set(t,n),c.delete(t),n}));return c.set(t,e),e}},p=n(4);var u=function(t){const e=document.documentElement.lang;return p[e]&&p[e][t]?p[e][t]:t};var k=function(t,e){t.call(this,e)};const b=/\sslot=".+"/,w=/\s*\{([^{}]*)\}\s*(?:\{true\}|\{false\})\s*\{\s*(<[a-z][\s\S]*>)\s*\}\s*\{?([^{}]*)?\}?\s*$/,m=["background-image","background-position","background-scale","background-hidden","overlay","overlay-opacity","filter","blending-mode","rounded-images","overlay-section","progressive-image","transform-scale-factor","safe-mode"];function g(t){return t&&t.trim()?t.trim().split(" "):[]}function _(t){const e=new CustomEvent("error");t.dispatchEvent(e)}function f(t){return`data-ws-block-${t}-target`}const y=document.createElement("template");y.innerHTML='\n\n\n\n\n\n\n\n';class v 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:k.bind(this,this.onEmptyStateClick)},this.attachShadow({mode:"open"}).appendChild(document.importNode(y.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",...m]}get surfaces(){return g(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["none","xs","s","m","l","xxl"].map(t=>{let e;return e="none"===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(`[${f(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=u("Hidden Block"),this.shadowRoot.querySelector(s.hiddenStateDescription).innerText=u("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())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=f(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=g(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)})}findChildSlots(){return Array.from(this.childNodes).filter(t=>{switch(t.nodeType){case Node.ELEMENT_NODE:return t.hasAttribute("slot");case Node.COMMENT_NODE:return b.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(){m.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(w);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 _(this);this.isRendered=!0,h.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(()=>_(this))}}a()&&customElements.define("ws-block",v)}});;!function(n){function e(e){for(var a,i,l=e[0],r=e[1],d=e[2],h=0,p=[];h{n.forEach(({target:n})=>{n.applyOverlayStyle(n.offsetHeight)})});var d=function(n){return{observe(){r.observe(n)},unobserve(){r.unobserve(n)}}},c="stick-up",h="is-stuck",p="stick-up-clone",u=".header-bottom-panel",g=10;var m=function(n){const e=n.shadowRoot.querySelector(u);let t;return n.isStuck?t=e.clientHeight:(n.setAttribute(h,""),t=e.clientHeight,n.removeAttribute(h)),t};var v=(n,e)=>{if(n.length>=1){const t=n[0].getAttribute("slot");return e.includes(t)}return!1},w=new Map([["layout-sm",576],["layout-md",768],["layout-lg",992],["layout-xl",1200]]);var b=(n,e,t=!0)=>{const a=n.querySelector(`[name^="${e}"]`);t&&window.matchMedia(`(max-width: ${w.get("layout-xl")-1}px)`).matches?a.setAttribute("name",e+"-pseudo"):a.setAttribute("name",""+e)};var y=function(){const n=document.documentElement,e=n.getAttribute("data-locale");return n.hasAttribute("data-locale")?e:null};var f=n=>{const{pathname:e}=window.location;return!n||!e.startsWith(`/${n}/`)};var x=function(n,e){const t=n.querySelector(".logo-wrapper");t&&(t.href=`/${e}/`)},S="overlay-section";const _=document.createElement("template");_.innerHTML=`\n \n`;var k=_;const L=document.createElement("template");L.innerHTML=`\n\n`;var O=L;const E=document.createElement("template");E.innerHTML=`\n\n`;var A={stickUpStyles:k,wsNav:O,layouts:E},T="ws-header",U="ws-defined",C="layout",N={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"};const R=document.createElement("template");R.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`,l(R);var M=R;const $=document.createElement("template");$.innerHTML='\n\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n';var H=$;const P=document.createElement("template");P.innerHTML=`\n\n\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n`,l(P);var Y=P;const I=document.createElement("template");I.innerHTML=`\n\n\n \n
\n
\n \n \n \n \n \n \n
\n
\n
\n
\n`,l(I);var G=I;const z=document.createElement("template");z.innerHTML=`\n\n
\n
\n \n \n \n
\n
\n`,l(z);var q={LAYOUT_1:M,LAYOUT_2:H,LAYOUT_3:Y,LAYOUT_4:G,LAYOUT_5:z},j=[{name:"1",template:q.LAYOUT_1,disabledSlots:[]},{name:"2",template:q.LAYOUT_2,disabledSlots:[N.SOCIALS,N.PHONE,N.LANGUAGE_SELECTOR]},{name:"3",template:q.LAYOUT_3,disabledSlots:[N.PRIMARY_BUTTON,N.SECONDARY_BUTTON,N.SOCIALS,N.LANGUAGE_SELECTOR]},{name:"3",template:q.LAYOUT_3,disabledSlots:[N.PRIMARY_BUTTON,N.SECONDARY_BUTTON,N.PHONE,N.LANGUAGE_SELECTOR]},{name:"3",template:q.LAYOUT_3,disabledSlots:[N.PRIMARY_BUTTON,N.SECONDARY_BUTTON,N.SOCIALS,N.PHONE]},{name:"4",template:q.LAYOUT_4,disabledSlots:[N.LOGO,N.SITE_NAME,N.PRIMARY_BUTTON,N.SECONDARY_BUTTON,N.SOCIALS,N.PHONE,N.LANGUAGE_SELECTOR]},{name:"5",template:q.LAYOUT_5,disabledSlots:[N.LOGO,N.SITE_NAME,N.PRIMARY_BUTTON,N.SECONDARY_BUTTON,N.NAVIGATION]}];const B=o.a.edge,V=Object.values(N),D=new MutationObserver(n=>{n.forEach(n=>{const{addedNodes:e,removedNodes:t}=n;let{target:a}=n;const o=[...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!==T&&(a=a.closest(T)),a.onMutateChild&&o&&(B?(v(e,V)||v(t,V))&&a.onMutateChild(o):a.onMutateChild(o))})}),J=document.createElement("template");J.innerHTML='\n
\n',l(A.layouts),l(A.wsNav),l(A.stickUpStyles);class X extends HTMLElement{static get observedAttributes(){return[S,C]}constructor(){super();const n=this.attachShadow({mode:"open"});[A.layouts,A.wsNav,A.stickUpStyles,J].forEach(e=>{n.appendChild(document.importNode(e.content,!0))}),this.wrapper=n.querySelector(".wrapper"),this.pageLocale=y(),this.handlers={applyStickUp:s.bind(this,this.applyStickUp),onChangeSlotPosition:s.bind(this,this.changeSlotPositionOfLayout1),onLogoClick:s.bind(this,n=>n.preventDefault()),onResize:s.bind(this,this.onResize)},this.disabledSlots=[],this.setDisabledSlots(),this.setLayout(),this.setAttribute(U,!0),this.stickUpCalculatedValues=new Map,this.stickUpScrollingElement=document.scrollingElement,this.stickUpElement=this.shadowRoot.querySelector(u),i()||(window.addEventListener("scroll",this.handlers.applyStickUp,!1),window.addEventListener("resize",this.handlers.onResize,!1)),Promise.resolve().then(()=>{D.observe(this,{attributes:!0,childList:!0,subtree:!0})}),this.headerResizeObserver=d(this)}get layout(){return this.getAttribute(C)}get isStuck(){return this.hasAttribute(h)}get isOverlay(){return this.hasAttribute(S)}get stickyHeaderHeight(){return this.stickyHeight||(this.stickyHeight=m(this)),this.stickyHeight}set isStuck(n){this.isStuck!==n&&(n?(this.createStickUpClone(),this.setAttribute(h,"")):(this.removeStickUpClone(),this.removeAttribute(h)))}attributeChangedCallback(n,e,t){this.connected&&n===S&&this.applyOverlayMechanism(),this.connected&&n===C&&this.onChangeLayout(t,e)}connectedCallback(){this.connected=!0,this.triggerSlotVisibility(),this.hideNavToggle(),window.ShadyCSS&&window.ShadyCSS.styleElement(this),i()&&this.addLogoLinkEventListener(),this.setLayout(),this.onChangeLayout(this.layout),this.runStickUp(),this.applyOverlayMechanism()}disconnectedCallback(){i()&&this.removeLogoLinkEventListener(),i()||(window.removeEventListener("scroll",this.handlers.applyStickUp,!1),window.removeEventListener("resize",this.handlers.onResize,!1)),this.onChangeLayout(null,this.layout)}runStickUp(){!i()&&this.hasAttribute(c)&&this.stickUpElement&&(this.setStickUpConfig(),this.handlers.applyStickUp())}createStickUpClone(){if(!this.shadowRoot.querySelector(`[${p}]`)){const n=document.createElement("div");n.style.height=this.stickUpElement.offsetHeight+"px",n.setAttribute(p,""),(this.stickUpElement.parentElement||this.shadowRoot).appendChild(n)}}removeStickUpClone(){this.shadowRoot.querySelector(`[${p}]`)&&this.shadowRoot.querySelector(`[${p}]`).remove()}setStickUpConfig(){const{scrollTop:n}=this.stickUpScrollingElement;let{top:e,bottom:t,height:a}=this.stickUpElement.getBoundingClientRect();e+=n,t+=n+g,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"),o=this.stickUpElement.getBoundingClientRect().height;oe:n>t}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.onChangeSlotPosition,!1)),"1"===e&&window.removeEventListener("resize",this.handlers.onChangeSlotPosition,!1)}onChangeSlot(n){switch(n){case N.PHONE:case N.SOCIALS:case N.LANGUAGE_SELECTOR:"1"===this.layout&&this.changeSlotPositionOfLayout1()}}getSuitableLayout(){return[...this.querySelectorAll("[slot]")].length?j.filter(n=>n.disabledSlots.every(n=>this.disabledSlots.includes(n))).pop():null}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(C,"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(C,e),f(this.pageLocale)||x(this.wrapper,this.pageLocale)}triggerSlotVisibility(){this.shadowRoot.querySelectorAll("slot").forEach(n=>{this.disabledSlots.includes(n.name)?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")}}addLogoLinkEventListener(){this.shadowRoot.querySelector("a.logo-wrapper")&&this.addEventListener("click",this.handlers.onLogoClick)}removeLogoLinkEventListener(){this.shadowRoot.querySelector("a.logo-wrapper")&&this.removeEventListener("click",this.handlers.onLogoClick)}changeSlotPositionOfLayout1(){const n=!this.disabledSlots.includes(N.LANGUAGE_SELECTOR)&&!this.disabledSlots.includes(N.PHONE)&&!this.disabledSlots.includes(N.SOCIALS);b(this.shadowRoot,N.LANGUAGE_SELECTOR,n)}applyOverlayMechanism(){this.applyOverlayStyle(),this.isOverlay?this.headerResizeObserver.observe():this.headerResizeObserver.unobserve()}applyOverlayStyle(n){let e=this.querySelector(".header-style");if(e&&!this.isOverlay)return void e.remove();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 `)}onResize(){this.stickyHeight=m(this)}}customElements.define(T,X)}});;!function(t){function e(e){for(var l,c,i=e[0],r=e[1],a=e[2],d=0,u=[];d\n[hidden] {\n display: none !important;\n}\n\n.ws-column-empty-state {\n width: 100%;\n height: 100%;\n min-height: 80px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: 1px dashed hsla(var(--ws-surface-text-color), 0.5);\n border-radius: 2px;\n box-sizing: border-box;\n transition: all 175ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.ws-column-empty-state:hover {\n border-color: transparent;\n box-shadow: inset 0 0 0 2px var(--ws-editor-warning-800);\n cursor: pointer;\n}\n\n.ws-column-empty-state__floating-action {\n position: relative;\n display: block;\n width: 24px;\n height: 24px;\n background-color: var(--ws-editor-warning-700);\n border-radius: 50%;\n box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);\n}\n\n.ws-column-empty-state__floating-action::before {\n content: attr(data-tooltip);\n position: absolute;\n top: 50%;\n left: 30px;\n transform: translateY(-50%);\n padding: 4px 8px;\n font-family: var(--ws-editor-font-family);\n font-size: 14px;\n line-height: 1;\n text-align: center;\n white-space: nowrap;\n color: var(--ws-editor-white);\n background: #222;\n border-radius: 4px;\n z-index: 1001;\n pointer-events: none;\n cursor: pointer;\n user-select: none;\n opacity: 0;\n transition: opacity 175ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.ws-column-empty-state:not(.ws-touch-device):hover\n.ws-column-empty-state__floating-action::before {\n opacity: 0.9;\n pointer-events: auto;\n}\n\n\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:r,SELECTORS:a,EMPTY_STATE_TPL:m,TRANSLATION_KEYS:d}=i,u=["columns","media-with-aside-text"],h=document.createElement("template");h.innerHTML=m;class p extends HTMLElement{constructor(){super(),this.isTouchDevice=n.a.mobile||n.a.tablet,this.injectedTranslations=window[d.ROOT_OBJECT]||{},this.isColumnsWidgetInithialized=!1,this.handlers={onEmptyStateClick:c.bind(this,p.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(a.block),l=o?o.getAttribute("src"):null;if(!l)return;const n=r[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),[,m]=i;let d=n[e];d||(d=m),Array.from(s).forEach(t=>{c&&t.classList.remove(...c.split(" ")),t.classList.remove(...m.split(" ")),t.classList.add(...d.split(" "))})}shouldHaveEmptyState(){return s()&&this.isUsedAsWidget()}isUsedAsWidget(){const t=this.closest(a.block),e=t&&t.hasAttribute("widget")?t.getAttribute("widget"):"";return u.includes(e)}initColumnsWidgetHandler(){this.setEmptyStateContent(),this.columnObserver=new MutationObserver(t=>{t.forEach(({target:t})=>{this.handleEmptyState(t)})}),Array.from(this.querySelectorAll(a.column)).forEach(t=>{if(!t.shadowRoot){t.attachShadow({mode:"open"}).appendChild(document.importNode(h.content,!0))}this.columnObserver.observe(t,{childList:!0}),this.handleEmptyState(t)}),this.isColumnsWidgetInithialized=!0}setEmptyStateContent(){const t=this.getTranslation(d.EMPTY_STATE_TOOLTIP);h.content.querySelector(a.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(a.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(a.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(a.column)).forEach(t=>{this.hideEmptyState(t)}),this.isColumnsWidgetInithialized=!1}}customElements.define("ws-columns",p)}});;!function(t){function e(e){for(var n,s,a=e[0],h=e[1],c=e[2],u=0,l=[];u0}});else{var t=window.document,e=[],i=null,n=null;o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return i||(i=function(t,i){n=t&&i?c(t,i):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),i},o._resetCrossOriginUpdater=function(){i=null,n=null},o.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},o.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,i){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!==i[e-1]}))},o.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},o.prototype._monitorIntersections=function(e){var i=e.defaultView;if(i&&-1==this._monitoringDocuments.indexOf(e)){var n=this._checkForIntersections,r=null,o=null;if(this.POLL_INTERVAL?r=i.setInterval(n,this.POLL_INTERVAL):(s(i,"resize",n,!0),s(e,"scroll",n,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in i&&(o=new i.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&&(r&&t.clearInterval(r),a(t,"resize",n,!0)),a(e,"scroll",n,!0),o&&o.disconnect()})),e!=(this.root&&this.root.ownerDocument||t)){var h=l(e);h&&this._monitorIntersections(h.ownerDocument)}}},o.prototype._unmonitorIntersections=function(e){var i=this._monitoringDocuments.indexOf(e);if(-1!=i){var n=this.root&&this.root.ownerDocument||t;if(!this._observationTargets.some((function(t){var i=t.element.ownerDocument;if(i==e)return!0;for(;i&&i!=n;){var r=l(i);if((i=r&&r.ownerDocument)==e)return!0}return!1}))){var r=this._monitoringUnsubscribes[i];if(this._monitoringDocuments.splice(i,1),this._monitoringUnsubscribes.splice(i,1),r(),e!=n){var o=l(e);o&&this._unmonitorIntersections(o.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e=0&&f>=0&&{top:d,bottom:l,left:p,right:m,width:g,height:f}||null),!v)break;b=b&&u(b)}return v}},o.prototype._getRootRect=function(){var e;if(this.root)e=h(this.root);else{var i=t.documentElement,n=t.body;e={top:0,left:0,right:i.clientWidth||n.clientWidth,width:i.clientWidth||n.clientWidth,bottom:i.clientHeight||n.clientHeight,height:i.clientHeight||n.clientHeight}}return this._expandRectByRootMargin(e)},o.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,i){return"px"==e.unit?e.value:e.value*(i%2?t.width:t.height)/100})),i={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return i.width=i.right-i.left,i.height=i.bottom-i.top,i},o.prototype._hasCrossedThreshold=function(t,e){var i=t&&t.isIntersecting?t.intersectionRatio||0:-1,n=e.isIntersecting?e.intersectionRatio||0:-1;if(i!==n)for(var r=0;r\n :host {\n display: block;\n max-width: var(${o}, 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 transition: opacity 1s;\n opacity: 0;\n }\n\n ::slotted(a),\n ::slotted(picture) {\n display: block;\n }\n\n ::slotted(a.ws-visible),\n ::slotted(picture.ws-visible),\n ::slotted(img.ws-visible),\n .ws-media-content-container.loaded.${s},\n .ws-media-content-container.loaded:not(.${s}) {\n opacity: 1;\n }\n \n\n
\n
\n \n
\n
\n`,r(a);var h=a;var c=function(t,e){t.call(this,e)};var d=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",c.bind(t,()=>{e([t.videoWidth,t.videoHeight])},{once:!0}))});case"img":{const e=navigator.userAgent.toLowerCase().includes("firefox");return t.complete?e?0===t.naturalWidth||0===t.naturalHeight?[150,150]:new Promise(e=>{setTimeout(()=>{e([t.naturalWidth,t.naturalHeight])},0)}):[t.naturalWidth,t.naturalHeight]:new Promise(i=>{t.addEventListener("load",c.bind(t,()=>{e&&0===t.naturalWidth||0===t.naturalHeight?i([150,150]):i([t.naturalWidth,t.naturalHeight])}),{once:!0})})}case"ws-iframe":{const{width:t,height:i}=e;return[t,i]}default:return[0,0]}};const u=new MutationObserver(t=>{const e=new Set;t.forEach(({type:t,target:i})=>{"childList"!==t&&i.matches(n.CONTAINER_TAG)||e.add(i.closest(n.CONTAINER_TAG))}),e.forEach(t=>{t&&t.getMediaAndRender&&t.getMediaAndRender()})});var l=function(t){u.observe(t,{subtree:!0,childList:!0,attributes:!0})};const p=new(i(0).a)(t=>{t.forEach(({target:t})=>t.getMediaAndRender())});var m=function(t){return p.observe(t),{unobserve(){p.unobserve(t)}}};i(41);const g=new IntersectionObserver(t=>{t.forEach(t=>{t.target.onIntersectionEntry&&t.target.onIntersectionEntry(t)})});var f=function(t){return g.observe(t),{unobserve(){g.unobserve(t)}}};var v=function(){try{return Boolean(window.parent.ws)}catch(t){return!1}};var b=function(t){return!isNaN(t)&&isFinite(t)};var w=function(t){const{parentElement:e}=t;if(!e)return null;const{paddingLeft:i,paddingRight:n}=getComputedStyle(e);return e.clientWidth-(parseFloat(i)+parseFloat(n))};var y=(t,e)=>{const i=t.style.getPropertyValue(e);if(i)return Number(i);const n=getComputedStyle(t).getPropertyValue(e);return n?Number(n):null};var _=function(t){return t&&"img"===t.tagName.toLowerCase()};const R=(t={},e)=>`${e}`,E=(t={})=>`${t.alt||`;var T=Object.freeze({imageMediaContainer:(t,e,i)=>{const n=E(e),r=Boolean(i&&i.href);return R(t,r?((t={},e)=>{const{href:i}=t,n=t.rel||"nofollow",r=t.target||"_blank",o=t.download||"";return`${e}`})(i,n):n)},pictureContainer:t=>E(t)}),O=Object.assign||function(t){for(var e=1;eparseFloat(t)):[50,50]}get transformScaleFactor(){const t=parseFloat(this.getAttribute("transform-scale-factor"));return isNaN(t)?1:t}get safeMode(){return this.hasAttribute("safe-mode")}constructor(){super();const t=this.attachShadow({mode:"open"});t.appendChild(document.importNode(h.content,!0)),this.mediaWrapper=t.querySelector(".media-wrapper"),this.mediaContainer=t.querySelector(".ws-media-content-container")}connectedCallback(){this.connected=!0,l(this),this.resizeObserver=m(this),this.parentWidth=w(this),this.hasWsTextParent=this.closest("ws-text"),this.safeMode?this.mediaContainer.classList.add(n.SAFE_MODE_CLASS):this.intersectionObserver=f(this),this.initWsBlockObserver(),this.getMediaAndRender()}disconnectedCallback(){this.resizeObserver.unobserve(),this.intersectionObserver&&this.intersectionObserver.unobserve(),this.disconnectWsBlockObserver()}attributeChangedCallback(t,e,i){this.connected&&e!==i&&(this.renderMedia(),"safe-mode"===t&&this.safeMode?(this.mediaContainer.classList.add(n.SAFE_MODE_CLASS),this.intersectionObserver&&this.intersectionObserver.unobserve()):"safe-mode"!==t||this.safeMode||(this.mediaContainer.classList.remove(n.SAFE_MODE_CLASS),this.intersectionObserver=f(this)))}initWsBlockObserver(){if(!v())return;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:i,borderBottomLeftRadius:n,borderBottomRightRadius:r}=t;this.mediaWrapper.style.borderBottomRightRadius=r,this.mediaWrapper.style.borderBottomLeftRadius=n,this.mediaWrapper.style.borderTopRightRadius=i,this.mediaWrapper.style.borderTopLeftRadius=e}get areaBounds(){const{width:t,height:e}=this.mediaWrapper.getBoundingClientRect(),i=this.transformScaleFactor;return{width:t/i,height:e/i}}get scaledBounds(){const{width:t,height:e}=this.areaBounds,i=Math.max(t/this.mediaWidth,e/this.mediaHeight);return{width:this.mediaWidth*i*this.contentScale,height:this.mediaHeight*i*this.contentScale,initialScale:i}}get constraints(){const{width:t,height:e}=this.areaBounds,{width:i,height:n}=this.scaledBounds,r=-t/2,o=t/2-(t-i),s=-e/2,a=e/2-(e-n);return{minX:r,maxX:o,minY:s,maxY:a,minXinPercents:Math.abs(r)/i*100,maxXinPercents:o/i*100,minYinPercents:Math.abs(s)/n*100,maxYinPercents:a/n*100}}get mediaBounds(){const{width:t,height:e}=this.scaledBounds,{width:i,height:n}=this.areaBounds,[r,o]=this.contentPosition,s=t*r/100,a=e*o/100,h=i-t,c=n-e,d=Math.min(0,Math.max(i/2-s,h)),u=Math.min(0,Math.max(n/2-a,c));return{width:this.mediaWidth,height:this.mediaHeight,position:{left:d,top:u}}}setContainerHeight(t){const e=this.getBoundingClientRect(),i=e.height-parseFloat(t.height,10);if(this.roundedImages)this.style.height=Math.round(e.width-i)+"px";else{const t=this.aspectRatio,n=this.minAspectRatio,r=this.maxAspectRatio,o=!b(n)||n<=0?t:n,s=b(r)?r:0,a=Math.max(s,Math.min(t,o));this.style.height=Math.round(e.width/a-i)+"px"}}setMaxAspectRatioForImage(){_(this.mediaElement)&&this.hasWsTextParent&&(this.mediaWidth\n .${a} {\n position: relative; \n height: 100%; \n overflow: hidden;\n }\n\n .${s} {\n position: absolute;\n width: 100%;\n height: 100%;\n }\n\n .${r}{\n width: 100%;\n height: 100%;\n background-position: center center;\n background-repeat: no-repeat;\n background-size: cover;\n }\n\n .${o} {\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 .${c} {\n opacity: 0;\n }\n \n .${h} {\n transition: opacity 1s;\n opacity: 1;\n }\n .${l} .${c} {\n opacity: 1;\n }\n\n\n
\n
\n
\n
\n
\n
\n`;var u=d;const p=new Map;var g=function(e){if(p.has(e))return p.get(e);const t=new Promise((t,i)=>{const n=new Image;n.onload=()=>t(n),n.onerror=i,n.src=e});return p.set(e,t),t};var b=async function(e){const t=await g(e),{height:i,width:n}=t;return!navigator.userAgent.toLowerCase().includes("firefox")||0!==i&&0!==n?[n,i]:[150,150]};const m=new(i(0).a)(e=>{e.forEach(({target:e})=>e.renderMedia())});var A=function(e){return m.observe(e),{unobserve(){m.unobserve(e)}}};var v=function(e){return!isNaN(e)&&isFinite(e)};var y=function(e){return g(e).then(()=>!0,()=>!1)};var f=function(){return g("data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoBAAEAAwA0JaQAA3AA/vuUAAA=").then(()=>!0,()=>!1)};var O=function(){try{return Boolean(window.parent.ws)}catch(e){return!1}};i(8);const S=new IntersectionObserver((e,t)=>{e.forEach(({target:e,isIntersecting:i})=>{i&&(e.setIntersectedStatus(!0),e.src&&(e.backgroundElement.classList.add(n.LOADING_CLASS),e.setupSrc().then(()=>{e.handleAnimation()}),t.unobserve(e)))})},{rootMargin:"0px 0px 600px 0px"});var E=e=>(S.observe(e),{disconnect(){S.unobserve(e)}});const w=new IntersectionObserver((e,t)=>{e.forEach(({target:e,isIntersecting:i})=>{i&&(e.handleAnimation(),t.unobserve(e))})});var _=e=>(w.observe(e),{disconnect(){w.unobserve(e)}}),C=Object.assign||function(e){for(var t=1;tparseFloat(e)):[50,50]}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 e=parseFloat(this.getAttribute("transform-scale-factor"));return isNaN(e)?1:e}get safeMode(){return this.hasAttribute("safe-mode")}constructor(){super();const e=this.attachShadow({mode:"open"});e.appendChild(document.importNode(u.content,!0)),this.container=e.querySelector("."+L),this.imageContainer=e.querySelector("."+N),this.backgroundElement=e.querySelector("."+I),this.overlayElement=e.querySelector("."+R),this.mobileMediaQuery=window.matchMedia(`(max-width: ${T}px)`),this.mediaHeight=0,this.mediaWidth=0,this.wasIntersected=!1,this.preventAnimation=this.shouldPreventAnimation(),this.preventAnimation&&this.backgroundElement.classList.add(B),this.isReadyForAnimation=!1,this.setupSrc=this.setupSrc.bind(this)}shouldPreventAnimation(){const e=this.closest("ws-block");if(!e||!e.parentNode)return!1;const t=Array.from(e.parentNode.children).indexOf(e);return!(t>1)&&(0===t||e.previousElementSibling.matches(G))}connectedCallback(){this.isHidden()||this.init()}disconnectedCallback(){this.destroy()}init(){this.preIntersectionObserver=E(this),this.safeMode||(this.intersectionObserver=_(this)),this.resizeObserver=A(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(e){this.wasIntersected=e}isHidden(){return this.hasAttribute("hidden")}async setupSrc(){const e=await this.getImageUrl(),[t,i]=await b(e);this.mediaWidth=t,this.mediaHeight=i,this.backgroundElement.style["background-image"]=`url("${e}")`,this.renderMedia()}attributeChangedCallback(e,t,i){if(t!==i)switch(e){case"safe-mode":this.safeMode?(this.intersectionObserver&&this.intersectionObserver.disconnect(),this.container.classList.add(P)):(this.intersectionObserver=_(this),this.container.classList.remove(P));break;case"position":case"scale":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":this.isHidden()?this.destroy():this.init()}}async getImageUrl(){if(O())return this.src;const e=this.mobileMediaQuery.matches&&this.srcMobile?this.srcMobile:this.src,t=await f();if(this.hasProgressiveSrc&&t){const t=e.replace(x,"")+".webp";if(await y(t))return t}return e}async computeBackgroundRectForSource(e,t={}){const i={scale:this.scale,position:this.position},n=C({},i,t),{scale:r,position:s}=n,[a,o]=await b(e),c=this.calculateScaledBounds(a,o,r);return this.computeBackgroundRect(s,c)}computeBackgroundRect(e,t){const{width:i,height:n}=this.areaBounds,{width:r,height:s}=t,[a,o]=e,c=r*a/100,h=s*o/100,l=i-r,d=n-s;return{width:r,height:s,position:{left:Math.min(0,Math.max(i/2-c,l)),top:Math.min(0,Math.max(n/2-h,d))}}}calculateScaledBounds(e,t,i){const{width:n,height:r}=this.areaBounds,s=Math.max(n/e,r/t);return{width:e*s*i,height:t*s*i,initialScale:s}}setupOverlayOpacity(){this.overlayElement.style.opacity=this.overlayOpacity||""}setupOverlay(){this.overlayElement.style.display=this.overlay?"block":""}setupFilter(){this.hasFilter?this.imageContainer.style.filter=M[this.filter]||M.grayscale:this.imageContainer.style.filter=""}setupOverlayBlendingMode(){const e=this.overlayElement.style["mix-blend-mode"];if(this.hasFilter&&this.overlay){const t=this.blendingMode||"hard-light";e!==t&&(this.overlayElement.style["mix-blend-mode"]=t)}else e&&(this.overlayElement.style["mix-blend-mode"]="")}get computedBlendingMode(){return this.overlayElement.style["mix-blend-mode"]||null}get areaBounds(){const e=this.container,{width:t,height:i}=e.getBoundingClientRect(),n=this.transformScaleFactor;return{width:t/n,height:i/n}}get scaledBounds(){return this.calculateScaledBounds(this.mediaWidth,this.mediaHeight,this.scale)}get constraints(){const{width:e,height:t}=this.areaBounds,{width:i,height:n}=this.scaledBounds,r=-e/2,s=e/2-(e-i),a=-t/2,o=t/2-(t-n);return{minX:r,maxX:s,minY:a,maxY:o,minXinPercents:Math.abs(r)/i*100,maxXinPercents:s/i*100,minYinPercents:Math.abs(a)/n*100,maxYinPercents:o/n*100}}renderMedia(){const{width:e,height:t,position:i}=this.computeBackgroundRect(this.position,this.scaledBounds),{style:n}=this.imageContainer;n.left=i.left+"px",n.top=i.top+"px",n.width=e+"px",n.height=t+"px"}handleAnimation(){this.preventAnimation||(this.isReadyForAnimation?(this.backgroundElement.classList.add(B),setTimeout(()=>{this.backgroundElement.classList.remove(B,k)},1e3)):this.isReadyForAnimation=!0)}}customElements.define(n.CONTAINER_TAG,D)}});;!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=16)}({16:function(n,e,t){n.exports=t(61)},61: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=null,a="#",s="Made on",c=46,l="logo",d="dark",u=document.createElement("template");u.innerHTML=`\n \n \n ${s}\n \n`;class g extends HTMLElement{static get observedAttributes(){return["logo","message","url","logo-width","theme"]}constructor(){super(),this.attachShadow({mode:"open"}).appendChild(u.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")||i,url:this.getAttribute("url")||a,message:this.getAttribute("message")||s,logoWidth:this.getAttribute("logo-width")||c,theme:this.getAttribute("theme")||d}}refreshData(){const{logo:n,url:e,message:t,logoWidth:o,theme:r}=this.getPropsValues(),i=document.createElement("a"),a=document.createElement("span");if(i.classList.add("ws-branding-content",r),i.href=e,a.innerText=t,i.append(a),n){const e=document.createElement("img");e.src=n,e.width=o,e.alt=l,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",g)}});;!function(e){var t={};function i(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=e,i.c=t,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=18)}({18:function(e,t,i){e.exports=i(47)},19:function(e,t){const i=["disabled","invalid"];class r extends HTMLElement{static get observedAttributes(){return[...i]}get disabled(){return this.hasAttribute("disabled")}get invalid(){return this.hasAttribute("invalid")}set disabled(e){e&&this.setAttribute("disabled",""),this.removeAttribute("disabled")}set invalid(e){e&&this.setAttribute("invalid",""),this.removeAttribute("invalid")}attributeChangedCallback(e){i.includes(e)&&this.proxyAttributeToInputs(e)}connectedCallback(){i.forEach(e=>{this.proxyAttributeToInputs(e)})}proxyAttributeToInputs(e){this.querySelectorAll("input, textarea, select").forEach(t=>{this[e]?t.setAttribute(e,""):t.removeAttribute(e)})}}customElements.define("ws-contact-form-group",r)},2:function(e){e.exports=JSON.parse('{"cs":{"This field is required":"Toto pole je třeba vyplnit","Invalid email":"Neplatný e-mail"},"de":{"This field is required":"Dieses Feld ist zwingend erforderlich","Invalid email":"ungültige E-Mail-Adresse"},"es":{"This field is required":"Este campo es obligatorio","Invalid email":"Correo electrónico no válido"},"fi":{"This field is required":"Tämä kenttä pitää täyttää","Invalid email":"Virheellinen sähköpostiosoite"},"fr":{"This field is required":"Ce champ est obligatoire.","Invalid email":"E-mail invalide"},"hu":{"This field is required":"Ennek a mezőnek a megadása kötelező","Invalid email":"Érvénytelen email"},"id":{"This field is required":"Bidang ini tidak boleh kosong","Invalid email":"Email tidak valid"},"it":{"This field is required":"Questo campo è obbligatorio","Invalid email":"Indirizzo email non valido"},"ja":{"This field is required":"このフィールドは必須です","Invalid email":"無効なメール"},"nb":{"This field is required":"Feltet er påkrevet","Invalid email":"Ugyldig e-postadresse"},"nl":{"This field is required":"Dit veld is verplicht","Invalid email":"Ongeldig e-mailadres"},"pl":{"This field is required":"To pole jest wymagane","Invalid email":"Nieprawidłowy adres e-mail"},"pt-br":{"This field is required":"Este campo é obrigatório","Invalid email":"E-mail inválido"},"ru":{"This field is required":"Обязательное поле","Invalid email":"Неверный электронный адрес"},"sk":{"This field is required":"Toto pole je povinné","Invalid email":"Nesprávny e-mail"},"sv":{"This field is required":"Detta fält måste fyllas i","Invalid email":"Ogiltig e-post"},"zh-cn":{"This field is required":"这个字段是必填项","Invalid email":"不合規電郵"},"en":{"This field is required":"This field is required","Invalid email":"Invalid email"}}')},47:function(e,t,i){"use strict";i.r(t);var r=function(e,t){e.call(this,t)};var n=function(){try{return Boolean(window.parent.ws)}catch(e){return!1}};var s=function(e){return!e.closest("ws-block")};var o=function(){if(document.querySelector("[data-ios-recaptcha-fix]"))return;const e=document.createElement("style");e.setAttribute("data-ios-recaptcha-fix",!0),e.innerHTML='\n body > div[style*="top: -10000px;"] {\n left: -100% !important;\n }\n ',document.head.appendChild(e)};function a(e){if(e.includes("AM")||e.includes("PM"))return e;const t=new RegExp(/([0-9]{1,2}):([0-9]{2})/),[i,r]=e.match(t).slice(1);return`${+i%12||12}:${r} ${+i<12?"AM":"PM"}`}function c(e){if(!e.includes("AM")&&!e.includes("PM"))return e;const t=new RegExp(/([0-9]{1,2}):([0-9]{2}) (AM|PM)/),[i,r,n]=e.match(t).slice(1);return`${("0"+(+i%12+("PM"===n?12:0))).slice(-2)}:${r}`}var d=Object.freeze({itemLabel:"ws-label",itemInput:"input",itemTextarea:"textarea",itemDropdown:"select",itemGroup:"ws-contact-form-group",itemDate:"ws-date-time-picker:not([no-calendar])",itemTime:"ws-date-time-picker[enable-time][no-calendar]",itemTitle:".ws-group-title",itemGrouped:".ws-group-item"});const l=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;var u={isNonEmpty:function(e){return""!==e.value.trim()},isValidEmail:function(e){const t=String(e.value).trim().toLowerCase();return l.test(t)}},h=[{errorType:"required",validationFunc:u.isNonEmpty,selectorMatches:"[required]:not([type=checkbox]):not(.flatpickr-input.active)"},{errorType:"invalid-email",validationFunc:u.isValidEmail,selectorMatches:'input[type="email"]'}],m=i(2);var p=function(e){const t=document.documentElement.lang;return m[t]&&m[t][e]?m[t][e]:e},b=Object.freeze({required:"This field is required","invalid-email":"Invalid email"});function f(e,t){const i=e.closest("ws-contact-form-group");if(i){const e=i.querySelector("ws-contact-form-validation-error");if(e){e.dataset.errorType!==t&&function(e,t){const i=e;i.dataset.errorType=t,i.innerHTML=p(b[t])}(e,t)}else i.append(function(e){const t=document.createElement("ws-contact-form-validation-error");return t.dataset.errorType=e,t.innerHTML=p(b[e]),t}(t));i.setAttribute("invalid","")}else e.setAttribute("invalid","")}var v=function e(t,i){const r=((e,t)=>t.every(t=>{const{validationFunc:i}=t;if(i(e))return function(e){const t=e.closest("ws-contact-form-group");if(t){const e=t.querySelector("ws-contact-form-validation-error");return e&&e.remove(),void t.removeAttribute("invalid")}e.removeAttribute("invalid")}(e),!0;const{errorType:r}=t;return f(e,r),!1}))(t,i);if(!r){const r=()=>{t.removeEventListener("input",r),e(t,i)},n=()=>{t.removeEventListener("input",r),t.removeEventListener("blur",n)};t.addEventListener("input",r),t.addEventListener("blur",n)}return r};function g(e){const t=h.map(e=>`${d.itemGroup} ${e.selectorMatches}`).join(",");return e.querySelectorAll(t)}var w=function(e){const t=[...g(e)],i=e=>{const t=h.filter(t=>e.matches(t.selectorMatches));return v(e,t)},r=e=>i(e.target);return{hasErrors(){if(t.length){const e=t.filter(e=>!i(e)),r=Boolean(e.length);if(r){const t=e[0];if(!(e=>{const{top:t,left:i,bottom:r,right:n}=e.getBoundingClientRect();return t>=0&&i>=0&&r<=(window.innerHeight||document.documentElement.clientHeight)&&n<=(window.innerWidth||document.documentElement.clientWidth)})(t)){(e=>{const t=document.querySelector("ws-header");if(t&&t.hasAttribute("stick-up")){const i=(window.pageYOffset||document.documentElement.scrollTop)+e.getBoundingClientRect().top-t.stickyHeaderHeight;window.scroll({top:i,behavior:"smooth"})}else e.scrollIntoView({behavior:"smooth"})})(t.closest(d.itemGroup)||t)}t.focus({preventScroll:!0})}return r}return!1},init(){t.length&&e.addEventListener("blur",r,!0)},destroy(){t.length&&e.removeEventListener("blur",r,!0)}}},y=["locale","page-id","site-id","site-name","destination"];var E=Object.freeze({email:'\n \n \n ',"multiline-text":"\n \n \n ","singleline-text":'\n \n \n ',date:'\n \n \n \n \n ',time:'\n \n \n \n \n ',checkbox:'\n
\n
\n \n \n
\n
',dropdown:"\n \n \n \n \n "}),x=Object.freeze({singleline:"singleline-text",multiline:"multiline-text",email:"email",date:"date",time:"time",checkbox:"checkbox",dropdown:"dropdown"}),A=Object.freeze({fieldIdPrefix:"input-",dateIdPrefix:"date-",timeIdPrefix:"time-",checkboxIdPrefix:"checkbox-",dropdownIdPrefix:"dropdown-"});var T=new IntersectionObserver(e=>{e.forEach(e=>{if(e.isIntersecting){const{target:t}=e;t.hasElementShown=!0,t.constructor.renderRecaptcha(e.target),t.disconnectObserver()}})});var S=function(){const e=document.documentElement.lang;return{nb:"no","pt-br":"pt-BR"}[e]||e},k=Object.assign||function(e){for(var t=1;t{C=!0}),{once:!0});class I extends HTMLElement{static addRecaptchaScript(){const e=S(),t=e?"hl="+e:"",i=document.createElement("script");i.src="https://www.google.com/recaptcha/api.js?render=explicit&"+t,i.defer=!0,document.querySelector("head").appendChild(i),q.isLoading=!0,i.onload=()=>{q.isLoading=!1,q.onLoadHandlers.forEach(e=>e()),q.onLoadHandlers=[]}}static renderRecaptcha(e){function t(){window.grecaptcha.ready(()=>{e.recaptchaWidget=window.grecaptcha.render(e.recaptchaNode,{sitekey:e.recaptchaKey})})}window.grecaptcha?t():(q.onLoadHandlers.push(t),q.isLoading||this.addRecaptchaScript())}static get observedAttributes(){return["ws-active","ws-error","ws-success","ws-recaptcha-key"]}static createHiddenInputElement(e,t){const i=document.createElement("input"),r=e.replace(/-/g,"_");return i.setAttribute("type","hidden"),i.setAttribute("name",r),i.setAttribute("value",t),i}static createHiddenInputSubmit(){const e=document.createElement("input");return e.setAttribute("hidden",""),e.setAttribute("type","submit"),e}constructor(){super(),this.handlers={onSubmit:r.bind(this,this.onSubmit),onChangeRequiredCheckboxes:r.bind(this,this.updateSubmitButtonState),onLoad:r.bind(this,this.onLoad)},this.strategies={"ws-active":this.setHideTimeout.bind(this),"ws-error":this.setErrorMessage.bind(this),"ws-success":this.setSuccessMessage.bind(this),"ws-recaptcha-key":this.setRecaptchaKey.bind(this)},this.messageContainer=document.querySelector("#form-output-global"),this.messageTextContainer=this.messageContainer&&this.messageContainer.querySelector("[form-output-text]"),this.hasElementShown=!1,this.requiredSingleCheckboxes=[],this.requiredGroupedCheckboxes=[],this.querySelectorAll(d.itemGroup).forEach(e=>{const t=e.querySelectorAll("[type=checkbox][required]");1===t.length&&this.requiredSingleCheckboxes.push(t[0]),t.length>1&&this.requiredGroupedCheckboxes.push(Array.from(t))}),this.allRequiredCheckboxes=[...this.requiredSingleCheckboxes,...this.requiredGroupedCheckboxes.flat()],this.submitButton=this.querySelector("[type=submit]"),this.isRunInEditor=n(),this.isRunInEditor&&o(),this.addRecaptcha()}static getTemplates(){return E}static getSelectors(){return d}static getFieldTypes(){return x}static getCommonConstants(){return A}static addLanguage(e,t){m[e]=k({},m[e],t)}connectedCallback(){this.hasElementShown||(C?T.observe(this):window.addEventListener("load",this.handlers.onLoad)),this.addEventListener("submit",this.handlers.onSubmit),this.handleWSButtonAttributes(),this.handleWSButtonEvents(!0),this.handleFormElement(),this.isRunInEditor||(this.addHiddenInputs(),this.updateSubmitButtonState(),this.allRequiredCheckboxes.forEach(e=>{e.addEventListener("change",this.handlers.onChangeRequiredCheckboxes)}),this.validation=w(this),this.validation.init())}disconnectObserver(){T.unobserve(this)}disconnectedCallback(){window.removeEventListener("load",this.handlers.onLoad),this.removeEventListener("submit",this.handlers.onSubmit),this.handleWSButtonEvents(!1),this.clearHideTimeout(),this.isRunInEditor||(this.allRequiredCheckboxes.forEach(e=>{e.removeEventListener("change",this.handlers.onChangeRequiredCheckboxes)}),this.validation.destroy()),this.disconnectObserver()}attributeChangedCallback(e,t){const i=this.getStrategy(e);i&&i(t)}updateSubmitButtonState(){this.areRequiredCheckboxesChecked()?this.submitButton.removeAttribute("disabled"):this.submitButton.setAttribute("disabled","")}areRequiredCheckboxesChecked(){const e=e=>e.checked,t=this.requiredGroupedCheckboxes.every(t=>t.some(e)),i=this.requiredSingleCheckboxes.every(e);return t&&i}get active(){return this.hasAttribute("ws-active")}set active(e){e?this.setAttribute("ws-active",""):this.removeAttribute("ws-active")}setHideTimeout(){this.active&&(this.hideTimeout=setTimeout(()=>{this.active=!1,this.removeAttribute("ws-error"),this.removeAttribute("ws-success"),this.messageContainer.classList.remove("ws-active","ws-success","ws-error")},2e3))}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}getStrategy(e){return this.strategies[e]}getFormData(e){const t=new FormData(e),i=new FormData;let r=0;for(const e of t){const[t,n]=e,s=this.querySelector(`[name="${t}"]`),{id:o}=s;if(o){const e=this.querySelector(`label[for="${o}"], ws-label[for="${o}"]`),l=s.closest(d.itemTime);if(e){if(i.append(r+"\n \n ${e.reduce((e,t)=>{const{title:i,code:s}=t;return`\n ${e}\n ${i}\n `},"")}\n \n `,i};const f=window.matchMedia("(min-width: 1200px)");window.ShadyCSS&&window.ShadyCSS.prepareTemplate(u,"ws-language-selector");class L extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(u.content.cloneNode(!0)),this.handlers={onChangeTemplate:h.bind(this,this.changeTemplate),onListboxToggle:h.bind(this,this.onListboxToggle),onListboxClickOutside:h.bind(this,this.onListboxClickOutside),onListboxClick:h.bind(this,e=>e.preventDefault()),onSelectChange:h.bind(this,e=>{window.location.assign(e.target.value)})}}connectedCallback(){this.hidden||(window.ShadyCSS&&window.ShadyCSS.styleElement(this),this.setLanguageData(),this.changeTemplate(),f.addListener(this.handlers.onChangeTemplate),this.connected=!0)}disconnectedCallback(){this.connected&&(f.removeListener(this.handlers.onChangeTemplate),this.removeTemplateListeners())}setLanguageData(){this.mainLanguage=this.getAttribute(a);const e=p(this.mainLanguage),t=this.querySelectorAll("symbol");this.languages=[...t].map(t=>{const n=t.getAttribute(i),a=t.getAttribute(s);return n===e&&(this.currentLanguage={code:n,title:a}),{code:n,title:a}})}changeTemplate(e=f){const t=this.querySelectorAll("[data-template]");let n;t&&(this.removeTemplateListeners(),[...t].forEach(e=>e.remove())),e.matches?(this.template="listbox",n=m(this.languages,this.currentLanguage,this.mainLanguage)):(this.template="select",n=x(this.languages,this.currentLanguage,this.mainLanguage)),this.appendChild(n.content),this.addTemplateListeners()}addTemplateListeners(){"listbox"===this.template?(this.listboxButton=this.querySelector("."+r),this.listbox=this.querySelector("."+o),this.listboxButton.addEventListener("click",this.handlers.onListboxToggle),document.addEventListener("click",this.handlers.onListboxClickOutside),g()&&this.listbox.addEventListener("click",this.handlers.onListboxClick)):"select"===this.template&&(this.select=this.querySelector("."+c),g()||this.select.addEventListener("change",this.handlers.onSelectChange))}removeTemplateListeners(){"listbox"===this.template?(this.listboxButton.removeEventListener("click",this.handlers.onListboxToggle),document.removeEventListener("click",this.handlers.onListboxClickOutside),g()&&this.listbox.removeEventListener("click",this.handlers.onListboxClick)):"select"===this.template&&(g()||this.select.addEventListener("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)}onListboxClickOutside(e){!this.contains(e.target)&&this.listboxExpanded&&this.onListboxToggle()}}customElements.define("ws-language-selector",L)}});;!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=>"mobile"===e.getPlatformType(),b=e=>"tablet"===e.getPlatformType(),y=e=>"desktop"===e.getPlatformType(),x=e=>e.getOSVersion(),_=(e,t)=>e.satisfies(t);const M=n.n(i).a.getParser(window.navigator.userAgent||"");t.default={chrome:r(M),chromium:o(M),edge:a(M),firefox:s(M),ie:l(M),opera:u(M),safari:c(M),android:f(M),ios:p(M),iPadOS:m(M),linux:h(M),macOS:v(M)&&!m(M),windows:g(M),mobile:w(M),tablet:b(M)||m(M),desktop:y(M)&&!m(M),version:x(M),isSatisfied:e=>_(M,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)},Ae=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,Ae("mouseUsed")),Be=setTimeout((function(){Be=null}),100)},De=function(e,t){var n=Ut(o.currItem,fe,e);return t&&(ee=n),n},ze=function(e){return e||(e=o.currItem),e.initialZoomLevel},Ze=function(e){return e||(e=o.currItem),e.w>0?a.maxSpreadZoom:1},We=function(e,t,n,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:Ae,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,Ae("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&&(Ae("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),Ae("bindEvents")})),o.setContent(_[1],c),o.updateCurrItem(),Ae("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,Ae("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),Ae("unbindEvents"),Gt(o.currItem,null,!0,o.destroy))},destroy:function(){Ae("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,Ae("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),Ae("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)),Ae("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),Ae("preventDragEvent",e,t,gt),gt.prevent},bt=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},yt=function(e,t,n){n.x=.5*(e.x+t.x),n.y=.5*(e.y+t.y)},xt=function(){var e=de.y-o.currItem.initialPosition.y;return 1-Math.abs(e/(fe.y/2))},_t={},Mt={},St=[],At=function(e){for(;St.length>0;)St.pop();return P?(le=0,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},Ot=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(),Ae("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=At(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,Ae("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=Oe(),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=At(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,Ae("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,Ae("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}}(Oe(),$e.x,$e.y),H=!0,ee=o.currItem.bounds,Ot("x",et)||(Ot("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(Ae("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=At(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"})),Ae("touchRelease",e,t));var u=-1;if(0===l&&(q=!1,r.unbind(window,p,o),mt(),$?u=0:-1!==ut&&(u=Oe()-ut)),ut=1===l?Oe():-1,i=-1!==u&&u<150?"zoom":"swipe",$&&l<2&&($=!1,1===l&&(i="zoomPointerUp"),Ae("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=Oe()-Z+50,t=ot[ot.length-2][i]):(e=Oe()-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,Ae("mainScrollAnimStart"),Xe("mainScroll",ct.x,f,d,r.easing.cubic.out,Ie,(function(){Ye(),ne=!1,st=-1,(n||st!==c)&&o.updateCurrItem(),Ae("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[A]=Et,h[O]=Ft,T&&(h[T]=h[O]),N.touch&&(m+=" mousedown",p+=" mousemove mouseup",h.mousedown=h[S],h.mousemove=h[A],h.mouseup=h[O]),F||(a.allowPanToNext=!1)}}});var Bt,Nt,Dt,zt,Zt,Wt,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"),Ae("initialZoom"+(i?"OutEnd":"InEnd"))),s&&s(),zt=!1};if(!p||!l||void 0===l.x)return Ae("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(Ae("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}),Ae("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){Ae("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,Ae("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 Ae("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},A=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)}},O=function(e,n,i){t[(i?"add":"remove")+"Class"](e,"pswp__"+n)},T=function(){var e=1===v.getNumItemsFn();e!==h&&(O(i,"ui--one-slide",e),h=e)},E=function(){O(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