@omnic/widget-locations 1.0.89 → 1.0.91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,102 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("react/jsx-runtime"),u=require("react"),lr=require("react-dom"),Fi=require("react-dom/server");function Kc(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const ae=Kc(u),Zc=Kc(lr);function _s(t){return!!(t&&typeof t.then=="function")}function zi(t,e){return _s(t)?Promise.resolve(t).then(e):e(t)}function Oa(t){const e=(Array.isArray(t)?t:[t]).map(o=>`'${o}'`),n=e.slice(-2).join(" or ");return`Tolgee: You need to specify ${[...e.slice(0,-2),n].join(", ")} option`}function Nd(t){return typeof t=="object"&&!Array.isArray(t)&&t!==null}function qc(t){if(typeof t=="string")return[t];if(Array.isArray(t))return t}function Et(t){return qc(t)||[]}function Ud(t,e){return Nd(e)?Et(e==null?void 0:e[t]):Et(e)}function ps(t){return Array.from(new Set(t))}function Jc(t){return t&&t.replace(/\/+$/,"")}function Hd(t){if(typeof t=="string")return t;if(typeof(t==null?void 0:t.message)=="string")return t.message}const Fd=(t,e)=>fetch(t,e),Xc=(t=Fd)=>(e,n)=>t(e,Object.assign(Object.assign({},n),{headers:Object.assign({"X-Tolgee-SDK-Type":"JS","X-Tolgee-SDK-Version":"5.13.2"},n==null?void 0:n.headers)}));function tn(t){let e=[];return Object.freeze({listen(n){const r=i=>{n(i)};return e.push(r),{unsubscribe(){e=e.filter(i=>r!==i)}}},emit(n){t()&&e.forEach(r=>r({value:n}))}})}function zd(t,e,n){const r=new Set,i=new Set;function o(l){const c=new Set(e());i.forEach(f=>{(l===void 0||(l==null?void 0:l.findIndex(h=>c.has(h)||f.namespaces.has(h)))!==-1)&&f.fn({value:void 0})})}let s=[];function a(){if(s.length===0)return;const l=s;s=[],r.forEach(d=>{d({value:void 0})});let c=new Set;l.forEach(d=>{d===void 0?c=void 0:c!==void 0&&d.forEach(h=>c.add(h))});const f=c?Array.from(c.keys()):void 0;o(f)}return Object.freeze({emit(l,c){t()&&(s.push(l),c?setTimeout(a,0):a())},listen(l){return r.add(l),{unsubscribe:()=>{r.delete(l)}}},listenSome(l){const c={fn:d=>{l(d)},namespaces:new Set};i.add(c);const f={unsubscribe:()=>{i.delete(c)},subscribeNs:d=>(Et(d).forEach(h=>c.namespaces.add(h)),d===void 0&&c.namespaces.add(n()),f)};return f}})}function Qd(t,e){let n=!0;function r(){return n}const i=Object.freeze({onPendingLanguageChange:tn(r),onLanguageChange:tn(r),onLoadingChange:tn(r),onFetchingChange:tn(r),onInitialLoaded:tn(r),onRunningChange:tn(r),onCacheChange:tn(r),onUpdate:zd(r,t,e),onPermanentChange:tn(r),setEmitterActive(o){n=o},on:(o,s)=>{switch(o){case"pendingLanguage":return i.onPendingLanguageChange.listen(s);case"language":return i.onLanguageChange.listen(s);case"loading":return i.onLoadingChange.listen(s);case"fetching":return i.onFetchingChange.listen(s);case"initialLoad":return i.onInitialLoaded.listen(s);case"running":return i.onRunningChange.listen(s);case"cache":return i.onCacheChange.listen(s);case"update":return i.onUpdate.listen(s);case"permanentChange":return i.onPermanentChange.listen(s)}}});return i.onInitialLoaded.listen(()=>i.onUpdate.emit()),i.onLanguageChange.listen(()=>i.onUpdate.emit()),i.onCacheChange.listen(({value:o})=>i.onUpdate.emit([o.namespace],!0)),i}const _c=t=>{const e=new Map;return Object.entries(t).forEach(([n,r])=>{if(r!=null){if(typeof r=="object"){_c(r).forEach((i,o)=>{e.set(n+"."+o,i)});return}e.set(n,r)}}),e},Pr=t=>{const[e,...n]=t.split(":"),r=n.join(":");return{language:e,namespace:r||""}},Yt=({language:t,namespace:e})=>e?`${t}:${e}`:t;function Vd(t,e,n,r,i,o,s){const a=new Map,l=new Map;let c={},f=0;function d(p,w,S){const b=Yt(p);l.set(b,{data:_c(w),version:S}),t.emit(p)}function h(p){let w;if(!w){const S=c[Yt(p)];typeof S=="function"&&(w=S())}return w||(w=e(p)),w}function g(p,w){var S;let b;return w&&(b=(S=n(p))===null||S===void 0?void 0:S.catch(()=>(console.warn("Tolgee: Failed to fetch data from dev backend"),h(p)))),b||(b=h(p)),b}const v=Object.freeze({addStaticData(p){p&&(c=Object.assign(Object.assign({},c),p),Object.entries(p).forEach(([w,S])=>{if(typeof S!="function"){const b=Pr(w),m=l.get(w);(!m||m.version===0)&&d(b,S,0)}}))},invalidate(){a.clear(),f+=1},addRecord(p,w){d(p,w,f)},exists(p,w=!1){const S=l.get(Yt(p));return S&&w?S.version===f:!!S},getRecord(p){var w;return(w=l.get(Yt(r(p))))===null||w===void 0?void 0:w.data},getTranslation(p,w){var S;return(S=l.get(Yt(p)))===null||S===void 0?void 0:S.data.get(w)},getTranslationNs(p,w,S){var b;for(const m of p)for(const x of w){const C=(b=l.get(Yt({language:x,namespace:m})))===null||b===void 0?void 0:b.data.get(S);if(C!=null)return[m]}return ps(p)},getTranslationFallback(p,w,S){var b;for(const m of p)for(const x of w){const C=(b=l.get(Yt({language:x,namespace:m})))===null||b===void 0?void 0:b.data.get(S);if(C!=null)return C}},changeTranslation(p,w,S){var b;const m=(b=l.get(Yt(p)))===null||b===void 0?void 0:b.data;m==null||m.set(w,S),t.emit(Object.assign(Object.assign({},p),{key:w}))},isFetching(p){if(i())return!0;if(p===void 0)return a.size>0;const w=Et(p);return!!Array.from(a.keys()).find(S=>w.includes(Pr(S).namespace))},isLoading(p,w){const S=Et(w);return!!(i()||Array.from(a.keys()).find(b=>{const m=Pr(b);return(!S.length||S.includes(m.namespace))&&!v.exists({namespace:m.namespace,language:p})}))},async loadRecords(p,w){const S=p.map(m=>{const x=r(m),C=Yt(x),y=a.get(C);if(y)return{new:!1,promise:y,keyObject:x,cacheKey:C};const E=g(x,w)||Promise.resolve(void 0);return a.set(C,E),{new:!0,promise:E,keyObject:x,cacheKey:C}});o.notify(),s.notify();const b=await Promise.all(S.map(m=>m.promise));return S.forEach((m,x)=>{const C=a.get(m.cacheKey)!==m.promise;if(m.new&&!C){a.delete(m.cacheKey);const y=b[x];y?v.addRecord(m.keyObject,y):v.getRecord(m.keyObject)||v.addRecord(m.keyObject,{})}}),o.notify(),s.notify(),S.map(m=>v.getRecord(m.keyObject))},getAllRecords(){return Array.from(l.entries()).map(([w,S])=>Object.assign(Object.assign({},Pr(w)),{data:S.data}))}});return v}function $c(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}const Wd={tagAttributes:{textarea:["placeholder"],input:["value","placeholder"],img:["alt"],"*":["aria-label","title"]},restrictedElements:["script","style"],highlightKeys:["Alt"],highlightColor:"rgb(255, 0, 0)",highlightWidth:5,inputPrefix:"%-%tolgee:",inputSuffix:"%-%",passToParent:["option","optgroup"],fullKeyEncode:!1},gs="invalid",Gd="https://app.tolgee.io",Yd=({key:t})=>t,Kd={defaultNs:"",observerOptions:Wd,observerType:"invisible",onFormatError:gs,apiUrl:Gd,fetch:Xc(),onTranslationMissing:Yd},vs=(...t)=>{let e={};return t.forEach(n=>{e=Object.assign(Object.assign(Object.assign({},e),n),{observerOptions:Object.assign(Object.assign({},e.observerOptions),n==null?void 0:n.observerOptions)})}),e};function Ma(t,e){const n=vs(Kd,e==null?void 0:e.initialOptions,t);return n.apiUrl=Jc(n.apiUrl),t!=null&&t.fetch&&(n.fetch=Xc(t.fetch)),{initialOptions:n,activeNamespaces:(e==null?void 0:e.activeNamespaces)||new Map,language:e==null?void 0:e.language,pendingLanguage:e==null?void 0:e.language,isInitialLoading:!1,isRunning:!1}}function Zd(t,e,n,r,i,o,s,a){const l={ui:void 0},c={formatters:[],finalFormatter:void 0,observer:void 0,devBackend:void 0,backends:[],ui:void 0,languageDetector:void 0,languageStorage:void 0},f=async({keysAndDefaults:O,event:D})=>{var B;const N=O.map(({key:V,ns:Z,defaultValue:F})=>({key:V,defaultValue:F,fallbackNamespaces:r(Z),namespace:i({key:V,ns:Z})[0],translation:o({key:V,ns:Z})}));(B=c.ui)===null||B===void 0||B.handleElementClick(N,D)},d=(O,D)=>{var B;return((B=c.observer)===null||B===void 0?void 0:B.findPositions(O,D))||[]};function h(O){const D=o({key:O.key,ns:O.ns});return M.formatTranslation(Object.assign(Object.assign({},O),{translation:D,formatEnabled:!0}))}function g(){return{fetch:e().fetch}}function v(O){c.observer=O==null?void 0:O()}function p(){return!!c.observer}function w(O){O&&c.formatters.push(O)}function S(O){c.finalFormatter=O}function b(O){l.ui=O}function m(){return!!l.ui}function x(O){c.languageStorage=O}function C(O){c.languageDetector=O}function y(){if(!c.languageDetector)return;const O=n();return c.languageDetector.getLanguage(Object.assign({availableLanguages:O},g()))}function E(O){O&&c.backends.push(O)}function L(O){c.devBackend=O}function I(O,D){const B=Object.freeze({setFinalFormatter:S,addFormatter:w,setObserver:v,hasObserver:p,setUi:b,hasUi:m,setDevBackend:L,addBackend:E,setLanguageDetector:C,setLanguageStorage:x});D(O,B)}const M=Object.freeze({addPlugin:I,run(){var O,D;const{apiKey:B,apiUrl:N,projectId:V,observerOptions:Z}=e();c.ui=(O=l.ui)===null||O===void 0?void 0:O.call(l,{apiKey:B,apiUrl:N,projectId:V,highlight:M.highlight,changeTranslation:s,findPositions:d,onPermanentChange:a}),(D=c.observer)===null||D===void 0||D.run({mouseHighlight:!0,options:Z,translate:h,onClick:f})},stop(){var O;c.ui=void 0,(O=c.observer)===null||O===void 0||O.stop()},getLanguageStorage(){return c.languageStorage},getInitialLanguage(){var O;const D=n(),B=(O=c.languageStorage)===null||O===void 0?void 0:O.getLanguage(g());return zi(B,N=>(!D||D.includes(N))&&N?N:y())},setStoredLanguage(O){var D;(D=c.languageStorage)===null||D===void 0||D.setLanguage(O,g())},getDevBackend(){return c.devBackend},getBackendRecord:({language:O,namespace:D})=>{for(const B of c.backends){const N=B.getRecord(Object.assign({language:O,namespace:D},g()));if(_s(N))return N==null?void 0:N.catch(V=>(console.error(V),{}));if(N!==void 0)return N}},getBackendDevRecord:({language:O,namespace:D})=>{var B;const{apiKey:N,apiUrl:V,projectId:Z}=e();return(B=c.devBackend)===null||B===void 0?void 0:B.getRecord(Object.assign({apiKey:N,apiUrl:V,projectId:Z,language:O,namespace:D},g()))},getLanguageDetector(){return c.languageDetector},retranslate(){var O;(O=c.observer)===null||O===void 0||O.retranslate()},highlight:(O,D)=>{var B,N;return((N=(B=c.observer)===null||B===void 0?void 0:B.highlight)===null||N===void 0?void 0:N.call(B,O,D))||{unhighlight(){}}},unwrap(O){var D;return c.observer?(D=c.observer)===null||D===void 0?void 0:D.unwrap(O):{text:O,keys:[]}},wrap(O){var D;return c.observer?(D=c.observer)===null||D===void 0?void 0:D.wrap(O):O.translation},hasDevBackend(){return!!M.getDevBackend()},formatTranslation(O){var D,{formatEnabled:B}=O,N=$c(O,["formatEnabled"]);const{key:V,translation:Z,defaultValue:F,noWrap:K,params:T,ns:R,orEmpty:k}=N,H=Z??F;let z="";Z==null&&(z=e().onTranslationMissing(N));let Q=H??(k?"":z);const _=t(),P=B||!(!((D=c.observer)===null||D===void 0)&&D.outputNotFormattable),W=q=>c.observer&&!K?c.observer.wrap({key:V,translation:q,defaultValue:F,params:T,ns:R}):q;Q=W(Q);try{if(H&&_&&P)for(const q of c.formatters)Q=q.format({translation:Q,language:_,params:T});c.finalFormatter&&H&&_&&P&&(Q=c.finalFormatter.format({translation:Q,language:_,params:T}))}catch(q){console.error(q);const Y=Hd(q)||gs,te=e().onFormatError,re=typeof te;re==="string"?Q=te:re==="function"?Q=te(Y,N):Q=gs,Q=W(Q)}return Q}});return M}const Pa=(t,e,n)=>{let r=t;return Object.freeze({init(i){r=i},notify(){const i=e();r!==i&&n(i),r=i}})};function qd(t,e,n){let r=Ma(),i;const o=Object.freeze({init(s){r=Ma(s,r)},isRunning(){return r.isRunning},setRunning(s){r.isRunning!==s&&(r.isRunning=s,n.emit(s))},isInitialLoading(){return r.isInitialLoading},setInitialLoading(s){r.isInitialLoading=s},getLanguage(){return r.language||r.initialOptions.language},setLanguage(s){r.language!==s&&(r.language=s,t.emit(s))},getPendingLanguage(){return r.pendingLanguage||o.getLanguage()},setPendingLanguage(s){r.pendingLanguage!==s&&(r.pendingLanguage=s,e.emit(s))},getInitialOptions(){return Object.assign(Object.assign({},r.initialOptions),i)},addActiveNs(s){Et(s).forEach(l=>{const c=r.activeNamespaces.get(l);c!==void 0?r.activeNamespaces.set(l,c+1):r.activeNamespaces.set(l,1)})},removeActiveNs(s){Et(s).forEach(l=>{const c=r.activeNamespaces.get(l);c!==void 0&&c>1?r.activeNamespaces.set(l,c-1):r.activeNamespaces.delete(l)})},getRequiredNamespaces(){return ps([...r.initialOptions.ns||[r.initialOptions.defaultNs],...Et(r.initialOptions.fallbackNs),...r.activeNamespaces.keys()])},getFallbackLangs(s){const a=s||o.getLanguage();return a?ps([a,...Ud(a,r.initialOptions.fallbackLanguage)]):[]},getFallbackNs(){return Et(r.initialOptions.fallbackNs)},getDefaultNs(s){return s===void 0?r.initialOptions.defaultNs:s},getAvailableLanguages(){if(r.initialOptions.availableLanguages)return r.initialOptions.availableLanguages;if(r.initialOptions.staticData){const s=Object.keys(r.initialOptions.staticData).map(a=>Pr(a).language);return Array.from(new Set(s))}},withDefaultNs(s){return{namespace:s.namespace===void 0?o.getInitialOptions().defaultNs:s.namespace,language:s.language}},overrideCredentials(s){s?i=Object.assign(Object.assign({},s),{apiUrl:Jc(s.apiUrl)}):i=void 0}});return o}function Jd(t){var{ns:e,noWrap:n,orEmpty:r,params:i,language:o}=t,s=$c(t,["ns","noWrap","orEmpty","params","language"]);return Object.assign(Object.assign({},{ns:e,noWrap:n,orEmpty:r,language:o}),{params:Object.assign({},s)})}const eu=(t,...e)=>{let n={},r;return typeof t=="object"?n=t:(n.key=t,typeof e[0]=="string"?(n.defaultValue=e[0],r=e[1]):typeof e[0]=="object"&&(r=e[0])),r&&(n=Object.assign(Object.assign({},Jd(r)),n)),n};function Xd({options:t}){const e=Qd(l,c),n=Pa(!1,()=>s.isFetching(),e.onFetchingChange.emit),r=Pa(!1,()=>y.isLoading(),e.onLoadingChange.emit),i=qd(e.onLanguageChange,e.onPendingLanguageChange,e.onRunningChange),o=Zd(i.getLanguage,i.getInitialOptions,i.getAvailableLanguages,f,S,b,h,g),s=Vd(e.onCacheChange,o.getBackendRecord,o.getBackendDevRecord,i.withDefaultNs,i.isInitialLoading,n,r);t&&v(t);let a;e.onUpdate.listen(()=>{i.isRunning()&&o.retranslate()});function l(){return i.getFallbackNs()}function c(E){return i.getDefaultNs(E)}function f(E){return[...Et(c(E)),...l()]}function d(E){return[...Et(E??c()),...i.getRequiredNamespaces()]}function h(E,L,I){const M=i.withDefaultNs(E),O=s.getTranslation(M,L);return s.changeTranslation(M,L,I),{revert(){s.changeTranslation(M,L,O)}}}function g(E){e.onPermanentChange.emit({key:E.key,namespace:E.namespace})}function v(E){i.init(E),s.addStaticData(i.getInitialOptions().staticData)}function p(E,L){const I=i.getFallbackLangs(E),M=d(L),O=[];return I.forEach(D=>{M.forEach(B=>{s.exists({language:D,namespace:B},!0)||O.push({language:D,namespace:B})})}),O}function w(E,L){const I=p(E,L);if(I.length)return zi(y.loadRecords(I),()=>{})}function S({key:E,ns:L}){const I=i.getFallbackLangs(),M=f(L??void 0);return s.getTranslationNs(M,I,E)}function b({key:E,ns:L,language:I}){const M=f(L??void 0),O=i.getFallbackLangs(I);return s.getTranslationFallback(M,O,E)}function m(){const E=zi(x(),()=>w());if(_s(E))return i.setInitialLoading(!0),n.notify(),r.notify(),Promise.resolve(E).then(()=>{i.setInitialLoading(!1),n.notify(),r.notify(),e.onInitialLoaded.emit()});e.onInitialLoaded.emit()}function x(){if(i.getLanguage())return;const L=o.getInitialLanguage();return zi(L,I=>{const M=I||i.getInitialOptions().defaultLanguage;M&&i.setLanguage(M)})}function C(){if((o.getLanguageDetector()||o.getLanguageStorage())&&!i.getAvailableLanguages())throw new Error(Oa("availableLanguages"));if(!i.getLanguage()&&!i.getInitialOptions().defaultLanguage)throw new Error(Oa(["defaultLanguage","language"]))}const y=Object.freeze(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),i),o),s),{init:v,getTranslation:b,changeTranslation:h,getTranslationNs:S,getDefaultAndFallbackNs:f,async changeLanguage(E){i.getPendingLanguage()===E&&i.getLanguage()===E||(i.setPendingLanguage(E),i.isRunning()&&await w(E),E===i.getPendingLanguage()&&(i.setLanguage(E),o.setStoredLanguage(E)))},async addActiveNs(E,L){L||i.addActiveNs(E),i.isRunning()&&await w(void 0,E)},loadRecords(E){return s.loadRecords(E,y.isDev())},async loadRecord(E){return(await y.loadRecords([E]))[0]},isLoading(E){return s.isLoading(i.getLanguage(),E)},isLoaded(E){const L=i.getLanguage();if(!L)return!1;const I=i.getFallbackLangs(L),M=d(E),O=[];return I.forEach(D=>{M.forEach(B=>{s.exists({language:D,namespace:B})||O.push({language:D,namespace:B})})}),O.length===0},t:(...E)=>{const L=eu(...E),I=b(L);return o.formatTranslation(Object.assign(Object.assign({},L),{translation:I}))},isDev(){return!!(i.getInitialOptions().apiKey&&i.getInitialOptions().apiUrl)},run(){return C(),i.isRunning()||(i.setRunning(!0),o.run(),a=m()),Promise.resolve(a)},stop(){i.isRunning()&&(o.stop(),i.setRunning(!1))}}));return y}function _d(t){const e=Xd({options:t});e.isDev()&&e.invalidate();function n(i){const o=e.isRunning();o&&e.stop(),i(),e.isDev()&&e.invalidate(),o&&e.run()}const r=Object.freeze({on:e.on,onNsUpdate:e.onUpdate.listenSome,setEmitterActive:e.setEmitterActive,getLanguage:e.getLanguage,getPendingLanguage:e.getPendingLanguage,changeLanguage:e.changeLanguage,changeTranslation:e.changeTranslation,addActiveNs:e.addActiveNs,removeActiveNs:e.removeActiveNs,loadRecords:e.loadRecords,loadRecord:e.loadRecord,addStaticData:e.addStaticData,getRecord:e.getRecord,getAllRecords:e.getAllRecords,isLoaded:e.isLoaded,isInitialLoading:e.isInitialLoading,isLoading:e.isLoading,isFetching:e.isFetching,isRunning:e.isRunning,run:e.run,stop:e.stop,t:e.t,highlight:e.highlight,getInitialOptions:e.getInitialOptions,isDev:e.isDev,wrap:e.wrap,unwrap:e.unwrap,overrideCredentials(i){n(()=>e.overrideCredentials(i))},addPlugin(i){i&&n(()=>e.addPlugin(r,i))},updateOptions(i){i&&n(()=>e.init(i))}});return r}const $d=()=>{const t={plugins:[],options:{}},e=Object.freeze({use(n){return t.plugins.push(n),e},updateDefaults(n){return t.options=vs(t.options,n),e},init(n){const r=_d(vs(t.options,n));return t.plugins.forEach(r.addPlugin),r}});return e},tu=0,ms=1,eh=2;class th extends Error{constructor(e,n,r){let i;e===tu?i="Empty parameter":e===ms?i="Unexpected character":i="Unexpected end",super(`Tolgee parser: ${i} at ${n} in "${r}"`),this.code=e,this.index=n}}function Da(t){return/\s/.test(t)}const on=0,ys=1,Qi=2,zo=3,Qo=4,nh=new Set([Qi,ys,on]),bs="'",rh=new Set(["{","}",bs]),ih=t=>/[0-9a-zA-Z_]/.test(t);function oh(t){let e=on,n="",r="",i="";const o=[],s=[];let a=0;function l(h){throw new th(h,a,t)}const c=()=>{o.push(n),n=""},f=()=>{ih(i)||l(ms),r+=i},d=()=>{r===""&&l(tu),s.push(r),r=""};for(a=0;a<t.length;a++)switch(i=t[a],e){case on:i===bs?(n+=i,e=ys):i==="{"?(c(),e=zo):(n+=i,e=on);break;case ys:rh.has(i)?(n=n.slice(0,-1)+i,e=Qi):(n+=i,e=on);break;case Qi:i===bs?e=on:(n+=i,e=Qi);break;case zo:i==="}"?(d(),e=on):Da(i)?r!==""&&(d(),e=Qo):(f(),e=zo);break;case Qo:i=="}"?e=on:Da(i)?e=Qo:l(ms)}return nh.has(e)||l(eh),c(),[o,s]}function sh(t,e){const[n,r]=oh(t),i=[n[0]];for(let o=1;o<n.length;o++){const s=e==null?void 0:e[r[o-1]];if(s===void 0)throw new Error(`Missing parameter "${r[o-1]}" in "${t}"`);i.push(String(s)),i.push(n[o])}return i.join("")}function ah(){return{format:({translation:t,params:e})=>sh(t,e)}}const lh=()=>(t,e)=>(e.setFinalFormatter(ah()),t),ch="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";function uh(t){const e=ch.indexOf(t);if(e===-1)throw new Error("Invalid character found: "+t);return e}function fh(t){const e=new Uint8Array(t),n=e.length;let r="",i=Math.pow(2,16)-1;for(let o=0;o<n;o+=i)o+i>n&&(i=n-o),r+=String.fromCharCode.apply(null,e.subarray(o,o+i));return r}function dh(t){t=t.toUpperCase();const e=t.length;let n=0,r=0,i=0;const o=new Uint8Array(e*5/8|0);for(let s=0;s<e;s++)r=r<<5|uh(t[s]),n+=5,n>=8&&(o[i++]=r>>>n-8&255,n-=8);return fh(o.buffer)}function hh(t){if(t)try{const[e,n]=t.split("_");if(e==="tgpak"){const[r]=dh(n).split("_");return Number(r)}}catch{console.warn("Tolgee: Api key can't be parsed")}}function ph(t){if(!t)return;const[e]=t.split("_");return e==="tgpak"?"tgpak":e==="tgpat"?"tgpat":"legacy"}function gh(){return{getRecord({apiUrl:t,apiKey:e,language:n,namespace:r,projectId:i,fetch:o}){var s;const a=(s=hh(e))!==null&&s!==void 0?s:i;let l=a!==void 0?`${t}/v2/projects/${a}/translations/${n}`:`${t}/v2/projects/translations/${n}`;if(r&&(l+=`?ns=${r}`),ph(e)==="tgpat"&&i===void 0)throw new Error("You need to specify 'projectId' when using PAT key");return o(l,{headers:{"X-API-Key":e||"","Content-Type":"application/json"}}).then(c=>{if(c.ok)return c.json().then(f=>f[n]);throw new Error(c.statusText)})}}}const vh=()=>(t,e)=>(e.setDevBackend(gh()),t);function mh(t,e){const n=r=>{var i,o;t.includes((i=r.data)===null||i===void 0?void 0:i.type)&&e((o=r.data)===null||o===void 0?void 0:o.data)};return window.addEventListener("message",n,!1),{unsubscribe(){window.removeEventListener("message",n)}}}function yh({message:t,recievingMessage:e,data:n,attempts:r=1}){let i=!1;const o=()=>new Promise((a,l)=>{const c=mh(e,d);window.postMessage({type:t,data:n},window.origin);const f=setTimeout(g,300);function d(v){clearTimeout(f),h(),a(v)}function h(){c.unsubscribe()}function g(){h(),l()}});return{cancel(){i=!0},promise:(async()=>{for(let a=0;a<r;a++){if(i)return new Promise(()=>{});try{return await o()}catch{continue}}if(!i)throw`Didn't recieve ${e.join(" or ")} in time.`;return new Promise(()=>{})})()}}function bh(){let t;async function e(n){t==null||t();const{cancel:r,promise:i}=yh({message:"TOLGEE_READY",recievingMessage:["TOLGEE_PLUGIN_READY","TOLGEE_PLUGIN_UPDATED"],data:n,attempts:4});return t=r,i}return{update:e}}const wh="tolgee-in-context-tools.umd.min.js",Ch="@tolgee/in-context-tools",Eh="InContextTools",Sh="https://cdn.jsdelivr.net/npm";function Ah(t){return new Promise((e,n)=>{const r=document.createElement("script");r.src=t,r.addEventListener("load",()=>e()),r.addEventListener("error",i=>n(i.error)),document.body.appendChild(r)})}let Vo=null;function Lh(t){return Vo||(Vo=Ah(`${Sh}/@tolgee/web@${t}/dist/${wh}`).then(()=>window[Ch][Eh])),Vo}const nu="__tolgee_apiKey",ru="__tolgee_apiUrl";function Ra(){const t=sessionStorage.getItem(nu)||void 0,e=sessionStorage.getItem(ru)||void 0;if(!(!t||!e))return{apiKey:t,apiUrl:e}}function xh(){sessionStorage.removeItem(nu),sessionStorage.removeItem(ru)}function Oh(t){document.readyState!=="loading"?Promise.resolve().then(()=>{t()}):document.addEventListener&&document.addEventListener("DOMContentLoaded",t)}let iu=()=>t=>t;const Mh=()=>{if(typeof window>"u")return!1;try{return typeof sessionStorage<"u"&&sessionStorage}catch(t){return console.error("sessionStorage not available",t),!1}};Mh()&&(iu=()=>t=>{const e=bh(),n=()=>({uiPresent:!0,uiVersion:void 0,mode:t.isDev()?"development":"production",config:{apiUrl:t.getInitialOptions().apiUrl||"",apiKey:t.getInitialOptions().apiKey||""}}),r=async()=>{const o=await Lh("5.13.2");return s=>{const a=Ra();return s.addPlugin(o({credentials:a})),s}};return t.on("running",({value:o})=>{o&&Oh(()=>{e.update(n()).catch(xh)})}),Ra()&&r().then(o=>{t.addPlugin(o)}).catch(o=>{console.error("Tolgee: Failed to load in-context tools"),console.error(o)}),t});function Ph(){return $d().use(iu())}const Dh={useSuspense:!0};let Wo;const ou=()=>(Wo||(Wo=u.createContext(void 0)),Wo),Rh=({tolgee:t,options:e,children:n,fallback:r})=>{const[i,o]=u.useState(!t.isLoaded());u.useEffect(()=>{t.run().catch(l=>{console.error(l)}).finally(()=>{o(!1)})},[t]);const s=Object.assign(Object.assign({},Dh),e),a=ou();return s.useSuspense?u.createElement(a.Provider,{value:{tolgee:t,options:s}},i?r:u.createElement(u.Suspense,{fallback:r||null},n)):u.createElement(a.Provider,{value:{tolgee:t,options:s}},i?r:n)};let Ih;function kh(){return Ih}const su=()=>{const t=ou(),e=u.useContext(t)||kh();if(!e)throw new Error("Couldn't find tolgee instance, did you forgot to use `TolgeeProvider`?");return e},au=()=>{const[t,e]=u.useState(0),n=u.useCallback(()=>{e(r=>r+1)},[e]);return{instance:t,rerender:n}},lu=(t,e)=>{const{tolgee:n,options:r}=su(),i=qc(t),o=Et(i).join(":"),s=Object.assign(Object.assign({},r),e),{rerender:a,instance:l}=au(),c=u.useRef(),f=u.useRef([]);f.current=[];const d=v=>{var p;f.current.push(v),(p=c.current)===null||p===void 0||p.subscribeNs(v)},h=n.isLoaded(i);u.useEffect(()=>{const v=n.onNsUpdate(a);return c.current=v,v.subscribeNs(i),f.current.forEach(p=>{v.subscribeNs(p)}),()=>{v.unsubscribe()}},[o,n]),u.useEffect(()=>(n.addActiveNs(i),()=>n.removeActiveNs(i)),[o,n]);const g=u.useCallback(v=>{var p;const w=(p=v.ns)!==null&&p!==void 0?p:i==null?void 0:i[0];return d(w),n.t(Object.assign(Object.assign({},v),{ns:w}))},[n,l]);if(s.useSuspense&&!h)throw n.addActiveNs(i,!0);return{t:g,isLoading:!h}},Tt=(t,e)=>{const{t:n,isLoading:r}=lu(t,e);return{t:u.useCallback((...o)=>{const s=eu(...o);return n(s)},[n]),isLoading:r}},Th=t=>{if(!t)return;const e={};return Object.entries(t||{}).forEach(([n,r])=>{if(typeof r=="function")e[n]=i=>r(ws(i));else if(u.isValidElement(r)){const i=r;e[n]=o=>i.props.children===void 0&&(o!=null&&o.length)?u.cloneElement(i,{},ws(o)):u.cloneElement(i)}else e[n]=r}),e},ws=t=>Array.isArray(t)?u.Children.toArray(t):t,Bh=t=>{const e=t.keyName||t.children;e===void 0&&console.error("T component: keyName not defined");const n=t.defaultValue||(t.keyName?t.children:void 0),r=ws(t.t({key:e,params:Th(t.params),defaultValue:n,noWrap:t.noWrap,ns:t.ns,language:t.language}));return u.createElement(u.Fragment,null,r)},Pn=t=>{const{t:e}=lu();return u.createElement(Bh,Object.assign({t:e},t))},jh=t=>{const{tolgee:e}=su(),{rerender:n}=au();return u.useEffect(()=>{const r=t==null?void 0:t.map(i=>e.on(i,n));return()=>{r==null||r.forEach(i=>i.unsubscribe())}},[t==null?void 0:t.join(":")]),e};function xo(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Nh=function(t,e,n,r,i,o,s,a){if(!t){var l;if(e===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,s,a],f=0;l=new Error(e.replace(/%s/g,function(){return c[f++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},Uh=Nh;const qt=xo(Uh);/*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation.
3
+
4
+ Permission to use, copy, modify, and/or distribute this software for any
5
+ purpose with or without fee is hereby granted.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
+ PERFORMANCE OF THIS SOFTWARE.
14
+ ***************************************************************************** */var Cs=function(t,e){return Cs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Cs(t,e)};function Be(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Cs(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var ee=function(){return ee=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ee.apply(this,arguments)};function $s(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function Hh(t,e,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(f){try{c(r.next(f))}catch(d){s(d)}}function l(f){try{c(r.throw(f))}catch(d){s(d)}}function c(f){f.done?o(f.value):i(f.value).then(a,l)}c((r=r.apply(t,e||[])).next())})}function Fh(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(c){return function(f){return l([c,f])}}function l(c){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(o=c[0]&2?i.return:c[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,c[1])).done)return o;switch(i=0,o&&(c=[c[0]&2,o.value]),c[0]){case 0:case 1:o=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){n.label=c[1];break}if(c[0]===6&&n.label<o[1]){n.label=o[1],o=c;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(c);break}o[2]&&n.ops.pop(),n.trys.pop();continue}c=e.call(t,n)}catch(f){c=[6,f],i=0}finally{r=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function cu(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var zh=function(t,e,n,r,i,o,s,a){if(!t){var l;if(e===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,s,a],f=0;l=new Error(e.replace(/%s/g,function(){return c[f++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},Qh=zh,Ke=cu(Qh),fe=u.createContext(null);function Vh(){Ke(!!u.useContext,"useGoogleMap is React hook and requires React version 16.8+");var t=u.useContext(fe);return Ke(!!t,"useGoogleMap needs a GoogleMap available up in the tree"),t}function Wh(t,e,n){return Object.keys(t).reduce(function(i,o){return e(i,t[o],o)},n)}function Gh(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function Yh(t,e,n,r){var i={},o=function(s,a){var l=n[a];l!==e[a]&&(i[a]=l,s(r,l))};return Gh(t,o),i}function Kh(t,e,n){var r=Wh(n,function(o,s,a){return typeof t[a]=="function"&&o.push(google.maps.event.addListener(e,s,t[a])),o},[]);return r}function Zh(t){google.maps.event.removeListener(t)}function me(t){t===void 0&&(t=[]),t.forEach(Zh)}function he(t){var e=t.updaterMap,n=t.eventMap,r=t.prevProps,i=t.nextProps,o=t.instance,s=Kh(i,o,n);return Yh(e,r,i,o),s}var Ia={onDblClick:"dblclick",onDragEnd:"dragend",onDragStart:"dragstart",onMapTypeIdChanged:"maptypeid_changed",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseDown:"mousedown",onMouseUp:"mouseup",onRightClick:"rightclick",onTilesLoaded:"tilesloaded",onBoundsChanged:"bounds_changed",onCenterChanged:"center_changed",onClick:"click",onDrag:"drag",onHeadingChanged:"heading_changed",onIdle:"idle",onProjectionChanged:"projection_changed",onResize:"resize",onTiltChanged:"tilt_changed",onZoomChanged:"zoom_changed"},ka={extraMapTypes:function(t,e){e.forEach(function(r,i){t.mapTypes.set(String(i),r)})},center:function(t,e){t.setCenter(e)},clickableIcons:function(t,e){t.setClickableIcons(e)},heading:function(t,e){t.setHeading(e)},mapTypeId:function(t,e){t.setMapTypeId(e)},options:function(t,e){t.setOptions(e)},streetView:function(t,e){t.setStreetView(e)},tilt:function(t,e){t.setTilt(e)},zoom:function(t,e){t.setZoom(e)}};function qh(t){var e=t.children,n=t.options,r=t.id,i=t.mapContainerStyle,o=t.mapContainerClassName,s=t.center,a=t.onClick,l=t.onDblClick,c=t.onDrag,f=t.onDragEnd,d=t.onDragStart,h=t.onMouseMove,g=t.onMouseOut,v=t.onMouseOver,p=t.onMouseDown,w=t.onMouseUp,S=t.onRightClick,b=t.onCenterChanged,m=t.onLoad,x=t.onUnmount,C=u.useState(null),y=C[0],E=C[1],L=u.useRef(null),I=u.useState(null),M=I[0],O=I[1],D=u.useState(null),B=D[0],N=D[1],V=u.useState(null),Z=V[0],F=V[1],K=u.useState(null),T=K[0],R=K[1],k=u.useState(null),H=k[0],z=k[1],Q=u.useState(null),_=Q[0],P=Q[1],W=u.useState(null),q=W[0],Y=W[1],te=u.useState(null),re=te[0],oe=te[1],de=u.useState(null),je=de[0],pe=de[1],ye=u.useState(null),Te=ye[0],Oe=ye[1],De=u.useState(null),se=De[0],le=De[1],ze=u.useState(null),Je=ze[0],X=ze[1];return u.useEffect(function(){n&&y!==null&&y.setOptions(n)},[y,n]),u.useEffect(function(){y!==null&&typeof s<"u"&&y.setCenter(s)},[y,s]),u.useEffect(function(){y&&l&&(B!==null&&google.maps.event.removeListener(B),N(google.maps.event.addListener(y,"dblclick",l)))},[l]),u.useEffect(function(){y&&f&&(Z!==null&&google.maps.event.removeListener(Z),F(google.maps.event.addListener(y,"dragend",f)))},[f]),u.useEffect(function(){y&&d&&(T!==null&&google.maps.event.removeListener(T),R(google.maps.event.addListener(y,"dragstart",d)))},[d]),u.useEffect(function(){y&&p&&(H!==null&&google.maps.event.removeListener(H),z(google.maps.event.addListener(y,"mousedown",p)))},[p]),u.useEffect(function(){y&&h&&(_!==null&&google.maps.event.removeListener(_),P(google.maps.event.addListener(y,"mousemove",h)))},[h]),u.useEffect(function(){y&&g&&(q!==null&&google.maps.event.removeListener(q),Y(google.maps.event.addListener(y,"mouseout",g)))},[g]),u.useEffect(function(){y&&v&&(re!==null&&google.maps.event.removeListener(re),oe(google.maps.event.addListener(y,"mouseover",v)))},[v]),u.useEffect(function(){y&&w&&(je!==null&&google.maps.event.removeListener(je),pe(google.maps.event.addListener(y,"mouseup",w)))},[w]),u.useEffect(function(){y&&S&&(Te!==null&&google.maps.event.removeListener(Te),Oe(google.maps.event.addListener(y,"rightclick",S)))},[S]),u.useEffect(function(){y&&a&&(se!==null&&google.maps.event.removeListener(se),le(google.maps.event.addListener(y,"click",a)))},[a]),u.useEffect(function(){y&&c&&(Je!==null&&google.maps.event.removeListener(Je),X(google.maps.event.addListener(y,"drag",c)))},[c]),u.useEffect(function(){y&&b&&(M!==null&&google.maps.event.removeListener(M),O(google.maps.event.addListener(y,"center_changed",b)))},[a]),u.useEffect(function(){var Qe=L.current===null?null:new google.maps.Map(L.current,n);return E(Qe),Qe!==null&&m&&m(Qe),function(){Qe!==null&&x&&x(Qe)}},[]),A.jsx("div",{id:r,ref:L,style:i,className:o,children:A.jsx(fe.Provider,{value:y,children:y!==null?e:A.jsx(A.Fragment,{})})})}u.memo(qh);var Jh=function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={map:null},n.registeredEvents=[],n.mapRef=null,n.getInstance=function(){return n.mapRef===null?null:new google.maps.Map(n.mapRef,n.props.options)},n.panTo=function(r){var i=n.getInstance();i&&i.panTo(r)},n.setMapCallback=function(){n.state.map!==null&&n.props.onLoad&&n.props.onLoad(n.state.map)},n.getRef=function(r){n.mapRef=r},n}return e.prototype.componentDidMount=function(){var n=this.getInstance();this.registeredEvents=he({updaterMap:ka,eventMap:Ia,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{map:n}},this.setMapCallback)},e.prototype.componentDidUpdate=function(n){this.state.map!==null&&(me(this.registeredEvents),this.registeredEvents=he({updaterMap:ka,eventMap:Ia,prevProps:n,nextProps:this.props,instance:this.state.map}))},e.prototype.componentWillUnmount=function(){this.state.map!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.map),me(this.registeredEvents))},e.prototype.render=function(){return A.jsx("div",{id:this.props.id,ref:this.getRef,style:this.props.mapContainerStyle,className:this.props.mapContainerClassName,children:A.jsx(fe.Provider,{value:this.state.map,children:this.state.map!==null?this.props.children:A.jsx(A.Fragment,{})})})},e}(u.PureComponent),fn=typeof document<"u";function uu(t){var e=t.url,n=t.id,r=t.nonce;return fn?new Promise(function(o,s){var a=document.getElementById(n),l=window;if(a){var c=a.getAttribute("data-state");if(a.src===e&&c!=="error"){if(c==="ready")return o(n);var f=l.initMap,d=a.onerror;l.initMap=function(){f&&f(),o(n)},a.onerror=function(g){d&&d(g),s(g)};return}else a.remove()}var h=document.createElement("script");h.type="text/javascript",h.src=e,h.id=n,h.async=!0,h.nonce=r||"",h.onerror=function(v){h.setAttribute("data-state","error"),s(v)},l.initMap=function(){h.setAttribute("data-state","ready"),o(n)},document.head.appendChild(h)}).catch(function(i){throw console.error("injectScript error: ",i),i}):Promise.reject(new Error("document is undefined"))}function Ta(t){var e=t.href;return e&&(e.indexOf("https://fonts.googleapis.com/css?family=Roboto")===0||e.indexOf("https://fonts.googleapis.com/css?family=Google+Sans+Text")===0)?!0:t.tagName.toLowerCase()==="style"&&t.styleSheet&&t.styleSheet.cssText&&t.styleSheet.cssText.replace(`\r
15
+ `,"").indexOf(".gm-style")===0?(t.styleSheet.cssText="",!0):t.tagName.toLowerCase()==="style"&&t.innerHTML&&t.innerHTML.replace(`\r
16
+ `,"").indexOf(".gm-style")===0?(t.innerHTML="",!0):t.tagName.toLowerCase()==="style"&&!t.styleSheet&&!t.innerHTML}function ea(){var t=document.getElementsByTagName("head")[0];if(t){var e=t.insertBefore.bind(t);t.insertBefore=function(i,o){return Ta(i)||Reflect.apply(e,t,[i,o]),i};var n=t.appendChild.bind(t);t.appendChild=function(i){return Ta(i)||Reflect.apply(n,t,[i]),i}}}function fu(t){var e=t.googleMapsApiKey,n=t.googleMapsClientId,r=t.version,i=r===void 0?"weekly":r,o=t.language,s=t.region,a=t.libraries,l=t.channel,c=t.mapIds,f=t.authReferrerPolicy,d=[];return Ke(e&&n||!(e&&n),"You need to specify either googleMapsApiKey or googleMapsClientId for @react-google-maps/api load script to work. You cannot use both at the same time."),e?d.push("key=".concat(e)):n&&d.push("client=".concat(n)),i&&d.push("v=".concat(i)),o&&d.push("language=".concat(o)),s&&d.push("region=".concat(s)),a&&a.length&&d.push("libraries=".concat(a.sort().join(","))),l&&d.push("channel=".concat(l)),c&&c.length&&d.push("map_ids=".concat(c.join(","))),f&&d.push("auth_referrer_policy=".concat(f)),d.push("callback=initMap"),"https://maps.googleapis.com/maps/api/js?".concat(d.join("&"))}var yr=!1;function du(){return A.jsx("div",{children:"Loading..."})}var Xr={id:"script-loader",version:"weekly"};(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.check=u.createRef(),n.state={loaded:!1},n.cleanupCallback=function(){delete window.google.maps,n.injectScript()},n.isCleaningUp=function(){return Hh(n,void 0,void 0,function(){function r(i){if(!yr)i();else if(fn)var o=window.setInterval(function(){yr||(window.clearInterval(o),i())},1)}return Fh(this,function(i){return[2,new Promise(r)]})})},n.cleanup=function(){yr=!0;var r=document.getElementById(n.props.id);r&&r.parentNode&&r.parentNode.removeChild(r),Array.prototype.slice.call(document.getElementsByTagName("script")).filter(function(o){return typeof o.src=="string"&&o.src.includes("maps.googleapis")}).forEach(function(o){o.parentNode&&o.parentNode.removeChild(o)}),Array.prototype.slice.call(document.getElementsByTagName("link")).filter(function(o){return o.href==="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Google+Sans"}).forEach(function(o){o.parentNode&&o.parentNode.removeChild(o)}),Array.prototype.slice.call(document.getElementsByTagName("style")).filter(function(o){return o.innerText!==void 0&&o.innerText.length>0&&o.innerText.includes(".gm-")}).forEach(function(o){o.parentNode&&o.parentNode.removeChild(o)})},n.injectScript=function(){n.props.preventGoogleFontsLoading&&ea(),Ke(!!n.props.id,'LoadScript requires "id" prop to be a string: %s',n.props.id);var r={id:n.props.id,nonce:n.props.nonce,url:fu(n.props)};uu(r).then(function(){n.props.onLoad&&n.props.onLoad(),n.setState(function(){return{loaded:!0}})}).catch(function(i){n.props.onError&&n.props.onError(i),console.error(`
17
+ There has been an Error with loading Google Maps API script, please check that you provided correct google API key (`.concat(n.props.googleMapsApiKey||"-",") or Client ID (").concat(n.props.googleMapsClientId||"-",`) to <LoadScript />
18
+ Otherwise it is a Network issue.
19
+ `))})},n}return e.prototype.componentDidMount=function(){if(fn){if(window.google&&window.google.maps&&!yr){console.error("google api is already presented");return}this.isCleaningUp().then(this.injectScript).catch(function(r){console.error("Error at injecting script after cleaning up: ",r)})}},e.prototype.componentDidUpdate=function(n){this.props.libraries!==n.libraries&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),fn&&n.language!==this.props.language&&(this.cleanup(),this.setState(function(){return{loaded:!1}},this.cleanupCallback))},e.prototype.componentWillUnmount=function(){var n=this;if(fn){this.cleanup();var r=function(){n.check.current||(delete window.google,yr=!1)};window.setTimeout(r,1),this.props.onUnmount&&this.props.onUnmount()}},e.prototype.render=function(){return A.jsxs(A.Fragment,{children:[A.jsx("div",{ref:this.check}),this.state.loaded?this.props.children:this.props.loadingElement||A.jsx(du,{})]})},e.defaultProps=Xr,e})(u.PureComponent);var Ba;function Xh(t){var e=t.id,n=e===void 0?Xr.id:e,r=t.version,i=r===void 0?Xr.version:r,o=t.nonce,s=t.googleMapsApiKey,a=t.googleMapsClientId,l=t.language,c=t.region,f=t.libraries,d=t.preventGoogleFontsLoading,h=t.channel,g=t.mapIds,v=t.authReferrerPolicy,p=u.useRef(!1),w=u.useState(!1),S=w[0],b=w[1],m=u.useState(void 0),x=m[0],C=m[1];u.useEffect(function(){return p.current=!0,function(){p.current=!1}},[]),u.useEffect(function(){fn&&d&&ea()},[d]),u.useEffect(function(){S&&Ke(!!window.google,"useLoadScript was marked as loaded, but window.google is not present. Something went wrong.")},[S]);var y=fu({version:i,googleMapsApiKey:s,googleMapsClientId:a,language:l,region:c,libraries:f,channel:h,mapIds:g,authReferrerPolicy:v});u.useEffect(function(){if(!fn)return;function I(){p.current&&(b(!0),Ba=y)}if(window.google&&window.google.maps&&Ba===y){I();return}uu({id:n,url:y,nonce:o}).then(I).catch(function(O){p.current&&C(O),console.warn(`
20
+ There has been an Error with loading Google Maps API script, please check that you provided correct google API key (`.concat(s||"-",") or Client ID (").concat(a||"-",`)
21
+ Otherwise it is a Network issue.
22
+ `)),console.error(O)})},[n,y,o]);var E=u.useRef();return u.useEffect(function(){E.current&&f!==E.current&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),E.current=f},[f]),{isLoaded:S,loadError:x,url:y}}var _h=A.jsx(du,{});function $h(t){var e=t.loadingElement,n=t.onLoad,r=t.onError,i=t.onUnmount,o=t.children,s=$s(t,["loadingElement","onLoad","onError","onUnmount","children"]),a=Xh(s),l=a.isLoaded,c=a.loadError;return u.useEffect(function(){l&&typeof n=="function"&&n()},[l,n]),u.useEffect(function(){c&&typeof r=="function"&&r(c)},[c,r]),u.useEffect(function(){return function(){i&&i()}},[i]),l?o:e||_h}u.memo($h);/*! *****************************************************************************
23
+ Copyright (c) Microsoft Corporation.
24
+
25
+ Permission to use, copy, modify, and/or distribute this software for any
26
+ purpose with or without fee is hereby granted.
27
+
28
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
29
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
30
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
31
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
32
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
33
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
34
+ PERFORMANCE OF THIS SOFTWARE.
35
+ ***************************************************************************** */function ep(t,e,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(f){try{c(r.next(f))}catch(d){s(d)}}function l(f){try{c(r.throw(f))}catch(d){s(d)}}function c(f){f.done?o(f.value):i(f.value).then(a,l)}c((r=r.apply(t,e||[])).next())})}var tp=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!t(e[i],n[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(o=Object.keys(e),r=o.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;i--!==0;){var s=o[i];if(!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n};const ja="__googleMapsScriptId";var Zn;(function(t){t[t.INITIALIZED=0]="INITIALIZED",t[t.LOADING=1]="LOADING",t[t.SUCCESS=2]="SUCCESS",t[t.FAILURE=3]="FAILURE"})(Zn||(Zn={}));class On{constructor({apiKey:e,authReferrerPolicy:n,channel:r,client:i,id:o=ja,language:s,libraries:a=[],mapIds:l,nonce:c,region:f,retries:d=3,url:h="https://maps.googleapis.com/maps/api/js",version:g}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=e,this.authReferrerPolicy=n,this.channel=r,this.client=i,this.id=o||ja,this.language=s,this.libraries=a,this.mapIds=l,this.nonce=c,this.region=f,this.retries=d,this.url=h,this.version=g,On.instance){if(!tp(this.options,On.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(On.instance.options)}`);return On.instance}On.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?Zn.FAILURE:this.done?Zn.SUCCESS:this.loading?Zn.LOADING:Zn.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+="?callback=__googleMapsCallback",this.apiKey&&(e+=`&key=${this.apiKey}`),this.channel&&(e+=`&channel=${this.channel}`),this.client&&(e+=`&client=${this.client}`),this.libraries.length>0&&(e+=`&libraries=${this.libraries.join(",")}`),this.language&&(e+=`&language=${this.language}`),this.region&&(e+=`&region=${this.region}`),this.version&&(e+=`&v=${this.version}`),this.mapIds&&(e+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(e+=`&auth_referrer_policy=${this.authReferrerPolicy}`),e}deleteScript(){const e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((e,n)=>{this.loadCallback(r=>{r?n(r.error):e(window.google)})})}importLibrary(e){return this.execute(),google.maps.importLibrary(e)}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){var e,n;if(document.getElementById(this.id)){this.callback();return}const r={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(r).forEach(o=>!r[o]&&delete r[o]),!((n=(e=window==null?void 0:window.google)===null||e===void 0?void 0:e.maps)===null||n===void 0)&&n.importLibrary||(o=>{let s,a,l,c="The Google Maps JavaScript API",f="google",d="importLibrary",h="__ib__",g=document,v=window;v=v[f]||(v[f]={});const p=v.maps||(v.maps={}),w=new Set,S=new URLSearchParams,b=()=>s||(s=new Promise((m,x)=>ep(this,void 0,void 0,function*(){var C;yield a=g.createElement("script"),a.id=this.id,S.set("libraries",[...w]+"");for(l in o)S.set(l.replace(/[A-Z]/g,y=>"_"+y[0].toLowerCase()),o[l]);S.set("callback",f+".maps."+h),a.src=this.url+"?"+S,p[h]=m,a.onerror=()=>s=x(Error(c+" could not load.")),a.nonce=this.nonce||((C=g.querySelector("script[nonce]"))===null||C===void 0?void 0:C.nonce)||"",g.head.append(a)})));p[d]?console.warn(c+" only loads once. Ignoring:",o):p[d]=(m,...x)=>w.add(m)&&b().then(()=>p[d](m,...x))})(r);const i=this.libraries.map(o=>this.importLibrary(o));i.length||i.push(this.importLibrary("core")),Promise.all(i).then(()=>this.callback(),o=>{const s=new ErrorEvent("error",{error:o});this.loadErrorCallback(s)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){const n=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${n} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},n)}else this.onerrorEvent=e,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(e=>{e(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading||(this.loading=!0,this.setScript())}}}var np=["maps"];function rp(t){var e=t.id,n=e===void 0?Xr.id:e,r=t.version,i=r===void 0?Xr.version:r,o=t.nonce,s=t.googleMapsApiKey,a=t.language,l=t.region,c=t.libraries,f=c===void 0?np:c,d=t.preventGoogleFontsLoading,h=t.mapIds,g=t.authReferrerPolicy,v=u.useRef(!1),p=u.useState(!1),w=p[0],S=p[1],b=u.useState(void 0),m=b[0],x=b[1];u.useEffect(function(){return v.current=!0,function(){v.current=!1}},[]);var C=u.useMemo(function(){return new On({id:n,apiKey:s,version:i,libraries:f,language:a||"en",region:l||"US",mapIds:h||[],nonce:o||"",authReferrerPolicy:g||"origin"})},[n,s,i,f,a,l,h,o,g]);u.useEffect(function(){w||C.load().then(function(){v.current&&S(!0)}).catch(function(L){x(L)})},[]),u.useEffect(function(){fn&&d&&ea()},[d]);var y=u.useRef();return u.useEffect(function(){y.current&&f!==y.current&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),y.current=f},[f]),{isLoaded:w,loadError:m}}var Na={},Ua={options:function(t,e){t.setOptions(e)}};function ip(t){var e=t.options,n=t.onLoad,r=t.onUnmount,i=u.useContext(fe),o=u.useState(null),s=o[0],a=o[1];return u.useEffect(function(){s!==null&&s.setMap(i)},[i]),u.useEffect(function(){e&&s!==null&&s.setOptions(e)},[s,e]),u.useEffect(function(){var l=new google.maps.TrafficLayer(ee(ee({},e||{}),{map:i}));return a(l),n&&n(l),function(){s!==null&&(r&&r(s),s.setMap(null))}},[]),null}u.memo(ip);(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={trafficLayer:null},n.setTrafficLayerCallback=function(){n.state.trafficLayer!==null&&n.props.onLoad&&n.props.onLoad(n.state.trafficLayer)},n.registeredEvents=[],n}return e.prototype.componentDidMount=function(){var n=new google.maps.TrafficLayer(ee(ee({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:Ua,eventMap:Na,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{trafficLayer:n}},this.setTrafficLayerCallback)},e.prototype.componentDidUpdate=function(n){this.state.trafficLayer!==null&&(me(this.registeredEvents),this.registeredEvents=he({updaterMap:Ua,eventMap:Na,prevProps:n,nextProps:this.props,instance:this.state.trafficLayer}))},e.prototype.componentWillUnmount=function(){this.state.trafficLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.trafficLayer),me(this.registeredEvents),this.state.trafficLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=fe,e})(u.PureComponent);function op(t){var e=t.onLoad,n=t.onUnmount,r=u.useContext(fe),i=u.useState(null),o=i[0],s=i[1];return u.useEffect(function(){o!==null&&o.setMap(r)},[r]),u.useEffect(function(){var a=new google.maps.BicyclingLayer;return s(a),a.setMap(r),e&&e(a),function(){a!==null&&(n&&n(a),a.setMap(null))}},[]),null}u.memo(op);(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={bicyclingLayer:null},n.setBicyclingLayerCallback=function(){n.state.bicyclingLayer!==null&&(n.state.bicyclingLayer.setMap(n.context),n.props.onLoad&&n.props.onLoad(n.state.bicyclingLayer))},n}return e.prototype.componentDidMount=function(){var n=new google.maps.BicyclingLayer;this.setState(function(){return{bicyclingLayer:n}},this.setBicyclingLayerCallback)},e.prototype.componentWillUnmount=function(){this.state.bicyclingLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.bicyclingLayer),this.state.bicyclingLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=fe,e})(u.PureComponent);function sp(t){var e=t.onLoad,n=t.onUnmount,r=u.useContext(fe),i=u.useState(null),o=i[0],s=i[1];return u.useEffect(function(){o!==null&&o.setMap(r)},[r]),u.useEffect(function(){var a=new google.maps.TransitLayer;return s(a),a.setMap(r),e&&e(a),function(){o!==null&&(n&&n(o),o.setMap(null))}},[]),null}u.memo(sp);(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={transitLayer:null},n.setTransitLayerCallback=function(){n.state.transitLayer!==null&&(n.state.transitLayer.setMap(n.context),n.props.onLoad&&n.props.onLoad(n.state.transitLayer))},n}return e.prototype.componentDidMount=function(){var n=new google.maps.TransitLayer;this.setState(function(){return{transitLayer:n}},this.setTransitLayerCallback)},e.prototype.componentWillUnmount=function(){this.state.transitLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.transitLayer),this.state.transitLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=fe,e})(u.PureComponent);var Ha={onCircleComplete:"circlecomplete",onMarkerComplete:"markercomplete",onOverlayComplete:"overlaycomplete",onPolygonComplete:"polygoncomplete",onPolylineComplete:"polylinecomplete",onRectangleComplete:"rectanglecomplete"},Fa={drawingMode:function(t,e){t.setDrawingMode(e)},options:function(t,e){t.setOptions(e)}};function ap(t){var e=t.options,n=t.drawingMode,r=t.onCircleComplete,i=t.onMarkerComplete,o=t.onOverlayComplete,s=t.onPolygonComplete,a=t.onPolylineComplete,l=t.onRectangleComplete,c=t.onLoad,f=t.onUnmount,d=u.useContext(fe),h=u.useState(null),g=h[0],v=h[1],p=u.useState(null),w=p[0],S=p[1],b=u.useState(null),m=b[0],x=b[1],C=u.useState(null),y=C[0],E=C[1],L=u.useState(null),I=L[0],M=L[1],O=u.useState(null),D=O[0],B=O[1],N=u.useState(null),V=N[0],Z=N[1];return u.useEffect(function(){g!==null&&g.setMap(d)},[d]),u.useEffect(function(){e&&g!==null&&g.setOptions(e)},[g,e]),u.useEffect(function(){n&&g!==null&&g.setDrawingMode(n)},[g,n]),u.useEffect(function(){g&&r&&(w!==null&&google.maps.event.removeListener(w),S(google.maps.event.addListener(g,"circlecomplete",r)))},[g,r]),u.useEffect(function(){g&&i&&(m!==null&&google.maps.event.removeListener(m),x(google.maps.event.addListener(g,"markercomplete",i)))},[g,i]),u.useEffect(function(){g&&o&&(y!==null&&google.maps.event.removeListener(y),E(google.maps.event.addListener(g,"overlaycomplete",o)))},[g,o]),u.useEffect(function(){g&&s&&(I!==null&&google.maps.event.removeListener(I),M(google.maps.event.addListener(g,"polygoncomplete",s)))},[g,s]),u.useEffect(function(){g&&a&&(D!==null&&google.maps.event.removeListener(D),B(google.maps.event.addListener(g,"polylinecomplete",a)))},[g,a]),u.useEffect(function(){g&&l&&(V!==null&&google.maps.event.removeListener(V),Z(google.maps.event.addListener(g,"rectanglecomplete",l)))},[g,l]),u.useEffect(function(){Ke(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing);var F=new google.maps.drawing.DrawingManager(ee(ee({},e||{}),{map:d}));return n&&F.setDrawingMode(n),r&&S(google.maps.event.addListener(F,"circlecomplete",r)),i&&x(google.maps.event.addListener(F,"markercomplete",i)),o&&E(google.maps.event.addListener(F,"overlaycomplete",o)),s&&M(google.maps.event.addListener(F,"polygoncomplete",s)),a&&B(google.maps.event.addListener(F,"polylinecomplete",a)),l&&Z(google.maps.event.addListener(F,"rectanglecomplete",l)),v(F),c&&c(F),function(){g!==null&&(w&&google.maps.event.removeListener(w),m&&google.maps.event.removeListener(m),y&&google.maps.event.removeListener(y),I&&google.maps.event.removeListener(I),D&&google.maps.event.removeListener(D),V&&google.maps.event.removeListener(V),f&&f(g),g.setMap(null))}},[]),null}u.memo(ap);(function(t){Be(e,t);function e(n){var r=t.call(this,n)||this;return r.registeredEvents=[],r.state={drawingManager:null},r.setDrawingManagerCallback=function(){r.state.drawingManager!==null&&r.props.onLoad&&r.props.onLoad(r.state.drawingManager)},Ke(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing),r}return e.prototype.componentDidMount=function(){var n=new google.maps.drawing.DrawingManager(ee(ee({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:Fa,eventMap:Ha,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{drawingManager:n}},this.setDrawingManagerCallback)},e.prototype.componentDidUpdate=function(n){this.state.drawingManager!==null&&(me(this.registeredEvents),this.registeredEvents=he({updaterMap:Fa,eventMap:Ha,prevProps:n,nextProps:this.props,instance:this.state.drawingManager}))},e.prototype.componentWillUnmount=function(){this.state.drawingManager!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.drawingManager),me(this.registeredEvents),this.state.drawingManager.setMap(null))},e.prototype.render=function(){return null},e.contextType=fe,e})(u.PureComponent);var za={onAnimationChanged:"animation_changed",onClick:"click",onClickableChanged:"clickable_changed",onCursorChanged:"cursor_changed",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDraggableChanged:"draggable_changed",onDragStart:"dragstart",onFlatChanged:"flat_changed",onIconChanged:"icon_changed",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onPositionChanged:"position_changed",onRightClick:"rightclick",onShapeChanged:"shape_changed",onTitleChanged:"title_changed",onVisibleChanged:"visible_changed",onZindexChanged:"zindex_changed"},Qa={animation:function(t,e){t.setAnimation(e)},clickable:function(t,e){t.setClickable(e)},cursor:function(t,e){t.setCursor(e)},draggable:function(t,e){t.setDraggable(e)},icon:function(t,e){t.setIcon(e)},label:function(t,e){t.setLabel(e)},map:function(t,e){t.setMap(e)},opacity:function(t,e){t.setOpacity(e)},options:function(t,e){t.setOptions(e)},position:function(t,e){t.setPosition(e)},shape:function(t,e){t.setShape(e)},title:function(t,e){t.setTitle(e)},visible:function(t,e){t.setVisible(e)},zIndex:function(t,e){t.setZIndex(e)}},oo={};function lp(t){var e=t.position,n=t.options,r=t.clusterer,i=t.noClustererRedraw,o=t.children,s=t.draggable,a=t.visible,l=t.animation,c=t.clickable,f=t.cursor,d=t.icon,h=t.label,g=t.opacity,v=t.shape,p=t.title,w=t.zIndex,S=t.onClick,b=t.onDblClick,m=t.onDrag,x=t.onDragEnd,C=t.onDragStart,y=t.onMouseOut,E=t.onMouseOver,L=t.onMouseUp,I=t.onMouseDown,M=t.onRightClick,O=t.onClickableChanged,D=t.onCursorChanged,B=t.onAnimationChanged,N=t.onDraggableChanged,V=t.onFlatChanged,Z=t.onIconChanged,F=t.onPositionChanged,K=t.onShapeChanged,T=t.onTitleChanged,R=t.onVisibleChanged,k=t.onZindexChanged,H=t.onLoad,z=t.onUnmount,Q=u.useContext(fe),_=u.useState(null),P=_[0],W=_[1],q=u.useState(null),Y=q[0],te=q[1],re=u.useState(null),oe=re[0],de=re[1],je=u.useState(null),pe=je[0],ye=je[1],Te=u.useState(null),Oe=Te[0],De=Te[1],se=u.useState(null),le=se[0],ze=se[1],Je=u.useState(null),X=Je[0],Qe=Je[1],Ne=u.useState(null),ft=Ne[0],ot=Ne[1],ce=u.useState(null),vn=ce[0],fi=ce[1],xt=u.useState(null),Vt=xt[0],di=xt[1],U=u.useState(null),ne=U[0],J=U[1],ge=u.useState(null),Re=ge[0],Se=ge[1],Ie=u.useState(null),Me=Ie[0],Ue=Ie[1],ue=u.useState(null),be=ue[0],ct=ue[1],Wt=u.useState(null),st=Wt[0],Ze=Wt[1],dt=u.useState(null),ht=dt[0],_e=dt[1],Bt=u.useState(null),Ot=Bt[0],pt=Bt[1],_t=u.useState(null),Gt=_t[0],dr=_t[1],hr=u.useState(null),Un=hr[0],pr=hr[1],Hn=u.useState(null),mn=Hn[0],gr=Hn[1],$t=u.useState(null),yn=$t[0],bn=$t[1],wn=u.useState(null),Cn=wn[0],vr=wn[1];u.useEffect(function(){P!==null&&P.setMap(Q)},[Q]),u.useEffect(function(){typeof n<"u"&&P!==null&&P.setOptions(n)},[P,n]),u.useEffect(function(){typeof s<"u"&&P!==null&&P.setDraggable(s)},[P,s]),u.useEffect(function(){e&&P!==null&&P.setPosition(e)},[P,e]),u.useEffect(function(){typeof a<"u"&&P!==null&&P.setVisible(a)},[P,a]),u.useEffect(function(){P==null||P.setAnimation(l)},[P,l]),u.useEffect(function(){P&&b&&(Y!==null&&google.maps.event.removeListener(Y),te(google.maps.event.addListener(P,"dblclick",b)))},[b]),u.useEffect(function(){P&&x&&(oe!==null&&google.maps.event.removeListener(oe),de(google.maps.event.addListener(P,"dragend",x)))},[x]),u.useEffect(function(){P&&C&&(pe!==null&&google.maps.event.removeListener(pe),ye(google.maps.event.addListener(P,"dragstart",C)))},[C]),u.useEffect(function(){P&&I&&(Oe!==null&&google.maps.event.removeListener(Oe),De(google.maps.event.addListener(P,"mousedown",I)))},[I]),u.useEffect(function(){P&&y&&(le!==null&&google.maps.event.removeListener(le),ze(google.maps.event.addListener(P,"mouseout",y)))},[y]),u.useEffect(function(){P&&E&&(X!==null&&google.maps.event.removeListener(X),Qe(google.maps.event.addListener(P,"mouseover",E)))},[E]),u.useEffect(function(){P&&L&&(ft!==null&&google.maps.event.removeListener(ft),ot(google.maps.event.addListener(P,"mouseup",L)))},[L]),u.useEffect(function(){P&&M&&(vn!==null&&google.maps.event.removeListener(vn),fi(google.maps.event.addListener(P,"rightclick",M)))},[M]),u.useEffect(function(){P&&S&&(Vt!==null&&google.maps.event.removeListener(Vt),di(google.maps.event.addListener(P,"click",S)))},[S]),u.useEffect(function(){P&&m&&(ne!==null&&google.maps.event.removeListener(ne),J(google.maps.event.addListener(P,"drag",m)))},[m]),u.useEffect(function(){P&&O&&(Re!==null&&google.maps.event.removeListener(Re),Se(google.maps.event.addListener(P,"clickable_changed",O)))},[O]),u.useEffect(function(){P&&D&&(Me!==null&&google.maps.event.removeListener(Me),Ue(google.maps.event.addListener(P,"cursor_changed",D)))},[D]),u.useEffect(function(){P&&B&&(be!==null&&google.maps.event.removeListener(be),ct(google.maps.event.addListener(P,"animation_changed",B)))},[B]),u.useEffect(function(){P&&N&&(st!==null&&google.maps.event.removeListener(st),Ze(google.maps.event.addListener(P,"draggable_changed",N)))},[N]),u.useEffect(function(){P&&V&&(ht!==null&&google.maps.event.removeListener(ht),_e(google.maps.event.addListener(P,"flat_changed",V)))},[V]),u.useEffect(function(){P&&Z&&(Ot!==null&&google.maps.event.removeListener(Ot),pt(google.maps.event.addListener(P,"icon_changed",Z)))},[Z]),u.useEffect(function(){P&&F&&(Gt!==null&&google.maps.event.removeListener(Gt),dr(google.maps.event.addListener(P,"position_changed",F)))},[F]),u.useEffect(function(){P&&K&&(Un!==null&&google.maps.event.removeListener(Un),pr(google.maps.event.addListener(P,"shape_changed",K)))},[K]),u.useEffect(function(){P&&T&&(mn!==null&&google.maps.event.removeListener(mn),gr(google.maps.event.addListener(P,"title_changed",T)))},[T]),u.useEffect(function(){P&&R&&(yn!==null&&google.maps.event.removeListener(yn),bn(google.maps.event.addListener(P,"visible_changed",R)))},[R]),u.useEffect(function(){P&&k&&(Cn!==null&&google.maps.event.removeListener(Cn),vr(google.maps.event.addListener(P,"zindex_changed",k)))},[k]),u.useEffect(function(){var en=ee(ee(ee({},n||oo),r?oo:{map:Q}),{position:e}),ie=new google.maps.Marker(en);return r?r.addMarker(ie,!!i):ie.setMap(Q),e&&ie.setPosition(e),typeof a<"u"&&ie.setVisible(a),typeof s<"u"&&ie.setDraggable(s),typeof c<"u"&&ie.setClickable(c),typeof f=="string"&&ie.setCursor(f),d&&ie.setIcon(d),typeof h<"u"&&ie.setLabel(h),typeof g<"u"&&ie.setOpacity(g),v&&ie.setShape(v),typeof p=="string"&&ie.setTitle(p),typeof w=="number"&&ie.setZIndex(w),b&&te(google.maps.event.addListener(ie,"dblclick",b)),x&&de(google.maps.event.addListener(ie,"dragend",x)),C&&ye(google.maps.event.addListener(ie,"dragstart",C)),I&&De(google.maps.event.addListener(ie,"mousedown",I)),y&&ze(google.maps.event.addListener(ie,"mouseout",y)),E&&Qe(google.maps.event.addListener(ie,"mouseover",E)),L&&ot(google.maps.event.addListener(ie,"mouseup",L)),M&&fi(google.maps.event.addListener(ie,"rightclick",M)),S&&di(google.maps.event.addListener(ie,"click",S)),m&&J(google.maps.event.addListener(ie,"drag",m)),O&&Se(google.maps.event.addListener(ie,"clickable_changed",O)),D&&Ue(google.maps.event.addListener(ie,"cursor_changed",D)),B&&ct(google.maps.event.addListener(ie,"animation_changed",B)),N&&Ze(google.maps.event.addListener(ie,"draggable_changed",N)),V&&_e(google.maps.event.addListener(ie,"flat_changed",V)),Z&&pt(google.maps.event.addListener(ie,"icon_changed",Z)),F&&dr(google.maps.event.addListener(ie,"position_changed",F)),K&&pr(google.maps.event.addListener(ie,"shape_changed",K)),T&&gr(google.maps.event.addListener(ie,"title_changed",T)),R&&bn(google.maps.event.addListener(ie,"visible_changed",R)),k&&vr(google.maps.event.addListener(ie,"zindex_changed",k)),W(ie),H&&H(ie),function(){Y!==null&&google.maps.event.removeListener(Y),oe!==null&&google.maps.event.removeListener(oe),pe!==null&&google.maps.event.removeListener(pe),Oe!==null&&google.maps.event.removeListener(Oe),le!==null&&google.maps.event.removeListener(le),X!==null&&google.maps.event.removeListener(X),ft!==null&&google.maps.event.removeListener(ft),vn!==null&&google.maps.event.removeListener(vn),Vt!==null&&google.maps.event.removeListener(Vt),Re!==null&&google.maps.event.removeListener(Re),Me!==null&&google.maps.event.removeListener(Me),be!==null&&google.maps.event.removeListener(be),st!==null&&google.maps.event.removeListener(st),ht!==null&&google.maps.event.removeListener(ht),Ot!==null&&google.maps.event.removeListener(Ot),Gt!==null&&google.maps.event.removeListener(Gt),mn!==null&&google.maps.event.removeListener(mn),yn!==null&&google.maps.event.removeListener(yn),Cn!==null&&google.maps.event.removeListener(Cn),z&&z(ie),r?r.removeMarker(ie,!!i):ie&&ie.setMap(null)}},[]);var mr=u.useMemo(function(){return o?u.Children.map(o,function(en){if(!u.isValidElement(en))return en;var ie=en;return u.cloneElement(ie,{anchor:P})}):null},[o,P]);return A.jsx(A.Fragment,{children:mr})||null}u.memo(lp);var hu=function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n}return e.prototype.componentDidMount=function(){var n=ee(ee(ee({},this.props.options||oo),this.props.clusterer?oo:{map:this.context}),{position:this.props.position});this.marker=new google.maps.Marker(n),this.props.clusterer?this.props.clusterer.addMarker(this.marker,!!this.props.noClustererRedraw):this.marker.setMap(this.context),this.registeredEvents=he({updaterMap:Qa,eventMap:za,prevProps:{},nextProps:this.props,instance:this.marker}),this.props.onLoad&&this.props.onLoad(this.marker)},e.prototype.componentDidUpdate=function(n){this.marker&&(me(this.registeredEvents),this.registeredEvents=he({updaterMap:Qa,eventMap:za,prevProps:n,nextProps:this.props,instance:this.marker}))},e.prototype.componentWillUnmount=function(){this.marker&&(this.props.onUnmount&&this.props.onUnmount(this.marker),me(this.registeredEvents),this.props.clusterer?this.props.clusterer.removeMarker(this.marker,!!this.props.noClustererRedraw):this.marker&&this.marker.setMap(null))},e.prototype.render=function(){var n=this,r=null;return this.props.children&&(r=u.Children.map(this.props.children,function(i){if(!u.isValidElement(i))return i;var o=i;return u.cloneElement(o,{anchor:n.marker})})),r||null},e.contextType=fe,e}(u.PureComponent),cp=function(){function t(e,n){e.getClusterer().extend(t,google.maps.OverlayView),this.cluster=e,this.clusterClassName=this.cluster.getClusterer().getClusterClass(),this.className=this.clusterClassName,this.styles=n,this.center=void 0,this.div=null,this.sums=null,this.visible=!1,this.boundsChangedListener=null,this.url="",this.height=0,this.width=0,this.anchorText=[0,0],this.anchorIcon=[0,0],this.textColor="black",this.textSize=11,this.textDecoration="none",this.fontWeight="bold",this.fontStyle="normal",this.fontFamily="Arial,sans-serif",this.backgroundPosition="0 0",this.cMouseDownInCluster=null,this.cDraggingMapByCluster=null,this.timeOut=null,this.setMap(e.getMap()),this.onBoundsChanged=this.onBoundsChanged.bind(this),this.onMouseDown=this.onMouseDown.bind(this),this.onClick=this.onClick.bind(this),this.onMouseOver=this.onMouseOver.bind(this),this.onMouseOut=this.onMouseOut.bind(this),this.onAdd=this.onAdd.bind(this),this.onRemove=this.onRemove.bind(this),this.draw=this.draw.bind(this),this.hide=this.hide.bind(this),this.show=this.show.bind(this),this.useStyle=this.useStyle.bind(this),this.setCenter=this.setCenter.bind(this),this.getPosFromLatLng=this.getPosFromLatLng.bind(this)}return t.prototype.onBoundsChanged=function(){this.cDraggingMapByCluster=this.cMouseDownInCluster},t.prototype.onMouseDown=function(){this.cMouseDownInCluster=!0,this.cDraggingMapByCluster=!1},t.prototype.onClick=function(e){if(this.cMouseDownInCluster=!1,!this.cDraggingMapByCluster){var n=this.cluster.getClusterer();if(google.maps.event.trigger(n,"click",this.cluster),google.maps.event.trigger(n,"clusterclick",this.cluster),n.getZoomOnClick()){var r=n.getMaxZoom(),i=this.cluster.getBounds(),o=n.getMap();o!==null&&"fitBounds"in o&&o.fitBounds(i),this.timeOut=window.setTimeout(function(){var s=n.getMap();if(s!==null){"fitBounds"in s&&s.fitBounds(i);var a=s.getZoom()||0;r!==null&&a>r&&s.setZoom(r+1)}},100)}e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}},t.prototype.onMouseOver=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseover",this.cluster)},t.prototype.onMouseOut=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseout",this.cluster)},t.prototype.onAdd=function(){var e;this.div=document.createElement("div"),this.div.className=this.className,this.visible&&this.show(),(e=this.getPanes())===null||e===void 0||e.overlayMouseTarget.appendChild(this.div);var n=this.getMap();n!==null&&(this.boundsChangedListener=google.maps.event.addListener(n,"bounds_changed",this.onBoundsChanged),this.div.addEventListener("mousedown",this.onMouseDown),this.div.addEventListener("click",this.onClick),this.div.addEventListener("mouseover",this.onMouseOver),this.div.addEventListener("mouseout",this.onMouseOut))},t.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.hide(),this.boundsChangedListener!==null&&google.maps.event.removeListener(this.boundsChangedListener),this.div.removeEventListener("mousedown",this.onMouseDown),this.div.removeEventListener("click",this.onClick),this.div.removeEventListener("mouseover",this.onMouseOver),this.div.removeEventListener("mouseout",this.onMouseOut),this.div.parentNode.removeChild(this.div),this.timeOut!==null&&(window.clearTimeout(this.timeOut),this.timeOut=null),this.div=null)},t.prototype.draw=function(){if(this.visible&&this.div!==null&&this.center){var e=this.getPosFromLatLng(this.center);this.div.style.top=e!==null?"".concat(e.y,"px"):"0",this.div.style.left=e!==null?"".concat(e.x,"px"):"0"}},t.prototype.hide=function(){this.div&&(this.div.style.display="none"),this.visible=!1},t.prototype.show=function(){var e,n,r,i,o,s;if(this.div&&this.center){var a=this.sums===null||typeof this.sums.title>"u"||this.sums.title===""?this.cluster.getClusterer().getTitle():this.sums.title,l=this.backgroundPosition.split(" "),c=parseInt(((e=l[0])===null||e===void 0?void 0:e.replace(/^\s+|\s+$/g,""))||"0",10),f=parseInt(((n=l[1])===null||n===void 0?void 0:n.replace(/^\s+|\s+$/g,""))||"0",10),d=this.getPosFromLatLng(this.center);this.div.className=this.className,this.div.setAttribute("style","cursor: pointer; position: absolute; top: ".concat(d!==null?"".concat(d.y,"px"):"0","; left: ").concat(d!==null?"".concat(d.x,"px"):"0","; width: ").concat(this.width,"px; height: ").concat(this.height,"px; "));var h=document.createElement("img");h.alt=a,h.src=this.url,h.width=this.width,h.height=this.height,h.setAttribute("style","position: absolute; top: ".concat(f,"px; left: ").concat(c,"px")),this.cluster.getClusterer().enableRetinaIcons||(h.style.clip="rect(-".concat(f,"px, -").concat(c+this.width,"px, -").concat(f+this.height,", -").concat(c,")"));var g=document.createElement("div");g.setAttribute("style","position: absolute; top: ".concat(this.anchorText[0],"px; left: ").concat(this.anchorText[1],"px; color: ").concat(this.textColor,"; font-size: ").concat(this.textSize,"px; font-family: ").concat(this.fontFamily,"; font-weight: ").concat(this.fontWeight,"; fontStyle: ").concat(this.fontStyle,"; text-decoration: ").concat(this.textDecoration,"; text-align: center; width: ").concat(this.width,"px; line-height: ").concat(this.height,"px")),!((r=this.sums)===null||r===void 0)&&r.text&&(g.innerText="".concat((i=this.sums)===null||i===void 0?void 0:i.text)),!((o=this.sums)===null||o===void 0)&&o.html&&(g.innerHTML="".concat((s=this.sums)===null||s===void 0?void 0:s.html)),this.div.innerHTML="",this.div.appendChild(h),this.div.appendChild(g),this.div.title=a,this.div.style.display=""}this.visible=!0},t.prototype.useStyle=function(e){this.sums=e;var n=this.cluster.getClusterer().getStyles(),r=n[Math.min(n.length-1,Math.max(0,e.index-1))];r&&(this.url=r.url,this.height=r.height,this.width=r.width,r.className&&(this.className="".concat(this.clusterClassName," ").concat(r.className)),this.anchorText=r.anchorText||[0,0],this.anchorIcon=r.anchorIcon||[this.height/2,this.width/2],this.textColor=r.textColor||"black",this.textSize=r.textSize||11,this.textDecoration=r.textDecoration||"none",this.fontWeight=r.fontWeight||"bold",this.fontStyle=r.fontStyle||"normal",this.fontFamily=r.fontFamily||"Arial,sans-serif",this.backgroundPosition=r.backgroundPosition||"0 0")},t.prototype.setCenter=function(e){this.center=e},t.prototype.getPosFromLatLng=function(e){var n=this.getProjection().fromLatLngToDivPixel(e);return n!==null&&(n.x-=this.anchorIcon[1],n.y-=this.anchorIcon[0]),n},t}(),up=function(){function t(e){this.markerClusterer=e,this.map=this.markerClusterer.getMap(),this.gridSize=this.markerClusterer.getGridSize(),this.minClusterSize=this.markerClusterer.getMinimumClusterSize(),this.averageCenter=this.markerClusterer.getAverageCenter(),this.markers=[],this.center=void 0,this.bounds=null,this.clusterIcon=new cp(this,this.markerClusterer.getStyles()),this.getSize=this.getSize.bind(this),this.getMarkers=this.getMarkers.bind(this),this.getCenter=this.getCenter.bind(this),this.getMap=this.getMap.bind(this),this.getClusterer=this.getClusterer.bind(this),this.getBounds=this.getBounds.bind(this),this.remove=this.remove.bind(this),this.addMarker=this.addMarker.bind(this),this.isMarkerInClusterBounds=this.isMarkerInClusterBounds.bind(this),this.calculateBounds=this.calculateBounds.bind(this),this.updateIcon=this.updateIcon.bind(this),this.isMarkerAlreadyAdded=this.isMarkerAlreadyAdded.bind(this)}return t.prototype.getSize=function(){return this.markers.length},t.prototype.getMarkers=function(){return this.markers},t.prototype.getCenter=function(){return this.center},t.prototype.getMap=function(){return this.map},t.prototype.getClusterer=function(){return this.markerClusterer},t.prototype.getBounds=function(){for(var e=new google.maps.LatLngBounds(this.center,this.center),n=this.getMarkers(),r=0,i=n;r<i.length;r++){var o=i[r],s=o.getPosition();s&&e.extend(s)}return e},t.prototype.remove=function(){this.clusterIcon.setMap(null),this.markers=[],delete this.markers},t.prototype.addMarker=function(e){var n;if(this.isMarkerAlreadyAdded(e))return!1;if(this.center){if(this.averageCenter){var r=e.getPosition();if(r){var i=this.markers.length+1;this.center=new google.maps.LatLng((this.center.lat()*(i-1)+r.lat())/i,(this.center.lng()*(i-1)+r.lng())/i),this.calculateBounds()}}}else{var r=e.getPosition();r&&(this.center=r,this.calculateBounds())}e.isAdded=!0,this.markers.push(e);var o=this.markers.length,s=this.markerClusterer.getMaxZoom(),a=(n=this.map)===null||n===void 0?void 0:n.getZoom();if(s!==null&&typeof a<"u"&&a>s)e.getMap()!==this.map&&e.setMap(this.map);else if(o<this.minClusterSize)e.getMap()!==this.map&&e.setMap(this.map);else if(o===this.minClusterSize)for(var l=0,c=this.markers;l<c.length;l++){var f=c[l];f.setMap(null)}else e.setMap(null);return!0},t.prototype.isMarkerInClusterBounds=function(e){if(this.bounds!==null){var n=e.getPosition();if(n)return this.bounds.contains(n)}return!1},t.prototype.calculateBounds=function(){this.bounds=this.markerClusterer.getExtendedBounds(new google.maps.LatLngBounds(this.center,this.center))},t.prototype.updateIcon=function(){var e,n=this.markers.length,r=this.markerClusterer.getMaxZoom(),i=(e=this.map)===null||e===void 0?void 0:e.getZoom();if(r!==null&&typeof i<"u"&&i>r){this.clusterIcon.hide();return}if(n<this.minClusterSize){this.clusterIcon.hide();return}this.center&&this.clusterIcon.setCenter(this.center),this.clusterIcon.useStyle(this.markerClusterer.getCalculator()(this.markers,this.markerClusterer.getStyles().length)),this.clusterIcon.show()},t.prototype.isMarkerAlreadyAdded=function(e){if(this.markers.includes)return this.markers.includes(e);for(var n=0;n<this.markers.length;n++)if(e===this.markers[n])return!0;return!1},t}();function fp(t,e){var n=t.length,r=n.toString().length,i=Math.min(r,e);return{text:n.toString(),index:i,title:""}}var dp=2e3,hp=500,pp="https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m",gp="png",vp=[53,56,66,78,90],mp="cluster",pu=function(){function t(e,n,r){n===void 0&&(n=[]),r===void 0&&(r={}),this.getMinimumClusterSize=this.getMinimumClusterSize.bind(this),this.setMinimumClusterSize=this.setMinimumClusterSize.bind(this),this.getEnableRetinaIcons=this.getEnableRetinaIcons.bind(this),this.setEnableRetinaIcons=this.setEnableRetinaIcons.bind(this),this.addToClosestCluster=this.addToClosestCluster.bind(this),this.getImageExtension=this.getImageExtension.bind(this),this.setImageExtension=this.setImageExtension.bind(this),this.getExtendedBounds=this.getExtendedBounds.bind(this),this.getAverageCenter=this.getAverageCenter.bind(this),this.setAverageCenter=this.setAverageCenter.bind(this),this.getTotalClusters=this.getTotalClusters.bind(this),this.fitMapToMarkers=this.fitMapToMarkers.bind(this),this.getIgnoreHidden=this.getIgnoreHidden.bind(this),this.setIgnoreHidden=this.setIgnoreHidden.bind(this),this.getClusterClass=this.getClusterClass.bind(this),this.setClusterClass=this.setClusterClass.bind(this),this.getTotalMarkers=this.getTotalMarkers.bind(this),this.getZoomOnClick=this.getZoomOnClick.bind(this),this.setZoomOnClick=this.setZoomOnClick.bind(this),this.getBatchSizeIE=this.getBatchSizeIE.bind(this),this.setBatchSizeIE=this.setBatchSizeIE.bind(this),this.createClusters=this.createClusters.bind(this),this.onZoomChanged=this.onZoomChanged.bind(this),this.getImageSizes=this.getImageSizes.bind(this),this.setImageSizes=this.setImageSizes.bind(this),this.getCalculator=this.getCalculator.bind(this),this.setCalculator=this.setCalculator.bind(this),this.removeMarkers=this.removeMarkers.bind(this),this.resetViewport=this.resetViewport.bind(this),this.getImagePath=this.getImagePath.bind(this),this.setImagePath=this.setImagePath.bind(this),this.pushMarkerTo=this.pushMarkerTo.bind(this),this.removeMarker=this.removeMarker.bind(this),this.clearMarkers=this.clearMarkers.bind(this),this.setupStyles=this.setupStyles.bind(this),this.getGridSize=this.getGridSize.bind(this),this.setGridSize=this.setGridSize.bind(this),this.getClusters=this.getClusters.bind(this),this.getMaxZoom=this.getMaxZoom.bind(this),this.setMaxZoom=this.setMaxZoom.bind(this),this.getMarkers=this.getMarkers.bind(this),this.addMarkers=this.addMarkers.bind(this),this.getStyles=this.getStyles.bind(this),this.setStyles=this.setStyles.bind(this),this.addMarker=this.addMarker.bind(this),this.onRemove=this.onRemove.bind(this),this.getTitle=this.getTitle.bind(this),this.setTitle=this.setTitle.bind(this),this.repaint=this.repaint.bind(this),this.onIdle=this.onIdle.bind(this),this.redraw=this.redraw.bind(this),this.onAdd=this.onAdd.bind(this),this.draw=this.draw.bind(this),this.extend=this.extend.bind(this),this.extend(t,google.maps.OverlayView),this.markers=[],this.clusters=[],this.listeners=[],this.activeMap=null,this.ready=!1,this.gridSize=r.gridSize||60,this.minClusterSize=r.minimumClusterSize||2,this.maxZoom=r.maxZoom||null,this.styles=r.styles||[],this.title=r.title||"",this.zoomOnClick=!0,r.zoomOnClick!==void 0&&(this.zoomOnClick=r.zoomOnClick),this.averageCenter=!1,r.averageCenter!==void 0&&(this.averageCenter=r.averageCenter),this.ignoreHidden=!1,r.ignoreHidden!==void 0&&(this.ignoreHidden=r.ignoreHidden),this.enableRetinaIcons=!1,r.enableRetinaIcons!==void 0&&(this.enableRetinaIcons=r.enableRetinaIcons),this.imagePath=r.imagePath||pp,this.imageExtension=r.imageExtension||gp,this.imageSizes=r.imageSizes||vp,this.calculator=r.calculator||fp,this.batchSize=r.batchSize||dp,this.batchSizeIE=r.batchSizeIE||hp,this.clusterClass=r.clusterClass||mp,navigator.userAgent.toLowerCase().indexOf("msie")!==-1&&(this.batchSize=this.batchSizeIE),this.timerRefStatic=null,this.setupStyles(),this.addMarkers(n,!0),this.setMap(e)}return t.prototype.onZoomChanged=function(){var e,n;this.resetViewport(!1),(((e=this.getMap())===null||e===void 0?void 0:e.getZoom())===(this.get("minZoom")||0)||((n=this.getMap())===null||n===void 0?void 0:n.getZoom())===this.get("maxZoom"))&&google.maps.event.trigger(this,"idle")},t.prototype.onIdle=function(){this.redraw()},t.prototype.onAdd=function(){var e=this.getMap();this.activeMap=e,this.ready=!0,this.repaint(),e!==null&&(this.listeners=[google.maps.event.addListener(e,"zoom_changed",this.onZoomChanged),google.maps.event.addListener(e,"idle",this.onIdle)])},t.prototype.onRemove=function(){for(var e=0,n=this.markers;e<n.length;e++){var r=n[e];r.getMap()!==this.activeMap&&r.setMap(this.activeMap)}for(var i=0,o=this.clusters;i<o.length;i++){var s=o[i];s.remove()}this.clusters=[];for(var a=0,l=this.listeners;a<l.length;a++){var c=l[a];google.maps.event.removeListener(c)}this.listeners=[],this.activeMap=null,this.ready=!1},t.prototype.draw=function(){},t.prototype.getMap=function(){return null},t.prototype.getPanes=function(){return null},t.prototype.getProjection=function(){return{fromContainerPixelToLatLng:function(){return null},fromDivPixelToLatLng:function(){return null},fromLatLngToContainerPixel:function(){return null},fromLatLngToDivPixel:function(){return null},getVisibleRegion:function(){return null},getWorldWidth:function(){return 0}}},t.prototype.setMap=function(){},t.prototype.addListener=function(){return{remove:function(){}}},t.prototype.bindTo=function(){},t.prototype.get=function(){},t.prototype.notify=function(){},t.prototype.set=function(){},t.prototype.setValues=function(){},t.prototype.unbind=function(){},t.prototype.unbindAll=function(){},t.prototype.setupStyles=function(){if(!(this.styles.length>0))for(var e=0;e<this.imageSizes.length;e++)this.styles.push({url:"".concat(this.imagePath+(e+1),".").concat(this.imageExtension),height:this.imageSizes[e]||0,width:this.imageSizes[e]||0})},t.prototype.fitMapToMarkers=function(){for(var e=this.getMarkers(),n=new google.maps.LatLngBounds,r=0,i=e;r<i.length;r++){var o=i[r],s=o.getPosition();s&&n.extend(s)}var a=this.getMap();a!==null&&"fitBounds"in a&&a.fitBounds(n)},t.prototype.getGridSize=function(){return this.gridSize},t.prototype.setGridSize=function(e){this.gridSize=e},t.prototype.getMinimumClusterSize=function(){return this.minClusterSize},t.prototype.setMinimumClusterSize=function(e){this.minClusterSize=e},t.prototype.getMaxZoom=function(){return this.maxZoom},t.prototype.setMaxZoom=function(e){this.maxZoom=e},t.prototype.getStyles=function(){return this.styles},t.prototype.setStyles=function(e){this.styles=e},t.prototype.getTitle=function(){return this.title},t.prototype.setTitle=function(e){this.title=e},t.prototype.getZoomOnClick=function(){return this.zoomOnClick},t.prototype.setZoomOnClick=function(e){this.zoomOnClick=e},t.prototype.getAverageCenter=function(){return this.averageCenter},t.prototype.setAverageCenter=function(e){this.averageCenter=e},t.prototype.getIgnoreHidden=function(){return this.ignoreHidden},t.prototype.setIgnoreHidden=function(e){this.ignoreHidden=e},t.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons},t.prototype.setEnableRetinaIcons=function(e){this.enableRetinaIcons=e},t.prototype.getImageExtension=function(){return this.imageExtension},t.prototype.setImageExtension=function(e){this.imageExtension=e},t.prototype.getImagePath=function(){return this.imagePath},t.prototype.setImagePath=function(e){this.imagePath=e},t.prototype.getImageSizes=function(){return this.imageSizes},t.prototype.setImageSizes=function(e){this.imageSizes=e},t.prototype.getCalculator=function(){return this.calculator},t.prototype.setCalculator=function(e){this.calculator=e},t.prototype.getBatchSizeIE=function(){return this.batchSizeIE},t.prototype.setBatchSizeIE=function(e){this.batchSizeIE=e},t.prototype.getClusterClass=function(){return this.clusterClass},t.prototype.setClusterClass=function(e){this.clusterClass=e},t.prototype.getMarkers=function(){return this.markers},t.prototype.getTotalMarkers=function(){return this.markers.length},t.prototype.getClusters=function(){return this.clusters},t.prototype.getTotalClusters=function(){return this.clusters.length},t.prototype.addMarker=function(e,n){this.pushMarkerTo(e),n||this.redraw()},t.prototype.addMarkers=function(e,n){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];i&&this.pushMarkerTo(i)}n||this.redraw()},t.prototype.pushMarkerTo=function(e){var n=this;e.getDraggable()&&google.maps.event.addListener(e,"dragend",function(){n.ready&&(e.isAdded=!1,n.repaint())}),e.isAdded=!1,this.markers.push(e)},t.prototype.removeMarker_=function(e){var n=-1;if(this.markers.indexOf)n=this.markers.indexOf(e);else for(var r=0;r<this.markers.length;r++)if(e===this.markers[r]){n=r;break}return n===-1?!1:(e.setMap(null),this.markers.splice(n,1),!0)},t.prototype.removeMarker=function(e,n){var r=this.removeMarker_(e);return!n&&r&&this.repaint(),r},t.prototype.removeMarkers=function(e,n){for(var r=!1,i=0,o=e;i<o.length;i++){var s=o[i];r=r||this.removeMarker_(s)}return!n&&r&&this.repaint(),r},t.prototype.clearMarkers=function(){this.resetViewport(!0),this.markers=[]},t.prototype.repaint=function(){var e=this.clusters.slice();this.clusters=[],this.resetViewport(!1),this.redraw(),setTimeout(function(){for(var r=0,i=e;r<i.length;r++){var o=i[r];o.remove()}},0)},t.prototype.getExtendedBounds=function(e){var n=this.getProjection(),r=n.fromLatLngToDivPixel(new google.maps.LatLng(e.getNorthEast().lat(),e.getNorthEast().lng()));r!==null&&(r.x+=this.gridSize,r.y-=this.gridSize);var i=n.fromLatLngToDivPixel(new google.maps.LatLng(e.getSouthWest().lat(),e.getSouthWest().lng()));if(i!==null&&(i.x-=this.gridSize,i.y+=this.gridSize),r!==null){var o=n.fromDivPixelToLatLng(r);o!==null&&e.extend(o)}if(i!==null){var s=n.fromDivPixelToLatLng(i);s!==null&&e.extend(s)}return e},t.prototype.redraw=function(){this.createClusters(0)},t.prototype.resetViewport=function(e){for(var n=0,r=this.clusters;n<r.length;n++){var i=r[n];i.remove()}this.clusters=[];for(var o=0,s=this.markers;o<s.length;o++){var a=s[o];a.isAdded=!1,e&&a.setMap(null)}},t.prototype.distanceBetweenPoints=function(e,n){var r=6371,i=(n.lat()-e.lat())*Math.PI/180,o=(n.lng()-e.lng())*Math.PI/180,s=Math.sin(i/2)*Math.sin(i/2)+Math.cos(e.lat()*Math.PI/180)*Math.cos(n.lat()*Math.PI/180)*Math.sin(o/2)*Math.sin(o/2);return r*(2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s)))},t.prototype.isMarkerInBounds=function(e,n){var r=e.getPosition();return r?n.contains(r):!1},t.prototype.addToClosestCluster=function(e){for(var n,r=4e4,i=null,o=0,s=this.clusters;o<s.length;o++){var a=s[o];n=a;var l=n.getCenter(),c=e.getPosition();if(l&&c){var f=this.distanceBetweenPoints(l,c);f<r&&(r=f,i=n)}}i&&i.isMarkerInClusterBounds(e)?i.addMarker(e):(n=new up(this),n.addMarker(e),this.clusters.push(n))},t.prototype.createClusters=function(e){var n=this;if(this.ready){e===0&&(google.maps.event.trigger(this,"clusteringbegin",this),this.timerRefStatic!==null&&(window.clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var r=this.getMap(),i=r!==null&&("getBounds"in r)?r.getBounds():null,o=(r==null?void 0:r.getZoom())||0,s=o>3?new google.maps.LatLngBounds(i==null?void 0:i.getSouthWest(),i==null?void 0:i.getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625)),a=this.getExtendedBounds(s),l=Math.min(e+this.batchSize,this.markers.length),c=e;c<l;c++){var f=this.markers[c];f&&!f.isAdded&&this.isMarkerInBounds(f,a)&&(!this.ignoreHidden||this.ignoreHidden&&f.getVisible())&&this.addToClosestCluster(f)}if(l<this.markers.length)this.timerRefStatic=window.setTimeout(function(){n.createClusters(l)},0);else{this.timerRefStatic=null,google.maps.event.trigger(this,"clusteringend",this);for(var d=0,h=this.clusters;d<h.length;d++){var g=h[d];g.updateIcon()}}}},t.prototype.extend=function(e,n){return(function(i){for(var o in i.prototype){var s=o;this.prototype[s]=i.prototype[s]}return this}).apply(e,[n])},t}(),bt={onClick:"click",onClusteringBegin:"clusteringbegin",onClusteringEnd:"clusteringend",onMouseOut:"mouseout",onMouseOver:"mouseover"},Ae={averageCenter:function(t,e){t.setAverageCenter(e)},batchSizeIE:function(t,e){t.setBatchSizeIE(e)},calculator:function(t,e){t.setCalculator(e)},clusterClass:function(t,e){t.setClusterClass(e)},enableRetinaIcons:function(t,e){t.setEnableRetinaIcons(e)},gridSize:function(t,e){t.setGridSize(e)},ignoreHidden:function(t,e){t.setIgnoreHidden(e)},imageExtension:function(t,e){t.setImageExtension(e)},imagePath:function(t,e){t.setImagePath(e)},imageSizes:function(t,e){t.setImageSizes(e)},maxZoom:function(t,e){t.setMaxZoom(e)},minimumClusterSize:function(t,e){t.setMinimumClusterSize(e)},styles:function(t,e){t.setStyles(e)},title:function(t,e){t.setTitle(e)},zoomOnClick:function(t,e){t.setZoomOnClick(e)}},yp={};function bp(t){var e=t.children,n=t.options,r=t.averageCenter,i=t.batchSizeIE,o=t.calculator,s=t.clusterClass,a=t.enableRetinaIcons,l=t.gridSize,c=t.ignoreHidden,f=t.imageExtension,d=t.imagePath,h=t.imageSizes,g=t.maxZoom,v=t.minimumClusterSize,p=t.styles,w=t.title,S=t.zoomOnClick,b=t.onClick,m=t.onClusteringBegin,x=t.onClusteringEnd,C=t.onMouseOver,y=t.onMouseOut,E=t.onLoad,L=t.onUnmount,I=u.useState(null),M=I[0],O=I[1],D=u.useContext(fe),B=u.useState(null),N=B[0],V=B[1],Z=u.useState(null),F=Z[0],K=Z[1],T=u.useState(null),R=T[0],k=T[1],H=u.useState(null),z=H[0],Q=H[1],_=u.useState(null),P=_[0],W=_[1];return u.useEffect(function(){M&&y&&(z!==null&&google.maps.event.removeListener(z),Q(google.maps.event.addListener(M,bt.onMouseOut,y)))},[y]),u.useEffect(function(){M&&C&&(P!==null&&google.maps.event.removeListener(P),W(google.maps.event.addListener(M,bt.onMouseOver,C)))},[C]),u.useEffect(function(){M&&b&&(N!==null&&google.maps.event.removeListener(N),V(google.maps.event.addListener(M,bt.onClick,b)))},[b]),u.useEffect(function(){M&&m&&(F!==null&&google.maps.event.removeListener(F),K(google.maps.event.addListener(M,bt.onClusteringBegin,m)))},[m]),u.useEffect(function(){M&&x&&(R!==null&&google.maps.event.removeListener(R),K(google.maps.event.addListener(M,bt.onClusteringEnd,x)))},[x]),u.useEffect(function(){typeof r<"u"&&M!==null&&Ae.averageCenter(M,r)},[M,r]),u.useEffect(function(){typeof i<"u"&&M!==null&&Ae.batchSizeIE(M,i)},[M,i]),u.useEffect(function(){typeof o<"u"&&M!==null&&Ae.calculator(M,o)},[M,o]),u.useEffect(function(){typeof s<"u"&&M!==null&&Ae.clusterClass(M,s)},[M,s]),u.useEffect(function(){typeof a<"u"&&M!==null&&Ae.enableRetinaIcons(M,a)},[M,a]),u.useEffect(function(){typeof l<"u"&&M!==null&&Ae.gridSize(M,l)},[M,l]),u.useEffect(function(){typeof c<"u"&&M!==null&&Ae.ignoreHidden(M,c)},[M,c]),u.useEffect(function(){typeof f<"u"&&M!==null&&Ae.imageExtension(M,f)},[M,f]),u.useEffect(function(){typeof d<"u"&&M!==null&&Ae.imagePath(M,d)},[M,d]),u.useEffect(function(){typeof h<"u"&&M!==null&&Ae.imageSizes(M,h)},[M,h]),u.useEffect(function(){typeof g<"u"&&M!==null&&Ae.maxZoom(M,g)},[M,g]),u.useEffect(function(){typeof v<"u"&&M!==null&&Ae.minimumClusterSize(M,v)},[M,v]),u.useEffect(function(){typeof p<"u"&&M!==null&&Ae.styles(M,p)},[M,p]),u.useEffect(function(){typeof w<"u"&&M!==null&&Ae.title(M,w)},[M,w]),u.useEffect(function(){typeof S<"u"&&M!==null&&Ae.zoomOnClick(M,S)},[M,S]),u.useEffect(function(){if(D){var q=ee({},n||yp),Y=new pu(D,[],q);return r&&Ae.averageCenter(Y,r),i&&Ae.batchSizeIE(Y,i),o&&Ae.calculator(Y,o),s&&Ae.clusterClass(Y,s),a&&Ae.enableRetinaIcons(Y,a),l&&Ae.gridSize(Y,l),c&&Ae.ignoreHidden(Y,c),f&&Ae.imageExtension(Y,f),d&&Ae.imagePath(Y,d),h&&Ae.imageSizes(Y,h),g&&Ae.maxZoom(Y,g),v&&Ae.minimumClusterSize(Y,v),p&&Ae.styles(Y,p),w&&Ae.title(Y,w),S&&Ae.zoomOnClick(Y,S),y&&Q(google.maps.event.addListener(Y,bt.onMouseOut,y)),C&&W(google.maps.event.addListener(Y,bt.onMouseOver,C)),b&&V(google.maps.event.addListener(Y,bt.onClick,b)),m&&K(google.maps.event.addListener(Y,bt.onClusteringBegin,m)),x&&k(google.maps.event.addListener(Y,bt.onClusteringEnd,x)),O(Y),E&&E(Y),function(){z!==null&&google.maps.event.removeListener(z),P!==null&&google.maps.event.removeListener(P),N!==null&&google.maps.event.removeListener(N),F!==null&&google.maps.event.removeListener(F),R!==null&&google.maps.event.removeListener(R),L&&L(Y)}}},[]),M!==null&&e(M)||null}u.memo(bp);var wp=function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={markerClusterer:null},n.setClustererCallback=function(){n.state.markerClusterer!==null&&n.props.onLoad&&n.props.onLoad(n.state.markerClusterer)},n}return e.prototype.componentDidMount=function(){if(this.context){var n=new pu(this.context,[],this.props.options);this.registeredEvents=he({updaterMap:Ae,eventMap:bt,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{markerClusterer:n}},this.setClustererCallback)}},e.prototype.componentDidUpdate=function(n){this.state.markerClusterer&&(me(this.registeredEvents),this.registeredEvents=he({updaterMap:Ae,eventMap:bt,prevProps:n,nextProps:this.props,instance:this.state.markerClusterer}))},e.prototype.componentWillUnmount=function(){this.state.markerClusterer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.markerClusterer),me(this.registeredEvents),this.state.markerClusterer.setMap(null))},e.prototype.render=function(){return this.state.markerClusterer!==null?this.props.children(this.state.markerClusterer):null},e.contextType=fe,e}(u.PureComponent);function Va(t){t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation()}var gu=function(){function t(e){e===void 0&&(e={}),this.getCloseClickHandler=this.getCloseClickHandler.bind(this),this.closeClickHandler=this.closeClickHandler.bind(this),this.createInfoBoxDiv=this.createInfoBoxDiv.bind(this),this.addClickHandler=this.addClickHandler.bind(this),this.getCloseBoxImg=this.getCloseBoxImg.bind(this),this.getBoxWidths=this.getBoxWidths.bind(this),this.setBoxStyle=this.setBoxStyle.bind(this),this.setPosition=this.setPosition.bind(this),this.getPosition=this.getPosition.bind(this),this.setOptions=this.setOptions.bind(this),this.setContent=this.setContent.bind(this),this.setVisible=this.setVisible.bind(this),this.getContent=this.getContent.bind(this),this.getVisible=this.getVisible.bind(this),this.setZIndex=this.setZIndex.bind(this),this.getZIndex=this.getZIndex.bind(this),this.onRemove=this.onRemove.bind(this),this.panBox=this.panBox.bind(this),this.extend=this.extend.bind(this),this.close=this.close.bind(this),this.draw=this.draw.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.open=this.open.bind(this),this.extend(t,google.maps.OverlayView),this.content=e.content||"",this.disableAutoPan=e.disableAutoPan||!1,this.maxWidth=e.maxWidth||0,this.pixelOffset=e.pixelOffset||new google.maps.Size(0,0),this.position=e.position||new google.maps.LatLng(0,0),this.zIndex=e.zIndex||null,this.boxClass=e.boxClass||"infoBox",this.boxStyle=e.boxStyle||{},this.closeBoxMargin=e.closeBoxMargin||"2px",this.closeBoxURL=e.closeBoxURL||"http://www.google.com/intl/en_us/mapfiles/close.gif",e.closeBoxURL===""&&(this.closeBoxURL=""),this.infoBoxClearance=e.infoBoxClearance||new google.maps.Size(1,1),typeof e.visible>"u"&&(typeof e.isHidden>"u"?e.visible=!0:e.visible=!e.isHidden),this.isHidden=!e.visible,this.alignBottom=e.alignBottom||!1,this.pane=e.pane||"floatPane",this.enableEventPropagation=e.enableEventPropagation||!1,this.div=null,this.closeListener=null,this.moveListener=null,this.mapListener=null,this.contextListener=null,this.eventListeners=null,this.fixedWidthSet=null}return t.prototype.createInfoBoxDiv=function(){var e=this,n=function(c){c.returnValue=!1,c.preventDefault&&c.preventDefault(),e.enableEventPropagation||Va(c)};if(!this.div){this.div=document.createElement("div"),this.setBoxStyle(),typeof this.content=="string"?this.div.innerHTML=this.getCloseBoxImg()+this.content:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(this.content));var r=this.getPanes();if(r!==null&&r[this.pane].appendChild(this.div),this.addClickHandler(),this.div.style.width)this.fixedWidthSet=!0;else if(this.maxWidth!==0&&this.div.offsetWidth>this.maxWidth)this.div.style.width=this.maxWidth+"px",this.fixedWidthSet=!0;else{var i=this.getBoxWidths();this.div.style.width=this.div.offsetWidth-i.left-i.right+"px",this.fixedWidthSet=!1}if(this.panBox(this.disableAutoPan),!this.enableEventPropagation){this.eventListeners=[];for(var o=["mousedown","mouseover","mouseout","mouseup","click","dblclick","touchstart","touchend","touchmove"],s=0,a=o;s<a.length;s++){var l=a[s];this.eventListeners.push(google.maps.event.addListener(this.div,l,Va))}this.eventListeners.push(google.maps.event.addListener(this.div,"mouseover",function(){e.div&&(e.div.style.cursor="default")}))}this.contextListener=google.maps.event.addListener(this.div,"contextmenu",n),google.maps.event.trigger(this,"domready")}},t.prototype.getCloseBoxImg=function(){var e="";return this.closeBoxURL!==""&&(e='<img alt=""',e+=' aria-hidden="true"',e+=" src='"+this.closeBoxURL+"'",e+=" align=right",e+=" style='",e+=" position: relative;",e+=" cursor: pointer;",e+=" margin: "+this.closeBoxMargin+";",e+="'>"),e},t.prototype.addClickHandler=function(){this.closeListener=this.div&&this.div.firstChild&&this.closeBoxURL!==""?google.maps.event.addListener(this.div.firstChild,"click",this.getCloseClickHandler()):null},t.prototype.closeClickHandler=function(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation(),google.maps.event.trigger(this,"closeclick"),this.close()},t.prototype.getCloseClickHandler=function(){return this.closeClickHandler},t.prototype.panBox=function(e){if(this.div&&!e){var n=this.getMap();if(n instanceof google.maps.Map){var r=0,i=0,o=n.getBounds();o&&!o.contains(this.position)&&n.setCenter(this.position);var s=n.getDiv(),a=s.offsetWidth,l=s.offsetHeight,c=this.pixelOffset.width,f=this.pixelOffset.height,d=this.div.offsetWidth,h=this.div.offsetHeight,g=this.infoBoxClearance.width,v=this.infoBoxClearance.height,p=this.getProjection(),w=p.fromLatLngToContainerPixel(this.position);w!==null&&(w.x<-c+g?r=w.x+c-g:w.x+d+c+g>a&&(r=w.x+d+c+g-a),this.alignBottom?w.y<-f+v+h?i=w.y+f-v-h:w.y+f+v>l&&(i=w.y+f+v-l):w.y<-f+v?i=w.y+f-v:w.y+h+f+v>l&&(i=w.y+h+f+v-l)),r===0&&i===0||n.panBy(r,i)}}},t.prototype.setBoxStyle=function(){if(this.div){this.div.className=this.boxClass,this.div.style.cssText="";var e=this.boxStyle;for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(this.div.style[n]=e[n]);if(this.div.style.webkitTransform="translateZ(0)",typeof this.div.style.opacity<"u"&&this.div.style.opacity!==""){var r=parseFloat(this.div.style.opacity||"");this.div.style.msFilter='"progid:DXImageTransform.Microsoft.Alpha(Opacity='+r*100+')"',this.div.style.filter="alpha(opacity="+r*100+")"}this.div.style.position="absolute",this.div.style.visibility="hidden",this.zIndex!==null&&(this.div.style.zIndex=this.zIndex+""),this.div.style.overflow||(this.div.style.overflow="auto")}},t.prototype.getBoxWidths=function(){var e={top:0,bottom:0,left:0,right:0};if(!this.div)return e;if(document.defaultView){var n=this.div.ownerDocument,r=n&&n.defaultView?n.defaultView.getComputedStyle(this.div,""):null;r&&(e.top=parseInt(r.borderTopWidth||"",10)||0,e.bottom=parseInt(r.borderBottomWidth||"",10)||0,e.left=parseInt(r.borderLeftWidth||"",10)||0,e.right=parseInt(r.borderRightWidth||"",10)||0)}else if(document.documentElement.currentStyle){var i=this.div.currentStyle;i&&(e.top=parseInt(i.borderTopWidth||"",10)||0,e.bottom=parseInt(i.borderBottomWidth||"",10)||0,e.left=parseInt(i.borderLeftWidth||"",10)||0,e.right=parseInt(i.borderRightWidth||"",10)||0)}return e},t.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.div.parentNode.removeChild(this.div),this.div=null)},t.prototype.draw=function(){if(this.createInfoBoxDiv(),this.div){var e=this.getProjection(),n=e.fromLatLngToDivPixel(this.position);n!==null&&(this.div.style.left=n.x+this.pixelOffset.width+"px",this.alignBottom?this.div.style.bottom=-(n.y+this.pixelOffset.height)+"px":this.div.style.top=n.y+this.pixelOffset.height+"px"),this.isHidden?this.div.style.visibility="hidden":this.div.style.visibility="visible"}},t.prototype.setOptions=function(e){e===void 0&&(e={}),typeof e.boxClass<"u"&&(this.boxClass=e.boxClass,this.setBoxStyle()),typeof e.boxStyle<"u"&&(this.boxStyle=e.boxStyle,this.setBoxStyle()),typeof e.content<"u"&&this.setContent(e.content),typeof e.disableAutoPan<"u"&&(this.disableAutoPan=e.disableAutoPan),typeof e.maxWidth<"u"&&(this.maxWidth=e.maxWidth),typeof e.pixelOffset<"u"&&(this.pixelOffset=e.pixelOffset),typeof e.alignBottom<"u"&&(this.alignBottom=e.alignBottom),typeof e.position<"u"&&this.setPosition(e.position),typeof e.zIndex<"u"&&this.setZIndex(e.zIndex),typeof e.closeBoxMargin<"u"&&(this.closeBoxMargin=e.closeBoxMargin),typeof e.closeBoxURL<"u"&&(this.closeBoxURL=e.closeBoxURL),typeof e.infoBoxClearance<"u"&&(this.infoBoxClearance=e.infoBoxClearance),typeof e.isHidden<"u"&&(this.isHidden=e.isHidden),typeof e.visible<"u"&&(this.isHidden=!e.visible),typeof e.enableEventPropagation<"u"&&(this.enableEventPropagation=e.enableEventPropagation),this.div&&this.draw()},t.prototype.setContent=function(e){this.content=e,this.div&&(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.fixedWidthSet||(this.div.style.width=""),typeof e=="string"?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e)),this.fixedWidthSet||(this.div.style.width=this.div.offsetWidth+"px",typeof e=="string"?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e))),this.addClickHandler()),google.maps.event.trigger(this,"content_changed")},t.prototype.setPosition=function(e){this.position=e,this.div&&this.draw(),google.maps.event.trigger(this,"position_changed")},t.prototype.setVisible=function(e){this.isHidden=!e,this.div&&(this.div.style.visibility=this.isHidden?"hidden":"visible")},t.prototype.setZIndex=function(e){this.zIndex=e,this.div&&(this.div.style.zIndex=e+""),google.maps.event.trigger(this,"zindex_changed")},t.prototype.getContent=function(){return this.content},t.prototype.getPosition=function(){return this.position},t.prototype.getZIndex=function(){return this.zIndex},t.prototype.getVisible=function(){var e=this.getMap();return typeof e>"u"||e===null?!1:!this.isHidden},t.prototype.show=function(){this.isHidden=!1,this.div&&(this.div.style.visibility="visible")},t.prototype.hide=function(){this.isHidden=!0,this.div&&(this.div.style.visibility="hidden")},t.prototype.open=function(e,n){var r=this;n&&(this.position=n.getPosition(),this.moveListener=google.maps.event.addListener(n,"position_changed",function(){var i=n.getPosition();r.setPosition(i)}),this.mapListener=google.maps.event.addListener(n,"map_changed",function(){r.setMap(n.map)})),this.setMap(e),this.div&&this.panBox()},t.prototype.close=function(){if(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.eventListeners){for(var e=0,n=this.eventListeners;e<n.length;e++){var r=n[e];google.maps.event.removeListener(r)}this.eventListeners=null}this.moveListener&&(google.maps.event.removeListener(this.moveListener),this.moveListener=null),this.mapListener&&(google.maps.event.removeListener(this.mapListener),this.mapListener=null),this.contextListener&&(google.maps.event.removeListener(this.contextListener),this.contextListener=null),this.setMap(null)},t.prototype.extend=function(e,n){return(function(i){for(var o in i.prototype)Object.prototype.hasOwnProperty.call(this,o)||(this.prototype[o]=i.prototype[o]);return this}).apply(e,[n])},t}(),Wa={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},Ga={options:function(t,e){t.setOptions(e)},position:function(t,e){e instanceof google.maps.LatLng?t.setPosition(e):t.setPosition(new google.maps.LatLng(e.lat,e.lng))},visible:function(t,e){t.setVisible(e)},zIndex:function(t,e){t.setZIndex(e)}},Cp={};function Ep(t){var e=t.children,n=t.anchor,r=t.options,i=t.position,o=t.zIndex,s=t.onCloseClick,a=t.onDomReady,l=t.onContentChanged,c=t.onPositionChanged,f=t.onZindexChanged,d=t.onLoad,h=t.onUnmount,g=u.useContext(fe),v=u.useState(null),p=v[0],w=v[1],S=u.useState(null),b=S[0],m=S[1],x=u.useState(null),C=x[0],y=x[1],E=u.useState(null),L=E[0],I=E[1],M=u.useState(null),O=M[0],D=M[1],B=u.useState(null),N=B[0],V=B[1],Z=u.useRef(null);return u.useEffect(function(){g&&p!==null&&(p.close(),n?p.open(g,n):p.getPosition()&&p.open(g))},[g,p,n]),u.useEffect(function(){r&&p!==null&&p.setOptions(r)},[p,r]),u.useEffect(function(){if(i&&p!==null){var F=i instanceof google.maps.LatLng?i:new google.maps.LatLng(i.lat,i.lng);p.setPosition(F)}},[i]),u.useEffect(function(){typeof o=="number"&&p!==null&&p.setZIndex(o)},[o]),u.useEffect(function(){p&&s&&(b!==null&&google.maps.event.removeListener(b),m(google.maps.event.addListener(p,"closeclick",s)))},[s]),u.useEffect(function(){p&&a&&(C!==null&&google.maps.event.removeListener(C),y(google.maps.event.addListener(p,"domready",a)))},[a]),u.useEffect(function(){p&&l&&(L!==null&&google.maps.event.removeListener(L),I(google.maps.event.addListener(p,"content_changed",l)))},[l]),u.useEffect(function(){p&&c&&(O!==null&&google.maps.event.removeListener(O),D(google.maps.event.addListener(p,"position_changed",c)))},[c]),u.useEffect(function(){p&&f&&(N!==null&&google.maps.event.removeListener(N),V(google.maps.event.addListener(p,"zindex_changed",f)))},[f]),u.useEffect(function(){if(g){var F=r||Cp,K=F.position,T=$s(F,["position"]),R=void 0;K&&!(K instanceof google.maps.LatLng)&&(R=new google.maps.LatLng(K.lat,K.lng));var k=new gu(ee(ee({},T),R?{position:R}:{}));Z.current=document.createElement("div"),w(k),s&&m(google.maps.event.addListener(k,"closeclick",s)),a&&y(google.maps.event.addListener(k,"domready",a)),l&&I(google.maps.event.addListener(k,"content_changed",l)),c&&D(google.maps.event.addListener(k,"position_changed",c)),f&&V(google.maps.event.addListener(k,"zindex_changed",f)),k.setContent(Z.current),n?k.open(g,n):k.getPosition()?k.open(g):Ke(!1,"You must provide either an anchor or a position prop for <InfoBox>."),d&&d(k)}return function(){p!==null&&(b&&google.maps.event.removeListener(b),L&&google.maps.event.removeListener(L),C&&google.maps.event.removeListener(C),O&&google.maps.event.removeListener(O),N&&google.maps.event.removeListener(N),h&&h(p),p.close())}},[]),Z.current?lr.createPortal(u.Children.only(e),Z.current):null}u.memo(Ep);(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.containerElement=null,n.state={infoBox:null},n.open=function(r,i){i?n.context!==null&&r.open(n.context,i):r.getPosition()?n.context!==null&&r.open(n.context):Ke(!1,"You must provide either an anchor or a position prop for <InfoBox>.")},n.setInfoBoxCallback=function(){n.state.infoBox!==null&&n.containerElement!==null&&(n.state.infoBox.setContent(n.containerElement),n.open(n.state.infoBox,n.props.anchor),n.props.onLoad&&n.props.onLoad(n.state.infoBox))},n}return e.prototype.componentDidMount=function(){var n=this.props.options||{},r=n.position,i=$s(n,["position"]),o;r&&!(r instanceof google.maps.LatLng)&&(o=new google.maps.LatLng(r.lat,r.lng));var s=new gu(ee(ee({},i),o?{position:o}:{}));this.containerElement=document.createElement("div"),this.registeredEvents=he({updaterMap:Ga,eventMap:Wa,prevProps:{},nextProps:this.props,instance:s}),this.setState({infoBox:s},this.setInfoBoxCallback)},e.prototype.componentDidUpdate=function(n){var r=this.state.infoBox;r!==null&&(me(this.registeredEvents),this.registeredEvents=he({updaterMap:Ga,eventMap:Wa,prevProps:n,nextProps:this.props,instance:r}))},e.prototype.componentWillUnmount=function(){var n=this.props.onUnmount,r=this.state.infoBox;r!==null&&(n&&n(r),me(this.registeredEvents),r.close())},e.prototype.render=function(){return this.containerElement?lr.createPortal(u.Children.only(this.props.children),this.containerElement):null},e.contextType=fe,e})(u.PureComponent);var Sp=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!t(e[i],n[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(o=Object.keys(e),r=o.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;i--!==0;){var s=o[i];if(!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n},Ya=cu(Sp);const Ka=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],Go=1,br=8;class ta{static from(e){if(!(e instanceof ArrayBuffer))throw new Error("Data must be an instance of ArrayBuffer.");const[n,r]=new Uint8Array(e,0,2);if(n!==219)throw new Error("Data does not appear to be in a KDBush format.");const i=r>>4;if(i!==Go)throw new Error(`Got v${i} data when expected v${Go}.`);const o=Ka[r&15];if(!o)throw new Error("Unrecognized array type.");const[s]=new Uint16Array(e,2,1),[a]=new Uint32Array(e,4,1);return new ta(a,s,o,e)}constructor(e,n=64,r=Float64Array,i){if(isNaN(e)||e<0)throw new Error(`Unpexpected numItems value: ${e}.`);this.numItems=+e,this.nodeSize=Math.min(Math.max(+n,2),65535),this.ArrayType=r,this.IndexArrayType=e<65536?Uint16Array:Uint32Array;const o=Ka.indexOf(this.ArrayType),s=e*2*this.ArrayType.BYTES_PER_ELEMENT,a=e*this.IndexArrayType.BYTES_PER_ELEMENT,l=(8-a%8)%8;if(o<0)throw new Error(`Unexpected typed array class: ${r}.`);i&&i instanceof ArrayBuffer?(this.data=i,this.ids=new this.IndexArrayType(this.data,br,e),this.coords=new this.ArrayType(this.data,br+a+l,e*2),this._pos=e*2,this._finished=!0):(this.data=new ArrayBuffer(br+s+a+l),this.ids=new this.IndexArrayType(this.data,br,e),this.coords=new this.ArrayType(this.data,br+a+l,e*2),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,(Go<<4)+o]),new Uint16Array(this.data,2,1)[0]=n,new Uint32Array(this.data,4,1)[0]=e)}add(e,n){const r=this._pos>>1;return this.ids[r]=r,this.coords[this._pos++]=e,this.coords[this._pos++]=n,r}finish(){const e=this._pos>>1;if(e!==this.numItems)throw new Error(`Added ${e} items when expected ${this.numItems}.`);return Es(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(e,n,r,i){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:o,coords:s,nodeSize:a}=this,l=[0,o.length-1,0],c=[];for(;l.length;){const f=l.pop()||0,d=l.pop()||0,h=l.pop()||0;if(d-h<=a){for(let w=h;w<=d;w++){const S=s[2*w],b=s[2*w+1];S>=e&&S<=r&&b>=n&&b<=i&&c.push(o[w])}continue}const g=h+d>>1,v=s[2*g],p=s[2*g+1];v>=e&&v<=r&&p>=n&&p<=i&&c.push(o[g]),(f===0?e<=v:n<=p)&&(l.push(h),l.push(g-1),l.push(1-f)),(f===0?r>=v:i>=p)&&(l.push(g+1),l.push(d),l.push(1-f))}return c}within(e,n,r){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:i,coords:o,nodeSize:s}=this,a=[0,i.length-1,0],l=[],c=r*r;for(;a.length;){const f=a.pop()||0,d=a.pop()||0,h=a.pop()||0;if(d-h<=s){for(let w=h;w<=d;w++)Za(o[2*w],o[2*w+1],e,n)<=c&&l.push(i[w]);continue}const g=h+d>>1,v=o[2*g],p=o[2*g+1];Za(v,p,e,n)<=c&&l.push(i[g]),(f===0?e-r<=v:n-r<=p)&&(a.push(h),a.push(g-1),a.push(1-f)),(f===0?e+r>=v:n+r>=p)&&(a.push(g+1),a.push(d),a.push(1-f))}return l}}function Es(t,e,n,r,i,o){if(i-r<=n)return;const s=r+i>>1;vu(t,e,s,r,i,o),Es(t,e,n,r,s-1,1-o),Es(t,e,n,s+1,i,1-o)}function vu(t,e,n,r,i,o){for(;i>r;){if(i-r>600){const c=i-r+1,f=n-r+1,d=Math.log(c),h=.5*Math.exp(2*d/3),g=.5*Math.sqrt(d*h*(c-h)/c)*(f-c/2<0?-1:1),v=Math.max(r,Math.floor(n-f*h/c+g)),p=Math.min(i,Math.floor(n+(c-f)*h/c+g));vu(t,e,n,v,p,o)}const s=e[2*n+o];let a=r,l=i;for(wr(t,e,r,n),e[2*i+o]>s&&wr(t,e,r,i);a<l;){for(wr(t,e,a,l),a++,l--;e[2*a+o]<s;)a++;for(;e[2*l+o]>s;)l--}e[2*r+o]===s?wr(t,e,r,l):(l++,wr(t,e,l,i)),l<=n&&(r=l+1),n<=l&&(i=l-1)}}function wr(t,e,n,r){Yo(t,n,r),Yo(e,2*n,2*r),Yo(e,2*n+1,2*r+1)}function Yo(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function Za(t,e,n,r){const i=t-n,o=e-r;return i*i+o*o}const Ap={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:t=>t},qa=Math.fround||(t=>e=>(t[0]=+e,t[0]))(new Float32Array(1)),En=2,an=3,Ko=4,sn=5,mu=6;class Lp{constructor(e){this.options=Object.assign(Object.create(Ap),e),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(e){const{log:n,minZoom:r,maxZoom:i}=this.options;n&&console.time("total time");const o=`prepare ${e.length} points`;n&&console.time(o),this.points=e;const s=[];for(let l=0;l<e.length;l++){const c=e[l];if(!c.geometry)continue;const[f,d]=c.geometry.coordinates,h=qa(hi(f)),g=qa(pi(d));s.push(h,g,1/0,l,-1,1),this.options.reduce&&s.push(0)}let a=this.trees[i+1]=this._createTree(s);n&&console.timeEnd(o);for(let l=i;l>=r;l--){const c=+Date.now();a=this.trees[l]=this._createTree(this._cluster(a,l)),n&&console.log("z%d: %d clusters in %dms",l,a.numItems,+Date.now()-c)}return n&&console.timeEnd("total time"),this}getClusters(e,n){let r=((e[0]+180)%360+360)%360-180;const i=Math.max(-90,Math.min(90,e[1]));let o=e[2]===180?180:((e[2]+180)%360+360)%360-180;const s=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)r=-180,o=180;else if(r>o){const d=this.getClusters([r,i,180,s],n),h=this.getClusters([-180,i,o,s],n);return d.concat(h)}const a=this.trees[this._limitZoom(n)],l=a.range(hi(r),pi(s),hi(o),pi(i)),c=a.data,f=[];for(const d of l){const h=this.stride*d;f.push(c[h+sn]>1?Ja(c,h,this.clusterProps):this.points[c[h+an]])}return f}getChildren(e){const n=this._getOriginId(e),r=this._getOriginZoom(e),i="No cluster with the specified id.",o=this.trees[r];if(!o)throw new Error(i);const s=o.data;if(n*this.stride>=s.length)throw new Error(i);const a=this.options.radius/(this.options.extent*Math.pow(2,r-1)),l=s[n*this.stride],c=s[n*this.stride+1],f=o.within(l,c,a),d=[];for(const h of f){const g=h*this.stride;s[g+Ko]===e&&d.push(s[g+sn]>1?Ja(s,g,this.clusterProps):this.points[s[g+an]])}if(d.length===0)throw new Error(i);return d}getLeaves(e,n,r){n=n||10,r=r||0;const i=[];return this._appendLeaves(i,e,n,r,0),i}getTile(e,n,r){const i=this.trees[this._limitZoom(e)],o=Math.pow(2,e),{extent:s,radius:a}=this.options,l=a/s,c=(r-l)/o,f=(r+1+l)/o,d={features:[]};return this._addTileFeatures(i.range((n-l)/o,c,(n+1+l)/o,f),i.data,n,r,o,d),n===0&&this._addTileFeatures(i.range(1-l/o,c,1,f),i.data,o,r,o,d),n===o-1&&this._addTileFeatures(i.range(0,c,l/o,f),i.data,-1,r,o,d),d.features.length?d:null}getClusterExpansionZoom(e){let n=this._getOriginZoom(e)-1;for(;n<=this.options.maxZoom;){const r=this.getChildren(e);if(n++,r.length!==1)break;e=r[0].properties.cluster_id}return n}_appendLeaves(e,n,r,i,o){const s=this.getChildren(n);for(const a of s){const l=a.properties;if(l&&l.cluster?o+l.point_count<=i?o+=l.point_count:o=this._appendLeaves(e,l.cluster_id,r,i,o):o<i?o++:e.push(a),e.length===r)break}return o}_createTree(e){const n=new ta(e.length/this.stride|0,this.options.nodeSize,Float32Array);for(let r=0;r<e.length;r+=this.stride)n.add(e[r],e[r+1]);return n.finish(),n.data=e,n}_addTileFeatures(e,n,r,i,o,s){for(const a of e){const l=a*this.stride,c=n[l+sn]>1;let f,d,h;if(c)f=yu(n,l,this.clusterProps),d=n[l],h=n[l+1];else{const p=this.points[n[l+an]];f=p.properties;const[w,S]=p.geometry.coordinates;d=hi(w),h=pi(S)}const g={type:1,geometry:[[Math.round(this.options.extent*(d*o-r)),Math.round(this.options.extent*(h*o-i))]],tags:f};let v;c||this.options.generateId?v=n[l+an]:v=this.points[n[l+an]].id,v!==void 0&&(g.id=v),s.features.push(g)}}_limitZoom(e){return Math.max(this.options.minZoom,Math.min(Math.floor(+e),this.options.maxZoom+1))}_cluster(e,n){const{radius:r,extent:i,reduce:o,minPoints:s}=this.options,a=r/(i*Math.pow(2,n)),l=e.data,c=[],f=this.stride;for(let d=0;d<l.length;d+=f){if(l[d+En]<=n)continue;l[d+En]=n;const h=l[d],g=l[d+1],v=e.within(l[d],l[d+1],a),p=l[d+sn];let w=p;for(const S of v){const b=S*f;l[b+En]>n&&(w+=l[b+sn])}if(w>p&&w>=s){let S=h*p,b=g*p,m,x=-1;const C=((d/f|0)<<5)+(n+1)+this.points.length;for(const y of v){const E=y*f;if(l[E+En]<=n)continue;l[E+En]=n;const L=l[E+sn];S+=l[E]*L,b+=l[E+1]*L,l[E+Ko]=C,o&&(m||(m=this._map(l,d,!0),x=this.clusterProps.length,this.clusterProps.push(m)),o(m,this._map(l,E)))}l[d+Ko]=C,c.push(S/w,b/w,1/0,C,-1,w),o&&c.push(x)}else{for(let S=0;S<f;S++)c.push(l[d+S]);if(w>1)for(const S of v){const b=S*f;if(!(l[b+En]<=n)){l[b+En]=n;for(let m=0;m<f;m++)c.push(l[b+m])}}}}return c}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,n,r){if(e[n+sn]>1){const s=this.clusterProps[e[n+mu]];return r?Object.assign({},s):s}const i=this.points[e[n+an]].properties,o=this.options.map(i);return r&&o===i?Object.assign({},o):o}}function Ja(t,e,n){return{type:"Feature",id:t[e+an],properties:yu(t,e,n),geometry:{type:"Point",coordinates:[xp(t[e]),Op(t[e+1])]}}}function yu(t,e,n){const r=t[e+sn],i=r>=1e4?`${Math.round(r/1e3)}k`:r>=1e3?`${Math.round(r/100)/10}k`:r,o=t[e+mu],s=o===-1?{}:Object.assign({},n[o]);return Object.assign(s,{cluster:!0,cluster_id:t[e+an],point_count:r,point_count_abbreviated:i})}function hi(t){return t/360+.5}function pi(t){const e=Math.sin(t*Math.PI/180),n=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return n<0?0:n>1?1:n}function xp(t){return(t-.5)*360}function Op(t){const e=(180-t*360)*Math.PI/180;return 360*Math.atan(Math.exp(e))/Math.PI-90}/*! *****************************************************************************
36
+ Copyright (c) Microsoft Corporation.
37
+
38
+ Permission to use, copy, modify, and/or distribute this software for any
39
+ purpose with or without fee is hereby granted.
40
+
41
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
42
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
43
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
44
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
45
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
46
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
47
+ PERFORMANCE OF THIS SOFTWARE.
48
+ ***************************************************************************** */function Mp(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}class mt{static isAdvancedMarkerAvailable(e){return google.maps.marker&&e.getMapCapabilities().isAdvancedMarkersAvailable===!0}static isAdvancedMarker(e){return google.maps.marker&&e instanceof google.maps.marker.AdvancedMarkerElement}static setMap(e,n){this.isAdvancedMarker(e)?e.map=n:e.setMap(n)}static getPosition(e){if(this.isAdvancedMarker(e)){if(e.position){if(e.position instanceof google.maps.LatLng)return e.position;if(e.position.lat&&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)?!0:e.getVisible()}}class Ss{constructor({markers:e,position:n}){this.markers=e,n&&(n instanceof google.maps.LatLng?this._position=n:this._position=new google.maps.LatLng(n))}get bounds(){if(this.markers.length===0&&!this._position)return;const e=new google.maps.LatLngBounds(this._position,this._position);for(const n of this.markers)e.extend(mt.getPosition(n));return e}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter(e=>mt.getVisible(e)).length}push(e){this.markers.push(e)}delete(){this.marker&&(mt.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}}class Pp{constructor({maxZoom:e=16}){this.maxZoom=e}noop({markers:e}){return Dp(e)}}const Dp=t=>t.map(n=>new Ss({position:mt.getPosition(n),markers:[n]}));class Rp extends Pp{constructor(e){var{maxZoom:n,radius:r=60}=e,i=Mp(e,["maxZoom","radius"]);super({maxZoom:n}),this.state={zoom:-1},this.superCluster=new Lp(Object.assign({maxZoom:this.maxZoom,radius:r},i))}calculate(e){let n=!1;const r={zoom:e.map.getZoom()};if(!Ya(e.markers,this.markers)){n=!0,this.markers=[...e.markers];const i=this.markers.map(o=>{const s=mt.getPosition(o);return{type:"Feature",geometry:{type:"Point",coordinates:[s.lng(),s.lat()]},properties:{marker:o}}});this.superCluster.load(i)}return n||(this.state.zoom<=this.maxZoom||r.zoom<=this.maxZoom)&&(n=!Ya(this.state,r)),this.state=r,n&&(this.clusters=this.cluster(e)),{clusters:this.clusters,changed:n}}cluster({map:e}){return this.superCluster.getClusters([-180,-90,180,90],Math.round(e.getZoom())).map(n=>this.transformCluster(n))}transformCluster({geometry:{coordinates:[e,n]},properties:r}){if(r.cluster)return new Ss({markers:this.superCluster.getLeaves(r.cluster_id,1/0).map(o=>o.properties.marker),position:{lat:n,lng:e}});const i=r.marker;return new Ss({markers:[i],position:mt.getPosition(i)})}}class Ip{constructor(e,n){this.markers={sum:e.length};const r=n.map(o=>o.count),i=r.reduce((o,s)=>o+s,0);this.clusters={count:n.length,markers:{mean:i/n.length,sum:i,min:Math.min(...r),max:Math.max(...r)}}}}class kp{render({count:e,position:n},r,i){const s=`<svg fill="${e>Math.max(10,r.clusters.markers.mean)?"#ff0000":"#0000ff"}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="50" height="50">
49
+ <circle cx="120" cy="120" opacity=".6" r="70" />
50
+ <circle cx="120" cy="120" opacity=".3" r="90" />
51
+ <circle cx="120" cy="120" opacity=".2" r="110" />
52
+ <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>
53
+ </svg>`,a=`Cluster of ${e} markers`,l=Number(google.maps.Marker.MAX_ZINDEX)+e;if(mt.isAdvancedMarkerAvailable(i)){const f=document.createElement("div");f.innerHTML=s;const d=f.firstElementChild;d.setAttribute("transform","translate(0 25)");const h={map:i,position:n,zIndex:l,title:a,content:d};return new google.maps.marker.AdvancedMarkerElement(h)}const c={position:n,zIndex:l,title:a,icon:{url:`data:image/svg+xml;base64,${btoa(s)}`,anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(c)}}function Tp(t,e){for(let n in e.prototype)t.prototype[n]=e.prototype[n]}class na{constructor(){Tp(na,google.maps.OverlayView)}}var jr;(function(t){t.CLUSTERING_BEGIN="clusteringbegin",t.CLUSTERING_END="clusteringend",t.CLUSTER_CLICK="click"})(jr||(jr={}));const Bp=(t,e,n)=>{n.fitBounds(e.bounds)};class jp extends na{constructor({map:e,markers:n=[],algorithmOptions:r={},algorithm:i=new Rp(r),renderer:o=new kp,onClusterClick:s=Bp}){super(),this.markers=[...n],this.clusters=[],this.algorithm=i,this.renderer=o,this.onClusterClick=s,e&&this.setMap(e)}addMarker(e,n){this.markers.includes(e)||(this.markers.push(e),n||this.render())}addMarkers(e,n){e.forEach(r=>{this.addMarker(r,!0)}),n||this.render()}removeMarker(e,n){const r=this.markers.indexOf(e);return r===-1?!1:(mt.setMap(e,null),this.markers.splice(r,1),n||this.render(),!0)}removeMarkers(e,n){let r=!1;return e.forEach(i=>{r=this.removeMarker(i,!0)||r}),r&&!n&&this.render(),r}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,jr.CLUSTERING_BEGIN,this);const{clusters:n,changed:r}=this.algorithm.calculate({markers:this.markers,map:e,mapCanvasProjection:this.getProjection()});if(r||r==null){const i=new Set;for(const s of n)s.markers.length==1&&i.add(s.markers[0]);const o=[];for(const s of this.clusters)s.marker!=null&&(s.markers.length==1?i.has(s.marker)||mt.setMap(s.marker,null):o.push(s.marker));this.clusters=n,this.renderClusters(),requestAnimationFrame(()=>o.forEach(s=>mt.setMap(s,null)))}google.maps.event.trigger(this,jr.CLUSTERING_END,this)}}onAdd(){this.idleListener=this.getMap().addListener("idle",this.render.bind(this)),this.render()}onRemove(){google.maps.event.removeListener(this.idleListener),this.reset()}reset(){this.markers.forEach(e=>mt.setMap(e,null)),this.clusters.forEach(e=>e.delete()),this.clusters=[]}renderClusters(){const e=new Ip(this.markers,this.clusters),n=this.getMap();this.clusters.forEach(r=>{r.markers.length===1?r.marker=r.markers[0]:(r.marker=this.renderer.render(r,e,n),r.markers.forEach(i=>mt.setMap(i,null)),this.onClusterClick&&r.marker.addListener("click",i=>{google.maps.event.trigger(this,jr.CLUSTER_CLICK,r),this.onClusterClick(i,r,n)})),mt.setMap(r.marker,n)})}}function Np(t){var e=Vh(),n=u.useState(null),r=n[0],i=n[1];return u.useEffect(function(){if(e&&r===null){var o=new jp(ee(ee({},t),{map:e}));i(o)}},[e]),r}function Up(t){var e=t.children,n=t.options,r=Np(n);return r!==null?e(r):null}u.memo(Up);var Xa={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},_a={options:function(t,e){t.setOptions(e)},position:function(t,e){t.setPosition(e)},zIndex:function(t,e){t.setZIndex(e)}};function Hp(t){var e=t.children,n=t.anchor,r=t.options,i=t.position,o=t.zIndex,s=t.onCloseClick,a=t.onDomReady,l=t.onContentChanged,c=t.onPositionChanged,f=t.onZindexChanged,d=t.onLoad,h=t.onUnmount,g=u.useContext(fe),v=u.useState(null),p=v[0],w=v[1],S=u.useState(null),b=S[0],m=S[1],x=u.useState(null),C=x[0],y=x[1],E=u.useState(null),L=E[0],I=E[1],M=u.useState(null),O=M[0],D=M[1],B=u.useState(null),N=B[0],V=B[1],Z=u.useRef(null);return u.useEffect(function(){p!==null&&(p.close(),n?p.open(g,n):p.getPosition()&&p.open(g))},[g,p,n]),u.useEffect(function(){r&&p!==null&&p.setOptions(r)},[p,r]),u.useEffect(function(){i&&p!==null&&p.setPosition(i)},[i]),u.useEffect(function(){typeof o=="number"&&p!==null&&p.setZIndex(o)},[o]),u.useEffect(function(){p&&s&&(b!==null&&google.maps.event.removeListener(b),m(google.maps.event.addListener(p,"closeclick",s)))},[s]),u.useEffect(function(){p&&a&&(C!==null&&google.maps.event.removeListener(C),y(google.maps.event.addListener(p,"domready",a)))},[a]),u.useEffect(function(){p&&l&&(L!==null&&google.maps.event.removeListener(L),I(google.maps.event.addListener(p,"content_changed",l)))},[l]),u.useEffect(function(){p&&c&&(O!==null&&google.maps.event.removeListener(O),D(google.maps.event.addListener(p,"position_changed",c)))},[c]),u.useEffect(function(){p&&f&&(N!==null&&google.maps.event.removeListener(N),V(google.maps.event.addListener(p,"zindex_changed",f)))},[f]),u.useEffect(function(){var F=new google.maps.InfoWindow(ee({},r||{}));return w(F),Z.current=document.createElement("div"),s&&m(google.maps.event.addListener(F,"closeclick",s)),a&&y(google.maps.event.addListener(F,"domready",a)),l&&I(google.maps.event.addListener(F,"content_changed",l)),c&&D(google.maps.event.addListener(F,"position_changed",c)),f&&V(google.maps.event.addListener(F,"zindex_changed",f)),F.setContent(Z.current),i&&F.setPosition(i),o&&F.setZIndex(o),n?F.open(g,n):F.getPosition()?F.open(g):Ke(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>."),d&&d(F),function(){b&&google.maps.event.removeListener(b),L&&google.maps.event.removeListener(L),C&&google.maps.event.removeListener(C),O&&google.maps.event.removeListener(O),N&&google.maps.event.removeListener(N),h&&h(F),F.close()}},[]),Z.current?lr.createPortal(u.Children.only(e),Z.current):null}u.memo(Hp);var bu=function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.containerElement=null,n.state={infoWindow:null},n.open=function(r,i){i?r.open(n.context,i):r.getPosition()?r.open(n.context):Ke(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>.")},n.setInfoWindowCallback=function(){n.state.infoWindow!==null&&n.containerElement!==null&&(n.state.infoWindow.setContent(n.containerElement),n.open(n.state.infoWindow,n.props.anchor),n.props.onLoad&&n.props.onLoad(n.state.infoWindow))},n}return e.prototype.componentDidMount=function(){var n=new google.maps.InfoWindow(ee({},this.props.options||{}));this.containerElement=document.createElement("div"),this.registeredEvents=he({updaterMap:_a,eventMap:Xa,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{infoWindow:n}},this.setInfoWindowCallback)},e.prototype.componentDidUpdate=function(n){this.state.infoWindow!==null&&(me(this.registeredEvents),this.registeredEvents=he({updaterMap:_a,eventMap:Xa,prevProps:n,nextProps:this.props,instance:this.state.infoWindow}))},e.prototype.componentWillUnmount=function(){this.state.infoWindow!==null&&(me(this.registeredEvents),this.props.onUnmount&&this.props.onUnmount(this.state.infoWindow),this.state.infoWindow.close())},e.prototype.render=function(){return this.containerElement?lr.createPortal(u.Children.only(this.props.children),this.containerElement):null},e.contextType=fe,e}(u.PureComponent),$a={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},el={draggable:function(t,e){t.setDraggable(e)},editable:function(t,e){t.setEditable(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},path:function(t,e){t.setPath(e)},visible:function(t,e){t.setVisible(e)}},Fp={};function zp(t){var e=t.options,n=t.draggable,r=t.editable,i=t.visible,o=t.path,s=t.onDblClick,a=t.onDragEnd,l=t.onDragStart,c=t.onMouseDown,f=t.onMouseMove,d=t.onMouseOut,h=t.onMouseOver,g=t.onMouseUp,v=t.onRightClick,p=t.onClick,w=t.onDrag,S=t.onLoad,b=t.onUnmount,m=u.useContext(fe),x=u.useState(null),C=x[0],y=x[1],E=u.useState(null),L=E[0],I=E[1],M=u.useState(null),O=M[0],D=M[1],B=u.useState(null),N=B[0],V=B[1],Z=u.useState(null),F=Z[0],K=Z[1],T=u.useState(null),R=T[0],k=T[1],H=u.useState(null),z=H[0],Q=H[1],_=u.useState(null),P=_[0],W=_[1],q=u.useState(null),Y=q[0],te=q[1],re=u.useState(null),oe=re[0],de=re[1],je=u.useState(null),pe=je[0],ye=je[1],Te=u.useState(null),Oe=Te[0],De=Te[1];return u.useEffect(function(){C!==null&&C.setMap(m)},[m]),u.useEffect(function(){typeof e<"u"&&C!==null&&C.setOptions(e)},[C,e]),u.useEffect(function(){typeof n<"u"&&C!==null&&C.setDraggable(n)},[C,n]),u.useEffect(function(){typeof r<"u"&&C!==null&&C.setEditable(r)},[C,r]),u.useEffect(function(){typeof i<"u"&&C!==null&&C.setVisible(i)},[C,i]),u.useEffect(function(){typeof o<"u"&&C!==null&&C.setPath(o)},[C,o]),u.useEffect(function(){C&&s&&(L!==null&&google.maps.event.removeListener(L),I(google.maps.event.addListener(C,"dblclick",s)))},[s]),u.useEffect(function(){C&&a&&(O!==null&&google.maps.event.removeListener(O),D(google.maps.event.addListener(C,"dragend",a)))},[a]),u.useEffect(function(){C&&l&&(N!==null&&google.maps.event.removeListener(N),V(google.maps.event.addListener(C,"dragstart",l)))},[l]),u.useEffect(function(){C&&c&&(F!==null&&google.maps.event.removeListener(F),K(google.maps.event.addListener(C,"mousedown",c)))},[c]),u.useEffect(function(){C&&f&&(R!==null&&google.maps.event.removeListener(R),k(google.maps.event.addListener(C,"mousemove",f)))},[f]),u.useEffect(function(){C&&d&&(z!==null&&google.maps.event.removeListener(z),Q(google.maps.event.addListener(C,"mouseout",d)))},[d]),u.useEffect(function(){C&&h&&(P!==null&&google.maps.event.removeListener(P),W(google.maps.event.addListener(C,"mouseover",h)))},[h]),u.useEffect(function(){C&&g&&(Y!==null&&google.maps.event.removeListener(Y),te(google.maps.event.addListener(C,"mouseup",g)))},[g]),u.useEffect(function(){C&&v&&(oe!==null&&google.maps.event.removeListener(oe),de(google.maps.event.addListener(C,"rightclick",v)))},[v]),u.useEffect(function(){C&&p&&(pe!==null&&google.maps.event.removeListener(pe),ye(google.maps.event.addListener(C,"click",p)))},[p]),u.useEffect(function(){C&&w&&(Oe!==null&&google.maps.event.removeListener(Oe),De(google.maps.event.addListener(C,"drag",w)))},[w]),u.useEffect(function(){var se=new google.maps.Polyline(ee(ee({},e||Fp),{map:m}));return o&&se.setPath(o),typeof i<"u"&&se.setVisible(i),typeof r<"u"&&se.setEditable(r),typeof n<"u"&&se.setDraggable(n),s&&I(google.maps.event.addListener(se,"dblclick",s)),a&&D(google.maps.event.addListener(se,"dragend",a)),l&&V(google.maps.event.addListener(se,"dragstart",l)),c&&K(google.maps.event.addListener(se,"mousedown",c)),f&&k(google.maps.event.addListener(se,"mousemove",f)),d&&Q(google.maps.event.addListener(se,"mouseout",d)),h&&W(google.maps.event.addListener(se,"mouseover",h)),g&&te(google.maps.event.addListener(se,"mouseup",g)),v&&de(google.maps.event.addListener(se,"rightclick",v)),p&&ye(google.maps.event.addListener(se,"click",p)),w&&De(google.maps.event.addListener(se,"drag",w)),y(se),S&&S(se),function(){L!==null&&google.maps.event.removeListener(L),O!==null&&google.maps.event.removeListener(O),N!==null&&google.maps.event.removeListener(N),F!==null&&google.maps.event.removeListener(F),R!==null&&google.maps.event.removeListener(R),z!==null&&google.maps.event.removeListener(z),P!==null&&google.maps.event.removeListener(P),Y!==null&&google.maps.event.removeListener(Y),oe!==null&&google.maps.event.removeListener(oe),pe!==null&&google.maps.event.removeListener(pe),b&&b(se),se.setMap(null)}},[]),null}u.memo(zp);(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={polyline:null},n.setPolylineCallback=function(){n.state.polyline!==null&&n.props.onLoad&&n.props.onLoad(n.state.polyline)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.Polyline(ee(ee({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:el,eventMap:$a,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{polyline:n}},this.setPolylineCallback)},e.prototype.componentDidUpdate=function(n){this.state.polyline!==null&&(me(this.registeredEvents),this.registeredEvents=he({updaterMap:el,eventMap:$a,prevProps:n,nextProps:this.props,instance:this.state.polyline}))},e.prototype.componentWillUnmount=function(){this.state.polyline!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.polyline),me(this.registeredEvents),this.state.polyline.setMap(null))},e.prototype.render=function(){return null},e.contextType=fe,e})(u.PureComponent);var tl={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},nl={draggable:function(t,e){t.setDraggable(e)},editable:function(t,e){t.setEditable(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},path:function(t,e){t.setPath(e)},paths:function(t,e){t.setPaths(e)},visible:function(t,e){t.setVisible(e)}};function Qp(t){var e=t.options,n=t.draggable,r=t.editable,i=t.visible,o=t.path,s=t.paths,a=t.onDblClick,l=t.onDragEnd,c=t.onDragStart,f=t.onMouseDown,d=t.onMouseMove,h=t.onMouseOut,g=t.onMouseOver,v=t.onMouseUp,p=t.onRightClick,w=t.onClick,S=t.onDrag,b=t.onLoad,m=t.onUnmount,x=u.useContext(fe),C=u.useState(null),y=C[0],E=C[1],L=u.useState(null),I=L[0],M=L[1],O=u.useState(null),D=O[0],B=O[1],N=u.useState(null),V=N[0],Z=N[1],F=u.useState(null),K=F[0],T=F[1],R=u.useState(null),k=R[0],H=R[1],z=u.useState(null),Q=z[0],_=z[1],P=u.useState(null),W=P[0],q=P[1],Y=u.useState(null),te=Y[0],re=Y[1],oe=u.useState(null),de=oe[0],je=oe[1],pe=u.useState(null),ye=pe[0],Te=pe[1],Oe=u.useState(null),De=Oe[0],se=Oe[1];return u.useEffect(function(){y!==null&&y.setMap(x)},[x]),u.useEffect(function(){typeof e<"u"&&y!==null&&y.setOptions(e)},[y,e]),u.useEffect(function(){typeof n<"u"&&y!==null&&y.setDraggable(n)},[y,n]),u.useEffect(function(){typeof r<"u"&&y!==null&&y.setEditable(r)},[y,r]),u.useEffect(function(){typeof i<"u"&&y!==null&&y.setVisible(i)},[y,i]),u.useEffect(function(){typeof o<"u"&&y!==null&&y.setPath(o)},[y,o]),u.useEffect(function(){typeof s<"u"&&y!==null&&y.setPaths(s)},[y,s]),u.useEffect(function(){y&&a&&(I!==null&&google.maps.event.removeListener(I),M(google.maps.event.addListener(y,"dblclick",a)))},[a]),u.useEffect(function(){y&&l&&(D!==null&&google.maps.event.removeListener(D),B(google.maps.event.addListener(y,"dragend",l)))},[l]),u.useEffect(function(){y&&c&&(V!==null&&google.maps.event.removeListener(V),Z(google.maps.event.addListener(y,"dragstart",c)))},[c]),u.useEffect(function(){y&&f&&(K!==null&&google.maps.event.removeListener(K),T(google.maps.event.addListener(y,"mousedown",f)))},[f]),u.useEffect(function(){y&&d&&(k!==null&&google.maps.event.removeListener(k),H(google.maps.event.addListener(y,"mousemove",d)))},[d]),u.useEffect(function(){y&&h&&(Q!==null&&google.maps.event.removeListener(Q),_(google.maps.event.addListener(y,"mouseout",h)))},[h]),u.useEffect(function(){y&&g&&(W!==null&&google.maps.event.removeListener(W),q(google.maps.event.addListener(y,"mouseover",g)))},[g]),u.useEffect(function(){y&&v&&(te!==null&&google.maps.event.removeListener(te),re(google.maps.event.addListener(y,"mouseup",v)))},[v]),u.useEffect(function(){y&&p&&(de!==null&&google.maps.event.removeListener(de),je(google.maps.event.addListener(y,"rightclick",p)))},[p]),u.useEffect(function(){y&&w&&(ye!==null&&google.maps.event.removeListener(ye),Te(google.maps.event.addListener(y,"click",w)))},[w]),u.useEffect(function(){y&&S&&(De!==null&&google.maps.event.removeListener(De),se(google.maps.event.addListener(y,"drag",S)))},[S]),u.useEffect(function(){var le=new google.maps.Polygon(ee(ee({},e||{}),{map:x}));return o&&le.setPath(o),s&&le.setPaths(s),typeof i<"u"&&le.setVisible(i),typeof r<"u"&&le.setEditable(r),typeof n<"u"&&le.setDraggable(n),a&&M(google.maps.event.addListener(le,"dblclick",a)),l&&B(google.maps.event.addListener(le,"dragend",l)),c&&Z(google.maps.event.addListener(le,"dragstart",c)),f&&T(google.maps.event.addListener(le,"mousedown",f)),d&&H(google.maps.event.addListener(le,"mousemove",d)),h&&_(google.maps.event.addListener(le,"mouseout",h)),g&&q(google.maps.event.addListener(le,"mouseover",g)),v&&re(google.maps.event.addListener(le,"mouseup",v)),p&&je(google.maps.event.addListener(le,"rightclick",p)),w&&Te(google.maps.event.addListener(le,"click",w)),S&&se(google.maps.event.addListener(le,"drag",S)),E(le),b&&b(le),function(){I!==null&&google.maps.event.removeListener(I),D!==null&&google.maps.event.removeListener(D),V!==null&&google.maps.event.removeListener(V),K!==null&&google.maps.event.removeListener(K),k!==null&&google.maps.event.removeListener(k),Q!==null&&google.maps.event.removeListener(Q),W!==null&&google.maps.event.removeListener(W),te!==null&&google.maps.event.removeListener(te),de!==null&&google.maps.event.removeListener(de),ye!==null&&google.maps.event.removeListener(ye),m&&m(le),le.setMap(null)}},[]),null}u.memo(Qp);(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={polygon:null},n.setPolygonCallback=function(){n.state.polygon!==null&&n.props.onLoad&&n.props.onLoad(n.state.polygon)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.Polygon(ee(ee({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:nl,eventMap:tl,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{polygon:n}},this.setPolygonCallback)},e.prototype.componentDidUpdate=function(n){this.state.polygon!==null&&(me(this.registeredEvents),this.registeredEvents=he({updaterMap:nl,eventMap:tl,prevProps:n,nextProps:this.props,instance:this.state.polygon}))},e.prototype.componentWillUnmount=function(){this.state.polygon!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.polygon),me(this.registeredEvents),this.state.polygon&&this.state.polygon.setMap(null))},e.prototype.render=function(){return null},e.contextType=fe,e})(u.PureComponent);var rl={onBoundsChanged:"bounds_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},il={bounds:function(t,e){t.setBounds(e)},draggable:function(t,e){t.setDraggable(e)},editable:function(t,e){t.setEditable(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},visible:function(t,e){t.setVisible(e)}};function Vp(t){var e=t.options,n=t.bounds,r=t.draggable,i=t.editable,o=t.visible,s=t.onDblClick,a=t.onDragEnd,l=t.onDragStart,c=t.onMouseDown,f=t.onMouseMove,d=t.onMouseOut,h=t.onMouseOver,g=t.onMouseUp,v=t.onRightClick,p=t.onClick,w=t.onDrag,S=t.onBoundsChanged,b=t.onLoad,m=t.onUnmount,x=u.useContext(fe),C=u.useState(null),y=C[0],E=C[1],L=u.useState(null),I=L[0],M=L[1],O=u.useState(null),D=O[0],B=O[1],N=u.useState(null),V=N[0],Z=N[1],F=u.useState(null),K=F[0],T=F[1],R=u.useState(null),k=R[0],H=R[1],z=u.useState(null),Q=z[0],_=z[1],P=u.useState(null),W=P[0],q=P[1],Y=u.useState(null),te=Y[0],re=Y[1],oe=u.useState(null),de=oe[0],je=oe[1],pe=u.useState(null),ye=pe[0],Te=pe[1],Oe=u.useState(null),De=Oe[0],se=Oe[1],le=u.useState(null),ze=le[0],Je=le[1];return u.useEffect(function(){y!==null&&y.setMap(x)},[x]),u.useEffect(function(){typeof e<"u"&&y!==null&&y.setOptions(e)},[y,e]),u.useEffect(function(){typeof r<"u"&&y!==null&&y.setDraggable(r)},[y,r]),u.useEffect(function(){typeof i<"u"&&y!==null&&y.setEditable(i)},[y,i]),u.useEffect(function(){typeof o<"u"&&y!==null&&y.setVisible(o)},[y,o]),u.useEffect(function(){typeof n<"u"&&y!==null&&y.setBounds(n)},[y,n]),u.useEffect(function(){y&&s&&(I!==null&&google.maps.event.removeListener(I),M(google.maps.event.addListener(y,"dblclick",s)))},[s]),u.useEffect(function(){y&&a&&(D!==null&&google.maps.event.removeListener(D),B(google.maps.event.addListener(y,"dragend",a)))},[a]),u.useEffect(function(){y&&l&&(V!==null&&google.maps.event.removeListener(V),Z(google.maps.event.addListener(y,"dragstart",l)))},[l]),u.useEffect(function(){y&&c&&(K!==null&&google.maps.event.removeListener(K),T(google.maps.event.addListener(y,"mousedown",c)))},[c]),u.useEffect(function(){y&&f&&(k!==null&&google.maps.event.removeListener(k),H(google.maps.event.addListener(y,"mousemove",f)))},[f]),u.useEffect(function(){y&&d&&(Q!==null&&google.maps.event.removeListener(Q),_(google.maps.event.addListener(y,"mouseout",d)))},[d]),u.useEffect(function(){y&&h&&(W!==null&&google.maps.event.removeListener(W),q(google.maps.event.addListener(y,"mouseover",h)))},[h]),u.useEffect(function(){y&&g&&(te!==null&&google.maps.event.removeListener(te),re(google.maps.event.addListener(y,"mouseup",g)))},[g]),u.useEffect(function(){y&&v&&(de!==null&&google.maps.event.removeListener(de),je(google.maps.event.addListener(y,"rightclick",v)))},[v]),u.useEffect(function(){y&&p&&(ye!==null&&google.maps.event.removeListener(ye),Te(google.maps.event.addListener(y,"click",p)))},[p]),u.useEffect(function(){y&&w&&(De!==null&&google.maps.event.removeListener(De),se(google.maps.event.addListener(y,"drag",w)))},[w]),u.useEffect(function(){y&&S&&(ze!==null&&google.maps.event.removeListener(ze),Je(google.maps.event.addListener(y,"bounds_changed",S)))},[S]),u.useEffect(function(){var X=new google.maps.Rectangle(ee(ee({},e||{}),{map:x}));return typeof o<"u"&&X.setVisible(o),typeof i<"u"&&X.setEditable(i),typeof r<"u"&&X.setDraggable(r),typeof n<"u"&&X.setBounds(n),s&&M(google.maps.event.addListener(X,"dblclick",s)),a&&B(google.maps.event.addListener(X,"dragend",a)),l&&Z(google.maps.event.addListener(X,"dragstart",l)),c&&T(google.maps.event.addListener(X,"mousedown",c)),f&&H(google.maps.event.addListener(X,"mousemove",f)),d&&_(google.maps.event.addListener(X,"mouseout",d)),h&&q(google.maps.event.addListener(X,"mouseover",h)),g&&re(google.maps.event.addListener(X,"mouseup",g)),v&&je(google.maps.event.addListener(X,"rightclick",v)),p&&Te(google.maps.event.addListener(X,"click",p)),w&&se(google.maps.event.addListener(X,"drag",w)),S&&Je(google.maps.event.addListener(X,"bounds_changed",S)),E(X),b&&b(X),function(){I!==null&&google.maps.event.removeListener(I),D!==null&&google.maps.event.removeListener(D),V!==null&&google.maps.event.removeListener(V),K!==null&&google.maps.event.removeListener(K),k!==null&&google.maps.event.removeListener(k),Q!==null&&google.maps.event.removeListener(Q),W!==null&&google.maps.event.removeListener(W),te!==null&&google.maps.event.removeListener(te),de!==null&&google.maps.event.removeListener(de),ye!==null&&google.maps.event.removeListener(ye),De!==null&&google.maps.event.removeListener(De),ze!==null&&google.maps.event.removeListener(ze),m&&m(X),X.setMap(null)}},[]),null}u.memo(Vp);(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={rectangle:null},n.setRectangleCallback=function(){n.state.rectangle!==null&&n.props.onLoad&&n.props.onLoad(n.state.rectangle)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.Rectangle(ee(ee({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:il,eventMap:rl,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{rectangle:n}},this.setRectangleCallback)},e.prototype.componentDidUpdate=function(n){this.state.rectangle!==null&&(me(this.registeredEvents),this.registeredEvents=he({updaterMap:il,eventMap:rl,prevProps:n,nextProps:this.props,instance:this.state.rectangle}))},e.prototype.componentWillUnmount=function(){this.state.rectangle!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.rectangle),me(this.registeredEvents),this.state.rectangle.setMap(null))},e.prototype.render=function(){return null},e.contextType=fe,e})(u.PureComponent);var ol={onCenterChanged:"center_changed",onRadiusChanged:"radius_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},sl={center:function(t,e){t.setCenter(e)},draggable:function(t,e){t.setDraggable(e)},editable:function(t,e){t.setEditable(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},radius:function(t,e){t.setRadius(e)},visible:function(t,e){t.setVisible(e)}},Wp={};function Gp(t){var e=t.options,n=t.center,r=t.radius,i=t.draggable,o=t.editable,s=t.visible,a=t.onDblClick,l=t.onDragEnd,c=t.onDragStart,f=t.onMouseDown,d=t.onMouseMove,h=t.onMouseOut,g=t.onMouseOver,v=t.onMouseUp,p=t.onRightClick,w=t.onClick,S=t.onDrag,b=t.onCenterChanged,m=t.onRadiusChanged,x=t.onLoad,C=t.onUnmount,y=u.useContext(fe),E=u.useState(null),L=E[0],I=E[1],M=u.useState(null),O=M[0],D=M[1],B=u.useState(null),N=B[0],V=B[1],Z=u.useState(null),F=Z[0],K=Z[1],T=u.useState(null),R=T[0],k=T[1],H=u.useState(null),z=H[0],Q=H[1],_=u.useState(null),P=_[0],W=_[1],q=u.useState(null),Y=q[0],te=q[1],re=u.useState(null),oe=re[0],de=re[1],je=u.useState(null),pe=je[0],ye=je[1],Te=u.useState(null),Oe=Te[0],De=Te[1],se=u.useState(null),le=se[0],ze=se[1],Je=u.useState(null),X=Je[0],Qe=Je[1],Ne=u.useState(null),ft=Ne[0],ot=Ne[1];return u.useEffect(function(){L!==null&&L.setMap(y)},[y]),u.useEffect(function(){typeof e<"u"&&L!==null&&L.setOptions(e)},[L,e]),u.useEffect(function(){typeof i<"u"&&L!==null&&L.setDraggable(i)},[L,i]),u.useEffect(function(){typeof o<"u"&&L!==null&&L.setEditable(o)},[L,o]),u.useEffect(function(){typeof s<"u"&&L!==null&&L.setVisible(s)},[L,s]),u.useEffect(function(){typeof r=="number"&&L!==null&&L.setRadius(r)},[L,r]),u.useEffect(function(){typeof n<"u"&&L!==null&&L.setCenter(n)},[L,n]),u.useEffect(function(){L&&a&&(O!==null&&google.maps.event.removeListener(O),D(google.maps.event.addListener(L,"dblclick",a)))},[a]),u.useEffect(function(){L&&l&&(N!==null&&google.maps.event.removeListener(N),V(google.maps.event.addListener(L,"dragend",l)))},[l]),u.useEffect(function(){L&&c&&(F!==null&&google.maps.event.removeListener(F),K(google.maps.event.addListener(L,"dragstart",c)))},[c]),u.useEffect(function(){L&&f&&(R!==null&&google.maps.event.removeListener(R),k(google.maps.event.addListener(L,"mousedown",f)))},[f]),u.useEffect(function(){L&&d&&(z!==null&&google.maps.event.removeListener(z),Q(google.maps.event.addListener(L,"mousemove",d)))},[d]),u.useEffect(function(){L&&h&&(P!==null&&google.maps.event.removeListener(P),W(google.maps.event.addListener(L,"mouseout",h)))},[h]),u.useEffect(function(){L&&g&&(Y!==null&&google.maps.event.removeListener(Y),te(google.maps.event.addListener(L,"mouseover",g)))},[g]),u.useEffect(function(){L&&v&&(oe!==null&&google.maps.event.removeListener(oe),de(google.maps.event.addListener(L,"mouseup",v)))},[v]),u.useEffect(function(){L&&p&&(pe!==null&&google.maps.event.removeListener(pe),ye(google.maps.event.addListener(L,"rightclick",p)))},[p]),u.useEffect(function(){L&&w&&(Oe!==null&&google.maps.event.removeListener(Oe),De(google.maps.event.addListener(L,"click",w)))},[w]),u.useEffect(function(){L&&S&&(le!==null&&google.maps.event.removeListener(le),ze(google.maps.event.addListener(L,"drag",S)))},[S]),u.useEffect(function(){L&&b&&(X!==null&&google.maps.event.removeListener(X),Qe(google.maps.event.addListener(L,"center_changed",b)))},[w]),u.useEffect(function(){L&&m&&(ft!==null&&google.maps.event.removeListener(ft),ot(google.maps.event.addListener(L,"radius_changed",m)))},[m]),u.useEffect(function(){var ce=new google.maps.Circle(ee(ee({},e||Wp),{map:y}));return typeof r=="number"&&ce.setRadius(r),typeof n<"u"&&ce.setCenter(n),typeof r=="number"&&ce.setRadius(r),typeof s<"u"&&ce.setVisible(s),typeof o<"u"&&ce.setEditable(o),typeof i<"u"&&ce.setDraggable(i),a&&D(google.maps.event.addListener(ce,"dblclick",a)),l&&V(google.maps.event.addListener(ce,"dragend",l)),c&&K(google.maps.event.addListener(ce,"dragstart",c)),f&&k(google.maps.event.addListener(ce,"mousedown",f)),d&&Q(google.maps.event.addListener(ce,"mousemove",d)),h&&W(google.maps.event.addListener(ce,"mouseout",h)),g&&te(google.maps.event.addListener(ce,"mouseover",g)),v&&de(google.maps.event.addListener(ce,"mouseup",v)),p&&ye(google.maps.event.addListener(ce,"rightclick",p)),w&&De(google.maps.event.addListener(ce,"click",w)),S&&ze(google.maps.event.addListener(ce,"drag",S)),b&&Qe(google.maps.event.addListener(ce,"center_changed",b)),m&&ot(google.maps.event.addListener(ce,"radius_changed",m)),I(ce),x&&x(ce),function(){O!==null&&google.maps.event.removeListener(O),N!==null&&google.maps.event.removeListener(N),F!==null&&google.maps.event.removeListener(F),R!==null&&google.maps.event.removeListener(R),z!==null&&google.maps.event.removeListener(z),P!==null&&google.maps.event.removeListener(P),Y!==null&&google.maps.event.removeListener(Y),oe!==null&&google.maps.event.removeListener(oe),pe!==null&&google.maps.event.removeListener(pe),Oe!==null&&google.maps.event.removeListener(Oe),X!==null&&google.maps.event.removeListener(X),ft!==null&&google.maps.event.removeListener(ft),C&&C(ce),ce.setMap(null)}},[]),null}u.memo(Gp);(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={circle:null},n.setCircleCallback=function(){n.state.circle!==null&&n.props.onLoad&&n.props.onLoad(n.state.circle)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.Circle(ee(ee({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:sl,eventMap:ol,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{circle:n}},this.setCircleCallback)},e.prototype.componentDidUpdate=function(n){this.state.circle!==null&&(me(this.registeredEvents),this.registeredEvents=he({updaterMap:sl,eventMap:ol,prevProps:n,nextProps:this.props,instance:this.state.circle}))},e.prototype.componentWillUnmount=function(){var n;this.state.circle!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.circle),me(this.registeredEvents),(n=this.state.circle)===null||n===void 0||n.setMap(null))},e.prototype.render=function(){return null},e.contextType=fe,e})(u.PureComponent);var al={onClick:"click",onDblClick:"dblclick",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick",onAddFeature:"addfeature",onRemoveFeature:"removefeature",onRemoveProperty:"removeproperty",onSetGeometry:"setgeometry",onSetProperty:"setproperty"},ll={add:function(t,e){t.add(e)},addgeojson:function(t,e,n){t.addGeoJson(e,n)},contains:function(t,e){t.contains(e)},foreach:function(t,e){t.forEach(e)},loadgeojson:function(t,e,n,r){t.loadGeoJson(e,n,r)},overridestyle:function(t,e,n){t.overrideStyle(e,n)},remove:function(t,e){t.remove(e)},revertstyle:function(t,e){t.revertStyle(e)},controlposition:function(t,e){t.setControlPosition(e)},controls:function(t,e){t.setControls(e)},drawingmode:function(t,e){t.setDrawingMode(e)},map:function(t,e){t.setMap(e)},style:function(t,e){t.setStyle(e)},togeojson:function(t,e){t.toGeoJson(e)}};function Yp(t){var e=t.options,n=t.onClick,r=t.onDblClick,i=t.onMouseDown,o=t.onMouseMove,s=t.onMouseOut,a=t.onMouseOver,l=t.onMouseUp,c=t.onRightClick,f=t.onAddFeature,d=t.onRemoveFeature,h=t.onRemoveProperty,g=t.onSetGeometry,v=t.onSetProperty,p=t.onLoad,w=t.onUnmount,S=u.useContext(fe),b=u.useState(null),m=b[0],x=b[1],C=u.useState(null),y=C[0],E=C[1],L=u.useState(null),I=L[0],M=L[1],O=u.useState(null),D=O[0],B=O[1],N=u.useState(null),V=N[0],Z=N[1],F=u.useState(null),K=F[0],T=F[1],R=u.useState(null),k=R[0],H=R[1],z=u.useState(null),Q=z[0],_=z[1],P=u.useState(null),W=P[0],q=P[1],Y=u.useState(null),te=Y[0],re=Y[1],oe=u.useState(null),de=oe[0],je=oe[1],pe=u.useState(null),ye=pe[0],Te=pe[1],Oe=u.useState(null),De=Oe[0],se=Oe[1],le=u.useState(null),ze=le[0],Je=le[1];return u.useEffect(function(){m!==null&&m.setMap(S)},[S]),u.useEffect(function(){m&&r&&(y!==null&&google.maps.event.removeListener(y),E(google.maps.event.addListener(m,"dblclick",r)))},[r]),u.useEffect(function(){m&&i&&(I!==null&&google.maps.event.removeListener(I),M(google.maps.event.addListener(m,"mousedown",i)))},[i]),u.useEffect(function(){m&&o&&(D!==null&&google.maps.event.removeListener(D),B(google.maps.event.addListener(m,"mousemove",o)))},[o]),u.useEffect(function(){m&&s&&(V!==null&&google.maps.event.removeListener(V),Z(google.maps.event.addListener(m,"mouseout",s)))},[s]),u.useEffect(function(){m&&a&&(K!==null&&google.maps.event.removeListener(K),T(google.maps.event.addListener(m,"mouseover",a)))},[a]),u.useEffect(function(){m&&l&&(k!==null&&google.maps.event.removeListener(k),H(google.maps.event.addListener(m,"mouseup",l)))},[l]),u.useEffect(function(){m&&c&&(Q!==null&&google.maps.event.removeListener(Q),_(google.maps.event.addListener(m,"rightclick",c)))},[c]),u.useEffect(function(){m&&n&&(W!==null&&google.maps.event.removeListener(W),q(google.maps.event.addListener(m,"click",n)))},[n]),u.useEffect(function(){m&&f&&(te!==null&&google.maps.event.removeListener(te),re(google.maps.event.addListener(m,"addfeature",f)))},[f]),u.useEffect(function(){m&&d&&(de!==null&&google.maps.event.removeListener(de),je(google.maps.event.addListener(m,"removefeature",d)))},[d]),u.useEffect(function(){m&&h&&(ye!==null&&google.maps.event.removeListener(ye),Te(google.maps.event.addListener(m,"removeproperty",h)))},[h]),u.useEffect(function(){m&&g&&(De!==null&&google.maps.event.removeListener(De),se(google.maps.event.addListener(m,"setgeometry",g)))},[g]),u.useEffect(function(){m&&v&&(ze!==null&&google.maps.event.removeListener(ze),Je(google.maps.event.addListener(m,"setproperty",v)))},[v]),u.useEffect(function(){if(S!==null){var X=new google.maps.Data(ee(ee({},e||{}),{map:S}));r&&E(google.maps.event.addListener(X,"dblclick",r)),i&&M(google.maps.event.addListener(X,"mousedown",i)),o&&B(google.maps.event.addListener(X,"mousemove",o)),s&&Z(google.maps.event.addListener(X,"mouseout",s)),a&&T(google.maps.event.addListener(X,"mouseover",a)),l&&H(google.maps.event.addListener(X,"mouseup",l)),c&&_(google.maps.event.addListener(X,"rightclick",c)),n&&q(google.maps.event.addListener(X,"click",n)),f&&re(google.maps.event.addListener(X,"addfeature",f)),d&&je(google.maps.event.addListener(X,"removefeature",d)),h&&Te(google.maps.event.addListener(X,"removeproperty",h)),g&&se(google.maps.event.addListener(X,"setgeometry",g)),v&&Je(google.maps.event.addListener(X,"setproperty",v)),x(X),p&&p(X)}return function(){m&&(y!==null&&google.maps.event.removeListener(y),I!==null&&google.maps.event.removeListener(I),D!==null&&google.maps.event.removeListener(D),V!==null&&google.maps.event.removeListener(V),K!==null&&google.maps.event.removeListener(K),k!==null&&google.maps.event.removeListener(k),Q!==null&&google.maps.event.removeListener(Q),W!==null&&google.maps.event.removeListener(W),te!==null&&google.maps.event.removeListener(te),de!==null&&google.maps.event.removeListener(de),ye!==null&&google.maps.event.removeListener(ye),De!==null&&google.maps.event.removeListener(De),ze!==null&&google.maps.event.removeListener(ze),w&&w(m),m.setMap(null))}},[]),null}u.memo(Yp);(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={data:null},n.setDataCallback=function(){n.state.data!==null&&n.props.onLoad&&n.props.onLoad(n.state.data)},n}return e.prototype.componentDidMount=function(){if(this.context!==null){var n=new google.maps.Data(ee(ee({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:ll,eventMap:al,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{data:n}},this.setDataCallback)}},e.prototype.componentDidUpdate=function(n){this.state.data!==null&&(me(this.registeredEvents),this.registeredEvents=he({updaterMap:ll,eventMap:al,prevProps:n,nextProps:this.props,instance:this.state.data}))},e.prototype.componentWillUnmount=function(){this.state.data!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.data),me(this.registeredEvents),this.state.data&&this.state.data.setMap(null))},e.prototype.render=function(){return null},e.contextType=fe,e})(u.PureComponent);var cl={onClick:"click",onDefaultViewportChanged:"defaultviewport_changed",onStatusChanged:"status_changed"},ul={options:function(t,e){t.setOptions(e)},url:function(t,e){t.setUrl(e)},zIndex:function(t,e){t.setZIndex(e)}};(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={kmlLayer:null},n.setKmlLayerCallback=function(){n.state.kmlLayer!==null&&n.props.onLoad&&n.props.onLoad(n.state.kmlLayer)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.KmlLayer(ee(ee({},this.props.options),{map:this.context}));this.registeredEvents=he({updaterMap:ul,eventMap:cl,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{kmlLayer:n}},this.setKmlLayerCallback)},e.prototype.componentDidUpdate=function(n){this.state.kmlLayer!==null&&(me(this.registeredEvents),this.registeredEvents=he({updaterMap:ul,eventMap:cl,prevProps:n,nextProps:this.props,instance:this.state.kmlLayer}))},e.prototype.componentWillUnmount=function(){this.state.kmlLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.kmlLayer),me(this.registeredEvents),this.state.kmlLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=fe,e})(u.PureComponent);function wu(t,e){return typeof e=="function"?e(t.offsetWidth,t.offsetHeight):{x:0,y:0}}function Kp(t,e){return new e(t.lat,t.lng)}function Zp(t,e){return new e(new google.maps.LatLng(t.ne.lat,t.ne.lng),new google.maps.LatLng(t.sw.lat,t.sw.lng))}function qp(t,e,n){return t instanceof e?t:n(t,e)}function Jp(t,e,n){return t instanceof e?t:n(t,e)}function Xp(t,e,n){var r=t&&t.fromLatLngToDivPixel(n.getNorthEast()),i=t&&t.fromLatLngToDivPixel(n.getSouthWest());return r&&i?{left:"".concat(i.x+e.x,"px"),top:"".concat(r.y+e.y,"px"),width:"".concat(r.x-i.x-e.x,"px"),height:"".concat(i.y-r.y-e.y,"px")}:{left:"-9999px",top:"-9999px"}}function _p(t,e,n){var r=t&&t.fromLatLngToDivPixel(n);if(r){var i=r.x,o=r.y;return{left:"".concat(i+e.x,"px"),top:"".concat(o+e.y,"px")}}return{left:"-9999px",top:"-9999px"}}function Cu(t,e,n,r){return n!==void 0?Xp(t,e,Jp(n,google.maps.LatLngBounds,Zp)):_p(t,e,qp(r,google.maps.LatLng,Kp))}function $p(t,e){return t.left===e.left&&t.top===e.top&&t.width===e.height&&t.height===e.height}function eg(t,e,n,r,i){var o=function(s){Be(a,s);function a(l,c,f,d){var h=s.call(this)||this;return h.container=l,h.pane=c,h.position=f,h.bounds=d,h}return a.prototype.onAdd=function(){var l,c=(l=this.getPanes())===null||l===void 0?void 0:l[this.pane];c==null||c.appendChild(this.container)},a.prototype.draw=function(){for(var l=this.getProjection(),c=ee({},this.container?wu(this.container,i):{x:0,y:0}),f=Cu(l,c,this.bounds,this.position),d=0,h=Object.entries(f);d<h.length;d++){var g=h[d],v=g[0],p=g[1];this.container.style[v]=p}},a.prototype.onRemove=function(){this.container.parentNode!==null&&this.container.parentNode.removeChild(this.container)},a}(google.maps.OverlayView);return new o(t,e,n,r)}function fl(t){if(!t)return"";var e=t instanceof google.maps.LatLng?t:new google.maps.LatLng(t.lat,t.lng);return e+""}function dl(t){if(!t)return"";var e=t instanceof google.maps.LatLngBounds?t:new google.maps.LatLngBounds(new google.maps.LatLng(t.south,t.east),new google.maps.LatLng(t.north,t.west));return e+""}function tg(t){var e=t.position,n=t.bounds,r=t.mapPaneName,i=t.zIndex,o=t.onLoad,s=t.onUnmount,a=t.getPixelPositionOffset,l=t.children,c=u.useContext(fe),f=u.useMemo(function(){var h=document.createElement("div");return h.style.position="absolute",h},[]),d=u.useMemo(function(){return eg(f,r,e,n,a)},[f,r,e,n]);return u.useEffect(function(){return o==null||o(d),d==null||d.setMap(c),function(){s==null||s(d),d==null||d.setMap(null)}},[c,d]),u.useEffect(function(){f.style.zIndex="".concat(i)},[i,f]),Zc.createPortal(l,f)}u.memo(tg);(function(t){Be(e,t);function e(n){var r=t.call(this,n)||this;r.state={paneEl:null,containerStyle:{position:"absolute"}},r.updatePane=function(){var o=r.props.mapPaneName,s=r.overlayView.getPanes();Ke(!!o,"OverlayView requires props.mapPaneName but got %s",o),s?r.setState({paneEl:s[o]}):r.setState({paneEl:null})},r.onAdd=function(){var o,s;r.updatePane(),(s=(o=r.props).onLoad)===null||s===void 0||s.call(o,r.overlayView)},r.onPositionElement=function(){var o,s=r.overlayView.getProjection(),a=ee({x:0,y:0},r.containerRef.current?wu(r.containerRef.current,r.props.getPixelPositionOffset):{}),l=Cu(s,a,r.props.bounds,r.props.position),c=(o=r.state.containerStyle,o.left),f=o.top,d=o.width,h=o.height;$p(l,{left:c,top:f,width:d,height:h})||r.setState({containerStyle:{top:l.top||0,left:l.left||0,width:l.width||0,height:l.height||0,position:"absolute"}})},r.draw=function(){r.onPositionElement()},r.onRemove=function(){var o,s;r.setState(function(){return{paneEl:null}}),(s=(o=r.props).onUnmount)===null||s===void 0||s.call(o,r.overlayView)},r.containerRef=u.createRef();var i=new google.maps.OverlayView;return i.onAdd=r.onAdd,i.draw=r.draw,i.onRemove=r.onRemove,r.overlayView=i,r}return e.prototype.componentDidMount=function(){this.overlayView.setMap(this.context)},e.prototype.componentDidUpdate=function(n){var r=fl(n.position),i=fl(this.props.position),o=dl(n.bounds),s=dl(this.props.bounds);(r!==i||o!==s)&&this.overlayView.draw(),n.mapPaneName!==this.props.mapPaneName&&this.updatePane()},e.prototype.componentWillUnmount=function(){this.overlayView.setMap(null)},e.prototype.render=function(){var n=this.state.paneEl;return n?Zc.createPortal(A.jsx("div",{ref:this.containerRef,style:this.state.containerStyle,children:u.Children.only(this.props.children)}),n):null},e.FLOAT_PANE="floatPane",e.MAP_PANE="mapPane",e.MARKER_LAYER="markerLayer",e.OVERLAY_LAYER="overlayLayer",e.OVERLAY_MOUSE_TARGET="overlayMouseTarget",e.contextType=fe,e})(u.PureComponent);function ng(){}var hl={onDblClick:"dblclick",onClick:"click"},pl={opacity:function(t,e){t.setOpacity(e)}};function rg(t){var e=t.url,n=t.bounds,r=t.options,i=t.visible,o=u.useContext(fe),s=new google.maps.LatLngBounds(new google.maps.LatLng(n.south,n.west),new google.maps.LatLng(n.north,n.east)),a=u.useMemo(function(){var l=new google.maps.GroundOverlay(e,s,ee({},r));return l},[]);return u.useEffect(function(){a!==null&&a.setMap(o)},[o]),u.useEffect(function(){typeof e<"u"&&a!==null&&(a.set("url",e),a.setMap(o))},[a,e]),u.useEffect(function(){typeof i<"u"&&a!==null&&a.setOpacity(i?1:0)},[a,i]),u.useEffect(function(){var l=new google.maps.LatLngBounds(new google.maps.LatLng(n.south,n.west),new google.maps.LatLng(n.north,n.east));typeof n<"u"&&a!==null&&(a.set("bounds",l),a.setMap(o))},[a,n]),null}u.memo(rg);(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={groundOverlay:null},n.setGroundOverlayCallback=function(){n.state.groundOverlay!==null&&n.props.onLoad&&n.props.onLoad(n.state.groundOverlay)},n}return e.prototype.componentDidMount=function(){Ke(!!this.props.url||!!this.props.bounds,"For GroundOverlay, url and bounds are passed in to constructor and are immutable after instantiated. This is the behavior of Google Maps JavaScript API v3 ( See https://developers.google.com/maps/documentation/javascript/reference#GroundOverlay) Hence, use the corresponding two props provided by `react-google-maps-api`, url and bounds. In some cases, you'll need the GroundOverlay component to reflect the changes of url and bounds. You can leverage the React's key property to remount the component. Typically, just `key={url}` would serve your need. See https://github.com/tomchentw/react-google-maps/issues/655");var n=new google.maps.GroundOverlay(this.props.url,this.props.bounds,ee(ee({},this.props.options),{map:this.context}));this.registeredEvents=he({updaterMap:pl,eventMap:hl,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{groundOverlay:n}},this.setGroundOverlayCallback)},e.prototype.componentDidUpdate=function(n){this.state.groundOverlay!==null&&(me(this.registeredEvents),this.registeredEvents=he({updaterMap:pl,eventMap:hl,prevProps:n,nextProps:this.props,instance:this.state.groundOverlay}))},e.prototype.componentWillUnmount=function(){this.state.groundOverlay&&(this.props.onUnmount&&this.props.onUnmount(this.state.groundOverlay),this.state.groundOverlay.setMap(null))},e.prototype.render=function(){return null},e.defaultProps={onLoad:ng},e.contextType=fe,e})(u.PureComponent);var gl={},vl={data:function(t,e){t.setData(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)}};function ig(t){var e=t.data,n=t.onLoad,r=t.onUnmount,i=t.options,o=u.useContext(fe),s=u.useState(null),a=s[0],l=s[1];return u.useEffect(function(){google.maps.visualization||Ke(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} in useJsApiScript? %s',google.maps.visualization)},[]),u.useEffect(function(){Ke(!!e,"data property is required in HeatmapLayer %s",e)},[e]),u.useEffect(function(){a!==null&&a.setMap(o)},[o]),u.useEffect(function(){i&&a!==null&&a.setOptions(i)},[a,i]),u.useEffect(function(){var c=new google.maps.visualization.HeatmapLayer(ee(ee({},i||{}),{data:e,map:o}));return l(c),n&&n(c),function(){a!==null&&(r&&r(a),a.setMap(null))}},[]),null}u.memo(ig);(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={heatmapLayer:null},n.setHeatmapLayerCallback=function(){n.state.heatmapLayer!==null&&n.props.onLoad&&n.props.onLoad(n.state.heatmapLayer)},n}return e.prototype.componentDidMount=function(){Ke(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} to <LoadScript />? %s',google.maps.visualization),Ke(!!this.props.data,"data property is required in HeatmapLayer %s",this.props.data);var n=new google.maps.visualization.HeatmapLayer(ee(ee({},this.props.options||{}),{data:this.props.data,map:this.context}));this.registeredEvents=he({updaterMap:vl,eventMap:gl,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{heatmapLayer:n}},this.setHeatmapLayerCallback)},e.prototype.componentDidUpdate=function(n){me(this.registeredEvents),this.registeredEvents=he({updaterMap:vl,eventMap:gl,prevProps:n,nextProps:this.props,instance:this.state.heatmapLayer})},e.prototype.componentWillUnmount=function(){this.state.heatmapLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.heatmapLayer),me(this.registeredEvents),this.state.heatmapLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=fe,e})(u.PureComponent);var ml={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},yl={register:function(t,e,n){t.registerPanoProvider(e,n)},links:function(t,e){t.setLinks(e)},motionTracking:function(t,e){t.setMotionTracking(e)},options:function(t,e){t.setOptions(e)},pano:function(t,e){t.setPano(e)},position:function(t,e){t.setPosition(e)},pov:function(t,e){t.setPov(e)},visible:function(t,e){t.setVisible(e)},zoom:function(t,e){t.setZoom(e)}};(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={streetViewPanorama:null},n.setStreetViewPanoramaCallback=function(){n.state.streetViewPanorama!==null&&n.props.onLoad&&n.props.onLoad(n.state.streetViewPanorama)},n}return e.prototype.componentDidMount=function(){var n,r,i=(r=(n=this.context)===null||n===void 0?void 0:n.getStreetView())!==null&&r!==void 0?r:null;this.registeredEvents=he({updaterMap:yl,eventMap:ml,prevProps:{},nextProps:this.props,instance:i}),this.setState(function(){return{streetViewPanorama:i}},this.setStreetViewPanoramaCallback)},e.prototype.componentDidUpdate=function(n){this.state.streetViewPanorama!==null&&(me(this.registeredEvents),this.registeredEvents=he({updaterMap:yl,eventMap:ml,prevProps:n,nextProps:this.props,instance:this.state.streetViewPanorama}))},e.prototype.componentWillUnmount=function(){this.state.streetViewPanorama!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.streetViewPanorama),me(this.registeredEvents),this.state.streetViewPanorama.setVisible(!1))},e.prototype.render=function(){return null},e.contextType=fe,e})(u.PureComponent);(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={streetViewService:null},n.setStreetViewServiceCallback=function(){n.state.streetViewService!==null&&n.props.onLoad&&n.props.onLoad(n.state.streetViewService)},n}return e.prototype.componentDidMount=function(){var n=new google.maps.StreetViewService;this.setState(function(){return{streetViewService:n}},this.setStreetViewServiceCallback)},e.prototype.componentWillUnmount=function(){this.state.streetViewService!==null&&this.props.onUnmount&&this.props.onUnmount(this.state.streetViewService)},e.prototype.render=function(){return null},e.contextType=fe,e})(u.PureComponent);(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={directionsService:null},n.setDirectionsServiceCallback=function(){n.state.directionsService!==null&&n.props.onLoad&&n.props.onLoad(n.state.directionsService)},n}return e.prototype.componentDidMount=function(){Ke(!!this.props.options,"DirectionsService expected options object as parameter, but got %s",this.props.options);var n=new google.maps.DirectionsService;this.setState(function(){return{directionsService:n}},this.setDirectionsServiceCallback)},e.prototype.componentDidUpdate=function(){this.state.directionsService!==null&&this.state.directionsService.route(this.props.options,this.props.callback)},e.prototype.componentWillUnmount=function(){this.state.directionsService!==null&&this.props.onUnmount&&this.props.onUnmount(this.state.directionsService)},e.prototype.render=function(){return null},e})(u.PureComponent);var bl={onDirectionsChanged:"directions_changed"},wl={directions:function(t,e){t.setDirections(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)},panel:function(t,e){t.setPanel(e)},routeIndex:function(t,e){t.setRouteIndex(e)}};(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.state={directionsRenderer:null},n.setDirectionsRendererCallback=function(){n.state.directionsRenderer!==null&&(n.state.directionsRenderer.setMap(n.context),n.props.onLoad&&n.props.onLoad(n.state.directionsRenderer))},n}return e.prototype.componentDidMount=function(){var n=new google.maps.DirectionsRenderer(this.props.options);this.registeredEvents=he({updaterMap:wl,eventMap:bl,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{directionsRenderer:n}},this.setDirectionsRendererCallback)},e.prototype.componentDidUpdate=function(n){this.state.directionsRenderer!==null&&(me(this.registeredEvents),this.registeredEvents=he({updaterMap:wl,eventMap:bl,prevProps:n,nextProps:this.props,instance:this.state.directionsRenderer}))},e.prototype.componentWillUnmount=function(){this.state.directionsRenderer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.directionsRenderer),me(this.registeredEvents),this.state.directionsRenderer&&this.state.directionsRenderer.setMap(null))},e.prototype.render=function(){return A.jsx(A.Fragment,{})},e.contextType=fe,e})(u.PureComponent);(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.state={distanceMatrixService:null},n.setDistanceMatrixServiceCallback=function(){n.state.distanceMatrixService!==null&&n.props.onLoad&&n.props.onLoad(n.state.distanceMatrixService)},n}return e.prototype.componentDidMount=function(){Ke(!!this.props.options,"DistanceMatrixService expected options object as parameter, but go %s",this.props.options);var n=new google.maps.DistanceMatrixService;this.setState(function(){return{distanceMatrixService:n}},this.setDistanceMatrixServiceCallback)},e.prototype.componentDidUpdate=function(){this.state.distanceMatrixService!==null&&this.state.distanceMatrixService.getDistanceMatrix(this.props.options,this.props.callback)},e.prototype.componentWillUnmount=function(){this.state.distanceMatrixService!==null&&this.props.onUnmount&&this.props.onUnmount(this.state.distanceMatrixService)},e.prototype.render=function(){return null},e})(u.PureComponent);var Cl={onPlacesChanged:"places_changed"},El={bounds:function(t,e){t.setBounds(e)}};(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.containerElement=u.createRef(),n.state={searchBox:null},n.setSearchBoxCallback=function(){n.state.searchBox!==null&&n.props.onLoad&&n.props.onLoad(n.state.searchBox)},n}return e.prototype.componentDidMount=function(){if(Ke(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places),this.containerElement!==null&&this.containerElement.current!==null){var n=this.containerElement.current.querySelector("input");if(n!==null){var r=new google.maps.places.SearchBox(n,this.props.options);this.registeredEvents=he({updaterMap:El,eventMap:Cl,prevProps:{},nextProps:this.props,instance:r}),this.setState(function(){return{searchBox:r}},this.setSearchBoxCallback)}}},e.prototype.componentDidUpdate=function(n){this.state.searchBox!==null&&(me(this.registeredEvents),this.registeredEvents=he({updaterMap:El,eventMap:Cl,prevProps:n,nextProps:this.props,instance:this.state.searchBox}))},e.prototype.componentWillUnmount=function(){this.state.searchBox!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.searchBox),me(this.registeredEvents))},e.prototype.render=function(){return A.jsx("div",{ref:this.containerElement,children:u.Children.only(this.props.children)})},e.contextType=fe,e})(u.PureComponent);var Sl={onPlaceChanged:"place_changed"},Al={bounds:function(t,e){t.setBounds(e)},restrictions:function(t,e){t.setComponentRestrictions(e)},fields:function(t,e){t.setFields(e)},options:function(t,e){t.setOptions(e)},types:function(t,e){t.setTypes(e)}};(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.registeredEvents=[],n.containerElement=u.createRef(),n.state={autocomplete:null},n.setAutocompleteCallback=function(){n.state.autocomplete!==null&&n.props.onLoad&&n.props.onLoad(n.state.autocomplete)},n}return e.prototype.componentDidMount=function(){var n;Ke(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places);var r=(n=this.containerElement.current)===null||n===void 0?void 0:n.querySelector("input");if(r){var i=new google.maps.places.Autocomplete(r,this.props.options);this.registeredEvents=he({updaterMap:Al,eventMap:Sl,prevProps:{},nextProps:this.props,instance:i}),this.setState(function(){return{autocomplete:i}},this.setAutocompleteCallback)}},e.prototype.componentDidUpdate=function(n){me(this.registeredEvents),this.registeredEvents=he({updaterMap:Al,eventMap:Sl,prevProps:n,nextProps:this.props,instance:this.state.autocomplete})},e.prototype.componentWillUnmount=function(){this.state.autocomplete!==null&&me(this.registeredEvents)},e.prototype.render=function(){return A.jsx("div",{ref:this.containerElement,className:this.props.className,children:u.Children.only(this.props.children)})},e.defaultProps={className:""},e.contextType=fe,e})(u.PureComponent);const og=Ph().use(vh()).use(lh()).init({language:"en",defaultNs:"common",ns:["common","courier_balloon","current_location","details_modal","header","location_aside","location_selector","receive_filter","send_filter","type_filter"],apiUrl:"https://tms.omnic.solutions",apiKey:"tgpak_gfpwi2dimy3domrsnezham3ugbvw24tfm5vwk3bqgntxa"});var Eu={exports:{}};/*!
54
+ Copyright (c) 2018 Jed Watson.
55
+ Licensed under the MIT License (MIT), see
56
+ http://jedwatson.github.io/classnames
57
+ */(function(t){(function(){var e={}.hasOwnProperty;function n(){for(var r=[],i=0;i<arguments.length;i++){var o=arguments[i];if(o){var s=typeof o;if(s==="string"||s==="number")r.push(o);else if(Array.isArray(o)){if(o.length){var a=n.apply(null,o);a&&r.push(a)}}else if(s==="object"){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){r.push(o.toString());continue}for(var l in o)e.call(o,l)&&o[l]&&r.push(l)}}}return r.join(" ")}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(Eu);var sg=Eu.exports;const Ce=xo(sg),Ll=t=>{let e;const n=new Set,r=(l,c)=>{const f=typeof l=="function"?l(e):l;if(!Object.is(f,e)){const d=e;e=c??typeof f!="object"?f:Object.assign({},e,f),n.forEach(h=>h(e,d))}},i=()=>e,a={setState:r,getState:i,subscribe:l=>(n.add(l),()=>n.delete(l)),destroy:()=>{n.clear()}};return e=t(r,i,a),a},ag=t=>t?Ll(t):Ll;var Su={exports:{}},Au={},Lu={exports:{}},xu={};/**
58
+ * @license React
59
+ * use-sync-external-store-shim.production.min.js
60
+ *
61
+ * Copyright (c) Facebook, Inc. and its affiliates.
62
+ *
63
+ * This source code is licensed under the MIT license found in the
64
+ * LICENSE file in the root directory of this source tree.
65
+ */var tr=u;function lg(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var cg=typeof Object.is=="function"?Object.is:lg,ug=tr.useState,fg=tr.useEffect,dg=tr.useLayoutEffect,hg=tr.useDebugValue;function pg(t,e){var n=e(),r=ug({inst:{value:n,getSnapshot:e}}),i=r[0].inst,o=r[1];return dg(function(){i.value=n,i.getSnapshot=e,Zo(i)&&o({inst:i})},[t,n,e]),fg(function(){return Zo(i)&&o({inst:i}),t(function(){Zo(i)&&o({inst:i})})},[t]),hg(n),n}function Zo(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!cg(t,n)}catch{return!0}}function gg(t,e){return e()}var vg=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?gg:pg;xu.useSyncExternalStore=tr.useSyncExternalStore!==void 0?tr.useSyncExternalStore:vg;Lu.exports=xu;var mg=Lu.exports;/**
66
+ * @license React
67
+ * use-sync-external-store-shim/with-selector.production.min.js
68
+ *
69
+ * Copyright (c) Facebook, Inc. and its affiliates.
70
+ *
71
+ * This source code is licensed under the MIT license found in the
72
+ * LICENSE file in the root directory of this source tree.
73
+ */var Oo=u,yg=mg;function bg(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var wg=typeof Object.is=="function"?Object.is:bg,Cg=yg.useSyncExternalStore,Eg=Oo.useRef,Sg=Oo.useEffect,Ag=Oo.useMemo,Lg=Oo.useDebugValue;Au.useSyncExternalStoreWithSelector=function(t,e,n,r,i){var o=Eg(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=Ag(function(){function l(g){if(!c){if(c=!0,f=g,g=r(g),i!==void 0&&s.hasValue){var v=s.value;if(i(v,g))return d=v}return d=g}if(v=d,wg(f,g))return v;var p=r(g);return i!==void 0&&i(v,p)?v:(f=g,d=p)}var c=!1,f,d,h=n===void 0?null:n;return[function(){return l(e())},h===null?void 0:function(){return l(h())}]},[e,n,r,i]);var a=Cg(t,o[0],o[1]);return Sg(function(){s.hasValue=!0,s.value=a},[a]),Lg(a),a};Su.exports=Au;var xg=Su.exports;const Og=xo(xg),{useSyncExternalStoreWithSelector:Mg}=Og;function Pg(t,e=t.getState,n){const r=Mg(t.subscribe,t.getState,t.getServerState||t.getState,e,n);return u.useDebugValue(r),r}const xl=t=>{const e=typeof t=="function"?ag(t):t,n=(r,i)=>Pg(e,r,i);return Object.assign(n,e),n},pn=t=>t?xl(t):xl,Dg={map:null,mode:"self_pickup",bounds:null,blurred:!1,loaded:!1,loading:!0,detailsOpen:!1},Ve=pn()(t=>({...Dg,setLoaded(){t({loaded:!0,loading:!1})},setMode(e){t({mode:e})},setBounds(e){t({bounds:e})},setDetailsOpen(e){t({detailsOpen:e})},setBlurred(e){t({blurred:e})},setMap(e){t({map:e})}}));let gi;const Rg=new Uint8Array(16);function Ig(){if(!gi&&(gi=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!gi))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return gi(Rg)}const rt=[];for(let t=0;t<256;++t)rt.push((t+256).toString(16).slice(1));function kg(t,e=0){return rt[t[e+0]]+rt[t[e+1]]+rt[t[e+2]]+rt[t[e+3]]+"-"+rt[t[e+4]]+rt[t[e+5]]+"-"+rt[t[e+6]]+rt[t[e+7]]+"-"+rt[t[e+8]]+rt[t[e+9]]+"-"+rt[t[e+10]]+rt[t[e+11]]+rt[t[e+12]]+rt[t[e+13]]+rt[t[e+14]]+rt[t[e+15]]}const Tg=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ol={randomUUID:Tg};function Ou(t,e,n){if(Ol.randomUUID&&!e&&!t)return Ol.randomUUID();t=t||{};const r=t.random||(t.rng||Ig)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,e){n=n||0;for(let i=0;i<16;++i)e[n+i]=r[i];return e}return kg(r)}const As=Ou(),so=Ou(),Jt=[48,66],qn=[58,80],ra=6,ao=[49.3478969,14.0983344],Mu="en",Bg=["places","geocoding"],Ln={locale:Mu,map:{provider:"google",center:ao,initialZoom:ra}},Pu=u.createContext(Ln),Lt=()=>u.useContext(Pu),jg={courierPoint:null},yt=pn()(t=>({...jg,setCourierPoint(e){t({courierPoint:e})}})),Ng="Spinner-module__loader__HX--ed",Ug={loader:Ng},_r=({className:t})=>A.jsx("div",{className:Ce(Ug.loader,t),children:"Loading..."}),Hg="Button-module__root__8NAnx6",Fg="Button-module__primary__UsjvpK",zg="Button-module__secondary__VtNj8s",Qg="Button-module__loading__cIi2EH",Vg="Button-module__spinner__3Fk2sH",Cr={root:Hg,primary:Fg,secondary:zg,loading:Qg,spinner:Vg},St=({className:t,variant:e="primary",loading:n,children:r,...i})=>{const o=[Cr.root,t,Cr[e],{[Cr.loading]:n}];if(i.as==="link"){const{as:s,...a}=i;return A.jsxs("a",{className:Ce(o),...a,children:[!n&&r,n&&A.jsx(_r,{className:Cr.spinner})]})}if(i.as==="button"){const{as:s,...a}=i;return A.jsxs("button",{className:Ce(o),...a,children:[!n&&r,n&&A.jsx(_r,{className:Cr.spinner})]})}qt(!1,"Invalid button type")};St.defaultProps={as:"button"};const Wg=t=>ae.createElement("svg",{width:123,height:32,viewBox:"0 0 123 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ae.createElement("path",{d:"M6.69783 32C5.49102 32 4.3747 31.7038 3.34892 31.1112C2.32312 30.5186 1.50852 29.7186 0.905114 28.7112C0.301705 27.7038 0 26.6074 0 25.4222V6.57778C0 5.36296 0.301705 4.26666 0.905114 3.28888C1.50852 2.28148 2.32312 1.48148 3.34892 0.888888C4.3747 0.296296 5.49102 0 6.69783 0H25.8862C27.093 0 28.1942 0.296296 29.1899 0.888888C30.2156 1.48148 31.0302 2.28148 31.6338 3.28888C32.2673 4.26666 32.5841 5.36296 32.5841 6.57778V25.4222C32.5841 26.6074 32.2673 27.7038 31.6338 28.7112C31.0302 29.7186 30.2156 30.5186 29.1899 31.1112C28.1942 31.7038 27.093 32 25.8862 32H6.69783ZM7.01462 25.0666H25.4789V6.93334H7.01462V25.0666Z",fill:"currentcolor"}),ae.createElement("path",{d:"M37.5678 32V0H44.8087L55.851 12.9333L66.8482 0H74.1345V32H67.0745V10.5333L55.851 23.6888L44.5824 10.5778V32H37.5678Z",fill:"currentcolor"}),ae.createElement("path",{d:"M79.5533 32V0H86.7941L105.032 21.3334V0H112.137V32H104.896L86.5679 10.5778V32H79.5533Z",fill:"currentcolor"}),ae.createElement("path",{d:"M116.076 32V0H123V32H116.076Z",fill:"currentcolor"})),Gg="Header-module__root__HQYeJV",Yg="Header-module__nav__E5j1Pg",Kg="Header-module__navItem__9yWrFL",Zg="Header-module__logo__RE3idO",Dr={root:Gg,nav:Yg,navItem:Kg,logo:Zg},qg=()=>{const{hideLogo:t}=Lt();return t?null:A.jsx("div",{className:Dr.logo,children:A.jsx(Wg,{})})},Jg=t=>ae.createElement("svg",{width:24,height:28,viewBox:"0 0 24 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ae.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 11.7765C24 4.05176 17.6057 0 12 0C6.39429 0 0 4.05176 0 11.7765C0 16.9153 3.99429 22.3341 12 28C20.0057 22.3341 24 16.9153 24 11.7765ZM12.0001 16C14.2093 16 16.0001 14.2091 16.0001 12C16.0001 9.79086 14.2093 8 12.0001 8C9.79098 8 8.00012 9.79086 8.00012 12C8.00012 14.2091 9.79098 16 12.0001 16Z",fill:"#1760EE"})),Xg={open:!1},lo=pn(t=>({...Xg,toggle(e){t(n=>({open:e??!n.open}))}})),_g={place:null},gn=pn(t=>({..._g,setPlace(e,n){var i,o,s;const r=Ve.getState().map;t({place:e}),r&&((i=e==null?void 0:e.geometry)!=null&&i.viewport)?r.fitBounds(e.geometry.viewport):(o=e==null?void 0:e.geometry)!=null&&o.location&&(r==null||r.panTo((s=e.geometry)==null?void 0:s.location)),n!=null&&(r==null||r.setZoom(n))}})),$g={location:null},kt=pn()(t=>({...$g,setSelectedPoint(e){t({location:e})}})),ev="CurrentLocation-module__root__OP569R",tv="CurrentLocation-module__text__r-F6NH",nv="CurrentLocation-module__icon__tNWTkm",qo={root:ev,text:tv,icon:nv},Du=({className:t})=>{var c;const{t:e}=Tt("current_location"),n=lo(f=>f.toggle),r=gn(f=>f.place),i=Ve(f=>f.setDetailsOpen),o=yt(f=>f.setCourierPoint),s=kt(f=>f.setSelectedPoint),a=()=>{n(!0),i(!1),o(null),s(null)},l=(c=r==null?void 0:r.address_components)==null?void 0:c.find(f=>f.types.includes("locality"));return A.jsxs("div",{className:Ce(qo.root,t),onClick:a,children:[A.jsx(Jg,{className:qo.icon}),A.jsxs("span",{className:qo.text,children:[!r&&e("choose_from_map"),r&&`${(l==null?void 0:l.long_name)??r.formatted_address}`]})]})},rv=({className:t})=>{const{t:e}=Tt("header"),{disableCourierDelivery:n}=Lt(),r=yt(d=>d.courierPoint),i=yt(d=>d.setCourierPoint),o=Ve(d=>d.mode),s=Ve(d=>d.setMode);u.useEffect(()=>{s(r?"courier_delivery":"self_pickup")},[r,s]);const a=()=>{i(null),s("self_pickup")},l=()=>{i(null),s("courier_delivery")},c=o==="self_pickup",f=o==="courier_delivery";return A.jsxs("div",{className:Ce(Dr.root,t),children:[A.jsx(qg,{}),A.jsxs("nav",{className:Dr.nav,children:[!n&&A.jsx(St,{as:"link",className:Dr.navItem,variant:c?"primary":"secondary",onClick:a,children:e("self_pickup")}),!n&&A.jsx(St,{as:"link",className:Dr.navItem,variant:f?"primary":"secondary",onClick:l,children:e("courier_delivery")}),A.jsx(Du,{})]})]})},iv=u.memo(rv),ov={open:!1},nr=pn(t=>({...ov,toggle(e){Ve.getState().setDetailsOpen(!1),yt.getState().setCourierPoint(null),kt.getState().setSelectedPoint(null),t(n=>({open:e??!n.open}))}})),sv="Layout-module__root__ahSFBs",av="Layout-module__headerHidden__ko0ZcT",lv="Layout-module__sidebarHidden__6hkiQL",cv="Layout-module__sidebarOpen__vFWl9b",vi={root:sv,headerHidden:av,sidebarHidden:lv,sidebarOpen:cv},uv=({children:t})=>{const{hideHeader:e,hideFilters:n}=Lt(),r=nr(i=>i.open);return A.jsx("div",{className:Ce(vi.root,{[vi.sidebarOpen]:r,[vi.headerHidden]:e,[vi.sidebarHidden]:n}),children:t})};var fv=dv()?u.useLayoutEffect:u.useEffect;function dv(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function hv(){var t=u.useState(Object.create(null)),e=t[1];return u.useCallback(function(){e(Object.create(null))},[])}var pv=function(e){var n=e.children,r=e.type,i=r===void 0?"reach-portal":r,o=u.useRef(null),s=u.useRef(null),a=hv();return fv(function(){if(o.current){var l=o.current.ownerDocument;return s.current=l==null?void 0:l.createElement(i),l.body.appendChild(s.current),a(),function(){s.current&&s.current.ownerDocument&&s.current.ownerDocument.body.removeChild(s.current)}}},[i,a]),s.current?lr.createPortal(n,s.current):u.createElement("span",{ref:o})};/*! *****************************************************************************
74
+ Copyright (c) Microsoft Corporation.
75
+
76
+ Permission to use, copy, modify, and/or distribute this software for any
77
+ purpose with or without fee is hereby granted.
78
+
79
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
80
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
81
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
82
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
83
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
84
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
85
+ PERFORMANCE OF THIS SOFTWARE.
86
+ ***************************************************************************** */var G=function(){return G=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},G.apply(this,arguments)};function ia(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function we(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Le(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o}function He(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))}var ke;(function(t){t.Start="xstate.start",t.Stop="xstate.stop",t.Raise="xstate.raise",t.Send="xstate.send",t.Cancel="xstate.cancel",t.NullEvent="",t.Assign="xstate.assign",t.After="xstate.after",t.DoneState="done.state",t.DoneInvoke="done.invoke",t.Log="xstate.log",t.Init="xstate.init",t.Invoke="xstate.invoke",t.ErrorExecution="error.execution",t.ErrorCommunication="error.communication",t.ErrorPlatform="error.platform",t.ErrorCustom="xstate.error",t.Update="xstate.update",t.Pure="xstate.pure",t.Choose="xstate.choose"})(ke||(ke={}));var rr;(function(t){t.Parent="#_parent",t.Internal="#_internal"})(rr||(rr={}));var Ls=ke.Start,oa=ke.Stop,oi=ke.Raise,Mo=ke.Send,Ru=ke.Cancel,gv=ke.NullEvent,sa=ke.Assign;ke.After;ke.DoneState;var Iu=ke.Log,vv=ke.Init,xs=ke.Invoke;ke.ErrorExecution;var Ml=ke.ErrorPlatform,mv=ke.ErrorCustom,ku=ke.Update,yv=ke.Choose,bv=ke.Pure,Tu=".",Pl={},Os="xstate.guard",wv="",mi;function aa(t,e,n){n===void 0&&(n=Tu);var r=Nr(t,n),i=Nr(e,n);return Pe(i)?Pe(r)?i===r:!1:Pe(r)?r in i:Object.keys(r).every(function(o){return o in i?aa(r[o],i[o]):!1})}function Bu(t){try{return Pe(t)||typeof t=="number"?"".concat(t):t.type}catch{throw new Error("Events must be strings or objects with a string event.type property.")}}function Ms(t,e){try{return cr(t)?t:t.toString().split(e)}catch{throw new Error("'".concat(t,"' is not a valid state path."))}}function Cv(t){return typeof t=="object"&&"value"in t&&"context"in t&&"event"in t&&"_event"in t}function Nr(t,e){if(Cv(t))return t.value;if(cr(t))return co(t);if(typeof t!="string")return t;var n=Ms(t,e);return co(n)}function co(t){if(t.length===1)return t[0];for(var e={},n=e,r=0;r<t.length-1;r++)r===t.length-2?n[t[r]]=t[r+1]:(n[t[r]]={},n=n[t[r]]);return e}function Rr(t,e){for(var n={},r=Object.keys(t),i=0;i<r.length;i++){var o=r[i];n[o]=e(t[o],o,t,i)}return n}function Dl(t,e,n){var r,i,o={};try{for(var s=we(Object.keys(t)),a=s.next();!a.done;a=s.next()){var l=a.value,c=t[l];n(c)&&(o[l]=e(c,l,t))}}catch(f){r={error:f}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return o}var Ev=function(t){return function(e){var n,r,i=e;try{for(var o=we(t),s=o.next();!s.done;s=o.next()){var a=s.value;i=i[a]}}catch(l){n={error:l}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}};function Sv(t,e){return function(n){var r,i,o=n;try{for(var s=we(t),a=s.next();!a.done;a=s.next()){var l=a.value;o=o[e][l]}}catch(c){r={error:c}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return o}}function Vi(t){if(!t)return[[]];if(Pe(t))return[[t]];var e=We(Object.keys(t).map(function(n){var r=t[n];return typeof r!="string"&&(!r||!Object.keys(r).length)?[[n]]:Vi(t[n]).map(function(i){return[n].concat(i)})}));return e}function We(t){var e;return(e=[]).concat.apply(e,He([],Le(t),!1))}function ju(t){return cr(t)?t:[t]}function Mt(t){return t===void 0?[]:ju(t)}function uo(t,e,n){var r,i;if(xe(t))return t(e,n.data);var o={};try{for(var s=we(Object.keys(t)),a=s.next();!a.done;a=s.next()){var l=a.value,c=t[l];xe(c)?o[l]=c(e,n.data):o[l]=c}}catch(f){r={error:f}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return o}function Av(t){return/^(done|error)\./.test(t)}function Rl(t){return!!(t instanceof Promise||t!==null&&(xe(t)||typeof t=="object")&&xe(t.then))}function Lv(t){return t!==null&&typeof t=="object"&&"transition"in t&&typeof t.transition=="function"}function xv(t,e){var n,r,i=Le([[],[]],2),o=i[0],s=i[1];try{for(var a=we(t),l=a.next();!l.done;l=a.next()){var c=l.value;e(c)?o.push(c):s.push(c)}}catch(f){n={error:f}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return[o,s]}function Nu(t,e){return Rr(t.states,function(n,r){if(n){var i=(Pe(e)?void 0:e[r])||(n?n.current:void 0);if(i)return{current:i,states:Nu(n,i)}}})}function Ov(t,e){return{current:e,states:Nu(t,e)}}function Il(t,e,n,r){var i=t&&n.reduce(function(o,s){var a,l,c=s.assignment,f={state:r,action:s,_event:e},d={};if(xe(c))d=c(o,e.data,f);else try{for(var h=we(Object.keys(c)),g=h.next();!g.done;g=h.next()){var v=g.value,p=c[v];d[v]=xe(p)?p(o,e.data,f):p}}catch(w){a={error:w}}finally{try{g&&!g.done&&(l=h.return)&&l.call(h)}finally{if(a)throw a.error}}return Object.assign({},o,d)},t);return i}var Mv=function(){};function cr(t){return Array.isArray(t)}function xe(t){return typeof t=="function"}function Pe(t){return typeof t=="string"}function Uu(t,e){if(t)return Pe(t)?{type:Os,name:t,predicate:e?e[t]:void 0}:xe(t)?{type:Os,name:t.name,predicate:t}:t}function Pv(t){try{return"subscribe"in t&&xe(t.subscribe)}catch{return!1}}var ln=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();mi={},mi[ln]=function(){return this},mi[Symbol.observable]=function(){return this};function ir(t){return!!t&&"__xstatenode"in t}function Dv(t){return!!t&&typeof t.send=="function"}function Po(t,e){return Pe(t)||typeof t=="number"?G({type:t},e):t}function it(t,e){if(!Pe(t)&&"$$type"in t&&t.$$type==="scxml")return t;var n=Po(t);return G({name:n.type,data:n,$$type:"scxml",type:"external"},e)}function Fn(t,e){var n=ju(e).map(function(r){return typeof r>"u"||typeof r=="string"||ir(r)?{target:r,event:t}:G(G({},r),{event:t})});return n}function Rv(t){if(!(t===void 0||t===wv))return Mt(t)}function Hu(t,e,n,r,i){var o=t.options.guards,s={state:i,cond:e,_event:r};if(e.type===Os)return((o==null?void 0:o[e.name])||e.predicate)(n,r.data,s);var a=o==null?void 0:o[e.type];if(!a)throw new Error("Guard '".concat(e.type,"' is not implemented on machine '").concat(t.id,"'."));return a(n,r.data,s)}function Fu(t){return typeof t=="string"?{type:t}:t}function Wi(t,e,n){var r=function(){},i=typeof t=="object",o=i?t:null;return{next:((i?t.next:t)||r).bind(o),error:((i?t.error:e)||r).bind(o),complete:((i?t.complete:n)||r).bind(o)}}function yi(t,e){return"".concat(t,":invocation[").concat(e,"]")}function Ps(t){return(t.type===oi||t.type===Mo&&t.to===rr.Internal)&&typeof t.delay!="number"}var Xn=it({type:vv});function Ds(t,e){return e&&e[t]||void 0}function $r(t,e){var n;if(Pe(t)||typeof t=="number"){var r=Ds(t,e);xe(r)?n={type:t,exec:r}:r?n=r:n={type:t,exec:void 0}}else if(xe(t))n={type:t.name||t.toString(),exec:t};else{var r=Ds(t.type,e);if(xe(r))n=G(G({},t),{exec:r});else if(r){var i=r.type||t.type;n=G(G(G({},r),t),{type:i})}else n=t}return n}var cn=function(t,e){if(!t)return[];var n=cr(t)?t:[t];return n.map(function(r){return $r(r,e)})};function la(t){var e=$r(t);return G(G({id:Pe(t)?t:e.id},e),{type:e.type})}function Iv(t,e){return{type:oi,event:typeof t=="function"?t:Po(t),delay:e?e.delay:void 0,id:e==null?void 0:e.id}}function kv(t,e,n,r){var i={_event:n},o=it(xe(t.event)?t.event(e,n.data,i):t.event),s;if(Pe(t.delay)){var a=r&&r[t.delay];s=xe(a)?a(e,n.data,i):a}else s=xe(t.delay)?t.delay(e,n.data,i):t.delay;return G(G({},t),{type:oi,_event:o,delay:s})}function Tv(t,e){return{to:e?e.to:void 0,type:Mo,event:xe(t)?t:Po(t),delay:e?e.delay:void 0,id:e&&e.id!==void 0?e.id:xe(t)?t.name:Bu(t)}}function Bv(t,e,n,r){var i={_event:n},o=it(xe(t.event)?t.event(e,n.data,i):t.event),s;if(Pe(t.delay)){var a=r&&r[t.delay];s=xe(a)?a(e,n.data,i):a}else s=xe(t.delay)?t.delay(e,n.data,i):t.delay;var l=xe(t.to)?t.to(e,n.data,i):t.to;return G(G({},t),{to:l,_event:o,event:o.data,delay:s})}var jv=function(t,e,n){return G(G({},t),{value:Pe(t.expr)?t.expr:t.expr(e,n.data,{_event:n})})},Nv=function(t){return{type:Ru,sendId:t}};function Uv(t){var e=la(t);return{type:ke.Start,activity:e,exec:void 0}}function Hv(t){var e=xe(t)?t:la(t);return{type:ke.Stop,activity:e,exec:void 0}}function Fv(t,e,n){var r=xe(t.activity)?t.activity(e,n.data):t.activity,i=typeof r=="string"?{id:r}:r,o={type:ke.Stop,activity:i};return o}var zv=function(t){return{type:sa,assignment:t}};function Qv(t,e){var n=e?"#".concat(e):"";return"".concat(ke.After,"(").concat(t,")").concat(n)}function bi(t,e){var n="".concat(ke.DoneState,".").concat(t),r={type:n,data:e};return r.toString=function(){return n},r}function Gi(t,e){var n="".concat(ke.DoneInvoke,".").concat(t),r={type:n,data:e};return r.toString=function(){return n},r}function Ir(t,e){var n="".concat(ke.ErrorPlatform,".").concat(t),r={type:n,data:e};return r.toString=function(){return n},r}var Vv=function(t){var e,n,r=[];try{for(var i=we(t),o=i.next();!o.done;o=i.next())for(var s=o.value,a=0;a<s.actions.length;){if(s.actions[a].type===sa){r.push(s.actions[a]),s.actions.splice(a,1);continue}a++}}catch(l){e={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r};function fo(t,e,n,r,i,o,s){s===void 0&&(s=!1);var a=s?[]:Vv(i),l=a.length?Il(n,r,a,e):n,c=s?[n]:void 0,f=[];function d(v,p){var w;switch(p.type){case oi:{var S=kv(p,l,r,t.options.delays);return o&&typeof S.delay=="number"&&o(S,l,r),S}case Mo:var b=Bv(p,l,r,t.options.delays);return o&&b.to!==rr.Internal&&(v==="entry"?f.push(b):o(b,l,r)),b;case Iu:{var m=jv(p,l,r);return o==null||o(m,l,r),m}case yv:{var x=p,C=(w=x.conds.find(function(Z){var F=Uu(Z.cond,t.options.guards);return!F||Hu(t,F,l,r,o?void 0:e)}))===null||w===void 0?void 0:w.actions;if(!C)return[];var y=Le(fo(t,e,l,r,[{type:v,actions:cn(Mt(C),t.options.actions)}],o,s),2),E=y[0],L=y[1];return l=L,c==null||c.push(l),E}case bv:{var C=p.get(l,r.data);if(!C)return[];var I=Le(fo(t,e,l,r,[{type:v,actions:cn(Mt(C),t.options.actions)}],o,s),2),M=I[0],O=I[1];return l=O,c==null||c.push(l),M}case oa:{var m=Fv(p,l,r);return o==null||o(m,n,r),m}case sa:{l=Il(l,r,[p],o?void 0:e),c==null||c.push(l);break}default:var D=$r(p,t.options.actions),B=D.exec;if(o)o(D,l,r);else if(B&&c){var N=c.length-1,V=G(G({},D),{exec:function(Z){for(var F=[],K=1;K<arguments.length;K++)F[K-1]=arguments[K];B.apply(void 0,He([c[N]],Le(F),!1))}});D=V}return D}}function h(v){var p,w,S=[];try{for(var b=we(v.actions),m=b.next();!m.done;m=b.next()){var x=m.value,C=d(v.type,x);C&&(S=S.concat(C))}}catch(y){p={error:y}}finally{try{m&&!m.done&&(w=b.return)&&w.call(b)}finally{if(p)throw p.error}}return f.forEach(function(y){o(y,l,r)}),f.length=0,S}var g=We(i.map(h));return[g,l]}var kl=[],Kn=function(t,e){kl.push(t);var n=e(t);return kl.pop(),n};function zu(t){var e;return e={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:t}}},e[ln]=function(){return this},e}function Wv(t,e,n,r){var i,o=Fu(t.src),s=(i=e==null?void 0:e.options.services)===null||i===void 0?void 0:i[o.type],a=t.data?uo(t.data,n,r):void 0,l=s?Qu(s,t.id,a):zu(t.id);return l.meta=t,l}function Qu(t,e,n){var r=zu(e);if(r.deferred=!0,ir(t)){var i=r.state=Kn(void 0,function(){return(n?t.withContext(n):t).initialState});r.getSnapshot=function(){return i}}return r}function Gv(t){try{return typeof t.send=="function"}catch{return!1}}function Yv(t){return Gv(t)&&"id"in t}function Kv(t){var e;return G((e={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},e[ln]=function(){return this},e),t)}var ho=function(t){return t.type==="atomic"||t.type==="final"};function Vu(t){return Object.keys(t.states).map(function(e){return t.states[e]})}function ei(t){return Vu(t).filter(function(e){return e.type!=="history"})}function Wu(t){var e=[t];return ho(t)?e:e.concat(We(ei(t).map(Wu)))}function kr(t,e){var n,r,i,o,s,a,l,c,f=new Set(t),d=Rs(f),h=new Set(e);try{for(var g=we(h),v=g.next();!v.done;v=g.next())for(var p=v.value,w=p.parent;w&&!h.has(w);)h.add(w),w=w.parent}catch(I){n={error:I}}finally{try{v&&!v.done&&(r=g.return)&&r.call(g)}finally{if(n)throw n.error}}var S=Rs(h);try{for(var b=we(h),m=b.next();!m.done;m=b.next()){var p=m.value;if(p.type==="compound"&&(!S.get(p)||!S.get(p).length))d.get(p)?d.get(p).forEach(function(M){return h.add(M)}):p.initialStateNodes.forEach(function(M){return h.add(M)});else if(p.type==="parallel")try{for(var x=(s=void 0,we(ei(p))),C=x.next();!C.done;C=x.next()){var y=C.value;h.has(y)||(h.add(y),d.get(y)?d.get(y).forEach(function(M){return h.add(M)}):y.initialStateNodes.forEach(function(M){return h.add(M)}))}}catch(M){s={error:M}}finally{try{C&&!C.done&&(a=x.return)&&a.call(x)}finally{if(s)throw s.error}}}}catch(I){i={error:I}}finally{try{m&&!m.done&&(o=b.return)&&o.call(b)}finally{if(i)throw i.error}}try{for(var E=we(h),L=E.next();!L.done;L=E.next())for(var p=L.value,w=p.parent;w&&!h.has(w);)h.add(w),w=w.parent}catch(I){l={error:I}}finally{try{L&&!L.done&&(c=E.return)&&c.call(E)}finally{if(l)throw l.error}}return h}function Gu(t,e){var n=e.get(t);if(!n)return{};if(t.type==="compound"){var r=n[0];if(r){if(ho(r))return r.key}else return{}}var i={};return n.forEach(function(o){i[o.key]=Gu(o,e)}),i}function Rs(t){var e,n,r=new Map;try{for(var i=we(t),o=i.next();!o.done;o=i.next()){var s=o.value;r.has(s)||r.set(s,[]),s.parent&&(r.has(s.parent)||r.set(s.parent,[]),r.get(s.parent).push(s))}}catch(a){e={error:a}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r}function Zv(t,e){var n=kr([t],e);return Gu(t,Rs(n))}function Tr(t,e){return Array.isArray(t)?t.some(function(n){return n===e}):t instanceof Set?t.has(e):!1}function qv(t){return He([],Le(new Set(We(He([],Le(t.map(function(e){return e.ownEvents})),!1)))),!1)}function Yi(t,e){return e.type==="compound"?ei(e).some(function(n){return n.type==="final"&&Tr(t,n)}):e.type==="parallel"?ei(e).every(function(n){return Yi(t,n)}):!1}function Jv(t){return t===void 0&&(t=[]),t.reduce(function(e,n){return n.meta!==void 0&&(e[n.id]=n.meta),e},{})}function Tl(t){return new Set(We(t.map(function(e){return e.tags})))}function Yu(t,e){if(t===e)return!0;if(t===void 0||e===void 0)return!1;if(Pe(t)||Pe(e))return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(i){return Yu(t[i],e[i])})}function Xv(t){return typeof t!="object"||t===null?!1:"value"in t&&"_event"in t}function _v(t,e){var n=t.exec,r=G(G({},t),{exec:n!==void 0?function(){return n(e.context,e.event,{action:t,state:e,_event:e._event})}:void 0});return r}var wt=function(){function t(e){var n=this,r;this.actions=[],this.activities=Pl,this.meta={},this.events=[],this.value=e.value,this.context=e.context,this._event=e._event,this._sessionid=e._sessionid,this.event=this._event.data,this.historyValue=e.historyValue,this.history=e.history,this.actions=e.actions||[],this.activities=e.activities||Pl,this.meta=Jv(e.configuration),this.events=e.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=e.configuration,this.transitions=e.transitions,this.children=e.children,this.done=!!e.done,this.tags=(r=Array.isArray(e.tags)?new Set(e.tags):e.tags)!==null&&r!==void 0?r:new Set,this.machine=e.machine,Object.defineProperty(this,"nextEvents",{get:function(){return qv(n.configuration)}})}return t.from=function(e,n){if(e instanceof t)return e.context!==n?new t({value:e.value,context:n,_event:e._event,_sessionid:null,historyValue:e.historyValue,history:e.history,actions:[],activities:e.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):e;var r=Xn;return new t({value:e,context:n,_event:r,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},t.create=function(e){return new t(e)},t.inert=function(e,n){if(e instanceof t){if(!e.actions.length)return e;var r=Xn;return new t({value:e.value,context:n,_event:r,_sessionid:null,historyValue:e.historyValue,history:e.history,activities:e.activities,configuration:e.configuration,transitions:[],children:{}})}return t.from(e,n)},t.prototype.toStrings=function(e,n){var r=this;if(e===void 0&&(e=this.value),n===void 0&&(n="."),Pe(e))return[e];var i=Object.keys(e);return i.concat.apply(i,He([],Le(i.map(function(o){return r.toStrings(e[o],n).map(function(s){return o+n+s})})),!1))},t.prototype.toJSON=function(){var e=this;e.configuration,e.transitions;var n=e.tags;e.machine;var r=ia(e,["configuration","transitions","tags","machine"]);return G(G({},r),{tags:Array.from(n)})},t.prototype.matches=function(e){return aa(e,this.value)},t.prototype.hasTag=function(e){return this.tags.has(e)},t.prototype.can=function(e){var n;Mv(!!this.machine);var r=(n=this.machine)===null||n===void 0?void 0:n.getTransitionData(this,e);return!!(r!=null&&r.transitions.length)&&r.transitions.some(function(i){return i.target!==void 0||i.actions.length})},t}(),$v={deferEvents:!1},Bl=function(){function t(e){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=G(G({},$v),e)}return t.prototype.initialize=function(e){if(this.initialized=!0,e){if(!this.options.deferEvents){this.schedule(e);return}this.process(e)}this.flushEvents()},t.prototype.schedule=function(e){if(!this.initialized||this.processingEvent){this.queue.push(e);return}if(this.queue.length!==0)throw new Error("Event queue should be empty when it is not processing events");this.process(e),this.flushEvents()},t.prototype.clear=function(){this.queue=[]},t.prototype.flushEvents=function(){for(var e=this.queue.shift();e;)this.process(e),e=this.queue.shift()},t.prototype.process=function(e){this.processingEvent=!0;try{e()}catch(n){throw this.clear(),n}finally{this.processingEvent=!1}},t}(),Jo=new Map,em=0,Er={bookId:function(){return"x:".concat(em++)},register:function(t,e){return Jo.set(t,e),t},get:function(t){return Jo.get(t)},free:function(t){Jo.delete(t)}};function ca(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global}function tm(){var t=ca();if(t&&"__xstate__"in t)return t.__xstate__}function nm(t){if(ca()){var e=tm();e&&e.register(t)}}function rm(t,e){e===void 0&&(e={});var n=t.initialState,r=new Set,i=[],o=!1,s=function(){if(!o){for(o=!0;i.length>0;){var c=i.shift();n=t.transition(n,c,l),r.forEach(function(f){return f.next(n)})}o=!1}},a=Kv({id:e.id,send:function(c){i.push(c),s()},getSnapshot:function(){return n},subscribe:function(c,f,d){var h=Wi(c,f,d);return r.add(h),h.next(n),{unsubscribe:function(){r.delete(h)}}}}),l={parent:e.parent,self:a,id:e.id||"anonymous",observers:r};return n=t.start?t.start(l):n,a}var im={sync:!1,autoForward:!1},$e;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})($e||($e={}));var om=function(){function t(e,n){n===void 0&&(n=t.defaultOptions);var r=this;this.machine=e,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=$e.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(f,d){if(cr(f))return r.batch(f),r.state;var h=it(Po(f,d));if(r.status===$e.Stopped)return r.state;if(r.status!==$e.Running&&!r.options.deferEvents)throw new Error('Event "'.concat(h.name,'" was sent to uninitialized service "').concat(r.machine.id,`". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.
87
+ Event: `).concat(JSON.stringify(h.data)));return r.scheduler.schedule(function(){r.forward(h);var g=r._nextState(h);r.update(g,h)}),r._state},this.sendTo=function(f,d,h){var g=r.parent&&(d===rr.Parent||r.parent.id===d),v=g?r.parent:Pe(d)?d===rr.Internal?r:r.children.get(d)||Er.get(d):Dv(d)?d:void 0;if(!v){if(!g)throw new Error("Unable to send event to child '".concat(d,"' from service '").concat(r.id,"'."));return}if("machine"in v){if(r.status!==$e.Stopped||r.parent!==v||r.state.done){var p=G(G({},f),{name:f.name===mv?"".concat(Ir(r.id)):f.name,origin:r.sessionId});!h&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([v,p]):v.send(p)}}else!h&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([v,f.data]):v.send(f.data)},this._exec=function(f,d,h,g){g===void 0&&(g=r.machine.options.actions);var v=f.exec||Ds(f.type,g),p=xe(v)?v:v?v.exec:f.exec;if(p)try{return p(d,h.data,r.machine.config.predictableActionArguments?{action:f,_event:h}:{action:f,state:r.state,_event:h})}catch(N){throw r.parent&&r.parent.send({type:"xstate.error",data:N}),N}switch(f.type){case oi:{var w=f;r.defer(w);break}case Mo:var S=f;if(typeof S.delay=="number"){r.defer(S);return}else S.to?r.sendTo(S._event,S.to,h===Xn):r.send(S._event);break;case Ru:r.cancel(f.sendId);break;case Ls:{if(r.status!==$e.Running)return;var b=f.activity;if(!r.machine.config.predictableActionArguments&&!r.state.activities[b.id||b.type])break;if(b.type===ke.Invoke){var m=Fu(b.src),x=r.machine.options.services?r.machine.options.services[m.type]:void 0,C=b.id,y=b.data,E="autoForward"in b?b.autoForward:!!b.forward;if(!x)return;var L=y?uo(y,d,h):void 0;if(typeof x=="string")return;var I=xe(x)?x(d,h.data,{data:L,src:m,meta:b.meta}):x;if(!I)return;var M=void 0;ir(I)&&(I=L?I.withContext(L):I,M={autoForward:E}),r.spawn(I,C,M)}else r.spawnActivity(b);break}case oa:{r.stopChild(f.activity.id);break}case Iu:var O=f,D=O.label,B=O.value;D?r.logger(D,B):r.logger(B);break}};var i=G(G({},t.defaultOptions),n),o=i.clock,s=i.logger,a=i.parent,l=i.id,c=l!==void 0?l:e.id;this.id=c,this.logger=s,this.clock=o,this.parent=a,this.options=i,this.scheduler=new Bl({deferEvents:this.options.deferEvents}),this.sessionId=Er.bookId()}return Object.defineProperty(t.prototype,"initialState",{get:function(){var e=this;return this._initialState?this._initialState:Kn(this,function(){return e._initialState=e.machine.initialState,e._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),t.prototype.execute=function(e,n){var r,i;try{for(var o=we(e.actions),s=o.next();!s.done;s=o.next()){var a=s.value;this.exec(a,e,n)}}catch(l){r={error:l}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}},t.prototype.update=function(e,n){var r,i,o,s,a,l,c,f,d=this;if(e._sessionid=this.sessionId,this._state=e,(!this.machine.config.predictableActionArguments||n===Xn)&&this.options.execute)this.execute(this.state);else for(var h=void 0;h=this._outgoingQueue.shift();)h[0].send(h[1]);if(this.children.forEach(function(I){d.state.children[I.id]=I}),this.devTools&&this.devTools.send(n.data,e),e.event)try{for(var g=we(this.eventListeners),v=g.next();!v.done;v=g.next()){var p=v.value;p(e.event)}}catch(I){r={error:I}}finally{try{v&&!v.done&&(i=g.return)&&i.call(g)}finally{if(r)throw r.error}}try{for(var w=we(this.listeners),S=w.next();!S.done;S=w.next()){var p=S.value;p(e,e.event)}}catch(I){o={error:I}}finally{try{S&&!S.done&&(s=w.return)&&s.call(w)}finally{if(o)throw o.error}}try{for(var b=we(this.contextListeners),m=b.next();!m.done;m=b.next()){var x=m.value;x(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(I){a={error:I}}finally{try{m&&!m.done&&(l=b.return)&&l.call(b)}finally{if(a)throw a.error}}if(this.state.done){var C=e.configuration.find(function(I){return I.type==="final"&&I.parent===d.machine}),y=C&&C.doneData?uo(C.doneData,e.context,n):void 0;this._doneEvent=Gi(this.id,y);try{for(var E=we(this.doneListeners),L=E.next();!L.done;L=E.next()){var p=L.value;p(this._doneEvent)}}catch(I){c={error:I}}finally{try{L&&!L.done&&(f=E.return)&&f.call(E)}finally{if(c)throw c.error}}this._stop(),this._stopChildren(),Er.free(this.sessionId)}},t.prototype.onTransition=function(e){return this.listeners.add(e),this.status===$e.Running&&e(this.state,this.state.event),this},t.prototype.subscribe=function(e,n,r){var i=this,o=Wi(e,n,r);this.listeners.add(o.next),this.status!==$e.NotStarted&&o.next(this.state);var s=function(){i.doneListeners.delete(s),i.stopListeners.delete(s),o.complete()};return this.status===$e.Stopped?o.complete():(this.onDone(s),this.onStop(s)),{unsubscribe:function(){i.listeners.delete(o.next),i.doneListeners.delete(s),i.stopListeners.delete(s)}}},t.prototype.onEvent=function(e){return this.eventListeners.add(e),this},t.prototype.onSend=function(e){return this.sendListeners.add(e),this},t.prototype.onChange=function(e){return this.contextListeners.add(e),this},t.prototype.onStop=function(e){return this.stopListeners.add(e),this},t.prototype.onDone=function(e){return this.status===$e.Stopped&&this._doneEvent?e(this._doneEvent):this.doneListeners.add(e),this},t.prototype.off=function(e){return this.listeners.delete(e),this.eventListeners.delete(e),this.sendListeners.delete(e),this.stopListeners.delete(e),this.doneListeners.delete(e),this.contextListeners.delete(e),this},t.prototype.start=function(e){var n=this;if(this.status===$e.Running)return this;this.machine._init(),Er.register(this.sessionId,this),this.initialized=!0,this.status=$e.Running;var r=e===void 0?this.initialState:Kn(this,function(){return Xv(e)?n.machine.resolveState(e):n.machine.resolveState(wt.from(e,n.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){n.update(r,Xn)}),this},t.prototype._stopChildren=function(){this.children.forEach(function(e){xe(e.stop)&&e.stop()}),this.children.clear()},t.prototype._stop=function(){var e,n,r,i,o,s,a,l,c,f;try{for(var d=we(this.listeners),h=d.next();!h.done;h=d.next()){var g=h.value;this.listeners.delete(g)}}catch(E){e={error:E}}finally{try{h&&!h.done&&(n=d.return)&&n.call(d)}finally{if(e)throw e.error}}try{for(var v=we(this.stopListeners),p=v.next();!p.done;p=v.next()){var g=p.value;g(),this.stopListeners.delete(g)}}catch(E){r={error:E}}finally{try{p&&!p.done&&(i=v.return)&&i.call(v)}finally{if(r)throw r.error}}try{for(var w=we(this.contextListeners),S=w.next();!S.done;S=w.next()){var g=S.value;this.contextListeners.delete(g)}}catch(E){o={error:E}}finally{try{S&&!S.done&&(s=w.return)&&s.call(w)}finally{if(o)throw o.error}}try{for(var b=we(this.doneListeners),m=b.next();!m.done;m=b.next()){var g=m.value;this.doneListeners.delete(g)}}catch(E){a={error:E}}finally{try{m&&!m.done&&(l=b.return)&&l.call(b)}finally{if(a)throw a.error}}if(!this.initialized)return this;this.initialized=!1,this.status=$e.Stopped,this._initialState=void 0;try{for(var x=we(Object.keys(this.delayedEventsMap)),C=x.next();!C.done;C=x.next()){var y=C.value;this.clock.clearTimeout(this.delayedEventsMap[y])}}catch(E){c={error:E}}finally{try{C&&!C.done&&(f=x.return)&&f.call(x)}finally{if(c)throw c.error}}this.scheduler.clear(),this.scheduler=new Bl({deferEvents:this.options.deferEvents})},t.prototype.stop=function(){var e=this,n=this.scheduler;return this._stop(),n.schedule(function(){var r=it({type:"xstate.stop"}),i=Kn(e,function(){var o=We(He([],Le(e.state.configuration),!1).sort(function(f,d){return d.order-f.order}).map(function(f){return cn(f.onExit,e.machine.options.actions)})),s=Le(fo(e.machine,e.state,e.state.context,r,[{type:"exit",actions:o}],e.machine.config.predictableActionArguments?e._exec:void 0,e.machine.config.predictableActionArguments||e.machine.config.preserveActionOrder),2),a=s[0],l=s[1],c=new wt({value:e.state.value,context:l,_event:r,_sessionid:e.sessionId,historyValue:void 0,history:e.state,actions:a.filter(function(f){return!Ps(f)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:e.state.done,tags:e.state.tags,machine:e.machine});return c.changed=!0,c});e.update(i,r),e._stopChildren(),Er.free(e.sessionId)}),this},t.prototype.batch=function(e){var n=this;if(!(this.status===$e.NotStarted&&this.options.deferEvents)){if(this.status!==$e.Running)throw new Error("".concat(e.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'))}if(e.length){var r=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var i,o,s=n.state,a=!1,l=[],c=function(g){var v=it(g);n.forward(v),s=Kn(n,function(){return n.machine.transition(s,v,void 0,r||void 0)}),l.push.apply(l,He([],Le(n.machine.config.predictableActionArguments?s.actions:s.actions.map(function(p){return _v(p,s)})),!1)),a=a||!!s.changed};try{for(var f=we(e),d=f.next();!d.done;d=f.next()){var h=d.value;c(h)}}catch(g){i={error:g}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}s.changed=a,s.actions=l,n.update(s,it(e[e.length-1]))})}},t.prototype.sender=function(e){return this.send.bind(this,e)},t.prototype._nextState=function(e,n){var r=this;n===void 0&&(n=!!this.machine.config.predictableActionArguments&&this._exec);var i=it(e);if(i.name.indexOf(Ml)===0&&!this.state.nextEvents.some(function(s){return s.indexOf(Ml)===0}))throw i.data.data;var o=Kn(this,function(){return r.machine.transition(r.state,i,void 0,n||void 0)});return o},t.prototype.nextState=function(e){return this._nextState(e,!1)},t.prototype.forward=function(e){var n,r;try{for(var i=we(this.forwardTo),o=i.next();!o.done;o=i.next()){var s=o.value,a=this.children.get(s);if(!a)throw new Error("Unable to forward event '".concat(e,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(s,"'."));a.send(e)}}catch(l){n={error:l}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},t.prototype.defer=function(e){var n=this,r=this.clock.setTimeout(function(){"to"in e&&e.to?n.sendTo(e._event,e.to,!0):n.send(e._event)},e.delay);e.id&&(this.delayedEventsMap[e.id]=r)},t.prototype.cancel=function(e){this.clock.clearTimeout(this.delayedEventsMap[e]),delete this.delayedEventsMap[e]},t.prototype.exec=function(e,n,r){r===void 0&&(r=this.machine.options.actions),this._exec(e,n.context,n._event,r)},t.prototype.removeChild=function(e){var n;this.children.delete(e),this.forwardTo.delete(e),(n=this.state)===null||n===void 0||delete n.children[e]},t.prototype.stopChild=function(e){var n=this.children.get(e);n&&(this.removeChild(e),xe(n.stop)&&n.stop())},t.prototype.spawn=function(e,n,r){if(this.status!==$e.Running)return Qu(e,n);if(Rl(e))return this.spawnPromise(Promise.resolve(e),n);if(xe(e))return this.spawnCallback(e,n);if(Yv(e))return this.spawnActor(e,n);if(Pv(e))return this.spawnObservable(e,n);if(ir(e))return this.spawnMachine(e,G(G({},r),{id:n}));if(Lv(e))return this.spawnBehavior(e,n);throw new Error('Unable to spawn entity "'.concat(n,'" of type "').concat(typeof e,'".'))},t.prototype.spawnMachine=function(e,n){var r=this;n===void 0&&(n={});var i=new t(e,G(G({},this.options),{parent:this,id:n.id||e.id})),o=G(G({},im),n);o.sync&&i.onTransition(function(a){r.send(ku,{state:a,id:i.id})});var s=i;return this.children.set(i.id,s),o.autoForward&&this.forwardTo.add(i.id),i.onDone(function(a){r.removeChild(i.id),r.send(it(a,{origin:i.id}))}).start(),s},t.prototype.spawnBehavior=function(e,n){var r=rm(e,{id:n,parent:this});return this.children.set(n,r),r},t.prototype.spawnPromise=function(e,n){var r,i=this,o=!1,s;e.then(function(l){o||(s=l,i.removeChild(n),i.send(it(Gi(n,l),{origin:n})))},function(l){if(!o){i.removeChild(n);var c=Ir(n,l);try{i.send(it(c,{origin:n}))}catch{i.devTools&&i.devTools.send(c,i.state),i.machine.strict&&i.stop()}}});var a=(r={id:n,send:function(){},subscribe:function(l,c,f){var d=Wi(l,c,f),h=!1;return e.then(function(g){h||(d.next(g),!h&&d.complete())},function(g){h||d.error(g)}),{unsubscribe:function(){return h=!0}}},stop:function(){o=!0},toJSON:function(){return{id:n}},getSnapshot:function(){return s}},r[ln]=function(){return this},r);return this.children.set(n,a),a},t.prototype.spawnCallback=function(e,n){var r,i=this,o=!1,s=new Set,a=new Set,l,c=function(h){l=h,a.forEach(function(g){return g(h)}),!o&&i.send(it(h,{origin:n}))},f;try{f=e(c,function(h){s.add(h)})}catch(h){this.send(Ir(n,h))}if(Rl(f))return this.spawnPromise(f,n);var d=(r={id:n,send:function(h){return s.forEach(function(g){return g(h)})},subscribe:function(h){var g=Wi(h);return a.add(g.next),{unsubscribe:function(){a.delete(g.next)}}},stop:function(){o=!0,xe(f)&&f()},toJSON:function(){return{id:n}},getSnapshot:function(){return l}},r[ln]=function(){return this},r);return this.children.set(n,d),d},t.prototype.spawnObservable=function(e,n){var r,i=this,o,s=e.subscribe(function(l){o=l,i.send(it(l,{origin:n}))},function(l){i.removeChild(n),i.send(it(Ir(n,l),{origin:n}))},function(){i.removeChild(n),i.send(it(Gi(n),{origin:n}))}),a=(r={id:n,send:function(){},subscribe:function(l,c,f){return e.subscribe(l,c,f)},stop:function(){return s.unsubscribe()},getSnapshot:function(){return o},toJSON:function(){return{id:n}}},r[ln]=function(){return this},r);return this.children.set(n,a),a},t.prototype.spawnActor=function(e,n){return this.children.set(n,e),e},t.prototype.spawnActivity=function(e){var n=this.machine.options&&this.machine.options.activities?this.machine.options.activities[e.type]:void 0;if(n){var r=n(this.state.context,e);this.spawnEffect(e.id,r)}},t.prototype.spawnEffect=function(e,n){var r;this.children.set(e,(r={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:n||void 0,getSnapshot:function(){},toJSON:function(){return{id:e}}},r[ln]=function(){return this},r))},t.prototype.attachDev=function(){var e=ca();if(this.options.devTools&&e){if(e.__REDUX_DEVTOOLS_EXTENSION__){var n=typeof this.options.devTools=="object"?this.options.devTools:void 0;this.devTools=e.__REDUX_DEVTOOLS_EXTENSION__.connect(G(G({name:this.id,autoPause:!0,stateSanitizer:function(r){return{value:r.value,context:r.context,actions:r.actions}}},n),{features:G({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}nm(this)}},t.prototype.toJSON=function(){return{id:this.id}},t.prototype[ln]=function(){return this},t.prototype.getSnapshot=function(){return this.status===$e.NotStarted?this.initialState:this._state},t.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(e,n){return setTimeout(e,n)},clearTimeout:function(e){return clearTimeout(e)}},logger:console.log.bind(console),devTools:!1},t.interpret=Ku,t}();function Ku(t,e){var n=new om(t,e);return n}function sm(t){if(typeof t=="string"){var e={type:t};return e.toString=function(){return t},e}return t}function wi(t){return G(G({type:xs},t),{toJSON:function(){t.onDone,t.onError;var e=ia(t,["onDone","onError"]);return G(G({},e),{type:xs,src:sm(t.src)})}})}var Ci="",Is="#",Xo="*",zn={},Qn=function(t){return t[0]===Is},am=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},lm=function(){function t(e,n,r,i){r===void 0&&(r="context"in e?e.context:void 0);var o=this,s;this.config=e,this._context=r,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign(am(),n),this.parent=i==null?void 0:i.parent,this.key=this.config.key||(i==null?void 0:i.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:Tu),this.id=this.config.id||He([this.machine.key],Le(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:(s=this.config.schema)!==null&&s!==void 0?s:{},this.description=this.config.description,this.initial=this.config.initial,this.states=this.config.states?Rr(this.config.states,function(c,f){var d,h=new t(c,{},void 0,{parent:o,key:f});return Object.assign(o.idMap,G((d={},d[h.id]=h,d),h.idMap)),h}):zn;var a=0;function l(c){var f,d;c.order=a++;try{for(var h=we(Vu(c)),g=h.next();!g.done;g=h.next()){var v=g.value;l(v)}}catch(p){f={error:p}}finally{try{g&&!g.done&&(d=h.return)&&d.call(h)}finally{if(f)throw f.error}}}l(this),this.history=this.config.history===!0?"shallow":this.config.history||!1,this._transient=!!this.config.always||(this.config.on?Array.isArray(this.config.on)?this.config.on.some(function(c){var f=c.event;return f===Ci}):Ci in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=Mt(this.config.entry||this.config.onEntry).map(function(c){return $r(c)}),this.onExit=Mt(this.config.exit||this.config.onExit).map(function(c){return $r(c)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=Mt(this.config.invoke).map(function(c,f){var d,h;if(ir(c)){var g=yi(o.id,f);return o.machine.options.services=G((d={},d[g]=c,d),o.machine.options.services),wi({src:g,id:g})}else if(Pe(c.src)){var g=c.id||yi(o.id,f);return wi(G(G({},c),{id:g,src:c.src}))}else if(ir(c.src)||xe(c.src)){var g=c.id||yi(o.id,f);return o.machine.options.services=G((h={},h[g]=c.src,h),o.machine.options.services),wi(G(G({id:g},c),{src:g}))}else{var v=c.src;return wi(G(G({id:yi(o.id,f)},c),{src:v}))}}),this.activities=Mt(this.config.activities).concat(this.invoke).map(function(c){return la(c)}),this.transition=this.transition.bind(this),this.tags=Mt(this.config.tags)}return t.prototype._init=function(){this.__cache.transitions||Wu(this).forEach(function(e){return e.on})},t.prototype.withConfig=function(e,n){var r=this.options,i=r.actions,o=r.activities,s=r.guards,a=r.services,l=r.delays;return new t(this.config,{actions:G(G({},i),e.actions),activities:G(G({},o),e.activities),guards:G(G({},s),e.guards),services:G(G({},a),e.services),delays:G(G({},l),e.delays)},n??this.context)},t.prototype.withContext=function(e){return new t(this.config,this.options,e)},Object.defineProperty(t.prototype,"context",{get:function(){return xe(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:Rr(this.states,function(e){return e.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),t.prototype.toJSON=function(){return this.definition},Object.defineProperty(t.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var e=this.transitions;return this.__cache.on=e.reduce(function(n,r){return n[r.eventType]=n[r.eventType]||[],n[r.eventType].push(r),n},{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),t.prototype.getCandidates=function(e){if(this.__cache.candidates[e])return this.__cache.candidates[e];var n=e===Ci,r=this.transitions.filter(function(i){var o=i.eventType===e;return n?o:o||i.eventType===Xo});return this.__cache.candidates[e]=r,r},t.prototype.getDelayedTransitions=function(){var e=this,n=this.config.after;if(!n)return[];var r=function(o,s){var a=xe(o)?"".concat(e.id,":delay[").concat(s,"]"):o,l=Qv(a,e.id);return e.onEntry.push(Tv(l,{delay:o})),e.onExit.push(Nv(l)),l},i=cr(n)?n.map(function(o,s){var a=r(o.delay,s);return G(G({},o),{event:a})}):We(Object.keys(n).map(function(o,s){var a=n[o],l=Pe(a)?{target:a}:a,c=isNaN(+o)?o:+o,f=r(c,s);return Mt(l).map(function(d){return G(G({},d),{event:f,delay:c})})}));return i.map(function(o){var s=o.delay;return G(G({},e.formatTransition(o)),{delay:s})})},t.prototype.getStateNodes=function(e){var n,r=this;if(!e)return[];var i=e instanceof wt?e.value:Nr(e,this.delimiter);if(Pe(i)){var o=this.getStateNode(i).initial;return o!==void 0?this.getStateNodes((n={},n[i]=o,n)):[this,this.states[i]]}var s=Object.keys(i),a=[this];return a.push.apply(a,He([],Le(We(s.map(function(l){return r.getStateNode(l).getStateNodes(i[l])}))),!1)),a},t.prototype.handles=function(e){var n=Bu(e);return this.events.includes(n)},t.prototype.resolveState=function(e){var n=e instanceof wt?e:wt.create(e),r=Array.from(kr([],this.getStateNodes(n.value)));return new wt(G(G({},n),{value:this.resolve(n.value),configuration:r,done:Yi(r,this),tags:Tl(r),machine:this.machine}))},t.prototype.transitionLeafNode=function(e,n,r){var i=this.getStateNode(e),o=i.next(n,r);return!o||!o.transitions.length?this.next(n,r):o},t.prototype.transitionCompoundNode=function(e,n,r){var i=Object.keys(e),o=this.getStateNode(i[0]),s=o._transition(e[i[0]],n,r);return!s||!s.transitions.length?this.next(n,r):s},t.prototype.transitionParallelNode=function(e,n,r){var i,o,s={};try{for(var a=we(Object.keys(e)),l=a.next();!l.done;l=a.next()){var c=l.value,f=e[c];if(f){var d=this.getStateNode(c),h=d._transition(f,n,r);h&&(s[c]=h)}}}catch(S){i={error:S}}finally{try{l&&!l.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}var g=Object.keys(s).map(function(S){return s[S]}),v=We(g.map(function(S){return S.transitions})),p=g.some(function(S){return S.transitions.length>0});if(!p)return this.next(n,r);var w=We(Object.keys(s).map(function(S){return s[S].configuration}));return{transitions:v,exitSet:We(g.map(function(S){return S.exitSet})),configuration:w,source:n,actions:We(Object.keys(s).map(function(S){return s[S].actions}))}},t.prototype._transition=function(e,n,r){return Pe(e)?this.transitionLeafNode(e,n,r):Object.keys(e).length===1?this.transitionCompoundNode(e,n,r):this.transitionParallelNode(e,n,r)},t.prototype.getTransitionData=function(e,n){return this._transition(e.value,e,it(n))},t.prototype.next=function(e,n){var r,i,o=this,s=n.name,a=[],l=[],c;try{for(var f=we(this.getCandidates(s)),d=f.next();!d.done;d=f.next()){var h=d.value,g=h.cond,v=h.in,p=e.context,w=v?Pe(v)&&Qn(v)?e.matches(Nr(this.getStateNodeById(v).path,this.delimiter)):aa(Nr(v,this.delimiter),Ev(this.path.slice(0,-2))(e.value)):!0,S=!1;try{S=!g||Hu(this.machine,g,p,n,e)}catch(x){throw new Error("Unable to evaluate guard '".concat(g.name||g.type,"' in transition for event '").concat(s,"' in state node '").concat(this.id,`':
88
+ `).concat(x.message))}if(S&&w){h.target!==void 0&&(l=h.target),a.push.apply(a,He([],Le(h.actions),!1)),c=h;break}}}catch(x){r={error:x}}finally{try{d&&!d.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}if(c){if(!l.length)return{transitions:[c],exitSet:[],configuration:e.value?[this]:[],source:e,actions:a};var b=We(l.map(function(x){return o.getRelativeStateNodes(x,e.historyValue)})),m=!!c.internal;return{transitions:[c],exitSet:m?[]:We(l.map(function(x){return o.getPotentiallyReenteringNodes(x)})),configuration:b,source:e,actions:a}}},t.prototype.getPotentiallyReenteringNodes=function(e){if(this.order<e.order)return[this];for(var n=[],r=this,i=e;r&&r!==i;)n.push(r),r=r.parent;return r!==i?[]:(n.push(i),n)},t.prototype.getActions=function(e,n,r,i,o,s,a){var l,c,f,d,h=this,g=s?kr([],this.getStateNodes(s.value)):[],v=new Set;try{for(var p=we(Array.from(e).sort(function(O,D){return O.order-D.order})),w=p.next();!w.done;w=p.next()){var S=w.value;(!Tr(g,S)||Tr(r.exitSet,S)||S.parent&&v.has(S.parent))&&v.add(S)}}catch(O){l={error:O}}finally{try{w&&!w.done&&(c=p.return)&&c.call(p)}finally{if(l)throw l.error}}try{for(var b=we(g),m=b.next();!m.done;m=b.next()){var S=m.value;(!Tr(e,S)||Tr(r.exitSet,S.parent))&&r.exitSet.push(S)}}catch(O){f={error:O}}finally{try{m&&!m.done&&(d=b.return)&&d.call(b)}finally{if(f)throw f.error}}r.exitSet.sort(function(O,D){return D.order-O.order});var x=Array.from(v).sort(function(O,D){return O.order-D.order}),C=new Set(r.exitSet),y=We(x.map(function(O){var D=[];if(O.type!=="final")return D;var B=O.parent;if(!B.parent)return D;D.push(bi(O.id,O.doneData),bi(B.id,O.doneData?uo(O.doneData,i,o):void 0));var N=B.parent;return N.type==="parallel"&&ei(N).every(function(V){return Yi(r.configuration,V)})&&D.push(bi(N.id)),D})),E=x.map(function(O){var D=O.onEntry,B=O.activities.map(function(N){return Uv(N)});return{type:"entry",actions:cn(a?He(He([],Le(D),!1),Le(B),!1):He(He([],Le(B),!1),Le(D),!1),h.machine.options.actions)}}).concat({type:"state_done",actions:y.map(function(O){return Iv(O)})}),L=Array.from(C).map(function(O){return{type:"exit",actions:cn(He(He([],Le(O.onExit),!1),Le(O.activities.map(function(D){return Hv(D)})),!1),h.machine.options.actions)}}),I=L.concat({type:"transition",actions:cn(r.actions,this.machine.options.actions)}).concat(E);if(n){var M=cn(We(He([],Le(e),!1).sort(function(O,D){return D.order-O.order}).map(function(O){return O.onExit})),this.machine.options.actions).filter(function(O){return!Ps(O)});return I.concat({type:"stop",actions:M})}return I},t.prototype.transition=function(e,n,r,i){e===void 0&&(e=this.initialState);var o=it(n),s;if(e instanceof wt)s=r===void 0?e:this.resolveState(wt.from(e,r));else{var a=Pe(e)?this.resolve(co(this.getResolvedPath(e))):this.resolve(e),l=r??this.machine.context;s=this.resolveState(wt.from(a,l))}if(this.strict&&!this.events.includes(o.name)&&!Av(o.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(o.name,"'"));var c=this._transition(s.value,s,o)||{transitions:[],configuration:[],exitSet:[],source:s,actions:[]},f=kr([],this.getStateNodes(s.value)),d=c.configuration.length?kr(f,c.configuration):f;return c.configuration=He([],Le(d),!1),this.resolveTransition(c,s,s.context,i,o)},t.prototype.resolveRaisedTransition=function(e,n,r,i){var o,s=e.actions;return e=this.transition(e,n,void 0,i),e._event=r,e.event=r.data,(o=e.actions).unshift.apply(o,He([],Le(s),!1)),e},t.prototype.resolveTransition=function(e,n,r,i,o){var s,a,l,c,f=this;o===void 0&&(o=Xn);var d=e.configuration,h=!n||e.transitions.length>0,g=h?e.configuration:n?n.configuration:[],v=Yi(g,this),p=h?Zv(this.machine,d):void 0,w=n?n.historyValue?n.historyValue:e.source?this.machine.historyValue(n.value):void 0:void 0,S=this.getActions(new Set(g),v,e,r,o,n,i),b=n?G({},n.activities):{};try{for(var m=we(S),x=m.next();!x.done;x=m.next()){var C=x.value;try{for(var y=(l=void 0,we(C.actions)),E=y.next();!E.done;E=y.next()){var L=E.value;L.type===Ls?b[L.activity.id||L.activity.type]=L:L.type===oa&&(b[L.activity.id||L.activity.type]=!1)}}catch(Q){l={error:Q}}finally{try{E&&!E.done&&(c=y.return)&&c.call(y)}finally{if(l)throw l.error}}}}catch(Q){s={error:Q}}finally{try{x&&!x.done&&(a=m.return)&&a.call(m)}finally{if(s)throw s.error}}var I=Le(fo(this,n,r,o,S,i,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),M=I[0],O=I[1],D=Le(xv(M,Ps),2),B=D[0],N=D[1],V=M.filter(function(Q){var _;return Q.type===Ls&&((_=Q.activity)===null||_===void 0?void 0:_.type)===xs}),Z=V.reduce(function(Q,_){return Q[_.activity.id]=Wv(_.activity,f.machine,O,o),Q},n?G({},n.children):{}),F=new wt({value:p||n.value,context:O,_event:o,_sessionid:n?n._sessionid:null,historyValue:p?w?Ov(w,p):void 0:n?n.historyValue:void 0,history:!p||e.source?n:void 0,actions:p?N:[],activities:p?b:n?n.activities:{},events:[],configuration:g,transitions:e.transitions,children:Z,done:v,tags:Tl(g),machine:this}),K=r!==O;F.changed=o.name===ku||K;var T=F.history;T&&delete T.history;var R=!v&&(this._transient||d.some(function(Q){return Q._transient}));if(!h&&(!R||o.name===Ci))return F;var k=F;if(!v)for(R&&(k=this.resolveRaisedTransition(k,{type:gv},o,i));B.length;){var H=B.shift();k=this.resolveRaisedTransition(k,H._event,o,i)}var z=k.changed||(T?!!k.actions.length||K||typeof T.value!=typeof k.value||!Yu(k.value,T.value):void 0);return k.changed=z,k.history=T,k},t.prototype.getStateNode=function(e){if(Qn(e))return this.machine.getStateNodeById(e);if(!this.states)throw new Error("Unable to retrieve child state '".concat(e,"' from '").concat(this.id,"'; no child states exist."));var n=this.states[e];if(!n)throw new Error("Child state '".concat(e,"' does not exist on '").concat(this.id,"'"));return n},t.prototype.getStateNodeById=function(e){var n=Qn(e)?e.slice(Is.length):e;if(n===this.id)return this;var r=this.machine.idMap[n];if(!r)throw new Error("Child state node '#".concat(n,"' does not exist on machine '").concat(this.id,"'"));return r},t.prototype.getStateNodeByPath=function(e){if(typeof e=="string"&&Qn(e))try{return this.getStateNodeById(e.slice(1))}catch{}for(var n=Ms(e,this.delimiter).slice(),r=this;n.length;){var i=n.shift();if(!i.length)break;r=r.getStateNode(i)}return r},t.prototype.resolve=function(e){var n,r=this;if(!e)return this.initialStateValue||zn;switch(this.type){case"parallel":return Rr(this.initialStateValue,function(o,s){return o?r.getStateNode(s).resolve(e[s]||o):zn});case"compound":if(Pe(e)){var i=this.getStateNode(e);return i.type==="parallel"||i.type==="compound"?(n={},n[e]=i.initialStateValue,n):e}return Object.keys(e).length?Rr(e,function(o,s){return o?r.getStateNode(s).resolve(o):zn}):this.initialStateValue||{};default:return e||zn}},t.prototype.getResolvedPath=function(e){if(Qn(e)){var n=this.machine.idMap[e.slice(Is.length)];if(!n)throw new Error("Unable to find state node '".concat(e,"'"));return n.path}return Ms(e,this.delimiter)},Object.defineProperty(t.prototype,"initialStateValue",{get:function(){var e;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;var n;if(this.type==="parallel")n=Dl(this.states,function(r){return r.initialStateValue||zn},function(r){return r.type!=="history"});else if(this.initial!==void 0){if(!this.states[this.initial])throw new Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));n=ho(this.states[this.initial])?this.initial:(e={},e[this.initial]=this.states[this.initial].initialStateValue,e)}else n={};return this.__cache.initialStateValue=n,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),t.prototype.getInitialState=function(e,n){this._init();var r=this.getStateNodes(e);return this.resolveTransition({configuration:r,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,n??this.machine.context,void 0)},Object.defineProperty(t.prototype,"initialState",{get:function(){var e=this.initialStateValue;if(!e)throw new Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"target",{get:function(){var e;if(this.type==="history"){var n=this.config;Pe(n.target)?e=Qn(n.target)?co(this.machine.getStateNodeById(n.target).path.slice(this.path.length-1)):n.target:e=n.target}return e},enumerable:!1,configurable:!0}),t.prototype.getRelativeStateNodes=function(e,n,r){return r===void 0&&(r=!0),r?e.type==="history"?e.resolveHistory(n):e.initialStateNodes:[e]},Object.defineProperty(t.prototype,"initialStateNodes",{get:function(){var e=this;if(ho(this))return[this];if(this.type==="compound"&&!this.initial)return[this];var n=Vi(this.initialStateValue);return We(n.map(function(r){return e.getFromRelativePath(r)}))},enumerable:!1,configurable:!0}),t.prototype.getFromRelativePath=function(e){if(!e.length)return[this];var n=Le(e),r=n[0],i=n.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(r,"' from node with no states"));var o=this.getStateNode(r);if(o.type==="history")return o.resolveHistory();if(!this.states[r])throw new Error("Child state '".concat(r,"' does not exist on '").concat(this.id,"'"));return this.states[r].getFromRelativePath(i)},t.prototype.historyValue=function(e){if(Object.keys(this.states).length)return{current:e||this.initialStateValue,states:Dl(this.states,function(n,r){if(!e)return n.historyValue();var i=Pe(e)?void 0:e[r];return n.historyValue(i||n.initialStateValue)},function(n){return!n.history})}},t.prototype.resolveHistory=function(e){var n=this;if(this.type!=="history")return[this];var r=this.parent;if(!e){var i=this.target;return i?We(Vi(i).map(function(s){return r.getFromRelativePath(s)})):r.initialStateNodes}var o=Sv(r.path,"states")(e).current;return Pe(o)?[r.getStateNode(o)]:We(Vi(o).map(function(s){return n.history==="deep"?r.getFromRelativePath(s):[r.states[s[0]]]}))},Object.defineProperty(t.prototype,"stateIds",{get:function(){var e=this,n=We(Object.keys(this.states).map(function(r){return e.states[r].stateIds}));return[this.id].concat(n)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"events",{get:function(){var e,n,r,i;if(this.__cache.events)return this.__cache.events;var o=this.states,s=new Set(this.ownEvents);if(o)try{for(var a=we(Object.keys(o)),l=a.next();!l.done;l=a.next()){var c=l.value,f=o[c];if(f.states)try{for(var d=(r=void 0,we(f.events)),h=d.next();!h.done;h=d.next()){var g=h.value;s.add("".concat(g))}}catch(v){r={error:v}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}}}catch(v){e={error:v}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return this.__cache.events=Array.from(s)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ownEvents",{get:function(){var e=new Set(this.transitions.filter(function(n){return!(!n.target&&!n.actions.length&&n.internal)}).map(function(n){return n.eventType}));return Array.from(e)},enumerable:!1,configurable:!0}),t.prototype.resolveTarget=function(e){var n=this;if(e!==void 0)return e.map(function(r){if(!Pe(r))return r;var i=r[0]===n.delimiter;if(i&&!n.parent)return n.getStateNodeByPath(r.slice(1));var o=i?n.key+r:r;if(n.parent)try{var s=n.parent.getStateNodeByPath(o);return s}catch(a){throw new Error("Invalid transition definition for state node '".concat(n.id,`':
89
+ `).concat(a.message))}else return n.getStateNodeByPath(o)})},t.prototype.formatTransition=function(e){var n=this,r=Rv(e.target),i="internal"in e?e.internal:r?r.some(function(l){return Pe(l)&&l[0]===n.delimiter}):!0,o=this.machine.options.guards,s=this.resolveTarget(r),a=G(G({},e),{actions:cn(Mt(e.actions)),cond:Uu(e.cond,o),target:s,source:this,internal:i,eventType:e.event,toJSON:function(){return G(G({},a),{target:a.target?a.target.map(function(l){return"#".concat(l.id)}):void 0,source:"#".concat(n.id)})}});return a},t.prototype.formatTransitions=function(){var e,n,r=this,i;if(!this.config.on)i=[];else if(Array.isArray(this.config.on))i=this.config.on;else{var o=this.config.on,s=Xo,a=o[s],l=a===void 0?[]:a,c=ia(o,[typeof s=="symbol"?s:s+""]);i=We(Object.keys(c).map(function(b){var m=Fn(b,c[b]);return m}).concat(Fn(Xo,l)))}var f=this.config.always?Fn("",this.config.always):[],d=this.config.onDone?Fn(String(bi(this.id)),this.config.onDone):[],h=We(this.invoke.map(function(b){var m=[];return b.onDone&&m.push.apply(m,He([],Le(Fn(String(Gi(b.id)),b.onDone)),!1)),b.onError&&m.push.apply(m,He([],Le(Fn(String(Ir(b.id)),b.onError)),!1)),m})),g=this.after,v=We(He(He(He(He([],Le(d),!1),Le(h),!1),Le(i),!1),Le(f),!1).map(function(b){return Mt(b).map(function(m){return r.formatTransition(m)})}));try{for(var p=we(g),w=p.next();!w.done;w=p.next()){var S=w.value;v.push(S)}}catch(b){e={error:b}}finally{try{w&&!w.done&&(n=p.return)&&n.call(p)}finally{if(e)throw e.error}}return v},t}();function cm(t,e,n){return n===void 0&&(n=t.context),new lm(t,e,n)}var um=zv,ks;(function(t){t[t.Effect=1]="Effect",t[t.LayoutEffect=2]="LayoutEffect"})(ks||(ks={}));var Ur=u.useLayoutEffect;function jl(t){var e=ae.useRef();return e.current||(e.current={v:t()}),e.current.v}var fm=globalThis&&globalThis.__read||function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},dm=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};function hm(t,e){var n,r,i=fm([[],[]],2),o=i[0],s=i[1];try{for(var a=dm(t),l=a.next();!l.done;l=a.next()){var c=l.value;e(c)?o.push(c):s.push(c)}}catch(f){n={error:f}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return[o,s]}var Sr=globalThis&&globalThis.__read||function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},Nl=globalThis&&globalThis.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))};function Ul(t,e){var n=t.exec,r=n(e.context,e._event.data,{action:t,state:e,_event:e._event});r()}function pm(t){var e=u.useRef([]),n=u.useRef([]);Ur(function(){var r=t.subscribe(function(i){var o,s;if(i.actions.length){var a=i.actions.filter(function(d){return typeof d.exec=="function"&&"__effect"in d.exec}),l=Sr(hm(a,function(d){return d.exec.__effect===ks.Effect}),2),c=l[0],f=l[1];(o=e.current).push.apply(o,Nl([],Sr(c.map(function(d){return[d,i]})),!1)),(s=n.current).push.apply(s,Nl([],Sr(f.map(function(d){return[d,i]})),!1))}});return function(){r.unsubscribe()}},[]),Ur(function(){for(;n.current.length;){var r=Sr(n.current.shift(),2),i=r[0],o=r[1];Ul(i,o)}}),u.useEffect(function(){for(;e.current.length;){var r=Sr(e.current.shift(),2),i=r[0],o=r[1];Ul(i,o)}})}var Hr=globalThis&&globalThis.__assign||function(){return Hr=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},Hr.apply(this,arguments)},gm=globalThis&&globalThis.__rest||function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};globalThis&&globalThis.__read;function vm(t,e,n){if(typeof t=="object")return t;var r=function(){};return{next:t,error:e||r,complete:n||r}}function mm(t,e,n){e===void 0&&(e={});var r=jl(function(){return typeof t=="function"?t():t}),i=e.context,o=e.guards,s=e.actions,a=e.activities,l=e.services,c=e.delays,f=e.state,d=gm(e,["context","guards","actions","activities","services","delays","state"]),h=jl(function(){var g={context:i,guards:o,actions:s,activities:a,services:l,delays:c},v=r.withConfig(g,function(){return Hr(Hr({},r.context),i)});return Ku(v,Hr({deferEvents:!0},d))});return Ur(function(){var g;return n&&(g=h.subscribe(vm(n))),function(){g==null||g.unsubscribe()}},[n]),Ur(function(){return h.start(f?wt.create(f):void 0),function(){h.stop()}},[]),Ur(function(){Object.assign(h.machine.options.actions,s),Object.assign(h.machine.options.guards,o),Object.assign(h.machine.options.activities,a),Object.assign(h.machine.options.services,l),Object.assign(h.machine.options.delays,c)},[s,o,a,l,c]),pm(h),h}var ym=globalThis&&globalThis.__read||function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o};globalThis&&globalThis.__spreadArray;function bm(t,e){e===void 0&&(e={});var n=u.useCallback(function(a){var l=a.changed===void 0&&Object.keys(a.children).length;(a.changed||l)&&s(a)},[]),r=mm(t,e,n),i=ym(u.useState(function(){var a=r.machine.initialState;return e.state?wt.create(e.state):a}),2),o=i[0],s=i[1];return[o,r.send,r]}function Ge(){return Ge=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ge.apply(this,arguments)}function _n(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o<r.length;o++)i=r[o],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}const ve={arr:Array.isArray,obj:t=>Object.prototype.toString.call(t)==="[object Object]",fun:t=>typeof t=="function",str:t=>typeof t=="string",num:t=>typeof t=="number",und:t=>t===void 0,nul:t=>t===null,set:t=>t instanceof Set,map:t=>t instanceof Map,equ(t,e){if(typeof t!=typeof e)return!1;if(ve.str(t)||ve.num(t))return t===e;if(ve.obj(t)&&ve.obj(e)&&Object.keys(t).length+Object.keys(e).length===0)return!0;let n;for(n in t)if(!(n in e))return!1;for(n in e)if(t[n]!==e[n])return!1;return ve.und(n)?t===e:!0}};function wm(t,e){return e===void 0&&(e=!0),n=>(ve.arr(n)?n:Object.keys(n)).reduce((r,i)=>{const o=e?i[0].toLowerCase()+i.substring(1):i;return r[o]=t(o),r},t)}function Cm(){const t=u.useState(!1),e=t[1];return u.useCallback(()=>e(r=>!r),[])}function Sn(t,e){return ve.und(t)||ve.nul(t)?e:t}function Ei(t){return ve.und(t)?[]:ve.arr(t)?t:[t]}function Jn(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return ve.fun(t)?t(...n):t}function Em(t){return t.to,t.from,t.config,t.onStart,t.onRest,t.onFrame,t.children,t.reset,t.reverse,t.force,t.immediate,t.delay,t.attach,t.destroyed,t.interpolateTo,t.ref,t.lazy,_n(t,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}function _o(t){const e=Em(t);if(ve.und(e))return Ge({to:e},t);const n=Object.keys(t).reduce((r,i)=>ve.und(e[i])?Ge({},r,{[i]:t[i]}):r,{});return Ge({to:e},n)}function Sm(t,e){return e&&(ve.fun(e)?e(t):ve.obj(e)&&(e.current=t)),t}class Pt{constructor(){this.payload=void 0,this.children=[]}getAnimatedValue(){return this.getValue()}getPayload(){return this.payload||this}attach(){}detach(){}getChildren(){return this.children}addChild(e){this.children.length===0&&this.attach(),this.children.push(e)}removeChild(e){const n=this.children.indexOf(e);this.children.splice(n,1),this.children.length===0&&this.detach()}}class Ts extends Pt{constructor(){super(...arguments),this.payload=[],this.attach=()=>this.payload.forEach(e=>e instanceof Pt&&e.addChild(this)),this.detach=()=>this.payload.forEach(e=>e instanceof Pt&&e.removeChild(this))}}class Zu extends Pt{constructor(){super(...arguments),this.payload={},this.attach=()=>Object.values(this.payload).forEach(e=>e instanceof Pt&&e.addChild(this)),this.detach=()=>Object.values(this.payload).forEach(e=>e instanceof Pt&&e.removeChild(this))}getValue(e){e===void 0&&(e=!1);const n={};for(const r in this.payload){const i=this.payload[r];e&&!(i instanceof Pt)||(n[r]=i instanceof Pt?i[e?"getAnimatedValue":"getValue"]():i)}return n}getAnimatedValue(){return this.getValue(!0)}}let ua;function Am(t,e){ua={fn:t,transform:e}}let qu;function Lm(t){qu=t}let Ju=t=>typeof window<"u"?window.requestAnimationFrame(t):-1,po;function xm(t){po=t}let Xu=()=>Date.now(),Om=t=>t.current,_u;function Mm(t){_u=t}class Pm extends Zu{constructor(e,n){super(),this.update=void 0,this.payload=e.style?Ge({},e,{style:_u(e.style)}):e,this.update=n,this.attach()}}const Dm=t=>ve.fun(t)&&!(t.prototype instanceof u.Component),Rm=t=>u.forwardRef((n,r)=>{const i=Cm(),o=u.useRef(!0),s=u.useRef(null),a=u.useRef(null),l=u.useCallback(h=>{const g=s.current,v=()=>{let p=!1;a.current&&(p=ua.fn(a.current,s.current.getAnimatedValue())),(!a.current||p===!1)&&i()};s.current=new Pm(h,v),g&&g.detach()},[]);u.useEffect(()=>()=>{o.current=!1,s.current&&s.current.detach()},[]),u.useImperativeHandle(r,()=>Om(a)),l(n);const c=s.current.getValue();c.scrollTop,c.scrollLeft;const f=_n(c,["scrollTop","scrollLeft"]),d=Dm(t)?void 0:h=>a.current=Sm(h,r);return u.createElement(t,Ge({},f,{ref:d}))});let Fr=!1;const Dn=new Set,$u=()=>{if(!Fr)return!1;let t=Xu();for(let e of Dn){let n=!1;for(let r=0;r<e.configs.length;r++){let i=e.configs[r],o,s;for(let a=0;a<i.animatedValues.length;a++){let l=i.animatedValues[a];if(l.done)continue;let c=i.fromValues[a],f=i.toValues[a],d=l.lastPosition,h=f instanceof Pt,g=Array.isArray(i.initialVelocity)?i.initialVelocity[a]:i.initialVelocity;if(h&&(f=f.getValue()),i.immediate){l.setValue(f),l.done=!0;continue}if(typeof c=="string"||typeof f=="string"){l.setValue(f),l.done=!0;continue}if(i.duration!==void 0)d=c+i.easing((t-l.startTime)/i.duration)*(f-c),o=t>=l.startTime+i.duration;else if(i.decay)d=c+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-l.startTime))),o=Math.abs(l.lastPosition-d)<.1,o&&(f=d);else{s=l.lastTime!==void 0?l.lastTime:t,g=l.lastVelocity!==void 0?l.lastVelocity:i.initialVelocity,t>s+64&&(s=t);let v=Math.floor(t-s);for(let b=0;b<v;++b){let m=-i.tension*(d-f),x=-i.friction*g,C=(m+x)/i.mass;g=g+C*1/1e3,d=d+g*1/1e3}let p=i.clamp&&i.tension!==0?c<f?d>f:d<f:!1,w=Math.abs(g)<=i.precision,S=i.tension!==0?Math.abs(f-d)<=i.precision:!0;o=p||w&&S,l.lastVelocity=g,l.lastTime=t}h&&!i.toValues[a].done&&(o=!1),o?(l.value!==f&&(d=f),l.done=!0):n=!0,l.setValue(d),l.lastPosition=d}e.props.onFrame&&(e.values[i.name]=i.interpolation.getValue())}e.props.onFrame&&e.props.onFrame(e.values),n||(Dn.delete(e),e.stop(!0))}return Dn.size?Ju($u):Fr=!1,Fr},Im=t=>{Dn.has(t)||Dn.add(t),Fr||(Fr=!0,Ju($u))},km=t=>{Dn.has(t)&&Dn.delete(t)};function go(t,e,n){if(typeof t=="function")return t;if(Array.isArray(t))return go({range:t,output:e,extrapolate:n});if(po&&typeof t.output[0]=="string")return po(t);const r=t,i=r.output,o=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(c=>c);return c=>{const f=Bm(c,o);return Tm(c,o[f],o[f+1],i[f],i[f+1],l,s,a,r.map)}}function Tm(t,e,n,r,i,o,s,a,l){let c=l?l(t):t;if(c<e){if(s==="identity")return c;s==="clamp"&&(c=e)}if(c>n){if(a==="identity")return c;a==="clamp"&&(c=n)}return r===i?r:e===n?t<=e?r:i:(e===-1/0?c=-c:n===1/0?c=c-e:c=(c-e)/(n-e),c=o(c),r===-1/0?c=-c:i===1/0?c=c+r:c=c*(i-r)+r,c)}function Bm(t,e){for(var n=1;n<e.length-1&&!(e[n]>=t);++n);return n-1}class or extends Ts{constructor(e,n,r,i){super(),this.calc=void 0,this.payload=e instanceof Ts&&!(e instanceof or)?e.getPayload():Array.isArray(e)?e:[e],this.calc=go(n,r,i)}getValue(){return this.calc(...this.payload.map(e=>e.getValue()))}updateConfig(e,n,r){this.calc=go(e,n,r)}interpolate(e,n,r){return new or(this,e,n,r)}}const Vn=(t,e,n)=>t&&new or(t,e,n),jm={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}};function ef(t,e){"update"in t?e.add(t):t.getChildren().forEach(n=>ef(n,e))}class Bs extends Pt{constructor(e){var n;super(),n=this,this.animatedStyles=new Set,this.value=void 0,this.startPosition=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.startTime=void 0,this.lastTime=void 0,this.done=!1,this.setValue=function(r,i){i===void 0&&(i=!0),n.value=r,i&&n.flush()},this.value=e,this.startPosition=e,this.lastPosition=e}flush(){this.animatedStyles.size===0&&ef(this,this.animatedStyles),this.animatedStyles.forEach(e=>e.update())}clearStyles(){this.animatedStyles.clear()}getValue(){return this.value}interpolate(e,n,r){return new or(this,e,n,r)}}class Nm extends Ts{constructor(e){super(),this.payload=e.map(n=>new Bs(n))}setValue(e,n){n===void 0&&(n=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((r,i)=>this.payload[i].setValue(r,n)):this.payload.forEach(r=>r.setValue(e,n))}getValue(){return this.payload.map(e=>e.getValue())}interpolate(e,n){return new or(this,e,n)}}let Um=0,Hm=class{constructor(){this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=()=>this.interpolations,this.id=Um++}update(e){if(!e)return this;const n=_o(e),r=n.delay,i=r===void 0?0:r,o=n.to,s=_n(n,["delay","to"]);if(ve.arr(o)||ve.fun(o))this.queue.push(Ge({},s,{delay:i,to:o}));else if(o){let a={};Object.entries(o).forEach(l=>{let c=l[0],f=l[1];const d=Ge({to:{[c]:f},delay:Jn(i,c)},s),h=a[d.delay]&&a[d.delay].to;a[d.delay]=Ge({},a[d.delay],d,{to:Ge({},h,d.to)})}),this.queue=Object.values(a)}return this.queue=this.queue.sort((a,l)=>a.delay-l.delay),this.diff(s),this}start(e){if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach(i=>{let o=i.from,s=o===void 0?{}:o,a=i.to,l=a===void 0?{}:a;ve.obj(s)&&(this.merged=Ge({},s,this.merged)),ve.obj(l)&&(this.merged=Ge({},this.merged,l))});const n=this.local=++this.guid,r=this.localQueue=this.queue;this.queue=[],r.forEach((i,o)=>{let s=i.delay,a=_n(i,["delay"]);const l=f=>{o===r.length-1&&n===this.guid&&f&&(this.idle=!0,this.props.onRest&&this.props.onRest(this.merged)),e&&e()};let c=ve.arr(a.to)||ve.fun(a.to);s?setTimeout(()=>{n===this.guid&&(c?this.runAsync(a,l):this.diff(a).start(l))},s):c?this.runAsync(a,l):this.diff(a).start(l)})}else ve.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),Im(this);return this}stop(e){return this.listeners.forEach(n=>n(e)),this.listeners=[],this}pause(e){return this.stop(!0),e&&km(this),this}runAsync(e,n){var r=this;e.delay;let i=_n(e,["delay"]);const o=this.local;let s=Promise.resolve(void 0);if(ve.arr(i.to))for(let a=0;a<i.to.length;a++){const l=a,c=Ge({},i,_o(i.to[l]));ve.arr(c.config)&&(c.config=c.config[l]),s=s.then(()=>{if(o===this.guid)return new Promise(f=>this.diff(c).start(f))})}else if(ve.fun(i.to)){let a=0,l;s=s.then(()=>i.to(c=>{const f=Ge({},i,_o(c));if(ve.arr(f.config)&&(f.config=f.config[a]),a++,o===this.guid)return l=new Promise(d=>this.diff(f).start(d))},function(c){return c===void 0&&(c=!0),r.stop(c)}).then(()=>l))}s.then(n)}diff(e){this.props=Ge({},this.props,e);let n=this.props,r=n.from,i=r===void 0?{}:r,o=n.to,s=o===void 0?{}:o,a=n.config,l=a===void 0?{}:a,c=n.reverse,f=n.attach,d=n.reset,h=n.immediate;if(c){var g=[s,i];i=g[0],s=g[1]}this.merged=Ge({},i,this.merged,s),this.hasChanged=!1;let v=f&&f(this);if(this.animations=Object.entries(this.merged).reduce((p,w)=>{let S=w[0],b=w[1],m=p[S]||{};const x=ve.num(b),C=ve.str(b)&&!b.startsWith("#")&&!/\d/.test(b)&&!qu[b],y=ve.arr(b),E=!x&&!y&&!C;let L=ve.und(i[S])?b:i[S],I=x||y||C?b:1,M=Jn(l,S);v&&(I=v.animations[S].parent);let O=m.parent,D=m.interpolation,B=Ei(v?I.getPayload():I),N,V=b;E&&(V=po({range:[0,1],output:[b,b]})(1));let Z=D&&D.getValue();const K=!ve.und(O)&&m.animatedValues.some(H=>!H.done),T=!ve.equ(V,Z),R=!ve.equ(V,m.previous),k=!ve.equ(M,m.config);if(d||R&&T||k){if(x||C)O=D=m.parent||new Bs(L);else if(y)O=D=m.parent||new Nm(L);else if(E){let H=m.interpolation&&m.interpolation.calc(m.parent.value);H=H!==void 0&&!d?H:L,m.parent?(O=m.parent,O.setValue(0,!1)):O=new Bs(0);const z={output:[H,b]};m.interpolation?(D=m.interpolation,m.interpolation.updateConfig(z)):D=O.interpolate(z)}return B=Ei(v?I.getPayload():I),N=Ei(O.getPayload()),d&&!E&&O.setValue(L,!1),this.hasChanged=!0,N.forEach(H=>{H.startPosition=H.value,H.lastPosition=H.value,H.lastVelocity=K?H.lastVelocity:void 0,H.lastTime=K?H.lastTime:void 0,H.startTime=Xu(),H.done=!1,H.animatedStyles.clear()}),Jn(h,S)&&O.setValue(E?I:b,!1),Ge({},p,{[S]:Ge({},m,{name:S,parent:O,interpolation:D,animatedValues:N,toValues:B,previous:V,config:M,fromValues:Ei(O.getValue()),immediate:Jn(h,S),initialVelocity:Sn(M.velocity,0),clamp:Sn(M.clamp,!1),precision:Sn(M.precision,.01),tension:Sn(M.tension,170),friction:Sn(M.friction,26),mass:Sn(M.mass,1),duration:M.duration,easing:Sn(M.easing,H=>H),decay:M.decay})})}else return T?p:(E&&(O.setValue(1,!1),D.updateConfig({output:[V,V]})),O.done=!0,this.hasChanged=!0,Ge({},p,{[S]:Ge({},p[S],{previous:V})}))},this.animations),this.hasChanged){this.configs=Object.values(this.animations),this.values={},this.interpolations={};for(let p in this.animations)this.interpolations[p]=this.animations[p].interpolation,this.values[p]=this.animations[p].interpolation.getValue()}return this}destroy(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0}};const Fm=(t,e)=>{const n=u.useRef(!1),r=u.useRef(),i=ve.fun(e),o=u.useMemo(()=>{r.current&&(r.current.map(d=>d.destroy()),r.current=void 0);let f;return[new Array(t).fill().map((d,h)=>{const g=new Hm,v=i?Jn(e,h,g):e[h];return h===0&&(f=v.ref),g.update(v),f||g.start(),g}),f]},[t]),s=o[0],a=o[1];r.current=s,u.useImperativeHandle(a,()=>({start:()=>Promise.all(r.current.map(f=>new Promise(d=>f.start(d)))),stop:f=>r.current.forEach(d=>d.stop(f)),get controllers(){return r.current}}));const l=u.useMemo(()=>f=>r.current.map((d,h)=>{d.update(i?Jn(f,h,d):f[h]),a||d.start()}),[t]);u.useEffect(()=>{n.current?i||l(e):a||r.current.forEach(f=>f.start())}),u.useEffect(()=>(n.current=!0,()=>r.current.forEach(f=>f.destroy())),[]);const c=r.current.map(f=>f.getValues());return i?[c,l,f=>r.current.forEach(d=>d.pause(f))]:c},zm=t=>{const e=ve.fun(t),n=Fm(1,e?t:[t]),r=n[0],i=n[1],o=n[2];return e?[r[0],i,o]:r};class Qm extends Zu{constructor(e){e===void 0&&(e={}),super(),e.transform&&!(e.transform instanceof Pt)&&(e=ua.transform(e)),this.payload=e}}const vo={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Dt="[-+]?\\d*\\.?\\d+",mo=Dt+"%";function Do(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const Vm=new RegExp("rgb"+Do(Dt,Dt,Dt)),Wm=new RegExp("rgba"+Do(Dt,Dt,Dt,Dt)),Gm=new RegExp("hsl"+Do(Dt,mo,mo)),Ym=new RegExp("hsla"+Do(Dt,mo,mo,Dt)),Km=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Zm=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,qm=/^#([0-9a-fA-F]{6})$/,Jm=/^#([0-9a-fA-F]{8})$/;function Xm(t){let e;return typeof t=="number"?t>>>0===t&&t>=0&&t<=4294967295?t:null:(e=qm.exec(t))?parseInt(e[1]+"ff",16)>>>0:vo.hasOwnProperty(t)?vo[t]:(e=Vm.exec(t))?(Wn(e[1])<<24|Wn(e[2])<<16|Wn(e[3])<<8|255)>>>0:(e=Wm.exec(t))?(Wn(e[1])<<24|Wn(e[2])<<16|Wn(e[3])<<8|zl(e[4]))>>>0:(e=Km.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=Jm.exec(t))?parseInt(e[1],16)>>>0:(e=Zm.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=Gm.exec(t))?(Hl(Fl(e[1]),Si(e[2]),Si(e[3]))|255)>>>0:(e=Ym.exec(t))?(Hl(Fl(e[1]),Si(e[2]),Si(e[3]))|zl(e[4]))>>>0:null}function $o(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Hl(t,e,n){const r=n<.5?n*(1+e):n+e-n*e,i=2*n-r,o=$o(i,r,t+1/3),s=$o(i,r,t),a=$o(i,r,t-1/3);return Math.round(o*255)<<24|Math.round(s*255)<<16|Math.round(a*255)<<8}function Wn(t){const e=parseInt(t,10);return e<0?0:e>255?255:e}function Fl(t){return(parseFloat(t)%360+360)%360/360}function zl(t){const e=parseFloat(t);return e<0?0:e>1?255:Math.round(e*255)}function Si(t){const e=parseFloat(t);return e<0?0:e>100?1:e/100}function Ql(t){let e=Xm(t);if(e===null)return t;e=e||0;let n=(e&4278190080)>>>24,r=(e&16711680)>>>16,i=(e&65280)>>>8,o=(e&255)/255;return`rgba(${n}, ${r}, ${i}, ${o})`}const Ai=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,_m=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,$m=new RegExp(`(${Object.keys(vo).join("|")})`,"g"),ey=t=>{const e=t.output.map(i=>i.replace(_m,Ql)).map(i=>i.replace($m,Ql)),n=e[0].match(Ai).map(()=>[]);e.forEach(i=>{i.match(Ai).forEach((o,s)=>n[s].push(+o))});const r=e[0].match(Ai).map((i,o)=>go(Ge({},t,{output:n[o]})));return i=>{let o=0;return e[0].replace(Ai,()=>r[o++](i)).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(s,a,l,c,f)=>`rgba(${Math.round(a)}, ${Math.round(l)}, ${Math.round(c)}, ${f})`)}};let zr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const ty=(t,e)=>t+e.charAt(0).toUpperCase()+e.substring(1),ny=["Webkit","Ms","Moz","O"];zr=Object.keys(zr).reduce((t,e)=>(ny.forEach(n=>t[ty(n,e)]=t[e]),t),zr);function ry(t,e,n){return e==null||typeof e=="boolean"||e===""?"":!n&&typeof e=="number"&&e!==0&&!(zr.hasOwnProperty(t)&&zr[t])?e+"px":(""+e).trim()}const Vl={};Mm(t=>new Qm(t));xm(ey);Lm(vo);Am((t,e)=>{if(t.nodeType&&t.setAttribute!==void 0){const i=e.style,o=e.children,s=e.scrollTop,a=e.scrollLeft,l=_n(e,["style","children","scrollTop","scrollLeft"]),c=t.nodeName==="filter"||t.parentNode&&t.parentNode.nodeName==="filter";s!==void 0&&(t.scrollTop=s),a!==void 0&&(t.scrollLeft=a),o!==void 0&&(t.textContent=o);for(let f in i)if(i.hasOwnProperty(f)){var n=f.indexOf("--")===0,r=ry(f,i[f],n);f==="float"&&(f="cssFloat"),n?t.style.setProperty(f,r):t.style[f]=r}for(let f in l){const d=c?f:Vl[f]||(Vl[f]=f.replace(/([A-Z])/g,h=>"-"+h.toLowerCase()));typeof t.getAttribute(d)<"u"&&t.setAttribute(d,l[f])}return}else return!1},t=>t);const iy=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],oy=wm(Rm,!1),sy=oy(iy);function Wl(t,e){return t.map(function(n,r){return n+e[r]})}function tf(t,e){return t.map(function(n,r){return n-e[r]})}function js(t){return Math.hypot.apply(Math,t)}function ay(t,e,n){var r=js(e),i=r===0?0:1/r,o=n===0?0:1/n,s=o*r,a=e.map(function(f){return o*f}),l=e.map(function(f){return i*f}),c=js(t);return{velocities:a,velocity:s,distance:c,direction:l}}function Ns(t){return Math.sign?Math.sign(t):+(t>0)-+(t<0)||+t}function ly(t,e,n){return Math.max(e,Math.min(t,n))}function cy(t,e){return Math.pow(t,e*5)}function Gl(t,e,n){return e===0||Math.abs(e)===1/0?cy(t,n):t*e*n/(e+n*t)}function Qr(t,e,n,r){return r===void 0&&(r=.15),r===0?ly(t,e,n):t<e?-Gl(e-t,n-e,r)+e:t>n?+Gl(t-n,n-e,r)+n:t}function Yl(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function uy(t,e,n){return e&&Yl(t.prototype,e),n&&Yl(t,n),t}function ut(){return ut=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ut.apply(this,arguments)}function nf(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function fy(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o<r.length;o++)i=r[o],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}function Li(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dy(t,e){if(t){if(typeof t=="string")return Kl(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Kl(t,e)}}function Kl(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Ro(t,e){var n;if(typeof Symbol>"u"||t[Symbol.iterator]==null){if(Array.isArray(t)||(n=dy(t))||e&&t&&typeof t.length=="number"){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
90
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return n=t[Symbol.iterator](),n.next.bind(n)}function rf(){}function of(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.length===0?rf:e.length===1?e[0]:function(){for(var r,i=Ro(e),o;!(o=i()).done;){var s=o.value;r=s.apply(this,arguments)||r}return r}}function un(t,e){if(t===void 0){if(e===void 0)throw new Error("Must define fallback value if undefined is expected");t=e}return Array.isArray(t)?t:[t,t]}function xi(t){if(typeof t=="function"){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t.apply(void 0,n)}else return t}function fa(t,e){t===void 0&&(t={});for(var n={},r=0,i=Object.entries(e);r<i.length;r++){var o=i[r],s=o[0],a=o[1];switch(typeof a){case"function":n[s]=a.call(n,t[s],s,t);break;case"object":n[s]=fa(t[s],a);break;case"boolean":a&&(n[s]=t[s]);break}}return n}var hy=180,py=.15,gy=.5,vy=60,my={threshold:function(e){return e===void 0&&(e=0),un(e)},rubberband:function(e){switch(e===void 0&&(e=0),e){case!0:return un(py);case!1:return un(0);default:return un(e)}},enabled:function(e){return e===void 0&&(e=!0),e},triggerAllEvents:function(e){return e===void 0&&(e=!1),e},initial:function(e){return e===void 0&&(e=0),typeof e=="function"?e:un(e)}},sf=ut({},my,{axis:!0,lockDirection:function(e){return e===void 0&&(e=!1),e},bounds:function(e){if(e===void 0&&(e={}),typeof e=="function")return function(d){return sf.bounds(e(d))};var n=e,r=n.left,i=r===void 0?-1/0:r,o=n.right,s=o===void 0?1/0:o,a=n.top,l=a===void 0?-1/0:a,c=n.bottom,f=c===void 0?1/0:c;return[[i,s],[l,f]]}}),yy=typeof window<"u"&&window.document&&window.document.createElement,by={enabled:function(e){return e===void 0&&(e=!0),e},domTarget:!0,window:function(t){function e(n){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(t){return t===void 0&&(t=yy?window:void 0),t}),eventOptions:function(e){var n=e===void 0?{}:e,r=n.passive,i=r===void 0?!0:r,o=n.capture,s=o===void 0?!1:o;return{passive:i,capture:s}}},wy=ut({},sf,{threshold:function(e,n,r){var i=r.filterTaps,o=i===void 0?!1:i,s=r.lockDirection,a=s===void 0?!1:s,l=r.axis,c=l===void 0?void 0:l,f=un(e,o?3:a||c?1:0);return this.filterTaps=o||f[0]+f[1]>0,f},swipeVelocity:function(e){return e===void 0&&(e=gy),un(e)},swipeDistance:function(e){return e===void 0&&(e=vy),un(e)},delay:function(e){switch(e===void 0&&(e=0),e){case!0:return hy;case!1:return 0;default:return e}}});function Cy(t){return t===void 0&&(t={}),fa(t,by)}function Ey(t){return t===void 0&&(t={}),fa(t,wy)}function Sy(t){var e=t.domTarget,n=t.eventOptions,r=t.window,i=t.enabled,o=fy(t,["domTarget","eventOptions","window","enabled"]),s=Cy({domTarget:e,eventOptions:n,window:r,enabled:i});return s.drag=Ey(o),s}function Ar(t){return ut({_active:!1,_blocked:!1,_intentional:[!1,!1],_movement:[0,0],_initial:[0,0],_bounds:[[-1/0,1/0],[-1/0,1/0]],_lastEventType:void 0,event:void 0,intentional:!1,values:[0,0],velocities:[0,0],delta:[0,0],movement:[0,0],offset:[0,0],lastOffset:[0,0],direction:[0,0],initial:[0,0],previous:[0,0],first:!1,last:!1,active:!1,timeStamp:0,startTime:0,elapsedTime:0,cancel:rf,canceled:!1,memo:void 0,args:void 0},t)}function af(){var t={hovering:!1,scrolling:!1,wheeling:!1,dragging:!1,moving:!1,pinching:!1,touches:0,buttons:0,down:!1,shiftKey:!1,altKey:!1,metaKey:!1,ctrlKey:!1},e=Ar({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0,_isTap:!0,_delayedEvent:!1,_pointerId:void 0,tap:!1,swipe:[0,0]}),n=Ar({da:[0,0],vdva:[0,0],origin:void 0,turns:0}),r=Ar({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),i=Ar({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),o=Ar({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0});return{shared:t,drag:e,pinch:n,wheel:r,move:i,scroll:o}}var xn=new Map,Ay=function(){function t(n,r){var i=this;r===void 0&&(r=[]),this.controller=n,this.args=r,this.debounced=!0,this.setTimeout=function(o,s){var a;s===void 0&&(s=140),clearTimeout(i.controller.timeouts[i.stateKey]);for(var l=arguments.length,c=new Array(l>2?l-2:0),f=2;f<l;f++)c[f-2]=arguments[f];i.controller.timeouts[i.stateKey]=(a=window).setTimeout.apply(a,[o,s].concat(c))},this.clearTimeout=function(){clearTimeout(i.controller.timeouts[i.stateKey])},this.fireGestureHandler=function(o){if(o===void 0&&(o=!1),i.state._blocked)return i.debounced||(i.state._active=!1,i.clean()),null;if(!o&&!i.state.intentional&&!i.config.triggerAllEvents)return null;if(i.state.intentional){var s=i.state.active,a=i.state._active;i.state.active=a,i.state.first=a&&!s,i.state.last=s&&!a,i.controller.state.shared[i.ingKey]=a}var l=ut({},i.controller.state.shared,i.state,i.mapStateValues(i.state)),c=i.handler(l);return i.state.memo=c!==void 0?c:i.state.memo,i.state._active||i.clean(),l}}var e=t.prototype;return e.updateSharedState=function(r){Object.assign(this.controller.state.shared,r)},e.updateGestureState=function(r){Object.assign(this.state,r)},e.checkIntentionality=function(r,i){return{_intentional:r,_blocked:!1}},e.getMovement=function(r){var i=this.config,o=i.initial,s=i.bounds,a=i.rubberband,l=i.threshold,c=this.state,f=c._bounds,d=c._initial,h=c._active,g=c._intentional,v=c.lastOffset,p=c.movement,w=this.getInternalMovement(r,this.state),S=g[0]===!1?Zl(w[0],l[0]):g[0],b=g[1]===!1?Zl(w[1],l[1]):g[1],m=this.checkIntentionality([S,b],w);if(m._blocked)return ut({},m,{_movement:w,delta:[0,0]});var x=m._intentional,C=w,y,E;if(x[0]!==!1&&g[0]===!1&&(E=xi(o,this.state),y=xi(s,this.state),d[0]=E[0],f[0]=y[0]),x[1]!==!1&&g[1]===!1){var L,I;E=(L=E)!=null?L:xi(o,this.state),y=(I=y)!=null?I:xi(s,this.state),d[1]=E[1],f[1]=y[1]}var M=[x[0]!==!1?w[0]-x[0]:d[0],x[1]!==!1?w[1]-x[1]:d[1]],O=Wl(M,v),D=h?a:[0,0];return M=ql(f,Wl(M,d),D),ut({},m,{intentional:x[0]!==!1||x[1]!==!1,_initial:d,_movement:C,movement:M,values:r,offset:ql(f,O,D),delta:tf(M,p)})},e.clean=function(){this.clearTimeout()},uy(t,[{key:"config",get:function(){return this.controller.config[this.stateKey]}},{key:"enabled",get:function(){return this.controller.config.enabled&&this.config.enabled}},{key:"state",get:function(){return this.controller.state[this.stateKey]}},{key:"handler",get:function(){return this.controller.handlers[this.stateKey]}}]),t}();function Zl(t,e){return Math.abs(t)>=e?Ns(t)*e:!1}function ql(t,e,n){var r=e[0],i=e[1],o=n[0],s=n[1],a=t[0],l=a[0],c=a[1],f=t[1],d=f[0],h=f[1];return[Qr(r,l,c,o),Qr(i,d,h,s)]}function es(t,e,n){var r=t.state,i=t.args,o=e.timeStamp,s=e.type,a=r.values,l=n?0:o-r.startTime;return{_lastEventType:s,event:e,timeStamp:o,elapsedTime:l,args:i,previous:a}}function Ly(t,e,n){var r=t.state.offset,i=n.timeStamp;return ut({},af()[t.stateKey],{_active:!0,values:e,initial:e,offset:r,lastOffset:r,startTime:i})}function xy(t,e){return function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return t.call.apply(t,[this,ut({},e,{event:n})].concat(i))}}var Oy=function(e){var n=this;this.classes=e,this.bind=function(){for(var r={},i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];for(var a=Ro(n.classes),l;!(l=a()).done;){var c=l.value;new c(n,o).addBindings(r)}for(var f=0,d=Object.entries(n.nativeRefs);f<d.length;f++){var h=d[f],g=h[0],v=h[1];Us(r,g,xy(v,ut({},n.state.shared,{args:o})))}return n.config.domTarget?Ry(n,r):Iy(n,r)},this.effect=function(){return n.config.domTarget&&n.bind(),n.clean},this.clean=function(){var r=cf(n.config),i=n.config.eventOptions;r&&si(r,lf(n.domListeners),i),Object.values(n.timeouts).forEach(clearTimeout),My(n)},this.state=af(),this.timeouts={},this.domListeners=[],this.windowListeners={}};function My(t){var e=t.config,n=e.window,r=e.eventOptions,i=t.windowListeners;if(n){for(var o in i){var s=i[o];si(n,s,r)}t.windowListeners={}}}function Py(t,e){var n=t.config,r=t.windowListeners;n.window&&(si(n.window,r[e],n.eventOptions),delete r[e])}function Dy(t,e,n){var r=t.config,i=t.windowListeners;n===void 0&&(n=[]),r.window&&(si(r.window,i[e],r.eventOptions),uf(r.window,i[e]=n,r.eventOptions))}function Ry(t,e){var n=t.config,r=t.domListeners,i=cf(n);if(!i)throw new Error("domTarget must be defined");var o=n.eventOptions;si(i,lf(r),o);for(var s=0,a=Object.entries(e);s<a.length;s++){var l=a[s],c=l[0],f=l[1],d=c.slice(2).toLowerCase();r.push([d,of.apply(void 0,f)])}uf(i,r,o)}function Iy(t,e){for(var n=t.config,r={},i=n.eventOptions.capture?"Capture":"",o=0,s=Object.entries(e);o<s.length;o++){var a=s[o],l=a[0],c=a[1],f=Array.isArray(c)?c:[c],d=l+i;r[d]=of.apply(void 0,f)}return r}function lf(t){return t===void 0&&(t=[]),t.splice(0,t.length)}function cf(t){var e=t.domTarget;return e&&"current"in e?e.current:e}function Us(t,e,n){t[e]||(t[e]=[]),t[e].push(n)}function uf(t,e,n){e===void 0&&(e=[]),n===void 0&&(n={});for(var r=Ro(e),i;!(i=r()).done;){var o=i.value,s=o[0],a=o[1];t.addEventListener(s,a,n)}}function si(t,e,n){e===void 0&&(e=[]),n===void 0&&(n={});for(var r=Ro(e),i;!(i=r()).done;){var o=i.value,s=o[0],a=o[1];t.removeEventListener(s,a,n)}}function ky(t,e,n){n===void 0&&(n={});var r=By(t),i=u.useMemo(function(){return new Oy(r)},[]);return i.config=e,i.handlers=t,i.nativeRefs=n,u.useEffect(i.effect,[]),i.config.domTarget?Ty:i.bind}function Ty(){}function By(t){var e=new Set;return t.drag&&e.add(xn.get("drag")),t.wheel&&e.add(xn.get("wheel")),t.scroll&&e.add(xn.get("scroll")),t.move&&e.add(xn.get("move")),t.pinch&&e.add(xn.get("pinch")),t.hover&&e.add(xn.get("hover")),e}var jy=function(t){nf(e,t);function e(){return t.apply(this,arguments)||this}var n=e.prototype;return n.getInternalMovement=function(i,o){return tf(i,o.initial)},n.checkIntentionality=function(i,o){if(i[0]===!1&&i[1]===!1)return{_intentional:i,axis:this.state.axis};var s=o.map(Math.abs),a=s[0],l=s[1],c=this.state.axis||(a>l?"x":a<l?"y":void 0);return!this.config.axis&&!this.config.lockDirection?{_intentional:i,_blocked:!1,axis:c}:c?this.config.axis&&c!==this.config.axis?{_intentional:i,_blocked:!0,axis:c}:(i[c==="x"?1:0]=!1,{_intentional:i,_blocked:!1,axis:c}):{_intentional:[!1,!1],_blocked:!1,axis:c}},n.getKinematics=function(i,o){var s=this.getMovement(i);if(!s._blocked){var a=o.timeStamp-this.state.timeStamp;Object.assign(s,ay(s.movement,s.delta,a))}return s},n.mapStateValues=function(i){return{xy:i.values,vxvy:i.velocities}},e}(Ay);function ff(t){if("touches"in t){var e=t.targetTouches,n=t.changedTouches;return e.length>0?e:n}return null}function Jl(t){var e="buttons"in t?t.buttons:0,n=ff(t),r=n&&n.length||0,i=r>0||e>0,o=t.shiftKey,s=t.altKey,a=t.metaKey,l=t.ctrlKey;return{touches:r,down:i,buttons:e,shiftKey:o,altKey:s,metaKey:a,ctrlKey:l}}function Xl(t){var e=ff(t),n=e?e[0]:t,r=n.clientX,i=n.clientY;return[r,i]}var Ny=3,Uy=220,Hy=function(t){nf(e,t);function e(){var r;return r=t.apply(this,arguments)||this,r.ingKey="dragging",r.stateKey="drag",r.onDragStart=function(i){!r.enabled||r.state._active||(Dy(r.controller,r.stateKey,[["pointermove",r.onDragChange],["pointerup",r.onDragEnd],["pointercancel",r.onDragEnd]]),r.updateGestureState({_pointerId:i.pointerId}),r.config.delay>0?(r.state._delayedEvent=!0,"persist"in i&&typeof i.persist=="function"&&i.persist(),r.setTimeout(r.startDrag.bind(Li(r)),r.config.delay,i)):r.startDrag(i))},r.onDragChange=function(i){if(!r.state.canceled&&i.pointerId===r.state._pointerId){if(!r.state._active){r.state._delayedEvent&&(r.clearTimeout(),r.startDrag(i));return}var o=Jl(i);if(!o.down){r.onDragEnd(i);return}r.updateSharedState(o);var s=Xl(i),a=r.getKinematics(s,i),l=es(Li(r),i),c=r.state._isTap,f=js(a._movement);c&&f>=Ny&&(c=!1),r.updateGestureState(ut({},l,a,{_isTap:c})),r.fireGestureHandler()}},r.onDragEnd=function(i){if(i.pointerId===r.state._pointerId){r.state._active=!1,r.updateSharedState({down:!1,buttons:0,touches:0});var o=r.state._isTap,s=r.state.velocities,a=s[0],l=s[1],c=r.state.movement,f=c[0],d=c[1],h=r.state._intentional,g=h[0],v=h[1],p=r.config.swipeVelocity,w=p[0],S=p[1],b=r.config.swipeDistance,m=b[0],x=b[1],C=ut({},es(Li(r),i),r.getMovement(r.state.values)),y=[0,0];C.elapsedTime<Uy&&(g!==!1&&Math.abs(a)>w&&Math.abs(f)>m&&(y[0]=Ns(a)),v!==!1&&Math.abs(l)>S&&Math.abs(d)>x&&(y[1]=Ns(l))),r.updateGestureState(ut({},C,{tap:o,swipe:y})),r.fireGestureHandler(o===!0)}},r.clean=function(){t.prototype.clean.call(Li(r)),r.state._delayedEvent=!1,Py(r.controller,r.stateKey)},r.onCancel=function(){r.state.canceled||(r.updateGestureState({canceled:!0}),r.state._active=!1,r.updateSharedState({down:!1,buttons:0,touches:0}),requestAnimationFrame(function(){return r.fireGestureHandler()}))},r.onClick=function(i){r.state._isTap||i.stopPropagation()},r}var n=e.prototype;return n.startDrag=function(i){var o=Xl(i);this.updateSharedState(Jl(i)),this.updateGestureState(ut({},Ly(this,o,i),es(this,i,!0),{_pointerId:i.pointerId,cancel:this.onCancel})),this.updateGestureState(this.getMovement(o)),this.fireGestureHandler()},n.addBindings=function(i){if(Us(i,"onPointerDown",this.onDragStart),this.config.filterTaps){var o=this.controller.config.eventOptions.capture?"onClick":"onClickCapture";Us(i,o,this.onClick)}},e}(jy);function Fy(t,e){var n,r=[],i,o=!1;function s(){for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return o&&n===this&&e(l,r)||(i=t.apply(this,l),o=!0,n=this,r=l),i}return s}function Ki(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var n,r,i;if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!Ki(t[r],e[r]))return!1;return!0}var o;if(typeof Map=="function"&&t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o=t.entries();!(r=o.next()).done;)if(!e.has(r.value[0]))return!1;for(o=t.entries();!(r=o.next()).done;)if(!Ki(r.value[1],e.get(r.value[0])))return!1;return!0}if(typeof Set=="function"&&t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o=t.entries();!(r=o.next()).done;)if(!e.has(r.value[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[r]))return!1;if(typeof Element<"u"&&t instanceof Element)return!1;for(r=n;r--!==0;)if(!(i[r]==="_owner"&&t.$$typeof)&&!Ki(t[i[r]],e[i[r]]))return!1;return!0}return t!==t&&e!==e}function zy(t,e){try{return Ki(t,e)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}function Qy(t,e){e===void 0&&(e={}),xn.set("drag",Hy);var n=u.useRef();return n.current||(n.current=Fy(Sy,zy)),ky({drag:t},n.current(e))}/*!
91
+ * tabbable 5.3.3
92
+ * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
93
+ */var df=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],yo=df.join(","),hf=typeof Element>"u",kn=hf?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Hs=!hf&&Element.prototype.getRootNode?function(t){return t.getRootNode()}:function(t){return t.ownerDocument},pf=function(e,n,r){var i=Array.prototype.slice.apply(e.querySelectorAll(yo));return n&&kn.call(e,yo)&&i.unshift(e),i=i.filter(r),i},gf=function t(e,n,r){for(var i=[],o=Array.from(e);o.length;){var s=o.shift();if(s.tagName==="SLOT"){var a=s.assignedElements(),l=a.length?a:s.children,c=t(l,!0,r);r.flatten?i.push.apply(i,c):i.push({scope:s,candidates:c})}else{var f=kn.call(s,yo);f&&r.filter(s)&&(n||!e.includes(s))&&i.push(s);var d=s.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(s),h=!r.shadowRootFilter||r.shadowRootFilter(s);if(d&&h){var g=t(d===!0?s.children:d.children,!0,r);r.flatten?i.push.apply(i,g):i.push({scope:s,candidates:g})}else o.unshift.apply(o,s.children)}}return i},vf=function(e,n){return e.tabIndex<0&&(n||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},Vy=function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex},mf=function(e){return e.tagName==="INPUT"},Wy=function(e){return mf(e)&&e.type==="hidden"},Gy=function(e){var n=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return n},Yy=function(e,n){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===n)return e[r]},Ky=function(e){if(!e.name)return!0;var n=e.form||Hs(e),r=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=r(window.CSS.escape(e.name));else try{i=r(e.name)}catch(s){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",s.message),!1}var o=Yy(i,e.form);return!o||o===e},Zy=function(e){return mf(e)&&e.type==="radio"},qy=function(e){return Zy(e)&&!Ky(e)},_l=function(e){var n=e.getBoundingClientRect(),r=n.width,i=n.height;return r===0&&i===0},Jy=function(e,n){var r=n.displayCheck,i=n.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var o=kn.call(e,"details>summary:first-of-type"),s=o?e.parentElement:e;if(kn.call(s,"details:not([open]) *"))return!0;var a=Hs(e).host,l=(a==null?void 0:a.ownerDocument.contains(a))||e.ownerDocument.contains(e);if(!r||r==="full"){if(typeof i=="function"){for(var c=e;e;){var f=e.parentElement,d=Hs(e);if(f&&!f.shadowRoot&&i(f)===!0)return _l(e);e.assignedSlot?e=e.assignedSlot:!f&&d!==e.ownerDocument?e=d.host:e=f}e=c}if(l)return!e.getClientRects().length}else if(r==="non-zero-area")return _l(e);return!1},Xy=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var n=e.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var i=n.children.item(r);if(i.tagName==="LEGEND")return kn.call(n,"fieldset[disabled] *")?!0:!i.contains(e)}return!0}n=n.parentElement}return!1},bo=function(e,n){return!(n.disabled||Wy(n)||Jy(n,e)||Gy(n)||Xy(n))},Fs=function(e,n){return!(qy(n)||vf(n)<0||!bo(e,n))},_y=function(e){var n=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},$y=function t(e){var n=[],r=[];return e.forEach(function(i,o){var s=!!i.scope,a=s?i.scope:i,l=vf(a,s),c=s?t(i.candidates):a;l===0?s?n.push.apply(n,c):n.push(a):r.push({documentOrder:o,tabIndex:l,item:i,isScope:s,content:c})}),r.sort(Vy).reduce(function(i,o){return o.isScope?i.push.apply(i,o.content):i.push(o.content),i},[]).concat(n)},e0=function(e,n){n=n||{};var r;return n.getShadowRoot?r=gf([e],n.includeContainer,{filter:Fs.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:_y}):r=pf(e,n.includeContainer,Fs.bind(null,n)),$y(r)},t0=function(e,n){n=n||{};var r;return n.getShadowRoot?r=gf([e],n.includeContainer,{filter:bo.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=pf(e,n.includeContainer,bo.bind(null,n)),r},Oi=function(e,n){if(n=n||{},!e)throw new Error("No node provided");return kn.call(e,yo)===!1?!1:Fs(n,e)},n0=df.concat("iframe").join(","),ts=function(e,n){if(n=n||{},!e)throw new Error("No node provided");return kn.call(e,n0)===!1?!1:bo(n,e)};/*!
94
+ * focus-trap 6.9.4
95
+ * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
96
+ */function $l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function ec(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?$l(Object(n),!0).forEach(function(r){r0(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$l(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function r0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tc=function(){var t=[];return{activateTrap:function(n){if(t.length>0){var r=t[t.length-1];r!==n&&r.pause()}var i=t.indexOf(n);i===-1||t.splice(i,1),t.push(n)},deactivateTrap:function(n){var r=t.indexOf(n);r!==-1&&t.splice(r,1),t.length>0&&t[t.length-1].unpause()}}}(),i0=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},o0=function(e){return e.key==="Escape"||e.key==="Esc"||e.keyCode===27},s0=function(e){return e.key==="Tab"||e.keyCode===9},nc=function(e){return setTimeout(e,0)},rc=function(e,n){var r=-1;return e.every(function(i,o){return n(i)?(r=o,!1):!0}),r},Lr=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return typeof e=="function"?e.apply(void 0,r):e},Mi=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},a0=function(e,n){var r=(n==null?void 0:n.document)||document,i=ec({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},n),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},s,a=function(y,E,L){return y&&y[E]!==void 0?y[E]:i[L||E]},l=function(y){return o.containerGroups.findIndex(function(E){var L=E.container,I=E.tabbableNodes;return L.contains(y)||I.find(function(M){return M===y})})},c=function(y){var E=i[y];if(typeof E=="function"){for(var L=arguments.length,I=new Array(L>1?L-1:0),M=1;M<L;M++)I[M-1]=arguments[M];E=E.apply(void 0,I)}if(E===!0&&(E=void 0),!E){if(E===void 0||E===!1)return E;throw new Error("`".concat(y,"` was specified but was not a node, or did not return a node"))}var O=E;if(typeof E=="string"&&(O=r.querySelector(E),!O))throw new Error("`".concat(y,"` as selector refers to no known node"));return O},f=function(){var y=c("initialFocus");if(y===!1)return!1;if(y===void 0)if(l(r.activeElement)>=0)y=r.activeElement;else{var E=o.tabbableGroups[0],L=E&&E.firstTabbableNode;y=L||c("fallbackFocus")}if(!y)throw new Error("Your focus-trap needs to have at least one focusable element");return y},d=function(){if(o.containerGroups=o.containers.map(function(y){var E=e0(y,i.tabbableOptions),L=t0(y,i.tabbableOptions);return{container:y,tabbableNodes:E,focusableNodes:L,firstTabbableNode:E.length>0?E[0]:null,lastTabbableNode:E.length>0?E[E.length-1]:null,nextTabbableNode:function(M){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,D=L.findIndex(function(B){return B===M});if(!(D<0))return O?L.slice(D+1).find(function(B){return Oi(B,i.tabbableOptions)}):L.slice(0,D).reverse().find(function(B){return Oi(B,i.tabbableOptions)})}}}),o.tabbableGroups=o.containerGroups.filter(function(y){return y.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},h=function C(y){if(y!==!1&&y!==r.activeElement){if(!y||!y.focus){C(f());return}y.focus({preventScroll:!!i.preventScroll}),o.mostRecentlyFocusedNode=y,i0(y)&&y.select()}},g=function(y){var E=c("setReturnFocus",y);return E||(E===!1?!1:y)},v=function(y){var E=Mi(y);if(!(l(E)>=0)){if(Lr(i.clickOutsideDeactivates,y)){s.deactivate({returnFocus:i.returnFocusOnDeactivate&&!ts(E,i.tabbableOptions)});return}Lr(i.allowOutsideClick,y)||y.preventDefault()}},p=function(y){var E=Mi(y),L=l(E)>=0;L||E instanceof Document?L&&(o.mostRecentlyFocusedNode=E):(y.stopImmediatePropagation(),h(o.mostRecentlyFocusedNode||f()))},w=function(y){var E=Mi(y);d();var L=null;if(o.tabbableGroups.length>0){var I=l(E),M=I>=0?o.containerGroups[I]:void 0;if(I<0)y.shiftKey?L=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:L=o.tabbableGroups[0].firstTabbableNode;else if(y.shiftKey){var O=rc(o.tabbableGroups,function(F){var K=F.firstTabbableNode;return E===K});if(O<0&&(M.container===E||ts(E,i.tabbableOptions)&&!Oi(E,i.tabbableOptions)&&!M.nextTabbableNode(E,!1))&&(O=I),O>=0){var D=O===0?o.tabbableGroups.length-1:O-1,B=o.tabbableGroups[D];L=B.lastTabbableNode}}else{var N=rc(o.tabbableGroups,function(F){var K=F.lastTabbableNode;return E===K});if(N<0&&(M.container===E||ts(E,i.tabbableOptions)&&!Oi(E,i.tabbableOptions)&&!M.nextTabbableNode(E))&&(N=I),N>=0){var V=N===o.tabbableGroups.length-1?0:N+1,Z=o.tabbableGroups[V];L=Z.firstTabbableNode}}}else L=c("fallbackFocus");L&&(y.preventDefault(),h(L))},S=function(y){if(o0(y)&&Lr(i.escapeDeactivates,y)!==!1){y.preventDefault(),s.deactivate();return}if(s0(y)){w(y);return}},b=function(y){var E=Mi(y);l(E)>=0||Lr(i.clickOutsideDeactivates,y)||Lr(i.allowOutsideClick,y)||(y.preventDefault(),y.stopImmediatePropagation())},m=function(){if(o.active)return tc.activateTrap(s),o.delayInitialFocusTimer=i.delayInitialFocus?nc(function(){h(f())}):h(f()),r.addEventListener("focusin",p,!0),r.addEventListener("mousedown",v,{capture:!0,passive:!1}),r.addEventListener("touchstart",v,{capture:!0,passive:!1}),r.addEventListener("click",b,{capture:!0,passive:!1}),r.addEventListener("keydown",S,{capture:!0,passive:!1}),s},x=function(){if(o.active)return r.removeEventListener("focusin",p,!0),r.removeEventListener("mousedown",v,!0),r.removeEventListener("touchstart",v,!0),r.removeEventListener("click",b,!0),r.removeEventListener("keydown",S,!0),s};return s={get active(){return o.active},get paused(){return o.paused},activate:function(y){if(o.active)return this;var E=a(y,"onActivate"),L=a(y,"onPostActivate"),I=a(y,"checkCanFocusTrap");I||d(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=r.activeElement,E&&E();var M=function(){I&&d(),m(),L&&L()};return I?(I(o.containers.concat()).then(M,M),this):(M(),this)},deactivate:function(y){if(!o.active)return this;var E=ec({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},y);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,x(),o.active=!1,o.paused=!1,tc.deactivateTrap(s);var L=a(E,"onDeactivate"),I=a(E,"onPostDeactivate"),M=a(E,"checkCanReturnFocus"),O=a(E,"returnFocus","returnFocusOnDeactivate");L&&L();var D=function(){nc(function(){O&&h(g(o.nodeFocusedBeforeActivation)),I&&I()})};return O&&M?(M(g(o.nodeFocusedBeforeActivation)).then(D,D),this):(D(),this)},pause:function(){return o.paused||!o.active?this:(o.paused=!0,x(),this)},unpause:function(){return!o.paused||!o.active?this:(o.paused=!1,d(),m(),this)},updateContainerElements:function(y){var E=[].concat(y).filter(Boolean);return o.containers=E.map(function(L){return typeof L=="string"?r.querySelector(L):L}),o.active&&d(),this}},s.updateContainerElements(e),s};function l0(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}else return Array.from(t)}var da=!1;if(typeof window<"u"){var ic={get passive(){da=!0}};window.addEventListener("testPassive",null,ic),window.removeEventListener("testPassive",null,ic)}var yf=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),dn=[],wo=!1,bf=-1,Vr=void 0,Wr=void 0,wf=function(e){return dn.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(e))})},Co=function(e){var n=e||window.event;return wf(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},c0=function(e){if(Wr===void 0){var n=!!e&&e.reserveScrollBarGap===!0,r=window.innerWidth-document.documentElement.clientWidth;n&&r>0&&(Wr=document.body.style.paddingRight,document.body.style.paddingRight=r+"px")}Vr===void 0&&(Vr=document.body.style.overflow,document.body.style.overflow="hidden")},u0=function(){Wr!==void 0&&(document.body.style.paddingRight=Wr,Wr=void 0),Vr!==void 0&&(document.body.style.overflow=Vr,Vr=void 0)},f0=function(e){return e?e.scrollHeight-e.scrollTop<=e.clientHeight:!1},d0=function(e,n){var r=e.targetTouches[0].clientY-bf;return wf(e.target)?!1:n&&n.scrollTop===0&&r>0||f0(n)&&r<0?Co(e):(e.stopPropagation(),!0)},h0=function(e,n){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!dn.some(function(i){return i.targetElement===e})){var r={targetElement:e,options:n||{}};dn=[].concat(l0(dn),[r]),yf?(e.ontouchstart=function(i){i.targetTouches.length===1&&(bf=i.targetTouches[0].clientY)},e.ontouchmove=function(i){i.targetTouches.length===1&&d0(i,e)},wo||(document.addEventListener("touchmove",Co,da?{passive:!1}:void 0),wo=!0)):c0(n)}},p0=function(e){if(!e){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}dn=dn.filter(function(n){return n.targetElement!==e}),yf?(e.ontouchstart=null,e.ontouchmove=null,wo&&dn.length===0&&(document.removeEventListener("touchmove",Co,da?{passive:!1}:void 0),wo=!1)):dn.length||u0()},Rn=[],g0=function(){return Rn.some(function(t){return t.activeTargets.length>0})},v0=function(){return Rn.some(function(t){return t.skippedTargets.length>0})},oc="ResizeObserver loop completed with undelivered notifications.",m0=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:oc}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=oc),window.dispatchEvent(t)},ti;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(ti||(ti={}));var In=function(t){return Object.freeze(t)},y0=function(){function t(e,n){this.inlineSize=e,this.blockSize=n,In(this)}return t}(),Cf=function(){function t(e,n,r,i){return this.x=e,this.y=n,this.width=r,this.height=i,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,In(this)}return t.prototype.toJSON=function(){var e=this,n=e.x,r=e.y,i=e.top,o=e.right,s=e.bottom,a=e.left,l=e.width,c=e.height;return{x:n,y:r,top:i,right:o,bottom:s,left:a,width:l,height:c}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),ha=function(t){return t instanceof SVGElement&&"getBBox"in t},Ef=function(t){if(ha(t)){var e=t.getBBox(),n=e.width,r=e.height;return!n&&!r}var i=t,o=i.offsetWidth,s=i.offsetHeight;return!(o||s||t.getClientRects().length)},sc=function(t){var e;if(t instanceof Element)return!0;var n=(e=t==null?void 0:t.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},b0=function(t){switch(t.tagName){case"INPUT":if(t.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Gr=typeof window<"u"?window:{},Pi=new WeakMap,ac=/auto|scroll/,w0=/^tb|vertical/,C0=/msie|trident/i.test(Gr.navigator&&Gr.navigator.userAgent),jt=function(t){return parseFloat(t||"0")},$n=function(t,e,n){return t===void 0&&(t=0),e===void 0&&(e=0),n===void 0&&(n=!1),new y0((n?e:t)||0,(n?t:e)||0)},lc=In({devicePixelContentBoxSize:$n(),borderBoxSize:$n(),contentBoxSize:$n(),contentRect:new Cf(0,0,0,0)}),Sf=function(t,e){if(e===void 0&&(e=!1),Pi.has(t)&&!e)return Pi.get(t);if(Ef(t))return Pi.set(t,lc),lc;var n=getComputedStyle(t),r=ha(t)&&t.ownerSVGElement&&t.getBBox(),i=!C0&&n.boxSizing==="border-box",o=w0.test(n.writingMode||""),s=!r&&ac.test(n.overflowY||""),a=!r&&ac.test(n.overflowX||""),l=r?0:jt(n.paddingTop),c=r?0:jt(n.paddingRight),f=r?0:jt(n.paddingBottom),d=r?0:jt(n.paddingLeft),h=r?0:jt(n.borderTopWidth),g=r?0:jt(n.borderRightWidth),v=r?0:jt(n.borderBottomWidth),p=r?0:jt(n.borderLeftWidth),w=d+c,S=l+f,b=p+g,m=h+v,x=a?t.offsetHeight-m-t.clientHeight:0,C=s?t.offsetWidth-b-t.clientWidth:0,y=i?w+b:0,E=i?S+m:0,L=r?r.width:jt(n.width)-y-C,I=r?r.height:jt(n.height)-E-x,M=L+w+C+b,O=I+S+x+m,D=In({devicePixelContentBoxSize:$n(Math.round(L*devicePixelRatio),Math.round(I*devicePixelRatio),o),borderBoxSize:$n(M,O,o),contentBoxSize:$n(L,I,o),contentRect:new Cf(d,l,L,I)});return Pi.set(t,D),D},Af=function(t,e,n){var r=Sf(t,n),i=r.borderBoxSize,o=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(e){case ti.DEVICE_PIXEL_CONTENT_BOX:return s;case ti.BORDER_BOX:return i;default:return o}},E0=function(){function t(e){var n=Sf(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=In([n.borderBoxSize]),this.contentBoxSize=In([n.contentBoxSize]),this.devicePixelContentBoxSize=In([n.devicePixelContentBoxSize])}return t}(),Lf=function(t){if(Ef(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},S0=function(){var t=1/0,e=[];Rn.forEach(function(s){if(s.activeTargets.length!==0){var a=[];s.activeTargets.forEach(function(c){var f=new E0(c.target),d=Lf(c.target);a.push(f),c.lastReportedSize=Af(c.target,c.observedBox),d<t&&(t=d)}),e.push(function(){s.callback.call(s.observer,a,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var n=0,r=e;n<r.length;n++){var i=r[n];i()}return t},cc=function(t){Rn.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(i){i.isActive()&&(Lf(i.target)>t?n.activeTargets.push(i):n.skippedTargets.push(i))})})},A0=function(){var t=0;for(cc(t);g0();)t=S0(),cc(t);return v0()&&m0(),t>0},ns,xf=[],L0=function(){return xf.splice(0).forEach(function(t){return t()})},x0=function(t){if(!ns){var e=0,n=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return L0()}).observe(n,r),ns=function(){n.textContent="".concat(e?e--:e++)}}xf.push(t),ns()},O0=function(t){x0(function(){requestAnimationFrame(t)})},Zi=0,M0=function(){return!!Zi},P0=250,D0={attributes:!0,characterData:!0,childList:!0,subtree:!0},uc=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],fc=function(t){return t===void 0&&(t=0),Date.now()+t},rs=!1,R0=function(){function t(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return t.prototype.run=function(e){var n=this;if(e===void 0&&(e=P0),!rs){rs=!0;var r=fc(e);O0(function(){var i=!1;try{i=A0()}finally{if(rs=!1,e=r-fc(),!M0())return;i?n.run(1e3):e>0?n.run(e):n.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,D0)};document.body?n():Gr.addEventListener("DOMContentLoaded",n)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),uc.forEach(function(n){return Gr.addEventListener(n,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),uc.forEach(function(n){return Gr.removeEventListener(n,e.listener,!0)}),this.stopped=!0)},t}(),zs=new R0,dc=function(t){!Zi&&t>0&&zs.start(),Zi+=t,!Zi&&zs.stop()},I0=function(t){return!ha(t)&&!b0(t)&&getComputedStyle(t).display==="inline"},k0=function(){function t(e,n){this.target=e,this.observedBox=n||ti.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=Af(this.target,this.observedBox,!0);return I0(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),T0=function(){function t(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n}return t}(),Di=new WeakMap,hc=function(t,e){for(var n=0;n<t.length;n+=1)if(t[n].target===e)return n;return-1},Ri=function(){function t(){}return t.connect=function(e,n){var r=new T0(e,n);Di.set(e,r)},t.observe=function(e,n,r){var i=Di.get(e),o=i.observationTargets.length===0;hc(i.observationTargets,n)<0&&(o&&Rn.push(i),i.observationTargets.push(new k0(n,r&&r.box)),dc(1),zs.schedule())},t.unobserve=function(e,n){var r=Di.get(e),i=hc(r.observationTargets,n),o=r.observationTargets.length===1;i>=0&&(o&&Rn.splice(Rn.indexOf(r),1),r.observationTargets.splice(i,1),dc(-1))},t.disconnect=function(e){var n=this,r=Di.get(e);r.observationTargets.slice().forEach(function(i){return n.unobserve(e,i.target)}),r.activeTargets.splice(0,r.activeTargets.length)},t}(),B0=function(){function t(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Ri.connect(this,e)}return t.prototype.observe=function(e,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!sc(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ri.observe(this,e,n)},t.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!sc(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ri.unobserve(this,e)},t.prototype.disconnect=function(){Ri.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}();function lt(){return lt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},lt.apply(this,arguments)}function qi(t,e){if(t==null)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e.indexOf(n=o[r])>=0||(i[n]=t[n]);return i}var Yr=typeof window<"u"?u.useLayoutEffect:u.useEffect;function xr(t,e,n){return e=(e=+e)==e?e:0,n=(n=+n)==n?n:0,(t=+t)==t&&(t=(t=t<=n?t:n)>=e?t:e),t}function Ii(t){var e=Math.round(t);if(Number.isNaN(t))throw new TypeError("Found a NaN! Check your snapPoints / defaultSnap / snapTo ");return e}var j0={box:"border-box"};function is(t,e){var n=e.label,r=e.enabled,i=e.resizeSourceRef,o=u.useState(0),s=o[0],a=o[1];u.useDebugValue(n+": "+s);var l=u.useCallback(function(c){a(c[0].borderBoxSize[0].blockSize),i.current="element"},[i]);return Yr(function(){if(t.current&&r){var c=new B0(l);return c.observe(t.current,j0),function(){c.disconnect()}}},[t,l,r]),r?s:0}function at(t){return t===void 0&&(t=1e3),new Promise(function(e){return setTimeout(e,t)})}var pc={DRAG:{target:"#overlay.dragging",actions:"onOpenEnd"}},gc={RESIZE:{target:"#overlay.resizing",actions:"onOpenEnd"}},N0=cm({id:"overlay",initial:"closed",context:{initialState:"CLOSED"},states:{closed:{on:{OPEN:"opening",CLOSE:void 0}},opening:{initial:"start",states:{start:{invoke:{src:"onOpenStart",onDone:"transition"}},transition:{always:[{target:"immediately",cond:"initiallyOpen"},{target:"smoothly",cond:"initiallyClosed"}]},immediately:{initial:"open",states:{open:{invoke:{src:"openImmediately",onDone:"activating"}},activating:{invoke:{src:"activate",onDone:"#overlay.opening.end"},on:lt({},pc,gc)}}},smoothly:{initial:"visuallyHidden",states:{visuallyHidden:{invoke:{src:"renderVisuallyHidden",onDone:"activating"}},activating:{invoke:{src:"activate",onDone:"open"}},open:{invoke:{src:"openSmoothly",onDone:"#overlay.opening.end"},on:lt({},pc,gc)}}},end:{invoke:{src:"onOpenEnd",onDone:"done"},on:{CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:lt({},{CLOSE:{target:"#overlay.closing",actions:"onOpenCancel"}}),onDone:"open"},open:{on:{DRAG:"#overlay.dragging",SNAP:"snapping",RESIZE:"resizing"}},dragging:{on:{SNAP:"snapping"}},snapping:{initial:"start",states:{start:{invoke:{src:"onSnapStart",onDone:"snappingSmoothly"},entry:[um({y:function(t,e){return e.payload.y},velocity:function(t,e){return e.payload.velocity},snapSource:function(t,e){var n=e.payload.source;return n===void 0?"custom":n}})]},snappingSmoothly:{invoke:{src:"snapSmoothly",onDone:"end"}},end:{invoke:{src:"onSnapEnd",onDone:"done"},on:{RESIZE:"#overlay.resizing",SNAP:"#overlay.snapping",CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:{SNAP:{target:"snapping",actions:"onSnapEnd"},RESIZE:{target:"#overlay.resizing",actions:"onSnapCancel"},DRAG:{target:"#overlay.dragging",actions:"onSnapCancel"},CLOSE:{target:"#overlay.closing",actions:"onSnapCancel"}},onDone:"open"},resizing:{initial:"start",states:{start:{invoke:{src:"onResizeStart",onDone:"resizingSmoothly"}},resizingSmoothly:{invoke:{src:"resizeSmoothly",onDone:"end"}},end:{invoke:{src:"onResizeEnd",onDone:"done"},on:{SNAP:"#overlay.snapping",CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:{RESIZE:{target:"resizing",actions:"onResizeEnd"},SNAP:{target:"snapping",actions:"onResizeCancel"},DRAG:{target:"#overlay.dragging",actions:"onResizeCancel"},CLOSE:{target:"#overlay.closing",actions:"onResizeCancel"}},onDone:"open"},closing:{initial:"start",states:{start:{invoke:{src:"onCloseStart",onDone:"deactivating"},on:{OPEN:{target:"#overlay.open",actions:"onCloseCancel"}}},deactivating:{invoke:{src:"deactivate",onDone:"closingSmoothly"}},closingSmoothly:{invoke:{src:"closeSmoothly",onDone:"end"}},end:{invoke:{src:"onCloseEnd",onDone:"done"},on:{OPEN:{target:"#overlay.opening",actions:"onCloseCancel"}}},done:{type:"final"}},on:{CLOSE:void 0,OPEN:{target:"#overlay.opening",actions:"onCloseCancel"}},onDone:"closed"}},on:{CLOSE:"closing"}},{actions:{onOpenCancel:function(t,e){},onSnapCancel:function(t,e){},onResizeCancel:function(t,e){},onCloseCancel:function(t,e){},onOpenEnd:function(t,e){},onSnapEnd:function(t,e){},onRezizeEnd:function(t,e){}},services:{onSnapStart:function(){try{return Promise.resolve(at()).then(function(){})}catch(t){return Promise.reject(t)}},onOpenStart:function(){try{return Promise.resolve(at()).then(function(){})}catch(t){return Promise.reject(t)}},onCloseStart:function(){try{return Promise.resolve(at()).then(function(){})}catch(t){return Promise.reject(t)}},onResizeStart:function(){try{return Promise.resolve(at()).then(function(){})}catch(t){return Promise.reject(t)}},onSnapEnd:function(){try{return Promise.resolve(at()).then(function(){})}catch(t){return Promise.reject(t)}},onOpenEnd:function(){try{return Promise.resolve(at()).then(function(){})}catch(t){return Promise.reject(t)}},onCloseEnd:function(){try{return Promise.resolve(at()).then(function(){})}catch(t){return Promise.reject(t)}},onResizeEnd:function(){try{return Promise.resolve(at()).then(function(){})}catch(t){return Promise.reject(t)}},renderVisuallyHidden:function(t,e){try{return Promise.resolve(at()).then(function(){})}catch(n){return Promise.reject(n)}},activate:function(t,e){try{return Promise.resolve(at()).then(function(){})}catch(n){return Promise.reject(n)}},deactivate:function(t,e){try{return Promise.resolve(at()).then(function(){})}catch(n){return Promise.reject(n)}},openSmoothly:function(t,e){try{return Promise.resolve(at()).then(function(){})}catch(n){return Promise.reject(n)}},openImmediately:function(t,e){try{return Promise.resolve(at()).then(function(){})}catch(n){return Promise.reject(n)}},snapSmoothly:function(t,e){try{return Promise.resolve(at()).then(function(){})}catch(n){return Promise.reject(n)}},resizeSmoothly:function(t,e){try{return Promise.resolve(at()).then(function(){})}catch(n){return Promise.reject(n)}},closeSmoothly:function(t,e){try{return Promise.resolve(at()).then(function(){})}catch(n){return Promise.reject(n)}}},guards:{initiallyClosed:function(t){return t.initialState==="CLOSED"},initiallyOpen:function(t){return t.initialState==="OPEN"}}}),U0=["children","sibling","className","footer","header","open","initialState","lastSnapRef","initialFocusRef","onDismiss","maxHeight","defaultSnap","snapPoints","blocking","scrollLocking","style","onSpringStart","onSpringCancel","onSpringEnd","reserveScrollBarGap","expandOnContentDrag"],H0=["velocity"],F0=["onRest","config"],Of=jm.default,z0=Of.tension,ki=Of.friction,Q0=u.forwardRef(function(t,e){var n=t.children,r=t.sibling,i=t.className,o=t.footer,s=t.header,a=t.open,l=t.initialState,c=t.lastSnapRef,f=t.initialFocusRef,d=t.onDismiss,h=t.maxHeight,g=t.defaultSnap,v=g===void 0?W0:g,p=t.snapPoints,w=p===void 0?G0:p,S=t.blocking,b=S===void 0||S,m=t.scrollLocking,x=m===void 0||m,C=t.style,y=t.onSpringStart,E=t.onSpringCancel,L=t.onSpringEnd,I=t.reserveScrollBarGap,M=I===void 0?b:I,O=t.expandOnContentDrag,D=O!==void 0&&O,B=qi(t,U0),N=function(){var U=u.useState(!1),ne=U[0],J=U[1],ge=u.useState({}),Re=ge[0],Se=ge[1],Ie=u.useCallback(function(Me){return Se(function(Ue){var ue;return lt({},Ue,((ue={})[Me]=!1,ue))}),function(){Se(function(Ue){var ue;return lt({},Ue,((ue={})[Me]=!0,ue))})}},[]);return u.useEffect(function(){var Me=Object.values(Re);Me.length!==0&&Me.every(Boolean)&&J(!0)},[Re]),{ready:ne,registerReady:Ie}}(),V=N.ready,Z=N.registerReady,F=u.useRef(!1),K=u.useRef(y),T=u.useRef(E),R=u.useRef(L);u.useEffect(function(){K.current=y,T.current=E,R.current=L},[E,y,L]);var k,H,z=zm(function(){return{y:0,ready:0,maxHeight:0,minSnap:0,maxSnap:0}}),Q=z[0],_=z[1],P=u.useRef(null),W=u.useRef(null),q=u.useRef(null),Y=u.useRef(null),te=u.useRef(null),re=u.useRef(null),oe=u.useRef(0),de=u.useRef(),je=u.useRef(!1),pe=(k=u.useMemo(function(){return typeof window<"u"?window.matchMedia("(prefers-reduced-motion: reduce)"):null},[]),H=u.useRef(k==null?void 0:k.matches),u.useDebugValue(H.current?"reduce":"no-preference"),u.useEffect(function(){var U=function(ne){H.current=ne.matches};return k==null||k.addListener(U),function(){return k==null?void 0:k.removeListener(U)}},[k]),H),ye=function(U){var ne=U.targetRef,J=U.enabled,ge=U.reserveScrollBarGap,Re=u.useRef({activate:function(){throw new TypeError("Tried to activate scroll lock too early")},deactivate:function(){}});return u.useDebugValue(J?"Enabled":"Disabled"),u.useEffect(function(){if(!J)return Re.current.deactivate(),void(Re.current={activate:function(){},deactivate:function(){}});var Se=ne.current,Ie=!1;Re.current={activate:function(){Ie||(Ie=!0,h0(Se,{allowTouchMove:function(Me){return Me.closest("[data-body-scroll-lock-ignore]")},reserveScrollBarGap:ge}))},deactivate:function(){Ie&&(Ie=!1,p0(Se))}}},[J,ne,ge]),Re}({targetRef:W,enabled:V&&x,reserveScrollBarGap:M}),Te=function(U){var ne=U.targetRef,J=U.enabled,ge=u.useRef({activate:function(){throw new TypeError("Tried to activate aria hider too early")},deactivate:function(){}});return u.useDebugValue(J?"Enabled":"Disabled"),u.useEffect(function(){if(!J)return ge.current.deactivate(),void(ge.current={activate:function(){},deactivate:function(){}});var Re=ne.current,Se=!1,Ie=[],Me=[];ge.current={activate:function(){if(!Se){Se=!0;var Ue=Re.parentNode;document.querySelectorAll("body > *").forEach(function(ue){if(ue!==Ue){var be=ue.getAttribute("aria-hidden");be!==null&&be!=="false"||(Ie.push(be),Me.push(ue),ue.setAttribute("aria-hidden","true"))}})}},deactivate:function(){Se&&(Se=!1,Me.forEach(function(Ue,ue){var be=Ie[ue];be===null?Ue.removeAttribute("aria-hidden"):Ue.setAttribute("aria-hidden",be)}),Ie=[],Me=[])}}},[ne,J]),ge}({targetRef:P,enabled:V&&b}),Oe=function(U){var ne=U.targetRef,J=U.fallbackRef,ge=U.initialFocusRef,Re=U.enabled,Se=u.useRef({activate:function(){throw new TypeError("Tried to activate focus trap too early")},deactivate:function(){}});return u.useDebugValue(Re?"Enabled":"Disabled"),u.useEffect(function(){if(!Re)return Se.current.deactivate(),void(Se.current={activate:function(){},deactivate:function(){}});var Ie=J.current,Me=a0(ne.current,{onActivate:void 0,initialFocus:ge?function(){return(ge==null?void 0:ge.current)||Ie}:void 0,fallbackFocus:Ie,escapeDeactivates:!1,clickOutsideDeactivates:!1}),Ue=!1;Se.current={activate:function(){try{return Ue?Promise.resolve():(Ue=!0,Promise.resolve(Me.activate()).then(function(){return Promise.resolve(new Promise(function(ue){return setTimeout(function(){return ue(void 0)},0)})).then(function(){})}))}catch(ue){return Promise.reject(ue)}},deactivate:function(){Ue&&(Ue=!1,Me.deactivate())}}},[Re,J,ge,ne]),Se}({targetRef:P,fallbackRef:re,initialFocusRef:f||void 0,enabled:V&&b&&f!==!1}),De=function(U){var ne=U.getSnapPoints,J=U.heightRef,ge=U.lastSnapRef,Re=U.ready,Se=function(Ze){var dt=Ze.contentRef,ht=Ze.controlledMaxHeight,_e=Ze.footerEnabled,Bt=Ze.footerRef,Ot=Ze.headerEnabled,pt=Ze.headerRef,_t=Ze.registerReady,Gt=Ze.resizeSourceRef,dr=u.useMemo(function(){return _t("contentHeight")},[_t]),hr=function($t,yn,bn){var wn=u.useMemo(function(){return yn("maxHeight")},[yn]),Cn=u.useState(function(){return Ii($t)||typeof window<"u"?window.innerHeight:0}),vr=Cn[0],mr=Cn[1],en=vr>0,ie=u.useRef(0);return u.useDebugValue($t?"controlled":"auto"),u.useEffect(function(){en&&wn()},[en,wn]),Yr(function(){if($t)return mr(Ii($t)),void(bn.current="maxheightprop");var xa=function(){ie.current||(ie.current=requestAnimationFrame(function(){mr(window.innerHeight),bn.current="window",ie.current=0}))};return window.addEventListener("resize",xa),mr(window.innerHeight),bn.current="window",wn(),function(){window.removeEventListener("resize",xa),cancelAnimationFrame(ie.current)}},[$t,wn,bn]),vr}(ht,_t,Gt),Un=is(pt,{label:"headerHeight",enabled:Ot,resizeSourceRef:Gt}),pr=is(dt,{label:"contentHeight",enabled:!0,resizeSourceRef:Gt}),Hn=is(Bt,{label:"footerHeight",enabled:_e,resizeSourceRef:Gt}),mn=Math.min(hr-Un-Hn,pr)+Un+Hn;u.useDebugValue("minHeight: "+mn);var gr=pr>0;return u.useEffect(function(){gr&&dr()},[gr,dr]),{maxHeight:hr,minHeight:mn,headerHeight:Un,footerHeight:Hn}}({contentRef:U.contentRef,controlledMaxHeight:U.controlledMaxHeight,footerEnabled:U.footerEnabled,footerRef:U.footerRef,headerEnabled:U.headerEnabled,headerRef:U.headerRef,registerReady:U.registerReady,resizeSourceRef:U.resizeSourceRef}),Ie=Se.maxHeight,Me=Se.minHeight,Ue=Se.headerHeight,ue=Se.footerHeight,be=function(Ze,dt){var ht=[].concat(Ze).map(Ii).reduce(function(pt,_t){return pt.add(xr(_t,0,dt)),pt},new Set),_e=Array.from(ht),Bt=Math.min.apply(Math,_e);if(Number.isNaN(Bt))throw new TypeError("minSnap is NaN");var Ot=Math.max.apply(Math,_e);if(Number.isNaN(Ot))throw new TypeError("maxSnap is NaN");return{snapPoints:_e,minSnap:Bt,maxSnap:Ot}}(Re?ne({height:J.current,footerHeight:ue,headerHeight:Ue,minHeight:Me,maxHeight:Ie}):[0],Ie),ct=be.snapPoints,Wt=be.minSnap,st=be.maxSnap;return u.useDebugValue("minSnap: "+Wt+", maxSnap:"+st),{minSnap:Wt,maxSnap:st,findSnap:function(Ze){var dt=Ii(typeof Ze=="function"?Ze({footerHeight:ue,headerHeight:Ue,height:J.current,minHeight:Me,maxHeight:Ie,snapPoints:ct,lastSnap:ge.current}):Ze);return ct.reduce(function(ht,_e){return Math.abs(_e-dt)<Math.abs(ht-dt)?_e:ht},Wt)},maxHeight:Ie}}({contentRef:q,controlledMaxHeight:h,footerEnabled:!!o,footerRef:te,getSnapPoints:w,headerEnabled:s!==!1,headerRef:Y,heightRef:oe,lastSnapRef:c,ready:V,registerReady:Z,resizeSourceRef:de}),se=De.minSnap,le=De.maxSnap,ze=De.maxHeight,Je=De.findSnap,X=u.useRef(ze),Qe=u.useRef(se),Ne=u.useRef(le),ft=u.useRef(Je),ot=u.useRef(0);Yr(function(){X.current=ze,Ne.current=le,Qe.current=se,ft.current=Je,ot.current=Je(v)},[Je,v,ze,le,se]);var ce=u.useCallback(function(U){var ne=U.onRest,J=U.config,ge=(J=J===void 0?{}:J).velocity,Re=ge===void 0?1:ge,Se=qi(J,H0),Ie=qi(U,F0);return new Promise(function(Me){return _(lt({},Ie,{config:lt({velocity:Re},Se,{mass:1,tension:z0,friction:Math.max(ki,ki+(ki-ki*Re))}),onRest:function(){var Ue=[].slice.call(arguments);Me.apply(void 0,Ue),ne==null||ne.apply(void 0,Ue)}}))})},[_]),vn=bm(N0,{devTools:!1,actions:{onOpenCancel:u.useCallback(function(){return T.current==null?void 0:T.current({type:"OPEN"})},[]),onSnapCancel:u.useCallback(function(U){return T.current==null?void 0:T.current({type:"SNAP",source:U.snapSource})},[]),onCloseCancel:u.useCallback(function(){return T.current==null?void 0:T.current({type:"CLOSE"})},[]),onResizeCancel:u.useCallback(function(){return T.current==null?void 0:T.current({type:"RESIZE",source:de.current})},[]),onOpenEnd:u.useCallback(function(){return R.current==null?void 0:R.current({type:"OPEN"})},[]),onSnapEnd:u.useCallback(function(U,ne){return R.current==null?void 0:R.current({type:"SNAP",source:U.snapSource})},[]),onResizeEnd:u.useCallback(function(){return R.current==null?void 0:R.current({type:"RESIZE",source:de.current})},[])},context:{initialState:l},services:{onSnapStart:u.useCallback(function(U,ne){try{return Promise.resolve(K.current==null?void 0:K.current({type:"SNAP",source:ne.payload.source||"custom"}))}catch(J){return Promise.reject(J)}},[]),onOpenStart:u.useCallback(function(){try{return Promise.resolve(K.current==null?void 0:K.current({type:"OPEN"}))}catch(U){return Promise.reject(U)}},[]),onCloseStart:u.useCallback(function(){try{return Promise.resolve(K.current==null?void 0:K.current({type:"CLOSE"}))}catch(U){return Promise.reject(U)}},[]),onResizeStart:u.useCallback(function(){try{return Promise.resolve(K.current==null?void 0:K.current({type:"RESIZE",source:de.current}))}catch(U){return Promise.reject(U)}},[]),onSnapEnd:u.useCallback(function(U,ne){try{return Promise.resolve(R.current==null?void 0:R.current({type:"SNAP",source:U.snapSource}))}catch(J){return Promise.reject(J)}},[]),onOpenEnd:u.useCallback(function(){try{return Promise.resolve(R.current==null?void 0:R.current({type:"OPEN"}))}catch(U){return Promise.reject(U)}},[]),onCloseEnd:u.useCallback(function(){try{return Promise.resolve(R.current==null?void 0:R.current({type:"CLOSE"}))}catch(U){return Promise.reject(U)}},[]),onResizeEnd:u.useCallback(function(){try{return Promise.resolve(R.current==null?void 0:R.current({type:"RESIZE",source:de.current}))}catch(U){return Promise.reject(U)}},[]),renderVisuallyHidden:u.useCallback(function(U,ne){try{return Promise.resolve(ce({y:ot.current,ready:0,maxHeight:X.current,maxSnap:Ne.current,minSnap:ot.current,immediate:!0})).then(function(){})}catch(J){return Promise.reject(J)}},[ce]),activate:u.useCallback(function(U,ne){try{return F.current=!0,Promise.resolve(Promise.all([ye.current.activate(),Oe.current.activate(),Te.current.activate()])).then(function(){})}catch(J){return Promise.reject(J)}},[Te,Oe,ye]),deactivate:u.useCallback(function(){try{return ye.current.deactivate(),Oe.current.deactivate(),Te.current.deactivate(),F.current=!1,Promise.resolve()}catch(U){return Promise.reject(U)}},[Te,Oe,ye]),openImmediately:u.useCallback(function(){try{return oe.current=ot.current,Promise.resolve(ce({y:ot.current,ready:1,maxHeight:X.current,maxSnap:Ne.current,minSnap:ot.current,immediate:!0})).then(function(){})}catch(U){return Promise.reject(U)}},[ce]),openSmoothly:u.useCallback(function(){try{return Promise.resolve(ce({y:0,ready:1,maxHeight:X.current,maxSnap:Ne.current,minSnap:ot.current,immediate:!0})).then(function(){return oe.current=ot.current,Promise.resolve(ce({y:ot.current,ready:1,maxHeight:X.current,maxSnap:Ne.current,minSnap:ot.current,immediate:pe.current})).then(function(){})})}catch(U){return Promise.reject(U)}},[ce,pe]),snapSmoothly:u.useCallback(function(U,ne){try{var J=ft.current(U.y);return oe.current=J,c.current=J,Promise.resolve(ce({y:J,ready:1,maxHeight:X.current,maxSnap:Ne.current,minSnap:Qe.current,immediate:pe.current,config:{velocity:U.velocity}})).then(function(){})}catch(ge){return Promise.reject(ge)}},[ce,c,pe]),resizeSmoothly:u.useCallback(function(){try{var U=ft.current(oe.current);return oe.current=U,c.current=U,Promise.resolve(ce({y:U,ready:1,maxHeight:X.current,maxSnap:Ne.current,minSnap:Qe.current,immediate:de.current!=="element"||pe.current})).then(function(){})}catch(ne){return Promise.reject(ne)}},[ce,c,pe]),closeSmoothly:u.useCallback(function(U,ne){try{return ce({minSnap:oe.current,immediate:!0}),oe.current=0,Promise.resolve(ce({y:0,maxHeight:X.current,maxSnap:Ne.current,immediate:pe.current})).then(function(){return Promise.resolve(ce({ready:0,immediate:!0})).then(function(){})})}catch(J){return Promise.reject(J)}},[ce,pe])}}),fi=vn[0],xt=vn[1];u.useEffect(function(){V&&xt(a?"OPEN":"CLOSE")},[a,xt,V]),Yr(function(){(ze||le||se)&&xt("RESIZE")},[ze,le,se,xt]),u.useEffect(function(){return function(){ye.current.deactivate(),Oe.current.deactivate(),Te.current.deactivate()}},[Te,Oe,ye]),u.useImperativeHandle(e,function(){return{snapTo:function(U,ne){var J=ne===void 0?{}:ne,ge=J.velocity,Re=ge===void 0?1:ge,Se=J.source,Ie=Se===void 0?"custom":Se;xt("SNAP",{payload:{y:ft.current(U),velocity:Re,source:Ie}})},get height(){return oe.current}}},[xt]),u.useEffect(function(){var U=W.current,ne=function(ge){je.current&&ge.preventDefault()},J=function(ge){U.scrollTop<0&&(requestAnimationFrame(function(){U.style.overflow="hidden",U.scrollTop=0,U.style.removeProperty("overflow")}),ge.preventDefault())};return D&&(U.addEventListener("scroll",ne),U.addEventListener("touchmove",ne),U.addEventListener("touchstart",J)),function(){U.removeEventListener("scroll",ne),U.removeEventListener("touchmove",ne),U.removeEventListener("touchstart",J)}},[D,W]);var Vt=Qy(function(U){var ne=U.args,J=(ne=ne===void 0?[]:ne)[0],ge=(J=J===void 0?{}:J).closeOnTap,Re=ge!==void 0&&ge,Se=J.isContentDragging,Ie=Se!==void 0&&Se,Me=U.cancel,Ue=U.direction[1],ue=U.down,be=U.first,ct=U.last,Wt=U.memo,st=Wt===void 0?Q.y.getValue():Wt,Ze=U.tap,dt=U.velocity,ht=-1*U.movement[1];if(!F.current)return Me(),st;if(d&&Re&&Ze)return Me(),setTimeout(function(){return d()},0),st;if(Ze)return st;var _e=st+ht,Bt=ht*dt,Ot=Math.max(Qe.current,Math.min(Ne.current,_e+2*Bt));if(!ue&&d&&Ue>0&&_e+Bt<Qe.current/2)return Me(),d(),st;var pt=ue?d||Qe.current!==Ne.current?Qr(_e,d?0:Qe.current,Ne.current,.55):_e<Qe.current?Qr(_e,Qe.current,2*Ne.current,.55):Qr(_e,Qe.current/2,Ne.current,.55):Ot;return D&&Ie?(pt>=Ne.current&&(pt=Ne.current),st===Ne.current&&W.current.scrollTop>0&&(pt=Ne.current),je.current=pt<Ne.current):je.current=!1,be&&xt("DRAG"),ct?(xt("SNAP",{payload:{y:pt,velocity:dt>.05?dt:1,source:"dragging"}}),st):(_({y:pt,ready:1,maxHeight:X.current,maxSnap:Ne.current,minSnap:Qe.current,immediate:!0,config:{velocity:dt}}),st)},{filterTaps:!0});if(Number.isNaN(Ne.current))throw new TypeError("maxSnapRef is NaN!!");if(Number.isNaN(Qe.current))throw new TypeError("minSnapRef is NaN!!");var di=function(U){var ne,J=U.spring,ge=Vn([J.y,J.maxHeight],function(ue,be){return Math.round(xr(be-ue,0,16))+"px"}),Re=Vn([J.y,J.minSnap,J.maxSnap],function(ue,be,ct){return xr(ue,be,ct)+"px"}),Se=Vn([J.y,J.minSnap,J.maxSnap],function(ue,be,ct){return ue<be?be-ue+"px":ue>ct?ct-ue+"px":"0px"}),Ie=Vn([J.y,J.maxSnap],function(ue,be){return ue>=be?Math.ceil(ue-be):0}),Me=Vn([J.y,J.minSnap],function(ue,be){if(!be)return 0;var ct=Math.max(be/2-45,0);return xr((ue-ct)*(1/(Math.min(be/2+45,be)-ct)+0),0,1)}),Ue=Vn([J.y,J.minSnap],function(ue,be){return be?xr(ue/be,0,1):0});return(ne={})["--rsbs-content-opacity"]=Me,ne["--rsbs-backdrop-opacity"]=Ue,ne["--rsbs-antigap-scale-y"]=Ie,ne["--rsbs-overlay-translate-y"]=Se,ne["--rsbs-overlay-rounded"]=ge,ne["--rsbs-overlay-h"]=Re,ne}({spring:Q});return u.createElement(sy.div,lt({},B,{"data-rsbs-root":!0,"data-rsbs-state":V0.find(fi.matches),"data-rsbs-is-blocking":b,"data-rsbs-is-dismissable":!!d,"data-rsbs-has-header":!!s,"data-rsbs-has-footer":!!o,className:i,ref:P,style:lt({},di,C,{opacity:Q.ready})}),r,b&&u.createElement("div",lt({key:"backdrop","data-rsbs-backdrop":!0},Vt({closeOnTap:!0}))),u.createElement("div",{key:"overlay","aria-modal":"true",role:"dialog","data-rsbs-overlay":!0,tabIndex:-1,ref:re,onKeyDown:function(U){U.key==="Escape"&&(U.stopPropagation(),d&&d())}},s!==!1&&u.createElement("div",lt({key:"header","data-rsbs-header":!0,ref:Y},Vt()),s),u.createElement("div",lt({key:"scroll","data-rsbs-scroll":!0,ref:W},D?Vt({isContentDragging:!0}):{}),u.createElement("div",{"data-rsbs-content":!0,ref:q},n)),o&&u.createElement("div",lt({key:"footer",ref:te,"data-rsbs-footer":!0},Vt()),o)))}),V0=["closed","opening","open","closing","dragging","snapping","resizing"];function W0(t){var e=t.lastSnap;return e??Math.min.apply(Math,t.snapPoints)}function G0(t){return t.minHeight}var Y0=["onSpringStart","onSpringEnd","skipInitialTransition"],Mf=u.forwardRef(function(t,e){var n=t.onSpringStart,r=t.onSpringEnd,i=t.skipInitialTransition,o=qi(t,Y0),s=u.useState(!1),a=s[0],l=s[1],c=u.useRef(),f=u.useRef(null),d=u.useRef(i&&o.open?"OPEN":"CLOSED");Yr(function(){if(o.open)return cancelAnimationFrame(c.current),l(!0),function(){d.current="CLOSED"}},[o.open]);var h=u.useCallback(function(v){return Promise.resolve(n==null?void 0:n(v)).then(function(){v.type==="OPEN"&&cancelAnimationFrame(c.current)})},[n]),g=u.useCallback(function(v){return Promise.resolve(r==null?void 0:r(v)).then(function(){v.type==="CLOSE"&&(c.current=requestAnimationFrame(function(){return l(!1)}))})},[r]);return a?u.createElement(pv,{"data-rsbs-portal":!0},u.createElement(Q0,lt({},o,{lastSnapRef:f,ref:e,initialState:d.current,onSpringStart:h,onSpringEnd:g}))):null});function Pf(t,e){return function(){return t.apply(e,arguments)}}const{toString:K0}=Object.prototype,{getPrototypeOf:pa}=Object,Io=(t=>e=>{const n=K0.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Qt=t=>(t=t.toLowerCase(),e=>Io(e)===t),ko=t=>e=>typeof e===t,{isArray:ur}=Array,ni=ko("undefined");function Z0(t){return t!==null&&!ni(t)&&t.constructor!==null&&!ni(t.constructor)&&At(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Df=Qt("ArrayBuffer");function q0(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Df(t.buffer),e}const J0=ko("string"),At=ko("function"),Rf=ko("number"),To=t=>t!==null&&typeof t=="object",X0=t=>t===!0||t===!1,Ji=t=>{if(Io(t)!=="object")return!1;const e=pa(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},_0=Qt("Date"),$0=Qt("File"),eb=Qt("Blob"),tb=Qt("FileList"),nb=t=>To(t)&&At(t.pipe),rb=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||At(t.append)&&((e=Io(t))==="formdata"||e==="object"&&At(t.toString)&&t.toString()==="[object FormData]"))},ib=Qt("URLSearchParams"),ob=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ai(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,i;if(typeof t!="object"&&(t=[t]),ur(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{const o=n?Object.getOwnPropertyNames(t):Object.keys(t),s=o.length;let a;for(r=0;r<s;r++)a=o[r],e.call(null,t[a],a,t)}}function If(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,i;for(;r-- >0;)if(i=n[r],e===i.toLowerCase())return i;return null}const kf=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Tf=t=>!ni(t)&&t!==kf;function Qs(){const{caseless:t}=Tf(this)&&this||{},e={},n=(r,i)=>{const o=t&&If(e,i)||i;Ji(e[o])&&Ji(r)?e[o]=Qs(e[o],r):Ji(r)?e[o]=Qs({},r):ur(r)?e[o]=r.slice():e[o]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&ai(arguments[r],n);return e}const sb=(t,e,n,{allOwnKeys:r}={})=>(ai(e,(i,o)=>{n&&At(i)?t[o]=Pf(i,n):t[o]=i},{allOwnKeys:r}),t),ab=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),lb=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},cb=(t,e,n,r)=>{let i,o,s;const a={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),o=i.length;o-- >0;)s=i[o],(!r||r(s,t,e))&&!a[s]&&(e[s]=t[s],a[s]=!0);t=n!==!1&&pa(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},ub=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},fb=t=>{if(!t)return null;if(ur(t))return t;let e=t.length;if(!Rf(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},db=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&pa(Uint8Array)),hb=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let i;for(;(i=r.next())&&!i.done;){const o=i.value;e.call(t,o[0],o[1])}},pb=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},gb=Qt("HTMLFormElement"),vb=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),vc=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),mb=Qt("RegExp"),Bf=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};ai(n,(i,o)=>{let s;(s=e(i,o,t))!==!1&&(r[o]=s||i)}),Object.defineProperties(t,r)},yb=t=>{Bf(t,(e,n)=>{if(At(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(At(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},bb=(t,e)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return ur(t)?r(t):r(String(t).split(e)),n},wb=()=>{},Cb=(t,e)=>(t=+t,Number.isFinite(t)?t:e),os="abcdefghijklmnopqrstuvwxyz",mc="0123456789",jf={DIGIT:mc,ALPHA:os,ALPHA_DIGIT:os+os.toUpperCase()+mc},Eb=(t=16,e=jf.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function Sb(t){return!!(t&&At(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const Ab=t=>{const e=new Array(10),n=(r,i)=>{if(To(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[i]=r;const o=ur(r)?[]:{};return ai(r,(s,a)=>{const l=n(s,i+1);!ni(l)&&(o[a]=l)}),e[i]=void 0,o}}return r};return n(t,0)},Lb=Qt("AsyncFunction"),xb=t=>t&&(To(t)||At(t))&&At(t.then)&&At(t.catch),j={isArray:ur,isArrayBuffer:Df,isBuffer:Z0,isFormData:rb,isArrayBufferView:q0,isString:J0,isNumber:Rf,isBoolean:X0,isObject:To,isPlainObject:Ji,isUndefined:ni,isDate:_0,isFile:$0,isBlob:eb,isRegExp:mb,isFunction:At,isStream:nb,isURLSearchParams:ib,isTypedArray:db,isFileList:tb,forEach:ai,merge:Qs,extend:sb,trim:ob,stripBOM:ab,inherits:lb,toFlatObject:cb,kindOf:Io,kindOfTest:Qt,endsWith:ub,toArray:fb,forEachEntry:hb,matchAll:pb,isHTMLForm:gb,hasOwnProperty:vc,hasOwnProp:vc,reduceDescriptors:Bf,freezeMethods:yb,toObjectSet:bb,toCamelCase:vb,noop:wb,toFiniteNumber:Cb,findKey:If,global:kf,isContextDefined:Tf,ALPHABET:jf,generateString:Eb,isSpecCompliantForm:Sb,toJSONObject:Ab,isAsyncFn:Lb,isThenable:xb};function Ee(t,e,n,r,i){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),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}j.inherits(Ee,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:j.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Nf=Ee.prototype,Uf={};["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=>{Uf[t]={value:t}});Object.defineProperties(Ee,Uf);Object.defineProperty(Nf,"isAxiosError",{value:!0});Ee.from=(t,e,n,r,i,o)=>{const s=Object.create(Nf);return j.toFlatObject(t,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Ee.call(s,t.message,e,n,r,i),s.cause=t,s.name=t.name,o&&Object.assign(s,o),s};const Ob=null;function Vs(t){return j.isPlainObject(t)||j.isArray(t)}function Hf(t){return j.endsWith(t,"[]")?t.slice(0,-2):t}function yc(t,e,n){return t?t.concat(e).map(function(i,o){return i=Hf(i),!n&&o?"["+i+"]":i}).join(n?".":""):e}function Mb(t){return j.isArray(t)&&!t.some(Vs)}const Pb=j.toFlatObject(j,{},null,function(e){return/^is[A-Z]/.test(e)});function Bo(t,e,n){if(!j.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=j.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,w){return!j.isUndefined(w[p])});const r=n.metaTokens,i=n.visitor||f,o=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(e);if(!j.isFunction(i))throw new TypeError("visitor must be a function");function c(v){if(v===null)return"";if(j.isDate(v))return v.toISOString();if(!l&&j.isBlob(v))throw new Ee("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(v)||j.isTypedArray(v)?l&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function f(v,p,w){let S=v;if(v&&!w&&typeof v=="object"){if(j.endsWith(p,"{}"))p=r?p:p.slice(0,-2),v=JSON.stringify(v);else if(j.isArray(v)&&Mb(v)||(j.isFileList(v)||j.endsWith(p,"[]"))&&(S=j.toArray(v)))return p=Hf(p),S.forEach(function(m,x){!(j.isUndefined(m)||m===null)&&e.append(s===!0?yc([p],x,o):s===null?p:p+"[]",c(m))}),!1}return Vs(v)?!0:(e.append(yc(w,p,o),c(v)),!1)}const d=[],h=Object.assign(Pb,{defaultVisitor:f,convertValue:c,isVisitable:Vs});function g(v,p){if(!j.isUndefined(v)){if(d.indexOf(v)!==-1)throw Error("Circular reference detected in "+p.join("."));d.push(v),j.forEach(v,function(S,b){(!(j.isUndefined(S)||S===null)&&i.call(e,S,j.isString(b)?b.trim():b,p,h))===!0&&g(S,p?p.concat(b):[b])}),d.pop()}}if(!j.isObject(t))throw new TypeError("data must be an object");return g(t),e}function bc(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function ga(t,e){this._pairs=[],t&&Bo(t,this,e)}const Ff=ga.prototype;Ff.append=function(e,n){this._pairs.push([e,n])};Ff.toString=function(e){const n=e?function(r){return e.call(this,r,bc)}:bc;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Db(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function zf(t,e,n){if(!e)return t;const r=n&&n.encode||Db,i=n&&n.serialize;let o;if(i?o=i(e,n):o=j.isURLSearchParams(e)?e.toString():new ga(e,n).toString(r),o){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class Rb{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){j.forEach(this.handlers,function(r){r!==null&&e(r)})}}const wc=Rb,Qf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ib=typeof URLSearchParams<"u"?URLSearchParams:ga,kb=typeof FormData<"u"?FormData:null,Tb=typeof Blob<"u"?Blob:null,Bb=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),jb=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Ut={isBrowser:!0,classes:{URLSearchParams:Ib,FormData:kb,Blob:Tb},isStandardBrowserEnv:Bb,isStandardBrowserWebWorkerEnv:jb,protocols:["http","https","file","blob","url","data"]};function Nb(t,e){return Bo(t,new Ut.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return Ut.isNode&&j.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},e))}function Ub(t){return j.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Hb(t){const e={},n=Object.keys(t);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],e[o]=t[o];return e}function Vf(t){function e(n,r,i,o){let s=n[o++];const a=Number.isFinite(+s),l=o>=n.length;return s=!s&&j.isArray(i)?i.length:s,l?(j.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!j.isObject(i[s]))&&(i[s]=[]),e(n,r,i[s],o)&&j.isArray(i[s])&&(i[s]=Hb(i[s])),!a)}if(j.isFormData(t)&&j.isFunction(t.entries)){const n={};return j.forEachEntry(t,(r,i)=>{e(Ub(r),i,n,0)}),n}return null}function Fb(t,e,n){if(j.isString(t))try{return(e||JSON.parse)(t),j.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const va={transitional:Qf,adapter:["xhr","http"],transformRequest:[function(e,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=j.isObject(e);if(o&&j.isHTMLForm(e)&&(e=new FormData(e)),j.isFormData(e))return i&&i?JSON.stringify(Vf(e)):e;if(j.isArrayBuffer(e)||j.isBuffer(e)||j.isStream(e)||j.isFile(e)||j.isBlob(e))return e;if(j.isArrayBufferView(e))return e.buffer;if(j.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Nb(e,this.formSerializer).toString();if((a=j.isFileList(e))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Bo(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),Fb(e)):e}],transformResponse:[function(e){const n=this.transitional||va.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(e&&j.isString(e)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(a){if(s)throw a.name==="SyntaxError"?Ee.from(a,Ee.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ut.classes.FormData,Blob:Ut.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],t=>{va.headers[t]={}});const ma=va,zb=j.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"]),Qb=t=>{const e={};let n,r,i;return t&&t.split(`
97
+ `).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||e[n]&&zb[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},Cc=Symbol("internals");function Or(t){return t&&String(t).trim().toLowerCase()}function Xi(t){return t===!1||t==null?t:j.isArray(t)?t.map(Xi):String(t)}function Vb(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const Wb=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function ss(t,e,n,r,i){if(j.isFunction(r))return r.call(this,e,n);if(i&&(e=n),!!j.isString(e)){if(j.isString(r))return e.indexOf(r)!==-1;if(j.isRegExp(r))return r.test(e)}}function Gb(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function Yb(t,e){const n=j.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(i,o,s){return this[r].call(this,e,i,o,s)},configurable:!0})})}class jo{constructor(e){e&&this.set(e)}set(e,n,r){const i=this;function o(a,l,c){const f=Or(l);if(!f)throw new Error("header name must be a non-empty string");const d=j.findKey(i,f);(!d||i[d]===void 0||c===!0||c===void 0&&i[d]!==!1)&&(i[d||l]=Xi(a))}const s=(a,l)=>j.forEach(a,(c,f)=>o(c,f,l));return j.isPlainObject(e)||e instanceof this.constructor?s(e,n):j.isString(e)&&(e=e.trim())&&!Wb(e)?s(Qb(e),n):e!=null&&o(n,e,r),this}get(e,n){if(e=Or(e),e){const r=j.findKey(this,e);if(r){const i=this[r];if(!n)return i;if(n===!0)return Vb(i);if(j.isFunction(n))return n.call(this,i,r);if(j.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Or(e),e){const r=j.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||ss(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let i=!1;function o(s){if(s=Or(s),s){const a=j.findKey(r,s);a&&(!n||ss(r,r[a],a,n))&&(delete r[a],i=!0)}}return j.isArray(e)?e.forEach(o):o(e),i}clear(e){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!e||ss(this,this[o],o,e,!0))&&(delete this[o],i=!0)}return i}normalize(e){const n=this,r={};return j.forEach(this,(i,o)=>{const s=j.findKey(r,o);if(s){n[s]=Xi(i),delete n[o];return}const a=e?Gb(o):String(o).trim();a!==o&&delete n[o],n[a]=Xi(i),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return j.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=e&&j.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
98
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(i=>r.set(i)),r}static accessor(e){const r=(this[Cc]=this[Cc]={accessors:{}}).accessors,i=this.prototype;function o(s){const a=Or(s);r[a]||(Yb(i,s),r[a]=!0)}return j.isArray(e)?e.forEach(o):o(e),this}}jo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(jo.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});j.freezeMethods(jo);const Xt=jo;function as(t,e){const n=this||ma,r=e||n,i=Xt.from(r.headers);let o=r.data;return j.forEach(t,function(a){o=a.call(n,o,i.normalize(),e?e.status:void 0)}),i.normalize(),o}function Wf(t){return!!(t&&t.__CANCEL__)}function li(t,e,n){Ee.call(this,t??"canceled",Ee.ERR_CANCELED,e,n),this.name="CanceledError"}j.inherits(li,Ee,{__CANCEL__:!0});function Kb(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new Ee("Request failed with status code "+n.status,[Ee.ERR_BAD_REQUEST,Ee.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Zb=Ut.isStandardBrowserEnv?function(){return{write:function(n,r,i,o,s,a){const l=[];l.push(n+"="+encodeURIComponent(r)),j.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),j.isString(o)&&l.push("path="+o),j.isString(s)&&l.push("domain="+s),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function qb(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Jb(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function Gf(t,e){return t&&!qb(e)?Jb(t,e):e}const Xb=Ut.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(o){let s=o;return e&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){const a=j.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function _b(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function $b(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i=0,o=0,s;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),f=r[o];s||(s=c),n[i]=l,r[i]=c;let d=o,h=0;for(;d!==i;)h+=n[d++],d=d%t;if(i=(i+1)%t,i===o&&(o=(o+1)%t),c-s<e)return;const g=f&&c-f;return g?Math.round(h*1e3/g):void 0}}function Ec(t,e){let n=0;const r=$b(50,250);return i=>{const o=i.loaded,s=i.lengthComputable?i.total:void 0,a=o-n,l=r(a),c=o<=s;n=o;const f={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&c?(s-o)/l:void 0,event:i};f[e?"download":"upload"]=!0,t(f)}}const ew=typeof XMLHttpRequest<"u",tw=ew&&function(t){return new Promise(function(n,r){let i=t.data;const o=Xt.from(t.headers).normalize(),s=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}let c;j.isFormData(i)&&(Ut.isStandardBrowserEnv||Ut.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.getContentType(/^\s*multipart\/form-data/)?j.isString(c=o.getContentType())&&o.setContentType(c.replace(/^\s*(multipart\/form-data);+/,"$1")):o.setContentType("multipart/form-data"));let f=new XMLHttpRequest;if(t.auth){const v=t.auth.username||"",p=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(v+":"+p))}const d=Gf(t.baseURL,t.url);f.open(t.method.toUpperCase(),zf(d,t.params,t.paramsSerializer),!0),f.timeout=t.timeout;function h(){if(!f)return;const v=Xt.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),w={data:!s||s==="text"||s==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:v,config:t,request:f};Kb(function(b){n(b),l()},function(b){r(b),l()},w),f=null}if("onloadend"in f?f.onloadend=h:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(h)},f.onabort=function(){f&&(r(new Ee("Request aborted",Ee.ECONNABORTED,t,f)),f=null)},f.onerror=function(){r(new Ee("Network Error",Ee.ERR_NETWORK,t,f)),f=null},f.ontimeout=function(){let p=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const w=t.transitional||Qf;t.timeoutErrorMessage&&(p=t.timeoutErrorMessage),r(new Ee(p,w.clarifyTimeoutError?Ee.ETIMEDOUT:Ee.ECONNABORTED,t,f)),f=null},Ut.isStandardBrowserEnv){const v=(t.withCredentials||Xb(d))&&t.xsrfCookieName&&Zb.read(t.xsrfCookieName);v&&o.set(t.xsrfHeaderName,v)}i===void 0&&o.setContentType(null),"setRequestHeader"in f&&j.forEach(o.toJSON(),function(p,w){f.setRequestHeader(w,p)}),j.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),s&&s!=="json"&&(f.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&f.addEventListener("progress",Ec(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",Ec(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=v=>{f&&(r(!v||v.type?new li(null,t,f):v),f.abort(),f=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const g=_b(d);if(g&&Ut.protocols.indexOf(g)===-1){r(new Ee("Unsupported protocol "+g+":",Ee.ERR_BAD_REQUEST,t));return}f.send(i||null)})},Ws={http:Ob,xhr:tw};j.forEach(Ws,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Sc=t=>`- ${t}`,nw=t=>j.isFunction(t)||t===null||t===!1,Yf={getAdapter:t=>{t=j.isArray(t)?t:[t];const{length:e}=t;let n,r;const i={};for(let o=0;o<e;o++){n=t[o];let s;if(r=n,!nw(n)&&(r=Ws[(s=String(n)).toLowerCase()],r===void 0))throw new Ee(`Unknown adapter '${s}'`);if(r)break;i[s||"#"+o]=r}if(!r){const o=Object.entries(i).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=e?o.length>1?`since :
99
+ `+o.map(Sc).join(`
100
+ `):" "+Sc(o[0]):"as no adapter specified";throw new Ee("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Ws};function ls(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new li(null,t)}function Ac(t){return ls(t),t.headers=Xt.from(t.headers),t.data=as.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Yf.getAdapter(t.adapter||ma.adapter)(t).then(function(r){return ls(t),r.data=as.call(t,t.transformResponse,r),r.headers=Xt.from(r.headers),r},function(r){return Wf(r)||(ls(t),r&&r.response&&(r.response.data=as.call(t,t.transformResponse,r.response),r.response.headers=Xt.from(r.response.headers))),Promise.reject(r)})}const Lc=t=>t instanceof Xt?t.toJSON():t;function sr(t,e){e=e||{};const n={};function r(c,f,d){return j.isPlainObject(c)&&j.isPlainObject(f)?j.merge.call({caseless:d},c,f):j.isPlainObject(f)?j.merge({},f):j.isArray(f)?f.slice():f}function i(c,f,d){if(j.isUndefined(f)){if(!j.isUndefined(c))return r(void 0,c,d)}else return r(c,f,d)}function o(c,f){if(!j.isUndefined(f))return r(void 0,f)}function s(c,f){if(j.isUndefined(f)){if(!j.isUndefined(c))return r(void 0,c)}else return r(void 0,f)}function a(c,f,d){if(d in e)return r(c,f);if(d in t)return r(void 0,c)}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,f)=>i(Lc(c),Lc(f),!0)};return j.forEach(Object.keys(Object.assign({},t,e)),function(f){const d=l[f]||i,h=d(t[f],e[f],f);j.isUndefined(h)&&d!==a||(n[f]=h)}),n}const Kf="1.5.1",ya={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{ya[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const xc={};ya.transitional=function(e,n,r){function i(o,s){return"[Axios v"+Kf+"] Transitional option '"+o+"'"+s+(r?". "+r:"")}return(o,s,a)=>{if(e===!1)throw new Ee(i(s," has been removed"+(n?" in "+n:"")),Ee.ERR_DEPRECATED);return n&&!xc[s]&&(xc[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(o,s,a):!0}};function rw(t,e,n){if(typeof t!="object")throw new Ee("options must be an object",Ee.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const o=r[i],s=e[o];if(s){const a=t[o],l=a===void 0||s(a,o,t);if(l!==!0)throw new Ee("option "+o+" must be "+l,Ee.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ee("Unknown option "+o,Ee.ERR_BAD_OPTION)}}const Gs={assertOptions:rw,validators:ya},nn=Gs.validators;class Eo{constructor(e){this.defaults=e,this.interceptors={request:new wc,response:new wc}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=sr(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&Gs.assertOptions(r,{silentJSONParsing:nn.transitional(nn.boolean),forcedJSONParsing:nn.transitional(nn.boolean),clarifyTimeoutError:nn.transitional(nn.boolean)},!1),i!=null&&(j.isFunction(i)?n.paramsSerializer={serialize:i}:Gs.assertOptions(i,{encode:nn.function,serialize:nn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=o&&j.merge(o.common,o[n.method]);o&&j.forEach(["delete","get","head","post","put","patch","common"],v=>{delete o[v]}),n.headers=Xt.concat(s,o);const a=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(l=l&&p.synchronous,a.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let f,d=0,h;if(!l){const v=[Ac.bind(this),void 0];for(v.unshift.apply(v,a),v.push.apply(v,c),h=v.length,f=Promise.resolve(n);d<h;)f=f.then(v[d++],v[d++]);return f}h=a.length;let g=n;for(d=0;d<h;){const v=a[d++],p=a[d++];try{g=v(g)}catch(w){p.call(this,w);break}}try{f=Ac.call(this,g)}catch(v){return Promise.reject(v)}for(d=0,h=c.length;d<h;)f=f.then(c[d++],c[d++]);return f}getUri(e){e=sr(this.defaults,e);const n=Gf(e.baseURL,e.url);return zf(n,e.params,e.paramsSerializer)}}j.forEach(["delete","get","head","options"],function(e){Eo.prototype[e]=function(n,r){return this.request(sr(r||{},{method:e,url:n,data:(r||{}).data}))}});j.forEach(["post","put","patch"],function(e){function n(r){return function(o,s,a){return this.request(sr(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:s}))}}Eo.prototype[e]=n(),Eo.prototype[e+"Form"]=n(!0)});const _i=Eo;class ba{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(a=>{r.subscribe(a),o=a}).then(i);return s.cancel=function(){r.unsubscribe(o)},s},e(function(o,s,a){r.reason||(r.reason=new li(o,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new ba(function(i){e=i}),cancel:e}}}const iw=ba;function ow(t){return function(n){return t.apply(null,n)}}function sw(t){return j.isObject(t)&&t.isAxiosError===!0}const Ys={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(Ys).forEach(([t,e])=>{Ys[e]=t});const aw=Ys;function Zf(t){const e=new _i(t),n=Pf(_i.prototype.request,e);return j.extend(n,_i.prototype,e,{allOwnKeys:!0}),j.extend(n,e,null,{allOwnKeys:!0}),n.create=function(i){return Zf(sr(t,i))},n}const qe=Zf(ma);qe.Axios=_i;qe.CanceledError=li;qe.CancelToken=iw;qe.isCancel=Wf;qe.VERSION=Kf;qe.toFormData=Bo;qe.AxiosError=Ee;qe.Cancel=qe.CanceledError;qe.all=function(e){return Promise.all(e)};qe.spread=ow;qe.isAxiosError=sw;qe.mergeConfig=sr;qe.AxiosHeaders=Xt;qe.formToJSON=t=>Vf(j.isHTMLForm(t)?new FormData(t):t);qe.getAdapter=Yf.getAdapter;qe.HttpStatusCode=aw;qe.default=qe;const lw=qe,ri=lw.create({baseURL:"https://ecomgate.omnic.solutions/api/1.0.0/type-1/public/"}),cw=512;var Kt=(t=>(t[t.All=0]="All",t[t.PickPoint=20]="PickPoint",t[t.PostOffice=30]="PostOffice",t))(Kt||{}),Rt=(t=>(t[t.PayByCash=0]="PayByCash",t[t.DressingRoom=1]="DressingRoom",t[t.CheckOrder=2]="CheckOrder",t))(Rt||{}),It=(t=>(t[t.Return=0]="Return",t[t.Payment=1]="Payment",t[t.Shipping=2]="Shipping",t))(It||{});const uw={[Rt.CheckOrder]:["is_check_order","is_delivery"],[Rt.DressingRoom]:["is_dressing_room","is_delivery"],[Rt.PayByCash]:["pay_by_cash","pay_by_card","is_delivery"]},fw={[It.Return]:["is_pickup"],[It.Shipping]:["is_pickup"],[It.Payment]:["pay_by_cash","pay_by_card","is_pickup"]};async function*Ks({q:t,filter:e,bounds:n}={},{controller:r}={}){const i={status:30,page_size:cw};if(t&&(i.q=t),e!=null&&e.type&&(i.type=e.type),e!=null&&e.receive)for(const[l,c]of Object.entries(e==null?void 0:e.receive)){if(!c)continue;const f=uw[l];for(const d of f)i[d]=!0}if(e!=null&&e.send)for(const[l,c]of Object.entries(e==null?void 0:e.send)){if(!c)continue;const f=fw[l];for(const d of f)i[d]=!0}n&&(i.start_latitude=n[0][0],i.end_latitude=n[0][1],i.start_longitude=n[1][0],i.end_longitude=n[1][1]);let o=await ri.get("/locations/points",{params:i,signal:r==null?void 0:r.signal}),s=o.data.data.num_pages,a=o.data.data.current_page;for(;a<s;){yield o,i.page=a+1;const l=await ri.get("/locations/points",{params:i,signal:r==null?void 0:r.signal});o.data.data.results=[...o.data.data.results,...l.data.data.results],o=l,a=l.data.data.current_page,s=l.data.data.num_pages}return yield o,o}const Oc=[],Mc=(t,e,n)=>{var i;const r=new AbortController;return t&&((i=Oc.pop())==null||i.abort()),Oc.push(r),async o=>{const s={controller:r};if(!n){const l=await Ks({filter:e},s).next();o(l.value.data);return}for await(const a of Ks({filter:e,bounds:n},s))o(a.data)}},qf="@omnic/widget-locations",wa=(t,e)=>{var n;(n=document.getElementById(qf))==null||n.style.setProperty(t,e)},Pc=t=>{t.stopImmediatePropagation()};var Jf={},Xf={exports:{}};(function(t){var e=function(n){var r=Object.prototype,i=r.hasOwnProperty,o=Object.defineProperty||function(T,R,k){T[R]=k.value},s,a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(T,R,k){return Object.defineProperty(T,R,{value:k,enumerable:!0,configurable:!0,writable:!0}),T[R]}try{d({},"")}catch{d=function(R,k,H){return R[k]=H}}function h(T,R,k,H){var z=R&&R.prototype instanceof m?R:m,Q=Object.create(z.prototype),_=new Z(H||[]);return o(Q,"_invoke",{value:D(T,k,_)}),Q}n.wrap=h;function g(T,R,k){try{return{type:"normal",arg:T.call(R,k)}}catch(H){return{type:"throw",arg:H}}}var v="suspendedStart",p="suspendedYield",w="executing",S="completed",b={};function m(){}function x(){}function C(){}var y={};d(y,l,function(){return this});var E=Object.getPrototypeOf,L=E&&E(E(F([])));L&&L!==r&&i.call(L,l)&&(y=L);var I=C.prototype=m.prototype=Object.create(y);x.prototype=C,o(I,"constructor",{value:C,configurable:!0}),o(C,"constructor",{value:x,configurable:!0}),x.displayName=d(C,f,"GeneratorFunction");function M(T){["next","throw","return"].forEach(function(R){d(T,R,function(k){return this._invoke(R,k)})})}n.isGeneratorFunction=function(T){var R=typeof T=="function"&&T.constructor;return R?R===x||(R.displayName||R.name)==="GeneratorFunction":!1},n.mark=function(T){return Object.setPrototypeOf?Object.setPrototypeOf(T,C):(T.__proto__=C,d(T,f,"GeneratorFunction")),T.prototype=Object.create(I),T},n.awrap=function(T){return{__await:T}};function O(T,R){function k(Q,_,P,W){var q=g(T[Q],T,_);if(q.type==="throw")W(q.arg);else{var Y=q.arg,te=Y.value;return te&&typeof te=="object"&&i.call(te,"__await")?R.resolve(te.__await).then(function(re){k("next",re,P,W)},function(re){k("throw",re,P,W)}):R.resolve(te).then(function(re){Y.value=re,P(Y)},function(re){return k("throw",re,P,W)})}}var H;function z(Q,_){function P(){return new R(function(W,q){k(Q,_,W,q)})}return H=H?H.then(P,P):P()}o(this,"_invoke",{value:z})}M(O.prototype),d(O.prototype,c,function(){return this}),n.AsyncIterator=O,n.async=function(T,R,k,H,z){z===void 0&&(z=Promise);var Q=new O(h(T,R,k,H),z);return n.isGeneratorFunction(R)?Q:Q.next().then(function(_){return _.done?_.value:Q.next()})};function D(T,R,k){var H=v;return function(Q,_){if(H===w)throw new Error("Generator is already running");if(H===S){if(Q==="throw")throw _;return K()}for(k.method=Q,k.arg=_;;){var P=k.delegate;if(P){var W=B(P,k);if(W){if(W===b)continue;return W}}if(k.method==="next")k.sent=k._sent=k.arg;else if(k.method==="throw"){if(H===v)throw H=S,k.arg;k.dispatchException(k.arg)}else k.method==="return"&&k.abrupt("return",k.arg);H=w;var q=g(T,R,k);if(q.type==="normal"){if(H=k.done?S:p,q.arg===b)continue;return{value:q.arg,done:k.done}}else q.type==="throw"&&(H=S,k.method="throw",k.arg=q.arg)}}}function B(T,R){var k=R.method,H=T.iterator[k];if(H===s)return R.delegate=null,k==="throw"&&T.iterator.return&&(R.method="return",R.arg=s,B(T,R),R.method==="throw")||k!=="return"&&(R.method="throw",R.arg=new TypeError("The iterator does not provide a '"+k+"' method")),b;var z=g(H,T.iterator,R.arg);if(z.type==="throw")return R.method="throw",R.arg=z.arg,R.delegate=null,b;var Q=z.arg;if(!Q)return R.method="throw",R.arg=new TypeError("iterator result is not an object"),R.delegate=null,b;if(Q.done)R[T.resultName]=Q.value,R.next=T.nextLoc,R.method!=="return"&&(R.method="next",R.arg=s);else return Q;return R.delegate=null,b}M(I),d(I,f,"Generator"),d(I,l,function(){return this}),d(I,"toString",function(){return"[object Generator]"});function N(T){var R={tryLoc:T[0]};1 in T&&(R.catchLoc=T[1]),2 in T&&(R.finallyLoc=T[2],R.afterLoc=T[3]),this.tryEntries.push(R)}function V(T){var R=T.completion||{};R.type="normal",delete R.arg,T.completion=R}function Z(T){this.tryEntries=[{tryLoc:"root"}],T.forEach(N,this),this.reset(!0)}n.keys=function(T){var R=Object(T),k=[];for(var H in R)k.push(H);return k.reverse(),function z(){for(;k.length;){var Q=k.pop();if(Q in R)return z.value=Q,z.done=!1,z}return z.done=!0,z}};function F(T){if(T){var R=T[l];if(R)return R.call(T);if(typeof T.next=="function")return T;if(!isNaN(T.length)){var k=-1,H=function z(){for(;++k<T.length;)if(i.call(T,k))return z.value=T[k],z.done=!1,z;return z.value=s,z.done=!0,z};return H.next=H}}return{next:K}}n.values=F;function K(){return{value:s,done:!0}}return Z.prototype={constructor:Z,reset:function(T){if(this.prev=0,this.next=0,this.sent=this._sent=s,this.done=!1,this.delegate=null,this.method="next",this.arg=s,this.tryEntries.forEach(V),!T)for(var R in this)R.charAt(0)==="t"&&i.call(this,R)&&!isNaN(+R.slice(1))&&(this[R]=s)},stop:function(){this.done=!0;var T=this.tryEntries[0],R=T.completion;if(R.type==="throw")throw R.arg;return this.rval},dispatchException:function(T){if(this.done)throw T;var R=this;function k(W,q){return Q.type="throw",Q.arg=T,R.next=W,q&&(R.method="next",R.arg=s),!!q}for(var H=this.tryEntries.length-1;H>=0;--H){var z=this.tryEntries[H],Q=z.completion;if(z.tryLoc==="root")return k("end");if(z.tryLoc<=this.prev){var _=i.call(z,"catchLoc"),P=i.call(z,"finallyLoc");if(_&&P){if(this.prev<z.catchLoc)return k(z.catchLoc,!0);if(this.prev<z.finallyLoc)return k(z.finallyLoc)}else if(_){if(this.prev<z.catchLoc)return k(z.catchLoc,!0)}else if(P){if(this.prev<z.finallyLoc)return k(z.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(T,R){for(var k=this.tryEntries.length-1;k>=0;--k){var H=this.tryEntries[k];if(H.tryLoc<=this.prev&&i.call(H,"finallyLoc")&&this.prev<H.finallyLoc){var z=H;break}}z&&(T==="break"||T==="continue")&&z.tryLoc<=R&&R<=z.finallyLoc&&(z=null);var Q=z?z.completion:{};return Q.type=T,Q.arg=R,z?(this.method="next",this.next=z.finallyLoc,b):this.complete(Q)},complete:function(T,R){if(T.type==="throw")throw T.arg;return T.type==="break"||T.type==="continue"?this.next=T.arg:T.type==="return"?(this.rval=this.arg=T.arg,this.method="return",this.next="end"):T.type==="normal"&&R&&(this.next=R),b},finish:function(T){for(var R=this.tryEntries.length-1;R>=0;--R){var k=this.tryEntries[R];if(k.finallyLoc===T)return this.complete(k.completion,k.afterLoc),V(k),b}},catch:function(T){for(var R=this.tryEntries.length-1;R>=0;--R){var k=this.tryEntries[R];if(k.tryLoc===T){var H=k.completion;if(H.type==="throw"){var z=H.arg;V(k)}return z}}throw new Error("illegal catch attempt")},delegateYield:function(T,R,k){return this.delegate={iterator:F(T),resultName:R,nextLoc:k},this.method==="next"&&(this.arg=s),b}},n}(t.exports);try{regeneratorRuntime=e}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}})(Xf);var dw=Xf.exports;(function(t){var e=dw;function n(v,p,w,S,b,m,x){try{var C=v[m](x),y=C.value}catch(E){return void w(E)}C.done?p(y):Promise.resolve(y).then(S,b)}function r(v){return function(){var p=this,w=arguments;return new Promise(function(S,b){var m=v.apply(p,w);function x(y){n(m,S,b,x,C,"next",y)}function C(y){n(m,S,b,x,C,"throw",y)}x(void 0)})}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=!1,o=null,s="en",a=null,l=null,c="https://maps.googleapis.com/maps/api/geocode/json";function f(v){var p=arguments.length>1&&arguments[1]!==void 0&&arguments[1];i&&(p?console.warn(v):console.log(v))}function d(v){return h.apply(this,arguments)}function h(){return(h=r(e.mark(function v(p){var w,S;return e.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,fetch(p).catch(function(){return Promise.reject(new Error("Error fetching data"))});case 2:return w=b.sent,b.next=5,w.json().catch(function(){return f("Error parsing server response"),Promise.reject(new Error("Error parsing server response"))});case 5:if((S=b.sent).status!=="OK"){b.next=9;break}return f(S),b.abrupt("return",S);case 9:return f("".concat(S.error_message,`.
101
+ Server returned status code `).concat(S.status),!0),b.abrupt("return",Promise.reject(new Error("".concat(S.error_message,`.
102
+ Server returned status code `).concat(S.status))));case 11:case"end":return b.stop()}},v)}))).apply(this,arguments)}var g={setApiKey:function(v){o=v},setLanguage:function(v){s=v},setRegion:function(v){a=v},setLocationType:function(v){l=v},enableDebug:function(){var v=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];i=v},fromLatLng:function(v,p,w,S,b,m){return r(e.mark(function x(){var C,y;return e.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(v&&p){E.next=3;break}return f("Provided coordinates are invalid",!0),E.abrupt("return",Promise.reject(new Error("Provided coordinates are invalid")));case 3:return C="".concat(v,",").concat(p),y="".concat(c,"?latlng=").concat(encodeURIComponent(C)),(w||o)&&(y+="&key=".concat(o=w||o)),(S||s)&&(y+="&language=".concat(s=S||s)),(b||a)&&(a=b||a,y+="&region=".concat(encodeURIComponent(a))),(m||l)&&(l=m||l,y+="&location_type=".concat(encodeURIComponent(l))),E.abrupt("return",d(y));case 9:case"end":return E.stop()}},x)}))()},fromAddress:function(v,p,w,S){return r(e.mark(function b(){var m;return e.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(v){x.next=3;break}return f("Provided address is invalid",!0),x.abrupt("return",Promise.reject(new Error("Provided address is invalid")));case 3:return m="".concat(c,"?address=").concat(encodeURIComponent(v)),(p||o)&&(m+="&key=".concat(o=p||o)),(w||s)&&(m+="&language=".concat(s=w||s)),(S||a)&&(a=S||a,m+="&region=".concat(encodeURIComponent(a))),x.abrupt("return",d(m));case 8:case"end":return x.stop()}},b)}))()}};t.default=g})(Jf);const So=xo(Jf),ii=async(t,e="ROOFTOP")=>{var i;So.setLocationType(e);const n=await So.fromLatLng(t[0].toString(),t[1].toString()),r=(i=n.results)==null?void 0:i.map(o=>{var l,c;const s=(l=o.geometry)==null?void 0:l.viewport,a=(c=o.geometry)==null?void 0:c.location;return{...o,geometry:{...o.geometry,viewport:new google.maps.LatLngBounds(s.southwest,s.northeast),location:new google.maps.LatLng(a)}}});return{...n,results:r}},_f=(t,e)=>{if(!navigator.geolocation){e==null||e(new GeolocationPositionError),console.error("Geolocation is not supported by your browser");return}navigator.geolocation.getCurrentPosition(t,e,{maximumAge:6e4,timeout:5e3,enableHighAccuracy:!0})},hw=t=>t.status===200,pw={points:[],error:!1,loaded:!1,loading:!1,reloading:!1},zt=pn()((t,e)=>({...pw,async loadNext(n,r){const i=e().reloading;t({error:!1,reloading:!0}),Ve.getState().setBounds(n);let o=0;try{await Mc(i,r,n)(a=>{t(o===0?{points:a.data.results}:{points:[...e().points,...a.data.results]}),o++})}catch{t({error:!0})}finally{t({reloading:!1})}},async loadFirst(n){const r=e().loading,i=Ve.getState().bounds;t({error:!1,loading:!0});let o=0;try{await Mc(r,n,i)(a=>{o>=1&&t({loading:!1,loaded:!0}),t(o===0?{points:a.data.results}:{points:[...e().points,...a.data.results]}),o++}),t({loading:!1,loaded:!0})}catch{t({error:!0,loading:!1})}finally{t({loading:!1})}}})),gw={query:"",type:Kt.All,hours:["08:00","22:00"],send:{[It.Return]:!1,[It.Payment]:!1,[It.Shipping]:!1},receive:{[Rt.PayByCash]:!1,[Rt.CheckOrder]:!1,[Rt.DressingRoom]:!1}},Bn=pn(t=>({...gw,setFilter(e){Ve.getState().setDetailsOpen(!1),yt.getState().setCourierPoint(null),kt.getState().setSelectedPoint(null),t(e)}})),vw=()=>{u.useEffect(()=>{zt.getState().loadFirst();const t=Bn.subscribe(e=>{zt.getState().loadFirst(e)});return()=>{t()}},[])},Mr=".",Ca=Symbol("target"),$f=Symbol("unsubscribe");function Zs(t){return t instanceof Date||t instanceof Set||t instanceof Map||t instanceof WeakSet||t instanceof WeakMap||ArrayBuffer.isView(t)}function mw(t){return(typeof t=="object"?t===null:typeof t!="function")||t instanceof RegExp}const Nt=Array.isArray;function Ea(t){return typeof t=="symbol"}const Ct={after:(t,e)=>Nt(t)?t.slice(e.length):e===""?t:t.slice(e.length+1),concat:(t,e)=>Nt(t)?(t=[...t],e&&t.push(e),t):e&&e.toString!==void 0?(t!==""&&(t+=Mr),Ea(e)?t+e.toString():t+e):t,initial:t=>{if(Nt(t))return t.slice(0,-1);if(t==="")return t;const e=t.lastIndexOf(Mr);return e===-1?"":t.slice(0,e)},last:t=>{if(Nt(t))return t[t.length-1]||"";if(t==="")return t;const e=t.lastIndexOf(Mr);return e===-1?t:t.slice(e+1)},walk:(t,e)=>{if(Nt(t))for(const n of t)e(n);else if(t!==""){let n=0,r=t.indexOf(Mr);if(r===-1)e(t);else for(;n<t.length;)r===-1&&(r=t.length),e(t.slice(n,r)),n=r+1,r=t.indexOf(Mr,n)}},get(t,e){return this.walk(e,n=>{t&&(t=t[n])}),t}};function yw(t){return typeof t=="object"&&typeof t.next=="function"}function bw(t,e,n,r,i){const o=t.next;if(e.name==="entries")t.next=function(){const s=o.call(this);return s.done===!1&&(s.value[0]=i(s.value[0],e,s.value[0],r),s.value[1]=i(s.value[1],e,s.value[0],r)),s};else if(e.name==="values"){const s=n[Ca].keys();t.next=function(){const a=o.call(this);return a.done===!1&&(a.value=i(a.value,e,s.next().value,r)),a}}else t.next=function(){const s=o.call(this);return s.done===!1&&(s.value=i(s.value,e,s.value,r)),s};return t}function Dc(t,e,n){return t.isUnsubscribed||e.ignoreSymbols&&Ea(n)||e.ignoreUnderscores&&n.charAt(0)==="_"||"ignoreKeys"in e&&e.ignoreKeys.includes(n)}class ww{constructor(e){this._equals=e,this._proxyCache=new WeakMap,this._pathCache=new WeakMap,this.isUnsubscribed=!1}_getDescriptorCache(){return this._descriptorCache===void 0&&(this._descriptorCache=new WeakMap),this._descriptorCache}_getProperties(e){const n=this._getDescriptorCache();let r=n.get(e);return r===void 0&&(r={},n.set(e,r)),r}_getOwnPropertyDescriptor(e,n){if(this.isUnsubscribed)return Reflect.getOwnPropertyDescriptor(e,n);const r=this._getProperties(e);let i=r[n];return i===void 0&&(i=Reflect.getOwnPropertyDescriptor(e,n),r[n]=i),i}getProxy(e,n,r,i){if(this.isUnsubscribed)return e;const o=e[i],s=o||e;this._pathCache.set(s,n);let a=this._proxyCache.get(s);return a===void 0&&(a=o===void 0?new Proxy(e,r):e,this._proxyCache.set(s,a)),a}getPath(e){return this.isUnsubscribed?void 0:this._pathCache.get(e)}isDetached(e,n){return!Object.is(e,Ct.get(n,this.getPath(e)))}defineProperty(e,n,r){return Reflect.defineProperty(e,n,r)?(this.isUnsubscribed||(this._getProperties(e)[n]=r),!0):!1}setProperty(e,n,r,i,o){if(!this._equals(o,r)||!(n in e)){const s=this._getOwnPropertyDescriptor(e,n);return s!==void 0&&"set"in s?Reflect.set(e,n,r,i):Reflect.set(e,n,r)}return!0}deleteProperty(e,n,r){if(Reflect.deleteProperty(e,n)){if(!this.isUnsubscribed){const i=this._getDescriptorCache().get(e);i&&(delete i[n],this._pathCache.delete(r))}return!0}return!1}isSameDescriptor(e,n,r){const i=this._getOwnPropertyDescriptor(n,r);return e!==void 0&&i!==void 0&&Object.is(e.value,i.value)&&(e.writable||!1)===(i.writable||!1)&&(e.enumerable||!1)===(i.enumerable||!1)&&(e.configurable||!1)===(i.configurable||!1)&&e.get===i.get&&e.set===i.set}isGetInvariant(e,n){const r=this._getOwnPropertyDescriptor(e,n);return r!==void 0&&r.configurable!==!0&&r.writable!==!0}unsubscribe(){this._descriptorCache=null,this._pathCache=null,this._proxyCache=null,this.isUnsubscribed=!0}}function qs(t){return toString.call(t)==="[object Object]"}function Ti(){return!0}function Gn(t,e){return t.length!==e.length||t.some((n,r)=>e[r]!==n)}const ed=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),Cw=new Set(["concat","includes","indexOf","join","keys","lastIndexOf"]),td={push:Ti,pop:Ti,shift:Ti,unshift:Ti,copyWithin:Gn,reverse:Gn,sort:Gn,splice:Gn,flat:Gn,fill:Gn},Ew=new Set([...ed,...Cw,...Object.keys(td)]);function Bi(t,e){if(t.size!==e.size)return!0;for(const n of t)if(!e.has(n))return!0;return!1}const nd=["keys","values","entries"],rd=new Set(["has","toString"]),id={add:Bi,clear:Bi,delete:Bi,forEach:Bi},Sw=new Set([...rd,...Object.keys(id),...nd]);function ji(t,e){if(t.size!==e.size)return!0;let n;for(const[r,i]of t)if(n=e.get(r),n!==i||n===void 0&&!e.has(r))return!0;return!1}const Aw=new Set([...rd,"get"]),od={set:ji,clear:ji,delete:ji,forEach:ji},Lw=new Set([...Aw,...Object.keys(od),...nd]);class hn{constructor(e,n,r,i){this._path=n,this._isChanged=!1,this._clonedCache=new Set,this._hasOnValidate=i,this._changes=i?[]:null,this.clone=n===void 0?e:this._shallowClone(e)}static isHandledMethod(e){return ed.has(e)}_shallowClone(e){let n=e;if(qs(e))n={...e};else if(Nt(e)||ArrayBuffer.isView(e))n=[...e];else if(e instanceof Date)n=new Date(e);else if(e instanceof Set)n=new Set([...e].map(r=>this._shallowClone(r)));else if(e instanceof Map){n=new Map;for(const[r,i]of e.entries())n.set(r,this._shallowClone(i))}return this._clonedCache.add(n),n}preferredThisArg(e,n,r,i){return e?(Nt(i)?this._onIsChanged=td[n]:i instanceof Set?this._onIsChanged=id[n]:i instanceof Map&&(this._onIsChanged=od[n]),i):r}update(e,n,r){const i=Ct.after(e,this._path);if(n!=="length"){let o=this.clone;Ct.walk(i,s=>{o&&o[s]&&(this._clonedCache.has(o[s])||(o[s]=this._shallowClone(o[s])),o=o[s])}),this._hasOnValidate&&this._changes.push({path:i,property:n,previous:r}),o&&o[n]&&(o[n]=r)}this._isChanged=!0}undo(e){let n;for(let r=this._changes.length-1;r!==-1;r--)n=this._changes[r],Ct.get(e,n.path)[n.property]=n.previous}isChanged(e){return this._onIsChanged===void 0?this._isChanged:this._onIsChanged(this.clone,e)}}class Rc extends hn{static isHandledMethod(e){return Ew.has(e)}}class xw extends hn{undo(e){e.setTime(this.clone.getTime())}isChanged(e,n){return!n(this.clone.valueOf(),e.valueOf())}}class Ic extends hn{static isHandledMethod(e){return Sw.has(e)}undo(e){for(const n of this.clone)e.add(n);for(const n of e)this.clone.has(n)||e.delete(n)}}class kc extends hn{static isHandledMethod(e){return Lw.has(e)}undo(e){for(const[n,r]of this.clone.entries())e.set(n,r);for(const n of e.keys())this.clone.has(n)||e.delete(n)}}class Ow extends hn{constructor(e,n,r,i){super(void 0,n,r,i),this._arg1=r[0],this._weakValue=e.has(this._arg1)}isChanged(e){return this._weakValue!==e.has(this._arg1)}undo(e){this._weakValue&&!e.has(this._arg1)?e.add(this._arg1):e.delete(this._arg1)}}class Mw extends hn{constructor(e,n,r,i){super(void 0,n,r,i),this._weakKey=r[0],this._weakHas=e.has(this._weakKey),this._weakValue=e.get(this._weakKey)}isChanged(e){return this._weakValue!==e.get(this._weakKey)}undo(e){const n=e.has(this._weakKey);this._weakHas&&!n?e.set(this._weakKey,this._weakValue):!this._weakHas&&n?e.delete(this._weakKey):this._weakValue!==e.get(this._weakKey)&&e.set(this._weakKey,this._weakValue)}}class Mn{constructor(e){this._stack=[],this._hasOnValidate=e}static isHandledType(e){return qs(e)||Nt(e)||Zs(e)}static isHandledMethod(e,n){return qs(e)?hn.isHandledMethod(n):Nt(e)?Rc.isHandledMethod(n):e instanceof Set?Ic.isHandledMethod(n):e instanceof Map?kc.isHandledMethod(n):Zs(e)}get isCloning(){return this._stack.length>0}start(e,n,r){let i=hn;Nt(e)?i=Rc:e instanceof Date?i=xw:e instanceof Set?i=Ic:e instanceof Map?i=kc:e instanceof WeakSet?i=Ow:e instanceof WeakMap&&(i=Mw),this._stack.push(new i(e,n,r,this._hasOnValidate))}update(e,n,r){this._stack[this._stack.length-1].update(e,n,r)}preferredThisArg(e,n,r){const{name:i}=e,o=Mn.isHandledMethod(r,i);return this._stack[this._stack.length-1].preferredThisArg(o,i,n,r)}isChanged(e,n,r){return this._stack[this._stack.length-1].isChanged(e,n,r)}undo(e){this._previousClone!==void 0&&this._previousClone.undo(e)}stop(){return this._previousClone=this._stack.pop(),this._previousClone.clone}}const Pw={equals:Object.is,isShallow:!1,pathAsArray:!1,ignoreSymbols:!1,ignoreUnderscores:!1,ignoreDetached:!1,details:!1},Kr=(t,e,n={})=>{n={...Pw,...n};const r=Symbol("ProxyTarget"),{equals:i,isShallow:o,ignoreDetached:s,details:a}=n,l=new ww(i),c=typeof n.onValidate=="function",f=new Mn(c),d=(b,m,x,C,y)=>!c||f.isCloning||n.onValidate(Ct.concat(l.getPath(b),m),x,C,y)===!0,h=(b,m,x,C)=>{!Dc(l,n,m)&&!(s&&l.isDetached(b,t))&&g(l.getPath(b),m,x,C)},g=(b,m,x,C,y)=>{f.isCloning?f.update(b,m,C):e(Ct.concat(b,m),x,C,y)},v=b=>b&&(b[r]||b),p=(b,m,x,C)=>mw(b)||x==="constructor"||o&&!Mn.isHandledMethod(m,x)||Dc(l,n,x)||l.isGetInvariant(m,x)||s&&l.isDetached(m,t)?b:(C===void 0&&(C=l.getPath(m)),l.getProxy(b,Ct.concat(C,x),w,r)),w={get(b,m,x){if(Ea(m)){if(m===r||m===Ca)return b;if(m===$f&&!l.isUnsubscribed&&l.getPath(b).length===0)return l.unsubscribe(),b}const C=Zs(b)?Reflect.get(b,m):Reflect.get(b,m,x);return p(C,b,m)},set(b,m,x,C){x=v(x);const y=b[r]||b,E=y[m];if(i(E,x)&&m in b)return!0;const L=d(b,m,x,E);return L&&l.setProperty(y,m,x,C,E)?(h(b,m,b[m],E),!0):!L},defineProperty(b,m,x){if(!l.isSameDescriptor(x,b,m)){const C=b[m];d(b,m,x.value,C)&&l.defineProperty(b,m,x,C)&&h(b,m,x.value,C)}return!0},deleteProperty(b,m){if(!Reflect.has(b,m))return!0;const x=Reflect.get(b,m),C=d(b,m,void 0,x);return C&&l.deleteProperty(b,m,x)?(h(b,m,void 0,x),!0):!C},apply(b,m,x){const C=m[r]||m;if(l.isUnsubscribed)return Reflect.apply(b,C,x);if((a===!1||a!==!0&&!a.includes(b.name))&&Mn.isHandledType(C)){let y=Ct.initial(l.getPath(b));const E=Mn.isHandledMethod(C,b.name);f.start(C,y,x);let L=Reflect.apply(b,f.preferredThisArg(b,m,C),E?x.map(O=>v(O)):x);const I=f.isChanged(C,i),M=f.stop();if(Mn.isHandledType(L)&&E&&(m instanceof Map&&b.name==="get"&&(y=Ct.concat(y,x[0])),L=l.getProxy(L,y,w)),I){const O={name:b.name,args:x,result:L},D=f.isCloning?Ct.initial(y):y,B=f.isCloning?Ct.last(y):"";d(Ct.get(t,D),B,C,M,O)?g(D,B,C,M,O):f.undo(C)}return(m instanceof Map||m instanceof Set)&&yw(L)?bw(L,b,m,y,p):L}return Reflect.apply(b,m,x)}},S=l.getProxy(t,n.pathAsArray?[]:"",w);return e=e.bind(S),c&&(n.onValidate=n.onValidate.bind(S)),S};Kr.target=t=>t&&t[Ca]||t;Kr.unsubscribe=t=>t[$f]||t;const Dw=t=>{const e=t??window.OMNIC_WIDGET_LOCATIONS_CONFIG,[n,r]=u.useState({...Ln,...e,map:{...Ln.map,...e==null?void 0:e.map},palette:{...Ln.palette,...e==null?void 0:e.palette}}),i=t&&!window.OMNIC_WIDGET_LOCATIONS_CONFIG,o=!t&&window.OMNIC_WIDGET_LOCATIONS_CONFIG;return u.useEffect(()=>{i&&r({...Ln,...t,map:{...Ln.map,...t.map},palette:{...Ln.palette,...t.palette}})},[t,i]),u.useEffect(()=>{if(o)return window.OMNIC_WIDGET_LOCATIONS_CONFIG=Kr(window.OMNIC_WIDGET_LOCATIONS_CONFIG,function(){const s=Kr.target(this);s.map&&(s.map={...s.map}),s.palette&&(s.palette={...s.palette}),r({...s})}),()=>{window.OMNIC_WIDGET_LOCATIONS_CONFIG&&Kr.unsubscribe(window.OMNIC_WIDGET_LOCATIONS_CONFIG)}},[o]),n},Rw=(t,e)=>{ri.defaults.headers.get.Authorization=`INN ${t}`,e!=null&&e.baseURL&&(ri.defaults.baseURL=e.baseURL)},Iw="Overlay-module__root__y8tkGi",kw={root:Iw},Sa=({children:t,className:e})=>A.jsx("div",{className:Ce(kw.root,e),children:t}),Tw={clickableIcons:!1,disableDefaultUI:!0,minZoom:4,maxZoom:20,restriction:{strictBounds:!0,latLngBounds:{north:85,south:-85,west:-179,east:179}}},sd={optimized:!0},Bw="MapGoogle-module__root__iB2RTt",jw="MapGoogle-module__hideUI__zGYpjY",Nw="MapGoogle-module__mapContainer__qTVsu4",Uw="MapGoogle-module__balloon__nNM3fV",Hw="MapGoogle-module__details__MuhoyT",Fw="MapGoogle-module__cluster__KIS2sn",zw="MapGoogle-module__overlay__z03Yoa",Qw="MapGoogle-module__mapControl__Iu3xc4",Vw="MapGoogle-module__geolocationControl__cwYVsw",Ww="MapGoogle-module__bottomSheet__ql8eoC",Gw="MapGoogle-module__locationViewContent__LYJkkK",Yw="MapGoogle-module__locationViewHeader__hzc7Ip",Kw="MapGoogle-module__courierDetailsViewContent__CIg-RD",Zw="MapGoogle-module__courierDetailsViewHeader__vMFQjI",qw="MapGoogle-module__sheetSubmit__pjGRS0",Xe={root:Bw,hideUI:jw,mapContainer:Nw,balloon:Uw,details:Hw,cluster:Fw,overlay:zw,mapControl:Qw,geolocationControl:Vw,bottomSheet:Ww,locationViewContent:Gw,locationViewHeader:Yw,courierDetailsViewContent:Kw,courierDetailsViewHeader:Zw,sheetSubmit:qw},Jw=({children:t,className:e,onLoad:n,onIdle:r,onUnmount:i})=>{const{map:o,disableCourierDelivery:s,hideMapUI:a}=Lt(),l=Ve(v=>v.setDetailsOpen),c=gn(v=>v.setPlace),f=yt(v=>v.setCourierPoint),d=kt(v=>v.setSelectedPoint),h=u.useMemo(()=>{var v,p;return{lat:((v=o==null?void 0:o.center)==null?void 0:v[0])??ao[0],lng:((p=o==null?void 0:o.center)==null?void 0:p[1])??ao[1]}},[o==null?void 0:o.center]),g=u.useCallback(async v=>{var S;const{latLng:p}=v;if(!p||s)return;l(!1),d(null);const w=[p.lat(),p.lng()];try{const b=await ii(w),m=(S=b==null?void 0:b.results)==null?void 0:S[0],x=m==null?void 0:m.formatted_address;c(m),qt(x,"Address is not defined"),f({address:x,coords:w})}catch{f({address:null,coords:w})}},[s,f,l,c,d]);return A.jsx(Jh,{zoom:o==null?void 0:o.initialZoom,center:h,options:Tw,mapContainerClassName:Ce(Xe.root,e,{[Xe.hideUI]:a}),onLoad:n,onIdle:r,onUnmount:i,onClick:g,children:t})},Xw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAAEICAYAAAAJEPtqAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAADB/SURBVHgB7X1bjCVntd6q6h7b4LEZ22CYGYP7ILBDeDjjy0SWeJh2nvIAPpAIhOGB4QFMlKP4gK3EuUjjIUKyIiyOo0THhihn0AlwBFKwDXIukLgdKZKjsT1DBAYGsHu4zNhcx54xvkzvqqxv7bX+Xru6dnfv3rV37117fVLtqvrrsuuy1vq/tf71/5VRoBEsLi7ueuWVV3adP39+X1mWu/I8X+D51bxpFyZeXsB+WZbt0rI6nOH9zvA+Z7CsZcu8frIoijN8zuPYdvTo0eMUaAQZBQbGTTfdtPDaa68tskD+KQSbp30smAs0XkAJoCzH+f8f42tZDsUYHKEAGwCW/ezZs4ssaAcg6FyEaRdNJlBroJaAIjy0c+fO40tLS2co0BehADW48cYbF3n2ZyrwizTdWDKFeOKJJ5Yo0INQAOpa+RdffPH9sPK8+n6aXAs/LFAbLLFiP3TppZc+GLXDDCuAE/qP0WTTmlHiQSjDU089dYRmFDOnAI7eHKTZFPo6oCZ4kI3Bl2eNJs2EAqi1P+isfaA/ltk4HL7ggguWHn/88WVqOVqtAAhXrqys3B7WfkuQWmHHjh2H26wIrVQA0BwW+kM0/RGcScGRtipCqxQg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RaR3JnuaI2ffyCkLBTz/rugChJtPppBDQkFPvg8W/TuIS96z351DLj5rtmzNyCyndP4154PWE64TY2+7FX2uAFui5THyh3ZwlOlFFObmELwx2OZ+KohmoGp3tq4TaZXMY+Ww8Hl9kgfiFC7iIDJUr2HJLBU5M7fRw5BW5M8oPoj/5M71aT9ycBYE4TF3ZmOpAY6J5fQyd2Gdn8u28vx40hM9jxzz2KbC/bzIO94uOowwy8QobRl/TtdnhJVXWvRTblaFfJaEPW9S6ktB3wqDqgDXQ1b9dTr3DBWE3oNc91zbM4pzLGfKQpzJlnwAyDk5p+tvz+hX+7oq1Dvydz0PQR1TepZTD67nAkwaci4/FMJ8hEp57gV39Ki326Qnc+KFmsMFqciMi1r8nAfNnmgT6v605LeKoAC3hzZlab1seZb8z2/Mpw/z0PESp/KHSq8r2Wx2bAuzegCPM86TEf2u9lnR+pWe7Ab+P+F+j0evxbiPAAAAAElFTkSuQmCC",Ht={PinPvz:Xw,PinHome:_w,PinLocker:$w,PinPvzSelected:eC,PinLockerSelected:tC},ad=28,ld=({children:t,hideFooter:e,minSnapHeight:n,submitDisabled:r,onSubmitClick:i,...o})=>A.jsx(Mf,{...o,expandOnContentDrag:!0,initialFocusRef:!1,defaultSnap:({snapPoints:s})=>Math.min(...s),snapPoints:({headerHeight:s,minHeight:a,footerHeight:l,maxHeight:c})=>[n==null?a:s+l+n,c-ad],footer:e?null:A.jsx(St,{disabled:r,variant:"primary",className:Xe.sheetSubmit,onClick:i,children:A.jsx(Pn,{keyName:"choose",ns:"common"})}),sibling:A.jsx("div",{"data-rsbs-backdrop":"true",onClick:s=>{var a;s.stopPropagation(),s.preventDefault(),(a=o.onDismiss)==null||a.call(o)}}),blocking:!1,children:A.jsx("div",{className:Xe.bottomSheet,children:t})}),cd=t=>ae.createElement("svg",{width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ae.createElement("rect",{width:42,height:42,rx:21,fill:"white"}),ae.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.0035 28.0008V17.7646C31.0035 16.6603 30.3968 15.6453 29.4242 15.1223L22.4206 11.3567C21.5335 10.8798 20.4663 10.8798 19.5793 11.3567L12.5757 15.1223C11.603 15.6453 10.9963 16.6603 10.9963 17.7646V28.0008C10.9963 29.6576 12.3395 31.0008 13.9963 31.0008H19.311C19.3291 31.0012 19.3473 31.0014 19.3654 31.0014H22.634C22.6522 31.0014 22.6703 31.0012 22.6884 31.0008H28.0035C29.6604 31.0008 31.0035 29.6576 31.0035 28.0008ZM25.0841 29.0008H28.0035C28.5558 29.0008 29.0035 28.5531 29.0035 28.0008V17.7646C29.0035 17.3965 28.8013 17.0582 28.4771 16.8838L21.4735 13.1183C21.1778 12.9593 20.8221 12.9593 20.5264 13.1183L13.5228 16.8838C13.1986 17.0582 12.9963 17.3965 12.9963 17.7646V28.0008C12.9963 28.5531 13.4441 29.0008 13.9963 29.0008H16.9153C16.8826 28.8394 16.8654 28.6724 16.8654 28.5014V20.8949C16.8654 19.5142 17.9847 18.3949 19.3654 18.3949H22.634C24.0147 18.3949 25.134 19.5142 25.134 20.8949V28.5014C25.134 28.6724 25.1168 28.8394 25.0841 29.0008ZM22.6583 29.0008C22.9232 28.9881 23.134 28.7694 23.134 28.5014V20.8949C23.134 20.6188 22.9102 20.3949 22.634 20.3949H19.3654C19.0893 20.3949 18.8654 20.6188 18.8654 20.8949V28.5014C18.8654 28.7694 19.0763 28.9881 19.3411 29.0008H22.6583Z",fill:"currentcolor"}),ae.createElement("rect",{x:.5,y:.5,width:41,height:41,rx:20.5,stroke:"#1D3665",strokeOpacity:.1})),nC=t=>ae.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ae.createElement("g",{clipPath:"url(#clip0_422_11470)"},ae.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.0712 3.07116C16.583 2.58301 15.7916 2.58301 15.3034 3.07116L10 8.37456L4.69661 3.07116C4.20845 2.583 3.417 2.583 2.92884 3.07116C2.44069 3.55931 2.44069 4.35077 2.92884 4.83893L8.23224 10.1423L2.92903 15.4455C2.44087 15.9337 2.44087 16.7251 2.92903 17.2133C3.41718 17.7015 4.20864 17.7015 4.69679 17.2133L10 11.9101L15.3032 17.2133C15.7914 17.7015 16.5828 17.7015 17.071 17.2133C17.5591 16.7251 17.5591 15.9337 17.071 15.4455L11.7678 10.1423L17.0712 4.83893C17.5593 4.35078 17.5593 3.55932 17.0712 3.07116Z",fill:"currentcolor"})),ae.createElement("defs",null,ae.createElement("clipPath",{id:"clip0_422_11470"},ae.createElement("rect",{width:20.0004,height:20,fill:"white"})))),rC="CloseButton-module__root__233rOd",iC="CloseButton-module__absolutePositionVariant__MMkQ0-",oC="CloseButton-module__relativePositionVariant__fdYFY4",Tc={root:rC,absolutePositionVariant:iC,relativePositionVariant:oC},ci=({position:t="absolute",className:e,...n})=>A.jsx("div",{...n,className:Ce(Tc.root,e,Tc[`${t}PositionVariant`]),children:A.jsx(nC,{})}),sC="CourierBalloon-module__root__4MUq03",aC="CourierBalloon-module__details__Ji6B9l",lC="CourierBalloon-module__header__SAzGF6",cC="CourierBalloon-module__title__FdGkJ2",uC="CourierBalloon-module__description__Su359i",fC="CourierBalloon-module__actions__zJkpDW",dC="CourierBalloon-module__errorVariant__TjUPgn",hC="CourierBalloon-module__logo__DMba5H",rn={root:sC,details:aC,header:lC,title:cC,description:uC,actions:fC,errorVariant:dC,logo:hC},Js=({SSR:t,variant:e,address:n,className:r,hasCloseButton:i,onDetails:o,onClose:s})=>{const a=e==="error",l=e==="default",c=t?"{ courier_balloon.title }":A.jsx(Pn,{keyName:"title",ns:"courier_balloon"}),f=t?"{ courier_balloon.error_title }":A.jsx(Pn,{keyName:"error_title",ns:"courier_balloon"}),d=t?"{ courier_balloon.error_description }":A.jsx(Pn,{keyName:"error_description",ns:"courier_balloon"});return A.jsxs("div",{className:Ce(rn.root,r,rn[`${e}Variant`]),children:[A.jsxs("div",{className:rn.header,children:[A.jsx(cd,{className:rn.logo}),A.jsx("span",{className:rn.title,children:a?f:c}),i&&A.jsx(ci,{onClick:s})]}),A.jsx("div",{className:rn.description,children:a?d:n||"{{ properties.address }}"}),l&&A.jsx("div",{className:rn.actions,children:A.jsx(St,{id:so,as:"button",variant:"primary",className:rn.details,onClick:o,children:t?"{ details }":A.jsx(Pn,{keyName:"details",ns:"common"})})})]})},ud=({isSelectedPoint:t})=>{const[e,n]=u.useState(!0),r=Ve(i=>i.detailsOpen);return u.useEffect(()=>{n(t?!r:!0)},[r,t]),e},pC="Chip-module__root__A1duWr",gC="Chip-module__active__PmXa7K",Bc={root:pC,active:gC},jc=({active:t,children:e,className:n,...r})=>A.jsx("div",{...r,className:Ce(Bc.root,n,{[Bc.active]:t}),children:e}),vC="TextArea-module__root__l-RDfr",mC={root:vC},Nc=u.forwardRef(({className:t,inputRef:e,onChange:n,onBlur:r,onFocus:i,...o},s)=>{const a=u.useRef(null);u.useImperativeHandle(s,()=>({focus:()=>{var c,f;(c=a.current)==null||c.focus(),i&&i({target:{value:(f=a.current)==null?void 0:f.value}})},blur:()=>{var c,f;(c=a.current)==null||c.blur(),r&&r({target:{value:(f=a.current)==null?void 0:f.value}})},setValue:c=>{n&&n({target:{value:c}}),a.current&&(a.current.value=c)}}),[r,n,i]);const l=Ed(e,a);return A.jsx("textarea",{...o,ref:l,className:Ce(mC.root,t),onBlur:r,onFocus:i,onChange:n})}),yC=({set:t})=>(e,n)=>{let r={...e};switch(n.type){case"SET_COMMENT":{r={...e,comment:n.payload};break}case"SET_DELIVERY_TIME":{r={...e,delivery_time:n.payload};break}case"SET_APARTMENT_NUMBER":{r={...e,apartment_number:n.payload};break}}return t==null||t(r),r},fd=t=>{const{delivery_time:e,apartment_number:n}=t;return!!e&&!!n},bC="CourierDetailsView-module__title__erksdV",wC="CourierDetailsView-module__logo__qYbLKL",CC="CourierDetailsView-module__header__JofwHC",EC="CourierDetailsView-module__content__8xEbUb",SC="CourierDetailsView-module__section__NQlWki",AC="CourierDetailsView-module__chips__T1ep8H",LC="CourierDetailsView-module__actions__IgFrOE",xC="CourierDetailsView-module__submit__Z-6fPa",OC="CourierDetailsView-module__actionsHidden__VfVd-Y",MC="CourierDetailsView-module__commentSection__vN110S",PC="CourierDetailsView-module__comment__rOoPVP",gt={title:bC,logo:wC,header:CC,content:EC,section:SC,chips:AC,actions:LC,submit:xC,actionsHidden:OC,commentSection:MC,comment:PC},DC=({classes:t,location:e,hideActions:n,onClose:r,onChange:i,onSubmit:o})=>{const{inputs:s,locale:a}=Lt(),{t:l}=Tt(["details_modal","courier_balloon","common"]),c=u.useMemo(()=>yC({set:i}),[i]),[f,d]=u.useState(!1),[h,g]=u.useReducer(c,{...e,address:null,comment:"",delivery_time:"",apartment_number:""}),v=async()=>{d(!0);try{qt(e.address,"Address is required");const C=await jd({address:e.address,algorithm:10,service:10,language:a||Mu});if(!hw(C))return;const y=C==null?void 0:C.data.data;o==null||o({...h,address:y})}finally{d(!1)}},p=C=>()=>{g({payload:C,type:"SET_DELIVERY_TIME"})},w=C=>{g({payload:C.target.value,type:"SET_APARTMENT_NUMBER"})},S=C=>{g({payload:C.target.value,type:"SET_COMMENT"})},b=fd(h),m=Ao(s==null?void 0:s.apartment),x=Ao(s==null?void 0:s.comment);return A.jsxs(A.Fragment,{children:[A.jsxs("div",{className:Ce(gt.header,t==null?void 0:t.header),children:[A.jsx(ci,{onClick:r}),A.jsxs("div",{className:gt.title,children:[A.jsx(cd,{className:gt.logo}),A.jsx("span",{children:l("title",{ns:"courier_balloon"})})]})]}),A.jsxs("div",{className:Ce(gt.content,t==null?void 0:t.content),children:[A.jsxs("section",{className:gt.section,children:[A.jsxs("label",{children:[l("address"),":"]}),A.jsx("p",{children:e.address})]}),A.jsxs("section",{className:gt.section,children:[A.jsxs("label",{children:[l("delivery_time"),":"]}),A.jsxs("div",{className:gt.chips,children:[A.jsx(jc,{active:h.delivery_time==="8:00-13:00",onClick:p("8:00-13:00"),children:"8:00 - 13:00"}),A.jsx(jc,{active:h.delivery_time==="14:00-22:00",onClick:p("14:00-22:00"),children:"14:00 - 22:00"})]})]}),A.jsxs("section",{className:gt.section,children:[A.jsxs("label",{children:[l("apartment_number"),":"]}),A.jsx(Nc,{...m,rows:1,onChange:w})]}),A.jsxs("section",{className:Ce(gt.section,gt.commentSection),children:[A.jsxs("label",{children:[l("comment"),":"]}),A.jsx(Nc,{...x,className:gt.comment,onChange:S})]})]}),A.jsx("div",{className:Ce(gt.actions,{[gt.actionsHidden]:n}),children:A.jsx(St,{loading:f,disabled:!b||f,variant:"primary",className:gt.submit,onClick:v,children:l("choose",{ns:"common"})})})]})},dd=u.memo(DC),RC={header:Xe.courierDetailsViewHeader,content:Xe.courierDetailsViewContent},IC=({point:t,setOpenDetails:e,setCourierPoint:n,onPointClick:r})=>{const i=ud({isSelectedPoint:!0}),[o,s]=u.useState({...t,comment:"",delivery_time:"",apartment_number:""});u.useEffect(()=>{s({...t,comment:"",delivery_time:"",apartment_number:""})},[t]);const[a,l]=u.useState(null),c=ui("screenSm"),f={lat:o.coords[0],lng:o.coords[1]},d=()=>{e==null||e(!0)},h=()=>{n==null||n(null)},g={url:Ht.PinHome,scaledSize:new google.maps.Size(...Jt)},v=()=>{r==null||r(o),e==null||e(!1),n==null||n(null)},p=A.jsx(Js,{...o,hasCloseButton:c,variant:o.address?"default":"error",className:Xe.balloon,onDetails:d,onClose:h}),w=fd(o),S=i&&!!(a!=null&&a.getVisible());return A.jsxs(hu,{noClustererRedraw:!0,icon:g,position:f,options:sd,onLoad:l,children:[c&&A.jsxs(ld,{minSnapHeight:o.address?200:void 0,submitDisabled:!w,hideFooter:!o.address,open:S,onDismiss:h,onSubmitClick:v,children:[o.address&&A.jsx(dd,{classes:RC,hideActions:!0,location:t,onChange:s,onClose:h}),!o.address&&p]}),!c&&S&&A.jsx(bu,{onCloseClick:h,children:p})]})},hd=t=>ae.createElement("svg",{width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ae.createElement("rect",{width:42,height:42,rx:21,fill:"white"}),ae.createElement("path",{d:"M7.63362 25C7.33927 25 7.067 24.9259 6.81681 24.7778C6.56662 24.6296 6.36793 24.4296 6.22076 24.1778C6.07359 23.9259 6 23.6519 6 23.3556V18.6444C6 18.3407 6.07359 18.0667 6.22076 17.8222C6.36793 17.5704 6.56662 17.3704 6.81681 17.2222C7.067 17.0741 7.33927 17 7.63362 17H12.3137C12.6081 17 12.8767 17.0741 13.1195 17.2222C13.3697 17.3704 13.5684 17.5704 13.7155 17.8222C13.8701 18.0667 13.9473 18.3407 13.9473 18.6444V23.3556C13.9473 23.6519 13.8701 23.9259 13.7155 24.1778C13.5684 24.4296 13.3697 24.6296 13.1195 24.7778C12.8767 24.9259 12.6081 25 12.3137 25H7.63362ZM7.71089 23.2667H12.2144V18.7333H7.71089V23.2667Z",fill:"black"}),ae.createElement("path",{d:"M15.1629 25V17H16.929L19.6222 20.2333L22.3045 17H24.0816V25H22.3597V19.6333L19.6222 22.9222L16.8738 19.6444V25H15.1629Z",fill:"black"}),ae.createElement("path",{d:"M25.4032 25V17H27.1693L31.6176 22.3333V17H33.3505V25H31.5845L27.1141 19.6444V25H25.4032Z",fill:"black"}),ae.createElement("path",{d:"M34.3112 25V17H36V25H34.3112Z",fill:"black"}),ae.createElement("rect",{x:.5,y:.5,width:41,height:41,rx:20.5,stroke:"#1D3665",strokeOpacity:.1})),kC="LocationView-module__title__QP69kD",TC="LocationView-module__logo__nlPQaG",BC="LocationView-module__header__9DDuVU",jC="LocationView-module__content__Se2TSy",NC="LocationView-module__section__9m1x1v",UC="LocationView-module__chips__6j-ZAh",HC="LocationView-module__services__rwbp2x",FC="LocationView-module__images__zfnQMA",zC="LocationView-module__image__JKvt9J",QC="LocationView-module__actions__AGih3C",VC="LocationView-module__actionsHidden__DBV1vj",WC="LocationView-module__submit__6mD2w-",GC="LocationView-module__scheduleItem__snTLMb",nt={title:kC,logo:TC,header:BC,content:jC,section:NC,chips:UC,services:HC,images:FC,image:zC,actions:QC,actionsHidden:VC,submit:WC,scheduleItem:GC},YC=({location:t,hideActions:e,classes:n,onClose:r,onSubmit:i})=>{const{t:o}=Tt(["details_modal","common"]);return A.jsxs(A.Fragment,{children:[A.jsxs("div",{className:Ce(nt.header,n==null?void 0:n.header),children:[A.jsx(ci,{onClick:r}),A.jsxs("div",{className:nt.title,children:[A.jsx(hd,{className:nt.logo}),A.jsx("span",{children:t.name})]})]}),A.jsxs("div",{className:Ce(nt.content,n==null?void 0:n.content),children:[A.jsxs("section",{className:nt.section,children:[A.jsxs("label",{children:[o("address"),":"]}),A.jsx("p",{children:t.location.full_address})]}),t.schedule.length>0&&A.jsxs("section",{className:nt.section,children:[A.jsxs("label",{children:[o("schedule"),":"]}),t.schedule.map((s,a)=>A.jsx("p",{className:nt.scheduleItem,children:s},a))]}),(t.pay_by_card||t.pay_by_card)&&A.jsxs("section",{className:nt.section,children:[A.jsxs("label",{children:[o("payment_method"),":"]}),A.jsxs("div",{className:nt.chips,children:[t.pay_by_cash&&o("pay_by_cash"),t.pay_by_card&&t.pay_by_cash&&", ",t.pay_by_card&&o("pay_by_card")]})]}),A.jsxs("section",{className:nt.section,children:[A.jsxs("label",{children:[o("services"),":"]}),A.jsxs("div",{className:nt.services,children:[t.is_pickup&&A.jsx("span",{children:o("is_pickup")}),t.is_delivery&&A.jsx("span",{children:o("is_delivery")}),t.is_dressing_room&&A.jsx("span",{children:o("is_dressing_room")}),t.is_check_order&&A.jsx("span",{children:o("is_check_order")})]})]}),A.jsxs("section",{className:nt.section,children:[A.jsxs("label",{children:[o("location"),":"]}),A.jsx("p",{children:t.location_name})]}),t.images.length>0&&A.jsx("section",{className:nt.images,children:t.images.map(s=>A.jsx("img",{src:s,alt:t.name,className:nt.image},s))})]}),A.jsx("div",{className:Ce(nt.actions,{[nt.actionsHidden]:e}),children:A.jsx(St,{variant:"primary",className:nt.submit,onClick:i,children:o("choose",{ns:"common"})})})]})},pd=u.memo(YC),KC=t=>ae.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ae.createElement("path",{d:"M12.5 8.00003C12.5 8.28678 12.392 8.5735 12.1763 8.79212L5.38748 15.6718C4.95562 16.1094 4.25544 16.1094 3.82376 15.6718C3.39208 15.2343 3.39208 14.5249 3.82376 14.0872L9.83091 8.00003L3.82397 1.91279C3.39229 1.47515 3.39229 0.765811 3.82397 0.328387C4.25565 -0.109461 4.95583 -0.109461 5.38769 0.328387L12.1765 7.20793C12.3922 7.42666 12.5 7.71338 12.5 8.00003Z",fill:"currentcolor"})),ZC="LocationBalloon-module__root__D5p9cL",qC="LocationBalloon-module__submit__Ri5JaR",JC="LocationBalloon-module__details__6et6aX",XC="LocationBalloon-module__header__LCvDj0",_C="LocationBalloon-module__title__octhrc",$C="LocationBalloon-module__description__r7vFbw",eE="LocationBalloon-module__actions__-jdejn",An={root:ZC,submit:qC,details:JC,header:XC,title:_C,description:$C,actions:eE},gd=({SSR:t,name:e,location:n,onSubmit:r,className:i,onDetails:o,location_name:s})=>A.jsxs("div",{className:Ce(An.root,i),children:[A.jsxs("div",{className:An.header,children:[A.jsx(hd,{}),A.jsx("span",{className:An.title,children:e||"{{ properties.point.name }}"})]}),A.jsxs("div",{className:An.description,children:[(n==null?void 0:n.full_address)||"{{ properties.point.location.full_address }}",","," ",s||"{{ properties.point.location_name }}"]}),A.jsxs("div",{className:An.actions,children:[A.jsx(St,{id:As,variant:"primary",className:An.submit,onClick:r,children:t?"{ choose }":A.jsx(Pn,{keyName:"choose",ns:"common"})}),A.jsxs(St,{id:so,as:"link",variant:"primary",className:An.details,onClick:o,children:[t?"{ details }":A.jsx(Pn,{keyName:"details",ns:"common"}),A.jsx(KC,{})]})]})]}),tE={header:Xe.locationViewHeader,content:Xe.locationViewContent},nE=({point:t,clusterer:e,onPointClick:n,selectedPoint:r,setOpenDetails:i,onPointSelected:o})=>{const s=ui("screenSm"),[a,l]=u.useState(null),c=()=>{i==null||i(!1),o==null||o(t)},f=()=>{o==null||o(null)},d=()=>{i==null||i(!0),o==null||o(t)},h=()=>{n==null||n(t),i==null||i(!1),o==null||o(null)},g=(r==null?void 0:r.uid)===t.uid,v=g?qn:Jt,p=ud({isSelectedPoint:g});let w;switch(!0){case(t.type===30&&!g):{w=Ht.PinLocker;break}case(t.type!==30&&!g):{w=Ht.PinPvz;break}case(t.type===30&&g):{w=Ht.PinLockerSelected;break}case(t.type!==30&&g):{w=Ht.PinPvzSelected;break}}qt(w,"Icon url is not defined");const S={scaledSize:new google.maps.Size(...v),url:w},b={lat:t.location.latitude,lng:t.location.longitude},m=g&&p&&!!(a!=null&&a.getVisible());return A.jsxs(hu,{noClustererRedraw:!0,icon:S,position:b,clusterer:e,options:sd,onLoad:l,onClick:c,children:[s&&A.jsx(ld,{minSnapHeight:200,open:m,onDismiss:f,onSubmitClick:h,children:A.jsx(pd,{classes:tE,hideActions:!0,location:t,onClose:f})}),m&&!s&&A.jsx(bu,{onCloseClick:f,children:A.jsx(gd,{...t,className:Xe.balloon,onSubmit:h,onDetails:d})})]},t.uid)},rE=({points:t,selectedPoint:e,onOpenDetails:n,onPointClick:r,onPointSelected:i})=>A.jsx(wp,{clusterClass:Xe.cluster,onClusteringEnd:()=>{setTimeout(()=>{const o=document.getElementsByClassName(Xe.cluster);for(const s of o)s.addEventListener("touchstart",Pc,{passive:!0})},100)},onUnmount:()=>{const o=document.getElementsByClassName(Xe.cluster);for(const s of o)s.removeEventListener("touchstart",Pc)},children:o=>A.jsx(u.Fragment,{children:t.map(s=>A.jsx(nE,{point:s,clusterer:o,selectedPoint:e,setOpenDetails:n,onPointClick:r,onPointSelected:i},s.uid))})}),iE=u.memo(rE),oE=({onOpenDetails:t,onPointClick:e,onPointSelected:n})=>{const{locale:r}=Lt(),i=zt(l=>l.points),o=kt(l=>l.location),s=gn(l=>l.place),a=JSON.stringify([i.length,r,s==null?void 0:s.place_id]);return A.jsx(iE,{points:i,selectedPoint:o,onOpenDetails:t,onPointClick:e,onPointSelected:n},a)},sE=u.memo(oE),aE=t=>ae.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ae.createElement("g",{id:"icon"},ae.createElement("rect",{id:"Rectangle 1602",x:9,width:2,height:20,rx:1,fill:"white"}),ae.createElement("rect",{id:"Rectangle 1603",x:20,y:9,width:2,height:20,rx:1,transform:"rotate(90 20 9)",fill:"white"}),ae.createElement("circle",{id:"Ellipse 789",cx:10,cy:10,r:8,fill:"white"}),ae.createElement("circle",{id:"Ellipse 790",cx:10,cy:10,r:6,fill:"currentcolor"}),ae.createElement("circle",{id:"Ellipse 791",cx:10,cy:10,r:4,fill:"white"}))),lE=t=>{const e=document.createElement("div"),n=document.createElement("div");e.classList.add(Xe.mapControl),n.classList.add(Xe.mapControl),e.innerHTML="+",n.innerHTML="—",t.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(n),t.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(e),e.addEventListener("click",()=>{const r=t.getZoom()||0;return t.setZoom(r+1)}),n.addEventListener("click",()=>{const r=t.getZoom()||0;return t.setZoom(r-1)})},cE=t=>{const e=document.createElement("div");e.classList.add(Xe.mapControl),e.classList.add(Xe.geolocationControl),e.innerHTML=Fi.renderToString(A.jsx(aE,{})),t.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(e),e.addEventListener("click",()=>{_f(async n=>{var a;const{latitude:r,longitude:i}=n.coords,s=await ii([r,i]);gn.getState().setPlace((a=s.results)==null?void 0:a[0])})})},uE=({className:t})=>{const e=Ve(m=>m.map),n=Ve(m=>m.setMap),r=Ve(m=>m.loading),i=Ve(m=>m.setDetailsOpen),o=Bn(),s=zt(m=>m.loading),a=zt(m=>m.loadNext),l=gn(m=>m.setPlace),c=yt(m=>m.courierPoint),f=yt(m=>m.setCourierPoint),d=kt(m=>m.setSelectedPoint),{hideMapControls:h,disableGeolocation:g,onPointClick:v}=Lt(),p=u.useCallback(m=>{n(m),h||(lE(m),g||cE(m))},[g,h,n]),w=u.useCallback(()=>{n(null)},[n]),S=u.useCallback(()=>{if(!e)return;const m=e==null?void 0:e.getBounds();m&&a([[m.getSouthWest().lat(),m.getNorthEast().lat()],[m.getSouthWest().lng(),m.getNorthEast().lng()]],o)},[o,a,e]),b=u.useCallback(async m=>{var y;if(f(null),d(m),!m)return;const x=[m.location.latitude,m.location.longitude],C=await ii(x);l((y=C.results)==null?void 0:y[0])},[f,l,d]);return A.jsxs("div",{className:Ce(Xe.mapContainer,t),children:[A.jsxs(Jw,{onIdle:S,onLoad:p,onUnmount:w,children:[c&&A.jsx(IC,{point:c,onPointClick:v,setOpenDetails:i,setCourierPoint:f}),A.jsx(sE,{onPointClick:v,onOpenDetails:i,onPointSelected:b})]}),(s||r)&&A.jsx(Sa,{className:Xe.overlay,children:A.jsx(_r,{})})]})},fE=u.memo(uE);function Tn(){return Tn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Tn.apply(this,arguments)}const vd=(t,e)=>{const n={};for(const r in t)e.indexOf(r)===-1&&(n[r]=t[r]);return n},md=u.createContext(null),No=u.createContext(null),yd=t=>e=>u.createElement(No.Consumer,null,n=>u.createElement(t,Tn({parent:n},e))),dE=(t=[])=>{const[e,n]=u.useState(!1),r=u.useRef(t),i=(()=>{const s=u.useContext(md);if(s===null)throw new Error("Couldn't find Yandex.Maps API in the context. Make sure that hook useYMaps is inside <YMaps /> provider");return s})(),o=i.getApi();return u.useEffect(()=>{i.load().then(()=>Promise.all(r.current.map(i.loadModule))).then(()=>n(!0))},[]),e&&o?o:null},hE=()=>{},pE=["onLoad","onError","modules","apiLoader"];function Aa(t,e=!1,n=[]){return r=>{const{width:i,height:o,modules:s=[],onLoad:a=hE}=r,l=dE(n.concat(s)),c=!e||!!l,f=vd(r,pE);return u.useEffect(()=>l?a(l):void 0,[l]),c?u.createElement(t,Tn({ymaps:l},f)):u.createElement("div",{style:{width:i,height:o}})}}const gE=typeof window<"u",Uc={lang:"ru_RU",load:"",ns:"",mode:"release"},vE=t=>{const{version:e="2.1",enterprise:n=!1,query:r={lang:"ru_RU",load:"",ns:""},preload:i=!1,children:o}=t,s=u.useRef((a=>{const{query:l=Uc}=a,c=Date.now().toString(32),f=l.ns||"",d="__yandex-maps-api-onload__$$"+c,h="__yandex-maps-api-onerror__$$"+c,g=gE?window:{},v={};let p;const w=()=>f?g[f]:p,S=()=>{delete g[d],delete g[h]};return{load:()=>{if(w())return Promise.resolve(p);if(v[f])return v[f];const b={onload:d,onerror:h,...Uc,...l},m=Object.keys(b).map(C=>`${C}=${b[C]}`).join("&"),x=[`https://${a.enterprise?"enterprise.":""}api-maps.yandex.ru`,a.version,"?"+m].join("/");return v[f]=new Promise((C,y)=>{g[d]=E=>{S(),E.ready(()=>{p=E,C(E)})},g[h]=E=>{S(),y(E)},(E=>new Promise((L,I)=>{const M=document.createElement("script");M.type="text/javascript",M.onload=L,M.onerror=I,M.src=E,M.async=!0,document.head.appendChild(M)}))(x).catch(g[h])}),v[f]},getApi:w,loadModule:b=>new Promise((m,x)=>{p.modules.require(b).done(C=>{C.forEach(y=>{((E,L,I,M=!1)=>{const O=typeof L=="string"?L.split("."):L.slice();let D,B=E;for(;O.length>1;)D=O.shift(),B[D]||(B[D]={}),B=B[D];const N=O[0];B[N]=M===!0&&B[N]||I})(p,b,y,!0)}),m(p)},x)})}})({version:e,enterprise:n,query:r,preload:i}));return u.useEffect(()=>{i&&s.current.load()},[s.current]),u.createElement(md.Provider,{value:s.current},o)},Hc=/^on(?=[A-Z])/;function Fe(t){return Object.keys(t).reduce((e,n)=>{if(Hc.test(n)){const r=n.replace(Hc,"").toLowerCase();e._events[r]=t[n]}else e[n]=t[n];return e},{_events:{}})}function jn(t,e,n){typeof n=="function"&&t.events.add(e,n)}function Nn(t,e,n){typeof n=="function"&&t.events.remove(e,n)}function fr(t,e,n){Object.keys(Object.assign({},e,n)).forEach(r=>{e[r]!==n[r]&&(Nn(t,r,e[r]),jn(t,r,n[r]))})}const bd=t=>"default"+t.charAt(0).toUpperCase()+t.slice(1);function et(t,e){return t[e]!==void 0||t[bd(e)]===void 0}function $(t,e,n){return(et(t,e)?t[e]:t[bd(e)])||n}function tt(t,e,n=null){if(t!==e){if(t&&("current"in t?t.current=null:typeof t=="function"&&t(null)),!e)return;"current"in e?e.current=n:typeof e=="function"&&e(n)}}function wd(t){const{width:e,height:n,style:r,className:i}=t;return r!==void 0||i!==void 0?Object.assign({},r&&{style:r},i&&{className:i}):{style:{width:e,height:n}}}class mE extends u.Component{constructor(e){super(e),this.state={error:null,errorInfo:null}}componentDidCatch(e,n){const{onError:r=()=>{}}=this.props;r(e),this.setState({error:e,errorInfo:n})}render(){return this.state.error?null:this.props.children}}const La=t=>({onError:e,...n})=>u.createElement(mE,{onError:e},u.createElement(t,n));class Zr extends u.Component{constructor(){super(),this.instance=null,this.state={instance:null},this._parentElement=null,this._getRef=e=>{this._parentElement=e}}componentDidMount(){this.instance=Zr.mountObject(this._parentElement,this.props.ymaps.Map,this.props),this.setState({instance:this.instance})}componentDidUpdate(e){this.instance!==null&&Zr.updateObject(this.instance,e,this.props)}componentWillUnmount(){Zr.unmountObject(this.instance,this.props)}render(){const e=wd(this.props),n=Fe(this.props),r=vd(n,["_events","state","defaultState","options","defaultOptions","instanceRef","ymaps","children","width","height","style","className"]);return u.createElement(No.Provider,{value:this.state.instance},u.createElement("div",Tn({ref:this._getRef},e,r),this.props.children))}static mountObject(e,n,r){const{instanceRef:i,_events:o}=Fe(r),s=new n(e,$(r,"state"),$(r,"options"));return Object.keys(o).forEach(a=>jn(s,a,o[a])),tt(null,i,s),s}static updateObject(e,n,r){const{_events:i,instanceRef:o}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if(et(r,"state")){const l=$(n,"state",{}),c=$(r,"state",{});l.type!==c.type&&e.setType(c.type),l.behaviors!==c.behaviors&&(l.behaviors&&e.behaviors.disable(l.behaviors),c.behaviors&&e.behaviors.enable(c.behaviors)),c.zoom&&l.zoom!==c.zoom&&e.setZoom(c.zoom),c.center&&l.center!==c.center&&e.setCenter(c.center),c.bounds&&l.bounds!==c.bounds&&e.setBounds(c.bounds)}if(et(r,"options")){const l=$(n,"options"),c=$(r,"options",{});l!==c&&e.options.set(c)}$(n,"width")===$(r,"width")&&$(n,"height")===$(r,"height")||e.container.fitToViewport(),fr(e,s,i),tt(a,o,e)}static unmountObject(e,n){const{instanceRef:r,_events:i}=Fe(n);e!==null&&(Object.keys(i).forEach(o=>Nn(e,o,i[o])),e.destroy(),tt(r))}}const Cd=La(Aa(Zr,!0,["Map"]));Cd.defaultProps={width:320,height:240};class $i extends u.Component{constructor(){super(),this.state={instance:null},this._parentElement=null,this._getRef=e=>{this._parentElement=e}}componentDidMount(){this._mounted=!0,this.props.ymaps.panorama.isSupported()&&$i.mountObject(this._parentElement,this.props.ymaps.panorama,this.props).then(e=>this._mounted&&this.setState({instance:e}))}componentDidUpdate(e){this.state.instance!==null&&$i.updateObject(this.state.instance,e,this.props)}componentWillUnmount(){this._mounted=!1,$i.unmountObject(this.state.instance,this.props)}render(){const e=wd(this.props);return u.createElement("div",Tn({ref:this._getRef},e))}static mountObject(e,n,r){const{instanceRef:i,_events:o}=Fe(r),s=$(r,"point"),a=$(r,"locateOptions"),l=$(r,"options");return new Promise((c,f)=>{n.locate(s,a).done(d=>{if(d.length>0){const h=new n.Player(e,d[0],l);tt(null,i,h),Object.keys(o).forEach(g=>jn(h,g,o[g])),c(h)}},f)})}static updateObject(e,n,r){const{_events:i,instanceRef:o}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if(et(r,"options")){const l=$(n,"options"),c=$(r,"options");l!==c&&e.options.set(c)}if(et(r,"point")){const l=$(r,"point"),c=$(n,"point"),f=$(r,"locateOptions");l!==c&&e.moveTo(l,f)}fr(e,s,i),tt(a,o,e)}static unmountObject(e,n){const{instanceRef:r,_events:i}=Fe(n);e!==null&&(Object.keys(i).forEach(o=>Nn(e,o,i[o])),tt(r))}}class eo extends u.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){const e=eo.mountControl(this.props.ymaps.control[this.props.name],this.props);this.instance=e,this.setState({instance:e})}componentDidUpdate(e){this.instance!==null&&eo.updateControl(this.instance,e,this.props)}componentWillUnmount(){eo.unmountControl(this.instance,this.props)}render(){return u.createElement(No.Provider,{value:this.state.instance},this.props.children)}static mountControl(e,n){const{instanceRef:r,parent:i,lazy:o,_events:s}=Fe(n),a=new e({data:$(n,"data"),options:$(n,"options"),state:$(n,"state"),mapTypes:$(n,"mapTypes"),lazy:o});if(Object.keys(s).forEach(l=>jn(a,l,s[l])),i&&i.controls&&typeof i.controls.add=="function")i.controls.add(a);else{if(!i||!i.add||typeof i.add!="function")throw new Error(`No parent found to mount ${n.name}`);i.add(a)}return tt(null,r,a),a}static updateControl(e,n,r){const{_events:i,instanceRef:o}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if(et(r,"options")){const l=$(n,"options"),c=$(r,"options");l!==c&&e.options.set(c)}if(et(r,"data")){const l=$(n,"data"),c=$(r,"data");l!==c&&e.data.set(c)}if(et(r,"state")){const l=$(n,"state"),c=$(r,"state");l!==c&&e.state.set(c)}if(et(r,"mapTypes")){const l=$(n,"mapTypes"),c=$(r,"mapTypes");l!==c&&(e.removeAllMapTypes(),c.forEach(f=>e.addMapType(f)))}fr(e,s,i),tt(a,o,e)}static unmountControl(e,n){const{instanceRef:r,parent:i,_events:o}=Fe(n);e!==null&&(Object.keys(o).forEach(s=>Nn(e,s,o[s])),i.controls&&typeof i.controls.remove=="function"?i.controls.remove(e):i.remove&&typeof i.remove=="function"&&i.remove(e),tt(r))}}class to extends u.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){const e=to.mountObject(this.props.ymaps.Clusterer,this.props);this.instance=e,this.setState({instance:e})}componentDidUpdate(e){this.state.instance!==null&&to.updateObject(this.instance,e,this.props)}componentWillUnmount(){to.unmountObject(this.instance,this.props)}render(){return u.createElement(No.Provider,{value:this.state.instance},this.props.children)}static mountObject(e,n){const{instanceRef:r,parent:i,_events:o}=Fe(n),s=new e($(n,"options"));if(Object.keys(o).forEach(a=>jn(s,a,o[a])),i.geoObjects&&typeof i.geoObjects.add=="function")i.geoObjects.add(s);else{if(!i.add||typeof i.add!="function")throw new Error("No parent found to mount Clusterer");i.add(s)}return tt(null,r,s),s}static updateObject(e,n,r){const{_events:i,instanceRef:o}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if(et(r,"options")){const l=$(n,"options"),c=$(r,"options");l!==c&&e.options.set(c)}fr(e,s,i),tt(a,o,e)}static unmountObject(e,n){const{instanceRef:r,parent:i,_events:o}=Fe(n);e!==null&&(Object.keys(o).forEach(s=>Nn(e,s,o[s])),i.geoObjects&&typeof i.geoObjects.remove=="function"?i.geoObjects.remove(e):i.remove&&typeof i.remove=="function"&&i.remove(e),tt(r))}}class qr extends u.Component{constructor(){super(),this.state={instance:null}}componentDidMount(){const e=qr.mountObject(this.props.ymaps.ObjectManager,this.props);this.instance=e,this.setState({instance:e})}componentDidUpdate(e){this.instance!==null&&qr.updateObject(this.instance,e,this.props)}componentWillUnmount(){qr.unmountObject(this.instance,this.props)}render(){return null}static mountObject(e,n){const{instanceRef:r,parent:i,_events:o}=Fe(n),s=$(n,"options",{}),a=$(n,"features",{}),l=$(n,"filter",null),c=$(n,"objects",{}),f=$(n,"clusters",{}),d=new e(s);if(d.add(a||[]),d.setFilter(l),d.objects.options.set(c),d.clusters.options.set(f),Object.keys(o).forEach(h=>jn(d,h,o[h])),i.geoObjects&&typeof i.geoObjects.add=="function")i.geoObjects.add(d);else{if(!i.add||typeof i.add!="function")throw new Error("No parent found to mount ObjectManager");i.add(d)}return tt(null,r,d),d}static updateObject(e,n,r){const{_events:i,instanceRef:o}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if(et(r,"options")){const l=$(n,"options"),c=$(r,"options");l!==c&&e.options.set(c)}if(et(r,"objects")){const l=$(n,"objects"),c=$(r,"objects");l!==c&&e.objects.options.set(c)}if(et(r,"clusters")){const l=$(n,"clusters"),c=$(r,"clusters");l!==c&&e.clusters.options.set(c)}if(et(r,"filter")){const l=$(n,"filter"),c=$(r,"filter");l!==c&&e.setFilter(c)}if(et(r,"features")){const l=$(n,"features"),c=$(r,"features");l!==c&&(e.remove(l),e.add(c))}fr(e,s,i),tt(a,o,e)}static unmountObject(e,n){const{instanceRef:r,parent:i,_events:o}=Fe(n);e!==null&&(Object.keys(o).forEach(s=>Nn(e,s,o[s])),i.geoObjects&&typeof i.geoObjects.remove=="function"?i.geoObjects.remove(e):i.remove&&typeof i.remove=="function"&&i.remove(e),tt(r))}}var yE=La(yd(Aa(qr,!0,["ObjectManager"])));class Jr extends u.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){const{name:e,ymaps:n,dangerZone:r}=this.props,i=Jr.mountObject(r&&typeof r.modifyConstructor=="function"?r.modifyConstructor(n[e]):n[e],this.props);this.instance=i,this.setState({instance:i})}componentDidUpdate(e){this.instance!==null&&Jr.updateObject(this.instance,e,this.props)}componentWillUnmount(){Jr.unmountObject(this.instance,this.props)}render(){return null}static mountObject(e,n){const{instanceRef:r,parent:i,_events:o}=Fe(n),s=new e($(n,"geometry"),$(n,"properties"),$(n,"options"));if(Object.keys(o).forEach(a=>jn(s,a,o[a])),i&&i.geoObjects&&typeof i.geoObjects.add=="function")i.geoObjects.add(s);else{if(!i||!i.add||typeof i.add!="function")throw new Error(`No parent found to mount ${n.name}`);i.add(s)}return tt(null,r,s),s}static updateObject(e,n,r){const{_events:i,instanceRef:o}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if(et(r,"geometry")){const l=$(n,"geometry",{}),c=$(r,"geometry",{});Array.isArray(c)&&c!==l?Array.isArray(c[0])&&typeof c[1]=="number"?(e.geometry.setCoordinates(c[0]),e.geometry.setRadius(c[1])):e.geometry.setCoordinates(c):typeof c=="object"&&(c.coordinates!==l.coordinates&&e.geometry.setCoordinates(c.coordinates),c.radius!==l.radius&&e.geometry.setRadius(c.radius))}if(et(r,"properties")){const l=$(n,"properties"),c=$(r,"properties");l!==c&&e.properties.set(c)}if(et(r,"options")){const l=$(n,"options"),c=$(r,"options");l!==c&&e.options.set(c)}fr(e,s,i),tt(a,o,e)}static unmountObject(e,n){const{instanceRef:r,parent:i,_events:o}=Fe(n);e!==null&&(Object.keys(o).forEach(s=>Nn(e,s,o[s])),i.geoObjects&&typeof i.geoObjects.remove=="function"?i.geoObjects.remove(e):i.remove&&typeof i.remove=="function"&&i.remove(e),tt(r))}}var Fc=La(yd(Aa(t=>u.createElement(Jr,Tn({},t,{name:"Placemark"})),!0,["Placemark"])));const zc=(t,e,n)=>t==null?void 0:t.map(r=>{var i;return{id:r.uid,type:"Feature",properties:{point:r},geometry:{type:"Point",coordinates:[r.location.latitude,r.location.longitude]},options:{hideIconOnBalloonOpen:!1,preset:no(r.type),balloonOffset:[0,-qn[1]],balloonContentLayout:(i=e==null?void 0:e.templateLayoutFactory)==null?void 0:i.createClass(n)}}}),no=(t,e)=>t===30?`custom#pin-locker${e?`__${e}`:""}`:`custom#pin-pvz${e?`__${e}`:""}`,Br=t=>[-(t[0]/2),-t[1]],bE={en:"en_US",ru:"ru_RU"},wE={load:"suggest",apikey:"5298a725-4baa-457a-a2a7-c3abac81db20"},CE=["templateLayoutFactory","option.presetStorage","geocode"],EE=["objectManager.addon.objectsBalloon"],Qc=["geoObject.addon.balloon"],SE={yandexMapDisablePoiInteractivity:!1},AE={clusterize:!0},Vc={iconImageSize:Jt,iconLayout:"default#image",hideIconOnBalloonOpen:!1,iconImageHref:Ht.PinHome,balloonOffset:[0,-Jt[1]],iconImageOffset:Br(Jt)},LE="MapYandex-module__root__r3kDJ8",xE="MapYandex-module__overlay__f7UGYS",OE="MapYandex-module__details__E3bDvL",cs={root:LE,overlay:xE,details:OE},ME=({className:t})=>{const{t:e}=Tt(["courier_balloon","common"]),n=u.useRef(),r=u.useRef(null),{map:i,locale:o,disableCourierDelivery:s,hideMapUI:a,onPointClick:l}=Lt(),[c,f]=u.useState(null),[d,h]=u.useState([]),[g,v]=u.useState(AE),p=Ve(P=>P.setLoaded),w=Ve(P=>P.setDetailsOpen),S=Bn(),b=zt(P=>P.points),m=zt(P=>P.loading),x=zt(P=>P.loadNext),C=yt(P=>P.courierPoint),y=yt(P=>P.setCourierPoint),E=kt(P=>P.location),L=kt(P=>P.setSelectedPoint),I=u.useRef([]),M=u.useMemo(()=>Fi.renderToString(A.jsx(gd,{SSR:!0})).replace("{ choose }",e("choose")).replace("{ details }",e("details")),[e,o]),O=u.useMemo(()=>Fi.renderToString(A.jsx(Js,{SSR:!0,variant:"default"})).replace("{ details }",e("details",{ns:"common"})).replace("{ courier_balloon.title }",e("title")),[e,o]),D=u.useMemo(()=>Fi.renderToString(A.jsx(Js,{SSR:!0,variant:"error"})).replace("{ courier_balloon.error_title }",e("error_title")).replace("{ courier_balloon.error_description }",e("error_description")),[e,o]),B=u.useMemo(()=>({zoom:(i==null?void 0:i.initialZoom)??ra,center:(i==null?void 0:i.center)??ao,behaviors:["default","scrollZoom"]}),[i==null?void 0:i.center,i==null?void 0:i.initialZoom]);u.useEffect(()=>{var P,W;(W=n.current)==null||W.events.fire("boundschange",{newBounds:(P=n.current)==null?void 0:P.getBounds()})},[c]),u.useEffect(()=>{var W;if(!c||!r.current)return;for(const q of I.current)q.id!==(E==null?void 0:E.uid)&&((W=r.current)==null||W.remove(q));const P=zc(b,c,M);I.current=P,r.current.add(P)},[M,c,b,E==null?void 0:E.uid]);const N=u.useCallback(P=>{const W=P.get("newBounds");x([[W[0][0],W[1][0]],[W[0][1],W[1][1]]],S)},[S,x]),V=u.useRef(E),Z=u.useCallback(P=>{var W,q,Y,te;f(P),p(),(W=P==null?void 0:P.option)==null||W.presetStorage.add("custom#pin-locker",{iconImageSize:Jt,iconLayout:"default#image",iconImageHref:Ht.PinLocker,iconImageOffset:Br(Jt)}),(q=P==null?void 0:P.option)==null||q.presetStorage.add("custom#pin-locker__active",{iconLayout:"default#image",iconImageHref:Ht.PinLockerSelected,iconImageSize:qn,iconImageOffset:Br(qn)}),(Y=P==null?void 0:P.option)==null||Y.presetStorage.add("custom#pin-pvz",{iconImageSize:Jt,iconLayout:"default#image",iconImageHref:Ht.PinPvz,iconImageOffset:Br(Jt)}),(te=P==null?void 0:P.option)==null||te.presetStorage.add("custom#pin-pvz__active",{iconLayout:"default#image",iconImageHref:Ht.PinPvzSelected,iconImageSize:qn,iconImageOffset:Br(qn)}),v(re=>{const oe=window.getComputedStyle(document.getElementById(qf)).getPropertyValue("--color-primary");return{...re,clusterIconColor:oe}}),h(zc(b,P,M))},[M,b,p]),F=u.useCallback(()=>{w(!0)},[w]),K=u.useCallback(()=>{var P;V.current&&(l==null||l(V.current),w(!1),L(null),y(null),(P=n.current)==null||P.balloon.close())},[l,y,w,L]),T=u.useCallback(()=>{var P,W;(P=document.getElementById(so))==null||P.addEventListener("click",F),(W=document.getElementById(As))==null||W.addEventListener("click",K)},[K,F]),R=u.useCallback(P=>{var q,Y,te,re,oe,de;const W=P.get("objectId");((q=V.current)==null?void 0:q.uid)===W&&((re=r.current)==null||re.objects.setObjectOptions((Y=V.current)==null?void 0:Y.uid,{preset:no((te=V.current)==null?void 0:te.type)}),y(null),L(null),y(null),V.current=null),(oe=document.getElementById(so))==null||oe.removeEventListener("click",F),(de=document.getElementById(As))==null||de.removeEventListener("click",K)},[K,F,y,L]),k=u.useCallback(P=>{var te,re,oe,de;const W=P.get("objectId"),q=(re=(te=r.current)==null?void 0:te.objects)==null?void 0:re.getById(W);if(!q)return;const Y=q.properties.point;w(!1),y(null),L(Y),(oe=r.current)==null||oe.objects.each(je=>{var ye;const pe=je;(ye=r.current)==null||ye.objects.setObjectOptions(pe.id,{preset:no(pe.properties.point.type)})}),(de=r.current)==null||de.objects.setObjectOptions(W,{preset:no(Y.type,"active")}),V.current=Y},[y,w,L]),H=u.useCallback(async P=>{if(!c||s)return;const W=P.get("coords"),{geoObjects:q}=await c.geocode(W),Y=q.get(0),te=Y.getAddressLine(),re=Y.properties.get("metaDataProperty.GeocoderMetaData.precision",{});if(L(null),re!=="exact"){y({coords:W,address:null});return}y({coords:W,address:te})},[s,c,y,L]),z=u.useMemo(()=>{var P;return{...Vc,balloonContentLayout:(P=c==null?void 0:c.templateLayoutFactory)==null?void 0:P.createClass(O)}},[O,c==null?void 0:c.templateLayoutFactory]),Q=u.useMemo(()=>{var P;return{...Vc,balloonContentLayout:(P=c==null?void 0:c.templateLayoutFactory)==null?void 0:P.createClass(D)}},[D,c==null?void 0:c.templateLayoutFactory]),_=u.useCallback(P=>{var W,q,Y,te,re;(W=P==null?void 0:P.balloon)==null||W.open(),(Y=(q=P==null?void 0:P.balloon)==null?void 0:q.events)==null||Y.add("open",T),(re=(te=P==null?void 0:P.balloon)==null?void 0:te.events)==null||re.add("close",R)},[R,T]);return A.jsxs("div",{className:Ce(cs.root,t,{[cs.hideUI]:a}),children:[A.jsx(vE,{query:{...wE,lang:bE[o??"ru"]},children:A.jsxs(Cd,{width:"100%",height:"100%",state:B,instanceRef:n,options:SE,modules:CE,onLoad:Z,onClick:H,onBoundsChange:N,children:[(C==null?void 0:C.address)&&A.jsx(Fc,{properties:C,modules:Qc,geometry:C.coords,options:z,instanceRef:_},JSON.stringify(C.coords)),C&&!C.address&&A.jsx(Fc,{modules:Qc,geometry:C.coords,instanceRef:_,options:Q},JSON.stringify(C.coords)),A.jsx(yE,{features:d,instanceRef:r,modules:EE,options:g,onClick:k,onBalloonOpen:T,onBalloonClose:R})]})},o),m&&A.jsx(Sa,{className:cs.overlay,children:A.jsx(_r,{})})]})},PE=u.memo(ME),DE=t=>({google:fE,yandex:PE})[t];function Ed(...t){return u.useCallback(e=>{for(const n of t)typeof n=="function"?n(e):n&&typeof n=="object"&&(n.current=e)},t)}const Ao=t=>{const e=u.useCallback(()=>{var n;(n=t==null?void 0:t.onClick)==null||n.call(t,t.name)},[t]);return{ref:t==null?void 0:t.ref,name:t==null?void 0:t.name,onClick:e}},RE=()=>{throw new Error("useMediaQuery is a client-only hook")};function IE(t){const e=u.useCallback(r=>{const i=window.matchMedia(t);return i.addEventListener("change",r),()=>{i.removeEventListener("change",r)}},[t]),n=()=>window.matchMedia(t).matches;return u.useSyncExternalStore(e,n,RE)}const kE="768px",TE="1024px",BE="1280px",jE="1536px",NE={screenSm:kE,screenMd:TE,screenLg:BE,screenXl:jE};function ui(t){return IE(`(max-width: calc(${NE[t]} - 1px))`)}const UE="Hr-module__root__tBRShh",HE={root:UE},us=({className:t,...e})=>A.jsx("hr",{className:Ce(HE.root,t),...e}),FE="Sidebar-module__root__hxXudu",zE="Sidebar-module__closeButton__8k-Ph3",QE="Sidebar-module__open__qMGUBV",VE="Sidebar-module__header__Eu-wRc",WE="Sidebar-module__typeFilter__-lxVdY",GE="Sidebar-module__separator__XDb6rs",YE="Sidebar-module__withRightPadding__knvmuY",KE="Sidebar-module__sheetContent__4iWeTf",ZE="Sidebar-module__doneButton__chvXVP",Zt={root:FE,closeButton:zE,open:QE,header:VE,typeFilter:WE,separator:GE,withRightPadding:YE,sheetContent:KE,doneButton:ZE},qE=()=>{const{t}=Tt("common"),e=ui("screenSm"),n=nr(i=>i.toggle),r=()=>{n(!1)};return A.jsxs("div",{className:Zt.header,children:[e&&A.jsx("div",{className:Zt.doneButton,onClick:r,children:t("done")}),!e&&A.jsx(ci,{className:Zt.closeButton,onClick:r})]})},JE="TypeFilter-module__root__FEaBBU",XE="TypeFilter-module__button__RYOzBQ",Ni={root:JE,button:XE},_E=({value:t,onChange:e,className:n})=>{const{t:r}=Tt("type_filter"),i=o=>()=>e==null?void 0:e(o);return A.jsxs("div",{className:Ce(Ni.root,n),children:[A.jsx(St,{className:Ni.button,variant:t===Kt.All?"primary":"secondary",onClick:i(Kt.All),children:r("all")}),A.jsx(St,{className:Ni.button,variant:t===Kt.PostOffice?"primary":"secondary",onClick:i(Kt.PostOffice),children:r("post_office")}),A.jsx(St,{className:Ni.button,variant:t===Kt.PickPoint?"primary":"secondary",onClick:i(Kt.PickPoint),children:r("pick_point")})]})},$E=({className:t,onChange:e})=>{const n=Bn(r=>r.type);return A.jsx(_E,{value:n,className:t,onChange:e})},eS=u.memo($E),tS="Radio-module__root__FMbfCi",nS="Radio-module__label__-LLJSR",Wc={root:tS,label:nS},rS=({label:t,className:e,labelProps:n={},...r})=>{const{className:i,...o}=n;return A.jsxs("label",{className:Ce(Wc.label,i),...o,children:[A.jsx("input",{type:"radio",className:Ce(Wc.root,e),...r}),t]})},er=t=>A.jsx(rS,{...t,type:"checkbox"}),iS="RadioGroup-module__root__wNjmrq",oS="RadioGroup-module__body__n4Ho0-",sS="RadioGroup-module__legend__ECksBN",fs={root:iS,body:oS,legend:sS},Sd=({label:t,value:e,onChange:n,children:r,className:i,...o})=>A.jsxs("div",{className:Ce(fs.root,i),...o,children:[t&&A.jsx("span",{className:fs.legend,children:t}),A.jsx("div",{className:fs.body,children:u.Children.map(r,s=>u.isValidElement(s)?u.cloneElement(s,{checked:!!(e!=null&&e[s.props.value]),onChange:a=>n==null?void 0:n({...e,[a.target.value]:a.target.checked})}):null)})]}),aS=({className:t,onChange:e})=>{const{t:n}=Tt("send_filter"),r=Bn(i=>i.send);return A.jsxs(Sd,{className:t,value:r,label:n("title"),onChange:e,children:[A.jsx(er,{name:"send",value:It.Return,label:n("sending_returns")}),A.jsx(er,{name:"send",value:It.Shipping,label:n("shipping")}),A.jsx(er,{name:"send",value:It.Payment,label:n("payment")})]})},lS=u.memo(aS),cS=({className:t,onChange:e})=>{const{t:n}=Tt("receive_filter"),r=Bn(i=>i.receive);return A.jsxs(Sd,{value:r,label:n("title"),onChange:e,className:t,children:[A.jsx(er,{name:"receive",value:Rt.DressingRoom,label:n("dressing_room")}),A.jsx(er,{name:"receive",value:Rt.CheckOrder,label:n("check_order")}),A.jsx(er,{name:"receive",value:Rt.PayByCash,label:n("pay_by_cash")})]})},uS=u.memo(cS);const fS=({className:t})=>{const e=ui("screenSm"),n=nr(f=>f.open),r=nr(f=>f.toggle),i=Bn(f=>f.setFilter),o=u.useCallback(f=>i({type:f}),[i]),s=u.useCallback(f=>i({send:f}),[i]),a=u.useCallback(f=>i({receive:f}),[i]),l=u.useCallback(()=>r(!1),[r]),c=A.jsxs(A.Fragment,{children:[A.jsx(qE,{}),A.jsxs("div",{className:Zt.withRightPadding,children:[A.jsx(eS,{className:Zt.typeFilter,onChange:o}),A.jsx(us,{className:Zt.separator}),A.jsx(uS,{onChange:a}),A.jsx(us,{}),A.jsx(lS,{onChange:s}),A.jsx(us,{})]})]});return e?A.jsx(Mf,{initialFocusRef:!1,open:n,snapPoints:({maxHeight:f})=>f-ad,onDismiss:l,children:A.jsx("div",{className:Zt.sheetContent,children:c})}):A.jsx("div",{className:Ce(Zt.root,t,{[Zt.open]:n}),children:c})},dS=t=>ae.createElement("svg",{width:60,height:40,viewBox:"0 0 60 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ae.createElement("path",{d:"M0 0H52C56.4183 0 60 3.58172 60 8V32C60 36.4183 56.4183 40 52 40H0V0Z",fill:"none"}),ae.createElement("path",{d:"M32.093 10H45.907C47.0581 10 48 10.9092 48 12.0205V14.2431C48 15.0513 47.4767 16.0615 46.9535 16.5667L42.4535 20.4056C41.8256 20.9108 41.407 21.921 41.407 22.7292V27.0733C41.407 27.6795 40.9884 28.4877 40.4651 28.7908L39 29.7C37.6395 30.5082 35.7558 29.599 35.7558 27.9826V22.6282C35.7558 21.921 35.3372 21.0118 34.9186 20.5067L30.9419 16.4656C30.4186 15.9605 30 15.0513 30 14.4451V12.1215C30 10.9092 30.9419 10 32.093 10Z",stroke:"white",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),hS=t=>ae.createElement("svg",{width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ae.createElement("g",{id:"Filtr_mob"},ae.createElement("rect",{id:"bg",width:28,height:28,rx:4,fill:"#333333"}),ae.createElement("path",{id:"Vector",d:"M9.16507 7H18.8348C19.6406 7 20.3 7.63646 20.3 8.41436V9.97015C20.3 10.5359 19.9337 11.2431 19.5674 11.5967L16.4174 14.2839C15.9779 14.6375 15.6848 15.3447 15.6848 15.9105V18.9513C15.6848 19.3756 15.3918 19.9414 15.0255 20.1535L14 20.79C13.0476 21.3557 11.729 20.7193 11.729 19.5878V15.8397C11.729 15.3447 11.436 14.7083 11.143 14.3547L8.35925 11.5259C7.99297 11.1724 7.69995 10.5359 7.69995 10.1116V8.48508C7.69995 7.63646 8.35925 7 9.16507 7Z",stroke:"white",strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}))),pS="MapContainer-module__root__nze9pB",gS="MapContainer-module__mapWrapper__twRo4C",vS="MapContainer-module__wrapperBlurred__U-Ohae",mS="MapContainer-module__locationSelector__lEiSKq",yS="MapContainer-module__filterButton__jIRGu9",bS="MapContainer-module__sidebarOpen__sUhaH-",wS="MapContainer-module__filterIcon__-2Qd2d",CS="MapContainer-module__details__sAP6T2",Ft={root:pS,mapWrapper:gS,wrapperBlurred:vS,locationSelector:mS,filterButton:yS,sidebarOpen:bS,filterIcon:wS,details:CS},ES=()=>{const t=nr(i=>i.open),e=nr(i=>i.toggle),n=ui("screenSm"),r=()=>{e(!0)};return A.jsxs("div",{className:Ce(Ft.filterButton,{[Ft.sidebarOpen]:t}),onClick:n?void 0:r,children:[n&&A.jsx(Du,{}),n?A.jsx(hS,{className:Ft.filterIcon,onClick:r}):A.jsx(dS,{className:Ft.filterIcon})]})};var Ad={},Uo={},Ld={exports:{}},SS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",AS=SS,LS=AS;function xd(){}function Od(){}Od.resetWarningCache=xd;var xS=function(){function t(r,i,o,s,a,l){if(l!==LS){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}t.isRequired=t;function e(){return t}var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:Od,resetWarningCache:xd};return n.PropTypes=n,n};Ld.exports=xS();var OS=Ld.exports,Ho={},ar={};Object.defineProperty(ar,"__esModule",{value:!0});ar.loadGoogleMapScript=ar.isBrowser=void 0;var Md=typeof window<"u"&&window.document;ar.isBrowser=Md;var MS=function(e,n){if(!Md||typeof google<"u"&&google.maps&&google.maps.api)return Promise.resolve();var r=document.querySelectorAll('script[src*="'.concat(e,'"]'));if(r&&r.length)return new Promise(function(s){if(typeof google<"u")return s();r[0].addEventListener("load",function(){return s()})});var i=new URL(n);i.searchParams.set("callback","__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__");var o=document.createElement("script");return o.src=i.toString(),new Promise(function(s){window.__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__=s,document.body.appendChild(o)})};ar.loadGoogleMapScript=MS;var Fo={};Object.defineProperty(Fo,"__esModule",{value:!0});Fo.GOOGLE_MAP_SCRIPT_BASE_URL=void 0;var PS="https://maps.googleapis.com/maps/api/js";Fo.GOOGLE_MAP_SCRIPT_BASE_URL=PS;function ro(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ro=function(n){return typeof n}:ro=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},ro(t)}Object.defineProperty(Ho,"__esModule",{value:!0});Ho.default=BS;var vt=RS(u),ds=ar,DS=Fo;function Pd(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(Pd=function(i){return i?n:e})(t)}function RS(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||ro(t)!=="object"&&typeof t!="function")return{default:t};var n=Pd(e);if(n&&n.has(t))return n.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var s=i?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}function Gc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Yc(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Gc(Object(n),!0).forEach(function(r){IS(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gc(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function IS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kS(t,e){if(t==null)return{};var n=TS(t,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)r=o[i],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function TS(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o<r.length;o++)i=r[o],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}function BS(t){var e=t.ref,n=t.onPlaceSelected,r=t.apiKey,i=t.libraries,o=i===void 0?"places":i,s=t.inputAutocompleteValue,a=s===void 0?"new-password":s,l=t.options;l=l===void 0?{}:l;var c=l.types,f=c===void 0?["(cities)"]:c,d=l.componentRestrictions,h=l.fields,g=h===void 0?["address_components","geometry.location","place_id","formatted_address"]:h,v=l.bounds,p=kS(l,["types","componentRestrictions","fields","bounds"]),w=t.googleMapsScriptBaseUrl,S=w===void 0?DS.GOOGLE_MAP_SCRIPT_BASE_URL:w,b=t.language,m=(0,vt.useRef)(null),x=(0,vt.useRef)(null),C=(0,vt.useRef)(null),y=(0,vt.useRef)(null),E=b?"&language=".concat(b):"",L="".concat(S,"?libraries=").concat(o,"&key=").concat(r).concat(E),I=(0,vt.useCallback)(function(){return(0,ds.loadGoogleMapScript)(S,L)},[S,L]);return(0,vt.useEffect)(function(){var M=Yc(Yc({},p),{},{fields:g,types:f,bounds:v});if(d&&(M.componentRestrictions=d),!(C.current||!m.current||!ds.isBrowser)){e&&!e.current&&(e.current=m.current);var O=function(){var B;if(typeof google>"u")return console.error("Google has not been found. Make sure your provide apiKey prop.");if(!((B=google.maps)!==null&&B!==void 0&&B.places))return console.error("Google maps places API must be loaded.");if(!m.current instanceof HTMLInputElement)return console.error("Input ref must be HTMLInputElement.");C.current=new google.maps.places.Autocomplete(m.current,M),C.current&&(x.current=C.current.addListener("place_changed",function(){n&&C&&C.current&&n(C.current.getPlace(),m.current,C.current)}))};return r?I().then(function(){return O()}):O(),function(){return x.current?x.current.remove():void 0}}},[]),(0,vt.useEffect)(function(){var M;!(vt.default!==null&&vt.default!==void 0&&(M=vt.default.version)!==null&&M!==void 0&&M.startsWith("18"))&&ds.isBrowser&&window.MutationObserver&&m.current&&m.current instanceof HTMLInputElement&&(y.current=new MutationObserver(function(){y.current.disconnect(),m.current&&(m.current.autocomplete=a)}),y.current.observe(m.current,{attributes:!0,attributeFilter:["autocomplete"]}))},[a]),(0,vt.useEffect)(function(){C.current&&C.current.setFields(g)},[g]),(0,vt.useEffect)(function(){C.current&&C.current.setBounds(v)},[v]),(0,vt.useEffect)(function(){C.current&&C.current.setComponentRestrictions(d)},[d]),(0,vt.useEffect)(function(){C.current&&C.current.setOptions(p)},[p]),{ref:m,autocompleteRef:C}}function io(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?io=function(n){return typeof n}:io=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},io(t)}Object.defineProperty(Uo,"__esModule",{value:!0});Uo.default=void 0;var Xs=NS(u),Ye=Dd(OS),jS=Dd(Ho);function Dd(t){return t&&t.__esModule?t:{default:t}}function Rd(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(Rd=function(i){return i?n:e})(t)}function NS(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||io(t)!=="object"&&typeof t!="function")return{default:t};var n=Rd(e);if(n&&n.has(t))return n.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var s=i?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}function Lo(){return Lo=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Lo.apply(this,arguments)}function US(t,e){if(t==null)return{};var n=HS(t,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)r=o[i],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function HS(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o<r.length;o++)i=r[o],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}function Id(t){var e=t.onPlaceSelected,n=t.apiKey,r=t.libraries,i=t.inputAutocompleteValue,o=t.options,s=t.googleMapsScriptBaseUrl,a=t.refProp,l=t.language,c=US(t,["onPlaceSelected","apiKey","libraries","inputAutocompleteValue","options","googleMapsScriptBaseUrl","refProp","language"]),f=(0,jS.default)({ref:a,googleMapsScriptBaseUrl:s,onPlaceSelected:e,apiKey:n,libraries:r,inputAutocompleteValue:i,options:o,language:l}),d=f.ref;return Xs.default.createElement("input",Lo({ref:d},c))}Id.propTypes={apiKey:Ye.default.string,libraries:Ye.default.arrayOf(Ye.default.string),ref:Ye.default.oneOfType([Ye.default.func,Ye.default.shape({current:Ye.default.any})]),googleMapsScriptBaseUrl:Ye.default.string,onPlaceSelected:Ye.default.func,inputAutocompleteValue:Ye.default.string,options:Ye.default.shape({componentRestrictions:Ye.default.object,bounds:Ye.default.object,location:Ye.default.object,offset:Ye.default.number,origin:Ye.default.object,radius:Ye.default.number,sessionToken:Ye.default.object,types:Ye.default.arrayOf(Ye.default.string)}),language:Ye.default.string};var FS=(0,Xs.forwardRef)(function(t,e){return Xs.default.createElement(Id,Lo({},t,{refProp:e}))});Uo.default=FS;(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(t,"usePlacesWidget",{enumerable:!0,get:function(){return n.default}});var e=r(Uo),n=r(Ho);function r(i){return i&&i.__esModule?i:{default:i}}})(Ad);var kd=Ad;const zS=t=>ae.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ae.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.6174 16.0317C13.0777 17.2635 11.1246 18 8.99951 18C4.02895 18 -0.000488281 13.9706 -0.000488281 9C-0.000488281 4.02944 4.02895 0 8.99951 0C13.9701 0 17.9995 4.02944 17.9995 9C17.9995 11.1249 17.2631 13.0778 16.0316 14.6175L19.707 18.2929C20.0975 18.6834 20.0975 19.3166 19.707 19.7071C19.3165 20.0977 18.6833 20.0977 18.2928 19.7071L14.6174 16.0317ZM1.99951 9C1.99951 5.13401 5.13352 2 8.99951 2C12.8655 2 15.9995 5.13401 15.9995 9C15.9995 10.8866 15.2532 12.5988 14.0397 13.8577C14.006 13.8836 13.9737 13.9121 13.9428 13.9429C13.9119 13.9738 13.8835 14.0062 13.8575 14.0399C12.5986 15.2535 10.8863 16 8.99951 16C5.13352 16 1.99951 12.866 1.99951 9Z",fill:"currentcolor"})),QS="Input-module__root__4cwtKq",VS="Input-module__endAdornment__Tv4vyT",WS="Input-module__input__qeMAQB",GS="Input-module__startAdornment__4bXzn1",YS="Input-module__label__N2eUZ2",KS="Input-module__inputContainer__Ticemx",Yn={root:QS,endAdornment:VS,input:WS,startAdornment:GS,label:YS,inputContainer:KS},Td=u.forwardRef(({label:t,className:e,startAdornment:n,endAdornment:r,onChange:i,onBlur:o,inputRef:s,...a},l)=>{const c=u.useRef(null);u.useImperativeHandle(l,()=>({focus:()=>{var d;(d=c.current)==null||d.focus()},blur:()=>{var d;(d=c.current)==null||d.blur()},setValue:d=>{if(i){i({target:{value:d}});return}if(o){o({target:{value:d}});return}c.current&&(c.current.value=d)}}),[o,i]);const f=Ed(s,c);return A.jsxs("label",{className:Ce(Yn.root,e),children:[t&&A.jsx("span",{className:Yn.label,children:t}),A.jsxs("div",{className:Yn.inputContainer,children:[n&&A.jsx("div",{className:Yn.startAdornment,children:n}),A.jsx("input",{...a,ref:f,className:Yn.input,onChange:i,onBlur:o}),r&&A.jsx("div",{className:Yn.endAdornment,children:r})]})]})}),ZS=({className:t})=>{const{t:e}=Tt("location_selector"),{country:n,inputs:r,onLocationSelect:i}=Lt(),[o,s]=u.useState(""),[a,l]=u.useState(!1),c=Ve(E=>E.setBlurred),f=Ve(E=>E.setDetailsOpen),d=gn(E=>E.setPlace),h=yt(E=>E.setCourierPoint),g=kt(E=>E.setSelectedPoint),v=[],p=n?{componentRestrictions:{country:n},types:v}:{types:v},w=E=>{d(E),i==null||i(E)},{ref:S}=kd.usePlacesWidget({libraries:["places"],options:p,onPlaceSelected:w,inputAutocompleteValue:o}),b=E=>{a&&c(!!E.target.value),s(E.target.value)},m=()=>{o&&c(!0),f(!1),h(null),g(null),l(!0)},x=()=>{c(!1),l(!1)},C=E=>{E.key==="Enter"&&E.preventDefault()},y=Ao(r==null?void 0:r.address);return A.jsx(Td,{...y,inputRef:S,value:o,className:t,endAdornment:A.jsx(zS,{}),placeholder:e("placeholder"),onChange:b,onFocus:m,onBlur:x,onKeyDown:C})},qS=({className:t})=>Ve(n=>n.loaded)?A.jsx(ZS,{className:t}):null,JS=u.memo(qS),XS="CourierDetailsModal-module__root__gLu0VW",_S={root:XS},$S=({onClose:t,onSubmit:e,location:n,className:r})=>A.jsx("div",{className:Ce(_S.root,r),children:A.jsx(dd,{location:n,onClose:t,onSubmit:e})}),eA="LocationDetailsModal-module__root__AzUydF",tA={root:eA},nA=({onClose:t,onSubmit:e,location:n,className:r})=>{const i=()=>{e==null||e(n)};return A.jsx("div",{className:Ce(tA.root,r),children:A.jsx(pd,{location:n,onClose:t,onSubmit:i})})},rA=()=>{const{onPointClick:t}=Lt(),e=Ve(c=>c.detailsOpen),n=Ve(c=>c.setDetailsOpen),r=kt(c=>c.location),i=kt(c=>c.setSelectedPoint),o=yt(c=>c.courierPoint),s=yt(c=>c.setCourierPoint),a=u.useCallback(()=>{n(!1)},[n]),l=u.useCallback(c=>{t==null||t(c),n(!1),i(null),s(null)},[t,s,n,i]);return A.jsxs(A.Fragment,{children:[(o==null?void 0:o.address)&&e&&A.jsx($S,{location:o,className:Ft.details,onClose:a,onSubmit:l}),r&&e&&A.jsx(nA,{location:r,className:Ft.details,onClose:a,onSubmit:l})]})},iA=({className:t,children:e})=>{const{hideFilters:n,hideSearchInput:r}=Lt(),i=Ve(o=>o.blurred);return A.jsxs("div",{className:Ce(Ft.root,t),children:[!r&&A.jsx(JS,{className:Ft.locationSelector}),!n&&A.jsx(ES,{}),A.jsx("div",{className:Ce(Ft.mapWrapper,{[Ft.wrapperBlurred]:i}),children:e}),A.jsx(rA,{})]})},oA=u.memo(iA),sA="Aside-module__root__JSqCyF",aA="Aside-module__open__t8OMLZ",lA="Aside-module__overlay__0UAvMb",cA="Aside-module__container__KJNP0t",Ui={root:sA,open:aA,overlay:lA,container:cA},uA=({open:t,children:e,className:n})=>A.jsxs("div",{className:Ce(Ui.root,n,{[Ui.open]:t}),children:[A.jsx("div",{className:Ui.overlay}),A.jsx("div",{className:Ui.container,children:e})]}),fA="LocationAside-module__submit__hx8LTK",dA="LocationAside-module__container__KEGf9s",hA="LocationAside-module__selector__ogsvtz",pA="LocationAside-module__label__-FWqoq",gA="LocationAside-module__header__qmaQaV",vA="LocationAside-module__close__bklFI7",Hi={submit:fA,container:dA,selector:hA,label:pA,header:gA,close:vA},mA=u.forwardRef((t,e)=>{const{t:n}=Tt(["location_aside","common"]),{country:r,inputs:i,hideCloseButtonOnLocationScreen:o,onLocationSelect:s,onCloseLocationSelector:a}=Lt(),l=u.useRef(null),c=gn(x=>x.setPlace),[f,d]=u.useState(""),h=lo(x=>x.open),g=lo(x=>x.toggle);u.useImperativeHandle(e,()=>({open:()=>g(!0),close:()=>g(!1)}),[g]);const v=x=>{g(!1),c(x),s==null||s(x),x!=null&&x.formatted_address&&d(x==null?void 0:x.formatted_address)},p=()=>{g(!1),a==null||a()},w=r?{componentRestrictions:{country:r}}:void 0,S=x=>{d(x.target.value)},{ref:b}=kd.usePlacesWidget({libraries:["places"],options:w,onPlaceSelected:v,apiKey:"AIzaSyBO9gABz5DPTW3DcJuNCLx6Q7GmDYDRwRA",inputAutocompleteValue:f}),m=Ao(i==null?void 0:i.city);return A.jsx(uA,{open:h,children:A.jsx("div",{ref:l,className:Hi.container,children:A.jsxs("div",{className:Hi.selector,children:[A.jsxs("div",{className:Hi.header,children:[A.jsx("div",{className:Hi.label,children:n("choose_city")}),!o&&A.jsx(ci,{position:"relative",onClick:p})]}),A.jsx(Td,{...m,inputRef:b,value:f,placeholder:n("placeholder"),onChange:S})]})})})}),yA=u.memo(mA),bA=t=>{const e=jh(["language"]);u.useEffect(()=>{t&&(e.changeLanguage(t),So.setLanguage(t))},[t,e])},wA=t=>{u.useEffect(()=>{if(t){const e=Object.keys(t);for(const n of e){const r=t[n];r&&wa(`--color-${n}`,r)}}},[t])},CA=t=>{u.useEffect(()=>{t&&t!==void 0&&wa("--button-radius",`${t}px`)},[t])},EA=t=>{u.useEffect(()=>{t&&t!==void 0&&wa("--font",t)},[t])},SA=t=>{const e=lo(r=>r.toggle),n=t==="selector";u.useEffect(()=>{n&&e(!0)},[n,e])},AA=(t,e,n,r)=>{const i=Ve(c=>c.map),o=Ve(c=>c.setLoaded),s=gn(c=>c.setPlace);u.useEffect(()=>{n&&i&&o()},[n,i,o]);const a=t[0],l=t[1];u.useEffect(()=>{if(!n||!i)return;const c=[a,l],f=async()=>{var h;const d=await ii(c,"GEOMETRIC_CENTER");s((h=d.results)==null?void 0:h[0],ra)};if(r){f();return}_f(async d=>{var p;const{latitude:h,longitude:g}=d.coords,v=await ii([h,g],"GEOMETRIC_CENTER");s((p=v.results)==null?void 0:p[0])},()=>f())},[n,a,l,i,s,e,r])},LA=({children:t,locale:e})=>(bA(e),A.jsx(A.Fragment,{children:t})),Bd=()=>A.jsx(Sa,{children:A.jsx(_r,{})}),xA=({children:t})=>{const e=zt(r=>r.loaded);return zt(r=>r.loading)&&!e?A.jsx(Bd,{}):A.jsx(A.Fragment,{children:t})};So.setApiKey("AIzaSyBO9gABz5DPTW3DcJuNCLx6Q7GmDYDRwRA");const OA="Widget-module__map__GhmuPO",MA="Widget-module__sidebar__5gQrb3",PA="Widget-module__header__QlBK5m",hs={map:OA,sidebar:MA,header:PA},DA=({config:t,options:e})=>{const n=Dw(t),{map:r,font:i,radius:o,locale:s,palette:a,startScreen:l,hideHeader:c,hideFilters:f,disableGeolocation:d,INN:h}=n;qt(h,"INN is required"),Rw(h,e),qt(r==null?void 0:r.provider,"Map provider is required");const g=DE(r.provider);vw(),EA(i),wA(a),CA(o),SA(l),qt(s,"Locale is required");const v=u.useRef(s),{isLoaded:p}=rp({language:v.current,libraries:Bg,googleMapsApiKey:"AIzaSyBO9gABz5DPTW3DcJuNCLx6Q7GmDYDRwRA"});return qt(r.center,"Map center is required"),qt(r.initialZoom,"Map initial zoom is required"),AA(r==null?void 0:r.center,r.initialZoom,p,d),A.jsx(Rh,{tolgee:og,fallback:A.jsx(Bd,{}),children:A.jsx(LA,{locale:s,children:A.jsx(Pu.Provider,{value:n,children:A.jsx(xA,{children:A.jsxs(uv,{children:[!c&&A.jsx(iv,{className:hs.header}),!f&&A.jsx(fS,{className:hs.sidebar}),A.jsx(oA,{className:hs.map,children:A.jsx(g,{})}),A.jsx(yA,{})]})})})})})},jd=async t=>ri.request({baseURL:"https://api.geo-data.omnic.solutions/api/1.0/",method:"POST",url:"normalize/address",data:t,headers:{Authorization:"Token 9877f9631b2e30570cc1c5aa8c740b0c912efe99a8b6c45c21cf4bd394adc7e9"}});exports.EReceiveFilter=Rt;exports.ESendFilter=It;exports.ETypeFilter=Kt;exports.Widget=DA;exports.fetchPointsRequest=Ks;exports.getNormalizedAddress=jd;