PageSourceSearch

https://davinesgroup.com/_next/static/chunks/6909-0b71fb2e69f400ba99e7.js

js davinesgroup.com collected 2026-10-03 19:51:50 UTC 89,761 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6909],{1612:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){if(t&&("object"===typeof t||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function p(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l(e);if(t){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function h(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=l(e)););return e}function m(){return(m="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=h(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}}).apply(this,arguments)}n.d(t,{Z:function(){return ee}});var g={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,cloningRatio:1,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function v(e){console.error("[Glide warn]: ".concat(e))}function y(e){return parseInt(e)}function b(e){return"string"===typeof e}function w(e){var t=i(e);return"function"===t||"object"===t&&!!e}function O(e){return"function"===typeof e}function k(e){return"undefined"===typeof e}function E(e){return e.constructor===Array}function _(e,t,n){var r={};for(var o in t)O(t[o])?r[o]=t[o](e,r,n):v("Extension must be a function");for(var i in r)O(r[i].mount)&&r[i].mount();return r}function S(e,t,n){Object.defineProperty(e,t,n)}function C(e,t){var n=Object.assign({},e,t);if(t.hasOwnProperty("classes")){n.classes=Object.assign({},e.classes,t.classes);["direction","type","slide","arrow","nav"].forEach((function(r){t.classes.hasOwnProperty(r)&&(n.classes[r]=o(o({},e.classes[r]),t.classes[r]))}))}return t.hasOwnProperty("breakpoints")&&(n.breakpoints=Object.assign({},e.breakpoints,t.breakpoints)),n}var M=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,e),this.events=t,this.hop=t.hasOwnProperty}return u(e,[{key:"on",value:function(e,t){if(!E(e)){this.hop.call(this.events,e)||(this.events[e]=[]);var n=this.events[e].push(t)-1;return{remove:function(){delete this.events[e][n]}}}for(var r=0;r<e.length;r++)this.on(e[r],t)}},{key:"emit",value:function(e,t){if(E(e))for(var n=0;n<e.length;
vendor: 18,201 bytes, line 1
1n++)this.emit(e[n],t);else this.hop.call(this.events,e)&&this.events[e].forEach((function(e){e(t||{})}))}}]),e}(),x=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s(this,e),this._c={},this._t=[],this._e=new M,this.disabled=!1,this.selector=t,this.settings=C(g,n),this.index=this.settings.startAt}return u(e,[{key:"mount",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._e.emit("mount.before"),w(e)?this._c=_(this,e,this._e):v("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return E(e)?this._t=e:v("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.settings=C(this.settings,e),e.hasOwnProperty("startAt")&&(this.index=e.startAt),this._e.emit("update"),this}},{key:"go",value:function(e){return this._c.Run.make(e),this}},{key:"move",value:function(e){return this._c.Transition.disable(),this._c.Move.make(e),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&(this.settings.autoplay=e),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(e,t){return this._e.on(e,t),this}},{key:"isType",value:function(e){return this.settings.type===e}},{key:"settings",get:function(){return this._o},set:function(e){w(e)?this._o=e:v("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(e){this._i=y(e)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(e){this._d=!!e}}]),e}();function j(){return(new Date).getTime()}function A(e,t){var n,r,o,i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=0,u=function(){a=!1===s.leading?0:j(),n=null,i=e.apply(r,o),n||(r=o=null)},c=function(){var c=j();a||!1!==s.leading||(a=c);var l=t-(c-a);return r=this,o=arguments,l<=0||l>t?(n&&(clearTimeout(n),n=null),a=c,i=e.apply(r,o),n||(r=o=null)):n||!1===s.trailing||(n=setTimeout(u,l)),i};return c.cancel=function(){clearTimeout(n),a=0,n=r=o=null},c}var P={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function T(e){if(e&&e.parentNode){for(var t=e.parentNode.firstChild,n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}return[]}function L(e){return Array.prototype.slice.call(e)}var I=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,e),this.listeners=t}return u(e,[{key:"on",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];b(e)&&(e=[e]);for(var o=0;o<e.length;o++)this.listeners[e[o]]=n,t.addEventListener(e[o],this.listeners[e[o]],r)}},{key:"off",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];b(e)&&(e=[e]);for(var r=0;r<e.length;r++)t.removeEventListener(e[r],this.listeners[e[r]],n)}},{key:"destroy",value:function(){delete this.listeners}}]),e}();var R=["ltr","rtl"],D={">":"<","<":">","=":"="};function N(e,t){return{modify:function(e){return t.Direction.is("rtl")?-e:e}}}function H(e,t){return{modify:function(e){var n=Math.floor(e/t.Sizes.slideWidth);return e+t.Gaps.value*n}}}function z(e,t){return{modify:function(e){return e+t.Clones.grow/2}}}function F(e,t){return{modify:function(n){if(e.settings.focusAt>=0){var r=t.Peek.value;return w(r)?n-r.before:n-r}return n}}}function U(e,t){return{modify:function(n){var r=t.Gaps.value,o=t.Sizes.width,i=e.settings.focusAt,s=t.Sizes.slideWidth;return"center"===i?n-(o/2-s/2):n-s*i-r*i}}}var B=!1;try{var q=Object.defineProperty({},"passive",{get:function(){B=!0}});window.addEventListener("testPassive",null,q),window.removeEventListener("testPassive",null,q)}catch(te){}var Z=B,W=["touchstart","mousedown"],G=["touchmove","mousemove"],$=["touchend","touchcancel","mouseup","mouseleave"],V=["mousedown","mousemove","mouseup","mouseleave"];var K='[data-glide-el^="controls"]',X="".concat(K,' [data-glide-dir*="<"]'),Y="".concat(K,' [data-glide-dir*=">"]');function J(e){return w(e)?(t=e,Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e[n],e}),{})):(v("Breakpoints option must be an object"),{});var t}var Q={Html:function(e,t,n){var r={mount:function(){this.root=e.selector,this.track=this.root.querySelector('[data-glide-el="track"]'),this.collectSlides()},collectSlides:function(){this.slides=L(this.wrapper.children).filter((function(t){return!t.classList.contains(e.settings.classes.slide.clone)}))}};return S(r,"root",{get:function(){return r._r},set:function(e){b(e)&&(e=document.querySelector(e)),null!==e?r._r=e:v("Root element must be a existing Html node")}}),S(r,"track",{get:function(){return r._t},set:function(e){r._t=e}}),S(r,"wrapper",{get:function(){return r.track.children[0]}}),n.on("update",(function(){r.collectSlides()})),r},Translate:function(e,t,n){var r={set:function(n){var r=function(e,t,n){var r=[H,z,F,U].concat(e._t,[N]);return{mutate:function(o){for(var i=0;i<r.length;i++){var s=r[i];O(s)&&O(s().modify)?o=s(e,t,n).modify(o):v("Transformer should be a function that returns an object with `modify()` method")}return o}}}(e,t).mutate(n),o="translate3d(".concat(-1*r,"px, 0px, 0px)");t.Html.wrapper.style.mozTransform=o,t.Html.wrapper.style.webkitTransform=o,t.Html.wrapper.style.transform=o},remove:function(){t.Html.wrapper.style.transform=""},getStartIndex:function(){var n=t.Sizes.length,r=e.index,o=e.settings.perView;return t.Run.isOffset(">")||t.Run.isOffset("|>")?n+(r-o):(r+o)%n},getTravelDistance:function(){var n=t.Sizes.slideWidth*e.settings.perView;return t.Run.isOffset(">")||t.Run.isOffset("|>")?-1*n:n}};return n.on("move",(function(o){if(!e.isType("carousel")||!t.Run.isOffset())return r.set(o.movement);t.Transition.after((function(){n.emit("translate.jump"),r.set(t.Sizes.slideWidth*e.index)}));var i=t.Sizes.slideWidth*t.Translate.getStartIndex();return r.set(i-t.Translate.getTravelDistance())})),n.on("destroy",(function(){r.remove()})),r},Transition:function(e,t,n){var r=!1,o={compose:function(t){var n=e.settings;return r?"".concat(t," 0ms ").concat(n.animationTimingFunc):"".concat(t," ").concat(this.duration,"ms ").concat(n.animationTimingFunc)},set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";t.Html.wrapper.style.transition=this.compose(e)},remove:function(){t.Html.wrapper.style.transition=""},after:function(e){setTimeout((function(){e()}),this.duration)},enable:function(){r=!1,this.set()},disable:function(){r=!0,this.set()}};return S(o,"duration",{get:function(){var n=e.settings;return e.isType("slider")&&t.Run.offset?n.rewindDuration:n.animationDuration}}),n.on("move",(function(){o.set()})),n.on(["build.before","resize","translate.jump"],(function(){o.disable()})),n.on("run",(function(){o.enable()})),n.on("destroy",(function(){o.remove()})),o},Direction:function(e,t,n){var r={mount:function(){this.value=e.settings.direction},resolve:function(e){var t=e.slice(0,1);return this.is("rtl")?e.split(t).join(D[t]):e},is:function(e){return this.value===e},addClass:function(){t.Html.root.classList.add(e.settings.classes.direction[this.value])},removeClass:function(){t.Html.root.classList.remove(e.settings.classes.direction[this.value])}};return S(r,"value",{get:function(){return r._v},set:function(e){R.indexOf(e)>-1?r._v=e:v("Direction value must be `ltr` or `rtl`")}}),n.on(["destroy","update"],(function(){r.removeClass()})),n.on("update",(function(){r.mount()})),n.on(["build.before","update"],(function(){r.addClass()})),r},Peek:function(e,t,n){var r={mount:function(){this.value=e.settings.peek}};return S(r,"value",{get:function(){return r._v},set:function(e){w(e)?(e.before=y(e.before),e.after=y(e.after)):e=y(e),r._v=e}}),S(r,"reductor",{get:function(){var t=r.value,n=e.settings.perView;return w(t)?t.before/n+t.after/n:2*t/n}}),n.on(["resize","update"],(function(){r.mount()})),r},Sizes:function(e,t,n){var r={setupSlides:function(){for(var e="".concat(this.slideWidth,"px"),n=t.Html.slides,r=0;r<n.length;r++)n[r].style.width=e},setupWrapper:function(){t.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var e=t.Html.slides,n=0;n<e.length;n++)e[n].style.width="";t.Html.wrapper.style.width=""}};return S(r,"length",{get:function(){return t.Html.slides.length}}),S(r,"width",{get:function(){return t.Html.track.offsetWidth}}),S(r,"wrapperSize",{get:function(){return r.slideWidth*r.length+t.Gaps.grow+t.Clones.grow}}),S(r,"slideWidth",{get:function(){return r.width/e.settings.perView-t.Peek.reductor-t.Gaps.reductor}}),n.on(["build.before","resize","update"],(function(){r.setupSlides(),r.setupWrapper()})),n.on("destroy",(function(){r.remove()})),r},Gaps:function(e,t,n){var r={apply:function(e){for(var n=0,r=e.length;n<r;n++){var o=e[n].style,i=t.Direction.value;o[P[i][0]]=0!==n?"".concat(this.value/2,"px"):"",n!==e.length-1?o[P[i][1]]="".concat(this.value/2,"px"):o[P[i][1]]=""}},remove:function(e){for(var t=0,n=e.length;t<n;t++){var r=e[t].style;r.marginLeft="",r.marginRight=""}}};return S(r,"value",{get:function(){return y(e.settings.gap)}}),S(r,"grow",{get:function(){return r.value*t.Sizes.length}}),S(r,"reductor",{get:function(){var t=e.settings.perView;return r.value*(t-1)/t}}),n.on(["build.after","update"],A((function(){r.apply(t.Html.wrapper.children)}),30)),n.on("destroy",(function(){r.remove(t.Html.wrapper.children)})),r},Move:function(e,t,n){var r={mount:function(){this._o=0},make:function(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.offset=r,n.emit("move",{movement:this.value}),t.Transition.after((function(){n.emit("move.after",{movement:e.value})}))}};return S(r,"offset",{get:function(){return r._o},set:function(e){r._o=k(e)?0:y(e)}}),S(r,"translate",{get:function(){return t.Sizes.slideWidth*e.index}}),S(r,"value",{get:function(){var e=this.offset,n=this.translate;return t.Direction.is("rtl")?n+e:n-e}}),n.on(["build.before","run"],(function(){r.make()})),r},Clones:function(e,t,n){var r={mount:function(){this.items=[],e.isType("carousel")&&(this.items=this.collect())},collect:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=t.Html.slides,o=e.settings,i=o.perView,s=o.classes,a=o.cloningRatio;if(r.length>0)for(var u=+!!e.settings.peek,c=i+u+Math.round(i/2),l=r.slice(0,c).reverse(),f=r.slice(-1*c),d=0;d<Math.max(a,Math.floor(i/r.length));d++){for(var p=0;p<l.length;p++){var h=l[p].cloneNode(!0);h.classList.add(s.slide.clone),n.push(h)}for(var m=0;m<f.length;m++){var g=f[m].cloneNode(!0);g.classList.add(s.slide.clone),n.unshift(g)}}return n},append:function(){for(var e=this.items,n=t.Html,r=n.wrapper,o=n.slides,i=Math.floor(e.length/2),s=e.slice(0,i).reverse(),a=e.slice(-1*i).reverse(),u="".concat(t.Sizes.slideWidth,"px"),c=0;c<a.length;c++)r.appendChild(a[c]);for(var l=0;l<s.length;l++)r.insertBefore(s[l],o[0]);for(var f=0;f<e.length;f++)e[f].style.width=u},remove:function(){for(var e=this.items,n=0;n<e.length;n++)t.Html.wrapper.removeChild(e[n])}};return S(r,"grow",{get:function(){return(t.Sizes.slideWidth+t.Gaps.value)*r.items.length}}),n.on("update",(function(){r.remove(),r.mount(),r.append()})),n.on("build.before",(function(){e.isType("carousel")&&r.append()})),n.on("destroy",(function(){r.remove()})),r},Resize:function(e,t,n){var r=new I,o={mount:function(){this.bind()},bind:function(){r.on("resize",window,A((function(){n.emit("resize")}),e.settings.throttle))},unbind:function(){r.off("resize",window)}};return n.on("destroy",(function(){o.unbind(),r.destroy()})),o},Build:function(e,t,n){var r={mount:function(){n.emit("build.before"),this.typeClass(),this.activeClass(),n.emit("build.after")},typeClass:function(){t.Html.root.classList.add(e.settings.classes.type[e.settings.type])},activeClass:function(){var n=e.settings.classes,r=t.Html.slides[e.index];r&&(r.classList.add(n.slide.active),T(r).forEach((function(e){e.classList.remove(n.slide.active)})))},removeClasses:function(){var n=e.settings.classes,r=n.type,o=n.slide;t.Html.root.classList.remove(r[e.settings.type]),t.Html.slides.forEach((function(e){e.classList.remove(o.active)}))}};return n.on(["destroy","update"],(function(){r.removeClasses()})),n.on(["resize","update"],(function(){r.mount()})),n.on("move.after",(function(){r.activeClass()})),r},Run:function(e,t,n){var r={mount:function(){this._o=!1},make:function(r){var o=this;e.disabled||(!e.settings.waitForTransition||e.disable(),this.move=r,n.emit("run.before",this.move),this.calculate(),n.emit("run",this.move),t.Transition.after((function(){o.isStart()&&n.emit("run.start",o.move),o.isEnd()&&n.emit("run.end",o.move),o.isOffset()&&(o._o=!1,n.emit("run.offset",o.move)),n.emit("run.after",o.move),e.enable()})))},calculate:function(){var t=this.move,n=this.length,o=t.steps,i=t.direction,s=1;if("="===i)return e.settings.bound&&y(o)>n?void(e.index=n):void(e.index=o);if(">"!==i||">"!==o)if("<"!==i||"<"!==o){if("|"===i&&(s=e.settings.perView||1),">"===i||"|"===i&&">"===o){var a=function(t){var n=e.index;if(e.isType("carousel"))return n+t;return n+(t-n%t)}(s);return a>n&&(this._o=!0),void(e.index=function(t,n){var o=r.length;if(t<=o)return t;if(e.isType("carousel"))return t-(o+1);if(e.settings.rewind)return r.isBound()&&!r.isEnd()?o:0;if(r.isBound())return o;return Math.floor(o/n)*n}(a,s))}if("<"===i||"|"===i&&"<"===o){var u=function(t){var n=e.index;if(e.isType("carousel"))return n-t;return(Math.ceil(n/t)-1)*t}(s);return u<0&&(this._o=!0),void(e.index=function(t,n){var o=r.length;if(t>=0)return t;if(e.isType("carousel"))return t+(o+1);if(e.settings.rewind)return r.isBound()&&r.isStart()?o:Math.floor(o/n)*n;return 0}(u,s))}v("Invalid direction pattern [".concat(i).concat(o,"] has been used"))}else e.index=0;else e.index=n},isStart:function(){return e.index<=0},isEnd:function(){return e.index>=this.length},isOffset:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return e?!!this._o&&("|>"===e?"|"===this.move.direction&&">"===this.move.steps:"|<"===e?"|"===this.move.direction&&"<"===this.move.steps:this.move.direction===e):this._o},isBound:function(){return e.isType("slider")&&"center"!==e.settings.focusAt&&e.settings.bound}};return S(r,"move",{get:function(){return this._m},set:function(e){var t=e.substr(1);this._m={direction:e.substr(0,1),steps:t?y(t)?y(t):t:0}}}),S(r,"length",{get:function(){var n=e.settings,r=t.Html.slides.length;return this.isBound()?r-1-(y(n.perView)-1)+y(n.focusAt):r-1}}),S(r,"offset",{get:function(){return this._o}}),r},Swipe:function(e,t,n){var r=new I,o=0,i=0,s=0,a=!1,u=!!Z&&{passive:!0},c={mount:function(){this.bindSwipeStart()},start:function(t){if(!a&&!e.disabled){this.disable();var r=this.touches(t);o=null,i=y(r.pageX),s=y(r.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),n.emit("swipe.start")}},move:function(r){if(!e.disabled){var a=e.settings,u=a.touchAngle,c=a.touchRatio,l=a.classes,f=this.touches(r),d=y(f.pageX)-i,p=y(f.pageY)-s,h=Math.abs(d<<2),m=Math.abs(p<<2),g=Math.sqrt(h+m),v=Math.sqrt(m);if(!(180*(o=Math.asin(v/g))/Math.PI<u))return!1;r.stopPropagation(),t.Move.make(d*parseFloat(c)),t.Html.root.classList.add(l.dragging),n.emit("swipe.move")}},end:function(r){if(!e.disabled){var s=e.settings,a=s.perSwipe,u=s.touchAngle,c=s.classes,l=this.touches(r),f=this.threshold(r),d=l.pageX-i,p=180*o/Math.PI;this.enable(),d>f&&p<u?t.Run.make(t.Direction.resolve("".concat(a,"<"))):d<-f&&p<u?t.Run.make(t.Direction.resolve("".concat(a,">"))):t.Move.make(),t.Html.root.classList.remove(c.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),n.emit("swipe.end")}},bindSwipeStart:function(){var n=this,o=e.settings,i=o.swipeThreshold,s=o.dragThreshold;i&&r.on(W[0],t.Html.wrapper,(function(e){n.start(e)}),u),s&&r.on(W[1],t.Html.wrapper,(function(e){n.start(e)}),u)},unbindSwipeStart:function(){r.off(W[0],t.Html.wrapper,u),r.off(W[1],t.Html.wrapper,u)},bindSwipeMove:function(){var n=this;r.on(G,t.Html.wrapper,A((function(e){n.move(e)}),e.settings.throttle),u)},unbindSwipeMove:function(){r.off(G,t.Html.wrapper,u)},bindSwipeEnd:function(){var e=this;r.on($,t.Html.wrapper,(function(t){e.end(t)}))},unbindSwipeEnd:function(){r.off($,t.Html.wrapper)},touches:function(e){return V.indexOf(e.type)>-1?e:e.touches[0]||e.changedTouches[0]},threshold:function(t){var n=e.settings;return V.indexOf(t.type)>-1?n.dragThreshold:n.swipeThreshold},enable:function(){return a=!1,t.Transition.enable(),this},disable:function(){return a=!0,t.Transition.disable(),this}};return n.on("build.after",(function(){t.Html.root.classList.add(e.settings.classes.swipeable)})),n.on("destroy",(function(){c.unbindSwipeStart(),c.unbindSwipeMove(),c.unbindSwipeEnd(),r.destroy()})),c},Images:function(e,t,n){var r=new I,o={mount:function(){this.bind()},bind:function(){r.on("dragstart",t.Html.wrapper,this.dragstart)},unbind:function(){r.off("dragstart",t.Html.wrapper)},dragstart:function(e){e.preventDefault()}};return n.on("destroy",(function(){o.unbind(),r.destroy()})),o},Anchors:function(e,t,n){var r=new I,o=!1,i=!1,s={mount:function(){this._a=t.Html.wrapper.querySelectorAll("a"),this.bind()},bind:function(){r.on("click",t.Html.wrapper,this.click)},unbind:function(){r.off("click",t.Html.wrapper)},click:function(e){i&&(e.stopPropagation(),e.preventDefault())},detach:function(){if(i=!0,!o){for(var e=0;e<this.items.length;e++)this.items[e].draggable=!1;o=!0}return this},attach:function(){if(i=!1,o){for(var e=0;e<this.items.length;e++)this.items[e].draggable=!0;o=!1}return this}};return S(s,"items",{get:function(){return s._a}}),n.on("swipe.move",(function(){s.detach()})),n.on("swipe.end",(function(){t.Transition.after((function(){s.attach()}))})),n.on("destroy",(function(){s.attach(),s.unbind(),r.destroy()})),s},Controls:function(e,t,n){var r=new I,o=!!Z&&{passive:!0},i={mount:function(){this._n=t.Html.root.querySelectorAll('[data-glide-el="
1controls[nav]"]'),this._c=t.Html.root.querySelectorAll(K),this._arrowControls={previous:t.Html.root.querySelectorAll(X),next:t.Html.root.querySelectorAll(Y)},this.addBindings()},setActive:function(){for(var e=0;e<this._n.length;e++)this.addClass(this._n[e].children)},removeActive:function(){for(var e=0;e<this._n.length;e++)this.removeClass(this._n[e].children)},addClass:function(t){var n=e.settings,r=t[e.index];r&&(r.classList.add(n.classes.nav.active),T(r).forEach((function(e){e.classList.remove(n.classes.nav.active)})))},removeClass:function(t){var n=t[e.index];null===n||void 0===n||n.classList.remove(e.settings.classes.nav.active)},setArrowState:function(){if(!e.settings.rewind){var n=i._arrowControls.next,r=i._arrowControls.previous;this.resetArrowState(n,r),0===e.index&&this.disableArrow(r),e.index===t.Run.length&&this.disableArrow(n)}},resetArrowState:function(){for(var t=e.settings,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];r.forEach((function(e){L(e).forEach((function(e){e.classList.remove(t.classes.arrow.disabled)}))}))},disableArrow:function(){for(var t=e.settings,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];r.forEach((function(e){L(e).forEach((function(e){e.classList.add(t.classes.arrow.disabled)}))}))},addBindings:function(){for(var e=0;e<this._c.length;e++)this.bind(this._c[e].children)},removeBindings:function(){for(var e=0;e<this._c.length;e++)this.unbind(this._c[e].children)},bind:function(e){for(var t=0;t<e.length;t++)r.on("click",e[t],this.click),r.on("touchstart",e[t],this.click,o)},unbind:function(e){for(var t=0;t<e.length;t++)r.off(["click","touchstart"],e[t])},click:function(e){Z||"touchstart"!==e.type||e.preventDefault();var n=e.currentTarget.getAttribute("data-glide-dir");t.Run.make(t.Direction.resolve(n))}};return S(i,"items",{get:function(){return i._c}}),n.on(["mount.after","move.after"],(function(){i.setActive()})),n.on(["mount.after","run"],(function(){i.setArrowState()})),n.on("destroy",(function(){i.removeBindings(),i.removeActive(),r.destroy()})),i},Keyboard:function(e,t,n){var r=new I,o={mount:function(){e.settings.keyboard&&this.bind()},bind:function(){r.on("keyup",document,this.press)},unbind:function(){r.off("keyup",document)},press:function(n){var r=e.settings.perSwipe;["ArrowRight","ArrowLeft"].includes(n.code)&&t.Run.make(t.Direction.resolve("".concat(r).concat({ArrowRight:">",ArrowLeft:"<"}[n.code])))}};return n.on(["destroy","update"],(function(){o.unbind()})),n.on("update",(function(){o.mount()})),n.on("destroy",(function(){r.destroy()})),o},Autoplay:function(e,t,n){var r=new I,o={mount:function(){this.enable(),this.start(),e.settings.hoverpause&&this.bind()},enable:function(){this._e=!0},disable:function(){this._e=!1},start:function(){var r=this;this._e&&(this.enable(),e.settings.autoplay&&k(this._i)&&(this._i=setInterval((function(){r.stop(),t.Run.make(">"),r.start(),n.emit("autoplay")}),this.time)))},stop:function(){this._i=clearInterval(this._i)},bind:function(){var e=this;r.on("mouseover",t.Html.root,(function(){e._e&&e.stop()})),r.on("mouseout",t.Html.root,(function(){e._e&&e.start()}))},unbind:function(){r.off(["mouseover","mouseout"],t.Html.root)}};return S(o,"time",{get:function(){var n=t.Html.slides[e.index].getAttribute("data-glide-autoplay");return y(n||e.settings.autoplay)}}),n.on(["destroy","update"],(function(){o.unbind()})),n.on(["run.before","swipe.start","update"],(function(){o.stop()})),n.on(["pause","destroy"],(function(){o.disable(),o.stop()})),n.on(["run.after","swipe.end"],(function(){o.start()})),n.on(["play"],(function(){o.enable(),o.start()})),n.on("update",(function(){o.mount()})),n.on("destroy",(function(){r.destroy()})),o},Breakpoints:function(e,t,n){var r=new I,o=e.settings,i=J(o.breakpoints),s=Object.assign({},o),a={match:function(e){if("undefined"!==typeof window.matchMedia)for(var t in e)if(e.hasOwnProperty(t)&&window.matchMedia("(max-width: ".concat(t,"px)")).matches)return e[t];return s}};return Object.assign(o,a.match(i)),r.on("resize",window,A((function(){e.settings=C(o,a.match(i))}),e.settings.throttle)),n.on("update",(function(){i=J(i),s=Object.assign({},o)})),n.on("destroy",(function(){r.off("resize",window)})),a}},ee=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(n,e);var t=p(n);function n(){return s(this,n),t.apply(this,arguments)}return u(n,[{key:"mount",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return m(l(n.prototype),"mount",this).call(this,Object.assign({},Q,e))}}]),n}(x)},7605:function(e,t,n){"use strict";n.d(t,{XL:function(){return ue}});const{getOwnPropertyNames:r,getOwnPropertySymbols:o}=Object,{hasOwnProperty:i}=Object.prototype;function s(e,t){return function(n,r,o){return e(n,r,o)&&t(n,r,o)}}function a(e){return function(t,n,r){if(!t||!n||"object"!==typeof t||"object"!==typeof n)return e(t,n,r);const{cache:o}=r,i=o.get(t),s=o.get(n);if(i&&s)return i===n&&s===t;o.set(t,n),o.set(n,t);const a=e(t,n,r);return o.delete(t),o.delete(n),a}}
1function u(e){return r(e).concat(o(e))}const c=Object.hasOwn||((e,t)=>i.call(e,t));function l(e,t){return e===t||!e&&!t&&e!==e&&t!==t}const{getOwnPropertyDescriptor:f,keys:d}=Object;function p(e,t){return e.byteLength===t.byteLength&&C(new Uint8Array(e),new Uint8Array(t))}function h(e,t,n){let r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function m(e,t){return e.byteLength===t.byteLength&&C(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function g(e,t){return l(e.getTime(),t.getTime())}function v(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function y(e,t){return e===t}function b(e,t,n){const r=e.size;if(r!==t.size)return!1;if(!r)return!0;const o=new Array(r),i=e.entries();let s,a,u=0;for(;(s=i.next())&&!s.done;){const r=t.entries();let i=!1,c=0;for(;(a=r.next())&&!a.done;){if(o[c]){c++;continue}const r=s.value,l=a.value;if(n.equals(r[0],l[0],u,c,e,t,n)&&n.equals(r[1],l[1],r[0],l[0],e,t,n)){i=o[c]=!0;break}c++}if(!i)return!1;u++}return!0}const w=l;function O(e,t,n){const r=d(e);let o=r.length;if(d(t).length!==o)return!1;for(;o-- >0;)if(!x(e,t,n,r[o]))return!1;return!0}function k(e,t,n){const r=u(e);let o,i,s,a=r.length;if(u(t).length!==a)return!1;for(;a-- >0;){if(o=r[a],!x(e,t,n,o))return!1;if(i=f(e,o),s=f(t,o),(i||s)&&(!i||!s||i.configurable!==s.configurable||i.enumerable!==s.enumerable||i.writable!==s.writable))return!1}return!0}function E(e,t){return l(e.valueOf(),t.valueOf())}function _(e,t){return e.source===t.source&&e.flags===t.flags}function S(e,t,n){const r=e.size;if(r!==t.size)return!1;if(!r)return!0;const o=new Array(r),i=e.values();let s,a;for(;(s=i.next())&&!s.done;){const r=t.values();let i=!1,u=0;for(;(a=r.next())&&!a.done;){if(!o[u]&&n.equals(s.value,a.value,s.value,a.value,e,t,n)){i=o[u]=!0;break}u++}if(!i)return!1}return!0}function C(e,t){let n=e.byteLength;if(t.byteLength!==n||e.byteOffset!==t.byteOffset)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function M(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function x(e,t,n,r){return!("_owner"!==r&&"__o"!==r&&"__v"!==r||!e.$$typeof&&!t.$$typeof)||c(t,r)&&n.equals(e[r],t[r],r,r,e,t,n)}const j={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},A=Object.prototype.toString;function P({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:o,areFunctionsEqual:i,areMapsEqual:s,areNumbersEqual:a,areObjectsEqual:u,arePrimitiveWrappersEqual:c,areRegExpsEqual:l,areSetsEqual:f,areTypedArraysEqual:d,areUrlsEqual:p,unknownTagComparators:h}){return function(m,g,v){if(m===g)return!0;if(null==m||null==g)return!1;const y=typeof m;if(y!==typeof g)return!1;if("object"!==y)return"number"===y?a(m,g,v):"function"===y&&i(m,g,v);const b=m.constructor;if(b!==g.constructor)return!1;if(b===Object)return u(m,g,v);if(Array.isArray(m))return t(m,g,v);if(b===Date)return r(m,g,v);if(b===RegExp)return l(m,g,v);if(b===Map)return s(m,g,v);if(b===Set)return f(m,g,v);const w=A.call(m);if("[object Date]"===w)return r(m,g,v);if("[object RegExp]"===w)return l(m,g,v);if("[object Map]"===w)return s(m,g,v);if("[object Set]"===w)return f(m,g,v);if("[object Object]"===w)return"function"!==typeof m.then&&"function"!==typeof g.then&&u(m,g,v);if("[object URL]"===w)return p(m,g,v);if("[object Error]"===w)return o(m,g,v);if("[object Arguments]"===w)return u(m,g,v);if(j[w])return d(m,g,v);if("[object ArrayBuffer]"===w)return e(m,g,v);if("[object DataView]"===w)return n(m,g,v);if("[object Boolean]"===w||"[object Number]"===w||"[object String]"===w)return c(m,g,v);if(h){let e=h[w];if(!e){const t=null!=(O=m)?O[Symbol.toStringTag]:void 0;t&&(e=h[t])}if(e)return e(m,g,v)}var O;return!1}}const T=L();L({strict:!0}),L({circular:!0}),L({circular:!0,strict:!0}),L({createInternalComparator:()=>l}),L({strict:!0,createInternalComparator:()=>l}),L({circular:!0,createInternalComparator:()=>l}),L({circular:!0,createInternalComparator:()=>l,strict:!0});function L(e={}){const{circular:t=!1,createInternalComparator:n,createState:r,strict:o=!1}=e,i=P(function({circular:e,createCustomConfig:t,strict:n}){let r={areArrayBuffersEqual:p,areArraysEqual:n?k:h,areDataViewsEqual:m,areDatesEqual:g,areErrorsEqual:v,areFunctionsEqual:y,areMapsEqual:n?s(b,k):b,areNumbersEqual:w,areObjectsEqual:n?k:O,arePrimitiveWrappersEqual:E,areRegExpsEqual:_,areSetsEqual:n?s(S,k):S,areTypedArraysEqual:n?s(C,k):C,areUrlsEqual:M,unknownTagComparators:void 0};if(t&&(r=Object.assign({},r,t(r))),e){const e=a(r.areArraysEqual),t=a(r.areMapsEqual),n=a(r.areObjectsEqual),o=a(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:e,areMapsEqual:t,areObjectsEqual:n,areSetsEqual:o})}return r}(e));var u;return function({circular:e,comparator:t,createState:n,equals:r,strict:o}){if(n)return function(i,s){const{cache:a=(e?new WeakMap:void 0),meta:u}=n();return t(i,s,{cache:a,equals:r,meta:u,strict:o})};
vendor: 10,972 bytes, line 1
1if(e)return function(e,n){return t(e,n,{cache:new WeakMap,equals:r,meta:void 0,strict:o})};const i={cache:void 0,equals:r,meta:void 0,strict:o};return function(e,n){return t(e,n,i)}}({circular:t,comparator:i,createState:r,equals:n?n(i):(u=i,function(e,t,n,r,o,i,s){return u(e,t,s)}),strict:o})}const I=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];class R{static from(e){if(!(e instanceof ArrayBuffer))throw new Error("Data must be an instance of ArrayBuffer.");const[t,n]=new Uint8Array(e,0,2);if(219!==t)throw new Error("Data does not appear to be in a KDBush format.");const r=n>>4;if(1!==r)throw new Error(`Got v${r} data when expected v1.`);const o=I[15&n];if(!o)throw new Error("Unrecognized array type.");const[i]=new Uint16Array(e,2,1),[s]=new Uint32Array(e,4,1);return new R(s,i,o,e)}constructor(e,t=64,n=Float64Array,r){if(isNaN(e)||e<0)throw new Error(`Unpexpected numItems value: ${e}.`);this.numItems=+e,this.nodeSize=Math.min(Math.max(+t,2),65535),this.ArrayType=n,this.IndexArrayType=e<65536?Uint16Array:Uint32Array;const o=I.indexOf(this.ArrayType),i=2*e*this.ArrayType.BYTES_PER_ELEMENT,s=e*this.IndexArrayType.BYTES_PER_ELEMENT,a=(8-s%8)%8;if(o<0)throw new Error(`Unexpected typed array class: ${n}.`);r&&r instanceof ArrayBuffer?(this.data=r,this.ids=new this.IndexArrayType(this.data,8,e),this.coords=new this.ArrayType(this.data,8+s+a,2*e),this._pos=2*e,this._finished=!0):(this.data=new ArrayBuffer(8+i+s+a),this.ids=new this.IndexArrayType(this.data,8,e),this.coords=new this.ArrayType(this.data,8+s+a,2*e),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,16+o]),new Uint16Array(this.data,2,1)[0]=t,new Uint32Array(this.data,4,1)[0]=e)}add(e,t){const n=this._pos>>1;return this.ids[n]=n,this.coords[this._pos++]=e,this.coords[this._pos++]=t,n}finish(){const e=this._pos>>1;if(e!==this.numItems)throw new Error(`Added ${e} items when expected ${this.numItems}.`);return D(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(e,t,n,r){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:o,coords:i,nodeSize:s}=this,a=[0,o.length-1,0],u=[];for(;a.length;){const c=a.pop()||0,l=a.pop()||0,f=a.pop()||0;if(l-f<=s){for(let s=f;s<=l;s++){const a=i[2*s],c=i[2*s+1];a>=e&&a<=n&&c>=t&&c<=r&&u.push(o[s])}continue}const d=f+l>>1,p=i[2*d],h=i[2*d+1];p>=e&&p<=n&&h>=t&&h<=r&&u.push(o[d]),(0===c?e<=p:t<=h)&&(a.push(f),a.push(d-1),a.push(1-c)),(0===c?n>=p:r>=h)&&(a.push(d+1),a.push(l),a.push(1-c))}return u}within(e,t,n){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:r,coords:o,nodeSize:i}=this,s=[0,r.length-1,0],a=[],u=n*n;for(;s.length;){const c=s.pop()||0,l=s.pop()||0,f=s.pop()||0;if(l-f<=i){for(let n=f;n<=l;n++)F(o[2*n],o[2*n+1],e,t)<=u&&a.push(r[n]);continue}const d=f+l>>1,p=o[2*d],h=o[2*d+1];F(p,h,e,t)<=u&&a.push(r[d]),(0===c?e-n<=p:t-n<=h)&&(s.push(f),s.push(d-1),s.push(1-c)),(0===c?e+n>=p:t+n>=h)&&(s.push(d+1),s.push(l),s.push(1-c))}return a}}function D(e,t,n,r,o,i){if(o-r<=n)return;const s=r+o>>1;N(e,t,s,r,o,i),D(e,t,n,r,s-1,1-i),D(e,t,n,s+1,o,1-i)}function N(e,t,n,r,o,i){for(;o>r;){if(o-r>600){const s=o-r+1,a=n-r+1,u=Math.log(s),c=.5*Math.exp(2*u/3),l=.5*Math.sqrt(u*c*(s-c)/s)*(a-s/2<0?-1:1);N(e,t,n,Math.max(r,Math.floor(n-a*c/s+l)),Math.min(o,Math.floor(n+(s-a)*c/s+l)),i)}const s=t[2*n+i];let a=r,u=o;for(H(e,t,r,n),t[2*o+i]>s&&H(e,t,r,o);a<u;){for(H(e,t,a,u),a++,u--;t[2*a+i]<s;)a++;for(;t[2*u+i]>s;)u--}t[2*r+i]===s?H(e,t,r,u):(u++,H(e,t,u,o)),u<=n&&(r=u+1),n<=u&&(o=u-1)}}function H(e,t,n,r){z(e,n,r),z(t,2*n,2*r),z(t,2*n+1,2*r+1)}function z(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function F(e,t,n,r){const o=e-n,i=t-r;return o*o+i*i}const U={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:e=>e},B=Math.fround||(q=new Float32Array(1),e=>(q[0]=+e,q[0]));var q;class Z{constructor(e){this.options=Object.assign(Object.create(U),e),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(e){const{log:t,minZoom:n,maxZoom:r}=this.options;t&&console.time("total time");const o=`prepare ${e.length} points`;t&&console.time(o),this.points=e;const i=[];for(let a=0;a<e.length;a++){const t=e[a];if(!t.geometry)continue;const[n,r]=t.geometry.coordinates,o=B($(n)),s=B(V(r));i.push(o,s,1/0,a,-1,1),this.options.reduce&&i.push(0)}let s=this.trees[r+1]=this._createTree(i);t&&console.timeEnd(o);for(let a=r;a>=n;a--){const e=+Date.now();s=this.trees[a]=this._createTree(this._cluster(s,a)),t&&console.log("z%d: %d clusters in %dms",a,s.numItems,+Date.now()-e)}return t&&console.timeEnd("total time"),this}getClusters(e,t){let n=((e[0]+180)%360+360)%360-180;const r=Math.max(-90,Math.min(90,e[1]));let o=180===e[2]?180:((e[2]+180)%360+360)%360-180;const i=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)n=-180,o=180;else if(n>o){const e=this.getClusters([n,r,180,i],t),s=this.getClusters([-180,r,o,i],t);return e.concat(s)}const s=this.trees[this._limitZoom(t)],a=s.range($(n),V(i),$(o),V(r)),u=s.data,c=[];for(const l of a){const e=this.stride*l;c.push(u[e+5]>1?W(u,e,this.clusterProps):this.points[u[e+3]])}return c}getChildren(e){const t=this._getOriginId(e),n=this._getOriginZoom(e),r="No cluster with the specified id.",o=this.trees[n];if(!o)throw new Error(r);const i=o.data;if(t*this.stride>=i.length)throw new Error(r);const s=this.options.radius/(this.options.extent*Math.pow(2,n-1)),a=i[t*this.stride],u=i[t*this.stride+1],c=o.within(a,u,s),l=[];for(const f of c){const t=f*this.stride;i[t+4]===e&&l.push(i[t+5]>1?W(i,t,this.clusterProps):this.points[i[t+3]])}if(0===l.length)throw new Error(r);return l}getLeaves(e,t,n){t=t||10,n=n||0;const r=[];return this._appendLeaves(r,e,t,n,0),r}getTile(e,t,n){const r=this.trees[this._limitZoom(e)],o=Math.pow(2,e),{extent:i,radius:s}=this.options,a=s/i,u=(n-a)/o,c=(n+1+a)/o,l={features:[]};return this._addTileFeatures(r.range((t-a)/o,u,(t+1+a)/o,c),r.data,t,n,o,l),0===t&&this._addTileFeatures(r.range(1-a/o,u,1,c),r.data,o,n,o,l),t===o-1&&this._addTileFeatures(r.range(0,u,a/o,c),r.data,-1,n,o,l),l.features.length?l:null}getClusterExpansionZoom(e){let t=this._getOriginZoom(e)-1;for(;t<=this.options.maxZoom;){const n=this.getChildren(e);if(t++,1!==n.length)break;e=n[0].properties.cluster_id}return t}_appendLeaves(e,t,n,r,o){const i=this.getChildren(t);for(const s of i){const t=s.properties;if(t&&t.cluster?o+t.point_count<=r?o+=t.point_count:o=this._appendLeaves(e,t.cluster_id,n,r,o):o<r?o++:e.push(s),e.length===n)break}return o}_createTree(e){const t=new R(e.length/this.stride|0,this.options.nodeSize,Float32Array);for(let n=0;n<e.length;n+=this.stride)t.add(e[n],e[n+1]);return t.finish(),t.data=e,t}_addTileFeatures(e,t,n,r,o,i){for(const s of e){const e=s*this.stride,a=t[e+5]>1;let u,c,l;if(a)u=G(t,e,this.clusterProps),c=t[e],l=t[e+1];else{const n=this.points[t[e+3]];u=n.properties;const[r,o]=n.geometry.coordinates;c=$(r),l=V(o)}const f={type:1,geometry:[[Math.round(this.options.extent*(c*o-n)),Math.round(this.options.extent*(l*o-r))]],tags:u};let d;d=a||this.options.generateId?t[e+3]:this.points[t[e+3]].id,void 0!==d&&(f.id=d),i.features.push(f)}}_limitZoom(e){return Math.max(this.options.minZoom,Math.min(Math.floor(+e),this.options.maxZoom+1))}_cluster(e,t){const{radius:n,extent:r,reduce:o,minPoints:i}=this.options,s=n/(r*Math.pow(2,t)),a=e.data,u=[],c=this.stride;for(let l=0;l<a.length;l+=c){if(a[l+2]<=t)continue;a[l+2]=t;const n=a[l],r=a[l+1],f=e.within(a[l],a[l+1],s),d=a[l+5];let p=d;for(const e of f){const n=e*c;a[n+2]>t&&(p+=a[n+5])}if(p>d&&p>=i){let e,i=n*d,s=r*d,h=-1;const m=((l/c|0)<<5)+(t+1)+this.points.length;for(const n of f){const r=n*c;if(a[r+2]<=t)continue;a[r+2]=t;const u=a[r+5];i+=a[r]*u,s+=a[r+1]*u,a[r+4]=m,o&&(e||(e=this._map(a,l,!0),h=this.clusterProps.length,this.clusterProps.push(e)),o(e,this._map(a,r)))}a[l+4]=m,u.push(i/p,s/p,1/0,m,-1,p),o&&u.push(h)}else{for(let e=0;e<c;e++)u.push(a[l+e]);if(p>1)for(const e of f){const n=e*c;if(!(a[n+2]<=t)){a[n+2]=t;for(let e=0;e<c;e++)u.push(a[n+e])}}}}return u}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,t,n){if(e[t+5]>1){const r=this.clusterProps[e[t+6]];return n?Object.assign({},r):r}const r=this.points[e[t+3]].properties,o=this.options.map(r);return n&&o===r?Object.assign({},o):o}}function W(e,t,n){return{type:"Feature",id:e[t+3],properties:G(e,t,n),geometry:{type:"Point",coordinates:[(r=e[t],360*(r-.5)),K(e[t+1])]}};var r}function G(e,t,n){const r=e[t+5],o=r>=1e4?`${Math.round(r/1e3)}k`:r>=1e3?Math.round(r/100)/10+"k":r,i=e[t+6],s=-1===i?{}:Object.assign({},n[i]);return Object.assign(s,{cluster:!0,cluster_id:e[t+3],point_count:r,point_count_abbreviated:o})}function $(e){return e/360+.5}function V(e){const t=Math.sin(e*Math.PI/180),n=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return n<0?0:n>1?1:n}function K(e){const t=(180-360*e)*Math.PI/180;return 360*Math.atan(Math.exp(t))/Math.PI-90}function X(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}"function"===typeof SuppressedError&&SuppressedError;class Y{static isAdvancedMarkerAvailable(e){return google.maps.marker&&!0===e.getMapCapabilities().isAdvancedMarkersAvailable}static isAdvancedMarker(e){return google.maps.marker&&e instanceof google.maps.marker.AdvancedMarkerElement}static setMap(e,t){this.isAdvancedMarker(e)?e.map=t:e.setMap(t)}static getPosition(e){if(this.isAdvancedMarker(e)){if(e.position){if(e.position instanceof google.maps.LatLng)return e.position;if(Number.isFinite(e.position.lat)&&Number.isFinite(e.position.lng))return new google.maps.LatLng(e.position.lat,e.position.lng)}return new google.maps.LatLng(null)}return e.getPosition()}static getVisible(e){return!!this.isAdvancedMarker(e)||e.getVisible()}}class J{constructor({markers:e,position:t}){this.markers=[],e&&(this.markers=e),t&&(t instanceof google.maps.LatLng?this._position=t:this._position=new google.maps.LatLng(t))}get bounds(){if(0===this.markers.length&&!this._position)return;const e=new google.maps.LatLngBounds(this._position,this._position);for(const t of this.markers)e.extend(Y.getPosition(t));return e}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter((e=>Y.getVisible(e))).length}push(e){this.markers.push(e)}delete(){this.marker&&(Y.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}}function Q(e,t="assertion failed"){if(null===e||void 0===e)throw Error(t)}class ee{constructor({maxZoom:e=16}){this.maxZoom=e}noop({markers:e}){return te(e)}}const te=e=>e.map((e=>new J({position:Y.getPosition(e),markers:[e]})));
1class ne extends ee{constructor(e){var{maxZoom:t,radius:n=60}=e,r=X(e,["maxZoom","radius"]);super({maxZoom:t}),this.markers=[],this.clusters=[],this.state={zoom:-1},this.superCluster=new Z(Object.assign({maxZoom:this.maxZoom,radius:n},r))}calculate(e){let t=!1,n=e.map.getZoom();Q(n),n=Math.round(n);const r={zoom:n};if(!T(e.markers,this.markers)){t=!0,this.markers=[...e.markers];const n=this.markers.map((e=>{const t=Y.getPosition(e);return{type:"Feature",geometry:{type:"Point",coordinates:[t.lng(),t.lat()]},properties:{marker:e}}}));this.superCluster.load(n)}return t||(this.state.zoom<=this.maxZoom||r.zoom<=this.maxZoom)&&(t=!T(this.state,r)),this.state=r,0===e.markers.length?(this.clusters=[],{clusters:this.clusters,changed:t}):(t&&(this.clusters=this.cluster(e)),{clusters:this.clusters,changed:t})}cluster({map:e}){const t=e.getZoom();return Q(t),this.superCluster.getClusters([-180,-90,180,90],Math.round(t)).map((e=>this.transformCluster(e)))}transformCluster({geometry:{coordinates:[e,t]},properties:n}){if(n.cluster)return new J({markers:this.superCluster.getLeaves(n.cluster_id,1/0).map((e=>e.properties.marker)),position:{lat:t,lng:e}});const r=n.marker;return new J({markers:[r],position:Y.getPosition(r)})}}class re{constructor(e,t){this.markers={sum:e.length};const n=t.map((e=>e.count)),r=n.reduce(((e,t)=>e+t),0);this.clusters={count:t.length,markers:{mean:r/t.length,sum:r,min:Math.min(...n),max:Math.max(...n)}}}}class oe{render({count:e,position:t},n,r){const o=`<svg fill="${e>Math.max(10,n.clusters.markers.mean)?"#ff0000":"#0000ff"}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="50" height="50">\n<circle cx="120" cy="120" opacity=".6" r="70" />\n<circle cx="120" cy="120" opacity=".3" r="90" />\n<circle cx="120" cy="120" opacity=".2" r="110" />\n<text x="50%" y="50%" style="fill:#fff" text-anchor="middle" font-size="50" dominant-baseline="middle" font-family="roboto,arial,sans-serif">${e}</text>\n</svg>`,i=`Cluster of ${e} markers`,s=Number(google.maps.Marker.MAX_ZINDEX)+e;if(Y.isAdvancedMarkerAvailable(r)){const e=(new DOMParser).parseFromString(o,"image/svg+xml").documentElement;e.setAttribute("transform","translate(0 25)");const n={map:r,position:t,zIndex:s,title:i,content:e};return new google.maps.marker.AdvancedMarkerElement(n)}const a={position:t,zIndex:s,title:i,icon:{url:`data:image/svg+xml;base64,${btoa(o)}`,anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(a)}}class ie{constructor(){!function(e,t){for(let n in t.prototype)e.prototype[n]=t.prototype[n]}(ie,google.maps.OverlayView)}}var se;!function(e){e.CLUSTERING_BEGIN="clusteringbegin",e.CLUSTERING_END="clusteringend",e.CLUSTER_CLICK="click",e.GMP_CLICK="gmp-click"}(se||(se={}));const ae=(e,t,n)=>{t.bounds&&n.fitBounds(t.bounds)};class ue extends ie{constructor({map:e,markers:t=[],algorithmOptions:n={},algorithm:r=new ne(n),renderer:o=new oe,onClusterClick:i=ae}){super(),this.map=null,this.idleListener=null,this.markers=[...t],this.clusters=[],this.algorithm=r,this.renderer=o,this.onClusterClick=i,e&&this.setMap(e)}addMarker(e,t){this.markers.includes(e)||(this.markers.push(e),t||this.render())}addMarkers(e,t){e.forEach((e=>{this.addMarker(e,!0)})),t||this.render()}removeMarker(e,t){const n=this.markers.indexOf(e);return-1!==n&&(Y.setMap(e,null),this.markers.splice(n,1),t||this.render(),!0)}removeMarkers(e,t){let n=!1;return e.forEach((e=>{n=this.removeMarker(e,!0)||n})),n&&!t&&this.render(),n}clearMarkers(e){this.markers.length=0,e||this.render()}render(){const e=this.getMap();if(e instanceof google.maps.Map&&e.getProjection()){google.maps.event.trigger(this,se.CLUSTERING_BEGIN,this);const{clusters:t,changed:n}=this.algorithm.calculate({markers:this.markers,map:e,mapCanvasProjection:this.getProjection()});if(n||void 0==n){const e=new Set;for(const r of t)1==r.markers.length&&e.add(r.markers[0]);const n=[];for(const t of this.clusters)null!=t.marker&&(1==t.markers.length?e.has(t.marker)||Y.setMap(t.marker,null):n.push(t.marker));this.clusters=t,this.renderClusters(),requestAnimationFrame((()=>n.forEach((e=>Y.setMap(e,null)))))}google.maps.event.trigger(this,se.CLUSTERING_END,this)}}onAdd(){const e=this.getMap();Q(e),this.idleListener=e.addListener("idle",this.render.bind(this)),this.render()}onRemove(){this.idleListener&&google.maps.event.removeListener(this.idleListener),this.reset()}
1reset(){this.markers.forEach((e=>Y.setMap(e,null))),this.clusters.forEach((e=>e.delete())),this.clusters=[]}renderClusters(){const e=new re(this.markers,this.clusters),t=this.getMap();this.clusters.forEach((n=>{if(1===n.markers.length)n.marker=n.markers[0];else if(n.marker=this.renderer.render(n,e,t),n.markers.forEach((e=>Y.setMap(e,null))),this.onClusterClick){const e=Y.isAdvancedMarker(n.marker)?se.GMP_CLICK:se.CLUSTER_CLICK;n.marker.addListener(e,(e=>{google.maps.event.trigger(this,se.CLUSTER_CLICK,n),this.onClusterClick(e,n,t)}))}Y.setMap(n.marker,t)}))}}},511:function(e,t,n){"use strict";n.d(t,{un:function(){return g},_Q:function(){return Z},D5:function(){return L},Sx:function(){return D}});var r=n(3689),o=n(3503),i=n(4920);function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function a(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))}"function"===typeof SuppressedError&&SuppressedError;const u="NOT_LOADED",c="LOADING",l="LOADED",f="FAILED",d="AUTH_FAILURE";class p{static load(e,t){return a(this,void 0,void 0,(function*(){var n,r;const o=e.libraries?e.libraries.split(","):[],i=this.serializeParams(e);this.listeners.push(t),(null===(r=null===(n=window.google)||void 0===n?void 0:n.maps)||void 0===r?void 0:r.importLibrary)?(this.serializedApiParams||(this.loadingStatus=l),this.notifyLoadingStatusListeners()):(this.serializedApiParams=i,this.initImportLibrary(e)),this.serializedApiParams&&this.serializedApiParams!==i&&console.warn("[google-maps-api-loader] The maps API has already been loaded with different parameters and will not be loaded again. Refresh the page for new values to have effect.");const s=["maps",...o];yield Promise.all(s.map((e=>google.maps.importLibrary(e))))}))}static serializeParams(e){return[e.v,e.key,e.language,e.region,e.authReferrerPolicy,e.solutionChannel].join("/")}static initImportLibrary(e){if(window.google||(window.google={}),window.google.maps||(window.google.maps={}),window.google.maps.importLibrary)return void console.error("[google-maps-api-loader-internal]: initImportLibrary must only be called once");let t=null;const n=()=>t||(t=new Promise(((t,n)=>{var r;const o=document.createElement("script"),i=new URLSearchParams;for(const[s,a]of Object.entries(e)){const e=s.replace(/[A-Z]/g,(e=>"_"+e[0].toLowerCase()));i.set(e,String(a))}i.set("loading","async"),i.set("callback","__googleMapsCallback__"),o.async=!0,o.src="https://maps.googleapis.com/maps/api/js?"+i.toString(),o.nonce=(null===(r=document.querySelector("script[nonce]"))||void 0===r?void 0:r.nonce)||"",o.onerror=()=>{this.loadingStatus=f,this.notifyLoadingStatusListeners(),n(new Error("The Google Maps JavaScript API could not load."))},window.__googleMapsCallback__=()=>{this.loadingStatus=l,this.notifyLoadingStatusListeners(),t()},window.gm_authFailure=()=>{this.loadingStatus=d,this.notifyLoadingStatusListeners()},this.loadingStatus=c,this.notifyLoadingStatusListeners(),document.head.append(o)})),t);google.maps.importLibrary=e=>n().then((()=>google.maps.importLibrary(e)))}static notifyLoadingStatusListeners(){for(const e of this.listeners)e(this.loadingStatus)}}p.loadingStatus=u,p.listeners=[];const h=["gmp_visgl_reactgooglemaps_v1.7.1"],m=r.createContext(null);const g=e=>{const{children:t}=e,n=s(e,["children"]),{mapInstances:o,addMapInstance:i,removeMapInstance:u,clearMapInstances:c}=function(){const[e,t]=(0,r.useState)({});return{mapInstances:e,addMapInstance:(e,n="default")=>{t((t=>Object.assign(Object.assign({},t),{[n]:e})))},removeMapInstance:(e="default")=>{t((t=>{var n=e;return t[n],s(t,["symbol"===typeof n?n:n+""])}))},clearMapInstances:()=>{t({})}}}(),{status:l,loadedLibraries:f,importLibrary:d}=function(e){const{onLoad:t,onError:n,apiKey:o,version:i,libraries:u=[]}=e,c=s(e,["onLoad","onError","apiKey","version","libraries"]),[l,f]=(0,r.useState)(p.loadingStatus),[d,h]=(0,r.useReducer)(((e,t)=>e[t.name]?e:Object.assign(Object.assign({},e),{[t.name]:t.value})),{}),m=(0,r.useMemo)((()=>null===u||void 0===u?void 0:u.join(",")),[u]),g=(0,r.useMemo)((()=>JSON.stringify(Object.assign({apiKey:o,version:i},c))),[o,i,c]),v=(0,r.useCallback)((e=>a(this,void 0,void 0,(function*(){var t;if(d[e])return d[e];if(!(null===(t=null===google||void 0===google?void 0:google.maps)||void 0===t?void 0:t.importLibrary))throw new Error("[api-provider-internal] importLibrary was called before google.maps.importLibrary was defined.");const n=yield window.google.maps.importLibrary(e);return h({name:e,value:n}),n}))),[d]);return(0,r.useEffect)((()=>{(()=>{a(this,void 0,void 0,(function*(){try{const e=Object.assign({key:o},c);i&&(e.v=i),(null===m||void 0===m?void 0:m.length)>0&&(e.libraries=m),(void 0===e.channel||e.channel<0||e.channel>999)&&delete e.channel,void 0===e.solutionChannel?e.solutionChannel="GMP_visgl_rgmlibrary_v1_default":""===e.solutionChannel&&delete e.solutionChannel,yield p.load(e,(e=>f(e)));for(const t of["core","maps",...u])yield v(t);t&&t()}catch(e){n?n(e):console.error("<ApiProvider> failed to load the Google Maps JavaScript API",e)}}))})()}),[o,m,g]),{status:l,loadedLibraries:d,importLibrary:v}}(n),g=function(e){return(0,r.useMemo)((()=>e.disableUsageAttribution?null:h),[e.disableUsageAttribution])}(n),v=(0,r.useMemo)((()=>({mapInstances:o,addMapInstance:i,removeMapInstance:u,clearMapInstances:c,status:l,loadedLibraries:f,importLibrary:d,internalUsageAttributionIds:g})),[o,i,u,c,l,f,d,g]);return r.createElement(m.Provider,{value:v},t)};function v(e,t,n){var r;
1const o={type:e,map:t,detail:{},stoppable:!1,stop:()=>{}};if(b.includes(e)){const e=o,n=t.getCenter(),r=t.getZoom(),i=t.getHeading()||0,s=t.getTilt()||0,a=t.getBounds();return n&&a&&Number.isFinite(r)||console.warn("[createEvent] at least one of the values from the map returned undefined. This is not expected to happen. Please report an issue at https://github.com/visgl/react-google-maps/issues/new"),e.detail={center:(null===n||void 0===n?void 0:n.toJSON())||{lat:0,lng:0},zoom:r||0,heading:i,tilt:s,bounds:(null===a||void 0===a?void 0:a.toJSON())||{north:90,east:180,south:-90,west:-180}},e}if(w.includes(e)){if(!n)throw new Error("[createEvent] mouse events must provide a srcEvent");const e=o;return e.domEvent=n.domEvent,e.stoppable=!0,e.stop=()=>n.stop(),e.detail={latLng:(null===(r=n.latLng)||void 0===r?void 0:r.toJSON())||null,placeId:n.placeId},e}return o}const y={onBoundsChanged:"bounds_changed",onCenterChanged:"center_changed",onClick:"click",onContextmenu:"contextmenu",onDblclick:"dblclick",onDrag:"drag",onDragend:"dragend",onDragstart:"dragstart",onHeadingChanged:"heading_changed",onIdle:"idle",onIsFractionalZoomEnabledChanged:"isfractionalzoomenabled_changed",onMapCapabilitiesChanged:"mapcapabilities_changed",onMapTypeIdChanged:"maptypeid_changed",onMousemove:"mousemove",onMouseout:"mouseout",onMouseover:"mouseover",onProjectionChanged:"projection_changed",onRenderingTypeChanged:"renderingtype_changed",onTilesLoaded:"tilesloaded",onTiltChanged:"tilt_changed",onZoomChanged:"zoom_changed",onCameraChanged:"bounds_changed"},b=["bounds_changed","center_changed","heading_changed","tilt_changed","zoom_changed"],w=["click","contextmenu","dblclick","mousemove","mouseout","mouseover"],O=Object.keys(y);function k(e,t){const n=function(e){const t=(0,r.useRef)(void 0);return(0,r.useEffect)((()=>{t.current=e})),t.current}(e);return(0,r.useMemo)((()=>n&&t(n,e)?n:e),[e,n,t])}function E(e,t){!function(e,t,n){(0,r.useEffect)(e,[k(t,n)])}(e,t,i)}const _=new Set(["backgroundColor","clickableIcons","controlSize","disableDefaultUI","disableDoubleClickZoom","draggable","draggableCursor","draggingCursor","fullscreenControl","fullscreenControlOptions","gestureHandling","headingInteractionEnabled","isFractionalZoomEnabled","keyboardShortcuts","mapTypeControl","mapTypeControlOptions","mapTypeId","maxZoom","minZoom","noClear","panControl","panControlOptions","restriction","rotateControl","rotateControlOptions","scaleControl","scaleControlOptions","scrollwheel","streetView","streetViewControl","streetViewControlOptions","styles","tiltInteractionEnabled","zoomControl","zoomControlOptions"]);function S(){var e;return(null===(e=(0,r.useContext)(m))||void 0===e?void 0:e.status)||u}function C(e){return function(e){return!(!e||"object"!==typeof e)&&"lat"in e&&"lng"in e&&Number.isFinite(e.lat)&&Number.isFinite(e.lng)}(e)?e:e.toJSON()}const M=()=>r.createElement("div",{style:{position:"absolute",top:0,left:0,bottom:0,right:0,zIndex:999,display:"flex",flexFlow:"column nowrap",textAlign:"center",justifyContent:"center",fontSize:".8rem",color:"rgba(0,0,0,0.6)",background:"#dddddd",padding:"1rem 1.5rem"}},r.createElement("h2",null,"Error: AuthFailure"),r.createElement("p",null,"A problem with your API key prevents the map from rendering correctly. Please make sure the value of the ",r.createElement("code",null,"APIProvider.apiKey")," prop is correct. Check the error-message in the console for further details."));function x(){return S()===l}function j(e){const t=function(){const[,e]=(0,r.useReducer)((e=>e+1),0);return e}(),n=(0,r.useRef)({center:{lat:0,lng:0},heading:0,tilt:0,zoom:0});return(0,r.useEffect)((()=>{if(!e)return;const r=google.maps.event.addListener(e,"bounds_changed",(()=>{!function(e,t){const n=e.getCenter(),r=e.getZoom(),o=e.getHeading()||0,i=e.getTilt()||0,s=e.getBounds();n&&s&&Number.isFinite(r)||console.warn("[useTrackedCameraState] at least one of the values from the map returned undefined. This is not expected to happen. Please report an issue at https://github.com/visgl/react-google-maps/issues/new"),Object.assign(t.current,{center:(null===n||void 0===n?void 0:n.toJSON())||{lat:0,lng:0},zoom:r||0,heading:o,tilt:i})}(e,n),t()}));return()=>r.remove()}),[e,t]),n}class A{static has(e){return this.entries[e]&&this.entries[e].length>0}static pop(e){return this.entries[e]&&this.entries[e].pop()||null}static push(e,t){this.entries[e]||(this.entries[e]=[]),this.entries[e].push(t)}}function P(e,t){const n=x(),[o,i]=(0,r.useState)(null),[a,u]=function(){const[e,t]=(0,r.useState)(null);return[e,(0,r.useCallback)((e=>t(e)),[t])]}(),c=j(o),{id:l,defaultBounds:f,defaultCenter:d,defaultZoom:p,defaultHeading:h,defaultTilt:m,reuseMaps:g,renderingType:v,colorScheme:y}=e,b=s(e,["id","defaultBounds","defaultCenter","defaultZoom","defaultHeading","defaultTilt","reuseMaps","renderingType","colorScheme"]),w=void 0!==e.zoom||void 0!==e.defaultZoom,O=void 0!==e.center||void 0!==e.defaultCenter;f||w&&O||console.warn("<Map> component is missing configuration. You have to provide zoom and center (via the `zoom`/`defaultZoom` and `center`/`defaultCenter` props) or specify the region to show using `defaultBounds`. See https://visgl.github.io/react-google-maps/docs/api-reference/components/map#required"),!b.center&&d&&(b.center=d),!b.zoom&&Number.isFinite(p)&&(b.zoom=p),!b.heading&&Number.isFinite(h)&&(b.heading=h),!b.tilt&&Number.isFinite(m)&&(b.tilt=m);const k=b.internalUsageAttributionIds;b.internalUsageAttributionIds=null==k?t.internalUsageAttributionIds:[...t.internalUsageAttributionIds||[],...k];for(const r of Object.keys(b))void 0===b[r]&&delete b[r];const E=(0,r.useRef)(void 0);return(0,r.useEffect)((()=>
1{if(!a||!n)return;const{addMapInstance:r,removeMapInstance:o}=t,{mapId:u}=e,d=`${u||"default"}:${v||"default"}:${y||"LIGHT"}`;let p,h;if(g&&A.has(d)?(h=A.pop(d),p=h.getDiv(),a.appendChild(p),h.setOptions(b),setTimeout((()=>h.setCenter(h.getCenter())),0)):(p=document.createElement("div"),p.style.height="100%",a.appendChild(p),h=new google.maps.Map(p,Object.assign(Object.assign(Object.assign({},b),v?{renderingType:v}:{}),y?{colorScheme:y}:{}))),i(h),r(h,l),f){const{padding:e}=f,t=s(f,["padding"]);h.fitBounds(t,e)}else w&&O||h.fitBounds({east:180,west:-180,south:-90,north:90});if(E.current){const{mapId:e,cameraState:t}=E.current;e!==u&&h.setOptions(t)}return()=>{E.current={mapId:u,cameraState:c.current},p.remove(),g?A.push(d,h):google.maps.event.clearInstanceListeners(h),i(null),o(l)}}),[a,n,l,e.mapId,e.renderingType,e.colorScheme]),[o,u,c]}A.entries={};const T=r.createContext(null),L=e=>{const{children:t,id:n,className:o,style:i}=e,s=(0,r.useContext)(m),a=S();if(!s)throw new Error("<Map> can only be used inside an <ApiProvider> component.");const[u,c,l]=P(e,s);!function(e,t,n){const o=n.center?C(n.center):null;let i=null,s=null;o&&Number.isFinite(o.lat)&&Number.isFinite(o.lng)&&(i=o.lat,s=o.lng);const a=Number.isFinite(n.zoom)?n.zoom:null,u=Number.isFinite(n.heading)?n.heading:null,c=Number.isFinite(n.tilt)?n.tilt:null;(0,r.useLayoutEffect)((()=>{if(!e)return;const n={};let r=!1;null===i||null===s||t.current.center.lat===i&&t.current.center.lng===s||(n.center={lat:i,lng:s},r=!0),null!==a&&t.current.zoom!==a&&(n.zoom=a,r=!0),null!==u&&t.current.heading!==u&&(n.heading=u,r=!0),null!==c&&t.current.tilt!==c&&(n.tilt=c,r=!0),r&&e.moveCamera(n)}))}(u,l,e),function(e,t){for(const n of O){const o=t[n],i=y[n];(0,r.useEffect)((()=>{if(!e)return;if(!o)return;const t=google.maps.event.addListener(e,i,(t=>{o(v(i,e,t))}));return()=>t.remove()}),[e,i,o])}}(u,e),function(e,t){const n={},r=Object.keys(t);for(const o of r)_.has(o)&&(n[o]=t[o]);E((()=>{e&&e.setOptions(n)}),[n])}(u,e);const f=function(e,t){const{viewport:n,viewState:o}=t,i=!!n;return(0,r.useLayoutEffect)((()=>{if(!e||!o)return;const{latitude:t,longitude:n,bearing:r,pitch:i,zoom:s}=o;e.moveCamera({center:{lat:t,lng:n},heading:r,tilt:i,zoom:s+1})}),[e,o]),i}(u,e),p=!!e.controlled;(0,r.useEffect)((()=>{if(u)return f&&u.setOptions({disableDefaultUI:!0}),(f||p)&&u.setOptions({gestureHandling:"none",keyboardShortcuts:!1}),()=>{u.setOptions({gestureHandling:e.gestureHandling,keyboardShortcuts:e.keyboardShortcuts})}}),[u,f,p,e.gestureHandling,e.keyboardShortcuts]);const h=e.center?C(e.center):null;let g=null,b=null;h&&Number.isFinite(h.lat)&&Number.isFinite(h.lng)&&(g=h.lat,b=h.lng);const w=(0,r.useMemo)((()=>{var t,n,r;return{center:{lat:null!==g&&void 0!==g?g:0,lng:null!==b&&void 0!==b?b:0},zoom:null!==(t=e.zoom)&&void 0!==t?t:0,heading:null!==(n=e.heading)&&void 0!==n?n:0,tilt:null!==(r=e.tilt)&&void 0!==r?r:0}}),[g,b,e.zoom,e.heading,e.tilt]);(0,r.useLayoutEffect)((()=>{if(!u||!p)return;u.moveCamera(w);const e=u.addListener("bounds_changed",(()=>{u.moveCamera(w)}));return()=>e.remove()}),[u,p,w]);const k=(0,r.useMemo)((()=>Object.assign({width:"100%",height:"100%",position:"relative",zIndex:f?-1:0},i)),[i,f]),x=(0,r.useMemo)((()=>({map:u})),[u]);return a===d?r.createElement("div",{style:Object.assign({position:"relative"},o?{}:k),className:o},r.createElement(M,null)):r.createElement("div",Object.assign({ref:c,"data-testid":"map",style:o?void 0:k,className:o},n?{id:n}:{}),u?r.createElement(T.Provider,{value:x},t):null)};L.deckGLViewProps=!0;const I=new Set;function R(...e){const t=JSON.stringify(e);I.has(t)||(I.add(t),console.error(...e))}const D=(e=null)=>{const t=(0,r.useContext)(m),{map:n}=(0,r.useContext)(T)||{};if(null===t)return R("useMap(): failed to retrieve APIProviderContext. Make sure that the <APIProvider> component exists and that the component you are calling `useMap()` from is a sibling of the <APIProvider>."),null;const{mapInstances:o}=t;return null!==e?o[e]||null:n||(o.default||null)};function N(e){const t=x(),n=(0,r.useContext)(m);return(0,r.useEffect)((()=>{t&&n&&n.importLibrary(e)}),[t,n,e]),(null===n||void 0===n?void 0:n.loadedLibraries[e])||null}function H(e,t,n){(0,r.useEffect)((()=>
1{if(!e||!t||!n)return;const r=google.maps.event.addListener(e,t,n);return()=>r.remove()}),[e,t,n])}function z(e,t,n){(0,r.useEffect)((()=>{e&&(e[t]=n)}),[e,t,n])}function F(e,t,n){(0,r.useEffect)((()=>{if(e&&t&&n)return e.addEventListener(t,n),()=>e.removeEventListener(t,n)}),[e,t,n])}const U=new class{constructor(){this.renderedStyles=new Set,this.styleElement=null}getStyleElement(){return this.styleElement||(this.styleElement=document.createElement("style"),this.styleElement.setAttribute("data-rgm-anchor-styles",""),document.head.appendChild(this.styleElement)),this.styleElement}addAdvancedMarkerPointerEventsOverwrite(){if(this.renderedStyles.has("marker-pointer-events"))return;this.getStyleElement().textContent+="\n      gmp-advanced-marker[data-origin='rgm'] {\n        pointer-events: none !important;\n      }\n    ",this.renderedStyles.add("marker-pointer-events")}cleanup(){this.styleElement&&(this.styleElement.remove(),this.styleElement=null,this.renderedStyles.clear())}};const B=r.createContext(null),q={TOP_LEFT:["0%","0%"],TOP_CENTER:["50%","0%"],TOP:["50%","0%"],TOP_RIGHT:["100%","0%"],LEFT_CENTER:["0%","50%"],LEFT_TOP:["0%","0%"],LEFT:["0%","50%"],LEFT_BOTTOM:["0%","100%"],RIGHT_TOP:["100%","0%"],RIGHT:["100%","50%"],RIGHT_CENTER:["100%","50%"],RIGHT_BOTTOM:["100%","100%"],BOTTOM_LEFT:["0%","100%"],BOTTOM_CENTER:["50%","100%"],BOTTOM:["50%","100%"],BOTTOM_RIGHT:["100%","100%"],CENTER:["50%","50%"]},Z=(0,r.forwardRef)(((e,t)=>{const{children:n,style:i,className:s,anchorPoint:a}=e,[u,c]=function(e){const[t,n]=(0,r.useState)(null),[o,i]=(0,r.useState)(null),s=D(),a=N("marker"),{children:u,onClick:c,className:l,onMouseEnter:f,onMouseLeave:d,onDrag:p,onDragStart:h,onDragEnd:m,collisionBehavior:g,clickable:v,draggable:y,position:b,title:w,zIndex:O,anchorPoint:k,anchorLeft:E,anchorTop:_}=e,S=r.Children.count(u);return(0,r.useEffect)((()=>{if(!s||!a)return;const e=new a.AdvancedMarkerElement;e.map=s,n(e);let t=null;return S>0&&(t=document.createElement("div"),e.content=t,i(t)),()=>{e.map=null,null===t||void 0===t||t.remove(),n(null),i(null)}}),[s,a,S]),(0,r.useEffect)((()=>{!(null===t||void 0===t?void 0:t.content)||!W(t.content)||S>0||(t.content.className=null!==l&&void 0!==l?l:"")}),[t,l,S]),function(e,t,n,o,i){(0,r.useEffect)((()=>{if(!e||!i)return;const r=function(e,t){var n;if(!(null===(n=null===google||void 0===google?void 0:google.maps)||void 0===n?void 0:n.version))return;const r=google.maps.version.split("."),o=parseInt(r[0],10),i=parseInt(r[1],10);return o>e||o===e&&i>=t}(3,62),s=e.content;if(s&&W(s)){if(void 0!==n||void 0!==o)return r||console.warn(`AdvancedMarker: The anchorLeft and anchorTop props are only supported in Google Maps API version 3.62 and above. The current version is ${google.maps.version}.`),e.anchorLeft=n,e.anchorTop=o,void(void 0!==t&&console.warn("AdvancedMarker: the anchorPoint prop is ignored when anchorLeft and/or anchorTop are set."));if(void 0!==t){const[n,o]=null!==t&&void 0!==t?t:q.BOTTOM,i=`calc(-1 * ${n})`,a=`calc(-1 * ${o})`;r?(e.anchorLeft=i,e.anchorTop=a,s.style.transform=""):(s.style.transform=`translate(50%, 100%) translate(${i}, ${a})`,e.dataset.origin="rgm",U.addAdvancedMarkerPointerEventsOverwrite())}}}),[e,t,n,o,i])}(t,k,E,_,S>0),z(t,"position",b),z(t,"title",null!==w&&void 0!==w?w:""),z(t,"zIndex",O),z(t,"collisionBehavior",g),(0,r.useEffect)((()=>{t&&(t.gmpDraggable=void 0!==y?y:!!(p||h||m))}),[t,y,p,m,h]),(0,r.useEffect)((()=>{if(!t)return;const e=void 0!==v||Boolean(c)||Boolean(f)||Boolean(d);t.gmpClickable=e,e&&(null===t||void 0===t?void 0:t.content)&&W(t.content)&&(t.content.style.pointerEvents="all",c&&(t.content.style.cursor="pointer"))}),[t,v,c,f,d]),H(t,"click",c),H(t,"drag",p),H(t,"dragstart",h),H(t,"dragend",m),F(null===t||void 0===t?void 0:t.element,"mouseenter",f),F(null===t||void 0===t?void 0:t.element,"mouseleave",d),[t,o]}(e),l=(0,r.useMemo)((()=>u?{marker:u}:null),[u]);return(0,r.useImperativeHandle)(t,(()=>u),[u]),c?r.createElement(B.Provider,{value:l},(0,o.createPortal)(r.createElement(G,{anchorPoint:a,styles:i,className:s},n),c)):null}));
1function W(e){return e.nodeType===Node.ELEMENT_NODE}Z.displayName="AdvancedMarker";const G=({children:e,styles:t,className:n})=>r.createElement("div",{className:n,style:t},e);new Set(["animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridArea","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","fontWeight","lineClamp","lineHeight","opacity","order","orphans","scale","tabSize","widows","zIndex","zoom","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth"]);(0,r.forwardRef)(((e,t)=>{const n=function(e){const[t,n]=(0,r.useState)(null),o=D(),{onClick:i,onDrag:a,onDragStart:u,onDragEnd:c,onMouseOver:l,onMouseOut:f}=e,d=s(e,["onClick","onDrag","onDragStart","onDragEnd","onMouseOver","onMouseOut"]),{position:p,draggable:h}=d;return(0,r.useEffect)((()=>{if(!o)return void(void 0===o&&console.error("<Marker> has to be inside a Map component."));const e=new google.maps.Marker(d);return e.setMap(o),n(e),()=>{e.setMap(null),n(null)}}),[o]),(0,r.useEffect)((()=>{if(!t)return;const e=t,n=google.maps.event;return i&&n.addListener(e,"click",i),a&&n.addListener(e,"drag",a),u&&n.addListener(e,"dragstart",u),c&&n.addListener(e,"dragend",c),l&&n.addListener(e,"mouseover",l),f&&n.addListener(e,"mouseout",f),t.setDraggable(Boolean(h)),()=>{n.clearInstanceListeners(e)}}),[t,h,i,a,u,c,l,f]),(0,r.useEffect)((()=>{t&&d&&t.setOptions(d)}),[t,d]),(0,r.useEffect)((()=>{!h&&p&&t&&t.setPosition(p)}),[h,p,t]),t}(e);return(0,r.useImperativeHandle)(t,(()=>n),[n]),r.createElement(r.Fragment,null)})).displayName="Marker"},8689:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=s(e,i(n)))}return e}function i(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=s(t,n));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},4920:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!==o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!==o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!==o--;){var s=i[o];if(!e(t[s],n[s]))return!1}return!0}return t!==t&&n!==n}},123:function(e,t,n){e.exports=n(3835)},9739:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:function(){return r}})},2062:function(e,t,n){e.exports=n(3559)},1465:function(e){"use strict";var t=!("undefined"===typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},9342:function(e){var t,n,r,o,i,s,a,u,c,l,f,d,p,h,m,g=!1;function v(){if(!g){g=!0;var e=navigator.userAgent,v=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Ice
1weasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),y=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(d=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),l=/Android/i.exec(e),h=/FBAN\/\w+;/i.exec(e),m=/Mobile/i.exec(e),f=!!/Win64/.exec(e),v){(t=v[1]?parseFloat(v[1]):v[5]?parseFloat(v[5]):NaN)&&document&&document.documentMode&&(t=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(e);s=b?parseFloat(b[1])+4:t,n=v[2]?parseFloat(v[2]):NaN,r=v[3]?parseFloat(v[3]):NaN,(o=v[4]?parseFloat(v[4]):NaN)?(v=/(?:Chrome\/(\d+\.\d+))/.exec(e),i=v&&v[1]?parseFloat(v[1]):NaN):i=NaN}else t=n=r=i=o=NaN;if(y){if(y[1]){var w=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);a=!w||parseFloat(w[1].replace("_","."))}else a=!1;u=!!y[2],c=!!y[3]}else a=u=c=!1}}var y={ie:function(){return v()||t},ieCompatibilityMode:function(){return v()||s>t},ie64:function(){return y.ie()&&f},firefox:function(){return v()||n},opera:function(){return v()||r},webkit:function(){return v()||o},safari:function(){return y.webkit()},chrome:function(){return v()||i},windows:function(){return v()||u},osx:function(){return v()||a},linux:function(){return v()||c},iphone:function(){return v()||d},mobile:function(){return v()||d||p||l||m},nativeApp:function(){return v()||h},android:function(){return v()||l},ipad:function(){return v()||p}};e.exports=y},8020:function(e,t,n){"use strict";var r,o=n(1465);o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var s=document.createElement("div");s.setAttribute(n,"return;"),i="function"===typeof s[n]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},3559:function(e,t,n){"use strict";var r=n(9342),o=n(8020);function i(e){var t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=10*t,o=10*n,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(1==e.deltaMode?(r*=40,o*=40):(r*=800,o*=800)),r&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}}i.getEventType=function(){return r.firefox()?"DOMMouseScroll":o("wheel")?"wheel":"mousewheel"},e.exports=i},6446:function(e,t,n){"use strict";function r(e){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Collapse=void 0;var o,i=(o=n(3689))&&o.__esModule?o:{default:o};function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return l(e)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(c,e);var t,n,r,o=u(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),d(l(t=o.call(this,e)),"timeout",void 0),d(l(t),"container",void 0),d(l(t),"content",void 0),d(l(t),"onResize",(function(){if(clearTimeout(t.timeout),t.container&&t.content){var e=t.props,n=e.isOpened,r=e.checkTimeout,o=Math.floor(t.container.clientHeight),i=Math.floor(t.content.clientHeight),s=n&&Math.abs(i-o)<=1,a=!n&&Math.abs(o)<=1;s||a?t.onRest({isFullyOpened:s,isFullyClosed:a,isOpened:n,containerHeight:o,c
1ontentHeight:i}):(t.onWork({isFullyOpened:s,isFullyClosed:a,isOpened:n,containerHeight:o,contentHeight:i}),t.timeout=setTimeout((function(){return t.onResize()}),r))}})),d(l(t),"onRest",(function(e){var n=e.isFullyOpened,r=e.isFullyClosed,o=e.isOpened,i=e.containerHeight,s=e.contentHeight;if(t.container&&t.content){var a=o&&t.container.style.height==="".concat(s,"px"),u=!o&&"0px"===t.container.style.height;if(a||u){t.container.style.overflow=o?"initial":"hidden",t.container.style.height=o?"auto":"0px";var c=t.props.onRest;c&&c({isFullyOpened:n,isFullyClosed:r,isOpened:o,containerHeight:i,contentHeight:s})}}})),d(l(t),"onWork",(function(e){var n=e.isFullyOpened,r=e.isFullyClosed,o=e.isOpened,i=e.containerHeight,s=e.contentHeight;if(t.container&&t.content){var a=o&&t.container.style.height==="".concat(s,"px"),u=!o&&"0px"===t.container.style.height;if(!a&&!u){t.container.style.overflow="hidden",t.container.style.height=o?"".concat(s,"px"):"0px";var c=t.props.onWork;c&&c({isFullyOpened:n,isFullyClosed:r,isOpened:o,containerHeight:i,contentHeight:s})}}})),d(l(t),"onRefContainer",(function(e){t.container=e})),d(l(t),"onRefContent",(function(e){t.content=e})),e.initialStyle?t.initialStyle=e.initialStyle:t.initialStyle=e.isOpened?{height:"auto",overflow:"initial"}:{height:"0px",overflow:"hidden"},t}return t=c,(n=[{key:"componentDidMount",value:function(){this.onResize()}},{key:"shouldComponentUpdate",value:function(e){var t=this.props,n=t.theme,r=t.isOpened;return t.children!==e.children||r!==e.isOpened||Object.keys(n).some((function(t){return n[t]!==e.theme[t]}))}},{key:"getSnapshotBeforeUpdate",value:function(){if(!this.container||!this.content)return null;if("auto"===this.container.style.height){var e=this.content.clientHeight;this.container.style.height="".concat(e,"px")}return null}},{key:"componentDidUpdate",value:function(){this.onResize()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"render",value:function(){var e=this.props,t=e.theme,n=e.children,r=e.isOpened;return i.default.createElement("div",{ref:this.onRefContainer,className:t.collapse,style:this.initialStyle,"aria-hidden":!r},i.default.createElement("div",{ref:this.onRefContent,className:t.content},n))}}])&&s(t.prototype,n),r&&s(t,r),c}(i.default.Component);t.Collapse=p,d(p,"defaultProps",{theme:{collapse:"ReactCollapse--collapse",content:"ReactCollapse--content"},initialStyle:void 0,onRest:void 0,onWork:void 0,checkTimeout:50})},250:function(e,t,n){"use strict";function r(e){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.UnmountClosed=void 0;var o,i=(o=n(3689))&&o.__esModule?o:{default:o},s=n(6446),a=["isOpened"],u=["isOpened"];function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}
1function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(l,e);var t,n,r,o=m(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),b(v(t=o.call(this,e)),"onWork",(function(e){var n=e.isOpened,r=d(e,a);t.setState({isResting:!1,isOpened:n});var o=t.props.onWork;o&&o(f({isOpened:n},r))})),b(v(t),"onRest",(function(e){var n=e.isOpened,r=d(e,u);t.setState({isResting:!0,isOpened:n,isInitialRender:!1});var o=t.props.onRest;o&&o(f({isOpened:n},r))})),b(v(t),"getInitialStyle",(function(){var e=t.state,n=e.isOpened;return e.isInitialRender&&n?{height:"auto",overflow:"initial"}:{height:"0px",overflow:"hidden"}})),t.state={isResting:!0,isOpened:e.isOpened,isInitialRender:!0},t}return t=l,(n=[{key:"componentDidUpdate",value:function(e){var t=this.props.isOpened;e.isOpened!==t&&this.setState({isResting:!1,isOpened:t,isInitialRender:!1})}},{key:"render",value:function(){var e=this.state,t=e.isResting,n=e.isOpened;return t&&!n?null:i.default.createElement(s.Collapse,c({},this.props,{initialStyle:this.getInitialStyle(),onWork:this.onWork,onRest:this.onRest}))}}])&&p(t.prototype,n),r&&p(t,r),l}(i.default.PureComponent);t.UnmountClosed=w,b(w,"defaultProps",{onWork:void 0,onRest:void 0})},2933:function(e,t,n){"use strict";var r=n(6446).Collapse,o=n(250).UnmountClosed;e.exports=o,o.Collapse=r,o.UnmountClosed=o},5124:function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=s(n(3689)),i=s(n(3503));function s(e){return e&&e.__esModule?e:{default:e}}var a=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){this.addPropsOnChildren()}},{key:"componentDidUpdate",value:function(){this.addPropsOnChildren()}},{key:"addPropsOnChildren",value:function(){if("undefined"!==typeof this.props.content._editable&&window.location!==window.parent.location){var e=i.default.findDOMNode(this),t=JSON.parse(this.props.content._editable.replace(/^<!--#storyblok#/,"").replace(/-->$/,""));e instanceof Object&&"function"===typeof e.setAttribute?(e.setAttribute("data-blok-c",JSON.stringify(t)),e.setAttribute("data-blok-uid",t.id+"-"+t.uid),this.addClass(e,"storyblok__outline")):console.warn("It seems that you are using a DOM text-node inside the SbEditable wrapper. Please wrap it with an HTML DOM element.",this.props.children)}}},{key:"addClass",value:function(e,t){e.classList?e.classList.add(t):new RegExp("\\b"+t+"\\b").test(e.className)||(e.className+=" "+t)}},{key:"render",value:function(){return this.props.children}}]),t}(o.default.PureComponent);t.Z=a},3835:function(e,t,n){"use strict";var r=n(8825),o=n(1344);t.default=void 0;var i=o(n(3689)),s=n(5664),a=n(4632),u=n(8429),c={};function l(e,t,n,r){if(e&&(0,s.isLocalURL)(t)){e.prefetch(t,n,r).catch((function(e){0}));var o=r&&"undefined"!==typeof r.locale?r.locale:e&&e.locale;c[t+"%"+n+(o?"%"+o:"")]=!0}}var f=function(e){var t=!1!==e.prefetch,n=(0,a.useRouter)(),o=n&&n.asPath||"/",f=i.default.useMemo((function(){var t=(0,s.resolveHref)(o,e.href,!0),n=r(t,2),i=n[0],a=n[1];return{href:i,as:e.as?(0,s.resolveHref)(o,e.as):a||i}}),[o,e.href,e.as]),d=f.href,p=f.as,h=e.children,m=e.replace,g=e.shallow,v=e.scroll,y=e.locale;"string"===typeof h&&(h=i.default.createElement("a",null,h));var b=i.Children.only(h),w=b&&"object"===typeof b&&b.ref,O=(0,u.useIntersection)({rootMargin:"200px"}),k=r(O,2),E=k[0],_=k[1],S=i.default.useCallback((function(e){E(e),w&&("function"===typeof w?w(e):"object"===typeof w&&(w.current=e))}),[w,E]);(0,i.useEffect)((function(){var e=_&&t&&(0,s.isLocalURL)(d),r="undefined"!==typeof y?y:n&&n.locale,o=c[d+"%"+p+(r?"%"+r:"")];e&&!o&&l(n,d,p,{locale:r})}),[p,d,_,y,t,n]);var C={ref:S,onClick:function(e){b.props&&"function"===typeof b.props.onClick&&b.props.onClick(e),e.defaultPrevented||function(e,t,n,r,o,i,a,u){("A"!==e.currentTarget.nodeName||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&(0,s.isLocalURL)(n))&&(e.preventDefault(),null==a&&(a=r.indexOf("#")<0),t[o?"replace":"push"](n,r,{shallow:i,locale:u,scroll:a}))}(e,n,d,p,m,g,v,y)},onMouseEnter:function(e){(0,s.isLocalURL)(d)&&(b.props&&"function"===typeof b.props.onMouseEnter&&b.props.onMouseEnter(e),l(n,d,p,{priority:!0}))}};if(e.passHref||"a"===b.type&&!("href"in b.props)){var M="undefined"!==typeof y?y:n&&n.locale,x=n&&n.isLocaleDomain&&(0,s.getDomainLocale)(p,M,n&&n.locales,n&&n.domainLocales);C.href=x||(0,s.addBasePath)((0,s.addLocale)(p,M,n&&n.defaultLocale))}return i.default.cloneElement(b,C)};t.default=f},8429:function(e,t,n){"use strict";var r=n(8825);t.__esModule=!0,t.useIntersection=function(e){var t=e.rootMargin,n=e.disabled||!s,u=(0,o.useRef)(),c=(0,o.useState)(!1),l=r(c,2),f=l[0],d=l[1],p=(0,o.useCallback)((function(e){u.current&&(u.current(),u.current=void 0),n||f||e&&e.tagName&&(u.current=function(e,t,n){var r=function(e){var t=e.rootMargin||"",n=a.get(t);if(n)return n;var r=new Map,o=new IntersectionObserver((function(e){e.forEach((function(e){var t=r.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return a.set(t,n={id:t,observer:o,elements:r}),n}(n),o=r.id,i=r.observer,s=r.elements;return s.set(e,t),i.observe(e),function(){s.delete(e),i.unobserve(e),0===s.size&&(i.disconnect(),a.delete(o))}}(e,(function(e){return e&&d(e)}),{rootMargin:t}))}),[n,t,f]);return(0,o.useEffect)((function(){if(!s&&!f){var e=(0,i.requestIdleCallback)((function(){return d(!0)}));return function(){return(0,i.cancelIdleCallback)(e)}}}),[f]),[p,f]};var o=n(3689),i=n(6336),s="undefined"!==typeof IntersectionObserver;var a=new Map}}]);

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.