PageSourceSearch

https://leplougastel.fr/js/app.js?id=24c4b2fd0f39cddcd386a9f3ce0fe3d1

js leplougastel.fr collected 2026-10-08 08:03:15 UTC 692,081 bytes, 2 lines download raw bytes

vendor: 4,580 bytes, lines 1-2
1/*! For license information please see app.js.LICENSE.txt */
2(()=>{var t,e={72:(t,e,i)=>{"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},s=function(){var t={};return function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}t[e]=i}return t[e]}}(),o=[];function a(t){for(var e=-1,i=0;i<o.length;i++)if(o[i].identifier===t){e=i;break}return e}function l(t,e){for(var i={},n=[],r=0;r<t.length;r++){var s=t[r],l=e.base?s[0]+e.base:s[0],c=i[l]||0,h="".concat(l," ").concat(c);i[l]=c+1;var d=a(h),u={css:s[1],media:s[2],sourceMap:s[3]};-1!==d?(o[d].references++,o[d].updater(u)):o.push({identifier:h,updater:m(u,e),references:1}),n.push(h)}return n}function c(t){var e=document.createElement("style"),n=t.attributes||{};if(void 0===n.nonce){var r=i.nc;r&&(n.nonce=r)}if(Object.keys(n).forEach(function(t){e.setAttribute(t,n[t])}),"function"==typeof t.insert)t.insert(e);else{var o=s(t.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(e)}return e}var h,d=(h=[],function(t,e){return h[t]=e,h.filter(Boolean).join("\n")});function u(t,e,i,n){var r=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(t.styleSheet)t.styleSheet.cssText=d(e,r);else{var s=document.createTextNode(r),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(s,o[e]):t.appendChild(s)}}function p(t,e,i){var n=i.css,r=i.media,s=i.sourceMap;if(r?t.setAttribute("media",r):t.removeAttribute("media"),s&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var f=null,g=0;function m(t,e){var i,n,r;if(e.singleton){var s=g++;i=f||(f=c(e)),n=u.bind(null,i,s,!1),r=u.bind(null,i,s,!0)}else i=c(e),n=p.bind(null,i,e),r=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(i)};return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else r()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=r());var i=l(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var n=0;n<i.length;n++){var r=a(i[n]);o[r].references--}for(var s=l(t,e),c=0;c<i.length;c++){var h=a(i[c]);0===o[h].references&&(o[h].updater(),o.splice(h,1))}i=s}}}},189:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});var n=i(314),r=i.n(n)()(function(t){return t[1]});r.push([t.id,'@font-face{font-family:swiper-icons;font-style:normal;font-weight:400;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMk
2pFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA")}:root{--swiper-theme-color:#007aff}:host{display:block;margin-left:auto;margin-right:auto;position:relative;z-index:1}.swiper{display:block;list-style:none;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;position:relative;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{box-sizing:content-box;display:flex;height:100%;position:relative;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);width:100%;z-index:1}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{display:block;flex-shrink:0;height:100%;position:relative;transition-property:transform;width:100%}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{backface-visibility:hidden;transform:translateZ(0)}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{-ms-overflow-style:none;overflow:auto;scrollbar-width:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);min-width:1px;width:100%}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-lazy-preloader{border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top:4px solid transparent;box-sizing:border-box;height:42px;left:50%;margin-left:-21px;margin-top:-21px;position:absolute;top:50%;transform-origin:50%;width:42px;z-index:10}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s linear infinite}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper:after{content:"";left:0;pointer-events:none;position:absolute;top:0}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper:after{height:var(--swiper-virtual-size);width:1px}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{align-items:center;color:var(--swiper-navigation-color,var(--swiper-theme-color));cursor:pointer;display:flex;height:var(--swiper-navigation-size);justify-content:center;margin-top:calc(0px - var(--swiper-navigation-size)/2);position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/44*27);z-index:10}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{cursor:auto;opacity:0;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{height:100%;-o-object-fit:contain;object-fit:contain;transform-origin:center;width:100%}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px
2);right:auto}.swiper-button-lock{display:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);font-variant:normal;letter-spacing:0;line-height:1;text-transform:none!important}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{left:auto;right:var(--swiper-navigation-sides-offset,10px)}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.swiper-pagination{position:absolute;text-align:center;transform:translateZ(0);transition:opacity .3s;z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);left:0;top:var(--swiper-pagination-top,auto);width:100%}.swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{position:relative;transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{background:var(--swiper-pagination-bullet-inactive-color,#000);border-radius:var(--swiper-pagination-bullet-border-radius,50%);display:inline-block;height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));opacity:var(--swiper-pagination-bullet-inactive-opacity,.2);width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px))}button.swiper-pagination-bullet{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;box-shadow:none;margin:0;padding:0}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{background:var(--swiper-pagination-color,var(--swiper-theme-color));opacity:var(--swiper-pagination-bullet-opacity,1)}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{left:var(--swiper-pagination-left,auto);right:var(--swiper-pagination-right,8px);top:50%;transform:translate3d(0,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{display:block;margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:transform .2s,top .2s}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,left .2s}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));
2height:100%;left:0;position:absolute;top:0;transform:scale(0);transform-origin:left top;width:100%}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0;width:100%}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{height:100%;left:0;top:0;width:var(--swiper-pagination-progressbar-size,4px)}.swiper-pagination-lock{display:none}.swiper-scrollbar{background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1));border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{bottom:var(--swiper-scrollbar-bottom,4px);height:var(--swiper-scrollbar-size,4px);left:var(--swiper-scrollbar-sides-offset,1%);position:absolute;top:var(--swiper-scrollbar-top,auto);width:calc(100% - var(--swiper-scrollbar-sides-offset, 1%)*2);z-index:50}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{height:calc(100% - var(--swiper-scrollbar-sides-offset, 1%)*2);left:var(--swiper-scrollbar-left,auto);position:absolute;right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);width:var(--swiper-scrollbar-size,4px);z-index:50}.swiper-scrollbar-drag{background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);height:100%;left:0;position:relative;top:0;width:100%}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{align-items:center;display:flex;height:100%;justify-content:center;text-align:center;width:100%}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper .swiper-notification{left:0;opacity:0;pointer-events:none;position:absolute;top:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{margin:0 auto;transition-timing-function:ease-out}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-direction:column;flex-wrap:wrap}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{backface-visibility:hidden;height:100%;pointer-events:none;transform-origin:0 0;visibility:hidden;width:100%;z-index:1}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{bottom:0;height:100%;left:0;opacity:.6;position:absolute;width:100%;z-index:0}.swiper-cube .swiper-cube-shadow:before{background:#000;bottom:0;content:"";filter:blur(50px);left:0;position:absolute;right:0;top:0}.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top{backface-visibility:hidden;z-index:0}.swiper.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{backface-visibility:hidden;pointer-events:none;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top{backface-visibility:hidden;z-index:0}.swiper-creative .swiper-slide{backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{backface-visibility:hidden;overflow:hidden;transform-origin:center bottom}',""]);const s=r},205:()=>{},251:(t,e)=>
vendor: 7,324 bytes, line 2
2{e.read=function(t,e,i,n,r){var s,o,a=8*r-n-1,l=(1<<a)-1,c=l>>1,h=-7,d=i?r-1:0,u=i?-1:1,p=t[e+d];for(d+=u,s=p&(1<<-h)-1,p>>=-h,h+=a;h>0;s=256*s+t[e+d],d+=u,h-=8);for(o=s&(1<<-h)-1,s>>=-h,h+=n;h>0;o=256*o+t[e+d],d+=u,h-=8);if(0===s)s=1-c;else{if(s===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,n),s-=c}return(p?-1:1)*o*Math.pow(2,s-n)},e.write=function(t,e,i,n,r,s){var o,a,l,c=8*s-r-1,h=(1<<c)-1,d=h>>1,u=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:s-1,f=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=h):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),(e+=o+d>=1?u/l:u*Math.pow(2,1-d))*l>=2&&(o++,l/=2),o+d>=h?(a=0,o=h):o+d>=1?(a=(e*l-1)*Math.pow(2,r),o+=d):(a=e*Math.pow(2,d-1)*Math.pow(2,r),o=0));r>=8;t[i+p]=255&a,p+=f,a/=256,r-=8);for(o=o<<r|a,c+=r;c>0;t[i+p]=255&o,p+=f,o/=256,c-=8);t[i+p-f]|=128*g}},287:(t,e,i)=>{"use strict";var n=i(526),r=i(251),s=i(634);function o(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(o()<e)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=l.prototype:(null===t&&(t=new l(e)),t.length=e),t}function l(t,e,i){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(t,e,i);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return d(this,t)}return c(this,t,e,i)}function c(t,e,i,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,i,n){if(e.byteLength,i<0||e.byteLength<i)throw new RangeError("'offset' is out of bounds");if(e.byteLength<i+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===i&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,i):new Uint8Array(e,i,n);l.TYPED_ARRAY_SUPPORT?(t=e).__proto__=l.prototype:t=u(t,e);return t}(t,e,i,n):"string"==typeof e?function(t,e,i){"string"==typeof i&&""!==i||(i="utf8");if(!l.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var n=0|f(e,i);t=a(t,n);var r=t.write(e,i);r!==n&&(t=t.slice(0,r));return t}(t,e,i):function(t,e){if(l.isBuffer(e)){var i=0|p(e.length);return 0===(t=a(t,i)).length||e.copy(t,0,0,i),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?a(t,0):u(t,e);if("Buffer"===e.type&&s(e.data))return u(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function h(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function d(t,e){if(h(e),t=a(t,e<0?0:0|p(e)),!l.TYPED_ARRAY_SUPPORT)for(var i=0;i<e;++i)t[i]=0;return t}function u(t,e){var i=e.length<0?0:0|p(e.length);t=a(t,i);for(var n=0;n<i;n+=1)t[n]=255&e[n];return t}function p(t){if(t>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function f(t,e){if(l.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var i=t.length;if(0===i)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return G(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return W(t).length;default:if(n)return G(t).length;e=(""+e).toLowerCase(),n=!0}}function g(t,e,i){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return I(this,e,i);case"utf8":case"utf-8":return T(this,e,i);case"ascii":return k(this,e,i);case"latin1":case"binary":return M(this,e,i);case"base64":return C(this,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,i);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function m(t,e,i){var n=t[e];t[e]=t[i],t[i]=n}function _(t,e,i,n,r){if(0===t.length)return-1;if("string"==typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=r?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(r)return-1;i=t.length-1}else if(i<0){if(!r)return-1;i=0}if("string"==typeof e&&(e=l.from(e,n)),l.isBuffer(e))return 0===e.length?-1:v(t,e,i,n,r);if("number"==typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,i):Uint8Array.prototype.lastIndexOf.call(t,e,i):v(t,[e],i,n,r);throw new TypeError("val must be string, number or Buffer")}function v(t,e,i,n,r){var s,o=1,a=t.length,l=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;o=2,a/=2,l/=2,i/=2}function c(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(r){var h=-1;for(s=i;s<a;s++)if(c(t,s)===c(e,-1===h?0:s-h)){if(-1===h&&(h=s),s-h+1===l)return h*o}else-1!==h&&(s-=s-h),h=-1}else for(i+l>a&&(i=a-l),s=i;s>=0;s--){for(var d=!0,u=0;u<l;u++)if(c(t,s+u)!==c(e,u)){d=!1;break}if(d)return s}return-1}function y(t,e,i,n){i=Number(i)||0;var r=t.length-i;n?(n=Number(n))>r&&(n=r):n=r;var s=e.length;if(s%2!=0)throw new TypeError("Invalid hex string");n>s/2&&(n=s/2);for(var o=0;o<n;++o){var a=parseInt(e.substr(2*o,2),16);if(isNaN(a))return o;t[i+o]=a}return o}function w(t,e,i,n){return Y(G(e,t.length-i),t,i,n)}function x(t,e,i,n){return Y(function(t){for(var e=[],i=0;i<t.length;++i)e.push(255&t.charCodeAt(i));return e}(e),t,i,n)}function b(t,e,i,n){return x(t,e,i,n)}function E(t,e,i,n){return Y(W(e),t,i,n)}function S(t,e,i,n){return Y(function(t,e){for(var i,n,r,s=[],o=0;o<t.length&&!((e-=2)<0);++o)n=(i=t.charCodeAt(o))>>8,r=i%256,s.push(r),s.push(n);return s}(e,t.length-i),t,i,n)}function C(t,e,i){return 0===e&&i===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,i))}function T(t,e,i){i=Math.min(t.length,i);for(var n=[],r=e;r<i;){var s,o,a,l,c=t[r],h=null,d=c>239?4:c>223?3:c>191?2:1;if(r+d<=i)switch(d){case 1:c<128&&(h=c);break;case 2:128==(192&(s=t[r+1]))&&(l=(31&c)<<6|63&s)>127&&(h=l);break;case 3:s=t[r+1],o=t[r+2],128==(192&s)&&128==(192&o)&&(l=(15&c)<<12|(63&s)<<6|63&o)>2047&&(l<55296||l>57343)&&(h=l);break;case 4:s=t[r+1],o=t[r+2],a=t[r+3],128==(192&s)&&128==(192&o)&&128==(192&a)&&(l=(15&c)<<18|(63&s)<<12|(63&o)<<6|63&a)>65535&&l<1114112&&(h=l)}null===h?(h=65533,d=1):h>65535&&(h-=65536,n.push(h>>>10&1023|55296),h=56320|1023&h),n.push(h),r+=d}return function(t){var e=t.length;if(e<=A)return String.fromCharCode.apply(String,t);var i="",n=0;for(;n<e;)i+=String.fromCharCode.apply(String,t.slice(n,n+=A));return i}(n)}e.hp=l,e.IS=50,l.TYPED_ARRAY_SUPPORT=void 0!==i.g.TYPED_ARRAY_SUPPORT?i.g.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),o(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t}
vendor: 5,802 bytes, line 2
2,l.from=function(t,e,i){return c(null,t,e,i)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,i){return function(t,e,i,n){return h(e),e<=0?a(t,e):void 0!==i?"string"==typeof n?a(t,e).fill(i,n):a(t,e).fill(i):a(t,e)}(null,t,e,i)},l.allocUnsafe=function(t){return d(null,t)},l.allocUnsafeSlow=function(t){return d(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var i=t.length,n=e.length,r=0,s=Math.min(i,n);r<s;++r)if(t[r]!==e[r]){i=t[r],n=e[r];break}return i<n?-1:n<i?1:0},l.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(t,e){if(!s(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);var i;if(void 0===e)for(e=0,i=0;i<t.length;++i)e+=t[i].length;var n=l.allocUnsafe(e),r=0;for(i=0;i<t.length;++i){var o=t[i];if(!l.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,r),r+=o.length}return n},l.byteLength=f,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)m(this,e,e+1);return this},l.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},l.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},l.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?T(this,0,t):g.apply(this,arguments)},l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){var t="",i=e.IS;return this.length>0&&(t=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(t+=" ... ")),"<Buffer "+t+">"},l.prototype.compare=function(t,e,i,n,r){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===i&&(i=t?t.length:0),void 0===n&&(n=0),void 0===r&&(r=this.length),e<0||i>t.length||n<0||r>this.length)throw new RangeError("out of range index");if(n>=r&&e>=i)return 0;if(n>=r)return-1;if(e>=i)return 1;if(this===t)return 0;for(var s=(r>>>=0)-(n>>>=0),o=(i>>>=0)-(e>>>=0),a=Math.min(s,o),c=this.slice(n,r),h=t.slice(e,i),d=0;d<a;++d)if(c[d]!==h[d]){s=c[d],o=h[d];break}return s<o?-1:o<s?1:0},l.prototype.includes=function(t,e,i){return-1!==this.indexOf(t,e,i)},l.prototype.indexOf=function(t,e,i){return _(this,t,e,i,!0)},l.prototype.lastIndexOf=function(t,e,i){return _(this,t,e,i,!1)},l.prototype.write=function(t,e,i,n){if(void 0===e)n="utf8",i=this.length,e=0;else if(void 0===i&&"string"==typeof e)n=e,i=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(i)?(i|=0,void 0===n&&(n="utf8")):(n=i,i=void 0)}var r=this.length-e;if((void 0===i||i>r)&&(i=r),t.length>0&&(i<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var s=!1;;)switch(n){case"hex":return y(this,t,e,i);case"utf8":case"utf-8":return w(this,t,e,i);case"ascii":return x(this,t,e,i);case"latin1":case"binary":return b(this,t,e,i);case"base64":return E(this,t,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,i);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var A=4096;function k(t,e,i){var n="";i=Math.min(t.length,i);for(var r=e;r<i;++r)n+=String.fromCharCode(127&t[r]);return n}function M(t,e,i){var n="";i=Math.min(t.length,i);for(var r=e;r<i;++r)n+=String.fromCharCode(t[r]);return n}function I(t,e,i){var n=t.length;(!e||e<0)&&(e=0),(!i||i<0||i>n)&&(i=n);for(var r="",s=e;s<i;++s)r+=j(t[s]);return r}function R(t,e,i){for(var n=t.slice(e,i),r="",s=0;s<n.length;s+=2)r+=String.fromCharCode(n[s]+256*n[s+1]);return r}function L(t,e,i){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>i)throw new RangeError("Trying to access beyond buffer length")}function P(t,e,i,n,r,s){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<s)throw new RangeError('"value" argument is out of bounds');if(i+n>t.length)throw new RangeError("Index out of range")}function D(t,e,i,n){e<0&&(e=65535+e+1);for(var r=0,s=Math.min(t.length-i,2);r<s;++r)t[i+r]=(e&255<<8*(n?r:1-r))>>>8*(n?r:1-r)}function O(t,e,i,n){e<0&&(e=4294967295+e+1);for(var r=0,s=Math.min(t.length-i,4);r<s;++r)t[i+r]=e>>>8*(n?r:3-r)&255}function F(t,e,i,n,r,s){if(i+n>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function z(t,e,i,n,s){return s||F(t,0,i,4),r.write(t,e,i,n,23,4),i+4}function N(t,e,i,n,s){return s||F(t,0,i,8),r.write(t,e,i,n,52,8),i+8}l.prototype.slice=function(t,e){var i,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),l.TYPED_ARRAY_SUPPORT)(i=this.subarray(t,e)).__proto__=l.prototype;else{var r=e-t;i=new l(r,void 0);for(var s=0;s<r;++s)i[s]=this[s+t]}return i}
vendor: 4,169 bytes, line 2
2,l.prototype.readUIntLE=function(t,e,i){t|=0,e|=0,i||L(t,e,this.length);for(var n=this[t],r=1,s=0;++s<e&&(r*=256);)n+=this[t+s]*r;return n},l.prototype.readUIntBE=function(t,e,i){t|=0,e|=0,i||L(t,e,this.length);for(var n=this[t+--e],r=1;e>0&&(r*=256);)n+=this[t+--e]*r;return n},l.prototype.readUInt8=function(t,e){return e||L(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||L(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||L(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||L(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||L(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,i){t|=0,e|=0,i||L(t,e,this.length);for(var n=this[t],r=1,s=0;++s<e&&(r*=256);)n+=this[t+s]*r;return n>=(r*=128)&&(n-=Math.pow(2,8*e)),n},l.prototype.readIntBE=function(t,e,i){t|=0,e|=0,i||L(t,e,this.length);for(var n=e,r=1,s=this[t+--n];n>0&&(r*=256);)s+=this[t+--n]*r;return s>=(r*=128)&&(s-=Math.pow(2,8*e)),s},l.prototype.readInt8=function(t,e){return e||L(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||L(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},l.prototype.readInt16BE=function(t,e){e||L(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},l.prototype.readInt32LE=function(t,e){return e||L(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||L(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||L(t,4,this.length),r.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||L(t,4,this.length),r.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||L(t,8,this.length),r.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||L(t,8,this.length),r.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,i,n){(t=+t,e|=0,i|=0,n)||P(this,t,e,i,Math.pow(2,8*i)-1,0);var r=1,s=0;for(this[e]=255&t;++s<i&&(r*=256);)this[e+s]=t/r&255;return e+i},l.prototype.writeUIntBE=function(t,e,i,n){(t=+t,e|=0,i|=0,n)||P(this,t,e,i,Math.pow(2,8*i)-1,0);var r=i-1,s=1;for(this[e+r]=255&t;--r>=0&&(s*=256);)this[e+r]=t/s&255;return e+i},l.prototype.writeUInt8=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):O(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):O(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,i,n){if(t=+t,e|=0,!n){var r=Math.pow(2,8*i-1);P(this,t,e,i,r-1,-r)}var s=0,o=1,a=0;for(this[e]=255&t;++s<i&&(o*=256);)t<0&&0===a&&0!==this[e+s-1]&&(a=1),this[e+s]=(t/o|0)-a&255;return e+i},l.prototype.writeIntBE=function(t,e,i,n){if(t=+t,e|=0,!n){var r=Math.pow(2,8*i-1);P(this,t,e,i,r-1,-r)}var s=i-1,o=1,a=0;for(this[e+s]=255&t;--s>=0&&(o*=256);)t<0&&0===a&&0!==this[e+s+1]&&(a=1),this[e+s]=(t/o|0)-a&255;return e+i},l.prototype.writeInt8=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>
28,this[e+1]=255&t):D(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):O(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,i){return t=+t,e|=0,i||P(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):O(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,i){return z(this,t,e,!0,i)},l.prototype.writeFloatBE=function(t,e,i){return z(this,t,e,!1,i)},l.prototype.writeDoubleLE=function(t,e,i){return N(this,t,e,!0,i)},l.prototype.writeDoubleBE=function(t,e,i){return N(this,t,e,!1,i)},l.prototype.copy=function(t,e,i,n){if(i||(i=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<i&&(n=i),n===i)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-i&&(n=t.length-e+i);var r,s=n-i;if(this===t&&i<e&&e<n)for(r=s-1;r>=0;--r)t[r+e]=this[r+i];else if(s<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r<s;++r)t[r+e]=this[r+i];else Uint8Array.prototype.set.call(t,this.subarray(i,i+s),e);return s},l.prototype.fill=function(t,e,i,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,i=this.length):"string"==typeof i&&(n=i,i=this.length),1===t.length){var r=t.charCodeAt(0);r<256&&(t=r)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<i)throw new RangeError("Out of range index");if(i<=e)return this;var s;if(e>>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"==typeof t)for(s=e;s<i;++s)this[s]=t;else{var o=l.isBuffer(t)?t:G(new l(t,n).toString()),a=o.length;for(s=0;s<i-e;++s)this[s+e]=o[s%a]}return this};var B=/[^+\/0-9A-Za-z-_]/g;function j(t){return t<16?"0"+t.toString(16):t.toString(16)}function G(t,e){var i;e=e||1/0;for(var n=t.length,r=null,s=[],o=0;o<n;++o){if((i=t.charCodeAt(o))>55295&&i<57344){if(!r){if(i>56319){(e-=3)>-1&&s.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&s.push(239,191,189);continue}r=i;continue}if(i<56320){(e-=3)>-1&&s.push(239,191,189),r=i;continue}i=65536+(r-55296<<10|i-56320)}else r&&(e-=3)>-1&&s.push(239,191,189);if(r=null,i<128){if((e-=1)<0)break;s.push(i)}else if(i<2048){if((e-=2)<0)break;s.push(i>>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;s.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;s.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return s}function W(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(B,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Y(t,e,i,n){for(var r=0;r<n&&!(r+i>=e.length||r>=t.length);++r)e[r+i]=t[r];return r}},314:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i=t(e);return e[2]?"@media ".concat(e[2]," {").concat(i,"}"):i}).join("")},e.i=function(t,i,n){"string"==typeof t&&(t=[[null,t,""]]);var r={};if(n)for(var s=0;s<this.length;s++){var o=this[s][0];null!=o&&(r[o]=!0)}for(var a=0;a<t.length;a++){var l=[].concat(t[a]);n&&r[l[0]]||(i&&(l[2]?l[2]="".concat(i," and ").concat(l[2]):l[2]=i),e.push(l))}},e}},320:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});const n="/images/vendor/intl-tel-input/build/flags.png?007b2705c0a8f69dfdf6ea1bfa0341c9"},417:t=>{"use strict";t.exports=function(t,e){return e||(e={}),"string"!=typeof(t=t&&t.__esModule?t.default:t)?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},421:(t,e,i)=>{"use strict";var n={};function r(t,e){return function(){return t.apply(e,arguments)}}i.r(n),i.d(n,{hasBrowserEnv:()=>ft,hasStandardBrowserEnv:()=>mt,hasStandardBrowserWebWorkerEnv:()=>_t,navigator:()=>gt,origin:()=>vt});var s=i(606);const{toString:o}=Object.prototype,{getPrototypeOf:a}=Object,l=(t=>e=>{const i=o.call(e);return t[i]||(t[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),c=t=>(t=t.toLowerCase(),e=>l(e)===t),h=t=>e=>typeof e===t,{isArray:d}=Array,u=h("undefined");const p=c("ArrayBuffer");const f=h("string"),g=h("function"),m=h("number"),_=t=>null!==t&&"object"==typeof t,v=t=>{if("object"!==l(t))return!1;const e=a(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},y=c("Date"),w=c("File"),x=c("Blob"),b=c("FileList"),E=c("URLSearchParams"),[S,C,T,A]=["ReadableStream","Request","Response","Headers"].map(c);function k(t,e,{allOwnKeys:i=!1}
vendor: 5,296 bytes, line 2
2={}){if(null==t)return;let n,r;if("object"!=typeof t&&(t=[t]),d(t))for(n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else{const r=i?Object.getOwnPropertyNames(t):Object.keys(t),s=r.length;let o;for(n=0;n<s;n++)o=r[n],e.call(null,t[o],o,t)}}function M(t,e){e=e.toLowerCase();const i=Object.keys(t);let n,r=i.length;for(;r-- >0;)if(n=i[r],e===n.toLowerCase())return n;return null}const I="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,R=t=>!u(t)&&t!==I;const L=(P="undefined"!=typeof Uint8Array&&a(Uint8Array),t=>P&&t instanceof P);var P;const D=c("HTMLFormElement"),O=(({hasOwnProperty:t})=>(e,i)=>t.call(e,i))(Object.prototype),F=c("RegExp"),z=(t,e)=>{const i=Object.getOwnPropertyDescriptors(t),n={};k(i,(i,r)=>{let s;!1!==(s=e(i,r,t))&&(n[r]=s||i)}),Object.defineProperties(t,n)},N="abcdefghijklmnopqrstuvwxyz",B="0123456789",j={DIGIT:B,ALPHA:N,ALPHA_DIGIT:N+N.toUpperCase()+B};const G=c("AsyncFunction"),W=(Y="function"==typeof setImmediate,U=g(I.postMessage),Y?setImmediate:U?(X=`axios@${Math.random()}`,q=[],I.addEventListener("message",({source:t,data:e})=>{t===I&&e===X&&q.length&&q.shift()()},!1),t=>{q.push(t),I.postMessage(X,"*")}):t=>setTimeout(t));var Y,U,X,q;const H="undefined"!=typeof queueMicrotask?queueMicrotask.bind(I):void 0!==s&&s.nextTick||W,$={isArray:d,isArrayBuffer:p,isBuffer:function(t){return null!==t&&!u(t)&&null!==t.constructor&&!u(t.constructor)&&g(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||g(t.append)&&("formdata"===(e=l(t))||"object"===e&&g(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&p(t.buffer),e},isString:f,isNumber:m,isBoolean:t=>!0===t||!1===t,isObject:_,isPlainObject:v,isReadableStream:S,isRequest:C,isResponse:T,isHeaders:A,isUndefined:u,isDate:y,isFile:w,isBlob:x,isRegExp:F,isFunction:g,isStream:t=>_(t)&&g(t.pipe),isURLSearchParams:E,isTypedArray:L,isFileList:b,forEach:k,merge:function t(){const{caseless:e}=R(this)&&this||{},i={},n=(n,r)=>{const s=e&&M(i,r)||r;v(i[s])&&v(n)?i[s]=t(i[s],n):v(n)?i[s]=t({},n):d(n)?i[s]=n.slice():i[s]=n};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&k(arguments[t],n);return i},extend:(t,e,i,{allOwnKeys:n}={})=>(k(e,(e,n)=>{i&&g(e)?t[n]=r(e,i):t[n]=e},{allOwnKeys:n}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,i,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),i&&Object.assign(t.prototype,i)},toFlatObject:(t,e,i,n)=>{let r,s,o;const l={};if(e=e||{},null==t)return e;do{for(r=Object.getOwnPropertyNames(t),s=r.length;s-- >0;)o=r[s],n&&!n(o,t,e)||l[o]||(e[o]=t[o],l[o]=!0);t=!1!==i&&a(t)}while(t&&(!i||i(t,e))&&t!==Object.prototype);return e},kindOf:l,kindOfTest:c,endsWith:(t,e,i)=>{t=String(t),(void 0===i||i>t.length)&&(i=t.length),i-=e.length;const n=t.indexOf(e,i);return-1!==n&&n===i},toArray:t=>{if(!t)return null;if(d(t))return t;let e=t.length;if(!m(e))return null;const i=new Array(e);for(;e-- >0;)i[e]=t[e];return i},forEachEntry:(t,e)=>{const i=(t&&t[Symbol.iterator]).call(t);let n;for(;(n=i.next())&&!n.done;){const i=n.value;e.call(t,i[0],i[1])}},matchAll:(t,e)=>{let i;const n=[];for(;null!==(i=t.exec(e));)n.push(i);return n},isHTMLForm:D,hasOwnProperty:O,hasOwnProp:O,reduceDescriptors:z,freezeMethods:t=>{z(t,(e,i)=>{if(g(t)&&-1!==["arguments","caller","callee"].indexOf(i))return!1;const n=t[i];g(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")}))})},toObjectSet:(t,e)=>{const i={},n=t=>{t.forEach(t=>{i[t]=!0})};return d(t)?n(t):n(String(t).split(e)),i},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,e,i){return e.toUpperCase()+i}),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:M,global:I,isContextDefined:R,ALPHABET:j,generateString:(t=16,e=j.ALPHA_DIGIT)=>{let i="";const{length:n}=e;for(;t--;)i+=e[Math.random()*n|0];return i},isSpecCompliantForm:function(t){return!!(t&&g(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),i=(t,n)=>{if(_(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const r=d(t)?[]:{};return k(t,(t,e)=>{const s=i(t,n+1);!u(s)&&(r[e]=s)}),e[n]=void 0,r}}return t};return i(t,0)},isAsyncFn:G,isThenable:t=>t&&(_(t)||g(t))&&g(t.then)&&g(t.catch),setImmediate:W,asap:H};function V(t,e,i,n,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),i&&(this.config=i),n&&(this.request=n),r&&(this.response=r,this.status=r.status?r.status:null)}$.inherits(V,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:$.toJSONObject(this.config),code:this.code,status:this.status}}});const K=V.prototype,Z={};
vendor: 2,356 bytes, line 2
2["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Z[t]={value:t}}),Object.defineProperties(V,Z),Object.defineProperty(K,"isAxiosError",{value:!0}),V.from=(t,e,i,n,r,s)=>{const o=Object.create(K);return $.toFlatObject(t,o,function(t){return t!==Error.prototype},t=>"isAxiosError"!==t),V.call(o,t.message,e,i,n,r),o.cause=t,o.name=t.name,s&&Object.assign(o,s),o};const J=V;var Q=i(287).hp;function tt(t){return $.isPlainObject(t)||$.isArray(t)}function et(t){return $.endsWith(t,"[]")?t.slice(0,-2):t}function it(t,e,i){return t?t.concat(e).map(function(t,e){return t=et(t),!i&&e?"["+t+"]":t}).join(i?".":""):e}const nt=$.toFlatObject($,{},null,function(t){return/^is[A-Z]/.test(t)});const rt=function(t,e,i){if(!$.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(i=$.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(t,e){return!$.isUndefined(e[t])})).metaTokens,r=i.visitor||c,s=i.dots,o=i.indexes,a=(i.Blob||"undefined"!=typeof Blob&&Blob)&&$.isSpecCompliantForm(e);if(!$.isFunction(r))throw new TypeError("visitor must be a function");function l(t){if(null===t)return"";if($.isDate(t))return t.toISOString();if(!a&&$.isBlob(t))throw new J("Blob is not supported. Use a Buffer instead.");return $.isArrayBuffer(t)||$.isTypedArray(t)?a&&"function"==typeof Blob?new Blob([t]):Q.from(t):t}function c(t,i,r){let a=t;if(t&&!r&&"object"==typeof t)if($.endsWith(i,"{}"))i=n?i:i.slice(0,-2),t=JSON.stringify(t);else if($.isArray(t)&&function(t){return $.isArray(t)&&!t.some(tt)}(t)||($.isFileList(t)||$.endsWith(i,"[]"))&&(a=$.toArray(t)))return i=et(i),a.forEach(function(t,n){!$.isUndefined(t)&&null!==t&&e.append(!0===o?it([i],n,s):null===o?i:i+"[]",l(t))}),!1;return!!tt(t)||(e.append(it(r,i,s),l(t)),!1)}const h=[],d=Object.assign(nt,{defaultVisitor:c,convertValue:l,isVisitable:tt});if(!$.isObject(t))throw new TypeError("data must be an object");return function t(i,n){if(!$.isUndefined(i)){if(-1!==h.indexOf(i))throw Error("Circular reference detected in "+n.join("."));h.push(i),$.forEach(i,function(i,s){!0===(!($.isUndefined(i)||null===i)&&r.call(e,i,$.isString(s)?s.trim():s,n,d))&&t(i,n?n.concat(s):[s])}),h.pop()}}(t),e};
vendor: 6,064 bytes, line 2
2function st(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(t){return e[t]})}function ot(t,e){this._pairs=[],t&&rt(t,this,e)}const at=ot.prototype;at.append=function(t,e){this._pairs.push([t,e])},at.toString=function(t){const e=t?function(e){return t.call(this,e,st)}:st;return this._pairs.map(function(t){return e(t[0])+"="+e(t[1])},"").join("&")};const lt=ot;function ct(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ht(t,e,i){if(!e)return t;const n=i&&i.encode||ct;$.isFunction(i)&&(i={serialize:i});const r=i&&i.serialize;let s;if(s=r?r(e,i):$.isURLSearchParams(e)?e.toString():new lt(e,i).toString(n),s){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+s}return t}const dt=class{constructor(){this.handlers=[]}use(t,e,i){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!i&&i.synchronous,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){$.forEach(this.handlers,function(e){null!==e&&t(e)})}},ut={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pt={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:lt,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},ft="undefined"!=typeof window&&"undefined"!=typeof document,gt="object"==typeof navigator&&navigator||void 0,mt=ft&&(!gt||["ReactNative","NativeScript","NS"].indexOf(gt.product)<0),_t="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,vt=ft&&window.location.href||"http://localhost",yt={...n,...pt};const wt=function(t){function e(t,i,n,r){let s=t[r++];if("__proto__"===s)return!0;const o=Number.isFinite(+s),a=r>=t.length;if(s=!s&&$.isArray(n)?n.length:s,a)return $.hasOwnProp(n,s)?n[s]=[n[s],i]:n[s]=i,!o;n[s]&&$.isObject(n[s])||(n[s]=[]);return e(t,i,n[s],r)&&$.isArray(n[s])&&(n[s]=function(t){const e={},i=Object.keys(t);let n;const r=i.length;let s;for(n=0;n<r;n++)s=i[n],e[s]=t[s];return e}(n[s])),!o}if($.isFormData(t)&&$.isFunction(t.entries)){const i={};return $.forEachEntry(t,(t,n)=>{e(function(t){return $.matchAll(/\w+|\[(\w*)]/g,t).map(t=>"[]"===t[0]?"":t[1]||t[0])}(t),n,i,0)}),i}return null};const xt={transitional:ut,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const i=e.getContentType()||"",n=i.indexOf("application/json")>-1,r=$.isObject(t);r&&$.isHTMLForm(t)&&(t=new FormData(t));if($.isFormData(t))return n?JSON.stringify(wt(t)):t;if($.isArrayBuffer(t)||$.isBuffer(t)||$.isStream(t)||$.isFile(t)||$.isBlob(t)||$.isReadableStream(t))return t;if($.isArrayBufferView(t))return t.buffer;if($.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(r){if(i.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return rt(t,new yt.classes.URLSearchParams,Object.assign({visitor:function(t,e,i,n){return yt.isNode&&$.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((s=$.isFileList(t))||i.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return rt(s?{"files[]":t}:t,e&&new e,this.formSerializer)}}return r||n?(e.setContentType("application/json",!1),function(t,e,i){if($.isString(t))try{return(e||JSON.parse)(t),$.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(i||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||xt.transitional,i=e&&e.forcedJSONParsing,n="json"===this.responseType;if($.isResponse(t)||$.isReadableStream(t))return t;if(t&&$.isString(t)&&(i&&!this.responseType||n)){const i=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(t){if(i){if("SyntaxError"===t.name)throw J.from(t,J.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:yt.classes.FormData,Blob:yt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$.forEach(["delete","get","head","post","put","patch"],t=>{xt.headers[t]={}});const bt=xt,Et=$.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),St=Symbol("internals");function Ct(t){return t&&String(t).trim().toLowerCase()}function Tt(t){return!1===t||null==t?t:$.isArray(t)?t.map(Tt):String(t)}function At(t,e,i,n,r){return $.isFunction(n)?n.call(this,e,i):(r&&(e=i),$.isString(e)?$.isString(n)?-1!==e.indexOf(n):$.isRegExp(n)?n.test(e):void 0:void 0)}class kt{constructor(t){t&&this.set(t)}set(t,e,i){const n=this;function r(t,e,i){const r=Ct(e);if(!r)throw new Error("header name must be a non-empty string");const s=$.findKey(n,r);(!s||void 0===n[s]||!0===i||void 0===i&&!1!==n[s])&&(n[s||e]=Tt(t))}const s=(t,e)=>$.forEach(t,(t,i)=>r(t,i,e));if($.isPlainObject(t)||t instanceof this.constructor)s(t,e);else if($.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))s((t=>{const e={};let i,n,r;return t&&t.split("\n").forEach(function(t){r=t.indexOf(":"),i=t.substring(0,r).trim().toLowerCase(),n=t.substring(r+1).trim(),!i||e[i]&&Et[i]||("set-cookie"===i?e[i]?e[i].push(n):e[i]=[n]:e[i]=e[i]?e[i]+", "+n:n)}),e})(t),e);else if($.isHeaders(t))for(const[e,n]of t.entries())r(n,e,i);else null!=t&&r(e,t,i);return this}get(t,e){if(t=Ct(t)){const i=$.findKey(this,t);if(i){const t=this[i];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),i=/([^\s,;
2=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=i.exec(t);)e[n[1]]=n[2];return e}(t);if($.isFunction(e))return e.call(this,t,i);if($.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Ct(t)){const i=$.findKey(this,t);return!(!i||void 0===this[i]||e&&!At(0,this[i],i,e))}return!1}delete(t,e){const i=this;let n=!1;function r(t){if(t=Ct(t)){const r=$.findKey(i,t);!r||e&&!At(0,i[r],r,e)||(delete i[r],n=!0)}}return $.isArray(t)?t.forEach(r):r(t),n}clear(t){const e=Object.keys(this);let i=e.length,n=!1;for(;i--;){const r=e[i];t&&!At(0,this[r],r,t,!0)||(delete this[r],n=!0)}return n}normalize(t){const e=this,i={};return $.forEach(this,(n,r)=>{const s=$.findKey(i,r);if(s)return e[s]=Tt(n),void delete e[r];const o=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,i)=>e.toUpperCase()+i)}(r):String(r).trim();o!==r&&delete e[r],e[o]=Tt(n),i[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return $.forEach(this,(i,n)=>{null!=i&&!1!==i&&(e[n]=t&&$.isArray(i)?i.join(", "):i)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const i=new this(t);return e.forEach(t=>i.set(t)),i}static accessor(t){const e=(this[St]=this[St]={accessors:{}}).accessors,i=this.prototype;function n(t){const n=Ct(t);e[n]||(!function(t,e){const i=$.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+i,{value:function(t,i,r){return this[n].call(this,e,t,i,r)},configurable:!0})})}(i,t),e[n]=!0)}return $.isArray(t)?t.forEach(n):n(t),this}}kt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),$.reduceDescriptors(kt.prototype,({value:t},e)=>{let i=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[i]=t}}}),$.freezeMethods(kt);const Mt=kt;function It(t,e){const i=this||bt,n=e||i,r=Mt.from(n.headers);let s=n.data;return $.forEach(t,function(t){s=t.call(i,s,r.normalize(),e?e.status:void 0)}),r.normalize(),s}function Rt(t){return!(!t||!t.__CANCEL__)}function Lt(t,e,i){J.call(this,null==t?"canceled":t,J.ERR_CANCELED,e,i),this.name="CanceledError"}$.inherits(Lt,J,{__CANCEL__:!0});const Pt=Lt;function Dt(t,e,i){const n=i.config.validateStatus;i.status&&n&&!n(i.status)?e(new J("Request failed with status code "+i.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i)):t(i)}const Ot=function(t,e){t=t||10;const i=new Array(t),n=new Array(t);let r,s=0,o=0;return e=void 0!==e?e:1e3,function(a){const l=Date.now(),c=n[o];r||(r=l),i[s]=a,n[s]=l;let h=o,d=0;for(;h!==s;)d+=i[h++],h%=t;if(s=(s+1)%t,s===o&&(o=(o+1)%t),l-r<e)return;const u=c&&l-c;return u?Math.round(1e3*d/u):void 0}};const Ft=function(t,e){let i,n,r=0,s=1e3/e;const o=(e,s=Date.now())=>{r=s,i=null,n&&(clearTimeout(n),n=null),t.apply(null,e)};return[(...t)=>{const e=Date.now(),a=e-r;a>=s?o(t,e):(i=t,n||(n=setTimeout(()=>{n=null,o(i)},s-a)))},()=>i&&o(i)]},zt=(t,e,i=3)=>{let n=0;const r=Ot(50,250);return Ft(i=>{const s=i.loaded,o=i.lengthComputable?i.total:void 0,a=s-n,l=r(a);n=s;t({loaded:s,total:o,progress:o?s/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&s<=o?(o-s)/l:void 0,event:i,lengthComputable:null!=o,[e?"download":"upload"]:!0})},i)},Nt=(t,e)=>{const i=null!=t;return[n=>e[0]({lengthComputable:i,total:t,loaded:n}),e[1]]},Bt=t=>(...e)=>$.asap(()=>t(...e)),jt=yt.hasStandardBrowserEnv?((t,e)=>i=>(i=new URL(i,yt.origin),t.protocol===i.protocol&&t.host===i.host&&(e||t.port===i.port)))(new URL(yt.origin),yt.navigator&&/(msie|trident)/i.test(yt.navigator.userAgent)):()=>!0,Gt=yt.hasStandardBrowserEnv?{write(t,e,i,n,r,s){const o=[t+"="+encodeURIComponent(e)];$.isNumber(i)&&o.push("expires="+new Date(i).toGMTString()),$.isString(n)&&o.push("path="+n),$.isString(r)&&o.push("domain="+r),!0===s&&o.push("secure"),document.cookie=o.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Wt(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const Yt=t=>t instanceof Mt?{...t}:t;function Ut(t,e){e=e||{};const i={};function n(t,e,i,n){return $.isPlainObject(t)&&$.isPlainObject(e)?$.merge.call({caseless:n},t,e):$.isPlainObject(e)?$.merge({},e):$.isArray(e)?e.slice():e}function r(t,e,i,r){return $.isUndefined(e)?$.isUndefined(t)?void 0:n(void 0,t,0,r):n(t,e,0,r)}function s(t,e){if(!$.isUndefined(e))return n(void 0,e)}function o(t,e){return $.isUndefined(e)?$.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function a(i,r,s){return s in e?n(i,r):s in t?n(void 0,i):void 0}const l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBo
2dyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(t,e,i)=>r(Yt(t),Yt(e),0,!0)};return $.forEach(Object.keys(Object.assign({},t,e)),function(n){const s=l[n]||r,o=s(t[n],e[n],n);$.isUndefined(o)&&s!==a||(i[n]=o)}),i}const Xt=t=>{const e=Ut({},t);let i,{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:a,auth:l}=e;if(e.headers=a=Mt.from(a),e.url=ht(Wt(e.baseURL,e.url),t.params,t.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),$.isFormData(n))if(yt.hasStandardBrowserEnv||yt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(i=a.getContentType())){const[t,...e]=i?i.split(";").map(t=>t.trim()).filter(Boolean):[];a.setContentType([t||"multipart/form-data",...e].join("; "))}if(yt.hasStandardBrowserEnv&&(r&&$.isFunction(r)&&(r=r(e)),r||!1!==r&&jt(e.url))){const t=s&&o&&Gt.read(o);t&&a.set(s,t)}return e},qt="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise(function(e,i){const n=Xt(t);let r=n.data;const s=Mt.from(n.headers).normalize();let o,a,l,c,h,{responseType:d,onUploadProgress:u,onDownloadProgress:p}=n;function f(){c&&c(),h&&h(),n.cancelToken&&n.cancelToken.unsubscribe(o),n.signal&&n.signal.removeEventListener("abort",o)}let g=new XMLHttpRequest;function m(){if(!g)return;const n=Mt.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());Dt(function(t){e(t),f()},function(t){i(t),f()},{data:d&&"text"!==d&&"json"!==d?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:n,config:t,request:g}),g=null}g.open(n.method.toUpperCase(),n.url,!0),g.timeout=n.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(i(new J("Request aborted",J.ECONNABORTED,t,g)),g=null)},g.onerror=function(){i(new J("Network Error",J.ERR_NETWORK,t,g)),g=null},g.ontimeout=function(){let e=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const r=n.transitional||ut;n.timeoutErrorMessage&&(e=n.timeoutErrorMessage),i(new J(e,r.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,t,g)),g=null},void 0===r&&s.setContentType(null),"setRequestHeader"in g&&$.forEach(s.toJSON(),function(t,e){g.setRequestHeader(e,t)}),$.isUndefined(n.withCredentials)||(g.withCredentials=!!n.withCredentials),d&&"json"!==d&&(g.responseType=n.responseType),p&&([l,h]=zt(p,!0),g.addEventListener("progress",l)),u&&g.upload&&([a,c]=zt(u),g.upload.addEventListener("progress",a),g.upload.addEventListener("loadend",c)),(n.cancelToken||n.signal)&&(o=e=>{g&&(i(!e||e.type?new Pt(null,t,g):e),g.abort(),g=null)},n.cancelToken&&n.cancelToken.subscribe(o),n.signal&&(n.signal.aborted?o():n.signal.addEventListener("abort",o))
2);const _=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(n.url);_&&-1===yt.protocols.indexOf(_)?i(new J("Unsupported protocol "+_+":",J.ERR_BAD_REQUEST,t)):g.send(r||null)})},Ht=(t,e)=>{const{length:i}=t=t?t.filter(Boolean):[];if(e||i){let i,n=new AbortController;const r=function(t){if(!i){i=!0,o();const e=t instanceof Error?t:this.reason;n.abort(e instanceof J?e:new Pt(e instanceof Error?e.message:e))}};let s=e&&setTimeout(()=>{s=null,r(new J(`timeout ${e} of ms exceeded`,J.ETIMEDOUT))},e);const o=()=>{t&&(s&&clearTimeout(s),s=null,t.forEach(t=>{t.unsubscribe?t.unsubscribe(r):t.removeEventListener("abort",r)}),t=null)};t.forEach(t=>t.addEventListener("abort",r));const{signal:a}=n;return a.unsubscribe=()=>$.asap(o),a}},$t=function*(t,e){let i=t.byteLength;if(!e||i<e)return void(yield t);let n,r=0;for(;r<i;)n=r+e,yield t.slice(r,n),r=n},Vt=async function*(t){if(t[Symbol.asyncIterator])return void(yield*t);const e=t.getReader();try{for(;;){const{done:t,value:i}=await e.read();if(t)break;yield i}}finally{await e.cancel()}},Kt=(t,e,i,n)=>{const r=async function*(t,e){for await(const i of Vt(t))yield*$t(i,e)}(t,e);let s,o=0,a=t=>{s||(s=!0,n&&n(t))};return new ReadableStream({async pull(t){try{const{done:e,value:n}=await r.next();if(e)return a(),void t.close();let s=n.byteLength;if(i){let t=o+=s;i(t)}t.enqueue(new Uint8Array(n))}catch(t){throw a(t),t}},cancel:t=>(a(t),r.return())},{highWaterMark:2})},Zt="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Jt=Zt&&"function"==typeof ReadableStream,Qt=Zt&&("function"==typeof TextEncoder?(te=new TextEncoder,t=>te.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var te;const ee=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},ie=Jt&&ee(()=>{let t=!1;const e=new Request(yt.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),ne=Jt&&ee(()=>$.isReadableStream(new Response("").body)),re={stream:ne&&(t=>t.body)};var se;Zt&&(se=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!re[t]&&(re[t]=$.isFunction(se[t])?e=>e[t]():(e,i)=>{throw new J(`Response type '${t}' is not supported`,J.ERR_NOT_SUPPORT,i)})}));const oe=async(t,e)=>{const i=$.toFiniteNumber(t.getContentLength());return null==i?(async t=>{if(null==t)return 0;if($.isBlob(t))return t.size;if($.isSpecCompliantForm(t)){const e=new Request(yt.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return $.isArrayBufferView(t)||$.isArrayBuffer(t)?t.byteLength:($.isURLSearchParams(t)&&(t+=""),$.isString(t)?(await Qt(t)).byteLength:void 0)})(e):i},ae=Zt&&(async t=>{let{url:e,method:i,data:n,signal:r,cancelToken:s,timeout:o,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:h,withCredentials:d="same-origin",fetchOptions:u}=Xt(t);c=c?(c+"").toLowerCase():"text";let p,f=Ht([r,s&&s.toAbortSignal()],o);const g=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let m;try{if(l&&ie&&"get"!==i&&"head"!==i&&0!==(m=await oe(h,n))){let t,i=new Request(e,{method:"POST",body:n,duplex:"half"});if($.isFormData(n)&&(t=i.headers.get("content-type"))&&h.setContentType(t),i.body){const[t,e]=Nt(m,zt(Bt(l)));n=Kt(i.body,65536,t,e)}}$.isString(d)||(d=d?"include":"omit");const r="credentials"in Request.prototype;p=new Request(e,{...u,signal:f,method:i.toUpperCase(),headers:h.normalize().toJSON(),body:n,duplex:"half",credentials:r?d:void 0});let s=await fetch(p);const o=ne&&("stream"===c||"response"===c);if(ne&&(a||o&&g)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=s[e]});const e=$.toFiniteNumber(s.headers.get("content-length")),[i,n]=a&&Nt(e,zt(Bt(a),!0))||[];s=new Response(Kt(s.body,65536,i,()=>{n&&n(),g&&g()}),t)}c=c||"text";let _=await re[$.findKey(re,c)||"text"](s,t);return!o&&g&&g(),await new Promise((e,i)=>{Dt(e,i,{data:_,headers:Mt.from(s.headers),status:s.status,statusText:s.statusText,config:t,request:p})})}catch(e){if(g&&g(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,t,p),{cause:e.cause||e});throw J.from(e,e&&e.code,t,p)}}),le={http:null,xhr:qt,fetch:ae};$.forEach(le,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}});const ce=t=>`- ${t}`,he=t=>$.isFunction(t)||null===t||!1===t,de=t=>{t=$.isArray(t)?t:[t];const{length:e}=t;let i,n;const r={};for(let s=0;s<e;s++){let e;if(i=t[s],n=i,!he(i)&&(n=le[(e=String(i)).toLowerCase()],void 0===n))throw new J(`Unknown adapter '${e}'`);if(n)break;r[e||"#"+s]=n}if(!n){const t=Object.entries(r).map(([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build"));let i=e?t.length>
vendor: 4,670 bytes, line 2
21?"since :\n"+t.map(ce).join("\n"):" "+ce(t[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n};function ue(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Pt(null,t)}function pe(t){ue(t),t.headers=Mt.from(t.headers),t.data=It.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return de(t.adapter||bt.adapter)(t).then(function(e){return ue(t),e.data=It.call(t,t.transformResponse,e),e.headers=Mt.from(e.headers),e},function(e){return Rt(e)||(ue(t),e&&e.response&&(e.response.data=It.call(t,t.transformResponse,e.response),e.response.headers=Mt.from(e.response.headers))),Promise.reject(e)})}const fe="1.7.9",ge={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{ge[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}});const me={};ge.transitional=function(t,e,i){function n(t,e){return"[Axios v1.7.9] Transitional option '"+t+"'"+e+(i?". "+i:"")}return(i,r,s)=>{if(!1===t)throw new J(n(r," has been removed"+(e?" in "+e:"")),J.ERR_DEPRECATED);return e&&!me[r]&&(me[r]=!0,console.warn(n(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(i,r,s)}},ge.spelling=function(t){return(e,i)=>(console.warn(`${i} is likely a misspelling of ${t}`),!0)};const _e={assertOptions:function(t,e,i){if("object"!=typeof t)throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let r=n.length;for(;r-- >0;){const s=n[r],o=e[s];if(o){const e=t[s],i=void 0===e||o(e,s,t);if(!0!==i)throw new J("option "+s+" must be "+i,J.ERR_BAD_OPTION_VALUE);continue}if(!0!==i)throw new J("Unknown option "+s,J.ERR_BAD_OPTION)}},validators:ge},ve=_e.validators;class ye{constructor(t){this.defaults=t,this.interceptors={request:new dt,response:new dt}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const i=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?i&&!String(t.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+i):t.stack=i}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Ut(this.defaults,e);const{transitional:i,paramsSerializer:n,headers:r}=e;void 0!==i&&_e.assertOptions(i,{silentJSONParsing:ve.transitional(ve.boolean),forcedJSONParsing:ve.transitional(ve.boolean),clarifyTimeoutError:ve.transitional(ve.boolean)},!1),null!=n&&($.isFunction(n)?e.paramsSerializer={serialize:n}:_e.assertOptions(n,{encode:ve.function,serialize:ve.function},!0)),_e.assertOptions(e,{baseUrl:ve.spelling("baseURL"),withXsrfToken:ve.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let s=r&&$.merge(r.common,r[e.method]);r&&$.forEach(["delete","get","head","post","put","patch","common"],t=>{delete r[t]}),e.headers=Mt.concat(s,r);const o=[];let a=!0;this.interceptors.request.forEach(function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,o.unshift(t.fulfilled,t.rejected))});const l=[];let c;this.interceptors.response.forEach(function(t){l.push(t.fulfilled,t.rejected)});let h,d=0;if(!a){const t=[pe.bind(this),void 0];for(t.unshift.apply(t,o),t.push.apply(t,l),h=t.length,c=Promise.resolve(e);d<h;)c=c.then(t[d++],t[d++]);return c}h=o.length;let u=e;for(d=0;d<h;){const t=o[d++],e=o[d++];try{u=t(u)}catch(t){e.call(this,t);break}}try{c=pe.call(this,u)}catch(t){return Promise.reject(t)}for(d=0,h=l.length;d<h;)c=c.then(l[d++],l[d++]);return c}getUri(t){return ht(Wt((t=Ut(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}$.forEach(["delete","get","head","options"],function(t){ye.prototype[t]=function(e,i){return this.request(Ut(i||{},{method:t,url:e,data:(i||{}).data}))}}),$.forEach(["post","put","patch"],function(t){function e(e){return function(i,n,r){return this.request(Ut(r||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:i,data:n}))}}ye.prototype[t]=e(),ye.prototype[t+"Form"]=e(!0)});const we=ye;class xe{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise(function(t){e=t});const i=this;this.promise.then(t=>{if(!i._listeners)return;let e=i._listeners.length;for(;e-- >0;)i._listeners[e](t);i._listeners=null}),this.promise.then=t=>{let e;const n=new Promise(t=>{i.subscribe(t),e=t}).then(t);return n.cancel=function(){i.unsubscribe(e)},n},t(function(t,n,r){i.reason||(i.reason=new Pt(t,n,r),e(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
2subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new xe(function(e){t=e}),cancel:t}}}const be=xe;const Ee={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ee).forEach(([t,e])=>{Ee[e]=t});const Se=Ee;const Ce=function t(e){const i=new we(e),n=r(we.prototype.request,i);return $.extend(n,we.prototype,i,{allOwnKeys:!0}),$.extend(n,i,null,{allOwnKeys:!0}),n.create=function(i){return t(Ut(e,i))},n}(bt);Ce.Axios=we,Ce.CanceledError=Pt,Ce.CancelToken=be,Ce.isCancel=Rt,Ce.VERSION=fe,Ce.toFormData=rt,Ce.AxiosError=J,Ce.Cancel=Ce.CanceledError,Ce.all=function(t){return Promise.all(t)},Ce.spread=function(t){return function(e){return t.apply(null,e)}},Ce.isAxiosError=function(t){return $.isObject(t)&&!0===t.isAxiosError},Ce.mergeConfig=Ut,Ce.AxiosHeaders=Mt,Ce.formToJSON=t=>wt($.isHTMLForm(t)?new FormData(t):t),Ce.getAdapter=de,Ce.HttpStatusCode=Se,Ce.default=Ce;const Te=Ce;window.axios=Te,window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var Ae=i(692),ke=i.n(Ae);const Me="add",Ie="remove",Re="propertychange",Le="change",Pe="error",De="contextmenu",Oe="click",Fe="dblclick",ze="keydown",Ne="keypress",Be="load",je="touchmove",Ge="wheel";const We=class{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}};function Ye(t,e){return t>e?1:t<e?-1:0}function Ue(t,e){return t<e?1:t>e?-1:0}function Xe(t,e,i){if(t[0]<=e)return 0;const n=t.length;if(e<=t[n-1])return n-1;if("function"==typeof i){for(let r=1;r<n;++r){const n=t[r];if(n===e)return r;if(n<e)return i(e,t[r-1],n)>0?r-1:r}return n-1}if(i>0){for(let i=1;i<n;++i)if(t[i]<e)return i-1;return n-1}if(i<0){for(let i=1;i<n;++i)if(t[i]<=e)return i;return n-1}for(let i=1;i<n;++i){if(t[i]==e)return i;if(t[i]<e)return t[i-1]-e<e-t[i]?i-1:i}return n-1}function qe(t,e,i){for(;e<i;){const n=t[e];t[e]=t[i],t[i]=n,++e,--i}}function He(t,e){const i=Array.isArray(e)?e:[e],n=i.length;for(let e=0;e<n;e++)t[t.length]=i[e]}function $e(t,e){const i=t.length;if(i!==e.length)return!1;for(let n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}function Ve(){return!0}function Ke(){return!1}function Ze(){}function Je(t){let e,i,n;return function(){const r=Array.prototype.slice.call(arguments);return i&&this===n&&$e(r,i)||(n=this,i=r,e=t.apply(this,arguments)),e}}function Qe(t){return function(){let e;try{e=t()}catch(t){return Promise.reject(t)}return e instanceof Promise?e:Promise.resolve(e)}()}function ti(t){for(const e in t)delete t[e]}function ei(t){let e;for(e in t)return!1;return!e}const ii=class{constructor(t){this.propagationStopped,this.defaultPrevented,this.type=t,this.target=null}preventDefault(){this.defaultPrevented=!0}
vendor: 28,376 bytes, line 2
2stopPropagation(){this.propagationStopped=!0}};const ni=class extends We{constructor(t){super(),this.eventTarget_=t,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(t,e){if(!t||!e)return;const i=this.listeners_||(this.listeners_={}),n=i[t]||(i[t]=[]);n.includes(e)||n.push(e)}dispatchEvent(t){const e="string"==typeof t,i=e?t:t.type,n=this.listeners_&&this.listeners_[i];if(!n)return;const r=e?new ii(t):t;r.target||(r.target=this.eventTarget_||this);const s=this.dispatching_||(this.dispatching_={}),o=this.pendingRemovals_||(this.pendingRemovals_={});let a;i in s||(s[i]=0,o[i]=0),++s[i];for(let t=0,e=n.length;t<e;++t)if(a="handleEvent"in n[t]?n[t].handleEvent(r):n[t].call(this,r),!1===a||r.propagationStopped){a=!1;break}if(0===--s[i]){let t=o[i];for(delete o[i];t--;)this.removeEventListener(i,Ze);delete s[i]}return a}disposeInternal(){this.listeners_&&ti(this.listeners_)}getListeners(t){return this.listeners_&&this.listeners_[t]||void 0}hasListener(t){return!!this.listeners_&&(t?t in this.listeners_:Object.keys(this.listeners_).length>0)}removeEventListener(t,e){if(!this.listeners_)return;const i=this.listeners_[t];if(!i)return;const n=i.indexOf(e);-1!==n&&(this.pendingRemovals_&&t in this.pendingRemovals_?(i[n]=Ze,++this.pendingRemovals_[t]):(i.splice(n,1),0===i.length&&delete this.listeners_[t]))}};function ri(t,e,i,n,r){if(r){const r=i;i=function(s){return t.removeEventListener(e,i),r.call(n??this,s)}}else n&&n!==t&&(i=i.bind(n));const s={target:t,type:e,listener:i};return t.addEventListener(e,i),s}function si(t,e,i,n){return ri(t,e,i,n,!0)}function oi(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),ti(t))}class ai extends ni{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(Le)}getRevision(){return this.revision_}onInternal(t,e){if(Array.isArray(t)){const i=t.length,n=new Array(i);for(let r=0;r<i;++r)n[r]=ri(this,t[r],e);return n}return ri(this,t,e)}onceInternal(t,e){let i;if(Array.isArray(t)){const n=t.length;i=new Array(n);for(let r=0;r<n;++r)i[r]=si(this,t[r],e)}else i=si(this,t,e);return e.ol_key=i,i}unInternal(t,e){const i=e.ol_key;if(i)!function(t){if(Array.isArray(t))for(let e=0,i=t.length;e<i;++e)oi(t[e]);else oi(t)}(i);else if(Array.isArray(t))for(let i=0,n=t.length;i<n;++i)this.removeEventListener(t[i],e);else this.removeEventListener(t,e)}}ai.prototype.on,ai.prototype.once,ai.prototype.un;const li=ai;function ci(){throw new Error("Unimplemented abstract method.")}let hi=0;function di(t){return t.ol_uid||(t.ol_uid=String(++hi))}class ui extends ii{constructor(t,e,i){super(t),this.key=e,this.oldValue=i}}const pi=class extends li{constructor(t){super(),this.on,this.once,this.un,di(this),this.values_=null,void 0!==t&&this.setProperties(t)}get(t){let e;return this.values_&&this.values_.hasOwnProperty(t)&&(e=this.values_[t]),e}getKeys(){return this.values_&&Object.keys(this.values_)||[]}getProperties(){return this.values_&&Object.assign({},this.values_)||{}}getPropertiesInternal(){return this.values_}hasProperties(){return!!this.values_}notify(t,e){let i;i=`change:${t}`,this.hasListener(i)&&this.dispatchEvent(new ui(i,t,e)),i=Re,this.hasListener(i)&&this.dispatchEvent(new ui(i,t,e))}addChangeListener(t,e){this.addEventListener(`change:${t}`,e)}removeChangeListener(t,e){this.removeEventListener(`change:${t}`,e)}set(t,e,i){const n=this.values_||(this.values_={});if(i)n[t]=e;else{const i=n[t];n[t]=e,i!==e&&this.notify(t,i)}}setProperties(t,e){for(const i in t)this.set(i,t[i],e)}applyProperties(t){t.values_&&Object.assign(this.values_||(this.values_={}),t.values_)}unset(t,e){if(this.values_&&t in this.values_){const i=this.values_[t];delete this.values_[t],ei(this.values_)&&(this.values_=null),e||this.notify(t,i)}}},fi="length";class gi extends ii{constructor(t,e,i){super(t),this.element=e,this.index=i}}const mi=class extends pi{constructor(t,e){if(super(),this.on,this.once,this.un,e=e||{},this.unique_=!!e.unique,this.array_=t||[],this.unique_)for(let t=0,e=this.array_.length;t<e;++t)this.assertUnique_(this.array_[t],t);this.updateLength_()}clear(){for(;this.getLength()>0;)this.pop()}extend(t){for(let e=0,i=t.length;e<i;++e)this.push(t[e]);return this}forEach(t){const e=this.array_;for(let i=0,n=e.length;i<n;++i)t(e[i],i,e)}getArray(){return this.array_}item(t){return this.array_[t]}getLength(){return this.get(fi)}insertAt(t,e){if(t<0||t>this.getLength())throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e),this.array_.splice(t,0,e),this.updateLength_(),this.dispatchEvent(new gi(Me,e,t))}pop(){return this.removeAt(this.getLength()-1)}push(t){this.unique_&&this.assertUnique_(t);const e=this.getLength();return this.insertAt(e,t),this.getLength()}remove(t){const e=this.array_;for(let i=0,n=e.length;i<n;++i)if(e[i]===t)return this.removeAt(i)}removeAt(t){if(t<0||t>=this.getLength())return;const e=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new gi(Ie,e,t)),e}setAt(t,e){if(t>=this.getLength())return void this.insertAt(t,e);if(t<0)throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e,t);const i=this.array_[t];this.array_[t]=e,this.dispatchEvent(new gi(Ie,i,t)),this.dispatchEvent(new gi(Me,e,t))}updateLength_(){this.set(fi,this.array_.length)}assertUnique_(t,e){for(let i=0,n=this.array_.length;i<n;++i)if(this.array_[i]===t&&i!==e)throw new Error("Duplicate item added to a unique collection")}};const _i=class extends ii{constructor(t,e,i){super(t),this.map=e,this.frameState=void 0!==i?i:null}};const vi=class extends _i{constructor(t,e,i,n,r,s){super(t,e,r),this.originalEvent=i,this.pixel_=null,this.coordinate_=null,this.dragging=void 0!==n&&n,this.activePointers=s}get pixel(){return this.pixel_||(this.pixel_=this.map.getEventPixel(this.originalEvent)),this.pixel_}set pixel(t){this.pixel_=t}get coordinate(){return this.coordinate_||(this.coordinate_=this.map.getCoordinateFromPixel(this.pixel)),this.coordinate_}set coordinate(t){this.coordinate_=t}preventDefault(){super.preventDefault(),"preventDefault"in this.originalEvent&&this.originalEvent.preventDefault()}stopPropagation(){super.stopPropagation(),"stopPropagation"in this.originalEvent&&this.originalEvent.stopPropagation()}},yi={SINGLECLICK:"singleclick",CLICK:Oe,DBLCLICK:Fe,POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"},wi="undefined"!=typeof navigator&&void 0!==navigator.userAgent?navigator.userAgent.toLowerCase():"",xi=(wi.includes("safari")&&!wi.includes("chrom")&&(wi.includes("version/15.4")||/cpu (os|iphone os) 15_4 like mac os x/.test(wi)),wi.includes("webkit")&&!wi.includes("edge")),bi=wi.includes("macintosh"),Ei="undefined"!=typeof devicePixelRatio?devicePixelRatio:1,Si="undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof OffscreenCanvas&&self instanceof WorkerGlobalScope,Ci="undefined"!=typeof Image&&Image.prototype.decode,Ti=function(){let t=!1;try{const e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch{}return t}(),Ai="pointermove",ki="pointerdown";const Mi=class extends ni{constructor(t,e){super(t),this.map_=t,this.clickTimeoutId_,this.emulateClicks_=!1,this.dragging_=!1,this.dragListenerKeys_=[],this.moveTolerance_=void 0===e?1:e,this.down_=null;const i=this.map_.getViewport();this.activePointers_=[],this.trackedTouches_={},this.element_=i,this.pointerdownListenerKey_=ri(i,ki,this.handlePointerDown_,this),this.originalPointerMoveEvent_,this.relayedListenerKey_=ri(i,Ai,this.relayMoveEvent_,this),this.boundHandleTouchMove_=this.handleTouchMove_.bind(this),this.element_.addEventListener(je,this.boundHandleTouchMove_,!!Ti&&{passive:!1})}emulateClick_(t){let e=new vi(yi.CLICK,this.map_,t);this.dispatchEvent(e),void 0!==this.clickTimeoutId_?(clearTimeout(this.clickTimeoutId_),this.clickTimeoutId_=void 0,e=new vi(yi.DBLCLICK,this.map_,t),this.dispatchEvent(e)):this.clickTimeoutId_=setTimeout(()=>{this.clickTimeoutId_=void 0;const e=new vi(yi.SINGLECLICK,this.map_,t);this.dispatchEvent(e)},250)}updateActivePointers_(t){const e=t,i=e.pointerId;if(e.type==yi.POINTERUP||e.type==yi.POINTERCANCEL){delete this.trackedTouches_[i];for(const t in this.trackedTouches_)if(this.trackedTouches_[t].target!==e.target){delete this.trackedTouches_[t];break}}else e.type!=yi.POINTERDOWN&&e.type!=yi.POINTERMOVE||(this.trackedTouches_[i]=e);this.activePointers_=Object.values(this.trackedTouches_)}handlePointerUp_(t){this.updateActivePointers_(t);const e=new vi(yi.POINTERUP,this.map_,t,void 0,void 0,this.activePointers_);this.dispatchEvent(e),this.emulateClicks_&&!e.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(t)&&this.emulateClick_(this.down_),0===this.activePointers_.length&&(this.dragListenerKeys_.forEach(oi),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)}isMouseActionButton_(t){return 0===t.button}handlePointerDown_(t){this.emulateClicks_=0===this.activePointers_.length,this.updateActivePointers_(t);const e=new vi(yi.POINTERDOWN,this.map_,t,void 0,void 0,this.activePointers_);if(this.dispatchEvent(e),this.down_=new PointerEvent(t.type,t),Object.defineProperty(this.down_,"target",{writable:!1,value:t.target}),0===this.dragListenerKeys_.length){const t=this.map_.getOwnerDocument();this.dragListenerKeys_.push(ri(t,yi.POINTERMOVE,this.handlePointerMove_,this),ri(t,yi.POINTERUP,this.handlePointerUp_,this),ri(this.element_,yi.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==t&&this.dragListenerKeys_.push(ri(this.element_.getRootNode(),yi.POINTERUP,this.handlePointerUp_,this))}}handlePointerMove_(t){if(this.isMoving_(t)){this.updateActivePointers_(t),this.dragging_=!0;const e=new vi(yi.POINTERDRAG,this.map_,t,this.dragging_,void 0,this.activePointers_);this.dispatchEvent(e)}}relayMoveEvent_(t){this.originalPointerMoveEvent_=t;const e=!(!this.down_||!this.isMoving_(t));this.dispatchEvent(new vi(yi.POINTERMOVE,this.map_,t,e))}handleTouchMove_(t){const e=this.originalPointerMoveEvent_;e&&!e.defaultPrevented||"boolean"==typeof t.cancelable&&!0!==t.cancelable||t.preventDefault()}isMoving_(t){return this.dragging_||Math.abs(t.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_}disposeInternal(){this.relayedListenerKey_&&(oi(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(je,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(oi(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(oi),this.dragListenerKeys_.length=0,this.element_=null,super.disposeInternal()}},Ii="postrender",Ri="movestart",Li="moveend",Pi="loadstart",Di="loadend",Oi="layergroup",Fi="size",zi="target",Ni="view",Bi=0,ji=1,Gi=2,Wi=3,Yi=4;function Ui(t,e){if(!t)throw new Error(e)}const Xi=1/0;const qi=class{constructor(t,e){this.priorityFunction_=t,this.keyFunction_=e,this.elements_=[],this.priorities_=[],this.queuedElements_={}}clear(){this.elements_.length=0,this.priorities_.length=0,ti(this.queuedElements_)}dequeue(){const t=this.elements_,e=this.priorities_,i=t[0];1==t.length?(t.length=0,e.length=0):(t[0]=t.pop(),e[0]=e.pop(),this.siftUp_(0));const n=this.keyFunction_(i);return delete this.queuedElements_[n],i}enqueue(t){Ui(!(this.keyFunction_(t)in this.queuedElements_),"Tried to enqueue an `element` that was already added to the queue");const e=this.priorityFunction_(t);return e!=Xi&&(this.elements_.push(t),this.priorities_.push(e),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0)}getCount(){return this.elements_.length}getLeftChildIndex_(t){return 2*t+1}getRightChildIndex_(t){return 2*t+2}getParentIndex_(t){return t-1>>1}heapify_(){let t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)}isEmpty(){return 0===this.elements_.length}isKeyQueued(t){return t in this.queuedElements_}isQueued(t){return this.isKeyQueued(this.keyFunction_(t))}siftUp_(t){const e=this.elements_,i=this.priorities_,n=e.length,r=e[t],s=i[t],o=t;for(;t<n>>1;){const r=this.getLeftChildIndex_(t),s=this.getRightChildIndex_(t),o=s<n&&i[s]<i[r]?s:r;e[t]=e[o],i[t]=i[o],t=o}e[t]=r,i[t]=s,this.siftDown_(o,t)}siftDown_(t,e){const i=this.elements_,n=this.priorities_,r=i[e],s=n[e];for(;e>t;){const t=this.getParentIndex_(e);if(!(n[t]>s))break;i[e]=i[t],n[e]=n[t],e=t}i[e]=r,n[e]=s}reprioritize(){const t=this.priorityFunction_,e=this.elements_,i=this.priorities_;let n=0;const r=e.length;let s,o,a;for(o=0;o<r;++o)s=e[o],a=t(s),a==Xi?delete this.queuedElements_[this.keyFunction_(s)]:(i[n]=a,e[n++]=s);e.length=n,i.length=n,this.heapify_()}};const Hi=class extends qi{constructor(t,e){super(e=>t.apply(null,e),t=>t[0].getKey()),this.boundHandleTileChange_=this.handleTileChange.bind(this),this.tileChangeCallback_=e,this.tilesLoading_=0,this.tilesLoadingKeys_={}}enqueue(t){const e=super.enqueue(t);if(e){t[0].addEventListener(Le,this.boundHandleTileChange_)}return e}getTilesLoading(){return this.tilesLoading_}handleTileChange(t){const e=t.target,i=e.getState();if(i===Gi||i===Wi||i===Yi){i!==Wi&&e.removeEventListener(Le,this.boundHandleTileChange_);const t=e.getKey();t in this.tilesLoadingKeys_&&(delete this.tilesLoadingKeys_[t],--this.tilesLoading_),this.tileChangeCallback_()}}loadMoreTiles(t,e){let i=0;for(;this.tilesLoading_<t&&i<e&&this.getCount()>0;){const t=this.dequeue()[0],e=t.getKey();t.getState()!==Bi||e in this.tilesLoadingKeys_||(this.tilesLoadingKeys_[e]=!0,++this.tilesLoading_,++i,t.load())}}};const $i=0,Vi=1,Ki={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"};function Zi(t,e,i){return Math.min(Math.max(t,e),i)}function Ji(t,e,i,n,r,s){const o=r-i,a=s-n;if(0!==o||0!==a){const l=((t-i)*o+(e-n)*a)/(o*o+a*a);l>1?(i=r,n=s):l>0&&(i+=o*l,n+=a*l)}return Qi(t,e,i,n)}function Qi(t,e,i,n){const r=i-t,s=n-e;return r*r+s*s}function tn(t){return 180*t/Math.PI}function en(t){return t*Math.PI/180}function nn(t,e){const i=t%e;return i*e<0?i+e:i}function rn(t,e,i){return t+i*(e-t)}function sn(t,e){const i=Math.pow(10,e);return Math.round(t*i)/i}function on(t,e){return Math.floor(sn(t,e))}function an(t,e){return Math.ceil(sn(t,e))}function ln(t,e,i){if(t>=e&&t<i)return t;const n=i-e;return((t-e)%n+n)%n+e}function cn(t,e,i){return function(n,r,s,o,a){if(!n)return;if(!r&&!e)return n;const l=e?0:s[0]*r,c=e?0:s[1]*r,h=a?a[0]:0,d=a?a[1]:0;let u=t[0]+l/2+h,p=t[2]-l/2+h,f=t[1]+c/2+d,g=t[3]-c/2+d;u>p&&(u=(p+u)/2,p=u),f>g&&(f=(g+f)/2,g=f);let m=Zi(n[0],u,p),_=Zi(n[1],f,g);if(o&&i&&r){const t=30*r;m+=-t*Math.log(1+Math.max(0,u-n[0])/t)+t*Math.log(1+Math.max(0,n[0]-p)/t),_+=-t*Math.log(1+Math.max(0,f-n[1])/t)+t*Math.log(1+Math.max(0,n[1]-g)/t)}return[m,_]}}function hn(t){return t}const dn=0,un=1,pn=2,fn=4,gn=8,mn=16;function _n(t){const e=Cn();for(let i=0,n=t.length;i<n;++i)Rn(e,t[i]);return e}function vn(t,e,i){return i?(i[0]=t[0]-e,i[1]=t[1]-e,i[2]=t[2]+e,i[3]=t[3]+e,i):[t[0]-e,t[1]-e,t[2]+e,t[3]+e]}function yn(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function wn(t,e,i){let n,r;return n=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0,r=i<t[1]?t[1]-i:t[3]<i?i-t[3]:0,n*n+r*r}function xn(t,e){return En(t,e[0],e[1])}function bn(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function En(t,e,i){return t[0]<=e&&e<=t[2]&&t[1]<=i&&i<=t[3]}function Sn(t,e){const i=t[0],n=t[1],r=t[2],s=t[3],o=e[0],a=e[1];let l=dn;return o<i?l|=mn:o>r&&(l|=fn),a<n?l|=gn:a>s&&(l|=pn),l===dn&&(l=un),l}function Cn(){return[1/0,1/0,-1/0,-1/0]}function Tn(t,e,i,n,r){return r?(r[0]=t,r[1]=e,r[2]=i,r[3]=n,r):[t,e,i,n]}function An(t){return Tn(1/0,1/0,-1/0,-1/0,t)}function kn(t,e){const i=t[0],n=t[1];return Tn(i,n,i,n,e)}function Mn(t,e,i,n,r){return Ln(An(r),t,e,i,n)}function In(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function Rn(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function Ln(t,e,i,n,r){for(;i<n;i+=r)Pn(t,e[i],e[i+1]);return t}function Pn(t,e,i){t[0]=Math.min(t[0],e),t[1]=Math.min(t[1],i),t[2]=Math.max(t[2],e),t[3]=Math.max(t[3],i)}function Dn(t,e){let i;return i=e(Fn(t)),i||(i=e(zn(t)),i||(i=e(Xn(t)),i||(i=e(Un(t)),i||!1)))}function On(t){let e=0;return $n(t)||(e=qn(t)*Wn(t)),e}function Fn(t){return[t[0],t[1]]}function zn(t){return[t[2],t[1]]}function Nn(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function Bn(t,e){let i;if("bottom-left"===e)i=Fn(t);else if("bottom-right"===e)i=zn(t);else if("top-left"===e)i=Un(t);else{if("top-right"!==e)throw new Error("Invalid corner");i=Xn(t)}return i}function jn(t,e,i,n,r){const[s,o,a,l,c,h,d,u]=Gn(t,e,i,n);return Tn(Math.min(s,a,c,d),Math.min(o,l,h,u),Math.max(s,a,c,d),Math.max(o,l,h,u),r)}function Gn(t,e,i,n){const r=e*n[0]/2,s=e*n[1]/2,o=Math.cos(i),a=Math.sin(i),l=r*o,c=r*a,h=s*o,d=s*a,u=t[0],p=t[1];return[u-l+d,p-c-h,u-l-d,p-c+h,u+l-d,p+c+h,u+l+d,p+c-h,u-l+d,p-c-h]}function Wn(t){return t[3]-t[1]}function Yn(t,e,i){const n=i||[1/0,1/0,-1/0,-1/0];return Hn(t,e)?(t[0]>e[0]?n[0]=t[0]:n[0]=e[0],t[1]>e[1]?n[1]=t[1]:n[1]=e[1],t[2]<e[2]?n[2]=t[2]:n[2]=e[2],t[3]<e[3]?n[3]=t[3]:n[3]=e[3]):An(n),n}function Un(t){return[t[0],t[3]]}function Xn(t){return[t[2],t[3]]}function qn(t){return t[2]-t[0]}function Hn(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function $n(t){return t[2]<t[0]||t[3]<t[1]}function Vn(t,e,i,n){if($n(t))return An(i);let r=[];if(n>1){const e=t[2]-t[0],i=t[3]-t[1];for(let s=0;s<n;++s)r.push(t[0]+e*s/n,t[1],t[2],t[1]+i*s/n,t[2]-e*s/n,t[3],t[0],t[3]-i*s/n)}else r=[t[0],t[1],t[2],t[1],t[2],t[3],t[0],t[3]];e(r,r,2);const s=[],o=[];for(let t=0,e=r.length;t<e;t+=2)s.push(r[t]),o.push(r[t+1]);return function(t,e,i){return Tn(Math.min.apply(null,t),Math.min.apply(null,e),Math.max.apply(null,t),Math.max.apply(null,e),i)}(s,o,i)}function Kn(t,e){const i=e.getExtent(),n=Nn(t);if(e.canWrapX()&&(n[0]<i[0]||n[0]>=i[2])){const e=qn(i),r=Math.floor((n[0]-i[0])/e)*e;t[0]-=r,t[2]-=r}return t}function Zn(t,e,i){if(e.canWrapX()){const n=e.getExtent();if(!isFinite(t[0])||!isFinite(t[2]))return[[n[0],t[1],n[2],t[3]]];Kn(t,e);const r=qn(n);if(qn(t)>r&&!i)return[[n[0],t[1],n[2],t[3]]];if(t[0]<n[0])return[[t[0]+r,t[1],n[2],t[3]],[n[0],t[1],t[2],t[3]]];if(t[2]>n[2])return[[t[0],t[1],n[2],t[3]],[n[0],t[1],t[2]-r,t[3]]]}return[t]}function Jn(t,e){let i=!0;for(let n=t.length-1;n>=0;--n)if(t[n]!=e[n]){i=!1;break}return i}function Qn(t,e){const i=Math.cos(e),n=Math.sin(e),r=t[0]*i-t[1]*n,s=t[1]*i+t[0]*n;return t[0]=r,t[1]=s,t}function tr(t,e){if(e.canWrapX()){const i=qn(e.getExtent()),n=function(t,e,i){const n=e.getExtent();let r=0;e.canWrapX()&&(t[0]<n[0]||t[0]>n[2])&&(i=i||qn(n),r=Math.floor((t[0]-n[0])/i));return r}(t,e,i);n&&(t[0]-=n*i)}return t}function er(t){return Math.pow(t,3)}function ir(t){return 1-er(1-t)}function nr(t){return 3*t*t-2*t*t*t}function rr(t){return t}const sr={info:1,warn:2,error:3,none:4};let or=sr.info;function ar(...t){or>sr.warn||console.warn(...t)}const lr={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};const cr=class{constructor(t){this.code_=t.code,this.units_=t.units,this.extent_=void 0!==t.extent?t.extent:null,this.worldExtent_=void 0!==t.worldExtent?t.worldExtent:null,this.axisOrientation_=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.global_=void 0!==t.global&&t.global,this.canWrapX_=!(!this.global_||!this.extent_),this.getPointResolutionFunc_=t.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=t.metersPerUnit}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||lr[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(t){this.global_=t,this.canWrapX_=!(!t||!this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(t){this.defaultTileGrid_=t}setExtent(t){this.extent_=t,this.canWrapX_=!(!this.global_||!t)}setWorldExtent(t){this.worldExtent_=t}setGetPointResolution(t){this.getPointResolutionFunc_=t}getPointResolutionFunc(){return this.getPointResolutionFunc_}},hr=6378137,dr=Math.PI*hr,ur=[-dr,-dr,dr,dr],pr=[-180,-85,180,85],fr=hr*Math.log(Math.tan(Math.PI/2));class gr extends cr{constructor(t){super({code:t,units:"m",extent:ur,global:!0,worldExtent:pr,getPointResolution:function(t,e){return t/Math.cosh(e[1]/hr)}})}}const mr=[new gr("EPSG:3857"),new gr("EPSG:102100"),new gr("EPSG:102113"),new gr("EPSG:900913"),new gr("http://www.opengis.net/def/crs/EPSG/0/3857"),new gr("http://www.opengis.net/gml/srs/epsg.xml#3857")];function _r(t,e,i,n){const r=t.length;i=i>1?i:2,n=n??i,void 0===e&&(e=i>2?t.slice():new Array(r));for(let i=0;i<r;i+=n){e[i]=dr*t[i]/180;let n=hr*Math.log(Math.tan(Math.PI*(+t[i+1]+90)/360));n>fr?n=fr:n<-fr&&(n=-fr),e[i+1]=n}return e}function vr(t,e,i,n){const r=t.length;i=i>1?i:2,n=n??i,void 0===e&&(e=i>2?t.slice():new Array(r));for(let i=0;i<r;i+=n)e[i]=180*t[i]/dr,e[i+1]=360*Math.atan(Math.exp(t[i+1]/hr))/Math.PI-90;return e}const yr=[-180,-90,180,90],wr=6378137*Math.PI/180;class xr extends cr{constructor(t,e){super({code:t,units:"degrees",extent:yr,axisOrientation:e,global:!0,metersPerUnit:wr,worldExtent:yr})}}const br=[new xr("CRS:84"),new xr("EPSG:4326","neu"),new xr("urn:ogc:def:crs:OGC:1.3:CRS84"),new xr("urn:ogc:def:crs:OGC:2:84"),new xr("http://www.opengis.net/def/crs/OGC/1.3/CRS84"),new xr("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new xr("http://www.opengis.net/def/crs/EPSG/0/4326","neu")];let Er={};let Sr={};function Cr(t,e,i){const n=t.getCode(),r=e.getCode();n in Sr||(Sr[n]={}),Sr[n][r]=i}function Tr(t,e){return t in Sr&&e in Sr[t]?Sr[t][e]:null}const Ar=.9996,kr=.00669438,Mr=kr*kr,Ir=Mr*kr,Rr=kr/(1-kr),Lr=Math.sqrt(1-kr),Pr=(1-Lr)/(1+Lr),Dr=Pr*Pr,Or=Dr*Pr,Fr=Or*Pr,zr=Fr*Pr,Nr=.9983242984503243,Br=15*Mr/256+45*Ir/1024,jr=35*Ir/3072,Gr=1.5*Pr-27/32*Or+269/512*zr,Wr=21/16*Dr-55/32*Fr,Yr=151/96*Or-417/128*zr,Ur=1097/512*Fr,Xr=6378137;function qr(t,e,i){const n=t-5e5,r=(i.north?e:e-1e7)/Ar/(Xr*Nr),s=r+Gr*Math.sin(2*r)+Wr*Math.sin(4*r)+Yr*Math.sin(6*r)+Ur*Math.sin(8*r),o=Math.sin(s),a=o*o,l=Math.cos(s),c=o/l,h=c*c,d=h*h,u=1-kr*a,p=Math.sqrt(1-kr*a),f=Rr*l**2,g=f*f,m=n/(Xr/p*Ar),_=m*m,v=_*m,y=v*m,w=y*m,x=s-c/((1-kr)/u)*(_/2-y/24*(5+3*h+10*f-4*g-9*Rr))+w*m/720*(61+90*h+298*f+45*d-252*Rr-3*g);let b=(m-v/6*(1+2*h+f)+w/120*(5-2*f+28*h-3*g+8*Rr+24*d))/l;return b=ln(b+en($r(i.number)),-Math.PI,Math.PI),[tn(b),tn(x)]}function Hr(t,e,i){t=ln(t,-180,180),e<-80?e=-80:e>84&&(e=84);const n=en(e),r=Math.sin(n),s=Math.cos(n),o=r/s,a=o*o,l=a*a,c=en(t),h=en($r(i.number)),d=Xr/Math.sqrt(1-kr*r**2),u=Rr*s**2,p=s*ln(c-h,-Math.PI,Math.PI),f=p*p,g=f*p,m=g*p,_=m*p,v=_*p,y=Xr*(Nr*n-.002514607064228144*Math.sin(2*n)+Br*Math.sin(4*n)-jr*Math.sin(6*n)),w=Ar*d*(p+g/6*(1-a+u)+_/120*(5-18*a+l+72*u-58*Rr))+5e5;let x=Ar*(y+d*o*(f/2+m/24*(5-a+9*u+4*u**2)+v/720*(61-58*a+l+600*u-330*Rr)));return i.north||(x+=1e7),[w,x]}function $r(t){return 6*(t-1)-180+3}const Vr=[/^EPSG:(\d+)$/,/^urn:ogc:def:crs:EPSG::(\d+)$/,/^http:\/\/www\.opengis\.net\/def\/crs\/EPSG\/0\/(\d+)$/];function Kr(t){let e=0;for(const i of Vr){const n=t.match(i);if(n){e=parseInt(n[1]);break}}if(!e)return null;let i=0,n=!1;return e>32700&&e<32761?i=e-32700:e>32600&&e<32661&&(n=!0,i=e-32600),i?{number:i,north:n}:null}function Zr(t,e){return function(i,n,r,s){const o=i.length;r=r>1?r:2,s=s??r,n||(n=r>2?i.slice():new Array(o));for(let r=0;r<o;r+=s){const s=i[r],o=i[r+1],a=t(s,o,e);n[r]=a[0],n[r+1]=a[1]}return n}}const Jr=6371008.8;function Qr(t,e,i){i=i||Jr;const n=en(t[1]),r=en(e[1]),s=(r-n)/2,o=en(e[0]-t[0])/2,a=Math.sin(s)*Math.sin(s)+Math.sin(o)*Math.sin(o)*Math.cos(n)*Math.cos(r);return 2*i*Math.atan2(Math.sqrt(a),Math.sqrt(1-a))}const ts=[function(t){const e=Kr(t.getCode());return e?{forward:Zr(Hr,e),inverse:Zr(qr,e)}:null}],es=[function(t){return Kr(t)?new cr({code:t,units:"m"}):null}];let is=!0;function ns(t){is=!(void 0===t||t)}function rs(t,e){if(void 0!==e)for(let i=0,n=t.length;i<n;++i)e[i]=t[i];else e=t.slice();return e}function ss(t){!function(t,e){Er[t]=e}(t.getCode(),t),Cr(t,t,rs)}function os(t){if("string"!=typeof t)return t;const e=Er[i=t]||Er[i.replace(/urn:(x-)?ogc:def:crs:EPSG:(.*:)?(\w+)$/,"EPSG:$3")]||null;var i;if(e)return e;for(const e of es){const i=e(t);if(i)return i}return null}function as(t,e,i,n){let r;const s=(t=os(t)).getPointResolutionFunc();if(s){if(r=s(e,i),n&&n!==t.getUnits()){const e=t.getMetersPerUnit();e&&(r=r*e/lr[n])}}else{const s=t.getUnits();if("degrees"==s&&!n||"degrees"==n)r=e;else{const o=ps(t,os("EPSG:4326"));if(o||"degrees"===s){let t=[i[0]-e/2,i[1],i[0]+e/2,i[1],i[0],i[1]-e/2,i[0],i[1]+e/2];t=o(t,t,2);r=(Qr(t.slice(0,2),t.slice(2,4))+Qr(t.slice(4,6),t.slice(6,8)))/2}else r=e*t.getMetersPerUnit();const a=n?lr[n]:t.getMetersPerUnit();void 0!==a&&(r/=a)}}return r}function ls(t){!function(t){t.forEach(ss)}(t),t.forEach(function(e){t.forEach(function(t){e!==t&&Cr(e,t,rs)})})}function cs(t,e){return t?"string"==typeof t?os(t):t:os(e)}function hs(t){return function(e,i,n,r){const s=e.length;n=void 0!==n?n:2,r=r??n,i=void 0!==i?i:new Array(s);for(let o=0;o<s;o+=r){const s=t(e.slice(o,o+n)),a=s.length;for(let t=0,n=r;t<n;++t)i[o+t]=t>=a?e[o+t]:s[t]}return i}}function ds(t,e){return ns(),ms(t,"EPSG:4326",void 0!==e?e:"EPSG:3857")}function us(t,e){if(t===e)return!0;const i=t.getUnits()===e.getUnits();if(t.getCode()===e.getCode())return i;return ps(t,e)===rs&&i}function ps(t,e){const i=t.getCode(),n=e.getCode();let r=Tr(i,n);if(r)return r;let s=null,o=null;for(const i of ts)s||(s=i(t)),o||(o=i(e));if(!s&&!o)return null;const a="EPSG:4326";if(o)if(s)r=fs(s.inverse,o.forward);else{const t=Tr(i,a);t&&(r=fs(t,o.forward))}else{const t=Tr(a,n);t&&(r=fs(s.inverse,t))}return r&&(ss(t),ss(e),Cr(t,e,r)),r}function fs(t,e){return function(i,n,r,s){return n=t(i,n,r,s),e(n,n,r,s)}}function gs(t,e){return ps(os(t),os(e))}function ms(t,e,i){const n=gs(e,i);if(!n){const t=os(e).getCode(),n=os(i).getCode();throw new Error(`No transform available between ${t} and ${n}`)}return n(t,void 0,t.length)}function _s(t,e,i,n){return Vn(t,gs(e,i),void 0,n)}let vs=null;function ys(){return vs}function ws(t,e){return vs?ms(t,e,vs):t}function xs(t,e){return vs?ms(t,vs,e):(is&&!Jn(t,[0,0])&&t[0]>=-180&&t[0]<=180&&t[1]>=-90&&t[1]<=90&&(is=!1,ar("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),t)}function bs(t,e){return vs?_s(t,e,vs):t}function Es(t,e){return vs?_s(t,vs,e):t}function Ss(t,e){if(!vs)return t;const i=os(e).getMetersPerUnit(),n=vs.getMetersPerUnit();return i&&n?t*i/n:t}var Cs,Ts,As;ls(mr),ls(br),Cs=mr,Ts=_r,As=vr,br.forEach(function(t){Cs.forEach(function(e){Cr(t,e,Ts),Cr(e,t,As)})});new Array(6);function ks(t,e){const i=e[0],n=e[1];return e[0]=t[0]*i+t[2]*n+t[4],e[1]=t[1]*i+t[3]*n+t[5],e}function Ms(t,e,i,n,r,s,o,a){const l=Math.sin(s),c=Math.cos(s);return t[0]=n*c,t[1]=r*l,t[2]=-n*l,t[3]=r*c,t[4]=o*n*c-a*n*l+e,t[5]=o*r*l+a*r*c+i,t}function Is(t,e){const i=(n=e)[0]*n[3]-n[1]*n[2];var n;Ui(0!==i,"Transformation matrix cannot be inverted");const r=e[0],s=e[1],o=e[2],a=e[3],l=e[4],c=e[5];return t[0]=a/i,t[1]=-s/i,t[2]=-o/i,t[3]=r/i,t[4]=(o*c-a*l)/i,t[5]=-(r*c-s*l)/i,t}const Rs=[1e5,1e5,1e5,1e5,2,2];function Ls(t){return"matrix("+t.join(", ")+")"}function Ps(t){return t.substring(7,t.length-1).split(",").map(parseFloat)}function Ds(t,e,i,n,r,s,o){s=s||[],o=o||2;let a=0;for(let l=e;l<i;l+=n){const e=t[l],i=t[l+1];s[a++]=r[0]*e+r[2]*i+r[4],s[a++]=r[1]*e+r[3]*i+r[5];for(let e=2;e<o;e++)s[a++]=t[l+e]}return s&&s.length!=a&&(s.length=a),s}function Os(t,e,i,n,r,s,o){o=o||[];const a=Math.cos(r),l=Math.sin(r),c=s[0],h=s[1];let d=0;for(let r=e;r<i;r+=n){const e=t[r]-c,i=t[r+1]-h;o[d++]=c+e*a-i*l,o[d++]=h+e*l+i*a;for(let e=r+2;e<r+n;++e)o[d++]=t[e]}return o&&o.length!=d&&(o.length=d),o}const Fs=[1,0,0,1,0,0],zs=[NaN,NaN];const Ns=class extends pi{constructor(){super(),this.extent_=[1/0,1/0,-1/0,-1/0],this.extentRevision_=-1,this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=0,this.simplifyTransformedInternal=Je((t,e,i)=>
2{if(!i)return this.getSimplifiedGeometry(e);const n=this.clone();return n.applyTransform(i),n.getSimplifiedGeometry(e)})}simplifyTransformed(t,e){return this.simplifyTransformedInternal(this.getRevision(),t,e)}clone(){return ci()}closestPointXY(t,e,i,n){return ci()}containsXY(t,e){return 0===this.closestPointXY(t,e,zs,Number.MIN_VALUE)}getClosestPoint(t,e){return e=e||[NaN,NaN],this.closestPointXY(t[0],t[1],e,1/0),e}intersectsCoordinate(t){return this.containsXY(t[0],t[1])}computeExtent(t){return ci()}getExtent(t){if(this.extentRevision_!=this.getRevision()){const t=this.computeExtent(this.extent_);(isNaN(t[0])||isNaN(t[1]))&&An(t),this.extentRevision_=this.getRevision()}return function(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t}(this.extent_,t)}rotate(t,e){ci()}scale(t,e,i){ci()}simplify(t){return this.getSimplifiedGeometry(t*t)}getSimplifiedGeometry(t){return ci()}getType(){return ci()}applyTransform(t){ci()}intersectsExtent(t){return ci()}translate(t,e){ci()}transform(t,e){const i=os(t),n="tile-pixels"==i.getUnits()?function(t,n,r){const s=i.getExtent(),o=i.getWorldExtent(),a=Wn(o)/Wn(s);Ms(Fs,o[0],o[3],a,-a,0,0,0);const l=Ds(t,0,t.length,r,Fs,n),c=gs(i,e);return c?c(l,l,r):l}:gs(i,e);return this.applyTransform(n),this}};function Bs(t){let e;return"XY"==t?e=2:"XYZ"==t||"XYM"==t?e=3:"XYZM"==t&&(e=4),e}const js=class extends Ns{constructor(){super(),this.layout="XY",this.stride=2,this.flatCoordinates}computeExtent(t){return Mn(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)}getCoordinates(){return ci()}getFirstCoordinate(){return this.flatCoordinates.slice(0,this.stride)}getFlatCoordinates(){return this.flatCoordinates}getLastCoordinate(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)}getLayout(){return this.layout}getSimplifiedGeometry(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;const e=this.getSimplifiedGeometryInternal(t);return e.getFlatCoordinates().length<this.flatCoordinates.length?e:(this.simplifiedGeometryMaxMinSquaredTolerance=t,this)}getSimplifiedGeometryInternal(t){return this}getStride(){return this.stride}setFlatCoordinates(t,e){this.stride=Bs(t),this.layout=t,this.flatCoordinates=e}setCoordinates(t,e){ci()}setLayout(t,e,i){let n;if(t)n=Bs(t);else{for(let t=0;t<i;++t){if(0===e.length)return this.layout="XY",void(this.stride=2);e=e[0]}n=e.length,t=function(t){let e;2==t?e="XY":3==t?e="XYZ":4==t&&(e="XYZM");return e}(n)}this.layout=t,this.stride=n}applyTransform(t){this.flatCoordinates&&(t(this.flatCoordinates,this.flatCoordinates,this.layout.startsWith("XYZ")?3:2,this.stride),this.changed())}rotate(t,e){const i=this.getFlatCoordinates();if(i){const n=this.getStride();Os(i,0,i.length,n,t,e,i),this.changed()}}scale(t,e,i){void 0===e&&(e=t),i||(i=Nn(this.getExtent()));const n=this.getFlatCoordinates();if(n){const r=this.getStride();!function(t,e,i,n,r,s,o,a){a=a||[];const l=o[0],c=o[1];let h=0;for(let o=e;o<i;o+=n){const e=t[o]-l,i=t[o+1]-c;a[h++]=l+r*e,a[h++]=c+s*i;for(let e=o+2;e<o+n;++e)a[h++]=t[e]}a&&a.length!=h&&(a.length=h)}(n,0,n.length,r,t,e,i,n),this.changed()}}translate(t,e){const i=this.getFlatCoordinates();if(i){const n=this.getStride();!function(t,e,i,n,r,s,o){o=o||[];let a=0;for(let l=e;l<i;l+=n){o[a++]=t[l]+r,o[a++]=t[l+1]+s;for(let e=l+2;e<l+n;++e)o[a++]=t[e]}o&&o.length!=a&&(o.length=a)}(i,0,i.length,n,t,e,i),this.changed()}}};function Gs(t,e,i,n){let r=0;const s=t[i-n],o=t[i-n+1];let a=0,l=0;for(;e<i;e+=n){const i=t[e]-s,n=t[e+1]-o;r+=l*i-a*n,a=i,l=n}return r/2}function Ws(t,e,i,n){let r=0;for(let s=0,o=i.length;s<o;++s){const o=i[s];r+=Gs(t,e,o,n),e=o}return r}function Ys(t,e,i,n,r,s,o){const a=t[e],l=t[e+1],c=t[i]-a,h=t[i+1]-l;let d;if(0===c&&0===h)d=e;else{const u=((r-a)*c+(s-l)*h)/(c*c+h*h);if(u>1)d=i;else{if(u>0){for(let r=0;r<n;++r)o[r]=rn(t[e+r],t[i+r],u);return void(o.length=n)}d=e}}for(let e=0;e<n;++e)o[e]=t[d+e];o.length=n}
vendor: 9,485 bytes, line 2
2function Us(t,e,i,n,r){let s=t[e],o=t[e+1];for(e+=n;e<i;e+=n){const i=t[e],n=t[e+1],a=Qi(s,o,i,n);a>r&&(r=a),s=i,o=n}return r}function Xs(t,e,i,n,r){for(let s=0,o=i.length;s<o;++s){const o=i[s];r=Us(t,e,o,n,r),e=o}return r}function qs(t,e,i,n,r,s,o,a,l,c,h){if(e==i)return c;let d,u;if(0===r){if(u=Qi(o,a,t[e],t[e+1]),u<c){for(d=0;d<n;++d)l[d]=t[e+d];return l.length=n,u}return c}h=h||[NaN,NaN];let p=e+n;for(;p<i;)if(Ys(t,p-n,p,n,o,a,h),u=Qi(o,a,h[0],h[1]),u<c){for(c=u,d=0;d<n;++d)l[d]=h[d];l.length=n,p+=n}else p+=n*Math.max((Math.sqrt(u)-Math.sqrt(c))/r|0,1);if(s&&(Ys(t,i-n,e,n,o,a,h),u=Qi(o,a,h[0],h[1]),u<c)){for(c=u,d=0;d<n;++d)l[d]=h[d];l.length=n}return c}function Hs(t,e,i,n,r,s,o,a,l,c,h){h=h||[NaN,NaN];for(let d=0,u=i.length;d<u;++d){const u=i[d];c=qs(t,e,u,n,r,s,o,a,l,c,h),e=u}return c}function $s(t,e,i,n){for(let r=0,s=i.length;r<s;++r){const s=i[r];for(let i=0;i<n;++i)t[e++]=s[i]}return e}function Vs(t,e,i,n,r){r=r||[];let s=0;for(let o=0,a=i.length;o<a;++o){const a=$s(t,e,i[o],n);r[s++]=a,e=a}return r.length=s,r}function Ks(t,e,i,n,r){r=void 0!==r?r:[];let s=0;for(let o=e;o<i;o+=n)r[s++]=t.slice(o,o+n);return r.length=s,r}function Zs(t,e,i,n,r){r=void 0!==r?r:[];let s=0;for(let o=0,a=i.length;o<a;++o){const a=i[o];r[s++]=Ks(t,e,a,n,r[s]),e=a}return r.length=s,r}function Js(t,e,i,n,r){r=void 0!==r?r:[];let s=0;for(let o=0,a=i.length;o<a;++o){const a=i[o];r[s++]=1===a.length&&a[0]===e?[]:Zs(t,e,a,n,r[s]),e=a[a.length-1]}return r.length=s,r}function Qs(t,e,i,n,r,s,o){const a=(i-e)/n;if(a<3){for(;e<i;e+=n)s[o++]=t[e],s[o++]=t[e+1];return o}const l=new Array(a);l[0]=1,l[a-1]=1;const c=[e,i-n];let h=0;for(;c.length>0;){const i=c.pop(),s=c.pop();let o=0;const a=t[s],d=t[s+1],u=t[i],p=t[i+1];for(let e=s+n;e<i;e+=n){const i=Ji(t[e],t[e+1],a,d,u,p);i>o&&(h=e,o=i)}o>r&&(l[(h-e)/n]=1,s+n<h&&c.push(s,h),h+n<i&&c.push(h,i))}for(let i=0;i<a;++i)l[i]&&(s[o++]=t[e+i*n],s[o++]=t[e+i*n+1]);return o}function to(t,e,i,n,r,s,o,a){for(let l=0,c=i.length;l<c;++l){const c=i[l];o=Qs(t,e,c,n,r,s,o),a.push(o),e=c}return o}function eo(t,e){return e*Math.round(t/e)}function io(t,e,i,n,r,s,o){if(e==i)return o;let a,l,c=eo(t[e],r),h=eo(t[e+1],r);e+=n,s[o++]=c,s[o++]=h;do{if(a=eo(t[e],r),l=eo(t[e+1],r),(e+=n)==i)return s[o++]=a,s[o++]=l,o}while(a==c&&l==h);for(;e<i;){const i=eo(t[e],r),d=eo(t[e+1],r);if(e+=n,i==a&&d==l)continue;const u=a-c,p=l-h,f=i-c,g=d-h;u*g==p*f&&(u<0&&f<u||u==f||u>0&&f>u)&&(p<0&&g<p||p==g||p>0&&g>p)?(a=i,l=d):(s[o++]=a,s[o++]=l,c=a,h=l,a=i,l=d)}return s[o++]=a,s[o++]=l,o}function no(t,e,i,n,r,s,o,a){for(let l=0,c=i.length;l<c;++l){const c=i[l];o=io(t,e,c,n,r,s,o),a.push(o),e=c}return o}class ro extends js{constructor(t,e){super(),this.maxDelta_=-1,this.maxDeltaRevision_=-1,void 0===e||Array.isArray(t[0])?this.setCoordinates(t,e):this.setFlatCoordinates(e,t)}clone(){return new ro(this.flatCoordinates.slice(),this.layout)}closestPointXY(t,e,i,n){return n<wn(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Us(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),qs(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!0,t,e,i,n))}getArea(){return Gs(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getCoordinates(){return Ks(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getSimplifiedGeometryInternal(t){const e=[];return e.length=Qs(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e,0),new ro(e,"XY")}getType(){return"LinearRing"}intersectsExtent(t){return!1}setCoordinates(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=$s(this.flatCoordinates,0,t,this.stride),this.changed()}}const so=ro;class oo extends js{constructor(t,e){super(),this.setCoordinates(t,e)}clone(){const t=new oo(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t}closestPointXY(t,e,i,n){const r=this.flatCoordinates,s=Qi(t,e,r[0],r[1]);if(s<n){const t=this.stride;for(let e=0;e<t;++e)i[e]=r[e];return i.length=t,s}return n}getCoordinates(){return this.flatCoordinates.slice()}computeExtent(t){return kn(this.flatCoordinates,t)}getType(){return"Point"}intersectsExtent(t){return En(t,this.flatCoordinates[0],this.flatCoordinates[1])}setCoordinates(t,e){this.setLayout(e,t,0),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=function(t,e,i){for(let n=0,r=i.length;n<r;++n)t[e++]=i[n];return e}(this.flatCoordinates,0,t,this.stride),this.changed()}}const ao=oo;function lo(t,e,i,n,r){return!Dn(r,function(r){return!co(t,e,i,n,r[0],r[1])})}function co(t,e,i,n,r,s){let o=0,a=t[i-n],l=t[i-n+1];for(;e<i;e+=n){const i=t[e],n=t[e+1];l<=s?n>s&&(i-a)*(s-l)-(r-a)*(n-l)>0&&o++:n<=s&&(i-a)*(s-l)-(r-a)*(n-l)<0&&o--,a=i,l=n}return 0!==o}function ho(t,e,i,n,r,s){if(0===i.length)return!1;if(!co(t,e,i[0],n,r,s))return!1;for(let e=1,o=i.length;e<o;++e)if(co(t,i[e-1],i[e],n,r,s))return!1;return!0}function uo(t,e,i,n,r,s,o){let a,l,c,h,d,u,p;const f=r[s+1],g=[];for(let r=0,s=i.length;r<s;++r){const s=i[r];for(h=t[s-n],u=t[s-n+1],a=e;a<s;a+=n)d=t[a],p=t[a+1],(f<=u&&p<=f||u<=f&&f<=p)&&(c=(f-u)/(p-u)*(d-h)+h,g.push(c)),h=d,u=p}let m=NaN,_=-1/0;for(g.sort(Ye),h=g[0],a=1,l=g.length;a<l;++a){d=g[a];const r=Math.abs(d-h);r>_&&(c=(h+d)/2,ho(t,e,i,n,c,f)&&(m=c,_=r)),h=d}return isNaN(m)&&(m=r[s]),o?(o.push(m,f,_),o):[m,f,_]}function po(t,e,i,n,r,s){return s=s??Ln([1/0,1/0,-1/0,-1/0],t,e,i,n),!!Hn(r,s)&&(s[0]>=r[0]&&s[2]<=r[2]||s[1]>=r[1]&&s[3]<=r[3]||function(t,e,i,n,r){let s;for(e+=n;e<i;e+=n)if(s=r(t.slice(e-n,e),t.slice(e,e+n)),s)return s;return!1}(t,e,i,n,function(t,e){return function(t,e,i){let n=!1;const r=Sn(t,e),s=Sn(t,i);if(r===un||s===un)n=!0;else{const o=t[0],a=t[1],l=t[2],c=t[3],h=e[0],d=e[1],u=i[0],p=i[1],f=(p-d)/(u-h);let g,m;s&pn&&!(r&pn)&&(g=u-(p-c)/f,n=g>=o&&g<=l),n||!(s&fn)||r&fn||(m=p-(u-l)*f,n=m>=a&&m<=c),n||!(s&gn)||r&gn||(g=u-(p-a)/f,n=g>=o&&g<=l),n||!(s&mn)||r&mn||(m=p-(u-o)*f,n=m>=a&&m<=c)}return n}(r,t,e)}))}function fo(t,e,i,n,r){return!!po(t,e,i,n,r)||(!!co(t,e,i,n,r[0],r[1])||(!!co(t,e,i,n,r[0],r[3])||(!!co(t,e,i,n,r[2],r[1])||!!co(t,e,i,n,r[2],r[3]))))}function go(t,e,i,n,r){if(!fo(t,e,i[0],n,r))return!1;if(1===i.length)return!0;for(let e=1,s=i.length;e<s;++e)if(lo(t,i[e-1],i[e],n,r)&&!po(t,i[e-1],i[e],n,r))return!1;return!0}function mo(t,e,i,n){for(;e<i-n;){for(let r=0;r<n;++r){const s=t[e+r];t[e+r]=t[i-n+r],t[i-n+r]=s}e+=n,i-=n}}function _o(t,e,i,n){let r=0,s=t[i-n],o=t[i-n+1];for(;e<i;e+=n){const i=t[e],n=t[e+1];r+=(i-s)*(n+o),s=i,o=n}return 0===r?void 0:r>0}function vo(t,e,i,n,r){r=void 0!==r&&r;for(let s=0,o=i.length;s<o;++s){const o=i[s],a=_o(t,e,o,n);if(0===s){if(r&&a||!r&&!a)return!1}else if(r&&!a||!r&&a)return!1;e=o}return!0}function yo(t,e,i,n,r){r=void 0!==r&&r;for(let s=0,o=i.length;s<o;++s){const o=i[s],a=_o(t,e,o,n);(0===s?r&&a||!r&&!a:r&&!a||!r&&a)&&mo(t,e,o,n),e=o}return e}class wo extends js{constructor(t,e,i){super(),this.ends_=[],this.flatInteriorPointRevision_=-1,this.flatInteriorPoint_=null,this.maxDelta_=-1,this.maxDeltaRevision_=-1,this.orientedRevision_=-1,this.orientedFlatCoordinates_=null,void 0!==e&&i?(this.setFlatCoordinates(e,t),this.ends_=i):this.setCoordinates(t,e)}appendLinearRing(t){this.flatCoordinates?He(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()}clone(){const t=new wo(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return t.applyProperties(this),t}closestPointXY(t,e,i,n){return n<wn(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Xs(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Hs(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,t,e,i,n))}containsXY(t,e){return ho(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,e)}getArea(){return Ws(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)}getCoordinates(t){let e;return void 0!==t?(e=this.getOrientedFlatCoordinates().slice(),yo(e,0,this.ends_,this.stride,t)):e=this.flatCoordinates,Zs(e,0,this.ends_,this.stride)}getEnds(){return this.ends_}getFlatInteriorPoint(){if(this.flatInteriorPointRevision_!=this.getRevision()){const t=Nn(this.getExtent());this.flatInteriorPoint_=uo(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_}getInteriorPoint(){return new ao(this.getFlatInteriorPoint(),"XYM")}getLinearRingCount(){return this.ends_.length}getLinearRing(t){return t<0||this.ends_.length<=t?null:new so(this.flatCoordinates.slice(0===t?0:this.ends_[t-1],this.ends_[t]),this.layout)}getLinearRings(){const t=this.layout,e=this.flatCoordinates,i=this.ends_,n=[];let r=0;for(let s=0,o=i.length;s<o;++s){const o=i[s],a=new so(e.slice(r,o),t);n.push(a),r=o}return n}getOrientedFlatCoordinates(){if(this.orientedRevision_!=this.getRevision()){const t=this.flatCoordinates;vo(t,0,this.ends_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=yo(this.orientedFlatCoordinates_,0,this.ends_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_}getSimplifiedGeometryInternal(t){const e=[],i=[];return e.length=no(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(t),e,0,i),new w
2o(e,"XY",i)}getType(){return"Polygon"}intersectsExtent(t){return go(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t)}setCoordinates(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);const i=Vs(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=0===i.length?0:i[i.length-1],this.changed()}}const xo=wo;function bo(t){if($n(t))throw new Error("Cannot create polygon from empty extent");const e=t[0],i=t[1],n=t[2],r=t[3],s=[e,i,e,r,n,r,n,i,e,i];return new wo(s,"XY",[s.length])}function Eo(t,e,i,n){const r=qn(e)/i[0],s=Wn(e)/i[1];return n?Math.min(t,Math.max(r,s)):Math.min(t,Math.min(r,s))}function So(t,e,i){let n=Math.min(t,e);return n*=Math.log(1+50*Math.max(0,t/e-1))/50+1,i&&(n=Math.max(n,i),n/=Math.log(1+50*Math.max(0,i/t-1))/50+1),Zi(n,i/2,2*e)}function Co(t,e,i,n,r){return i=void 0===i||i,function(s,o,a,l){if(void 0!==s){const o=n?Eo(t,n,a,r):t;return i&&l?So(s,o,e):Zi(s,e,o)}}}function To(t){if(void 0!==t)return 0}function Ao(t){if(void 0!==t)return t}const ko=256;function Mo(t,e){setTimeout(function(){t(e)},0)}function Io(t){return!(t.sourceCenter&&t.targetCenter&&!Jn(t.sourceCenter,t.targetCenter))&&(t.sourceResolution===t.targetResolution&&t.sourceRotation===t.targetRotation)}function Ro(t,e,i,n,r){const s=Math.cos(-r);let o=Math.sin(-r),a=t[0]*s-t[1]*o,l=t[1]*s+t[0]*o;a+=(e[0]/2-i[0])*n,l+=(i[1]-e[1]/2)*n,o=-o;return[a*s-l*o,l*s+a*o]}const Lo=class extends pi{constructor(t){super(),this.on,this.once,this.un,t=Object.assign({},t),this.hints_=[0,0],this.animations_=[],this.updateAnimationKey_,this.projection_=cs(t.projection,"EPSG:3857"),this.viewportSize_=[100,100],this.targetCenter_=null,this.targetResolution_,this.targetRotation_,this.nextCenter_=null,this.nextResolution_,this.nextRotation_,this.cancelAnchor_=void 0,t.projection&&ns(),t.center&&(t.center=xs(t.center,this.projection_)),t.extent&&(t.extent=Es(t.extent,this.projection_)),this.applyOptions_(t)}applyOptions_(t){const e=Object.assign({},t);for(const t in Ki)delete e[t];this.setProperties(e,!0);const i=function(t){let e,i,n;const r=28,s=2;let o=void 0!==t.minZoom?t.minZoom:0,a=void 0!==t.maxZoom?t.maxZoom:r;const l=void 0!==t.zoomFactor?t.zoomFactor:s,c=void 0!==t.multiWorld&&t.multiWorld,h=void 0===t.smoothResolutionConstraint||t.smoothResolutionConstraint,d=void 0!==t.showFullExtent&&t.showFullExtent,u=cs(t.projection,"EPSG:3857"),p=u.getExtent();let f=t.constrainOnlyCenter,g=t.extent;c||g||!u.isGlobal()||(f=!1,g=p);if(void 0!==t.resolutions){const r=t.resolutions;i=r[o],n=void 0!==r[a]?r[a]:r[r.length-1],e=t.constrainResolution?function(t,e,i,n){return e=void 0===e||e,function(r,s,o,a){if(void 0!==r){const l=t[0],c=t[t.length-1],h=i?Eo(l,i,o,n):l;if(a)return e?So(r,h,c):Zi(r,c,h);const d=Math.min(h,r),u=Math.floor(Xe(t,d,s));return t[u]>h&&u<t.length-1?t[u+1]:t[u]}}}(r,h,!f&&g,d):Co(i,n,h,!f&&g,d)}else{const c=(p?Math.max(qn(p),Wn(p)):360*lr.degrees/u.getMetersPerUnit())/ko/Math.pow(s,0),m=c/Math.pow(s,r-0);i=t.maxResolution,void 0!==i?o=0:i=c/Math.pow(l,o),n=t.minResolution,void 0===n&&(n=void 0!==t.maxZoom?void 0!==t.maxResolution?i/Math.pow(l,a):c/Math.pow(l,a):m),a=o+Math.floor(Math.log(i/n)/Math.log(l)),n=i/Math.pow(l,a-o),e=t.constrainResolution?function(t,e,i,n,r,s){return n=void 0===n||n,i=void 0!==i?i:0,function(o,a,l,c){if(void 0!==o){const h=r?Eo(e,r,l,s):e;if(c)return n?So(o,h,i):Zi(o,i,h);const d=1e-9,u=Math.ceil(Math.log(e/h)/Math.log(t)-d),p=-a*(.5-d)+.5,f=Math.min(h,o),g=Math.floor(Math.log(e/f)/Math.log(t)+p),m=Math.max(u,g);return Zi(e/Math.pow(t,m),i,h)}}}(l,i,n,h,!f&&g,d):Co(i,n,h,!f&&g,d)}return{constraint:e,maxResolution:i,minResolution:n,minZoom:o,zoomFactor:l}}(t);this.maxResolution_=i.maxResolution,this.minResolution_=i.minResolution,this.zoomFactor_=i.zoomFactor,this.resolutions_=t.resolutions,this.padding_=t.padding,this.minZoom_=i.minZoom;const n=function(t){if(void 0!==t.extent){const e=void 0===t.smoothExtentConstraint||t.smoothExtentConstraint;return cn(t.extent,t.constrainOnlyCenter,e)}const e=cs(t.projection,"EPSG:3857");if(!0!==t.multiWorld&&e.isGlobal()){const t=e.getExtent().slice();return t[0]=-1/0,t[2]=1/0,cn(t,!1,!1)}return hn}
vendor: 23,626 bytes, line 2
2(t),r=i.constraint,s=function(t){const e=void 0===t.enableRotation||t.enableRotation;if(e){const e=t.constrainRotation;return void 0===e||!0===e?function(t){const e=void 0===t?en(5):t;return function(t,i){return i||void 0===t?t:Math.abs(t)<=e?0:t}}():!1===e?Ao:"number"==typeof e?function(t){const e=2*Math.PI/t;return function(t,i){return i?t:void 0!==t?t=Math.floor(t/e+.5)*e:void 0}}(e):Ao}return To}(t);this.constraints_={center:n,resolution:r,rotation:s},this.setRotation(void 0!==t.rotation?t.rotation:0),this.setCenterInternal(void 0!==t.center?t.center:null),void 0!==t.resolution?this.setResolution(t.resolution):void 0!==t.zoom&&this.setZoom(t.zoom)}get padding(){return this.padding_}set padding(t){let e=this.padding_;this.padding_=t;const i=this.getCenterInternal();if(i){const n=t||[0,0,0,0];e=e||[0,0,0,0];const r=this.getResolution(),s=r/2*(n[3]-e[3]+e[1]-n[1]),o=r/2*(n[0]-e[0]+e[2]-n[2]);this.setCenterInternal([i[0]+s,i[1]-o])}}getUpdatedOptions_(t){const e=this.getProperties();return void 0!==e.resolution?e.resolution=this.getResolution():e.zoom=this.getZoom(),e.center=this.getCenterInternal(),e.rotation=this.getRotation(),Object.assign({},e,t)}animate(t){this.isDef()&&!this.getAnimating()&&this.resolveConstraints(0);const e=new Array(arguments.length);for(let t=0;t<e.length;++t){let i=arguments[t];i.center&&(i=Object.assign({},i),i.center=xs(i.center,this.getProjection())),i.anchor&&(i=Object.assign({},i),i.anchor=xs(i.anchor,this.getProjection())),e[t]=i}this.animateInternal.apply(this,e)}animateInternal(t){let e,i=arguments.length;i>1&&"function"==typeof arguments[i-1]&&(e=arguments[i-1],--i);let n=0;for(;n<i&&!this.isDef();++n){const t=arguments[n];t.center&&this.setCenterInternal(t.center),void 0!==t.zoom?this.setZoom(t.zoom):t.resolution&&this.setResolution(t.resolution),void 0!==t.rotation&&this.setRotation(t.rotation)}if(n===i)return void(e&&Mo(e,!0));let r=Date.now(),s=this.targetCenter_.slice(),o=this.targetResolution_,a=this.targetRotation_;const l=[];for(;n<i;++n){const t=arguments[n],i={start:r,complete:!1,anchor:t.anchor,duration:void 0!==t.duration?t.duration:1e3,easing:t.easing||nr,callback:e};if(t.center&&(i.sourceCenter=s,i.targetCenter=t.center.slice(),s=i.targetCenter),void 0!==t.zoom?(i.sourceResolution=o,i.targetResolution=this.getResolutionForZoom(t.zoom),o=i.targetResolution):t.resolution&&(i.sourceResolution=o,i.targetResolution=t.resolution,o=i.targetResolution),void 0!==t.rotation){i.sourceRotation=a;const e=nn(t.rotation-a+Math.PI,2*Math.PI)-Math.PI;i.targetRotation=a+e,a=i.targetRotation}Io(i)?i.complete=!0:r+=i.duration,l.push(i)}this.animations_.push(l),this.setHint($i,1),this.updateAnimations_()}getAnimating(){return this.hints_[$i]>0}getInteracting(){return this.hints_[Vi]>0}cancelAnimations(){let t;this.setHint($i,-this.hints_[$i]);for(let e=0,i=this.animations_.length;e<i;++e){const i=this.animations_[e];if(i[0].callback&&Mo(i[0].callback,!1),!t)for(let e=0,n=i.length;e<n;++e){const n=i[e];if(!n.complete){t=n.anchor;break}}}this.animations_.length=0,this.cancelAnchor_=t,this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN}updateAnimations_(){if(void 0!==this.updateAnimationKey_&&(cancelAnimationFrame(this.updateAnimationKey_),this.updateAnimationKey_=void 0),!this.getAnimating())return;const t=Date.now();let e=!1;for(let i=this.animations_.length-1;i>=0;--i){const n=this.animations_[i];let r=!0;for(let i=0,s=n.length;i<s;++i){const s=n[i];if(s.complete)continue;const o=t-s.start;let a=s.duration>0?o/s.duration:1;a>=1?(s.complete=!0,a=1):r=!1;const l=s.easing(a);if(s.sourceCenter){const t=s.sourceCenter[0],e=s.sourceCenter[1],i=s.targetCenter[0],n=s.targetCenter[1];this.nextCenter_=s.targetCenter;const r=t+l*(i-t),o=e+l*(n-e);this.targetCenter_=[r,o]}if(s.sourceResolution&&s.targetResolution){const t=1===l?s.targetResolution:s.sourceResolution+l*(s.targetResolution-s.sourceResolution);if(s.anchor){const e=this.getViewportSize_(this.getRotation()),i=this.constraints_.resolution(t,0,e,!0);this.targetCenter_=this.calculateCenterZoom(i,s.anchor)}this.nextResolution_=s.targetResolution,this.targetResolution_=t,this.applyTargetState_(!0)}if(void 0!==s.sourceRotation&&void 0!==s.targetRotation){const t=1===l?nn(s.targetRotation+Math.PI,2*Math.PI)-Math.PI:s.sourceRotation+l*(s.targetRotation-s.sourceRotation);if(s.anchor){const e=this.constraints_.rotation(t,!0);this.targetCenter_=this.calculateCenterRotate(e,s.anchor)}this.nextRotation_=s.targetRotation,this.targetRotation_=t}if(this.applyTargetState_(!0),e=!0,!s.complete)break}if(r){this.animations_[i]=null,this.setHint($i,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const t=n[0].callback;t&&Mo(t,!0)}}this.animations_=this.animations_.filter(Boolean),e&&void 0===this.updateAnimationKey_&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(t,e){let i;const n=this.getCenterInternal();var r,s;return void 0!==n&&(i=[n[0]-e[0],n[1]-e[1]],Qn(i,t-this.getRotation()),s=e,(r=i)[0]+=+s[0],r[1]+=+s[1]),i}calculateCenterZoom(t,e){let i;const n=this.getCenterInternal(),r=this.getResolution();if(void 0!==n&&void 0!==r){i=[e[0]-t*(e[0]-n[0])/r,e[1]-t*(e[1]-n[1])/r]}return i}getViewportSize_(t){const e=this.viewportSize_;if(t){const i=e[0],n=e[1];return[Math.abs(i*Math.cos(t))+Math.abs(n*Math.sin(t)),Math.abs(i*Math.sin(t))+Math.abs(n*Math.cos(t))]}return e}setViewportSize(t){this.viewportSize_=Array.isArray(t)?t.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const t=this.getCenterInternal();return t?ws(t,this.getProjection()):t}getCenterInternal(){return this.get(Ki.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(t){return void 0!==t?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()}calculateExtent(t){return bs(this.calculateExtentInternal(t),this.getProjection())}calculateExtentInternal(t){t=t||this.getViewportSizeMinusPadding_();const e=this.getCenterInternal();Ui(e,"The view center is not defined");const i=this.getResolution();Ui(void 0!==i,"The view resolution is not defined");const n=this.getRotation();return Ui(void 0!==n,"The view rotation is not defined"),jn(e,i,n,t)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))}setConstrainResolution(t){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:t}))}getProjection(){return this.projection_}getResolution(){return this.get(Ki.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(t,e){return this.getResolutionForExtentInternal(Es(t,this.getProjection()),e)}getResolutionForExtentInternal(t,e){e=e||this.getViewportSizeMinusPadding_();const i=qn(t)/e[0],n=Wn(t)/e[1];return Math.max(i,n)}getResolutionForValueFunction(t){t=t||2;const e=this.getConstrainedResolution(this.maxResolution_),i=this.minResolution_,n=Math.log(e/i)/Math.log(t);return function(i){return e/Math.pow(t,i*n)}}getRotation(){return this.get(Ki.ROTATION)}getValueForResolutionFunction(t){const e=Math.log(t||2),i=this.getConstrainedResolution(this.maxResolution_),n=this.minResolution_,r=Math.log(i/n)/e;return function(t){return Math.log(i/t)/e/r}}getViewportSizeMinusPadding_(t){let e=this.getViewportSize_(t);const i=this.padding_;return i&&(e=[e[0]-i[1]-i[3],e[1]-i[0]-i[2]]),e}getState(){const t=this.getProjection(),e=this.getResolution(),i=this.getRotation();let n=this.getCenterInternal();const r=this.padding_;if(r){const t=this.getViewportSizeMinusPadding_();n=Ro(n,this.getViewportSize_(),[t[0]/2+r[3],t[1]/2+r[0]],e,i)}return{center:n.slice(0),projection:void 0!==t?t:null,resolution:e,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:i,zoom:this.getZoom()}}getViewStateAndExtent(){return{viewState:this.getState(),extent:this.calculateExtent()}}getZoom(){let t;const e=this.getResolution();return void 0!==e&&(t=this.getZoomForResolution(e)),t}getZoomForResolution(t){let e,i,n=this.minZoom_||0;if(this.resolutions_){const r=Xe(this.resolutions_,t,1);n=r,e=this.resolutions_[r],i=r==this.resolutions_.length-1?2:e/this.resolutions_[r+1]}else e=this.maxResolution_,i=this.zoomFactor_;return n+Math.log(e/t)/Math.log(i)}getResolutionForZoom(t){if(this.resolutions_?.length){if(1===this.resolutions_.length)return this.resolutions_[0];const e=Zi(Math.floor(t),0,this.resolutions_.length-2),i=this.resolutions_[e]/this.resolutions_[e+1];return this.resolutions_[e]/Math.pow(i,Zi(t-e,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,t-this.minZoom_)}fit(t,e){let i;if(Ui(Array.isArray(t)||"function"==typeof t.getSimplifiedGeometry,"Invalid extent or geometry provided as `geometry`"),Array.isArray(t)){Ui(!$n(t),"Cannot fit empty extent provided as `geometry`");i=bo(Es(t,this.getProjection()))}else if("Circle"===t.getType()){const e=Es(t.getExtent(),this.getProjection());i=bo(e),i.rotate(this.getRotation(),Nn(e))}else{const e=ys();i=e?t.clone().transform(e,this.getProjection()):t}this.fitInternal(i,e)}rotatedExtentForGeometry(t){const e=this.getRotation(),i=Math.cos(e),n=Math.sin(-e),r=t.getFlatCoordinates(),s=t.getStride();let o=1/0,a=1/0,l=-1/0,c=-1/0;for(let t=0,e=r.length;t<e;t+=s){const e=r[t]*i-r[t+1]*n,s=r[t]*n+r[t+1]*i;o=Math.min(o,e),a=Math.min(a,s),l=Math.max(l,e),c=Math.max(c,s)}return[o,a,l,c]}fitInternal(t,e){let i=(e=e||{}).size;i||(i=this.getViewportSizeMinusPadding_());const n=void 0!==e.padding?e.padding:[0,0,0,0],r=void 0!==e.nearest&&e.nearest;let s;s=void 0!==e.minResolution?e.minResolution:void 0!==e.maxZoom?this.getResolutionForZoom(e.maxZoom):0;const o=this.rotatedExtentForGeometry(t);let a=this.getResolutionForExtentInternal(o,[i[0]-n[1]-n[3],i[1]-n[0]-n[2]]);a=isNaN(a)?s:Math.max(a,s),a=this.getConstrainedResolution(a,r?0:1);const l=this.getRotation(),c=Math.sin(l),h=Math.cos(l),d=Nn(o);d[0]+=(n[1]-n[3])/2*a,d[1]+=(n[0]-n[2])/2*a;const u=d[0]*h-d[1]*c,p=d[1]*h+d[0]*c,f=this.getConstrainedCenter([u,p],a),g=e.callback?e.callback:Ze;void 0!==e.duration?this.animateInternal({resolution:a,center:f,duration:e.duration,easing:e.easing},g):(this.targetResolution_=a,this.targetCenter_=f,this.applyTargetState_(!1,!0),Mo(g,!0))}centerOn(t,e,i){this.centerOnInternal(xs(t,this.getProjection()),e,i)}centerOnInternal(t,e,i){this.setCenterInternal(Ro(t,e,i,this.getResolution(),this.getRotation()))}calculateCenterShift(t,e,i,n){let r;const s=this.padding_;if(s&&t){const o=this.getViewportSizeMinusPadding_(-i),a=Ro(t,n,[o[0]/2+s[3],o[1]/2+s[0]],e,i);r=[t[0]-a[0],t[1]-a[1]]}return r}isDef(){return!!this.getCenterInternal()&&void 0!==this.getResolution()}adjustCenter(t){const e=ws(this.targetCenter_,this.getProjection());this.setCenter([e[0]+t[0],e[1]+t[1]])}adjustCenterInternal(t){const e=this.targetCenter_;this.setCenterInternal([e[0]+t[0],e[1]+t[1]])}adjustResolution(t,e){e=e&&xs(e,this.getProjection()),this.adjustResolutionInternal(t,e)}adjustResolutionInternal(t,e){const i=this.getAnimating()||this.getInteracting(),n=this.getViewportSize_(this.getRotation()),r=this.constraints_.resolution(this.targetResolution_*t,0,n,i);e&&(this.targetCenter_=this.calculateCenterZoom(r,e)),this.targetResolution_*=t,this.applyTargetState_()}adjustZoom(t,e){this.adjustResolution(Math.pow(this.zoomFactor_,-t),e)}adjustRotation(t,e){e&&(e=xs(e,this.getProjection())),this.adjustRotationInternal(t,e)}adjustRotationInternal(t,e){const i=this.getAnimating()||this.getInteracting(),n=this.constraints_.rotation(this.targetRotation_+t,i);e&&(this.targetCenter_=this.calculateCenterRotate(n,e)),this.targetRotation_+=t,this.applyTargetState_()}setCenter(t){this.setCenterInternal(t?xs(t,this.getProjection()):t)}setCenterInternal(t){this.targetCenter_=t,this.applyTargetState_()}setHint(t,e){return this.hints_[t]+=e,this.changed(),this.hints_[t]}setResolution(t){this.targetResolution_=t,this.applyTargetState_()}setRotation(t){this.targetRotation_=t,this.applyTargetState_()}setZoom(t){this.setResolution(this.getResolutionForZoom(t))}applyTargetState_(t,e){const i=this.getAnimating()||this.getInteracting()||e,n=this.constraints_.rotation(this.targetRotation_,i),r=this.getViewportSize_(n),s=this.constraints_.resolution(this.targetResolution_,0,r,i),o=this.constraints_.center(this.targetCenter_,s,r,i,this.calculateCenterShift(this.targetCenter_,s,n,r));this.get(Ki.ROTATION)!==n&&this.set(Ki.ROTATION,n),this.get(Ki.RESOLUTION)!==s&&(this.set(Ki.RESOLUTION,s),this.set("zoom",this.getZoom(),!0)),o&&this.get(Ki.CENTER)&&Jn(this.get(Ki.CENTER),o)||this.set(Ki.CENTER,o),this.getAnimating()&&!t&&this.cancelAnimations(),this.cancelAnchor_=void 0}resolveConstraints(t,e,i){t=void 0!==t?t:200;const n=e||0,r=this.constraints_.rotation(this.targetRotation_),s=this.getViewportSize_(r),o=this.constraints_.resolution(this.targetResolution_,n,s),a=this.constraints_.center(this.targetCenter_,o,s,!1,this.calculateCenterShift(this.targetCenter_,o,r,s));if(0===t&&!this.cancelAnchor_)return this.targetResolution_=o,this.targetRotation_=r,this.targetCenter_=a,void this.applyTargetState_();i=i||(0===t?this.cancelAnchor_:void 0),this.cancelAnchor_=void 0,this.getResolution()===o&&this.getRotation()===r&&this.getCenterInternal()&&Jn(this.getCenterInternal(),a)||(this.getAnimating()&&this.cancelAnimations(),this.animateInternal({rotation:r,center:a,resolution:o,duration:t,easing:ir,anchor:i}))}beginInteraction(){this.resolveConstraints(0),this.setHint(Vi,1)}endInteraction(t,e,i){i=i&&xs(i,this.getProjection()),this.endInteractionInternal(t,e,i)}endInteractionInternal(t,e,i){this.getInteracting()&&(this.setHint(Vi,-1),this.resolveConstraints(t,e,i))}getConstrainedCenter(t,e){const i=this.getViewportSize_(this.getRotation());return this.constraints_.center(t,e||this.getResolution(),i)}getConstrainedZoom(t,e){const i=this.getResolutionForZoom(t);return this.getZoomForResolution(this.getConstrainedResolution(i,e))}getConstrainedResolution(t,e){e=e||0;const i=this.getViewportSize_(this.getRotation());return this.constraints_.resolution(t,e,i)}},Po="ol-hidden",Do="ol-unselectable",Oo="ol-control",Fo="ol-collapsed",zo=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))","?\\s*([-,\\\"\\'\\sa-z0-9]+?)\\s*$"].join(""),"i"),No=["style","variant","weight","size","lineHeight","family"],Bo={normal:400,bold:700},jo=function(t){const e=t.match(zo);if(!e)return null;const i={lineHeight:"normal",size:"1.2em",style:"normal",weight:"400",variant:"normal"};for(let t=0,n=No.length;t<n;++t){const n=e[t+1];void 0!==n&&(i[No[t]]="string"==typeof n?n.trim():n)}return isNaN(Number(i.weight))&&i.weight in Bo&&(i.weight=Bo[i.weight]),i.families=i.family.split(/,\s?/).map(t=>t.trim().replace(/^['"]|['"]$/g,"")),i};function Go(t,e,i,n){let r;return r=i&&i.length?i.shift():Si?new OffscreenCanvas(t||300,e||300):document.createElement("canvas"),t&&(r.width=t),e&&(r.height=e),r.getContext("2d",n)}let Wo;function Yo(){return Wo||(Wo=Go(1,1)),Wo}function Uo(t){const e=t.canvas;e.width=1,e.height=1,t.clearRect(0,0,1,1)}function Xo(t,e){const i=e.parentNode;i&&i.replaceChild(t,e)}const qo=class extends pi{constructor(t){super();const e=t.element;!e||t.target||e.style.pointerEvents||(e.style.pointerEvents="auto"),this.element=e||null,this.target_=null,this.map_=null,this.listenerKeys=[],t.render&&(this.render=t.render),t.target&&this.setTarget(t.target)}disposeInternal(){this.element?.remove(),super.disposeInternal()}getMap(){return this.map_}setMap(t){this.map_&&this.element?.remove();for(let t=0,e=this.listenerKeys.length;t<e;++t)oi(this.listenerKeys[t]);if(this.listenerKeys.length=0,this.map_=t,t){const e=this.target_??t.getOverlayContainerStopEvent();this.element&&e.appendChild(this.element),this.render!==Ze&&this.listenerKeys.push(ri(t,Ii,this.render,this)),t.render()}}render(t){}setTarget(t){this.target_="string"==typeof t?document.getElementById(t):t}};const Ho=class extends qo{constructor(t){t=t||{},super({element:document.createElement("div"),render:t.render,target:t.target}),this.ulElement_=document.createElement("ul"),this.collapsed_=void 0===t.collapsed||t.collapsed,this.userCollapsed_=this.collapsed_,this.overrideCollapsible_=void 0!==t.collapsible,this.collapsible_=void 0===t.collapsible||t.collapsible,this.collapsible_||(this.collapsed_=!1),this.attributions_=t.attributions;const e=void 0!==t.className?t.className:"ol-attribution",i=void 0!==t.tipLabel?t.tipLabel:"Attributions",n=void 0!==t.expandClassName?t.expandClassName:e+"-expand",r=void 0!==t.collapseLabel?t.collapseLabel:"›",s=void 0!==t.collapseClassName?t.collapseClassName:e+"-collapse";"string"==typeof r?(this.collapseLabel_=document.createElement("span"),this.collapseLabel_.textContent=r,this.collapseLabel_.className=s):this.collapseLabel_=r;const o=void 0!==t.label?t.label:"i";"string"==typeof o?(this.label_=document.createElement("span"),this.label_.textContent=o,this.label_.className=n):this.label_=o;const a=this.collapsible_&&!this.collapsed_?this.collapseLabel_:this.label_;this.toggleButton_=document.createElement("button"),this.toggleButton_.setAttribute("type","button"),this.toggleButton_.setAttribute("aria-expanded",String(!this.collapsed_)),this.toggleButton_.title=i,this.toggleButton_.appendChild(a),this.toggleButton_.addEventListener(Oe,this.handleClick_.bind(this),!1);const l=e+" "+Do+" "+Oo+(this.collapsed_&&this.collapsible_?" "+Fo:"")+(this.collapsible_?"":" ol-uncollapsible"),c=this.element;c.className=l,c.appendChild(this.toggleButton_),c.appendChild(this.ulElement_),this.renderedAttributions_=[],this.renderedVisible_=!0}collectSourceAttributions_(t){const e=this.getMap().getAllLayers(),i=new Set(e.flatMap(e=>e.getAttributions(t)));if(void 0!==this.attributions_&&(Array.isArray(this.attributions_)?this.attributions_.forEach(t=>i.add(t)):i.add(this.attributions_)),!this.overrideCollapsible_){const t=!e.some(t=>!1===t.getSource()?.getAttributionsCollapsible());this.setCollapsible(t)}return Array.from(i)}async updateElement_(t){if(!t)return void(this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1));const e=await Promise.all(this.collectSourceAttributions_(t).map(t=>Qe(()=>t))),i=e.length>0;if(this.renderedVisible_!=i&&(this.element.style.display=i?"":"none",this.renderedVisible_=i),!$e(e,this.renderedAttributions_)){!function(t){for(;t.lastChild;)t.lastChild.remove()}(this.ulElement_);for(let t=0,i=e.length;t<i;++t){const i=document.createElement("li");i.innerHTML=e[t],this.ulElement_.appendChild(i)}this.renderedAttributions_=e}}handleClick_(t){t.preventDefault(),this.handleToggle_(),this.userCollapsed_=this.collapsed_}handleToggle_(){this.element.classList.toggle(Fo),this.collapsed_?Xo(this.collapseLabel_,this.label_):Xo(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_,this.toggleButton_.setAttribute("aria-expanded",String(!this.collapsed_))}getCollapsible(){return this.collapsible_}setCollapsible(t){this.collapsible_!==t&&(this.collapsible_=t,this.element.classList.toggle("ol-uncollapsible"),this.userCollapsed_&&this.handleToggle_())}setCollapsed(t){this.userCollapsed_=t,this.collapsible_&&this.collapsed_!==t&&this.handleToggle_()}getCollapsed(){return this.collapsed_}render(t){this.updateElement_(t.frameState)}};const $o=class extends qo{constructor(t){t=t||{},super({element:document.createElement("div"),render:t.render,target:t.target});const e=void 0!==t.className?t.className:"ol-rotate",i=void 0!==t.label?t.label:"⇧",n=void 0!==t.compassClassName?t.compassClassName:"ol-compass";this.label_=null,"string"==typeof i?(this.label_=document.createElement("span"),this.label_.className=n,this.label_.textContent=i):(this.label_=i,this.label_.classList.add(n));const r=t.tipLabel?t.tipLabel:"Reset rotation",s=document.createElement("button");s.className=e+"-reset",s.setAttribute("type","button"),s.title=r,s.appendChild(this.label_),s.addEventListener(Oe,this.handleClick_.bind(this),!1);const o=e+" "+Do+" "+Oo,a=this.element;a.className=o,a.appendChild(s),this.callResetNorth_=t.resetNorth?t.resetNorth:void 0,this.duration_=void 0!==t.duration?t.duration:250,this.autoHide_=void 0===t.autoHide||t.autoHide,this.rotation_=void 0,this.autoHide_&&this.element.classList.add(Po)}handleClick_(t){t.preventDefault(),void 0!==this.callResetNorth_?this.callResetNorth_():this.resetNorth_()}resetNorth_(){const t=this.getMap().getView();if(!t)return;const e=t.getRotation();void 0!==e&&(this.duration_>0&&e%(2*Math.PI)!=0?t.animate({rotation:0,duration:this.duration_,easing:ir}):t.setRotation(0))}render(t){const e=t.frameState;if(!e)return;const i=e.viewState.rotation;if(i!=this.rotation_){const t="rotate("+i+"rad)";if(this.autoHide_){const t=this.element.classList.contains(Po);t||0!==i?t&&0!==i&&this.element.classList.remove(Po):this.element.classList.add(Po)}this.label_.style.transform=t}this.rotation_=i}};const Vo=class extends qo{constructor(t){t=t||{},super({element:document.createElement("div"),target:t.target});const e=void 0!==t.className?t.className:"ol-zoom",i=void 0!==t.delta?t.delta:1,n=void 0!==t.zoomInClassName?t.zoomInClassName:e+"-in",r=void 0!==t.zoomOutClassName?t.zoomOutClassName:e+"-out",s=void 0!==t.zoomInLabel?t.zoomInLabel:"+",o=void 0!==t.zoomOutLabel?t.zoomOutLabel:"–",a=void 0!==t.zoomInTipLabel?t.zoomInTipLabel:"Zoom in",l=void 0!==t.zoomOutTipLabel?t.zoomOutTipLabel:"Zoom out",c=document.createElement("button");c.className=n,c.setAttribute("type","button"),c.title=a,c.appendChild("string"==typeof s?document.createTextNode(s):s),c.addEventListener(Oe,this.handleClick_.bind(this,i),!1);const h=document.createElement("button");h.className=r,h.setAttribute("type","button"),h.title=l,h.appendChild("string"==typeof o?document.createTextNode(o):o),h.addEventListener(Oe,this.handleClick_.bind(this,-i),!1);const d=e+" "+Do+" "+Oo,u=this.element;u.className=d,u.appendChild(c),u.appendChild(h),this.duration_=void 0!==t.duration?t.duration:250}handleClick_(t,e){e.preventDefault(),this.zoomByDelta_(t)}zoomByDelta_(t){const e=this.getMap().getView();if(!e)return;const i=e.getZoom();if(void 0!==i){const n=e.getConstrainedZoom(i+t);this.duration_>0?(e.getAnimating()&&e.cancelAnimations(),e.animate({zoom:n,duration:this.duration_,easing:ir})):e.setZoom(n)}}};const Ko=class{constructor(t,e,i){this.decay_=t,this.minVelocity_=e,this.delay_=i,this.points_=[],this.angle_=0,this.initialVelocity_=0}begin(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0}update(t,e){this.points_.push(t,e,Date.now())}end(){if(this.points_.length<6)return!1;const t=Date.now()-this.delay_,e=this.points_.length-3;if(this.points_[e+2]<t)return!1;let i=e-3;for(;i>0&&this.points_[i+2]>t;)i-=3;const n=this.points_[e+2]-this.points_[i+2];if(n<1e3/60)return!1;const r=this.points_[e]-this.points_[i],s=this.points_[e+1]-this.points_[i+1];return this.angle_=Math.atan2(s,r),this.initialVelocity_=Math.sqrt(r*r+s*s)/n,this.initialVelocity_>this.minVelocity_}getDistance(){return(this.minVelocity_-this.initialVelocity_)/this.decay_}getAngle(){return this.angle_}},Zo="active";
2function Jo(t,e,i,n){const r=t.getZoom();if(void 0===r)return;const s=t.getConstrainedZoom(r+e),o=t.getResolutionForZoom(s);t.getAnimating()&&t.cancelAnimations(),t.animate({resolution:o,anchor:i,duration:void 0!==n?n:250,easing:ir})}const Qo=class extends pi{constructor(t){super(),this.on,this.once,this.un,t&&t.handleEvent&&(this.handleEvent=t.handleEvent),this.map_=null,this.setActive(!0)}getActive(){return this.get(Zo)}getMap(){return this.map_}handleEvent(t){return!0}setActive(t){this.set(Zo,t)}setMap(t){this.map_=t}};const ta=class extends Qo{constructor(t){super(),t=t||{},this.delta_=t.delta?t.delta:1,this.duration_=void 0!==t.duration?t.duration:250}handleEvent(t){let e=!1;if(t.type==yi.DBLCLICK){const i=t.originalEvent,n=t.map,r=t.coordinate,s=i.shiftKey?-this.delta_:this.delta_;Jo(n.getView(),s,r,this.duration_),i.preventDefault(),e=!0}return!e}};function ea(t){const e=arguments;return function(t){let i=!0;for(let n=0,r=e.length;n<r&&(i=i&&e[n](t),i);++n);return i}}const ia=function(t){const e=t.originalEvent;return e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},na=function(t){const e=t.map.getTargetElement(),i=e.getRootNode();return!(i instanceof ShadowRoot?i.host:e).hasAttribute("tabindex")||function(t){const e=t.map.getTargetElement(),i=e.getRootNode(),n=t.map.getOwnerDocument().activeElement;return i instanceof ShadowRoot?i.host.contains(n):e.contains(n)}(t)},ra=Ve,sa=function(t){const e=t.originalEvent;return"pointerId"in e&&0==e.button&&!(xi&&bi&&e.ctrlKey)},oa=function(t){const e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&!e.shiftKey},aa=function(t){const e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},la=function(t){const e=t.originalEvent,i=e.target.tagName;return"INPUT"!==i&&"SELECT"!==i&&"TEXTAREA"!==i&&!e.target.isContentEditable},ca=function(t){const e=t.originalEvent;return"pointerId"in e&&"mouse"==e.pointerType},ha=function(t){const e=t.originalEvent;return"pointerId"in e&&e.isPrimary&&0===e.button};function da(t){const e=t.length;let i=0,n=0;for(let r=0;r<e;r++)i+=t[r].clientX,n+=t[r].clientY;return{clientX:i/e,clientY:n/e}}const ua=class extends Qo{constructor(t){super(t=t||{}),t.handleDownEvent&&(this.handleDownEvent=t.handleDownEvent),t.handleDragEvent&&(this.handleDragEvent=t.handleDragEvent),t.handleMoveEvent&&(this.handleMoveEvent=t.handleMoveEvent),t.handleUpEvent&&(this.handleUpEvent=t.handleUpEvent),t.stopDown&&(this.stopDown=t.stopDown),this.handlingDownUpSequence=!1,this.targetPointers=[]}getPointerCount(){return this.targetPointers.length}handleDownEvent(t){return!1}handleDragEvent(t){}handleEvent(t){if(!t.originalEvent)return!0;let e=!1;if(this.updateTrackedPointers_(t),this.handlingDownUpSequence){if(t.type==yi.POINTERDRAG)this.handleDragEvent(t),t.originalEvent.preventDefault();else if(t.type==yi.POINTERUP){const e=this.handleUpEvent(t);this.handlingDownUpSequence=e&&this.targetPointers.length>0}}else if(t.type==yi.POINTERDOWN){const i=this.handleDownEvent(t);this.handlingDownUpSequence=i,e=this.stopDown(i)}else t.type==yi.POINTERMOVE&&this.handleMoveEvent(t);return!e}handleMoveEvent(t){}handleUpEvent(t){return!1}stopDown(t){return t}updateTrackedPointers_(t){t.activePointers&&(this.targetPointers=t.activePointers)}};const pa=class extends ua{constructor(t){super({stopDown:Ke}),t=t||{},this.kinetic_=t.kinetic,this.lastCentroid=null,this.lastPointersCount_,this.panning_=!1;const e=t.condition?t.condition:ea(oa,ha);this.condition_=t.onFocusOnly?ea(na,e):e,this.noKinetic_=!1}handleDragEvent(t){const e=t.map;this.panning_||(this.panning_=!0,e.getView().beginInteraction());const i=this.targetPointers,n=e.getEventPixel(da(i));if(i.length==this.lastPointersCount_){if(this.kinetic_&&this.kinetic_.update(n[0],n[1]),this.lastCentroid){const e=[this.lastCentroid[0]-n[0],n[1]-this.lastCentroid[1]],i=t.map.getView();!function(t,e){t[0]*=e,t[1]*=e}(e,i.getResolution()),Qn(e,i.getRotation()),i.adjustCenterInternal(e)}}else this.kinetic_&&this.kinetic_.begin();this.lastCentroid=n,this.lastPointersCount_=i.length,t.originalEvent.preventDefault()}handleUpEvent(t){const e=t.map,i=e.getView();if(0===this.targetPointers.length){if(!this.noKinetic_&&this.kinetic_&&this.kinetic_.end()){const t=this.kinetic_.getDistance(),n=this.kinetic_.getAngle(),r=i.getCenterInternal(),s=e.getPixelFromCo
vendor: 2,756 bytes, line 2
2ordinateInternal(r),o=e.getCoordinateFromPixelInternal([s[0]-t*Math.cos(n),s[1]-t*Math.sin(n)]);i.animateInternal({center:i.getConstrainedCenter(o),duration:500,easing:ir})}return this.panning_&&(this.panning_=!1,i.endInteraction()),!1}return this.kinetic_&&this.kinetic_.begin(),this.lastCentroid=null,!0}handleDownEvent(t){if(this.targetPointers.length>0&&this.condition_(t)){const e=t.map.getView();return this.lastCentroid=null,e.getAnimating()&&e.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1}};const fa=class extends ua{constructor(t){t=t||{},super({stopDown:Ke}),this.condition_=t.condition?t.condition:ia,this.lastAngle_=void 0,this.duration_=void 0!==t.duration?t.duration:250}handleDragEvent(t){if(!ca(t))return;const e=t.map,i=e.getView();if(i.getConstraints().rotation===To)return;const n=e.getSize(),r=t.pixel,s=Math.atan2(n[1]/2-r[1],r[0]-n[0]/2);if(void 0!==this.lastAngle_){const t=s-this.lastAngle_;i.adjustRotationInternal(-t)}this.lastAngle_=s}handleUpEvent(t){if(!ca(t))return!0;return t.map.getView().endInteraction(this.duration_),!1}handleDownEvent(t){if(!ca(t))return!1;if(sa(t)&&this.condition_(t)){return t.map.getView().beginInteraction(),this.lastAngle_=void 0,!0}return!1}};const ga=class extends We{constructor(t){super(),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.style.pointerEvents="auto",this.element_.className="ol-box "+t,this.map_=null,this.startPixel_=null,this.endPixel_=null}disposeInternal(){this.setMap(null)}render_(){const t=this.startPixel_,e=this.endPixel_,i="px",n=this.element_.style;n.left=Math.min(t[0],e[0])+i,n.top=Math.min(t[1],e[1])+i,n.width=Math.abs(e[0]-t[0])+i,n.height=Math.abs(e[1]-t[1])+i}setMap(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);const t=this.element_.style;t.left="inherit",t.top="inherit",t.width="inherit",t.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)}setPixels(t,e){this.startPixel_=t,this.endPixel_=e,this.createOrUpdateGeometry(),this.render_()}createOrUpdateGeometry(){if(!this.map_)return;const t=this.startPixel_,e=this.endPixel_,i=[t,[t[0],e[1]],e,[e[0],t[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);i[4]=i[0].slice(),this.geometry_?this.geometry_.setCoordinates([i]):this.geometry_=new xo([i])}getGeometry(){return this.geometry_}},ma="boxstart",_a="boxdrag",va="boxend",ya="boxcancel";class wa extends ii{constructor(t,e,i){super(t),this.coordinate=e,this.mapBrowserEvent=i}}const xa=class extends ua{constructor(t){super(),this.on,this.once,this.un,t=t??{},this.box_=new ga(t.className||"ol-dragbox"),this.minArea_=t.minArea??
264,t.onBoxEnd&&(this.onBoxEnd=t.onBoxEnd),this.startPixel_=null,this.condition_=t.condition??sa,this.boxEndCondition_=t.boxEndCondition??this.defaultBoxEndCondition}defaultBoxEndCondition(t,e,i){const n=i[0]-e[0],r=i[1]-e[1];return n*n+r*r>=this.minArea_}getGeometry(){return this.box_.getGeometry()}handleDragEvent(t){this.startPixel_&&(this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new wa(_a,t.coordinate,t)))}handleUpEvent(t){if(!this.startPixel_)return!1;const e=this.boxEndCondition_(t,this.startPixel_,t.pixel);return e&&this.onBoxEnd(t),this.dispatchEvent(new wa(e?va:ya,t.coordinate,t)),this.box_.setMap(null),this.startPixel_=null,!1}handleDownEvent(t){return!!this.condition_(t)&&(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new wa(ma,t.coordinate,t)),!0)}onBoxEnd(t){}setActive(t){t||(this.box_.setMap(null),this.startPixel_&&(this.dispatchEvent(new wa(ya,this.startPixel_,null)),this.startPixel_=null)),super.setActive(t)}setMap(t){this.getMap()&&(this.box_.setMap(null),this.startPixel_&&(this.dispatchEvent(new wa(ya,this.startPixel_,null)),this.startPixel_=null)),super.setMap(t)}};const ba=class extends xa{constructor(t){super({condition:(t=t||{}).condition?t.condition:aa,className:t.className||"ol-dragzoom",minArea:t.minArea}),this.duration_=void 0!==t.duration?t.duration:200,this.out_=void 0!==t.out&&t.out}onBoxEnd(t){const e=this.getMap().getView();let i=this.getGeometry();if(this.out_){const t=e.rotatedExtentForGeometry(i),n=e.getResolutionForExtentInternal(t),r=e.getResolution()/n;i=i.clone(),i.scale(r*r)}e.fitInternal(i,{duration:this.duration_,easing:ir})}},Ea="ArrowLeft",Sa="ArrowUp",Ca="ArrowRight",Ta="ArrowDown";const Aa=class extends Qo{constructor(t){super(),t=t||{},this.defaultCondition_=function(t){return oa(t)&&la(t)},this.condition_=void 0!==t.condition?t.condition:this.defaultCondition_,this.duration_=void 0!==t.duration?t.duration:100,this.pixelDelta_=void 0!==t.pixelDelta?t.pixelDelta:128}handleEvent(t){let e=!1;if(t.type==ze){const i=t.originalEvent,n=i.key;if(this.condition_(t)&&(n==Ta||n==Ea||n==Ca||n==Sa)){const r=t.map.getView(),s=r.getResolution()*this.pixelDelta_;let o=0,a=0;n==Ta?a=-s:n==Ea?o=-s:n==Ca?o=s:a=s;const l=[o,a];Qn(l,r.getRotation()),function(t,e,i){const n=t.getCenterInternal();if(n){const r=[n[0]+e[0],n[1]+e[1]];t.animateInternal({duration:void 0!==i?i:250,easing:rr,center:t.getConstrainedCenter(r)})}}(r,l,this.duration_),i.preventDefault(),e=!0}}return!e}};const ka=class extends Qo{constructor(t){super(),t=t||{},this.condition_=t.condition?t.condition:function(t){return!function(t){const e=t.originalEvent;return bi?e.metaKey:e.ctrlKey}(t)&&la(t)},this.delta_=t.delta?t.delta:1,this.duration_=void 0!==t.duration?t.duration:100}handleEvent(t){let e=!1;if(t.type==ze||t.type==Ne){const i=t.originalEvent,n=i.key;if(this.condition_(t)&&("+"===n||"-"===n)){const r=t.map,s="+"===n?this.delta_:-this.delta_;Jo(r.getView(),s,void 0,this.duration_),i.preventDefault(),e=!0}}return!e}};const Ma=class extends Qo{constructor(t){super(t=t||{}),this.totalDelta_=0,this.lastDelta_=0,this.maxDelta_=void 0!==t.maxDelta?t.maxDelta:1,this.duration_=void 0!==t.duration?t.duration:250,this.timeout_=void 0!==t.timeout?t.timeout:80,this.useAnchor_=void 0===t.useAnchor||t.useAnchor,this.constrainResolution_=void 0!==t.constrainResolution&&t.constrainResolution;const e=t.condition?t.condition:ra;this.condition_=t.onFocusOnly?ea(na,e):e,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_,this.mode_=void 0,this.trackpadEventGap_=400,this.trackpadTimeoutId_,this.deltaPerZoom_=300}endInteraction_(){this.trackpadTimeoutId_=void 0;const t=this.getMap();if(!t)return;t.getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_?t.getCoordinateFromPixel(this.lastAnchor_):null)}handleEvent(t){if(!this.condition_(t))return!0;if(t.type!==Ge)return!0;const e=t.map,i=t.originalEvent;i.preventDefault(),this.useAnchor_&&(this.lastAnchor_=t.pixel);let n=i.deltaY;switch(i.deltaMode){case WheelEvent.DOM_DELTA_LINE:n*=40;break;case WheelEvent.DOM_DELTA_PAGE:n*=300}if(0===n)return!1;this.lastDelta_=n;const r=Date.now();void 0===this.startTime_&&(this.startTime_=r),(!this.mode_||r-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(n)<4?"trackpad":"wheel");const s=e.getView();if("trackpad"===this.mode_&&!s.getConstrainResolution()&&!this.constrainResolution_)return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(s.getAnimating()&&s.cancelAnimations(),s.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),s.adju
vendor: 21,978 bytes, line 2
2stZoom(-n/this.deltaPerZoom_,this.lastAnchor_?e.getCoordinateFromPixel(this.lastAnchor_):null),this.startTime_=r,!1;this.totalDelta_+=n;const o=Math.max(this.timeout_-(r-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,e),o),!1}handleWheelZoom_(t){const e=t.getView();e.getAnimating()&&e.cancelAnimations();let i=-Zi(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(e.getConstrainResolution()||this.constrainResolution_)&&(i=i?i>0?1:-1:0),Jo(e,i,this.lastAnchor_?t.getCoordinateFromPixel(this.lastAnchor_):null,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0}setMouseAnchor(t){this.useAnchor_=t,t||(this.lastAnchor_=null)}};const Ia=class extends ua{constructor(t){const e=t=t||{};e.stopDown||(e.stopDown=Ke),super(e),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=void 0!==t.threshold?t.threshold:.3,this.duration_=void 0!==t.duration?t.duration:250}handleDragEvent(t){let e=0;const i=this.targetPointers[0],n=this.targetPointers[1],r=Math.atan2(n.clientY-i.clientY,n.clientX-i.clientX);if(void 0!==this.lastAngle_){const t=r-this.lastAngle_;this.rotationDelta_+=t,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=t}this.lastAngle_=r;const s=t.map,o=s.getView();o.getConstraints().rotation!==To&&(this.anchor_=s.getCoordinateFromPixelInternal(s.getEventPixel(da(this.targetPointers))),this.rotating_&&(s.render(),o.adjustRotationInternal(e,this.anchor_)))}handleUpEvent(t){if(this.targetPointers.length<2){return t.map.getView().endInteraction(this.duration_),!1}return!0}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}};const Ra=class extends ua{constructor(t){const e=t=t||{};e.stopDown||(e.stopDown=Ke),super(e),this.anchor_=null,this.duration_=void 0!==t.duration?t.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}handleDragEvent(t){let e=1;const i=this.targetPointers[0],n=this.targetPointers[1],r=i.clientX-n.clientX,s=i.clientY-n.clientY,o=Math.sqrt(r*r+s*s);void 0!==this.lastDistance_&&(e=this.lastDistance_/o),this.lastDistance_=o;const a=t.map,l=a.getView();1!=e&&(this.lastScaleDelta_=e),this.anchor_=a.getCoordinateFromPixelInternal(a.getEventPixel(da(this.targetPointers))),a.render(),l.adjustResolutionInternal(e,this.anchor_)}handleUpEvent(t){if(this.targetPointers.length<2){const e=t.map.getView(),i=this.lastScaleDelta_>1?1:-1;return e.endInteraction(this.duration_,i),!1}return!0}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}};function La(t){t=t||{};const e=new mi,i=new Ko(-.005,.05,100);(void 0===t.altShiftDragRotate||t.altShiftDragRotate)&&e.push(new fa);(void 0===t.doubleClickZoom||t.doubleClickZoom)&&e.push(new ta({delta:t.zoomDelta,duration:t.zoomDuration}));(void 0===t.dragPan||t.dragPan)&&e.push(new pa({onFocusOnly:t.onFocusOnly,kinetic:i}));(void 0===t.pinchRotate||t.pinchRotate)&&e.push(new Ia);(void 0===t.pinchZoom||t.pinchZoom)&&e.push(new Ra({duration:t.zoomDuration}));(void 0===t.keyboard||t.keyboard)&&(e.push(new Aa),e.push(new ka({delta:t.zoomDelta,duration:t.zoomDuration})));(void 0===t.mouseWheelZoom||t.mouseWheelZoom)&&e.push(new Ma({onFocusOnly:t.onFocusOnly,duration:t.zoomDuration}));return(void 0===t.shiftDragZoom||t.shiftDragZoom)&&e.push(new ba({duration:t.zoomDuration})),e}const Pa="opacity",Da="visible",Oa="extent",Fa="zIndex",za="maxResolution",Na="minResolution",Ba="maxZoom",ja="minZoom",Ga="source",Wa="map";const Ya=class extends pi{constructor(t){super(),this.on,this.once,this.un,this.background_=t.background;const e=Object.assign({},t);"object"==typeof t.properties&&(delete e.properties,Object.assign(e,t.properties)),e[Pa]=void 0!==t.opacity?t.opacity:1,Ui("number"==typeof e[Pa],"Layer opacity must be a number"),e[Da]=void 0===t.visible||t.visible,e[Fa]=t.zIndex,e[za]=void 0!==t.maxResolution?t.maxResolution:1/0,e[Na]=void 0!==t.minResolution?t.minResolution:0,e[ja]=void 0!==t.minZoom?t.minZoom:-1/0,e[Ba]=void 0!==t.maxZoom?t.maxZoom:1/0,this.className_=void 0!==e.className?e.className:"ol-layer",delete e.className,this.setProperties(e),this.state_=null}getBackground(){return this.background_}getClassName(){return this.className_}getLayerState(t){const e=this.state_||{layer:this,managed:void 0===t||t},i=this.getZIndex();return e.opacity=Zi(Math.round(100*this.getOpacity())/100,0,1),e.visible=this.getVisible(),e.extent=this.getExtent(),e.zIndex=void 0!==i||e.managed?i:1/0,e.maxResolution=this.getMaxResolution(),e.minResolution=Math.max(this.getMinResolution(),0),e.minZoom=this.getMinZoom(),e.maxZoom=this.getMaxZoom(),this.state_=e,e}getLayersArray(t){return ci()}getLayerStatesArray(t){return ci()}getExtent(){return this.get(Oa)}getMaxResolution(){return this.get(za)}getMinResolution(){return this.get(Na)}getMinZoom(){return this.get(ja)}getMaxZoom(){return this.get(Ba)}getOpacity(){return this.get(Pa)}getSourceState(){return ci()}getVisible(){return this.get(Da)}getZIndex(){return this.get(Fa)}setBackground(t){this.background_=t,this.changed()}setExtent(t){this.set(Oa,t)}setMaxResolution(t){this.set(za,t)}setMinResolution(t){this.set(Na,t)}setMaxZoom(t){this.set(Ba,t)}setMinZoom(t){this.set(ja,t)}setOpacity(t){Ui("number"==typeof t,"Layer opacity must be a number"),this.set(Pa,t)}setVisible(t){this.set(Da,t)}setZIndex(t){this.set(Fa,t)}disposeInternal(){this.state_&&(this.state_.layer=null,this.state_=null),super.disposeInternal()}};class Ua extends ii{constructor(t,e){super(t),this.layer=e}}const Xa="layers";class qa extends Ya{constructor(t){t=t||{};const e=Object.assign({},t);delete e.layers;let i=t.layers;super(e),this.on,this.once,this.un,this.layersListenerKeys_=[],this.listenerKeys_={},this.addChangeListener(Xa,this.handleLayersChanged_),i?Array.isArray(i)?i=new mi(i.slice(),{unique:!0}):Ui("function"==typeof i.getArray,"Expected `layers` to be an array or a `Collection`"):i=new mi(void 0,{unique:!0}),this.setLayers(i)}handleLayerChange_(){this.changed()}handleLayersChanged_(){this.layersListenerKeys_.forEach(oi),this.layersListenerKeys_.length=0;const t=this.getLayers();this.layersListenerKeys_.push(ri(t,Me,this.handleLayersAdd_,this),ri(t,Ie,this.handleLayersRemove_,this));for(const t in this.listenerKeys_)this.listenerKeys_[t].forEach(oi);ti(this.listenerKeys_);const e=t.getArray();for(let t=0,i=e.length;t<i;t++){const i=e[t];this.registerLayerListeners_(i),this.dispatchEvent(new Ua("addlayer",i))}this.changed()}registerLayerListeners_(t){const e=[ri(t,Re,this.handleLayerChange_,this),ri(t,Le,this.handleLayerChange_,this)];t instanceof qa&&e.push(ri(t,"addlayer",this.handleLayerGroupAdd_,this),ri(t,"removelayer",this.handleLayerGroupRemove_,this)),this.listenerKeys_[di(t)]=e}handleLayerGroupAdd_(t){this.dispatchEvent(new Ua("addlayer",t.layer))}handleLayerGroupRemove_(t){this.dispatchEvent(new Ua("removelayer",t.layer))}handleLayersAdd_(t){const e=t.element;this.registerLayerListeners_(e),this.dispatchEvent(new Ua("addlayer",e)),this.changed()}handleLayersRemove_(t){const e=t.element,i=di(e);this.listenerKeys_[i].forEach(oi),delete this.listenerKeys_[i],this.dispatchEvent(new Ua("removelayer",e)),this.changed()}getLayers(){return this.get(Xa)}setLayers(t){const e=this.getLayers();if(e){const t=e.getArray();for(let e=0,i=t.length;e<i;++e)this.dispatchEvent(new Ua("removelayer",t[e]))}this.set(Xa,t)}getLayersArray(t){return t=void 0!==t?t:[],this.getLayers().forEach(function(e){e.getLayersArray(t)}),t}getLayerStatesArray(t){const e=void 0!==t?t:[],i=e.length;this.getLayers().forEach(function(t){t.getLayerStatesArray(e)});const n=this.getLayerState();let r=n.zIndex;t||void 0!==n.zIndex||(r=0);for(let t=i,s=e.length;t<s;t++){const i=e[t];i.opacity*=n.opacity,i.visible=i.visible&&n.visible,i.maxResolution=Math.min(i.maxResolution,n.maxResolution),i.minResolution=Math.max(i.minResolution,n.minResolution),i.minZoom=Math.max(i.minZoom,n.minZoom),i.maxZoom=Math.min(i.maxZoom,n.maxZoom),void 0!==n.extent&&(void 0!==i.extent?i.extent=Yn(i.extent,n.extent):i.extent=n.extent),void 0===i.zIndex&&(i.zIndex=r)}return e}getSourceState(){return"ready"}}const Ha=qa,$a="prerender",Va="postrender",Ka="precompose",Za="postcompose",Ja="rendercomplete";function Qa(t,e){if(!t.visible)return!1;const i=e.resolution;if(i<t.minResolution||i>=t.maxResolution)return!1;const n=e.zoom;return n>t.minZoom&&n<=t.maxZoom}const tl=class extends Ya{constructor(t){const e=Object.assign({},t);delete e.source,super(e),this.on,this.once,this.un,this.mapPrecomposeKey_=null,this.mapRenderKey_=null,this.sourceChangeKey_=null,this.renderer_=null,this.sourceReady_=!1,this.rendered=!1,t.render&&(this.render=t.render),t.map&&this.setMap(t.map),this.addChangeListener(Ga,this.handleSourcePropertyChange_);const i=t.source?t.source:null;this.setSource(i)}getLayersArray(t){return(t=t||[]).push(this),t}getLayerStatesArray(t){return(t=t||[]).push(this.getLayerState()),t}getSource(){return this.get(Ga)||null}getRenderSource(){return this.getSource()}getSourceState(){const t=this.getSource();return t?t.getState():"undefined"}handleSourceChange_(){this.changed(),this.sourceReady_||"ready"!==this.getSource().getState()||(this.sourceReady_=!0,this.dispatchEvent("sourceready"))}handleSourcePropertyChange_(){this.sourceChangeKey_&&(oi(this.sourceChangeKey_),this.sourceChangeKey_=null),this.sourceReady_=!1;const t=this.getSource();t&&(this.sourceChangeKey_=ri(t,Le,this.handleSourceChange_,this),"ready"===t.getState()&&(this.sourceReady_=!0,setTimeout(()=>{this.dispatchEvent("sourceready")},0))),this.changed()}getFeatures(t){return this.renderer_?this.renderer_.getFeatures(t):Promise.resolve([])}getData(t){return this.renderer_&&this.rendered?this.renderer_.getData(t):null}isVisible(t){let e;const i=this.getMapInternal();let n;if(!t&&i&&(t=i.getView()),e=t instanceof Lo?{viewState:t.getState(),extent:t.calculateExtent()}:t,!e.layerStatesArray&&i&&(e.layerStatesArray=i.getLayerGroup().getLayerStatesArray()),e.layerStatesArray){if(n=e.layerStatesArray.find(t=>t.layer===this),!n)return!1}else n=this.getLayerState();const r=this.getExtent();return Qa(n,e.viewState)&&(!r||Hn(r,e.extent))}getAttributions(t){if(!this.isVisible(t))return[];const e=this.getSource()?.getAttributions();if(!e)return[];let i=e(t instanceof Lo?t.getViewStateAndExtent():t);return Array.isArray(i)||(i=[i]),i}render(t,e){const i=this.getRenderer();return i.prepareFrame(t)?(this.rendered=!0,i.renderFrame(t,e)):null}unrender(){this.rendered=!1}getDeclutter(){}renderDeclutter(t,e){}renderDeferred(t){const e=this.getRenderer();e&&e.renderDeferred(t)}setMapInternal(t){t||this.unrender(),this.set(Wa,t)}getMapInternal(){return this.get(Wa)}setMap(t){this.mapPrecomposeKey_&&(oi(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(oi(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=ri(t,Ka,this.handlePrecompose_,this),this.mapRenderKey_=ri(this,Le,t.render,t),this.changed())}handlePrecompose_(t){const e=t.frameState.layerStatesArray,i=this.getLayerState(!1);Ui(!e.some(t=>t.layer===i.layer),"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both."),e.push(i)}setSource(t){this.set(Ga,t)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}clearRenderer(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_)}disposeInternal(){this.clearRenderer(),this.setSource(null),super.disposeInternal()}};function el(t,e,i=0,n=t.length-1,r=nl){for(;n>i;){if(n-i>600){const s=n-i+1,o=e-i+1,a=Math.log(s),l=.5*Math.exp(2*a/3),c=.5*Math.sqrt(a*l*(s-l)/s)*(o-s/2<0?-1:1);el(t,e,Math.max(i,Math.floor(e-o*l/s+c)),Math.min(n,Math.floor(e+(s-o)*l/s+c)),r)}const s=t[e];let o=i,a=n;for(il(t,i,e),r(t[n],s)>0&&il(t,i,n);o<a;){for(il(t,o,a),o++,a--;r(t[o],s)<0;)o++;for(;r(t[a],s)>0;)a--}0===r(t[i],s)?il(t,i,a):(a++,il(t,a,n)),a<=e&&(i=a+1),e<=a&&(n=a-1)}}function il(t,e,i){const n=t[e];t[e]=t[i],t[i]=n}function nl(t,e){return t<e?-1:t>e?1:0}class rl{constructor(t=9){this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()}all(){return this._all(this.data,[])}search(t){let e=this.data;const i=[];if(!ml(t,e))return i;const n=this.toBBox,r=[];for(;e;){for(let s=0;s<e.children.length;s++){const o=e.children[s],a=e.leaf?n(o):o;ml(t,a)&&(e.leaf?i.push(o):gl(t,a)?this._all(o,i):r.push(o))}e=r.pop()}return i}collides(t){let e=this.data;if(!ml(t,e))return!1;const i=[];for(;e;){for(let n=0;n<e.children.length;n++){const r=e.children[n],s=e.leaf?this.toBBox(r):r;if(ml(t,s)){if(e.leaf||gl(t,s))return!0;i.push(r)}}e=i.pop()}return!1}load(t){if(!t||!t.length)return this;if(t.length<this._minEntries){for(let e=0;e<t.length;e++)this.insert(t[e]);return this}let e=this._build(t.slice(),0,t.length-1,0);if(this.data.children.length)if(this.data.height===e.height)this._splitRoot(this.data,e);else{if(this.data.height<e.height){const t=this.data;this.data=e,e=t}this._insert(e,this.data.height-e.height-1,!0)}else this.data=e;return this}insert(t){return t&&this._insert(t,this.data.height-1),this}clear(){return this.data=_l([]),this}remove(t,e){if(!t)return this;let i=this.data;const n=this.toBBox(t),r=[],s=[];let o,a,l;for(;i||r.length;){if(i||(i=r.pop(),a=r[r.length-1],o=s.pop(),l=!0),i.leaf){const n=sl(t,i.children,e);if(-1!==n)return i.children.splice(n,1),r.push(i),this._condense(r),this}l||i.leaf||!gl(i,n)?a?(o++,i=a.children[o],l=!1):i=null:(r.push(i),s.push(o),o=0,a=i,i=i.children[0])}return this}toBBox(t){return t}compareMinX(t,e){return t.minX-e.minX}compareMinY(t,e){return t.minY-e.minY}toJSON(){return this.data}fromJSON(t){return this.data=t,this}_all(t,e){const i=[];for(;t;)t.leaf?e.push(...t.children):i.push(...t.children),t=i.pop();return e}_build(t,e,i,n){const r=i-e+1;let s,o=this._maxEntries;if(r<=o)return s=_l(t.slice(e,i+1)),ol(s,this.toBBox),s;n||(n=Math.ceil(Math.log(r)/Math.log(o)),o=Math.ceil(r/Math.pow(o,n-1))),s=_l([]),s.leaf=!1,s.height=n;const a=Math.ceil(r/o),l=a*Math.ceil(Math.sqrt(o));vl(t,e,i,l,this.compareMinX);for(let r=e;r<=i;r+=l){const e=Math.min(r+l-1,i);vl(t,r,e,a,this.compareMinY);for(let i=r;i<=e;i+=a){const r=Math.min(i+a-1,e);s.children.push(this._build(t,i,r,n-1))}}return ol(s,this.toBBox),s}_chooseSubtree(t,e,i,n){for(;n.push(e),!e.leaf&&n.length-1!==i;){let i,n=1/0,r=1/0;for(let s=0;s<e.children.length;s++){const o=e.children[s],a=dl(o),l=pl(t,o)-a;l<r?(r=l,n=a<n?a:n,i=o):l===r&&a<n&&(n=a,i=o)}e=i||e.children[0]}return e}_insert(t,e,i){const n=i?t:this.toBBox(t),r=[],s=this._chooseSubtree(n,this.data,e,r);for(s.children.push(t),ll(s,n);e>=0&&r[e].children.length>this._maxEntries;)this._split(r,e),e--;this._adjustParentBBoxes(n,r,e)}_split(t,e){const i=t[e],n=i.children.length,r=this._minEntries;this._chooseSplitAxis(i,r,n);const s=this._chooseSplitIndex(i,r,n),o=_l(i.children.splice(s,i.children.length-s));o.height=i.height,o.leaf=i.leaf,ol(i,this.toBBox),ol(o,this.toBBox),e?t[e-1].children.push(o):this._splitRoot(i,o)}_splitRoot(t,e){this.data=_l([t,e]),this.data.height=t.height+1,this.data.leaf=!1,ol(this.data,this.toBBox)}_chooseSplitIndex(t,e,i){let n,r=1/0,s=1/0;for(let o=e;o<=i-e;o++){const e=al(t,0,o,this.toBBox),a=al(t,o,i,this.toBBox),l=fl(e,a),c=dl(e)+dl(a);l<r?(r=l,n=o,s=c<s?c:s):l===r&&c<s&&(s=c,n=o)}return n||i-e}_chooseSplitAxis(t,e,i){const n=t.leaf?this.compareMinX:cl,r=t.leaf?this.compareMinY:hl;this._allDistMargin(t,e,i,n)<this._allDistMargin(t,e,i,r)&&t.children.sort(n)}_allDistMargin(t,e,i,n){t.children.sort(n);const r=this.toBBox,s=al(t,0,e,r),o=al(t,i-e,i,r);let a=ul(s)+ul(o);for(let n=e;n<i-e;n++){const e=t.children[n];ll(s,t.leaf?r(e):e),a+=ul(s)}for(let n=i-e-1;n>=e;n--){const e=t.children[n];ll(o,t.leaf?r(e):e),a+=ul(o)}return a}_adjustParentBBoxes(t,e,i){for(let n=i;n>=0;n--)ll(e[n],t)}_condense(t){for(let e,i=t.length-1;i>=0;i--)0===t[i].children.length?i>0?(e=t[i-1].children,e.splice(e.indexOf(t[i]),1)):this.clear():ol(t[i],this.toBBox)}}function sl(t,e,i){if(!i)return e.indexOf(t);for(let n=0;n<e.length;n++)if(i(t,e[n]))return n;return-1}function ol(t,e){al(t,0,t.children.length,e,t)}function al(t,e,i,n,r){r||(r=_l(null)),r.minX=1/0,r.minY=1/0,r.maxX=-1/0,r.maxY=-1/0;for(let s=e;s<i;s++){const e=t.children[s];ll(r,t.leaf?n(e):e)}return r}function ll(t,e){return t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY),t}function cl(t,e){return t.minX-e.minX}function hl(t,e){return t.minY-e.minY}function dl(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function ul(t){return t.maxX-t.minX+(t.maxY-t.minY)}function pl(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}function fl(t,e){const i=Math.max(t.minX,e.minX),n=Math.max(t.minY,e.minY),r=Math.min(t.maxX,e.maxX),s=Math.min(t.maxY,e.maxY);return Math.max(0,r-i)*Math.max(0,s-n)}function gl(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function ml(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function _l(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function vl(t,e,i,n,r){const s=[e,i];for(;s.length;){if((i=s.pop())-(e=s.pop())<=n)continue;const o=e+Math.ceil((i-e)/n/2)*n;el(t,o,e,i,r),s.push(e,o,o,i)}}const yl=[NaN,NaN,NaN,0];let wl;const xl=/^rgba?\(\s*(\d+%?)\s+(\d+%?)\s+(\d+%?)(?:\s*\/\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i,bl=/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)(?:\s*,\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i,El=/^rgba?\(\s*(\d+%)\s*,\s*(\d+%)\s*,\s*(\d+%)(?:\s*,\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i,Sl=/^#([\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i;function Cl(t,e){return t.endsWith("%")?Number(t.substring(0,t.length-1))/e:Number(t)}function Tl(t){throw new Error('failed to parse "'+t+'" as color')}function Al(t){if(t.toLowerCase().startsWith("rgb")){const e=t.match(bl)||t.match(xl)||t.match(El);if(e){const t=e[4],i=100/255;return[Zi(Cl(e[1],i)+.5|0,0,255),Zi(Cl(e[2],i)+.5|0,0,255),Zi(Cl(e[3],i)+.5|0,0,255),void 0!==t?Zi(Cl(t,100),0,1):1]}Tl(t)}if(t.startsWith("#")){if(Sl.test(t)){const e=t.substring(1),i=e.length<=4?1:2,n=[0,0,0,255];for(let t=0,r=e.length;t<r;t+=i){let r=parseInt(e.substring(t,t+i),16);1===i&&(r+=r<<4),n[t/i]=r}return n[3]=n[3]/255,n}Tl(t)}const e=(wl||(wl=Go(1,1,void 0,{willReadFrequently:!0,desynchronized:!0})),wl);e.fillStyle="#abcdef";let i=e.fillStyle;e.fillStyle=t,e.fillStyle===i&&(e.fillStyle="#fedcba",i=e.fillStyle,e.fillStyle=t,e.fillStyle===i&&Tl(t));const n=e.fillStyle;if(n.startsWith("#")||n.startsWith("rgba"))return Al(n);e.clearRect(0,0,1,1),e.fillRect(0,0,1,1);const r=Array.from(e.getImageData(0,0,1,1).data);return r[3]=sn(r[3]/255,3),r}const kl={};let Ml=0;function Il(t){if(4===t.length)return t;const e=t.slice();return e[3]=1,e}function Rl(t){return t>.0031308?269.025*Math.pow(t,1/2.4)-14.025:3294.6*t}function Ll(t){return t>.2068965?Math.pow(t,3):108/841*(t-4/29)}function Pl(t){return t>10.314724?Math.pow((t+14.025)/269.025,2.4):t/3294.6}function Dl(t){return t>.0088564?Math.pow(t,1/3):t/(108/841)+4/29}function Ol(t){const e=Pl(t[0]),i=Pl(t[1]),n=Pl(t[2]),r=Dl(.222488403*e+.716873169*i+.06060791*n),s=500*(Dl(.452247074*e+.399439023*i+.148375274*n)-r),o=200*(r-Dl(.016863605*e+.117638439*i+.865350722*n)),a=Math.atan2(o,s)*(180/Math.PI);return[116*r-16,Math.sqrt(s*s+o*o),a<0?a+360:a,t[3]]}function Fl(t){if("none"===t)return yl;if(kl.hasOwnProperty(t))return kl[t];if(Ml>=1024){let t=0;for(const e in kl)3&t++||(delete kl[e],--Ml)}const e=Al(t);4!==e.length&&Tl(t);for(const i of e)isNaN(i)&&Tl(t);return kl[t]=e,++Ml,e}function zl(t){return Array.isArray(t)?t:Fl(t)}function Nl(t){let e=t[0];e!=(0|e)&&(e=e+.5|0);let i=t[1];i!=(0|i)&&(i=i+.5|0);let n=t[2];n!=(0|n)&&(n=n+.5|0);return"rgba("+e+","+i+","+n+","+(void 0===t[3]?1:Math.round(1e3*t[3])/1e3)+")"}function Bl(t){return t[0]>0&&t[1]>0}function jl(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:(e[0]=t,e[1]=t),e)}let Gl=0;const Wl=1<<Gl++,Yl=1<<Gl++,Ul=1<<Gl++,Xl=1<<Gl++,ql=1<<Gl++,Hl=1<<Gl++,$l=Math.pow(2,6)-1,Vl={[Wl]:"boolean",[Yl]:"number",[Ul]:"string",[Xl]:"color",[ql]:"number[]",[Hl]:"size"},Kl=Object.keys(Vl).map(Number).sort(Ye);function Zl(t){const e=[];for(const i of Kl)Jl(t,i)&&e.push(Vl[i]);return 0===e.length?"untyped":e.length<3?e.join(" or "):e.slice(0,-1).join(", ")+", or "+e[e.length-1]}function Jl(t,e){return(t&e)===e}function Ql(t,e){return t===e}class tc{constructor(t,e){if(!function(t){return t in Vl}(t))throw new Error(`literal expressions must have a specific type, got ${Zl(t)}`);this.type=t,this.value=e}}class ec{constructor(t,e,...i){this.type=t,this.operator=e,this.args=i}}function ic(){return{variables:new Set,properties:new Set,featureId:!1,geometryType:!1,mapState:!1}}function nc(t,e,i){switch(typeof t){case"boolean":if(Ql(e,Ul))return new tc(Ul,t?"true":"false");if(!Jl(e,Wl))throw new Error(`got a boolean, but expected ${Zl(e)}`);return new tc(Wl,t);case"number":if(Ql(e,Hl))return new tc(Hl,jl(t));if(Ql(e,Wl))return new tc(Wl,!!t);if(Ql(e,Ul))return new tc(Ul,t.toString());if(!Jl(e,Yl))throw new Error(`got a number, but expected ${Zl(e)}`);return new tc(Yl,t);case"string":if(Ql(e,Xl))return new tc(Xl,Fl(t));if(Ql(e,Wl))return new tc(Wl,!!t);if(!Jl(e,Ul))throw new Error(`got a string, but expected ${Zl(e)}`);return new tc(Ul,t)}if(!Array.isArray(t))throw new Error("expression must be an array or a primitive value");if(0===t.length)throw new Error("empty expression");
2if("string"==typeof t[0])return function(t,e,i){const n=t[0],r=Zc[n];if(!r)throw new Error(`unknown operator: ${n}`);return r(t,e,i)}(t,e,i);for(const e of t)if("number"!=typeof e)throw new Error("expected an array of numbers");if(Ql(e,Hl)){if(2!==t.length)throw new Error(`expected an array of two values for a size, got ${t.length}`);return new tc(Hl,t)}if(Ql(e,Xl)){if(3===t.length)return new tc(Xl,[...t,1]);if(4===t.length)return new tc(Xl,t);throw new Error(`expected an array of 3 or 4 values for a color, got ${t.length}`)}if(!Jl(e,ql))throw new Error(`got an array of numbers, but expected ${Zl(e)}`);return new tc(ql,t)}const rc="get",sc="var",oc="concat",ac="geometry-type",lc="line-metric",cc="any",hc="all",dc="!",uc="resolution",pc="zoom",fc="time",gc="==",mc="!=",_c=">",vc=">=",yc="<",wc="<=",xc="*",bc="/",Ec="+",Sc="-",Cc="clamp",Tc="%",Ac="^",kc="abs",Mc="floor",Ic="ceil",Rc="round",Lc="sin",Pc="cos",Dc="atan",Oc="sqrt",Fc="match",zc="between",Nc="interpolate",Bc="coalesce",jc="case",Gc="in",Wc="number",Yc="string",Uc="array",Xc="color",qc="id",Hc="band",$c="palette",Vc="to-string",Kc="has",Zc={[rc]:sh(eh(1,1/0),Jc),[sc]:sh(eh(1,1),function(t,e,i){const n=t[1];if("string"!=typeof n)throw new Error("expected a string argument for var operation");return i.variables.add(n),[new tc(Ul,n)]}),[Kc]:sh(eh(1,1/0),Jc),[qc]:sh(function(t,e,i){i.featureId=!0},th),[oc]:sh(eh(2,1/0),nh(Ul)),[ac]:sh(function(t,e,i){i.geometryType=!0},th),[lc]:sh(th),[uc]:sh(Qc,th),[pc]:sh(Qc,th),[fc]:sh(Qc,th),[cc]:sh(eh(2,1/0),nh(Wl)),[hc]:sh(eh(2,1/0),nh(Wl)),[dc]:sh(eh(1,1),nh(Wl)),[gc]:sh(eh(2,2),nh($l)),[mc]:sh(eh(2,2),nh($l)),[_c]:sh(eh(2,2),nh(Yl)),[vc]:sh(eh(2,2),nh(Yl)),[yc]:sh(eh(2,2),nh(Yl)),[wc]:sh(eh(2,2),nh(Yl)),[xc]:sh(eh(2,1/0),ih),[Bc]:sh(eh(2,1/0),ih),[bc]:sh(eh(2,2),nh(Yl)),[Ec]:sh(eh(2,1/0),nh(Yl)),[Sc]:sh(eh(2,2),nh(Yl)),[Cc]:sh(eh(3,3),nh(Yl)),[Tc]:sh(eh(2,2),nh(Yl)),[Ac]:sh(eh(2,2),nh(Yl)),[kc]:sh(eh(1,1),nh(Yl)),[Mc]:sh(eh(1,1),nh(Yl)),[Ic]:sh(eh(1,1),nh(Yl)),[Rc]:sh(eh(1,1),nh(Yl)),[Lc]:sh(eh(1,1),nh(Yl)),[Pc]:sh(eh(1,1),nh(Yl)),[Dc]:sh(eh(1,2),nh(Yl)),[Oc]:sh(eh(1,1),nh(Yl)),[Fc]:sh(eh(4,1/0),rh,function(t,e,i){const n=t.length-1,r=Ul|Yl|Wl,s=nc(t[1],r,i),o=nc(t[t.length-1],e,i),a=new Array(n-2);for(let e=0;e<n-2;e+=2){try{const n=nc(t[e+2],s.type,i);a[e]=n}catch(t){throw new Error(`failed to parse argument ${e+1} of match expression: ${t.message}`)}try{const n=nc(t[e+3],o.type,i);a[e+1]=n}catch(t){throw new Error(`failed to parse argument ${e+2} of match expression: ${t.message}`)}}return[s,...a,o]}),[zc]:sh(eh(3,3),nh(Yl)),[Nc]:sh(eh(6,1/0),rh,function(t,e,i){const n=t[1];let r;switch(n[0]){case"linear":r=1;break;case"exponential":const t=n[1];if("number"!=typeof t||t<=0)throw new Error(`expected a number base for exponential interpolation, got ${JSON.stringify(t)} instead`);r=t;break;default:throw new Error(`invalid interpolation type: ${JSON.stringify(n)}`)}const s=new tc(Yl,r);let o;try{o=nc(t[2],Yl,i)}catch(t){throw new Error(`failed to parse argument 1 in interpolate expression: ${t.message}`)}const a=new Array(t.length-3);for(let n=0;n<a.length;n+=2){try{const e=nc(t[n+3],Yl,i);a[n]=e}catch(t){throw new Error(`failed to parse argument ${n+2} for interpolate expression: ${t.message}`)}try{const r=nc(t[n+4],e,i);a[n+1]=r}catch(t){throw new Error(`failed to parse argument ${n+3} for interpolate expression: ${t.message}`)}}return[s,o,...a]}),[jc]:sh(eh(3,1/0),function(t,e,i){const n=t[0],r=t.length-1;if(r%2==0)throw new Error(`expected an odd number of arguments for ${n}, got ${r} instead`)},function(t,e,i){const n=nc(t[t.length-1],e,i),r=new Array(t.length-1);for(let e=0;e<r.length-1;e+=2){try{const n=nc(t[e+1],Wl,i);r[e]=n}catch(t){throw new Error(`failed to parse argument ${e} of case expression: ${t.message}`)}try{const s=nc(t[e+2],n.type,i);r[e+1]=s}catch(t){throw new Error(`failed to parse argument ${e+1} of case expression: ${t.message}`)}}return r[r.length-1]=n,r}),[Gc]:sh(eh(2,2),function(t,e,i){let n,r=t[2];if(!Array.isArray(r))throw new Error('the second argument for the "in" operator must be an array');if("string"==typeof r[0]){if("literal"!==r[0])throw new Error('for the "in" operator, a string array should be wrapped in a "literal" operator to disambiguate from expressions');if(!Array.isArray(r[1]))throw new Error('failed to parse "in" expression: the literal operator must be followed by an array');r=r[1],n=Ul}else n=Yl;const s=new Array(r.length);for(let t=0;t<s.length;t++)try{const e=nc(r[t],n,i);s[t]=e}catch(e){throw new Error(`failed to parse haystack item ${t} for "in" expression: ${e.message}`)}return[nc(t[1],n,i),...s]}),[Wc]:sh(eh(1,1/0),nh($l)),[Yc]:sh(eh(1,1/0),nh($l)),[Uc]:sh(eh(1,1/0),nh(Yl)),[Xc]:sh(eh(1,4),nh(Yl)),[Hc]:sh(eh(1,3),nh(Yl)),[$c]:sh(eh(2,2),function(t,e,
vendor: 2,174 bytes, line 2
2i){let n;try{n=nc(t[1],Yl,i)}catch(t){throw new Error(`failed to parse first argument in palette expression: ${t.message}`)}const r=t[2];if(!Array.isArray(r))throw new Error("the second argument of palette must be an array");const s=new Array(r.length);for(let t=0;t<s.length;t++){let e;try{e=nc(r[t],Xl,i)}catch(e){throw new Error(`failed to parse color at index ${t} in palette expression: ${e.message}`)}if(!(e instanceof tc))throw new Error(`the palette color at index ${t} must be a literal value`);s[t]=e}return[n,...s]}),[Vc]:sh(eh(1,1),nh(Wl|Yl|Ul|Xl))};function Jc(t,e,i){const n=t.length-1,r=new Array(n);for(let e=0;e<n;++e){const n=t[e+1];switch(typeof n){case"number":r[e]=new tc(Yl,n);break;case"string":r[e]=new tc(Ul,n);break;default:throw new Error(`expected a string key or numeric array index for a get operation, got ${n}`)}0===e&&i.properties.add(String(n))}return r}function Qc(t,e,i){i.mapState=!0}function th(t,e,i){const n=t[0];if(1!==t.length)throw new Error(`expected no arguments for ${n} operation`);return[]}function eh(t,e){return function(i,n,r){const s=i[0],o=i.length-1;if(t===e){if(o!==t){throw new Error(`expected ${t} argument${1===t?"":"s"} for ${s}, got ${o}`)}}else if(o<t||o>e){throw new Error(`expected ${e===1/0?`${t} or more`:`${t} to ${e}`} arguments for ${s}, got ${o}`)}}}function ih(t,e,i){const n=t.length-1,r=new Array(n);for(let s=0;s<n;++s){const n=nc(t[s+1],e,i);r[s]=n}return r}function nh(t){return function(e,i,n){const r=e.length-1,s=new Array(r);for(let i=0;i<r;++i){const r=nc(e[i+1],t,n);s[i]=r}return s}}function rh(t,e,i){const n=t[0],r=t.length-1;if(r%2==1)throw new Error(`expected an even number of arguments for operation ${n}, got ${r} instead`)}function sh(...t){return function(e,i,n){const r=e[0];let s;for(let r=0;r<t.length;r++){const o=t[r](e,i,n);if(r==t.length-1){if(!o)throw new Error("expected last argument validator to return the parsed args");s=o}}return new ec(i,r,...s)}}function oh(t){if(!t)return"";const e=t.getType();switch(e){case"Point":case"LineString":case"Polygon":return e;case"MultiPoint":case"MultiLineString":case"MultiPolygon":return e.substring(5);case"Circle":return"Polygon";
2case"GeometryCollection":return oh(t.getGeometries()[0]);default:return""}}function ah(t,e,i){return lh(nc(t,e,i),i)}function lh(t,e){if(t instanceof tc){if(t.type===Xl&&"string"==typeof t.value){const e=Fl(t.value);return function(){return e}}return function(){return t.value}}const i=t.operator;switch(i){case Wc:case Yc:case Bc:return function(t,e){const i=t.operator,n=t.args.length,r=new Array(n);for(let i=0;i<n;++i)r[i]=lh(t.args[i],e);switch(i){case Bc:return t=>{for(let e=0;e<n;++e){const i=r[e](t);if(null!=i)return i}throw new Error("Expected one of the values to be non-null")};case Wc:case Yc:return t=>{for(let e=0;e<n;++e){const n=r[e](t);if(typeof n===i)return n}throw new Error(`Expected one of the values to be a ${i}`)};default:throw new Error(`Unsupported assertion operator ${i}`)}}(t,e);case rc:case sc:case Kc:return function(t){const e=t.args[0],i=e.value;switch(t.operator){case rc:return e=>{const n=t.args;let r=e.properties[i];for(let t=1,e=n.length;t<e;++t){r=r[n[t].value]}return r};case sc:return t=>t.variables[i];case Kc:return e=>{const n=t.args;if(!(i in e.properties))return!1;let r=e.properties[i];for(let t=1,e=n.length;t<e;++t){const e=n[t].value;if(!r||!Object.hasOwn(r,e))return!1;r=r[e]}return!0};default:throw new Error(`Unsupported accessor operator ${t.operator}`)}}(t);case qc:return t=>t.featureId;case ac:return t=>t.geometryType;case oc:{const i=t.args.map(t=>lh(t,e));return t=>"".concat(...i.map(e=>e(t).toString()))}case uc:return t=>t.resolution;case cc:case hc:case zc:case Gc:case dc:return function(t,e){const i=t.operator,n=t.args.length,r=new Array(n);for(let i=0;i<n;++i)r[i]=lh(t.args[i],e);switch(i){case cc:return t=>{for(let e=0;e<n;++e)if(r[e](t))return!0;return!1};case hc:return t=>{for(let e=0;e<n;++e)if(!r[e](t))return!1;return!0};case zc:return t=>{const e=r[0](t),i=r[1](t),n=r[2](t);return e>=i&&e<=n};case Gc:return t=>{const e=r[0](t);for(let i=1;i<n;++i)if(e===r[i](t))return!0;return!1};case dc:return t=>!r[0](t);default:throw new Error(`Unsupported logical operator ${i}`)}}(t,e);case gc:case mc:case yc:case wc:case _c:case vc:return function(t,e){const i=t.operator,n=lh(t.args[0],e),r=lh(t.args[1],e);switch(i){case gc:return t=>n(t)===r(t);case mc:return t=>n(t)!==r(t);case yc:return t=>n(t)<r(t);case wc:return t=>n(t)<=r(t);case _c:return t=>n(t)>r(t);case vc:return t=>n(t)>=r(t);default:throw new Error(`Unsupported comparison operator ${i}`)}}(t,e);case xc:case bc:case Ec:case Sc:case Cc:case Tc:case Ac:case kc:case Mc:case Ic:case Rc:case Lc:case Pc:case Dc:case Oc:return function(t,e){const i=t.operator,n=t.args.length,r=new Array(n);for(let i=0;i<n;++i)r[i]=lh(t.args[i],e);switch(i){case xc:return t=>{let e=1;for(let i=0;i<n;++i)e*=r[i](t);return e};case bc:return t=>r[0](t)/r[1](t);case Ec:return t=>{let e=0;for(let i=0;i<n;++i)e+=r[i](t);return e};case Sc:return t=>r[0](t)-r[1](t);case Cc:return t=>{const e=r[0](t),i=r[1](t);if(e<i)return i;const n=r[2](t);return e>n?n:e};case Tc:return t=>r[0](t)%r[1](t);case Ac:return t=>Math.pow(r[0](t),r[1](t));case kc:return t=>Math.abs(r[0](t));case Mc:return t=>Math.floor(r[0](t));case Ic:return t=>Math.ceil(r[0](t));case Rc:return t=>Math.round(r[0](t));case Lc:return t=>Math.sin(r[0](t));case Pc:return t=>Math.cos(r[0](t));case Dc:return 2===n?t=>Math.atan2(r[0](t),r[1](t)):t=>Math.atan(r[0](t));case Oc:return t=>Math.sqrt(r[0](t));default:throw new Error(`Unsupported numeric operator ${i}`)}}(t,e);case jc:return function(t,e){const i=t.args.length,n=new Array(i);for(let r=0;r<i;++r)n[r]=lh(t.args[r],e);return t=>{for(let e=0;e<i-1;e+=2){if(n[e](t))return n[e+1](t)}return n[i-1](t)}}(t,e);case Fc:return function(t,e){const i=t.args.length,n=new Array(i);for(let r=0;r<i;++r)n[r]=lh(t.args[r],e);return t=>{const e=n[0](t);for(let r=1;r<i-1;r+=2)if(e===n[r](t))return n[r+1](t);return n[i-1](t)}}(t,e);case Nc:return function(t,e){const i=t.args.length,n=new Array(i);for(let r=0;r<i;++r)n[r]=lh(t.args[r],e);return t=>{const e=n[0](t),r=n[1](t);let s,o;for(let a=2;a<i;a+=2){const i=n[a](t);let l=n[a+1](t);const c=Array.isArray(l);if(c&&(l=Il(l)),i>=r)return 2===a?l:c?hh(e,r,s,o,i,l):ch(e,r,s,o,i,l);s=i,o=l}return o}}(t,e);case Vc:return function(t,e){const i=t.operator,n=t.args.length,r=new Array(n);for(let i=0;i<n;++i)r[i]=lh(t.args[i],e);if(i===Vc)return e=>{const i=r[0](e);return t.args[0].type===Xl?Nl(i):i.toString()};throw new Error(`Unsupported convert operator ${i}`)}(t,e);default:throw new Error(`Unsupported operator ${i}`)}}function ch(t,e,i,n,r,s){const o=r-i;
vendor: 33,444 bytes, line 2
2if(0===o)return n;const a=e-i;return n+(1===t?a/o:(Math.pow(t,a)-1)/(Math.pow(t,o)-1))*(s-n)}function hh(t,e,i,n,r,s){if(0===r-i)return n;const o=Ol(n),a=Ol(s);let l=a[2]-o[2];l>180?l-=360:l<-180&&(l+=360);return function(t){const e=(t[0]+16)/116,i=t[1],n=t[2]*Math.PI/180,r=Ll(e),s=Ll(e+i/500*Math.cos(n)),o=Ll(e-i/200*Math.sin(n)),a=Rl(3.021973625*s-1.617392459*r-.404875592*o),l=Rl(-.943766287*s+1.916279586*r+.027607165*o),c=Rl(.069407491*s-.22898585*r+1.159737864*o);return[Zi(a+.5|0,0,255),Zi(l+.5|0,0,255),Zi(c+.5|0,0,255),t[3]]}([ch(t,e,i,o[0],r,a[0]),ch(t,e,i,o[1],r,a[1]),o[2]+ch(t,e,i,0,r,l),ch(t,e,i,n[3],r,s[3])])}const dh=0,uh=1,ph=2,fh=3;function gh(t,e){return e&&(t.src=e),t.src&&Ci?new Promise((e,i)=>t.decode().then(()=>e(t)).catch(n=>t.complete&&t.width?e(t):i(n))):function(t,e){return new Promise((i,n)=>{function r(){o(),i(t)}function s(){o(),n(new Error("Image load error"))}function o(){t.removeEventListener("load",r),t.removeEventListener("error",s)}t.addEventListener("load",r),t.addEventListener("error",s),e&&(t.src=e)})}(t)}class mh{constructor(){this.cache_={},this.patternCache_={},this.cacheSize_=0,this.maxCacheSize_=1024}clear(){this.cache_={},this.patternCache_={},this.cacheSize_=0}canExpireCache(){return this.cacheSize_>this.maxCacheSize_}expire(){if(this.canExpireCache()){let t=0;for(const e in this.cache_){const i=this.cache_[e];3&t++||i.hasListener()||(delete this.cache_[e],delete this.patternCache_[e],--this.cacheSize_)}}}get(t,e,i){const n=_h(t,e,i);return n in this.cache_?this.cache_[n]:null}getPattern(t,e,i){const n=_h(t,e,i);return n in this.patternCache_?this.patternCache_[n]:null}set(t,e,i,n,r){const s=_h(t,e,i),o=s in this.cache_;this.cache_[s]=n,r&&(n.getImageState()===dh&&n.load(),n.getImageState()===uh?n.ready().then(()=>{this.patternCache_[s]=Yo().createPattern(n.getImage(1),"repeat")}):this.patternCache_[s]=Yo().createPattern(n.getImage(1),"repeat")),o||++this.cacheSize_}setSize(t){this.maxCacheSize_=t,this.expire()}}function _h(t,e,i){return e+":"+t+":"+(i?zl(i):"null")}const vh=new mh;let yh=null;class wh extends ni{constructor(t,e,i,n,r){super(),this.hitDetectionImage_=null,this.image_=t,this.crossOrigin_=i,this.canvas_={},this.color_=r,this.imageState_=void 0===n?dh:n,this.size_=t&&t.width&&t.height?[t.width,t.height]:null,this.src_=e,this.tainted_,this.ready_=null}initializeImage_(){this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)}isTainted_(){if(void 0===this.tainted_&&this.imageState_===ph){yh||(yh=Go(1,1,void 0,{willReadFrequently:!0})),yh.drawImage(this.image_,0,0);try{yh.getImageData(0,0,1,1),this.tainted_=!1}catch{yh=null,this.tainted_=!0}}return!0===this.tainted_}dispatchChangeEvent_(){this.dispatchEvent(Le)}handleImageError_(){this.imageState_=fh,this.dispatchChangeEvent_()}handleImageLoad_(){this.imageState_=ph,this.size_=[this.image_.width,this.image_.height],this.dispatchChangeEvent_()}getImage(t){return this.image_||this.initializeImage_(),this.replaceColor_(t),this.canvas_[t]?this.canvas_[t]:this.image_}getPixelRatio(t){return this.replaceColor_(t),this.canvas_[t]?t:1}getImageState(){return this.imageState_}getHitDetectionImage(){if(this.image_||this.initializeImage_(),!this.hitDetectionImage_)if(this.isTainted_()){const t=this.size_[0],e=this.size_[1],i=Go(t,e);i.fillRect(0,0,t,e),this.hitDetectionImage_=i.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_}getSize(){return this.size_}getSrc(){return this.src_}load(){if(this.imageState_===dh){this.image_||this.initializeImage_(),this.imageState_=uh;try{void 0!==this.src_&&(this.image_.src=this.src_)}catch{this.handleImageError_()}this.image_ instanceof HTMLImageElement&&gh(this.image_,this.src_).then(t=>{this.image_=t,this.handleImageLoad_()}).catch(this.handleImageError_.bind(this))}}replaceColor_(t){if(!this.color_||this.canvas_[t]||this.imageState_!==ph)return;const e=this.image_,i=Go(Math.ceil(e.width*t),Math.ceil(e.height*t)),n=i.canvas;var r;i.scale(t,t),i.drawImage(e,0,0),i.globalCompositeOperation="multiply",i.fillStyle="string"==typeof(r=this.color_)?r:Nl(r),i.fillRect(0,0,n.width/t,n.height/t),i.globalCompositeOperation="destination-in",i.drawImage(e,0,0),this.canvas_[t]=n}ready(){return this.ready_||(this.ready_=new Promise(t=>{if(this.imageState_===ph||this.imageState_===fh)t();else{const e=()=>{this.imageState_!==ph&&this.imageState_!==fh||(this.removeEventListener(Le,e),t())};this.addEventListener(Le,e)}})),this.ready_}}function xh(t,e,i,n,r,s){let o=void 0===e?void 0:vh.get(e,i,r);return o||(o=new wh(t,t&&"src"in t?t.src||void 0:e,i,n,r),vh.set(e,i,r,o,s)),s&&o&&!vh.getPattern(e,i,r)&&vh.set(e,i,r,o,s),o}const bh=wh;function Eh(t){return t?Array.isArray(t)?Nl(t):"object"==typeof t&&"src"in t?function(t){if(!t.offset||!t.size)return vh.getPattern(t.src,"anonymous",t.color);const e=t.src+":"+t.offset,i=vh.getPattern(e,void 0,t.color);if(i)return i;const n=vh.get(t.src,"anonymous",null);if(n.getImageState()!==ph)return null;const r=Go(t.size[0],t.size[1]);return r.drawImage(n.getImage(1),t.offset[0],t.offset[1],t.size[0],t.size[1],0,0,t.size[0],t.size[1]),xh(r.canvas,e,void 0,ph,t.color,!0),vh.getPattern(e,void 0,t.color)}(t):t:null}const Sh="10px sans-serif",Ch="#000",Th="round",Ah=[],kh="round",Mh="#000",Ih="center",Rh="middle",Lh=[0,0,0,0],Ph=new pi;let Dh,Oh=null;const Fh={},zh=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","emoji","math","fangsong"]);function Nh(t,e,i){return`${t} ${e} 16px "${i}"`}const Bh=function(){const t=100;let e,i;async function n(t){await i.ready;const e=await i.load(t);if(0===e.length)return!1;const n=jo(t),r=n.families[0].toLowerCase(),s=n.weight;return e.some(t=>{const e=t.family.replace(/^['"]|['"]$/g,"").toLowerCase(),i=Bo[t.weight]||t.weight;return e===r&&t.style===n.style&&i==s})}async function r(){await i.ready;let s=!0;const o=Ph.getProperties(),a=Object.keys(o).filter(e=>o[e]<t);for(let e=a.length-1;e>=0;--e){const i=a[e];let r=o[i];r<t&&(await n(i)?(ti(Fh),Ph.set(i,t)):(r+=10,Ph.set(i,r,!0),r<t&&(s=!1)))}e=void 0,s||(e=setTimeout(r,100))}return async function(t){i||(i=Si?self.fonts:document.fonts);const n=jo(t);if(!n)return;const s=n.families;let o=!1;for(const t of s){if(zh.has(t))continue;const e=Nh(n.style,n.weight,t);void 0===Ph.get(e)&&(Ph.set(e,0,!0),o=!0)}o&&(clearTimeout(e),e=setTimeout(r,100))}}(),jh=function(){let t;return function(e){let i=Fh[e];if(null==i){if(Si){const t=jo(e),n=Gh(e,"Žg");i=(isNaN(Number(t.lineHeight))?1.2:Number(t.lineHeight))*(n.actualBoundingBoxAscent+n.actualBoundingBoxDescent)}else t||(t=document.createElement("div"),t.innerHTML="M",t.style.minHeight="0",t.style.maxHeight="none",t.style.height="auto",t.style.padding="0",t.style.border="none",t.style.position="absolute",t.style.display="block",t.style.left="-99999px"),t.style.font=e,document.body.appendChild(t),i=t.offsetHeight,document.body.removeChild(t);Fh[e]=i}return i}}();function Gh(t,e){return Oh||(Oh=Go(1,1)),t!=Dh&&(Oh.font=t,Dh=Oh.font),Oh.measureText(e)}function Wh(t,e){return Gh(t,e).width}function Yh(t,e,i){if(e in i)return i[e];const n=e.split("\n").reduce((e,i)=>Math.max(e,Wh(t,i)),0);return i[e]=n,n}function Uh(t,e,i,n,r,s,o,a,l,c,h){t.save(),1!==i&&(void 0===t.globalAlpha?t.globalAlpha=t=>t.globalAlpha*=i:t.globalAlpha*=i),e&&t.transform.apply(t,e),n.contextInstructions?(t.translate(l,c),t.scale(h[0],h[1]),function(t,e){const i=t.contextInstructions;for(let t=0,n=i.length;t<n;t+=2)Array.isArray(i[t+1])?e[i[t]].apply(e,i[t+1]):e[i[t]]=i[t+1]}(n,t)):h[0]<0||h[1]<0?(t.translate(l,c),t.scale(h[0],h[1]),t.drawImage(n,r,s,o,a,0,0,o,a)):t.drawImage(n,r,s,o,a,l,c,o*h[0],a*h[1]),t.restore()}class Xh{constructor(t){this.opacity_=t.opacity,this.rotateWithView_=t.rotateWithView,this.rotation_=t.rotation,this.scale_=t.scale,this.scaleArray_=jl(t.scale),this.displacement_=t.displacement,this.declutterMode_=t.declutterMode}clone(){const t=this.getScale();return new Xh({opacity:this.getOpacity(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getOpacity(){return this.opacity_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getDisplacement(){return this.displacement_}getDeclutterMode(){return this.declutterMode_}getAnchor(){return ci()}getImage(t){return ci()}getHitDetectionImage(){return ci()}getPixelRatio(t){return 1}getImageState(){return ci()}getImageSize(){return ci()}getOrigin(){return ci()}getSize(){return ci()}setDisplacement(t){this.displacement_=t}setOpacity(t){this.opacity_=t}setRotateWithView(t){this.rotateWithView_=t}setRotation(t){this.rotation_=t}setScale(t){this.scale_=t,this.scaleArray_=jl(t)}listenImageChange(t){ci()}load(){ci()}unlistenImageChange(t){ci()}ready(){return Promise.resolve()}}const qh=Xh;class Hh extends qh{constructor(t){super({opacity:1,rotateWithView:void 0!==t.rotateWithView&&t.rotateWithView,rotation:void 0!==t.rotation?t.rotation:0,scale:void 0!==t.scale?t.scale:1,displacement:void 0!==t.displacement?t.displacement:[0,0],declutterMode:t.declutterMode}),this.hitDetectionCanvas_=null,this.fill_=void 0!==t.fill?t.fill:null,this.origin_=[0,0],this.points_=t.points,this.radius=t.radius,this.radius2_=t.radius2,this.angle_=void 0!==t.angle?t.angle:0,this.stroke_=void 0!==t.stroke?t.stroke:null,this.size_,this.renderOptions_,this.imageState_=this.fill_&&this.fill_.loading()?uh:ph,this.imageState_===uh&&this.ready().then(()=>this.imageState_=ph),this.render()}clone(){const t=this.getScale(),e=new Hh({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(t)?t.slice():t,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return e.setOpacity(this.getOpacity()),e}getAnchor(){const t=this.size_,e=this.getDisplacement(),i=this.getScaleArray();return[t[0]/2-e[0]/i[0],t[1]/2+e[1]/i[1]]}getAngle(){return this.angle_}getFill(){return this.fill_}setFill(t){this.fill_=t,this.render()}getHitDetectionImage(){return this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.createHitDetectionCanvas_(this.renderOptions_)),this.hitDetectionCanvas_}getImage(t){const e=this.fill_?.getKey(),i=`${t},${this.angle_},${this.radius},${this.radius2_},${this.points_},${e}`+Object.values(this.renderOptions_).join(",");let n=vh.get(i,null,null)?.getImage(1);if(!n){const e=this.renderOptions_,r=Math.ceil(e.size*t),s=Go(r,r);this.draw_(e,s,t),n=s.canvas,vh.set(i,null,null,new bh(n,void 0,null,ph,null))}return n}getPixelRatio(t){return t}getImageSize(){return this.size_}getImageState(){return this.imageState_}getOrigin(){return this.origin_}getPoints(){return this.points_}getRadius(){return this.radius}getRadius2(){return this.radius2_}getSize(){return this.size_}getStroke(){return this.stroke_}setStroke(t){this.stroke_=t,this.render()}listenImageChange(t){}load(){}unlistenImageChange(t){}calculateLineJoinSize_(t,e,i){if(0===e||this.points_===1/0||"bevel"!==t&&"miter"!==t)return e;let n=this.radius,r=void 0===this.radius2_?n:this.radius2_;if(n<r){const t=n;n=r,r=t}const s=void 0===this.radius2_?this.points_:2*this.points_,o=2*Math.PI/s,a=r*Math.sin(o),l=n-Math.sqrt(r*r-a*a),c=Math.sqrt(a*a+l*l),h=c/a;if("miter"===t&&h<=i)return h*e;const d=e/2/h,u=e/2*(l/c),p=Math.sqrt((n+d)*(n+d)+u*u)-n;if(void 0===this.radius2_||"bevel"===t)return 2*p;const f=n*Math.sin(o),g=r-Math.sqrt(n*n-f*f),m=Math.sqrt(f*f+g*g)/f;if(m<=i){const t=m*e/2-r-n;return 2*Math.max(p,t)}return 2*p}createRenderOptions(){let t,e=Th,i=kh,n=0,r=null,s=0,o=0;this.stroke_&&(t=Eh(this.stroke_.getColor()??Mh),o=this.stroke_.getWidth()??1,r=this.stroke_.getLineDash(),s=this.stroke_.getLineDashOffset()??0,i=this.stroke_.getLineJoin()??kh,e=this.stroke_.getLineCap()??Th,n=this.stroke_.getMiterLimit()??10);const a=this.calculateLineJoinSize_(i,o,n),l=Math.max(this.radius,this.radius2_||0);return{strokeStyle:t,strokeWidth:o,size:Math.ceil(2*l+a),lineCap:e,lineDash:r,lineDashOffset:s,lineJoin:i,miterLimit:n}}render(){this.renderOptions_=this.createRenderOptions();const t=this.renderOptions_.size;this.hitDetectionCanvas_=null,this.size_=[t,t]}draw_(t,e,i){if(e.scale(i,i),e.translate(t.size/2,t.size/2),this.createPath_(e),this.fill_){let t=this.fill_.getColor();null===t&&(t=Ch),e.fillStyle=Eh(t),e.fill()}t.strokeStyle&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke())}createHitDetectionCanvas_(t){let e;if(this.fill_){let i=this.fill_.getColor(),n=0;"string"==typeof i&&(i=zl(i)),null===i?n=1:Array.isArray(i)&&(n=4===i.length?i[3]:1),0===n&&(e=Go(t.size,t.size),this.drawHitDetectionCanvas_(t,e))}return e?e.canvas:this.getImage(1)}createPath_(t){let e=this.points_;const i=this.radius;if(e===1/0)t.arc(0,0,i,0,2*Math.PI);else{const n=void 0===this.radius2_?i:this.radius2_;void 0!==this.radius2_&&(e*=2);const r=this.angle_-Math.PI/2,s=2*Math.PI/e;for(let o=0;o<e;o++){const e=r+o*s,a=o%2==0?i:n;t.lineTo(a*Math.cos(e),a*Math.sin(e))}t.closePath()}}drawHitDetectionCanvas_(t,e){e.translate(t.size/2,t.size/2),this.createPath_(e),e.fillStyle=Ch,e.fill(),t.strokeStyle&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke())}ready(){return this.fill_?this.fill_.ready():Promise.resolve()}}const $h=Hh;class Vh extends $h{constructor(t){super({points:1/0,fill:(t=t||{radius:5}).fill,radius:t.radius,stroke:t.stroke,scale:void 0!==t.scale?t.scale:1,rotation:void 0!==t.rotation?t.rotation:0,rotateWithView:void 0!==t.rotateWithView&&t.rotateWithView,displacement:void 0!==t.displacement?t.displacement:[0,0],declutterMode:t.declutterMode})}clone(){const t=this.getScale(),e=new Vh({fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,radius:this.getRadius(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return e.setOpacity(this.getOpacity()),e}setRadius(t){this.radius=t,this.render()}}const Kh=Vh;class Zh{constructor(t){t=t||{},this.patternImage_=null,this.color_=null,void 0!==t.color&&this.setColor(t.color)}clone(){const t=this.getColor();return new Zh({color:Array.isArray(t)?t.slice():t||void 0})}getColor(){return this.color_}setColor(t){if(null!==t&&"object"==typeof t&&"src"in t){const e=xh(null,t.src,"anonymous",void 0,t.offset?null:t.color?t.color:null,!(t.offset&&t.size));e.ready().then(()=>{this.patternImage_=null}),e.getImageState()===dh&&e.load(),e.getImageState()===uh&&(this.patternImage_=e)}this.color_=t}getKey(){const t=this.getColor();return t?t instanceof CanvasPattern||t instanceof CanvasGradient?di(t):"object"==typeof t&&"src"in t?t.src+":"+t.offset:zl(t).toString():""}loading(){return!!this.patternImage_}ready(){return this.patternImage_?this.patternImage_.ready():Promise.resolve()}}const Jh=Zh;function Qh(t,e,i,n){return void 0!==i&&void 0!==n?[i/t,n/e]:void 0!==i?i/t:void 0!==n?n/e:1}class td extends qh{constructor(t){const e=void 0!==(t=t||{}).opacity?t.opacity:1,i=void 0!==t.rotation?t.rotation:0,n=void 0!==t.scale?t.scale:1,r=void 0!==t.rotateWithView&&t.rotateWithView;super({opacity:e,rotation:i,scale:n,displacement:void 0!==t.displacement?t.displacement:[0,0],rotateWithView:r,declutterMode:t.declutterMode}),this.anchor_=void 0!==t.anchor?t.anchor:[.5,.5],this.normalizedAnchor_=null,this.anchorOrigin_=void 0!==t.anchorOrigin?t.anchorOrigin:"top-left",this.anchorXUnits_=void 0!==t.anchorXUnits?t.anchorXUnits:"fraction",this.anchorYUnits_=void 0!==t.anchorYUnits?t.anchorYUnits:"fraction",this.crossOrigin_=void 0!==t.crossOrigin?t.crossOrigin:null;const s=void 0!==t.img?t.img:null;let o,a=t.src;if(Ui(!(void 0!==a&&s),"`image` and `src` cannot be provided at the same time"),void 0!==a&&0!==a.length||!s||(a=s.src||di(s)),Ui(void 0!==a&&a.length>0,"A defined and non-empty `src` or `image` must be provided"),Ui(!((void 0!==t.width||void 0!==t.height)&&void 0!==t.scale),"`width` or `height` cannot be provided together with `scale`"),void 0!==t.src?o=dh:void 0!==s&&(o="complete"in s?s.complete?s.src?ph:dh:uh:ph),this.color_=void 0!==t.color?zl(t.color):null,this.iconImage_=xh(s,a,this.crossOrigin_,o,this.color_),this.offset_=void 0!==t.offset?t.offset:[0,0],this.offsetOrigin_=void 0!==t.offsetOrigin?t.offsetOrigin:"top-left",this.origin_=null,this.size_=void 0!==t.size?t.size:null,this.initialOptions_,void 0!==t.width||void 0!==t.height){let e,i;if(t.size)[e,i]=t.size;else{const n=this.getImage(1);if(n.width&&n.height)e=n.width,i=n.height;else if(n instanceof HTMLImageElement){this.initialOptions_=t;const e=()=>{if(this.unlistenImageChange(e),!this.initialOptions_)return;const i=this.iconImage_.getSize();this.setScale(Qh(i[0],i[1],t.width,t.height))};return void this.listenImageChange(e)}}void 0!==e&&this.setScale(Qh(e,i,t.width,t.height))}}clone(){let t,e,i;return this.initialOptions_?(e=this.initialOptions_.width,i=this.initialOptions_.height):(t=this.getScale(),t=Array.isArray(t)?t.slice():t),new td({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,crossOrigin:this.crossOrigin_,offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,opacity:this.getOpacity(),rotateWithView:this.getRotateWithView(),rotation:this.getRotation(),scale:t,width:e,height:i,size:null!==this.size_?this.size_.slice():void 0,src:this.getSrc(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getAnchor(){let t=this.normalizedAnchor_;if(!t){t=this.anchor_;const e=this.getSize();if("fraction"==this.anchorXUnits_||"fraction"==this.anchorYUnits_){if(!e)return null;t=this.anchor_.slice(),"fraction"==this.anchorXUnits_&&(t[0]*=e[0]),"fraction"==this.anchorYUnits_&&(t[1]*=e[1])}if("top-left"!=this.anchorOrigin_){if(!e)return null;t===this.anchor_&&(t=this.anchor_.slice()),"top-right"!=this.anchorOrigin_&&"bottom-right"!=this.anchorOrigin_||(t[0]=-t[0]+e[0]),"bottom-left"!=this.anchorOrigin_&&"bottom-right"!=this.anchorOrigin_||(t[1]=-t[1]+e[1])}this.normalizedAnchor_=t}const e=this.getDisplacement(),i=this.getScaleArray();return[t[0]-e[0]/i[0],t[1]+e[1]/i[1]]}setAnchor(t){this.anchor_=t,this.normalizedAnchor_=null}getColor(){return this.color_}getImage(t){return this.iconImage_.getImage(t)}getPixelRatio(t){return this.iconImage_.getPixelRatio(t)}getImageSize(){return this.iconImage_.getSize()}getImageState(){return this.iconImage_.getImageState()}getHitDetectionImage(){return this.iconImage_.getHitDetectionImage()}getOrigin(){if(this.origin_)return this.origin_;let t=this.offset_;if("top-left"!=this.offsetOrigin_){const e=this.getSize(),i=this.iconImage_.getSize();if(!e||!i)return null;t=t.slice(),"top-right"!=this.offsetOrigin_&&"bottom-right"!=this.offsetOrigin_||(t[0]=i[0]-e[0]-t[0]),"bottom-left"!=this.offsetOrigin_&&"bottom-right"!=this.offsetOrigin_||(t[1]=i[1]-e[1]-t[1])}return this.origin_=t,this.origin_}getSrc(){return this.iconImage_.getSrc()}getSize(){return this.size_?this.size_:this.iconImage_.getSize()}getWidth(){const t=this.getScaleArray();return this.size_?this.size_[0]*t[0]:this.iconImage_.getImageState()==ph?this.iconImage_.getSize()[0]*t[0]:void 0}getHeight(){const t=this.getScaleArray();return this.size_?this.size_[1]*t[1]:this.iconImage_.getImageState()==ph?this.iconImage_.getSize()[1]*t[1]:void 0}setScale(t){delete this.initialOptions_,super.setScale(t)}listenImageChange(t){this.iconImage_.addEventListener(Le,t)}load(){this.iconImage_.load()}unlistenImageChange(t){this.iconImage_.removeEventListener(Le,t)}ready(){return this.iconImage_.ready()}}const ed=td;class id{constructor(t){t=t||{},this.color_=void 0!==t.color?t.color:null,this.lineCap_=t.lineCap,this.lineDash_=void 0!==t.lineDash?t.lineDash:null,this.lineDashOffset_=t.lineDashOffset,this.lineJoin_=t.lineJoin,this.miterLimit_=t.miterLimit,this.width_=t.width}clone(){const t=this.getColor();return new id({color:Array.isArray(t)?t.slice():t||void 0,lineCap:this.getLineCap(),lineDash:this.getLineDash()?this.getLineDash().slice():void 0,lineDashOffset:this.getLineDashOffset(),lineJoin:this.getLineJoin(),miterLimit:this.getMiterLimit(),width:this.getWidth()})}getColor(){return this.color_}getLineCap(){return this.lineCap_}getLineDash(){return this.lineDash_}getLineDashOffset(){return this.lineDashOffset_}getLineJoin(){return this.lineJoin_}getMiterLimit(){return this.miterLimit_}getWidth(){return this.width_}setColor(t){this.color_=t}setLineCap(t){this.lineCap_=t}setLineDash(t){this.lineDash_=t}setLineDashOffset(t){this.lineDashOffset_=t}setLineJoin(t){this.lineJoin_=t}setMiterLimit(t){this.miterLimit_=t}setWidth(t){this.width_=t}}const nd=id;class rd{constructor(t){t=t||{},this.geometry_=null,this.geometryFunction_=ad,void 0!==t.geometry&&this.setGeometry(t.geometry),this.fill_=void 0!==t.fill?t.fill:null,this.image_=void 0!==t.image?t.image:null,this.renderer_=void 0!==t.renderer?t.renderer:null,this.hitDetectionRenderer_=void 0!==t.hitDetectionRenderer?t.hitDetectionRenderer:null,this.stroke_=void 0!==t.stroke?t.stroke:null,this.text_=void 0!==t.text?t.text:null,this.zIndex_=t.zIndex}clone(){let t=this.getGeometry();return t&&"object"==typeof t&&(t=t.clone()),new rd({geometry:t??void 0,fill:this.getFill()?this.getFill().clone():void 0,image:this.getImage()?this.getImage().clone():void 0,renderer:this.getRenderer()??void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,text:this.getText()?this.getText().clone():void 0,zIndex:this.getZIndex()})}getRenderer(){return this.renderer_}setRenderer(t){this.renderer_=t}setHitDetectionRenderer(t){this.hitDetectionRenderer_=t}getHitDetectionRenderer(){return this.hitDetectionRenderer_}getGeometry(){return this.geometry_}getGeometryFunction(){return this.geometryFunction_}getFill(){return this.fill_}setFill(t){this.fill_=t}getImage(){return this.image_}setImage(t){this.image_=t}getStroke(){return this.stroke_}setStroke(t){this.stroke_=t}getText(){return this.text_}setText(t){this.text_=t}getZIndex(){return this.zIndex_}setGeometry(t){"function"==typeof t?this.geometryFunction_=t:"string"==typeof t?this.geometryFunction_=function(e){return e.get(t)}:t?void 0!==t&&(this.geometryFunction_=function(){return t}):this.geometryFunction_=ad,this.geometry_=t}setZIndex(t){this.zIndex_=t}}let sd=null;function od(t,e){if(!sd){const t=new Jh({color:"rgba(255,255,255,0.4)"}),e=new nd({color:"#3399CC",width:1.25});sd=[new rd({image:new Kh({fill:t,stroke:e,radius:5}),fill:t,stroke:e})]}return sd}function ad(t){return t.getGeometry()}const ld=rd;class cd{constructor(t){t=t||{},this.font_=t.font,this.rotation_=t.rotation,this.rotateWithView_=t.rotateWithView,this.keepUpright_=t.keepUpright,this.scale_=t.scale,this.scaleArray_=jl(void 0!==t.scale?t.scale:1),this.text_=t.text,this.textAlign_=t.textAlign,this.justify_=t.justify,this.repeat_=t.repeat,this.textBaseline_=t.textBaseline,this.fill_=void 0!==t.fill?t.fill:new Jh({color:"#333"}),this.maxAngle_=void 0!==t.maxAngle?t.maxAngle:Math.PI/4,this.placement_=void 0!==t.placement?t.placement:"point",this.overflow_=!!t.overflow,this.stroke_=void 0!==t.stroke?t.stroke:null,this.offsetX_=void 0!==t.offsetX?t.offsetX:0,this.offsetY_=void 0!==t.offsetY?t.offsetY:0,this.backgroundFill_=t.backgroundFill?t.backgroundFill:null,this.backgroundStroke_=t.backgroundStroke?t.backgroundStroke:null,this.padding_=void 0===t.padding?null:t.padding,this.declutterMode_=t.declutterMode}clone(){const t=this.getScale();return new cd({font:this.getFont(),placement:this.getPlacement(),repeat:this.getRepeat(),maxAngle:this.getMaxAngle(),overflow:this.getOverflow(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),keepUpright:this.getKeepUpright(),scale:Array.isArray(t)?t.slice():t,text:this.getText(),textAlign:this.getTextAlign(),justify:this.getJustify(),textBaseline:this.getTextBaseline(),fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,offsetX:this.getOffsetX(),offsetY:this.getOffsetY(),backgroundFill:this.getBackgroundFill()?this.getBackgroundFill().clone():void 0,backgroundStroke:this.getBackgroundStroke()?this.getBackgroundStroke().clone():void 0,padding:this.getPadding()||void 0,declutterMode:this.getDeclutterMode()})}getOverflow(){return this.overflow_}getFont(){return this.font_}getMaxAngle(){return this.maxAngle_}getPlacement(){return this.placement_}getRepeat(){return this.repeat_}getOffsetX(){return this.offsetX_}getOffsetY(){return this.offsetY_}getFill(){return this.fill_}getRotateWithView(){return this.rotateWithView_}getKeepUpright(){return this.keepUpright_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getStroke(){return this.stroke_}getText(){return this.text_}getTextAlign(){return this.textAlign_}getJustify(){return this.justify_}getTextBaseline(){return this.textBaseline_}getBackgroundFill(){return this.backgroundFill_}getBackgroundStroke(){return this.backgroundStroke_}getPadding(){return this.padding_}getDeclutterMode(){return this.declutterMode_}setOverflow(t){this.overflow_=t}setFont(t){this.font_=t}setMaxAngle(t){this.maxAngle_=t}setOffsetX(t){this.offsetX_=t}setOffsetY(t){this.offsetY_=t}setPlacement(t){this.placement_=t}setRepeat(t){this.repeat_=t}setRotateWithView(t){this.rotateWithView_=t}setKeepUpright(t){this.keepUpright_=t}setFill(t){this.fill_=t}setRotation(t){this.rotation_=t}setScale(t){this.scale_=t,this.scaleArray_=jl(void 0!==t?t:1)}setStroke(t){this.stroke_=t}setText(t){this.text_=t}setTextAlign(t){this.textAlign_=t}setJustify(t){this.justify_=t}setTextBaseline(t){this.textBaseline_=t}setBackgroundFill(t){this.backgroundFill_=t}setBackgroundStroke(t){this.backgroundStroke_=t}setPadding(t){this.padding_=t}}const hd=cd;function dd(t){return!0}function ud(t){const e=ic(),i=function(t,e){const i=t.length,n=new Array(i);for(let r=0;r<i;++r){const i=t[r],s="filter"in i?ah(i.filter,Wl,e):dd;let o;if(Array.isArray(i.style)){const t=i.style.length;o=new Array(t);for(let n=0;n<t;++n)o[n]=fd(i.style[n],e)}else o=[fd(i.style,e)];n[r]={filter:s,styles:o}}return function(e){const r=[];let s=!1;for(let o=0;o<i;++o){if((0,n[o].filter)(e)&&(!t[o].else||!s)){s=!0;for(const t of n[o].styles){const i=t(e);i&&r.push(i)}}}return r}}(t,e),n={variables:{},properties:{},resolution:NaN,featureId:null,geometryType:""};return function(t,r){if(n.properties=t.getPropertiesInternal(),n.resolution=r,e.featureId){const e=t.getId();n.featureId=void 0!==e?e:null}return e.geometryType&&(n.geometryType=oh(t.getGeometry())),i(n)}}function pd(t){const e=ic(),i=t.length,n=new Array(i);for(let r=0;r<i;++r)n[r]=fd(t[r],e);const r={variables:{},properties:{},resolution:NaN,featureId:null,geometryType:""},s=new Array(i);return function(t,o){if(r.properties=t.getPropertiesInternal(),r.resolution=o,e.featureId){const e=t.getId();r.featureId=void 0!==e?e:null}let a=0;for(let t=0;t<i;++t){const e=n[t](r);e&&(s[a]=e,a+=1)}return s.length=a,s}}function fd(t,e){const i=gd(t,"",e),n=md(t,"",e),r=function(t,e){const i="text-",n=vd(t,i+"value",e);if(!n)return null;const r=gd(t,i,e),s=gd(t,i+"background-",e),o=md(t,i,e),a=md(t,i+"background-",e),l=vd(t,i+"font",e),c=_d(t,i+"max-angle",e),h=_d(t,i+"offset-x",e),d=_d(t,i+"offset-y",e),u=yd(t,i+"overflow",e),p=vd(t,i+"placement",e),f=_d(t,i+"repeat",e),g=Sd(t,i+"scale",e),m=yd(t,i+"rotate-with-view",e),_=_d(t,i+"rotation",e),v=vd(t,i+"align",e),y=vd(t,i+"justify",e),w=vd(t,i+"baseline",e),x=yd(t,i+"keep-upright",e),b=xd(t,i+"padding",e),E=kd(t,i+"declutter-mode"),S=new hd({declutterMode:E});return function(t){if(S.setText(n(t)),r&&S.setFill(r(t)),s&&S.setBackgroundFill(s(t)),o&&S.setStroke(o(t)),a&&S.setBackgroundStroke(a(t)),l&&S.setFont(l(t)),c&&S.setMaxAngle(c(t)),h&&S.setOffsetX(h(t)),d&&S.setOffsetY(d(t)),u&&S.setOverflow(u(t)),p){const e=p(t);if("point"!==e&&"line"!==e)throw new Error("Expected point or line for text-placement");S.setPlacement(e)}if(f&&S.setRepeat(f(t)),g&&S.setScale(g(t)),m&&S.setRotateWithView(m(t)),_&&S.setRotation(_(t)),v){const e=v(t);if("left"!==e&&"center"!==e&&"right"!==e&&"end"!==e&&"start"!==e)throw new Error("Expected left, right, center, start, or end for text-align");S.setTextAlign(e)}if(y){const e=y(t);if("left"!==e&&"right"!==e&&"center"!==e)throw new Error("Expected left, right, or center for text-justify");S.setJustify(e)}if(w){const e=w(t);if("bottom"!==e&&"top"!==e&&"middle"!==e&&"alphabetic"!==e&&"hanging"!==e)throw new Error("Expected bottom, top, middle, alphabetic, or hanging for text-baseline");S.setTextBaseline(e)}return b&&S.setPadding(b(t)),x&&S.setKeepUpright(x(t)),S}}(t,e),s=function(t,e){if("icon-src"in t)return function(t,e){const i="icon-",n=i+"src",r=Id(t[n],n),s=bd(t,i+"anchor",e),o=Sd(t,i+"scale",e),a=_d(t,i+"opacity",e),l=bd(t,i+"displacement",e),c=_d(t,i+"rotation",e),h=yd(t,i+"rotate-with-view",e),d=Td(t,i+"anchor-origin"),u=Ad(t,i+"anchor-x-units"),p=Ad(t,i+"anchor-y-units"),f=function(t,e){const i=t[e];if(void 0===i)return;return Ld(i,e)}(t,i+"color"),g=function(t,e){const i=t[e];if(void 0===i)return;if("string"!=typeof i)throw new Error(`Expected a string for ${e}`);return i}(t,i+"cross-origin"),m=function(t,e){const i=t[e];if(void 0===i)return;return Md(i,e)}(t,i+"offset"),_=Td(t,i+"offset-origin"),v=Cd(t,i+"width"),y=Cd(t,i+"height"),w=function(t,e){const i=t[e];if(void 0===i)return;if("number"==typeof i)return jl(i);if(!Array.isArray(i))throw new Error(`Expected a number or size array for ${e}`);if(2!==i.length||"number"!=typeof i[0]||"number"!=typeof i[1])throw new Error(`Expected a number or size array for ${e}`);return i}(t,i+"size"),x=kd(t,i+"declutter-mode"),b=new ed({src:r,anchorOrigin:d,anchorXUnits:u,anchorYUnits:p,color:f,crossOrigin:g,offset:m,offsetOrigin:_,height:y,width:v,size:w,declutterMode:x});return function(t){return a&&b.setOpacity(a(t)),l&&b.setDisplacement(l(t)),c&&b.setRotation(c(t)),h&&b.setRotateWithView(h(t)),o&&b.setScale(o(t)),s&&b.setAnchor(s(t)),b}}(t,e);if("shape-points"in t)return function(t,e){const i="shape-",n=i+"points",r=i+"radius",s=Rd(t[n],n),o=Rd(t[r],r),a=gd(t,i,e),l=md(t,i,e),c=Sd(t,i+"scale",e),h=bd(t,i+"displacement",e),d=_d(t,i+"rotation",e),u=yd(t,i+"rotate-with-view",e),p=Cd(t,i+"radius2"),f=Cd(t,i+"angle"),g=kd(t,i+"declutter-mode"),m=new $h({points:s,radius:o,radius2:p,angle:f,declutterMode:g});return function(t){return a&&m.setFill(a(t)),l&&m.setStroke(l(t)),h&&m.setDisplacement(h(t)),d&&m.setRotation(d(t)),u&&m.setRotateWithView(u(t)),c&&m.setScale(c(t)),m}}(t,e);if("circle-radius"in t)return function(t,e){const i="circle-",n=gd(t,i,e),r=md(t,i,e),s=_d(t,i+"radius",e),o=Sd(t,i+"scale",e),a=bd(t,i+"displacement",e),l=_d(t,i+"rotation",e),c=yd(t,i+"rotate-with-view",e),h=kd(t,i+"declutter-mode"),d=new Kh({radius:5,declutterMode:h});return function(t){return s&&d.setRadius(s(t)),n&&d.setFill(n(t)),r&&d.setStroke(r(t)),a&&d.setDisplacement(a(t)),l&&d.setRotation(l(t)),c&&d.setRotateWithView(c(t)),o&&d.setScale(o(t)),d}}(t,e);return null}(t,e),o=_d(t,"z-index",e);if(!(i||n||r||s||ei(t)))throw new Error("No fill, stroke, point, or text symbolizer properties in style: "+JSON.stringify(t));const a=new ld;return function(t){let e=!0;if(i){const n=i(t);n&&(e=!1),a.setFill(n)}if(n){const i=n(t);i&&(e=!1),a.setStroke(i)}if(r){const i=r(t);i&&(e=!1),a.setText(i)}if(s){const i=s(t);i&&(e=!1),a.setImage(i)}return o&&a.setZIndex(o(t)),e?null:a}}function gd(t,e,i){let n;if(e+"fill-pattern-src"in t)n=function(t,e,i){const n=vd(t,e+"pattern-src",i),r=Ed(t,e+"pattern-offset",i),s=Ed(t,e+"pattern-size",i),o=wd(t,e+"color",i);return function(t){return{src:n(t),offset:r&&r(t),size:s&&s(t),color:o&&o(t)}}}(t,e+"fill-",i);else{if("none"===t[e+"fill-color"])return t=>null;n=wd(t,e+"fill-color",i)}if(!n)return null;const r=new Jh;return function(t){const e=n(t);return e===yl?null:(r.setColor(e),r)}}function md(t,e,i){const n=_d(t,e+"stroke-width",i),r=wd(t,e+"stroke-color",i);if(!n&&!r)return null;const s=vd(t,e+"stroke-line-cap",i),o=vd(t,e+"stroke-line-join",i),a=xd(t,e+"stroke-line-dash",i),l=_d(t,e+"stroke-line-dash-offset",i),c=_d(t,e+"stroke-miter-limit",i),h=new nd;return function(t){if(r){const e=r(t);if(e===yl)return null;h.setColor(e)}if(n&&h.setWidth(n(t)),s){const e=s(t);if("butt"!==e&&"round"!==e&&"square"!==e)throw new Error("Expected butt, round, or square line cap");h.setLineCap(e)}if(o){const e=o(t);if("bevel"!==e&&"round"!==e&&"miter"!==e)throw new Error("Expected bevel, round, or miter line join");h.setLineJoin(e)}return a&&h.setLineDash(a(t)),l&&h.setLineDashOffset(l(t)),c&&h.setMiterLimit(c(t)),h}}function _d(t,e,i){if(!(e in t))return;const n=ah(t[e],Yl,i);return function(t){return Rd(n(t),e)}}function vd(t,e,i){if(!(e in t))return null;
2const n=ah(t[e],Ul,i);return function(t){return Id(n(t),e)}}function yd(t,e,i){if(!(e in t))return null;const n=ah(t[e],Wl,i);return function(t){const i=n(t);if("boolean"!=typeof i)throw new Error(`Expected a boolean for ${e}`);return i}}function wd(t,e,i){if(!(e in t))return null;const n=ah(t[e],Xl,i);return function(t){return Ld(n(t),e)}}function xd(t,e,i){if(!(e in t))return null;const n=ah(t[e],ql,i);return function(t){return Md(n(t),e)}}function bd(t,e,i){if(!(e in t))return null;const n=ah(t[e],ql,i);return function(t){const i=Md(n(t),e);if(2!==i.length)throw new Error(`Expected two numbers for ${e}`);return i}}function Ed(t,e,i){if(!(e in t))return null;const n=ah(t[e],ql,i);return function(t){return Pd(n(t),e)}}function Sd(t,e,i){if(!(e in t))return null;const n=ah(t[e],ql|Yl,i);return function(t){return function(t,e){if("number"==typeof t)return t;return Pd(t,e)}(n(t),e)}}function Cd(t,e){const i=t[e];if(void 0!==i){if("number"!=typeof i)throw new Error(`Expected a number for ${e}`);return i}}function Td(t,e){const i=t[e];if(void 0!==i){if("bottom-left"!==i&&"bottom-right"!==i&&"top-left"!==i&&"top-right"!==i)throw new Error(`Expected bottom-left, bottom-right, top-left, or top-right for ${e}`);return i}}function Ad(t,e){const i=t[e];if(void 0!==i){if("pixels"!==i&&"fraction"!==i)throw new Error(`Expected pixels or fraction for ${e}`);return i}}function kd(t,e){const i=t[e];if(void 0!==i){if("string"!=typeof i)throw new Error(`Expected a string for ${e}`);if("declutter"!==i&&"obstacle"!==i&&"none"!==i)throw new Error(`Expected declutter, obstacle, or none for ${e}`);return i}}function Md(t,e){if(!Array.isArray(t))throw new Error(`Expected an array for ${e}`);const i=t.length;for(let n=0;n<i;++n)if("number"!=typeof t[n])throw new Error(`Expected an array of numbers for ${e}`);return t}function Id(t,e){if("string"!=typeof t)throw new Error(`Expected a string for ${e}`);return t}function Rd(t,e){if("number"!=typeof t)throw new Error(`Expected a number for ${e}`);return t}function Ld(t,e){if("string"==typeof t)return t;const i=Md(t,e),n=i.length;if(n<3||n>4)throw new Error(`Expected a color with 3 or 4 values for ${e}`);return i}function Pd(t,e){const i=Md(t,e);if(2!==i.length)throw new Error(`Expected an array of two numbers for ${e}`);return i}const Dd="renderOrder";const Od=class extends tl{constructor(t){t=t||{};const e=Object.assign({},t);delete e.style,delete e.renderBuffer,delete e.updateWhileAnimating,delete e.updateWhileInteracting,super(e),this.declutter_=t.declutter?String(t.declutter):void 0,this.renderBuffer_=void 0!==t.renderBuffer?t.renderBuffer:100,this.style_=null,this.styleFunction_=void 0,this.setStyle(t.style),this.updateWhileAnimating_=void 0!==t.updateWhileAnimating&&t.updateWhileAnimating,this.updateWhileInteracting_=void 0!==t.updateWhileInteracting&&t.updateWhileInteracting}getDeclutter(){return this.declutter_}getFeatures(t){return super.getFeatures(t)}getRenderBuffer(){return this.renderBuffer_}getRenderOrder(){return this.get(Dd)}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}getUpdateWhileAnimating(){return this.updateWhileAnimating_}getUpdateWhileInteracting(){return this.updateWhileInteracting_}renderDeclutter(t,e){const i=this.getDeclutter();i in t.declutter==!1&&(t.declutter[i]=new rl(9)),this.getRenderer().renderDeclutter(t,e)}setRenderOrder(t){this.set(Dd,t)}setStyle(t){this.style_=void 0===t?od:t;const e=function(t){if(void 0===t)return od;if(!t)return null;if("function"==typeof t)return t;if(t instanceof ld)return t;if(!Array.isArray(t))return pd([t]);if(0===t.length)return[];const e=t.length,i=t[0];if(i instanceof ld){const i=new Array(e);for(let n=0;n<e;++n){const e=t[n];if(!(e instanceof ld))throw new Error("Expected a list of style instances");i[n]=e}return i}if("style"in i){const i=new Array(e);for(let n=0;n<e;++n){const e=t[n];if(!("style"in e))throw new Error("Expected a list of rules with a style property");i[n]=e}return ud(i)}const n=t;return pd(n)}(t);this.styleFunction_=null===t?void 0:function(t){let e;if("function"==typeof t)e=t;else{let i;Array.isArray(t)?i=t:(Ui("function"==typeof t.getZIndex,"Expected an `Style` or an array of `Style`"),i=[t]),e=function(){return i}}return e}(e),this.changed()}setDeclutter(t){this.declutter_=t?String(t):void 0,this.changed()}};const Fd=class extends ii{constructor(t,e,i,n){super(t),this.inversePixelTransform=e,this.frameState=i,this.context=n}};function zd(t,e){vh.expire()}const Nd=class extends We{constructor(t){super(),this.map_=t}dispatchRenderEvent(t,e){ci()}calculateMatrices2D(t){const e=t.viewState,i=t.coordinateToPixelTransform,n=t.pixelToCoordinateTransform;Ms(i,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),Is(n,i)}forEachFeatureAtCoordinate(t,e,i,n,r,s,o,a){let l;const c=e.viewState;
vendor: 2,682 bytes, line 2
2function h(t,e,i,n){return r.call(s,e,t?i:null,n)}const d=c.projection,u=tr(t.slice(),d),p=[[0,0]];if(d.canWrapX()&&n){const t=qn(d.getExtent());p.push([-t,0],[t,0])}const f=e.layerStatesArray,g=f.length,m=[],_=[];for(let n=0;n<p.length;n++)for(let r=g-1;r>=0;--r){const s=f[r],d=s.layer;if(d.hasRenderer()&&Qa(s,c)&&o.call(a,d)){const r=d.getRenderer(),o=d.getSource();if(r&&o){const a=o.getWrapX()?u:t,c=h.bind(null,s.managed);_[0]=a[0]+p[n][0],_[1]=a[1]+p[n][1],l=r.forEachFeatureAtCoordinate(_,e,i,c,m)}if(l)return l}}if(0===m.length)return;const v=1/m.length;return m.forEach((t,e)=>t.distanceSq+=e*v),m.sort((t,e)=>t.distanceSq-e.distanceSq),m.some(t=>l=t.callback(t.feature,t.layer,t.geometry)),l}hasFeatureAtCoordinate(t,e,i,n,r,s){return void 0!==this.forEachFeatureAtCoordinate(t,e,i,n,Ve,this,r,s)}getMap(){return this.map_}renderFrame(t){ci()}scheduleExpireIconCache(t){vh.canExpireCache()&&t.postRenderFunctions.push(zd)}};const Bd=class extends Nd{constructor(t){super(t),this.fontChangeListenerKey_=ri(Ph,Re,t.redrawText,t),this.element_=document.createElement("div");const e=this.element_.style;e.position="absolute",e.width="100%",e.height="100%",e.zIndex="0",this.element_.className=Do+" ol-layers";const i=t.getViewport();i.insertBefore(this.element_,i.firstChild||null),this.children_=[],this.renderedVisible_=!0}dispatchRenderEvent(t,e){const i=this.getMap();if(i.hasListener(t)){const n=new Fd(t,void 0,e);i.dispatchEvent(n)}}disposeInternal(){oi(this.fontChangeListenerKey_),this.element_.remove(),super.disposeInternal()}renderFrame(t){if(!t)return void(this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1));this.calculateMatrices2D(t),this.dispatchRenderEvent(Ka,t);const e=t.layerStatesArray.sort((t,e)=>t.zIndex-e.zIndex);e.some(t=>t.layer instanceof Od&&t.layer.getDeclutter())&&(t.declutter={});const i=t.viewState;this.children_.length=0;const n=[];let r=null;for(let s=0,o=e.length;s<o;++s){const o=e[s];t.layerIndex=s;const a=o.layer,l=a.getSourceState();if(!Qa(o,i)||"ready"!=l&&"undefined"!=l){a.unrender();continue}const c=a.render(t,r);c&&(c!==r&&(this.children_.push(c),r=c),n.push(o))}this.declutter(t,n),function(t,e){const i=t.childNodes;for(let n=0;;++n){const r=i[n],s=e[n];if(!r&&!s)break;r!==s&&(r?s?t.insertBefore(s,r):(t.removeChild(r),--n):t.appendChild(s))}}(this.element_,this.children_),this.dispatchRenderEvent(Za,t),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(t)}declutter(t,e){if(t.declutter){for(let i=e.length-1;i>=0;--i){const n=e[i],r=n.layer;r.getDeclutter()&&r.renderDeclutter(t,n)}e.forEach(e=>e.layer.renderDeferred(t))}}};
2function jd(t){t instanceof tl?t.setMapInternal(null):t instanceof Ha&&t.getLayers().forEach(jd)}function Gd(t,e){if(t instanceof tl)t.setMapInternal(e);else if(t instanceof Ha){const i=t.getLayers().getArray();for(let t=0,n=i.length;t<n;++t)Gd(i[t],e)}}const Wd=class extends pi{constructor(t){super(),t=t||{},this.on,this.once,this.un;const e=function(t){let e=null;void 0!==t.keyboardEventTarget&&(e="string"==typeof t.keyboardEventTarget?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);const i={},n=t.layers&&"function"==typeof t.layers.getLayers?t.layers:new Ha({layers:t.layers});let r,s,o;i[Oi]=n,i[zi]=t.target,i[Ni]=t.view instanceof Lo?t.view:new Lo,void 0!==t.controls&&(Array.isArray(t.controls)?r=new mi(t.controls.slice()):(Ui("function"==typeof t.controls.getArray,"Expected `controls` to be an array or an `ol/Collection.js`"),r=t.controls));void 0!==t.interactions&&(Array.isArray(t.interactions)?s=new mi(t.interactions.slice()):(Ui("function"==typeof t.interactions.getArray,"Expected `interactions` to be an array or an `ol/Collection.js`"),s=t.interactions));void 0!==t.overlays?Array.isArray(t.overlays)?o=new mi(t.overlays.slice()):(Ui("function"==typeof t.overlays.getArray,"Expected `overlays` to be an array or an `ol/Collection.js`"),o=t.overlays):o=new mi;return{controls:r,interactions:s,keyboardEventTarget:e,overlays:o,values:i}}(t);this.renderComplete_=!1,this.loaded_=!0,this.boundHandleBrowserEvent_=this.handleBrowserEvent.bind(this),this.maxTilesLoading_=void 0!==t.maxTilesLoading?t.maxTilesLoading:16,this.pixelRatio_=void 0!==t.pixelRatio?t.pixelRatio:Ei,this.postRenderTimeoutHandle_,this.animationDelayKey_,this.animationDelay_=this.animationDelay_.bind(this),this.coordinateToPixelTransform_=[1,0,0,1,0,0],this.pixelToCoordinateTransform_=[1,0,0,1,0,0],this.frameIndex_=0,this.frameState_=null,this.previousExtent_=null,this.viewPropertyListenerKey_=null,this.viewChangeListenerKey_=null,this.layerGroupPropertyListenerKeys_=null,this.viewport_=document.createElement("div"),this.viewport_.className="ol-viewport"+("ontouchstart"in window?" ol-touch":""),this.viewport_.style.position="relative",this.viewport_.style.overflow="hidden",this.viewport_.style.width="100%",this.viewport_.style.height="100%",this.overlayContainer_=document.createElement("div"),this.overlayContainer_.style.position="absolute",this.overlayContainer_.style.zIndex="0",this.overlayContainer_.style.width="100%",this.overlayContainer_.style.height="100%",this.overlayContainer_.style.pointerEvents="none",this.overlayContainer_.className="ol-overlaycontainer",this.viewport_.appendChild(this.overlayContainer_),this.overlayContainerStopEvent_=document.createElement("div"),this.overlayContainerStopEvent_.style.position="absolute",this.overlayContainerStopEvent_.style.zIndex="0",this.overlayContainerStopEvent_.style.width="100%",this.overlayContainerStopEvent_.style.height="100%",this.overlayContainerStopEvent_.style.pointerEvents="none",this.overlayContainerStopEvent_.className="ol-overlaycontainer-stopevent",this.viewport_.appendChild(this.overlayContainerStopEvent_),this.mapBrowserEventHandler_=null,this.moveTolerance_=t.moveTolerance,this.keyboardEventTarget_=e.keyboardEventTarget,this.targetChangeHandlerKeys_=null,this.targetElement_=null,this.resizeObserver_=new ResizeObserver(()=>this.updateSize()),this.controls=e.controls||function(t){t=t||{};const e=new mi;return(void 0===t.zoom||t.zoom)&&e.push(new Vo(t.zoomOptions)),(void 0===t.rotate||t.rotate)&&e.push(new $o(t.rotateOptions)),(void 0===t.attribution||t.attribution)&&e.push(new Ho(t.attributionOptions)),e}(),this.interactions=e.interactions||La({onFocusOnly:!0}),this.overlays_=e.overlays,this.overlayIdIndex_={},this.renderer_=null,this.postRenderFunctions_=[],this.tileQueue_=new Hi(this.getTilePriority.bind(this),this.handleTileChange_.bind(this)),this.addChangeListener(Oi,this.handleLayerGroupChanged_),this.addChangeListener(Ni,this.handleViewChanged_),this.addChangeListener(Fi,this.handleSizeChanged_),this.addChangeListener(zi,this.handleTargetChanged_),this.setProperties(e.values);const i=this;
vendor: 10,773 bytes, line 2
2!t.view||t.view instanceof Lo||t.view.then(function(t){i.setView(new Lo(t))}),this.controls.addEventListener(Me,t=>{t.element.setMap(this)}),this.controls.addEventListener(Ie,t=>{t.element.setMap(null)}),this.interactions.addEventListener(Me,t=>{t.element.setMap(this)}),this.interactions.addEventListener(Ie,t=>{t.element.setMap(null)}),this.overlays_.addEventListener(Me,t=>{this.addOverlayInternal_(t.element)}),this.overlays_.addEventListener(Ie,t=>{const e=t.element.getId();void 0!==e&&delete this.overlayIdIndex_[e.toString()],t.element.setMap(null)}),this.controls.forEach(t=>{t.setMap(this)}),this.interactions.forEach(t=>{t.setMap(this)}),this.overlays_.forEach(this.addOverlayInternal_.bind(this))}addControl(t){this.getControls().push(t)}addInteraction(t){this.getInteractions().push(t)}addLayer(t){this.getLayerGroup().getLayers().push(t)}handleLayerAdd_(t){Gd(t.layer,this)}addOverlay(t){this.getOverlays().push(t)}addOverlayInternal_(t){const e=t.getId();void 0!==e&&(this.overlayIdIndex_[e.toString()]=t),t.setMap(this)}disposeInternal(){this.controls.clear(),this.interactions.clear(),this.overlays_.clear(),this.resizeObserver_.disconnect(),this.setTarget(null),super.disposeInternal()}forEachFeatureAtPixel(t,e,i){if(!this.frameState_||!this.renderer_)return;const n=this.getCoordinateFromPixelInternal(t),r=void 0!==(i=void 0!==i?i:{}).hitTolerance?i.hitTolerance:0,s=void 0!==i.layerFilter?i.layerFilter:Ve,o=!1!==i.checkWrapped;return this.renderer_.forEachFeatureAtCoordinate(n,this.frameState_,r,o,e,null,s,null)}getFeaturesAtPixel(t,e){const i=[];return this.forEachFeatureAtPixel(t,function(t){i.push(t)},e),i}getAllLayers(){const t=[];return function e(i){i.forEach(function(i){i instanceof Ha?e(i.getLayers()):t.push(i)})}(this.getLayers()),t}hasFeatureAtPixel(t,e){if(!this.frameState_||!this.renderer_)return!1;const i=this.getCoordinateFromPixelInternal(t),n=void 0!==(e=void 0!==e?e:{}).layerFilter?e.layerFilter:Ve,r=void 0!==e.hitTolerance?e.hitTolerance:0,s=!1!==e.checkWrapped;return this.renderer_.hasFeatureAtCoordinate(i,this.frameState_,r,s,n,null)}getEventCoordinate(t){return this.getCoordinateFromPixel(this.getEventPixel(t))}getEventCoordinateInternal(t){return this.getCoordinateFromPixelInternal(this.getEventPixel(t))}getEventPixel(t){const e=this.viewport_.getBoundingClientRect(),i=this.getSize(),n=e.width/i[0],r=e.height/i[1],s="changedTouches"in t?t.changedTouches[0]:t;return[(s.clientX-e.left)/n,(s.clientY-e.top)/r]}getTarget(){return this.get(zi)}getTargetElement(){return this.targetElement_}getCoordinateFromPixel(t){return ws(this.getCoordinateFromPixelInternal(t),this.getView().getProjection())}getCoordinateFromPixelInternal(t){const e=this.frameState_;return e?ks(e.pixelToCoordinateTransform,t.slice()):null}getControls(){return this.controls}getOverlays(){return this.overlays_}getOverlayById(t){const e=this.overlayIdIndex_[t.toString()];return void 0!==e?e:null}getInteractions(){return this.interactions}getLayerGroup(){return this.get(Oi)}setLayers(t){const e=this.getLayerGroup();if(t instanceof mi)return void e.setLayers(t);const i=e.getLayers();i.clear(),i.extend(t)}getLayers(){return this.getLayerGroup().getLayers()}getLoadingOrNotReady(){const t=this.getLayerGroup().getLayerStatesArray();for(let e=0,i=t.length;e<i;++e){const i=t[e];if(!i.visible)continue;const n=i.layer.getRenderer();if(n&&!n.ready)return!0;const r=i.layer.getSource();if(r&&r.loading)return!0}return!1}getPixelFromCoordinate(t){const e=xs(t,this.getView().getProjection());return this.getPixelFromCoordinateInternal(e)}getPixelFromCoordinateInternal(t){const e=this.frameState_;return e?ks(e.coordinateToPixelTransform,t.slice(0,2)):null}getRenderer(){return this.renderer_}getSize(){return this.get(Fi)}getView(){return this.get(Ni)}getViewport(){return this.viewport_}getOverlayContainer(){return this.overlayContainer_}getOverlayContainerStopEvent(){return this.overlayContainerStopEvent_}getOwnerDocument(){const t=this.getTargetElement();return t?t.ownerDocument:document}getTilePriority(t,e,i,n){return function(t,e,i,n,r){if(!t||!(i in t.wantedTiles))return Xi;if(!t.wantedTiles[i][e.getKey()])return Xi;const s=t.viewState.center,o=n[0]-s[0],a=n[1]-s[1];return 65536*Math.log(r)+Math.sqrt(o*o+a*a)/r}(this.frameState_,t,e,i,n)}handleBrowserEvent(t,e){e=e||t.type;const i=new vi(e,this,t);this.handleMapBrowserEvent(i)}handleMapBrowserEvent(t){if(!this.frameState_)return;const e=t.originalEvent,i=e.type;if(i===ki||i===Ge||i===ze){const t=this.getOwnerDocument(),i=this.viewport_.getRootNode?this.viewport_.getRootNode():t,n=e.target,r=i instanceof ShadowRoot?i.host===n?i.host.ownerDocument:i:i===t?t.documentElement:i;if(this.overlayContainerStopEvent_.contains(n)||!r.contains(n))return}if(t.frameState=this.frameState_,!1!==this.dispatchEvent(t)){const e=this.getInteractions().getArray().slice();for(let i=e.length-1;i>=0;i--){const n=e[i];if(n.getMap()!==this||!n.getActive()||!this.getTargetElement())continue;if(!n.handleEvent(t)||t.propagationStopped)break}}}handlePostRender(){const t=this.frameState_,e=this.tileQueue_;if(!e.isEmpty()){let i=this.maxTilesLoading_,n=i;if(t){const e=t.viewHints;if(e[$i]||e[Vi]){const e=Date.now()-t.time>8;i=e?0:8,n=e?0:2}}e.getTilesLoading()<i&&(e.reprioritize(),e.loadMoreTiles(i,n))}t&&this.renderer_&&!t.animate&&(this.renderComplete_?(this.hasListener(Ja)&&this.renderer_.dispatchRenderEvent(Ja,t),!1===this.loaded_&&(this.loaded_=!0,this.dispatchEvent(new _i(Di,this,t)))):!0===this.loaded_&&(this.loaded_=!1,this.dispatchEvent(new _i(Pi,this,t))));const i=this.postRenderFunctions_;if(t)for(let e=0,n=i.length;e<n;++e)i[e](this,t);i.length=0}handleSizeChanged_(){this.getView()&&!this.getView().getAnimating()&&this.getView().resolveConstraints(0),this.render()}handleTargetChanged_(){if(this.mapBrowserEventHandler_){for(let t=0,e=this.targetChangeHandlerKeys_.length;t<e;++t)oi(this.targetChangeHandlerKeys_[t]);this.targetChangeHandlerKeys_=null,this.viewport_.removeEventListener(De,this.boundHandleBrowserEvent_),this.viewport_.removeEventListener(Ge,this.boundHandleBrowserEvent_),this.mapBrowserEventHandler_.dispose(),this.mapBrowserEventHandler_=null,this.viewport_.remove()}if(this.targetElement_){this.resizeObserver_.unobserve(this.targetElement_);const t=this.targetElement_.getRootNode();t instanceof ShadowRoot&&this.resizeObserver_.unobserve(t.host),this.setSize(void 0)}const t=this.getTarget(),e="string"==typeof t?document.getElementById(t):t;if(this.targetElement_=e,e){e.appendChild(this.viewport_),this.renderer_||(this.renderer_=new Bd(this)),this.mapBrowserEventHandler_=new Mi(this,this.moveTolerance_);for(const t in yi)this.mapBrowserEventHandler_.addEventListener(yi[t],this.handleMapBrowserEvent.bind(this));let t;if(this.viewport_.addEventListener(De,this.boundHandleBrowserEvent_,!1),this.viewport_.addEventListener(Ge,this.boundHandleBrowserEvent_,!!Ti&&{passive:!1}),this.keyboardEventTarget_)t=this.keyboardEventTarget_;else{const i=e.getRootNode();t=i instanceof ShadowRoot?i.host:e}this.targetChangeHandlerKeys_=[ri(t,ze,this.handleBrowserEvent,this),ri(t,Ne,this.handleBrowserEvent,this)];const i=e.getRootNode();i instanceof ShadowRoot&&this.resizeObserver_.observe(i.host),this.resizeObserver_.observe(e)}else this.renderer_&&(clearTimeout(this.postRenderTimeoutHandle_),this.postRenderTimeoutHandle_=void 0,this.postRenderFunctions_.length=0,this.renderer_.dispose(),this.renderer_=null),this.animationDelayKey_&&(cancelAnimationFrame(this.animationDelayKey_),this.animationDelayKey_=void 0);this.updateSize()}handleTileChange_(){this.render()}handleViewPropertyChanged_(){this.render()}handleViewChanged_(){this.viewPropertyListenerKey_&&(oi(this.viewPropertyListenerKey_),this.viewPropertyListenerKey_=null),this.viewChangeListenerKey_&&(oi(this.viewChangeListenerKey_),this.viewChangeListenerKey_=null);const t=this.getView();t&&(this.updateViewportSize_(this.getSize()),this.viewPropertyListenerKey_=ri(t,Re,this.handleViewPropertyChanged_,this),this.viewChangeListenerKey_=ri(t,Le,this.handleViewPropertyChanged_,this),t.resolveConstraints(0)),this.render()}handleLayerGroupChanged_(){this.layerGroupPropertyListenerKeys_&&(this.layerGroupPropertyListenerKeys_.forEach(oi),this.layerGroupPropertyListenerKeys_=null);const t=this.getLayerGroup();t&&(this.handleLayerAdd_(new Ua("addlayer",t)),this.layerGroupPropertyListenerKeys_=[ri(t,Re,this.render,this),ri(t,Le,this.render,this),ri(t,"addlayer",this.handleLayerAdd_,this),ri(t,"removelayer",this.handleLayerRemove_,this)]),this.render()}isRendered(){return!!this.frameState_}animationDelay_(){this.animationDelayKey_=void 0,this.renderFrame_(Date.now())}renderSync(){this.animationDelayKey_&&cancelAnimationFrame(this.animationDelayKey_),this.animationDelay_()}redrawText(){if(!this.frameState_)return;const t=this.frameState_.layerStatesArray;for(let e=0,i=t.length;e<i;++e){const i=t[e].layer;i.hasRenderer()&&i.getRenderer().handleFontsChanged()}}render(){this.renderer_&&void 0===this.animationDelayKey_&&(this.animationDelayKey_=requestAnimationFrame(this.animationDelay_))}removeControl(t){return this.getControls().remove(t)}removeInteraction(t){return this.getInteractions().remove(t)}removeLayer(t){return this.getLayerGroup().getLayers().remove(t)}handleLayerRemove_(t){jd(t.layer)}removeOverlay(t){return this.getOverlays().remove(t)}renderFrame_(t){const e=this.getSize(),i=this.getView(),n=this.frameState_;let r=null;if(void 0!==e&&Bl(e)&&i&&i.isDef()){const n=i.getHints(this.frameState_?this.frameState_.viewHints:void 0),s=i.getState();if(r={animate:!1,coordinateToPixelTransform:this.coordinateToPixelTransform_,declutter:null,extent:jn(s.center,s.resolution,s.rotation,e),index:this.frameIndex_++,layerIndex:0,layerStatesArray:this.getLayerGroup().getLayerStatesArray(),pixelRatio:this.pixelRatio_,pixelToCoordinateTransform:this.pixelToCoordinateTransform_,postRenderFunctions:[],size:e,tileQueue:this.tileQueue_,time:t,usedTiles:{},viewState:s,viewHints:n,wantedTiles:{},mapId:di(this),renderTargets:{}},s.nextCenter&&s.nextResolution){const t=isNaN(s.nextRotation)?s.rotation:s.nextRotation;r.nextExtent=jn(s.nextCenter,s.nextResolution,t,e)}}if(this.frameState_=r,this.renderer_.renderFrame(r),r){if(r.animate&&this.render(),Array.prototype.push.apply(this.postRenderFunctions_,r.postRenderFunctions),n){(!this.previousExtent_||!$n(this.previousExtent_)&&!In(r.extent,this.previousExtent_))&&(this.dispatchEvent(new _i(Ri,this,n)),this.previousExtent_=An(this.previousExtent_))}this.previousExtent_&&!r.viewHints[$i]&&!r.viewHints[Vi]&&!In(r.extent,this.previousExtent_)&&(this.dispatchEvent(new _i(Li,this,r)),yn(r.extent,this.previousExtent_))}this.dispatchEvent(new _i(Ii,this,r)),this.renderComplete_=(this.hasListener(Pi)||this.hasListener(
2Di)||this.hasListener(Ja))&&!this.tileQueue_.getTilesLoading()&&!this.tileQueue_.getCount()&&!this.getLoadingOrNotReady(),this.postRenderTimeoutHandle_||(this.postRenderTimeoutHandle_=setTimeout(()=>{this.postRenderTimeoutHandle_=void 0,this.handlePostRender()},0))}setLayerGroup(t){const e=this.getLayerGroup();e&&this.handleLayerRemove_(new Ua("removelayer",e)),this.set(Oi,t)}setSize(t){this.set(Fi,t)}setTarget(t){this.set(zi,t)}setView(t){if(!t||t instanceof Lo)return void this.set(Ni,t);this.set(Ni,new Lo);const e=this;t.then(function(t){e.setView(new Lo(t))})}updateSize(){const t=this.getTargetElement();let e;if(t){const i=getComputedStyle(t),n=t.offsetWidth-parseFloat(i.borderLeftWidth)-parseFloat(i.paddingLeft)-parseFloat(i.paddingRight)-parseFloat(i.borderRightWidth),r=t.offsetHeight-parseFloat(i.borderTopWidth)-parseFloat(i.paddingTop)-parseFloat(i.paddingBottom)-parseFloat(i.borderBottomWidth);isNaN(n)||isNaN(r)||(e=[Math.max(0,n),Math.max(0,r)],!Bl(e)&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)&&ar("No map visible because the map container's width or height are 0."))}const i=this.getSize();!e||i&&$e(e,i)||(this.setSize(e),this.updateViewportSize_(e))}updateViewportSize_(t){const e=this.getView();e&&e.setViewportSize(t)}};class Yd extends pi{constructor(t){if(super(),this.on,this.once,this.un,this.id_=void 0,this.geometryName_="geometry",this.style_=null,this.styleFunction_=void 0,this.geometryChangeKey_=null,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),t)if("function"==typeof t.getSimplifiedGeometry){const e=t;this.setGeometry(e)}else{const e=t;this.setProperties(e)}}clone(){const t=new Yd(this.hasProperties()?this.getProperties():null);t.setGeometryName(this.getGeometryName());const e=this.getGeometry();e&&t.setGeometry(e.clone());const i=this.getStyle();return i&&t.setStyle(i),t}getGeometry(){return this.get(this.geometryName_)}getId(){return this.id_}getGeometryName(){return this.geometryName_}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}handleGeometryChange_(){this.changed()}handleGeometryChanged_(){this.geometryChangeKey_&&(oi(this.geometryChangeKey_),this.geometryChangeKey_=null);const t=this.getGeometry();t&&(this.geometryChangeKey_=ri(t,Le,this.handleGeometryChange_,this)),this.changed()}setGeometry(t){this.set(this.geometryName_,t)}setStyle(t){this.style_=t,this.styleFunction_=t?function(t){if("function"==typeof t)return t;let e;if(Array.isArray(t))e=t;else{Ui("function"==typeof t.getZIndex,"Expected an `ol/style/Style` or an array of `ol/style/Style.js`");e=[t]}return function(){return e}}(t):void 0,this.changed()}setId(t){this.id_=t,this.changed()}setGeometryName(t){this.removeChangeListener(this.geometryName_,this.handleGeometryChanged_),this.geometryName_=t,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),this.handleGeometryChanged_()}}const Ud=Yd;const Xd=class extends ni{constructor(t,e,i){super(),i=i||{},this.tileCoord=t,this.state=e,this.key="",this.transition_=void 0===i.transition?250:i.transition,this.transitionStarts_={},this.interpolate=!!i.interpolate}changed(){this.dispatchEvent(Le)}release(){this.setState(Yi)}getKey(){return this.key+"/"+this.tileCoord}getTileCoord(){return this.tileCoord}getState(){return this.state}setState(t){if(this.state!==Yi){if(this.state!==Wi&&this.state>t)throw new Error("Tile load sequence violation");this.state=t,this.changed()}}load(){ci()}getAlpha(t,e){if(!this.transition_)return 1;let i=this.transitionStarts_[t];if(i){if(-1===i)return 1}else i=e,this.transitionStarts_[t]=i;const n=e-i+1e3/60;return n>=this.transition_?1:er(n/this.transition_)}inTransition(t){return!!this.transition_&&-1!==this.transitionStarts_[t]}endTransition(t){this.transition_&&(this.transitionStarts_[t]=-1)}disposeInternal(){this.release(),super.disposeInternal()}};function qd(t){return t instanceof Image||t instanceof HTMLCanvasElement||t instanceof HTMLVideoElement||t instanceof ImageBitmap?t:null}const Hd=new Error("disposed");const $d=[256,256];const Vd=class extends Xd{constructor(t){const e=Bi;super(t.tileCoord,e,{transition:t.transition,interpolate:t.interpolate}),this.loader_=t.loader,this.data_=null,this.error_=null,this.size_=t.size||null,this.controller_=t.controller||null}getSize(){if(this.size_)return this.size_;const t=qd(this.data_);return t?[t.width,t.height]:$d}getData(){return this.data_}getError(){return this.error_}load(){if(this.state!==Bi&&this.state!==Wi)return;this.state=ji,this.changed();const t=this;this.loader_().then(function(e){t.data_=e,t.state=Gi,t.changed()}).catch(function(e){t.error_=e,t.state=Wi,t.changed()})}disposeInternal(){this.controller_&&(this.controller_.abort(Hd),this.controller_=null),super.disposeInternal()}};const Kd=class extends Xd{constructor(t,e,i,n,r,s){super(t,e,s),this.crossOrigin_=n,this.src_=i,this.key=i,this.image_=new Image,null!==n&&(this.image_.crossOrigin=n),this.unlisten_=null,this.tileLoadFunction_=r}getImage(){return this.image_}setImage(t){this.image_=t,this.state=Gi,this.unlistenImage_(),this.changed()}handleImageError_(){this.state=Wi,this.unlistenImage_(),this.image_=function(){const t=Go(1,1);return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas}(),this.changed()}handleImageLoad_(){const t=this.image_;
vendor: 14,701 bytes, line 2
2t.naturalWidth&&t.naturalHeight?this.state=Gi:this.state=Yi,this.unlistenImage_(),this.changed()}load(){this.state==Wi&&(this.state=Bi,this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==Bi&&(this.state=ji,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=function(t,e,i){const n=t;let r=!0,s=!1,o=!1;const a=[si(n,Be,function(){o=!0,s||e()})];return n.src&&Ci?(s=!0,n.decode().then(function(){r&&e()}).catch(function(t){r&&(o?e():i())})):a.push(si(n,Pe,i)),function(){r=!1,a.forEach(oi)}}(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}disposeInternal(){this.unlistenImage_(),this.image_=null,super.disposeInternal()}};class Zd{constructor(t,e,i,n){this.minX=t,this.maxX=e,this.minY=i,this.maxY=n}contains(t){return this.containsXY(t[1],t[2])}containsTileRange(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY}containsXY(t,e){return this.minX<=t&&t<=this.maxX&&this.minY<=e&&e<=this.maxY}equals(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY}extend(t){t.minX<this.minX&&(this.minX=t.minX),t.maxX>this.maxX&&(this.maxX=t.maxX),t.minY<this.minY&&(this.minY=t.minY),t.maxY>this.maxY&&(this.maxY=t.maxY)}getHeight(){return this.maxY-this.minY+1}getSize(){return[this.getWidth(),this.getHeight()]}getWidth(){return this.maxX-this.minX+1}intersects(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY}}function Jd(t,e,i,n,r){return void 0!==r?(r.minX=t,r.maxX=e,r.minY=i,r.maxY=n,r):new Zd(t,e,i,n)}const Qd=Zd;let tu;const eu=[];function iu(t,e,i,n,r){t.beginPath(),t.moveTo(0,0),t.lineTo(e,i),t.lineTo(n,r),t.closePath(),t.save(),t.clip(),t.fillRect(0,0,Math.max(e,n)+1,Math.max(i,r)),t.restore()}function nu(t,e){return Math.abs(t[4*e]-210)>2||Math.abs(t[4*e+3]-191.25)>2}function ru(t,e,i,n){const r=ms(i,e,t);let s=as(e,n,i);const o=e.getMetersPerUnit();void 0!==o&&(s*=o);const a=t.getMetersPerUnit();void 0!==a&&(s/=a);const l=t.getExtent();if(!l||xn(l,r)){const e=as(t,s,r)/s;isFinite(e)&&e>0&&(s/=e)}return s}function su(t,e,i,n,r,s,o,a,l,c,h,d,u,p){const f=Go(Math.round(i*t),Math.round(i*e),eu);if(d||(f.imageSmoothingEnabled=!1),0===l.length)return f.canvas;function g(t){return Math.round(t*i)/i}f.scale(i,i),f.globalCompositeOperation="lighter";const m=[1/0,1/0,-1/0,-1/0];let _;l.forEach(function(t,e,i){var n,r;n=m,(r=t.extent)[0]<n[0]&&(n[0]=r[0]),r[2]>n[2]&&(n[2]=r[2]),r[1]<n[1]&&(n[1]=r[1]),r[3]>n[3]&&(n[3]=r[3])});const v=i/n,y=(d?1:1+Math.pow(2,-24))/v;if(!u||1!==l.length||0!==c){if(_=Go(Math.round(qn(m)*v),Math.round(Wn(m)*v),eu),d||(_.imageSmoothingEnabled=!1),r&&p){const t=(r[0]-m[0])*v,e=-(r[3]-m[3])*v,i=qn(r)*v,n=Wn(r)*v;_.rect(t,e,i,n),_.clip()}l.forEach(function(t,e,i){if(t.image.width>0&&t.image.height>0){if(t.clipExtent){_.save();const e=(t.clipExtent[0]-m[0])*v,i=-(t.clipExtent[3]-m[3])*v,n=qn(t.clipExtent)*v,r=Wn(t.clipExtent)*v;_.rect(d?e:Math.round(e),d?i:Math.round(i),d?n:Math.round(e+n)-Math.round(e),d?r:Math.round(i+r)-Math.round(i)),_.clip()}const e=(t.extent[0]-m[0])*v,i=-(t.extent[3]-m[3])*v,n=qn(t.extent)*v,r=Wn(t.extent)*v;_.drawImage(t.image,c,c,t.image.width-2*c,t.image.height-2*c,d?e:Math.round(e),d?i:Math.round(i),d?n:Math.round(e+n)-Math.round(e),d?r:Math.round(i+r)-Math.round(i)),t.clipExtent&&_.restore()}})}const w=Un(o);return a.getTriangles().forEach(function(t,e,i){const n=t.source,r=t.target;let o=n[0][0],a=n[0][1],c=n[1][0],h=n[1][1],u=n[2][0],p=n[2][1];const v=g((r[0][0]-w[0])/s),x=g(-(r[0][1]-w[1])/s),b=g((r[1][0]-w[0])/s),E=g(-(r[1][1]-w[1])/s),S=g((r[2][0]-w[0])/s),C=g(-(r[2][1]-w[1])/s),T=o,A=a;o=0,a=0,c-=T,h-=A,u-=T,p-=A;const k=function(t){const e=t.length;for(let i=0;i<e;i++){let n=i,r=Math.abs(t[i][i]);for(let s=i+1;s<e;s++){const e=Math.abs(t[s][i]);e>r&&(r=e,n=s)}if(0===r)return null;const s=t[n];t[n]=t[i],t[i]=s;for(let n=i+1;n<e;n++){const r=-t[n][i]/t[i][i];for(let s=i;s<e+1;s++)i==s?t[n][s]=0:t[n][s]+=r*t[i][s]}}const i=new Array(e);for(let n=e-1;n>=0;n--){i[n]=t[n][e]/t[n][n];for(let r=n-1;r>=0;r--)t[r][e]-=t[r][n]*i[n]}return i}([[c,h,0,0,b-v],[u,p,0,0,S-v],[0,0,c,h,E-x],[0,0,u,p,C-x]]);if(!k)return;if(f.save(),f.beginPath(),function(){if(void 0===tu){const t=Go(6,6,eu);t.globalCompositeOperation="lighter",t.fillStyle="rgba(210, 0, 0, 0.75)",iu(t,4,5,4,0),iu(t,4,5,0,5);const e=t.getImageData(0,0,3,3).data;tu=nu(e,0)||nu(e,4)||nu(e,8),Uo(t),eu.push(t.canvas)}return tu}()||!d){f.moveTo(b,E);const t=4,e=v-b,i=x-E;for(let n=0;n<t;n++)f.lineTo(b+g((n+1)*e/t),E+g(n*i/(t-1))),n!=t-1&&f.lineTo(b+g((n+1)*e/t),E+g((n+1)*i/(t-1)));f.lineTo(S,C)}else f.moveTo(b,E),f.lineTo(v,x),f.lineTo(S,C);let M;if(f.clip(),f.transform(k[0],k[2],k[1],k[3],v,x),f.translate(m[0]-T,m[3]-A),_)M=_.canvas,f.scale(y,-y);else{const t=l[0],e=t.extent;M=t.image,f.scale(qn(e)/M.width,-Wn(e)/M.height)}f.drawImage(M,0,0),f.restore()}),_&&(Uo(_),eu.push(_.canvas)),h&&(f.save(),f.globalCompositeOperation="source-over",f.strokeStyle="black",f.lineWidth=1,a.getTriangles().forEach(function(t,e,i){const n=t.target,r=(n[0][0]-w[0])/s,o=-(n[0][1]-w[1])/s,a=(n[1][0]-w[0])/s,l=-(n[1][1]-w[1])/s,c=(n[2][0]-w[0])/s,h=-(n[2][1]-w[1])/s;f.beginPath(),f.moveTo(a,l),f.lineTo(r,o),f.lineTo(c,h),f.closePath(),f.stroke()}),f.restore()),f.canvas}const ou=class{constructor(t,e,i,n,r,s,o){this.sourceProj_=t,this.targetProj_=e;let a={};const l=o?hs(t=>ks(o,ms(t,this.targetProj_,this.sourceProj_))):gs(this.targetProj_,this.sourceProj_);this.transformInv_=function(t){const e=t[0]+"/"+t[1];return a[e]||(a[e]=l(t)),a[e]},this.maxSourceExtent_=n,this.errorThresholdSquared_=r*r,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!n&&!!this.sourceProj_.getExtent()&&qn(n)>=qn(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?qn(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?qn(this.targetProj_.getExtent()):null;const c=Un(i),h=Xn(i),d=zn(i),u=Fn(i),p=this.transformInv_(c),f=this.transformInv_(h),g=this.transformInv_(d),m=this.transformInv_(u),_=10+(s?Math.max(0,Math.ceil(Math.log2(On(i)/(s*s*256*256)))):0);if(this.addQuad_(c,h,d,u,p,f,g,m,_),this.wrapsXInSource_){let t=1/0;this.triangles_.forEach(function(e,i,n){t=Math.min(t,e.source[0][0],e.source[1][0],e.source[2][0])}),this.triangles_.forEach(e=>{if(Math.max(e.source[0][0],e.source[1][0],e.source[2][0])-t>this.sourceWorldWidth_/2){const i=[[e.source[0][0],e.source[0][1]],[e.source[1][0],e.source[1][1]],[e.source[2][0],e.source[2][1]]];i[0][0]-t>this.sourceWorldWidth_/2&&(i[0][0]-=this.sourceWorldWidth_),i[1][0]-t>this.sourceWorldWidth_/2&&(i[1][0]-=this.sourceWorldWidth_),i[2][0]-t>this.sourceWorldWidth_/2&&(i[2][0]-=this.sourceWorldWidth_);const n=Math.min(i[0][0],i[1][0],i[2][0]);Math.max(i[0][0],i[1][0],i[2][0])-n<this.sourceWorldWidth_/2&&(e.source=i)}})}a={}}addTriangle_(t,e,i,n,r,s){this.triangles_.push({source:[n,r,s],target:[t,e,i]})}addQuad_(t,e,i,n,r,s,o,a,l){const c=_n([r,s,o,a]),h=this.sourceWorldWidth_?qn(c)/this.sourceWorldWidth_:null,d=this.sourceWorldWidth_,u=this.sourceProj_.canWrapX()&&h>.5&&h<1;let p=!1;if(l>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){p=qn(_n([t,e,i,n]))/this.targetWorldWidth_>.25||p}!u&&this.sourceProj_.isGlobal()&&h&&(p=h>.25||p)}if(!p&&this.maxSourceExtent_&&isFinite(c[0])&&isFinite(c[1])&&isFinite(c[2])&&isFinite(c[3])&&!Hn(c,this.maxSourceExtent_))return;let f=0;if(!(p||isFinite(r[0])&&isFinite(r[1])&&isFinite(s[0])&&isFinite(s[1])&&isFinite(o[0])&&isFinite(o[1])&&isFinite(a[0])&&isFinite(a[1])))if(l>0)p=!0;else if(f=(isFinite(r[0])&&isFinite(r[1])?0:8)+(isFinite(s[0])&&isFinite(s[1])?0:4)+(isFinite(o[0])&&isFinite(o[1])?0:2)+(isFinite(a[0])&&isFinite(a[1])?0:1),1!=f&&2!=f&&4!=f&&8!=f)return;if(l>0){if(!p){const e=[(t[0]+i[0])/2,(t[1]+i[1])/2],n=this.transformInv_(e);let s;if(u){s=(nn(r[0],d)+nn(o[0],d))/2-nn(n[0],d)}else s=(r[0]+o[0])/2-n[0];const a=(r[1]+o[1])/2-n[1];p=s*s+a*a>this.errorThresholdSquared_}if(p){if(Math.abs(t[0]-i[0])<=Math.abs(t[1]-i[1])){const c=[(e[0]+i[0])/2,(e[1]+i[1])/2],h=this.transformInv_(c),d=[(n[0]+t[0])/2,(n[1]+t[1])/2],u=this.transformInv_(d);this.addQuad_(t,e,c,d,r,s,h,u,l-1),this.addQuad_(d,c,i,n,u,h,o,a,l-1)}else{const c=[(t[0]+e[0])/2,(t[1]+e[1])/2],h=this.transformInv_(c),d=[(i[0]+n[0])/2,(i[1]+n[1])/2],u=this.transformInv_(d);this.addQuad_(t,c,d,n,r,h,u,a,l-1),this.addQuad_(c,e,i,d,h,s,o,u,l-1)}return}}if(u){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}11&f||this.addTriangle_(t,i,n,r,o,a),14&f||this.addTriangle_(t,i,e,r,o,s),f&&(13&f||this.addTriangle_(e,n,t,s,a,r),7&f||this.addTriangle_(e,n,i,s,a,o))}calculateSourceExtent(){const t=[1/0,1/0,-1/0,-1/0];return this.triangles_.forEach(function(e,i,n){const r=e.source;Rn(t,r[0]),Rn(t,r[1]),Rn(t,r[2])}),t}getTriangles(){return this.triangles_}};const au=class extends Xd{constructor(t,e,i,n,r,s,o,a,l,c,h,d){super(r,Bi,d),this.renderEdges_=void 0!==h&&h,this.pixelRatio_=o,this.gutter_=a,this.canvas_=null,this.sourceTileGrid_=e,this.targetTileGrid_=n,this.wrappedTileCoord_=s||r,this.sourceTiles_=[],this.sourcesListenerKeys_=null,this.sourceZ_=0,this.clipExtent_=t.canWrapX()?t.getExtent():void 0;const u=n.getTileCoordExtent(this.wrappedTileCoord_),p=this.targetTileGrid_.getExtent();let f=this.sourceTileGrid_.getExtent();const g=p?Yn(u,p):u;if(0===On(g))return void(this.state=Yi);const m=t.getExtent();m&&(f=f?Yn(f,m):m);const _=n.getResolution(this.wrappedTileCoord_[0]),v=function(t,e,i,n){const r=Nn(i);let s=ru(t,e,r,n);return(!isFinite(s)||s<=0)&&Dn(i,function(i){return s=ru(t,e,i,n),isFinite(s)&&s>0}),s}(t,i,g,_);if(!isFinite(v)||v<=0)return void(this.state=Yi);const y=void 0!==c?c:.5;if(this.triangulation_=new ou(t,i,g,f,v*y,_),0===this.triangulation_.getTriangles().length)return void(this.state=Yi);this.sourceZ_=e.getZForResolution(v);let w=this.triangulation_.calculateSourceExtent();if(f&&(t.canWrapX()?(w[1]=Zi(w[1],f[1],f[3]),w[3]=Zi(w[3],f[1],f[3])):w=Yn(w,f)),On(w)){let i=0,n=0;t.canWrapX()&&(i=qn(m),n=Math.floor((w[0]-m[0])/i));Zn(w.slice(),t,!0).forEach(t=>{const r=e.getTileRangeForExtentAndZ(t,this.sourceZ_);for(let t=r.minX;t<=r.maxX;t++)for(let e=r.minY;e<=r.maxY;e++){const r=l(this.sourceZ_,t,e,o);if(r){const t=n*i;this.sourceTiles_.push({tile:r,offset:t})}}++n}),0===this.sourceTiles_.length&&(this.state=Yi)}else this.state=Yi}getImage(){return this.canvas_}reproject_(){const t=[];if(this.sourceTiles_.forEach(e=>{const i=e.tile;if(i&&i.getState()==Gi){const n=this.sourceTileGrid_.getTileCoordExtent(i.tileCoord);n[0]+=e.offset,n[2]+=e.offset;const r=this.clipExtent_?.slice();r&&(r[0]+=e.offset,r[2]+=e.offset),t.push({extent:n,clipExtent:r,image:i.getImage()})}}),this.sourceTiles_.length=0,0===t.length)this.state=Wi;else{const e=this.wrappedTileCoord_[0],i=this.targetTileGrid_.getTileSize(e),n="number"==typeof i?i:i[0],r="number"==typeof i?i:i[1],s=this.targetTileGrid_.getResolution(e),o=this.sourceTileGrid_.getResolution(this.sourceZ_),a=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=su(n,r,this.pixelRatio_,o,this.sourceTileGrid_.getExtent(),s,a,this.triangulation_,t,this.gutter_,this.renderEdges_,this.interpolate),this.state=Gi}this.changed()}load(){if(this.state==Bi){this.state=ji,this.changed();let t=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(({tile:e})=>{const i=e.getState();if(i==Bi||i==ji){t++;const i=ri(e,Le,n=>{const r=e.getState();r!=Gi&&r!=Wi&&r!=Yi||(oi(i),t--,0===t&&(this.unlistenSources_(),this.reproject_()))});this.sourcesListenerKeys_.push(i)}}),0===t?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach(function({tile:t},e,i){t.getState()==Bi&&t.load()})}}unlistenSources_(){this.sourcesListenerKeys_.forEach(oi),this.sourcesListenerKeys_=null}release(){this.canvas_&&(Uo(this.canvas_.getContext("2d")),eu.push(this.canvas_),this.canvas_=null),super.release()}};const lu=class{constructor(t){this.highWaterMark=void 0!==t?t:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}deleteOldest(){const t=this.pop();t instanceof We&&t.dispose()}canExpireCache(){return this.highWaterMark>0&&this.getCount()>this.highWaterMark}expireCache(t){for(;this.canExpireCache();)this.deleteOldest()}clear(){for(;this.oldest_;)this.deleteOldest()}containsKey(t){return this.entries_.hasOwnProperty(t)}forEach(t){let e=this.oldest_;for(;e;)t(e.value_,e.key_,this),e=e.newer}get(t,e){const i=this.entries_[t];return Ui(void 0!==i,"Tried to get a value for a key that does not exist in the cache"),i===this.newest_||(i===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(i.newer.older=i.older,i.older.newer=i.newer),i.newer=null,i.older=this.newest_,this.newest_.newer=i,this.newest_=i),i.value_}remove(t){const e=this.entries_[t];return Ui(void 0!==e,"Tried to get a value for a key that does not exist in the cache"),e===this.newest_?(this.newest_=e.older,this.newest_&&(this.newest_.newer=null)):e===this.oldest_?(this.oldest_=e.newer,this.oldest_&&(this.oldest_.older=null)):(e.newer.older=e.older,e.older.newer=e.newer),delete this.entries_[t],--this.count_,e.value_}getCount(){return this.count_}getKeys(){const t=new Array(this.count_);let e,i=0;for(e=this.newest_;e;e=e.older)t[i++]=e.key_;return t}getValues(){const t=new Array(this.count_);let e,i=0;for(e=this.newest_;e;e=e.older)t[i++]=e.value_;return t}peekLast(){return this.oldest_.value_}peekLastKey(){return this.oldest_.key_}peekFirstKey(){return this.newest_.key_}peek(t){return this.entries_[t]?.value_}pop(){const t=this.oldest_;return delete this.entries_[t.key_],t.newer&&(t.newer.older=null),this.oldest_=t.newer,this.oldest_||(this.newest_=null),--this.count_,t.value_}replace(t,e){this.get(t),this.entries_[t].value_=e}set(t,e){Ui(!(t in this.entries_),"Tried to set a value for a key that is used already");const i={key_:t,newer:null,older:this.newest_,value_:e};this.newest_?this.newest_.newer=i:this.oldest_=i,this.newest_=i,this.entries_[t]=i,++this.count_}setSize(t){this.highWaterMark=t}};function cu(t,e,i,n){return void 0!==n?(n[0]=t,n[1]=e,n[2]=i,n):[t,e,i]}function hu(t,e,i){return t+"/"+e+"/"+i}const du=class{constructor(){this.instructions_=[],this.zIndex=0,this.offset_=0,this.context_=new Proxy(Yo(),{get:(t,e)=>{if("function"==typeof Yo()[e])return this.push_(e),this.pushMethodArgs_},set:(t,e,i)=>(this.push_(e,i),!0)})}push_(...t){const e=this.instructions_,i=this.zIndex+this.offset_;e[i]||(e[i]=[]),e[i].push(...t)}pushMethodArgs_=(...t)=>(this.push_(t),this);pushFunction(t){this.push_(t)}getContext(){return this.context_}
2draw(t){this.instructions_.forEach(e=>{for(let i=0,n=e.length;i<n;++i){const n=e[i];if("function"==typeof n){n(t);continue}const r=e[++i];if("function"==typeof t[n])t[n](...r);else{if("function"==typeof r){t[n]=r(t);continue}t[n]=r}}})}clear(){this.instructions_.length=0,this.zIndex=0,this.offset_=0}offset(){this.offset_=this.instructions_.length,this.zIndex=0}};const uu=class extends li{constructor(t){super(),this.ready=!0,this.boundHandleImageChange_=this.handleImageChange_.bind(this),this.layer_=t,this.staleKeys_=new Array,this.maxStaleKeys=5}getStaleKeys(){return this.staleKeys_}prependStaleKey(t){this.staleKeys_.unshift(t),this.staleKeys_.length>this.maxStaleKeys&&(this.staleKeys_.length=this.maxStaleKeys)}getFeatures(t){return ci()}getData(t){return null}prepareFrame(t){return ci()}renderFrame(t,e){return ci()}forEachFeatureAtCoordinate(t,e,i,n,r){}getLayer(){return this.layer_}handleFontsChanged(){}handleImageChange_(t){const e=t.target;e.getState()!==ph&&e.getState()!==fh||this.renderIfReadyAndVisible()}loadImage(t){let e=t.getState();return e!=ph&&e!=fh&&t.addEventListener(Le,this.boundHandleImageChange_),e==dh&&(t.load(),e=t.getState()),e==ph}renderIfReadyAndVisible(){const t=this.getLayer();t&&t.getVisible()&&"ready"===t.getSourceState()&&t.changed()}renderDeferred(t){}disposeInternal(){delete this.layer_,super.disposeInternal()}},pu=[];let fu=null;const gu=class extends uu{constructor(t){super(t),this.container=null,this.renderedResolution,this.tempTransform=[1,0,0,1,0,0],this.pixelTransform=[1,0,0,1,0,0],this.inversePixelTransform=[1,0,0,1,0,0],this.context=null,this.deferredContext_=null,this.containerReused=!1,this.frameState=null}getImageData(t,e,i){let n;fu||(fu=Go(1,1,void 0,{willReadFrequently:!0})),fu.clearRect(0,0,1,1);try{fu.drawImage(t,e,i,1,1,0,0,1,1),n=fu.getImageData(0,0,1,1).data}catch{return fu=null,null}return n}getBackground(t){let e=this.getLayer().getBackground();return"function"==typeof e&&(e=e(t.viewState.resolution)),e||void 0}useContainer(t,e,i){const n=this.getLayer().getClassName();let r,s;if(t&&t.className===n&&(!i||t&&t.style.backgroundColor&&$e(zl(t.style.backgroundColor),zl(i)))){const e=t.firstElementChild;e instanceof HTMLCanvasElement&&(s=e.getContext("2d"))}if(s&&function(t,e){const i=Ps(t),n=Ps(e);for(let t=0;t<6;++t)if(0!==Math.round((i[t]-n[t])*Rs[t]))return!1;return!0}(s.canvas.style.transform,e)?(this.container=t,this.context=s,this.containerReused=!0):this.containerReused?(this.container=null,this.context=null,this.containerReused=!1):this.container&&(this.container.style.backgroundColor=null),!this.container){r=document.createElement("div"),r.className=n;let t=r.style;t.position="absolute",t.width="100%",t.height="100%",s=Go();const e=s.canvas;r.appendChild(e),t=e.style,t.position="absolute",t.left="0",t.transformOrigin="top left",this.container=r,this.context=s}this.containerReused||!i||this.container.style.backgroundColor||(this.container.style.backgroundColor=i)}clipUnrotated(t,e,i){const n=Un(i),r=Xn(i),s=zn(i),o=Fn(i);ks(e.coordinateToPixelTransform,n),ks(e.coordinateToPixelTransform,r),ks(e.coordinateToPixelTransform,s),ks(e.coordinateToPixelTransform,o);const a=this.inversePixelTransform;ks(a,n),ks(a,r),ks(a,s),ks(a,o),t.save(),t.beginPath(),t.moveTo(Math.round(n[0]),Math.round(n[1])),t.lineTo(Math.round(r[0]),Math.round(r[1])
2),t.lineTo(Math.round(s[0]),Math.round(s[1])),t.lineTo(Math.round(o[0]),Math.round(o[1])),t.clip()}prepareContainer(t,e){const i=t.extent,n=t.viewState.resolution,r=t.viewState.rotation,s=t.pixelRatio,o=Math.round(qn(i)/n*s),a=Math.round(Wn(i)/n*s);Ms(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/s,1/s,r,-o/2,-a/2),Is(this.inversePixelTransform,this.pixelTransform);const l=Ls(this.pixelTransform);if(this.useContainer(e,l,this.getBackground(t)),!this.containerReused){const t=this.context.canvas;t.width!=o||t.height!=a?(t.width=o,t.height=a):this.context.clearRect(0,0,o,a),l!==t.style.transform&&(t.style.transform=l)}}dispatchRenderEvent_(t,e,i){const n=this.getLayer();if(n.hasListener(t)){const r=new Fd(t,this.inversePixelTransform,i,e);n.dispatchEvent(r)}}preRender(t,e){this.frameState=e,e.declutter||this.dispatchRenderEvent_($a,t,e)}postRender(t,e){e.declutter||this.dispatchRenderEvent_(Va,t,e)}renderDeferredInternal(t){}getRenderContext(t){return t.declutter&&!this.deferredContext_&&(this.deferredContext_=new du),t.declutter?this.deferredContext_.getContext():this.context}renderDeferred(t){t.declutter&&(this.dispatchRenderEvent_($a,this.context,t),t.declutter&&this.deferredContext_&&(this.deferredContext_.draw(this.context),this.deferredContext_.clear()),this.renderDeferredInternal(t),this.dispatchRenderEvent_(Va,this.context,t))}getRenderTransform(t,e,i,n,r,s,o){const a=r/2,l=s/2,c=n/e,h=-c,d=-t[0]+o,u=-t[1];return Ms(this.tempTransform,a,l,c,h,-i,d,u)}disposeInternal(){delete this.frameState,super.disposeInternal()}};function mu(t,e,i,n,r){return`${di(t)},${e},${hu(i,n,r)}`}function _u(t,e,i){if(!(i in t))return t[i]=new Set([e]),!0;const n=t[i],r=n.has(e);
vendor: 4,334 bytes, line 2
2return r||n.add(e),!r}function vu(t,e,i){const n=t[i];return!!n&&n.delete(e)}function yu(t,e){const i=t.layerStatesArray[t.layerIndex];i.extent&&(e=Yn(e,Es(i.extent,t.viewState.projection)));const n=i.layer.getRenderSource();if(!n.getWrapX()){const i=n.getTileGridForProjection(t.viewState.projection).getExtent();i&&(e=Yn(e,i))}return e}const wu=class extends gu{constructor(t,e){super(t),e=e||{},this.extentChanged=!0,this.renderComplete=!1,this.renderedExtent_=null,this.renderedPixelRatio,this.renderedProjection=null,this.renderedTiles=[],this.renderedSourceKey_,this.renderedSourceRevision_,this.tempExtent=[1/0,1/0,-1/0,-1/0],this.tempTileRange_=new Qd(0,0,0,0),this.tempTileCoord_=cu(0,0,0);const i=void 0!==e.cacheSize?e.cacheSize:512;this.tileCache_=new lu(i),this.maxStaleKeys=.5*i}getTileCache(){return this.tileCache_}getOrCreateTile(t,e,i,n){const r=this.tileCache_,s=this.getLayer().getSource(),o=mu(s,s.getKey(),t,e,i);let a;if(r.containsKey(o))a=r.get(o);else{if(a=s.getTile(t,e,i,n.pixelRatio,n.viewState.projection),!a)return null;r.set(o,a)}return a}getTile(t,e,i,n){const r=this.getOrCreateTile(t,e,i,n);return r||null}getData(t){const e=this.frameState;if(!e)return null;const i=this.getLayer(),n=ks(e.pixelToCoordinateTransform,t.slice()),r=i.getExtent();if(r&&!xn(r,n))return null;const s=e.viewState,o=i.getRenderSource(),a=o.getTileGridForProjection(s.projection),l=o.getTilePixelRatio(e.pixelRatio);for(let t=a.getZForResolution(s.resolution);t>=a.getMinZoom();--t){const i=a.getTileCoordForCoordAndZ(n,t),r=this.getTile(t,i[1],i[2],e);if(!r||r.getState()!==Gi)continue;const c=a.getOrigin(t),h=jl(a.getTileSize(t)),d=a.getResolution(t);let u;if(r instanceof Kd||r instanceof au)u=r.getImage();else{if(!(r instanceof Vd))continue;if(u=qd(r.getData()),!u)continue}const p=Math.floor(l*((n[0]-c[0])/d-i[1]*h[0])),f=Math.floor(l*((c[1]-n[1])/d-i[2]*h[1])),g=Math.round(l*o.getGutterForProjection(s.projection));return this.getImageData(u,p+g,f+g)}return null}prepareFrame(t){this.renderedProjection?t.viewState.projection!==this.renderedProjection&&(this.tileCache_.clear(),this.renderedProjection=t.viewState.projection):this.renderedProjection=t.viewState.projection;const e=this.getLayer().getSource();if(!e)return!1;const i=e.getRevision();return this.renderedSourceRevision_?this.renderedSourceRevision_!==i&&(this.renderedSourceRevision_=i,this.renderedSourceKey_===e.getKey()&&this.tileCache_.clear()):this.renderedSourceRevision_=i,!0}enqueueTiles(t,e,i,n,r){const s=t.viewState,o=this.getLayer(),a=o.getRenderSource(),l=a.getTileGridForProjection(s.projection),c=di(a);c in t.wantedTiles||(t.wantedTiles[c]={});const h=t.wantedTiles[c],d=o.getMapInternal(),u=Math.max(i-r,l.getMinZoom(),l.getZForResolution(Math.min(o.getMaxResolution(),d?d.getView().getResolutionForZoom(Math.max(o.getMinZoom(),0)):l.getResolution(0)),a.zDirection)),p=s.rotation,f=p?Gn(s.center,s.resolution,p,t.size):void 0;for(let r=i;r>=u;--r){const i=l.getTileRangeForExtentAndZ(e,r,this.tempTileRange_),s=l.getResolution(r);for(let e=i.minX;e<=i.maxX;++e)for(let o=i.minY;o<=i.maxY;++o){if(p&&!l.tileCoordIntersectsViewport([r,e,o],f))continue;const i=this.getTile(r,e,o,t);if(!i)continue;if(!_u(n,i,r))continue;const a=i.getKey();if(h[a]=!0,i.getState()===Bi&&!t.tileQueue.isKeyQueued(a)){const n=cu(r,e,o,this.tempTileCoord_);t.tileQueue.enqueue([i,c,l.getTileCoordCenter(n),s])}}}}findStaleTile_(t,e){const i=this.tileCache_,n=t[0],r=t[1],s=t[2],o=this.getStaleKeys();for(let t=0;t<o.length;++t){const a=mu(this.getLayer().getSource(),o[t],n,r,s);if(i.containsKey(a)){const t=i.peek(a);if(t.getState()===Gi)return t.endTransition(di(this)),_u(e,t,n),!0}}return!1}findAltTiles_(t,e,i,n){const r=t.getTileRangeForTileCoordAndZ(e,i,this.tempTileRange_);if(!r)return!1;let s=!0;const o=this.tileCache_,a=this.getLayer().getRenderSource(),l=a.getKey();for(let t=r.minX;t<=r.maxX;++t)for(let e=r.minY;e<=r.maxY;++e){const r=mu(a,l,i,t,e);let c=!1;if(o.containsKey(r)){const t=o.peek(r);t.getState()===Gi&&(_u(n,t,i),c=!0)}c||(s=!1)}return s}renderFrame(t,e){this.renderComplete=!0;const i=t.layerStatesArray[t.layerIndex],n=t.viewState,r=n.projection,s=n.resolution,o=n.center,a=t.pixelRatio,l=this.getLayer(),c=l.getSource(),h=c.getTileGridForProjection(r),d=h.getZForResolution(s,c.zDirection),u=h.getResolution(d),p=c.getKey();
2this.renderedSourceKey_?this.renderedSourceKey_!==p&&(this.prependStaleKey(this.renderedSourceKey_),this.renderedSourceKey_=p):this.renderedSourceKey_=p;let f=t.extent;const g=c.getTilePixelRatio(a);this.prepareContainer(t,e);const m=this.context.canvas.width,_=this.context.canvas.height,v=i.extent&&Es(i.extent,r);v&&(f=Yn(f,Es(i.extent,r)));const y=u*m/2/g,w=u*_/2/g,x=[o[0]-y,o[1]-w,o[0]+y,o[1]+w],b={};this.renderedTiles.length=0;const E=l.getPreload();if(t.nextExtent){const e=h.getZForResolution(n.nextResolution,c.zDirection),i=yu(t,t.nextExtent);this.enqueueTiles(t,i,e,b,E)}const S=yu(t,f);if(this.enqueueTiles(t,S,d,b,0),E>0&&setTimeout(()=>{this.enqueueTiles(t,S,d-1,b,E-1)},0),!(d in b))return this.container;const C=di(this),T=t.time;for(const e of b[d]){const i=e.getState();if(i===Yi)continue;const n=e.tileCoord;if(i===Gi){if(1===e.getAlpha(C,T)){e.endTransition(C);continue}}i!==Wi&&(this.renderComplete=!1);if(this.findStaleTile_(n,b)){vu(b,e,d),t.animate=!0;continue}if(this.findAltTiles_(h,n,d+1,b))continue;const r=h.getMinZoom();for(let t=d-1;t>=r;--t){if(this.findAltTiles_(h,n,t,b))break}}const A=u/s*a/g,k=this.getRenderContext(t);Ms(this.tempTransform,m/2,_/2,A,A,0,-m/2,-_/2),i.extent&&this.clipUnrotated(k,t,v),c.getInterpolate()||(k.imageSmoothingEnabled=!1),this.preRender(k,t);const M=Object.keys(b).map(Number);let I;M.sort(Ye);const R=[],L=[];for(let e=M.length-1;e>=0;--e){const i=M[e],n=c.getTilePixelSize(i,a,r),s=h.getResolution(i)/u,o=n[0]*s*A,l=n[1]*s*A,d=h.getTileCoordForCoordAndZ(Un(x),i),p=h.getTileCoordExtent(d),f=ks(this.tempTransform,[g*(p[0]-x[0])/u,g*(x[3]-p[3])/u]),m=g*c.getGutterForProjection(r);for(const e of b[i]){if(e.getState()!==Gi)continue;const n=e.tileCoord,r=d[1]-n[1],s=Math.round(f[0]-(r-1)*o),a=d[2]-n[2],h=Math.round(f[1]-(a-1)*l),u=Math.round(f[0]-r*o),p=Math.round(f[1]-a*l),g=s-u,_=h-p,v=1===M.length;let y=!1;I=[u,p,u+g,p,u+g,p+_,u,p+_];for(let t=0,e=R.length;t<e;++t)if(!v&&i<L[t]){const e=R[t];Hn([u,p,u+g,p+_],[e[0],e[3],e[4],e[7]])&&(y||(k.save(),y=!0),k.beginPath(),k.moveTo(I[0],I[1]),k.lineTo(I[2],I[3]),k.lineTo(I[4],I[5]),k.lineTo(I[6],I[7]),k.moveTo(e[6],e[7]),k.lineTo(e[4],e[5]),k.lineTo(e[2],e[3]),k.lineTo(e[0],e[1]),k.clip())}R.push(I),L.push(i),this.drawTile(e,t,u,p,g,_,m,v),y&&k.restore(),this.renderedTiles.unshift(e),this.updateUsedTiles(t.usedTiles,c,e)}}if(this.renderedResolution=u,this.extentChanged=!this.renderedExtent_||!In(this.renderedExtent_,x),this.renderedExtent_=x,this.renderedPixelRatio=a,this.postRender(this.context,t),i.extent&&k.restore(),k.imageSmoothingEnabled=!0,this.renderComplete){const e=(t,e)=>{const i=di(c),n=e.wantedTiles[i],r=n?Object.keys(n).length:0;this.updateCacheSize(r),this.tileCache_.expireCache()};t.postRenderFunctions.push(e)}return this.container}updateCacheSize(t){this.tileCache_.highWaterMark=Math.max(this.tileCache_.highWaterMark,2*t)}drawTile(t,e,i,n,r,s,o,a){let l;if(t instanceof Vd){if(l=qd(t.getData()),!l)throw new Error("Rendering array data is not yet supported")}else l=this.getTileImage(t);if(!l)return;const c=this.getRenderContext(e),h=di(this),d=e.layerStatesArray[e.layerIndex],u=d.opacity*(a?t.getAlpha(h,e.time):1),p=u!==c.globalAlpha;p&&(c.save(),c.globalAlpha=u),c.drawImage(l,o,o,l.width-2*o,l.height-2*o,i,n,r,s),p&&c.restore(),u!==d.opacity?e.animate=!0:a&&t.endTransition(h)}getImage(){const t=this.context;return t?t.canvas:null}getTileImage(t){return t.getImage()}updateUsedTiles(t,e,i){const n=di(e);n in t||(t[n]={}),t[n][i.getKey()]=!0}},xu="preload",bu="useInterimTilesOnError";const Eu=class extends tl{constructor(t){t=t||{};const e=Object.assign({},t),i=t.cacheSize;delete t.cacheSize,delete e.preload,delete e.useInterimTilesOnError,super(e),this.on,this.once,this.un,this.cacheSize_=i,this.setPreload(void 0!==t.preload?t.preload:0),this.setUseInterimTilesOnError(void 0===t.useInterimTilesOnError||t.useInterimTilesOnError)}getCacheSize(){return this.cacheSize_}getPreload(){return this.get(xu)}setPreload(t){this.set(xu,t)}getUseInterimTilesOnError(){return this.get(bu)}setUseInterimTilesOnError(t){this.set(bu,t)}getData(t){return super.getData(t)}};
vendor: 5,248 bytes, line 2
2const Su=class extends Eu{constructor(t){super(t)}createRenderer(){return new wu(this,{cacheSize:this.getCacheSize()})}},Cu=[0,0,0];const Tu=class{constructor(t){let e;if(this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.resolutions_=t.resolutions,Ui(function(t,e,i){const n=e||Ye;return t.every(function(e,r){if(0===r)return!0;const s=n(t[r-1],e);return!(s>0||i&&0===s)})}(this.resolutions_,(t,e)=>e-t,!0),"`resolutions` must be sorted in descending order"),!t.origins)for(let t=0,i=this.resolutions_.length-1;t<i;++t)if(e){if(this.resolutions_[t]/this.resolutions_[t+1]!==e){e=void 0;break}}else e=this.resolutions_[t]/this.resolutions_[t+1];this.zoomFactor_=e,this.maxZoom=this.resolutions_.length-1,this.origin_=void 0!==t.origin?t.origin:null,this.origins_=null,void 0!==t.origins&&(this.origins_=t.origins,Ui(this.origins_.length==this.resolutions_.length,"Number of `origins` and `resolutions` must be equal"));const i=t.extent;void 0===i||this.origin_||this.origins_||(this.origin_=Un(i)),Ui(!this.origin_&&this.origins_||this.origin_&&!this.origins_,"Either `origin` or `origins` must be configured, never both"),this.tileSizes_=null,void 0!==t.tileSizes&&(this.tileSizes_=t.tileSizes,Ui(this.tileSizes_.length==this.resolutions_.length,"Number of `tileSizes` and `resolutions` must be equal")),this.tileSize_=void 0!==t.tileSize?t.tileSize:this.tileSizes_?null:ko,Ui(!this.tileSize_&&this.tileSizes_||this.tileSize_&&!this.tileSizes_,"Either `tileSize` or `tileSizes` must be configured, never both"),this.extent_=void 0!==i?i:null,this.fullTileRanges_=null,this.tmpSize_=[0,0],this.tmpExtent_=[0,0,0,0],void 0!==t.sizes?this.fullTileRanges_=t.sizes.map((t,e)=>{const n=new Qd(Math.min(0,t[0]),Math.max(t[0]-1,-1),Math.min(0,t[1]),Math.max(t[1]-1,-1));if(i){const t=this.getTileRangeForExtentAndZ(i,e);n.minX=Math.max(t.minX,n.minX),n.maxX=Math.min(t.maxX,n.maxX),n.minY=Math.max(t.minY,n.minY),n.maxY=Math.min(t.maxY,n.maxY)}return n}):i&&this.calculateTileRanges_(i)}forEachTileCoord(t,e,i){const n=this.getTileRangeForExtentAndZ(t,e);for(let t=n.minX,r=n.maxX;t<=r;++t)for(let r=n.minY,s=n.maxY;r<=s;++r)i([e,t,r])}forEachTileCoordParentTileRange(t,e,i,n){let r,s,o,a=null,l=t[0]-1;for(2===this.zoomFactor_?(s=t[1],o=t[2]):a=this.getTileCoordExtent(t,n);l>=this.minZoom;){if(void 0!==s&&void 0!==o?(s=Math.floor(s/2),o=Math.floor(o/2),r=Jd(s,s,o,o,i)):r=this.getTileRangeForExtentAndZ(a,l,i),e(l,r))return!0;--l}return!1}getExtent(){return this.extent_}getMaxZoom(){return this.maxZoom}getMinZoom(){return this.minZoom}getOrigin(t){return this.origin_?this.origin_:this.origins_[t]}getResolution(t){return this.resolutions_[t]}getResolutions(){return this.resolutions_}getTileCoordChildTileRange(t,e,i){if(t[0]<this.maxZoom){if(2===this.zoomFactor_){const i=2*t[1],n=2*t[2];return Jd(i,i+1,n,n+1,e)}const n=this.getTileCoordExtent(t,i||this.tmpExtent_);return this.getTileRangeForExtentAndZ(n,t[0]+1,e)}return null}getTileRangeForTileCoordAndZ(t,e,i){if(e>this.maxZoom||e<this.minZoom)return null;const n=t[0],r=t[1],s=t[2];if(e===n)return Jd(r,s,r,s,i);if(this.zoomFactor_){const t=Math.pow(this.zoomFactor_,e-n),o=Math.floor(r*t),a=Math.floor(s*t);if(e<n)return Jd(o,o,a,a,i);return Jd(o,Math.floor(t*(r+1))-1,a,Math.floor(t*(s+1))-1,i)}const o=this.getTileCoordExtent(t,this.tmpExtent_);return this.getTileRangeForExtentAndZ(o,e,i)}getTileRangeForExtentAndZ(t,e,i){this.getTileCoordForXYAndZ_(t[0],t[3],e,!1,Cu);const n=Cu[1],r=Cu[2];this.getTileCoordForXYAndZ_(t[2],t[1],e,!0,Cu);return Jd(n,Cu[1],r,Cu[2],i)}getTileCoordCenter(t){const e=this.getOrigin(t[0]),i=this.getResolution(t[0]),n=jl(this.getTileSize(t[0]),this.tmpSize_);return[e[0]+(t[1]+.5)*n[0]*i,e[1]-(t[2]+.5)*n[1]*i]}getTileCoordExtent(t,e){const i=this.getOrigin(t[0]),n=this.getResolution(t[0]),r=jl(this.getTileSize(t[0]),this.tmpSize_),s=i[0]+t[1]*r[0]*n,o=i[1]-(t[2]+1)*r[1]*n;return Tn(s,o,s+r[0]*n,o+r[1]*n,e)}getTileCoordForCoordAndResolution(t,e,i){return this.getTileCoordForXYAndResolution_(t[0],t[1],e,!1,i)}getTileCoordForXYAndResolution_(t,e,i,n,r){const s=this.getZForResolution(i),o=i/this.getResolution(s),a=this.getOrigin(s),l=jl(this.getTileSize(s),this.tmpSize_);let c=o*(t-a[0])/i/l[0],h=o*(a[1]-e)/i/l[1];return n?(c=an(c,5)-1,h=an(h,5)-1):(c=on(c,5),h=on(h,5)),cu(s,c,h,r)}getTileCoordForXYAndZ_(t,e,i,n,r){const s=this.getOrigin(i),o=this.getResolution(i),a=jl(this.getTileSize(i),this.tmpSize_);let l=(t-s[0])/o/a[0],c=(s[1]-e)/o/a[1];return n?(l=an(l,5)-1,c=an(c,5)-1):(l=on(l,5),c=on(c,5)),cu(i,l,c,r)}getTileCoordForCoordAndZ(t,e,i){return this.getTileCoordForXYAndZ_(t[0],t[1],e,!1,i)}getTileCoordResolution(t){return this.resolutions_[t[0]]}getTileSize(t){return this.tileSize_?this.tileSize_:this.tileSizes_[t]}getFullTileRange(t){return this.fullTileRanges_?this.fullTileRanges_[t]:this.extent_?this.getTileRangeForExtentAndZ(this.extent_,t):null}getZForResolution(t,e){return Zi(Xe(this.resolutions_,t,e||0),this.minZoom,this.maxZoom)}tileCoordIntersectsViewport(t,e){return fo(e,0,e.length,2,this.getTileCoordExtent(t))}calculateTileRanges_(t){const e=this.resolutions_.length,i=new Array(e);for(let n=this.minZoom;n<e;++n)i[n]=this.getTileRangeForExtentAndZ(t,n);this.fullTileRanges_=i}};function Au(t){let e=t.getDefaultTileGrid();
2return e||(e=function(t,e,i,n){const r=Mu(t);return function(t,e,i,n){n=void 0!==n?n:"top-left";const r=ku(t,e,i);return new Tu({extent:t,origin:Bn(t,n),resolutions:r,tileSize:i})}(r,e,i,n)}(t),t.setDefaultTileGrid(e)),e}function ku(t,e,i,n){e=void 0!==e?e:42,i=jl(void 0!==i?i:ko);const r=Wn(t),s=qn(t);n=n>0?n:Math.max(s/i[0],r/i[1]);const o=e+1,a=new Array(o);for(let t=0;t<o;++t)a[t]=n/Math.pow(2,t);return a}function Mu(t){let e=(t=os(t)).getExtent();if(!e){const i=180*lr.degrees/t.getMetersPerUnit();e=Tn(-i,-i,i,i)}return e}const Iu=/\{z\}/g,Ru=/\{x\}/g,Lu=/\{y\}/g,Pu=/\{-y\}/g;function Du(t,e){return function(i,n,r){if(!i)return;let s;const o=i[0];if(e){const t=e.getFullTileRange(o);t&&(s=t.getHeight()-1)}return function(t,e,i,n,r){return t.replace(Iu,e.toString()).replace(Ru,i.toString()).replace(Lu,n.toString()).replace(Pu,function(){if(void 0===r)throw new Error("If the URL template has a {-y} placeholder, the grid extent must be known");return(r-n).toString()})}(t,o,i[1],i[2],s)}}function Ou(t,e){const i=t.length,n=new Array(i);for(let r=0;r<i;++r)n[r]=Du(t[r],e);return function(t){if(1===t.length)return t[0];return function(e,i,n){if(!e)return;const r=function(t){return e=t[0],i=t[1],n=t[2],(i<<e)+n;var e,i,n}(e),s=nn(r,t.length);return t[s](e,i,n)}}(n)}function Fu(t){return t?"function"==typeof t?t:(Array.isArray(t)||(t=[t]),e=>t):null}const zu=class extends pi{constructor(t){super(),this.projection=os(t.projection),this.attributions_=Fu(t.attributions),this.attributionsCollapsible_=t.attributionsCollapsible??!0,this.loading=!1,this.state_=void 0!==t.state?t.state:"ready",this.wrapX_=void 0!==t.wrapX&&t.wrapX,this.interpolate_=!!t.interpolate,this.viewResolver=null,this.viewRejector=null;const e=this;this.viewPromise_=new Promise(function(t,i){e.viewResolver=t,e.viewRejector=i})}getAttributions(){return this.attributions_}getAttributionsCollapsible(){return this.attributionsCollapsible_}getProjection(){return this.projection}getResolutions(t){return null}getView(){return this.viewPromise_}getState(){return this.state_}getWrapX(){return this.wrapX_}getInterpolate(){return this.interpolate_}refresh(){this.changed()}setAttributions(t){this.attributions_=Fu(t),this.changed()}setState(t){this.state_=t,this.changed()}};class Nu extends ii{constructor(t,e){super(t),this.tile=e}}const Bu=class extends zu{constructor(t){super({attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,projection:t.projection,state:t.state,wrapX:t.wrapX,interpolate:t.interpolate}),this.on,this.once,this.un,this.tilePixelRatio_=void 0!==t.tilePixelRatio?t.tilePixelRatio:1,this.tileGrid=void 0!==t.tileGrid?t.tileGrid:null;const e=[256,256];this.tileGrid&&jl(this.tileGrid.getTileSize(this.tileGrid.getMinZoom()),e),this.tmpSize=[0,0],this.key_=t.key||di(this),this.tileOptions={transition:t.transition,interpolate:t.interpolate},this.zDirection=t.zDirection?t.zDirection:0}getGutterForProjection(t){return 0}getKey(){return this.key_}setKey(t){this.key_!==t&&(this.key_=t,this.changed())}getResolutions(t){const e=t?this.getTileGridForProjection(t):this.tileGrid;return e?e.getResolutions():null}getTile(t,e,i,n,r){return ci()}getTileGrid(){return this.tileGrid}getTileGridForProjection(t){return this.tileGrid?this.tileGrid:Au(t)}getTilePixelRatio(t){return this.tilePixelRatio_}getTilePixelSize(t,e,i){const n=this.getTileGridForProjection(i),r=this.getTilePixelRatio(e),s=jl(n.getTileSize(t),this.tmpSize);return 1==r?s:(o=s,a=r,void 0===(l=this.tmpSize)&&(l=[0,0]),l[0]=o[0]*a+.5|0,l[1]=o[1]*a+.5|0,l);var o,a,l}getTileCoordForTileUrlFunction(t,e){const i=void 0!==e?e:this.getProjection(),n=void 0!==e?this.getTileGridForProjection(i):this.tileGrid||this.getTileGridForProjection(i);return this.getWrapX()&&i.isGlobal()&&(t=function(t,e,i){const n=e[0],r=t.getTileCoordCenter(e),s=Mu(i);if(!xn(s,r)){const e=qn(s),i=Math.ceil((s[0]-r[0])/e);return r[0]+=e*i,t.getTileCoordForCoordAndZ(r,n)}return e}(n,t,i)),function(t,e){const i=t[0],n=t[1],r=t[2];if(e.getMinZoom()>i||i>e.getMaxZoom())return!1;const s=e.getFullTileRange(i);return!s||s.containsXY(n,r)}(t,n)?t:null}clear(){}refresh(){this.clear(),super.refresh()}},ju="tileloadstart",Gu="tileloadend",Wu="tileloaderror";class Yu extends Bu{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tilePixelRatio:t.tilePixelRatio,wrapX:t.wrapX,transition:t.transition,interpolate:t.interpolate,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.generateTileUrlFunction_=this.tileUrlFunction===Yu.prototype.tileUrlFunction,this.tileLoadFunction=t.tileLoadFunction,t.tileUrlFunction&&(this.tileUrlFunction=t.tileUrlFunction),this.urls=null,t.urls?this.setUrls(t.urls):t.url&&this.setUrl(t.url),this.tileLoadingKeys_={}}getTileLoadFunction(){return this.tileLoadFunction}getTileUrlFunction(){return Object.getPrototypeOf(this).tileUrlFunction===this.tileUrlFunction?this.tileUrlFunction.bind(this):this.tileUrlFunction}getUrls(){return this.urls}handleTileChange(t){const e=t.target,i=di(e),n=e.getState();let r;n==ji?(this.tileLoadingKeys_[i]=!0,r=ju):i in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[i],r=n==Wi?Wu:n==Gi?Gu:void 0),null!=r&&this.dispatchEvent(new Nu(r,e))}setTileLoadFunction(t){this.tileLoadFunction=t,this.changed()}setTileUrlFunction(t,e){this.tileUrlFunction=t,void 0!==e?this.setKey(e):this.changed()}setUrl(t){const e=function(t){const e=[];let i=/\{([a-z])-([a-z])\}/.exec(t);
2if(i){const n=i[1].charCodeAt(0),r=i[2].charCodeAt(0);let s;for(s=n;s<=r;++s)e.push(t.replace(i[0],String.fromCharCode(s)));return e}if(i=/\{(\d+)-(\d+)\}/.exec(t),i){const n=parseInt(i[2],10);for(let r=parseInt(i[1],10);r<=n;r++)e.push(t.replace(i[0],r.toString()));return e}return e.push(t),e}(t);this.urls=e,this.setUrls(e)}setUrls(t){this.urls=t;const e=t.join("\n");this.generateTileUrlFunction_?this.setTileUrlFunction(Ou(t,this.tileGrid),e):this.setKey(e)}tileUrlFunction(t,e,i){}}const Uu=Yu;function Xu(t,e){t.getImage().src=e}const qu=class extends Uu{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:Xu,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX,transition:t.transition,interpolate:void 0===t.interpolate||t.interpolate,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.crossOrigin=void 0!==t.crossOrigin?t.crossOrigin:null,this.tileClass=void 0!==t.tileClass?t.tileClass:Kd,this.tileGridForProjection={},this.reprojectionErrorThreshold_=t.reprojectionErrorThreshold,this.renderReprojectionEdges_=!1}getGutterForProjection(t){return this.getProjection()&&t&&!us(this.getProjection(),t)?0:this.getGutter()}getGutter(){return 0}getKey(){let t=super.getKey();return this.getInterpolate()||(t+=":disable-interpolation"),t}getTileGridForProjection(t){const e=this.getProjection();if(this.tileGrid&&(!e||us(e,t)))return this.tileGrid;const i=di(t);return i in this.tileGridForProjection||(this.tileGridForProjection[i]=Au(t)),this.tileGridForProjection[i]}createTile_(t,e,i,n,r,s){const o=[t,e,i],a=this.getTileCoordForTileUrlFunction(o,r),l=a?this.tileUrlFunction(a,n,r):void 0,c=new this.tileClass(o,void 0!==l?Bi:Yi,void 0!==l?l:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return c.key=s,c.addEventListener(Le,this.handleTileChange.bind(this)),c}getTile(t,e,i,n,r){const s=this.getProjection();if(!s||!r||us(s,r))return this.getTileInternal(t,e,i,n,s||r);const o=[t,e,i],a=this.getKey(),l=this.getTileGridForProjection(s),c=this.getTileGridForProjection(r),h=this.getTileCoordForTileUrlFunction(o,r),d=new au(s,l,r,c,o,h,this.getTilePixelRatio(n),this.getGutter(),(t,e,i,n)=>this.getTileInternal(t,e,i,n,s),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.tileOptions);return d.key=a,d}getTileInternal(t,e,i,n,r){const s=this.getKey();return this.createTile_(t,e,i,n,r,s)}setRenderReprojectionEdges(t){this.renderReprojectionEdges_!=t&&(this.renderReprojectionEdges_=t,this.changed())}setTileGridForProjection(t,e){const i=os(t);if(i){const t=di(i);t in this.tileGridForProjection||(this.tileGridForProjection[t]=e)}}};const Hu=class extends qu{constructor(t){const e=void 0!==(t=t||{}).projection?t.projection:"EPSG:3857",i=void 0!==t.tileGrid?t.tileGrid:function(t){const e=t||{},i=e.extent||os("EPSG:3857").getExtent(),n={extent:i,minZoom:e.minZoom,tileSize:e.tileSize,resolutions:ku(i,e.maxZoom,e.tileSize,e.maxResolution)};return new Tu(n)}({extent:Mu(e),maxResolution:t.maxResolution,maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize});super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,projection:e,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:i,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.gutter_=void 0!==t.gutter?t.gutter:0}getGutter(){return this.gutter_}};const $u=class extends Hu{constructor(t){let e;e=void 0!==(t=t||{}).attributions?t.attributions:['&#169; <a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a> contributors.'];const i=void 0!==t.crossOrigin?t.crossOrigin:"anonymous",n=void 0!==t.url?t.url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png";
vendor: 12,438 bytes, line 2
2super({attributions:e,attributionsCollapsible:!1,cacheSize:t.cacheSize,crossOrigin:i,interpolate:t.interpolate,maxZoom:void 0!==t.maxZoom?t.maxZoom:19,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,transition:t.transition,url:n,wrapX:t.wrapX,zDirection:t.zDirection})}};let Vu=!1;function Ku(t,e){return function(i,n,r,s,o){!function(t,e,i,n,r,s,o){const a=new XMLHttpRequest;a.open("GET","function"==typeof t?t(i,n,r):t,!0),"arraybuffer"==e.getType()&&(a.responseType="arraybuffer"),a.withCredentials=Vu,a.onload=function(t){if(!a.status||a.status>=200&&a.status<300){const t=e.getType();try{let n;"text"==t||"json"==t?n=a.responseText:"xml"==t?n=a.responseXML||a.responseText:"arraybuffer"==t&&(n=a.response),n?s(e.readFeatures(n,{extent:i,featureProjection:r}),e.readProjection(n)):o()}catch{o()}}else o()},a.onerror=o,a.send()}(t,e,i,n,r,(t,e)=>{this.addFeatures(t),void 0!==s&&s(t)},()=>{this.changed(),void 0!==o&&o()})}}function Zu(t,e){return[[-1/0,-1/0,1/0,1/0]]}function Ju(t,e,i,n,r,s,o){let a,l;const c=(i-e)/n;if(1===c)a=e;else if(2===c)a=e,l=r;else if(0!==c){let s=t[e],o=t[e+1],c=0;const h=[0];for(let r=e+n;r<i;r+=n){const e=t[r],i=t[r+1];c+=Math.sqrt((e-s)*(e-s)+(i-o)*(i-o)),h.push(c),s=e,o=i}const d=r*c,u=function(t,e,i){let n,r;i=i||Ye;let s=0,o=t.length,a=!1;for(;s<o;)n=s+(o-s>>1),r=+i(t[n],e),r<0?s=n+1:(o=n,a=!r);return a?s:~s}(h,d);u<0?(l=(d-h[-u-2])/(h[-u-1]-h[-u-2]),a=e+(-u-2)*n):a=e+u*n}o=o>1?o:2,s=s||new Array(o);for(let e=0;e<o;++e)s[e]=void 0===a?NaN:void 0===l?t[a+e]:rn(t[a+e],t[a+n+e],l);return s}const Qu=[1,0,0,1,0,0];class tp{constructor(t,e,i,n,r,s){this.styleFunction,this.extent_,this.id_=s,this.type_=t,this.flatCoordinates_=e,this.flatInteriorPoints_=null,this.flatMidpoints_=null,this.ends_=i||null,this.properties_=r,this.squaredTolerance_,this.stride_=n,this.simplifiedGeometry_}get(t){return this.properties_[t]}getExtent(){return this.extent_||(this.extent_="Point"===this.type_?kn(this.flatCoordinates_):Mn(this.flatCoordinates_,0,this.flatCoordinates_.length,2)),this.extent_}getFlatInteriorPoint(){if(!this.flatInteriorPoints_){const t=Nn(this.getExtent());this.flatInteriorPoints_=uo(this.flatCoordinates_,0,this.ends_,2,t,0)}return this.flatInteriorPoints_}getFlatInteriorPoints(){if(!this.flatInteriorPoints_){const t=function(t,e){const i=[];let n,r=0,s=0;for(let o=0,a=e.length;o<a;++o){const a=e[o],l=_o(t,r,a,2);if(void 0===n&&(n=l),l===n)i.push(e.slice(s,o+1));else{if(0===i.length)continue;i[i.length-1].push(e[s])}s=o+1,r=a}return i}(this.flatCoordinates_,this.ends_),e=function(t,e,i,n){const r=[];let s=[1/0,1/0,-1/0,-1/0];for(let o=0,a=i.length;o<a;++o){const a=i[o];s=Mn(t,e,a[0],n),r.push((s[0]+s[2])/2,(s[1]+s[3])/2),e=a[a.length-1]}return r}(this.flatCoordinates_,0,t,2);this.flatInteriorPoints_=function(t,e,i,n,r){let s=[];for(let o=0,a=i.length;o<a;++o){const a=i[o];s=uo(t,e,a,n,r,2*o,s),e=a[a.length-1]}return s}(this.flatCoordinates_,0,t,2,e)}return this.flatInteriorPoints_}getFlatMidpoint(){return this.flatMidpoints_||(this.flatMidpoints_=Ju(this.flatCoordinates_,0,this.flatCoordinates_.length,2,.5)),this.flatMidpoints_}getFlatMidpoints(){if(!this.flatMidpoints_){this.flatMidpoints_=[];const t=this.flatCoordinates_;let e=0;const i=this.ends_;for(let n=0,r=i.length;n<r;++n){const r=i[n],s=Ju(t,e,r,2,.5);He(this.flatMidpoints_,s),e=r}}return this.flatMidpoints_}getId(){return this.id_}getOrientedFlatCoordinates(){return this.flatCoordinates_}getGeometry(){return this}getSimplifiedGeometry(t){return this}simplifyTransformed(t,e){return this}getProperties(){return this.properties_}getPropertiesInternal(){return this.properties_}getStride(){return this.stride_}getStyleFunction(){return this.styleFunction}getType(){return this.type_}transform(t){const e=(t=os(t)).getExtent(),i=t.getWorldExtent();if(e&&i){const t=Wn(i)/Wn(e);Ms(Qu,i[0],i[3],t,-t,0,0,0),Ds(this.flatCoordinates_,0,this.flatCoordinates_.length,2,Qu,this.flatCoordinates_)}}applyTransform(t){t(this.flatCoordinates_,this.flatCoordinates_,this.stride_)}clone(){return new tp(this.type_,this.flatCoordinates_.slice(),this.ends_?.slice(),this.stride_,Object.assign({},this.properties_),this.id_)}getEnds(){return this.ends_}enableSimplifyTransformed(){return this.simplifyTransformed=Je((t,e)=>{if(t===this.squaredTolerance_)return this.simplifiedGeometry_;this.simplifiedGeometry_=this.clone(),e&&this.simplifiedGeometry_.applyTransform(e);const i=this.simplifiedGeometry_.getFlatCoordinates();let n;switch(this.type_){case"LineString":i.length=Qs(i,0,this.simplifiedGeometry_.flatCoordinates_.length,this.simplifiedGeometry_.stride_,t,i,0),n=[i.length];break;case"MultiLineString":n=[],i.length=to(i,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,t,i,0,n);break;case"Polygon":n=[],i.length=no(i,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,Math.sqrt(t),i,0,n)}return n&&(this.simplifiedGeometry_=new tp(this.type_,i,n,2,this.properties_,this.id_)),this.squaredTolerance_=t,this.simplifiedGeometry_}),this}}tp.prototype.getFlatCoordinates=tp.prototype.getOrientedFlatCoordinates;const ep=tp;const ip=class{constructor(t){this.rbush_=new rl(t),this.items_={}}insert(t,e){const i={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};this.rbush_.insert(i),this.items_[di(e)]=i}load(t,e){const i=new Array(e.length);for(let n=0,r=e.length;n<r;n++){const r=t[n],s=e[n],o={minX:r[0],minY:r[1],maxX:r[2],maxY:r[3],value:s};i[n]=o,this.items_[di(s)]=o}this.rbush_.load(i)}remove(t){const e=di(t),i=this.items_[e];return delete this.items_[e],null!==this.rbush_.remove(i)}update(t,e){const i=this.items_[di(e)];In([i.minX,i.minY,i.maxX,i.maxY],t)||(this.remove(e),this.insert(t,e))}getAll(){return this.rbush_.all().map(function(t){return t.value})}getInExtent(t){const e={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3]};return this.rbush_.search(e).map(function(t){return t.value})}forEach(t){return this.forEach_(this.getAll(),t)}forEachInExtent(t,e){return this.forEach_(this.getInExtent(t),e)}forEach_(t,e){let i;for(let n=0,r=t.length;n<r;n++)if(i=e(t[n]),i)return i;return i}isEmpty(){return ei(this.items_)}clear(){this.rbush_.clear(),this.items_={}}getExtent(t){const e=this.rbush_.toJSON();return Tn(e.minX,e.minY,e.maxX,e.maxY,t)}concat(t){this.rbush_.load(t.rbush_.all());for(const e in t.items_)this.items_[e]=t.items_[e]}},np="addfeature",rp="changefeature",sp="clear",op="removefeature",ap="featuresloadstart",lp="featuresloadend",cp="featuresloaderror";class hp extends ii{constructor(t,e,i){super(t),this.feature=e,this.features=i}}const dp=class extends zu{constructor(t){super({attributions:(t=t||{}).attributions,interpolate:!0,projection:void 0,state:"ready",wrapX:void 0===t.wrapX||t.wrapX}),this.on,this.once,this.un,this.loader_=Ze,this.format_=t.format||null,this.overlaps_=void 0===t.overlaps||t.overlaps,this.url_=t.url,void 0!==t.loader?this.loader_=t.loader:void 0!==this.url_&&(Ui(this.format_,"`format` must be set when `url` is set"),this.loader_=Ku(this.url_,this.format_)),this.strategy_=void 0!==t.strategy?t.strategy:Zu;const e=void 0===t.useSpatialIndex||t.useSpatialIndex;let i,n;this.featuresRtree_=e?new ip:null,this.loadedExtentsRtree_=new ip,this.loadingExtentsCount_=0,this.nullGeometryFeatures_={},this.idIndex_={},this.uidIndex_={},this.featureChangeKeys_={},this.featuresCollection_=null,Array.isArray(t.features)?n=t.features:t.features&&(i=t.features,n=i.getArray()),e||void 0!==i||(i=new mi(n)),void 0!==n&&this.addFeaturesInternal(n),void 0!==i&&this.bindFeaturesCollection_(i)}addFeature(t){this.addFeatureInternal(t),this.changed()}addFeatureInternal(t){const e=di(t);if(!this.addToIndex_(e,t))return void(this.featuresCollection_&&this.featuresCollection_.remove(t));this.setupChangeEvents_(e,t);const i=t.getGeometry();if(i){const e=i.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(e,t)}else this.nullGeometryFeatures_[e]=t;this.dispatchEvent(new hp(np,t))}setupChangeEvents_(t,e){e instanceof ep||(this.featureChangeKeys_[t]=[ri(e,Le,this.handleFeatureChange_,this),ri(e,Re,this.handleFeatureChange_,this)])}addToIndex_(t,e){let i=!0;if(void 0!==e.getId()){const t=String(e.getId());if(t in this.idIndex_)if(e instanceof ep){const n=this.idIndex_[t];n instanceof ep?Array.isArray(n)?n.push(e):this.idIndex_[t]=[n,e]:i=!1}else i=!1;else this.idIndex_[t]=e}return i&&(Ui(!(t in this.uidIndex_),"The passed `feature` was already added to the source"),this.uidIndex_[t]=e),i}addFeatures(t){this.addFeaturesInternal(t),this.changed()}addFeaturesInternal(t){const e=[],i=[],n=[];for(let e=0,n=t.length;e<n;e++){const n=t[e],r=di(n);this.addToIndex_(r,n)&&i.push(n)}for(let t=0,r=i.length;t<r;t++){const r=i[t],s=di(r);this.setupChangeEvents_(s,r);const o=r.getGeometry();if(o){const t=o.getExtent();e.push(t),n.push(r)}else this.nullGeometryFeatures_[s]=r}if(this.featuresRtree_&&this.featuresRtree_.load(e,n),this.hasListener(np))for(let t=0,e=i.length;t<e;t++)this.dispatchEvent(new hp(np,i[t]))}bindFeaturesCollection_(t){let e=!1;this.addEventListener(np,function(i){e||(e=!0,t.push(i.feature),e=!1)}),this.addEventListener(op,function(i){e||(e=!0,t.remove(i.feature),e=!1)}),t.addEventListener(Me,t=>{e||(e=!0,this.addFeature(t.element),e=!1)}),t.addEventListener(Ie,t=>{e||(e=!0,this.removeFeature(t.element),e=!1)}),this.featuresCollection_=t}clear(t){if(t){for(const t in this.featureChangeKeys_){this.featureChangeKeys_[t].forEach(oi)}this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_){this.featuresRtree_.forEach(t=>{this.removeFeatureInternal(t)});for(const t in this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[t])}this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};const e=new hp(sp);this.dispatchEvent(e),this.changed()}forEachFeature(t){if(this.featuresRtree_)return this.featuresRtree_.forEach(t);this.featuresCollection_&&this.featuresCollection_.forEach(t)}forEachFeatureAtCoordinateDirect(t,e){const i=[t[0],t[1],t[0],t[1]];return this.forEachFeatureInExtent(i,function(i){const n=i.getGeometry();if(n instanceof ep||n.intersectsCoordinate(t))return e(i)})}forEachFeatureInExtent(t,e){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(t,e);this.featuresCollection_&&this.featuresCollection_.forEach(e)}forEachFeatureIntersectingExtent(t,e){return this.forEachFeatureInExtent(t,function(i){const n=i.getGeometry();if(n instanceof ep||n.intersectsExtent(t)){const t=e(i);if(t)return t}})}getFeaturesCollection(){return this.featuresCollection_}getFeatures(){let t;return this.featuresCollection_?t=this.featuresCollection_.getArray().slice(0):this.featuresRtree_&&(t=this.featuresRtree_.getAll(),ei(this.nullGeometryFeatures_)||He(t,Object.values(this.nullGeometryFeatures_))),t}getFeaturesAtCoordinate(t){const e=[];return this.forEachFeatureAtCoordinateDirect(t,function(t){e.push(t)}),e}getFeaturesInExtent(t,e){if(this.featuresRtree_){if(!(e&&e.canWrapX()&&this.getWrapX()))return this.featuresRtree_.getInExtent(t);const i=Zn(t,e);return[].concat(...i.map(t=>this.featuresRtree_.getInExtent(t)))}return this.featuresCollection_?this.featuresCollection_.getArray().slice(0):[]}getClosestFeatureToCoordinate(t,e){const i=t[0],n=t[1];let r=null;const s=[NaN,NaN];let o=1/0;const a=[-1/0,-1/0,1/0,1/0];return e=e||Ve,this.featuresRtree_.forEachInExtent(a,function(t){if(e(t)){const e=t.getGeometry(),l=o;if(o=e instanceof ep?0:e.closestPointXY(i,n,s,o),o<l){r=t;const e=Math.sqrt(o);a[0]=i-e,a[1]=n-e,a[2]=i+e,a[3]=n+e}}}),r}getExtent(t){return this.featuresRtree_.getExtent(t)}getFeatureById(t){const e=this.idIndex_[t.toString()];return void 0!==e?e:null}getFeatureByUid(t){const e=this.uidIndex_[t];return void 0!==e?e:null}getFormat(){return this.format_}getOverlaps(){return this.overlaps_}getUrl(){return this.url_}handleFeatureChange_(t){const e=t.target,i=di(e),n=e.getGeometry();if(n){const t=n.getExtent();i in this.nullGeometryFeatures_?(delete this.nullGeometryFeatures_[i],this.featuresRtree_&&this.featuresRtree_.insert(t,e)):this.featuresRtree_&&this.featuresRtree_.update(t,e)}else i in this.nullGeometryFeatures_||(this.featuresRtree_&&this.featuresRtree_.remove(e),this.nullGeometryFeatures_[i]=e);const r=e.getId();if(void 0!==r){const t=r.toString();this.idIndex_[t]!==e&&(this.removeFromIdIndex_(e),this.idIndex_[t]=e)}
2else this.removeFromIdIndex_(e),this.uidIndex_[i]=e;this.changed(),this.dispatchEvent(new hp(rp,e))}hasFeature(t){const e=t.getId();return void 0!==e?e in this.idIndex_:di(t)in this.uidIndex_}isEmpty(){return this.featuresRtree_?this.featuresRtree_.isEmpty()&&ei(this.nullGeometryFeatures_):!this.featuresCollection_||0===this.featuresCollection_.getLength()}loadFeatures(t,e,i){const n=this.loadedExtentsRtree_,r=this.strategy_(t,e,i);for(let t=0,s=r.length;t<s;++t){const s=r[t];n.forEachInExtent(s,function(t){return bn(t.extent,s)})||(++this.loadingExtentsCount_,this.dispatchEvent(new hp(ap)),this.loader_.call(this,s,e,i,t=>{--this.loadingExtentsCount_,this.dispatchEvent(new hp(lp,void 0,t))},()=>{--this.loadingExtentsCount_,this.dispatchEvent(new hp(cp))}),n.insert(s,{extent:s.slice()}))}this.loading=!(this.loader_.length<4)&&this.loadingExtentsCount_>0}refresh(){this.clear(!0),this.loadedExtentsRtree_.clear(),super.refresh()}removeLoadedExtent(t){const e=this.loadedExtentsRtree_,i=e.forEachInExtent(t,function(e){if(In(e.extent,t))return e});i&&e.remove(i)}removeFeatures(t){let e=!1;for(let i=0,n=t.length;i<n;++i)e=this.removeFeatureInternal(t[i])||e;e&&this.changed()}removeFeature(t){if(!t)return;this.removeFeatureInternal(t)&&this.changed()}removeFeatureInternal(t){const e=di(t);if(!(e in this.uidIndex_))return!1;e in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[e]:this.featuresRtree_&&this.featuresRtree_.remove(t);const i=this.featureChangeKeys_[e];i?.forEach(oi),delete this.featureChangeKeys_[e];const n=t.getId();if(void 0!==n){const e=n.toString(),i=this.idIndex_[e];i===t?delete this.idIndex_[e]:Array.isArray(i)&&(i.splice(i.indexOf(t),1),1===i.length&&(this.idIndex_[e]=i[0]))}return delete this.uidIndex_[e],this.hasListener(op)&&this.dispatchEvent(new hp(op,t)),!0}removeFromIdIndex_(t){for(const e in this.idIndex_)if(this.idIndex_[e]===t){delete this.idIndex_[e];break}}setLoader(t){this.loader_=t}setUrl(t){Ui(this.format_,"`format` must be set when `url` is set"),this.url_=t,this.setLoader(Ku(t,this.format_))}setOverlaps(t){this.overlaps_=t,this.changed()}};const up=class{drawCustom(t,e,i,n,r){}drawGeometry(t){}setStyle(t){}drawCircle(t,e,i){}drawFeature(t,e,i){}drawGeometryCollection(t,e,i){}drawLineString(t,e,i){}drawMultiLineString(t,e,i){}drawMultiPoint(t,e,i){}drawMultiPolygon(t,e,i){}drawPoint(t,e,i){}drawPolygon(t,e,i){}drawText(t,e,i){}setFillStrokeStyle(t,e){}setImageStyle(t,e){}setTextStyle(t,e){}},pp={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},fp=[pp.FILL],gp=[pp.STROKE],mp=[pp.BEGIN_PATH],_p=[pp.CLOSE_PATH],vp=pp;const yp=class extends up{constructor(t,e,i,n){super(),this.tolerance=t,this.maxExtent=e,this.pixelRatio=n,this.maxLineWidth=0,this.resolution=i,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_=null,this.bufferedMaxExtent_=null,this.instructions=[],this.coordinates=[],this.tmpCoordinate_=[],this.hitDetectionInstructions=[],this.state={}}applyPixelRatio(t){const e=this.pixelRatio;return 1==e?t:t.map(function(t){return t*e})}appendFlatPointCoordinates(t,e){const i=this.getBufferedMaxExtent(),n=this.tmpCoordinate_,r=this.coordinates;let s=r.length;for(let o=0,a=t.length;o<a;o+=e)n[0]=t[o],n[1]=t[o+1],xn(i,n)&&(r[s++]=n[0],r[s++]=n[1]);return s}appendFlatLineCoordinates(t,e,i,n,r,s){const o=this.coordinates;let a=o.length;const l=this.getBufferedMaxExtent();s&&(e+=n);let c=t[e],h=t[e+1];const d=this.tmpCoordinate_;let u,p,f,g=!0;for(u=e+n;u<i;u+=n)d[0]=t[u],d[1]=t[u+1],f=Sn(l,d),f!==p?(g&&(o[a++]=c,o[a++]=h,g=!1),o[a++]=d[0],o[a++]=d[1]):f===un?(o[a++]=d[0],o[a++]=d[1],g=!1):g=!0,c=d[0],h=d[1],p=f;return(r&&g||u===e+n)&&(o[a++]=c,o[a++]=h),a}drawCustomCoordinates_(t,e,i,n,r){for(let s=0,o=i.length;s<o;++s){const o=i[s],a=this.appendFlatLineCoordinates(t,e,o,n,!1,!1);r.push(a),e=o}return e}drawCustom(t,e,i,n,r){this.beginGeometry(t,e,r);const s=t.getType(),o=t.getStride(),a=this.coordinates.length;let l,c,h,d,u;switch(s){case"MultiPolygon":l=t.getOrientedFlatCoordinates(),d=[];const e=t.getEndss();u=0;for(let t=0,i=e.length;t<i;++t){const i=[];u=this.drawCustomCoordinates_(l,u,e[t],o,i),d.push(i)}this.instructions.push([vp.CUSTOM,a,d,t,i,Js,r]),this.hitDetectionInstructions.push([vp.CUSTOM,a,d,t,n||i,Js,r]);break;case"Polygon":case"MultiLineString":h=[],l="Polygon"==s?t.getOrientedFlatCoordinates():t.getFlatCoordinates(),u=this.drawCustomCoordinates_(l,0,t.getEnds(),o,h),this.instructions.push([vp.CUSTOM,a,h,t,i,Zs,r]),this.hitDetectionInstructions.push([vp.CUSTOM,a,h,t,n||i,Zs,r]);break;
2case"LineString":case"Circle":l=t.getFlatCoordinates(),c=this.appendFlatLineCoordinates(l,0,l.length,o,!1,!1),this.instructions.push([vp.CUSTOM,a,c,t,i,Ks,r]),this.hitDetectionInstructions.push([vp.CUSTOM,a,c,t,n||i,Ks,r]);break;case"MultiPoint":l=t.getFlatCoordinates(),c=this.appendFlatPointCoordinates(l,o),c>a&&(this.instructions.push([vp.CUSTOM,a,c,t,i,Ks,r]),this.hitDetectionInstructions.push([vp.CUSTOM,a,c,t,n||i,Ks,r]));break;case"Point":l=t.getFlatCoordinates(),this.coordinates.push(l[0],l[1]),c=this.coordinates.length,this.instructions.push([vp.CUSTOM,a,c,t,i,void 0,r]),this.hitDetectionInstructions.push([vp.CUSTOM,a,c,t,n||i,void 0,r])}this.endGeometry(e)}beginGeometry(t,e,i){this.beginGeometryInstruction1_=[vp.BEGIN_GEOMETRY,e,0,t,i],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[vp.BEGIN_GEOMETRY,e,0,t,i],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)}finish(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}}reverseHitDetectionInstructions(){const t=this.hitDetectionInstructions;let e;t.reverse();const i=t.length;let n,r,s=-1;for(e=0;e<i;++e)n=t[e],r=n[0],r==vp.END_GEOMETRY?s=e:r==vp.BEGIN_GEOMETRY&&(n[2]=e,qe(this.hitDetectionInstructions,s,e),s=-1)}fillStyleToState(t,e={}){if(t){const i=t.getColor();e.fillPatternScale=i&&"object"==typeof i&&"src"in i?this.pixelRatio:1,e.fillStyle=Eh(i||Ch)}else e.fillStyle=void 0;return e}strokeStyleToState(t,e={}){if(t){const i=t.getColor();e.strokeStyle=Eh(i||Mh);const n=t.getLineCap();e.lineCap=void 0!==n?n:Th;const r=t.getLineDash();e.lineDash=r?r.slice():Ah;const s=t.getLineDashOffset();e.lineDashOffset=s||0;const o=t.getLineJoin();e.lineJoin=void 0!==o?o:kh;const a=t.getWidth();e.lineWidth=void 0!==a?a:1;const l=t.getMiterLimit();e.miterLimit=void 0!==l?l:10,e.lineWidth>this.maxLineWidth&&(this.maxLineWidth=e.lineWidth,this.bufferedMaxExtent_=null)}else e.strokeStyle=void 0,e.lineCap=void 0,e.lineDash=null,e.lineDashOffset=void 0,e.lineJoin=void 0,e.lineWidth=void 0,e.miterLimit=void 0;return e}setFillStrokeStyle(t,e){const i=this.state;this.fillStyleToState(t,i),this.strokeStyleToState(e,i)}createFill(t){const e=t.fillStyle,i=[vp.SET_FILL_STYLE,e];return"string"!=typeof e&&i.push(t.fillPatternScale),i}applyStroke(t){this.instructions.push(this.createStroke(t))}createStroke(t){return[vp.SET_STROKE_STYLE,t.strokeStyle,t.lineWidth*this.pixelRatio,t.lineCap,t.lineJoin,t.miterLimit,t.lineDash?this.applyPixelRatio(t.lineDash):null,t.lineDashOffset*this.pixelRatio]}updateFillStyle(t,e){const i=t.fillStyle;"string"==typeof i&&t.currentFillStyle==i||(this.instructions.push(e.call(this,t)),t.currentFillStyle=i)}updateStrokeStyle(t,e){const i=t.strokeStyle,n=t.lineCap,r=t.lineDash,s=t.lineDashOffset,o=t.lineJoin,a=t.lineWidth,l=t.miterLimit;(t.currentStrokeStyle!=i||t.currentLineCap!=n||r!=t.currentLineDash&&!$e(t.currentLineDash,r)||t.currentLineDashOffset!=s||t.currentLineJoin!=o||t.currentLineWidth!=a||t.currentMiterLimit!=l)&&(e.call(this,t),t.currentStrokeStyle=i,t.currentLineCap=n,t.currentLineDash=r,t.currentLineDashOffset=s,t.currentLineJoin=o,t.currentLineWidth=a,t.currentMiterLimit=l)}endGeometry(t){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;const e=[vp.END_GEOMETRY,t];this.instructions.push(e),this.hitDetectionInstructions.push(e)}getBufferedMaxExtent(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=yn(this.maxExtent),this.maxLineWidth>0)){const t=this.resolution*(this.maxLineWidth+1)/2;vn(this.bufferedMaxExtent_,t,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_}};const wp=class extends yp{constructor(t,e,i,n){super(t,e,i,n),this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.anchorX_=void 0,this.anchorY_=void 0,this.height_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.scale_=void 0,this.width_=void 0,this.declutterMode_=void 0,this.declutterImageWithText_=void 0}drawPoint(t,e,i){if(!this.image_||this.maxExtent&&!xn(this.maxExtent,t.getFlatCoordinates()))return;this.beginGeometry(t,e,i);const n=t.getFlatCoordinates(),r=t.getStride(),s=this.coordinates.length,o=this.appendFlatPointCoordinates(n,r);this.instructions.push([vp.DRAW_IMAGE,s,o,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.
vendor: 21,649 bytes, line 2
2ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([vp.DRAW_IMAGE,s,o,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(e)}drawMultiPoint(t,e,i){if(!this.image_)return;this.beginGeometry(t,e,i);const n=t.getFlatCoordinates(),r=[];for(let e=0,i=n.length;e<i;e+=t.getStride())this.maxExtent&&!xn(this.maxExtent,n.slice(e,e+2))||r.push(n[e],n[e+1]);const s=this.coordinates.length,o=this.appendFlatPointCoordinates(r,2);this.instructions.push([vp.DRAW_IMAGE,s,o,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([vp.DRAW_IMAGE,s,o,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(e)}finish(){return this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0,super.finish()}setImageStyle(t,e){const i=t.getAnchor(),n=t.getSize(),r=t.getOrigin();this.imagePixelRatio_=t.getPixelRatio(this.pixelRatio),this.anchorX_=i[0],this.anchorY_=i[1],this.hitDetectionImage_=t.getHitDetectionImage(),this.image_=t.getImage(this.pixelRatio),this.height_=n[1],this.opacity_=t.getOpacity(),this.originX_=r[0],this.originY_=r[1],this.rotateWithView_=t.getRotateWithView(),this.rotation_=t.getRotation(),this.scale_=t.getScaleArray(),this.width_=n[0],this.declutterMode_=t.getDeclutterMode(),this.declutterImageWithText_=e}};const xp=class extends yp{constructor(t,e,i,n){super(t,e,i,n)}drawFlatCoordinates_(t,e,i,n){const r=this.coordinates.length,s=this.appendFlatLineCoordinates(t,e,i,n,!1,!1),o=[vp.MOVE_TO_LINE_TO,r,s];return this.instructions.push(o),this.hitDetectionInstructions.push(o),i}drawLineString(t,e,i){const n=this.state,r=n.strokeStyle,s=n.lineWidth;if(void 0===r||void 0===s)return;this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(t,e,i),this.hitDetectionInstructions.push([vp.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,Ah,0],mp);const o=t.getFlatCoordinates(),a=t.getStride();this.drawFlatCoordinates_(o,0,o.length,a),this.hitDetectionInstructions.push(gp),this.endGeometry(e)}drawMultiLineString(t,e,i){const n=this.state,r=n.strokeStyle,s=n.lineWidth;if(void 0===r||void 0===s)return;this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(t,e,i),this.hitDetectionInstructions.push([vp.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,Ah,0],mp);const o=t.getEnds(),a=t.getFlatCoordinates(),l=t.getStride();let c=0;for(let t=0,e=o.length;t<e;++t)c=this.drawFlatCoordinates_(a,c,o[t],l);this.hitDetectionInstructions.push(gp),this.endGeometry(e)}finish(){const t=this.state;return null!=t.lastStroke&&t.lastStroke!=this.coordinates.length&&this.instructions.push(gp),this.reverseHitDetectionInstructions(),this.state=null,super.finish()}applyStroke(t){null!=t.lastStroke&&t.lastStroke!=this.coordinates.length&&(this.instructions.push(gp),t.lastStroke=this.coordinates.length),t.lastStroke=0,super.applyStroke(t),this.instructions.push(mp)}};const bp=class extends yp{constructor(t,e,i,n){super(t,e,i,n)}drawFlatCoordinatess_(t,e,i,n){const r=this.state,s=void 0!==r.fillStyle,o=void 0!==r.strokeStyle,a=i.length;this.instructions.push(mp),this.hitDetectionInstructions.push(mp);for(let r=0;r<a;++r){const s=i[r],a=this.coordinates.length,l=this.appendFlatLineCoordinates(t,e,s,n,!0,!o),c=[vp.MOVE_TO_LINE_TO,a,l];this.instructions.push(c),this.hitDetectionInstructions.push(c),o&&(this.instructions.push(_p),this.hitDetectionInstructions.push(_p)),e=s}return s&&(this.instructions.push(fp),this.hitDetectionInstructions.push(fp)),o&&(this.instructions.push(gp),this.hitDetectionInstructions.push(gp)),e}drawCircle(t,e,i){const n=this.state,r=n.fillStyle,s=n.strokeStyle;if(void 0===r&&void 0===s)return;this.setFillStrokeStyles_(),this.beginGeometry(t,e,i),void 0!==n.fillStyle&&this.hitDetectionInstructions.push([vp.SET_FILL_STYLE,Ch]),void 0!==n.strokeStyle&&this.hitDetectionInstructions.push([vp.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,Ah,0]);const o=t.getFlatCoordinates(),a=t.getStride(),l=this.coordinates.length;this.appendFlatLineCoordinates(o,0,o.length,a,!1,!1);const c=[vp.CIRCLE,l];this.instructions.push(mp,c),this.hitDetectionInstructions.push(mp,c),void 0!==n.fillStyle&&(this.instructions.push(fp),this.hitDetectionInstructions.push(fp)),void 0!==n.strokeStyle&&(this.instructions.push(gp),this.hitDetectionInstructions.push(gp)),this.endGeometry(e)}drawPolygon(t,e,i){const n=this.state,r=n.fillStyle,s=n.strokeStyle;if(void 0===r&&void 0===s)return;this.setFillStrokeStyles_(),this.beginGeometry(t,e,i),void 0!==n.fillStyle&&this.hitDetectionInstructions.push([vp.SET_FILL_STYLE,Ch]),void 0!==n.strokeStyle&&this.hitDetectionInstructions.push([vp.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,Ah,0]);const o=t.getEnds(),a=t.getOrientedFlatCoordinates(),l=t.getStride();this.drawFlatCoordinatess_(a,0,o,l),this.endGeometry(e)}drawMultiPolygon(t,e,i){const n=this.state,r=n.fillStyle,s=n.strokeStyle;if(void 0===r&&void 0===s)return;this.setFillStrokeStyles_(),this.beginGeometry(t,e,i),void 0!==n.fillStyle&&this.hitDetectionInstructions.push([vp.SET_FILL_STYLE,Ch]),void 0!==n.strokeStyle&&this.hitDetectionInstructions.push([vp.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,Ah,0]);const o=t.getEndss(),a=t.getOrientedFlatCoordinates(),l=t.getStride();let c=0;for(let t=0,e=o.length;t<e;++t)c=this.drawFlatCoordinatess_(a,c,o[t],l);this.endGeometry(e)}finish(){this.reverseHitDetectionInstructions(),this.state=null;const t=this.tolerance;if(0!==t){const e=this.coordinates;for(let i=0,n=e.length;i<n;++i)e[i]=eo(e[i],t)}return super.finish()}setFillStrokeStyles_(){const t=this.state;this.updateFillStyle(t,this.createFill),this.updateStrokeStyle(t,this.applyStroke)}};function Ep(t,e,i,n,r){const s=[];let o=i,a=0,l=e.slice(i,2);for(;a<t&&o+r<n;){const[i,n]=l.slice(-2),c=e[o+r],h=e[o+r+1],d=Math.sqrt((c-i)*(c-i)+(h-n)*(h-n));if(a+=d,a>=t){const e=(t-a+d)/d,u=rn(i,c,e),p=rn(n,h,e);l.push(u,p),s.push(l),l=[u,p],a==t&&(o+=r),a=0}else if(a<t)l.push(e[o+r],e[o+r+1]),o+=r;else{const t=d-a,e=rn(i,c,t/d),u=rn(n,h,t/d);l.push(e,u),s.push(l),l=[e,u],a=0,o+=r}}return a>0&&s.push(l),s}function Sp(t,e,i,n,r){let s,o,a,l,c,h,d,u,p,f,g=i,m=i,_=0,v=0,y=i;for(o=i;o<n;o+=r){const i=e[o],n=e[o+1];void 0!==c&&(p=i-c,f=n-h,l=Math.sqrt(p*p+f*f),void 0!==d&&(v+=a,s=Math.acos((d*p+u*f)/(a*l)),s>t&&(v>_&&(_=v,g=y,m=o),v=0,y=o-r)),a=l,d=p,u=f),c=i,h=n}return v+=l,v>_?[y,o]:[g,m]}const Cp={left:0,center:.5,right:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1};const Tp=class extends yp{constructor(t,e,i,n){super(t,e,i,n),this.labels_=null,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=void 0,this.textKeepUpright_=void 0,this.textRotation_=0,this.textFillState_=null,this.fillStates={},this.fillStates[Ch]={fillStyle:Ch},this.textStrokeState_=null,this.strokeStates={},this.textState_={},this.textStates={},this.textKey_="",this.fillKey_="",this.strokeKey_="",this.declutterMode_=void 0,this.declutterImageWithText_=void 0}finish(){const t=super.finish();return t.textStates=this.textStates,t.fillStates=this.fillStates,t.strokeStates=this.strokeStates,t}drawText(t,e,i){const n=this.textFillState_,r=this.textStrokeState_,s=this.textState_;if(""===this.text_||!s||!n&&!r)return;const o=this.coordinates;let a=o.length;const l=t.getType();let c=null,h=t.getStride();if("line"!==s.placement||"LineString"!=l&&"MultiLineString"!=l&&"Polygon"!=l&&"MultiPolygon"!=l){let n=s.overflow?null:[];switch(l){case"Point":case"MultiPoint":c=t.getFlatCoordinates();break;case"LineString":c=t.getFlatMidpoint();break;case"Circle":c=t.getCenter();break;case"MultiLineString":c=t.getFlatMidpoints(),h=2;break;case"Polygon":c=t.getFlatInteriorPoint(),s.overflow||n.push(c[2]/this.resolution),h=3;break;case"MultiPolygon":const e=t.getFlatInteriorPoints();c=[];for(let t=0,i=e.length;t<i;t+=3)s.overflow||n.push(e[t+2]/this.resolution),c.push(e[t],e[t+1]);if(0===c.length)return;h=2}const r=this.appendFlatPointCoordinates(c,h);if(r===a)return;if(n&&(r-a)/2!==c.length/h){let t=a/2;n=n.filter((e,i)=>{const n=o[2*(t+i)]===c[i*h]&&o[2*(t+i)+1]===c[i*h+1];return n||--t,n})}this.saveTextStates_();const d=s.backgroundFill?this.createFill(this.fillStyleToState(s.backgroundFill)):null,u=s.backgroundStroke?this.createStroke(this.strokeStyleToState(s.backgroundStroke)):null;this.beginGeometry(t,e,i);let p=s.padding;if(p!=Lh&&(s.scale[0]<0||s.scale[1]<0)){let t=s.padding[0],e=s.padding[1],i=s.padding[2],n=s.padding[3];s.scale[0]<0&&(e=-e,n=-n),s.scale[1]<0&&(t=-t,i=-i),p=[t,e,i,n]}const f=this.pixelRatio;this.instructions.push([vp.DRAW_IMAGE,a,r,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[1,1],NaN,this.declutterMode_,this.declutterImageWithText_,p==Lh?Lh:p.map(function(t){return t*f}),d,u,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,n]);const g=1/f,m=d?d.slice(0):null;m&&(m[1]=Ch),this.hitDetectionInstructions.push([vp.DRAW_IMAGE,a,r,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[g,g],NaN,this.declutterMode_,this.declutterImageWithText_,p,m,u,this.text_,this.textKey_,this.strokeKey_,this.fillKey_?Ch:this.fillKey_,this.textOffsetX_,this.textOffsetY_,n]),this.endGeometry(e)}else{if(!Hn(this.maxExtent,t.getExtent()))return;let n;if(c=t.getFlatCoordinates(),"LineString"==l)n=[c.length];else if("MultiLineString"==l)n=t.getEnds();else if("Polygon"==l)n=t.getEnds().slice(0,1);else if("MultiPolygon"==l){const e=t.getEndss();n=[];for(let t=0,i=e.length;t<i;++t)n.push(e[t][0])}this.beginGeometry(t,e,i);const r=s.repeat,d=r?void 0:s.textAlign;let u=0;for(let t=0,e=n.length;t<e;++t){let e;e=r?Ep(r*this.resolution,c,u,n[t],h):[c.slice(u,n[t])];for(let i=0,r=e.length;i<r;++i){const r=e[i];let l=0,c=r.length;if(null==d){const t=Sp(s.maxAngle,r,0,r.length,2);l=t[0],c=t[1]}for(let t=l;t<c;t+=h)o.push(r[t],r[t+1]);const p=o.length;u=n[t],this.drawChars_(a,p),a=p}}this.endGeometry(e)}}saveTextStates_(){const t=this.textStrokeState_,e=this.textState_,i=this.textFillState_,n=this.strokeKey_;t&&(n in this.strokeStates||(this.strokeStates[n]={strokeStyle:t.strokeStyle,lineCap:t.lineCap,lineDashOffset:t.lineDashOffset,lineWidth:t.lineWidth,lineJoin:t.lineJoin,miterLimit:t.miterLimit,lineDash:t.lineDash}));const r=this.textKey_;r in this.textStates||(this.textStates[r]={font:e.font,textAlign:e.textAlign||Ih,justify:e.justify,textBaseline:e.textBaseline||Rh,scale:e.scale});const s=this.fillKey_;i&&(s in this.fillStates||(this.fillStates[s]={fillStyle:i.fillStyle}))}drawChars_(t,e){const i=this.textStrokeState_,n=this.textState_,r=this.strokeKey_,s=this.textKey_,o=this.fillKey_;this.saveTextStates_();const a=this.pixelRatio,l=Cp[n.textBaseline],c=this.textOffsetY_*a,h=this.text_,d=i?i.lineWidth*Math.abs(n.scale[0])/2:0;this.instructions.push([vp.DRAW_CHARS,t,e,l,n.overflow,o,n.maxAngle,a,c,r,d*a,h,s,1,this.declutterMode_,this.textKeepUpright_]),this.hitDetectionInstructions.push([vp.DRAW_CHARS,t,e,l,n.overflow,o?Ch:o,n.maxAngle,a,c,r,d*a,h,s,1/a,this.declutterMode_,this.textKeepUpright_])}setTextStyle(t,e){let i,n,r;if(t){const e=t.getFill();e?(n=this.textFillState_,n||(n={},this.textFillState_=n),n.fillStyle=Eh(e.getColor()||Ch)):(n=null,this.textFillState_=n);const s=t.getStroke();if(s){r=this.textStrokeState_,r||(r={},this.textStrokeState_=r);const t=s.getLineDash(),e=s.getLineDashOffset(),i=s.getWidth(),n=s.getMiterLimit();r.lineCap=s.getLineCap()||Th,r.lineDash=t?t.slice():Ah,r.lineDashOffset=void 0===e?0:e,r.lineJoin=s.getLineJoin()||kh,r.lineWidth=void 0===i?1:i,r.miterLimit=void 0===n?10:n,r.strokeStyle=Eh(s.getColor()||Mh)}else r=null,this.textStrokeState_=r;i=this.textState_;const o=t.getFont()||Sh;Bh(o);const a=t.getScaleArray();i.overflow=t.getOverflow(),i.font=o,i.maxAngle=t.getMaxAngle(),i.placement=t.getPlacement(),i.textAlign=t.getTextAlign(),i.repeat=t.getRepeat(),i.justify=t.getJustify(),i.textBaseline=t.getTextBaseline()||Rh,i.backgroundFill=t.getBackgroundFill(),i.backgroundStroke=t.getBackgroundStroke(),i.padding=t.getPadding()||Lh,i.scale=void 0===a?[1,1]:a;const l=t.getOffsetX(),c=t.getOffsetY(),h=t.getRotateWithView(),d=t.getKeepUpright(),u=t.getRotation();this.text_=t.getText()||"",this.textOffsetX_=void 0===l?0:l,this.textOffsetY_=void 0===c?0:c,this.textRotateWithView_=void 0!==h&&h,this.textKeepUpright_=void 0===d||d,this.textRotation_=void 0===u?0:u,this.strokeKey_=r?("string"==typeof r.strokeStyle?r.strokeStyle:di(r.strokeStyle))+r.lineCap+r.lineDashOffset+"|"+r.lineWidth+r.lineJoin+r.miterLimit+"["+r.lineDash.join()+"]":"",this.textKey_=i.font+i.scale+(i.textAlign||"?")+(i.repeat||"?")+(i.justify||"?")+(i.textBaseline||"?"),this.fillKey_=n&&n.fillStyle?"string"==typeof n.fillStyle?n.fillStyle:"|"+di(n.fillStyle):""}else this.text_="";this.declutterMode_=t.getDeclutterMode(),this.declutterImageWithText_=e}},Ap={Circle:bp,Default:yp,Image:wp,LineString:xp,Polygon:bp,Text:Tp};const kp=class{constructor(t,e,i,n){this.tolerance_=t,this.maxExtent_=e,this.pixelRatio_=n,this.resolution_=i,this.buildersByZIndex_={}}finish(){const t={};for(const e in this.buildersByZIndex_){t[e]=t[e]||{};const i=this.buildersByZIndex_[e];for(const n in i){const r=i[n].finish();t[e][n]=r}}return t}getBuilder(t,e){const i=void 0!==t?t.toString():"0";let n=this.buildersByZIndex_[i];void 0===n&&(n={},this.buildersByZIndex_[i]=n);let r=n[e];if(void 0===r){r=new(0,Ap[e])(this.tolerance_,this.maxExtent_,this.resolution_,this.pixelRatio_),n[e]=r}return r}};function Mp(t,e,i,n){let r=t[e],s=t[e+1],o=0;for(let a=e+n;a<i;a+=n){const e=t[a],i=t[a+1];o+=Math.sqrt((e-r)*(e-r)+(i-s)*(i-s)),r=e,s=i}return o}function Ip(t,e,i,n,r,s,o,a,l,c,h,d,u=!0){let p=t[e],f=t[e+1],g=0,m=0,_=0,v=0;function y(){g=p,m=f,p=t[e+=n],f=t[e+1],v+=_,_=Math.sqrt((p-g)*(p-g)+(f-m)*(f-m))}do{y()}while(e<i-n&&v+_<s);let w=0===_?0:(s-v)/_;const x=rn(g,p,w),b=rn(m,f,w),E=e-n,S=v,C=s+a*l(c,r,h);for(;e<i-n&&v+_<C;)y();w=0===_?0:(C-v)/_;const T=rn(g,p,w),A=rn(m,f,w);let k=!1;if(u)if(d){const t=[x,b,T,A];Os(t,0,4,2,d,t,t),k=t[0]>t[2]}else k=x>T;const M=Math.PI,I=[],R=E+n===e;let L;if(_=0,v=S,p=t[e=E],f=t[e+1],R){y(),L=Math.atan2(f-m,p-g),k&&(L+=L>0?-M:M);const t=(T+x)/2,e=(A+b)/2;return I[0]=[t,e,(C-s)/2,L,r],I}for(let t=0,d=(r=r.replace(/\n/g," ")).length;t<d;){y();let u=Math.atan2(f-m,p-g);if(k&&(u+=u>0?-M:M),void 0!==L){let t=u-L;if(t+=t>M?-2*M:t<-M?2*M:0,Math.abs(t)>o)return null}L=u;const x=t;let b=0;for(;t<d;++t){const o=a*l(c,r[k?d-t-1:t],h);if(e+n<i&&v+_<s+b+o/2)break;b+=o}if(t===x)continue;const E=k?r.substring(d-x,d-t):r.substring(x,t);w=0===_?0:(s+b/2-v)/_;const S=rn(g,p,w),C=rn(m,f,w);I.push([S,C,b/2,u,E]),s+=b}return I}const Rp=[1/0,1/0,-1/0,-1/0],Lp=[],Pp=[],Dp=[],Op=[];function Fp(t){return t[3].declutterBox}const zp=new RegExp("["+String.fromCharCode(1425)+"-"+String.fromCharCode(2303)+String.fromCharCode(64285)+"-"+String.fromCharCode(65023)+String.fromCharCode(65136)+"-"+String.fromCharCode(65276)+String.fromCharCode(67584)+"-"+String.fromCharCode(69631)+String.fromCharCode(124928)+"-"+String.fromCharCode(126975)+"]");function Np(t,e){return"start"===e?e=zp.test(t)?"right":"left":"end"===e&&(e=zp.test(t)?"left":"right"),Cp[e]}function Bp(t,e,i){return i>0&&t.push("\n",""),t.push(e,""),t}function jp(t,e,i){return i%2==0&&(t+=e),t}const Gp=class{constructor(t,e,i,n,r){this.overlaps=i,this.pixelRatio=e,this.resolution=t,this.alignAndScaleFill_,this.instructions=n.instructions,this.coordinates=n.coordinates,this.coordinateCache_={},this.renderedTransform_=[1,0,0,1,0,0],this.hitDetectionInstructions=n.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=n.fillStates||{},this.strokeStates=n.strokeStates||{},this.textStates=n.textStates||{},this.widths_={},this.labels_={},this.zIndexContext_=r?new du:null}getZIndexContext(){return this.zIndexContext_}createLabel(t,e,i,n){const r=t+e+i+n;if(this.labels_[r])return this.labels_[r];const s=n?this.strokeStates[n]:null,o=i?this.fillStates[i]:null,a=this.textStates[e],l=this.pixelRatio,c=[a.scale[0]*l,a.scale[1]*l],h=a.justify?Cp[a.justify]:Np(Array.isArray(t)?t[0]:t,a.textAlign||Ih),d=n&&s.lineWidth?s.lineWidth:0,u=Array.isArray(t)?t:String(t).split("\n").reduce(Bp,[]),{width:p,height:f,widths:g,heights:m,lineWidths:_}=function(t,e){const i=[],n=[],r=[];let s=0,o=0,a=0,l=0;for(let c=0,h=e.length;c<=h;c+=2){const d=e[c];if("\n"===d||c===h){s=Math.max(s,o),r.push(o),o=0,a+=l,l=0;continue}const u=e[c+1]||t.font,p=Wh(u,d);i.push(p),o+=p;const f=jh(u);n.push(f),l=Math.max(l,f)}return{width:s,height:a,widths:i,heights:n,lineWidths:r}}(a,u),v=p+d,y=[],w=(v+2)*c[0],x=(f+d)*c[1],b={width:w<0?Math.floor(w):Math.ceil(w),height:x<0?Math.floor(x):Math.ceil(x),contextInstructions:y};1==c[0]&&1==c[1]||y.push("scale",c),n&&(y.push("strokeStyle",s.strokeStyle),y.push("lineWidth",d),y.push("lineCap",s.lineCap),y.push("lineJoin",s.lineJoin),y.push("miterLimit",s.miterLimit),y.push("setLineDash",[s.lineDash]),y.push("lineDashOffset",s.lineDashOffset)),i&&y.push("fillStyle",o.fillStyle),y.push("textBaseline","middle"),y.push("textAlign","center");const E=.5-h;let S=h*v+E*d;const C=[],T=[];let A,k=0,M=0,I=0,R=0;for(let t=0,e=u.length;t<e;t+=2){const e=u[t];if("\n"===e){M+=k,k=0,S=h*v+E*d,++R;continue}const r=u[t+1]||a.font;r!==A&&(n&&C.push("font",r),i&&T.push("font",r),A=r),k=Math.max(k,m[I]);const s=[e,S+E*g[I]+h*(g[I]-_[R]),.5*(d+k)+M];S+=g[I],n&&C.push("strokeText",s),i&&T.push("fillText",s),++I}return Array.prototype.push.apply(y,C),Array.prototype.push.apply(y,T),this.labels_[r]=b,b}replayTextBackground_(t,e,i,n,r,s,o){t.beginPath(),t.moveTo.apply(t,e),t.lineTo.apply(t,i),t.lineTo.apply(t,n),t.lineTo.apply(t,r),t.lineTo.apply(t,e),s&&(this.alignAndScaleFill_=s[2],t.fillStyle=s[1],this.fill_(t)),o&&(this.setStrokeStyle_(t,o),t.stroke())}calculateImageOrLabelDimensions_(t,e,i,n,r,s,o,a,l,c,h,d,u,p,f,g){let m=i-(o*=d[0]),_=n-(a*=d[1]);const v=r+l>t?t-l:r,y=s+c>e?e-c:s,w=p[3]+v*d[0]+p[1],x=p[0]+y*d[1]+p[2],b=m-p[3],E=_-p[0];let S;return(f||0!==h)&&(Lp[0]=b,Op[0]=b,Lp[1]=E,Pp[1]=E,Pp[0]=b+w,Dp[0]=Pp[0],Dp[1]=E+x,Op[1]=Dp[1]),0!==h?(S=Ms([1,0,0,1,0,0],i,n,1,1,h,-i,-n),ks(S,Lp),ks(S,Pp),ks(S,Dp),ks(S,Op),Tn(Math.min(Lp[0],Pp[0],Dp[0],Op[0]),Math.min(Lp[1],Pp[1],Dp[1],Op[1]),Math.max(Lp[0],Pp[0],Dp[0],Op[0]),Math.max(Lp[1],Pp[1],Dp[1],Op[1]),Rp)):Tn(Math.min(b,b+w),Math.min(E,E+x),Math.max(b,b+w),Math.max(E,E+x),Rp),u&&(m=Math.round(m),_=Math.round(_)),{drawImageX:m,drawImageY:_,drawImageW:v,drawImageH:y,originX:l,originY:c,declutterBox:{minX:Rp[0],minY:Rp[1],maxX:Rp[2],maxY:Rp[3],value:g},canvasTransform:S,scale:d}}replayImageOrLabel_(t,e,i,n,r,s,o){const a=!(!s&&!o),l=n.declutterBox,c=o?o[2]*n.scale[0]/2:0;return l.minX-c<=e[0]&&l.maxX+c>=0&&l.minY-c<=e[1]&&l.maxY+c>=0&&(a&&this.replayTextBackground_(t,Lp,Pp,Dp,Op,s,o),Uh(t,n.canvasTransform,r,i,n.originX,n.originY,n.drawImageW,n.drawImageH,n.drawImageX,n.drawImageY,n.scale)),!0}fill_(t){const e=this.alignAndScaleFill_;if(e){const i=ks(this.renderedTransform_,[0,0]),n=512*this.pixelRatio;t.save(),t.translate(i[0]%n,i[1]%n),1!==e&&t.scale(e,e),t.rotate(this.viewRotation_)}t.fill(),e&&t.restore()}setStrokeStyle_(t,e){t.strokeStyle=e[1],e[1]&&(t.lineWidth=e[2],t.lineCap=e[3],t.lineJoin=e[4],t.miterLimit=e[5],t.lineDashOffset=e[7],t.setLineDash(e[6]))}drawLabelWithPointPlacement_(t,e,i,n){const r=this.textStates[e],s=this.createLabel(t,e,n,i),o=this.strokeStates[i],a=this.pixelRatio,l=Np(Array.isArray(t)?t[0]:t,r.textAlign||Ih),c=Cp[r.textBaseline||Rh],h=o&&o.lineWidth?o.lineWidth:0;return{label:s,anchorX:l*(s.width/a-2*r.scale[0])+2*(.5-l)*h,anchorY:c*s.height/a+2*(.5-c)*h}}execute_(t,e,i,n,r,s,o,a){const l=this.zIndexContext_;let c;var h,d;this.pixelCoordinates_&&$e(i,this.renderedTransform_)?c=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),c=Ds(this.coordinates,0,this.coordinates.length,2,i,this.pixelCoordinates_),h=this.renderedTransform_,d=i,h[0]=d[0],h[1]=d[1],h[2]=d[2],h[3]=d[3],h[4]=d[4],h[5]=d[5]);let u=0;const p=n.length;let f,g,m,_,v,y,w,x,b,E,S,C,T,A=0,k=0,M=0;const I=this.coordinateCache_,R=this.viewRotation_,L=Math.round(1e12*Math.atan2(-i[1],i[0]))/1e12,P={context:t,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:R},D=this.instructions!=n||this.overlaps?0:200;let O,F,z,N;for(;u<p;){const i=n[u];
2switch(i[0]){case vp.BEGIN_GEOMETRY:O=i[1],N=i[3],O.getGeometry()?void 0===o||Hn(o,N.getExtent())?++u:u=i[2]+1:u=i[2],l&&(l.zIndex=i[4]);break;case vp.BEGIN_PATH:k>D&&(this.fill_(t),k=0),M>D&&(t.stroke(),M=0),k||M||(t.beginPath(),v=NaN,y=NaN),++u;break;case vp.CIRCLE:A=i[1];const n=c[A],h=c[A+1],d=c[A+2]-n,p=c[A+3]-h,B=Math.sqrt(d*d+p*p);t.moveTo(n+B,h),t.arc(n,h,B,0,2*Math.PI,!0),++u;break;case vp.CLOSE_PATH:t.closePath(),++u;break;case vp.CUSTOM:A=i[1],f=i[2];const j=i[3],G=i[4],W=i[5];P.geometry=j,P.feature=O,u in I||(I[u]=[]);const Y=I[u];W?W(c,A,f,2,Y):(Y[0]=c[A],Y[1]=c[A+1],Y.length=2),l&&(l.zIndex=i[6]),G(Y,P),++u;break;case vp.DRAW_IMAGE:A=i[1],f=i[2],b=i[3],g=i[4],m=i[5];let U=i[6];const X=i[7],q=i[8],H=i[9],$=i[10];let V=i[11];const K=i[12];let Z=i[13];_=i[14]||"declutter";const J=i[15];if(!b&&i.length>=20){E=i[19],S=i[20],C=i[21],T=i[22];const t=this.drawLabelWithPointPlacement_(E,S,C,T);b=t.label,i[3]=b;const e=i[23];g=(t.anchorX-e)*this.pixelRatio,i[4]=g;const n=i[24];m=(t.anchorY-n)*this.pixelRatio,i[5]=m,U=b.height,i[6]=U,Z=b.width,i[13]=Z}let Q,tt,et,it;i.length>25&&(Q=i[25]),i.length>17?(tt=i[16],et=i[17],it=i[18]):(tt=Lh,et=null,it=null),$&&L?V+=R:$||L||(V-=R);let nt=0;for(;A<f;A+=2){if(Q&&Q[nt++]<Z/this.pixelRatio)continue;const i=this.calculateImageOrLabelDimensions_(b.width,b.height,c[A],c[A+1],Z,U,g,m,q,H,V,K,r,tt,!!et||!!it,O),n=[t,e,b,i,X,et,it];if(a){let t,e,r,s,o;if(J){const i=f-A;if(!J[i]){J[i]={args:n,declutterMode:_};continue}const s=J[i];t=s.args,e=s.declutterMode,delete J[i],r=Fp(t)}if(!t||"declutter"===e&&a.collides(r)||(s=!0),"declutter"===_&&a.collides(i.declutterBox)||(o=!0),"declutter"===e&&"declutter"===_){const t=s&&o;s=t,o=t}s&&("none"!==e&&a.insert(r),this.replayImageOrLabel_.apply(this,t)),o&&("none"!==_&&a.insert(i.declutterBox),this.replayImageOrLabel_.apply(this,n))}else this.replayImageOrLabel_.apply(this,n)}++u;break;case vp.DRAW_CHARS:const rt=i[1],st=i[2],ot=i[3],at=i[4];T=i[5];const lt=i[6],ct=i[7],ht=i[8];C=i[9];const dt=i[10];E=i[11],Array.isArray(E)&&(E=E.reduce(jp,"")),S=i[12];const ut=[i[13],i[13]];_=i[14]||"declutter";const pt=i[15],ft=this.textStates[S],gt=ft.font,mt=[ft.scale[0]*ct,ft.scale[1]*ct];let _t;gt in this.widths_?_t=this.widths_[gt]:(_t={},this.widths_[gt]=_t);const vt=Mp(c,rt,st,2),yt=Math.abs(mt[0])*Yh(gt,E,_t);if(at||yt<=vt){const i=Ip(c,rt,st,2,E,(vt-yt)*Np(E,this.textStates[S].textAlign),lt,Math.abs(mt[0]),Yh,gt,_t,L?0:this.viewRotation_,pt);t:if(i){const n=[];let r,s,o,l,c;if(C)for(r=0,s=i.length;r<s;++r){c=i[r],o=c[4],l=this.createLabel(o,S,"",C),g=c[2]+(mt[0]<0?-dt:dt),m=ot*l.height+2*(.5-ot)*dt*mt[1]/mt[0]-ht;const s=this.calculateImageOrLabelDimensions_(l.width,l.height,c[0],c[1],l.width,l.height,g,m,0,0,c[3],ut,!1,Lh,!1,O);if(a&&"declutter"===_&&a.collides(s.declutterBox))break t;n.push([t,e,l,s,1,null,null])}if(T)for(r=0,s=i.length;r<s;++r){c=i[r],o=c[4],l=this.createLabel(o,S,T,""),g=c[2],m=ot*l.height-ht;const s=this.calculateImageOrLabelDimensions_(l.width,l.height,c[0],c[1],l.width,l.height,g,m,0,0,c[3],ut,!1,Lh,!1,O);if(a&&"declutter"===_&&a.collides(s.declutterBox))break t;n.push([t,e,l,s,1,null,null])}a&&"none"!==_&&a.load(n.map(Fp));for(let t=0,e=n.length;t<e;++t)this.replayImageOrLabel_.apply(this,n[t])}}++u;break;case vp.END_GEOMETRY:if(void 0!==s){O=i[1];const t=s(O,N,_);if(t)return t}++u;break;case vp.FILL:D?k++:this.fill_(t),++u;break;case vp.MOVE_TO_LINE_TO:for(A=i[1],f=i[2],F=c[A],z=c[A+1],t.moveTo(F,z),v=F+.5|0,y=z+.5|0,A+=2;A<f;A+=2)F=c[A],z=c[A+1],w=F+.5|0,x=z+.5|0,A!=f-2&&w===v&&x===y||(t.lineTo(F,z),v=w,y=x);++u;break;case vp.SET_FILL_STYLE:this.alignAndScaleFill_=i[2],k&&(this.fill_(t),k=0,M&&(t.stroke(),M=0)),t.fillStyle=i[1],++u;break;case vp.SET_STROKE_STYLE:M&&(t.stroke(),M=0),this.setStrokeStyle_(t,i),++u;break;case vp.STROKE:D?M++:t.stroke(),++u;break;default:++u}}k&&this.fill_(t),M&&t.stroke()}execute(t,e,i,n,r,s){this.viewRotation_=n,this.execute_(t,e,i,this.instructions,r,void 0,void 0,s)}executeHitDetection(t,e,i,n,r){return this.viewRotation_=i,this.execute_(t,[t.canvas.width,t.canvas.height],e,this.hitDetectionInstructions,!0,n,r)}},Wp=["Polygon","Circle","LineString","Image","Text","Default"],Yp=["Image","Text"],Up=Wp.filter(t=>!Yp.includes(t));const Xp={};const qp=class{constructor(t,e,i,n,r,s,o){this.maxExtent_=t,this.overlaps_=n,this.pixelRatio_=i,this.resolution_=e,this.renderBuffer_=s,this.executorsByZIndex_
vendor: 21,524 bytes, line 2
2={},this.hitDetectionContext_=null,this.hitDetectionTransform_=[1,0,0,1,0,0],this.renderedContext_=null,this.deferredZIndexContexts_={},this.createExecutors_(r,o)}clip(t,e){const i=this.getClipCoords(e);t.beginPath(),t.moveTo(i[0],i[1]),t.lineTo(i[2],i[3]),t.lineTo(i[4],i[5]),t.lineTo(i[6],i[7]),t.clip()}createExecutors_(t,e){for(const i in t){let n=this.executorsByZIndex_[i];void 0===n&&(n={},this.executorsByZIndex_[i]=n);const r=t[i];for(const t in r){const i=r[t];n[t]=new Gp(this.resolution_,this.pixelRatio_,this.overlaps_,i,e)}}}hasExecutors(t){for(const e in this.executorsByZIndex_){const i=this.executorsByZIndex_[e];for(let e=0,n=t.length;e<n;++e)if(t[e]in i)return!0}return!1}forEachFeatureAtCoordinate(t,e,i,n,r,s){const o=2*(n=Math.round(n))+1,a=Ms(this.hitDetectionTransform_,n+.5,n+.5,1/e,-1/e,-i,-t[0],-t[1]),l=!this.hitDetectionContext_;l&&(this.hitDetectionContext_=Go(o,o));const c=this.hitDetectionContext_;let h;c.canvas.width!==o||c.canvas.height!==o?(c.canvas.width=o,c.canvas.height=o):l||c.clearRect(0,0,o,o),void 0!==this.renderBuffer_&&(h=[1/0,1/0,-1/0,-1/0],Rn(h,t),vn(h,e*(this.renderBuffer_+n),h));const d=function(t){if(void 0!==Xp[t])return Xp[t];const e=2*t+1,i=t*t,n=new Array(i+1);for(let r=0;r<=t;++r)for(let s=0;s<=t;++s){const o=r*r+s*s;if(o>i)break;let a=n[o];a||(a=[],n[o]=a),a.push(4*((t+r)*e+(t+s))+3),r>0&&a.push(4*((t-r)*e+(t+s))+3),s>0&&(a.push(4*((t+r)*e+(t-s))+3),r>0&&a.push(4*((t-r)*e+(t-s))+3))}const r=[];for(let t=0,e=n.length;t<e;++t)n[t]&&r.push(...n[t]);return Xp[t]=r,r}(n);let u;function p(t,e,i){const a=c.getImageData(0,0,o,o).data;for(let l=0,h=d.length;l<h;l++)if(a[d[l]]>0){if(!s||"none"===i||"Image"!==u&&"Text"!==u||s.includes(t)){const i=(d[l]-3)/4,s=n-i%o,a=n-(i/o|0),c=r(t,e,s*s+a*a);if(c)return c}c.clearRect(0,0,o,o);break}}const f=Object.keys(this.executorsByZIndex_).map(Number);let g,m,_,v,y;for(f.sort(Ye),g=f.length-1;g>=0;--g){const t=f[g].toString();for(_=this.executorsByZIndex_[t],m=Wp.length-1;m>=0;--m)if(u=Wp[m],v=_[u],void 0!==v&&(y=v.executeHitDetection(c,a,i,p,h),y))return y}}getClipCoords(t){const e=this.maxExtent_;if(!e)return null;const i=e[0],n=e[1],r=e[2],s=e[3],o=[i,n,i,s,r,s,r,n];return Ds(o,0,8,2,t,o),o}isEmpty(){return ei(this.executorsByZIndex_)}execute(t,e,i,n,r,s,o){const a=Object.keys(this.executorsByZIndex_).map(Number);a.sort(o?Ue:Ye),s=s||Wp;const l=Wp.length;for(let c=0,h=a.length;c<h;++c){const h=a[c].toString(),d=this.executorsByZIndex_[h];for(let h=0,u=s.length;h<u;++h){const u=s[h],p=d[u];if(void 0!==p){const s=null===o?void 0:p.getZIndexContext(),h=s?s.getContext():t,d=this.maxExtent_&&"Image"!==u&&"Text"!==u;if(d&&(h.save(),this.clip(h,i)),s&&"Text"!==u&&"Image"!==u?s.pushFunction(t=>p.execute(t,e,i,n,r,o)):p.execute(h,e,i,n,r,o),d&&h.restore(),s){s.offset();const t=a[c]*l+Wp.indexOf(u);this.deferredZIndexContexts_[t]||(this.deferredZIndexContexts_[t]=[]),this.deferredZIndexContexts_[t].push(s)}}}}this.renderedContext_=t}getDeferredZIndexContexts(){return this.deferredZIndexContexts_}getRenderedContext(){return this.renderedContext_}renderDeferred(){const t=this.deferredZIndexContexts_,e=Object.keys(t).map(Number).sort(Ye);for(let i=0,n=e.length;i<n;++i)t[e[i]].forEach(t=>{t.draw(this.renderedContext_),t.clear()}),t[e[i]].length=0}};const Hp=class extends up{constructor(t,e,i,n,r,s,o){super(),this.context_=t,this.pixelRatio_=e,this.extent_=i,this.transform_=n,this.transformRotation_=n?sn(Math.atan2(n[1],n[0]),10):0,this.viewRotation_=r,this.squaredTolerance_=s,this.userTransform_=o,this.contextFillState_=null,this.contextStrokeState_=null,this.contextTextState_=null,this.fillState_=null,this.strokeState_=null,this.image_=null,this.imageAnchorX_=0,this.imageAnchorY_=0,this.imageHeight_=0,this.imageOpacity_=0,this.imageOriginX_=0,this.imageOriginY_=0,this.imageRotateWithView_=!1,this.imageRotation_=0,this.imageScale_=[0,0],this.imageWidth_=0,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=!1,this.textRotation_=0,this.textScale_=[0,0],this.textFillState_=null,this.textStrokeState_=null,this.textState_=null,this.pixelCoordinates_=[],this.tmpLocalTransform_=[1,0,0,1,0,0]}drawImages_(t,e,i,n){if(!this.image_)return;const r=Ds(t,e,i,n,this.transform_,this.pixelCoordinates_),s=this.context_,o=this.tmpLocalTransform_,a=s.globalAlpha;1!=this.imageOpacity_&&(s.globalAlpha=a*this.imageOpacity_);let l=this.imageRotation_;0===this.transformRotation_&&(l-=this.viewRotation_),this.imageRotateWithView_&&(l+=this.viewRotation_);for(let t=0,e=r.length;t<e;t+=2){const e=r[t]-this.imageAnchorX_,i=r[t+1]-this.imageAnchorY_;if(0!==l||1!=this.imageScale_[0]||1!=this.imageScale_[1]){const t=e+this.imageAnchorX_,n=i+this.imageAnchorY_;Ms(o,t,n,1,1,l,-t,-n),s.save(),s.transform.apply(s,o),s.translate(t,n),s.scale(this.imageScale_[0],this.imageScale_[1]),s.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,-this.imageAnchorX_,-this.imageAnchorY_,this.imageWidth_,this.imageHeight_),s.restore()}else s.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,e,i,this.imageWidth_,this.imageHeight_)}1!=this.imageOpacity_&&(s.globalAlpha=a)}drawText_(t,e,i,n){if(!this.textState_||""===this.text_)return;this.textFillState_&&this.setContextFillState_(this.textFillState_),this.textStrokeState_&&this.setContextStrokeState_(this.textStrokeState_),this.setContextTextState_(this.textState_);const r=Ds(t,e,i,n,this.transform_,this.pixelCoordinates_),s=this.context_;let o=this.textRotation_;for(0===this.transformRotation_&&(o-=this.viewRotation_),this.textRotateWithView_&&(o+=this.viewRotation_);e<i;e+=n){const t=r[e]+this.textOffsetX_,i=r[e+1]+this.textOffsetY_;0!==o||1!=this.textScale_[0]||1!=this.textScale_[1]?(s.save(),s.translate(t-this.textOffsetX_,i-this.textOffsetY_),s.rotate(o),s.translate(this.textOffsetX_,this.textOffsetY_),s.scale(this.textScale_[0],this.textScale_[1]),this.textStrokeState_&&s.strokeText(this.text_,0,0),this.textFillState_&&s.fillText(this.text_,0,0),s.restore()):(this.textStrokeState_&&s.strokeText(this.text_,t,i),this.textFillState_&&s.fillText(this.text_,t,i))}}moveToLineTo_(t,e,i,n,r){const s=this.context_,o=Ds(t,e,i,n,this.transform_,this.pixelCoordinates_);s.moveTo(o[0],o[1]);let a=o.length;r&&(a-=2);for(let t=2;t<a;t+=2)s.lineTo(o[t],o[t+1]);return r&&s.closePath(),i}drawRings_(t,e,i,n){for(let r=0,s=i.length;r<s;++r)e=this.moveToLineTo_(t,e,i[r],n,!0);return e}drawCircle(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),Hn(this.extent_,t.getExtent())){if(this.fillState_||this.strokeState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=function(t,e,i){const n=t.getFlatCoordinates();if(!n)return null;const r=t.getStride();return Ds(n,0,n.length,r,e,i)}(t,this.transform_,this.pixelCoordinates_),i=e[2]-e[0],n=e[3]-e[1],r=Math.sqrt(i*i+n*n),s=this.context_;s.beginPath(),s.arc(e[0],e[1],r,0,2*Math.PI),this.fillState_&&s.fill(),this.strokeState_&&s.stroke()}""!==this.text_&&this.drawText_(t.getCenter(),0,2,2)}}setStyle(t){this.setFillStrokeStyle(t.getFill(),t.getStroke()),this.setImageStyle(t.getImage()),this.setTextStyle(t.getText())}setTransform(t){this.transform_=t}drawGeometry(t){switch(t.getType()){case"Point":this.drawPoint(t);break;case"LineString":this.drawLineString(t);break;case"Polygon":this.drawPolygon(t);break;case"MultiPoint":this.drawMultiPoint(t);break;case"MultiLineString":this.drawMultiLineString(t);break;case"MultiPolygon":this.drawMultiPolygon(t);break;case"GeometryCollection":this.drawGeometryCollection(t);break;case"Circle":this.drawCircle(t)}}drawFeature(t,e){const i=e.getGeometryFunction()(t);i&&(this.setStyle(e),this.drawGeometry(i))}drawGeometryCollection(t){const e=t.getGeometriesArray();for(let t=0,i=e.length;t<i;++t)this.drawGeometry(e[t])}drawPoint(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getFlatCoordinates(),i=t.getStride();this.image_&&this.drawImages_(e,0,e.length,i),""!==this.text_&&this.drawText_(e,0,e.length,i)}drawMultiPoint(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getFlatCoordinates(),i=t.getStride();this.image_&&this.drawImages_(e,0,e.length,i),""!==this.text_&&this.drawText_(e,0,e.length,i)}drawLineString(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),Hn(this.extent_,t.getExtent())){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);const e=this.context_,i=t.getFlatCoordinates();e.beginPath(),this.moveToLineTo_(i,0,i.length,t.getStride(),!1),e.stroke()}if(""!==this.text_){const e=t.getFlatMidpoint();this.drawText_(e,0,2,2)}}}drawMultiLineString(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getExtent();if(Hn(this.extent_,e)){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);const e=this.context_,i=t.getFlatCoordinates();let n=0;const r=t.getEnds(),s=t.getStride();e.beginPath();for(let t=0,e=r.length;t<e;++t)n=this.moveToLineTo_(i,n,r[t],s,!1);e.stroke()}if(""!==this.text_){const e=t.getFlatMidpoints();this.drawText_(e,0,e.length,2)}}}drawPolygon(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),Hn(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=this.context_;e.beginPath(),this.drawRings_(t.getOrientedFlatCoordinates(),0,t.getEnds(),t.getStride()),this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(""!==this.text_){const e=t.getFlatInteriorPoint();this.drawText_(e,0,2,2)}}}drawMultiPolygon(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),Hn(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=this.context_,i=t.getOrientedFlatCoordinates();let n=0;const r=t.getEndss(),s=t.getStride();e.beginPath();for(let t=0,e=r.length;t<e;++t){const e=r[t];n=this.drawRings_(i,n,e,s)}this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(""!==this.text_){const e=t.getFlatInteriorPoints();this.drawText_(e,0,e.length,2)}}}setContextFillState_(t){const e=this.context_,i=this.contextFillState_;i?i.fillStyle!=t.fillStyle&&(i.fillStyle=t.fillStyle,e.fillStyle=t.fillStyle):(e.fillStyle=t.fillStyle,this.contextFillState_={fillStyle:t.fillStyle})}setContextStrokeState_(t){const e=this.context_,i=this.contextStrokeState_;i?(i.lineCap!=t.lineCap&&(i.lineCap=t.lineCap,e.lineCap=t.lineCap),$e(i.lineDash,t.lineDash)||e.setLineDash(i.lineDash=t.lineDash),i.lineDashOffset!=t.lineDashOffset&&(i.lineDashOffset=t.lineDashOffset,e.lineDashOffset=t.lineDashOffset),i.lineJoin!=t.lineJoin&&(i.lineJoin=t.lineJoin,e.lineJoin=t.lineJoin),i.lineWidth!=t.lineWidth&&(i.lineWidth=t.lineWidth,e.lineWidth=t.lineWidth),i.miterLimit!=t.miterLimit&&(i.miterLimit=t.miterLimit,e.miterLimit=t.miterLimit),i.strokeStyle!=t.strokeStyle&&(i.strokeStyle=t.strokeStyle,e.strokeStyle=t.strokeStyle)):(e.lineCap=t.lineCap,e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset,e.lineJoin=t.lineJoin,e.lineWidth=t.lineWidth,e.miterLimit=t.miterLimit,e.strokeStyle=t.strokeStyle,this.contextStrokeState_={lineCap:t.lineCap,lineDash:t.lineDash,lineDashOffset:t.lineDashOffset,lineJoin:t.lineJoin,lineWidth:t.lineWidth,miterLimit:t.miterLimit,strokeStyle:t.strokeStyle})}setContextTextState_(t){const e=this.context_,i=this.contextTextState_,n=t.textAlign?t.textAlign:Ih;i?(i.font!=t.font&&(i.font=t.font,e.font=t.font),i.textAlign!=n&&(i.textAlign=n,e.textAlign=n),i.textBaseline!=t.textBaseline&&(i.textBaseline=t.textBaseline,e.textBaseline=t.textBaseline)):(e.font=t.font,e.textAlign=n,e.textBaseline=t.textBaseline,this.contextTextState_={font:t.font,textAlign:n,textBaseline:t.textBaseline})}setFillStrokeStyle(t,e){if(t){const e=t.getColor();this.fillState_={fillStyle:Eh(e||Ch)}}else this.fillState_=null;if(e){const t=e.getColor(),i=e.getLineCap(),n=e.getLineDash(),r=e.getLineDashOffset(),s=e.getLineJoin(),o=e.getWidth(),a=e.getMiterLimit(),l=n||Ah;this.strokeState_={lineCap:void 0!==i?i:Th,lineDash:1===this.pixelRatio_?l:l.map(t=>t*this.pixelRatio_),lineDashOffset:(r||0)*this.pixelRatio_,lineJoin:void 0!==s?s:kh,lineWidth:(void 0!==o?o:1)*this.pixelRatio_,miterLimit:void 0!==a?a:10,strokeStyle:Eh(t||Mh)}}else this.strokeState_=null}setImageStyle(t){let e;if(!t||!(e=t.getSize()))return void(this.image_=null);const i=t.getPixelRatio(this.pixelRatio_),n=t.getAnchor(),r=t.getOrigin();this.image_=t.getImage(this.pixelRatio_),this.imageAnchorX_=n[0]*i,this.imageAnchorY_=n[1]*i,this.imageHeight_=e[1]*i,this.imageOpacity_=t.getOpacity(),this.imageOriginX_=r[0],this.imageOriginY_=r[1],this.imageRotateWithView_=t.getRotateWithView(),this.imageRotation_=t.getRotation();const s=t.getScaleArray();this.imageScale_=[s[0]*this.pixelRatio_/i,s[1]*this.pixelRatio_/i],this.imageWidth_=e[0]*i}setTextStyle(t){if(t){const e=t.getFill();if(e){const t=e.getColor();this.textFillState_={fillStyle:Eh(t||Ch)}}else this.textFillState_=null;const i=t.getStroke();if(i){const t=i.getColor(),e=i.getLineCap(),n=i.getLineDash(),r=i.getLineDashOffset(),s=i.getLineJoin(),o=i.getWidth(),a=i.getMiterLimit();this.textStrokeState_={lineCap:void 0!==e?e:Th,lineDash:n||Ah,lineDashOffset:r||0,lineJoin:void 0!==s?s:kh,lineWidth:void 0!==o?o:1,miterLimit:void 0!==a?a:10,strokeStyle:Eh(t||Mh)}}else this.textStrokeState_=null;const n=t.getFont(),r=t.getOffsetX(),s=t.getOffsetY(),o=t.getRotateWithView(),a=t.getRotation(),l=t.getScaleArray(),c=t.getText(),h=t.getTextAlign(),d=t.getTextBaseline();this.textState_={font:void 0!==n?n:Sh,textAlign:void 0!==h?h:Ih,textBaseline:void 0!==d?d:Rh},this.text_=void 0!==c?Array.isArray(c)?c.reduce((t,e,i)=>t+(i%2?" ":e),""):c:"",this.textOffsetX_=void 0!==r?this.pixelRatio_*r:0,this.textOffsetY_=void 0!==s?this.pixelRatio_*s:0,this.textRotateWithView_=void 0!==o&&o,this.textRotation_=void 0!==a?a:0,this.textScale_=[this.pixelRatio_*l[0],this.pixelRatio_*l[1]]}else this.text_=""}},$p=.5;const Vp={Point:function(t,e,i,n,r,s){const o=i.getImage(),a=i.getText(),l=a&&a.getText(),c=s&&o&&l?{}:void 0;if(o){if(o.getImageState()!=ph)return;const s=t.getBuilder(i.getZIndex(),"Image");s.setImageStyle(o,c),s.drawPoint(e,n,r)}if(l){const s=t.getBuilder(i.getZIndex(),"Text");s.setTextStyle(a,c),s.drawText(e,n,r)}},LineString:function(t,e,i,n,r){const s=i.getStroke();if(s){const o=t.getBuilder(i.getZIndex(),"LineString");o.setFillStrokeStyle(null,s),o.drawLineString(e,n,r)}const o=i.getText();if(o&&o.getText()){const s=t.getBuilder(i.getZIndex(),"Text");s.setTextStyle(o),s.drawText(e,n,r)}},Polygon:function(t,e,i,n,r){const s=i.getFill(),o=i.getStroke();if(s||o){const a=t.getBuilder(i.getZIndex(),"Polygon");a.setFillStrokeStyle(s,o),a.drawPolygon(e,n,r)}const a=i.getText();if(a&&a.getText()){const s=t.getBuilder(i.getZIndex(),"Text");s.setTextStyle(a),s.drawText(e,n,r)}},MultiPoint:function(t,e,i,n,r,s){const o=i.getImage(),a=o&&0!==o.getOpacity(),l=i.getText(),c=l&&l.getText(),h=s&&a&&c?{}:void 0;if(a){if(o.getImageState()!=ph)return;const s=t.getBuilder(i.getZIndex(),"Image");s.setImageStyle(o,h),s.drawMultiPoint(e,n,r)}if(c){const s=t.getBuilder(i.getZIndex(),"Text");s.setTextStyle(l,h),s.drawText(e,n,r)}},MultiLineString:function(t,e,i,n,r){const s=i.getStroke();if(s){const o=t.getBuilder(i.getZIndex(),"LineString");o.setFillStrokeStyle(null,s),o.drawMultiLineString(e,n,r)}const o=i.getText();if(o&&o.getText()){const s=t.getBuilder(i.getZIndex(),"Text");s.setTextStyle(o),s.drawText(e,n,r)}},MultiPolygon:function(t,e,i,n,r){const s=i.getFill(),o=i.getStroke();if(o||s){const a=t.getBuilder(i.getZIndex(),"Polygon");a.setFillStrokeStyle(s,o),a.drawMultiPolygon(e,n,r)}const a=i.getText();if(a&&a.getText()){const s=t.getBuilder(i.getZIndex(),"Text");s.setTextStyle(a),s.drawText(e,n,r)}},GeometryCollection:function(t,e,i,n,r,s){const o=e.getGeometriesArray();let a,l;for(a=0,l=o.length;a<l;++a){(0,Vp[o[a].getType()])(t,o[a],i,n,r,s)}},Circle:function(t,e,i,n,r){const s=i.getFill(),o=i.getStroke();if(s||o){const a=t.getBuilder(i.getZIndex(),"Circle");a.setFillStrokeStyle(s,o),a.drawCircle(e,n,r)}const a=i.getText();if(a&&a.getText()){const r=t.getBuilder(i.getZIndex(),"Text");r.setTextStyle(a),r.drawText(e,n)}}};function Kp(t,e){return parseInt(di(t),10)-parseInt(di(e),10)}function Zp(t,e){const i=Jp(t,e);return i*i}function Jp(t,e){return.5*t/e}function Qp(t,e,i,n,r,s,o,a){const l=[],c=i.getImage();if(c){let t=!0;const e=c.getImageState();e==ph||e==fh?t=!1:e==dh&&c.load(),t&&l.push(c.ready())}const h=i.getFill();h&&h.loading()&&l.push(h.ready());const d=l.length>0;return d&&Promise.all(l).then(()=>r(null)),function(t,e,i,n,r,s,o){const a=i.getGeometryFunction()(e);if(!a)return;const l=a.simplifyTransformed(n,r),c=i.getRenderer();if(c)tf(t,l,i,e,o);else{(0,Vp[l.getType()])(t,l,i,e,o,s)}}(t,e,i,n,s,o,a),d}function tf(t,e,i,n,r){if("GeometryCollection"==e.getType()){const s=e.getGeometries();for(let e=0,o=s.length;e<o;++e)tf(t,s[e],i,n,r);return}t.getBuilder(i.getZIndex(),"Default").drawCustom(e,n,i.getRenderer(),i.getHitDetectionRenderer(),r)}const ef=class extends gu{constructor(t){super(t),this.boundHandleStyleImageChange_=this.handleStyleImageChange_.bind(this),this.animatingOrInteracting_,this.hitDetectionImageData_=null,this.clipped_=!1,this.renderedFeatures_=null,this.renderedRevision_=-1,this.renderedResolution_=NaN,this.renderedExtent_=[1/0,1/0,-1/0,-1/0],this.wrappedRenderedExtent_=[1/0,1/0,-1/0,-1/0],this.renderedRotation_,this.renderedCenter_=null,this.renderedProjection_=null,this.renderedPixelRatio_=1,this.renderedRenderOrder_=null,this.renderedFrameDeclutter_,this.replayGroup_=null,this.replayGroupChanged=!0,this.clipping=!0,this.targetContext_=null,this.opacity_=1}renderWorlds(t,e,i){const n=e.extent,r=e.viewState,s=r.center,o=r.resolution,a=r.projection,l=r.rotation,c=a.getExtent(),h=this.getLayer().getSource(),d=this.getLayer().getDeclutter(),u=e.pixelRatio,p=e.viewHints,f=!(p[$i]||p[Vi]),g=this.context,m=Math.round(qn(n)/o*u),_=Math.round(Wn(n)/o*u),v=h.getWrapX()&&a.canWrapX(),y=v?qn(c):null,w=v?Math.ceil((n[2]-c[2])/y)+1:1;let x=v?Math.floor((n[0]-c[0])/y):0;do{let n=this.getRenderTransform(s,o,0,u,m,_,x*y);e.declutter&&(n=n.slice(0)),t.execute(g,[g.canvas.width,g.canvas.height],n,l,f,void 0===i?Wp:i?Yp:Up,i?d&&e.declutter[d]:void 0)}while(++x<w)}setDrawContext_(){1!==this.opacity_&&(this.targetContext_=this.context,this.context=Go(this.context.canvas.width,this.context.canvas.height,pu))}resetDrawContext_(){if(1!==this.opacity_&&this.targetContext_){const t=this.targetContext_.globalAlpha;this.targetContext_.globalAlpha=this.opacity_,this.targetContext_.drawImage(this.context.canvas,0,0),this.targetContext_.globalAlpha=t,Uo(this.context),pu.push(this.context.canvas),this.context=this.targetContext_,this.targetContext_=null}}renderDeclutter(t){this.replayGroup_&&this.getLayer().getDeclutter()&&this.renderWorlds(this.replayGroup_,t,!0)}renderDeferredInternal(t){this.replayGroup_&&(this.replayGroup_.renderDeferred(),this.clipped_&&this.context.restore(),this.resetDrawContext_())}renderFrame(t,e){const i=t.layerStatesArray[t.layerIndex];this.opacity_=i.opacity;const n=t.viewState;this.prepareContainer(t,e);const r=this.context,s=this.replayGroup_;let o=s&&!s.isEmpty();if(!o){if(!(this.getLayer().hasListener($a)||this.getLayer().hasListener(Va)))return this.container}this.setDrawContext_(),this.preRender(r,t);const a=n.projection;if(this.clipped_=!1,o&&i.extent&&this.clipping){const e=Es(i.extent,a);o=Hn(e,t.extent),this.clipped_=o&&!bn(e,t.extent),this.clipped_&&this.clipUnrotated(r,t,e)}return o&&this.renderWorlds(s,t,!this.getLayer().getDeclutter()&&void 0),!t.declutter&&this.clipped_&&r.restore(),this.postRender(r,t),this.renderedRotation_!==n.rotation&&(this.renderedRotation_=n.rotation,this.hitDetectionImageData_=null),t.declutter||this.resetDrawContext_(),this.container}getFeatures(t){return new Promise(e=>{if(this.frameState&&!this.hitDetectionImageData_&&!this.animatingOrInteracting_){const t=this.frameState.size.slice(),e=this.renderedCenter_,i=this.renderedResolution_,n=this.renderedRotation_,r=this.renderedProjection_,s=this.wrappedRenderedExtent_,o=this.getLayer(),a=[],l=t[0]*$p,c=t[1]*$p;a.push(this.getRenderTransform(e,i,n,$p,l,c,0).slice());const h=o.getSource(),d=r.getExtent();if(h.getWrapX()&&r.canWrapX()&&!bn(d,s)){let t=s[0];const r=qn(d);let o,h=0;for(;t<d[0];)--h,o=r*h,a.push(this.getRenderTransform(e,i,n,$p,l,c,o).slice()),t+=r;for(h=0,t=s[2];t>d[2];)++h,o=r*h,a.push(this.getRenderTransform(e,i,n,$p,l,c,o).slice()),t-=r}const u=ys();this.hitDetectionImageData_=function(t,e,i,n,r,s,o,a,l){const c=l?bs(r,l):r,h=Go(t[0]*$p,t[1]*$p);h.imageSmoothingEnabled=!1;const d=h.canvas,u=new Hp(h,$p,r,null,o,a,l?ps(ys(),l):null),p=i.length,f=Math.floor(16777215/p),g={};for(let t=1;t<=p;++t){const e=i[t-1],r=e.getStyleFunction()||n;if(!r)continue;let o=r(e,s);if(!o)continue;Array.isArray(o)||(o=[o]);const a=(t*f).toString(16).padStart(7,"#00000");for(let t=0,i=o.length;t<i;++t){const i=o[t],n=i.getGeometryFunction()(e);if(!n||!Hn(c,n.getExtent()))continue;
2const r=i.clone(),s=r.getFill();s&&s.setColor(a);const l=r.getStroke();l&&(l.setColor(a),l.setLineDash(null)),r.setText(void 0);const h=i.getImage();if(h){const t=h.getImageSize();if(!t)continue;const e=Go(t[0],t[1],void 0,{alpha:!1}),i=e.canvas;e.fillStyle=a,e.fillRect(0,0,i.width,i.height),r.setImage(new ed({img:i,anchor:h.getAnchor(),anchorXUnits:"pixels",anchorYUnits:"pixels",offset:h.getOrigin(),opacity:1,size:h.getSize(),scale:h.getScale(),rotation:h.getRotation(),rotateWithView:h.getRotateWithView()}))}const d=r.getZIndex()||0;let u=g[d];u||(u={},g[d]=u,u.Polygon=[],u.Circle=[],u.LineString=[],u.Point=[]);const p=n.getType();if("GeometryCollection"===p){const t=n.getGeometriesArrayRecursive();for(let e=0,i=t.length;e<i;++e){const i=t[e];u[i.getType().replace("Multi","")].push(i,r)}}else u[p.replace("Multi","")].push(n,r)}}const m=Object.keys(g).map(Number).sort(Ye);for(let t=0,i=m.length;t<i;++t){const i=g[m[t]];for(const t in i){const n=i[t];for(let t=0,i=n.length;t<i;t+=2){u.setStyle(n[t+1]);for(let i=0,r=e.length;i<r;++i)u.setTransform(e[i]),u.drawGeometry(n[t])}}}return h.getImageData(0,0,d.width,d.height)}(t,a,this.renderedFeatures_,o.getStyleFunction(),s,i,n,Zp(i,this.renderedPixelRatio_),u?r:null)}e(function(t,e,i){const n=[];if(i){const r=Math.floor(Math.round(t[0])*$p),s=Math.floor(Math.round(t[1])*$p),o=4*(Zi(r,0,i.width-1)+Zi(s,0,i.height-1)*i.width),a=i.data[o],l=i.data[o+1],c=i.data[o+2]+256*(l+256*a),h=Math.floor(16777215/e.length);c&&c%h===0&&n.push(e[c/h-1])}return n}(t,this.renderedFeatures_,this.hitDetectionImageData_))})}forEachFeatureAtCoordinate(t,e,i,n,r){if(!this.replayGroup_)return;const s=e.viewState.resolution,o=e.viewState.rotation,a=this.getLayer(),l={},c=this.getLayer().getDeclutter();return this.replayGroup_.forEachFeatureAtCoordinate(t,s,o,i,function(t,e,i){const s=di(t),o=l[s];if(o){if(!0!==o&&i<o.distanceSq){if(0===i)return l[s]=!0,r.splice(r.lastIndexOf(o),1),n(t,a,e);o.geometry=e,o.distanceSq=i}}else{if(0===i)return l[s]=!0,n(t,a,e);r.push(l[s]={feature:t,layer:a,geometry:e,distanceSq:i,callback:n})}},c?e.declutter?.[c]?.all().map(t=>t.value):null)}handleFontsChanged(){const t=this.getLayer();t.getVisible()&&this.replayGroup_&&t.changed()}handleStyleImageChange_(t){this.renderIfReadyAndVisible()}prepareFrame(t){const e=this.getLayer(),i=e.getSource();if(!i)return!1;const n=t.viewHints[$i],r=t.viewHints[Vi],s=e.getUpdateWhileAnimating(),o=e.getUpdateWhileInteracting();if(this.ready&&!s&&n||!o&&r)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;const a=t.extent,l=t.viewState,c=l.projection,h=l.resolution,d=t.pixelRatio,u=e.getRevision(),p=e.getRenderBuffer();let f=e.getRenderOrder();void 0===f&&(f=Kp);const g=l.center.slice(),m=vn(a,p*h),_=m.slice(),v=[m.slice()],y=c.getExtent();if(i.getWrapX()&&c.canWrapX()&&!bn(y,t.extent)){const t=qn(y),e=Math.max(qn(m)/2,t);m[0]=y[0]-e,m[2]=y[2]+e,tr(g,c);const i=Kn(v[0],c);i[0]<y[0]&&i[2]<y[2]?v.push([i[0]+t,i[1],i[2]+t,i[3]]):i[0]>y[0]&&i[2]>y[2]&&v.push([i[0]-t,i[1],i[2]-t,i[3]])}if(this.ready&&this.renderedResolution_==h&&this.renderedRevision_==u&&this.renderedRenderOrder_==f&&this.renderedFrameDeclutter_===!!t.declutter&&bn(this.wrappedRenderedExtent_,m))return $e(this.renderedExtent_,_)||(this.hitDetectionImageData_=null,this.renderedExtent_=_),this.renderedCenter_=g,this.replayGroupChanged=!1,!0;this.replayGroup_=null;const w=new kp(Jp(h,d),m,h,d),x=ys();let b;if(x){for(let t=0,e=v.length;t<e;++t){const e=bs(v[t],c);i.loadFeatures(e,Ss(h,c),x)}b=ps(x,c)}else for(let t=0,e=v.length;t<e;++t)i.loadFeatures(v[t],h,c);const E=Zp(h,d);let S=!0;const C=(t,i)=>{let n;const r=t.getStyleFunction()||e.getStyleFunction();if(r&&(n=r(t,h)),n){const e=this.renderFeature(t,E,n,w,b,this.getLayer().getDeclutter(),i);S=S&&!e}},T=bs(m,c),A=i.getFeaturesInExtent(T);f&&A.sort(f);for(let t=0,e=A.length;t<e;++t)C(A[t],t);this.renderedFeatures_=A,this.ready=S;const k=w.finish(),M=new qp(m,h,d,i.getOverlaps(),k,e.getRenderBuffer(),!!t.declutter);return this.renderedResolution_=h,this.renderedRevision_=u,this.renderedRenderOrder_=f,this.renderedFrameDeclutter_=!!t.declutter,this.renderedExtent_=_,this.wrappedRenderedExtent_=m,this.renderedCenter_=g,this.renderedProjection_=c,this.renderedPixelRatio_=d,this.replayGroup_=M,this.hitDetectionImageData_=null,this.replayGroupChanged=!0,!0}renderFeature(t,e,i,n,r,s,o){if(!i)return!1;let a=!1;if(Array.isArray(i))for(let l=0,c=i.length;l<c;++l)a=Qp(n,t,i[l],e,this.boundHandleStyleImageChange_,r,s,o)||a;else a=Qp(n,t,i,e,this.boundHandleStyleImageChange_,r,s,o);return a}};const nf=class extends Od{constructor(t){super(t)}createRenderer(){return new ef(this)}};var rf=i(603),sf=i.n(rf),of=i(72),af=i.n(of),lf=i(691),cf={insert:"head",singleton:!1};af()(lf.A,cf);lf.A.locals;function hf(t){return null!==t&&"object"==typeof t&&"constructor"in t&&t.constructor===Object}function df(t,e){void 0===t&&(t={}),void 0===e&&(e={});const i=["__proto__","constructor","prototype"];Object.keys(e).filter(t=>
2i.indexOf(t)<0).forEach(i=>{void 0===t[i]?t[i]=e[i]:hf(e[i])&&hf(t[i])&&Object.keys(e[i]).length>0&&df(t[i],e[i])})}const uf={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function pf(){const t="undefined"!=typeof document?document:{};return df(t,uf),t}const ff={document:uf,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:t=>"undefined"==typeof setTimeout?(t(),null):setTimeout(t,0),cancelAnimationFrame(t){"undefined"!=typeof setTimeout&&clearTimeout(t)}};function gf(){const t="undefined"!=typeof window?window:{};return df(t,ff),t}function mf(t){return void 0===t&&(t=""),t.trim().split(" ").filter(t=>!!t.trim())}function _f(t,e){return void 0===e&&(e=0),setTimeout(t,e)}function vf(){return Date.now()}function yf(t,e){void 0===e&&(e="x");const i=gf();let n,r,s;const o=function(t){const e=gf();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}(t);return i.WebKitCSSMatrix?(r=o.transform||o.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(t=>t.replace(",",".")).join(", ")),s=new i.WebKitCSSMatrix("none"===r?"":r)):(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=s.toString().split(",")),"x"===e&&(r=i.WebKitCSSMatrix?s.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===e&&(r=i.WebKitCSSMatrix?s.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0}function wf(t){return"object"==typeof t&&null!==t&&t.constructor&&"Object"===Object.prototype.toString.call(t).slice(8,-1)}function xf(t){return"undefined"!=typeof window&&void 0!==window.HTMLElement?t instanceof HTMLElement:t&&(1===t.nodeType||11===t.nodeType)}function bf(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const n=i<0||arguments.length<=i?void 0:arguments[i];if(null!=n&&!xf(n)){const i=Object.keys(Object(n)).filter(t=>e.indexOf(t)<0);for(let e=0,r=i.length;e<r;e+=1){const r=i[e],s=Object.getOwnPropertyDescriptor(n,r);void 0!==s&&s.enumerable&&(wf(t[r])&&wf(n[r])?n[r].__swiper__?t[r]=n[r]:bf(t[r],n[r]):!wf(t[r])&&wf(n[r])?(t[r]={},n[r].__swiper__?t[r]=n[r]:bf(t[r],n[r])):t[r]=n[r])}}}return t}function Ef(t,e,i){t.style.setProperty(e,i)}function Sf(t){let{swiper:e,targetPosition:i,side:n}=t;const r=gf(),s=-e.translate;let o,a=null;const l=e.params.speed;e.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(e.cssModeFrameID);const c=i>s?"next":"prev",h=(t,e)=>"next"===c&&t>=e||"prev"===c&&t<=e,d=()=>{o=(new Date).getTime(),null===a&&(a=o);const t=Math.max(Math.min((o-a)/l,1),0),c=.5-Math.cos(t*Math.PI)/2;let u=s+c*(i-s);if(h(u,i)&&(u=i),e.wrapperEl.scrollTo({[n]:u}),h(u,i))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:u})}),void r.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=r.requestAnimationFrame(d)};d()}function Cf(t){return t.querySelector(".swiper-slide-transform")||t.shadowRoot&&t.shadowRoot.querySelector(".swiper-slide-transform")||t}function Tf(t,e){void 0===e&&(e="");const i=gf(),n=[...t.children];return i.HTMLSlotElement&&t instanceof HTMLSlotElement&&n.push(...t.assignedElements()),e?n.filter(t=>t.matches(e)):n}function Af(t){try{return void console.warn(t)}catch(t){}}function kf(t,e){void 0===e&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:mf(e)),i}function Mf(t){const e=gf(),i=pf(),n=t.getBoundingClientRect(),r=i.body,s=t.clientTop||r.clientTop||0,o=t.clientLeft||r.clientLeft||0,a=t===e?e.scrollY:t.scrollTop,l=t===e?e.scrollX:t.scrollLeft;return{top:n.top+a-s,left:n.left+l-o}}function If(t,e){return gf().getComputedStyle(t,null).getPropertyValue(e)}function Rf(t){let e,i=t;if(i){for(e=0;
vendor: 4,163 bytes, line 2
2null!==(i=i.previousSibling);)1===i.nodeType&&(e+=1);return e}}function Lf(t,e){const i=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&i.push(n):i.push(n),n=n.parentElement;return i}function Pf(t,e){e&&t.addEventListener("transitionend",function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))})}function Df(t,e,i){const n=gf();return i?t["width"===e?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue("width"===e?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue("width"===e?"margin-left":"margin-bottom")):t.offsetWidth}function Of(t){return(Array.isArray(t)?t:[t]).filter(t=>!!t)}function Ff(t){return e=>Math.abs(e)>0&&t.browser&&t.browser.need3dFix&&Math.abs(e)%90==0?e+.001:e}function zf(t,e){void 0===e&&(e=""),"undefined"!=typeof trustedTypes?t.innerHTML=trustedTypes.createPolicy("html",{createHTML:t=>t}).createHTML(e):t.innerHTML=e}let Nf,Bf,jf;function Gf(){return Nf||(Nf=function(){const t=gf(),e=pf();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}()),Nf}function Wf(t){return void 0===t&&(t={}),Bf||(Bf=function(t){let{userAgent:e}=void 0===t?{}:t;const i=Gf(),n=gf(),r=n.navigator.platform,s=e||n.navigator.userAgent,o={ios:!1,android:!1},a=n.screen.width,l=n.screen.height,c=s.match(/(Android);?[\s\/]+([\d.]+)?/);let h=s.match(/(iPad).*OS\s([\d_]+)/);const d=s.match(/(iPod)(.*OS\s([\d_]+))?/),u=!h&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="Win32"===r;let f="MacIntel"===r;return!h&&f&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${l}`)>=0&&(h=s.match(/(Version)\/([\d.]+)/),h||(h=[0,1,"13_0_0"]),f=!1),c&&!p&&(o.os="android",o.android=!0),(h||u||d)&&(o.os="ios",o.ios=!0),o}(t)),Bf}function Yf(){return jf||(jf=function(){const t=gf(),e=Wf();let i=!1;function n(){const e=t.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}if(n()){const e=String(t.navigator.userAgent);if(e.includes("Version/")){const[t,n]=e.split("Version/")[1].split(" ")[0].split(".").map(t=>Number(t));i=t<16||16===t&&n<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),s=n();return{isSafari:i||s,needPerspectiveFix:i,need3dFix:s||r&&e.ios,isWebView:r}}()),jf}var Uf={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const r=i?"unshift":"push";return t.split(" ").forEach(t=>{n.eventsListeners[t]||(n.eventsListeners[t]=[]),n.eventsListeners[t][r](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;function r(){n.off(t,r),r.__emitterProxy&&delete r.__emitterProxy;for(var i=arguments.length,s=new Array(i),o=0;o<i;o++)s[o]=arguments[o];e.apply(n,s)}return r.__emitterProxy=e,n.on(t,r,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed?i:i.eventsListeners?(t.split(" ").forEach(t=>{void 0===e?i.eventsListeners[t]=[]:i.eventsListeners[t]&&i.eventsListeners[t].forEach((n,r)=>{(n===e||n.__emitterProxy&&n.__emitterProxy===e)&&i.eventsListeners[t].splice(r,1)})}),i):i},emit(){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let e,i,n;for(var r=arguments.length,s=new Array(r),o=0;o<r;o++)s[o]=arguments[o];"string"==typeof s[0]||Array.isArray(s[0])?(e=s[0],i=s.slice(1,s.length),n=t):(e=s[0].events,i=s[0].data,n=s[0].context||t),i.unshift(n);return(Array.isArray(e)?e:e.split(" ")).forEach(e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEac
vendor: 5,519 bytes, line 2
2h(t=>{t.apply(n,[e,...i])}),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach(t=>{t.apply(n,i)})}),t}};const Xf=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};const qf=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};const Hf=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=e.closest(t.isElement?"swiper-slide":`.${t.params.slideClass}`);if(i){let e=i.querySelector(`.${t.params.lazyPreloaderClass}`);!e&&t.isElement&&(i.shadowRoot?e=i.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(e=i.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),e&&e.remove())})),e&&e.remove()}},$f=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},Vf=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),r=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const i=r,s=[i-e];return s.push(...Array.from({length:e}).map((t,e)=>i+n+e)),void t.slides.forEach((e,i)=>{s.includes(e.column)&&$f(t,i)})}const s=r+n-1;if(t.params.rewind||t.params.loop)for(let n=r-e;n<=s+e;n+=1){const e=(n%i+i)%i;(e<r||e>s)&&$f(t,e)}else for(let n=Math.max(r-e,0);n<=Math.min(s+e,i-1);n+=1)n!==r&&(n>s||n<r)&&$f(t,n)};var Kf={updateSize:function(){const t=this;let e,i;const n=t.el;e=void 0!==t.params.width&&null!==t.params.width?t.params.width:n.clientWidth,i=void 0!==t.params.height&&null!==t.params.height?t.params.height:n.clientHeight,0===e&&t.isHorizontal()||0===i&&t.isVertical()||(e=e-parseInt(If(n,"padding-left")||0,10)-parseInt(If(n,"padding-right")||0,10),i=i-parseInt(If(n,"padding-top")||0,10)-parseInt(If(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))},updateSlides:function(){const t=this;function e(e,i){return parseFloat(e.getPropertyValue(t.getDirectionLabel(i))||0)}const i=t.params,{wrapperEl:n,slidesEl:r,size:s,rtlTranslate:o,wrongRTL:a}=t,l=t.virtual&&i.virtual.enabled,c=l?t.virtual.slides.length:t.slides.length,h=Tf(r,`.${t.params.slideClass}, swiper-slide`),d=l?t.virtual.slides.length:h.length;let u=[];const p=[],f=[];let g=i.slidesOffsetBefore;"function"==typeof g&&(g=i.slidesOffsetBefore.call(t));let m=i.slidesOffsetAfter;"function"==typeof m&&(m=i.slidesOffsetAfter.call(t));const _=t.snapGrid.length,v=t.slidesGrid.length;let y=i.spaceBetween,w=-g,x=0,b=0;if(void 0===s)return;"string"==typeof y&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*s:"string"==typeof y&&(y=parseFloat(y)),t.virtualSize=-y,h.forEach(t=>{o?t.style.marginLeft="":t.style.marginRight="",t.style.marginBottom="",t.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(Ef(n,"--swiper-centered-offset-before",""),Ef(n,"--swiper-centered-offset-after",""));const E=i.grid&&i.grid.rows>1&&t.grid;let S;E?t.grid.initSlides(h):t.grid&&t.grid.unsetSlides();const C="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter(t=>void 0!==i.breakpoints[t].slidesPerView).length>0;for(let n=0;n<d;n+=1){let r;if(S=0,h[n]&&(r=h[n]),E&&t.grid.updateSlide(n,r,h),!h[n]||"none"!==If(r,"display")){if("auto"===i.slidesPerView){C&&(h[n].style[t.getDirectionLabel("width")]="");const s=getComputedStyle(r),o=r.style.transform,a=r.style.webkitTransform;if(o&&(r.style.transform="none"),a&&(r.style.webkitTransform="none"),i.roundLengths)S=t.isHorizontal()?Df(r,"width",!0):Df(r,"height",!0);else{const t=e(s,"width"),i=e(s,"padding-left"),n=e(s,"padding-right"),o=e(s,"margin-left"),a=e(s,"margin-right"),l=s.getPropertyValue("box-sizing");if(l&&"border-box"===l)S=t+o+a;else{const{clientWidth:e,offsetWidth:s}=r;S=t+i+n+o+a+(s-e)}}o&&(r.style.transform=o),a&&(r.style.webkitTransform=a),i.roundLengths&&(S=Math.floor(S))}else S=(s-(i.slidesPerView-1)*y)/i.slidesPerView,i.roundLengths&&(S=Math.floor(S)),h[n]&&(h[n].style[t.getDirectionLabel("width")]=`${S}px`);h[n]&&(h[n].swiperSlideSize=S),f.push(S),i.centeredSlides?(w=w+S/2+x/2+y,0===x&&0!==n&&(w=w-s/2-y),0===n&&(w=w-s/2-y),Math.abs(w)<.001&&(w=0),i.roundLengths&&(w=Math.floor(w)),b%i.slidesPerGroup===0&&u.push(w),p.push(w)):(i.roundLengths&&(w=Math.floor(w)),(b-Math.min(t.params.slidesPerGroupSkip,b))%t.params.slidesPerGroup===0&&u.push(w),p.push(w),w=w+S+y),t.virtualSize+=S+y,x=S,b+=1}}if(t.virtualSize=Math.max(t.virtualSize,s)+m,o&&a&&("slide"===i.effect||"coverflow"===i.effect)&&(n.style.width=`${t.virtualSize+y}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+y}px`),E&&t.grid.updateWrapperSize(S,u),!i.centeredSlides){const e=[];for(let n=0;n<u.length;n+=1){let r=u[n];i.roundLengths&&(r=Math.floor(r)),u[n]<=t.virtualSize-s&&e.push(r)}u=e,Math.floor(t.virtualSize-s)-Math.floor(u[u.length-1])>1&&u.push(t.virtualSize-s)}if(l&&i.loop){const e=f[0]+y;if(i.slidesPerGroup>1){const n=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),r=e*i.slidesPerGroup;for(let t=0;t<n;t+=1)u.push(u[u.length-1]+r)}for(let n=0;n<t.virtual.slidesBefore+t.virtual.slidesAfter;n+=1)1===i.slidesPerGroup&&u.push(u[u.length-1]+e),p.push(p[p.length-1]+e),t.virtualSize+=e}if(0===u.length&&(u=[0]),0!==y){const e=t.isHorizontal()&&o?"marginLeft":t.getDirectionLabel("marginRight");h.filter((t,e)=>
vendor: 17,731 bytes, line 2
2!(i.cssMode&&!i.loop)||e!==h.length-1).forEach(t=>{t.style[e]=`${y}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let t=0;f.forEach(e=>{t+=e+(y||0)}),t-=y;const e=t>s?t-s:0;u=u.map(t=>t<=0?-g:t>e?e+m:t)}if(i.centerInsufficientSlides){let t=0;f.forEach(e=>{t+=e+(y||0)}),t-=y;const e=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(t+e<s){const i=(s-t-e)/2;u.forEach((t,e)=>{u[e]=t-i}),p.forEach((t,e)=>{p[e]=t+i})}}if(Object.assign(t,{slides:h,snapGrid:u,slidesGrid:p,slidesSizesGrid:f}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Ef(n,"--swiper-centered-offset-before",-u[0]+"px"),Ef(n,"--swiper-centered-offset-after",t.size/2-f[f.length-1]/2+"px");const e=-t.snapGrid[0],i=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(t=>t+i)}if(d!==c&&t.emit("slidesLengthChange"),u.length!==_&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==v&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!(l||i.cssMode||"slide"!==i.effect&&"fade"!==i.effect)){const e=`${i.containerModifierClass}backface-hidden`,n=t.el.classList.contains(e);d<=i.maxBackfaceHiddenSlides?n||t.el.classList.add(e):n&&t.el.classList.remove(e)}},updateAutoHeight:function(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let r,s=0;"number"==typeof t?e.setTransition(t):!0===t&&e.setTransition(e.params.speed);const o=t=>n?e.slides[e.getSlideIndexByData(t)]:e.slides[t];if("auto"!==e.params.slidesPerView&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(t=>{i.push(t)});else for(r=0;r<Math.ceil(e.params.slidesPerView);r+=1){const t=e.activeIndex+r;if(t>e.slides.length&&!n)break;i.push(o(t))}else i.push(o(e.activeIndex));for(r=0;r<i.length;r+=1)if(void 0!==i[r]){const t=i[r].offsetHeight;s=t>s?t:s}(s||0===s)&&(e.wrapperEl.style.height=`${s}px`)},updateSlidesOffset:function(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()},updateSlidesProgress:function(t){void 0===t&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:r,snapGrid:s}=e;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&e.updateSlidesOffset();let o=-t;r&&(o=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let a=i.spaceBetween;"string"==typeof a&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*e.size:"string"==typeof a&&(a=parseFloat(a));for(let t=0;t<n.length;t+=1){const l=n[t];let c=l.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(c-=n[0].swiperSlideOffset);const h=(o+(i.centeredSlides?e.minTranslate():0)-c)/(l.swiperSlideSize+a),d=(o-s[0]+(i.centeredSlides?e.minTranslate():0)-c)/(l.swiperSlideSize+a),u=-(o-c),p=u+e.slidesSizesGrid[t],f=u>=0&&u<=e.size-e.slidesSizesGrid[t],g=u>=0&&u<e.size-1||p>1&&p<=e.size||u<=0&&p>=e.size;g&&(e.visibleSlides.push(l),e.visibleSlidesIndexes.push(t)),Xf(l,g,i.slideVisibleClass),Xf(l,f,i.slideFullyVisibleClass),l.progress=r?-h:h,l.originalProgress=r?-d:d}},updateProgress:function(t){const e=this;if(void 0===t){const i=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*i||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:r,isBeginning:s,isEnd:o,progressLoop:a}=e;const l=s,c=o;if(0===n)r=0,s=!0,o=!0;else{r=(t-e.minTranslate())/n;const i=Math.abs(t-e.minTranslate())<1,a=Math.abs(t-e.maxTranslate())<1;s=i||r<=0,o=a||r>=1,i&&(r=0),a&&(r=1)}if(i.loop){const i=e.getSlideIndexByData(0),n=e.getSlideIndexByData(e.slides.length-1),r=e.slidesGrid[i],s=e.slidesGrid[n],o=e.slidesGrid[e.slidesGrid.length-1],l=Math.abs(t);a=l>=r?(l-r)/o:(l+o-s)/o,a>1&&(a-=1)}Object.assign(e,{progress:r,progressLoop:a,isBeginning:s,isEnd:o}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),s&&!l&&e.emit("reachBeginning toEdge"),o&&!c&&e.emit("reachEnd toEdge"),(l&&!s||c&&!o)&&e.emit("fromEdge"),e.emit("progress",r)},updateSlidesClasses:function(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:r}=t,s=t.virtual&&i.virtual.enabled,o=t.grid&&i.grid&&i.grid.rows>1,a=t=>Tf(n,`.${i.slideClass}${t}, swiper-slide${t}`)[0];let l,c,h;if(s)if(i.loop){let e=r-t.virtual.slidesBefore;e<0&&(e=t.virtual.slides.length+e),e>=t.virtual.slides.length&&(e-=t.virtual.slides.length),l=a(`[data-swiper-slide-index="${e}"]`)}else l=a(`[data-swiper-slide-index="${r}"]`);else o?(l=e.find(t=>t.column===r),h=e.find(t=>t.column===r+1),c=e.find(t=>t.column===r-1)):l=e[r];l&&(o||(h=function(t,e){const i=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}(l,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!h&&(h=e[0]),c=function(t,e){const i=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}(l,`.${i.slideClass}, swiper-slide`)[0],i.loop&&0===!c&&(c=e[e.length-1]))),e.forEach(t=>{qf(t,t===l,i.slideActiveClass),qf(t,t===h,i.slideNextClass),qf(t,t===c,i.slidePrevClass)}),t.emitSlidesClasses()},updateActiveIndex:function(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:r,activeIndex:s,realIndex:o,snapIndex:a}=e;let l,c=t;const h=t=>{let i=t-e.virtual.slidesBefore;return i<0&&(i=e.virtual.slides.length+i),i>=e.virtual.slides.length&&(i-=e.virtual.slides.length),i};if(void 0===c&&(c=function(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let r;for(let t=0;t<e.length;t+=1)void 0!==e[t+1]?n>=e[t]&&n<e[t+1]-(e[t+1]-e[t])/2?r=t:n>=e[t]&&n<e[t+1]&&(r=t+1):n>=e[t]&&(r=t);return i.normalizeSlideIndex&&(r<0||void 0===r)&&(r=0),r}(e)),n.indexOf(i)>=0)l=n.indexOf(i);else{const t=Math.min(r.slidesPerGroupSkip,c);l=t+Math.floor((c-t)/r.slidesPerGroup)}if(l>=n.length&&(l=n.length-1),c===s&&!e.params.loop)return void(l!==a&&(e.snapIndex=l,e.emit("snapIndexChange")));if(c===s&&e.params.loop&&e.virtual&&e.params.virtual.enabled)return void(e.realIndex=h(c));const d=e.grid&&r.grid&&r.grid.rows>1;let u;if(e.virtual&&r.virtual.enabled&&r.loop)u=h(c);else if(d){const t=e.slides.find(t=>t.column===c);let i=parseInt(t.getAttribute("data-swiper-slide-index"),10);Number.isNaN(i)&&(i=Math.max(e.slides.indexOf(t),0)),u=Math.floor(i/r.grid.rows)}else if(e.slides[c]){const t=e.slides[c].getAttribute("data-swiper-slide-index");u=t?parseInt(t,10):c}else u=c;Object.assign(e,{previousSnapIndex:a,snapIndex:l,previousRealIndex:o,realIndex:u,previousIndex:s,activeIndex:c}),e.initialized&&Vf(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(o!==u&&e.emit("realIndexChange"),e.emit("slideChange"))},updateClickedSlide:function(t,e){const i=this,n=i.params;let r=t.closest(`.${n.slideClass}, swiper-slide`);!r&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(t=>{!r&&t.matches&&t.matches(`.${n.slideClass}, swiper-slide`)&&(r=t)});let s,o=!1;if(r)for(let t=0;t<i.slides.length;t+=1)if(i.slides[t]===r){o=!0,s=t;break}if(!r||!o)return i.clickedSlide=void 0,void(i.clickedIndex=void 0);i.clickedSlide=r,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=s,n.slideToClickedSlide&&void 0!==i.clickedIndex&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}};var Zf={getTranslate:function(t){void 0===t&&(t=this.isHorizontal()?"x":"y");const{params:e,rtlTranslate:i,translate:n,wrapperEl:r}=this;if(e.virtualTranslate)return i?-n:n;if(e.cssMode)return n;let s=yf(r,t);return s+=this.cssOverflowAdjustment(),i&&(s=-s),s||0},setTranslate:function(t,e){const i=this,{rtlTranslate:n,params:r,wrapperEl:s,progress:o}=i;let a,l=0,c=0;i.isHorizontal()?l=n?-t:t:c=t,r.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?l:c,r.cssMode?s[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-l:-c:r.virtualTranslate||(i.isHorizontal()?l-=i.cssOverflowAdjustment():c-=i.cssOverflowAdjustment(),s.style.transform=`translate3d(${l}px, ${c}px, 0px)`);const h=i.maxTranslate()-i.minTranslate();a=0===h?0:(t-i.minTranslate())/h,a!==o&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(t,e,i,n,r){void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);const s=this,{params:o,wrapperEl:a}=s;if(s.animating&&o.preventInteractionOnTransition)return!1;const l=s.minTranslate(),c=s.maxTranslate();let h;if(h=n&&t>l?l:n&&t<c?c:t,s.updateProgress(h),o.cssMode){const t=s.isHorizontal();if(0===e)a[t?"scrollLeft":"scrollTop"]=-h;else{if(!s.support.smoothScroll)return Sf({swiper:s,targetPosition:-h,side:t?"left":"top"}),!0;a.scrollTo({[t?"left":"top"]:-h,behavior:"smooth"})}return!0}return 0===e?(s.setTransition(0),s.setTranslate(h),i&&(s.emit("beforeTransitionStart",e,r),s.emit("transitionEnd"))):(s.setTransition(e),s.setTranslate(h),i&&(s.emit("beforeTransitionStart",e,r),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(t){s&&!s.destroyed&&t.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,s.animating=!1,i&&s.emit("transitionEnd"))}),s.wrapperEl.addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd))),!0}};function Jf(t){let{swiper:e,runCallbacks:i,direction:n,step:r}=t;const{activeIndex:s,previousIndex:o}=e;let a=n;a||(a=s>o?"next":s<o?"prev":"reset"),e.emit(`transition${r}`),i&&"reset"===a?e.emit(`slideResetTransition${r}`):i&&s!==o&&(e.emit(`slideChangeTransition${r}`),"next"===a?e.emit(`slideNextTransition${r}`):e.emit(`slidePrevTransition${r}`))}var Qf={slideTo:function(t,e,i,n,r){void 0===t&&(t=0),void 0===i&&(i=!0),"string"==typeof t&&(t=parseInt(t,10));const s=this;let o=t;o<0&&(o=0);const{params:a,snapGrid:l,slidesGrid:c,previousIndex:h,activeIndex:d,rtlTranslate:u,wrapperEl:p,enabled:f}=s;if(!f&&!n&&!r||s.destroyed||s.animating&&a.preventInteractionOnTransition)return!1;void 0===e&&(e=s.params.speed);const g=Math.min(s.params.slidesPerGroupSkip,o);let m=g+Math.floor((o-g)/s.params.slidesPerGroup);m>=l.length&&(m=l.length-1);const _=-l[m];if(a.normalizeSlideIndex)for(let t=0;t<c.length;t+=1){const e=-Math.floor(100*_),i=Math.floor(100*c[t]),n=Math.floor(100*c[t+1]);void 0!==c[t+1]?e>=i&&e<n-(n-i)/2?o=t:e>=i&&e<n&&(o=t+1):e>=i&&(o=t)}if(s.initialized&&o!==d){if(!s.allowSlideNext&&(u?_>s.translate&&_>s.minTranslate():_<s.translate&&_<s.minTranslate()))return!1;if(!s.allowSlidePrev&&_>s.translate&&_>s.maxTranslate()&&(d||0)!==o)return!1}let v;o!==(h||0)&&i&&s.emit("beforeSlideChangeStart"),s.updateProgress(_),v=o>d?"next":o<d?"prev":"reset";const y=s.virtual&&s.params.virtual.enabled;if(!(y&&r)&&(u&&-_===s.translate||!u&&_===s.translate))return s.updateActiveIndex(o),a.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==a.effect&&s.setTranslate(_),"reset"!==v&&(s.transitionStart(i,v),s.transitionEnd(i,v)),!1;if(a.cssMode){const t=s.isHorizontal(),i=u?_:-_;if(0===e)y&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),y&&!s._cssModeVirtualInitialSet&&s.params.initialSlide>0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[t?"scrollLeft":"scrollTop"]=i})):p[t?"scrollLeft":"scrollTop"]=i,y&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1});else{if(!s.support.smoothScroll)return Sf({swiper:s,targetPosition:i,side:t?"left":"top"}),!0;p.scrollTo({[t?"left":"top"]:i,behavior:"smooth"})}return!0}const w=Yf().isSafari;return y&&!r&&w&&s.isElement&&s.virtual.update(!1,!1,o),s.setTransition(e),s.setTranslate(_),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",e,n),s.transitionStart(i,v),0===e?s.transitionEnd(i,v):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(t){s&&!s.destroyed&&t.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(i,v))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(t,e,i,n){if(void 0===t&&(t=0),void 0===i&&(i=!0),"string"==typeof t){t=parseInt(t,10)}const r=this;if(r.destroyed)return;void 0===e&&(e=r.params.speed);const s=r.grid&&r.params.grid&&r.params.grid.rows>1;let o=t;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)o+=r.virtual.slidesBefore;else{let t;if(s){const e=o*r.params.grid.rows;t=r.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e).column}else t=r.getSlideIndexByData(o);const e=s?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:i}=r.params;let a=r.params.slidesPerView;"auto"===a?a=r.slidesPerViewDynamic():(a=Math.ceil(parseFloat(r.params.slidesPerView,10)),i&&a%2==0&&(a+=1));let l=e-t<a;if(i&&(l=l||t<Math.ceil(a/2)),n&&i&&"auto"!==r.params.slidesPerView&&!s&&(l=!1),l){const n=i?t<r.activeIndex?"prev":"next":t-r.activeIndex-1<r.params.slidesPerView?"next":"prev";r.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"===n?t+1:t-e+1,slideRealIndex:"next"===n?r.realIndex:void 0})}if(s){const t=o*r.params.grid.rows;o=r.slides.find(e=>1*e.getAttribute("data-swiper-slide-index")===t).column}else o=r.getSlideIndexByData(o)}return requestAnimationFrame(()=>{r.slideTo(o,e,i,n)}),r},slideNext:function(t,e,i){void 0===e&&(e=!0);const n=this,{enabled:r,params:s,animating:o}=n;if(!r||n.destroyed)return n;void 0===t&&(t=n.params.speed);let a=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<s.slidesPerGroupSkip?1:a,c=n.virtual&&s.virtual.enabled;if(s.loop){if(o&&!c&&s.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+l,t,e,i)}),!0}return s.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+l,t,e,i)},slidePrev:function(t,e,i){void 0===e&&(e=!0);const n=this,{params:r,snapGrid:s,slidesGrid:o,rtlTranslate:a,enabled:l,animating:c}=n;if(!l||n.destroyed)return n;void 0===t&&(t=n.params.speed);const h=n.virtual&&r.virtual.enabled;if(r.loop){if(c&&!h&&r.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function d(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}const u=d(a?n.translate:-n.translate),p=s.map(t=>d(t)),f=r.freeMode&&r.freeMode.enabled;let g=s[p.indexOf(u)-1];if(void 0===g&&(r.cssMode||f)){let t;s.forEach((e,i)=>{u>=e&&(t=i)}),void 0!==t&&(g=f?s[t]:s[t>0?t-1:t])}let m=0;if(void 0!==g&&(m=o.indexOf(g),m<0&&(m=n.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(m=m-n.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),r.rewind&&n.isBeginning){const r=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(r,t,e,i)}return r.loop&&0===n.activeIndex&&r.cssMode?(requestAnimationFrame(()=>{n.slideTo(m,t,e,i)}),!0):n.slideTo(m,t,e,i)},slideReset:function(t,e,i){void 0===e&&(e=!0);const n=this;if(!n.destroyed)return void 0===t&&(t=n.params.speed),n.slideTo(n.activeIndex,t,e,i)},slideToClosest:function(t,e,i,n){void 0===e&&(e=!0),void 0===n&&(n=.5);const r=this;if(r.destroyed)return;void 0===t&&(t=r.params.speed);let s=r.activeIndex;const o=Math.min(r.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[a]){const t=r.snapGrid[a];l-t>(r.snapGrid[a+1]-t)*n&&(s+=r.params.slidesPerGroup)}else{const t=r.snapGrid[a-1];l-t<=(r.snapGrid[a]-t)*n&&(s-=r.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,r.slidesGrid.length-1),r.slideTo(s,t,e,i)},slideToClickedSlide:function(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n="auto"===e.slidesPerView?t.slidesPerViewDynamic():e.slidesPerView;let r,s=t.getSlideIndexWhenGrid(t.clickedIndex);const o=t.isElement?"swiper-slide":`.${e.slideClass}`,a=t.grid&&t.params.grid&&t.params.grid.rows>1;if(e.loop){if(t.animating)return;r=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?t.slideToLoop(r):s>(a?(t.slides.length-n)/2-(t.params.grid.rows-1):t.slides.length-n)?(t.loopFix(),s=t.getSlideIndex(Tf(i,`${o}[data-swiper-slide-index="${r}"]`)[0]),_f(()=>{t.slideTo(s)})):t.slideTo(s)}else t.slideTo(s)}};var tg={loopCreate:function(t,e){const i=this,{params:n,slidesEl:r}=i;if(!n.loop||i.virtual&&i.params.virtual.enabled)return;const s=()=>{Tf(r,`.${n.slideClass}, swiper-slide`).forEach((t,e)=>{t.setAttribute("data-swiper-slide-index",e)})},o=i.grid&&n.grid&&n.grid.rows>1;n.loopAddBlankSlides&&(n.slidesPerGroup>1||o)&&(()=>{const t=Tf(r,`.${n.slideBlankClass}`);t.forEach(t=>{t.remove()}),t.length>0&&(i.recalcSlides(),i.updateSlides())})();const a=n.slidesPerGroup*(o?n.grid.rows:1),l=i.slides.length%a!==0,c=o&&i.slides.length%n.grid.rows!==0,h=t=>{for(let e=0;e<t;e+=1){const t=i.isElement?kf("swiper-slide",[n.slideBlankClass]):kf("div",[n.slideClass,n.slideBlankClass]);i.slidesEl.append(t)}};if(l){if(n.loopAddBlankSlides){h(a-i.slides.length%a),i.recalcSlides(),i.updateSlides()}else Af("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may 
2not function properly. You need to add more slides (or make duplicates, or empty slides)");s()}else if(c){if(n.loopAddBlankSlides){h(n.grid.rows-i.slides.length%n.grid.rows),i.recalcSlides(),i.updateSlides()}else Af("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");s()}else s();i.loopFix({slideRealIndex:t,direction:n.centeredSlides?void 0:"next",initial:e})},loopFix:function(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:r,activeSlideIndex:s,initial:o,byController:a,byMousewheel:l}=void 0===t?{}:t;const c=this;if(!c.params.loop)return;c.emit("beforeLoopFix");const{slides:h,allowSlidePrev:d,allowSlideNext:u,slidesEl:p,params:f}=c,{centeredSlides:g,initialSlide:m}=f;if(c.allowSlidePrev=!0,c.allowSlideNext=!0,c.virtual&&f.virtual.enabled)return i&&(f.centeredSlides||0!==c.snapIndex?f.centeredSlides&&c.snapIndex<f.slidesPerView?c.slideTo(c.virtual.slides.length+c.snapIndex,0,!1,!0):c.snapIndex===c.snapGrid.length-1&&c.slideTo(c.virtual.slidesBefore,0,!1,!0):c.slideTo(c.virtual.slides.length,0,!1,!0)),c.allowSlidePrev=d,c.allowSlideNext=u,void c.emit("loopFix");let _=f.slidesPerView;"auto"===_?_=c.slidesPerViewDynamic():(_=Math.ceil(parseFloat(f.slidesPerView,10)),g&&_%2==0&&(_+=1));const v=f.slidesPerGroupAuto?_:f.slidesPerGroup;let y=g?Math.max(v,Math.ceil(_/2)):v;y%v!==0&&(y+=v-y%v),y+=f.loopAdditionalSlides,c.loopedSlides=y;const w=c.grid&&f.grid&&f.grid.rows>1;h.length<_+y||"cards"===c.params.effect&&h.length<_+2*y?Af("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):w&&"row"===f.grid.fill&&Af("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const x=[],b=[],E=w?Math.ceil(h.length/f.grid.rows):h.length,S=o&&E-m<_&&!g;let C=S?m:c.activeIndex;void 0===s?s=c.getSlideIndex(h.find(t=>t.classList.contains(f.slideActiveClass))):C=s;const T="next"===n||!n,A="prev"===n||!n;let k=0,M=0;const I=(w?h[s].column:s)+(g&&void 0===r?-_/2+.5:0);if(I<y){k=Math.max(y-I,v);for(let t=0;t<y-I;t+=1){const e=t-Math.floor(t/E)*E;if(w){const t=E-e-1;for(let e=h.length-1;e>=0;e-=1)h[e].column===t&&x.push(e)}else x.push(E-e-1)}}else if(I+_>E-y){M=Math.max(I-(E-2*y),v),S&&(M=Math.max(M,_-E+m+1));for(let t=0;t<M;t+=1){const e=t-Math.floor(t/E)*E;w?h.forEach((t,i)=>{t.column===e&&b.push(i)}):b.push(e)}}if(c.__preventObserver__=!0,requestAnimationFrame(()=>{c.__preventObserver__=!1}),"cards"===c.params.effect&&h.length<_+2*y&&(b.includes(s)&&b.splice(b.indexOf(s),1),x.includes(s)&&x.splice(x.indexOf(s),1)),A&&x.forEach(t=>{h[t].swiperLoopMoveDOM=!0,p.prepend(h[t]),h[t].swiperLoopMoveDOM=!1}),T&&b.forEach(t=>{h[t].swiperLoopMoveDOM=!0,p.append(h[t]),h[t].swiperLoopMoveDOM=!1}),c.recalcSlides(),"auto"===f.slidesPerView?c.updateSlides():w&&(x.length>0&&A||b.length>0&&T)&&c.slides.forEach((t,e)=>{c.grid.updateSlide(e,t,c.slides)}),f.watchSlidesProgress&&c.updateSlidesOffset(),i)if(x.length>0&&A){if(void 0===e){const t=c.slidesGrid[C],e=c.slidesGrid[C+k]-t;l?c.setTranslate(c.translate-e):(c.slideTo(C+Math.ceil(k),0,!1,!0),r&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-e,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-e))}else if(r){const t=w?x.length/f.grid.rows:x.length;c.slideTo(c.activeIndex+t,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(b.length>0&&T)if(void 0===e){const t=c.slidesGrid[C],e=c.slidesGrid[C-M]-t;l?c.setTranslate(c.translate-e):(c.slideTo(C-M,0,!1,!0),r&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-e,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-e))}else{const t=w?b.length/f.grid.rows:b.length;c.slideTo(c.activeIndex-t,0,!1,!0)}if(c.allowSlidePrev=d,c.allowSlideNext=u,c.controller&&c.controller.control&&!a){const t={slideRealIndex:e,direction:n,setTranslate:r,activeSlideIndex:s,byController:!0};Array.isArray(c.controller.control)?c.controller.control.forEach(e
vendor: 6,453 bytes, line 2
2=>{!e.destroyed&&e.params.loop&&e.loopFix({...t,slideTo:e.params.slidesPerView===f.slidesPerView&&i})}):c.controller.control instanceof c.constructor&&c.controller.control.params.loop&&c.controller.control.loopFix({...t,slideTo:c.controller.control.params.slidesPerView===f.slidesPerView&&i})}c.emit("loopFix")},loopDestroy:function(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||!i||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(t=>{const e=void 0===t.swiperSlideIndex?1*t.getAttribute("data-swiper-slide-index"):t.swiperSlideIndex;n[e]=t}),t.slides.forEach(t=>{t.removeAttribute("data-swiper-slide-index")}),n.forEach(t=>{i.append(t)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}};function eg(t,e,i){const n=gf(),{params:r}=t,s=r.edgeSwipeDetection,o=r.edgeSwipeThreshold;return!s||!(i<=o||i>=n.innerWidth-o)||"prevent"===s&&(e.preventDefault(),!0)}function ig(t){const e=this,i=pf();let n=t;n.originalEvent&&(n=n.originalEvent);const r=e.touchEventsData;if("pointerdown"===n.type){if(null!==r.pointerId&&r.pointerId!==n.pointerId)return;r.pointerId=n.pointerId}else"touchstart"===n.type&&1===n.targetTouches.length&&(r.touchId=n.targetTouches[0].identifier);if("touchstart"===n.type)return void eg(e,n,n.targetTouches[0].pageX);const{params:s,touches:o,enabled:a}=e;if(!a)return;if(!s.simulateTouch&&"mouse"===n.pointerType)return;if(e.animating&&s.preventInteractionOnTransition)return;!e.animating&&s.cssMode&&s.loop&&e.loopFix();let l=n.target;if("wrapper"===s.touchEventsTarget&&!function(t,e){const i=gf();let n=e.contains(t);!n&&i.HTMLSlotElement&&e instanceof HTMLSlotElement&&(n=[...e.assignedElements()].includes(t),n||(n=function(t,e){const i=[e];for(;i.length>0;){const e=i.shift();if(t===e)return!0;i.push(...e.children,...e.shadowRoot?e.shadowRoot.children:[],...e.assignedElements?e.assignedElements():[])}}(t,e)));return n}(l,e.wrapperEl))return;if("which"in n&&3===n.which)return;if("button"in n&&n.button>0)return;if(r.isTouched&&r.isMoved)return;const c=!!s.noSwipingClass&&""!==s.noSwipingClass,h=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&h&&(l=h[0]);const d=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,u=!(!n.target||!n.target.shadowRoot);if(s.noSwiping&&(u?function(t,e){return void 0===e&&(e=this),function e(i){if(!i||i===pf()||i===gf())return null;i.assignedSlot&&(i=i.assignedSlot);const n=i.closest(t);return n||i.getRootNode?n||e(i.getRootNode().host):null}(e)}(d,l):l.closest(d)))return void(e.allowClick=!0);if(s.swipeHandler&&!l.closest(s.swipeHandler))return;o.currentX=n.pageX,o.currentY=n.pageY;const p=o.currentX,f=o.currentY;if(!eg(e,n,p))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=p,o.startY=f,r.touchStartTime=vf(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,s.threshold>0&&(r.allowThresholdMove=!1);let g=!0;l.matches(r.focusableElements)&&(g=!1,"SELECT"===l.nodeName&&(r.isTouched=!1)),i.activeElement&&i.activeElement.matches(r.focusableElements)&&i.activeElement!==l&&("mouse"===n.pointerType||"mouse"!==n.pointerType&&!l.matches(r.focusableElements))&&i.activeElement.blur();const m=g&&e.allowTouchMove&&s.touchStartPreventDefault;!s.touchStartForcePreventDefault&&!m||l.isContentEditable||n.preventDefault(),s.freeMode&&s.freeMode.enabled&&e.freeMode&&e.animating&&!s.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function ng(t){const e=pf(),i=this,n=i.touchEventsData,{params:r,touches:s,rtlTranslate:o,enabled:a}=i;if(!a)return;if(!r.simulateTouch&&"mouse"===t.pointerType)return;let l,c=t;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type){if(null!==n.touchId)return;if(c.pointerId!==n.pointerId)return}if("touchmove"===c.type){if(l=[...c.changedTouches].find(t=>t.identifier===n.touchId),!l||l.identifier!==n.touchId)return}else l=c;if(!n.isTouched)return void(n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",c));const h=l.pageX,d=l.pageY;if(c.preventedByNestedSwiper)return s.startX=h,void(s.startY=d);if(!i.allowTouchMove)return c.target.matches(n.focusableElements)||(i.allowClick=!1),void(n.isTouched&&(Object.assign(s,{startX:h,startY:d,currentX:h,currentY:d}),n.touchStartTime=vf()));if(r.touchReleaseOnEdges&&!r.loop)if(i.isVertical()){if(d<s.startY&&i.translate<=i.maxTranslate()||d>s.startY&&i.translate>=i.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else{if(o&&(h>s.startX&&-i.translate<=i.maxTranslate()||h<s.startX&&-i.translate>=i.minTranslate()))return;if(!o&&(h<s.startX&&i.translate<=i.maxTranslate()||h>s.startX&&i.translate>=i.minTranslate()))return}if(e.activeElement&&e.activeElement.matches(n.focusableElements)&&e.activeElement!==c.target&&"mouse"!==c.pointerType&&e.activeElement.blur(),e.activeElement&&c.target===e.activeElement&&c.target.matches(n.focusableElements))return n.isMoved=!0,void(i.allowClick=!1);n.allowTouchCallbacks&&i.emit("touchMove",c),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=h,s.currentY=d;const u=s.currentX-s.startX,p=s.currentY-s.startY;if(i.params.threshold&&Math.sqrt(u**2+p**2)<i.params.threshold)return;if(void 0===n.isScrolling){let t;i.isHorizontal()&&s.currentY===s.startY||i.isVertical()&&s.currentX===s.startX?n.isScrolling=!1:u*u+p*p>=25&&(t=180*Math.atan2(Math.abs(p),Math.abs(u))/Math.PI,n.isScrolling=i.isHorizontal()?t>r.touchAngle:90-t>r.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",c),void 0===n.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(n.startMoving=!0)),n.isScrolling||"touchmove"===c.type&&n.preventTouchMoveFromPointerMove)return void(n.isTouched=!1);if(!n.startMoving)return;i.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation();let f=i.isHorizontal()?u:p,g=i.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;r.oneWayMovement&&(f=Math.abs(f)*(o?1:-1),g=Math.abs(g)*(o?1:-1)),s.diff=f,f*=r.touchRatio,o&&(f=-f,g=-g);const m=i.touchesDirection;i.swipeDirection=f>0?"prev":"next",i.touchesDirection=g>0?"prev":"next";const _=i.params.loop&&!r.cssMode,v="next"===i.touchesDirection&&i.allowSlideNext||"prev"===i.touchesDirection&&i.allowSlidePrev;if(!n.isMoved){if(_&&v&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const t=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});
vendor: 2,162 bytes, line 2
2i.wrapperEl.dispatchEvent(t)}n.allowMomentumBounce=!1,!r.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",c)}if((new Date).getTime(),!1!==r._loopSwapReset&&n.isMoved&&n.allowThresholdMove&&m!==i.touchesDirection&&_&&v&&Math.abs(f)>=1)return Object.assign(s,{startX:h,startY:d,currentX:h,currentY:d,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,void(n.startTranslate=n.currentTranslate);i.emit("sliderMove",c),n.isMoved=!0,n.currentTranslate=f+n.startTranslate;let y=!0,w=r.resistanceRatio;if(r.touchReleaseOnEdges&&(w=0),f>0?(_&&v&&n.allowThresholdMove&&n.currentTranslate>(r.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]-("auto"!==r.slidesPerView&&i.slides.length-r.slidesPerView>=2?i.slidesSizesGrid[i.activeIndex+1]+i.params.spaceBetween:0)-i.params.spaceBetween:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(y=!1,r.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+f)**w))):f<0&&(_&&v&&n.allowThresholdMove&&n.currentTranslate<(r.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]+i.params.spaceBetween+("auto"!==r.slidesPerView&&i.slides.length-r.slidesPerView>=2?i.slidesSizesGrid[i.slidesSizesGrid.length-1]+i.params.spaceBetween:0):i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-("auto"===r.slidesPerView?i.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(y=!1,r.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-f)**w))),y&&(c.preventedByNestedSwiper=!0),!i.allowSlideNext&&"next"===i.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&"prev"===i.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),i.allowSlidePrev||i.allowSlideNext||(n.currentTranslate=n.startTranslate),r.threshold>0){if(!(Math.abs(f)>r.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);
vendor: 4,881 bytes, line 2
2if(!n.allowThresholdMove)return n.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,n.currentTranslate=n.startTranslate,void(s.diff=i.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&i.freeMode||r.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function rg(t){const e=this,i=e.touchEventsData;let n,r=t;r.originalEvent&&(r=r.originalEvent);if("touchend"===r.type||"touchcancel"===r.type){if(n=[...r.changedTouches].find(t=>t.identifier===i.touchId),!n||n.identifier!==i.touchId)return}else{if(null!==i.touchId)return;if(r.pointerId!==i.pointerId)return;n=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)){if(!(["pointercancel","contextmenu"].includes(r.type)&&(e.browser.isSafari||e.browser.isWebView)))return}i.pointerId=null,i.touchId=null;const{params:s,touches:o,rtlTranslate:a,slidesGrid:l,enabled:c}=e;if(!c)return;if(!s.simulateTouch&&"mouse"===r.pointerType)return;if(i.allowTouchCallbacks&&e.emit("touchEnd",r),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&s.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);s.grabCursor&&i.isMoved&&i.isTouched&&(!0===e.allowSlideNext||!0===e.allowSlidePrev)&&e.setGrabCursor(!1);const h=vf(),d=h-i.touchStartTime;if(e.allowClick){const t=r.path||r.composedPath&&r.composedPath();e.updateClickedSlide(t&&t[0]||r.target,t),e.emit("tap click",r),d<300&&h-i.lastClickTime<300&&e.emit("doubleTap doubleClick",r)}if(i.lastClickTime=vf(),_f(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||0===o.diff&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);let u;if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,u=s.followFinger?a?e.translate:-e.translate:-i.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled)return void e.freeMode.onTouchEnd({currentPos:u});const p=u>=-e.maxTranslate()&&!e.params.loop;let f=0,g=e.slidesSizesGrid[0];for(let t=0;t<l.length;t+=t<s.slidesPerGroupSkip?1:s.slidesPerGroup){const e=t<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;void 0!==l[t+e]?(p||u>=l[t]&&u<l[t+e])&&(f=t,g=l[t+e]-l[t]):(p||u>=l[t])&&(f=t,g=l[l.length-1]-l[l.length-2])}let m=null,_=null;s.rewind&&(e.isBeginning?_=s.virtual&&s.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(m=0));const v=(u-l[f])/g,y=f<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(d>s.longSwipesMs){if(!s.longSwipes)return void e.slideTo(e.activeIndex);"next"===e.swipeDirection&&(v>=s.longSwipesRatio?e.slideTo(s.rewind&&e.isEnd?m:f+y):e.slideTo(f)),"prev"===e.swipeDirection&&(v>1-s.longSwipesRatio?e.slideTo(f+y):null!==_&&v<0&&Math.abs(v)>s.longSwipesRatio?e.slideTo(_):e.slideTo(f))}else{if(!s.shortSwipes)return void e.slideTo(e.activeIndex);e.navigation&&(r.target===e.navigation.nextEl||r.target===e.navigation.prevEl)?r.target===e.navigation.nextEl?e.slideTo(f+y):e.slideTo(f):("next"===e.swipeDirection&&e.slideTo(null!==m?m:f+y),"prev"===e.swipeDirection&&e.slideTo(null!==_?_:f))}}function sg(){const t=this,{params:e,el:i}=t;if(i&&0===i.offsetWidth)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:r,snapGrid:s}=t,o=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const a=o&&e.loop;!("auto"===e.slidesPerView||e.slidesPerView>1)||!t.isEnd||t.isBeginning||t.params.centeredSlides||a?t.params.loop&&!o?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0):t.slideTo(t.slides.length-1,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=r,t.allowSlideNext=n,t.params.watchOverflow&&s!==t.snapGrid&&t.checkOverflow()}function og(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function ag(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;let r;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,0===t.translate&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();const s=t.maxTranslate()-t.minTranslate();r=0===s?0:(t.translate-t.minTranslate())/s,r!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function lg(t){const e=this;Hf(e,t.target),e.params.cssMode||"auto"!==e.params.slidesPerView&&!e.params.autoHeight||e.update(
vendor: 9,575 bytes, line 2
2)}function cg(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const hg=(t,e)=>{const i=pf(),{params:n,el:r,wrapperEl:s,device:o}=t,a=!!n.nested,l="on"===e?"addEventListener":"removeEventListener",c=e;r&&"string"!=typeof r&&(i[l]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:a}),r[l]("touchstart",t.onTouchStart,{passive:!1}),r[l]("pointerdown",t.onTouchStart,{passive:!1}),i[l]("touchmove",t.onTouchMove,{passive:!1,capture:a}),i[l]("pointermove",t.onTouchMove,{passive:!1,capture:a}),i[l]("touchend",t.onTouchEnd,{passive:!0}),i[l]("pointerup",t.onTouchEnd,{passive:!0}),i[l]("pointercancel",t.onTouchEnd,{passive:!0}),i[l]("touchcancel",t.onTouchEnd,{passive:!0}),i[l]("pointerout",t.onTouchEnd,{passive:!0}),i[l]("pointerleave",t.onTouchEnd,{passive:!0}),i[l]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&r[l]("click",t.onClick,!0),n.cssMode&&s[l]("scroll",t.onScroll),n.updateOnWindowResize?t[c](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",sg,!0):t[c]("observerUpdate",sg,!0),r[l]("load",t.onLoad,{capture:!0}))};const dg=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;var ug={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function pg(t,e){return function(i){void 0===i&&(i={});const n=Object.keys(i)[0],r=i[n];"object"==typeof r&&null!==r?(!0===t[n]&&(t[n]={enabled:!0}),"navigation"===n&&t[n]&&t[n].enabled&&!t[n].prevEl&&!t[n].nextEl&&(t[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&t[n]&&t[n].enabled&&!t[n].el&&(t[n].auto=!0),n in t&&"enabled"in r?("object"!=typeof t[n]||"enabled"in t[n]||(t[n].enabled=!0),t[n]||(t[n]={enabled:!1}),bf(e,i)):bf(e,i)):bf(e,i)}}const fg={eventsEmitter:Uf,update:Kf,translate:Zf,transition:{setTransition:function(t,e){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${t}ms`,i.wrapperEl.style.transitionDelay=0===t?"0ms":""),i.emit("setTransition",t,e)},transitionStart:function(t,e){void 0===t&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),Jf({swiper:i,runCallbacks:t,direction:e,step:"Start"}))},transitionEnd:function(t,e){void 0===t&&(t=!0);const i=this,{params:n}=i;i.animating=!1,n.cssMode||(i.setTransition(0),Jf({swiper:i,runCallbacks:t,direction:e,step:"End"}))}},slide:Qf,loop:tg,grabCursor:{setGrabCursor:function(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i="container"===e.params.touchEventsTarget?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})},unsetGrabCursor:function(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t["container"===t.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}},events:{attachEvents:function(){const t=this,{params:e}=t;t.onTouchStart=ig.bind(t),t.onTouchMove=ng.bind(t),t.onTouchEnd=rg.bind(t),t.onDocumentTouchStart=cg.bind(t),e.cssMode&&(t.onScroll=ag.bind(t)),t.onClick=og.bind(t),t.onLoad=lg.bind(t),hg(t,"on")},detachEvents:function(){hg(this,"off")}},breakpoints:{setBreakpoint:function(){const t=this,{realIndex:e,initialized:i,params:n,el:r}=t,s=n.breakpoints;if(!s||s&&0===Object.keys(s).length)return;const o=pf(),a="window"!==n.breakpointsBase&&n.breakpointsBase?"container":n.breakpointsBase,l=["window","container"].includes(n.breakpointsBase)||!n.breakpointsBase?t.el:o.querySelector(n.breakpointsBase),c=t.getBreakpoint(s,a,l);if(!c||t.currentBreakpoint===c)return;const h=(c in s?s[c]:void 0)||t.originalParams,d=dg(t,n),u=dg(t,h),p=t.params.grabCursor,f=h.grabCursor,g=n.enabled;d&&!u?(r.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!d&&u&&(r.classList.add(`${n.containerModifierClass}grid`),(h.grid.fill&&"column"===h.grid.fill||!h.grid.fill&&"column"===n.grid.fill)&&r.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),p&&!f?t.unsetGrabCursor():!p&&f&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(e=>{if(void 0===h[e])return;const i=n[e]&&n[e].enabled,r=h[e]&&h[e].enabled;i&&!r&&t[e].disable(),!i&&r&&t[e].enable()});const m=h.direction&&h.direction!==n.direction,_=n.loop&&(h.slidesPerView!==n.slidesPerView||m),v=n.loop;m&&i&&t.changeDirection(),bf(t.params,h);const y=t.params.enabled,w=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),g&&!y?t.disable():!g&&y&&t.enable(),t.currentBreakpoint=c,t.emit("_beforeBreakpoint",h),i&&(_?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!v&&w?(t.loopCreate(e),t.updateSlides()):v&&!w&&t.loopDestroy()),t.emit("breakpoint",h)},getBreakpoint:function(t,e,i){if(void 0===e&&(e="window"),!t||"container"===e&&!i)return;let n=!1;const r=gf(),s="window"===e?r.innerHeight:i.clientHeight,o=Object.keys(t).map(t=>{if("string"==typeof t&&0===t.indexOf("@")){const e=parseFloat(t.substr(1));return{value:s*e,point:t}}return{value:t,point:t}});o.sort((t,e)=>parseInt(t.value,10)-parseInt(e.value,10));for(let t=0;t<o.length;t+=1){const{point:s,value:a}=o[t];"window"===e?r.matchMedia(`(min-width: ${a}px)`).matches&&(n=s):a<=i.clientWidth&&(n=s)}return n||"max"}},checkOverflow:{checkOverflow:function(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const e=t.slides.length-1,i=t.slidesGrid[e]+t.slidesSizesGrid[e]+2*n;t.isLocked=t.size>i}else t.isLocked=1===t.snapGrid.length;!0===i.allowSlideNext&&(t.allowSlideNext=!t.isLocked),!0===i.allowSlidePrev&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const t=this,{classNames:e,params:i,rtl:n,el:r,device:s}=t,o=function(t,e){const i=[];return t.forEach(t=>{"object"==typeof t?Object.keys(t).forEach(n=>{t[n]&&i.push(e+n)}):"string"==typeof t&&i.push(e+t)}),i}(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&"column"===i.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...o),r.classList.add(...e),t.emitContainerClasses()},removeClasses:function(){const{el:t,classNames:e}=this;t&&"string"!=typeof t&&(t.classList.remove(...e),this.emitContainerClasses())}}},gg={};class mg{constructor(){let t,e;for(var i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?e=n[0]:[t,e]=n,e||(e={}),e=bf({},e),t&&!e.el&&(e.el=t);const s=pf();if(e.el&&"string"==typeof e.el&&s.querySelectorAll(e.el).length>1){const t=[];return s.querySelectorAll(e.el).forEach(i=>{const n=bf({},e,{el:i});t.push(new mg(n))}),t}const o=this;o.__swiper__=!0,o.support=Gf(),o.device=Wf({userAgent:e.userAgent}),o.browser=Yf(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],e.modules&&Array.isArray(e.modules)&&o.modules.push(...e.modules);const a={};o.modules.forEach(t=>{t({params:e,swiper:o,extendParams:pg(e,a),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const l=bf({},ug,a);return o.params=bf({},l,gg,e),o.originalParams=bf({},o.params),o.passedParams=bf({}
vendor: 4,841 bytes, line 2
2,e),o.params&&o.params.on&&Object.keys(o.params.on).forEach(t=>{o.on(t,o.params.on[t])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===o.params.direction,isVertical:()=>"vertical"===o.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:e,params:i}=this,n=Rf(Tf(e,`.${i.slideClass}, swiper-slide`)[0]);return Rf(t)-n}getSlideIndexByData(t){return this.getSlideIndex(this.slides.find(e=>1*e.getAttribute("data-swiper-slide-index")===t))}getSlideIndexWhenGrid(t){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?t=Math.floor(t/this.params.grid.rows):"row"===this.params.grid.fill&&(t%=Math.ceil(this.slides.length/this.params.grid.rows))),t}recalcSlides(){const{slidesEl:t,params:e}=this;this.slides=Tf(t,`.${e.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,e){const i=this;t=Math.min(Math.max(t,0),1);const n=i.minTranslate(),r=(i.maxTranslate()-n)*t+n;i.translateTo(r,void 0===e?0:e),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const e=t.el.className.split(" ").filter(e=>0===e.indexOf("swiper")||0===e.indexOf(t.params.containerModifierClass));t.emit("_containerClasses",e.join(" "))}getSlideClasses(t){const e=this;return e.destroyed?"":t.className.split(" ").filter(t=>0===t.indexOf("swiper-slide")||0===t.indexOf(e.params.slideClass)).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const e=[];t.slides.forEach(i=>{const n=t.getSlideClasses(i);e.push({slideEl:i,classNames:n}),t.emit("_slideClass",i,n)}),t.emit("_slideClasses",e)}slidesPerViewDynamic(t,e){void 0===t&&(t="current"),void 0===e&&(e=!1);const{params:i,slides:n,slidesGrid:r,slidesSizesGrid:s,size:o,activeIndex:a}=this;let l=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){let t,e=n[a]?Math.ceil(n[a].swiperSlideSize):0;for(let i=a+1;i<n.length;i+=1)n[i]&&!t&&(e+=Math.ceil(n[i].swiperSlideSize),l+=1,e>o&&(t=!0));for(let i=a-1;i>=0;i-=1)n[i]&&!t&&(e+=n[i].swiperSlideSize,l+=1,e>o&&(t=!0))}else if("current"===t)for(let t=a+1;t<n.length;t+=1){(e?r[t]+s[t]-r[a]<o:r[t]-r[a]<o)&&(l+=1)}else for(let t=a-1;t>=0;t-=1){r[a]-r[t]<o&&(l+=1)}return l}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:e,params:i}=t;function n(){const e=t.rtlTranslate?-1*t.translate:t.translate,i=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(i),t.updateActiveIndex(),t.updateSlidesClasses()}let r;if(i.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&Hf(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),i.freeMode&&i.freeMode.enabled&&!i.cssMode)n(),i.autoHeight&&t.updateAutoHeight();else{if(("auto"===i.slidesPerView||i.slidesPerView>1)&&t.isEnd&&!i.centeredSlides){const e=t.virtual&&i.virtual.enabled?t.virtual.slides:t.slides;r=t.slideTo(e.length-1,0,!1,!0)}else r=t.slideTo(t.activeIndex,0,!1,!0);r||n()}i.watchOverflow&&e!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,e){void 0===e&&(e=!0);const i=this,n=i.params.direction;return t||(t="horizontal"===n?"vertical":"horizontal"),t===n||"horizontal"!==t&&"vertical"!==t||(i.el.classList.remove(`${i.params.containerModifierClass}${n}`),i.el.classList.add(`${i.params.containerModifierClass}${t}`),i.emitContainerClasses(),i.params.direction=t,i.slides.forEac
2h(e=>{"vertical"===t?e.style.width="":e.style.height=""}),i.emit("changeDirection"),e&&i.update()),i}changeLanguageDirection(t){const e=this;e.rtl&&"rtl"===t||!e.rtl&&"ltr"===t||(e.rtl="rtl"===t,e.rtlTranslate="horizontal"===e.params.direction&&e.rtl,e.rtl?(e.el.classList.add(`${e.params.containerModifierClass}rtl`),e.el.dir="rtl"):(e.el.classList.remove(`${e.params.containerModifierClass}rtl`),e.el.dir="ltr"),e.update())}mount(t){const e=this;if(e.mounted)return!0;let i=t||e.params.el;if("string"==typeof i&&(i=document.querySelector(i)),!i)return!1;i.swiper=e,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===e.params.swiperElementNodeName.toUpperCase()&&(e.isElement=!0);const n=()=>`.${(e.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=(()=>{if(i&&i.shadowRoot&&i.shadowRoot.querySelector){return i.shadowRoot.querySelector(n())}return Tf(i,n())[0]})();return!r&&e.params.createElements&&(r=kf("div",e.params.wrapperClass),i.append(r),Tf(i,`.${e.params.slideClass}`).forEach(t=>{r.append(t)})),Object.assign(e,{el:i,wrapperEl:r,slidesEl:e.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:r,hostEl:e.isElement?i.parentNode.host:i,mounted:!0,rtl:"rtl"===i.dir.toLowerCase()||"rtl"===If(i,"direction"),rtlTranslate:"horizontal"===e.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===If(i,"direction")),wrongRTL:"-webkit-box"===If(r,"display")}),!0}init(t){const e=this;if(e.initialized)return e;if(!1===e.mount(t))return e;e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.enabled&&e.setGrabCursor(),e.params.loop&&e.virtual&&e.params.virtual.enabled?e.slideTo(e.params.initialSlide+e.virtual.slidesBefore,0,e.params.runCallbacksOnInit,!1,!0):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit,!1,!0),e.params.loop&&e.loopCreate(void 0,!0),e.attachEvents();const i=[...e.el.querySelectorAll('[loading="lazy"]')];return e.isElement&&i.push(...e.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(t=>{t.complete?Hf(e,t):t.addEventListener("load",t=>{Hf(e,t.target)})}),Vf(e),e.initialized=!0,Vf(e),e.emit("init"),e.emit("afterInit"),e}destroy(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0);const i=this,{params:n,el:r,wrapperEl:s,slides:o}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),e&&(i.removeClasses(),r&&"string"!=typeof r&&r.removeAttribute("style"),s&&s.removeAttribute("style"),o&&o.length&&o.forEach(t=>{t.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),t.removeAttribute("style"),t.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(t=>{i.off(t)}),!1!==t&&(i.el&&"string"!=typeof i.el&&(i.el.swiper=null),function(t){const e=t;Object.keys(e).forEach(t=>{try{e[t]=null}catch(t){}try{delete e[t]}catch(t){}})}(i)),i.destroyed=!0),null}static extendDefaults(t){bf(gg,t)}static get extendedDefaults(){return gg}static get defaults(){return ug}static installModule(t){mg.prototype.__modules__||(mg.prototype.__modules__=[]);const e=mg.prototype.__modules__;"function"==typeof t&&e.indexOf(t)<0&&e.push(t)}static use(t){return Array.isArray(t)?(t.forEach(t=>mg.installModule(t)),mg):(mg.installModule(t),mg)}}function _g(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(r=>{if(!i[r]&&!0===i.auto){let s=Tf(t.el,`.${n[r]}`)[0];s||(s=kf("div",n[r]),s.className=n[r],t.el.append(s)),i[r]=s,e[r]=s}}),i}function vg(t){return void 0===t&&(t=""),`.${t.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function yg(t){const e=this,{params:i,slidesEl:n}=e;i.loop&&e.loopDestroy();const r=t=>{if("string"==typeof t){const e=document.createElement("div");zf(e,t),n.append(e.children[0]),zf(e,"")}else n.append(t)};if("object"==typeof t&&"length"in t)for(let e=0;e<t.length;e+=1)t[e]&&r(t[e]);else r(t);e.recalcSlides(),i.loop&&e.loopCreate(),i.observer&&!e.isElement||e.update()}function wg(t){const e=this,{params:i,activeIndex:n,slidesEl:r}=e;i.loop&&e.loopDestroy();let s=n+1;const o=t=>{if("string"==typeof t){const e=document.createElement("div");zf(e,t),r.prepend(e.children[0]),zf(e,"")}else r.prepend(t)};if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&o(t[e]);s=n+t.length}else o(t);e.recalcSlides(),i.loop&&e.loopCreate(),i.observer&&!e.isElement||e.update(
vendor: 1,171 bytes, line 2
2),e.slideTo(s,0,!1)}function xg(t,e){const i=this,{params:n,activeIndex:r,slidesEl:s}=i;let o=r;n.loop&&(o-=i.loopedSlides,i.loopDestroy(),i.recalcSlides());const a=i.slides.length;if(t<=0)return void i.prependSlide(e);if(t>=a)return void i.appendSlide(e);let l=o>t?o+1:o;const c=[];for(let e=a-1;e>=t;e-=1){const t=i.slides[e];t.remove(),c.unshift(t)}if("object"==typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&s.append(e[t]);l=o>t?o+e.length:o}else s.append(e);for(let t=0;t<c.length;t+=1)s.append(c[t]);i.recalcSlides(),n.loop&&i.loopCreate(),n.observer&&!i.isElement||i.update(),n.loop?i.slideTo(l+i.loopedSlides,0,!1):i.slideTo(l,0,!1)}function bg(t){const e=this,{params:i,activeIndex:n}=e;let r=n;i.loop&&(r-=e.loopedSlides,e.loopDestroy());let s,o=r;if("object"==typeof t&&"length"in t){for(let i=0;i<t.length;i+=1)s=t[i],e.slides[s]&&e.slides[s].remove(),s<o&&(o-=1);o=Math.max(o,0)}else s=t,e.slides[s]&&e.slides[s].remove(),s<o&&(o-=1),o=Math.max(o,0);e.recalcSlides(),i.loop&&e.loopCreate(),i.observer&&!e.isElement||e.update(),i.loop?e.slideTo(o+e.loopedSlides,0,!1):e.slideTo(o,0,!1)}function Eg(){const t=this,e=[];for(let i=0;i<t.slides.length;
2i+=1)e.push(i);t.removeSlide(e)}function Sg(t){const{effect:e,swiper:i,on:n,setTranslate:r,setTransition:s,overwriteParams:o,perspective:a,recreateShadows:l,getEffectParams:c}=t;let h;n("beforeInit",()=>{if(i.params.effect!==e)return;i.classNames.push(`${i.params.containerModifierClass}${e}`),a&&a()&&i.classNames.push(`${i.params.containerModifierClass}3d`);const t=o?o():{};Object.assign(i.params,t),Object.assign(i.originalParams,t)}),n("setTranslate _virtualUpdated",()=>{i.params.effect===e&&r()}),n("setTransition",(t,n)=>{i.params.effect===e&&s(n)}),n("transitionEnd",()=>{if(i.params.effect===e&&l){if(!c||!c().slideShadows)return;i.slides.forEach(t=>{t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(t=>t.remove())}),l()}}),n("virtualUpdate",()=>{i.params.effect===e&&(i.slides.length||(h=!0),requestAnimationFrame(()=>{h&&i.slides&&i.slides.length&&(r(),h=!1)}))})}function Cg(t,e){const i=Cf(e);return i!==e&&(i.style.backfaceVisibility="hidden",i.style["-webkit-backface-visibility"]="hidden"),i}function Tg(t){let{swiper:e,duration:i,transformElements:n,allSlides:r}=t;const{activeIndex:s}=e;if(e.params.virtualTranslate&&0!==i){let t,i=!1;t=r?n:n.filter(t=>{const i=t.classList.contains("swiper-slide-transform")?(t=>{if(!t.parentElement)return e.slides.find(e=>e.shadowRoot&&e.shadowRoot===t.parentNode);return t.parentElement})(t):t;return e.getSlideIndex(i)===s}),t.forEach(t=>{Pf(t,()=>{if(i)return;if(!e||e.destroyed)return;i=!0,e.animating=!1;const t=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(t)})})}}function Ag(t,e,i){const n=`swiper-slide-shadow${i?`-${i}`:""}${t?` swiper-slide-shadow-${t}`:""}`,r=Cf(e);let s=r.querySelector(`.${n.split(" ").join(".")}`);return s||(s=kf("div",n.split(" ")),r.append(s)),s}Object.keys(fg).forEach(t=>{Object.keys(fg[t]).forEach(e=>{mg.prototype[e]=fg[t][e]})}),mg.use([function(t){let{swiper:e,on:i,emit:n}=t;const r=gf();let s=null,o=null;const a=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},l=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};i("init",()=>{e.params.resizeObserver&&void 0!==r.ResizeObserver?e&&!e.destroyed&&e.initialized&&(s=new ResizeObserver(t=>{o=r.requestAnimationFrame(()=>{const{width:i,height:n}=e;let r=i,s=n;t.forEach(t=>{let{contentBoxSize:i,contentRect:n,target:o}=t;o&&o!==e.el||(r=n?n.width:(i[0]||i).inlineSize,s=n?n.height:(i[0]||i).blockSize)}),r===i&&s===n||a()})}),s.observe(e.el)):(r.addEventListener("resize",a),r.addEventListener("orientationchange",l))}),i("destroy",()=>{o&&r.cancelAnimationFrame(o),s&&s.unobserve&&e.el&&(s.unobserve(e.el),s=null),r.removeEventListener("resize",a),r.removeEventListener("orientationchange",l)})},function(t){let{swiper:e,extendParams:i,on:n,emit:r}=t;const s=[],o=gf(),a=function(t,i){void 0===i&&(i={});const n=new(o.MutationObserver||o.WebkitMutationObserver)(t=>{if(e.__preventObserver__)return;if(1===t.length)return void r("observerUpdate",t[0]);const i=function(){r("observerUpdate",t[0])};o.requestAnimationFrame?o.requestAnimationFrame(i):o.setTimeout(i,0)});n.observe(t,{attributes:void 0===i.attributes||i.attributes,childList:e.isElement||(void 0===i.childList||i).childList,characterData:void 0===i.characterData||i.characterData}),s.push(n)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",()=>{if(e.params.observer){if(e.params.observeParents){const t=Lf(e.hostEl);for(let e=0;e<t.length;e+=1)a(t[e])}a(e.hostEl,{childList:e.params.observeSlideChildren}),a(e.wrapperEl,{attributes:!1})}}),n("destroy",()=>{s.forEach(t=>{t.disconnect()}),s.splice(0,s.length)})}]);const kg=[function(t){let e,{swiper:i,extendParams:n,on:r,emit:s}=t;n({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const o=pf();i.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const a=o.createElement("div");function l(t,e){const n=i.params.virtual;if(n.cache&&i.virtual.cache[e])return i.virtual.cache[e];let r;return n.renderSlide?(r=n.renderSlide.call(i,t,e),"string"==typeof r&&(zf(a,r),r=a.children[0])):r=i.isElement?kf("swiper-slide"):kf("div",i.params.slideClass),r.setAttribute("data-swiper-slide-index",e),n.renderSlide||zf(r,t),n.cache&&(i.virtual.cache[e]=r),r}function c(t,e,n){const{slidesPerView:r,slidesPerGroup:o,centeredSlides:a,loop:c,initialSlide:h}=i.params;if(e&&!c&&h>0)return;const{addSlidesBefore:d,addSlidesAfter:u}=i.params.virtual,{from:p,to:f,slides:g,slidesGrid:m,offset:_}=i.virtual;i.params.cssMode||i.updateActiveIndex();const v=void 0===n?i.activeIndex||0:n;let y,w,x;y=i.rtlTranslate?"right":i.isHorizontal()?"left":"top",a?(w=Math.floor(r/2)+o+u,x=Math.floor(r/2)+o+d):(w=r+(o-1)+u,x=(c?r:o)+d);let b=v-x,E=v+w;c||(b=Math.max(b,0),E=Math.min(E,g.length-1));let S=(i.slidesGrid[b]||0)-(i.slidesGrid[0]||0);function C(){i.updateSlides(),i.updateProgress(),i.updateSlidesClasses(),s("virtualUpdate")}if(c&&v>=x?(b-=x,a||(S+=i.slidesGrid[0])):c&&v<x&&(b=-x,a&&(S+=i.slidesGrid[0])),Object.assign(i.virtual,{from:b,to:E,offset:S,slidesGrid:i.slidesGrid,slidesBefore:x,slidesAfter:w}),p===b&&f===E&&!t)return i.slidesGrid!==m&&S!==_&&i.slides.forEac
2h(t=>{t.style[y]=S-Math.abs(i.cssOverflowAdjustment())+"px"}),i.updateProgress(),void s("virtualUpdate");if(i.params.virtual.renderExternal)return i.params.virtual.renderExternal.call(i,{offset:S,from:b,to:E,slides:function(){const t=[];for(let e=b;e<=E;e+=1)t.push(g[e]);return t}()}),void(i.params.virtual.renderExternalUpdate?C():s("virtualUpdate"));const T=[],A=[],k=t=>{let e=t;return t<0?e=g.length+t:e>=g.length&&(e-=g.length),e};if(t)i.slides.filter(t=>t.matches(`.${i.params.slideClass}, swiper-slide`)).forEach(t=>{t.remove()});else for(let t=p;t<=f;t+=1)if(t<b||t>E){const e=k(t);i.slides.filter(t=>t.matches(`.${i.params.slideClass}[data-swiper-slide-index="${e}"], swiper-slide[data-swiper-slide-index="${e}"]`)).forEach(t=>{t.remove()})}const M=c?-g.length:0,I=c?2*g.length:g.length;for(let e=M;e<I;e+=1)if(e>=b&&e<=E){const i=k(e);void 0===f||t?A.push(i):(e>f&&A.push(i),e<p&&T.push(i))}if(A.forEach(t=>{i.slidesEl.append(l(g[t],t))}),c)for(let t=T.length-1;t>=0;t-=1){const e=T[t];i.slidesEl.prepend(l(g[e],e))}else T.sort((t,e)=>e-t),T.forEach(t=>{i.slidesEl.prepend(l(g[t],t))});Tf(i.slidesEl,".swiper-slide, swiper-slide").forEach(t=>{t.style[y]=S-Math.abs(i.cssOverflowAdjustment())+"px"}),C()}r("beforeInit",()=>{if(!i.params.virtual.enabled)return;let t;if(void 0===i.passedParams.virtual.slides){const e=[...i.slidesEl.children].filter(t=>t.matches(`.${i.params.slideClass}, swiper-slide`));e&&e.length&&(i.virtual.slides=[...e],t=!0,e.forEach((t,e)=>{t.setAttribute("data-swiper-slide-index",e),i.virtual.cache[e]=t,t.remove()}))}t||(i.virtual.slides=i.params.virtual.slides),i.classNames.push(`${i.params.containerModifierClass}virtual`),i.params.watchSlidesProgress=!0,i.originalParams.watchSlidesProgress=!0,c(!1,!0)}),r("setTranslate",()=>{i.params.virtual.enabled&&(i.params.cssMode&&!i._immediateVirtual?(clearTimeout(e),e=setTimeout(()=>{c()},100)):c())}),r("init update resize",()=>{i.params.virtual.enabled&&i.params.cssMode&&Ef(i.wrapperEl,"--swiper-virtual-size",`${i.virtualSize}px`)}),Object.assign(i.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let e=0;e<t.length;e+=1)t[e]&&i.virtual.slides.push(t[e]);else i.virtual.slides.push(t);c(!0)},prependSlide:function(t){const e=i.activeIndex;let n=e+1,r=1;if(Array.isArray(t)){for(let e=0;e<t.length;e+=1)t[e]&&i.virtual.slides.unshift(t[e]);n=e+t.length,r=t.length}else i.virtual.slides.unshift(t);if(i.params.virtual.cache){const t=i.virtual.cache,e={};Object.keys(t).forEach(i=>{const n=t[i],s=n.getAttribute("data-swiper-slide-index");s&&n.setAttribute("data-swiper-slide-index",parseInt(s,10)+r),e[parseInt(i,10)+r]=n}),i.virtual.cache=e}c(!0),i.slideTo(n,0)},removeSlide:function(t){if(null==t)return;let e=i.activeIndex;if(Array.isArray(t))for(let n=t.length-1;n>=0;n-=1)i.params.virtual.cache&&(delete i.virtual.cache[t[n]],Object.keys(i.virtual.cache).forEach(e=>{e>t&&(i.virtual.cache[e-1]=i.virtual.cache[e],i.virtual.cache[e-1].setAttribute("data-swiper-slide-index",e-1),delete i.virtual.cache[e])})),i.virtual.slides.splice(t[n],1),t[n]<e&&(e-=1),e=Math.max(e,0);else i.params.virtual.cache&&(delete i.virtual.cache[t],Object.keys(i.virtual.cache).forEach(e=>{e>t&&(i.virtual.cache[e-1]=i.virtual.cache[e],i.virtual.cache[e-1].setAttribute("data-swiper-slide-index",e-1),delete i.virtual.cache[e])})),i.virtual.slides.splice(t,1),t<e&&(e-=1),e=Math.max(e,0);c(!0),i.slideTo(e,0)},removeAllSlides:function(){i.virtual.slides=[],i.params.virtual.cache&&(i.virtual.cache={}),c(!0),i.slideTo(0,0)},update:c})},function(t){let{swiper:e,extendParams:i,on:n,emit:r}=t;const s=pf(),o=gf();function a(t){if(!e.enabled)return;const{rtlTranslate:i}=e;let n=t;n.originalEvent&&(n=n.originalEvent);const a=n.keyCode||n.charCode,l=e.params.keyboard.pageUpDown,c=l&&33===a,h=l&&34===a,d=37===a,u=39===a,p=38===a,f=40===a;if(!e.allowSlideNext&&(e.isHorizontal()&&u||e.isVertical()&&f||h))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&d||e.isVertical()&&p||c))return!1;if(!(n.shiftKey||n.altKey||n.ctrlKey||n.metaKey||s.activeElement&&(s.activeElement.isContentEditable||s.activeElement.nodeName&&("input"===s.activeElement.nodeName.toLowerCase()||"textarea"===s.activeElement.nodeName.toLowerCase())))){if(e.params.keyboard.onlyInViewport&&(c||h||d||u||p||f)){let t=!1;if(Lf(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&0===Lf(e.el,`.${e.params.slideActiveClass}`).length)return;const n=e.el,r=n.clientWidth,s=n.clientHeight,a=o.innerWidth,l=o.innerHeight,c=Mf(n);i&&(c.left-=n.scrollLeft);const h=[[c.left,c.top],[c.left+r,c.top],[c.left,c.top+s],[c.left+r,c.top+s]];for(let e=0;e<h.length;e+=1){const i=h[e];if(i[0]>=0&&i[0]<=a&&i[1]>=0&&i[1]<=l){if(0===i[0]&&0===i[1])continue;t=!0}}if(!t)return}e.isHorizontal()?((c||h||d||u)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),((h||u)&&!i||(c||d)&&i)&&e.slideNext(),((c||d)&&!i||(h||u)&&i)&&e.slidePrev()):((c||h||p||f)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),(h||f)&&e.slideNext(),(c||p)&&e.slidePrev()),r("keyPress",a)}}function l(){e.keyboard.enabled||(s.addEventListener("keydown",a),e.keyboard.enabled=!0)}function c(){e.keyboard.enabled&&(s.removeEventListener("keydown",a),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},i({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),n("init",()=>{e.params.keyboard.enabled&&l()}),n("destroy",()=>{e.keyboard.enabled&&c()}),Object.assign(e.keyboard,{enable:l,disable:c})},function(t){let{swiper:e,extendParams:i,on:n,emit:r}=t;const s=gf();let o;i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let a,l=vf();const c=[];function h(){e.enabled&&(e.mouseEntered=!0)}function d(){e.enabled&&(e.mouseEntered=!1)}function u(t){return!(e.params.mousewheel.thresholdDelta&&t.delta<e.params.mousewheel.thresholdDelta)&&(!(e.params.mousewheel.thresholdTime&&vf()-l<e.params.mousewheel.thresholdTime)&&(t.delta>=6&&vf()-l<60||(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),r("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),r("scroll",t.raw)),l=(new s.Date).getTime(),!1)))}function p(t){let i=t,n=!0;if(!e.enabled)return;if(t.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const s=e.params.mousewheel;e.params.cssMode&&i.preventDefault();let l=e.el;"container"!==e.params.mousewheel.eventsTarget&&(l=document.querySelector(e.params.mousewheel.eventsTarget));const h=l&&l.contains(i.target);if(!e.mouseEntered&&!h&&!s.releaseOnEdges)return!0;
2i.originalEvent&&(i=i.originalEvent);let d=0;const p=e.rtlTranslate?-1:1,f=function(t){let e=0,i=0,n=0,r=0;return"detail"in t&&(i=t.detail),"wheelDelta"in t&&(i=-t.wheelDelta/120),"wheelDeltaY"in t&&(i=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=i,i=0),n=10*e,r=10*i,"deltaY"in t&&(r=t.deltaY),"deltaX"in t&&(n=t.deltaX),t.shiftKey&&!n&&(n=r,r=0),(n||r)&&t.deltaMode&&(1===t.deltaMode?(n*=40,r*=40):(n*=800,r*=800)),n&&!e&&(e=n<1?-1:1),r&&!i&&(i=r<1?-1:1),{spinX:e,spinY:i,pixelX:n,pixelY:r}}(i);if(s.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(f.pixelX)>Math.abs(f.pixelY)))return!0;d=-f.pixelX*p}else{if(!(Math.abs(f.pixelY)>Math.abs(f.pixelX)))return!0;d=-f.pixelY}else d=Math.abs(f.pixelX)>Math.abs(f.pixelY)?-f.pixelX*p:-f.pixelY;if(0===d)return!0;s.invert&&(d=-d);let g=e.getTranslate()+d*s.sensitivity;if(g>=e.minTranslate()&&(g=e.minTranslate()),g<=e.maxTranslate()&&(g=e.maxTranslate()),n=!!e.params.loop||!(g===e.minTranslate()||g===e.maxTranslate()),n&&e.params.nested&&i.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:vf(),delta:Math.abs(d),direction:Math.sign(d)},n=a&&t.time<a.time+500&&t.delta<=a.delta&&t.direction===a.direction;if(!n){a=void 0;let l=e.getTranslate()+d*s.sensitivity;const h=e.isBeginning,u=e.isEnd;if(l>=e.minTranslate()&&(l=e.minTranslate()),l<=e.maxTranslate()&&(l=e.maxTranslate()),e.setTransition(0),e.setTranslate(l),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!h&&e.isBeginning||!u&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:t.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(o),o=void 0,c.length>=15&&c.shift();const i=c.length?c[c.length-1]:void 0,n=c[0];if(c.push(t),i&&(t.delta>i.delta||t.direction!==i.direction))c.splice(0);else if(c.length>=15&&t.time-n.time<500&&n.delta-t.delta>=1&&t.delta<=6){const i=d>0?.8:.2;a=t,c.splice(0),o=_f(()=>{!e.destroyed&&e.params&&e.slideToClosest(e.params.speed,!0,void 0,i)},0)}o||(o=_f(()=>{if(e.destroyed||!e.params)return;a=t,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(n||r("scroll",i),e.params.autoplay&&e.params.autoplay.disableOnInteraction&&e.autoplay.stop(),s.releaseOnEdges&&(l===e.minTranslate()||l===e.maxTranslate()))return!0}}else{const i={time:vf(),delta:Math.abs(d),direction:Math.sign(d),raw:t};c.length>=2&&c.shift();const n=c.length?c[c.length-1]:void 0;if(c.push(i),n?(i.direction!==n.direction||i.delta>n.delta||i.time>n.time+150)&&u(i):u(i),function(t){const i=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&i.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&i.releaseOnEdges)return!0;return!1}(i))return!0}return i.preventDefault?i.preventDefault():i.returnValue=!1,!1}function f(t){let i=e.el;"container"!==e.params.mousewheel.eventsTarget&&(i=document.querySelector(e.params.mousewheel.eventsTarget)),i[t]("mouseenter",h),i[t]("mouseleave",d),i[t]("wheel",p)}function g(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",p),!0):!e.mousewheel.enabled&&(f("addEventListener"),e.mousewheel.enabled=!0,!0)}function m(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,p),!0):!!e.mousewheel.enabled&&(f("removeEventListener"),e.mousewheel.enabled=!1,!0)}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&m(),e.params.mousewheel.enabled&&g()}),n("destroy",()=>{e.params.cssMode&&g(),e.mousewheel.enabled&&m()}),Object.assign(e.mousewheel,{enable:g,disable:m})},function(t){let{swiper:e,extendParams:i,on:n,emit:r}=t;function s(t){let i;return t&&"string"==typeof t&&e.isElement&&(i=e.el.querySelector(t)||e.hostEl.querySelector(t),i)?i:(t&&("string"==typeof t&&(i=[...document.querySelectorAll(t)]),e.params.uniqueNavElements&&"string"==typeof t&&i&&i.length>1&&1===e.el.querySelectorAll(t).length?i=e.el.querySelector(t):i&&1===i.length&&(i=i[0])),t&&!i?t:i)}function o(t,i){const n=e.params.navigation;(t=Of(t)).forEach(t=>{t&&(t.classList[i?"add":"remove"](...n.disabledClass.split(" ")),"BUTTON"===t.tagName&&(t.disabled=i),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](n.lockClass))})}function a(){const{nextEl:t,prevEl:i}=e.navigation;if(e.params.loop)return o(i,!1),void o(t,!1);o(i,e.isBeginning&&!e.params.rewind),o(t,e.isEnd&&!e.params.rewind)}function l(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function c(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function h(){const t=e.params.navigation;if(e.params.navigation=_g(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;let i=s(t.nextEl),n=s(t.prevEl);Object.assign(e.navigation,{nextEl:i,prevEl:n}),i=Of(i),n=Of(n);const r=(i,n)=>{i&&i.addEventListener("click","next"===n?c:l),!e.enabled&&i&&i.classList.add(...t.lockClass.split(" "))};
2i.forEach(t=>r(t,"next")),n.forEach(t=>r(t,"prev"))}function d(){let{nextEl:t,prevEl:i}=e.navigation;t=Of(t),i=Of(i);const n=(t,i)=>{t.removeEventListener("click","next"===i?c:l),t.classList.remove(...e.params.navigation.disabledClass.split(" "))};t.forEach(t=>n(t,"next")),i.forEach(t=>n(t,"prev"))}i({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null},n("init",()=>{!1===e.params.navigation.enabled?u():(h(),a())}),n("toEdge fromEdge lock unlock",()=>{a()}),n("destroy",()=>{d()}),n("enable disable",()=>{let{nextEl:t,prevEl:i}=e.navigation;t=Of(t),i=Of(i),e.enabled?a():[...t,...i].filter(t=>!!t).forEach(t=>t.classList.add(e.params.navigation.lockClass))}),n("click",(t,i)=>{let{nextEl:n,prevEl:s}=e.navigation;n=Of(n),s=Of(s);const o=i.target;let a=s.includes(o)||n.includes(o);if(e.isElement&&!a){const t=i.path||i.composedPath&&i.composedPath();t&&(a=t.find(t=>n.includes(t)||s.includes(t)))}if(e.params.navigation.hideOnClick&&!a){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===o||e.pagination.el.contains(o)))return;let t;n.length?t=n[0].classList.contains(e.params.navigation.hiddenClass):s.length&&(t=s[0].classList.contains(e.params.navigation.hiddenClass)),r(!0===t?"navigationShow":"navigationHide"),[...n,...s].filter(t=>!!t).forEach(t=>t.classList.toggle(e.params.navigation.hiddenClass))}});const u=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),d()};Object.assign(e.navigation,{enable:()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),h(),a()},disable:u,update:a,init:h,destroy:d})},function(t){let{swiper:e,extendParams:i,on:n,emit:r}=t;const s="swiper-pagination";let o;i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:t=>t,formatFractionTotal:t=>t,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),e.pagination={el:null,bullets:[]};let a=0;function l(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&0===e.pagination.el.length}function c(t,i){const{bulletActiveClass:n}=e.params.pagination;t&&(t=t[("prev"===i?"previous":"next")+"ElementSibling"])&&(t.classList.add(`${n}-${i}`),(t=t[("prev"===i?"previous":"next")+"ElementSibling"])&&t.classList.add(`${n}-${i}-${i}`))}function h(t){const i=t.target.closest(vg(e.params.pagination.bulletClass));if(!i)return;t.preventDefault();const n=Rf(i)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===n)return;const t=(r=e.realIndex,s=n,o=e.slides.length,(s%=o)===1+(r%=o)?"next":s===r-1?"previous":void 0);"next"===t?e.slideNext():"previous"===t?e.slidePrev():e.slideToLoop(n)}else e.slideTo(n);var r,s,o}function d(){const t=e.rtl,i=e.params.pagination;if(l())return;let n,s,h=e.pagination.el;h=Of(h);const d=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,u=e.params.loop?Math.ceil(d/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(s=e.previousRealIndex||0,n=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):void 0!==e.snapIndex?(n=e.snapIndex,s=e.previousSnapIndex):(s=e.previousIndex||0,n=e.activeIndex||0),"bullets"===i.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const r=e.pagination.bullets;let l,d,u;if(i.dynamicBullets&&(o=Df(r[0],e.isHorizontal()?"width":"height",!0),h.forEach(t=>{t.style[e.isHorizontal()?"width":"height"]=o*(i.dynamicMainBullets+4)+"px"}),i.dynamicMainBullets>1&&void 0!==s&&(a+=n-(s||0),a>i.dynamicMainBullets-1?a=i.dynamicMainBullets-1:a<0&&(a=0)),l=Math.max(n-a,0),d=l+(Math.min(r.length,i.dynamicMainBullets)-1),u=(d+l)/2),r.forEach(t=>{const e=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(t=>`${i.bulletActiveClass}${t}`)].map(t=>"string"==typeof t&&t.includes(" ")?t.split(" "):t).flat();t.classList.remove(...e)}),h.length>1)r.forEach(t=>{const r=Rf(t);r===n?t.classList.add(...i.bulletActiveClass.split(" ")):e.isElement&&t.setAttribute("part","bullet"),i.dynamicBullets&&(r>=l&&r<=d&&t.classList.add(...`${i.bulletActiveClass}-main`.split(" ")),r===l&&c(t,"prev"),r===d&&c(t,"next"))});else{const t=r[n];if(t&&t.classList.add(...i.bulletActiveClass.split(" ")),e.isElement&&r.forEach((t,e)=>{t.setAttribute("part",e===n?"bullet-active":"bullet")}),i.dynamicBullets){const t=r[l],e=r[d];for(let t=l;t<=d;t+=1)r[t]&&r[t].classList.add(...`${i.bulletActiveClass}-main`.split(" "));c(t,"prev"),c(e,"next")}}if(i.dynamicBullets){const n=Math.min(r.length,i.dynamicMainBullets+4),s=(o*n-o)/2-u*o,a=t?"right":"left";r.forEach(t=>{t.style[e.isHorizontal()?a:"top"]=`${s}px`})}}
2h.forEach((t,s)=>{if("fraction"===i.type&&(t.querySelectorAll(vg(i.currentClass)).forEach(t=>{t.textContent=i.formatFractionCurrent(n+1)}),t.querySelectorAll(vg(i.totalClass)).forEach(t=>{t.textContent=i.formatFractionTotal(u)})),"progressbar"===i.type){let r;r=i.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const s=(n+1)/u;let o=1,a=1;"horizontal"===r?o=s:a=s,t.querySelectorAll(vg(i.progressbarFillClass)).forEach(t=>{t.style.transform=`translate3d(0,0,0) scaleX(${o}) scaleY(${a})`,t.style.transitionDuration=`${e.params.speed}ms`})}"custom"===i.type&&i.renderCustom?(zf(t,i.renderCustom(e,n+1,u)),0===s&&r("paginationRender",t)):(0===s&&r("paginationRender",t),r("paginationUpdate",t)),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](i.lockClass)})}function u(){const t=e.params.pagination;if(l())return;const i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let n=e.pagination.el;n=Of(n);let s="";if("bullets"===t.type){let n=e.params.loop?Math.ceil(i/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&n>i&&(n=i);for(let i=0;i<n;i+=1)t.renderBullet?s+=t.renderBullet.call(e,i,t.bulletClass):s+=`<${t.bulletElement} ${e.isElement?'part="bullet"':""} class="${t.bulletClass}"></${t.bulletElement}>`}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`),e.pagination.bullets=[],n.forEach(i=>{"custom"!==t.type&&zf(i,s||""),"bullets"===t.type&&e.pagination.bullets.push(...i.querySelectorAll(vg(t.bulletClass)))}),"custom"!==t.type&&r("paginationRender",n[0])}function p(){e.params.pagination=_g(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let i;"string"==typeof t.el&&e.isElement&&(i=e.el.querySelector(t.el)),i||"string"!=typeof t.el||(i=[...document.querySelectorAll(t.el)]),i||(i=t.el),i&&0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(i)&&i.length>1&&(i=[...e.el.querySelectorAll(t.el)],i.length>1&&(i=i.find(t=>Lf(t,".swiper")[0]===e.el))),Array.isArray(i)&&1===i.length&&(i=i[0]),Object.assign(e.pagination,{el:i}),i=Of(i),i.forEach(i=>{"bullets"===t.type&&t.clickable&&i.classList.add(...(t.clickableClass||"").split(" ")),i.classList.add(t.modifierClass+t.type),i.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(i.classList.add(`${t.modifierClass}${t.type}-dynamic`),a=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.classList.add(t.progressbarOppositeClass),t.clickable&&i.addEventListener("click",h),e.enabled||i.classList.add(t.lockClass)}))}function f(){const t=e.params.pagination;if(l())return;let i=e.pagination.el;i&&(i=Of(i),i.forEach(i=>{i.classList.remove(t.hiddenClass),i.classList.remove(t.modifierClass+t.type),i.classList.remove(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(i.classList.remove(...(t.clickableClass||"").split(" ")),i.removeEventListener("click",h))})),e.pagination.bullets&&e.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const t=e.params.pagination;let{el:i}=e.pagination;i=Of(i),i.forEach(i=>{i.classList.remove(t.horizontalClass,t.verticalClass),i.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),n("init",()=>{!1===e.params.pagination.enabled?g():(p(),u(),d())}),n("activeIndexChange",()=>{void 0===e.snapIndex&&d()}),n("snapIndexChange",()=>{d()}),n("snapGridLengthChange",()=>{u(),d()}),n("destroy",()=>{f()}),n("enable disable",()=>{let{el:t}=e.pagination;t&&(t=Of(t),t.forEach(t=>t.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{d()}),n("click",(t,i)=>{const n=i.target,s=Of(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&s&&s.length>0&&!n.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&n===e.navigation.nextEl||e.navigation.prevEl&&n===e.navigation.prevEl))return;const t=s[0].classList.contains(e.params.pagination.hiddenClass);
vendor: 4,446 bytes, line 2
2r(!0===t?"paginationShow":"paginationHide"),s.forEach(t=>t.classList.toggle(e.params.pagination.hiddenClass))}});const g=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=Of(t),t.forEach(t=>t.classList.add(e.params.pagination.paginationDisabledClass))),f()};Object.assign(e.pagination,{enable:()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=Of(t),t.forEach(t=>t.classList.remove(e.params.pagination.paginationDisabledClass))),p(),u(),d()},disable:g,render:u,update:d,init:p,destroy:f})},function(t){let{swiper:e,extendParams:i,on:n,emit:r}=t;const s=pf();let o,a,l,c,h=!1,d=null,u=null;function p(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:i}=e,{dragEl:n,el:r}=t,s=e.params.scrollbar,o=e.params.loop?e.progressLoop:e.progress;let c=a,h=(l-a)*o;i?(h=-h,h>0?(c=a-h,h=0):-h+a>l&&(c=l+h)):h<0?(c=a+h,h=0):h+a>l&&(c=l-h),e.isHorizontal()?(n.style.transform=`translate3d(${h}px, 0, 0)`,n.style.width=`${c}px`):(n.style.transform=`translate3d(0px, ${h}px, 0)`,n.style.height=`${c}px`),s.hide&&(clearTimeout(d),r.style.opacity=1,d=setTimeout(()=>{r.style.opacity=0,r.style.transitionDuration="400ms"},1e3))}function f(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{dragEl:i,el:n}=t;i.style.width="",i.style.height="",l=e.isHorizontal()?n.offsetWidth:n.offsetHeight,c=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),a="auto"===e.params.scrollbar.dragSize?l*c:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?i.style.width=`${a}px`:i.style.height=`${a}px`,n.style.display=c>=1?"none":"",e.params.scrollbar.hide&&(n.style.opacity=0),e.params.watchOverflow&&e.enabled&&t.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function g(t){return e.isHorizontal()?t.clientX:t.clientY}function m(t){const{scrollbar:i,rtlTranslate:n}=e,{el:r}=i;let s;s=(g(t)-Mf(r)[e.isHorizontal()?"left":"top"]-(null!==o?o:a/2))/(l-a),s=Math.max(Math.min(s,1),0),n&&(s=1-s);const c=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*s;e.updateProgress(c),e.setTranslate(c),e.updateActiveIndex(),e.updateSlidesClasses()}function _(t){const i=e.params.scrollbar,{scrollbar:n,wrapperEl:s}=e,{el:a,dragEl:l}=n;h=!0,o=t.target===l?g(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),s.style.transitionDuration="100ms",l.style.transitionDuration="100ms",m(t),clearTimeout(u),a.style.transitionDuration="0ms",i.hide&&(a.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),r("scrollbarDragStart",t)}function v(t){const{scrollbar:i,wrapperEl:n}=e,{el:s,dragEl:o}=i;h&&(t.preventDefault&&t.cancelable?t.preventDefault():t.returnValue=!1,m(t),n.style.transitionDuration="0ms",s.style.transitionDuration="0ms",o.style.transitionDuration="0ms",r("scrollbarDragMove",t))}function y(t){const i=e.params.scrollbar,{scrollbar:n,wrapperEl:s}=e,{el:o}=n;h&&(h=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",s.style.transitionDuration=""),i.hide&&(clearTimeout(u),u=_f(()=>{o.style.opacity=0,o.style.transitionDuration="400ms"},1e3)),r("scrollbarDragEnd",t),i.snapOnRelease&&e.slideToClosest())}function w(t){const{scrollbar:i,params:n}=e,r=i.el;if(!r)return;const o=r,a=!!n.passiveListeners&&{passive:!1,capture:!1},l=!!n.passiveListeners&&{passive:!0,capture:!1};if(!o)return;const c="on"===t?"addEventListener":"removeEventListener";o[c]("pointerdown",_,a),s[c]("pointermove",v,a),s[c]("pointerup",y,l)}function x(){const{scrollbar:t,el:i}=e;e.params.scrollbar=_g(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const n=e.params.scrollbar;if(!n.el)return;let r,o;if("string"==typeof n.el&&e.isElement&&(r=e.el.querySelector(n.el)),r||"string"!=typeof n.el)r||(r=n.el);else if(r=s.querySelectorAll(n.el),!r.length)return;e.params.uniqueNavElements&&"string"==typeof n.el&&r.length>1&&1===i.querySelectorAll(n.el).length&&(r=i.querySelector(n.el)),r.length>0&&(r=r[0]),r.classList.add(e.isHorizontal()?n.horizontalClass:n.verticalClass),r&&(o=r.querySelector(vg(e.params.scrollbar.dragClass)),o||(o=kf("div",e.params.scrollbar.dragClass),r.append(o))),Object.assign(t,{el:r,dragEl:o}),n.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&w("on"),r&&r.classList[e.enabled?"remove":"add"](...mf(e.params.scrollbar.lockClass))}
2function b(){const t=e.params.scrollbar,i=e.scrollbar.el;i&&i.classList.remove(...mf(e.isHorizontal()?t.horizontalClass:t.verticalClass)),e.params.scrollbar.el&&e.scrollbar.el&&w("off")}i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null},n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const t=e.params.scrollbar;let{el:i}=e.scrollbar;i=Of(i),i.forEach(i=>{i.classList.remove(t.horizontalClass,t.verticalClass),i.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),n("init",()=>{!1===e.params.scrollbar.enabled?E():(x(),f(),p())}),n("update resize observerUpdate lock unlock changeDirection",()=>{f()}),n("setTranslate",()=>{p()}),n("setTransition",(t,i)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&(e.scrollbar.dragEl.style.transitionDuration=`${t}ms`)}(i)}),n("enable disable",()=>{const{el:t}=e.scrollbar;t&&t.classList[e.enabled?"remove":"add"](...mf(e.params.scrollbar.lockClass))}),n("destroy",()=>{b()});const E=()=>{e.el.classList.add(...mf(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...mf(e.params.scrollbar.scrollbarDisabledClass)),b()};Object.assign(e.scrollbar,{enable:()=>{e.el.classList.remove(...mf(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...mf(e.params.scrollbar.scrollbarDisabledClass)),x(),f(),p()},disable:E,updateSize:f,setTranslate:p,init:x,destroy:b})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({parallax:{enabled:!1}});const r="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",s=(t,i)=>{const{rtl:n}=e,r=n?-1:1,s=t.getAttribute("data-swiper-parallax")||"0";let o=t.getAttribute("data-swiper-parallax-x"),a=t.getAttribute("data-swiper-parallax-y");const l=t.getAttribute("data-swiper-parallax-scale"),c=t.getAttribute("data-swiper-parallax-opacity"),h=t.getAttribute("data-swiper-parallax-rotate");if(o||a?(o=o||"0",a=a||"0"):e.isHorizontal()?(o=s,a="0"):(a=s,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*i*r+"%":o*i*r+"px",a=a.indexOf("%")>=0?parseInt(a,10)*i+"%":a*i+"px",null!=c){const e=c-(c-1)*(1-Math.abs(i));t.style.opacity=e}let d=`translate3d(${o}, ${a}, 0px)`;if(null!=l){d+=` scale(${l-(l-1)*(1-Math.abs(i))})`}if(h&&null!=h){d+=` rotate(${h*i*-1}deg)`}t.style.transform=d},o=()=>{const{el:t,slides:i,progress:n,snapGrid:o,isElement:a}=e,l=Tf(t,r);e.isElement&&l.push(...Tf(e.hostEl,r)),l.forEach(t=>{s(t,n)}
2),i.forEach((t,i)=>{let a=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(a+=Math.ceil(i/2)-n*(o.length-1)),a=Math.min(Math.max(a,-1),1),t.querySelectorAll(`${r}, [data-swiper-parallax-rotate]`).forEach(t=>{s(t,a)})})};n("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),n("init",()=>{e.params.parallax.enabled&&o()}),n("setTranslate",()=>{e.params.parallax.enabled&&o()}),n("setTransition",(t,i)=>{e.params.parallax.enabled&&function(t){void 0===t&&(t=e.params.speed);const{el:i,hostEl:n}=e,s=[...i.querySelectorAll(r)];e.isElement&&s.push(...n.querySelectorAll(r)),s.forEach(e=>{let i=parseInt(e.getAttribute("data-swiper-parallax-duration"),10)||t;0===t&&(i=0),e.style.transitionDuration=`${i}ms`})}(i)})},function(t){let{swiper:e,extendParams:i,on:n,emit:r}=t;const s=gf();i({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let o,a,l=1,c=!1,h=!1,d={x:0,y:0};const u=[],p={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},f={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},g={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let m,_=1;function v(){if(u.length<2)return 1;const t=u[0].pageX,e=u[0].pageY,i=u[1].pageX,n=u[1].pageY;return Math.sqrt((i-t)**2+(n-e)**2)}function y(){const t=e.params.zoom,i=p.imageWrapEl.getAttribute("data-swiper-zoom")||t.maxRatio;if(t.limitToOriginalSize&&p.imageEl&&p.imageEl.naturalWidth){const t=p.imageEl.naturalWidth/p.imageEl.offsetWidth;return Math.min(t,i)}return i}function w(t){const i=e.isElement?"swiper-slide":`.${e.params.slideClass}`;return!!t.target.matches(i)||e.slides.filter(e=>e.contains(t.target)).length>0}function x(t){const i=`.${e.params.zoom.containerClass}`;return!!t.target.matches(i)||[...e.hostEl.querySelectorAll(i)].filter(e=>e.contains(t.target)).length>0}function b(t){if("mouse"===t.pointerType&&u.splice(0,u.length),!w(t))return;const i=e.params.zoom;if(o=!1,a=!1,u.push(t),!(u.length<2)){if(o=!0,p.scaleStart=v(),!p.slideEl){p.slideEl=t.target.closest(`.${e.params.slideClass}, swiper-slide`),p.slideEl||(p.slideEl=e.slides[e.activeIndex]);let n=p.slideEl.querySelector(`.${i.containerClass}`);if(n&&(n=n.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),p.imageEl=n,p.imageWrapEl=n?Lf(p.imageEl,`.${i.containerClass}`)[0]:void 0,!p.imageWrapEl)return void(p.imageEl=void 0);p.maxRatio=y()}if(p.imageEl){const[t,e]=function(){if(u.length<2)return{x:null,y:null};const t=p.imageEl.getBoundingClientRect();return[(u[0].pageX+(u[1].pageX-u[0].pageX)/2-t.x-s.scrollX)/l,(u[0].pageY+(u[1].pageY-u[0].pageY)/2-t.y-s.scrollY)/l]}();p.originX=t,p.originY=e,p.imageEl.style.transitionDuration="0ms"}c=!0}}function E(t){if(!w(t))return;const i=e.params.zoom,n=e.zoom,r=u.findIndex(e=>e.pointerId===t.pointerId);r>=0&&(u[r]=t),u.length<2||(a=!0,p.scaleMove=v(),p.imageEl&&(n.scale=p.scaleMove/p.scaleStart*l,n.scale>p.maxRatio&&(n.scale=p.maxRatio-1+(n.scale-p.maxRatio+1)**.5),n.scale<i.minRatio&&(n.scale=i.minRatio+1-(i.minRatio-n.scale+1)**.5),p.imageEl.style.transform=`translate3d(0,0,0) scale(${n.scale})`))}function S(t){if(!w(t))return;if("mouse"===t.pointerType&&"pointerout"===t.type)return;const i=e.params.zoom,n=e.zoom,r=u.findIndex(e=>e.pointerId===t.pointerId);r>=0&&u.splice(r,1),o&&a&&(o=!1,a=!1,p.imageEl&&(n.scale=Math.max(Math.min(n.scale,p.maxRatio),i.minRatio),p.imageEl.style.transitionDuration=`${e.params.speed}ms`,p.imageEl.style.transform=`translate3d(0,0,0) scale(${n.scale})`,l=n.scale,c=!1,n.scale>1&&p.slideEl?p.slideEl.classList.add(`${i.zoomedSlideClass}`):n.scale<=1&&p.slideEl&&p.slideEl.classList.remove(`${i.zoomedSlideClass}`),1===n.scale&&(p.originX=0,p.originY=0,p.slideEl=void 0)))}function C(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function T(t){const i="mouse"===t.pointerType&&e.params.zoom.panOnMouseMove;if(!w(t)||!x(t))return;const n=e.zoom;if(!p.imageEl)return;if(!f.isTouched||!p.slideEl)return void(i&&k(t));if(i)return void k(t);f.isMoved||(f.width=p.imageEl.offsetWidth||p.imageEl.clientWidth,f.height=p.imageEl.offsetHeight||p.imageEl.clientHeight,f.startX=yf(p.imageWrapEl,"x")||0,f.startY=yf(p.imageWrapEl,"y")||0,p.slideWidth=p.slideEl.offsetWidth,p.slideHeight=p.slideEl.offsetHeight,p.imageWrapEl.style.transitionDuration="0ms");const r=f.width*n.scale,s=f.height*n.scale;f.minX=Math.min(p.slideWidth/2-r/2,0),f.maxX=-f.minX,f.minY=Math.min(p.slideHeight/2-s/2,0),f.maxY=-f.minY,f.touchesCurrent.x=u.length>0?u[0].pageX:t.pageX,f.touchesCurrent.y=u.length>0?u[0].pageY:t.pageY;if(Math.max(Math.abs(f.touchesCurrent.x-f.touchesStart.x),Math.abs(f.touchesCurrent.y-f.touchesStart.y))>5&&(e.allowClick=!1),!f.isMoved&&!c){if(e.isHorizontal()&&(Math.floor(f.minX)===Math.floor(f.startX)&&f.touchesCurrent.x<f.touchesStart.x||Math.floor(f.maxX)===Math.floor(f.startX)&&f.touchesCurrent.x>f.touchesStart.x))return f.isTouched=!1,void C();if(!e.isHorizontal()&&(Math.floor(f.minY)===Math.floor(f.startY)&&f.touchesCurrent.y<f.touchesStart.y||Math.floor(f.maxY)===Math.floor(f.startY)&&f.touchesCurrent.y>f.touchesStart.y))return f.isTouched=!1,void C()}t.cancelable&&t.preventDefault(),t.stopPropagation(),clearTimeout(m),e.touchEventsData.preventTouchMoveFromPointerMove=!0,m=setTimeout(()=>{e.destroyed||C()}),f.isMoved=!0;const o=(n.scale-l)/(p.maxRatio-e.params.zoom.minRatio),{originX:a,originY:h}=p;f.currentX=f.touchesCurrent.x-f.touchesStart.x+f.startX+o*(f.width-2*a),f.currentY=f.touchesCurrent.y-f.touchesStart.y+f.startY+o*(f.height-2*h),f.currentX<f.minX&&(f.currentX=f.minX+1-(f.minX-f.currentX+1)**.8),f.currentX>f.maxX&&(f.currentX=f.maxX-1+(f.currentX-f.maxX+1)**.8),f.currentY<f.minY&&(f.currentY=f.minY+1-(f.minY-f.currentY+1)**.8),f.currentY>f.maxY&&(f.currentY=f.maxY-1+(f.currentY-f.maxY+1)**.8),g.prevPositionX||(g.prevPositionX=f.touchesCurrent.x),g.prevPositionY||(g.prevPositionY=f.touchesCurrent.y),g.prevTime||(g.prevTime=Date.now()),g.x=(f.touchesCurrent.x-g.prevPositionX)/(Date.now()-g.prevTime)/2,g.y=(f.touchesCurrent.y-g.prevPositionY)/(Date.now()-g.prevTime)/2,Math.abs(f.touchesCurrent.x-g.prevPositionX)<2&&(g.x=0),Math.abs(f.touchesCurrent.y-g.prevPositionY)<2&&(g.y=0),g.prevPositionX=f.touchesCurrent.x,g.prevPositionY=f.touchesCurrent.y,g.prevTime=Date.now(),p.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}function A(){const t=e.zoom;p.slideEl&&e.activeIndex!==e.slides.indexOf(p.slideEl)&&(p.imageEl&&(p.imageEl.style.transform="translate3d(0,
20,0) scale(1)"),p.imageWrapEl&&(p.imageWrapEl.style.transform="translate3d(0,0,0)"),p.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),t.scale=1,l=1,p.slideEl=void 0,p.imageEl=void 0,p.imageWrapEl=void 0,p.originX=0,p.originY=0)}function k(t){if(l<=1||!p.imageWrapEl)return;if(!w(t)||!x(t))return;const e=s.getComputedStyle(p.imageWrapEl).transform,i=new s.DOMMatrix(e);if(!h)return h=!0,d.x=t.clientX,d.y=t.clientY,f.startX=i.e,f.startY=i.f,f.width=p.imageEl.offsetWidth||p.imageEl.clientWidth,f.height=p.imageEl.offsetHeight||p.imageEl.clientHeight,p.slideWidth=p.slideEl.offsetWidth,void(p.slideHeight=p.slideEl.offsetHeight);const n=-3*(t.clientX-d.x),r=-3*(t.clientY-d.y),o=f.width*l,a=f.height*l,c=p.slideWidth,u=p.slideHeight,g=Math.min(c/2-o/2,0),m=-g,_=Math.min(u/2-a/2,0),v=-_,y=Math.max(Math.min(f.startX+n,m),g),b=Math.max(Math.min(f.startY+r,v),_);p.imageWrapEl.style.transitionDuration="0ms",p.imageWrapEl.style.transform=`translate3d(${y}px, ${b}px, 0)`,d.x=t.clientX,d.y=t.clientY,f.startX=y,f.startY=b,f.currentX=y,f.currentY=b}function M(t){const i=e.zoom,n=e.params.zoom;if(!p.slideEl){t&&t.target&&(p.slideEl=t.target.closest(`.${e.params.slideClass}, swiper-slide`)),p.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?p.slideEl=Tf(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:p.slideEl=e.slides[e.activeIndex]);let i=p.slideEl.querySelector(`.${n.containerClass}`);i&&(i=i.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),p.imageEl=i,p.imageWrapEl=i?Lf(p.imageEl,`.${n.containerClass}`)[0]:void 0}if(!p.imageEl||!p.imageWrapEl)return;let r,o,a,c,h,d,u,g,m,_,v,w,x,b,E,S,C,T;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),p.slideEl.classList.add(`${n.zoomedSlideClass}`),void 0===f.touchesStart.x&&t?(r=t.pageX,o=t.pageY):(r=f.touchesStart.x,o=f.touchesStart.y);const A=l,k="number"==typeof t?t:null;1===l&&k&&(r=void 0,o=void 0,f.touchesStart.x=void 0,f.touchesStart.y=void 0);const M=y();i.scale=k||M,l=k||M,!t||1===l&&k?(u=0,g=0):(C=p.slideEl.offsetWidth,T=p.slideEl.offsetHeight,a=Mf(p.slideEl).left+s.scrollX,c=Mf(p.slideEl).top+s.scrollY,h=a+C/2-r,d=c+T/2-o,m=p.imageEl.offsetWidth||p.imageEl.clientWidth,_=p.imageEl.offsetHeight||p.imageEl.clientHeight,v=m*i.scale,w=_*i.scale,x=Math.min(C/2-v/2,0),b=Math.min(T/2-w/2,0),E=-x,S=-b,A>0&&k&&"number"==typeof f.currentX&&"number"==typeof f.currentY?(u=f.currentX*i.scale/A,g=f.currentY*i.scale/A):(u=h*i.scale,g=d*i.scale),u<x&&(u=x),u>E&&(u=E),g<b&&(g=b),g>S&&(g=S)),k&&1===i.scale&&(p.originX=0,p.originY=0),f.currentX=u,f.currentY=g,p.imageWrapEl.style.transitionDuration="300ms",p.imageWrapEl.style.transform=`translate3d(${u}px, ${g}px,0)`,p.imageEl.style.transitionDuration="300ms",p.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`}function I(){const t=e.zoom,i=e.params.zoom;if(!p.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?p.slideEl=Tf(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:p.slideEl=e.slides[e.activeIndex];let t=p.slideEl.querySelector(`.${i.containerClass}`);t&&(t=t.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),p.imageEl=t,p.imageWrapEl=t?Lf(p.imageEl,`.${i.containerClass}`)[0]:void 0}p.imageEl&&p.imageWrapEl&&(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),t.scale=1,l=1,f.currentX=void 0,f.currentY=void 0,f.touchesStart.x=void 0,f.touchesStart.y=void 0,p.imageWrapEl.style.transitionDuration="300ms",p.imageWrapEl.style.transform="translate3d(0,0,0)",p.imageEl.style.transitionDuration="300ms",p.imageEl.style.transform="translate3d(0,0,0) scale(1)",p.slideEl.classList.remove(`${i.zoomedSlideClass}`),p.slideEl=void 0,p.originX=0,p.originY=0,e.params.zoom.panOnMouseMove&&(d={x:0,y:0},h&&(h=!1,f.startX=0,f.startY=0)))}function R(t){const i=e.zoom;i.scale&&1!==i.scale?I():M(t)}function L(){return{passiveListener:!!e.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!e.params.passiveListeners||{passive:!1,capture:!0}}}function P(){const t=e.zoom;if(t.enabled)return;t.enabled=!0;const{passiveListener:i,activeListenerWithCapture:n}=L();e.wrapperEl.addEventListener("pointerdown",b,i),e.wrapperEl.addEventListener("pointermove",E,n),["pointerup","pointercancel","pointerout"].forEach(t=>{e.wrapperEl.addEventListener(t,S,i)}),e.wrapperEl.addEventListener("pointermove",T,n)}function D(){const t=e.zoom;if(!t.enabled)return;t.enabled=!1;const{passiveListener:i,activeListenerWithCapture:n}=L();e.wrapperEl.removeEventListener("pointerdown",b,i),e.wrapperEl.removeEventListener("pointermove",E,n),["pointerup","pointercancel","pointerout"].forEach(t=>{e.wrapperEl.removeEventListener(t,S,i)}),e.wrapperEl.removeEventListener("pointermove",T,n)}Object.defineProperty(e.zoom,"scale",{get:()=>_,set(t){if(_!==t){const e=p.imageEl,i=p.slideEl;r("zoomChange",t,e,i)}_=t}}),n("init",()=>{e.params.zoom.enabled&&P()}),n("destroy",()=>{D()}),n("touchStart",(t,i)=>{e.zoom.enabled&&function(t){const i=e.device;if(!p.imageEl)return;if(f.isTouched)return;i.android&&t.cancelable&&t.preventDefault(),f.isTouched=!0;const n=u.length>0?u[0]:t;f.touchesStart.x=n.pageX,f.touchesStart.y=n.pageY}(i)}),n("touchEnd",(t,i)=>{e.zoom.enabled&&function(){const t=e.zoom;if(u.length=0,!p.imageEl)return;
2if(!f.isTouched||!f.isMoved)return f.isTouched=!1,void(f.isMoved=!1);f.isTouched=!1,f.isMoved=!1;let i=300,n=300;const r=g.x*i,s=f.currentX+r,o=g.y*n,a=f.currentY+o;0!==g.x&&(i=Math.abs((s-f.currentX)/g.x)),0!==g.y&&(n=Math.abs((a-f.currentY)/g.y));const l=Math.max(i,n);f.currentX=s,f.currentY=a;const c=f.width*t.scale,h=f.height*t.scale;f.minX=Math.min(p.slideWidth/2-c/2,0),f.maxX=-f.minX,f.minY=Math.min(p.slideHeight/2-h/2,0),f.maxY=-f.minY,f.currentX=Math.max(Math.min(f.currentX,f.maxX),f.minX),f.currentY=Math.max(Math.min(f.currentY,f.maxY),f.minY),p.imageWrapEl.style.transitionDuration=`${l}ms`,p.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}()}),n("doubleTap",(t,i)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&R(i)}),n("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&A()}),n("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&A()}),Object.assign(e.zoom,{enable:P,disable:D,in:M,out:I,toggle:R})},function(t){let{swiper:e,extendParams:i,on:n}=t;function r(t,e){const i=function(){let t,e,i;return(n,r)=>{for(e=-1,t=n.length;t-e>1;)i=t+e>>1,n[i]<=r?e=i:t=i;return t}}();let n,r;return this.x=t,this.y=e,this.lastIndex=t.length-1,this.interpolate=function(t){return t?(r=i(this.x,t),n=r-1,(t-this.x[n])*(this.y[r]-this.y[n])/(this.x[r]-this.x[n])+this.y[n]):0},this}function s(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}i({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},n("beforeInit",()=>{if("undefined"!=typeof window&&("string"==typeof e.params.controller.control||e.params.controller.control instanceof HTMLElement)){return void("string"==typeof e.params.controller.control?[...document.querySelectorAll(e.params.controller.control)]:[e.params.controller.control]).forEach(t=>{if(e.controller.control||(e.controller.control=[]),t&&t.swiper)e.controller.control.push(t.swiper);else if(t){const i=`${e.params.eventsPrefix}init`,n=r=>{e.controller.control.push(r.detail[0]),e.update(),t.removeEventListener(i,n)};t.addEventListener(i,n)}})}e.controller.control=e.params.controller.control}),n("update",()=>{s()}),n("resize",()=>{s()}),n("observerUpdate",()=>{s()}),n("setTranslate",(t,i,n)=>{e.controller.control&&!e.controller.control.destroyed&&e.controller.setTranslate(i,n)}),n("setTransition",(t,i,n)=>{e.controller.control&&!e.controller.control.destroyed&&e.controller.setTransition(i,n)}),Object.assign(e.controller,{setTranslate:function(t,i){const n=e.controller.control;let s,o;const a=e.constructor;function l(t){if(t.destroyed)return;const i=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(!function(t){e.controller.spline=e.params.loop?new r(e.slidesGrid,t.slidesGrid):new r(e.snapGrid,t.snapGrid)}(t),o=-e.controller.spline.interpolate(-i)),o&&"container"!==e.params.controller.by||(s=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()),!Number.isNaN(s)&&Number.isFinite(s)||(s=1),o=(i-e.minTranslate())*s+t.minTranslate()),e.params.controller.inverse&&(o=t.maxTranslate()-o),t.updateProgress(o),t.setTranslate(o,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(n))for(let t=0;t<n.length;t+=1)n[t]!==i&&n[t]instanceof a&&l(n[t]);else n instanceof a&&i!==n&&l(n)},setTransition:function(t,i){const n=e.constructor,r=e.controller.control;let s;function o(i){i.destroyed||(i.setTransition(t,e),0!==t&&(i.transitionStart(),i.params.autoHeight&&_f(()=>{i.updateAutoHeight()}),Pf(i.wrapperEl,()=>{r&&i.transitionEnd()})))}if(Array.isArray(r))for(s=0;s<r.length;s+=1)r[s]!==i&&r[s]instanceof n&&o(r[s]);else r instanceof n&&i!==r&&o(r)}})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,
2scrollOnFocus:!0}}),e.a11y={clicked:!1};let r,s,o=null,a=(new Date).getTime();function l(t){const e=o;0!==e.length&&zf(e,t)}function c(t){(t=Of(t)).forEach(t=>{t.setAttribute("tabIndex","0")})}function h(t){(t=Of(t)).forEach(t=>{t.setAttribute("tabIndex","-1")})}function d(t,e){(t=Of(t)).forEach(t=>{t.setAttribute("role",e)})}function u(t,e){(t=Of(t)).forEach(t=>{t.setAttribute("aria-roledescription",e)})}function p(t,e){(t=Of(t)).forEach(t=>{t.setAttribute("aria-label",e)})}function f(t){(t=Of(t)).forEach(t=>{t.setAttribute("aria-disabled",!0)})}function g(t){(t=Of(t)).forEach(t=>{t.setAttribute("aria-disabled",!1)})}function m(t){if(13!==t.keyCode&&32!==t.keyCode)return;const i=e.params.a11y,n=t.target;if(!e.pagination||!e.pagination.el||n!==e.pagination.el&&!e.pagination.el.contains(t.target)||t.target.matches(vg(e.params.pagination.bulletClass))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const t=Of(e.navigation.prevEl);Of(e.navigation.nextEl).includes(n)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?l(i.lastSlideMessage):l(i.nextSlideMessage)),t.includes(n)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?l(i.firstSlideMessage):l(i.prevSlideMessage))}e.pagination&&n.matches(vg(e.params.pagination.bulletClass))&&n.click()}}function _(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function v(){return _()&&e.params.pagination.clickable}const y=(t,e,i)=>{c(t),"BUTTON"!==t.tagName&&(d(t,"button"),t.addEventListener("keydown",m)),p(t,i),function(t,e){(t=Of(t)).forEach(t=>{t.setAttribute("aria-controls",e)})}(t,e)},w=t=>{s&&s!==t.target&&!s.contains(t.target)&&(r=!0),e.a11y.clicked=!0},x=()=>{r=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},b=t=>{a=(new Date).getTime()},E=t=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus)return;if((new Date).getTime()-a<100)return;const i=t.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!i||!e.slides.includes(i))return;s=i;const n=e.slides.indexOf(i)===e.activeIndex,o=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(i);n||o||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{r||(e.params.loop?e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(i.getAttribute("data-swiper-slide-index"))),0):e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(i)),0),r=!1)}))},S=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&u(e.slides,t.itemRoleDescriptionMessage),t.slideRole&&d(e.slides,t.slideRole);const i=e.slides.length;t.slideLabelMessage&&e.slides.forEach((n,r)=>{const s=e.params.loop?parseInt(n.getAttribute("data-swiper-slide-index"),10):r;p(n,t.slideLabelMessage.replace(/\{\{index\}\}/,s+1).replace(/\{\{slidesLength\}\}/,i))})},C=()=>{const t=e.params.a11y;e.el.append(o);const i=e.el;t.containerRoleDescriptionMessage&&u(i,t.containerRoleDescriptionMessage),t.containerMessage&&p(i,t.containerMessage),t.containerRole&&d(i,t.containerRole);const n=e.wrapperEl,r=t.id||n.getAttribute("id")||`swiper-wrapper-${s=16,void 0===s&&(s=16),"x".repeat(s).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}`;var s;const a=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";var l;l=r,Of(n).forEach(t=>{t.setAttribute("id",l)}),function(t,e){(t=Of(t)).forEach(t=>{t.setAttribute("aria-live",e)})}(n,a),S();let{nextEl:c,prevEl:h}=e.navigation?e.navigation:{};if(c=Of(c),h=Of(h),c&&c.forEach(e=>y(e,r,t.nextSlideMessage)),h&&h.forEach(e=>y(e,r,t.prevSlideMessage)),v()){Of(e.pagination.el).forEach(t=>{t.addEventListener("keydown",m)})}pf().addEventListener("visibilitychange",b),e.el.addEventListener("focus",E,!0),e.el.addEventListener("focus",E,!0),e.el.addEventListener("pointerdown",w,!0),e.el.addEventListener("pointerup",x,!0)};n("beforeInit",()=>{o=kf("span",e.params.a11y.notificationClass),o.setAttribute("aria-live","assertive"),o.setAttribute("aria-atomic","true")}),n("afterInit",()=>{e.params.a11y.enabled&&C()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&S()}),n("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:t,prevEl:i}=e.navigation;i&&(e.isBeginning?(f(i),h(i)):(g(i),c(i))),t&&(e.isEnd?(f(t),h(t)):(g(t),c(t)))}()}),n("paginationUpdate",()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;
2_()&&e.pagination.bullets.forEach(i=>{e.params.pagination.clickable&&(c(i),e.params.pagination.renderBullet||(d(i,"button"),p(i,t.paginationBulletMessage.replace(/\{\{index\}\}/,Rf(i)+1)))),i.matches(vg(e.params.pagination.bulletActiveClass))?i.setAttribute("aria-current","true"):i.removeAttribute("aria-current")})}()}),n("destroy",()=>{e.params.a11y.enabled&&function(){o&&o.remove();let{nextEl:t,prevEl:i}=e.navigation?e.navigation:{};t=Of(t),i=Of(i),t&&t.forEach(t=>t.removeEventListener("keydown",m)),i&&i.forEach(t=>t.removeEventListener("keydown",m)),v()&&Of(e.pagination.el).forEach(t=>{t.removeEventListener("keydown",m)});pf().removeEventListener("visibilitychange",b),e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("focus",E,!0),e.el.removeEventListener("pointerdown",w,!0),e.el.removeEventListener("pointerup",x,!0))}()})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let r=!1,s={};const o=t=>t.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),a=t=>{const e=gf();let i;i=t?new URL(t):e.location;const n=i.pathname.slice(1).split("/").filter(t=>""!==t),r=n.length;return{key:n[r-2],value:n[r-1]}},l=(t,i)=>{const n=gf();if(!r||!e.params.history.enabled)return;let s;s=e.params.url?new URL(e.params.url):n.location;const a=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${i}"]`):e.slides[i];let l=o(a.getAttribute("data-history"));if(e.params.history.root.length>0){let i=e.params.history.root;"/"===i[i.length-1]&&(i=i.slice(0,i.length-1)),l=`${i}/${t?`${t}/`:""}${l}`}else s.pathname.includes(t)||(l=`${t?`${t}/`:""}${l}`);e.params.history.keepQuery&&(l+=s.search);const c=n.history.state;c&&c.value===l||(e.params.history.replaceState?n.history.replaceState({value:l},null,l):n.history.pushState({value:l},null,l))},c=(t,i,n)=>{if(i)for(let r=0,s=e.slides.length;r<s;r+=1){const s=e.slides[r];if(o(s.getAttribute("data-history"))===i){const i=e.getSlideIndex(s);e.slideTo(i,t,n)}}else e.slideTo(0,t,n)},h=()=>{s=a(e.params.url),c(e.params.speed,s.value,!1)};n("init",()=>{e.params.history.enabled&&(()=>{const t=gf();if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);r=!0,s=a(e.params.url),s.key||s.value?(c(0,s.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",h)):e.params.history.replaceState||t.addEventListener("popstate",h)}})()}),n("destroy",()=>{e.params.history.enabled&&(()=>{const t=gf();e.params.history.replaceState||t.removeEventListener("popstate",h)})()}),n("transitionEnd _freeModeNoMomentumRelease",()=>{r&&l(e.params.history.key,e.activeIndex)}),n("slideChange",()=>{r&&e.params.cssMode&&l(e.params.history.key,e.activeIndex)})},function(t){let{swiper:e,extendParams:i,emit:n,on:r}=t,s=!1;const o=pf(),a=gf();i({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(t,i){if(e.virtual&&e.params.virtual.enabled){const t=e.slides.find(t=>t.getAttribute("data-hash")===i);if(!t)return 0;return parseInt(t.getAttribute("data-swiper-slide-index"),10)}return e.getSlideIndex(Tf(e.slidesEl,`.${e.params.slideClass}[data-hash="${i}"], swiper-slide[data-hash="${i}"]`)[0])}}});const l=()=>{n("hashChange");const t=o.location.hash.replace("#",""),i=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex];if(t!==(i?i.getAttribute("data-hash"):"")){const i=e.params.hashNavigation.getSlideIndex(e,t);if(void 0===i||Number.isNaN(i))return;e.slideTo(i)}},c=()=>{if(!s||!e.params.hashNavigation.enabled)return;const t=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],i=t?t.getAttribute("data-hash")||t.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&a.history&&a.history.replaceState?(a.history.replaceState(null,null,`#${i}`||""),n("hashSet")):(o.location.hash=i||"",n("hashSet"))};r("init",()=>{e.params.hashNavigation.enabled&&(()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;s=!0;const t=o.location.hash.replace("#","");if(t){const i=0,n=e.params.hashNavigation.getSlideIndex(e,t);e.slideTo(n||0,i,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&a.addEventListener("hashchange",l)})()}),r("destroy",()=>{e.params.hashNavigation.enabled&&e.params.hashNavigation.watchState&&a.removeEventListener("hashchange",l)}),r("transitionEnd _freeModeNoMomentumRelease",()=>{s&&c()}),r("slideChange",()=>{s&&e.params.cssMode&&c()})},function(t){let e,i,{swiper:n,extendParams:r,on:s,emit:o,params:a}=t;n.autoplay={running:!1,paused:!1,timeLeft:0},r({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let l,c,h,d,u,p,f,g,m=a&&a.autoplay?a.autoplay.delay:3e3,_=a&&a.autoplay?a.autoplay.delay:3e3,v=(new Date).getTime();function y(t){n&&!n.destroyed&&n.wrapperEl&&t.target===n.wrapperEl&&(n.wrapperEl.removeEventListener("transitionend",y),g||t.detail&&t.detail.bySwiperTouchMove||C())}const w=()=>
2{if(n.destroyed||!n.autoplay.running)return;n.autoplay.paused?c=!0:c&&(_=l,c=!1);const t=n.autoplay.paused?l:v+_-(new Date).getTime();n.autoplay.timeLeft=t,o("autoplayTimeLeft",t,t/m),i=requestAnimationFrame(()=>{w()})},x=t=>{if(n.destroyed||!n.autoplay.running)return;cancelAnimationFrame(i),w();let r=void 0===t?n.params.autoplay.delay:t;m=n.params.autoplay.delay,_=n.params.autoplay.delay;const s=(()=>{let t;if(t=n.virtual&&n.params.virtual.enabled?n.slides.find(t=>t.classList.contains("swiper-slide-active")):n.slides[n.activeIndex],!t)return;return parseInt(t.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(s)&&s>0&&void 0===t&&(r=s,m=s,_=s),l=r;const a=n.params.speed,c=()=>{n&&!n.destroyed&&(n.params.autoplay.reverseDirection?!n.isBeginning||n.params.loop||n.params.rewind?(n.slidePrev(a,!0,!0),o("autoplay")):n.params.autoplay.stopOnLastSlide||(n.slideTo(n.slides.length-1,a,!0,!0),o("autoplay")):!n.isEnd||n.params.loop||n.params.rewind?(n.slideNext(a,!0,!0),o("autoplay")):n.params.autoplay.stopOnLastSlide||(n.slideTo(0,a,!0,!0),o("autoplay")),n.params.cssMode&&(v=(new Date).getTime(),requestAnimationFrame(()=>{x()})))};return r>0?(clearTimeout(e),e=setTimeout(()=>{c()},r)):requestAnimationFrame(()=>{c()}),r},b=()=>{v=(new Date).getTime(),n.autoplay.running=!0,x(),o("autoplayStart")},E=()=>{n.autoplay.running=!1,clearTimeout(e),cancelAnimationFrame(i),o("autoplayStop")},S=(t,i)=>{if(n.destroyed||!n.autoplay.running)return;clearTimeout(e),t||(f=!0);const r=()=>{o("autoplayPause"),n.params.autoplay.waitForTransition?n.wrapperEl.addEventListener("transitionend",y):C()};if(n.autoplay.paused=!0,i)return p&&(l=n.params.autoplay.delay),p=!1,void r();const s=l||n.params.autoplay.delay;l=s-((new Date).getTime()-v),n.isEnd&&l<0&&!n.params.loop||(l<0&&(l=0),r())},C=()=>{n.isEnd&&l<0&&!n.params.loop||n.destroyed||!n.autoplay.running||(v=(new Date).getTime(),f?(f=!1,x(l)):x(),n.autoplay.paused=!1,o("autoplayResume"))},T=()=>{if(n.destroyed||!n.autoplay.running)return;const t=pf();"hidden"===t.visibilityState&&(f=!0,S(!0)),"visible"===t.visibilityState&&C()},A=t=>{"mouse"===t.pointerType&&(f=!0,g=!0,n.animating||n.autoplay.paused||S(!0))},k=t=>{"mouse"===t.pointerType&&(g=!1,n.autoplay.paused&&C())};s("init",()=>{n.params.autoplay.enabled&&(n.params.autoplay.pauseOnMouseEnter&&(n.el.addEventListener("pointerenter",A),n.el.addEventListener("pointerleave",k)),pf().addEventListener("visibilitychange",T),b())}),s("destroy",()=>{n.el&&"string"!=typeof n.el&&(n.el.removeEventListener("pointerenter",A),n.el.removeEventListener("pointerleave",k)),pf().removeEventListener("visibilitychange",T),n.autoplay.running&&E()}),s("_freeModeStaticRelease",()=>{(d||f)&&C()}),s("_freeModeNoMomentumRelease",()=>{n.params.autoplay.disableOnInteraction?E():S(!0,!0)}),s("beforeTransitionStart",(t,e,i)=>{!n.destroyed&&n.autoplay.running&&(i||!n.params.autoplay.disableOnInteraction?S(!0,!0):E())}),s("sliderFirstMove",()=>{!n.destroyed&&n.autoplay.running&&(n.params.autoplay.disableOnInteraction?E():(h=!0,d=!1,f=!1,u=setTimeout(()=>{f=!0,d=!0,S(!0)},200)))}),s("touchEnd",()=>{if(!n.destroyed&&n.autoplay.running&&h){if(clearTimeout(u),clearTimeout(e),n.params.autoplay.disableOnInteraction)return d=!1,void(h=!1);d&&n.params.cssMode&&C(),d=!1,h=!1}}),s("slideChange",()=>{!n.destroyed&&n.autoplay.running&&(p=!0)}),Object.assign(n.autoplay,{start:b,stop:E,pause:S,resume:C})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,s=!1;function o(){const t=e.thumbs.swiper;if(!t||t.destroyed)return;const i=t.clickedIndex,n=t.clickedSlide;if(n&&n.classList.contains(e.params.thumbs.slideThumbActiveClass))return;if(null==i)return;let r;r=t.params.loop?parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10):i,e.params.loop?e.slideToLoop(r):e.slideTo(r)}function a(){const{thumbs:t}=e.params;if(r)return!1;r=!0;const i=e.constructor;if(t.swiper instanceof i){if(t.swiper.destroyed)return r=!1,!1;e.thumbs.swiper=t.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}
2),e.thumbs.swiper.update()}else if(wf(t.swiper)){const n=Object.assign({},t.swiper);Object.assign(n,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new i(n),s=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",o),!0}function l(t){const i=e.thumbs.swiper;if(!i||i.destroyed)return;const n="auto"===i.params.slidesPerView?i.slidesPerViewDynamic():i.params.slidesPerView;let r=1;const s=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(r=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(r=1),r=Math.floor(r),i.slides.forEach(t=>t.classList.remove(s)),i.params.loop||i.params.virtual&&i.params.virtual.enabled)for(let t=0;t<r;t+=1)Tf(i.slidesEl,`[data-swiper-slide-index="${e.realIndex+t}"]`).forEach(t=>{t.classList.add(s)});else for(let t=0;t<r;t+=1)i.slides[e.realIndex+t]&&i.slides[e.realIndex+t].classList.add(s);const o=e.params.thumbs.autoScrollOffset,a=o&&!i.params.loop;if(e.realIndex!==i.realIndex||a){const r=i.activeIndex;let s,l;if(i.params.loop){const t=i.slides.find(t=>t.getAttribute("data-swiper-slide-index")===`${e.realIndex}`);s=i.slides.indexOf(t),l=e.activeIndex>e.previousIndex?"next":"prev"}else s=e.realIndex,l=s>e.previousIndex?"next":"prev";a&&(s+="next"===l?o:-1*o),i.visibleSlidesIndexes&&i.visibleSlidesIndexes.indexOf(s)<0&&(i.params.centeredSlides?s=s>r?s-Math.floor(n/2)+1:s+Math.floor(n/2)-1:s>r&&i.params.slidesPerGroup,i.slideTo(s,t?0:void 0))}}e.thumbs={swiper:null},n("beforeInit",()=>{const{thumbs:t}=e.params;if(t&&t.swiper)if("string"==typeof t.swiper||t.swiper instanceof HTMLElement){const i=pf(),n=()=>{const n="string"==typeof t.swiper?i.querySelector(t.swiper):t.swiper;if(n&&n.swiper)t.swiper=n.swiper,a(),l(!0);else if(n){const i=`${e.params.eventsPrefix}init`,r=s=>{t.swiper=s.detail[0],n.removeEventListener(i,r),a(),l(!0),t.swiper.update(),e.update()};n.addEventListener(i,r)}return n},r=()=>{if(e.destroyed)return;n()||requestAnimationFrame(r)};requestAnimationFrame(r)}else a(),l(!0)}),n("slideChange update resize observerUpdate",()=>{l()}),n("setTransition",(t,i)=>{const n=e.thumbs.swiper;n&&!n.destroyed&&n.setTransition(i)}),n("beforeDestroy",()=>{const t=e.thumbs.swiper;t&&!t.destroyed&&s&&t.destroy()}),Object.assign(e.thumbs,{init:a,update:l})},function(t){let{swiper:e,extendParams:i,emit:n,once:r}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){if(e.params.cssMode)return;const t=e.getTranslate();e.setTranslate(t),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){if(e.params.cssMode)return;const{touchEventsData:t,touches:i}=e;0===t.velocities.length&&t.velocities.push({position:i[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:i[e.isHorizontal()?"currentX":"currentY"],time:vf()})},onTouchEnd:function(t){let{currentPos:i}=t;if(e.params.cssMode)return;const{params:s,wrapperEl:o,rtlTranslate:a,snapGrid:l,touchEventsData:c}=e,h=vf()-c.touchStartTime;if(i<-e.minTranslate())e.slideTo(e.activeIndex);else if(i>-e.maxTranslate())e.slides.length<l.length?e.slideTo(l.length-1):e.slideTo(e.slides.length-1);else{if(s.freeMode.momentum){if(c.velocities.length>1){const t=c.velocities.pop(),i=c.velocities.pop(),n=t.position-i.position,r=t.time-i.time;e.velocity=n/r,e.velocity/=2,Math.abs(e.velocity)<s.freeMode.minimumVelocity&&(e.velocity=0),(r>150||vf()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=s.freeMode.momentumVelocityRatio,c.velocities.length=0;let t=1e3*s.freeMode.momentumRatio;const i=e.velocity*t;let h=e.translate+i;a&&(h=-h);let d,u=!1;const p=20*Math.abs(e.velocity)*s.freeMode.momentumBounceRatio;let f;if(h<e.maxTranslate())s.freeMode.momentumBounce?(h+e.maxTranslate()<-p&&(h=e.maxTranslate()-p),d=e.maxTranslate(),u=!0,c.allowMomentumBounce=!0):h=e.maxTranslate(),s.loop&&s.centeredSlides&&(f=!0);else if(h>e.minTranslate())s.freeMode.momentumBounce?(h-e.minTranslate()>p&&(h=e.minTranslate()+p),d=e.minTranslate(),u=!0,c.allowMomentumBounce
vendor: 12,933 bytes, line 2
2=!0):h=e.minTranslate(),s.loop&&s.centeredSlides&&(f=!0);else if(s.freeMode.sticky){let t;for(let e=0;e<l.length;e+=1)if(l[e]>-h){t=e;break}h=Math.abs(l[t]-h)<Math.abs(l[t-1]-h)||"next"===e.swipeDirection?l[t]:l[t-1],h=-h}if(f&&r("transitionEnd",()=>{e.loopFix()}),0!==e.velocity){if(t=a?Math.abs((-h-e.translate)/e.velocity):Math.abs((h-e.translate)/e.velocity),s.freeMode.sticky){const i=Math.abs((a?-h:h)-e.translate),n=e.slidesSizesGrid[e.activeIndex];t=i<n?s.speed:i<2*n?1.5*s.speed:2.5*s.speed}}else if(s.freeMode.sticky)return void e.slideToClosest();s.freeMode.momentumBounce&&u?(e.updateProgress(d),e.setTransition(t),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Pf(o,()=>{e&&!e.destroyed&&c.allowMomentumBounce&&(n("momentumBounce"),e.setTransition(s.speed),setTimeout(()=>{e.setTranslate(d),Pf(o,()=>{e&&!e.destroyed&&e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(h),e.setTransition(t),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Pf(o,()=>{e&&!e.destroyed&&e.transitionEnd()}))):e.updateProgress(h),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(s.freeMode.sticky)return void e.slideToClosest();s.freeMode&&n("_freeModeNoMomentumRelease")}(!s.freeMode.momentum||h>=s.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}}})},function(t){let e,i,n,r,{swiper:s,extendParams:o,on:a}=t;o({grid:{rows:1,fill:"column"}});const l=()=>{let t=s.params.spaceBetween;return"string"==typeof t&&t.indexOf("%")>=0?t=parseFloat(t.replace("%",""))/100*s.size:"string"==typeof t&&(t=parseFloat(t)),t};a("init",()=>{r=s.params.grid&&s.params.grid.rows>1}),a("update",()=>{const{params:t,el:e}=s,i=t.grid&&t.grid.rows>1;r&&!i?(e.classList.remove(`${t.containerModifierClass}grid`,`${t.containerModifierClass}grid-column`),n=1,s.emitContainerClasses()):!r&&i&&(e.classList.add(`${t.containerModifierClass}grid`),"column"===t.grid.fill&&e.classList.add(`${t.containerModifierClass}grid-column`),s.emitContainerClasses()),r=i}),s.grid={initSlides:t=>{const{slidesPerView:r}=s.params,{rows:o,fill:a}=s.params.grid,l=s.virtual&&s.params.virtual.enabled?s.virtual.slides.length:t.length;n=Math.floor(l/o),e=Math.floor(l/o)===l/o?l:Math.ceil(l/o)*o,"auto"!==r&&"row"===a&&(e=Math.max(e,r*o)),i=e/o},unsetSlides:()=>{s.slides&&s.slides.forEach(t=>{t.swiperSlideGridSet&&(t.style.height="",t.style[s.getDirectionLabel("margin-top")]="")})},updateSlide:(t,r,o)=>{const{slidesPerGroup:a}=s.params,c=l(),{rows:h,fill:d}=s.params.grid,u=s.virtual&&s.params.virtual.enabled?s.virtual.slides.length:o.length;let p,f,g;if("row"===d&&a>1){const i=Math.floor(t/(a*h)),n=t-h*a*i,s=0===i?a:Math.min(Math.ceil((u-i*h*a)/h),a);g=Math.floor(n/s),f=n-g*s+i*a,p=f+g*e/h,r.style.order=p}else"column"===d?(f=Math.floor(t/h),g=t-f*h,(f>n||f===n&&g===h-1)&&(g+=1,g>=h&&(g=0,f+=1))):(g=Math.floor(t/i),f=t-g*i);r.row=g,r.column=f,r.style.height=`calc((100% - ${(h-1)*c}px) / ${h})`,r.style[s.getDirectionLabel("margin-top")]=0!==g?c&&`${c}px`:"",r.swiperSlideGridSet=!0},updateWrapperSize:(t,i)=>{const{centeredSlides:n,roundLengths:r}=s.params,o=l(),{rows:a}=s.params.grid;if(s.virtualSize=(t+o)*e,s.virtualSize=Math.ceil(s.virtualSize/a)-o,s.params.cssMode||(s.wrapperEl.style[s.getDirectionLabel("width")]=`${s.virtualSize+o}px`),n){const t=[];for(let e=0;e<i.length;e+=1){let n=i[e];r&&(n=Math.floor(n)),i[e]<s.virtualSize+i[0]&&t.push(n)}i.splice(0,i.length),i.push(...t)}}}},function(t){let{swiper:e}=t;Object.assign(e,{appendSlide:yg.bind(e),prependSlide:wg.bind(e),addSlide:xg.bind(e),removeSlide:bg.bind(e),removeAllSlides:Eg.bind(e)})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({fadeEffect:{crossFade:!1}}),Sg({effect:"fade",swiper:e,on:n,setTranslate:()=>{const{slides:t}=e;e.params.fadeEffect;for(let i=0;i<t.length;i+=1){const t=e.slides[i];let n=-t.swiperSlideOffset;e.params.virtualTranslate||(n-=e.translate);let r=0;e.isHorizontal()||(r=n,n=0);const s=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(t.progress),0):1+Math.min(Math.max(t.progress,-1),0),o=Cg(0,t);o.style.opacity=s,o.style.transform=`translate3d(${n}px, ${r}px, 0px)`}},setTransition:t=>{const i=e.slides.map(t=>Cf(t));i.forEach(e=>{e.style.transitionDuration=`${t}ms`}),Tg({swiper:e,duration:t,transformElements:i,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const r=(t,e,i)=>{let n=i?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),r=i?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");n||(n=kf("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(i?"left":"top")).split(" ")),t.append(n)),r||(r=kf("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(i?"right":"bottom")).split(" ")),t.append(r)),n&&(n.style.opacity=Math.max(-e,0)),r&&(r.style.opacity=Math.max(e,0))};Sg({effect:"cube",swiper:e,on:n,setTranslate:()=>{const{el:t,wrapperEl:i,slides:n,width:s,height:o,rtlTranslate:a,size:l,browser:c}=e,h=Ff(e),d=e.params.cubeEffect,u=e.isHorizontal(),p=e.virtual&&e.params.virtual.enabled;let f,g=0;d.shadow&&(u?(f=e.wrapperEl.querySelector(".swiper-cube-shadow"),f||(f=kf("div","swiper-cube-shadow"),e.wrapperEl.append(f)),f.style.height=`${s}px`):(f=t.querySelector(".swiper-cube-shadow"),f||(f=kf("div","swiper-cube-shadow"),t.append(f))));for(let t=0;t<n.length;t+=1){const e=n[t];let i=t;p&&(i=parseInt(e.getAttribute("data-swiper-slide-index"),10));let s=90*i,o=Math.floor(s/360);a&&(s=-s,o=Math.floor(-s/360));const c=Math.max(Math.min(e.progress,1),-1);let f=0,m=0,_=0;i%4==0?(f=4*-o*l,_=0):(i-1)%4==0?(f=0,_=4*-o*l):(i-2)%4==0?(f=l+4*o*l,_=l):(i-3)%4==0&&(f=-l,_=3*l+4*l*o),a&&(f=-f),u||(m=f,f=0);const v=`rotateX(${h(u?0:-s)}deg) rotateY(${h(u?s:0)}deg) translate3d(${f}px, ${m}px, ${_}px)`;c<=1&&c>-1&&(g=90*i+90*c,a&&(g=90*-i-90*c)),e.style.transform=v,d.slideShadows&&r(e,c,u)}if(i.style.transformOrigin=`50% 50% -${l/2}px`,i.style["-webkit-transform-origin"]=`50% 50% -${l/2}px`,d.shadow)if(u)f.style.transform=`translate3d(0px, ${s/2+d.shadowOffset}px, ${-s/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${d.shadowScale})`;else{const t=Math.abs(g)-90*Math.floor(Math.abs(g)/90),e=1.5-(Math.sin(2*t*Math.PI/360)/2+Math.cos(2*t*Math.PI/360)/2),i=d.shadowScale,n=d.shadowScale/e,r=d.shadowOffset;f.style.transform=`scale3d(${i}, 1, ${n}) translate3d(0px, ${o/2+r}px, ${-o/2/n}px) rotateX(-89.99deg)`}const m=(c.isSafari||c.isWebView)&&c.needPerspectiveFix?-l/2:0;i.style.transform=`translate3d(0px,0,${m}px) rotateX(${h(e.isHorizontal()?0:g)}deg) rotateY(${h(e.isHorizontal()?-g:0)}deg)`,i.style.setProperty("--swiper-cube-translate-z",`${m}px`)},setTransition:t=>{const{el:i,slides:n}=e;if(n.forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=`${t}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const e=i.querySelector(".swiper-cube-shadow");e&&(e.style.transitionDuration=`${t}ms`)}},recreateShadows:()=>{const t=e.isHorizontal();e.slides.forEach(e=>{const i=Math.max(Math.min(e.progress,1),-1);r(e,i,t)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({flipEffect:{slideShadows:!0,limitRotation:!0}});const r=(t,i)=>{let n=e.isHorizontal()?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),r=e.isHorizontal()?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");n||(n=Ag("flip",t,e.isHorizontal()?"left":"top")),r||(r=Ag("flip",t,e.isHorizontal()?"right":"bottom")),n&&(n.style.opacity=Math.max(-i,0)),r&&(r.style.opacity=Math.max(i,0))};Sg({effect:"flip",swiper:e,on:n,setTranslate:()=>{const{slides:t,rtlTranslate:i}=e,n=e.params.flipEffect,s=Ff(e);for(let o=0;o<t.length;o+=1){const a=t[o];let l=a.progress;e.params.flipEffect.limitRotation&&(l=Math.max(Math.min(a.progress,1),-1));const c=a.swiperSlideOffset;let h=-180*l,d=0,u=e.params.cssMode?-c-e.translate:-c,p=0;e.isHorizontal()?i&&(h=-h):(p=u,u=0,d=-h,h=0),a.style.zIndex=-Math.abs(Math.round(l))+t.length,n.slideShadows&&r(a,l);const f=`translate3d(${u}px, ${p}px, 0px) rotateX(${s(d)}deg) rotateY(${s(h)}deg)`;Cg(0,a).style.transform=f}},setTransition:t=>{const i=e.slides.map(t=>Cf(t));i.forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=`${t}ms`})}),Tg({swiper:e,duration:t,transformElements:i})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(t=>{let i=t.progress;e.params.flipEffect.limitRotation&&(i=Math.max(Math.min(t.progress,1),-1)),r(t,i)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),Sg({effect:"coverflow",swiper:e,on:n,setTranslate:()=>{const{width:t,height:i,slides:n,slidesSizesGrid:r}=e,s=e.params.coverflowEffect,o=e.isHorizontal(),a=e.translate,l=o?t/2-a:i/2-a,c=o?s.rotate:-s.rotate,h=s.depth,d=Ff(e);for(let t=0,e=n.length;t<e;t+=1){const e=n[t],i=r[t],a=(l-e.swiperSlideOffset-i/2)/i,u="function"==typeof s.modifier?s.modifier(a):a*s.modifier;let p=o?c*u:0,f=o?0:c*u,g=-h*Math.abs(u),m=s.stretch;"string"==typeof m&&-1!==m.indexOf("%")&&(m=parseFloat(s.stretch)/100*i);let _=o?0:m*u,v=o?m*u:0,y=1-(1-s.scale)*Math.abs(u);Math.abs(v)<.001&&(v=0),Math.abs(_)<.001&&(_=0),Math.abs(g)<.001&&(g=0),Math.abs(p)<.001&&(p=0),Math.abs(f)<.001&&(f=0),Math.abs(y)<.001&&(y=0);const w=`translate3d(${v}px,${_}px,${g}px)  rotateX(${d(f)}deg) rotateY(${d(p)}deg) scale(${y})`;if(Cg(0,e).style.transform=w,e.style.zIndex=1-Math.abs(Math.round(u)),s.slideShadows){let t=o?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),i=o?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");t||(t=Ag("coverflow",e,o?"left":"top")),i||(i=Ag("coverflow",e,o?"right":"bottom")),t&&(t.style.opacity=u>0?u:0),i&&(i.style.opacity=-u>0?-u:0)}}},setTransition:t=>{e.slides.map(t=>Cf(t)).forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=`${t}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const r=t=>"string"==typeof t?t:`${t}px`;Sg({effect:"creative",swiper:e,on:n,setTranslate:()=>{const{slides:t,wrapperEl:i,slidesSizesGrid:n}=e,s=e.params.creativeEffect,{progressMultiplier:o}=s,a=e.params.centeredSlides,l=Ff(e);if(a){const t=n[0]/2-e.params.slidesOffsetBefore||0;i.style.transform=`translateX(calc(50% - ${t}px))`}for(let i=0;i<t.length;i+=1){const n=t[i],c=n.progress,h=Math.min(Math.max(n.progress,-s.limitProgress),s.limitProgress);let d=h;a||(d=Math.min(Math.max(n.originalProgress,-s.limitProgress),s.limitProgress));const u=n.swiperSlideOffset,p=[e.params.cssMode?-u-e.translate:-u,0,0],f=[0,0,0];let g=!1;e.isHorizontal()||(p[1]=p[0],p[0]=0);let m={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};h<0?(m=s.next,g=!0):h>0&&(m=s.prev,g=!0),p.forEach((t,e)=>{p[e]=`calc(${t}px + (${r(m.translate[e])} * ${Math.abs(h*o)}))`}),f.forEach((t,e)=>{let i=m.rotate[e]*Math.abs(h*o);f[e]=i}),n.style.zIndex=-Math.abs(Math.round(c))+t.length;const _=p.join(", "),v=`rotateX(${l(f[0])}deg) rotateY(${l(f[1])}deg) rotateZ(${l(f[2])}deg)`,y=d<0?`scale(${1+(1-m.scale)*d*o})`:`scale(${1-(1-m.scale)*d*o})`,w=d<0?1+(1-m.opacity)*d*o:1-(1-m.opacity)*d*o,x=`translate3d(${_}) ${v} ${y}`;if(g&&m.shadow||!g){let t=n.querySelector(".swiper-slide-shadow");if(!t&&m.shadow&&(t=Ag("creative",n)),t){const e=s.shadowPerProgress?h*(1/s.limitProgress):h;t.style.opacity=Math.min(Math.max(Math.abs(e),0),1)}}const b=Cg(0,n);b.style.transform=x,b.style.opacity=w,m.origin&&(b.style.transformOrigin=m.origin)}},setTransition:t=>{const i=e.slides.map(t=>Cf(t));
2i.forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow").forEach(e=>{e.style.transitionDuration=`${t}ms`})}),Tg({swiper:e,duration:t,transformElements:i,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})},function(t){let{swiper:e,extendParams:i,on:n}=t;i({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),Sg({effect:"cards",swiper:e,on:n,setTranslate:()=>{const{slides:t,activeIndex:i,rtlTranslate:n}=e,r=e.params.cardsEffect,{startTranslate:s,isTouched:o}=e.touchEventsData,a=n?-e.translate:e.translate;for(let l=0;l<t.length;l+=1){const c=t[l],h=c.progress,d=Math.min(Math.max(h,-4),4);let u=c.swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&(e.wrapperEl.style.transform=`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(u-=t[0].swiperSlideOffset);let p=e.params.cssMode?-u-e.translate:-u,f=0;const g=-100*Math.abs(d);let m=1,_=-r.perSlideRotate*d,v=r.perSlideOffset-.75*Math.abs(d);const y=e.virtual&&e.params.virtual.enabled?e.virtual.from+l:l,w=(y===i||y===i-1)&&d>0&&d<1&&(o||e.params.cssMode)&&a<s,x=(y===i||y===i+1)&&d<0&&d>-1&&(o||e.params.cssMode)&&a>s;if(w||x){const t=(1-Math.abs((Math.abs(d)-.5)/.5))**.5;_+=-28*d*t,m+=-.5*t,v+=96*t,f=-25*t*Math.abs(d)+"%"}if(p=d<0?`calc(${p}px ${n?"-":"+"} (${v*Math.abs(d)}%))`:d>0?`calc(${p}px ${n?"-":"+"} (-${v*Math.abs(d)}%))`:`${p}px`,!e.isHorizontal()){const t=f;f=p,p=t}const b=d<0?""+(1+(1-m)*d):""+(1-(1-m)*d),E=`\n        translate3d(${p}, ${f}, ${g}px)\n        rotateZ(${r.rotate?n?-_:_:0}deg)\n        scale(${b})\n      `;if(r.slideShadows){let t=c.querySelector(".swiper-slide-shadow");t||(t=Ag("cards",c)),t&&(t.style.opacity=Math.min(Math.max((Math.abs(d)-.5)/.5,0),1))}c.style.zIndex=-Math.abs(Math.round(h))+t.length;Cg(0,c).style.transform=E}},setTransition:t=>{const i=e.slides.map(t=>Cf(t));i.forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow").forEach(e=>{e.style.transitionDuration=`${t}ms`})}),Tg({swiper:e,duration:t,transformElements:i})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:e.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!e.params.cssMode})})}];mg.use(kg);var Mg=i(189),Ig={insert:"head",singleton:!1};af()(Mg.A,Ig);Mg.A.locals;function Rg(){var t,e,i="function"==typeof Symbol?Symbol:{},n=i.iterator||"@@iterator",r=i.toStringTag||"@@toStringTag";function s(i,n,r,s){var l=n&&n.prototype instanceof a?n:a,c=Object.create(l.prototype);return Lg(c,"_invoke",function(i,n,r){var s,a,l,c=0,h=r||[],d=!1,u={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,i){return s=e,a=0,l=t,u.n=i,o}};function p(i,n){for(a=i,l=n,e=0;!d&&c&&!r&&e<h.length;e++){var r,s=h[e],p=u.p,f=s[2];i>3?(r=f===n)&&(l=s[(a=s[4])?5:(a=3,3)],s[4]=s[5]=t):s[0]<=p&&((r=i<2&&p<s[1])?(a=0,u.v=n,u.n=s[1]):p<f&&(r=i<3||s[0]>n||n>f)&&(s[4]=i,s[5]=n,u.n=f,a=0))}if(r||i>1)return o;throw d=!0,n}return function(r,h,f){if(c>1)throw TypeError("Generator is already running");for(d&&1===h&&p(h,f),a=h,l=f;(e=a<2?t:l)||!d;){s||(a?a<3?(a>1&&(u.n=-1),p(a,l)):u.n=l:u.v=l);try{if(c=2,s){if(a||(r="next"),e=s[r]){if(!(e=e.call(s,l)))throw TypeError("iterator result is not an object");if(!e.done)return e;l=e.value,a<2&&(a=0)}else 1===a&&(e=s.return)&&e.call(s),a<2&&(l=TypeError("The iterator does not provide a '"+r+"' method"),a=1);s=t}else if((e=(d=u.n<0)?l:i.call(n,u))!==o)break}catch(e){s=t,a=1,l=e}finally{c=1}}return{value:e,done:d}}}(i,r,s),!0),c}var o={};function a(){}function l(){}function c(){}e=Object.getPrototypeOf;var h=[][n]?e(e([][n]())):(Lg(e={},n,function(){return this}),e),d=c.prototype=a.prototype=Object.create(h);function u(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,Lg(t,r,"GeneratorFunction")),t.prototype=Object.create(d),t}return l.prototype=c,Lg(d,"constructor",c),Lg(c,"constructor",l),l.displayName="GeneratorFunction",Lg(c,r,"GeneratorFunction"),Lg(d),Lg(d,r,"Generator"),Lg(d,n,function(){return this}),Lg(d,"toString",function(){return"[object Generator]"}),(Rg=function(){return{w:s,m:u}})()}function Lg(t,e,i,n){var r=Object.defineProperty;try{r({},"",{})}catch(t){r=0}
2Lg=function(t,e,i,n){if(e)r?r(t,e,{value:i,enumerable:!n,configurable:!n,writable:!n}):t[e]=i;else{var s=function(e,i){Lg(t,e,function(t){return this._invoke(e,i,t)})};s("next",0),s("throw",1),s("return",2)}},Lg(t,e,i,n)}function Pg(t,e,i,n,r,s,o){try{var a=t[s](o),l=a.value}catch(t){return void i(t)}a.done?e(l):Promise.resolve(l).then(n,r)}ke()(function(){var t="info";window.location.href.indexOf("contact")>0&&(t="contact"),window.location.href.indexOf("booking")>0&&(t="booking"),gevent("page_view",{shop_id:env.uniiti_id,source:"minisite",click_type:t})}),ke()(function(){ke()(".phone_btn").on("click",function(){gevent("page_view",{shop_id:env.uniiti_id,source:"minisite",click_type:phone})})}),ke()(function(){var t=ke()(".iframe"),e=t.height();window.addEventListener("message",function(i){if(i.data&&i.data.type&&"height"===i.data.type){var n=t.height();return n!==e&&(e=n,ke()("html, body").animate({scrollTop:t.offset().top-100},500)),void("0"===i.data.val?ke()(".booking iframe").css("height","400px"):ke()(".booking iframe").css("height",i.data.val+"px"))}}),ke()(window).on("message",function(t){var e=t.originalEvent;console.log("Message",e.data.width),e.data&&"IFRAME_RESIZE"===e.data.type&&ke()("#external-booking").css("width",e.data.width+"%")})}),ke()(function(){window.addEventListener("message",function(t){if("homePageLink"==t.data.type){var e=window.parent;if(e){var i=e.location.href,n=new URL(i),r=n.protocol+"//"+n.hostname+"/"+n.pathname.split("/")[1];window.location.href=r}}})}),ke()(function(){window.addEventListener("message",function(t){t.origin===env.BOOKING_PARAM&&("up"===t.data?window.scrollTo(0,300):"down"===t.data&&window.scrollTo(0,document.body.scrollHeight))})}),ke()(function(){ke()(".header__menu-right .menu li").length>=11&&ke()(document).width()>=1025&&ke()(".header-contain").addClass("lg-header")}),ke()(function(){ke()(".links a").each(function(){var t=ke()(this).data("id"),e=ke()(this).data("slug"),i=ke()(this).data("lang");ke()(".booking").find(".link_"+t).on("click",function(n){n.preventDefault(),ke()(".iframe").html("<iframe src='".concat(env.BOOKING_PARAM,"/shop/booking/").concat(t,"/").concat(e,"?redesign=1&lang_code=").concat(i,"'></iframe>"))})})}),ke()(function(){ke()(window).on("scroll",function(){ke()(".black .reach").length&&(ke()(this).scrollTop()>=ke()(".black .reach").offset().top+-200?(ke()(".vnoir-rvs").addClass("display-right"),ke()(".vnoire-details").addClass("display-right")):(ke()(".vnoir-rvs").removeClass("display-right"),ke()(".vnoire-details").removeClass("display-right")))})}),ke()(function(){var t=ke()(".services .header");ke()(window).on("scroll",function(){ke()(".reach-services").length&&(ke()(this).scrollTop()>=ke()(".reach-services").offset().top+-110?t.addClass("fixed_header"):t.removeClass("fixed_header"))})}),ke()(function(){ke()(window).on("resize",function(){if(ke()(".vnoir-rvs").length){var t=ke()(".vnoir-rvs").offset().top,e=ke()(".vnoir-rvs").outerHeight()+t;ke()(".main-section .pattern-right").css({top:"calc(".concat(e,"px + 10px)")})}}).trigger("resize")}),ke()(function(){var t=[];ke()(".tabs .tab-item").each(function(){var e=ke()(this).data("id"),i=document.getElementById("item_"+e);ke()(i).each(function(){i.offsetTop>1&&t.push(i)})}),t.length?ke().map(t,function(t,e){ke()(".dropdown .dropdown-content").append('<a href="#'.concat(t.dataset.id,'">').concat(t.outerText,"</a>"))}):ke()(".dropdown").hide()}),ke()(function(){var t=ke()(".header-contain").height()+80;ke()(".tabs .tab-item a, .dropdown-content a").each(function(){ke()(this).on("click",function(e){var i=ke()(this).attr("href");if(ke()(".tabs .tab-item a").removeClass("active-item"),ke()(this).addClass("active-item"),ke()(".fixed_header").length)ke()("html, body").animate({scrollTop:ke()(i).offset().top-t},"swing");else{var n=ke()(".header-contain").height()+160;ke()("html, body").animate({scrollTop:ke()(i).offset().top-n},"swing")}})})}),ke()(function(){var t=ke()(".header-contain");ke()(window).on("scroll",function(){ke()(this).scrollTop()>15?t.addClass("f-nav"):t.removeClass("f-nav")})});var Dg=.01*(window.innerHeight-54);document.documentElement.style.setProperty("--vh","".concat(Dg,"px")),ke()(function(){ke()(".text-holder").on("click",function(){var t=ke()(this);t.find(".current").hide(),t.find(".original").show(),setTimeout(function(){t.find(".current").show(),t.find(".original").hide()},5e3)})}),ke()(function(){var t=ke()(".block-status");setTimeout(function(){t.addClass("animate"),setTimeout(function(){t.removeClass("animate")},5e3)},1e3)}),ke()(function(){ke()(".block-status").on("click",function(){ke()(".block-status").toggleClass("animate")})}),ke()(function(){var t=ke()(".main-bottom");setTimeout(function(){t.addClass("reviews-animated"),setTimeout(function(){t.removeClass("reviews-animated")},7e3)},3e3)}),ke()(function(){ke()(".scroll-section .see-more").on("click",function(t){t.preventDefault(),ke()("html, body").animate({scrollTop:ke()("#scroll").offset().top},500)})});var Og=new Wd({target:"map",interactions:La({doubleClickZoom:!1,dragPan:!1,mouseWheelZoom:!1}),controls:[],layers:[new Su({source:new $u({})})],view:new Lo({center:ds([shop.longitude,shop.latitude]),zoom:17})}),Fg=new Ud({geometry:new ao(ds([shop.longitude,shop.latitude]))});Fg.setStyle(new ld({image:new ed({crossOrigin:"anonymous",anchor:[.5,.9],anch
2orXUnits:"fraction",anchorYUnits:"fraction",src:"/svg/icons/pin-map.png"})}));var zg=new nf({source:new dp({features:[Fg]})});Og.addLayer(zg);var Ng=0,Bg=0,jg="",Gg="";function Wg(t){Gg+="<div class='swiper-slide card'>",t.link?Gg+="<a href='#!' class='item image' data-slide='"+Ng+++"' style='background-image: url("+t.photo+")'></a>":Gg+="<a data-slide='"+Ng+++"' href='#!' class='image item' style='background-image: url("+t.photo+")'></a>",Gg+="<div class='content'>",t.link,Gg+="<p><a href='#!' class='item'>@"+t.name+"</a></p>",t.text&&(Gg+="<p>"+t.text.substring(0,150)+" ...</p>"),Gg+="</div>",Gg+="</div>",jg+="<div class='swiper-slide'>",jg+="<div class='item' data-slide='"+Bg+++"'>",t.link?jg+="<a href='"+t.link+"' class='image' target='_blank' style='background-image: url("+t.photo+")'></a>":jg+="<a href='#!' class='image' style='background-image: url("+t.photo+")'></a>",jg+="<div class='content'>",t.link?jg+="<p><a href='"+t.link+"' target='_blank'>@"+t.name+"</a></p>":jg+="<p><a href='#!'>@"+t.name+"</a></p>",t.text&&(jg+="<p>"+t.text+"</p>"),jg+="</div>",jg+="</div>",jg+="</div>"}(function(){var t,e=(t=Rg().m(function t(){var e,i,n,r,s,o;return Rg().w(function(t){for(;;)switch(t.n){case 0:if(e=window.location.pathname,i=e.split("/")[2],t.p=1,i){t.n=3;break}return t.n=2,Te.get("/fr/social-feeds");case 2:n=t.v,r=n.data.feeds.slice(0,2),n.data.feeds.length?(ke()(".social_hide").show(),ke().map(r,function(t,e){Wg(t)}),ke()(".social-media .feed").html(Gg),ke()(".popup-direct .swiper-wrapper").html(jg)):ke()(".social_hide").hide(),t.n=5;break;case 3:if("gallery"!==i){t.n=5;break}return t.n=4,Te.get("/fr/social-photos");case 4:(s=t.v).data.photos.length?(ke()(".social_hide").show(),ke().map(s.data.photos,function(t,e){Wg(t)}),ke()(".direct .feed").html(Gg),ke()(".popup-direct .swiper-wrapper").html(jg)):(ke()(".social_hide").hide(),ke()(".direct").css("height","0"),ke()(".direct").parent().css("padding","0"));case 5:new mg(".direct",{lazy:!0,slidesPerView:1,spaceBetween:15,grabCursor:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},keyboard:{enabled:!0,onlyInViewport:!1},breakpoints:{1024:{slidesPerView:3,spaceBetween:15,centeredSlides:!0,freeMode:!0}}}),t.n=7;break;case 6:t.p=6,o=t.v,console.log(o);case 7:return t.a(2)}},t,null,[[1,6]])}),function(){var e=this,i=arguments;return new Promise(function(n,r){var s=t.apply(e,i);function o(t){Pg(s,n,r,o,a,"next",t)}function a(t){Pg(s,n,r,o,a,"throw",t)}o(void 0)})});return function(){return e.apply(this,arguments)}})()(),ke()(function(){ke()(".form-letter").each(function(){ke()(this).on("submit",function(t){t.preventDefault();var e=ke().trim(ke()(this).find(".checkfield").val());0===e.length?(ke()(".info-letter").text(translation.empty_field).fadeIn(500),ke()(".info-letter").addClass("error"),ke()(".info-letter").removeClass("success")):ke().ajax({url:"/fr/submit-newsletter",type:"POST",data:{email:e,_token:ke()('meta[name="csrf-token"]').attr("content")},success:function(t){t.error?(ke()(".info-letter").text(translation.newsletter_error).fadeIn(500),ke()(".info-letter").addClass("error"),ke()(".info-letter").removeClass("success")):t.success?(ke()(".form-input").fadeOut(1e3),ke()(".info-letter").text(translation.newsletter_success).fadeIn(500),ke()(".info-letter").addClass("success"),ke()(".info-letter").removeClass("error")):(ke()(".info-letter").text(translation.newsletter_exist).fadeIn(500),ke()(".info-letter").addClass("error"),ke()(".info-letter").removeClass("success"))},error:function(t,e){}})})})}),ke()(function(){function t(t,e){"success"==e?ke()("#message-wrap").addClass("success-msg").removeClass("error-msg"):"error"==e&&ke()("#message-wrap").removeClass("success-msg").addClass("error-msg"),ke()("#message-wrap").stop().slideDown().html("<span>"+t+"</span>").delay(3e3).slideUp()}ke()(".input-holder").find(".checkfield:visible").each(function(){ke()(this).on("keyup",function(){ke().trim(ke()(this).val()).length<3?(ke()(this).closest(".checkfield").addClass("failed"),ke()(this).closest(".checkfield").removeClass("success"),ke()(this).parent().addClass("labelfailed")):(ke()(this).closest(".checkfield").removeClass("failed"),ke()(this).closest(".checkfield").addClass("success"),ke()(this).parent().removeClass("labelfailed"))})}),ke()("#email").on("keyup",function(){var t;t=ke().trim(ke()("#email").val()),/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(t)?(ke()("#email").removeClass("failed"),ke()("#email").addClass("success"),ke()("#email").parent().removeClass("labelfailed")):(ke()("#email").addClass("failed"),ke()("#email").removeClass("success"),ke()("#email").parent().addClass("labelfailed"))}),ke()("#telephone").on("keyup",function(){!function(){var t=ke().trim(ke()("#telephone").val());/^\+(?:[0-9] ?){6,14}[0-9]$/.test(t)?(ke()("#telephone").removeClass("failed"),ke()("#telephone").addClass("success"),ke()("#telephone").parent().parent().removeClass("labelfailed")):(ke()("#telephone").addClass("failed"),ke()("#telephone").removeClass("success"),ke()("#telephone").parent().parent().addClass("labelfailed"))}()}),ke()("#sendform").on("click",function(e){var i=ke()("#form").data("c
2onfirm"),n=ke()("#form").data("done"),r=/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/,s=/^\+(?:[0-9] ?){6,14}[0-9]$/;e.preventDefault(),!function(){var t=!0,e=/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/,i=/^\+(?:[0-9] ?){6,14}[0-9]$/;return ke()("#form").find(".checkfield:visible").each(function(){var n=ke().trim(ke()(this).val());ke()(this).prop("disabled")?(ke()(this).closest(".checkfield").removeClass("failed"),ke()(this).closest(".checkfield").addClass("success"),ke()(this).parent().removeClass("labelfailed")):ke()(this).prop("required")?n.length<3?(ke()(this).closest(".checkfield").addClass("failed"),ke()(this).closest(".checkfield").removeClass("success"),ke()(this).parent().addClass("labelfailed"),ke()("#telephone").parent().parent().addClass("labelfailed"),t=!1):(ke()(this).closest(".checkfield").removeClass("failed"),ke()(this).closest(".checkfield").addClass("success"),ke()(this).parent().removeClass("labelfailed"),ke()("#telephone").parent().parent().removeClass("labelfailed"),e.test(ke()("#email").val())?(ke()("#email").removeClass("failed"),ke()("#email").addClass("success"),ke()("#email").parent().removeClass("labelfailed")):(ke()("#email").addClass("failed"),ke()("#email").removeClass("success"),ke()("#email").parent().addClass("labelfailed"),t=!1),i.test(ke()("#telephone").val())?(ke()("#telephone").removeClass("failed"),ke()("#telephone").addClass("success"),ke()("#telephone").parent().parent().removeClass("labelfailed")):(ke()("#telephone").addClass("failed"),ke()("#telephone").removeClass("success"),ke()("#telephone").parent().parent().addClass("labelfailed"),t=!1)):(ke()(this).closest(".checkfield").removeClass("failed"),ke()(this).closest(".checkfield").addClass("success"),ke()(this).parent().removeClass("labelfailed"))}),t}()?ke().trim(ke()("#telephone").val()).length<5&&0==ke().trim(ke()("#email").val()).length?t(i,"error"):0==ke().trim(ke()("#email").val()).length?t(ke()("#form").data("email-empty"),"error"):r.test(ke()("#email").val())?ke().trim(ke()("#telephone").val()).length<5?t(ke()("#form").data("phone-empty"),"error"):s.test(ke()("#telephone").val())?s.test(ke()("#telephone").val())||r.test(ke()("#email").val())?ke().trim(ke()("#message").val()).length<3?t(ke()("#form").data("message-empty"),"error"):t(i,"error"):t(ke()("#form").data("emailphone-type"),"error"):t(ke()("#form").data("phone-type"),"error"):t(ke()("#form").data("email-type"),"error"):(t(n,"success"),ke()("#form").submit())})});var Yg=ke()(window),Ug=ke()(".reserve-section");Yg.on("scroll",function(){ke()(this).scrollTop()>200?Ug.addClass("hidden"):Ug.removeClass("hidden")}),ke()(".waitlistBtn").on("click",function(t){t.preventDefault(),t.stopPropagation();var e=ke()(this).parent(),i=ke()(".waitlistBtn").data("slug"),n=ke()(".waitlistBtn").data("lang");ke()(this).parent().addClass("open-waitlist"),ke()(this).parent().parent().attr("style","z-index: 99999999 !important"),ke()("body").addClass("overlay"),ke()("div.main-top").removeClass("vnoir-rvs vnoire-details"),e.find(".waitlistIframe").html("<iframe src='".concat(env.BOOKING_PARAM,"/shop/waitlist/").concat(i,"/join-page?isExternal=true&lang_code=").concat(n,"'></iframe>"))}),ke()(".headerMenuLeftOpen .close").on("click",function(t){t.preventDefault(),ke()(this).parent().parent().removeClass("open-waitlist"),ke()(this).parent().parent().parent().parent().removeAttr("style"),ke()("body").removeClass("overlay"),setTimeout(function(){ke()(".main-section .main-top").addClass("vnoir-rvs"),ke()(".header-page .main-top").addClass("vnoire-details")},400),ke()(".waitlistIframe").empty()}),ke()(".header__menu-left .blur_lang").on("click",function(){ke()(this).parent().removeClass("open-waitlist"),ke()(this).parent().parent().parent().removeAttr("style"),ke()("body").removeClass("overlay"),setTimeout(function(){ke()(".main-section .main-top").addClass("vnoir-rvs"),ke()(".header-page .main-top").addClass("vnoire-details")},400),ke()(".waitlistIframe").empty()}),ke()(".burger-menu").click(function(){ke()(this).parents(".container").find(".menu-bar").addClass("active-menu"),ke()(".blur-main-menu").addClass("active-blur"),ke()(".lg-header").attr("style","z-index: 9999999 !important"),ke()("body").addClass("overlay")}),ke()(".menu-close").click(function(){ke()(this).parents(".menu-bar").removeClass("active-menu"),ke()(".blur-main-menu").removeClass("active-blur"),ke()("body").removeClass("overlay"),ke()(".lg-header").removeAttr("style")}),ke()(".blur-main-menu").click(function(){ke()(".menu-bar").removeClass("active-menu"),ke()(this).removeClass("active-blur"),ke()(".lg-header").removeAttr("style"),ke()("body").removeClass("overlay")}),ke()("body").removeClass("overlay"),ke()(".lang .btn-primary").on("click",function(){ke()(this).parent().addClass("open-flags"),ke()(this).parent().parent().attr("style","z-index: 99999999 !important"),ke()("body").addClass("overlay")}),ke()(".lang .close").on("click",function(t){t.preventDefault(),ke()(this).parent().parent().parent().removeClass("open-flags"),ke()(this).parent().parent().parent().parent().removeAttr("style"),ke()("body").removeClass("overlay")}),ke()(".lang .blur_lang").on("click",function(){ke()(this).parent().parent().removeClass("open-flags"),ke()(this).parent().parent().parent().removeAttr("style"),ke()("body").removeClass("overlay")}),ke()("").removeClass("overlay");new mg(".post-swiper",{lazy:!0,slidesPerView:1,spaceBetween:15,grabCursor:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},keyboard:{enabled:!0,onlyInViewport:!1},breakpoints:{1100:{slidesPerView:2,spaceBetween:15,centeredSlides:!0,freeMode:!0}}}),new mg(".video-swiper",{lazy:!0,slidesPerView:1,spaceBetween:15,grabCursor:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},keyboard:{enabled:!0,onlyInViewport:!1},breakpoints:{1100:{slidesPerView:2,spaceBetween:15,centeredSlides:!0,freeMode:!0}}});
2var Xg=new mg(".gallery-popup",{lazy:!0,slidesPerView:1,spaceBetween:15,centeredSlides:!0,grabCursor:!0,keyboard:{enabled:!0,onlyInViewport:!1},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}),qg=new mg(".gallery-popup-direct",{lazy:!0,slidesPerView:1,spaceBetween:15,centeredSlides:!0,grabCursor:!0,keyboard:{enabled:!0,onlyInViewport:!1},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}),Hg=new mg(".gallery-popup-video",{lazy:!0,slidesPerView:1,spaceBetween:15,centeredSlides:!0,grabCursor:!0,useCSS3Transforms:!1,observer:!0,observeParents:!0,on:{slideChange:function(t){var e=ke()(".swiper-slide-active .item iframe").attr("src");ke()(".swiper-slide-active .item iframe").attr("src",""),ke()(".swiper-slide-active .item iframe").attr("src",e)}},keyboard:{enabled:!0,onlyInViewport:!1},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}});ke()(".popup-video .close").on("click",function(t){var e=ke()(".swiper-slide-active .item iframe").attr("src");ke()(".swiper-slide-active .item iframe").attr("src",""),ke()(".swiper-slide-active .item iframe").attr("src",e)}),ke()(".swiper-slide-post .swiper-slide div[data-slide]").on("click",function(t){t.preventDefault(),ke()("body").addClass("overlay"),ke()(".popup").fadeIn(300);var e=ke()(this).data("slide");Xg.slideTo(e)}),ke()(".swiper-slide-video .swiper-slide .item[data-slide]").on("click",function(t){t.preventDefault(),ke()("body").addClass("overlay"),ke()(".popup-video").fadeIn(300);var e=ke()(this).data("slide");Hg.slideTo(e)});var $g=setInterval(function(){ke()(".feed .swiper-slide .item[data-slide]").length&&(clearInterval($g),ke()(".feed .swiper-slide .item[data-slide]").on("click",function(t){t.preventDefault(),ke()("body").addClass("overlay"),ke()(".popup-direct").fadeIn(300);var e=ke()(this).data("slide");qg.slideTo(e)}))},100);if(ke()(".popup .close").on("click",function(t){t.preventDefault(),ke()("body").removeClass("overlay"),ke()(".popup").fadeOut(300)}),ke()(".popup-video .close").on("click",function(t){t.preventDefault(),ke()("body").removeClass("overlay"),ke()(".popup-video").fadeOut(300)}),ke()(".popup-direct .close").on("click",function(t){t.preventDefault(),ke()("body").removeClass("overlay"),ke()(".popup-direct").fadeOut(300)}),ke()(".phone-number").length){var Vg=document.querySelector(".phone-number");sf()(Vg,{autoHideDialCode:!1,nationalMode:!1,formatOnDisplay:!1,preferredCountries:!1,initialCountry:"auto",geoIpLookup:function(t){ke().get("https://ipinfo.io",function(){},"jsonp").always(function(e){var i=e&&e.country?e.country:"FR";t(i)})}})}},436:t=>{var e;e=function(t){"use strict";return function(){for(var e=[["Afghanistan (‫افغانستان‬‎)","af","93"],["Albania (Shqipëri)","al","355"],["Algeria (‫الجزائر‬‎)","dz","213"],["American Samoa","as","1",5,["684"]],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1",6,["264"]],["Antigua and Barbuda","ag","1",7,["268"]],["Argentina","ar","54"],["Armenia (Հայաստան)","am","374"],["Aruba","aw","297"],["Ascension Island","ac","247"],["Australia","au","61",0],["Austria (Österreich)","at","43"],["Azerbaijan (Azərbaycan)","az","994"],["Bahamas","bs","1",8,["242"]],["Bahrain (‫البحرين‬‎)","bh","973"],["Bangladesh (বাংলাদেশ)","bd","880"],["Barbados","bb","1",9,["246"]],["Belarus (Беларусь)","by","375"],["Belgium (België)","be","32"],["Belize","bz","501"],["Benin (Bénin)","bj","229"],["Bermuda","bm","1",10,["441"]],["Bhutan (འབྲུག)","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina (Босна и Херцеговина)","ba","387"],["Botswana","bw","267"],["Brazil (Brasil)","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1",11,["284"]],["Brunei","bn","673"],["Bulgaria (България)","bg","359"],["Burkina Faso","bf","226"],["Burundi (Uburundi)","bi","257"],["Cambodia (កម្ពុជា)","kh","855"],["Cameroon (Cameroun)","cm","237"],["Canada","ca","1",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742
vendor: 7,561 bytes, line 2
2","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","cv","238"],["Caribbean Netherlands","bq","599",1,["3","4","7"]],["Cayman Islands","ky","1",12,["345"]],["Central African Republic (République centrafricaine)","cf","236"],["Chad (Tchad)","td","235"],["Chile","cl","56"],["China (中国)","cn","86"],["Christmas Island","cx","61",2,["89164"]],["Cocos (Keeling) Islands","cc","61",1,["89162"]],["Colombia","co","57"],["Comoros (‫جزر القمر‬‎)","km","269"],["Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)","cd","243"],["Congo (Republic) (Congo-Brazzaville)","cg","242"],["Cook Islands","ck","682"],["Costa Rica","cr","506"],["Côte d’Ivoire","ci","225"],["Croatia (Hrvatska)","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599",0],["Cyprus (Κύπρος)","cy","357"],["Czech Republic (Česká republika)","cz","420"],["Denmark (Danmark)","dk","45"],["Djibouti","dj","253"],["Dominica","dm","1",13,["767"]],["Dominican Republic (República Dominicana)","do","1",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt (‫مصر‬‎)","eg","20"],["El Salvador","sv","503"],["Equatorial Guinea (Guinea Ecuatorial)","gq","240"],["Eritrea","er","291"],["Estonia (Eesti)","ee","372"],["Eswatini","sz","268"],["Ethiopia","et","251"],["Falkland Islands (Islas Malvinas)","fk","500"],["Faroe Islands (Føroyar)","fo","298"],["Fiji","fj","679"],["Finland (Suomi)","fi","358",0],["France","fr","33"],["French Guiana (Guyane française)","gf","594"],["French Polynesia (Polynésie française)","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia (საქართველო)","ge","995"],["Germany (Deutschland)","de","49"],["Ghana (Gaana)","gh","233"],["Gibraltar","gi","350"],["Greece (Ελλάδα)","gr","30"],["Greenland (Kalaallit Nunaat)","gl","299"],["Grenada","gd","1",14,["473"]],["Guadeloupe","gp","590",0],["Guam","gu","1",15,["671"]],["Guatemala","gt","502"],["Guernsey","gg","44",1,["1481","7781","7839","7911"]],["Guinea (Guinée)","gn","224"],["Guinea-Bissau (Guiné Bissau)","gw","245"],["Guyana","gy","592"],["Haiti","ht","509"],["Honduras","hn","504"],["Hong Kong (香港)","hk","852"],["Hungary (Magyarország)","hu","36"],["Iceland (Ísland)","is","354"],["India (भारत)","in","91"],["Indonesia","id","62"],["Iran (‫ایران‬‎)","ir","98"],["Iraq (‫العراق‬‎)","iq","964"],["Ireland","ie","353"],["Isle of Man","im","44",2,["1624","74576","7524","7924","7624"]],["Israel (‫ישראל‬‎)","il","972"],["Italy (Italia)","it","39",0],["Jamaica","jm","1",4,["876","658"]],["Japan (日本)","jp","81"],["Jersey","je","44",3,["1534","7509","7700","7797","7829","7937"]],["Jordan (‫الأردن‬‎)","jo","962"],["Kazakhstan (Казахстан)","kz","7",1,["33","7"]],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait (‫الكويت‬‎)","kw","965"],["Kyrgyzstan (Кыргызстан)","kg","996"],["Laos (ລາວ)","la","856"],["Latvia (Latvija)","lv","371"],["Lebanon (‫لبنان‬‎)","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya (‫ليبيا‬‎)","ly","218"],["Liechtenstein","li","423"],["Lithuania (Lietuva)","lt","370"],["Luxembourg","lu","352"],["Macau (澳門)","mo","853"],["Madagascar (Madagasikara)","mg","261"],["Malawi","mw","265"],["Malaysia","my","60"],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania (‫موريتانيا‬‎)","mr","222"],["Mauritius (Moris)","mu","230"],["Mayotte","yt","262",1,["269","639"]],["Mexico (México)","mx","52"],["Micronesia","fm","691"],["Moldova (Republica Moldova)","md","373"],["Monaco","mc","377"],["Mongolia (Монгол)","mn","976"],["Montenegro (Crna Gora)","me","382"],["Montserrat","ms","1",16,["664"]],["Morocco (‫المغرب‬‎)","ma","212",0],["Mozambique (Moçambique)","mz","258"],["Myanmar (Burma) (မြန်မာ)","mm","95"],["Namibia (Namibië)","na","264"],["Nauru","nr","674"],["Nepal (नेपाल)","np","977"],["Netherlands (Nederland)","nl","31"],["New Caledonia (Nouvelle-Calédonie)","nc","687"],["New Zealand","nz","64"],["Nicaragua","ni","505"],["Niger (Nijar)","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea (조선 민주주의 인민 공화국)","kp","850"],["North Macedonia (Северна Македонија)","mk","389"],["Northern Mariana Islands","mp","1",17,["670"]],["Norway (Norge)","no","47",0],["Oman (‫عُمان‬‎)","om","968"],["Pakistan (‫پاکستان‬‎)","pk","92"],["Palau","pw","680"],["Palestine (‫فلسطين‬‎)","ps","970"],["Panama (Panamá)","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru (Perú)","pe","51"],["Philippines","ph","63"],["Poland (Polska)","pl","48"],["Portugal","pt","351"],["Puerto Rico","pr","1",3,["787","939"]],["Qatar (‫قطر‬‎)","qa","974"],["Réunion (La Réunion)","re","262",0],["Romania (România)","ro","40"],["Russia (Россия)","ru","7",0],["Rwanda","rw","250"],["Saint Barthélemy","bl","590",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1",18,["869"]],["Saint Lucia","lc","1",19,["758"]],["Saint Martin (Saint-Martin (partie française))","mf","590",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1",20,["784"]],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe (São Tomé e Príncipe)","st","239"],["Saudi Arabia (‫المملكة العربية السعودية‬‎)","sa","966"],["Senegal (Sénégal)","sn","221"],["Serbia (Србија)","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65"],["Sint Maarten","sx","1",21,["721"]],["Slovakia (Slovensko)","sk","421"],["Slovenia (Slovenija)","si","386"],["Solomon Islands","sb","677"],["Somalia (Soomaaliya)","so","252"],["South Africa","za","27"],["South Korea (대한민국)","kr","82"],["South Sudan (‫جنوب السودان‬‎)","ss","211"],["Spain (España)","es","34"],["Sri Lanka (ශ්‍රී ලංකාව)","lk","94"],["Sudan (‫السودان‬‎)","sd","249"],["Suriname","sr","597"],["Svalbard and Jan Mayen","sj","47",1,["79"]],["Sweden (Sverige)","se","46"],["Switzerland (Schweiz)","ch","41"],["Syria (‫سوريا‬‎)","sy","963"],["Taiwan (台灣)","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand (ไทย)","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad and Tobago","tt","1",22,["868"]],["Tunisia (‫تونس‬‎)","tn","216"],["Turkey (Türkiye)","tr","90"],["Turkmenistan","tm","993"],["Turks and Caicos Islands","tc","1",23,["649"]],["Tuvalu","tv","688"],["U.S. Virgin Islands","vi","1",24,["340"]],["Uganda","ug","256"],["Ukraine (Україна)","ua","380"],["United Arab Emirates (‫الإمارات العربية المتحدة‬‎)","ae","971"],["United Kingdom","gb","44",0],["United States","us","1",0],["Uruguay","uy","598"],["Uzbekistan (Oʻzbekiston)","uz","998"],["Vanuatu","vu","678"],["Vatican City (Città del Vaticano)","va","39",1,["06698"]],["Venezuela","ve","58"],["Vietnam (Việt Nam)","vn","84"],["Wallis and Futuna (Wallis-et-Futuna)","wf","681"],["Western Sahara (‫الصحراء الغربية‬‎)","eh","212",1,["5288","5289"]],["Yemen (‫اليمن‬‎)","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"],["Åland Islands","ax","358",1,["18"]]],
2i=0;i<e.length;i++){var n=e[i];e[i]={name:n[0],iso2:n[1],dialCode:n[2],priority:n[3]||0,areaCodes:n[4]||null}}function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var s={getInstance:function(t){var e=t.getAttribute("data-intl-tel-input-id");return window.intlTelInputGlobals.instances[e]},instances:{},documentReady:function(){return"complete"===document.readyState}};"object"==typeof window&&(window.intlTelInputGlobals=s);var o=0,a={allowDropdown:!0,autoHideDialCode:!0,autoPlaceholder:"polite",customContainer:"",customPlaceholder:null,dropdownContainer:null,excludeCountries:[],formatOnDisplay:!0,geoIpLookup:null,hiddenInput:"",initialCountry:"",localizedCountries:null,nationalMode:!0,onlyCountries:[],placeholderNumberType:"MOBILE",preferredCountries:["us","gb"],separateDialCode:!1,utilsScript:""},l=["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"],c=function(t,e){for(var i=Object.keys(t),n=0;n<i.length;n++)e(i[n],t[i[n]])},h=function(t){c(window.intlTelInputGlobals.instances,function(e){window.intlTelInputGlobals.instances[e][t]()})},d=function(){function i(t,e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),this.id=o++,this.telInput=t,this.activeItem=null,this.highlightedItem=null;var r=e||{};this.options={},c(a,function(t,e){n.options[t]=r.hasOwnProperty(t)?r[t]:e}),this.hadInitialPlaceholder=Boolean(t.getAttribute("placeholder"))}var n,s,d;return n=i,s=[{key:"_init",value:function(){var t=this;if(this.options.nationalMode&&(this.options.autoHideDialCode=!1),this.options.separateDialCode&&(this.options.autoHideDialCode=this.options.nationalMode=!1),this.isMobile=/Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),this.isMobile&&(document.body.classList.add("iti-mobile"),this.options.dropdownContainer||(this.options.dropdownContainer=document.body)),"undefined"!=typeof Promise){var e=new Promise(function(e,i){t.resolveAutoCountryPromise=e,t.rejectAutoCountryPromise=i}),i=new Promise(function(e,i){t.resolveUtilsScriptPromise=e,t.rejectUtilsScriptPromise=i});this.promise=Promise.all([e,i])}else this.resolveAutoCountryPromise=this.rejectAutoCountryPromise=function(){},this.resolveUtilsScriptPromise=this.rejectUtilsScriptPromise=function(){};this.selectedCountryData={},this._processCountryData(),this._generateMarkup(),this._setInitialState(),this._initListeners(),this._initRequests()}},{key:"_processCountryData",value:function(){this._processAllCountries(),this._processCountryCodes(),this._processPreferredCountries(),this.options.localizedCountries&&this._translateCountriesByLocale(),(this.options.onlyCountries.length||this.options.localizedCountries)&&this.countries.sort(this._countryNameSort)}},{key:"_addCountryCode",value:function(e,i,n){i.length>this.countryCodeMaxLen&&(this.countryCodeMaxLen=i.length),this.countryCodes.hasOwnProperty(i)||(this.countryCodes[i]=[]);for(var r=0;r<this.countryCodes[i].length;r++)if(this.countryCodes[i][r]===e)return;var s=n!==t?n:this.countryCodes[i].length;this.countryCodes[i][s]=e}},{key:"_processAllCountries",value:function(){if(this.options.onlyCountries.length){var t=this.options.onlyCountries.map(function(t){return t.toLowerCase()});this.countries=e.filter(function(e){return t.indexOf(e.iso2)>-1})}else if(this.options.excludeCountries.length){var i=this.options.excludeCountries.map(function(t){return t.toLowerCase()});this.countries=e.filter(function(t){return-1===i.indexOf(t.iso2)})}else this.countries=e}},{key:"_translateCountriesByLocale",value:function(){for(var t=0;t<this.countries.length;t++){var e=this.countries[t].iso2.toLowerCase();this.options.localizedCountries.hasOwnProperty(e)&&(this.countries[t].name=this.options.localizedCountries[e])}}},{key:"_countryNameSort",value:function(t,e){return t.name.localeCompare(e.name)}},{key:"_processCountryCodes",value:function(){this.countryCodeMaxLen=0,this.dialCodes={},this.countryCodes={};for(var t=0;t<this.countries.length;t++){var e=this.countries[t];this.dialCodes[e.dialCode]||(this.dialCodes[e.dialCode]=!0),this._addCountryCode(e.iso2,e.dialCode,e.priority)}for(var i=0;i<this.countries.length;i++){var n=this.countries[i];if(n.areaCodes)for(var r=this.countryCodes[n.dialCode][0],s=0;s<n.areaCodes.length;s++){for(var o=n.areaCodes[s],a=1;a<o.length;a++){var l=n.dialCode+o.substr(0,a);this._addCountryCode(r,l),this._addCountryCode(n.iso2,l)}this._addCountryCode(n.iso2,n.dialCode+o)}}}},{key:"_processPreferredCountries",value:function(){this.preferredCountries=[];for(var t=0;t<this.options.preferredCountries.length;t++){var e=this.options.preferredCountries[t].toLowerCase(),i=this._getCountryData(e,!1,!0);i&&this.preferredCountries.push(i)}}}
2,{key:"_createEl",value:function(t,e,i){var n=document.createElement(t);return e&&c(e,function(t,e){return n.setAttribute(t,e)}),i&&i.appendChild(n),n}},{key:"_generateMarkup",value:function(){this.telInput.hasAttribute("autocomplete")||this.telInput.form&&this.telInput.form.hasAttribute("autocomplete")||this.telInput.setAttribute("autocomplete","off");var t="iti";this.options.allowDropdown&&(t+=" iti--allow-dropdown"),this.options.separateDialCode&&(t+=" iti--separate-dial-code"),this.options.customContainer&&(t+=" ",t+=this.options.customContainer);var e=this._createEl("div",{class:t});if(this.telInput.parentNode.insertBefore(e,this.telInput),this.flagsContainer=this._createEl("div",{class:"iti__flag-container"},e),e.appendChild(this.telInput),this.selectedFlag=this._createEl("div",{class:"iti__selected-flag",role:"combobox","aria-controls":"iti-".concat(this.id,"__country-listbox"),"aria-owns":"iti-".concat(this.id,"__country-listbox"),"aria-expanded":"false"},this.flagsContainer),this.selectedFlagInner=this._createEl("div",{class:"iti__flag"},this.selectedFlag),this.options.separateDialCode&&(this.selectedDialCode=this._createEl("div",{class:"iti__selected-dial-code"},this.selectedFlag)),this.options.allowDropdown&&(this.selectedFlag.setAttribute("tabindex","0"),this.dropdownArrow=this._createEl("div",{class:"iti__arrow"},this.selectedFlag),this.countryList=this._createEl("ul",{class:"iti__country-list iti__hide",id:"iti-".concat(this.id,"__country-listbox"),role:"listbox","aria-label":"List of countries"}),this.preferredCountries.length&&(this._appendListItems(this.preferredCountries,"iti__preferred",!0),this._createEl("li",{class:"iti__divider",role:"separator","aria-disabled":"true"},this.countryList)),this._appendListItems(this.countries,"iti__standard"),this.options.dropdownContainer?(this.dropdown=this._createEl("div",{class:"iti iti--container"}),this.dropdown.appendChild(this.countryList)):this.flagsContainer.appendChild(this.countryList)),this.options.hiddenInput){var i=this.options.hiddenInput,n=this.telInput.getAttribute("name");if(n){var r=n.lastIndexOf("[");-1!==r&&(i="".concat(n.substr(0,r),"[").concat(i,"]"))}this.hiddenInput=this._createEl("input",{type:"hidden",name:i}),e.appendChild(this.hiddenInput)}}},{key:"_appendListItems",value:function(t,e,i){for(var n="",r=0;r<t.length;r++){var s=t[r],o=i?"-preferred":"";n+="<li class='iti__country ".concat(e,"' tabIndex='-1' id='iti-").concat(this.id,"__item-").concat(s.iso2).concat(o,"' role='option' data-dial-code='").concat(s.dialCode,"' data-country-code='").concat(s.iso2,"' aria-selected='false'>"),n+="<div class='iti__flag-box'><div class='iti__flag iti__".concat(s.iso2,"'></div></div>"),n+="<span class='iti__country-name'>".concat(s.name,"</span>"),n+="<span class='iti__dial-code'>+".concat(s.dialCode,"</span>"),n+="</li>"}this.countryList.insertAdjacentHTML("beforeend",n)}},{key:"_setInitialState",value:function(){var t=this.telInput.getAttribute("value"),e=this.telInput.value,i=!t||"+"!==t.charAt(0)||e&&"+"===e.charAt(0)?e:t,n=this._getDialCode(i),r=this._isRegionlessNanp(i),s=this.options,o=s.initialCountry,a=s.nationalMode,l=s.autoHideDialCode,c=s.separateDialCode;n&&!r?this._updateFlagFromNumber(i):"auto"!==o&&(o?this._setFlag(o.toLowerCase()):n&&r?this._setFlag("us"):(this.defaultCountry=this.preferredCountries.length?this.preferredCountries[0].iso2:this.countries[0].iso2,i||this._setFlag(this.defaultCountry)),i||a||l||c||(this.telInput.value="+".concat(this.selectedCountryData.dialCode))),i&&this._updateValFromNumber(i)}},{key:"_initListeners",value:function(){this._initKeyListeners(),this.options.autoHideDialCode&&this._initBlurListeners(),this.options.allowDropdown&&this._initDropdownListeners(),this.hiddenInput&&this._initHiddenInputListener()}},{key:"_initHiddenInputListener",value:function(){var t=this;this._handleHiddenInputSubmit=function(){t.hiddenInput.value=t.getNumber()},this.telInput.form&&this.telInput.form.addEventListener("submit",this._handleHiddenInputSubmit)}},{key:"_getClosestLabel",value:function(){for(var t=this.telInput;t&&"LABEL"!==t.tagName;)t=t.parentNode;return t}},{key:"_initDropdownListeners",value:function(){var t=this;this._handleLabelClick=function(e){t.countryList.classList.contains("iti__hide")?t.telInput.focus():e.preventDefault()};var e=this._getClosestLabel();e&&e.addEventListener("click",this._handleLabelClick),this._handleClickSelectedFlag=function(){!t.countryList.classList.contains("iti__hide")||t.telInput.disabled||t.telInput.readOnly||t._showDropdown()},this.selectedFlag.addEventListener("click",this._handleClickSelectedFlag),this._handleFlagsContainerKeydown=function(e){t.countryList.classList.contains("iti__hide")&&-1!==["ArrowUp","Up","ArrowDown","Down"," ","Enter"].indexOf(e.key)&&
2(e.preventDefault(),e.stopPropagation(),t._showDropdown()),"Tab"===e.key&&t._closeDropdown()},this.flagsContainer.addEventListener("keydown",this._handleFlagsContainerKeydown)}},{key:"_initRequests",value:function(){var t=this;this.options.utilsScript&&!window.intlTelInputUtils?window.intlTelInputGlobals.documentReady()?window.intlTelInputGlobals.loadUtils(this.options.utilsScript):window.addEventListener("load",function(){window.intlTelInputGlobals.loadUtils(t.options.utilsScript)}):this.resolveUtilsScriptPromise(),"auto"===this.options.initialCountry?this._loadAutoCountry():this.resolveAutoCountryPromise()}},{key:"_loadAutoCountry",value:function(){window.intlTelInputGlobals.autoCountry?this.handleAutoCountry():window.intlTelInputGlobals.startedLoadingAutoCountry||(window.intlTelInputGlobals.startedLoadingAutoCountry=!0,"function"==typeof this.options.geoIpLookup&&this.options.geoIpLookup(function(t){window.intlTelInputGlobals.autoCountry=t.toLowerCase(),setTimeout(function(){return h("handleAutoCountry")})},function(){return h("rejectAutoCountryPromise")}))}},{key:"_initKeyListeners",value:function(){var t=this;this._handleKeyupEvent=function(){t._updateFlagFromNumber(t.telInput.value)&&t._triggerCountryChange()},this.telInput.addEventListener("keyup",this._handleKeyupEvent),this._handleClipboardEvent=function(){setTimeout(t._handleKeyupEvent)},this.telInput.addEventListener("cut",this._handleClipboardEvent),this.telInput.addEventListener("paste",this._handleClipboardEvent)}},{key:"_cap",value:function(t){var e=this.telInput.getAttribute("maxlength");return e&&t.length>e?t.substr(0,e):t}},{key:"_initBlurListeners",value:function(){var t=this;this._handleSubmitOrBlurEvent=function(){t._removeEmptyDialCode()},this.telInput.form&&this.telInput.form.addEventListener("submit",this._handleSubmitOrBlurEvent),this.telInput.addEventListener("blur",this._handleSubmitOrBlurEvent)}},{key:"_removeEmptyDialCode",value:function(){if("+"===this.telInput.value.charAt(0)){var t=this._getNumeric(this.telInput.value);t&&this.selectedCountryData.dialCode!==t||(this.telInput.value="")}}},{key:"_getNumeric",value:function(t){return t.replace(/\D/g,"")}},{key:"_trigger",value:function(t){var e=document.createEvent("Event");e.initEvent(t,!0,!0),this.telInput.dispatchEvent(e)}},{key:"_showDropdown",value:function(){this.countryList.classList.remove("iti__hide"),this.selectedFlag.setAttribute("aria-expanded","true"),this._setDropdownPosition(),this.activeItem&&(this._highlightListItem(this.activeItem,!1),this._scrollTo(this.activeItem,!0)),this._bindDropdownListeners(),this.dropdownArrow.classList.add("iti__arrow--up"),this._trigger("open:countrydropdown")}},{key:"_toggleClass",value:function(t,e,i){i&&!t.classList.contains(e)?t.classList.add(e):!i&&t.classList.contains(e)&&t.classList.remove(e)}},{key:"_setDropdownPosition",value:function(){var t=this;if(this.options.dropdownContainer&&this.options.dropdownContainer.appendChild(this.dropdown),!this.isMobile){var e=this.telInput.getBoundingClientRect(),i=window.pageYOffset||document.documentElement.scrollTop,n=e.top+i,r=this.countryList.offsetHeight,s=n+this.telInput.offsetHeight+r<i+window.innerHeight,o=n-r>i;if(this._toggleClass(this.countryList,"iti__country-list--dropup",!s&&o),this.options.dropdownContainer){var a=!s&&o?0:this.telInput.offsetHeight;this.dropdown.style.top="".concat(n+a,"px"),this.dropdown.style.left="".concat(e.left+document.body.scrollLeft,"px"),this._handleWindowScroll=function(){return t._closeDropdown()},window.addEventListener("scroll",this._handleWindowScroll)}}}},{key:"_getClosestListItem",value:function(t){for(var e=t;e&&e!==this.countryList&&!e.classList.contains("iti__country");)e=e.parentNode;return e===this.countryList?null:e}},{key:"_bindDropdownListeners",value:function(){var t=this;this._handleMouseoverCountryList=function(e){var i=t._getClosestListItem(e.target);i&&t._highlightListItem(i,!1)},this.countryList.addEventListener("mouseover",this._handleMouseoverCountryList),this._handleClickCountryList=function(e){var i=t._getClosestListItem(e.target);i&&t._selectListItem(i)},this.countryList.addEventListener("click",this._handleClickCountryList);var e=!0;
2this._handleClickOffToClose=function(){e||t._closeDropdown(),e=!1},document.documentElement.addEventListener("click",this._handleClickOffToClose);var i="",n=null;this._handleKeydownOnDropdown=function(e){e.preventDefault(),"ArrowUp"===e.key||"Up"===e.key||"ArrowDown"===e.key||"Down"===e.key?t._handleUpDownKey(e.key):"Enter"===e.key?t._handleEnterKey():"Escape"===e.key?t._closeDropdown():/^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(e.key)&&(n&&clearTimeout(n),i+=e.key.toLowerCase(),t._searchForCountry(i),n=setTimeout(function(){i=""},1e3))},document.addEventListener("keydown",this._handleKeydownOnDropdown)}},{key:"_handleUpDownKey",value:function(t){var e="ArrowUp"===t||"Up"===t?this.highlightedItem.previousElementSibling:this.highlightedItem.nextElementSibling;e&&(e.classList.contains("iti__divider")&&(e="ArrowUp"===t||"Up"===t?e.previousElementSibling:e.nextElementSibling),this._highlightListItem(e,!0))}},{key:"_handleEnterKey",value:function(){this.highlightedItem&&this._selectListItem(this.highlightedItem)}},{key:"_searchForCountry",value:function(t){for(var e=0;e<this.countries.length;e++)if(this._startsWith(this.countries[e].name,t)){var i=this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(this.countries[e].iso2));this._highlightListItem(i,!1),this._scrollTo(i,!0);break}}},{key:"_startsWith",value:function(t,e){return t.substr(0,e.length).toLowerCase()===e}},{key:"_updateValFromNumber",value:function(t){var e=t;if(this.options.formatOnDisplay&&window.intlTelInputUtils&&this.selectedCountryData){var i=!this.options.separateDialCode&&(this.options.nationalMode||"+"!==e.charAt(0)),n=intlTelInputUtils.numberFormat,r=n.NATIONAL,s=n.INTERNATIONAL,o=i?r:s;e=intlTelInputUtils.formatNumber(e,this.selectedCountryData.iso2,o)}e=this._beforeSetNumber(e),this.telInput.value=e}},{key:"_updateFlagFromNumber",value:function(t){var e=t,i=this.selectedCountryData.dialCode,n="1"===i;e&&this.options.nationalMode&&n&&"+"!==e.charAt(0)&&("1"!==e.charAt(0)&&(e="1".concat(e)),e="+".concat(e)),this.options.separateDialCode&&i&&"+"!==e.charAt(0)&&(e="+".concat(i).concat(e));var r=this._getDialCode(e,!0),s=this._getNumeric(e),o=null;if(r){var a=this.countryCodes[this._getNumeric(r)],l=-1!==a.indexOf(this.selectedCountryData.iso2)&&s.length<=r.length-1;if(!("1"===i&&this._isRegionlessNanp(s)||l))for(var c=0;c<a.length;c++)if(a[c]){o=a[c];break}}else"+"===e.charAt(0)&&s.length?o="":e&&"+"!==e||(o=this.defaultCountry);return null!==o&&this._setFlag(o)}},{key:"_isRegionlessNanp",value:function(t){var e=this._getNumeric(t);if("1"===e.charAt(0)){var i=e.substr(1,3);return-1!==l.indexOf(i)}return!1}},{key:"_highlightListItem",value:function(t,e){var i=this.highlightedItem;i&&i.classList.remove("iti__highlight"),this.highlightedItem=t,this.highlightedItem.classList.add("iti__highlight"),e&&this.highlightedItem.focus()}},{key:"_getCountryData",value:function(t,i,n){for(var r=i?e:this.countries,s=0;s<r.length;s++)if(r[s].iso2===t)return r[s];if(n)return null;throw new Error("No country data for '".concat(t,"'"))}},{key:"_setFlag",value:function(t){var e=this.selectedCountryData.iso2?this.selectedCountryData:{};this.selectedCountryData=t?this._getCountryData(t,!1,!1):{},this.selectedCountryData.iso2&&(this.defaultCountry=this.selectedCountryData.iso2),this.selectedFlagInner.setAttribute("class","iti__flag iti__".concat(t));var i=t?"".concat(this.selectedCountryData.name,": +").concat(this.selectedCountryData.dialCode):"Unknown";if(this.selectedFlag.setAttribute("title",i),this.options.separateDialCode){var n=this.selectedCountryData.dialCode?"+".concat(this.selectedCountryData.dialCode):"";this.selectedDialCode.innerHTML=n;var r=this.selectedFlag.offsetWidth||this._getHiddenSelectedFlagWidth();this.telInput.style.paddingLeft="".concat(r+6,"px")}if(this._updatePlaceholder(),this.options.allowDropdown){var s=this.activeItem;if(s&&(s.classList.remove("iti__active"),s.setAttribute("aria-selected","false")),t){var o=this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(t,"-preferred"))||this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(t));o.setAttribute("aria-selected","true"),o.classList.add("iti__active"),this.activeItem=o,this.selectedFlag.setAttribute("aria-activedescendant",o.getAttribute("id"))}}return e.iso2!==t}},{key:"_getHiddenSelectedFlagWidth",value:function(){var t=this.telInput.parentNode.cloneNode();t.style.visibility="hidden",document.body.appendChild(t);var e=this.flagsContainer.cloneNode();t.appendChild(e);var i=this.selectedFlag.cloneNode(!0);e.appendChild(i);var n=i.offsetWidth;return t.parentNode.removeChild(t),n}},{key:"_updatePlaceholder",value:function(){var t="aggressive"===this.options.autoPlaceholder||!this.hadInitialPlaceholder&&"polite"===this.options.autoPlaceholder;if(window.intlTelInputUtils&&t){var e=intlTelInputUtils.numberType[this.options.placeholderNumberType],i=this.selectedCountryData.iso2?intlTelInputUtils.getExampleNumber(this.selectedCountryData.iso2,this.options.nationalMode,e):"";i=this._beforeSetNumber(i),"function"==typeof this.options.customPlaceholder&&(i=this.options.customPlaceholder(i,this.selectedCountryData)),this.telInput.setAttribute("placeholder",i)}}},{key:"_selectListItem",value:function(t){var e=this._setFlag(t.getAttribute("data-country-code"));this._closeDropdown(),this._updateDialCode(t.getAttribute("data-dial-code"),!0),this.telInput.focus();var i=this.telInput.value.length;this.telInput.setSelectionRange(i,i),e&&this._triggerCountryChange()}},{key:"_closeDropdown",value:function(){this.countryList.classList.add("iti__hide"),this.selectedFlag.setAttribute("aria-expanded","fal
2se"),this.dropdownArrow.classList.remove("iti__arrow--up"),document.removeEventListener("keydown",this._handleKeydownOnDropdown),document.documentElement.removeEventListener("click",this._handleClickOffToClose),this.countryList.removeEventListener("mouseover",this._handleMouseoverCountryList),this.countryList.removeEventListener("click",this._handleClickCountryList),this.options.dropdownContainer&&(this.isMobile||window.removeEventListener("scroll",this._handleWindowScroll),this.dropdown.parentNode&&this.dropdown.parentNode.removeChild(this.dropdown)),this._trigger("close:countrydropdown")}},{key:"_scrollTo",value:function(t,e){var i=this.countryList,n=window.pageYOffset||document.documentElement.scrollTop,r=i.offsetHeight,s=i.getBoundingClientRect().top+n,o=s+r,a=t.offsetHeight,l=t.getBoundingClientRect().top+n,c=l+a,h=l-s+i.scrollTop,d=r/2-a/2;if(l<s)e&&(h-=d),i.scrollTop=h;else if(c>o){e&&(h+=d);var u=r-a;i.scrollTop=h-u}}},{key:"_updateDialCode",value:function(t,e){var i,n=this.telInput.value,r="+".concat(t);if("+"===n.charAt(0)){var s=this._getDialCode(n);i=s?n.replace(s,r):r}else{if(this.options.nationalMode||this.options.separateDialCode)return;if(n)i=r+n;else{if(!e&&this.options.autoHideDialCode)return;i=r}}this.telInput.value=i}},{key:"_getDialCode",value:function(t,e){var i="";if("+"===t.charAt(0))for(var n="",r=0;r<t.length;r++){var s=t.charAt(r);if(!isNaN(parseInt(s,10))){if(n+=s,e)this.countryCodes[n]&&(i=t.substr(0,r+1));else if(this.dialCodes[n]){i=t.substr(0,r+1);break}if(n.length===this.countryCodeMaxLen)break}}return i}},{key:"_getFullNumber",value:function(){var t=this.telInput.value.trim(),e=this.selectedCountryData.dialCode,i=this._getNumeric(t);return(this.options.separateDialCode&&"+"!==t.charAt(0)&&e&&i?"+".concat(e):"")+t}},{key:"_beforeSetNumber",value:function(t){var e=t;if(this.options.separateDialCode){var i=this._getDialCode(e);if(i){var n=" "===e[(i="+".concat(this.selectedCountryData.dialCode)).length]||"-"===e[i.length]?i.length+1:i.length;e=e.substr(n)}}return this._cap(e)}},{key:"_triggerCountryChange",value:function(){this._trigger("countrychange")}},{key:"handleAutoCountry",value:function(){"auto"===this.options.initialCountry&&(this.defaultCountry=window.intlTelInputGlobals.autoCountry,this.telInput.value||this.setCountry(this.defaultCountry),this.resolveAutoCountryPromise())}},{key:"handleUtils",value:function(){window.intlTelInputUtils&&(this.telInput.value&&this._updateValFromNumber(this.telInput.value),this._updatePlaceholder()),this.resolveUtilsScriptPromise()}},{key:"destroy",value:function(){var t=this.telInput.form;if(this.options.allowDropdown){this._closeDropdown(),this.selectedFlag.removeEventListener("click",this._handleClickSelectedFlag),this.flagsContainer.removeEventListener("keydown",this._handleFlagsContainerKeydown);var e=this._getClosestLabel();e&&e.removeEventListener("click",this._handleLabelClick)}this.hiddenInput&&t&&t.removeEventListener("submit",this._handleHiddenInputSubmit),this.options.autoHideDialCode&&(t&&t.removeEventListener("submit",this._handleSubmitOrBlurEvent),this.telInput.removeEventListener("blur",this._handleSubmitOrBlurEvent)),this.telInput.removeEventListener("keyup",this._handleKeyupEvent),this.telInput.removeEventListener("cut",this._handleClipboardEvent),this.telInput.removeEventListener("paste",this._handleClipboardEvent),this.telInput.removeAttribute("data-intl-tel-input-id");var i=this.telInput.parentNode;i.parentNode.insertBefore(this.telInput,i),i.parentNode.removeChild(i),delete window.intlTelInputGlobals.instances[this.id]}},{key:"getExtension",value:function(){return window.intlTelInputUtils?intlTelInputUtils.getExtension(this._getFullNumber(),this.selectedCountryData.iso2):""}},{key:"getNumber",value:function(t){if(window.intlTelInputUtils){var e=this.selectedCountryData.iso2;return intlTelInputUtils.formatNumber(this._getFullNumber(),e,t)}return""}},{key:"getNumberType",value:function(){return window.intlTelInputUtils?intlTelInputUtils.getNumberType(this._getFullNumber(),this.selectedCountryData.iso2):-99}},{key:"getSelectedCountryData",value:function(){return this.selectedCountryData}},{key:"getValidationError",value:function(){if(window.intlTelInputUtils){var t=this.selectedCountryData.iso2;return intlTelInputUtils.getValidationError(this._getFullNumber(),t)}return-99}},{key:"isValidNumber",value:function(){var t=this._getFullNumber().trim(),e=this.options.nationalMode?this.selectedCountryData.iso2:"";return window.intlTelInputUtils?intlTelInputUtils.isValidNumber(t,e):null}},{key:"setCountry",value:function(t){var e=t.toLowerCase();this.selectedFlagInner.classList.contains("iti__".concat(e))||(this._setFlag(e),this._updateDialCode(this.selectedCountryData.dialCode,!1),this._triggerCountryChange())}},{key:"setNumber",value:function(t){var e=this._updateFlagFromNumber(t);
2this._updateValFromNumber(t),e&&this._triggerCountryChange()}},{key:"setPlaceholderNumberType",value:function(t){this.options.placeholderNumberType=t,this._updatePlaceholder()}}],s&&r(n.prototype,s),d&&r(n,d),i}();s.getCountryData=function(){return e};var u=function(t,e,i){var n=document.createElement("script");n.onload=function(){h("handleUtils"),e&&e()},n.onerror=function(){h("rejectUtilsScriptPromise"),i&&i()},n.className="iti-load-utils",n.async=!0,n.src=t,document.body.appendChild(n)};return s.loadUtils=function(t){if(!window.intlTelInputUtils&&!window.intlTelInputGlobals.startedLoadingUtilsScript){if(window.intlTelInputGlobals.startedLoadingUtilsScript=!0,"undefined"!=typeof Promise)return new Promise(function(e,i){return u(t,e,i)});u(t)}return null},s.defaults=a,s.version="17.0.21",function(t,e){var i=new d(t,e);return i._init(),t.setAttribute("data-intl-tel-input-id",i.id),window.intlTelInputGlobals.instances[i.id]=i,i}}()},t.exports?t.exports=e():window.intlTelInput=e()},526:(t,e)=>{"use strict";e.byteLength=function(t){var e=a(t),i=e[0],n=e[1];return 3*(i+n)/4-n},e.toByteArray=function(t){var e,i,s=a(t),o=s[0],l=s[1],c=new r(function(t,e,i){return 3*(e+i)/4-i}(0,o,l)),h=0,d=l>0?o-4:o;for(i=0;i<d;i+=4)e=n[t.charCodeAt(i)]<<18|n[t.charCodeAt(i+1)]<<12|n[t.charCodeAt(i+2)]<<6|n[t.charCodeAt(i+3)],c[h++]=e>>16&255,c[h++]=e>>8&255,c[h++]=255&e;2===l&&(e=n[t.charCodeAt(i)]<<2|n[t.charCodeAt(i+1)]>>4,c[h++]=255&e);1===l&&(e=n[t.charCodeAt(i)]<<10|n[t.charCodeAt(i+1)]<<4|n[t.charCodeAt(i+2)]>>2,c[h++]=e>>8&255,c[h++]=255&e);return c},e.fromByteArray=function(t){for(var e,n=t.length,r=n%3,s=[],o=16383,a=0,l=n-r;a<l;a+=o)s.push(c(t,a,a+o>l?l:a+o));1===r?(e=t[n-1],s.push(i[e>>2]+i[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],s.push(i[e>>10]+i[e>>4&63]+i[e<<2&63]+"="));return s.join("")};for(var i=[],n=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0;o<64;++o)i[o]=s[o],n[s.charCodeAt(o)]=o;function a(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");return-1===i&&(i=e),[i,i===e?0:4-i%4]}function l(t){return i[t>>18&63]+i[t>>12&63]+i[t>>6&63]+i[63&t]}function c(t,e,i){for(var n,r=[],s=e;s<i;s+=3)n=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),r.push(l(n));return r.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},603:(t,e,i)=>{t.exports=i(436)},606:t=>{var e,i,n=t.exports={};function r(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(t){if(e===setTimeout)return setTimeout(t,0);if((e===r||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(i){try{return e.call(null,t,0)}catch(i){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:r}catch(t){e=r}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(t){i=s}}();var a,l=[],c=!1,h=-1;function d(){c&&a&&(c=!1,a.length?l=a.concat(l):h=-1,l.length&&u())}function u(){if(!c){var t=o(d);c=!0;for(var e=l.length;e;){for(a=l,l=[];++h<e;)a&&a[h].run();h=-1,e=l.length}a=null,c=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{return i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function f(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];l.push(new p(t,e)),1!==l.length||c||o(u)},p.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=f,n.addListener=f,n.once=f,n.off=f,n.removeListener=f,n.removeAllListeners=f,n.emit=f,n.prependListener=f,n.prependOnceListener=f,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},634:t=>{var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},691:(t,e,i)=>{"use strict";i.d(e,{A:()=>u});var n=i(314),r=i.n(n),s=i(417),o=i.n(s),a=i(320),l=i(960),c=r()(function(t){return t[1]}),h=o()(a.A),d=o()(l.A);c.push([t.id,".iti{display:inline-block;position:relative}.iti *{box-sizing:border-box;-moz-box-sizing:border-box}.iti__hide{display:none}.iti__v-hide{visibility:hidden}.iti input,.iti input[type=tel],.iti input[type=text]{margin-bottom:0!important;margin-right:0;margin-top:0!important;padding-right:36px;position:relative;z-index:0}.iti__flag-container{bottom:0;padding:1px;position:absolute;right:0;top:0}.iti__selected-flag{align-items:center;display:flex;height:100%;padding:0 6px 0 8px;position:relative;z-index:1}.iti__arrow{border-left:3px solid transparent;
2border-right:3px solid transparent;border-top:4px solid #555;height:0;margin-left:6px;width:0}.iti__arrow--up{border-bottom:4px solid #555;border-top:none}.iti__country-list{-webkit-overflow-scrolling:touch;background-color:#fff;border:1px solid #ccc;box-shadow:1px 1px 4px rgba(0,0,0,.2);list-style:none;margin:0 0 0 -1px;max-height:200px;overflow-y:scroll;padding:0;position:absolute;text-align:left;white-space:nowrap;z-index:2}.iti__country-list--dropup{bottom:100%;margin-bottom:-1px}@media (max-width:500px){.iti__country-list{white-space:normal}}.iti__flag-box{display:inline-block;width:20px}.iti__divider{border-bottom:1px solid #ccc;margin-bottom:5px;padding-bottom:5px}.iti__country{outline:none;padding:5px 10px}.iti__dial-code{color:#999}.iti__country.iti__highlight{background-color:rgba(0,0,0,.05)}.iti__country-name,.iti__dial-code,.iti__flag-box{vertical-align:middle}.iti__country-name,.iti__flag-box{margin-right:6px}.iti--allow-dropdown input,.iti--allow-dropdown input[type=tel],.iti--allow-dropdown input[type=text],.iti--separate-dial-code input,.iti--separate-dial-code input[type=tel],.iti--separate-dial-code input[type=text]{margin-left:0;padding-left:52px;padding-right:6px}.iti--allow-dropdown .iti__flag-container,.iti--separate-dial-code .iti__flag-container{left:0;right:auto}.iti--allow-dropdown .iti__flag-container:hover{cursor:pointer}.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag{background-color:rgba(0,0,0,.05)}.iti--allow-dropdown input[disabled]+.iti__flag-container:hover,.iti--allow-dropdown input[readonly]+.iti__flag-container:hover{cursor:default}.iti--allow-dropdown input[disabled]+.iti__flag-container:hover .iti__selected-flag,.iti--allow-dropdown input[readonly]+.iti__flag-container:hover .iti__selected-flag{background-color:transparent}.iti--separate-dial-code .iti__selected-flag{background-color:rgba(0,0,0,.05)}.iti--separate-dial-code .iti__selected-dial-code{margin-left:6px}.iti--container{left:-1000px;padding:1px;position:absolute;top:-1000px;z-index:1060}.iti--container:hover{cursor:pointer}.iti-mobile .iti--container{bottom:30px;left:30px;position:fixed;right:30px;top:30px}.iti-mobile .iti__country-list{max-height:100%;width:100%}.iti-mobile .iti__country{line-height:1.5em;padding:10px}.iti__flag{width:20px}.iti__flag.iti__be{width:18px}.iti__flag.iti__ch{width:15px}.iti__flag.iti__mc{width:19px}.iti__flag.iti__ne{width:18px}.iti__flag.iti__np{width:13px}.iti__flag.iti__va{width:15px}@media (min-resolution:192dpi){.iti__flag{background-size:5652px 15px}}.iti__flag.iti__ac{background-position:0 0;height:10px}.iti__flag.iti__ad{background-position:-22px 0;height:14px}.iti__flag.iti__ae{background-position:-44px 0;height:10px}.iti__flag.iti__af{background-position:-66px 0;height:14px}.iti__flag.iti__ag{background-position:-88px 0;height:14px}.iti__flag.iti__ai{background-position:-110px 0;height:10px}.iti__flag.iti__al{background-position:-132px 0;height:15px}.iti__flag.iti__am{background-position:-154px 0;height:10px}.iti__flag.iti__ao{background-position:-176px 0;height:14px}.iti__flag.iti__aq{background-position:-198px 0;height:14px}.iti__flag.iti__ar{background-position:-220px 0;height:13px}.iti__flag.iti__as{background-position:-242px 0;height:10px}.iti__flag.iti__at{background-position:-264px 0;height:14px}.iti__flag.iti__au{background-position:-286px 0;height:10px}.iti__flag.iti__aw{background-position:-308px 0;height:14px}.iti__flag.iti__ax{background-position:-330px 0;height:13px}.iti__flag.iti__az{background-position:-352px 0;height:10px}.iti__flag.iti__ba{background-position:-374px 0;height:10px}.iti__flag.iti__bb{background-position:-396px 0;height:14px}.iti__flag.iti__bd{background-position:-418px 0;height:12px}.iti__flag.iti__be{background-position:-440px 0;height:15px}.iti__flag.iti__bf{background-position:-460px 0;height:14px}.iti__flag.iti__bg{background-position:-482px 0;height:12px}.iti__flag.iti__bh{background-position:-504px 0;height:12px}.iti__flag.iti__bi{background-position:-526px 0;height:12px}.iti__flag.iti__bj{background-position:-548px 0;height:14px}.iti__flag.iti__bl{background-position:-570px 0;height:14px}.iti__flag.iti__bm{background-position:-592px 0;height:10px}.iti__flag.iti__bn{background-position:-614px 0;height:10px}.iti__flag.iti__bo{background-position:-636px 0;
2height:14px}.iti__flag.iti__bq{background-position:-658px 0;height:14px}.iti__flag.iti__br{background-position:-680px 0;height:14px}.iti__flag.iti__bs{background-position:-702px 0;height:10px}.iti__flag.iti__bt{background-position:-724px 0;height:14px}.iti__flag.iti__bv{background-position:-746px 0;height:15px}.iti__flag.iti__bw{background-position:-768px 0;height:14px}.iti__flag.iti__by{background-position:-790px 0;height:10px}.iti__flag.iti__bz{background-position:-812px 0;height:14px}.iti__flag.iti__ca{background-position:-834px 0;height:10px}.iti__flag.iti__cc{background-position:-856px 0;height:10px}.iti__flag.iti__cd{background-position:-878px 0;height:15px}.iti__flag.iti__cf{background-position:-900px 0;height:14px}.iti__flag.iti__cg{background-position:-922px 0;height:14px}.iti__flag.iti__ch{background-position:-944px 0;height:15px}.iti__flag.iti__ci{background-position:-961px 0;height:14px}.iti__flag.iti__ck{background-position:-983px 0;height:10px}.iti__flag.iti__cl{background-position:-1005px 0;height:14px}.iti__flag.iti__cm{background-position:-1027px 0;height:14px}.iti__flag.iti__cn{background-position:-1049px 0;height:14px}.iti__flag.iti__co{background-position:-1071px 0;height:14px}.iti__flag.iti__cp{background-position:-1093px 0;height:14px}.iti__flag.iti__cr{background-position:-1115px 0;height:12px}.iti__flag.iti__cu{background-position:-1137px 0;height:10px}.iti__flag.iti__cv{background-position:-1159px 0;height:12px}.iti__flag.iti__cw{background-position:-1181px 0;height:14px}.iti__flag.iti__cx{background-position:-1203px 0;height:10px}.iti__flag.iti__cy{background-position:-1225px 0;height:14px}.iti__flag.iti__cz{background-position:-1247px 0;height:14px}.iti__flag.iti__de{background-position:-1269px 0;height:12px}.iti__flag.iti__dg{background-position:-1291px 0;height:10px}.iti__flag.iti__dj{background-position:-1313px 0;height:14px}.iti__flag.iti__dk{background-position:-1335px 0;height:15px}.iti__flag.iti__dm{background-position:-1357px 0;height:10px}.iti__flag.iti__do{background-position:-1379px 0;height:14px}.iti__flag.iti__dz{background-position:-1401px 0;height:14px}.iti__flag.iti__ea{background-position:-1423px 0;height:14px}.iti__flag.iti__ec{background-position:-1445px 0;height:14px}.iti__flag.iti__ee{background-position:-1467px 0;
2height:13px}.iti__flag.iti__eg{background-position:-1489px 0;height:14px}.iti__flag.iti__eh{background-position:-1511px 0;height:10px}.iti__flag.iti__er{background-position:-1533px 0;height:10px}.iti__flag.iti__es{background-position:-1555px 0;height:14px}.iti__flag.iti__et{background-position:-1577px 0;height:10px}.iti__flag.iti__eu{background-position:-1599px 0;height:14px}.iti__flag.iti__fi{background-position:-1621px 0;height:12px}.iti__flag.iti__fj{background-position:-1643px 0;height:10px}.iti__flag.iti__fk{background-position:-1665px 0;height:10px}.iti__flag.iti__fm{background-position:-1687px 0;height:11px}.iti__flag.iti__fo{background-position:-1709px 0;height:15px}.iti__flag.iti__fr{background-position:-1731px 0;height:14px}.iti__flag.iti__ga{background-position:-1753px 0;height:15px}.iti__flag.iti__gb{background-position:-1775px 0;height:10px}.iti__flag.iti__gd{background-position:-1797px 0;height:12px}.iti__flag.iti__ge{background-position:-1819px 0;height:14px}.iti__flag.iti__gf{background-position:-1841px 0;
2height:14px}.iti__flag.iti__gg{background-position:-1863px 0;height:14px}.iti__flag.iti__gh{background-position:-1885px 0;height:14px}.iti__flag.iti__gi{background-position:-1907px 0;height:10px}.iti__flag.iti__gl{background-position:-1929px 0;height:14px}.iti__flag.iti__gm{background-position:-1951px 0;height:14px}.iti__flag.iti__gn{background-position:-1973px 0;height:14px}.iti__flag.iti__gp{background-position:-1995px 0;height:14px}.iti__flag.iti__gq{background-position:-2017px 0;height:14px}.iti__flag.iti__gr{background-position:-2039px 0;height:14px}.iti__flag.iti__gs{background-position:-2061px 0;height:10px}.iti__flag.iti__gt{background-position:-2083px 0;height:13px}.iti__flag.iti__gu{background-position:-2105px 0;height:11px}.iti__flag.iti__gw{background-position:-2127px 0;height:10px}.iti__flag.iti__gy{background-position:-2149px 0;height:12px}.iti__flag.iti__hk{background-position:-2171px 0;height:14px}.iti__flag.iti__hm{background-position:-2193px 0;height:10px}.iti__flag.iti__hn{background-position:-2215px 0;height:10px}.iti__flag.iti__hr{background-position:-2237px 0;height:10px}.iti__flag.iti__ht{background-position:-2259px 0;height:12px}.iti__flag.iti__hu{background-position:-2281px 0;height:10px}.iti__flag.iti__ic{background-position:-2303px 0;height:14px}.iti__flag.iti__id{background-position:-2325px 0;height:14px}.iti__flag.iti__ie{background-position:-2347px 0;height:10px}.iti__flag.iti__il{background-position:-2369px 0;height:15px}.iti__flag.iti__im{background-position:-2391px 0;height:10px}.iti__flag.iti__in{background-position:-2413px 0;height:14px}.iti__flag.iti__io{background-position:-2435px 0;height:10px}.iti__flag.iti__iq{background-position:-2457px 0;height:14px}.iti__flag.iti__ir{background-position:-2479px 0;height:12px}.iti__flag.iti__is{background-position:-2501px 0;height:15px}.iti__flag.iti__it{background-position:-2523px 0;height:14px}.iti__flag.iti__je{background-position:-2545px 0;height:12px}.iti__flag.iti__jm{background-position:-2567px 0;height:10px}.iti__flag.iti__jo{background-position:-2589px 0;height:10px}.iti__flag.iti__jp{background-position:-2611px 0;height:14px}.iti__flag.iti__ke{background-position:-2633px 0;height:14px}.iti__flag.iti__kg{background-position:-2655px 0;
2height:12px}.iti__flag.iti__kh{background-position:-2677px 0;height:13px}.iti__flag.iti__ki{background-position:-2699px 0;height:10px}.iti__flag.iti__km{background-position:-2721px 0;height:12px}.iti__flag.iti__kn{background-position:-2743px 0;height:14px}.iti__flag.iti__kp{background-position:-2765px 0;height:10px}.iti__flag.iti__kr{background-position:-2787px 0;height:14px}.iti__flag.iti__kw{background-position:-2809px 0;height:10px}.iti__flag.iti__ky{background-position:-2831px 0;height:10px}.iti__flag.iti__kz{background-position:-2853px 0;height:10px}.iti__flag.iti__la{background-position:-2875px 0;height:14px}.iti__flag.iti__lb{background-position:-2897px 0;height:14px}.iti__flag.iti__lc{background-position:-2919px 0;height:10px}.iti__flag.iti__li{background-position:-2941px 0;height:12px}.iti__flag.iti__lk{background-position:-2963px 0;height:10px}.iti__flag.iti__lr{background-position:-2985px 0;height:11px}.iti__flag.iti__ls{background-position:-3007px 0;height:14px}.iti__flag.iti__lt{background-position:-3029px 0;height:12px}.iti__flag.iti__lu{background-position:-3051px 0;height:12px}.iti__flag.iti__lv{background-position:-3073px 0;height:10px}.iti__flag.iti__ly{background-position:-3095px 0;height:10px}.iti__flag.iti__ma{background-position:-3117px 0;height:14px}.iti__flag.iti__mc{background-position:-3139px 0;height:15px}.iti__flag.iti__md{background-position:-3160px 0;height:10px}.iti__flag.iti__me{background-position:-3182px 0;height:10px}.iti__flag.iti__mf{background-position:-3204px 0;height:14px}.iti__flag.iti__mg{background-position:-3226px 0;height:14px}.iti__flag.iti__mh{background-position:-3248px 0;height:11px}.iti__flag.iti__mk{background-position:-3270px 0;height:10px}.iti__flag.iti__ml{background-position:-3292px 0;height:14px}.iti__flag.iti__mm{background-position:-3314px 0;height:14px}.iti__flag.iti__mn{background-position:-3336px 0;height:10px}.iti__flag.iti__mo{background-position:-3358px 0;height:14px}.iti__flag.iti__mp{background-position:-3380px 0;height:10px}.iti__flag.iti__mq{background-position:-3402px 0;height:14px}.iti__flag.iti__mr{background-position:-3424px 0;height:14px}.iti__flag.iti__ms{background-position:-3446px 0;height:10px}.iti__flag.iti__mt{background-position:-3468px 0;height:14px}.iti__flag.iti__mu{background-position:-3490px 0;height:14px}.iti__flag.iti__mv{background-position:-3512px 0;height:14px}.iti__flag.iti__mw{background-position:-3534px 0;height:14px}.iti__flag.iti__mx{background-position:-3556px 0;height:12px}.iti__flag.iti__my{background-position:-3578px 0;height:10px}.iti__flag.iti__mz{background-position:-3600px 0;height:14px}.iti__flag.iti__na{background-position:-3622px 0;height:14px}.iti__flag.iti__nc{background-position:-3644px 0;height:10px}.iti__flag.iti__ne{background-position:-3666px 0;height:15px}.iti__flag.iti__nf{background-position:-3686px 0;
2height:10px}.iti__flag.iti__ng{background-position:-3708px 0;height:10px}.iti__flag.iti__ni{background-position:-3730px 0;height:12px}.iti__flag.iti__nl{background-position:-3752px 0;height:14px}.iti__flag.iti__no{background-position:-3774px 0;height:15px}.iti__flag.iti__np{background-position:-3796px 0;height:15px}.iti__flag.iti__nr{background-position:-3811px 0;height:10px}.iti__flag.iti__nu{background-position:-3833px 0;height:10px}.iti__flag.iti__nz{background-position:-3855px 0;height:10px}.iti__flag.iti__om{background-position:-3877px 0;height:10px}.iti__flag.iti__pa{background-position:-3899px 0;height:14px}.iti__flag.iti__pe{background-position:-3921px 0;height:14px}.iti__flag.iti__pf{background-position:-3943px 0;height:14px}.iti__flag.iti__pg{background-position:-3965px 0;height:15px}.iti__flag.iti__ph{background-position:-3987px 0;height:10px}.iti__flag.iti__pk{background-position:-4009px 0;height:14px}.iti__flag.iti__pl{background-position:-4031px 0;height:13px}.iti__flag.iti__pm{background-position:-4053px 0;height:14px}.iti__flag.iti__pn{background-position:-4075px 0;height:10px}.iti__flag.iti__pr{background-position:-4097px 0;height:14px}.iti__flag.iti__ps{background-position:-4119px 0;height:10px}.iti__flag.iti__pt{background-position:-4141px 0;height:14px}.iti__flag.iti__pw{background-position:-4163px 0;height:13px}.iti__flag.iti__py{background-position:-4185px 0;height:11px}.iti__flag.iti__qa{background-position:-4207px 0;height:8px}.iti__flag.iti__re{background-position:-4229px 0;height:14px}.iti__flag.iti__ro{background-position:-4251px 0;height:14px}.iti__flag.iti__rs{background-position:-4273px 0;height:14px}.iti__flag.iti__ru{background-position:-4295px 0;height:14px}.iti__flag.iti__rw{background-position:-4317px 0;height:14px}.iti__flag.iti__sa{background-position:-4339px 0;height:14px}.iti__flag.iti__sb{background-position:-4361px 0;height:10px}.iti__flag.iti__sc{background-position:-4383px 0;height:10px}.iti__flag.iti__sd{background-position:-4405px 0;height:10px}.iti__flag.iti__se{background-position:-4427px 0;height:13px}.iti__flag.iti__sg{background-position:-4449px 0;height:14px}.iti__flag.iti__sh{background-position:-4471px 0;height:10px}.iti__flag.iti__si{background-position:-4493px 0;height:10px}.iti__flag.iti__sj{background-position:-4515px 0;height:15px}.iti__flag.iti__sk{background-position:-4537px 0;height:14px}.iti__flag.iti__sl{background-position:-4559px 0;height:14px}.iti__flag.iti__sm{background-position:-4581px 0;height:15px}.iti__flag.iti__sn{background-position:-4603px 0;height:14px}.iti__flag.iti__so{background-position:-4625px 0;height:14px}.iti__flag.iti__sr{background-position:-4647px 0;height:14px}.iti__flag.iti__ss{background-position:-4669px 0;height:10px}.iti__flag.iti__st{background-position:-4691px 0;height:10px}.iti__flag.iti__sv{background-position:-4713px 0;height:12px}.iti__flag.iti__sx{background-position:-4735px 0;height:14px}.iti__flag.iti__sy{background-position:-4757px 0;height:14px}.iti__flag.iti__sz{background-position:-4779px 0;height:14px}.iti__flag.iti__ta{background-position:-4801px 0;height:10px}.iti__flag.iti__tc{background-position:-4823px 0;height:10px}.iti__flag.iti__td{background-position:-4845px 0;height:14px}.iti__flag.iti__tf{background-position:-4867px 0;height:14px}.iti__flag.iti__tg{background-position:-4889px 0;height:13px}.iti__flag.iti__th{background-position:-4911px 0;height:14px}.iti__flag.iti__tj{background-position:-4933px 0;height:10px}.iti__flag.iti__tk{background-position:-4955px 0;height:10px}.iti__flag.iti__tl{background-position:-4977px 0;height:10px}.iti__flag.iti__tm{background-position:-4999px 0;height:14px}.iti__flag.iti__tn{background-position:-5021px 0;height:14px}.iti__flag.iti__to{background-position:-5043px 0;height:10px}.iti__flag.iti__tr{background-position:-5065px 0;height:14px}.iti__flag.iti__tt{background-position:-5087px 0;height:12px}.iti__flag.iti__tv{background-position:-5109px 0;height:10px}.iti__flag.iti__tw{background-position:-5131px 0;height:14px}.iti__flag.iti__tz{background-position:-5153px 0;height:14px}.iti__flag.iti__ua{background-position:-5175px 0;
2height:14px}.iti__flag.iti__ug{background-position:-5197px 0;height:14px}.iti__flag.iti__um{background-position:-5219px 0;height:11px}.iti__flag.iti__un{background-position:-5241px 0;height:14px}.iti__flag.iti__us{background-position:-5263px 0;height:11px}.iti__flag.iti__uy{background-position:-5285px 0;height:14px}.iti__flag.iti__uz{background-position:-5307px 0;height:10px}.iti__flag.iti__va{background-position:-5329px 0;height:15px}.iti__flag.iti__vc{background-position:-5346px 0;height:14px}.iti__flag.iti__ve{background-position:-5368px 0;height:14px}.iti__flag.iti__vg{background-position:-5390px 0;height:10px}.iti__flag.iti__vi{background-position:-5412px 0;height:14px}.iti__flag.iti__vn{background-position:-5434px 0;height:14px}.iti__flag.iti__vu{background-position:-5456px 0;height:12px}.iti__flag.iti__wf{background-position:-5478px 0;height:14px}.iti__flag.iti__ws{background-position:-5500px 0;height:10px}.iti__flag.iti__xk{background-position:-5522px 0;height:15px}.iti__flag.iti__ye{background-position:-5544px 0;height:14px}.iti__flag.iti__yt{background-position:-5566px 0;height:14px}.iti__flag.iti__za{background-position:-5588px 0;height:14px}.iti__flag.iti__zm{background-position:-5610px 0;height:14px}.iti__flag.iti__zw{background-position:-5632px 0;height:10px}.iti__flag{background-color:#dbdbdb;background-image:url("+h+");background-position:20px 0;background-repeat:no-repeat;box-shadow:0 0 1px 0 #888;height:15px}@media (min-resolution:192dpi){.iti__flag{background-image:url("+d+")}}.iti__flag.iti__np{background-color:transparent}",""]);const u=c},692:function(t,e){var i;!function(e,i){"use strict";"object"==typeof t.exports?t.exports=e.document?i(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return i(t)}:i(e)}("undefined"!=typeof window?window:this,function(n,r){"use strict";var s=[],o=Object.getPrototypeOf,a=s.slice,l=s.flat?function(t){return s.flat.call(t)}:function(t){return s.concat.apply([],t)},c=s.push,h=s.indexOf,d={},u=d.toString,p=d.hasOwnProperty,f=p.toString,g=f.call(Object),m={},_=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},v=function(t){return null!=t&&t===t.window},y=n.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function x(t,e,i){var n,r,s=(i=i||y).createElement("script");if(s.text=t,e)for(n in w)(r=e[n]||e.getAttribute&&e.getAttribute(n))&&s.setAttribute(n,r);i.head.appendChild(s).parentNode.removeChild(s)}function b(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?d[u.call(t)]||"object":typeof t}var E="3.7.1",S=/HTML$/i,C=function(t,e){return new C.fn.init(t,e)};function T(t){var e=!!t&&"length"in t&&t.length,i=b(t);return!_(t)&&!v(t)&&("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}function A(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}C.fn=C.prototype={jquery:E,constructor:C,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]}
vendor: 5,023 bytes, line 2
2,pushStack:function(t){var e=C.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return C.each(this,t)},map:function(t){return this.pushStack(C.map(this,function(e,i){return t.call(e,i,e)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(C.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(i>=0&&i<e?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:s.sort,splice:s.splice},C.extend=C.fn.extend=function(){var t,e,i,n,r,s,o=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof o&&(c=o,o=arguments[a]||{},a++),"object"==typeof o||_(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)n=t[e],"__proto__"!==e&&o!==n&&(c&&n&&(C.isPlainObject(n)||(r=Array.isArray(n)))?(i=o[e],s=r&&!Array.isArray(i)?[]:r||C.isPlainObject(i)?i:{},r=!1,o[e]=C.extend(c,s,n)):void 0!==n&&(o[e]=n));return o},C.extend({expando:"jQuery"+(E+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,i;return!(!t||"[object Object]"!==u.call(t))&&(!(e=o(t))||"function"==typeof(i=p.call(e,"constructor")&&e.constructor)&&f.call(i)===g)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,i){x(t,{nonce:e&&e.nonce},i)},each:function(t,e){var i,n=0;if(T(t))for(i=t.length;n<i&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},text:function(t){var e,i="",n=0,r=t.nodeType;if(!r)for(;e=t[n++];)i+=C.text(e);return 1===r||11===r?t.textContent:9===r?t.documentElement.textContent:3===r||4===r?t.nodeValue:i},makeArray:function(t,e){var i=e||[];return null!=t&&(T(Object(t))?C.merge(i,"string"==typeof t?[t]:t):c.call(i,t)),i},inArray:function(t,e,i){return null==e?-1:h.call(e,t,i)},isXMLDoc:function(t){var e=t&&t.namespaceURI,i=t&&(t.ownerDocument||t).documentElement;return!S.test(e||i&&i.nodeName||"HTML")},merge:function(t,e){for(var i=+e.length,n=0,r=t.length;n<i;n++)t[r++]=e[n];return t.length=r,t},grep:function(t,e,i){for(var n=[],r=0,s=t.length,o=!i;r<s;r++)!e(t[r],r)!==o&&n.push(t[r]);return n},map:function(t,e,i){var n,r,s=0,o=[];if(T(t))for(n=t.length;s<n;s++)null!=(r=e(t[s],s,i))&&o.push(r);else for(s in t)null!=(r=e(t[s],s,i))&&o.push(r);return l(o)},guid:1,support:m}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=s[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){d["[object "+e+"]"]=e.toLowerCase()});var k=s.pop,M=s.sort,I=s.splice,R="[\\x20\\t\\r\\n\\f]",L=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g");C.contains=function(t,e){var i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(t.contains?t.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))};var P=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function D(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}C.escapeSelector=function(t){return(t+"").replace(P,D)};var O=y,F=c;!function(){var t,e,i,r,o,l,c,d,u,f,g=F,_=C.expando,v=0,y=0,w=tt(),x=tt(),b=tt(),E=tt(),S=function(t,e){return t===e&&(o=!0),0},T="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",D="\\["+R+"*("+P+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+R+"*\\]",z=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+D+")*)|.*)\\)|)",N=new RegExp(R+"+","g"),B=new RegExp("^"+R+"*,"+R+"*"),j=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),G=new RegExp(R+"|>"),W=new RegExp(z),Y=new RegExp("^"+P+"$"),U={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+D),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+T+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,H=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,V=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),K=function(t,e){var i="0x"+t.slice(1)-65536;return e||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},Z=function(){lt()},J=ut(function(t){return!0===t.disabled&&A(t,"fieldset")},{dir:"parentNode",next:"legend"});try{g.apply(s=a.call(O.childNodes),O.childNodes),s[O.childNodes.length].nodeType}catch(t){g={apply:function(t,e){F.apply(t,a.call(e))}
vendor: 14,357 bytes, line 2
2,call:function(t){F.apply(t,a.call(arguments,1))}}}function Q(t,e,i,n){var r,s,o,a,c,h,p,f=e&&e.ownerDocument,v=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==v&&9!==v&&11!==v)return i;if(!n&&(lt(e),e=e||l,d)){if(11!==v&&(c=H.exec(t)))if(r=c[1]){if(9===v){if(!(o=e.getElementById(r)))return i;if(o.id===r)return g.call(i,o),i}else if(f&&(o=f.getElementById(r))&&Q.contains(e,o)&&o.id===r)return g.call(i,o),i}else{if(c[2])return g.apply(i,e.getElementsByTagName(t)),i;if((r=c[3])&&e.getElementsByClassName)return g.apply(i,e.getElementsByClassName(r)),i}if(!(E[t+" "]||u&&u.test(t))){if(p=t,f=e,1===v&&(G.test(t)||j.test(t))){for((f=$.test(t)&&at(e.parentNode)||e)==e&&m.scope||((a=e.getAttribute("id"))?a=C.escapeSelector(a):e.setAttribute("id",a=_)),s=(h=ht(t)).length;s--;)h[s]=(a?"#"+a:":scope")+" "+dt(h[s]);p=h.join(",")}try{return g.apply(i,f.querySelectorAll(p)),i}catch(e){E(t,!0)}finally{a===_&&e.removeAttribute("id")}}}return vt(t.replace(L,"$1"),e,i,n)}function tt(){var t=[];return function i(n,r){return t.push(n+" ")>e.cacheLength&&delete i[t.shift()],i[n+" "]=r}}function et(t){return t[_]=!0,t}function it(t){var e=l.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function nt(t){return function(e){return A(e,"input")&&e.type===t}}function rt(t){return function(e){return(A(e,"input")||A(e,"button"))&&e.type===t}}function st(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&J(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ot(t){return et(function(e){return e=+e,et(function(i,n){for(var r,s=t([],i.length,e),o=s.length;o--;)i[r=s[o]]&&(i[r]=!(n[r]=i[r]))})})}function at(t){return t&&void 0!==t.getElementsByTagName&&t}function lt(t){var i,n=t?t.ownerDocument||t:O;return n!=l&&9===n.nodeType&&n.documentElement?(c=(l=n).documentElement,d=!C.isXMLDoc(l),f=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&O!=l&&(i=l.defaultView)&&i.top!==i&&i.addEventListener("unload",Z),m.getById=it(function(t){return c.appendChild(t).id=C.expando,!l.getElementsByName||!l.getElementsByName(C.expando).length}),m.disconnectedMatch=it(function(t){return f.call(t,"*")}),m.scope=it(function(){return l.querySelectorAll(":scope")}),m.cssHas=it(function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}}),m.getById?(e.filter.ID=function(t){var e=t.replace(V,K);return function(t){return t.getAttribute("id")===e}},e.find.ID=function(t,e){if(void 0!==e.getElementById&&d){var i=e.getElementById(t);return i?[i]:[]}}):(e.filter.ID=function(t){var e=t.replace(V,K);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},e.find.ID=function(t,e){if(void 0!==e.getElementById&&d){var i,n,r,s=e.getElementById(t);if(s){if((i=s.getAttributeNode("id"))&&i.value===t)return[s];for(r=e.getElementsByName(t),n=0;s=r[n++];)if((i=s.getAttributeNode("id"))&&i.value===t)return[s]}return[]}}),e.find.TAG=function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},e.find.CLASS=function(t,e){if(void 0!==e.getElementsByClassName&&d)return e.getElementsByClassName(t)},u=[],it(function(t){var e;c.appendChild(t).innerHTML="<a id='"+_+"' href='' disabled='disabled'></a><select id='"+_+"-\r\\' disabled='disabled'><option selected=''></option></select>",t.querySelectorAll("[selected]").length||u.push("\\["+R+"*(?:value|"+T+")"),t.querySelectorAll("[id~="+_+"-]").length||u.push("~="),t.querySelectorAll("a#"+_+"+*").length||u.push(".#.+[+~]"),t.querySelectorAll(":checked").length||u.push(":checked"),(e=l.createElement("input")).setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),c.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&u.push(":enabled",":disabled"),(e=l.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||u.push("\\["+R+"*name"+R+"*="+R+"*(?:''|\"\")")}),m.cssHas||u.push(":has"),u=u.length&&new RegExp(u.join("|")),S=function(t,e){if(t===e)return o=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!m.sortDetached&&e.compareDocumentPosition(t)===i?t===l||t.ownerDocument==O&&Q.contains(O,t)?-1:e===l||e.ownerDocument==O&&Q.contains(O,e)?1:r?h.call(r,t)-h.call(r,e):0:4&i?-1:1)},l):l}for(t in Q.matches=function(t,e){return Q(t,null,null,e)},Q.matchesSelector=function(t,e){if(lt(t),d&&!E[e+" "]&&(!u||!u.test(e)))try{var i=f.call(t,e);if(i||m.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){E(e,!0)}return Q(e,l,null,[t]).length>0},Q.contains=function(t,e){return(t.ownerDocument||t)!=l&&lt(t),C.contains(t,e)},Q.attr=function(t,i){(t.ownerDocument||t)!=l&&lt(t);var n=e.attrHandle[i.toLowerCase()],r=n&&p.call(e.attrHandle,i.toLowerCase())?n(t,i,!d):void 0;return void 0!==r?r:t.getAttribute(i)},Q.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},C.uniqueSort=function(t){var e,i=[],n=0,s=0;if(o=!m.sortStable,r=!m.sortStable&&a.call(t,0),M.call(t,S),o){for(;e=t[s++];)e===t[s]&&(n=i.push(s));for(;n--;)I.call(t,i[n],1)}return r=null,t},C.fn.uniqueSort=function(){return this.pushStack(C.uniqueSort(a.apply(this)))},e=C.expr={cacheLength:50,createPseudo:et,match:U,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(V,K),t[3]=(t[3]||t[4]||t[5]||"").replace(V,K),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||Q.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&Q.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return U.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&W.test(i)&&(e=ht(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(V,K).toLowerCase();return"*"===t?function(){return!0}:function(t){return A(t,e)}},CLASS:function(t){var e=w[t+" "];return e||(e=new RegExp("(^|"+R+")"+t+"("+R+"|$)"))&&w(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,i){return function(n){var r=Q.attr(n,t);return null==r?"!="===e:!e||(r+="","="===e?r===i:"!="===e?r!==i:"^="===e?i&&0===r.indexOf(i):"*="===e?i&&r.indexOf(i)>-1:"$="===e?i&&r.slice(-i.length)===i:"~="===e?(" "+r.replace(N," ")+" ").indexOf(i)>-1:"|="===e&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,i,n,r){var s="nth"!==t.slice(0,3),o="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===r?function(t){return!!t.parentNode}:function(e,i,l){var c,h,d,u,p,f=s!==o?"nextSibling":"previousSibling",g=e.parentNode,m=a&&e.nodeName.toLowerCase(),y=!l&&!a,w=!1;if(g){if(s){for(;f;){for(d=e;d=d[f];)if(a?A(d,m):1===d.nodeType)return!1;p=f="only"===t&&!p&&"nextSibling"}return!0}if(p=[o?g.firstChild:g.lastChild],o&&y){for(w=(u=(c=(h=g[_]||(g[_]={}))[t]||[])[0]===v&&c[1])&&c[2],d=u&&g.childNodes[u];d=++u&&d&&d[f]||(w=u=0)||p.pop();)if(1===d.nodeType&&++w&&d===e){h[t]=[v,u,w];break}}else if(y&&(w=u=(c=(h=e[_]||(e[_]={}))[t]||[])[0]===v&&c[1]),!1===w)for(;(d=++u&&d&&d[f]||(w=u=0)||p.pop())&&(!(a?A(d,m):1===d.nodeType)||!++w||(y&&((h=d[_]||(d[_]={}))[t]=[v,w]),d!==e)););return(w-=r)===n||w%n===0&&w/n>=0}}},PSEUDO:function(t,i){var n,r=e.pseudos[t]||e.setFilters[t.toLowerCase()]||Q.error("unsupported pseudo: "+t);return r[_]?r(i):r.length>1?(n=[t,t,"",i],e.setFilters.hasOwnProperty(t.toLowerCase())?et(function(t,e){for(var n,s=r(t,i),o=s.length;o--;)t[n=h.call(t,s[o])]=!(e[n]=s[o])}):function(t){return r(t,0,n)}):r}},pseudos:{not:et(function(t){var e=[],i=[],n=_t(t.replace(L,"$1"));return n[_]?et(function(t,e,i,r){for(var s,o=n(t,null,r,[]),a=t.length;a--;)(s=o[a])&&(t[a]=!(e[a]=s))}):function(t,r,s){return e[0]=t,n(e,null,s,i),e[0]=null,!i.pop()}}),has:et(function(t){return function(e){return Q(t,e).length>0}}),contains:et(function(t){return t=t.replace(V,K),function(e){return(e.textContent||C.text(e)).indexOf(t)>-1}}),lang:et(function(t){return Y.test(t||"")||Q.error("unsupported lang: "+t),t=t.replace(V,K).toLowerCase(),function(e){var i;do{if(i=d?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(t){var e=n.location&&n.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===c},focus:function(t){return t===function(){try{return l.activeElement}catch(t){}}()&&l.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:st(!1),disabled:st(!0),checked:function(t){return A(t,"input")&&!!t.checked||A(t,"option")&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!e.pseudos.empty(t)},header:function(t){return q.test(t.nodeName)},input:function(t){return X.test(t.nodeName)},button:function(t){return A(t,"input")&&"button"===t.type||A(t,"button")},text:function(t){var e;return A(t,"input")&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:ot(function(){return[0]}),last:ot(function(t,e){return[e-1]}),eq:ot(function(t,e,i){return[i<0?i+e:i]}),even:ot(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:ot(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:ot(function(t,e,i){var n;for(n=i<0?i+e:i>e?e:i;--n>=0;)t.push(n);return t}),gt:ot(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}},e.pseudos.nth=e.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})e.pseudos[t]=nt(t);for(t in{submit:!0,reset:!0})e.pseudos[t]=rt(t);function ct(){}function ht(t,i){var n,r,s,o,a,l,c,h=x[t+" "];if(h)return i?0:h.slice(0);for(a=t,l=[],c=e.preFilter;a;){for(o in n&&!(r=B.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(s=[])),n=!1,(r=j.exec(a))&&(n=r.shift(),s.push({value:n,type:r[0].replace(L," ")}),a=a.slice(n.length)),e.filter)!(r=U[o].exec(a))||c[o]&&!(r=c[o](r))||(n=r.shift(),s.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return i?a.length:a?Q.error(t):x(t,l).slice(0)}function dt(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function ut(t,e,i){var n=e.dir,r=e.next,s=r||n,o=i&&"parentNode"===s,a=y++;return e.first?function(e,i,r){for(;e=e[n];)if(1===e.nodeType||o)return t(e,i,r);return!1}:function(e,i,l){var c,h,d=[v,a];if(l){for(;e=e[n];)if((1===e.nodeType||o)&&t(e,i,l))return!0}else for(;e=e[n];)if(1===e.nodeType||o)if(h=e[_]||(e[_]={}),r&&A(e,r))e=e[n]||e;else{if((c=h[s])&&c[0]===v&&c[1]===a)return d[2]=c[2];if(h[s]=d,d[2]=t(e,i,l))return!0}return!1}}function pt(t){return t.length>1?function(e,i,n){for(var r=t.length;r--;)if(!t[r](e,i,n))return!1;return!0}:t[0]}function ft(t,e,i,n,r){for(var s,o=[],a=0,l=t.length,c=null!=e;a<l;a++)(s=t[a])&&(i&&!i(s,n,r)||(o.push(s),c&&e.push(a)));return o}function gt(t,e,i,n,r,s){return n&&!n[_]&&(n=gt(n)),r&&!r[_]&&(r=gt(r,s)),et(function(s,o,a,l){var c,d,u,p,f=[],m=[],_=o.length,v=s||function(t,e,i){for(var n=0,r=e.length;n<r;n++)Q(t,e[n],i);return i}(e||"*",a.nodeType?[a]:a,[]),y=!t||!s&&e?v:ft(v,f,t,a,l);if(i?i(y,p=r||(s?t:_||n)?[]:o,a,l):p=y,n)for(c=ft(p,m),n(c,[],a,l),d=c.length;d--;)(u=c[d])&&(p[m[d]]=!(y[m[d]]=u));if(s){if(r||t){if(r){for(c=[],d=p.length;d--;)(u=p[d])&&c.push(y[d]=u);r(null,p=[],c,l)}for(d=p.length;d--;)(u=p[d])&&(c=r?h.call(s,u):f[d])>-1&&(s[c]=!(o[c]=u))}}else p=ft(p===o?p.splice(_,p.length):p),r?r(null,o,p,l):g.apply(o,p)})}function mt(t){for(var n,r,s,o=t.length,a=e.relative[t[0].type],l=a||e.relative[" "],c=a?1:0,d=ut(function(t){return t===n},l,!0),u=ut(function(t){return h.call(n,t)>-1},l,!0),p=[function(t,e,r){var s=!a&&(r||e!=i)||((n=e).nodeType?d(t,e,r):u(t,e,r));return n=null,s}];c<o;c++)if(r=e.relative[t[c].type])p=[ut(pt(p),r)];else{if((r=e.filter[t[c].type].apply(null,t[c].matches))[_]){for(s=++c;s<o&&!e.relative[t[s].type];s++);return gt(c>1&&pt(p),c>1&&dt(t.slice(0,c-1).concat({value:" "===t[c-2].type?"*":""})).replace(L,"$1"),r,c<s&&mt(t.slice(c,s)),s<o&&mt(t=t.slice(s)),s<o&&dt(t))}p.push(r)}return pt(p)}function _t(t,n){var r,s=[],o=[],a=b[t+" "];if(!a){for(n||(n=ht(t)),r=n.length;r--;)(a=mt(n[r]))[_]?s.push(a):o.push(a);a=b(t,function(t,n){var r=n.length>0,s=t.length>0,o=function(o,a,c,h,u){var p,f,m,_=0,y="0",w=o&&[],x=[],b=i,E=o||s&&e.find.TAG("*",u),S=v+=null==b?1:Math.random()||.1,T=E.length;for(u&&(i=a==l||a||u);y!==T&&null!=(p=E[y]);y++){if(s&&p){for(f=0,a||p.ownerDocument==l||(lt(p),c=!d);m=t[f++];)if(m(p,a||l,c)){g.call(h,p);break}u&&(v=S)}r&&((p=!m&&p)&&_--,o&&w.push(p))}if(_+=y,r&&y!==_){for(f=0;m=n[f++];)m(w,x,a,c);if(o){if(_>0)for(;y--;)w[y]||x[y]||(x[y]=k.call(h));x=ft(x)}g.apply(h,x),u&&!o&&x.length>0&&_+n.length>1&&C.uniqueSort(h)}return u&&(v=S,i=b),w};return r?et(o):o}(o,s)),a.selector=t}return a}function vt(t,i,n,r){var s,o,a,l,c,h="function"==typeof t&&t,u=!r&&ht(t=h.selector||t);if(n=n||[],1===u.length){if((o=u[0]=u[0].slice(0)).length>2&&"ID"===(a=o[0]).type&&9===i.nodeType&&d&&e.relative[o[1].type]){if(!(i=(e.find.ID(a.matches[0].replace(V,K),i)||[])[0]))return n;h&&(i=i.parentNode),t=t.slice(o.shift().value.length)}for(s=U.needsContext.test(t)?0:o.length;s--&&(a=o[s],!e.relative[l=a.type]);)if((c=e.find[l])&&(r=c(a.matches[0].replace(V,K),$.test(o[0].type)&&at(i.parentNode)||i))){if(o.splice(s,1),!(t=r.length&&dt(o)))return g.apply(n,r),n;break}}return(h||_t(t,u))(r,i,!d,n,!i||$.test(t)&&at(i.parentNode)||i),n}ct.prototype=e.filters=e.pseudos,e.setFilters=new ct,m.sortStable=_.split("").sort(S).join("")===_,lt(),m.sortDetached=it(function(t){return 1&t.compareDocumentPosition(l.createElement("fieldset"))}),C.find=Q,C.expr[":"]=C.expr.pseudos,C.unique=C.uniqueSort,Q.compile=_t,Q.select=vt,Q.setDocument=lt,Q.tokenize=ht,Q.escape=C.escapeSelector,Q.getText=C.text,Q.isXML=C.isXMLDoc,Q.selectors=C.expr,Q.support=C.support,Q.uniqueSort=C.uniqueSort}();
vendor: 5,215 bytes, line 2
2var z=function(t,e,i){for(var n=[],r=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&C(t).is(i))break;n.push(t)}return n},N=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},B=C.expr.match.needsContext,j=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function G(t,e,i){return _(e)?C.grep(t,function(t,n){return!!e.call(t,n,t)!==i}):e.nodeType?C.grep(t,function(t){return t===e!==i}):"string"!=typeof e?C.grep(t,function(t){return h.call(e,t)>-1!==i}):C.filter(e,t,i)}C.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?C.find.matchesSelector(n,t)?[n]:[]:C.find.matches(t,C.grep(e,function(t){return 1===t.nodeType}))},C.fn.extend({find:function(t){var e,i,n=this.length,r=this;if("string"!=typeof t)return this.pushStack(C(t).filter(function(){for(e=0;e<n;e++)if(C.contains(r[e],this))return!0}));for(i=this.pushStack([]),e=0;e<n;e++)C.find(t,r[e],i);return n>1?C.uniqueSort(i):i},filter:function(t){return this.pushStack(G(this,t||[],!1))},not:function(t){return this.pushStack(G(this,t||[],!0))},is:function(t){return!!G(this,"string"==typeof t&&B.test(t)?C(t):t||[],!1).length}});var W,Y=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(t,e,i){var n,r;if(!t)return this;if(i=i||W,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Y.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof C?e[0]:e,C.merge(this,C.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:y,!0)),j.test(n[1])&&C.isPlainObject(e))for(n in e)_(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(r=y.getElementById(n[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):_(t)?void 0!==i.ready?i.ready(t):t(C):C.makeArray(t,this)}).prototype=C.fn,W=C(y);var U=/^(?:parents|prev(?:Until|All))/,X={children:!0,contents:!0,next:!0,prev:!0};function q(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}C.fn.extend({has:function(t){var e=C(t,this),i=e.length;return this.filter(function(){for(var t=0;t<i;t++)if(C.contains(this,e[t]))return!0})},closest:function(t,e){var i,n=0,r=this.length,s=[],o="string"!=typeof t&&C(t);if(!B.test(t))for(;n<r;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(o?o.index(i)>-1:1===i.nodeType&&C.find.matchesSelector(i,t))){s.push(i);break}return this.pushStack(s.length>1?C.uniqueSort(s):s)},index:function(t){return t?"string"==typeof t?h.call(C(t),this[0]):h.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),C.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return z(t,"parentNode")},parentsUntil:function(t,e,i){return z(t,"parentNode",i)},next:function(t){return q(t,"nextSibling")},prev:function(t){return q(t,"previousSibling")},nextAll:function(t){return z(t,"nextSibling")},prevAll:function(t){return z(t,"previousSibling")},nextUntil:function(t,e,i){return z(t,"nextSibling",i)},prevUntil:function(t,e,i){return z(t,"previousSibling",i)},siblings:function(t){return N((t.parentNode||{}).firstChild,t)},children:function(t){return N(t.firstChild)},contents:function(t){return null!=t.contentDocument&&o(t.contentDocument)?t.contentDocument:(A(t,"template")&&(t=t.content||t),C.merge([],t.childNodes))}},function(t,e){C.fn[t]=function(i,n){var r=C.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(r=C.filter(n,r)),this.length>1&&(X[t]||C.uniqueSort(r),U.test(t)&&r.reverse()),this.pushStack(r)}});var H=/[^\x20\t\r\n\f]+/g;function $(t){return t}function V(t){throw t}function K(t,e,i,n){var r;try{t&&_(r=t.promise)?r.call(t).done(e).fail(i):t&&_(r=t.then)?r.call(t,e,i):e.apply(void 0,[t].slice(n))}catch(t){i.apply(void 0,[t])}}C.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return C.each(t.match(H)||[],function(t,i){e[i]=!0}),e}(t):C.extend({},t);var e,i,n,r,s=[],o=[],a=-1,l=function(){for(r=r||t.once,n=e=!0;o.length;a=-1)for(i=o.shift();++a<s.length;)!1===s[a].apply(i[0],i[1])&&t.stopOnFalse&&(a=s.length,i=!1);t.memory||(i=!1),e=!1,r&&(s=i?[]:"")},c={add:function(){return s&&(i&&!e&&(a=s.length-1,o.push(i)),function e(i){C.each(i,function(i,n){_(n)?t.unique&&c.has(n)||s.push(n):n&&n.length&&"string"!==b(n)&&e(n)})}(arguments),i&&!e&&l()),this},remove:function(){return C.each(arguments,function(t,e){for(var i;(i=C.inArray(e,s,i))>-1;)s.splice(i,1),i<=a&&a--}),this},has:function(t){return t?C.inArray(t,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return r=o=[],s=i="",this},disabled:function(){return!s},lock:function(){return r=o=[],i||e||(s=i=""),this},locked:function(){return!!r},fireWith:function(t,i){return r||(i=[t,(i=i||[]).slice?i.slice():i],o.push(i),e||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},C.extend({Deferred:function(t){var e=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.
vendor: 4,257 bytes, line 2
2Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return C.Deferred(function(i){C.each(e,function(e,n){var r=_(t[n[4]])&&t[n[4]];s[n[1]](function(){var t=r&&r.apply(this,arguments);t&&_(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[n[0]+"With"](this,r?[t]:arguments)})}),t=null}).promise()},then:function(t,i,r){var s=0;function o(t,e,i,r){return function(){var a=this,l=arguments,c=function(){var n,c;if(!(t<s)){if((n=i.apply(a,l))===e.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,_(c)?r?c.call(n,o(s,e,$,r),o(s,e,V,r)):(s++,c.call(n,o(s,e,$,r),o(s,e,V,r),o(s,e,$,e.notifyWith))):(i!==$&&(a=void 0,l=[n]),(r||e.resolveWith)(a,l))}},h=r?c:function(){try{c()}catch(n){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(n,h.error),t+1>=s&&(i!==V&&(a=void 0,l=[n]),e.rejectWith(a,l))}};t?h():(C.Deferred.getErrorHook?h.error=C.Deferred.getErrorHook():C.Deferred.getStackHook&&(h.error=C.Deferred.getStackHook()),n.setTimeout(h))}}return C.Deferred(function(n){e[0][3].add(o(0,n,_(r)?r:$,n.notifyWith)),e[1][3].add(o(0,n,_(t)?t:$)),e[2][3].add(o(0,n,_(i)?i:V))}).promise()},promise:function(t){return null!=t?C.extend(t,r):r}},s={};return C.each(e,function(t,n){var o=n[2],a=n[5];r[n[1]]=o.add,a&&o.add(function(){i=a},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),o.add(n[3].fire),s[n[0]]=function(){return s[n[0]+"With"](this===s?void 0:this,arguments),this},s[n[0]+"With"]=o.fireWith}),r.promise(s),t&&t.call(s,s),s},when:function(t){var e=arguments.length,i=e,n=Array(i),r=a.call(arguments),s=C.Deferred(),o=function(t){return function(i){n[t]=this,r[t]=arguments.length>1?a.call(arguments):i,--e||s.resolveWith(n,r)}};if(e<=1&&(K(t,s.done(o(i)).resolve,s.reject,!e),"pending"===s.state()||_(r[i]&&r[i].then)))return s.then();for(;i--;)K(r[i],o(i),s.reject);return s.promise()}});var Z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&Z.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},C.readyException=function(t){n.setTimeout(function(){throw t})};var J=C.Deferred();function Q(){y.removeEventListener("DOMContentLoaded",Q),n.removeEventListener("load",Q),C.ready()}C.fn.ready=function(t){return J.then(t).catch(function(t){C.readyException(t)}),this},C.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==t&&--C.readyWait>0||J.resolveWith(y,[C]))}}),C.ready.then=J.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?n.setTimeout(C.ready):(y.addEventListener("DOMContentLoaded",Q),n.addEventListener("load",Q));var tt=function(t,e,i,n,r,s,o){var a=0,l=t.length,c=null==i;if("object"===b(i))for(a in r=!0,i)tt(t,e,a,i[a],!0,s,o);else if(void 0!==n&&(r=!0,_(n)||(o=!0),c&&(o?(e.call(t,n),e=null):(c=e,e=function(t,e,i){return c.call(C(t),i)})),e))for(;a<l;a++)e(t[a],i,o?n:n.call(t[a],a,e(t[a],i)));return r?t:c?e.call(t):l?e(t[0],i):s},et=/^-ms-/,it=/-([a-z])/g;function nt(t,e){return e.toUpperCase()}function rt(t){return t.replace(et,"ms-").replace(it,nt)}var st=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function ot(){this.expando=C.expando+ot.uid++}ot.uid=1,ot.prototype={cache:function(t){var e=t[this.expando];return e||(e={},st(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var n,r=this.cache(t);if("string"==typeof e)r[rt(e)]=i;else for(n in e)r[rt(n)]=e[n];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][rt(e)]},access:function(t,e,i){return void 0===e||e&&"string"==typeof e&&void 0===i?this.get(t,e):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,n=t[this.expando];if(void 0!==n){if(void 0!==e){i=(e=Array.isArray(e)?e.map(rt):(e=rt(e))in n?[e]:e.match(H)||[]).length;for(;i--;)delete n[e[i]]}
vendor: 9,814 bytes, line 2
2(void 0===e||C.isEmptyObject(n))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!C.isEmptyObject(e)}};var at=new ot,lt=new ot,ct=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ht=/[A-Z]/g;function dt(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(ht,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:ct.test(t)?JSON.parse(t):t)}(i)}catch(t){}lt.set(t,e,i)}else i=void 0;return i}C.extend({hasData:function(t){return lt.hasData(t)||at.hasData(t)},data:function(t,e,i){return lt.access(t,e,i)},removeData:function(t,e){lt.remove(t,e)},_data:function(t,e,i){return at.access(t,e,i)},_removeData:function(t,e){at.remove(t,e)}}),C.fn.extend({data:function(t,e){var i,n,r,s=this[0],o=s&&s.attributes;if(void 0===t){if(this.length&&(r=lt.get(s),1===s.nodeType&&!at.get(s,"hasDataAttrs"))){for(i=o.length;i--;)o[i]&&0===(n=o[i].name).indexOf("data-")&&(n=rt(n.slice(5)),dt(s,n,r[n]));at.set(s,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){lt.set(this,t)}):tt(this,function(e){var i;if(s&&void 0===e)return void 0!==(i=lt.get(s,t))||void 0!==(i=dt(s,t))?i:void 0;this.each(function(){lt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){lt.remove(this,t)})}}),C.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=at.get(t,e),i&&(!n||Array.isArray(i)?n=at.access(t,e,C.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=C.queue(t,e),n=i.length,r=i.shift(),s=C._queueHooks(t,e);"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===e&&i.unshift("inprogress"),delete s.stop,r.call(t,function(){C.dequeue(t,e)},s)),!n&&s&&s.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return at.get(t,i)||at.access(t,i,{empty:C.Callbacks("once memory").add(function(){at.remove(t,[e+"queue",i])})})}}),C.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i?C.queue(this[0],t):void 0===e?this:this.each(function(){var i=C.queue(this,t,e);C._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&C.dequeue(this,t)})},dequeue:function(t){return this.each(function(){C.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,r=C.Deferred(),s=this,o=this.length,a=function(){--n||r.resolveWith(s,[s])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";o--;)(i=at.get(s[o],t+"queueHooks"))&&i.empty&&(n++,i.empty.add(a));return a(),r.promise(e)}});var ut=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,pt=new RegExp("^(?:([+-])=|)("+ut+")([a-z%]*)$","i"),ft=["Top","Right","Bottom","Left"],gt=y.documentElement,mt=function(t){return C.contains(t.ownerDocument,t)},_t={composed:!0};gt.getRootNode&&(mt=function(t){return C.contains(t.ownerDocument,t)||t.getRootNode(_t)===t.ownerDocument});var vt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&mt(t)&&"none"===C.css(t,"display")};function yt(t,e,i,n){var r,s,o=20,a=n?function(){return n.cur()}:function(){return C.css(t,e,"")},l=a(),c=i&&i[3]||(C.cssNumber[e]?"":"px"),h=t.nodeType&&(C.cssNumber[e]||"px"!==c&&+l)&&pt.exec(C.css(t,e));if(h&&h[3]!==c){for(l/=2,c=c||h[3],h=+l||1;o--;)C.style(t,e,h+c),(1-s)*(1-(s=a()/l||.5))<=0&&(o=0),h/=s;h*=2,C.style(t,e,h+c),i=i||[]}return i&&(h=+h||+l||0,r=i[1]?h+(i[1]+1)*i[2]:+i[2],n&&(n.unit=c,n.start=h,n.end=r)),r}var wt={};function xt(t){var e,i=t.ownerDocument,n=t.nodeName,r=wt[n];return r||(e=i.body.appendChild(i.createElement(n)),r=C.css(e,"display"),e.parentNode.removeChild(e),"none"===r&&(r="block"),wt[n]=r,r)}function bt(t,e){for(var i,n,r=[],s=0,o=t.length;s<o;s++)(n=t[s]).style&&(i=n.style.display,e?("none"===i&&(r[s]=at.get(n,"display")||null,r[s]||(n.style.display="")),""===n.style.display&&vt(n)&&(r[s]=xt(n))):"none"!==i&&(r[s]="none",at.set(n,"display",i)));for(s=0;s<o;s++)null!=r[s]&&(t[s].style.display=r[s]);return t}C.fn.extend({show:function(){return bt(this,!0)},hide:function(){return bt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){vt(this)?C(this).show():C(this).hide()})}});var Et,St,Ct=/^(?:checkbox|radio)$/i,Tt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,At=/^$|^module$|\/(?:java|ecma)script/i;Et=y.createDocumentFragment().appendChild(y.createElement("div")),(St=y.createElement("input")).setAttribute("type","radio"),St.setAttribute("checked","checked"),St.setAttribute("name","t"),Et.appendChild(St),m.checkClone=Et.cloneNode(!0).cloneNode(!0).lastChild.checked,Et.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!Et.cloneNode(!0).lastChild.defaultValue,Et.innerHTML="<option></option>",m.option=!!Et.lastChild;var kt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Mt(t,e){var i;return i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&A(t,e)?C.merge([t],i):i}function It(t,e){for(var i=0,n=t.length;i<n;i++)at.set(t[i],"globalEval",!e||at.get(e[i],"globalEval"))}kt.tbody=kt.tfoot=kt.colgroup=kt.caption=kt.thead,kt.th=kt.td,m.option||(kt.optgroup=kt.option=[1,"<select multiple='multiple'>","</select>"]);var Rt=/<|&#?\w+;/;function Lt(t,e,i,n,r){for(var s,o,a,l,c,h,d=e.createDocumentFragment(),u=[],p=0,f=t.length;p<f;p++)if((s=t[p])||0===s)if("object"===b(s))C.merge(u,s.nodeType?[s]:s);else if(Rt.test(s)){for(o=o||d.appendChild(e.createElement("div")),a=(Tt.exec(s)||["",""])[1].toLowerCase(),l=kt[a]||kt._default,o.innerHTML=l[1]+C.htmlPrefilter(s)+l[2],h=l[0];h--;)o=o.lastChild;C.merge(u,o.childNodes),(o=d.firstChild).textContent=""}else u.push(e.createTextNode(s));for(d.textContent="",p=0;s=u[p++];)if(n&&C.inArray(s,n)>-1)r&&r.push(s);else if(c=mt(s),o=Mt(d.appendChild(s),"script"),c&&It(o),i)for(h=0;s=o[h++];)At.test(s.type||"")&&i.push(s);return d}var Pt=/^([^.]*)(?:\.(.+)|)/;function Dt(){return!0}function Ot(){return!1}function Ft(t,e,i,n,r,s){var o,a;if("object"==typeof e){for(a in"string"!=typeof i&&(n=n||i,i=void 0),e)Ft(t,a,i,n,e[a],s);return t}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),!1===r)r=Ot;else if(!r)return t;return 1===s&&(o=r,r=function(t){return C().off(t),o.apply(this,arguments)},r.guid=o.guid||(o.guid=C.guid++)),t.each(function(){C.event.add(this,e,r,n,i)})}function zt(t,e,i){i?(at.set(t,e,!1),C.event.add(t,e,{namespace:!1,handler:function(t){var i,n=at.get(this,e);if(1&t.isTrigger&&this[e]){if(n)(C.event.special[e]||{}).delegateType&&t.stopPropagation();else if(n=a.call(arguments),at.set(this,e,n),this[e](),i=at.get(this,e),at.set(this,e,!1),n!==i)return t.stopImmediatePropagation(),t.preventDefault(),i}else n&&(at.set(this,e,C.event.trigger(n[0],n.slice(1),this)),t.stopPropagation(),t.isImmediatePropagationStopped=Dt)}})):void 0===at.get(t,e)&&C.event.add(t,e,Dt)}C.event={global:{},add:function(t,e,i,n,r){var s,o,a,l,c,h,d,u,p,f,g,m=at.get(t);if(st(t))for(i.handler&&(i=(s=i).handler,r=s.selector),r&&C.find.matchesSelector(gt,r),i.guid||(i.guid=C.guid++),(l=m.events)||(l=m.events=Object.create(null)),(o=m.handle)||(o=m.handle=function(e){return void 0!==C&&C.event.triggered!==e.type?C.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(H)||[""]).length;c--;)p=g=(a=Pt.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),p&&(d=C.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,d=C.event.special[p]||{},h=C.extend({type:p,origType:g,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&C.expr.match.needsContext.test(r),namespace:f.join(".")},s),(u=l[p])||((u=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,n,f,o)||t.addEventListener&&t.addEventListener(p,o)),d.add&&(d.add.call(t,h),h.handler.guid||(h.handler.guid=i.guid)),r?u.splice(u.delegateCount++,0,h):u.push(h),C.event.global[p]=!0)},remove:function(t,e,i,n,r){var s,o,a,l,c,h,d,u,p,f,g,m=at.hasData(t)&&at.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(H)||[""]).length;c--;)if(p=g=(a=Pt.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),p){for(d=C.event.special[p]||{},u=l[p=(n?d.delegateType:d.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=s=u.length;s--;)h=u[s],!r&&g!==h.origType||i&&i.guid!==h.guid||a&&!a.test(h.namespace)||n&&n!==h.selector&&("**"!==n||!h.selector)||(u.splice(s,1),h.selector&&u.delegateCount--,d.remove&&d.remove.call(t,h));o&&!u.length&&(d.teardown&&!1!==d.teardown.call(t,f,m.handle)||C.removeEvent(t,p,m.handle),delete l[p])}else for(p in l)C.event.remove(t,p+e[c],i,n,!0);C.isEmptyObject(l)&&at.remove(t,"handle events")}},dispatch:function(t){var e,i,n,r,s,o,a=new Array(arguments.length),l=C.event.fix(t),c=(at.get(this,"events")||Object.create(null))[l.type]||[],h=C.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!h.preDispatch||!1!==h.preDispatch.call(this,l)){for(o=C.event.handlers.call(this,l,c),e=0;(r=o[e++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,i=0;(s=r.handlers[i++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==s.namespace&&!l.rnamespace.test(s.namespace)||(l.handleObj=s,l.data=s.data,void 0!==(n=((C.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,a))&&!1===(l.result=n)&&(l.preventDefault(),l.stopPropagation()));return h.postDispatch&&h.postDispatch.call(this,l),l.result}},handlers:function(t,e){var i,n,r,s,o,a=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(s=[],o={},i=0;i<l;
vendor: 10,703 bytes, line 2
2i++)void 0===o[r=(n=e[i]).selector+" "]&&(o[r]=n.needsContext?C(r,this).index(c)>-1:C.find(r,this,null,[c]).length),o[r]&&s.push(n);s.length&&a.push({elem:c,handlers:s})}return c=this,l<e.length&&a.push({elem:c,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(C.Event.prototype,t,{enumerable:!0,configurable:!0,get:_(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[C.expando]?t:new C.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return Ct.test(e.type)&&e.click&&A(e,"input")&&zt(e,"click",!0),!1},trigger:function(t){var e=this||t;return Ct.test(e.type)&&e.click&&A(e,"input")&&zt(e,"click"),!0},_default:function(t){var e=t.target;return Ct.test(e.type)&&e.click&&A(e,"input")&&at.get(e,"click")||A(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},C.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},C.Event=function(t,e){if(!(this instanceof C.Event))return new C.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Dt:Ot,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&C.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:Ot,isPropagationStopped:Ot,isImmediatePropagationStopped:Ot,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Dt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Dt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Dt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},C.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},function(t,e){function i(t){if(y.documentMode){var i=at.get(this,"handle"),n=C.event.fix(t);n.type="focusin"===t.type?"focus":"blur",n.isSimulated=!0,i(t),n.target===n.currentTarget&&i(n)}else C.event.simulate(e,t.target,C.event.fix(t))}C.event.special[t]={setup:function(){var n;if(zt(this,t,!0),!y.documentMode)return!1;(n=at.get(this,e))||this.addEventListener(e,i),at.set(this,e,(n||0)+1)},trigger:function(){return zt(this,t),!0},teardown:function(){var t;if(!y.documentMode)return!1;(t=at.get(this,e)-1)?at.set(this,e,t):(this.removeEventListener(e,i),at.remove(this,e))},_default:function(e){return at.get(e.target,t)},delegateType:e},C.event.special[e]={setup:function(){var n=this.ownerDocument||this.document||this,r=y.documentMode?this:n,s=at.get(r,e);s||(y.documentMode?this.addEventListener(e,i):n.addEventListener(t,i,!0)),at.set(r,e,(s||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,r=y.documentMode?this:n,s=at.get(r,e)-1;s?at.set(r,e,s):(y.documentMode?this.removeEventListener(e,i):n.removeEventListener(t,i,!0),at.remove(r,e))}}}),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){C.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=t.relatedTarget,r=t.handleObj;return n&&(n===this||C.contains(this,n))||(t.type=r.origType,i=r.handler.apply(this,arguments),t.type=e),i}}}),C.fn.extend({on:function(t,e,i,n){return Ft(this,t,e,i,n)},one:function(t,e,i,n){return Ft(this,t,e,i,n,1)},off:function(t,e,i){var n,r;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,C(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=Ot),this.each(function(){C.event.remove(this,t,i,e)})}});var Nt=/<script|<style|<link/i,Bt=/checked\s*(?:[^=]|=\s*.checked.)/i,jt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Gt(t,e){return A(t,"table")&&A(11!==e.nodeType?e:e.firstChild,"tr")&&C(t).children("tbody")[0]||t}function Wt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Yt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Ut(t,e){var i,n,r,s,o,a;if(1===e.nodeType){if(at.hasData(t)&&(a=at.get(t).events))for(r in at.remove(e,"handle events"),a)for(i=0,n=a[r].length;i<n;i++)C.event.add(e,r,a[r][i]);lt.hasData(t)&&(s=lt.access(t),o=C.extend({},s),lt.set(e,o))}}function Xt(t,e){var i=e.nodeName.toLowerCase();"input"===i&&Ct.test(t.type)?e.checked=t.checked:"input"!==i&&"textarea"!==i||(e.defaultValue=t.defaultValue)}function qt(t,e,i,n){e=l(e);var r,s,o,a,c,h,d=0,u=t.length,p=u-1,f=e[0],g=_(f);if(g||u>1&&"string"==typeof f&&!m.checkClone&&Bt.test(f))return t.each(function(r){var s=t.eq(r);g&&(e[0]=f.call(this,r,s.html())),qt(s,e,i,n)});if(u&&(s=(r=Lt(e,t[0].ownerDocument,!1,t,n)).firstChild,1===r.childNodes.length&&(r=s),s||n)){for(a=(o=C.map(Mt(r,"script"),Wt)).length;d<u;d++)c=r,d!==p&&(c=C.clone(c,!0,!0),a&&C.merge(o,Mt(c,"script"))),i.call(t[d],c,d);if(a)for(h=o[o.length-1].ownerDocument,C.map(o,Yt),d=0;d<a;d++)c=o[d],At.test(c.type||"")&&!at.access(c,"globalEval")&&C.contains(h,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?C._evalUrl&&!c.noModule&&C._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},h):x(c.textContent.replace(jt,""),c,h))}return t}function Ht(t,e,i){for(var n,r=e?C.filter(e,t):t,s=0;null!=(n=r[s]);s++)i||1!==n.nodeType||C.cleanData(Mt(n)),n.parentNode&&(i&&mt(n)&&It(Mt(n,"script")),n.parentNode.removeChild(n));return t}C.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,r,s,o,a=t.cloneNode(!0),l=mt(t);if(!(m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||C.isXMLDoc(t)))for(o=Mt(a),n=0,r=(s=Mt(t)).length;n<r;n++)Xt(s[n],o[n]);if(e)if(i)for(s=s||Mt(t),o=o||Mt(a),n=0,r=s.length;n<r;n++)Ut(s[n],o[n]);else Ut(t,a);return(o=Mt(a,"script")).length>0&&It(o,!l&&Mt(t,"script")),a},cleanData:function(t){for(var e,i,n,r=C.event.special,s=0;void 0!==(i=t[s]);s++)if(st(i)){if(e=i[at.expando]){if(e.events)for(n in e.events)r[n]?C.event.remove(i,n):C.removeEvent(i,n,e.handle);i[at.expando]=void 0}i[lt.expando]&&(i[lt.expando]=void 0)}}}),C.fn.extend({detach:function(t){return Ht(this,t,!0)},remove:function(t){return Ht(this,t)},text:function(t){return tt(this,function(t){return void 0===t?C.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return qt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Gt(this,t).appendChild(t)})},prepend:function(){return qt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Gt(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return qt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return qt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(C.cleanData(Mt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return C.clone(this,t,e)})},html:function(t){return tt(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Nt.test(t)&&!kt[(Tt.exec(t)||["",""])[1].toLowerCase()]){t=C.htmlPrefilter(t);try{for(;i<n;i++)1===(e=this[i]||{}).nodeType&&(C.cleanData(Mt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return qt(this,arguments,function(e){var i=this.parentNode;C.inArray(this,t)<0&&(C.cleanData(Mt(this)),i&&i.replaceChild(e,this))},t)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){C.fn[t]=function(t){for(var i,n=[],r=C(t),s=r.length-1,o=0;o<=s;o++)i=o===s?this:this.clone(!0),C(r[o])[e](i),c.apply(n,i.get());return this.pushStack(n)}});var $t=new RegExp("^("+ut+")(?!px)[a-z%]+$","i"),Vt=/^--/,Kt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},Zt=function(t,e,i){var n,r,s={};for(r in e)s[r]=t.style[r],t.style[r]=e[r];for(r in n=i.call(t),e)t.style[r]=s[r];return n},Jt=new RegExp(ft.join("|"),"i");function Qt(t,e,i){var n,r,s,o,a=Vt.test(e),l=t.style;return(i=i||Kt(t))&&(o=i.getPropertyValue(e)||i[e],a&&o&&(o=o.replace(L,"$1")||void 0),""!==o||mt(t)||(o=C.style(t,e)),!m.pixelBoxStyles()&&$t.test(o)&&Jt.test(e)&&(n=l.width,r=l.minWidth,s=l.maxWidth,l.minWidth=l.maxWidth=l.width=o,o=i.width,l.width=n,l.minWidth=r,l.maxWidth=s)),void 0!==o?o+"":o}function te(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(h){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",h.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",gt.appendChild(c).appendChild(h);var t=n.getComputedStyle(h);i="1%"!==t.top,l=12===e(t.marginLeft),h.style.right="60%",o=36===e(t.right),r=36===e(t.width),h.style.position="absolute",s=12===e(h.offsetWidth/3),gt.removeChild(c),h=null}}function e(t){return Math.round(parseFloat(t))}var i,r,s,o,a,l,c=y.createElement("div"),h=y.createElement("div");h.style&&(h.style.backgroundClip="content-box",h.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===h.style.backgroundClip,C.extend(m,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),o},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),s},reliableTrDimensions:function(){var t,e,i,r;return null==a&&(t=y.createElement("table"),e=y.createElement("tr"),i=y.createElement("div"),t.style.cssText="position:absolute;
2left:-11111px;border-collapse:separate",e.style.cssText="box-sizing:content-box;border:1px solid",e.style.height="1px",i.style.height="9px",i.style.display="block",gt.appendChild(t).appendChild(e).appendChild(i),r=n.getComputedStyle(e),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===e.offsetHeight,gt.removeChild(t)),a}}))}();var ee=["Webkit","Moz","ms"],ie=y.createElement("div").style,ne={};function re(t){var e=C.cssProps[t]||ne[t];return e||(t in ie?t:ne[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),i=ee.length;i--;)if((t=ee[i]+e)in ie)return t}(t)||t)}var se=/^(none|table(?!-c[ea]).+)/,oe={position:"absolute",visibility:"hidden",display:"block"},ae={letterSpacing:"0",fontWeight:"400"};function le(t,e,i){var n=pt.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function ce(t,e,i,n,r,s){var o="width"===e?1:0,a=0,l=0,c=0;if(i===(n?"border":"content"))return 0;for(;o<4;o+=2)"margin"===i&&(c+=C.css(t,i+ft[o],!0,r)),n?("content"===i&&(l-=C.css(t,"padding"+ft[o],!0,r)),"margin"!==i&&(l-=C.css(t,"border"+ft[o]+"Width",!0,r))):(l+=C.css(t,"padding"+ft[o],!0,r),"padding"!==i?l+=C.css(t,"border"+ft[o]+"Width",!0,r):a+=C.css(t,"border"+ft[o]+"Width",!0,r));return!n&&s>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-s-l-a-.5))||0),l+c}function he(t,e,i){var n=Kt(t),r=(!m.boxSizingReliable()||i)&&"border-box"===C.css(t,"boxSizing",!1,n),s=r,o=Qt(t,e,n),a="offset"+e[0].toUpperCase()+e.slice(1);if($t.test(o)){if(!i)return o;o="auto"}return(!m.boxSizingReliable()&&r||!m.reliableTrDimensions()&&A(t,"tr")||"auto"===o||!parseFloat(o)&&"inline"===C.css(t,"display",!1,n))&&t.getClientRects().length&&(r="border-box"===C.css(t,"boxSizing",!1,n),(s=a in t)&&(o=t[a])),(o=parseFloat(o)||0)+ce(t,e,i||(r?"border":"content"),s,n,o)+"px"}function de(t,e,i,n,r){return new de.prototype.init(t,e,i,n,r)}C.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=Qt(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,s,o,a=rt(e),l=Vt.test(e),c=t.style;if(l||(e=re(a)),o=C.cssHooks[e]||C.cssHooks[a],void 0===i)return o&&"get"in o&&void 0!==(r=o.get(t,!1,n))?r:c[e];"string"===(s=typeof i)&&(r=pt.exec(i))&&r[1]&&(i=yt(t,e,r),s="number"),null!=i&&i==i&&("number"!==s||l||(i+=r&&r[3]||(C.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==i||0!==e.indexOf("background")||(c[e]="inherit"),o&&"set"in o&&void 0===(i=o.set(t,i,n))||(l?c.setProperty(e,i):c[e]=i))}},css:function(t,e,i,n){var r,s,o,a=rt(e);return Vt.test(e)||(e=re(a)),(o=C.cssHooks[e]||C.cssHooks[a])&&"get"in o&&(r=o.get(t,!0,i)),void 0===r&&(r=Qt(t,e,n)),"normal"===r&&e in ae&&(r=ae[e]),""===i||i?(s=parseFloat(r),!0===i||isFinite(s)?s||0:r):r}}),C.each(["height","width"],function(t,e){C.cssHooks[e]={get:function(t,i,n){if(i)return!se.test(C.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?he(t,e,n):Zt(t,oe,function(){return he(t,e,n)})},set:function(t,i,n){var r,s=Kt(t),o=!m.scrollboxSize()&&"absolute"===s.position,a=(o||n)&&"border-box"===C.css(t,"boxSizing",!1,s),l=n?ce(t,e,n,a,s):0;return a&&o&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(s[e])-ce(t,e,"border",!1,s)-.5)),l&&(r=pt.exec(i))&&"px"!==(r[3]||"px")&&(t.style[e]=i,i=C.css(t,e)),le(0,i,l)}}}),C.cssHooks.marginLeft=te(m.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Qt(t,"marginLeft"))||t.getBoundingClientRect().left-Zt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(t,e){C.cssHooks[t+e]={expand:function(i){for(var n=0,r={},s="string"==typeof i?i.split(" "):[i];n<4;n++)r[t+ft[n]+e]=s[n]||s[n-2]||s[0];return r}},"margin"!==t&&(C.cssHooks[t+e].set=le)}
vendor: 5,333 bytes, line 2
2),C.fn.extend({css:function(t,e){return tt(this,function(t,e,i){var n,r,s={},o=0;if(Array.isArray(e)){for(n=Kt(t),r=e.length;o<r;o++)s[e[o]]=C.css(t,e[o],!1,n);return s}return void 0!==i?C.style(t,e,i):C.css(t,e)},t,e,arguments.length>1)}}),C.Tween=de,de.prototype={constructor:de,init:function(t,e,i,n,r,s){this.elem=t,this.prop=i,this.easing=r||C.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=s||(C.cssNumber[i]?"":"px")},cur:function(){var t=de.propHooks[this.prop];return t&&t.get?t.get(this):de.propHooks._default.get(this)},run:function(t){var e,i=de.propHooks[this.prop];return this.options.duration?this.pos=e=C.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):de.propHooks._default.set(this),this}},de.prototype.init.prototype=de.prototype,de.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=C.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){C.fx.step[t.prop]?C.fx.step[t.prop](t):1!==t.elem.nodeType||!C.cssHooks[t.prop]&&null==t.elem.style[re(t.prop)]?t.elem[t.prop]=t.now:C.style(t.elem,t.prop,t.now+t.unit)}}},de.propHooks.scrollTop=de.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},C.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},C.fx=de.prototype.init,C.fx.step={};var ue,pe,fe=/^(?:toggle|show|hide)$/,ge=/queueHooks$/;function me(){pe&&(!1===y.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(me):n.setTimeout(me,C.fx.interval),C.fx.tick())}function _e(){return n.setTimeout(function(){ue=void 0}),ue=Date.now()}function ve(t,e){var i,n=0,r={height:t};for(e=e?1:0;n<4;n+=2-e)r["margin"+(i=ft[n])]=r["padding"+i]=t;return e&&(r.opacity=r.width=t),r}function ye(t,e,i){for(var n,r=(we.tweeners[e]||[]).concat(we.tweeners["*"]),s=0,o=r.length;s<o;s++)if(n=r[s].call(i,e,t))return n}function we(t,e,i){var n,r,s=0,o=we.prefilters.length,a=C.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=ue||_e(),i=Math.max(0,c.startTime+c.duration-e),n=1-(i/c.duration||0),s=0,o=c.tweens.length;s<o;s++)c.tweens[s].run(n);return a.notifyWith(t,[c,n,i]),n<1&&o?i:(o||a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:C.extend({},e),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},i),originalProperties:e,originalOptions:i,startTime:ue||_e(),duration:i.duration,tweens:[],createTween:function(e,i){var n=C.Tween(t,c.opts,e,i,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(n),n},stop:function(e){var i=0,n=e?c.tweens.length:0;if(r)return this;for(r=!0;i<n;i++)c.tweens[i].run(1);return e?(a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c,e])):a.rejectWith(t,[c,e]),this}}),h=c.props;for(!function(t,e){var i,n,r,s,o;for(i in t)if(r=e[n=rt(i)],s=t[i],Array.isArray(s)&&(r=s[1],s=t[i]=s[0]),i!==n&&(t[n]=s,delete t[i]),(o=C.cssHooks[n])&&"expand"in o)for(i in s=o.expand(s),delete t[n],s)i in t||(t[i]=s[i],e[i]=r);else e[n]=r}(h,c.opts.specialEasing);s<o;s++)if(n=we.prefilters[s].call(c,t,h,c.opts))return _(n.stop)&&(C._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return C.map(h,ye,c),_(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),C.fx.timer(C.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c}C.Animation=C.extend(we,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return yt(i.elem,t,pt.exec(e),i),i}]},tweener:function(t,e){_(t)?(e=t,t=["*"]):t=t.match(H);for(var i,n=0,r=t.length;n<r;n++)i=t[n],we.tweeners[i]=we.tweeners[i]||[],we.tweeners[i].unshift(e)},prefilters:[function(t,e,i){var n,r,s,o,a,l,c,h,d="width"in e||"height"in e,u=this,p={},f=t.style,g=t.nodeType&&vt(t),m=at.get(t,"fxshow");for(n in i.queue||(null==(o=C._queueHooks(t,"fx")).unqueued&&(o.unqueued=0,a=o.empty.fire,o.empty.fire=function(){o.unqueued||a()}),o.unqueued++,u.always(function(){u.always(function(){o.unqueued--,C.queue(t,"fx").length||o.empty.fire()})})),e)if(r=e[n],fe.test(r)){if(delete e[n],s=s||"toggle"===r,r===(g?"hide":"show")){if("show"!==r||!m||void 0===m[n])continue;g=!0}p[n]=m&&m[n]||C.style(t,n)}if((l=!C.isEmptyObject(e))||!C.isEmptyObject(p))for(n in d&&1===t.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=m&&m.display)&&(c=at.get(t,"display")),"none"===(h=C.css(t,"display"))&&(c?h=c:(bt([t],!0),c=t.style.display||c,h=C.css(t,"display"),bt([t]))),("inline"===h||"inline-block"===h&&null!=c)&&"none"===C.css(t,"float")&&(l||(u.done(function(){f.display=c}),null==c&&(h=f.display,c="none"===h?"":h)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",u.always(function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]})),l=!1,p)l||(m?"hidden"in m&&(g=m.hidden):m=at.access(t,"fxshow",{display:c}),s&&(m.hidden=!g),g&&bt([t],!0),u.done(function(){for(n in g||bt([t]),at.remove(t,"fxshow"),p)C.style(t,n,p[n])})),l=ye(g?m[n]:0,n,u),n in m||(m[n]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?we.prefilters.unshift(t):we.prefilters.push(t)}}
vendor: 4,292 bytes, line 2
2),C.speed=function(t,e,i){var n=t&&"object"==typeof t?C.extend({},t):{complete:i||!i&&e||_(t)&&t,duration:t,easing:i&&e||e&&!_(e)&&e};return C.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in C.fx.speeds?n.duration=C.fx.speeds[n.duration]:n.duration=C.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){_(n.old)&&n.old.call(this),n.queue&&C.dequeue(this,n.queue)},n},C.fn.extend({fadeTo:function(t,e,i,n){return this.filter(vt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var r=C.isEmptyObject(t),s=C.speed(e,i,n),o=function(){var e=we(this,C.extend({},t),s);(r||at.get(this,"finish"))&&e.stop(!0)};return o.finish=o,r||!1===s.queue?this.each(o):this.queue(s.queue,o)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",s=C.timers,o=at.get(this);if(r)o[r]&&o[r].stop&&n(o[r]);else for(r in o)o[r]&&o[r].stop&&ge.test(r)&&n(o[r]);for(r=s.length;r--;)s[r].elem!==this||null!=t&&s[r].queue!==t||(s[r].anim.stop(i),e=!1,s.splice(r,1));!e&&i||C.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,i=at.get(this),n=i[t+"queue"],r=i[t+"queueHooks"],s=C.timers,o=n?n.length:0;for(i.finish=!0,C.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=s.length;e--;)s[e].elem===this&&s[e].queue===t&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish})}}),C.each(["toggle","show","hide"],function(t,e){var i=C.fn[e];C.fn[e]=function(t,n,r){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(ve(e,!0),t,n,r)}}),C.each({slideDown:ve("show"),slideUp:ve("hide"),slideToggle:ve("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){C.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}),C.timers=[],C.fx.tick=function(){var t,e=0,i=C.timers;for(ue=Date.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||C.fx.stop(),ue=void 0},C.fx.timer=function(t){C.timers.push(t),C.fx.start()},C.fx.interval=13,C.fx.start=function(){pe||(pe=!0,me())},C.fx.stop=function(){pe=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(t,e){return t=C.fx&&C.fx.speeds[t]||t,e=e||"fx",this.queue(e,function(e,i){var r=n.setTimeout(e,t);i.stop=function(){n.clearTimeout(r)}})},function(){var t=y.createElement("input"),e=y.createElement("select").appendChild(y.createElement("option"));t.type="checkbox",m.checkOn=""!==t.value,m.optSelected=e.selected,(t=y.createElement("input")).value="t",t.type="radio",m.radioValue="t"===t.value}();var xe,be=C.expr.attrHandle;C.fn.extend({attr:function(t,e){return tt(this,C.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){C.removeAttr(this,t)})}}),C.extend({attr:function(t,e,i){var n,r,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===t.getAttribute?C.prop(t,e,i):(1===s&&C.isXMLDoc(t)||(r=C.attrHooks[e.toLowerCase()]||(C.expr.match.bool.test(e)?xe:void 0)),void 0!==i?null===i?void C.removeAttr(t,e):r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:(t.setAttribute(e,i+""),i):r&&"get"in r&&null!==(n=r.get(t,e))?n:null==(n=C.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&A(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n=0,r=e&&e.match(H);if(r&&1===t.nodeType)for(;i=r[n++];)t.removeAttribute(i)}}),xe={set:function(t,e,i){return!1===e?C.removeAttr(t,i):t.setAttribute(i,i),i}},C.each(C.expr.match.bool.source.match(/\w+/g),function(t,e){var i=be[e]||C.find.attr;be[e]=function(t,e,n){var r,s,o=e.toLowerCase();return n||(s=be[o],be[o]=r,r=null!=i(t,e,n)?o:null,be[o]=s),r}});var Ee=/^(?:input|select|textarea|button)$/i,Se=/^(?:a|area)$/i;function Ce(t){return(t.match(H)||[]).join(" ")}function Te(t){return t.getAttribute&&t.getAttribute("class")||""}function Ae(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(H)||[]}C.fn.extend({prop:function(t,e){return tt(this,C.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[C.propFix[t]||t]})}}
vendor: 7,330 bytes, line 2
2),C.extend({prop:function(t,e,i){var n,r,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&C.isXMLDoc(t)||(e=C.propFix[e]||e,r=C.propHooks[e]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:t[e]=i:r&&"get"in r&&null!==(n=r.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=C.find.attr(t,"tabindex");return e?parseInt(e,10):Ee.test(t.nodeName)||Se.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(C.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(t){var e,i,n,r,s,o;return _(t)?this.each(function(e){C(this).addClass(t.call(this,e,Te(this)))}):(e=Ae(t)).length?this.each(function(){if(n=Te(this),i=1===this.nodeType&&" "+Ce(n)+" "){for(s=0;s<e.length;s++)r=e[s],i.indexOf(" "+r+" ")<0&&(i+=r+" ");o=Ce(i),n!==o&&this.setAttribute("class",o)}}):this},removeClass:function(t){var e,i,n,r,s,o;return _(t)?this.each(function(e){C(this).removeClass(t.call(this,e,Te(this)))}):arguments.length?(e=Ae(t)).length?this.each(function(){if(n=Te(this),i=1===this.nodeType&&" "+Ce(n)+" "){for(s=0;s<e.length;s++)for(r=e[s];i.indexOf(" "+r+" ")>-1;)i=i.replace(" "+r+" "," ");o=Ce(i),n!==o&&this.setAttribute("class",o)}}):this:this.attr("class","")},toggleClass:function(t,e){var i,n,r,s,o=typeof t,a="string"===o||Array.isArray(t);return _(t)?this.each(function(i){C(this).toggleClass(t.call(this,i,Te(this),e),e)}):"boolean"==typeof e&&a?e?this.addClass(t):this.removeClass(t):(i=Ae(t),this.each(function(){if(a)for(s=C(this),r=0;r<i.length;r++)n=i[r],s.hasClass(n)?s.removeClass(n):s.addClass(n);else void 0!==t&&"boolean"!==o||((n=Te(this))&&at.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===t?"":at.get(this,"__className__")||""))}))},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&(" "+Ce(Te(i))+" ").indexOf(e)>-1)return!0;return!1}});var ke=/\r/g;C.fn.extend({val:function(t){var e,i,n,r=this[0];return arguments.length?(n=_(t),this.each(function(i){var r;1===this.nodeType&&(null==(r=n?t.call(this,i,C(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=C.map(r,function(t){return null==t?"":t+""})),(e=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))})):r?(e=C.valHooks[r.type]||C.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(r,"value"))?i:"string"==typeof(i=r.value)?i.replace(ke,""):null==i?"":i:void 0}}),C.extend({valHooks:{option:{get:function(t){var e=C.find.attr(t,"value");return null!=e?e:Ce(C.text(t))}},select:{get:function(t){var e,i,n,r=t.options,s=t.selectedIndex,o="select-one"===t.type,a=o?null:[],l=o?s+1:r.length;for(n=s<0?l:o?s:0;n<l;n++)if(((i=r[n]).selected||n===s)&&!i.disabled&&(!i.parentNode.disabled||!A(i.parentNode,"optgroup"))){if(e=C(i).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var i,n,r=t.options,s=C.makeArray(e),o=r.length;o--;)((n=r[o]).selected=C.inArray(C.valHooks.option.get(n),s)>-1)&&(i=!0);return i||(t.selectedIndex=-1),s}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=C.inArray(C(t).val(),e)>-1}},m.checkOn||(C.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Me=n.location,Ie={guid:Date.now()},Re=/\?/;C.parseXML=function(t){var e,i;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){}return i=e&&e.getElementsByTagName("parsererror")[0],e&&!i||C.error("Invalid XML: "+(i?C.map(i.childNodes,function(t){return t.textContent}).join("\n"):t)),e};var Le=/^(?:focusinfocus|focusoutblur)$/,Pe=function(t){t.stopPropagation()};C.extend(C.event,{trigger:function(t,e,i,r){var s,o,a,l,c,h,d,u,f=[i||y],g=p.call(t,"type")?t.type:t,m=p.call(t,"namespace")?t.namespace.split("."):[];if(o=u=a=i=i||y,3!==i.nodeType&&8!==i.nodeType&&!Le.test(g+C.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,(t=t[C.expando]?t:new C.Event(g,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:C.makeArray(e,[t]),d=C.event.special[g]||{},r||!d.trigger||!1!==d.trigger.apply(i,e))){if(!r&&!d.noBubble&&!v(i)){for(l=d.delegateType||g,Le.test(l+g)||(o=o.parentNode);o;o=o.parentNode)f.push(o),a=o;a===(i.ownerDocument||y)&&f.push(a.defaultView||a.parentWindow||n)}for(s=0;(o=f[s++])&&!t.isPropagationStopped();)u=o,t.type=s>1?l:d.bindType||g,(h=(at.get(o,"events")||Object.create(null))[t.type]&&at.get(o,"handle"))&&h.apply(o,e),(h=c&&o[c])&&h.apply&&st(o)&&(t.result=h.apply(o,e),!1===t.result&&t.preventDefault());return t.type=g,r||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),e)||!st(i)||c&&_(i[g])&&!v(i)&&((a=i[c])&&(i[c]=null),C.event.triggered=g,t.isPropagationStopped()&&u.addEventListener(g,Pe),i[g](),t.isPropagationStopped()&&u.removeEventListener(g,Pe),C.event.triggered=void 0,a&&(i[c]=a)),t.result}},simulate:function(t,e,i){var n=C.extend(new C.Event,i,{type:t,isSimulated:!0});C.event.trigger(n,null,e)}}),C.fn.extend({trigger:function(t,e){return this.each(function(){C.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return C.event.trigger(t,e,i,!0)}});var De=/\[\]$/,Oe=/\r?\n/g,Fe=/^(?:submit|button|image|reset|file)$/i,ze=/^(?:input|select|textarea|keygen)/i;function Ne(t,e,i,n){var r;if(Array.isArray(e))C.each(e,function(e,r){i||De.test(t)?n(t,r):Ne(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,i,n)});else if(i||"object"!==b(e))n(t,e);else for(r in e)Ne(t+"["+r+"]",e[r],i,n)}C.param=function(t,e){var i,n=[],r=function(t,e){var i=_(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==i?"":i)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!C.isPlainObject(t))C.each(t,function(){r(this.name,this.value)});else for(i in t)Ne(i,t[i],e,r);return n.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=C.prop(this,"elements");return t?C.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!C(this).is(":disabled")&&ze.test(this.nodeName)&&!Fe.test(t)&&(this.checked||!Ct.test(t))}).map(function(t,e){var i=C(this).val();return null==i?null:Array.isArray(i)?C.map(i,function(t){return{name:e.name,value:t.replace(Oe,"\r\n")}}):{name:e.name,value:i.replace(Oe,"\r\n")}}).get()}});var Be=/%20/g,je=/#.*$/,Ge=/([?&])_=[^&]*/,We=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ye=/^(?:GET|HEAD)$/,Ue=/^\/\//,Xe={},qe={},He="*/".concat("*"),$e=y.createElement("a");function Ve(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,r=0,s=e.toLowerCase().match(H)||[];if(_(i))for(;n=s[r++];)"+"===n[0]?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function Ke(t,e,i,n){var r={},s=t===qe;function o(a){var l;
vendor: 1,213 bytes, line 2
2return r[a]=!0,C.each(t[a]||[],function(t,a){var c=a(e,i,n);return"string"!=typeof c||s||r[c]?s?!(l=c):void 0:(e.dataTypes.unshift(c),o(c),!1)}),l}return o(e.dataTypes[0])||!r["*"]&&o("*")}function Ze(t,e){var i,n,r=C.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((r[i]?t:n||(n={}))[i]=e[i]);return n&&C.extend(!0,t,n),t}$e.href=Me.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Me.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Me.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":He,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ze(Ze(t,C.ajaxSettings),e):Ze(C.ajaxSettings,t)},ajaxPrefilter:Ve(Xe),ajaxTransport:Ve(qe),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,r,s,o,a,l,c,h,d,u,p=C.ajaxSetup({}
vendor: 8,685 bytes, line 2
2,e),f=p.context||p,g=p.context&&(f.nodeType||f.jquery)?C(f):C.event,m=C.Deferred(),_=C.Callbacks("once memory"),v=p.statusCode||{},w={},x={},b="canceled",E={readyState:0,getResponseHeader:function(t){var e;if(c){if(!o)for(o={};e=We.exec(s);)o[e[1].toLowerCase()+" "]=(o[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=o[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?s:null},setRequestHeader:function(t,e){return null==c&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==c&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)E.always(t[E.status]);else for(e in t)v[e]=[v[e],t[e]];return this},abort:function(t){var e=t||b;return i&&i.abort(e),S(0,e),this}};if(m.promise(E),p.url=((t||p.url||Me.href)+"").replace(Ue,Me.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(H)||[""],null==p.crossDomain){l=y.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=$e.protocol+"//"+$e.host!=l.protocol+"//"+l.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=C.param(p.data,p.traditional)),Ke(Xe,p,e,E),c)return E;for(d in(h=C.event&&p.global)&&0===C.active++&&C.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ye.test(p.type),r=p.url.replace(je,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Be,"+")):(u=p.url.slice(r.length),p.data&&(p.processData||"string"==typeof p.data)&&(r+=(Re.test(r)?"&":"?")+p.data,delete p.data),!1===p.cache&&(r=r.replace(Ge,"$1"),u=(Re.test(r)?"&":"?")+"_="+Ie.guid+++u),p.url=r+u),p.ifModified&&(C.lastModified[r]&&E.setRequestHeader("If-Modified-Since",C.lastModified[r]),C.etag[r]&&E.setRequestHeader("If-None-Match",C.etag[r])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&E.setRequestHeader("Content-Type",p.contentType),E.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+He+"; q=0.01":""):p.accepts["*"]),p.headers)E.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(f,E,p)||c))return E.abort();if(b="abort",_.add(p.complete),E.done(p.success),E.fail(p.error),i=Ke(qe,p,e,E)){if(E.readyState=1,h&&g.trigger("ajaxSend",[E,p]),c)return E;p.async&&p.timeout>0&&(a=n.setTimeout(function(){E.abort("timeout")},p.timeout));try{c=!1,i.send(w,S)}catch(t){if(c)throw t;S(-1,t)}}else S(-1,"No Transport");function S(t,e,o,l){var d,u,y,w,x,b=e;c||(c=!0,a&&n.clearTimeout(a),i=void 0,s=l||"",E.readyState=t>0?4:0,d=t>=200&&t<300||304===t,o&&(w=function(t,e,i){for(var n,r,s,o,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(r in a)if(a[r]&&a[r].test(n)){l.unshift(r);break}if(l[0]in i)s=l[0];else{for(r in i){if(!l[0]||t.converters[r+" "+l[0]]){s=r;break}o||(o=r)}s=s||o}if(s)return s!==l[0]&&l.unshift(s),i[s]}(p,E,o)),!d&&C.inArray("script",p.dataTypes)>-1&&C.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),w=function(t,e,i,n){var r,s,o,a,l,c={},h=t.dataTypes.slice();if(h[1])for(o in t.converters)c[o.toLowerCase()]=t.converters[o];for(s=h.shift();s;)if(t.responseFields[s]&&(i[t.responseFields[s]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=s,s=h.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(o=c[l+" "+s]||c["* "+s]))for(r in c)if((a=r.split(" "))[1]===s&&(o=c[l+" "+a[0]]||c["* "+a[0]])){!0===o?o=c[r]:!0!==c[r]&&(s=a[0],h.unshift(a[1]));break}if(!0!==o)if(o&&t.throws)e=o(e);else try{e=o(e)}catch(t){return{state:"parsererror",error:o?t:"No conversion from "+l+" to "+s}}}return{state:"success",data:e}}(p,w,E,d),d?(p.ifModified&&((x=E.getResponseHeader("Last-Modified"))&&(C.lastModified[r]=x),(x=E.getResponseHeader("etag"))&&(C.etag[r]=x)),204===t||"HEAD"===p.type?b="nocontent":304===t?b="notmodified":(b=w.state,u=w.data,d=!(y=w.error))):(y=b,!t&&b||(b="error",t<0&&(t=0))),E.status=t,E.statusText=(e||b)+"",d?m.resolveWith(f,[u,b,E]):m.rejectWith(f,[E,b,y]),E.statusCode(v),v=void 0,h&&g.trigger(d?"ajaxSuccess":"ajaxError",[E,p,d?u:y]),_.fireWith(f,[E,b]),h&&(g.trigger("ajaxComplete",[E,p]),--C.active||C.event.trigger("ajaxStop")))}return E},getJSON:function(t,e,i){return C.get(t,e,i,"json")},getScript:function(t,e){return C.get(t,void 0,e,"script")}}),C.each(["get","post"],function(t,e){C[e]=function(t,i,n,r){return _(i)&&(r=r||n,n=i,i=void 0),C.ajax(C.extend({url:t,type:e,dataType:r,data:i,success:n},C.isPlainObject(t)&&t))}}),C.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),C._evalUrl=function(t,e,i){return C.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){C.globalEval(t,e,i)}})},C.fn.extend({wrapAll:function(t){var e;return this[0]&&(_(t)&&(t=t.call(this[0])),e=C(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return _(t)?this.each(function(e){C(this).wrapInner(t.call(this,e))}):this.each(function(){var e=C(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=_(t);return this.each(function(i){C(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(t){return!C.expr.pseudos.visible(t)},C.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Je={0:200,1223:204},Qe=C.ajaxSettings.xhr();m.cors=!!Qe&&"withCredentials"in Qe,m.ajax=Qe=!!Qe,C.ajaxTransport(function(t){var e,i;if(m.cors||Qe&&!t.crossDomain)return{send:function(r,s){var o,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)a[o]=t.xhrFields[o];for(o in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(o,r[o]);e=function(t){return function(){e&&(e=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?s(0,"error"):s(a.status,a.statusText):s(Je[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),i=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout(function(){e&&i()})},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),C.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return C.globalEval(t),t}}}),C.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),C.ajaxTransport("script",function(t){var e,i;if(t.crossDomain||t.scriptAttrs)return{send:function(n,r){e=C("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&r("error"===t.type?404:200,t.type)}),y.head.appendChild(e[0])},abort:function(){i&&i()}}});var ti,ei=[],ii=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=ei.pop()||C.expando+"_"+Ie.guid++;return this[t]=!0,t}}),C.ajaxPrefilter("json jsonp",function(t,e,i){var r,s,o,a=!1!==t.jsonp&&(ii.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ii.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=_(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(ii,"$1"+r):!1!==t.jsonp&&(t.url+=(Re.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return o||C.error(r+" was not called"),o[0]},t.dataTypes[0]="json",s=n[r],n[r]=function(){o=arguments},i.always(function(){void 0===s?C(n).removeProp(r):n[r]=s,t[r]&&(t.jsonpCallback=e.jsonpCallback,ei.push(r)),o&&_(s)&&s(o[0]),o=s=void 0}),"script"}),m.createHTMLDocument=((ti=y.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>
2",2===ti.childNodes.length),C.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(m.createHTMLDocument?((n=(e=y.implementation.createHTMLDocument("")).createElement("base")).href=y.location.href,e.head.appendChild(n)):e=y),s=!i&&[],(r=j.exec(t))?[e.createElement(r[1])]:(r=Lt([t],e,s),s&&s.length&&C(s).remove(),C.merge([],r.childNodes)));var n,r,s},C.fn.load=function(t,e,i){var n,r,s,o=this,a=t.indexOf(" ");return a>-1&&(n=Ce(t.slice(a)),t=t.slice(0,a)),_(e)?(i=e,e=void 0):e&&"object"==typeof e&&(r="POST"),o.length>0&&C.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){s=arguments,o.html(n?C("<div>").append(C.parseHTML(t)).find(n):t)}).always(i&&function(t,e){o.each(function(){i.apply(this,s||[t.responseText,e,t])})}),this},C.expr.pseudos.animated=function(t){return C.grep(C.timers,function(e){return t===e.elem}).length},C.offset={setOffset:function(t,e,i){var n,r,s,o,a,l,c=C.css(t,"position"),h=C(t),d={};"static"===c&&(t.style.position="relative"),a=h.offset(),s=C.css(t,"top"),l=C.css(t,"left"),("absolute"===c||"fixed"===c)&&(s+l).indexOf("auto")>-1?(o=(n=h.position()).top,r=n.left):(o=parseFloat(s)||0,r=parseFloat(l)||0),_(e)&&(e=e.call(t,i,C.extend({},a))),null!=e.top&&(d.top=e.top-a.top+o),null!=e.left&&(d.left=e.left-a.left+r),"using"in e?e.using.call(t,d):h.css(d)}},C.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){C.offset.setOffset(this,t,e)});var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],r={top:0,left:0};if("fixed"===C.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===C.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((r=C(t).offset()).top+=C.css(t,"borderTopWidth",!0),r.left+=C.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-C.css(n,"marginTop",!0),left:e.left-r.left-C.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===C.css(t,"position");)t=t.offsetParent;return t||gt})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i="pageYOffset"===e;C.fn[t]=function(n){return tt(this,function(t,n,r){var s;if(v(t)?s=t:9===t.nodeType&&(s=t.defaultView),void 0===r)return s?s[e]:t[n];s?s.scrollTo(i?s.pageXOffset:r,i?r:s.pageYOffset):t[n]=r},t,n,arguments.length)}}),C.each(["top","left"],function(t,e){C.cssHooks[e]=te(m.pixelPosition,function(t,i){if(i)return i=Qt(t,e),$t.test(i)?C(t).position()[e]+"px":i})}),C.each({Height:"height",Width:"width"},function(t,e){C.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){C.fn[n]=function(r,s){var o=arguments.length&&(i||"boolean"!=typeof r),a=i||(!0===r||!0===s?"margin":"border");return tt(this,function(e,i,r){var s;return v(e)?0===n.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(s=e.documentElement,Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])):void 0===r?C.css(e,i,a):C.style(e,i,r,a)},e,o?r:void 0,o)}})}),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){C.fn[e]=function(t){return this.on(e,t)}}),C.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)}}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){C.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}});var ni=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;C.proxy=function(t,e){var i,n,r;if("string"==typeof e&&(i=t[e],e=t,t=i),_(t))return n=a.call(arguments,2),r=function(){return t.apply(e||this,n.concat(a.call(arguments)))},r.guid=t.guid=t.guid||C.guid++,r},C.holdReady=function(t){t?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=A,C.isFunction=_,C.isWindow=v,C.camel
2Case=rt,C.type=b,C.now=Date.now,C.isNumeric=function(t){var e=C.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},C.trim=function(t){return null==t?"":(t+"").replace(ni,"$1")},void 0===(i=function(){return C}.apply(e,[]))||(t.exports=i);var ri=n.jQuery,si=n.$;return C.noConflict=function(t){return n.$===C&&(n.$=si),t&&n.jQuery===C&&(n.jQuery=ri),C},void 0===r&&(n.jQuery=n.$=C),C})},960:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});const n="/images/vendor/intl-tel-input/build/[email protected]?9d5328fb490cddd43f6698012123404b"}},i={};function n(t){var r=i[t];if(void 0!==r)return r.exports;var s=i[t]={id:t,exports:{}};return e[t].call(s.exports,s,s.exports,n),s.exports}n.m=e,t=[],n.O=(e,i,r,s)=>{if(!i){var o=1/0;for(h=0;h<t.length;h++){for(var[i,r,s]=t[h],a=!0,l=0;l<i.length;l++)(!1&s||o>=s)&&Object.keys(n.O).every(t=>n.O[t](i[l]))?i.splice(l--,1):(a=!1,s<o&&(o=s));if(a){t.splice(h--,1);var c=r();void 0!==c&&(e=c)}}return e}s=s||0;for(var h=t.length;h>0&&t[h-1][2]>s;h--)t[h]=t[h-1];t[h]=[i,r,s]},n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={847:0,252:0};n.O.j=e=>0===t[e];var e=(e,i)=>{var r,s,[o,a,l]=i,c=0;if(o.some(e=>0!==t[e])){for(r in a)n.o(a,r)&&(n.m[r]=a[r]);if(l)var h=l(n)}for(e&&e(i);c<o.length;c++)s=o[c],n.o(t,s)&&t[s]&&t[s][0](),t[s]=0;return n.O(h)},i=self.webpackChunk=self.webpackChunk||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})(),n.nc=void 0,n.O(void 0,[252],()=>n(421));var r=n.O(void 0,[252],()=>n(205));r=n.O(r)})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.