@omnic/widget-locations 1.0.59 → 1.0.61

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.
@@ -1,10 +1,10 @@
1
- (function(Tt,L){typeof exports=="object"&&typeof module<"u"?L(exports,require("react/jsx-runtime"),require("react"),require("react-dom"),require("react-dom/server")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom","react-dom/server"],L):(Tt=typeof globalThis<"u"?globalThis:Tt||self,L(Tt["@omnic/widget-locations"]={},Tt["react/jsx-runtime"],Tt.React,Tt.ReactDOM,Tt["react-dom/server"]))})(this,function(Tt,L,c,Hn,lo){"use strict";function xa(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 ie=xa(c),Oa=xa(Hn),JE="",ZE="";function Fi(t){return!!(t&&typeof t.then=="function")}function uo(t,e){return Fi(t)?Promise.resolve(t).then(e):e(t)}function Ma(t){const e=(Array.isArray(t)?t:[t]).map(i=>`'${i}'`),n=e.slice(-2).join(" or ");return`Tolgee: You need to specify ${[...e.slice(0,-2),n].join(", ")} option`}function Hd(t){return typeof t=="object"&&!Array.isArray(t)&&t!==null}function Pa(t){if(typeof t=="string")return[t];if(Array.isArray(t))return t}function bt(t){return Pa(t)||[]}function zd(t,e){return Hd(e)?bt(e==null?void 0:e[t]):bt(e)}function Vi(t){return Array.from(new Set(t))}function ka(t){return t&&t.replace(/\/+$/,"")}function Fd(t){if(typeof t=="string")return t;if(typeof(t==null?void 0:t.message)=="string")return t.message}const Vd=(t,e)=>fetch(t,e),Ia=(t=Vd)=>(e,n)=>t(e,Object.assign(Object.assign({},n),{headers:Object.assign({"X-Tolgee-SDK-Type":"JS","X-Tolgee-SDK-Version":"5.12.0"},n==null?void 0:n.headers)}));function Zt(t){let e=[];return Object.freeze({listen(n){const r=o=>{n(o)};return e.push(r),{unsubscribe(){e=e.filter(o=>r!==o)}}},emit(n){t()&&e.forEach(r=>r({value:n}))}})}function Gd(t,e,n){const r=new Set,o=new Set;function i(u){const l=new Set(e());o.forEach(f=>{(u===void 0||(u==null?void 0:u.findIndex(h=>l.has(h)||f.namespaces.has(h)))!==-1)&&f.fn({value:void 0})})}let s=[];function a(){if(s.length===0)return;const u=s;s=[],r.forEach(d=>{d({value:void 0})});let l=new Set;u.forEach(d=>{d===void 0?l=void 0:l!==void 0&&d.forEach(h=>l.add(h))});const f=l?Array.from(l.keys()):void 0;i(f)}return Object.freeze({emit(u,l){t()&&(s.push(u),l?setTimeout(a,0):a())},listen(u){return r.add(u),{unsubscribe:()=>{r.delete(u)}}},listenSome(u){const l={fn:d=>{u(d)},namespaces:new Set};o.add(l);const f={unsubscribe:()=>{o.delete(l)},subscribeNs:d=>(bt(d).forEach(h=>l.namespaces.add(h)),d===void 0&&l.namespaces.add(n()),f)};return f}})}function Qd(t,e){let n=!0;function r(){return n}const o=Object.freeze({onPendingLanguageChange:Zt(r),onLanguageChange:Zt(r),onLoadingChange:Zt(r),onFetchingChange:Zt(r),onInitialLoaded:Zt(r),onRunningChange:Zt(r),onCacheChange:Zt(r),onUpdate:Gd(r,t,e),onPermanentChange:Zt(r),setEmitterActive(i){n=i},on:(i,s)=>{switch(i){case"pendingLanguage":return o.onPendingLanguageChange.listen(s);case"language":return o.onLanguageChange.listen(s);case"loading":return o.onLoadingChange.listen(s);case"fetching":return o.onFetchingChange.listen(s);case"initialLoad":return o.onInitialLoaded.listen(s);case"running":return o.onRunningChange.listen(s);case"cache":return o.onCacheChange.listen(s);case"update":return o.onUpdate.listen(s);case"permanentChange":return o.onPermanentChange.listen(s)}}});return o.onInitialLoaded.listen(()=>o.onUpdate.emit()),o.onLanguageChange.listen(()=>o.onUpdate.emit()),o.onCacheChange.listen(({value:i})=>o.onUpdate.emit([i.namespace],!0)),o}const Da=t=>{const e=new Map;return Object.entries(t).forEach(([n,r])=>{if(r!=null){if(typeof r=="object"){Da(r).forEach((o,i)=>{e.set(n+"."+i,o)});return}e.set(n,r)}}),e},dr=t=>{const[e,...n]=t.split(":"),r=n.join(":");return{language:e,namespace:r||""}},Qt=({language:t,namespace:e})=>e?`${t}:${e}`:t;function Yd(t,e,n,r,o,i,s){const a=new Map,u=new Map;let l={},f=0;function d(p,E,w){const y=Qt(p);u.set(y,{data:Da(E),version:w}),t.emit(p)}function h(p){let E;if(!E){const w=l[Qt(p)];typeof w=="function"&&(E=w())}return E||(E=e(p)),E}function g(p,E){var w;let y;return E&&(y=(w=n(p))===null||w===void 0?void 0:w.catch(()=>(console.warn("Tolgee: Failed to fetch data from dev backend"),h(p)))),y||(y=h(p)),y}const m=Object.freeze({addStaticData(p){p&&(l=Object.assign(Object.assign({},l),p),Object.entries(p).forEach(([E,w])=>{if(typeof w!="function"){const y=dr(E),b=u.get(E);(!b||b.version===0)&&d(y,w,0)}}))},invalidate(){a.clear(),f+=1},addRecord(p,E){d(p,E,f)},exists(p,E=!1){const w=u.get(Qt(p));return w&&E?w.version===f:!!w},getRecord(p){var E;return(E=u.get(Qt(r(p))))===null||E===void 0?void 0:E.data},getTranslation(p,E){var w;return(w=u.get(Qt(p)))===null||w===void 0?void 0:w.data.get(E)},getTranslationNs(p,E,w){var y;for(const b of p)for(const x of E){const S=(y=u.get(Qt({language:x,namespace:b})))===null||y===void 0?void 0:y.data.get(w);if(S!=null)return[b]}return Vi(p)},getTranslationFallback(p,E,w){var y;for(const b of p)for(const x of E){const S=(y=u.get(Qt({language:x,namespace:b})))===null||y===void 0?void 0:y.data.get(w);if(S!=null)return S}},changeTranslation(p,E,w){var y;const b=(y=u.get(Qt(p)))===null||y===void 0?void 0:y.data;b==null||b.set(E,w),t.emit(Object.assign(Object.assign({},p),{key:E}))},isFetching(p){if(o())return!0;if(p===void 0)return a.size>0;const E=bt(p);return!!Array.from(a.keys()).find(w=>E.includes(dr(w).namespace))},isLoading(p,E){const w=bt(E);return!!(o()||Array.from(a.keys()).find(y=>{const b=dr(y);return(!w.length||w.includes(b.namespace))&&!m.exists({namespace:b.namespace,language:p})}))},async loadRecords(p,E){const w=p.map(b=>{const x=r(b),S=Qt(x),v=a.get(S);if(v)return{new:!1,promise:v,keyObject:x,cacheKey:S};const C=g(x,E)||Promise.resolve(void 0);return a.set(S,C),{new:!0,promise:C,keyObject:x,cacheKey:S}});i.notify(),s.notify();const y=await Promise.all(w.map(b=>b.promise));return w.forEach((b,x)=>{const S=a.get(b.cacheKey)!==b.promise;if(b.new&&!S){a.delete(b.cacheKey);const v=y[x];v?m.addRecord(b.keyObject,v):m.getRecord(b.keyObject)||m.addRecord(b.keyObject,{})}}),i.notify(),s.notify(),w.map(b=>m.getRecord(b.keyObject))},getAllRecords(){return Array.from(u.entries()).map(([E,w])=>Object.assign(Object.assign({},dr(E)),{data:w.data}))}});return m}function Ta(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 o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);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},Gi="invalid",Rd={defaultNs:"",observerOptions:Wd,observerType:"invisible",onFormatError:Gi,apiUrl:"https://app.tolgee.io",fetch:Ia()},Qi=(...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 Ba(t,e){const n=Qi(Rd,e==null?void 0:e.initialOptions,t);return n.apiUrl=ka(n.apiUrl),t!=null&&t.fetch&&(n.fetch=Ia(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 Kd(t,e,n,r,o,i,s,a){const u={ui:void 0},l={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:k})=>{var N;const H=O.map(({key:G,ns:q,defaultValue:V})=>({key:G,defaultValue:V,fallbackNamespaces:r(q),namespace:o({key:G,ns:q})[0],translation:i({key:G,ns:q})}));(N=l.ui)===null||N===void 0||N.handleElementClick(H,k)},d=(O,k)=>{var N;return((N=l.observer)===null||N===void 0?void 0:N.findPositions(O,k))||[]};function h(O){const k=i({key:O.key,ns:O.ns});return M.formatTranslation(Object.assign(Object.assign({},O),{translation:k,formatEnabled:!0}))}function g(){return{fetch:e().fetch}}function m(O){l.observer=O==null?void 0:O()}function p(){return!!l.observer}function E(O){O&&l.formatters.push(O)}function w(O){l.finalFormatter=O}function y(O){u.ui=O}function b(){return!!u.ui}function x(O){l.languageStorage=O}function S(O){l.languageDetector=O}function v(){if(!l.languageDetector)return;const O=n();return l.languageDetector.getLanguage(Object.assign({availableLanguages:O},g()))}function C(O){O&&l.backends.push(O)}function A(O){l.devBackend=O}function D(O,k){const N=Object.freeze({setFinalFormatter:w,addFormatter:E,setObserver:m,hasObserver:p,setUi:y,hasUi:b,setDevBackend:A,addBackend:C,setLanguageDetector:S,setLanguageStorage:x});k(O,N)}const M=Object.freeze({addPlugin:D,run(){var O,k;const{apiKey:N,apiUrl:H,projectId:G,observerOptions:q}=e();l.ui=(O=u.ui)===null||O===void 0?void 0:O.call(u,{apiKey:N,apiUrl:H,projectId:G,highlight:M.highlight,changeTranslation:s,findPositions:d,onPermanentChange:a}),(k=l.observer)===null||k===void 0||k.run({mouseHighlight:!0,options:q,translate:h,onClick:f})},stop(){var O;l.ui=void 0,(O=l.observer)===null||O===void 0||O.stop()},getLanguageStorage(){return l.languageStorage},getInitialLanguage(){var O;const k=n(),N=(O=l.languageStorage)===null||O===void 0?void 0:O.getLanguage(g());return uo(N,H=>(!k||k.includes(H))&&H?H:v())},setStoredLanguage(O){var k;(k=l.languageStorage)===null||k===void 0||k.setLanguage(O,g())},getDevBackend(){return l.devBackend},getBackendRecord:({language:O,namespace:k})=>{for(const N of l.backends){const H=N.getRecord(Object.assign({language:O,namespace:k},g()));if(Fi(H))return H==null?void 0:H.catch(G=>(console.error(G),{}));if(H!==void 0)return H}},getBackendDevRecord:({language:O,namespace:k})=>{var N;const{apiKey:H,apiUrl:G,projectId:q}=e();return(N=l.devBackend)===null||N===void 0?void 0:N.getRecord(Object.assign({apiKey:H,apiUrl:G,projectId:q,language:O,namespace:k},g()))},getLanguageDetector(){return l.languageDetector},retranslate(){var O;(O=l.observer)===null||O===void 0||O.retranslate()},highlight:(O,k)=>{var N,H;return((H=(N=l.observer)===null||N===void 0?void 0:N.highlight)===null||H===void 0?void 0:H.call(N,O,k))||{unhighlight(){}}},unwrap(O){var k;return l.observer?(k=l.observer)===null||k===void 0?void 0:k.unwrap(O):{text:O,keys:[]}},wrap(O){var k;return l.observer?(k=l.observer)===null||k===void 0?void 0:k.wrap(O):O.translation},hasDevBackend(){return!!M.getDevBackend()},formatTranslation(O){var k,{formatEnabled:N}=O,H=Ta(O,["formatEnabled"]);const{key:G,translation:q,defaultValue:V,noWrap:K,params:B,orEmpty:I,ns:T}=H,F=q||V;let U=F||(I?"":G);const Y=t(),ee=N||!(!((k=l.observer)===null||k===void 0)&&k.outputNotFormattable),P=Q=>l.observer&&!K?l.observer.wrap({key:G,translation:Q,defaultValue:V,params:B,ns:T}):Q;U=P(U);try{if(F&&Y&&ee)for(const Q of l.formatters)U=Q.format({translation:U,language:Y,params:B});l.finalFormatter&&F&&Y&&ee&&(U=l.finalFormatter.format({translation:U,language:Y,params:B}))}catch(Q){console.error(Q);const Z=Fd(Q)||Gi,R=e().onFormatError,te=typeof R;te==="string"?U=R:te==="function"?U=R(Z,H):U=Gi,U=P(U)}return U}});return M}const Na=(t,e,n)=>{let r=t;return Object.freeze({init(o){r=o},notify(){const o=e();r!==o&&n(o),r=o}})};function qd(t,e,n){let r=Ba(),o;const i=Object.freeze({init(s){r=Ba(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||i.getLanguage()},setPendingLanguage(s){r.pendingLanguage!==s&&(r.pendingLanguage=s,e.emit(s))},getInitialOptions(){return Object.assign(Object.assign({},r.initialOptions),o)},addActiveNs(s){bt(s).forEach(u=>{const l=r.activeNamespaces.get(u);l!==void 0?r.activeNamespaces.set(u,l+1):r.activeNamespaces.set(u,1)})},removeActiveNs(s){bt(s).forEach(u=>{const l=r.activeNamespaces.get(u);l!==void 0&&l>1?r.activeNamespaces.set(u,l-1):r.activeNamespaces.delete(u)})},getRequiredNamespaces(){return Vi([...r.initialOptions.ns||[r.initialOptions.defaultNs],...bt(r.initialOptions.fallbackNs),...r.activeNamespaces.keys()])},getFallbackLangs(s){const a=s||i.getLanguage();return a?Vi([a,...zd(a,r.initialOptions.fallbackLanguage)]):[]},getFallbackNs(){return bt(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=>dr(a).language);return Array.from(new Set(s))}},withDefaultNs(s){return{namespace:s.namespace===void 0?i.getInitialOptions().defaultNs:s.namespace,language:s.language}},overrideCredentials(s){s?o=Object.assign(Object.assign({},s),{apiUrl:ka(s.apiUrl)}):o=void 0}});return i}function Jd(t){var{ns:e,noWrap:n,orEmpty:r,params:o,language:i}=t,s=Ta(t,["ns","noWrap","orEmpty","params","language"]);return Object.assign(Object.assign({},{ns:e,noWrap:n,orEmpty:r,language:i}),{params:Object.assign({},s)})}const ja=(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 Zd({options:t}){const e=Qd(u,l),n=Na(!1,()=>s.isFetching(),e.onFetchingChange.emit),r=Na(!1,()=>v.isLoading(),e.onLoadingChange.emit),o=qd(e.onLanguageChange,e.onPendingLanguageChange,e.onRunningChange),i=Kd(o.getLanguage,o.getInitialOptions,o.getAvailableLanguages,f,w,y,h,g),s=Yd(e.onCacheChange,i.getBackendRecord,i.getBackendDevRecord,o.withDefaultNs,o.isInitialLoading,n,r);t&&m(t);let a;e.onUpdate.listen(()=>{o.isRunning()&&i.retranslate()});function u(){return o.getFallbackNs()}function l(C){return o.getDefaultNs(C)}function f(C){return[...bt(l(C)),...u()]}function d(C){return[...bt(C??l()),...o.getRequiredNamespaces()]}function h(C,A,D){const M=o.withDefaultNs(C),O=s.getTranslation(M,A);return s.changeTranslation(M,A,D),{revert(){s.changeTranslation(M,A,O)}}}function g(C){e.onPermanentChange.emit({key:C.key,namespace:C.namespace})}function m(C){o.init(C),s.addStaticData(o.getInitialOptions().staticData)}function p(C,A){const D=o.getFallbackLangs(C),M=d(A),O=[];return D.forEach(k=>{M.forEach(N=>{s.exists({language:k,namespace:N},!0)||O.push({language:k,namespace:N})})}),O}function E(C,A){const D=p(C,A);if(D.length)return uo(v.loadRecords(D),()=>{})}function w({key:C,ns:A}){const D=o.getFallbackLangs(),M=f(A??void 0);return s.getTranslationNs(M,D,C)}function y({key:C,ns:A,language:D}){const M=f(A??void 0),O=o.getFallbackLangs(D);return s.getTranslationFallback(M,O,C)}function b(){const C=uo(x(),()=>E());if(Fi(C))return o.setInitialLoading(!0),n.notify(),r.notify(),Promise.resolve(C).then(()=>{o.setInitialLoading(!1),n.notify(),r.notify(),e.onInitialLoaded.emit()});e.onInitialLoaded.emit()}function x(){if(o.getLanguage())return;const A=i.getInitialLanguage();return uo(A,D=>{const M=D||o.getInitialOptions().defaultLanguage;M&&o.setLanguage(M)})}function S(){if((i.getLanguageDetector()||i.getLanguageStorage())&&!o.getAvailableLanguages())throw new Error(Ma("availableLanguages"));if(!o.getLanguage()&&!o.getInitialOptions().defaultLanguage)throw new Error(Ma(["defaultLanguage","language"]))}const v=Object.freeze(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),o),i),s),{init:m,getTranslation:y,changeTranslation:h,getTranslationNs:w,getDefaultAndFallbackNs:f,async changeLanguage(C){o.getPendingLanguage()===C&&o.getLanguage()===C||(o.setPendingLanguage(C),o.isRunning()&&await E(C),C===o.getPendingLanguage()&&(o.setLanguage(C),i.setStoredLanguage(C)))},async addActiveNs(C,A){A||o.addActiveNs(C),o.isRunning()&&await E(void 0,C)},loadRecords(C){return s.loadRecords(C,v.isDev())},async loadRecord(C){return(await v.loadRecords([C]))[0]},isLoading(C){return s.isLoading(o.getLanguage(),C)},isLoaded(C){const A=o.getLanguage();if(!A)return!1;const D=o.getFallbackLangs(A),M=d(C),O=[];return D.forEach(k=>{M.forEach(N=>{s.exists({language:k,namespace:N})||O.push({language:k,namespace:N})})}),O.length===0},t:(...C)=>{const A=ja(...C),D=y(A);return i.formatTranslation(Object.assign(Object.assign({},A),{translation:D}))},isDev(){return!!(o.getInitialOptions().apiKey&&o.getInitialOptions().apiUrl)},run(){return S(),o.isRunning()||(o.setRunning(!0),i.run(),a=b()),Promise.resolve(a)},stop(){o.isRunning()&&(i.stop(),o.setRunning(!1))}}));return v}function _d(t){const e=Zd({options:t});e.isDev()&&e.invalidate();function n(o){const i=e.isRunning();i&&e.stop(),o(),e.isDev()&&e.invalidate(),i&&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(o){n(()=>e.overrideCredentials(o))},addPlugin(o){o&&n(()=>e.addPlugin(r,o))},updateOptions(o){o&&n(()=>e.init(o))}});return r}const Xd=()=>{const t={plugins:[],options:{}},e=Object.freeze({use(n){return t.plugins.push(n),e},updateDefaults(n){return t.options=Qi(t.options,n),e},init(n){const r=_d(Qi(t.options,n));return t.plugins.forEach(r.addPlugin),r}});return e},Ua=0,Yi=1,$d=2;class eh extends Error{constructor(e,n,r){let o;e===Ua?o="Empty parameter":e===Yi?o="Unexpected character":o="Unexpected end",super(`Tolgee parser: ${o} at ${n} in "${r}"`),this.code=e,this.index=n}}function Ha(t){return/\s/.test(t)}const _t=0,Wi=1,co=2,Ri=3,Ki=4,th=new Set([co,Wi,_t]),qi="'",nh=new Set(["{","}",qi]),rh=t=>/[0-9a-zA-Z_]/.test(t);function oh(t){let e=_t,n="",r="",o="";const i=[],s=[];let a=0;function u(h){throw new eh(h,a,t)}const l=()=>{i.push(n),n=""},f=()=>{rh(o)||u(Yi),r+=o},d=()=>{r===""&&u(Ua),s.push(r),r=""};for(a=0;a<t.length;a++)switch(o=t[a],e){case _t:o===qi?(n+=o,e=Wi):o==="{"?(l(),e=Ri):(n+=o,e=_t);break;case Wi:nh.has(o)?(n=n.slice(0,-1)+o,e=co):(n+=o,e=_t);break;case co:o===qi?e=_t:(n+=o,e=co);break;case Ri:o==="}"?(d(),e=_t):Ha(o)?r!==""&&(d(),e=Ki):(f(),e=Ri);break;case Ki:o=="}"?e=_t:Ha(o)?e=Ki:u(Yi)}return th.has(e)||u($d),l(),[i,s]}function ih(t,e){const[n,r]=oh(t),o=[n[0]];for(let i=1;i<n.length;i++){const s=e==null?void 0:e[r[i-1]];if(s===void 0)throw new Error(`Missing parameter "${r[i-1]}" in "${t}"`);o.push(String(s)),o.push(n[i])}return o.join("")}function sh(){return{format:({translation:t,params:e})=>ih(t,e)}}const ah=()=>(t,e)=>(e.setFinalFormatter(sh()),t),lh="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";function uh(t){const e=lh.indexOf(t);if(e===-1)throw new Error("Invalid character found: "+t);return e}function ch(t){const e=new Uint8Array(t),n=e.length;let r="",o=Math.pow(2,16)-1;for(let i=0;i<n;i+=o)i+o>n&&(o=n-i),r+=String.fromCharCode.apply(null,e.subarray(i,i+o));return r}function fh(t){t=t.toUpperCase();const e=t.length;let n=0,r=0,o=0;const i=new Uint8Array(e*5/8|0);for(let s=0;s<e;s++)r=r<<5|uh(t[s]),n+=5,n>=8&&(i[o++]=r>>>n-8&255,n-=8);return ch(i.buffer)}function dh(t){if(t)try{const[e,n]=t.split("_");if(e==="tgpak"){const[r]=fh(n).split("_");return Number(r)}}catch{console.warn("Tolgee: Api key can't be parsed")}}function hh(t){if(!t)return;const[e]=t.split("_");return e==="tgpak"?"tgpak":e==="tgpat"?"tgpat":"legacy"}function ph(){return{getRecord({apiUrl:t,apiKey:e,language:n,namespace:r,projectId:o,fetch:i}){var s;const a=(s=dh(e))!==null&&s!==void 0?s:o;let u=a!==void 0?`${t}/v2/projects/${a}/translations/${n}`:`${t}/v2/projects/translations/${n}`;if(r&&(u+=`?ns=${r}`),hh(e)==="tgpat"&&o===void 0)throw new Error("You need to specify 'projectId' when using PAT key");return i(u,{headers:{"X-API-Key":e||"","Content-Type":"application/json"}}).then(l=>{if(l.ok)return l.json().then(f=>f[n]);throw new Error(l.statusText)})}}}const gh=()=>(t,e)=>(e.setDevBackend(ph()),t);function vh(t,e){const n=r=>{var o,i;t.includes((o=r.data)===null||o===void 0?void 0:o.type)&&e((i=r.data)===null||i===void 0?void 0:i.data)};return window.addEventListener("message",n,!1),{unsubscribe(){window.removeEventListener("message",n)}}}function mh({message:t,recievingMessage:e,data:n,attempts:r=1}){let o=!1;const i=()=>new Promise((a,u)=>{const l=vh(e,d);window.postMessage({type:t,data:n},window.origin);const f=setTimeout(g,300);function d(m){clearTimeout(f),h(),a(m)}function h(){l.unsubscribe()}function g(){h(),u()}});return{cancel(){o=!0},promise:(async()=>{for(let a=0;a<r;a++){if(o)return new Promise(()=>{});try{return await i()}catch{continue}}if(!o)throw`Didn't recieve ${e.join(" or ")} in time.`;return new Promise(()=>{})})()}}function yh(){let t;async function e(n){t==null||t();const{cancel:r,promise:o}=mh({message:"TOLGEE_READY",recievingMessage:["TOLGEE_PLUGIN_READY","TOLGEE_PLUGIN_UPDATED"],data:n,attempts:4});return t=r,o}return{update:e}}const bh="tolgee-in-context-tools.umd.min.js",wh="@tolgee/in-context-tools",Eh="InContextTools",Ch="https://cdn.jsdelivr.net/npm";function Sh(t){return new Promise((e,n)=>{const r=document.createElement("script");r.src=t,r.addEventListener("load",()=>e()),r.addEventListener("error",o=>n(o.error)),document.body.appendChild(r)})}let Ji=null;function Lh(t){return Ji||(Ji=Sh(`${Ch}/@tolgee/web@${t}/dist/${bh}`).then(()=>window[wh][Eh])),Ji}const za="__tolgee_apiKey",Fa="__tolgee_apiUrl";function Va(){const t=sessionStorage.getItem(za)||void 0,e=sessionStorage.getItem(Fa)||void 0;if(!(!t||!e))return{apiKey:t,apiUrl:e}}function Ah(){sessionStorage.removeItem(za),sessionStorage.removeItem(Fa)}function xh(t){document.readyState!=="loading"?Promise.resolve().then(()=>{t()}):document.addEventListener&&document.addEventListener("DOMContentLoaded",t)}let Ga=()=>t=>t;(()=>{if(typeof window>"u")return!1;try{return typeof sessionStorage<"u"&&sessionStorage}catch(t){return console.error("sessionStorage not available",t),!1}})()&&(Ga=()=>t=>{const e=yh(),n=()=>({uiPresent:!0,uiVersion:void 0,mode:t.isDev()?"development":"production",config:{apiUrl:t.getInitialOptions().apiUrl||"",apiKey:t.getInitialOptions().apiKey||""}}),r=async()=>{const i=await Lh("5.12.0");return s=>{const a=Va();return s.addPlugin(i({credentials:a})),s}};return t.on("running",({value:i})=>{i&&xh(()=>{e.update(n()).catch(Ah)})}),Va()&&r().then(i=>{t.addPlugin(i)}).catch(i=>{console.error("Tolgee: Failed to load in-context tools"),console.error(i)}),t});function Oh(){return Xd().use(Ga())}const Mh={useSuspense:!0};let Zi;const Qa=()=>(Zi||(Zi=c.createContext(void 0)),Zi),Ph=({tolgee:t,options:e,children:n,fallback:r})=>{const[o,i]=c.useState(!t.isLoaded());c.useEffect(()=>{t.run().catch(u=>{console.error(u)}).finally(()=>{i(!1)})},[t]);const s=Object.assign(Object.assign({},Mh),e),a=Qa();return s.useSuspense?c.createElement(a.Provider,{value:{tolgee:t,options:s}},o?r:c.createElement(c.Suspense,{fallback:r||null},n)):c.createElement(a.Provider,{value:{tolgee:t,options:s}},o?r:n)};let kh;function Ih(){return kh}const Ya=()=>{const t=Qa(),e=c.useContext(t)||Ih();if(!e)throw new Error("Couldn't find tolgee instance, did you forgot to use `TolgeeProvider`?");return e},Wa=()=>{const[t,e]=c.useState(0),n=c.useCallback(()=>{e(r=>r+1)},[e]);return{instance:t,rerender:n}},Ra=(t,e)=>{const{tolgee:n,options:r}=Ya(),o=Pa(t),i=bt(o).join(":"),s=Object.assign(Object.assign({},r),e),{rerender:a,instance:u}=Wa(),l=c.useRef(),f=c.useRef([]);f.current=[];const d=m=>{var p;f.current.push(m),(p=l.current)===null||p===void 0||p.subscribeNs(m)},h=n.isLoaded(o);c.useEffect(()=>{const m=n.onNsUpdate(a);return l.current=m,m.subscribeNs(o),f.current.forEach(p=>{m.subscribeNs(p)}),()=>{m.unsubscribe()}},[i,n]),c.useEffect(()=>(n.addActiveNs(o),()=>n.removeActiveNs(o)),[i,n]);const g=c.useCallback(m=>{var p;const E=(p=m.ns)!==null&&p!==void 0?p:o==null?void 0:o[0];return d(E),n.t(Object.assign(Object.assign({},m),{ns:E}))},[n,u]);if(s.useSuspense&&!h)throw n.addActiveNs(o,!0);return{t:g,isLoading:!h}},At=(t,e)=>{const{t:n,isLoading:r}=Ra(t,e);return{t:c.useCallback((...i)=>{const s=ja(...i);return n(s)},[n]),isLoading:r}},Dh=t=>{if(!t)return;const e={};return Object.entries(t||{}).forEach(([n,r])=>{if(typeof r=="function")e[n]=o=>r(_i(o));else if(c.isValidElement(r)){const o=r;e[n]=i=>o.props.children===void 0&&(i!=null&&i.length)?c.cloneElement(o,{},_i(i)):c.cloneElement(o)}else e[n]=r}),e},_i=t=>Array.isArray(t)?c.Children.toArray(t):t,Th=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=_i(t.t({key:e,params:Dh(t.params),defaultValue:n,noWrap:t.noWrap,ns:t.ns,language:t.language}));return c.createElement(c.Fragment,null,r)},gn=t=>{const{t:e}=Ra();return c.createElement(Th,Object.assign({t:e},t))},Bh=t=>{const{tolgee:e}=Ya(),{rerender:n}=Wa();return c.useEffect(()=>{const r=t==null?void 0:t.map(o=>e.on(o,n));return()=>{r==null||r.forEach(o=>o.unsubscribe())}},[t==null?void 0:t.join(":")]),e};function fo(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Nh=function(t,e,n,r,o,i,s,a){if(!t){var u;if(e===void 0)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,s,a],f=0;u=new Error(e.replace(/%s/g,function(){return l[f++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}},jh=Nh;const hr=fo(jh);var Ka={},qa={exports:{}};(function(t){var e=function(n){var r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(B,I,T){B[I]=T.value},s,a=typeof Symbol=="function"?Symbol:{},u=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(B,I,T){return Object.defineProperty(B,I,{value:T,enumerable:!0,configurable:!0,writable:!0}),B[I]}try{d({},"")}catch{d=function(I,T,F){return I[T]=F}}function h(B,I,T,F){var U=I&&I.prototype instanceof b?I:b,Y=Object.create(U.prototype),ee=new q(F||[]);return i(Y,"_invoke",{value:k(B,T,ee)}),Y}n.wrap=h;function g(B,I,T){try{return{type:"normal",arg:B.call(I,T)}}catch(F){return{type:"throw",arg:F}}}var m="suspendedStart",p="suspendedYield",E="executing",w="completed",y={};function b(){}function x(){}function S(){}var v={};d(v,u,function(){return this});var C=Object.getPrototypeOf,A=C&&C(C(V([])));A&&A!==r&&o.call(A,u)&&(v=A);var D=S.prototype=b.prototype=Object.create(v);x.prototype=S,i(D,"constructor",{value:S,configurable:!0}),i(S,"constructor",{value:x,configurable:!0}),x.displayName=d(S,f,"GeneratorFunction");function M(B){["next","throw","return"].forEach(function(I){d(B,I,function(T){return this._invoke(I,T)})})}n.isGeneratorFunction=function(B){var I=typeof B=="function"&&B.constructor;return I?I===x||(I.displayName||I.name)==="GeneratorFunction":!1},n.mark=function(B){return Object.setPrototypeOf?Object.setPrototypeOf(B,S):(B.__proto__=S,d(B,f,"GeneratorFunction")),B.prototype=Object.create(D),B},n.awrap=function(B){return{__await:B}};function O(B,I){function T(Y,ee,P,Q){var Z=g(B[Y],B,ee);if(Z.type==="throw")Q(Z.arg);else{var R=Z.arg,te=R.value;return te&&typeof te=="object"&&o.call(te,"__await")?I.resolve(te.__await).then(function(oe){T("next",oe,P,Q)},function(oe){T("throw",oe,P,Q)}):I.resolve(te).then(function(oe){R.value=oe,P(R)},function(oe){return T("throw",oe,P,Q)})}}var F;function U(Y,ee){function P(){return new I(function(Q,Z){T(Y,ee,Q,Z)})}return F=F?F.then(P,P):P()}i(this,"_invoke",{value:U})}M(O.prototype),d(O.prototype,l,function(){return this}),n.AsyncIterator=O,n.async=function(B,I,T,F,U){U===void 0&&(U=Promise);var Y=new O(h(B,I,T,F),U);return n.isGeneratorFunction(I)?Y:Y.next().then(function(ee){return ee.done?ee.value:Y.next()})};function k(B,I,T){var F=m;return function(Y,ee){if(F===E)throw new Error("Generator is already running");if(F===w){if(Y==="throw")throw ee;return K()}for(T.method=Y,T.arg=ee;;){var P=T.delegate;if(P){var Q=N(P,T);if(Q){if(Q===y)continue;return Q}}if(T.method==="next")T.sent=T._sent=T.arg;else if(T.method==="throw"){if(F===m)throw F=w,T.arg;T.dispatchException(T.arg)}else T.method==="return"&&T.abrupt("return",T.arg);F=E;var Z=g(B,I,T);if(Z.type==="normal"){if(F=T.done?w:p,Z.arg===y)continue;return{value:Z.arg,done:T.done}}else Z.type==="throw"&&(F=w,T.method="throw",T.arg=Z.arg)}}}function N(B,I){var T=I.method,F=B.iterator[T];if(F===s)return I.delegate=null,T==="throw"&&B.iterator.return&&(I.method="return",I.arg=s,N(B,I),I.method==="throw")||T!=="return"&&(I.method="throw",I.arg=new TypeError("The iterator does not provide a '"+T+"' method")),y;var U=g(F,B.iterator,I.arg);if(U.type==="throw")return I.method="throw",I.arg=U.arg,I.delegate=null,y;var Y=U.arg;if(!Y)return I.method="throw",I.arg=new TypeError("iterator result is not an object"),I.delegate=null,y;if(Y.done)I[B.resultName]=Y.value,I.next=B.nextLoc,I.method!=="return"&&(I.method="next",I.arg=s);else return Y;return I.delegate=null,y}M(D),d(D,f,"Generator"),d(D,u,function(){return this}),d(D,"toString",function(){return"[object Generator]"});function H(B){var I={tryLoc:B[0]};1 in B&&(I.catchLoc=B[1]),2 in B&&(I.finallyLoc=B[2],I.afterLoc=B[3]),this.tryEntries.push(I)}function G(B){var I=B.completion||{};I.type="normal",delete I.arg,B.completion=I}function q(B){this.tryEntries=[{tryLoc:"root"}],B.forEach(H,this),this.reset(!0)}n.keys=function(B){var I=Object(B),T=[];for(var F in I)T.push(F);return T.reverse(),function U(){for(;T.length;){var Y=T.pop();if(Y in I)return U.value=Y,U.done=!1,U}return U.done=!0,U}};function V(B){if(B){var I=B[u];if(I)return I.call(B);if(typeof B.next=="function")return B;if(!isNaN(B.length)){var T=-1,F=function U(){for(;++T<B.length;)if(o.call(B,T))return U.value=B[T],U.done=!1,U;return U.value=s,U.done=!0,U};return F.next=F}}return{next:K}}n.values=V;function K(){return{value:s,done:!0}}return q.prototype={constructor:q,reset:function(B){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(G),!B)for(var I in this)I.charAt(0)==="t"&&o.call(this,I)&&!isNaN(+I.slice(1))&&(this[I]=s)},stop:function(){this.done=!0;var B=this.tryEntries[0],I=B.completion;if(I.type==="throw")throw I.arg;return this.rval},dispatchException:function(B){if(this.done)throw B;var I=this;function T(Q,Z){return Y.type="throw",Y.arg=B,I.next=Q,Z&&(I.method="next",I.arg=s),!!Z}for(var F=this.tryEntries.length-1;F>=0;--F){var U=this.tryEntries[F],Y=U.completion;if(U.tryLoc==="root")return T("end");if(U.tryLoc<=this.prev){var ee=o.call(U,"catchLoc"),P=o.call(U,"finallyLoc");if(ee&&P){if(this.prev<U.catchLoc)return T(U.catchLoc,!0);if(this.prev<U.finallyLoc)return T(U.finallyLoc)}else if(ee){if(this.prev<U.catchLoc)return T(U.catchLoc,!0)}else if(P){if(this.prev<U.finallyLoc)return T(U.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(B,I){for(var T=this.tryEntries.length-1;T>=0;--T){var F=this.tryEntries[T];if(F.tryLoc<=this.prev&&o.call(F,"finallyLoc")&&this.prev<F.finallyLoc){var U=F;break}}U&&(B==="break"||B==="continue")&&U.tryLoc<=I&&I<=U.finallyLoc&&(U=null);var Y=U?U.completion:{};return Y.type=B,Y.arg=I,U?(this.method="next",this.next=U.finallyLoc,y):this.complete(Y)},complete:function(B,I){if(B.type==="throw")throw B.arg;return B.type==="break"||B.type==="continue"?this.next=B.arg:B.type==="return"?(this.rval=this.arg=B.arg,this.method="return",this.next="end"):B.type==="normal"&&I&&(this.next=I),y},finish:function(B){for(var I=this.tryEntries.length-1;I>=0;--I){var T=this.tryEntries[I];if(T.finallyLoc===B)return this.complete(T.completion,T.afterLoc),G(T),y}},catch:function(B){for(var I=this.tryEntries.length-1;I>=0;--I){var T=this.tryEntries[I];if(T.tryLoc===B){var F=T.completion;if(F.type==="throw"){var U=F.arg;G(T)}return U}}throw new Error("illegal catch attempt")},delegateYield:function(B,I,T){return this.delegate={iterator:V(B),resultName:I,nextLoc:T},this.method==="next"&&(this.arg=s),y}},n}(t.exports);try{regeneratorRuntime=e}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}})(qa);var Uh=qa.exports;(function(t){var e=Uh;function n(m,p,E,w,y,b,x){try{var S=m[b](x),v=S.value}catch(C){return void E(C)}S.done?p(v):Promise.resolve(v).then(w,y)}function r(m){return function(){var p=this,E=arguments;return new Promise(function(w,y){var b=m.apply(p,E);function x(v){n(b,w,y,x,S,"next",v)}function S(v){n(b,w,y,x,S,"throw",v)}x(void 0)})}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=!1,i=null,s="en",a=null,u=null,l="https://maps.googleapis.com/maps/api/geocode/json";function f(m){var p=arguments.length>1&&arguments[1]!==void 0&&arguments[1];o&&(p?console.warn(m):console.log(m))}function d(m){return h.apply(this,arguments)}function h(){return(h=r(e.mark(function m(p){var E,w;return e.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,fetch(p).catch(function(){return Promise.reject(new Error("Error fetching data"))});case 2:return E=y.sent,y.next=5,E.json().catch(function(){return f("Error parsing server response"),Promise.reject(new Error("Error parsing server response"))});case 5:if((w=y.sent).status!=="OK"){y.next=9;break}return f(w),y.abrupt("return",w);case 9:return f("".concat(w.error_message,`.
2
- Server returned status code `).concat(w.status),!0),y.abrupt("return",Promise.reject(new Error("".concat(w.error_message,`.
3
- Server returned status code `).concat(w.status))));case 11:case"end":return y.stop()}},m)}))).apply(this,arguments)}var g={setApiKey:function(m){i=m},setLanguage:function(m){s=m},setRegion:function(m){a=m},setLocationType:function(m){u=m},enableDebug:function(){var m=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];o=m},fromLatLng:function(m,p,E,w,y,b){return r(e.mark(function x(){var S,v;return e.wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(m&&p){C.next=3;break}return f("Provided coordinates are invalid",!0),C.abrupt("return",Promise.reject(new Error("Provided coordinates are invalid")));case 3:return S="".concat(m,",").concat(p),v="".concat(l,"?latlng=").concat(encodeURIComponent(S)),(E||i)&&(v+="&key=".concat(i=E||i)),(w||s)&&(v+="&language=".concat(s=w||s)),(y||a)&&(a=y||a,v+="&region=".concat(encodeURIComponent(a))),(b||u)&&(u=b||u,v+="&location_type=".concat(encodeURIComponent(u))),C.abrupt("return",d(v));case 9:case"end":return C.stop()}},x)}))()},fromAddress:function(m,p,E,w){return r(e.mark(function y(){var b;return e.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(m){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 b="".concat(l,"?address=").concat(encodeURIComponent(m)),(p||i)&&(b+="&key=".concat(i=p||i)),(E||s)&&(b+="&language=".concat(s=E||s)),(w||a)&&(a=w||a,b+="&region=".concat(encodeURIComponent(a))),x.abrupt("return",d(b));case 8:case"end":return x.stop()}},y)}))()}};t.default=g})(Ka);const ho=fo(Ka);ho.setApiKey("AIzaSyBO9gABz5DPTW3DcJuNCLx6Q7GmDYDRwRA");const Hh=Oh().use(gh()).use(ah()).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 Ja={exports:{}};/*!
1
+ (function(Dt,L){typeof exports=="object"&&typeof module<"u"?L(exports,require("react/jsx-runtime"),require("react"),require("react-dom"),require("react-dom/server")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom","react-dom/server"],L):(Dt=typeof globalThis<"u"?globalThis:Dt||self,L(Dt["@omnic/widget-locations"]={},Dt["react/jsx-runtime"],Dt.React,Dt.ReactDOM,Dt["react-dom/server"]))})(this,function(Dt,L,c,Un,uo){"use strict";function Oa(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 se=Oa(c),Ma=Oa(Un),_E="",XE="";function zi(t){return!!(t&&typeof t.then=="function")}function co(t,e){return zi(t)?Promise.resolve(t).then(e):e(t)}function Pa(t){const e=(Array.isArray(t)?t:[t]).map(i=>`'${i}'`),n=e.slice(-2).join(" or ");return`Tolgee: You need to specify ${[...e.slice(0,-2),n].join(", ")} option`}function Vd(t){return typeof t=="object"&&!Array.isArray(t)&&t!==null}function ka(t){if(typeof t=="string")return[t];if(Array.isArray(t))return t}function bt(t){return ka(t)||[]}function Gd(t,e){return Vd(e)?bt(e==null?void 0:e[t]):bt(e)}function Fi(t){return Array.from(new Set(t))}function Ia(t){return t&&t.replace(/\/+$/,"")}function Qd(t){if(typeof t=="string")return t;if(typeof(t==null?void 0:t.message)=="string")return t.message}const Yd=(t,e)=>fetch(t,e),Da=(t=Yd)=>(e,n)=>t(e,Object.assign(Object.assign({},n),{headers:Object.assign({"X-Tolgee-SDK-Type":"JS","X-Tolgee-SDK-Version":"5.12.0"},n==null?void 0:n.headers)}));function Zt(t){let e=[];return Object.freeze({listen(n){const r=o=>{n(o)};return e.push(r),{unsubscribe(){e=e.filter(o=>r!==o)}}},emit(n){t()&&e.forEach(r=>r({value:n}))}})}function Wd(t,e,n){const r=new Set,o=new Set;function i(l){const u=new Set(e());o.forEach(f=>{(l===void 0||(l==null?void 0:l.findIndex(h=>u.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 u=new Set;l.forEach(d=>{d===void 0?u=void 0:u!==void 0&&d.forEach(h=>u.add(h))});const f=u?Array.from(u.keys()):void 0;i(f)}return Object.freeze({emit(l,u){t()&&(s.push(l),u?setTimeout(a,0):a())},listen(l){return r.add(l),{unsubscribe:()=>{r.delete(l)}}},listenSome(l){const u={fn:d=>{l(d)},namespaces:new Set};o.add(u);const f={unsubscribe:()=>{o.delete(u)},subscribeNs:d=>(bt(d).forEach(h=>u.namespaces.add(h)),d===void 0&&u.namespaces.add(n()),f)};return f}})}function Rd(t,e){let n=!0;function r(){return n}const o=Object.freeze({onPendingLanguageChange:Zt(r),onLanguageChange:Zt(r),onLoadingChange:Zt(r),onFetchingChange:Zt(r),onInitialLoaded:Zt(r),onRunningChange:Zt(r),onCacheChange:Zt(r),onUpdate:Wd(r,t,e),onPermanentChange:Zt(r),setEmitterActive(i){n=i},on:(i,s)=>{switch(i){case"pendingLanguage":return o.onPendingLanguageChange.listen(s);case"language":return o.onLanguageChange.listen(s);case"loading":return o.onLoadingChange.listen(s);case"fetching":return o.onFetchingChange.listen(s);case"initialLoad":return o.onInitialLoaded.listen(s);case"running":return o.onRunningChange.listen(s);case"cache":return o.onCacheChange.listen(s);case"update":return o.onUpdate.listen(s);case"permanentChange":return o.onPermanentChange.listen(s)}}});return o.onInitialLoaded.listen(()=>o.onUpdate.emit()),o.onLanguageChange.listen(()=>o.onUpdate.emit()),o.onCacheChange.listen(({value:i})=>o.onUpdate.emit([i.namespace],!0)),o}const Ta=t=>{const e=new Map;return Object.entries(t).forEach(([n,r])=>{if(r!=null){if(typeof r=="object"){Ta(r).forEach((o,i)=>{e.set(n+"."+i,o)});return}e.set(n,r)}}),e},fr=t=>{const[e,...n]=t.split(":"),r=n.join(":");return{language:e,namespace:r||""}},Qt=({language:t,namespace:e})=>e?`${t}:${e}`:t;function Kd(t,e,n,r,o,i,s){const a=new Map,l=new Map;let u={},f=0;function d(p,E,w){const b=Qt(p);l.set(b,{data:Ta(E),version:w}),t.emit(p)}function h(p){let E;if(!E){const w=u[Qt(p)];typeof w=="function"&&(E=w())}return E||(E=e(p)),E}function g(p,E){var w;let b;return E&&(b=(w=n(p))===null||w===void 0?void 0:w.catch(()=>(console.warn("Tolgee: Failed to fetch data from dev backend"),h(p)))),b||(b=h(p)),b}const m=Object.freeze({addStaticData(p){p&&(u=Object.assign(Object.assign({},u),p),Object.entries(p).forEach(([E,w])=>{if(typeof w!="function"){const b=fr(E),y=l.get(E);(!y||y.version===0)&&d(b,w,0)}}))},invalidate(){a.clear(),f+=1},addRecord(p,E){d(p,E,f)},exists(p,E=!1){const w=l.get(Qt(p));return w&&E?w.version===f:!!w},getRecord(p){var E;return(E=l.get(Qt(r(p))))===null||E===void 0?void 0:E.data},getTranslation(p,E){var w;return(w=l.get(Qt(p)))===null||w===void 0?void 0:w.data.get(E)},getTranslationNs(p,E,w){var b;for(const y of p)for(const A of E){const S=(b=l.get(Qt({language:A,namespace:y})))===null||b===void 0?void 0:b.data.get(w);if(S!=null)return[y]}return Fi(p)},getTranslationFallback(p,E,w){var b;for(const y of p)for(const A of E){const S=(b=l.get(Qt({language:A,namespace:y})))===null||b===void 0?void 0:b.data.get(w);if(S!=null)return S}},changeTranslation(p,E,w){var b;const y=(b=l.get(Qt(p)))===null||b===void 0?void 0:b.data;y==null||y.set(E,w),t.emit(Object.assign(Object.assign({},p),{key:E}))},isFetching(p){if(o())return!0;if(p===void 0)return a.size>0;const E=bt(p);return!!Array.from(a.keys()).find(w=>E.includes(fr(w).namespace))},isLoading(p,E){const w=bt(E);return!!(o()||Array.from(a.keys()).find(b=>{const y=fr(b);return(!w.length||w.includes(y.namespace))&&!m.exists({namespace:y.namespace,language:p})}))},async loadRecords(p,E){const w=p.map(y=>{const A=r(y),S=Qt(A),v=a.get(S);if(v)return{new:!1,promise:v,keyObject:A,cacheKey:S};const C=g(A,E)||Promise.resolve(void 0);return a.set(S,C),{new:!0,promise:C,keyObject:A,cacheKey:S}});i.notify(),s.notify();const b=await Promise.all(w.map(y=>y.promise));return w.forEach((y,A)=>{const S=a.get(y.cacheKey)!==y.promise;if(y.new&&!S){a.delete(y.cacheKey);const v=b[A];v?m.addRecord(y.keyObject,v):m.getRecord(y.keyObject)||m.addRecord(y.keyObject,{})}}),i.notify(),s.notify(),w.map(y=>m.getRecord(y.keyObject))},getAllRecords(){return Array.from(l.entries()).map(([E,w])=>Object.assign(Object.assign({},fr(E)),{data:w.data}))}});return m}function Ba(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 o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}const qd={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},Vi="invalid",Jd={defaultNs:"",observerOptions:qd,observerType:"invisible",onFormatError:Vi,apiUrl:"https://app.tolgee.io",fetch:Da()},Gi=(...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 Na(t,e){const n=Gi(Jd,e==null?void 0:e.initialOptions,t);return n.apiUrl=Ia(n.apiUrl),t!=null&&t.fetch&&(n.fetch=Da(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,o,i,s,a){const l={ui:void 0},u={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:k})=>{var N;const H=O.map(({key:G,ns:q,defaultValue:V})=>({key:G,defaultValue:V,fallbackNamespaces:r(q),namespace:o({key:G,ns:q})[0],translation:i({key:G,ns:q})}));(N=u.ui)===null||N===void 0||N.handleElementClick(H,k)},d=(O,k)=>{var N;return((N=u.observer)===null||N===void 0?void 0:N.findPositions(O,k))||[]};function h(O){const k=i({key:O.key,ns:O.ns});return M.formatTranslation(Object.assign(Object.assign({},O),{translation:k,formatEnabled:!0}))}function g(){return{fetch:e().fetch}}function m(O){u.observer=O==null?void 0:O()}function p(){return!!u.observer}function E(O){O&&u.formatters.push(O)}function w(O){u.finalFormatter=O}function b(O){l.ui=O}function y(){return!!l.ui}function A(O){u.languageStorage=O}function S(O){u.languageDetector=O}function v(){if(!u.languageDetector)return;const O=n();return u.languageDetector.getLanguage(Object.assign({availableLanguages:O},g()))}function C(O){O&&u.backends.push(O)}function x(O){u.devBackend=O}function D(O,k){const N=Object.freeze({setFinalFormatter:w,addFormatter:E,setObserver:m,hasObserver:p,setUi:b,hasUi:y,setDevBackend:x,addBackend:C,setLanguageDetector:S,setLanguageStorage:A});k(O,N)}const M=Object.freeze({addPlugin:D,run(){var O,k;const{apiKey:N,apiUrl:H,projectId:G,observerOptions:q}=e();u.ui=(O=l.ui)===null||O===void 0?void 0:O.call(l,{apiKey:N,apiUrl:H,projectId:G,highlight:M.highlight,changeTranslation:s,findPositions:d,onPermanentChange:a}),(k=u.observer)===null||k===void 0||k.run({mouseHighlight:!0,options:q,translate:h,onClick:f})},stop(){var O;u.ui=void 0,(O=u.observer)===null||O===void 0||O.stop()},getLanguageStorage(){return u.languageStorage},getInitialLanguage(){var O;const k=n(),N=(O=u.languageStorage)===null||O===void 0?void 0:O.getLanguage(g());return co(N,H=>(!k||k.includes(H))&&H?H:v())},setStoredLanguage(O){var k;(k=u.languageStorage)===null||k===void 0||k.setLanguage(O,g())},getDevBackend(){return u.devBackend},getBackendRecord:({language:O,namespace:k})=>{for(const N of u.backends){const H=N.getRecord(Object.assign({language:O,namespace:k},g()));if(zi(H))return H==null?void 0:H.catch(G=>(console.error(G),{}));if(H!==void 0)return H}},getBackendDevRecord:({language:O,namespace:k})=>{var N;const{apiKey:H,apiUrl:G,projectId:q}=e();return(N=u.devBackend)===null||N===void 0?void 0:N.getRecord(Object.assign({apiKey:H,apiUrl:G,projectId:q,language:O,namespace:k},g()))},getLanguageDetector(){return u.languageDetector},retranslate(){var O;(O=u.observer)===null||O===void 0||O.retranslate()},highlight:(O,k)=>{var N,H;return((H=(N=u.observer)===null||N===void 0?void 0:N.highlight)===null||H===void 0?void 0:H.call(N,O,k))||{unhighlight(){}}},unwrap(O){var k;return u.observer?(k=u.observer)===null||k===void 0?void 0:k.unwrap(O):{text:O,keys:[]}},wrap(O){var k;return u.observer?(k=u.observer)===null||k===void 0?void 0:k.wrap(O):O.translation},hasDevBackend(){return!!M.getDevBackend()},formatTranslation(O){var k,{formatEnabled:N}=O,H=Ba(O,["formatEnabled"]);const{key:G,translation:q,defaultValue:V,noWrap:K,params:B,orEmpty:I,ns:T}=H,F=q||V;let U=F||(I?"":G);const Y=t(),ee=N||!(!((k=u.observer)===null||k===void 0)&&k.outputNotFormattable),P=Q=>u.observer&&!K?u.observer.wrap({key:G,translation:Q,defaultValue:V,params:B,ns:T}):Q;U=P(U);try{if(F&&Y&&ee)for(const Q of u.formatters)U=Q.format({translation:U,language:Y,params:B});u.finalFormatter&&F&&Y&&ee&&(U=u.finalFormatter.format({translation:U,language:Y,params:B}))}catch(Q){console.error(Q);const Z=Qd(Q)||Vi,R=e().onFormatError,te=typeof R;te==="string"?U=R:te==="function"?U=R(Z,H):U=Vi,U=P(U)}return U}});return M}const ja=(t,e,n)=>{let r=t;return Object.freeze({init(o){r=o},notify(){const o=e();r!==o&&n(o),r=o}})};function _d(t,e,n){let r=Na(),o;const i=Object.freeze({init(s){r=Na(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||i.getLanguage()},setPendingLanguage(s){r.pendingLanguage!==s&&(r.pendingLanguage=s,e.emit(s))},getInitialOptions(){return Object.assign(Object.assign({},r.initialOptions),o)},addActiveNs(s){bt(s).forEach(l=>{const u=r.activeNamespaces.get(l);u!==void 0?r.activeNamespaces.set(l,u+1):r.activeNamespaces.set(l,1)})},removeActiveNs(s){bt(s).forEach(l=>{const u=r.activeNamespaces.get(l);u!==void 0&&u>1?r.activeNamespaces.set(l,u-1):r.activeNamespaces.delete(l)})},getRequiredNamespaces(){return Fi([...r.initialOptions.ns||[r.initialOptions.defaultNs],...bt(r.initialOptions.fallbackNs),...r.activeNamespaces.keys()])},getFallbackLangs(s){const a=s||i.getLanguage();return a?Fi([a,...Gd(a,r.initialOptions.fallbackLanguage)]):[]},getFallbackNs(){return bt(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=>fr(a).language);return Array.from(new Set(s))}},withDefaultNs(s){return{namespace:s.namespace===void 0?i.getInitialOptions().defaultNs:s.namespace,language:s.language}},overrideCredentials(s){s?o=Object.assign(Object.assign({},s),{apiUrl:Ia(s.apiUrl)}):o=void 0}});return i}function Xd(t){var{ns:e,noWrap:n,orEmpty:r,params:o,language:i}=t,s=Ba(t,["ns","noWrap","orEmpty","params","language"]);return Object.assign(Object.assign({},{ns:e,noWrap:n,orEmpty:r,language:i}),{params:Object.assign({},s)})}const Ua=(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({},Xd(r)),n)),n};function $d({options:t}){const e=Rd(l,u),n=ja(!1,()=>s.isFetching(),e.onFetchingChange.emit),r=ja(!1,()=>v.isLoading(),e.onLoadingChange.emit),o=_d(e.onLanguageChange,e.onPendingLanguageChange,e.onRunningChange),i=Zd(o.getLanguage,o.getInitialOptions,o.getAvailableLanguages,f,w,b,h,g),s=Kd(e.onCacheChange,i.getBackendRecord,i.getBackendDevRecord,o.withDefaultNs,o.isInitialLoading,n,r);t&&m(t);let a;e.onUpdate.listen(()=>{o.isRunning()&&i.retranslate()});function l(){return o.getFallbackNs()}function u(C){return o.getDefaultNs(C)}function f(C){return[...bt(u(C)),...l()]}function d(C){return[...bt(C??u()),...o.getRequiredNamespaces()]}function h(C,x,D){const M=o.withDefaultNs(C),O=s.getTranslation(M,x);return s.changeTranslation(M,x,D),{revert(){s.changeTranslation(M,x,O)}}}function g(C){e.onPermanentChange.emit({key:C.key,namespace:C.namespace})}function m(C){o.init(C),s.addStaticData(o.getInitialOptions().staticData)}function p(C,x){const D=o.getFallbackLangs(C),M=d(x),O=[];return D.forEach(k=>{M.forEach(N=>{s.exists({language:k,namespace:N},!0)||O.push({language:k,namespace:N})})}),O}function E(C,x){const D=p(C,x);if(D.length)return co(v.loadRecords(D),()=>{})}function w({key:C,ns:x}){const D=o.getFallbackLangs(),M=f(x??void 0);return s.getTranslationNs(M,D,C)}function b({key:C,ns:x,language:D}){const M=f(x??void 0),O=o.getFallbackLangs(D);return s.getTranslationFallback(M,O,C)}function y(){const C=co(A(),()=>E());if(zi(C))return o.setInitialLoading(!0),n.notify(),r.notify(),Promise.resolve(C).then(()=>{o.setInitialLoading(!1),n.notify(),r.notify(),e.onInitialLoaded.emit()});e.onInitialLoaded.emit()}function A(){if(o.getLanguage())return;const x=i.getInitialLanguage();return co(x,D=>{const M=D||o.getInitialOptions().defaultLanguage;M&&o.setLanguage(M)})}function S(){if((i.getLanguageDetector()||i.getLanguageStorage())&&!o.getAvailableLanguages())throw new Error(Pa("availableLanguages"));if(!o.getLanguage()&&!o.getInitialOptions().defaultLanguage)throw new Error(Pa(["defaultLanguage","language"]))}const v=Object.freeze(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),o),i),s),{init:m,getTranslation:b,changeTranslation:h,getTranslationNs:w,getDefaultAndFallbackNs:f,async changeLanguage(C){o.getPendingLanguage()===C&&o.getLanguage()===C||(o.setPendingLanguage(C),o.isRunning()&&await E(C),C===o.getPendingLanguage()&&(o.setLanguage(C),i.setStoredLanguage(C)))},async addActiveNs(C,x){x||o.addActiveNs(C),o.isRunning()&&await E(void 0,C)},loadRecords(C){return s.loadRecords(C,v.isDev())},async loadRecord(C){return(await v.loadRecords([C]))[0]},isLoading(C){return s.isLoading(o.getLanguage(),C)},isLoaded(C){const x=o.getLanguage();if(!x)return!1;const D=o.getFallbackLangs(x),M=d(C),O=[];return D.forEach(k=>{M.forEach(N=>{s.exists({language:k,namespace:N})||O.push({language:k,namespace:N})})}),O.length===0},t:(...C)=>{const x=Ua(...C),D=b(x);return i.formatTranslation(Object.assign(Object.assign({},x),{translation:D}))},isDev(){return!!(o.getInitialOptions().apiKey&&o.getInitialOptions().apiUrl)},run(){return S(),o.isRunning()||(o.setRunning(!0),i.run(),a=y()),Promise.resolve(a)},stop(){o.isRunning()&&(i.stop(),o.setRunning(!1))}}));return v}function eh(t){const e=$d({options:t});e.isDev()&&e.invalidate();function n(o){const i=e.isRunning();i&&e.stop(),o(),e.isDev()&&e.invalidate(),i&&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(o){n(()=>e.overrideCredentials(o))},addPlugin(o){o&&n(()=>e.addPlugin(r,o))},updateOptions(o){o&&n(()=>e.init(o))}});return r}const th=()=>{const t={plugins:[],options:{}},e=Object.freeze({use(n){return t.plugins.push(n),e},updateDefaults(n){return t.options=Gi(t.options,n),e},init(n){const r=eh(Gi(t.options,n));return t.plugins.forEach(r.addPlugin),r}});return e},Ha=0,Qi=1,nh=2;class rh extends Error{constructor(e,n,r){let o;e===Ha?o="Empty parameter":e===Qi?o="Unexpected character":o="Unexpected end",super(`Tolgee parser: ${o} at ${n} in "${r}"`),this.code=e,this.index=n}}function za(t){return/\s/.test(t)}const _t=0,Yi=1,fo=2,Wi=3,Ri=4,oh=new Set([fo,Yi,_t]),Ki="'",ih=new Set(["{","}",Ki]),sh=t=>/[0-9a-zA-Z_]/.test(t);function ah(t){let e=_t,n="",r="",o="";const i=[],s=[];let a=0;function l(h){throw new rh(h,a,t)}const u=()=>{i.push(n),n=""},f=()=>{sh(o)||l(Qi),r+=o},d=()=>{r===""&&l(Ha),s.push(r),r=""};for(a=0;a<t.length;a++)switch(o=t[a],e){case _t:o===Ki?(n+=o,e=Yi):o==="{"?(u(),e=Wi):(n+=o,e=_t);break;case Yi:ih.has(o)?(n=n.slice(0,-1)+o,e=fo):(n+=o,e=_t);break;case fo:o===Ki?e=_t:(n+=o,e=fo);break;case Wi:o==="}"?(d(),e=_t):za(o)?r!==""&&(d(),e=Ri):(f(),e=Wi);break;case Ri:o=="}"?e=_t:za(o)?e=Ri:l(Qi)}return oh.has(e)||l(nh),u(),[i,s]}function lh(t,e){const[n,r]=ah(t),o=[n[0]];for(let i=1;i<n.length;i++){const s=e==null?void 0:e[r[i-1]];if(s===void 0)throw new Error(`Missing parameter "${r[i-1]}" in "${t}"`);o.push(String(s)),o.push(n[i])}return o.join("")}function uh(){return{format:({translation:t,params:e})=>lh(t,e)}}const ch=()=>(t,e)=>(e.setFinalFormatter(uh()),t),fh="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";function dh(t){const e=fh.indexOf(t);if(e===-1)throw new Error("Invalid character found: "+t);return e}function hh(t){const e=new Uint8Array(t),n=e.length;let r="",o=Math.pow(2,16)-1;for(let i=0;i<n;i+=o)i+o>n&&(o=n-i),r+=String.fromCharCode.apply(null,e.subarray(i,i+o));return r}function ph(t){t=t.toUpperCase();const e=t.length;let n=0,r=0,o=0;const i=new Uint8Array(e*5/8|0);for(let s=0;s<e;s++)r=r<<5|dh(t[s]),n+=5,n>=8&&(i[o++]=r>>>n-8&255,n-=8);return hh(i.buffer)}function gh(t){if(t)try{const[e,n]=t.split("_");if(e==="tgpak"){const[r]=ph(n).split("_");return Number(r)}}catch{console.warn("Tolgee: Api key can't be parsed")}}function vh(t){if(!t)return;const[e]=t.split("_");return e==="tgpak"?"tgpak":e==="tgpat"?"tgpat":"legacy"}function mh(){return{getRecord({apiUrl:t,apiKey:e,language:n,namespace:r,projectId:o,fetch:i}){var s;const a=(s=gh(e))!==null&&s!==void 0?s:o;let l=a!==void 0?`${t}/v2/projects/${a}/translations/${n}`:`${t}/v2/projects/translations/${n}`;if(r&&(l+=`?ns=${r}`),vh(e)==="tgpat"&&o===void 0)throw new Error("You need to specify 'projectId' when using PAT key");return i(l,{headers:{"X-API-Key":e||"","Content-Type":"application/json"}}).then(u=>{if(u.ok)return u.json().then(f=>f[n]);throw new Error(u.statusText)})}}}const yh=()=>(t,e)=>(e.setDevBackend(mh()),t);function bh(t,e){const n=r=>{var o,i;t.includes((o=r.data)===null||o===void 0?void 0:o.type)&&e((i=r.data)===null||i===void 0?void 0:i.data)};return window.addEventListener("message",n,!1),{unsubscribe(){window.removeEventListener("message",n)}}}function wh({message:t,recievingMessage:e,data:n,attempts:r=1}){let o=!1;const i=()=>new Promise((a,l)=>{const u=bh(e,d);window.postMessage({type:t,data:n},window.origin);const f=setTimeout(g,300);function d(m){clearTimeout(f),h(),a(m)}function h(){u.unsubscribe()}function g(){h(),l()}});return{cancel(){o=!0},promise:(async()=>{for(let a=0;a<r;a++){if(o)return new Promise(()=>{});try{return await i()}catch{continue}}if(!o)throw`Didn't recieve ${e.join(" or ")} in time.`;return new Promise(()=>{})})()}}function Eh(){let t;async function e(n){t==null||t();const{cancel:r,promise:o}=wh({message:"TOLGEE_READY",recievingMessage:["TOLGEE_PLUGIN_READY","TOLGEE_PLUGIN_UPDATED"],data:n,attempts:4});return t=r,o}return{update:e}}const Ch="tolgee-in-context-tools.umd.min.js",Sh="@tolgee/in-context-tools",Lh="InContextTools",xh="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",o=>n(o.error)),document.body.appendChild(r)})}let qi=null;function Oh(t){return qi||(qi=Ah(`${xh}/@tolgee/web@${t}/dist/${Ch}`).then(()=>window[Sh][Lh])),qi}const Fa="__tolgee_apiKey",Va="__tolgee_apiUrl";function Ga(){const t=sessionStorage.getItem(Fa)||void 0,e=sessionStorage.getItem(Va)||void 0;if(!(!t||!e))return{apiKey:t,apiUrl:e}}function Mh(){sessionStorage.removeItem(Fa),sessionStorage.removeItem(Va)}function Ph(t){document.readyState!=="loading"?Promise.resolve().then(()=>{t()}):document.addEventListener&&document.addEventListener("DOMContentLoaded",t)}let Qa=()=>t=>t;(()=>{if(typeof window>"u")return!1;try{return typeof sessionStorage<"u"&&sessionStorage}catch(t){return console.error("sessionStorage not available",t),!1}})()&&(Qa=()=>t=>{const e=Eh(),n=()=>({uiPresent:!0,uiVersion:void 0,mode:t.isDev()?"development":"production",config:{apiUrl:t.getInitialOptions().apiUrl||"",apiKey:t.getInitialOptions().apiKey||""}}),r=async()=>{const i=await Oh("5.12.0");return s=>{const a=Ga();return s.addPlugin(i({credentials:a})),s}};return t.on("running",({value:i})=>{i&&Ph(()=>{e.update(n()).catch(Mh)})}),Ga()&&r().then(i=>{t.addPlugin(i)}).catch(i=>{console.error("Tolgee: Failed to load in-context tools"),console.error(i)}),t});function kh(){return th().use(Qa())}const Ih={useSuspense:!0};let Ji;const Ya=()=>(Ji||(Ji=c.createContext(void 0)),Ji),Dh=({tolgee:t,options:e,children:n,fallback:r})=>{const[o,i]=c.useState(!t.isLoaded());c.useEffect(()=>{t.run().catch(l=>{console.error(l)}).finally(()=>{i(!1)})},[t]);const s=Object.assign(Object.assign({},Ih),e),a=Ya();return s.useSuspense?c.createElement(a.Provider,{value:{tolgee:t,options:s}},o?r:c.createElement(c.Suspense,{fallback:r||null},n)):c.createElement(a.Provider,{value:{tolgee:t,options:s}},o?r:n)};let Th;function Bh(){return Th}const Wa=()=>{const t=Ya(),e=c.useContext(t)||Bh();if(!e)throw new Error("Couldn't find tolgee instance, did you forgot to use `TolgeeProvider`?");return e},Ra=()=>{const[t,e]=c.useState(0),n=c.useCallback(()=>{e(r=>r+1)},[e]);return{instance:t,rerender:n}},Ka=(t,e)=>{const{tolgee:n,options:r}=Wa(),o=ka(t),i=bt(o).join(":"),s=Object.assign(Object.assign({},r),e),{rerender:a,instance:l}=Ra(),u=c.useRef(),f=c.useRef([]);f.current=[];const d=m=>{var p;f.current.push(m),(p=u.current)===null||p===void 0||p.subscribeNs(m)},h=n.isLoaded(o);c.useEffect(()=>{const m=n.onNsUpdate(a);return u.current=m,m.subscribeNs(o),f.current.forEach(p=>{m.subscribeNs(p)}),()=>{m.unsubscribe()}},[i,n]),c.useEffect(()=>(n.addActiveNs(o),()=>n.removeActiveNs(o)),[i,n]);const g=c.useCallback(m=>{var p;const E=(p=m.ns)!==null&&p!==void 0?p:o==null?void 0:o[0];return d(E),n.t(Object.assign(Object.assign({},m),{ns:E}))},[n,l]);if(s.useSuspense&&!h)throw n.addActiveNs(o,!0);return{t:g,isLoading:!h}},xt=(t,e)=>{const{t:n,isLoading:r}=Ka(t,e);return{t:c.useCallback((...i)=>{const s=Ua(...i);return n(s)},[n]),isLoading:r}},Nh=t=>{if(!t)return;const e={};return Object.entries(t||{}).forEach(([n,r])=>{if(typeof r=="function")e[n]=o=>r(Zi(o));else if(c.isValidElement(r)){const o=r;e[n]=i=>o.props.children===void 0&&(i!=null&&i.length)?c.cloneElement(o,{},Zi(i)):c.cloneElement(o)}else e[n]=r}),e},Zi=t=>Array.isArray(t)?c.Children.toArray(t):t,jh=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=Zi(t.t({key:e,params:Nh(t.params),defaultValue:n,noWrap:t.noWrap,ns:t.ns,language:t.language}));return c.createElement(c.Fragment,null,r)},gn=t=>{const{t:e}=Ka();return c.createElement(jh,Object.assign({t:e},t))},Uh=t=>{const{tolgee:e}=Wa(),{rerender:n}=Ra();return c.useEffect(()=>{const r=t==null?void 0:t.map(o=>e.on(o,n));return()=>{r==null||r.forEach(o=>o.unsubscribe())}},[t==null?void 0:t.join(":")]),e};function ho(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Hh=function(t,e,n,r,o,i,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 u=[n,r,o,i,s,a],f=0;l=new Error(e.replace(/%s/g,function(){return u[f++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},zh=Hh;const dr=ho(zh);var qa={},Ja={exports:{}};(function(t){var e=function(n){var r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(B,I,T){B[I]=T.value},s,a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(B,I,T){return Object.defineProperty(B,I,{value:T,enumerable:!0,configurable:!0,writable:!0}),B[I]}try{d({},"")}catch{d=function(I,T,F){return I[T]=F}}function h(B,I,T,F){var U=I&&I.prototype instanceof y?I:y,Y=Object.create(U.prototype),ee=new q(F||[]);return i(Y,"_invoke",{value:k(B,T,ee)}),Y}n.wrap=h;function g(B,I,T){try{return{type:"normal",arg:B.call(I,T)}}catch(F){return{type:"throw",arg:F}}}var m="suspendedStart",p="suspendedYield",E="executing",w="completed",b={};function y(){}function A(){}function S(){}var v={};d(v,l,function(){return this});var C=Object.getPrototypeOf,x=C&&C(C(V([])));x&&x!==r&&o.call(x,l)&&(v=x);var D=S.prototype=y.prototype=Object.create(v);A.prototype=S,i(D,"constructor",{value:S,configurable:!0}),i(S,"constructor",{value:A,configurable:!0}),A.displayName=d(S,f,"GeneratorFunction");function M(B){["next","throw","return"].forEach(function(I){d(B,I,function(T){return this._invoke(I,T)})})}n.isGeneratorFunction=function(B){var I=typeof B=="function"&&B.constructor;return I?I===A||(I.displayName||I.name)==="GeneratorFunction":!1},n.mark=function(B){return Object.setPrototypeOf?Object.setPrototypeOf(B,S):(B.__proto__=S,d(B,f,"GeneratorFunction")),B.prototype=Object.create(D),B},n.awrap=function(B){return{__await:B}};function O(B,I){function T(Y,ee,P,Q){var Z=g(B[Y],B,ee);if(Z.type==="throw")Q(Z.arg);else{var R=Z.arg,te=R.value;return te&&typeof te=="object"&&o.call(te,"__await")?I.resolve(te.__await).then(function(ie){T("next",ie,P,Q)},function(ie){T("throw",ie,P,Q)}):I.resolve(te).then(function(ie){R.value=ie,P(R)},function(ie){return T("throw",ie,P,Q)})}}var F;function U(Y,ee){function P(){return new I(function(Q,Z){T(Y,ee,Q,Z)})}return F=F?F.then(P,P):P()}i(this,"_invoke",{value:U})}M(O.prototype),d(O.prototype,u,function(){return this}),n.AsyncIterator=O,n.async=function(B,I,T,F,U){U===void 0&&(U=Promise);var Y=new O(h(B,I,T,F),U);return n.isGeneratorFunction(I)?Y:Y.next().then(function(ee){return ee.done?ee.value:Y.next()})};function k(B,I,T){var F=m;return function(Y,ee){if(F===E)throw new Error("Generator is already running");if(F===w){if(Y==="throw")throw ee;return K()}for(T.method=Y,T.arg=ee;;){var P=T.delegate;if(P){var Q=N(P,T);if(Q){if(Q===b)continue;return Q}}if(T.method==="next")T.sent=T._sent=T.arg;else if(T.method==="throw"){if(F===m)throw F=w,T.arg;T.dispatchException(T.arg)}else T.method==="return"&&T.abrupt("return",T.arg);F=E;var Z=g(B,I,T);if(Z.type==="normal"){if(F=T.done?w:p,Z.arg===b)continue;return{value:Z.arg,done:T.done}}else Z.type==="throw"&&(F=w,T.method="throw",T.arg=Z.arg)}}}function N(B,I){var T=I.method,F=B.iterator[T];if(F===s)return I.delegate=null,T==="throw"&&B.iterator.return&&(I.method="return",I.arg=s,N(B,I),I.method==="throw")||T!=="return"&&(I.method="throw",I.arg=new TypeError("The iterator does not provide a '"+T+"' method")),b;var U=g(F,B.iterator,I.arg);if(U.type==="throw")return I.method="throw",I.arg=U.arg,I.delegate=null,b;var Y=U.arg;if(!Y)return I.method="throw",I.arg=new TypeError("iterator result is not an object"),I.delegate=null,b;if(Y.done)I[B.resultName]=Y.value,I.next=B.nextLoc,I.method!=="return"&&(I.method="next",I.arg=s);else return Y;return I.delegate=null,b}M(D),d(D,f,"Generator"),d(D,l,function(){return this}),d(D,"toString",function(){return"[object Generator]"});function H(B){var I={tryLoc:B[0]};1 in B&&(I.catchLoc=B[1]),2 in B&&(I.finallyLoc=B[2],I.afterLoc=B[3]),this.tryEntries.push(I)}function G(B){var I=B.completion||{};I.type="normal",delete I.arg,B.completion=I}function q(B){this.tryEntries=[{tryLoc:"root"}],B.forEach(H,this),this.reset(!0)}n.keys=function(B){var I=Object(B),T=[];for(var F in I)T.push(F);return T.reverse(),function U(){for(;T.length;){var Y=T.pop();if(Y in I)return U.value=Y,U.done=!1,U}return U.done=!0,U}};function V(B){if(B){var I=B[l];if(I)return I.call(B);if(typeof B.next=="function")return B;if(!isNaN(B.length)){var T=-1,F=function U(){for(;++T<B.length;)if(o.call(B,T))return U.value=B[T],U.done=!1,U;return U.value=s,U.done=!0,U};return F.next=F}}return{next:K}}n.values=V;function K(){return{value:s,done:!0}}return q.prototype={constructor:q,reset:function(B){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(G),!B)for(var I in this)I.charAt(0)==="t"&&o.call(this,I)&&!isNaN(+I.slice(1))&&(this[I]=s)},stop:function(){this.done=!0;var B=this.tryEntries[0],I=B.completion;if(I.type==="throw")throw I.arg;return this.rval},dispatchException:function(B){if(this.done)throw B;var I=this;function T(Q,Z){return Y.type="throw",Y.arg=B,I.next=Q,Z&&(I.method="next",I.arg=s),!!Z}for(var F=this.tryEntries.length-1;F>=0;--F){var U=this.tryEntries[F],Y=U.completion;if(U.tryLoc==="root")return T("end");if(U.tryLoc<=this.prev){var ee=o.call(U,"catchLoc"),P=o.call(U,"finallyLoc");if(ee&&P){if(this.prev<U.catchLoc)return T(U.catchLoc,!0);if(this.prev<U.finallyLoc)return T(U.finallyLoc)}else if(ee){if(this.prev<U.catchLoc)return T(U.catchLoc,!0)}else if(P){if(this.prev<U.finallyLoc)return T(U.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(B,I){for(var T=this.tryEntries.length-1;T>=0;--T){var F=this.tryEntries[T];if(F.tryLoc<=this.prev&&o.call(F,"finallyLoc")&&this.prev<F.finallyLoc){var U=F;break}}U&&(B==="break"||B==="continue")&&U.tryLoc<=I&&I<=U.finallyLoc&&(U=null);var Y=U?U.completion:{};return Y.type=B,Y.arg=I,U?(this.method="next",this.next=U.finallyLoc,b):this.complete(Y)},complete:function(B,I){if(B.type==="throw")throw B.arg;return B.type==="break"||B.type==="continue"?this.next=B.arg:B.type==="return"?(this.rval=this.arg=B.arg,this.method="return",this.next="end"):B.type==="normal"&&I&&(this.next=I),b},finish:function(B){for(var I=this.tryEntries.length-1;I>=0;--I){var T=this.tryEntries[I];if(T.finallyLoc===B)return this.complete(T.completion,T.afterLoc),G(T),b}},catch:function(B){for(var I=this.tryEntries.length-1;I>=0;--I){var T=this.tryEntries[I];if(T.tryLoc===B){var F=T.completion;if(F.type==="throw"){var U=F.arg;G(T)}return U}}throw new Error("illegal catch attempt")},delegateYield:function(B,I,T){return this.delegate={iterator:V(B),resultName:I,nextLoc:T},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)}})(Ja);var Fh=Ja.exports;(function(t){var e=Fh;function n(m,p,E,w,b,y,A){try{var S=m[y](A),v=S.value}catch(C){return void E(C)}S.done?p(v):Promise.resolve(v).then(w,b)}function r(m){return function(){var p=this,E=arguments;return new Promise(function(w,b){var y=m.apply(p,E);function A(v){n(y,w,b,A,S,"next",v)}function S(v){n(y,w,b,A,S,"throw",v)}A(void 0)})}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=!1,i=null,s="en",a=null,l=null,u="https://maps.googleapis.com/maps/api/geocode/json";function f(m){var p=arguments.length>1&&arguments[1]!==void 0&&arguments[1];o&&(p?console.warn(m):console.log(m))}function d(m){return h.apply(this,arguments)}function h(){return(h=r(e.mark(function m(p){var E,w;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 E=b.sent,b.next=5,E.json().catch(function(){return f("Error parsing server response"),Promise.reject(new Error("Error parsing server response"))});case 5:if((w=b.sent).status!=="OK"){b.next=9;break}return f(w),b.abrupt("return",w);case 9:return f("".concat(w.error_message,`.
2
+ Server returned status code `).concat(w.status),!0),b.abrupt("return",Promise.reject(new Error("".concat(w.error_message,`.
3
+ Server returned status code `).concat(w.status))));case 11:case"end":return b.stop()}},m)}))).apply(this,arguments)}var g={setApiKey:function(m){i=m},setLanguage:function(m){s=m},setRegion:function(m){a=m},setLocationType:function(m){l=m},enableDebug:function(){var m=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];o=m},fromLatLng:function(m,p,E,w,b,y){return r(e.mark(function A(){var S,v;return e.wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(m&&p){C.next=3;break}return f("Provided coordinates are invalid",!0),C.abrupt("return",Promise.reject(new Error("Provided coordinates are invalid")));case 3:return S="".concat(m,",").concat(p),v="".concat(u,"?latlng=").concat(encodeURIComponent(S)),(E||i)&&(v+="&key=".concat(i=E||i)),(w||s)&&(v+="&language=".concat(s=w||s)),(b||a)&&(a=b||a,v+="&region=".concat(encodeURIComponent(a))),(y||l)&&(l=y||l,v+="&location_type=".concat(encodeURIComponent(l))),C.abrupt("return",d(v));case 9:case"end":return C.stop()}},A)}))()},fromAddress:function(m,p,E,w){return r(e.mark(function b(){var y;return e.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(m){A.next=3;break}return f("Provided address is invalid",!0),A.abrupt("return",Promise.reject(new Error("Provided address is invalid")));case 3:return y="".concat(u,"?address=").concat(encodeURIComponent(m)),(p||i)&&(y+="&key=".concat(i=p||i)),(E||s)&&(y+="&language=".concat(s=E||s)),(w||a)&&(a=w||a,y+="&region=".concat(encodeURIComponent(a))),A.abrupt("return",d(y));case 8:case"end":return A.stop()}},b)}))()}};t.default=g})(qa);const po=ho(qa);po.setApiKey("AIzaSyBO9gABz5DPTW3DcJuNCLx6Q7GmDYDRwRA");const Vh=kh().use(yh()).use(ch()).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 Za={exports:{}};/*!
4
4
  Copyright (c) 2018 Jed Watson.
5
5
  Licensed under the MIT License (MIT), see
6
6
  http://jedwatson.github.io/classnames
7
- */(function(t){(function(){var e={}.hasOwnProperty;function n(){for(var r=[],o=0;o<arguments.length;o++){var i=arguments[o];if(i){var s=typeof i;if(s==="string"||s==="number")r.push(i);else if(Array.isArray(i)){if(i.length){var a=n.apply(null,i);a&&r.push(a)}}else if(s==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){r.push(i.toString());continue}for(var u in i)e.call(i,u)&&i[u]&&r.push(u)}}}return r.join(" ")}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(Ja);var zh=Ja.exports;const Ee=fo(zh),Za=t=>{let e;const n=new Set,r=(u,l)=>{const f=typeof u=="function"?u(e):u;if(!Object.is(f,e)){const d=e;e=l??typeof f!="object"?f:Object.assign({},e,f),n.forEach(h=>h(e,d))}},o=()=>e,a={setState:r,getState:o,subscribe:u=>(n.add(u),()=>n.delete(u)),destroy:()=>{n.clear()}};return e=t(r,o,a),a},Fh=t=>t?Za(t):Za;var _a={exports:{}},Xa={},$a={exports:{}},el={};/**
7
+ */(function(t){(function(){var e={}.hasOwnProperty;function n(){for(var r=[],o=0;o<arguments.length;o++){var i=arguments[o];if(i){var s=typeof i;if(s==="string"||s==="number")r.push(i);else if(Array.isArray(i)){if(i.length){var a=n.apply(null,i);a&&r.push(a)}}else if(s==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){r.push(i.toString());continue}for(var l in i)e.call(i,l)&&i[l]&&r.push(l)}}}return r.join(" ")}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(Za);var Gh=Za.exports;const Ee=ho(Gh),_a=t=>{let e;const n=new Set,r=(l,u)=>{const f=typeof l=="function"?l(e):l;if(!Object.is(f,e)){const d=e;e=u??typeof f!="object"?f:Object.assign({},e,f),n.forEach(h=>h(e,d))}},o=()=>e,a={setState:r,getState:o,subscribe:l=>(n.add(l),()=>n.delete(l)),destroy:()=>{n.clear()}};return e=t(r,o,a),a},Qh=t=>t?_a(t):_a;var Xa={exports:{}},$a={},el={exports:{}},tl={};/**
8
8
  * @license React
9
9
  * use-sync-external-store-shim.production.min.js
10
10
  *
@@ -12,7 +12,7 @@ Server returned status code `).concat(w.status))));case 11:case"end":return y.st
12
12
  *
13
13
  * This source code is licensed under the MIT license found in the
14
14
  * LICENSE file in the root directory of this source tree.
15
- */var zn=c;function Vh(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Gh=typeof Object.is=="function"?Object.is:Vh,Qh=zn.useState,Yh=zn.useEffect,Wh=zn.useLayoutEffect,Rh=zn.useDebugValue;function Kh(t,e){var n=e(),r=Qh({inst:{value:n,getSnapshot:e}}),o=r[0].inst,i=r[1];return Wh(function(){o.value=n,o.getSnapshot=e,Xi(o)&&i({inst:o})},[t,n,e]),Yh(function(){return Xi(o)&&i({inst:o}),t(function(){Xi(o)&&i({inst:o})})},[t]),Rh(n),n}function Xi(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!Gh(t,n)}catch{return!0}}function qh(t,e){return e()}var Jh=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?qh:Kh;el.useSyncExternalStore=zn.useSyncExternalStore!==void 0?zn.useSyncExternalStore:Jh,$a.exports=el;var Zh=$a.exports;/**
15
+ */var Hn=c;function Yh(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Wh=typeof Object.is=="function"?Object.is:Yh,Rh=Hn.useState,Kh=Hn.useEffect,qh=Hn.useLayoutEffect,Jh=Hn.useDebugValue;function Zh(t,e){var n=e(),r=Rh({inst:{value:n,getSnapshot:e}}),o=r[0].inst,i=r[1];return qh(function(){o.value=n,o.getSnapshot=e,_i(o)&&i({inst:o})},[t,n,e]),Kh(function(){return _i(o)&&i({inst:o}),t(function(){_i(o)&&i({inst:o})})},[t]),Jh(n),n}function _i(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!Wh(t,n)}catch{return!0}}function _h(t,e){return e()}var Xh=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?_h:Zh;tl.useSyncExternalStore=Hn.useSyncExternalStore!==void 0?Hn.useSyncExternalStore:Xh,el.exports=tl;var $h=el.exports;/**
16
16
  * @license React
17
17
  * use-sync-external-store-shim/with-selector.production.min.js
18
18
  *
@@ -20,7 +20,7 @@ Server returned status code `).concat(w.status))));case 11:case"end":return y.st
20
20
  *
21
21
  * This source code is licensed under the MIT license found in the
22
22
  * LICENSE file in the root directory of this source tree.
23
- */var po=c,_h=Zh;function Xh(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var $h=typeof Object.is=="function"?Object.is:Xh,ep=_h.useSyncExternalStore,tp=po.useRef,np=po.useEffect,rp=po.useMemo,op=po.useDebugValue;Xa.useSyncExternalStoreWithSelector=function(t,e,n,r,o){var i=tp(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=rp(function(){function u(g){if(!l){if(l=!0,f=g,g=r(g),o!==void 0&&s.hasValue){var m=s.value;if(o(m,g))return d=m}return d=g}if(m=d,$h(f,g))return m;var p=r(g);return o!==void 0&&o(m,p)?m:(f=g,d=p)}var l=!1,f,d,h=n===void 0?null:n;return[function(){return u(e())},h===null?void 0:function(){return u(h())}]},[e,n,r,o]);var a=ep(t,i[0],i[1]);return np(function(){s.hasValue=!0,s.value=a},[a]),op(a),a},_a.exports=Xa;var ip=_a.exports;const sp=fo(ip),{useSyncExternalStoreWithSelector:ap}=sp;let $E=!1;function lp(t,e=t.getState,n){const r=ap(t.subscribe,t.getState,t.getServerState||t.getState,e,n);return c.useDebugValue(r),r}const tl=t=>{const e=typeof t=="function"?Fh(t):t,n=(r,o)=>lp(e,r,o);return Object.assign(n,e),n},Xt=t=>t?tl(t):tl,up={map:null,mode:"self_pickup",bounds:null,blurred:!1,loaded:!1,loading:!0,detailsOpen:!1},Ve=Xt()(t=>({...up,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 go;const cp=new Uint8Array(16);function fp(){if(!go&&(go=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!go))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return go(cp)}const nt=[];for(let t=0;t<256;++t)nt.push((t+256).toString(16).slice(1));function dp(t,e=0){return nt[t[e+0]]+nt[t[e+1]]+nt[t[e+2]]+nt[t[e+3]]+"-"+nt[t[e+4]]+nt[t[e+5]]+"-"+nt[t[e+6]]+nt[t[e+7]]+"-"+nt[t[e+8]]+nt[t[e+9]]+"-"+nt[t[e+10]]+nt[t[e+11]]+nt[t[e+12]]+nt[t[e+13]]+nt[t[e+14]]+nt[t[e+15]]}const nl={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function rl(t,e,n){if(nl.randomUUID&&!e&&!t)return nl.randomUUID();t=t||{};const r=t.random||(t.rng||fp)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,e){n=n||0;for(let o=0;o<16;++o)e[n+o]=r[o];return e}return dp(r)}const $i=rl(),vo=rl(),Yt=[48,66],Fn=[58,80],es=10,ol=6,hp=10,$t=[49.3478969,14.0983344],pp="en",gp=["places","geocoding"],vn={locale:pp,map:{provider:"google",center:$t,initialZoom:ol}},il=c.createContext(vn),Bt=()=>c.useContext(il),vp={courierPoint:null},mt=Xt()(t=>({...vp,setCourierPoint(e){t({courierPoint:e})}})),mo={root:"Button-module__root__8NAnx6",primary:"Button-module__primary__UsjvpK",secondary:"Button-module__secondary__VtNj8s"},wt=({className:t,variant:e="primary",...n})=>{if(n.as==="link"){const{as:i,...s}=n;return L.jsx("a",{className:Ee(mo.root,t,mo[e]),...s})}const{as:r,...o}=n;return L.jsx("button",{className:Ee(mo.root,t,mo[e]),...o})};wt.defaultProps={as:"button"};const mp=t=>ie.createElement("svg",{width:123,height:32,viewBox:"0 0 123 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ie.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"}),ie.createElement("path",{d:"M37.5678 32V0H44.8087L55.851 12.9333L66.8482 0H74.1345V32H67.0745V10.5333L55.851 23.6888L44.5824 10.5778V32H37.5678Z",fill:"currentcolor"}),ie.createElement("path",{d:"M79.5533 32V0H86.7941L105.032 21.3334V0H112.137V32H104.896L86.5679 10.5778V32H79.5533Z",fill:"currentcolor"}),ie.createElement("path",{d:"M116.076 32V0H123V32H116.076Z",fill:"currentcolor"})),pr={root:"Header-module__root__HQYeJV",nav:"Header-module__nav__E5j1Pg",navItem:"Header-module__navItem__9yWrFL",logo:"Header-module__logo__RE3idO"},yp=()=>{const{hideLogo:t}=Bt();return t?null:L.jsx("div",{className:pr.logo,children:L.jsx(mp,{})})},bp=t=>ie.createElement("svg",{width:24,height:28,viewBox:"0 0 24 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ie.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"})),wp={open:!1},yo=Xt(t=>({...wp,toggle(e){t(n=>({open:e??!n.open}))}})),Ep={place:null},mn=Xt(t=>({...Ep,setPlace(e){var r;const n=Ve.getState().map;t({place:e}),n&&((r=e==null?void 0:e.geometry)!=null&&r.viewport)?n.fitBounds(e.geometry.viewport):e&&(n==null||n.setZoom(hp))}})),Cp={location:null},xt=Xt()(t=>({...Cp,setSelectedPoint(e){t({location:e})}})),ts={root:"CurrentLocation-module__root__OP569R",text:"CurrentLocation-module__text__r-F6NH",icon:"CurrentLocation-module__icon__tNWTkm"},sl=({className:t})=>{var l;const{t:e}=At("current_location"),n=yo(f=>f.toggle),r=mn(f=>f.place),o=Ve(f=>f.setDetailsOpen),i=mt(f=>f.setCourierPoint),s=xt(f=>f.setSelectedPoint),a=()=>{n(!0),o(!1),i(null),s(null)},u=(l=r==null?void 0:r.address_components)==null?void 0:l.find(f=>f.types.includes("locality"));return L.jsxs("div",{className:Ee(ts.root,t),onClick:a,children:[L.jsx(bp,{className:ts.icon}),L.jsxs("span",{className:ts.text,children:[!r&&e("choose_from_map"),r&&`${(u==null?void 0:u.long_name)??r.formatted_address}`]})]})},Sp=({className:t})=>{const{t:e}=At("header"),{disableCourierDelivery:n}=Bt(),r=mt(d=>d.courierPoint),o=mt(d=>d.setCourierPoint),i=Ve(d=>d.mode),s=Ve(d=>d.setMode);c.useEffect(()=>{s(r?"courier_delivery":"self_pickup")},[r,s]);const a=()=>{o(null),s("self_pickup")},u=()=>{o(null),s("courier_delivery")},l=i==="self_pickup",f=i==="courier_delivery";return L.jsxs("div",{className:Ee(pr.root,t),children:[L.jsx(yp,{}),L.jsxs("nav",{className:pr.nav,children:[!n&&L.jsx(wt,{as:"link",className:pr.navItem,variant:l?"primary":"secondary",onClick:a,children:e("self_pickup")}),!n&&L.jsx(wt,{as:"link",className:pr.navItem,variant:f?"primary":"secondary",onClick:u,children:e("courier_delivery")}),L.jsx(sl,{})]})]})},Lp=c.memo(Sp),Ap={open:!1},Vn=Xt(t=>({...Ap,toggle(e){Ve.getState().setDetailsOpen(!1),mt.getState().setCourierPoint(null),xt.getState().setSelectedPoint(null),t(n=>({open:e??!n.open}))}})),al={root:"Layout-module__root__ahSFBs",sidebarOpen:"Layout-module__sidebarOpen__vFWl9b"},xp=({children:t})=>{const e=Vn(n=>n.open);return L.jsx("div",{className:Ee(al.root,{[al.sidebarOpen]:e}),children:t})};var Op=Mp()?c.useLayoutEffect:c.useEffect;function Mp(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Pp(){var t=c.useState(Object.create(null)),e=t[1];return c.useCallback(function(){e(Object.create(null))},[])}var kp=function(e){var n=e.children,r=e.type,o=r===void 0?"reach-portal":r,i=c.useRef(null),s=c.useRef(null),a=Pp();return Op(function(){if(i.current){var u=i.current.ownerDocument;return s.current=u==null?void 0:u.createElement(o),u.body.appendChild(s.current),a(),function(){s.current&&s.current.ownerDocument&&s.current.ownerDocument.body.removeChild(s.current)}}},[o,a]),s.current?Hn.createPortal(n,s.current):c.createElement("span",{ref:i})};/*! *****************************************************************************
23
+ */var go=c,ep=$h;function tp(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var np=typeof Object.is=="function"?Object.is:tp,rp=ep.useSyncExternalStore,op=go.useRef,ip=go.useEffect,sp=go.useMemo,ap=go.useDebugValue;$a.useSyncExternalStoreWithSelector=function(t,e,n,r,o){var i=op(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=sp(function(){function l(g){if(!u){if(u=!0,f=g,g=r(g),o!==void 0&&s.hasValue){var m=s.value;if(o(m,g))return d=m}return d=g}if(m=d,np(f,g))return m;var p=r(g);return o!==void 0&&o(m,p)?m:(f=g,d=p)}var u=!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,o]);var a=rp(t,i[0],i[1]);return ip(function(){s.hasValue=!0,s.value=a},[a]),ap(a),a},Xa.exports=$a;var lp=Xa.exports;const up=ho(lp),{useSyncExternalStoreWithSelector:cp}=up;let tC=!1;function fp(t,e=t.getState,n){const r=cp(t.subscribe,t.getState,t.getServerState||t.getState,e,n);return c.useDebugValue(r),r}const nl=t=>{const e=typeof t=="function"?Qh(t):t,n=(r,o)=>fp(e,r,o);return Object.assign(n,e),n},Xt=t=>t?nl(t):nl,dp={map:null,mode:"self_pickup",bounds:null,blurred:!1,loaded:!1,loading:!0,detailsOpen:!1},Ve=Xt()(t=>({...dp,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 vo;const hp=new Uint8Array(16);function pp(){if(!vo&&(vo=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!vo))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return vo(hp)}const nt=[];for(let t=0;t<256;++t)nt.push((t+256).toString(16).slice(1));function gp(t,e=0){return nt[t[e+0]]+nt[t[e+1]]+nt[t[e+2]]+nt[t[e+3]]+"-"+nt[t[e+4]]+nt[t[e+5]]+"-"+nt[t[e+6]]+nt[t[e+7]]+"-"+nt[t[e+8]]+nt[t[e+9]]+"-"+nt[t[e+10]]+nt[t[e+11]]+nt[t[e+12]]+nt[t[e+13]]+nt[t[e+14]]+nt[t[e+15]]}const rl={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function ol(t,e,n){if(rl.randomUUID&&!e&&!t)return rl.randomUUID();t=t||{};const r=t.random||(t.rng||pp)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,e){n=n||0;for(let o=0;o<16;++o)e[n+o]=r[o];return e}return gp(r)}const Xi=ol(),mo=ol(),Yt=[48,66],zn=[58,80],$i=6,yo=[49.3478969,14.0983344],es="en",vp=["places","geocoding"],vn={locale:es,map:{provider:"google",center:yo,initialZoom:$i}},il=c.createContext(vn),Tt=()=>c.useContext(il),mp={courierPoint:null},mt=Xt()(t=>({...mp,setCourierPoint(e){t({courierPoint:e})}})),bo={root:"Button-module__root__8NAnx6",primary:"Button-module__primary__UsjvpK",secondary:"Button-module__secondary__VtNj8s"},wt=({className:t,variant:e="primary",...n})=>{if(n.as==="link"){const{as:i,...s}=n;return L.jsx("a",{className:Ee(bo.root,t,bo[e]),...s})}const{as:r,...o}=n;return L.jsx("button",{className:Ee(bo.root,t,bo[e]),...o})};wt.defaultProps={as:"button"};const yp=t=>se.createElement("svg",{width:123,height:32,viewBox:"0 0 123 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},se.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"}),se.createElement("path",{d:"M37.5678 32V0H44.8087L55.851 12.9333L66.8482 0H74.1345V32H67.0745V10.5333L55.851 23.6888L44.5824 10.5778V32H37.5678Z",fill:"currentcolor"}),se.createElement("path",{d:"M79.5533 32V0H86.7941L105.032 21.3334V0H112.137V32H104.896L86.5679 10.5778V32H79.5533Z",fill:"currentcolor"}),se.createElement("path",{d:"M116.076 32V0H123V32H116.076Z",fill:"currentcolor"})),hr={root:"Header-module__root__HQYeJV",nav:"Header-module__nav__E5j1Pg",navItem:"Header-module__navItem__9yWrFL",logo:"Header-module__logo__RE3idO"},bp=()=>{const{hideLogo:t}=Tt();return t?null:L.jsx("div",{className:hr.logo,children:L.jsx(yp,{})})},wp=t=>se.createElement("svg",{width:24,height:28,viewBox:"0 0 24 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},se.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"})),Ep={open:!1},wo=Xt(t=>({...Ep,toggle(e){t(n=>({open:e??!n.open}))}})),Cp={place:null},$t=Xt(t=>({...Cp,setPlace(e,n){var o,i,s;const r=Ve.getState().map;t({place:e}),r&&((o=e==null?void 0:e.geometry)!=null&&o.viewport)?r.fitBounds(e.geometry.viewport):(i=e==null?void 0:e.geometry)!=null&&i.location&&(r==null||r.panTo((s=e.geometry)==null?void 0:s.location)),n!=null&&(r==null||r.setZoom(n))}})),Sp={location:null},At=Xt()(t=>({...Sp,setSelectedPoint(e){t({location:e})}})),ts={root:"CurrentLocation-module__root__OP569R",text:"CurrentLocation-module__text__r-F6NH",icon:"CurrentLocation-module__icon__tNWTkm"},sl=({className:t})=>{var u;const{t:e}=xt("current_location"),n=wo(f=>f.toggle),r=$t(f=>f.place),o=Ve(f=>f.setDetailsOpen),i=mt(f=>f.setCourierPoint),s=At(f=>f.setSelectedPoint),a=()=>{n(!0),o(!1),i(null),s(null)},l=(u=r==null?void 0:r.address_components)==null?void 0:u.find(f=>f.types.includes("locality"));return L.jsxs("div",{className:Ee(ts.root,t),onClick:a,children:[L.jsx(wp,{className:ts.icon}),L.jsxs("span",{className:ts.text,children:[!r&&e("choose_from_map"),r&&`${(l==null?void 0:l.long_name)??r.formatted_address}`]})]})},Lp=({className:t})=>{const{t:e}=xt("header"),{disableCourierDelivery:n}=Tt(),r=mt(d=>d.courierPoint),o=mt(d=>d.setCourierPoint),i=Ve(d=>d.mode),s=Ve(d=>d.setMode);c.useEffect(()=>{s(r?"courier_delivery":"self_pickup")},[r,s]);const a=()=>{o(null),s("self_pickup")},l=()=>{o(null),s("courier_delivery")},u=i==="self_pickup",f=i==="courier_delivery";return L.jsxs("div",{className:Ee(hr.root,t),children:[L.jsx(bp,{}),L.jsxs("nav",{className:hr.nav,children:[!n&&L.jsx(wt,{as:"link",className:hr.navItem,variant:u?"primary":"secondary",onClick:a,children:e("self_pickup")}),!n&&L.jsx(wt,{as:"link",className:hr.navItem,variant:f?"primary":"secondary",onClick:l,children:e("courier_delivery")}),L.jsx(sl,{})]})]})},xp=c.memo(Lp),Ap={open:!1},Fn=Xt(t=>({...Ap,toggle(e){Ve.getState().setDetailsOpen(!1),mt.getState().setCourierPoint(null),At.getState().setSelectedPoint(null),t(n=>({open:e??!n.open}))}})),al={root:"Layout-module__root__ahSFBs",sidebarOpen:"Layout-module__sidebarOpen__vFWl9b"},Op=({children:t})=>{const e=Fn(n=>n.open);return L.jsx("div",{className:Ee(al.root,{[al.sidebarOpen]:e}),children:t})};var Mp=Pp()?c.useLayoutEffect:c.useEffect;function Pp(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function kp(){var t=c.useState(Object.create(null)),e=t[1];return c.useCallback(function(){e(Object.create(null))},[])}var Ip=function(e){var n=e.children,r=e.type,o=r===void 0?"reach-portal":r,i=c.useRef(null),s=c.useRef(null),a=kp();return Mp(function(){if(i.current){var l=i.current.ownerDocument;return s.current=l==null?void 0:l.createElement(o),l.body.appendChild(s.current),a(),function(){s.current&&s.current.ownerDocument&&s.current.ownerDocument.body.removeChild(s.current)}}},[o,a]),s.current?Un.createPortal(n,s.current):c.createElement("span",{ref:i})};/*! *****************************************************************************
24
24
  Copyright (c) Microsoft Corporation.
25
25
 
26
26
  Permission to use, copy, modify, and/or distribute this software for any
@@ -33,19 +33,21 @@ Server returned status code `).concat(w.status))));case 11:case"end":return y.st
33
33
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
34
34
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
35
35
  PERFORMANCE OF THIS SOFTWARE.
36
- ***************************************************************************** */var W=function(){return W=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},W.apply(this,arguments)};function ns(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 o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function be(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),o,i=[],s;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i}function ze(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,i;r<o;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}var Te;(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"})(Te||(Te={}));var Gn;(function(t){t.Parent="#_parent",t.Internal="#_internal"})(Gn||(Gn={}));var rs=Te.Start,os=Te.Stop,gr=Te.Raise,bo=Te.Send,ll=Te.Cancel,Ip=Te.NullEvent,is=Te.Assign;Te.After,Te.DoneState;var ul=Te.Log,Dp=Te.Init,ss=Te.Invoke;Te.ErrorExecution;var cl=Te.ErrorPlatform,Tp=Te.ErrorCustom,fl=Te.Update,Bp=Te.Choose,Np=Te.Pure,dl=".",hl={},as="xstate.guard",jp="",wo;function ls(t,e,n){n===void 0&&(n=dl);var r=vr(t,n),o=vr(e,n);return Oe(o)?Oe(r)?o===r:!1:Oe(r)?r in o:Object.keys(r).every(function(i){return i in o?ls(r[i],o[i]):!1})}function pl(t){try{return Oe(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 us(t,e){try{return Qn(t)?t:t.toString().split(e)}catch{throw new Error("'".concat(t,"' is not a valid state path."))}}function Up(t){return typeof t=="object"&&"value"in t&&"context"in t&&"event"in t&&"_event"in t}function vr(t,e){if(Up(t))return t.value;if(Qn(t))return Eo(t);if(typeof t!="string")return t;var n=us(t,e);return Eo(n)}function Eo(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 mr(t,e){for(var n={},r=Object.keys(t),o=0;o<r.length;o++){var i=r[o];n[i]=e(t[i],i,t,o)}return n}function gl(t,e,n){var r,o,i={};try{for(var s=be(Object.keys(t)),a=s.next();!a.done;a=s.next()){var u=a.value,l=t[u];n(l)&&(i[u]=e(l,u,t))}}catch(f){r={error:f}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return i}var Hp=function(t){return function(e){var n,r,o=e;try{for(var i=be(t),s=i.next();!s.done;s=i.next()){var a=s.value;o=o[a]}}catch(u){n={error:u}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}};function zp(t,e){return function(n){var r,o,i=n;try{for(var s=be(t),a=s.next();!a.done;a=s.next()){var u=a.value;i=i[e][u]}}catch(l){r={error:l}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return i}}function Co(t){if(!t)return[[]];if(Oe(t))return[[t]];var e=Ye(Object.keys(t).map(function(n){var r=t[n];return typeof r!="string"&&(!r||!Object.keys(r).length)?[[n]]:Co(t[n]).map(function(o){return[n].concat(o)})}));return e}function Ye(t){var e;return(e=[]).concat.apply(e,ze([],Le(t),!1))}function vl(t){return Qn(t)?t:[t]}function Ot(t){return t===void 0?[]:vl(t)}function So(t,e,n){var r,o;if(xe(t))return t(e,n.data);var i={};try{for(var s=be(Object.keys(t)),a=s.next();!a.done;a=s.next()){var u=a.value,l=t[u];xe(l)?i[u]=l(e,n.data):i[u]=l}}catch(f){r={error:f}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return i}function Fp(t){return/^(done|error)\./.test(t)}function ml(t){return!!(t instanceof Promise||t!==null&&(xe(t)||typeof t=="object")&&xe(t.then))}function Vp(t){return t!==null&&typeof t=="object"&&"transition"in t&&typeof t.transition=="function"}function Gp(t,e){var n,r,o=Le([[],[]],2),i=o[0],s=o[1];try{for(var a=be(t),u=a.next();!u.done;u=a.next()){var l=u.value;e(l)?i.push(l):s.push(l)}}catch(f){n={error:f}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return[i,s]}function yl(t,e){return mr(t.states,function(n,r){if(n){var o=(Oe(e)?void 0:e[r])||(n?n.current:void 0);if(o)return{current:o,states:yl(n,o)}}})}function Qp(t,e){return{current:e,states:yl(t,e)}}function bl(t,e,n,r){var o=t&&n.reduce(function(i,s){var a,u,l=s.assignment,f={state:r,action:s,_event:e},d={};if(xe(l))d=l(i,e.data,f);else try{for(var h=be(Object.keys(l)),g=h.next();!g.done;g=h.next()){var m=g.value,p=l[m];d[m]=xe(p)?p(i,e.data,f):p}}catch(E){a={error:E}}finally{try{g&&!g.done&&(u=h.return)&&u.call(h)}finally{if(a)throw a.error}}return Object.assign({},i,d)},t);return o}var Yp=function(){};function Qn(t){return Array.isArray(t)}function xe(t){return typeof t=="function"}function Oe(t){return typeof t=="string"}function wl(t,e){if(t)return Oe(t)?{type:as,name:t,predicate:e?e[t]:void 0}:xe(t)?{type:as,name:t.name,predicate:t}:t}function Wp(t){try{return"subscribe"in t&&xe(t.subscribe)}catch{return!1}}var en=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();wo={},wo[en]=function(){return this},wo[Symbol.observable]=function(){return this};function Yn(t){return!!t&&"__xstatenode"in t}function Rp(t){return!!t&&typeof t.send=="function"}function Lo(t,e){return Oe(t)||typeof t=="number"?W({type:t},e):t}function rt(t,e){if(!Oe(t)&&"$$type"in t&&t.$$type==="scxml")return t;var n=Lo(t);return W({name:n.type,data:n,$$type:"scxml",type:"external"},e)}function Wn(t,e){var n=vl(e).map(function(r){return typeof r>"u"||typeof r=="string"||Yn(r)?{target:r,event:t}:W(W({},r),{event:t})});return n}function Kp(t){if(!(t===void 0||t===jp))return Ot(t)}function El(t,e,n,r,o){var i=t.options.guards,s={state:o,cond:e,_event:r};if(e.type===as)return((i==null?void 0:i[e.name])||e.predicate)(n,r.data,s);var a=i==null?void 0:i[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 Cl(t){return typeof t=="string"?{type:t}:t}function Ao(t,e,n){var r=function(){},o=typeof t=="object",i=o?t:null;return{next:((o?t.next:t)||r).bind(i),error:((o?t.error:e)||r).bind(i),complete:((o?t.complete:n)||r).bind(i)}}function xo(t,e){return"".concat(t,":invocation[").concat(e,"]")}function cs(t){return(t.type===gr||t.type===bo&&t.to===Gn.Internal)&&typeof t.delay!="number"}var Rn=rt({type:Dp});function fs(t,e){return e&&e[t]||void 0}function yr(t,e){var n;if(Oe(t)||typeof t=="number"){var r=fs(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=fs(t.type,e);if(xe(r))n=W(W({},t),{exec:r});else if(r){var o=r.type||t.type;n=W(W(W({},r),t),{type:o})}else n=t}return n}var tn=function(t,e){if(!t)return[];var n=Qn(t)?t:[t];return n.map(function(r){return yr(r,e)})};function ds(t){var e=yr(t);return W(W({id:Oe(t)?t:e.id},e),{type:e.type})}function qp(t,e){return{type:gr,event:typeof t=="function"?t:Lo(t),delay:e?e.delay:void 0,id:e==null?void 0:e.id}}function Jp(t,e,n,r){var o={_event:n},i=rt(xe(t.event)?t.event(e,n.data,o):t.event),s;if(Oe(t.delay)){var a=r&&r[t.delay];s=xe(a)?a(e,n.data,o):a}else s=xe(t.delay)?t.delay(e,n.data,o):t.delay;return W(W({},t),{type:gr,_event:i,delay:s})}function Zp(t,e){return{to:e?e.to:void 0,type:bo,event:xe(t)?t:Lo(t),delay:e?e.delay:void 0,id:e&&e.id!==void 0?e.id:xe(t)?t.name:pl(t)}}function _p(t,e,n,r){var o={_event:n},i=rt(xe(t.event)?t.event(e,n.data,o):t.event),s;if(Oe(t.delay)){var a=r&&r[t.delay];s=xe(a)?a(e,n.data,o):a}else s=xe(t.delay)?t.delay(e,n.data,o):t.delay;var u=xe(t.to)?t.to(e,n.data,o):t.to;return W(W({},t),{to:u,_event:i,event:i.data,delay:s})}var Xp=function(t,e,n){return W(W({},t),{value:Oe(t.expr)?t.expr:t.expr(e,n.data,{_event:n})})},$p=function(t){return{type:ll,sendId:t}};function eg(t){var e=ds(t);return{type:Te.Start,activity:e,exec:void 0}}function tg(t){var e=xe(t)?t:ds(t);return{type:Te.Stop,activity:e,exec:void 0}}function ng(t,e,n){var r=xe(t.activity)?t.activity(e,n.data):t.activity,o=typeof r=="string"?{id:r}:r,i={type:Te.Stop,activity:o};return i}var rg=function(t){return{type:is,assignment:t}};function og(t,e){var n=e?"#".concat(e):"";return"".concat(Te.After,"(").concat(t,")").concat(n)}function Oo(t,e){var n="".concat(Te.DoneState,".").concat(t),r={type:n,data:e};return r.toString=function(){return n},r}function Mo(t,e){var n="".concat(Te.DoneInvoke,".").concat(t),r={type:n,data:e};return r.toString=function(){return n},r}function br(t,e){var n="".concat(Te.ErrorPlatform,".").concat(t),r={type:n,data:e};return r.toString=function(){return n},r}var ig=function(t){var e,n,r=[];try{for(var o=be(t),i=o.next();!i.done;i=o.next())for(var s=i.value,a=0;a<s.actions.length;){if(s.actions[a].type===is){r.push(s.actions[a]),s.actions.splice(a,1);continue}a++}}catch(u){e={error:u}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r};function Po(t,e,n,r,o,i,s){s===void 0&&(s=!1);var a=s?[]:ig(o),u=a.length?bl(n,r,a,e):n,l=s?[n]:void 0,f=[];function d(m,p){var E;switch(p.type){case gr:{var w=Jp(p,u,r,t.options.delays);return i&&typeof w.delay=="number"&&i(w,u,r),w}case bo:var y=_p(p,u,r,t.options.delays);return i&&y.to!==Gn.Internal&&(m==="entry"?f.push(y):i(y,u,r)),y;case ul:{var b=Xp(p,u,r);return i==null||i(b,u,r),b}case Bp:{var x=p,S=(E=x.conds.find(function(q){var V=wl(q.cond,t.options.guards);return!V||El(t,V,u,r,i?void 0:e)}))===null||E===void 0?void 0:E.actions;if(!S)return[];var v=Le(Po(t,e,u,r,[{type:m,actions:tn(Ot(S),t.options.actions)}],i,s),2),C=v[0],A=v[1];return u=A,l==null||l.push(u),C}case Np:{var S=p.get(u,r.data);if(!S)return[];var D=Le(Po(t,e,u,r,[{type:m,actions:tn(Ot(S),t.options.actions)}],i,s),2),M=D[0],O=D[1];return u=O,l==null||l.push(u),M}case os:{var b=ng(p,u,r);return i==null||i(b,n,r),b}case is:{u=bl(u,r,[p],i?void 0:e),l==null||l.push(u);break}default:var k=yr(p,t.options.actions),N=k.exec;if(i)i(k,u,r);else if(N&&l){var H=l.length-1,G=W(W({},k),{exec:function(q){for(var V=[],K=1;K<arguments.length;K++)V[K-1]=arguments[K];N.apply(void 0,ze([l[H]],Le(V),!1))}});k=G}return k}}function h(m){var p,E,w=[];try{for(var y=be(m.actions),b=y.next();!b.done;b=y.next()){var x=b.value,S=d(m.type,x);S&&(w=w.concat(S))}}catch(v){p={error:v}}finally{try{b&&!b.done&&(E=y.return)&&E.call(y)}finally{if(p)throw p.error}}return f.forEach(function(v){i(v,u,r)}),f.length=0,w}var g=Ye(o.map(h));return[g,u]}var Sl=[],Kn=function(t,e){Sl.push(t);var n=e(t);return Sl.pop(),n};function Ll(t){var e;return e={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:t}}},e[en]=function(){return this},e}function sg(t,e,n,r){var o,i=Cl(t.src),s=(o=e==null?void 0:e.options.services)===null||o===void 0?void 0:o[i.type],a=t.data?So(t.data,n,r):void 0,u=s?Al(s,t.id,a):Ll(t.id);return u.meta=t,u}function Al(t,e,n){var r=Ll(e);if(r.deferred=!0,Yn(t)){var o=r.state=Kn(void 0,function(){return(n?t.withContext(n):t).initialState});r.getSnapshot=function(){return o}}return r}function ag(t){try{return typeof t.send=="function"}catch{return!1}}function lg(t){return ag(t)&&"id"in t}function ug(t){var e;return W((e={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},e[en]=function(){return this},e),t)}var ko=function(t){return t.type==="atomic"||t.type==="final"};function xl(t){return Object.keys(t.states).map(function(e){return t.states[e]})}function wr(t){return xl(t).filter(function(e){return e.type!=="history"})}function Ol(t){var e=[t];return ko(t)?e:e.concat(Ye(wr(t).map(Ol)))}function Er(t,e){var n,r,o,i,s,a,u,l,f=new Set(t),d=hs(f),h=new Set(e);try{for(var g=be(h),m=g.next();!m.done;m=g.next())for(var p=m.value,E=p.parent;E&&!h.has(E);)h.add(E),E=E.parent}catch(D){n={error:D}}finally{try{m&&!m.done&&(r=g.return)&&r.call(g)}finally{if(n)throw n.error}}var w=hs(h);try{for(var y=be(h),b=y.next();!b.done;b=y.next()){var p=b.value;if(p.type==="compound"&&(!w.get(p)||!w.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,be(wr(p))),S=x.next();!S.done;S=x.next()){var v=S.value;h.has(v)||(h.add(v),d.get(v)?d.get(v).forEach(function(M){return h.add(M)}):v.initialStateNodes.forEach(function(M){return h.add(M)}))}}catch(M){s={error:M}}finally{try{S&&!S.done&&(a=x.return)&&a.call(x)}finally{if(s)throw s.error}}}}catch(D){o={error:D}}finally{try{b&&!b.done&&(i=y.return)&&i.call(y)}finally{if(o)throw o.error}}try{for(var C=be(h),A=C.next();!A.done;A=C.next())for(var p=A.value,E=p.parent;E&&!h.has(E);)h.add(E),E=E.parent}catch(D){u={error:D}}finally{try{A&&!A.done&&(l=C.return)&&l.call(C)}finally{if(u)throw u.error}}return h}function Ml(t,e){var n=e.get(t);if(!n)return{};if(t.type==="compound"){var r=n[0];if(r){if(ko(r))return r.key}else return{}}var o={};return n.forEach(function(i){o[i.key]=Ml(i,e)}),o}function hs(t){var e,n,r=new Map;try{for(var o=be(t),i=o.next();!i.done;i=o.next()){var s=i.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{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r}function cg(t,e){var n=Er([t],e);return Ml(t,hs(n))}function Cr(t,e){return Array.isArray(t)?t.some(function(n){return n===e}):t instanceof Set?t.has(e):!1}function fg(t){return ze([],Le(new Set(Ye(ze([],Le(t.map(function(e){return e.ownEvents})),!1)))),!1)}function Io(t,e){return e.type==="compound"?wr(e).some(function(n){return n.type==="final"&&Cr(t,n)}):e.type==="parallel"?wr(e).every(function(n){return Io(t,n)}):!1}function dg(t){return t===void 0&&(t=[]),t.reduce(function(e,n){return n.meta!==void 0&&(e[n.id]=n.meta),e},{})}function Pl(t){return new Set(Ye(t.map(function(e){return e.tags})))}function kl(t,e){if(t===e)return!0;if(t===void 0||e===void 0)return!1;if(Oe(t)||Oe(e))return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(o){return kl(t[o],e[o])})}function hg(t){return typeof t!="object"||t===null?!1:"value"in t&&"_event"in t}function pg(t,e){var n=t.exec,r=W(W({},t),{exec:n!==void 0?function(){return n(e.context,e.event,{action:t,state:e,_event:e._event})}:void 0});return r}var Et=function(){function t(e){var n=this,r;this.actions=[],this.activities=hl,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||hl,this.meta=dg(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 fg(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=Rn;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=Rn;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="."),Oe(e))return[e];var o=Object.keys(e);return o.concat.apply(o,ze([],Le(o.map(function(i){return r.toStrings(e[i],n).map(function(s){return i+n+s})})),!1))},t.prototype.toJSON=function(){var e=this;e.configuration,e.transitions;var n=e.tags;e.machine;var r=ns(e,["configuration","transitions","tags","machine"]);return W(W({},r),{tags:Array.from(n)})},t.prototype.matches=function(e){return ls(e,this.value)},t.prototype.hasTag=function(e){return this.tags.has(e)},t.prototype.can=function(e){var n;Yp(!!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(o){return o.target!==void 0||o.actions.length})},t}(),gg={deferEvents:!1},Il=function(){function t(e){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=W(W({},gg),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}(),ps=new Map,vg=0,Sr={bookId:function(){return"x:".concat(vg++)},register:function(t,e){return ps.set(t,e),t},get:function(t){return ps.get(t)},free:function(t){ps.delete(t)}};function gs(){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 mg(){var t=gs();if(t&&"__xstate__"in t)return t.__xstate__}function yg(t){if(gs()){var e=mg();e&&e.register(t)}}function bg(t,e){e===void 0&&(e={});var n=t.initialState,r=new Set,o=[],i=!1,s=function(){if(!i){for(i=!0;o.length>0;){var l=o.shift();n=t.transition(n,l,u),r.forEach(function(f){return f.next(n)})}i=!1}},a=ug({id:e.id,send:function(l){o.push(l),s()},getSnapshot:function(){return n},subscribe:function(l,f,d){var h=Ao(l,f,d);return r.add(h),h.next(n),{unsubscribe:function(){r.delete(h)}}}}),u={parent:e.parent,self:a,id:e.id||"anonymous",observers:r};return n=t.start?t.start(u):n,a}var wg={sync:!1,autoForward:!1},Xe;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(Xe||(Xe={}));var Eg=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=Xe.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(f,d){if(Qn(f))return r.batch(f),r.state;var h=rt(Lo(f,d));if(r.status===Xe.Stopped)return r.state;if(r.status!==Xe.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.
37
- 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===Gn.Parent||r.parent.id===d),m=g?r.parent:Oe(d)?d===Gn.Internal?r:r.children.get(d)||Sr.get(d):Rp(d)?d:void 0;if(!m){if(!g)throw new Error("Unable to send event to child '".concat(d,"' from service '").concat(r.id,"'."));return}if("machine"in m){if(r.status!==Xe.Stopped||r.parent!==m||r.state.done){var p=W(W({},f),{name:f.name===Tp?"".concat(br(r.id)):f.name,origin:r.sessionId});!h&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([m,p]):m.send(p)}}else!h&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([m,f.data]):m.send(f.data)},this._exec=function(f,d,h,g){g===void 0&&(g=r.machine.options.actions);var m=f.exec||fs(f.type,g),p=xe(m)?m:m?m.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(H){throw r.parent&&r.parent.send({type:"xstate.error",data:H}),H}switch(f.type){case gr:{var E=f;r.defer(E);break}case bo:var w=f;if(typeof w.delay=="number"){r.defer(w);return}else w.to?r.sendTo(w._event,w.to,h===Rn):r.send(w._event);break;case ll:r.cancel(f.sendId);break;case rs:{if(r.status!==Xe.Running)return;var y=f.activity;if(!r.machine.config.predictableActionArguments&&!r.state.activities[y.id||y.type])break;if(y.type===Te.Invoke){var b=Cl(y.src),x=r.machine.options.services?r.machine.options.services[b.type]:void 0,S=y.id,v=y.data,C="autoForward"in y?y.autoForward:!!y.forward;if(!x)return;var A=v?So(v,d,h):void 0;if(typeof x=="string")return;var D=xe(x)?x(d,h.data,{data:A,src:b,meta:y.meta}):x;if(!D)return;var M=void 0;Yn(D)&&(D=A?D.withContext(A):D,M={autoForward:C}),r.spawn(D,S,M)}else r.spawnActivity(y);break}case os:{r.stopChild(f.activity.id);break}case ul:var O=f,k=O.label,N=O.value;k?r.logger(k,N):r.logger(N);break}};var o=W(W({},t.defaultOptions),n),i=o.clock,s=o.logger,a=o.parent,u=o.id,l=u!==void 0?u:e.id;this.id=l,this.logger=s,this.clock=i,this.parent=a,this.options=o,this.scheduler=new Il({deferEvents:this.options.deferEvents}),this.sessionId=Sr.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,o;try{for(var i=be(e.actions),s=i.next();!s.done;s=i.next()){var a=s.value;this.exec(a,e,n)}}catch(u){r={error:u}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}},t.prototype.update=function(e,n){var r,o,i,s,a,u,l,f,d=this;if(e._sessionid=this.sessionId,this._state=e,(!this.machine.config.predictableActionArguments||n===Rn)&&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(D){d.state.children[D.id]=D}),this.devTools&&this.devTools.send(n.data,e),e.event)try{for(var g=be(this.eventListeners),m=g.next();!m.done;m=g.next()){var p=m.value;p(e.event)}}catch(D){r={error:D}}finally{try{m&&!m.done&&(o=g.return)&&o.call(g)}finally{if(r)throw r.error}}try{for(var E=be(this.listeners),w=E.next();!w.done;w=E.next()){var p=w.value;p(e,e.event)}}catch(D){i={error:D}}finally{try{w&&!w.done&&(s=E.return)&&s.call(E)}finally{if(i)throw i.error}}try{for(var y=be(this.contextListeners),b=y.next();!b.done;b=y.next()){var x=b.value;x(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(D){a={error:D}}finally{try{b&&!b.done&&(u=y.return)&&u.call(y)}finally{if(a)throw a.error}}if(this.state.done){var S=e.configuration.find(function(D){return D.type==="final"&&D.parent===d.machine}),v=S&&S.doneData?So(S.doneData,e.context,n):void 0;this._doneEvent=Mo(this.id,v);try{for(var C=be(this.doneListeners),A=C.next();!A.done;A=C.next()){var p=A.value;p(this._doneEvent)}}catch(D){l={error:D}}finally{try{A&&!A.done&&(f=C.return)&&f.call(C)}finally{if(l)throw l.error}}this._stop(),this._stopChildren(),Sr.free(this.sessionId)}},t.prototype.onTransition=function(e){return this.listeners.add(e),this.status===Xe.Running&&e(this.state,this.state.event),this},t.prototype.subscribe=function(e,n,r){var o=this,i=Ao(e,n,r);this.listeners.add(i.next),this.status!==Xe.NotStarted&&i.next(this.state);var s=function(){o.doneListeners.delete(s),o.stopListeners.delete(s),i.complete()};return this.status===Xe.Stopped?i.complete():(this.onDone(s),this.onStop(s)),{unsubscribe:function(){o.listeners.delete(i.next),o.doneListeners.delete(s),o.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===Xe.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===Xe.Running)return this;this.machine._init(),Sr.register(this.sessionId,this),this.initialized=!0,this.status=Xe.Running;var r=e===void 0?this.initialState:Kn(this,function(){return hg(e)?n.machine.resolveState(e):n.machine.resolveState(Et.from(e,n.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){n.update(r,Rn)}),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,o,i,s,a,u,l,f;try{for(var d=be(this.listeners),h=d.next();!h.done;h=d.next()){var g=h.value;this.listeners.delete(g)}}catch(C){e={error:C}}finally{try{h&&!h.done&&(n=d.return)&&n.call(d)}finally{if(e)throw e.error}}try{for(var m=be(this.stopListeners),p=m.next();!p.done;p=m.next()){var g=p.value;g(),this.stopListeners.delete(g)}}catch(C){r={error:C}}finally{try{p&&!p.done&&(o=m.return)&&o.call(m)}finally{if(r)throw r.error}}try{for(var E=be(this.contextListeners),w=E.next();!w.done;w=E.next()){var g=w.value;this.contextListeners.delete(g)}}catch(C){i={error:C}}finally{try{w&&!w.done&&(s=E.return)&&s.call(E)}finally{if(i)throw i.error}}try{for(var y=be(this.doneListeners),b=y.next();!b.done;b=y.next()){var g=b.value;this.doneListeners.delete(g)}}catch(C){a={error:C}}finally{try{b&&!b.done&&(u=y.return)&&u.call(y)}finally{if(a)throw a.error}}if(!this.initialized)return this;this.initialized=!1,this.status=Xe.Stopped,this._initialState=void 0;try{for(var x=be(Object.keys(this.delayedEventsMap)),S=x.next();!S.done;S=x.next()){var v=S.value;this.clock.clearTimeout(this.delayedEventsMap[v])}}catch(C){l={error:C}}finally{try{S&&!S.done&&(f=x.return)&&f.call(x)}finally{if(l)throw l.error}}this.scheduler.clear(),this.scheduler=new Il({deferEvents:this.options.deferEvents})},t.prototype.stop=function(){var e=this,n=this.scheduler;return this._stop(),n.schedule(function(){var r=rt({type:"xstate.stop"}),o=Kn(e,function(){var i=Ye(ze([],Le(e.state.configuration),!1).sort(function(f,d){return d.order-f.order}).map(function(f){return tn(f.onExit,e.machine.options.actions)})),s=Le(Po(e.machine,e.state,e.state.context,r,[{type:"exit",actions:i}],e.machine.config.predictableActionArguments?e._exec:void 0,e.machine.config.predictableActionArguments||e.machine.config.preserveActionOrder),2),a=s[0],u=s[1],l=new Et({value:e.state.value,context:u,_event:r,_sessionid:e.sessionId,historyValue:void 0,history:e.state,actions:a.filter(function(f){return!cs(f)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:e.state.done,tags:e.state.tags,machine:e.machine});return l.changed=!0,l});e.update(o,r),e._stopChildren(),Sr.free(e.sessionId)}),this},t.prototype.batch=function(e){var n=this;if(!(this.status===Xe.NotStarted&&this.options.deferEvents)){if(this.status!==Xe.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 o,i,s=n.state,a=!1,u=[],l=function(g){var m=rt(g);n.forward(m),s=Kn(n,function(){return n.machine.transition(s,m,void 0,r||void 0)}),u.push.apply(u,ze([],Le(n.machine.config.predictableActionArguments?s.actions:s.actions.map(function(p){return pg(p,s)})),!1)),a=a||!!s.changed};try{for(var f=be(e),d=f.next();!d.done;d=f.next()){var h=d.value;l(h)}}catch(g){o={error:g}}finally{try{d&&!d.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}s.changed=a,s.actions=u,n.update(s,rt(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 o=rt(e);if(o.name.indexOf(cl)===0&&!this.state.nextEvents.some(function(s){return s.indexOf(cl)===0}))throw o.data.data;var i=Kn(this,function(){return r.machine.transition(r.state,o,void 0,n||void 0)});return i},t.prototype.nextState=function(e){return this._nextState(e,!1)},t.prototype.forward=function(e){var n,r;try{for(var o=be(this.forwardTo),i=o.next();!i.done;i=o.next()){var s=i.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(u){n={error:u}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}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!==Xe.Running)return Al(e,n);if(ml(e))return this.spawnPromise(Promise.resolve(e),n);if(xe(e))return this.spawnCallback(e,n);if(lg(e))return this.spawnActor(e,n);if(Wp(e))return this.spawnObservable(e,n);if(Yn(e))return this.spawnMachine(e,W(W({},r),{id:n}));if(Vp(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 o=new t(e,W(W({},this.options),{parent:this,id:n.id||e.id})),i=W(W({},wg),n);i.sync&&o.onTransition(function(a){r.send(fl,{state:a,id:o.id})});var s=o;return this.children.set(o.id,s),i.autoForward&&this.forwardTo.add(o.id),o.onDone(function(a){r.removeChild(o.id),r.send(rt(a,{origin:o.id}))}).start(),s},t.prototype.spawnBehavior=function(e,n){var r=bg(e,{id:n,parent:this});return this.children.set(n,r),r},t.prototype.spawnPromise=function(e,n){var r,o=this,i=!1,s;e.then(function(u){i||(s=u,o.removeChild(n),o.send(rt(Mo(n,u),{origin:n})))},function(u){if(!i){o.removeChild(n);var l=br(n,u);try{o.send(rt(l,{origin:n}))}catch{o.devTools&&o.devTools.send(l,o.state),o.machine.strict&&o.stop()}}});var a=(r={id:n,send:function(){},subscribe:function(u,l,f){var d=Ao(u,l,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(){i=!0},toJSON:function(){return{id:n}},getSnapshot:function(){return s}},r[en]=function(){return this},r);return this.children.set(n,a),a},t.prototype.spawnCallback=function(e,n){var r,o=this,i=!1,s=new Set,a=new Set,u,l=function(h){u=h,a.forEach(function(g){return g(h)}),!i&&o.send(rt(h,{origin:n}))},f;try{f=e(l,function(h){s.add(h)})}catch(h){this.send(br(n,h))}if(ml(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=Ao(h);return a.add(g.next),{unsubscribe:function(){a.delete(g.next)}}},stop:function(){i=!0,xe(f)&&f()},toJSON:function(){return{id:n}},getSnapshot:function(){return u}},r[en]=function(){return this},r);return this.children.set(n,d),d},t.prototype.spawnObservable=function(e,n){var r,o=this,i,s=e.subscribe(function(u){i=u,o.send(rt(u,{origin:n}))},function(u){o.removeChild(n),o.send(rt(br(n,u),{origin:n}))},function(){o.removeChild(n),o.send(rt(Mo(n),{origin:n}))}),a=(r={id:n,send:function(){},subscribe:function(u,l,f){return e.subscribe(u,l,f)},stop:function(){return s.unsubscribe()},getSnapshot:function(){return i},toJSON:function(){return{id:n}}},r[en]=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[en]=function(){return this},r))},t.prototype.attachDev=function(){var e=gs();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(W(W({name:this.id,autoPause:!0,stateSanitizer:function(r){return{value:r.value,context:r.context,actions:r.actions}}},n),{features:W({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}yg(this)}},t.prototype.toJSON=function(){return{id:this.id}},t.prototype[en]=function(){return this},t.prototype.getSnapshot=function(){return this.status===Xe.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=Dl,t}();function Dl(t,e){var n=new Eg(t,e);return n}function Cg(t){if(typeof t=="string"){var e={type:t};return e.toString=function(){return t},e}return t}function Do(t){return W(W({type:ss},t),{toJSON:function(){t.onDone,t.onError;var e=ns(t,["onDone","onError"]);return W(W({},e),{type:ss,src:Cg(t.src)})}})}var To="",vs="#",ms="*",qn={},Jn=function(t){return t[0]===vs},Sg=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},Lg=function(){function t(e,n,r,o){r===void 0&&(r="context"in e?e.context:void 0);var i=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(Sg(),n),this.parent=o==null?void 0:o.parent,this.key=this.config.key||(o==null?void 0:o.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:dl),this.id=this.config.id||ze([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?mr(this.config.states,function(l,f){var d,h=new t(l,{},void 0,{parent:i,key:f});return Object.assign(i.idMap,W((d={},d[h.id]=h,d),h.idMap)),h}):qn;var a=0;function u(l){var f,d;l.order=a++;try{for(var h=be(xl(l)),g=h.next();!g.done;g=h.next()){var m=g.value;u(m)}}catch(p){f={error:p}}finally{try{g&&!g.done&&(d=h.return)&&d.call(h)}finally{if(f)throw f.error}}}u(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(l){var f=l.event;return f===To}):To in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=Ot(this.config.entry||this.config.onEntry).map(function(l){return yr(l)}),this.onExit=Ot(this.config.exit||this.config.onExit).map(function(l){return yr(l)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=Ot(this.config.invoke).map(function(l,f){var d,h;if(Yn(l)){var g=xo(i.id,f);return i.machine.options.services=W((d={},d[g]=l,d),i.machine.options.services),Do({src:g,id:g})}else if(Oe(l.src)){var g=l.id||xo(i.id,f);return Do(W(W({},l),{id:g,src:l.src}))}else if(Yn(l.src)||xe(l.src)){var g=l.id||xo(i.id,f);return i.machine.options.services=W((h={},h[g]=l.src,h),i.machine.options.services),Do(W(W({id:g},l),{src:g}))}else{var m=l.src;return Do(W(W({id:xo(i.id,f)},l),{src:m}))}}),this.activities=Ot(this.config.activities).concat(this.invoke).map(function(l){return ds(l)}),this.transition=this.transition.bind(this),this.tags=Ot(this.config.tags)}return t.prototype._init=function(){this.__cache.transitions||Ol(this).forEach(function(e){return e.on})},t.prototype.withConfig=function(e,n){var r=this.options,o=r.actions,i=r.activities,s=r.guards,a=r.services,u=r.delays;return new t(this.config,{actions:W(W({},o),e.actions),activities:W(W({},i),e.activities),guards:W(W({},s),e.guards),services:W(W({},a),e.services),delays:W(W({},u),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:mr(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===To,r=this.transitions.filter(function(o){var i=o.eventType===e;return n?i:i||o.eventType===ms});return this.__cache.candidates[e]=r,r},t.prototype.getDelayedTransitions=function(){var e=this,n=this.config.after;if(!n)return[];var r=function(i,s){var a=xe(i)?"".concat(e.id,":delay[").concat(s,"]"):i,u=og(a,e.id);return e.onEntry.push(Zp(u,{delay:i})),e.onExit.push($p(u)),u},o=Qn(n)?n.map(function(i,s){var a=r(i.delay,s);return W(W({},i),{event:a})}):Ye(Object.keys(n).map(function(i,s){var a=n[i],u=Oe(a)?{target:a}:a,l=isNaN(+i)?i:+i,f=r(l,s);return Ot(u).map(function(d){return W(W({},d),{event:f,delay:l})})}));return o.map(function(i){var s=i.delay;return W(W({},e.formatTransition(i)),{delay:s})})},t.prototype.getStateNodes=function(e){var n,r=this;if(!e)return[];var o=e instanceof Et?e.value:vr(e,this.delimiter);if(Oe(o)){var i=this.getStateNode(o).initial;return i!==void 0?this.getStateNodes((n={},n[o]=i,n)):[this,this.states[o]]}var s=Object.keys(o),a=[this];return a.push.apply(a,ze([],Le(Ye(s.map(function(u){return r.getStateNode(u).getStateNodes(o[u])}))),!1)),a},t.prototype.handles=function(e){var n=pl(e);return this.events.includes(n)},t.prototype.resolveState=function(e){var n=e instanceof Et?e:Et.create(e),r=Array.from(Er([],this.getStateNodes(n.value)));return new Et(W(W({},n),{value:this.resolve(n.value),configuration:r,done:Io(r,this),tags:Pl(r),machine:this.machine}))},t.prototype.transitionLeafNode=function(e,n,r){var o=this.getStateNode(e),i=o.next(n,r);return!i||!i.transitions.length?this.next(n,r):i},t.prototype.transitionCompoundNode=function(e,n,r){var o=Object.keys(e),i=this.getStateNode(o[0]),s=i._transition(e[o[0]],n,r);return!s||!s.transitions.length?this.next(n,r):s},t.prototype.transitionParallelNode=function(e,n,r){var o,i,s={};try{for(var a=be(Object.keys(e)),u=a.next();!u.done;u=a.next()){var l=u.value,f=e[l];if(f){var d=this.getStateNode(l),h=d._transition(f,n,r);h&&(s[l]=h)}}}catch(w){o={error:w}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}var g=Object.keys(s).map(function(w){return s[w]}),m=Ye(g.map(function(w){return w.transitions})),p=g.some(function(w){return w.transitions.length>0});if(!p)return this.next(n,r);var E=Ye(Object.keys(s).map(function(w){return s[w].configuration}));return{transitions:m,exitSet:Ye(g.map(function(w){return w.exitSet})),configuration:E,source:n,actions:Ye(Object.keys(s).map(function(w){return s[w].actions}))}},t.prototype._transition=function(e,n,r){return Oe(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,rt(n))},t.prototype.next=function(e,n){var r,o,i=this,s=n.name,a=[],u=[],l;try{for(var f=be(this.getCandidates(s)),d=f.next();!d.done;d=f.next()){var h=d.value,g=h.cond,m=h.in,p=e.context,E=m?Oe(m)&&Jn(m)?e.matches(vr(this.getStateNodeById(m).path,this.delimiter)):ls(vr(m,this.delimiter),Hp(this.path.slice(0,-2))(e.value)):!0,w=!1;try{w=!g||El(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,`':
38
- `).concat(x.message))}if(w&&E){h.target!==void 0&&(u=h.target),a.push.apply(a,ze([],Le(h.actions),!1)),l=h;break}}}catch(x){r={error:x}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}if(l){if(!u.length)return{transitions:[l],exitSet:[],configuration:e.value?[this]:[],source:e,actions:a};var y=Ye(u.map(function(x){return i.getRelativeStateNodes(x,e.historyValue)})),b=!!l.internal;return{transitions:[l],exitSet:b?[]:Ye(u.map(function(x){return i.getPotentiallyReenteringNodes(x)})),configuration:y,source:e,actions:a}}},t.prototype.getPotentiallyReenteringNodes=function(e){if(this.order<e.order)return[this];for(var n=[],r=this,o=e;r&&r!==o;)n.push(r),r=r.parent;return r!==o?[]:(n.push(o),n)},t.prototype.getActions=function(e,n,r,o,i,s,a){var u,l,f,d,h=this,g=s?Er([],this.getStateNodes(s.value)):[],m=new Set;try{for(var p=be(Array.from(e).sort(function(O,k){return O.order-k.order})),E=p.next();!E.done;E=p.next()){var w=E.value;(!Cr(g,w)||Cr(r.exitSet,w)||w.parent&&m.has(w.parent))&&m.add(w)}}catch(O){u={error:O}}finally{try{E&&!E.done&&(l=p.return)&&l.call(p)}finally{if(u)throw u.error}}try{for(var y=be(g),b=y.next();!b.done;b=y.next()){var w=b.value;(!Cr(e,w)||Cr(r.exitSet,w.parent))&&r.exitSet.push(w)}}catch(O){f={error:O}}finally{try{b&&!b.done&&(d=y.return)&&d.call(y)}finally{if(f)throw f.error}}r.exitSet.sort(function(O,k){return k.order-O.order});var x=Array.from(m).sort(function(O,k){return O.order-k.order}),S=new Set(r.exitSet),v=Ye(x.map(function(O){var k=[];if(O.type!=="final")return k;var N=O.parent;if(!N.parent)return k;k.push(Oo(O.id,O.doneData),Oo(N.id,O.doneData?So(O.doneData,o,i):void 0));var H=N.parent;return H.type==="parallel"&&wr(H).every(function(G){return Io(r.configuration,G)})&&k.push(Oo(H.id)),k})),C=x.map(function(O){var k=O.onEntry,N=O.activities.map(function(H){return eg(H)});return{type:"entry",actions:tn(a?ze(ze([],Le(k),!1),Le(N),!1):ze(ze([],Le(N),!1),Le(k),!1),h.machine.options.actions)}}).concat({type:"state_done",actions:v.map(function(O){return qp(O)})}),A=Array.from(S).map(function(O){return{type:"exit",actions:tn(ze(ze([],Le(O.onExit),!1),Le(O.activities.map(function(k){return tg(k)})),!1),h.machine.options.actions)}}),D=A.concat({type:"transition",actions:tn(r.actions,this.machine.options.actions)}).concat(C);if(n){var M=tn(Ye(ze([],Le(e),!1).sort(function(O,k){return k.order-O.order}).map(function(O){return O.onExit})),this.machine.options.actions).filter(function(O){return!cs(O)});return D.concat({type:"stop",actions:M})}return D},t.prototype.transition=function(e,n,r,o){e===void 0&&(e=this.initialState);var i=rt(n),s;if(e instanceof Et)s=r===void 0?e:this.resolveState(Et.from(e,r));else{var a=Oe(e)?this.resolve(Eo(this.getResolvedPath(e))):this.resolve(e),u=r??this.machine.context;s=this.resolveState(Et.from(a,u))}if(this.strict&&!this.events.includes(i.name)&&!Fp(i.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(i.name,"'"));var l=this._transition(s.value,s,i)||{transitions:[],configuration:[],exitSet:[],source:s,actions:[]},f=Er([],this.getStateNodes(s.value)),d=l.configuration.length?Er(f,l.configuration):f;return l.configuration=ze([],Le(d),!1),this.resolveTransition(l,s,s.context,o,i)},t.prototype.resolveRaisedTransition=function(e,n,r,o){var i,s=e.actions;return e=this.transition(e,n,void 0,o),e._event=r,e.event=r.data,(i=e.actions).unshift.apply(i,ze([],Le(s),!1)),e},t.prototype.resolveTransition=function(e,n,r,o,i){var s,a,u,l,f=this;i===void 0&&(i=Rn);var d=e.configuration,h=!n||e.transitions.length>0,g=h?e.configuration:n?n.configuration:[],m=Io(g,this),p=h?cg(this.machine,d):void 0,E=n?n.historyValue?n.historyValue:e.source?this.machine.historyValue(n.value):void 0:void 0,w=this.getActions(new Set(g),m,e,r,i,n,o),y=n?W({},n.activities):{};try{for(var b=be(w),x=b.next();!x.done;x=b.next()){var S=x.value;try{for(var v=(u=void 0,be(S.actions)),C=v.next();!C.done;C=v.next()){var A=C.value;A.type===rs?y[A.activity.id||A.activity.type]=A:A.type===os&&(y[A.activity.id||A.activity.type]=!1)}}catch(Y){u={error:Y}}finally{try{C&&!C.done&&(l=v.return)&&l.call(v)}finally{if(u)throw u.error}}}}catch(Y){s={error:Y}}finally{try{x&&!x.done&&(a=b.return)&&a.call(b)}finally{if(s)throw s.error}}var D=Le(Po(this,n,r,i,w,o,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),M=D[0],O=D[1],k=Le(Gp(M,cs),2),N=k[0],H=k[1],G=M.filter(function(Y){var ee;return Y.type===rs&&((ee=Y.activity)===null||ee===void 0?void 0:ee.type)===ss}),q=G.reduce(function(Y,ee){return Y[ee.activity.id]=sg(ee.activity,f.machine,O,i),Y},n?W({},n.children):{}),V=new Et({value:p||n.value,context:O,_event:i,_sessionid:n?n._sessionid:null,historyValue:p?E?Qp(E,p):void 0:n?n.historyValue:void 0,history:!p||e.source?n:void 0,actions:p?H:[],activities:p?y:n?n.activities:{},events:[],configuration:g,transitions:e.transitions,children:q,done:m,tags:Pl(g),machine:this}),K=r!==O;V.changed=i.name===fl||K;var B=V.history;B&&delete B.history;var I=!m&&(this._transient||d.some(function(Y){return Y._transient}));if(!h&&(!I||i.name===To))return V;var T=V;if(!m)for(I&&(T=this.resolveRaisedTransition(T,{type:Ip},i,o));N.length;){var F=N.shift();T=this.resolveRaisedTransition(T,F._event,i,o)}var U=T.changed||(B?!!T.actions.length||K||typeof B.value!=typeof T.value||!kl(T.value,B.value):void 0);return T.changed=U,T.history=B,T},t.prototype.getStateNode=function(e){if(Jn(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=Jn(e)?e.slice(vs.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"&&Jn(e))try{return this.getStateNodeById(e.slice(1))}catch{}for(var n=us(e,this.delimiter).slice(),r=this;n.length;){var o=n.shift();if(!o.length)break;r=r.getStateNode(o)}return r},t.prototype.resolve=function(e){var n,r=this;if(!e)return this.initialStateValue||qn;switch(this.type){case"parallel":return mr(this.initialStateValue,function(i,s){return i?r.getStateNode(s).resolve(e[s]||i):qn});case"compound":if(Oe(e)){var o=this.getStateNode(e);return o.type==="parallel"||o.type==="compound"?(n={},n[e]=o.initialStateValue,n):e}return Object.keys(e).length?mr(e,function(i,s){return i?r.getStateNode(s).resolve(i):qn}):this.initialStateValue||{};default:return e||qn}},t.prototype.getResolvedPath=function(e){if(Jn(e)){var n=this.machine.idMap[e.slice(vs.length)];if(!n)throw new Error("Unable to find state node '".concat(e,"'"));return n.path}return us(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=gl(this.states,function(r){return r.initialStateValue||qn},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=ko(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;Oe(n.target)?e=Jn(n.target)?Eo(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(ko(this))return[this];if(this.type==="compound"&&!this.initial)return[this];var n=Co(this.initialStateValue);return Ye(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],o=n.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(r,"' from node with no states"));var i=this.getStateNode(r);if(i.type==="history")return i.resolveHistory();if(!this.states[r])throw new Error("Child state '".concat(r,"' does not exist on '").concat(this.id,"'"));return this.states[r].getFromRelativePath(o)},t.prototype.historyValue=function(e){if(Object.keys(this.states).length)return{current:e||this.initialStateValue,states:gl(this.states,function(n,r){if(!e)return n.historyValue();var o=Oe(e)?void 0:e[r];return n.historyValue(o||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 o=this.target;return o?Ye(Co(o).map(function(s){return r.getFromRelativePath(s)})):r.initialStateNodes}var i=zp(r.path,"states")(e).current;return Oe(i)?[r.getStateNode(i)]:Ye(Co(i).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=Ye(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,o;if(this.__cache.events)return this.__cache.events;var i=this.states,s=new Set(this.ownEvents);if(i)try{for(var a=be(Object.keys(i)),u=a.next();!u.done;u=a.next()){var l=u.value,f=i[l];if(f.states)try{for(var d=(r=void 0,be(f.events)),h=d.next();!h.done;h=d.next()){var g=h.value;s.add("".concat(g))}}catch(m){r={error:m}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}}}catch(m){e={error:m}}finally{try{u&&!u.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(!Oe(r))return r;var o=r[0]===n.delimiter;if(o&&!n.parent)return n.getStateNodeByPath(r.slice(1));var i=o?n.key+r:r;if(n.parent)try{var s=n.parent.getStateNodeByPath(i);return s}catch(a){throw new Error("Invalid transition definition for state node '".concat(n.id,`':
39
- `).concat(a.message))}else return n.getStateNodeByPath(i)})},t.prototype.formatTransition=function(e){var n=this,r=Kp(e.target),o="internal"in e?e.internal:r?r.some(function(u){return Oe(u)&&u[0]===n.delimiter}):!0,i=this.machine.options.guards,s=this.resolveTarget(r),a=W(W({},e),{actions:tn(Ot(e.actions)),cond:wl(e.cond,i),target:s,source:this,internal:o,eventType:e.event,toJSON:function(){return W(W({},a),{target:a.target?a.target.map(function(u){return"#".concat(u.id)}):void 0,source:"#".concat(n.id)})}});return a},t.prototype.formatTransitions=function(){var e,n,r=this,o;if(!this.config.on)o=[];else if(Array.isArray(this.config.on))o=this.config.on;else{var i=this.config.on,s=ms,a=i[s],u=a===void 0?[]:a,l=ns(i,[typeof s=="symbol"?s:s+""]);o=Ye(Object.keys(l).map(function(y){var b=Wn(y,l[y]);return b}).concat(Wn(ms,u)))}var f=this.config.always?Wn("",this.config.always):[],d=this.config.onDone?Wn(String(Oo(this.id)),this.config.onDone):[],h=Ye(this.invoke.map(function(y){var b=[];return y.onDone&&b.push.apply(b,ze([],Le(Wn(String(Mo(y.id)),y.onDone)),!1)),y.onError&&b.push.apply(b,ze([],Le(Wn(String(br(y.id)),y.onError)),!1)),b})),g=this.after,m=Ye(ze(ze(ze(ze([],Le(d),!1),Le(h),!1),Le(o),!1),Le(f),!1).map(function(y){return Ot(y).map(function(b){return r.formatTransition(b)})}));try{for(var p=be(g),E=p.next();!E.done;E=p.next()){var w=E.value;m.push(w)}}catch(y){e={error:y}}finally{try{E&&!E.done&&(n=p.return)&&n.call(p)}finally{if(e)throw e.error}}return m},t}();function Ag(t,e,n){return n===void 0&&(n=t.context),new Lg(t,e,n)}var xg=rg,ys;(function(t){t[t.Effect=1]="Effect",t[t.LayoutEffect=2]="LayoutEffect"})(ys||(ys={}));var Lr=c.useLayoutEffect;function Tl(t){var e=ie.useRef();return e.current||(e.current={v:t()}),e.current.v}var Og=globalThis&&globalThis.__read||function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),o,i=[],s;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},Mg=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 Pg(t,e){var n,r,o=Og([[],[]],2),i=o[0],s=o[1];try{for(var a=Mg(t),u=a.next();!u.done;u=a.next()){var l=u.value;e(l)?i.push(l):s.push(l)}}catch(f){n={error:f}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return[i,s]}var Ar=globalThis&&globalThis.__read||function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),o,i=[],s;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},Bl=globalThis&&globalThis.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,i;r<o;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))};function Nl(t,e){var n=t.exec,r=n(e.context,e._event.data,{action:t,state:e,_event:e._event});r()}function kg(t){var e=c.useRef([]),n=c.useRef([]);Lr(function(){var r=t.subscribe(function(o){var i,s;if(o.actions.length){var a=o.actions.filter(function(d){return typeof d.exec=="function"&&"__effect"in d.exec}),u=Ar(Pg(a,function(d){return d.exec.__effect===ys.Effect}),2),l=u[0],f=u[1];(i=e.current).push.apply(i,Bl([],Ar(l.map(function(d){return[d,o]})),!1)),(s=n.current).push.apply(s,Bl([],Ar(f.map(function(d){return[d,o]})),!1))}});return function(){r.unsubscribe()}},[]),Lr(function(){for(;n.current.length;){var r=Ar(n.current.shift(),2),o=r[0],i=r[1];Nl(o,i)}}),c.useEffect(function(){for(;e.current.length;){var r=Ar(e.current.shift(),2),o=r[0],i=r[1];Nl(o,i)}})}var xr=globalThis&&globalThis.__assign||function(){return xr=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},xr.apply(this,arguments)},Ig=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 o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n};globalThis&&globalThis.__read;function Dg(t,e,n){if(typeof t=="object")return t;var r=function(){};return{next:t,error:e||r,complete:n||r}}function Tg(t,e,n){e===void 0&&(e={});var r=Tl(function(){return typeof t=="function"?t():t}),o=e.context,i=e.guards,s=e.actions,a=e.activities,u=e.services,l=e.delays,f=e.state,d=Ig(e,["context","guards","actions","activities","services","delays","state"]),h=Tl(function(){var g={context:o,guards:i,actions:s,activities:a,services:u,delays:l},m=r.withConfig(g,function(){return xr(xr({},r.context),o)});return Dl(m,xr({deferEvents:!0},d))});return Lr(function(){var g;return n&&(g=h.subscribe(Dg(n))),function(){g==null||g.unsubscribe()}},[n]),Lr(function(){return h.start(f?Et.create(f):void 0),function(){h.stop()}},[]),Lr(function(){Object.assign(h.machine.options.actions,s),Object.assign(h.machine.options.guards,i),Object.assign(h.machine.options.activities,a),Object.assign(h.machine.options.services,u),Object.assign(h.machine.options.delays,l)},[s,i,a,u,l]),kg(h),h}var Bg=globalThis&&globalThis.__read||function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),o,i=[],s;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i};globalThis&&globalThis.__spreadArray;function Ng(t,e){e===void 0&&(e={});var n=c.useCallback(function(a){var u=a.changed===void 0&&Object.keys(a.children).length;(a.changed||u)&&s(a)},[]),r=Tg(t,e,n),o=Bg(c.useState(function(){var a=r.machine.initialState;return e.state?Et.create(e.state):a}),2),i=o[0],s=o[1];return[i,r.send,r]}function We(){return We=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},We.apply(this,arguments)}function Zn(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}const pe={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(pe.str(t)||pe.num(t))return t===e;if(pe.obj(t)&&pe.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 pe.und(n)?t===e:!0}};function jg(t,e){return e===void 0&&(e=!0),n=>(pe.arr(n)?n:Object.keys(n)).reduce((r,o)=>{const i=e?o[0].toLowerCase()+o.substring(1):o;return r[i]=t(i),r},t)}function Ug(){const t=c.useState(!1),e=t[1];return c.useCallback(()=>e(r=>!r),[])}function yn(t,e){return pe.und(t)||pe.nul(t)?e:t}function Bo(t){return pe.und(t)?[]:pe.arr(t)?t:[t]}function _n(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 pe.fun(t)?t(...n):t}function Hg(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,Zn(t,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}function bs(t){const e=Hg(t);if(pe.und(e))return We({to:e},t);const n=Object.keys(t).reduce((r,o)=>pe.und(e[o])?We({},r,{[o]:t[o]}):r,{});return We({to:e},n)}function zg(t,e){return e&&(pe.fun(e)?e(t):pe.obj(e)&&(e.current=t)),t}class Mt{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 ws extends Mt{constructor(){super(...arguments),this.payload=[],this.attach=()=>this.payload.forEach(e=>e instanceof Mt&&e.addChild(this)),this.detach=()=>this.payload.forEach(e=>e instanceof Mt&&e.removeChild(this))}}class jl extends Mt{constructor(){super(...arguments),this.payload={},this.attach=()=>Object.values(this.payload).forEach(e=>e instanceof Mt&&e.addChild(this)),this.detach=()=>Object.values(this.payload).forEach(e=>e instanceof Mt&&e.removeChild(this))}getValue(e){e===void 0&&(e=!1);const n={};for(const r in this.payload){const o=this.payload[r];e&&!(o instanceof Mt)||(n[r]=o instanceof Mt?o[e?"getAnimatedValue":"getValue"]():o)}return n}getAnimatedValue(){return this.getValue(!0)}}let Es;function Fg(t,e){Es={fn:t,transform:e}}let Ul;function Vg(t){Ul=t}let Hl=t=>typeof window<"u"?window.requestAnimationFrame(t):-1,No;function Gg(t){No=t}let zl=()=>Date.now(),Qg=t=>t.current,Fl;function Yg(t){Fl=t}class Wg extends jl{constructor(e,n){super(),this.update=void 0,this.payload=e.style?We({},e,{style:Fl(e.style)}):e,this.update=n,this.attach()}}const Rg=t=>pe.fun(t)&&!(t.prototype instanceof c.Component),Kg=t=>c.forwardRef((n,r)=>{const o=Ug(),i=c.useRef(!0),s=c.useRef(null),a=c.useRef(null),u=c.useCallback(h=>{const g=s.current,m=()=>{let p=!1;a.current&&(p=Es.fn(a.current,s.current.getAnimatedValue())),(!a.current||p===!1)&&o()};s.current=new Wg(h,m),g&&g.detach()},[]);c.useEffect(()=>()=>{i.current=!1,s.current&&s.current.detach()},[]),c.useImperativeHandle(r,()=>Qg(a)),u(n);const l=s.current.getValue();l.scrollTop,l.scrollLeft;const f=Zn(l,["scrollTop","scrollLeft"]),d=Rg(t)?void 0:h=>a.current=zg(h,r);return c.createElement(t,We({},f,{ref:d}))});let Or=!1;const bn=new Set,Vl=()=>{if(!Or)return!1;let t=zl();for(let e of bn){let n=!1;for(let r=0;r<e.configs.length;r++){let o=e.configs[r],i,s;for(let a=0;a<o.animatedValues.length;a++){let u=o.animatedValues[a];if(u.done)continue;let l=o.fromValues[a],f=o.toValues[a],d=u.lastPosition,h=f instanceof Mt,g=Array.isArray(o.initialVelocity)?o.initialVelocity[a]:o.initialVelocity;if(h&&(f=f.getValue()),o.immediate){u.setValue(f),u.done=!0;continue}if(typeof l=="string"||typeof f=="string"){u.setValue(f),u.done=!0;continue}if(o.duration!==void 0)d=l+o.easing((t-u.startTime)/o.duration)*(f-l),i=t>=u.startTime+o.duration;else if(o.decay)d=l+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-u.startTime))),i=Math.abs(u.lastPosition-d)<.1,i&&(f=d);else{s=u.lastTime!==void 0?u.lastTime:t,g=u.lastVelocity!==void 0?u.lastVelocity:o.initialVelocity,t>s+64&&(s=t);let m=Math.floor(t-s);for(let y=0;y<m;++y){let b=-o.tension*(d-f),x=-o.friction*g,S=(b+x)/o.mass;g=g+S*1/1e3,d=d+g*1/1e3}let p=o.clamp&&o.tension!==0?l<f?d>f:d<f:!1,E=Math.abs(g)<=o.precision,w=o.tension!==0?Math.abs(f-d)<=o.precision:!0;i=p||E&&w,u.lastVelocity=g,u.lastTime=t}h&&!o.toValues[a].done&&(i=!1),i?(u.value!==f&&(d=f),u.done=!0):n=!0,u.setValue(d),u.lastPosition=d}e.props.onFrame&&(e.values[o.name]=o.interpolation.getValue())}e.props.onFrame&&e.props.onFrame(e.values),n||(bn.delete(e),e.stop(!0))}return bn.size?Hl(Vl):Or=!1,Or},qg=t=>{bn.has(t)||bn.add(t),Or||(Or=!0,Hl(Vl))},Jg=t=>{bn.has(t)&&bn.delete(t)};function jo(t,e,n){if(typeof t=="function")return t;if(Array.isArray(t))return jo({range:t,output:e,extrapolate:n});if(No&&typeof t.output[0]=="string")return No(t);const r=t,o=r.output,i=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",u=r.easing||(l=>l);return l=>{const f=_g(l,i);return Zg(l,i[f],i[f+1],o[f],o[f+1],u,s,a,r.map)}}function Zg(t,e,n,r,o,i,s,a,u){let l=u?u(t):t;if(l<e){if(s==="identity")return l;s==="clamp"&&(l=e)}if(l>n){if(a==="identity")return l;a==="clamp"&&(l=n)}return r===o?r:e===n?t<=e?r:o:(e===-1/0?l=-l:n===1/0?l=l-e:l=(l-e)/(n-e),l=i(l),r===-1/0?l=-l:o===1/0?l=l+r:l=l*(o-r)+r,l)}function _g(t,e){for(var n=1;n<e.length-1&&!(e[n]>=t);++n);return n-1}class Xn extends ws{constructor(e,n,r,o){super(),this.calc=void 0,this.payload=e instanceof ws&&!(e instanceof Xn)?e.getPayload():Array.isArray(e)?e:[e],this.calc=jo(n,r,o)}getValue(){return this.calc(...this.payload.map(e=>e.getValue()))}updateConfig(e,n,r){this.calc=jo(e,n,r)}interpolate(e,n,r){return new Xn(this,e,n,r)}}const $n=(t,e,n)=>t&&new Xn(t,e,n),Xg={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 Gl(t,e){"update"in t?e.add(t):t.getChildren().forEach(n=>Gl(n,e))}class Cs extends Mt{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,o){o===void 0&&(o=!0),n.value=r,o&&n.flush()},this.value=e,this.startPosition=e,this.lastPosition=e}flush(){this.animatedStyles.size===0&&Gl(this,this.animatedStyles),this.animatedStyles.forEach(e=>e.update())}clearStyles(){this.animatedStyles.clear()}getValue(){return this.value}interpolate(e,n,r){return new Xn(this,e,n,r)}}class $g extends ws{constructor(e){super(),this.payload=e.map(n=>new Cs(n))}setValue(e,n){n===void 0&&(n=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((r,o)=>this.payload[o].setValue(r,n)):this.payload.forEach(r=>r.setValue(e,n))}getValue(){return this.payload.map(e=>e.getValue())}interpolate(e,n){return new Xn(this,e,n)}}let ev=0,tv=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=ev++}update(e){if(!e)return this;const n=bs(e),r=n.delay,o=r===void 0?0:r,i=n.to,s=Zn(n,["delay","to"]);if(pe.arr(i)||pe.fun(i))this.queue.push(We({},s,{delay:o,to:i}));else if(i){let a={};Object.entries(i).forEach(u=>{let l=u[0],f=u[1];const d=We({to:{[l]:f},delay:_n(o,l)},s),h=a[d.delay]&&a[d.delay].to;a[d.delay]=We({},a[d.delay],d,{to:We({},h,d.to)})}),this.queue=Object.values(a)}return this.queue=this.queue.sort((a,u)=>a.delay-u.delay),this.diff(s),this}start(e){if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach(o=>{let i=o.from,s=i===void 0?{}:i,a=o.to,u=a===void 0?{}:a;pe.obj(s)&&(this.merged=We({},s,this.merged)),pe.obj(u)&&(this.merged=We({},this.merged,u))});const n=this.local=++this.guid,r=this.localQueue=this.queue;this.queue=[],r.forEach((o,i)=>{let s=o.delay,a=Zn(o,["delay"]);const u=f=>{i===r.length-1&&n===this.guid&&f&&(this.idle=!0,this.props.onRest&&this.props.onRest(this.merged)),e&&e()};let l=pe.arr(a.to)||pe.fun(a.to);s?setTimeout(()=>{n===this.guid&&(l?this.runAsync(a,u):this.diff(a).start(u))},s):l?this.runAsync(a,u):this.diff(a).start(u)})}else pe.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),qg(this);return this}stop(e){return this.listeners.forEach(n=>n(e)),this.listeners=[],this}pause(e){return this.stop(!0),e&&Jg(this),this}runAsync(e,n){var r=this;e.delay;let o=Zn(e,["delay"]);const i=this.local;let s=Promise.resolve(void 0);if(pe.arr(o.to))for(let a=0;a<o.to.length;a++){const u=a,l=We({},o,bs(o.to[u]));pe.arr(l.config)&&(l.config=l.config[u]),s=s.then(()=>{if(i===this.guid)return new Promise(f=>this.diff(l).start(f))})}else if(pe.fun(o.to)){let a=0,u;s=s.then(()=>o.to(l=>{const f=We({},o,bs(l));if(pe.arr(f.config)&&(f.config=f.config[a]),a++,i===this.guid)return u=new Promise(d=>this.diff(f).start(d))},function(l){return l===void 0&&(l=!0),r.stop(l)}).then(()=>u))}s.then(n)}diff(e){this.props=We({},this.props,e);let n=this.props,r=n.from,o=r===void 0?{}:r,i=n.to,s=i===void 0?{}:i,a=n.config,u=a===void 0?{}:a,l=n.reverse,f=n.attach,d=n.reset,h=n.immediate;if(l){var g=[s,o];o=g[0],s=g[1]}this.merged=We({},o,this.merged,s),this.hasChanged=!1;let m=f&&f(this);if(this.animations=Object.entries(this.merged).reduce((p,E)=>{let w=E[0],y=E[1],b=p[w]||{};const x=pe.num(y),S=pe.str(y)&&!y.startsWith("#")&&!/\d/.test(y)&&!Ul[y],v=pe.arr(y),C=!x&&!v&&!S;let A=pe.und(o[w])?y:o[w],D=x||v||S?y:1,M=_n(u,w);m&&(D=m.animations[w].parent);let O=b.parent,k=b.interpolation,N=Bo(m?D.getPayload():D),H,G=y;C&&(G=No({range:[0,1],output:[y,y]})(1));let q=k&&k.getValue();const K=!pe.und(O)&&b.animatedValues.some(F=>!F.done),B=!pe.equ(G,q),I=!pe.equ(G,b.previous),T=!pe.equ(M,b.config);if(d||I&&B||T){if(x||S)O=k=b.parent||new Cs(A);else if(v)O=k=b.parent||new $g(A);else if(C){let F=b.interpolation&&b.interpolation.calc(b.parent.value);F=F!==void 0&&!d?F:A,b.parent?(O=b.parent,O.setValue(0,!1)):O=new Cs(0);const U={output:[F,y]};b.interpolation?(k=b.interpolation,b.interpolation.updateConfig(U)):k=O.interpolate(U)}return N=Bo(m?D.getPayload():D),H=Bo(O.getPayload()),d&&!C&&O.setValue(A,!1),this.hasChanged=!0,H.forEach(F=>{F.startPosition=F.value,F.lastPosition=F.value,F.lastVelocity=K?F.lastVelocity:void 0,F.lastTime=K?F.lastTime:void 0,F.startTime=zl(),F.done=!1,F.animatedStyles.clear()}),_n(h,w)&&O.setValue(C?D:y,!1),We({},p,{[w]:We({},b,{name:w,parent:O,interpolation:k,animatedValues:H,toValues:N,previous:G,config:M,fromValues:Bo(O.getValue()),immediate:_n(h,w),initialVelocity:yn(M.velocity,0),clamp:yn(M.clamp,!1),precision:yn(M.precision,.01),tension:yn(M.tension,170),friction:yn(M.friction,26),mass:yn(M.mass,1),duration:M.duration,easing:yn(M.easing,F=>F),decay:M.decay})})}else return B?p:(C&&(O.setValue(1,!1),k.updateConfig({output:[G,G]})),O.done=!0,this.hasChanged=!0,We({},p,{[w]:We({},p[w],{previous:G})}))},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 nv=(t,e)=>{const n=c.useRef(!1),r=c.useRef(),o=pe.fun(e),i=c.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 tv,m=o?_n(e,h,g):e[h];return h===0&&(f=m.ref),g.update(m),f||g.start(),g}),f]},[t]),s=i[0],a=i[1];r.current=s,c.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 u=c.useMemo(()=>f=>r.current.map((d,h)=>{d.update(o?_n(f,h,d):f[h]),a||d.start()}),[t]);c.useEffect(()=>{n.current?o||u(e):a||r.current.forEach(f=>f.start())}),c.useEffect(()=>(n.current=!0,()=>r.current.forEach(f=>f.destroy())),[]);const l=r.current.map(f=>f.getValues());return o?[l,u,f=>r.current.forEach(d=>d.pause(f))]:l},rv=t=>{const e=pe.fun(t),n=nv(1,e?t:[t]),r=n[0],o=n[1],i=n[2];return e?[r[0],o,i]:r};class ov extends jl{constructor(e){e===void 0&&(e={}),super(),e.transform&&!(e.transform instanceof Mt)&&(e=Es.transform(e)),this.payload=e}}const Uo={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},Pt="[-+]?\\d*\\.?\\d+",Ho=Pt+"%";function zo(){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 iv=new RegExp("rgb"+zo(Pt,Pt,Pt)),sv=new RegExp("rgba"+zo(Pt,Pt,Pt,Pt)),av=new RegExp("hsl"+zo(Pt,Ho,Ho)),lv=new RegExp("hsla"+zo(Pt,Ho,Ho,Pt)),uv=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,cv=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,fv=/^#([0-9a-fA-F]{6})$/,dv=/^#([0-9a-fA-F]{8})$/;function hv(t){let e;return typeof t=="number"?t>>>0===t&&t>=0&&t<=4294967295?t:null:(e=fv.exec(t))?parseInt(e[1]+"ff",16)>>>0:Uo.hasOwnProperty(t)?Uo[t]:(e=iv.exec(t))?(er(e[1])<<24|er(e[2])<<16|er(e[3])<<8|255)>>>0:(e=sv.exec(t))?(er(e[1])<<24|er(e[2])<<16|er(e[3])<<8|Wl(e[4]))>>>0:(e=uv.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=dv.exec(t))?parseInt(e[1],16)>>>0:(e=cv.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=av.exec(t))?(Ql(Yl(e[1]),Fo(e[2]),Fo(e[3]))|255)>>>0:(e=lv.exec(t))?(Ql(Yl(e[1]),Fo(e[2]),Fo(e[3]))|Wl(e[4]))>>>0:null}function Ss(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 Ql(t,e,n){const r=n<.5?n*(1+e):n+e-n*e,o=2*n-r,i=Ss(o,r,t+1/3),s=Ss(o,r,t),a=Ss(o,r,t-1/3);return Math.round(i*255)<<24|Math.round(s*255)<<16|Math.round(a*255)<<8}function er(t){const e=parseInt(t,10);return e<0?0:e>255?255:e}function Yl(t){return(parseFloat(t)%360+360)%360/360}function Wl(t){const e=parseFloat(t);return e<0?0:e>1?255:Math.round(e*255)}function Fo(t){const e=parseFloat(t);return e<0?0:e>100?1:e/100}function Rl(t){let e=hv(t);if(e===null)return t;e=e||0;let n=(e&4278190080)>>>24,r=(e&16711680)>>>16,o=(e&65280)>>>8,i=(e&255)/255;return`rgba(${n}, ${r}, ${o}, ${i})`}const Vo=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,pv=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,gv=new RegExp(`(${Object.keys(Uo).join("|")})`,"g"),vv=t=>{const e=t.output.map(o=>o.replace(pv,Rl)).map(o=>o.replace(gv,Rl)),n=e[0].match(Vo).map(()=>[]);e.forEach(o=>{o.match(Vo).forEach((i,s)=>n[s].push(+i))});const r=e[0].match(Vo).map((o,i)=>jo(We({},t,{output:n[i]})));return o=>{let i=0;return e[0].replace(Vo,()=>r[i++](o)).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(s,a,u,l,f)=>`rgba(${Math.round(a)}, ${Math.round(u)}, ${Math.round(l)}, ${f})`)}};let Mr={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 mv=(t,e)=>t+e.charAt(0).toUpperCase()+e.substring(1),yv=["Webkit","Ms","Moz","O"];Mr=Object.keys(Mr).reduce((t,e)=>(yv.forEach(n=>t[mv(n,e)]=t[e]),t),Mr);function bv(t,e,n){return e==null||typeof e=="boolean"||e===""?"":!n&&typeof e=="number"&&e!==0&&!(Mr.hasOwnProperty(t)&&Mr[t])?e+"px":(""+e).trim()}const Kl={};Yg(t=>new ov(t)),Gg(vv),Vg(Uo),Fg((t,e)=>{if(t.nodeType&&t.setAttribute!==void 0){const o=e.style,i=e.children,s=e.scrollTop,a=e.scrollLeft,u=Zn(e,["style","children","scrollTop","scrollLeft"]),l=t.nodeName==="filter"||t.parentNode&&t.parentNode.nodeName==="filter";s!==void 0&&(t.scrollTop=s),a!==void 0&&(t.scrollLeft=a),i!==void 0&&(t.textContent=i);for(let f in o)if(o.hasOwnProperty(f)){var n=f.indexOf("--")===0,r=bv(f,o[f],n);f==="float"&&(f="cssFloat"),n?t.style.setProperty(f,r):t.style[f]=r}for(let f in u){const d=l?f:Kl[f]||(Kl[f]=f.replace(/([A-Z])/g,h=>"-"+h.toLowerCase()));typeof t.getAttribute(d)<"u"&&t.setAttribute(d,u[f])}return}else return!1},t=>t);const wv=["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"],Ev=jg(Kg,!1)(wv);function ql(t,e){return t.map(function(n,r){return n+e[r]})}function Jl(t,e){return t.map(function(n,r){return n-e[r]})}function Ls(t){return Math.hypot.apply(Math,t)}function Cv(t,e,n){var r=Ls(e),o=r===0?0:1/r,i=n===0?0:1/n,s=i*r,a=e.map(function(f){return i*f}),u=e.map(function(f){return o*f}),l=Ls(t);return{velocities:a,velocity:s,distance:l,direction:u}}function As(t){return Math.sign?Math.sign(t):+(t>0)-+(t<0)||+t}function Sv(t,e,n){return Math.max(e,Math.min(t,n))}function Lv(t,e){return Math.pow(t,e*5)}function Zl(t,e,n){return e===0||Math.abs(e)===1/0?Lv(t,n):t*e*n/(e+n*t)}function Pr(t,e,n,r){return r===void 0&&(r=.15),r===0?Sv(t,e,n):t<e?-Zl(e-t,n-e,r)+e:t>n?+Zl(t-n,n-e,r)+n:t}function _l(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 Av(t,e,n){return e&&_l(t.prototype,e),n&&_l(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 Xl(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function xv(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function Go(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ov(t,e){if(t){if(typeof t=="string")return $l(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 $l(t,e)}}function $l(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 Qo(t,e){var n;if(typeof Symbol>"u"||t[Symbol.iterator]==null){if(Array.isArray(t)||(n=Ov(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.
40
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return n=t[Symbol.iterator](),n.next.bind(n)}function eu(){}function tu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.length===0?eu:e.length===1?e[0]:function(){for(var r,o=Qo(e),i;!(i=o()).done;){var s=i.value;r=s.apply(this,arguments)||r}return r}}function nn(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 Yo(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 xs(t,e){t===void 0&&(t={});for(var n={},r=0,o=Object.entries(e);r<o.length;r++){var i=o[r],s=i[0],a=i[1];switch(typeof a){case"function":n[s]=a.call(n,t[s],s,t);break;case"object":n[s]=xs(t[s],a);break;case"boolean":a&&(n[s]=t[s]);break}}return n}var Mv=180,Pv=.15,kv=.5,Iv=60,Dv={threshold:function(e){return e===void 0&&(e=0),nn(e)},rubberband:function(e){switch(e===void 0&&(e=0),e){case!0:return nn(Pv);case!1:return nn(0);default:return nn(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:nn(e)}},nu=ut({},Dv,{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 nu.bounds(e(d))};var n=e,r=n.left,o=r===void 0?-1/0:r,i=n.right,s=i===void 0?1/0:i,a=n.top,u=a===void 0?-1/0:a,l=n.bottom,f=l===void 0?1/0:l;return[[o,s],[u,f]]}}),Tv=typeof window<"u"&&window.document&&window.document.createElement,Bv={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=Tv?window:void 0),t}),eventOptions:function(e){var n=e===void 0?{}:e,r=n.passive,o=r===void 0?!0:r,i=n.capture,s=i===void 0?!1:i;return{passive:o,capture:s}}},Nv=ut({},nu,{threshold:function(e,n,r){var o=r.filterTaps,i=o===void 0?!1:o,s=r.lockDirection,a=s===void 0?!1:s,u=r.axis,l=u===void 0?void 0:u,f=nn(e,i?3:a||l?1:0);return this.filterTaps=i||f[0]+f[1]>0,f},swipeVelocity:function(e){return e===void 0&&(e=kv),nn(e)},swipeDistance:function(e){return e===void 0&&(e=Iv),nn(e)},delay:function(e){switch(e===void 0&&(e=0),e){case!0:return Mv;case!1:return 0;default:return e}}});function jv(t){return t===void 0&&(t={}),xs(t,Bv)}function Uv(t){return t===void 0&&(t={}),xs(t,Nv)}function Hv(t){var e=t.domTarget,n=t.eventOptions,r=t.window,o=t.enabled,i=xv(t,["domTarget","eventOptions","window","enabled"]),s=jv({domTarget:e,eventOptions:n,window:r,enabled:o});return s.drag=Uv(i),s}function kr(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:eu,canceled:!1,memo:void 0,args:void 0},t)}function ru(){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=kr({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=kr({da:[0,0],vdva:[0,0],origin:void 0,turns:0}),r=kr({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),o=kr({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),i=kr({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0});return{shared:t,drag:e,pinch:n,wheel:r,move:o,scroll:i}}var wn=new Map,zv=function(){function t(n,r){var o=this;r===void 0&&(r=[]),this.controller=n,this.args=r,this.debounced=!0,this.setTimeout=function(i,s){var a;s===void 0&&(s=140),clearTimeout(o.controller.timeouts[o.stateKey]);for(var u=arguments.length,l=new Array(u>2?u-2:0),f=2;f<u;f++)l[f-2]=arguments[f];o.controller.timeouts[o.stateKey]=(a=window).setTimeout.apply(a,[i,s].concat(l))},this.clearTimeout=function(){clearTimeout(o.controller.timeouts[o.stateKey])},this.fireGestureHandler=function(i){if(i===void 0&&(i=!1),o.state._blocked)return o.debounced||(o.state._active=!1,o.clean()),null;if(!i&&!o.state.intentional&&!o.config.triggerAllEvents)return null;if(o.state.intentional){var s=o.state.active,a=o.state._active;o.state.active=a,o.state.first=a&&!s,o.state.last=s&&!a,o.controller.state.shared[o.ingKey]=a}var u=ut({},o.controller.state.shared,o.state,o.mapStateValues(o.state)),l=o.handler(u);return o.state.memo=l!==void 0?l:o.state.memo,o.state._active||o.clean(),u}}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,o){return{_intentional:r,_blocked:!1}},e.getMovement=function(r){var o=this.config,i=o.initial,s=o.bounds,a=o.rubberband,u=o.threshold,l=this.state,f=l._bounds,d=l._initial,h=l._active,g=l._intentional,m=l.lastOffset,p=l.movement,E=this.getInternalMovement(r,this.state),w=g[0]===!1?ou(E[0],u[0]):g[0],y=g[1]===!1?ou(E[1],u[1]):g[1],b=this.checkIntentionality([w,y],E);if(b._blocked)return ut({},b,{_movement:E,delta:[0,0]});var x=b._intentional,S=E,v,C;if(x[0]!==!1&&g[0]===!1&&(C=Yo(i,this.state),v=Yo(s,this.state),d[0]=C[0],f[0]=v[0]),x[1]!==!1&&g[1]===!1){var A,D;C=(A=C)!=null?A:Yo(i,this.state),v=(D=v)!=null?D:Yo(s,this.state),d[1]=C[1],f[1]=v[1]}var M=[x[0]!==!1?E[0]-x[0]:d[0],x[1]!==!1?E[1]-x[1]:d[1]],O=ql(M,m),k=h?a:[0,0];return M=iu(f,ql(M,d),k),ut({},b,{intentional:x[0]!==!1||x[1]!==!1,_initial:d,_movement:S,movement:M,values:r,offset:iu(f,O,k),delta:Jl(M,p)})},e.clean=function(){this.clearTimeout()},Av(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 ou(t,e){return Math.abs(t)>=e?As(t)*e:!1}function iu(t,e,n){var r=e[0],o=e[1],i=n[0],s=n[1],a=t[0],u=a[0],l=a[1],f=t[1],d=f[0],h=f[1];return[Pr(r,u,l,i),Pr(o,d,h,s)]}function Os(t,e,n){var r=t.state,o=t.args,i=e.timeStamp,s=e.type,a=r.values,u=n?0:i-r.startTime;return{_lastEventType:s,event:e,timeStamp:i,elapsedTime:u,args:o,previous:a}}function Fv(t,e,n){var r=t.state.offset,o=n.timeStamp;return ut({},ru()[t.stateKey],{_active:!0,values:e,initial:e,offset:r,lastOffset:r,startTime:o})}function Vv(t,e){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.call.apply(t,[this,ut({},e,{event:n})].concat(o))}}var Gv=function(e){var n=this;this.classes=e,this.bind=function(){for(var r={},o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];for(var a=Qo(n.classes),u;!(u=a()).done;){var l=u.value;new l(n,i).addBindings(r)}for(var f=0,d=Object.entries(n.nativeRefs);f<d.length;f++){var h=d[f],g=h[0],m=h[1];Ms(r,g,Vv(m,ut({},n.state.shared,{args:i})))}return n.config.domTarget?Rv(n,r):Kv(n,r)},this.effect=function(){return n.config.domTarget&&n.bind(),n.clean},this.clean=function(){var r=au(n.config),o=n.config.eventOptions;r&&Ir(r,su(n.domListeners),o),Object.values(n.timeouts).forEach(clearTimeout),Qv(n)},this.state=ru(),this.timeouts={},this.domListeners=[],this.windowListeners={}};function Qv(t){var e=t.config,n=e.window,r=e.eventOptions,o=t.windowListeners;if(n){for(var i in o){var s=o[i];Ir(n,s,r)}t.windowListeners={}}}function Yv(t,e){var n=t.config,r=t.windowListeners;n.window&&(Ir(n.window,r[e],n.eventOptions),delete r[e])}function Wv(t,e,n){var r=t.config,o=t.windowListeners;n===void 0&&(n=[]),r.window&&(Ir(r.window,o[e],r.eventOptions),lu(r.window,o[e]=n,r.eventOptions))}function Rv(t,e){var n=t.config,r=t.domListeners,o=au(n);if(!o)throw new Error("domTarget must be defined");var i=n.eventOptions;Ir(o,su(r),i);for(var s=0,a=Object.entries(e);s<a.length;s++){var u=a[s],l=u[0],f=u[1],d=l.slice(2).toLowerCase();r.push([d,tu.apply(void 0,f)])}lu(o,r,i)}function Kv(t,e){for(var n=t.config,r={},o=n.eventOptions.capture?"Capture":"",i=0,s=Object.entries(e);i<s.length;i++){var a=s[i],u=a[0],l=a[1],f=Array.isArray(l)?l:[l],d=u+o;r[d]=tu.apply(void 0,f)}return r}function su(t){return t===void 0&&(t=[]),t.splice(0,t.length)}function au(t){var e=t.domTarget;return e&&"current"in e?e.current:e}function Ms(t,e,n){t[e]||(t[e]=[]),t[e].push(n)}function lu(t,e,n){e===void 0&&(e=[]),n===void 0&&(n={});for(var r=Qo(e),o;!(o=r()).done;){var i=o.value,s=i[0],a=i[1];t.addEventListener(s,a,n)}}function Ir(t,e,n){e===void 0&&(e=[]),n===void 0&&(n={});for(var r=Qo(e),o;!(o=r()).done;){var i=o.value,s=i[0],a=i[1];t.removeEventListener(s,a,n)}}function qv(t,e,n){n===void 0&&(n={});var r=Zv(t),o=c.useMemo(function(){return new Gv(r)},[]);return o.config=e,o.handlers=t,o.nativeRefs=n,c.useEffect(o.effect,[]),o.config.domTarget?Jv:o.bind}function Jv(){}function Zv(t){var e=new Set;return t.drag&&e.add(wn.get("drag")),t.wheel&&e.add(wn.get("wheel")),t.scroll&&e.add(wn.get("scroll")),t.move&&e.add(wn.get("move")),t.pinch&&e.add(wn.get("pinch")),t.hover&&e.add(wn.get("hover")),e}var _v=function(t){Xl(e,t);function e(){return t.apply(this,arguments)||this}var n=e.prototype;return n.getInternalMovement=function(o,i){return Jl(o,i.initial)},n.checkIntentionality=function(o,i){if(o[0]===!1&&o[1]===!1)return{_intentional:o,axis:this.state.axis};var s=i.map(Math.abs),a=s[0],u=s[1],l=this.state.axis||(a>u?"x":a<u?"y":void 0);return!this.config.axis&&!this.config.lockDirection?{_intentional:o,_blocked:!1,axis:l}:l?this.config.axis&&l!==this.config.axis?{_intentional:o,_blocked:!0,axis:l}:(o[l==="x"?1:0]=!1,{_intentional:o,_blocked:!1,axis:l}):{_intentional:[!1,!1],_blocked:!1,axis:l}},n.getKinematics=function(o,i){var s=this.getMovement(o);if(!s._blocked){var a=i.timeStamp-this.state.timeStamp;Object.assign(s,Cv(s.movement,s.delta,a))}return s},n.mapStateValues=function(o){return{xy:o.values,vxvy:o.velocities}},e}(zv);function uu(t){if("touches"in t){var e=t.targetTouches,n=t.changedTouches;return e.length>0?e:n}return null}function cu(t){var e="buttons"in t?t.buttons:0,n=uu(t),r=n&&n.length||0,o=r>0||e>0,i=t.shiftKey,s=t.altKey,a=t.metaKey,u=t.ctrlKey;return{touches:r,down:o,buttons:e,shiftKey:i,altKey:s,metaKey:a,ctrlKey:u}}function fu(t){var e=uu(t),n=e?e[0]:t,r=n.clientX,o=n.clientY;return[r,o]}var Xv=3,$v=220,em=function(t){Xl(e,t);function e(){var r;return r=t.apply(this,arguments)||this,r.ingKey="dragging",r.stateKey="drag",r.onDragStart=function(o){!r.enabled||r.state._active||(Wv(r.controller,r.stateKey,[["pointermove",r.onDragChange],["pointerup",r.onDragEnd],["pointercancel",r.onDragEnd]]),r.updateGestureState({_pointerId:o.pointerId}),r.config.delay>0?(r.state._delayedEvent=!0,"persist"in o&&typeof o.persist=="function"&&o.persist(),r.setTimeout(r.startDrag.bind(Go(r)),r.config.delay,o)):r.startDrag(o))},r.onDragChange=function(o){if(!r.state.canceled&&o.pointerId===r.state._pointerId){if(!r.state._active){r.state._delayedEvent&&(r.clearTimeout(),r.startDrag(o));return}var i=cu(o);if(!i.down){r.onDragEnd(o);return}r.updateSharedState(i);var s=fu(o),a=r.getKinematics(s,o),u=Os(Go(r),o),l=r.state._isTap,f=Ls(a._movement);l&&f>=Xv&&(l=!1),r.updateGestureState(ut({},u,a,{_isTap:l})),r.fireGestureHandler()}},r.onDragEnd=function(o){if(o.pointerId===r.state._pointerId){r.state._active=!1,r.updateSharedState({down:!1,buttons:0,touches:0});var i=r.state._isTap,s=r.state.velocities,a=s[0],u=s[1],l=r.state.movement,f=l[0],d=l[1],h=r.state._intentional,g=h[0],m=h[1],p=r.config.swipeVelocity,E=p[0],w=p[1],y=r.config.swipeDistance,b=y[0],x=y[1],S=ut({},Os(Go(r),o),r.getMovement(r.state.values)),v=[0,0];S.elapsedTime<$v&&(g!==!1&&Math.abs(a)>E&&Math.abs(f)>b&&(v[0]=As(a)),m!==!1&&Math.abs(u)>w&&Math.abs(d)>x&&(v[1]=As(u))),r.updateGestureState(ut({},S,{tap:i,swipe:v})),r.fireGestureHandler(i===!0)}},r.clean=function(){t.prototype.clean.call(Go(r)),r.state._delayedEvent=!1,Yv(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(o){r.state._isTap||o.stopPropagation()},r}var n=e.prototype;return n.startDrag=function(o){var i=fu(o);this.updateSharedState(cu(o)),this.updateGestureState(ut({},Fv(this,i,o),Os(this,o,!0),{_pointerId:o.pointerId,cancel:this.onCancel})),this.updateGestureState(this.getMovement(i)),this.fireGestureHandler()},n.addBindings=function(o){if(Ms(o,"onPointerDown",this.onDragStart),this.config.filterTaps){var i=this.controller.config.eventOptions.capture?"onClick":"onClickCapture";Ms(o,i,this.onClick)}},e}(_v);function tm(t,e){var n,r=[],o,i=!1;function s(){for(var a=arguments.length,u=new Array(a),l=0;l<a;l++)u[l]=arguments[l];return i&&n===this&&e(u,r)||(o=t.apply(this,u),i=!0,n=this,r=u),o}return s}function Wo(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,o;if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!Wo(t[r],e[r]))return!1;return!0}var i;if(typeof Map=="function"&&t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i=t.entries();!(r=i.next()).done;)if(!e.has(r.value[0]))return!1;for(i=t.entries();!(r=i.next()).done;)if(!Wo(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(i=t.entries();!(r=i.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(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(e,o[r]))return!1;if(typeof Element<"u"&&t instanceof Element)return!1;for(r=n;r--!==0;)if(!(o[r]==="_owner"&&t.$$typeof)&&!Wo(t[o[r]],e[o[r]]))return!1;return!0}return t!==t&&e!==e}function nm(t,e){try{return Wo(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 rm(t,e){e===void 0&&(e={}),wn.set("drag",em);var n=c.useRef();return n.current||(n.current=tm(Hv,nm)),qv({drag:t},n.current(e))}/*!
36
+ ***************************************************************************** */var W=function(){return W=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},W.apply(this,arguments)};function ns(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 o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function be(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),o,i=[],s;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i}function ze(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,i;r<o;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}var Te;(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"})(Te||(Te={}));var Vn;(function(t){t.Parent="#_parent",t.Internal="#_internal"})(Vn||(Vn={}));var rs=Te.Start,os=Te.Stop,pr=Te.Raise,Eo=Te.Send,ll=Te.Cancel,Dp=Te.NullEvent,is=Te.Assign;Te.After,Te.DoneState;var ul=Te.Log,Tp=Te.Init,ss=Te.Invoke;Te.ErrorExecution;var cl=Te.ErrorPlatform,Bp=Te.ErrorCustom,fl=Te.Update,Np=Te.Choose,jp=Te.Pure,dl=".",hl={},as="xstate.guard",Up="",Co;function ls(t,e,n){n===void 0&&(n=dl);var r=gr(t,n),o=gr(e,n);return Oe(o)?Oe(r)?o===r:!1:Oe(r)?r in o:Object.keys(r).every(function(i){return i in o?ls(r[i],o[i]):!1})}function pl(t){try{return Oe(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 us(t,e){try{return Gn(t)?t:t.toString().split(e)}catch{throw new Error("'".concat(t,"' is not a valid state path."))}}function Hp(t){return typeof t=="object"&&"value"in t&&"context"in t&&"event"in t&&"_event"in t}function gr(t,e){if(Hp(t))return t.value;if(Gn(t))return So(t);if(typeof t!="string")return t;var n=us(t,e);return So(n)}function So(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 vr(t,e){for(var n={},r=Object.keys(t),o=0;o<r.length;o++){var i=r[o];n[i]=e(t[i],i,t,o)}return n}function gl(t,e,n){var r,o,i={};try{for(var s=be(Object.keys(t)),a=s.next();!a.done;a=s.next()){var l=a.value,u=t[l];n(u)&&(i[l]=e(u,l,t))}}catch(f){r={error:f}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return i}var zp=function(t){return function(e){var n,r,o=e;try{for(var i=be(t),s=i.next();!s.done;s=i.next()){var a=s.value;o=o[a]}}catch(l){n={error:l}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}};function Fp(t,e){return function(n){var r,o,i=n;try{for(var s=be(t),a=s.next();!a.done;a=s.next()){var l=a.value;i=i[e][l]}}catch(u){r={error:u}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return i}}function Lo(t){if(!t)return[[]];if(Oe(t))return[[t]];var e=Ye(Object.keys(t).map(function(n){var r=t[n];return typeof r!="string"&&(!r||!Object.keys(r).length)?[[n]]:Lo(t[n]).map(function(o){return[n].concat(o)})}));return e}function Ye(t){var e;return(e=[]).concat.apply(e,ze([],Le(t),!1))}function vl(t){return Gn(t)?t:[t]}function Ot(t){return t===void 0?[]:vl(t)}function xo(t,e,n){var r,o;if(Ae(t))return t(e,n.data);var i={};try{for(var s=be(Object.keys(t)),a=s.next();!a.done;a=s.next()){var l=a.value,u=t[l];Ae(u)?i[l]=u(e,n.data):i[l]=u}}catch(f){r={error:f}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return i}function Vp(t){return/^(done|error)\./.test(t)}function ml(t){return!!(t instanceof Promise||t!==null&&(Ae(t)||typeof t=="object")&&Ae(t.then))}function Gp(t){return t!==null&&typeof t=="object"&&"transition"in t&&typeof t.transition=="function"}function Qp(t,e){var n,r,o=Le([[],[]],2),i=o[0],s=o[1];try{for(var a=be(t),l=a.next();!l.done;l=a.next()){var u=l.value;e(u)?i.push(u):s.push(u)}}catch(f){n={error:f}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return[i,s]}function yl(t,e){return vr(t.states,function(n,r){if(n){var o=(Oe(e)?void 0:e[r])||(n?n.current:void 0);if(o)return{current:o,states:yl(n,o)}}})}function Yp(t,e){return{current:e,states:yl(t,e)}}function bl(t,e,n,r){var o=t&&n.reduce(function(i,s){var a,l,u=s.assignment,f={state:r,action:s,_event:e},d={};if(Ae(u))d=u(i,e.data,f);else try{for(var h=be(Object.keys(u)),g=h.next();!g.done;g=h.next()){var m=g.value,p=u[m];d[m]=Ae(p)?p(i,e.data,f):p}}catch(E){a={error:E}}finally{try{g&&!g.done&&(l=h.return)&&l.call(h)}finally{if(a)throw a.error}}return Object.assign({},i,d)},t);return o}var Wp=function(){};function Gn(t){return Array.isArray(t)}function Ae(t){return typeof t=="function"}function Oe(t){return typeof t=="string"}function wl(t,e){if(t)return Oe(t)?{type:as,name:t,predicate:e?e[t]:void 0}:Ae(t)?{type:as,name:t.name,predicate:t}:t}function Rp(t){try{return"subscribe"in t&&Ae(t.subscribe)}catch{return!1}}var en=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();Co={},Co[en]=function(){return this},Co[Symbol.observable]=function(){return this};function Qn(t){return!!t&&"__xstatenode"in t}function Kp(t){return!!t&&typeof t.send=="function"}function Ao(t,e){return Oe(t)||typeof t=="number"?W({type:t},e):t}function rt(t,e){if(!Oe(t)&&"$$type"in t&&t.$$type==="scxml")return t;var n=Ao(t);return W({name:n.type,data:n,$$type:"scxml",type:"external"},e)}function Yn(t,e){var n=vl(e).map(function(r){return typeof r>"u"||typeof r=="string"||Qn(r)?{target:r,event:t}:W(W({},r),{event:t})});return n}function qp(t){if(!(t===void 0||t===Up))return Ot(t)}function El(t,e,n,r,o){var i=t.options.guards,s={state:o,cond:e,_event:r};if(e.type===as)return((i==null?void 0:i[e.name])||e.predicate)(n,r.data,s);var a=i==null?void 0:i[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 Cl(t){return typeof t=="string"?{type:t}:t}function Oo(t,e,n){var r=function(){},o=typeof t=="object",i=o?t:null;return{next:((o?t.next:t)||r).bind(i),error:((o?t.error:e)||r).bind(i),complete:((o?t.complete:n)||r).bind(i)}}function Mo(t,e){return"".concat(t,":invocation[").concat(e,"]")}function cs(t){return(t.type===pr||t.type===Eo&&t.to===Vn.Internal)&&typeof t.delay!="number"}var Wn=rt({type:Tp});function fs(t,e){return e&&e[t]||void 0}function mr(t,e){var n;if(Oe(t)||typeof t=="number"){var r=fs(t,e);Ae(r)?n={type:t,exec:r}:r?n=r:n={type:t,exec:void 0}}else if(Ae(t))n={type:t.name||t.toString(),exec:t};else{var r=fs(t.type,e);if(Ae(r))n=W(W({},t),{exec:r});else if(r){var o=r.type||t.type;n=W(W(W({},r),t),{type:o})}else n=t}return n}var tn=function(t,e){if(!t)return[];var n=Gn(t)?t:[t];return n.map(function(r){return mr(r,e)})};function ds(t){var e=mr(t);return W(W({id:Oe(t)?t:e.id},e),{type:e.type})}function Jp(t,e){return{type:pr,event:typeof t=="function"?t:Ao(t),delay:e?e.delay:void 0,id:e==null?void 0:e.id}}function Zp(t,e,n,r){var o={_event:n},i=rt(Ae(t.event)?t.event(e,n.data,o):t.event),s;if(Oe(t.delay)){var a=r&&r[t.delay];s=Ae(a)?a(e,n.data,o):a}else s=Ae(t.delay)?t.delay(e,n.data,o):t.delay;return W(W({},t),{type:pr,_event:i,delay:s})}function _p(t,e){return{to:e?e.to:void 0,type:Eo,event:Ae(t)?t:Ao(t),delay:e?e.delay:void 0,id:e&&e.id!==void 0?e.id:Ae(t)?t.name:pl(t)}}function Xp(t,e,n,r){var o={_event:n},i=rt(Ae(t.event)?t.event(e,n.data,o):t.event),s;if(Oe(t.delay)){var a=r&&r[t.delay];s=Ae(a)?a(e,n.data,o):a}else s=Ae(t.delay)?t.delay(e,n.data,o):t.delay;var l=Ae(t.to)?t.to(e,n.data,o):t.to;return W(W({},t),{to:l,_event:i,event:i.data,delay:s})}var $p=function(t,e,n){return W(W({},t),{value:Oe(t.expr)?t.expr:t.expr(e,n.data,{_event:n})})},eg=function(t){return{type:ll,sendId:t}};function tg(t){var e=ds(t);return{type:Te.Start,activity:e,exec:void 0}}function ng(t){var e=Ae(t)?t:ds(t);return{type:Te.Stop,activity:e,exec:void 0}}function rg(t,e,n){var r=Ae(t.activity)?t.activity(e,n.data):t.activity,o=typeof r=="string"?{id:r}:r,i={type:Te.Stop,activity:o};return i}var og=function(t){return{type:is,assignment:t}};function ig(t,e){var n=e?"#".concat(e):"";return"".concat(Te.After,"(").concat(t,")").concat(n)}function Po(t,e){var n="".concat(Te.DoneState,".").concat(t),r={type:n,data:e};return r.toString=function(){return n},r}function ko(t,e){var n="".concat(Te.DoneInvoke,".").concat(t),r={type:n,data:e};return r.toString=function(){return n},r}function yr(t,e){var n="".concat(Te.ErrorPlatform,".").concat(t),r={type:n,data:e};return r.toString=function(){return n},r}var sg=function(t){var e,n,r=[];try{for(var o=be(t),i=o.next();!i.done;i=o.next())for(var s=i.value,a=0;a<s.actions.length;){if(s.actions[a].type===is){r.push(s.actions[a]),s.actions.splice(a,1);continue}a++}}catch(l){e={error:l}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r};function Io(t,e,n,r,o,i,s){s===void 0&&(s=!1);var a=s?[]:sg(o),l=a.length?bl(n,r,a,e):n,u=s?[n]:void 0,f=[];function d(m,p){var E;switch(p.type){case pr:{var w=Zp(p,l,r,t.options.delays);return i&&typeof w.delay=="number"&&i(w,l,r),w}case Eo:var b=Xp(p,l,r,t.options.delays);return i&&b.to!==Vn.Internal&&(m==="entry"?f.push(b):i(b,l,r)),b;case ul:{var y=$p(p,l,r);return i==null||i(y,l,r),y}case Np:{var A=p,S=(E=A.conds.find(function(q){var V=wl(q.cond,t.options.guards);return!V||El(t,V,l,r,i?void 0:e)}))===null||E===void 0?void 0:E.actions;if(!S)return[];var v=Le(Io(t,e,l,r,[{type:m,actions:tn(Ot(S),t.options.actions)}],i,s),2),C=v[0],x=v[1];return l=x,u==null||u.push(l),C}case jp:{var S=p.get(l,r.data);if(!S)return[];var D=Le(Io(t,e,l,r,[{type:m,actions:tn(Ot(S),t.options.actions)}],i,s),2),M=D[0],O=D[1];return l=O,u==null||u.push(l),M}case os:{var y=rg(p,l,r);return i==null||i(y,n,r),y}case is:{l=bl(l,r,[p],i?void 0:e),u==null||u.push(l);break}default:var k=mr(p,t.options.actions),N=k.exec;if(i)i(k,l,r);else if(N&&u){var H=u.length-1,G=W(W({},k),{exec:function(q){for(var V=[],K=1;K<arguments.length;K++)V[K-1]=arguments[K];N.apply(void 0,ze([u[H]],Le(V),!1))}});k=G}return k}}function h(m){var p,E,w=[];try{for(var b=be(m.actions),y=b.next();!y.done;y=b.next()){var A=y.value,S=d(m.type,A);S&&(w=w.concat(S))}}catch(v){p={error:v}}finally{try{y&&!y.done&&(E=b.return)&&E.call(b)}finally{if(p)throw p.error}}return f.forEach(function(v){i(v,l,r)}),f.length=0,w}var g=Ye(o.map(h));return[g,l]}var Sl=[],Rn=function(t,e){Sl.push(t);var n=e(t);return Sl.pop(),n};function Ll(t){var e;return e={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:t}}},e[en]=function(){return this},e}function ag(t,e,n,r){var o,i=Cl(t.src),s=(o=e==null?void 0:e.options.services)===null||o===void 0?void 0:o[i.type],a=t.data?xo(t.data,n,r):void 0,l=s?xl(s,t.id,a):Ll(t.id);return l.meta=t,l}function xl(t,e,n){var r=Ll(e);if(r.deferred=!0,Qn(t)){var o=r.state=Rn(void 0,function(){return(n?t.withContext(n):t).initialState});r.getSnapshot=function(){return o}}return r}function lg(t){try{return typeof t.send=="function"}catch{return!1}}function ug(t){return lg(t)&&"id"in t}function cg(t){var e;return W((e={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},e[en]=function(){return this},e),t)}var Do=function(t){return t.type==="atomic"||t.type==="final"};function Al(t){return Object.keys(t.states).map(function(e){return t.states[e]})}function br(t){return Al(t).filter(function(e){return e.type!=="history"})}function Ol(t){var e=[t];return Do(t)?e:e.concat(Ye(br(t).map(Ol)))}function wr(t,e){var n,r,o,i,s,a,l,u,f=new Set(t),d=hs(f),h=new Set(e);try{for(var g=be(h),m=g.next();!m.done;m=g.next())for(var p=m.value,E=p.parent;E&&!h.has(E);)h.add(E),E=E.parent}catch(D){n={error:D}}finally{try{m&&!m.done&&(r=g.return)&&r.call(g)}finally{if(n)throw n.error}}var w=hs(h);try{for(var b=be(h),y=b.next();!y.done;y=b.next()){var p=y.value;if(p.type==="compound"&&(!w.get(p)||!w.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 A=(s=void 0,be(br(p))),S=A.next();!S.done;S=A.next()){var v=S.value;h.has(v)||(h.add(v),d.get(v)?d.get(v).forEach(function(M){return h.add(M)}):v.initialStateNodes.forEach(function(M){return h.add(M)}))}}catch(M){s={error:M}}finally{try{S&&!S.done&&(a=A.return)&&a.call(A)}finally{if(s)throw s.error}}}}catch(D){o={error:D}}finally{try{y&&!y.done&&(i=b.return)&&i.call(b)}finally{if(o)throw o.error}}try{for(var C=be(h),x=C.next();!x.done;x=C.next())for(var p=x.value,E=p.parent;E&&!h.has(E);)h.add(E),E=E.parent}catch(D){l={error:D}}finally{try{x&&!x.done&&(u=C.return)&&u.call(C)}finally{if(l)throw l.error}}return h}function Ml(t,e){var n=e.get(t);if(!n)return{};if(t.type==="compound"){var r=n[0];if(r){if(Do(r))return r.key}else return{}}var o={};return n.forEach(function(i){o[i.key]=Ml(i,e)}),o}function hs(t){var e,n,r=new Map;try{for(var o=be(t),i=o.next();!i.done;i=o.next()){var s=i.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{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r}function fg(t,e){var n=wr([t],e);return Ml(t,hs(n))}function Er(t,e){return Array.isArray(t)?t.some(function(n){return n===e}):t instanceof Set?t.has(e):!1}function dg(t){return ze([],Le(new Set(Ye(ze([],Le(t.map(function(e){return e.ownEvents})),!1)))),!1)}function To(t,e){return e.type==="compound"?br(e).some(function(n){return n.type==="final"&&Er(t,n)}):e.type==="parallel"?br(e).every(function(n){return To(t,n)}):!1}function hg(t){return t===void 0&&(t=[]),t.reduce(function(e,n){return n.meta!==void 0&&(e[n.id]=n.meta),e},{})}function Pl(t){return new Set(Ye(t.map(function(e){return e.tags})))}function kl(t,e){if(t===e)return!0;if(t===void 0||e===void 0)return!1;if(Oe(t)||Oe(e))return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(o){return kl(t[o],e[o])})}function pg(t){return typeof t!="object"||t===null?!1:"value"in t&&"_event"in t}function gg(t,e){var n=t.exec,r=W(W({},t),{exec:n!==void 0?function(){return n(e.context,e.event,{action:t,state:e,_event:e._event})}:void 0});return r}var Et=function(){function t(e){var n=this,r;this.actions=[],this.activities=hl,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||hl,this.meta=hg(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 dg(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=Wn;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=Wn;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="."),Oe(e))return[e];var o=Object.keys(e);return o.concat.apply(o,ze([],Le(o.map(function(i){return r.toStrings(e[i],n).map(function(s){return i+n+s})})),!1))},t.prototype.toJSON=function(){var e=this;e.configuration,e.transitions;var n=e.tags;e.machine;var r=ns(e,["configuration","transitions","tags","machine"]);return W(W({},r),{tags:Array.from(n)})},t.prototype.matches=function(e){return ls(e,this.value)},t.prototype.hasTag=function(e){return this.tags.has(e)},t.prototype.can=function(e){var n;Wp(!!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(o){return o.target!==void 0||o.actions.length})},t}(),vg={deferEvents:!1},Il=function(){function t(e){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=W(W({},vg),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}(),ps=new Map,mg=0,Cr={bookId:function(){return"x:".concat(mg++)},register:function(t,e){return ps.set(t,e),t},get:function(t){return ps.get(t)},free:function(t){ps.delete(t)}};function gs(){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 yg(){var t=gs();if(t&&"__xstate__"in t)return t.__xstate__}function bg(t){if(gs()){var e=yg();e&&e.register(t)}}function wg(t,e){e===void 0&&(e={});var n=t.initialState,r=new Set,o=[],i=!1,s=function(){if(!i){for(i=!0;o.length>0;){var u=o.shift();n=t.transition(n,u,l),r.forEach(function(f){return f.next(n)})}i=!1}},a=cg({id:e.id,send:function(u){o.push(u),s()},getSnapshot:function(){return n},subscribe:function(u,f,d){var h=Oo(u,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 Eg={sync:!1,autoForward:!1},Xe;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(Xe||(Xe={}));var Cg=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=Xe.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(f,d){if(Gn(f))return r.batch(f),r.state;var h=rt(Ao(f,d));if(r.status===Xe.Stopped)return r.state;if(r.status!==Xe.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.
37
+ 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===Vn.Parent||r.parent.id===d),m=g?r.parent:Oe(d)?d===Vn.Internal?r:r.children.get(d)||Cr.get(d):Kp(d)?d:void 0;if(!m){if(!g)throw new Error("Unable to send event to child '".concat(d,"' from service '").concat(r.id,"'."));return}if("machine"in m){if(r.status!==Xe.Stopped||r.parent!==m||r.state.done){var p=W(W({},f),{name:f.name===Bp?"".concat(yr(r.id)):f.name,origin:r.sessionId});!h&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([m,p]):m.send(p)}}else!h&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([m,f.data]):m.send(f.data)},this._exec=function(f,d,h,g){g===void 0&&(g=r.machine.options.actions);var m=f.exec||fs(f.type,g),p=Ae(m)?m:m?m.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(H){throw r.parent&&r.parent.send({type:"xstate.error",data:H}),H}switch(f.type){case pr:{var E=f;r.defer(E);break}case Eo:var w=f;if(typeof w.delay=="number"){r.defer(w);return}else w.to?r.sendTo(w._event,w.to,h===Wn):r.send(w._event);break;case ll:r.cancel(f.sendId);break;case rs:{if(r.status!==Xe.Running)return;var b=f.activity;if(!r.machine.config.predictableActionArguments&&!r.state.activities[b.id||b.type])break;if(b.type===Te.Invoke){var y=Cl(b.src),A=r.machine.options.services?r.machine.options.services[y.type]:void 0,S=b.id,v=b.data,C="autoForward"in b?b.autoForward:!!b.forward;if(!A)return;var x=v?xo(v,d,h):void 0;if(typeof A=="string")return;var D=Ae(A)?A(d,h.data,{data:x,src:y,meta:b.meta}):A;if(!D)return;var M=void 0;Qn(D)&&(D=x?D.withContext(x):D,M={autoForward:C}),r.spawn(D,S,M)}else r.spawnActivity(b);break}case os:{r.stopChild(f.activity.id);break}case ul:var O=f,k=O.label,N=O.value;k?r.logger(k,N):r.logger(N);break}};var o=W(W({},t.defaultOptions),n),i=o.clock,s=o.logger,a=o.parent,l=o.id,u=l!==void 0?l:e.id;this.id=u,this.logger=s,this.clock=i,this.parent=a,this.options=o,this.scheduler=new Il({deferEvents:this.options.deferEvents}),this.sessionId=Cr.bookId()}return Object.defineProperty(t.prototype,"initialState",{get:function(){var e=this;return this._initialState?this._initialState:Rn(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,o;try{for(var i=be(e.actions),s=i.next();!s.done;s=i.next()){var a=s.value;this.exec(a,e,n)}}catch(l){r={error:l}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}},t.prototype.update=function(e,n){var r,o,i,s,a,l,u,f,d=this;if(e._sessionid=this.sessionId,this._state=e,(!this.machine.config.predictableActionArguments||n===Wn)&&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(D){d.state.children[D.id]=D}),this.devTools&&this.devTools.send(n.data,e),e.event)try{for(var g=be(this.eventListeners),m=g.next();!m.done;m=g.next()){var p=m.value;p(e.event)}}catch(D){r={error:D}}finally{try{m&&!m.done&&(o=g.return)&&o.call(g)}finally{if(r)throw r.error}}try{for(var E=be(this.listeners),w=E.next();!w.done;w=E.next()){var p=w.value;p(e,e.event)}}catch(D){i={error:D}}finally{try{w&&!w.done&&(s=E.return)&&s.call(E)}finally{if(i)throw i.error}}try{for(var b=be(this.contextListeners),y=b.next();!y.done;y=b.next()){var A=y.value;A(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(D){a={error:D}}finally{try{y&&!y.done&&(l=b.return)&&l.call(b)}finally{if(a)throw a.error}}if(this.state.done){var S=e.configuration.find(function(D){return D.type==="final"&&D.parent===d.machine}),v=S&&S.doneData?xo(S.doneData,e.context,n):void 0;this._doneEvent=ko(this.id,v);try{for(var C=be(this.doneListeners),x=C.next();!x.done;x=C.next()){var p=x.value;p(this._doneEvent)}}catch(D){u={error:D}}finally{try{x&&!x.done&&(f=C.return)&&f.call(C)}finally{if(u)throw u.error}}this._stop(),this._stopChildren(),Cr.free(this.sessionId)}},t.prototype.onTransition=function(e){return this.listeners.add(e),this.status===Xe.Running&&e(this.state,this.state.event),this},t.prototype.subscribe=function(e,n,r){var o=this,i=Oo(e,n,r);this.listeners.add(i.next),this.status!==Xe.NotStarted&&i.next(this.state);var s=function(){o.doneListeners.delete(s),o.stopListeners.delete(s),i.complete()};return this.status===Xe.Stopped?i.complete():(this.onDone(s),this.onStop(s)),{unsubscribe:function(){o.listeners.delete(i.next),o.doneListeners.delete(s),o.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===Xe.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===Xe.Running)return this;this.machine._init(),Cr.register(this.sessionId,this),this.initialized=!0,this.status=Xe.Running;var r=e===void 0?this.initialState:Rn(this,function(){return pg(e)?n.machine.resolveState(e):n.machine.resolveState(Et.from(e,n.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){n.update(r,Wn)}),this},t.prototype._stopChildren=function(){this.children.forEach(function(e){Ae(e.stop)&&e.stop()}),this.children.clear()},t.prototype._stop=function(){var e,n,r,o,i,s,a,l,u,f;try{for(var d=be(this.listeners),h=d.next();!h.done;h=d.next()){var g=h.value;this.listeners.delete(g)}}catch(C){e={error:C}}finally{try{h&&!h.done&&(n=d.return)&&n.call(d)}finally{if(e)throw e.error}}try{for(var m=be(this.stopListeners),p=m.next();!p.done;p=m.next()){var g=p.value;g(),this.stopListeners.delete(g)}}catch(C){r={error:C}}finally{try{p&&!p.done&&(o=m.return)&&o.call(m)}finally{if(r)throw r.error}}try{for(var E=be(this.contextListeners),w=E.next();!w.done;w=E.next()){var g=w.value;this.contextListeners.delete(g)}}catch(C){i={error:C}}finally{try{w&&!w.done&&(s=E.return)&&s.call(E)}finally{if(i)throw i.error}}try{for(var b=be(this.doneListeners),y=b.next();!y.done;y=b.next()){var g=y.value;this.doneListeners.delete(g)}}catch(C){a={error:C}}finally{try{y&&!y.done&&(l=b.return)&&l.call(b)}finally{if(a)throw a.error}}if(!this.initialized)return this;this.initialized=!1,this.status=Xe.Stopped,this._initialState=void 0;try{for(var A=be(Object.keys(this.delayedEventsMap)),S=A.next();!S.done;S=A.next()){var v=S.value;this.clock.clearTimeout(this.delayedEventsMap[v])}}catch(C){u={error:C}}finally{try{S&&!S.done&&(f=A.return)&&f.call(A)}finally{if(u)throw u.error}}this.scheduler.clear(),this.scheduler=new Il({deferEvents:this.options.deferEvents})},t.prototype.stop=function(){var e=this,n=this.scheduler;return this._stop(),n.schedule(function(){var r=rt({type:"xstate.stop"}),o=Rn(e,function(){var i=Ye(ze([],Le(e.state.configuration),!1).sort(function(f,d){return d.order-f.order}).map(function(f){return tn(f.onExit,e.machine.options.actions)})),s=Le(Io(e.machine,e.state,e.state.context,r,[{type:"exit",actions:i}],e.machine.config.predictableActionArguments?e._exec:void 0,e.machine.config.predictableActionArguments||e.machine.config.preserveActionOrder),2),a=s[0],l=s[1],u=new Et({value:e.state.value,context:l,_event:r,_sessionid:e.sessionId,historyValue:void 0,history:e.state,actions:a.filter(function(f){return!cs(f)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:e.state.done,tags:e.state.tags,machine:e.machine});return u.changed=!0,u});e.update(o,r),e._stopChildren(),Cr.free(e.sessionId)}),this},t.prototype.batch=function(e){var n=this;if(!(this.status===Xe.NotStarted&&this.options.deferEvents)){if(this.status!==Xe.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 o,i,s=n.state,a=!1,l=[],u=function(g){var m=rt(g);n.forward(m),s=Rn(n,function(){return n.machine.transition(s,m,void 0,r||void 0)}),l.push.apply(l,ze([],Le(n.machine.config.predictableActionArguments?s.actions:s.actions.map(function(p){return gg(p,s)})),!1)),a=a||!!s.changed};try{for(var f=be(e),d=f.next();!d.done;d=f.next()){var h=d.value;u(h)}}catch(g){o={error:g}}finally{try{d&&!d.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}s.changed=a,s.actions=l,n.update(s,rt(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 o=rt(e);if(o.name.indexOf(cl)===0&&!this.state.nextEvents.some(function(s){return s.indexOf(cl)===0}))throw o.data.data;var i=Rn(this,function(){return r.machine.transition(r.state,o,void 0,n||void 0)});return i},t.prototype.nextState=function(e){return this._nextState(e,!1)},t.prototype.forward=function(e){var n,r;try{for(var o=be(this.forwardTo),i=o.next();!i.done;i=o.next()){var s=i.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{i&&!i.done&&(r=o.return)&&r.call(o)}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),Ae(n.stop)&&n.stop())},t.prototype.spawn=function(e,n,r){if(this.status!==Xe.Running)return xl(e,n);if(ml(e))return this.spawnPromise(Promise.resolve(e),n);if(Ae(e))return this.spawnCallback(e,n);if(ug(e))return this.spawnActor(e,n);if(Rp(e))return this.spawnObservable(e,n);if(Qn(e))return this.spawnMachine(e,W(W({},r),{id:n}));if(Gp(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 o=new t(e,W(W({},this.options),{parent:this,id:n.id||e.id})),i=W(W({},Eg),n);i.sync&&o.onTransition(function(a){r.send(fl,{state:a,id:o.id})});var s=o;return this.children.set(o.id,s),i.autoForward&&this.forwardTo.add(o.id),o.onDone(function(a){r.removeChild(o.id),r.send(rt(a,{origin:o.id}))}).start(),s},t.prototype.spawnBehavior=function(e,n){var r=wg(e,{id:n,parent:this});return this.children.set(n,r),r},t.prototype.spawnPromise=function(e,n){var r,o=this,i=!1,s;e.then(function(l){i||(s=l,o.removeChild(n),o.send(rt(ko(n,l),{origin:n})))},function(l){if(!i){o.removeChild(n);var u=yr(n,l);try{o.send(rt(u,{origin:n}))}catch{o.devTools&&o.devTools.send(u,o.state),o.machine.strict&&o.stop()}}});var a=(r={id:n,send:function(){},subscribe:function(l,u,f){var d=Oo(l,u,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(){i=!0},toJSON:function(){return{id:n}},getSnapshot:function(){return s}},r[en]=function(){return this},r);return this.children.set(n,a),a},t.prototype.spawnCallback=function(e,n){var r,o=this,i=!1,s=new Set,a=new Set,l,u=function(h){l=h,a.forEach(function(g){return g(h)}),!i&&o.send(rt(h,{origin:n}))},f;try{f=e(u,function(h){s.add(h)})}catch(h){this.send(yr(n,h))}if(ml(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=Oo(h);return a.add(g.next),{unsubscribe:function(){a.delete(g.next)}}},stop:function(){i=!0,Ae(f)&&f()},toJSON:function(){return{id:n}},getSnapshot:function(){return l}},r[en]=function(){return this},r);return this.children.set(n,d),d},t.prototype.spawnObservable=function(e,n){var r,o=this,i,s=e.subscribe(function(l){i=l,o.send(rt(l,{origin:n}))},function(l){o.removeChild(n),o.send(rt(yr(n,l),{origin:n}))},function(){o.removeChild(n),o.send(rt(ko(n),{origin:n}))}),a=(r={id:n,send:function(){},subscribe:function(l,u,f){return e.subscribe(l,u,f)},stop:function(){return s.unsubscribe()},getSnapshot:function(){return i},toJSON:function(){return{id:n}}},r[en]=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[en]=function(){return this},r))},t.prototype.attachDev=function(){var e=gs();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(W(W({name:this.id,autoPause:!0,stateSanitizer:function(r){return{value:r.value,context:r.context,actions:r.actions}}},n),{features:W({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}bg(this)}},t.prototype.toJSON=function(){return{id:this.id}},t.prototype[en]=function(){return this},t.prototype.getSnapshot=function(){return this.status===Xe.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=Dl,t}();function Dl(t,e){var n=new Cg(t,e);return n}function Sg(t){if(typeof t=="string"){var e={type:t};return e.toString=function(){return t},e}return t}function Bo(t){return W(W({type:ss},t),{toJSON:function(){t.onDone,t.onError;var e=ns(t,["onDone","onError"]);return W(W({},e),{type:ss,src:Sg(t.src)})}})}var No="",vs="#",ms="*",Kn={},qn=function(t){return t[0]===vs},Lg=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},xg=function(){function t(e,n,r,o){r===void 0&&(r="context"in e?e.context:void 0);var i=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(Lg(),n),this.parent=o==null?void 0:o.parent,this.key=this.config.key||(o==null?void 0:o.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:dl),this.id=this.config.id||ze([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?vr(this.config.states,function(u,f){var d,h=new t(u,{},void 0,{parent:i,key:f});return Object.assign(i.idMap,W((d={},d[h.id]=h,d),h.idMap)),h}):Kn;var a=0;function l(u){var f,d;u.order=a++;try{for(var h=be(Al(u)),g=h.next();!g.done;g=h.next()){var m=g.value;l(m)}}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(u){var f=u.event;return f===No}):No in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=Ot(this.config.entry||this.config.onEntry).map(function(u){return mr(u)}),this.onExit=Ot(this.config.exit||this.config.onExit).map(function(u){return mr(u)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=Ot(this.config.invoke).map(function(u,f){var d,h;if(Qn(u)){var g=Mo(i.id,f);return i.machine.options.services=W((d={},d[g]=u,d),i.machine.options.services),Bo({src:g,id:g})}else if(Oe(u.src)){var g=u.id||Mo(i.id,f);return Bo(W(W({},u),{id:g,src:u.src}))}else if(Qn(u.src)||Ae(u.src)){var g=u.id||Mo(i.id,f);return i.machine.options.services=W((h={},h[g]=u.src,h),i.machine.options.services),Bo(W(W({id:g},u),{src:g}))}else{var m=u.src;return Bo(W(W({id:Mo(i.id,f)},u),{src:m}))}}),this.activities=Ot(this.config.activities).concat(this.invoke).map(function(u){return ds(u)}),this.transition=this.transition.bind(this),this.tags=Ot(this.config.tags)}return t.prototype._init=function(){this.__cache.transitions||Ol(this).forEach(function(e){return e.on})},t.prototype.withConfig=function(e,n){var r=this.options,o=r.actions,i=r.activities,s=r.guards,a=r.services,l=r.delays;return new t(this.config,{actions:W(W({},o),e.actions),activities:W(W({},i),e.activities),guards:W(W({},s),e.guards),services:W(W({},a),e.services),delays:W(W({},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 Ae(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:vr(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===No,r=this.transitions.filter(function(o){var i=o.eventType===e;return n?i:i||o.eventType===ms});return this.__cache.candidates[e]=r,r},t.prototype.getDelayedTransitions=function(){var e=this,n=this.config.after;if(!n)return[];var r=function(i,s){var a=Ae(i)?"".concat(e.id,":delay[").concat(s,"]"):i,l=ig(a,e.id);return e.onEntry.push(_p(l,{delay:i})),e.onExit.push(eg(l)),l},o=Gn(n)?n.map(function(i,s){var a=r(i.delay,s);return W(W({},i),{event:a})}):Ye(Object.keys(n).map(function(i,s){var a=n[i],l=Oe(a)?{target:a}:a,u=isNaN(+i)?i:+i,f=r(u,s);return Ot(l).map(function(d){return W(W({},d),{event:f,delay:u})})}));return o.map(function(i){var s=i.delay;return W(W({},e.formatTransition(i)),{delay:s})})},t.prototype.getStateNodes=function(e){var n,r=this;if(!e)return[];var o=e instanceof Et?e.value:gr(e,this.delimiter);if(Oe(o)){var i=this.getStateNode(o).initial;return i!==void 0?this.getStateNodes((n={},n[o]=i,n)):[this,this.states[o]]}var s=Object.keys(o),a=[this];return a.push.apply(a,ze([],Le(Ye(s.map(function(l){return r.getStateNode(l).getStateNodes(o[l])}))),!1)),a},t.prototype.handles=function(e){var n=pl(e);return this.events.includes(n)},t.prototype.resolveState=function(e){var n=e instanceof Et?e:Et.create(e),r=Array.from(wr([],this.getStateNodes(n.value)));return new Et(W(W({},n),{value:this.resolve(n.value),configuration:r,done:To(r,this),tags:Pl(r),machine:this.machine}))},t.prototype.transitionLeafNode=function(e,n,r){var o=this.getStateNode(e),i=o.next(n,r);return!i||!i.transitions.length?this.next(n,r):i},t.prototype.transitionCompoundNode=function(e,n,r){var o=Object.keys(e),i=this.getStateNode(o[0]),s=i._transition(e[o[0]],n,r);return!s||!s.transitions.length?this.next(n,r):s},t.prototype.transitionParallelNode=function(e,n,r){var o,i,s={};try{for(var a=be(Object.keys(e)),l=a.next();!l.done;l=a.next()){var u=l.value,f=e[u];if(f){var d=this.getStateNode(u),h=d._transition(f,n,r);h&&(s[u]=h)}}}catch(w){o={error:w}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}var g=Object.keys(s).map(function(w){return s[w]}),m=Ye(g.map(function(w){return w.transitions})),p=g.some(function(w){return w.transitions.length>0});if(!p)return this.next(n,r);var E=Ye(Object.keys(s).map(function(w){return s[w].configuration}));return{transitions:m,exitSet:Ye(g.map(function(w){return w.exitSet})),configuration:E,source:n,actions:Ye(Object.keys(s).map(function(w){return s[w].actions}))}},t.prototype._transition=function(e,n,r){return Oe(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,rt(n))},t.prototype.next=function(e,n){var r,o,i=this,s=n.name,a=[],l=[],u;try{for(var f=be(this.getCandidates(s)),d=f.next();!d.done;d=f.next()){var h=d.value,g=h.cond,m=h.in,p=e.context,E=m?Oe(m)&&qn(m)?e.matches(gr(this.getStateNodeById(m).path,this.delimiter)):ls(gr(m,this.delimiter),zp(this.path.slice(0,-2))(e.value)):!0,w=!1;try{w=!g||El(this.machine,g,p,n,e)}catch(A){throw new Error("Unable to evaluate guard '".concat(g.name||g.type,"' in transition for event '").concat(s,"' in state node '").concat(this.id,`':
38
+ `).concat(A.message))}if(w&&E){h.target!==void 0&&(l=h.target),a.push.apply(a,ze([],Le(h.actions),!1)),u=h;break}}}catch(A){r={error:A}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}if(u){if(!l.length)return{transitions:[u],exitSet:[],configuration:e.value?[this]:[],source:e,actions:a};var b=Ye(l.map(function(A){return i.getRelativeStateNodes(A,e.historyValue)})),y=!!u.internal;return{transitions:[u],exitSet:y?[]:Ye(l.map(function(A){return i.getPotentiallyReenteringNodes(A)})),configuration:b,source:e,actions:a}}},t.prototype.getPotentiallyReenteringNodes=function(e){if(this.order<e.order)return[this];for(var n=[],r=this,o=e;r&&r!==o;)n.push(r),r=r.parent;return r!==o?[]:(n.push(o),n)},t.prototype.getActions=function(e,n,r,o,i,s,a){var l,u,f,d,h=this,g=s?wr([],this.getStateNodes(s.value)):[],m=new Set;try{for(var p=be(Array.from(e).sort(function(O,k){return O.order-k.order})),E=p.next();!E.done;E=p.next()){var w=E.value;(!Er(g,w)||Er(r.exitSet,w)||w.parent&&m.has(w.parent))&&m.add(w)}}catch(O){l={error:O}}finally{try{E&&!E.done&&(u=p.return)&&u.call(p)}finally{if(l)throw l.error}}try{for(var b=be(g),y=b.next();!y.done;y=b.next()){var w=y.value;(!Er(e,w)||Er(r.exitSet,w.parent))&&r.exitSet.push(w)}}catch(O){f={error:O}}finally{try{y&&!y.done&&(d=b.return)&&d.call(b)}finally{if(f)throw f.error}}r.exitSet.sort(function(O,k){return k.order-O.order});var A=Array.from(m).sort(function(O,k){return O.order-k.order}),S=new Set(r.exitSet),v=Ye(A.map(function(O){var k=[];if(O.type!=="final")return k;var N=O.parent;if(!N.parent)return k;k.push(Po(O.id,O.doneData),Po(N.id,O.doneData?xo(O.doneData,o,i):void 0));var H=N.parent;return H.type==="parallel"&&br(H).every(function(G){return To(r.configuration,G)})&&k.push(Po(H.id)),k})),C=A.map(function(O){var k=O.onEntry,N=O.activities.map(function(H){return tg(H)});return{type:"entry",actions:tn(a?ze(ze([],Le(k),!1),Le(N),!1):ze(ze([],Le(N),!1),Le(k),!1),h.machine.options.actions)}}).concat({type:"state_done",actions:v.map(function(O){return Jp(O)})}),x=Array.from(S).map(function(O){return{type:"exit",actions:tn(ze(ze([],Le(O.onExit),!1),Le(O.activities.map(function(k){return ng(k)})),!1),h.machine.options.actions)}}),D=x.concat({type:"transition",actions:tn(r.actions,this.machine.options.actions)}).concat(C);if(n){var M=tn(Ye(ze([],Le(e),!1).sort(function(O,k){return k.order-O.order}).map(function(O){return O.onExit})),this.machine.options.actions).filter(function(O){return!cs(O)});return D.concat({type:"stop",actions:M})}return D},t.prototype.transition=function(e,n,r,o){e===void 0&&(e=this.initialState);var i=rt(n),s;if(e instanceof Et)s=r===void 0?e:this.resolveState(Et.from(e,r));else{var a=Oe(e)?this.resolve(So(this.getResolvedPath(e))):this.resolve(e),l=r??this.machine.context;s=this.resolveState(Et.from(a,l))}if(this.strict&&!this.events.includes(i.name)&&!Vp(i.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(i.name,"'"));var u=this._transition(s.value,s,i)||{transitions:[],configuration:[],exitSet:[],source:s,actions:[]},f=wr([],this.getStateNodes(s.value)),d=u.configuration.length?wr(f,u.configuration):f;return u.configuration=ze([],Le(d),!1),this.resolveTransition(u,s,s.context,o,i)},t.prototype.resolveRaisedTransition=function(e,n,r,o){var i,s=e.actions;return e=this.transition(e,n,void 0,o),e._event=r,e.event=r.data,(i=e.actions).unshift.apply(i,ze([],Le(s),!1)),e},t.prototype.resolveTransition=function(e,n,r,o,i){var s,a,l,u,f=this;i===void 0&&(i=Wn);var d=e.configuration,h=!n||e.transitions.length>0,g=h?e.configuration:n?n.configuration:[],m=To(g,this),p=h?fg(this.machine,d):void 0,E=n?n.historyValue?n.historyValue:e.source?this.machine.historyValue(n.value):void 0:void 0,w=this.getActions(new Set(g),m,e,r,i,n,o),b=n?W({},n.activities):{};try{for(var y=be(w),A=y.next();!A.done;A=y.next()){var S=A.value;try{for(var v=(l=void 0,be(S.actions)),C=v.next();!C.done;C=v.next()){var x=C.value;x.type===rs?b[x.activity.id||x.activity.type]=x:x.type===os&&(b[x.activity.id||x.activity.type]=!1)}}catch(Y){l={error:Y}}finally{try{C&&!C.done&&(u=v.return)&&u.call(v)}finally{if(l)throw l.error}}}}catch(Y){s={error:Y}}finally{try{A&&!A.done&&(a=y.return)&&a.call(y)}finally{if(s)throw s.error}}var D=Le(Io(this,n,r,i,w,o,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),M=D[0],O=D[1],k=Le(Qp(M,cs),2),N=k[0],H=k[1],G=M.filter(function(Y){var ee;return Y.type===rs&&((ee=Y.activity)===null||ee===void 0?void 0:ee.type)===ss}),q=G.reduce(function(Y,ee){return Y[ee.activity.id]=ag(ee.activity,f.machine,O,i),Y},n?W({},n.children):{}),V=new Et({value:p||n.value,context:O,_event:i,_sessionid:n?n._sessionid:null,historyValue:p?E?Yp(E,p):void 0:n?n.historyValue:void 0,history:!p||e.source?n:void 0,actions:p?H:[],activities:p?b:n?n.activities:{},events:[],configuration:g,transitions:e.transitions,children:q,done:m,tags:Pl(g),machine:this}),K=r!==O;V.changed=i.name===fl||K;var B=V.history;B&&delete B.history;var I=!m&&(this._transient||d.some(function(Y){return Y._transient}));if(!h&&(!I||i.name===No))return V;var T=V;if(!m)for(I&&(T=this.resolveRaisedTransition(T,{type:Dp},i,o));N.length;){var F=N.shift();T=this.resolveRaisedTransition(T,F._event,i,o)}var U=T.changed||(B?!!T.actions.length||K||typeof B.value!=typeof T.value||!kl(T.value,B.value):void 0);return T.changed=U,T.history=B,T},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(vs.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=us(e,this.delimiter).slice(),r=this;n.length;){var o=n.shift();if(!o.length)break;r=r.getStateNode(o)}return r},t.prototype.resolve=function(e){var n,r=this;if(!e)return this.initialStateValue||Kn;switch(this.type){case"parallel":return vr(this.initialStateValue,function(i,s){return i?r.getStateNode(s).resolve(e[s]||i):Kn});case"compound":if(Oe(e)){var o=this.getStateNode(e);return o.type==="parallel"||o.type==="compound"?(n={},n[e]=o.initialStateValue,n):e}return Object.keys(e).length?vr(e,function(i,s){return i?r.getStateNode(s).resolve(i):Kn}):this.initialStateValue||{};default:return e||Kn}},t.prototype.getResolvedPath=function(e){if(qn(e)){var n=this.machine.idMap[e.slice(vs.length)];if(!n)throw new Error("Unable to find state node '".concat(e,"'"));return n.path}return us(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=gl(this.states,function(r){return r.initialStateValue||Kn},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=Do(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;Oe(n.target)?e=qn(n.target)?So(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(Do(this))return[this];if(this.type==="compound"&&!this.initial)return[this];var n=Lo(this.initialStateValue);return Ye(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],o=n.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(r,"' from node with no states"));var i=this.getStateNode(r);if(i.type==="history")return i.resolveHistory();if(!this.states[r])throw new Error("Child state '".concat(r,"' does not exist on '").concat(this.id,"'"));return this.states[r].getFromRelativePath(o)},t.prototype.historyValue=function(e){if(Object.keys(this.states).length)return{current:e||this.initialStateValue,states:gl(this.states,function(n,r){if(!e)return n.historyValue();var o=Oe(e)?void 0:e[r];return n.historyValue(o||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 o=this.target;return o?Ye(Lo(o).map(function(s){return r.getFromRelativePath(s)})):r.initialStateNodes}var i=Fp(r.path,"states")(e).current;return Oe(i)?[r.getStateNode(i)]:Ye(Lo(i).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=Ye(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,o;if(this.__cache.events)return this.__cache.events;var i=this.states,s=new Set(this.ownEvents);if(i)try{for(var a=be(Object.keys(i)),l=a.next();!l.done;l=a.next()){var u=l.value,f=i[u];if(f.states)try{for(var d=(r=void 0,be(f.events)),h=d.next();!h.done;h=d.next()){var g=h.value;s.add("".concat(g))}}catch(m){r={error:m}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}}}catch(m){e={error:m}}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(!Oe(r))return r;var o=r[0]===n.delimiter;if(o&&!n.parent)return n.getStateNodeByPath(r.slice(1));var i=o?n.key+r:r;if(n.parent)try{var s=n.parent.getStateNodeByPath(i);return s}catch(a){throw new Error("Invalid transition definition for state node '".concat(n.id,`':
39
+ `).concat(a.message))}else return n.getStateNodeByPath(i)})},t.prototype.formatTransition=function(e){var n=this,r=qp(e.target),o="internal"in e?e.internal:r?r.some(function(l){return Oe(l)&&l[0]===n.delimiter}):!0,i=this.machine.options.guards,s=this.resolveTarget(r),a=W(W({},e),{actions:tn(Ot(e.actions)),cond:wl(e.cond,i),target:s,source:this,internal:o,eventType:e.event,toJSON:function(){return W(W({},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,o;if(!this.config.on)o=[];else if(Array.isArray(this.config.on))o=this.config.on;else{var i=this.config.on,s=ms,a=i[s],l=a===void 0?[]:a,u=ns(i,[typeof s=="symbol"?s:s+""]);o=Ye(Object.keys(u).map(function(b){var y=Yn(b,u[b]);return y}).concat(Yn(ms,l)))}var f=this.config.always?Yn("",this.config.always):[],d=this.config.onDone?Yn(String(Po(this.id)),this.config.onDone):[],h=Ye(this.invoke.map(function(b){var y=[];return b.onDone&&y.push.apply(y,ze([],Le(Yn(String(ko(b.id)),b.onDone)),!1)),b.onError&&y.push.apply(y,ze([],Le(Yn(String(yr(b.id)),b.onError)),!1)),y})),g=this.after,m=Ye(ze(ze(ze(ze([],Le(d),!1),Le(h),!1),Le(o),!1),Le(f),!1).map(function(b){return Ot(b).map(function(y){return r.formatTransition(y)})}));try{for(var p=be(g),E=p.next();!E.done;E=p.next()){var w=E.value;m.push(w)}}catch(b){e={error:b}}finally{try{E&&!E.done&&(n=p.return)&&n.call(p)}finally{if(e)throw e.error}}return m},t}();function Ag(t,e,n){return n===void 0&&(n=t.context),new xg(t,e,n)}var Og=og,ys;(function(t){t[t.Effect=1]="Effect",t[t.LayoutEffect=2]="LayoutEffect"})(ys||(ys={}));var Sr=c.useLayoutEffect;function Tl(t){var e=se.useRef();return e.current||(e.current={v:t()}),e.current.v}var Mg=globalThis&&globalThis.__read||function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),o,i=[],s;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},Pg=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 kg(t,e){var n,r,o=Mg([[],[]],2),i=o[0],s=o[1];try{for(var a=Pg(t),l=a.next();!l.done;l=a.next()){var u=l.value;e(u)?i.push(u):s.push(u)}}catch(f){n={error:f}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return[i,s]}var Lr=globalThis&&globalThis.__read||function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),o,i=[],s;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i},Bl=globalThis&&globalThis.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,i;r<o;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))};function Nl(t,e){var n=t.exec,r=n(e.context,e._event.data,{action:t,state:e,_event:e._event});r()}function Ig(t){var e=c.useRef([]),n=c.useRef([]);Sr(function(){var r=t.subscribe(function(o){var i,s;if(o.actions.length){var a=o.actions.filter(function(d){return typeof d.exec=="function"&&"__effect"in d.exec}),l=Lr(kg(a,function(d){return d.exec.__effect===ys.Effect}),2),u=l[0],f=l[1];(i=e.current).push.apply(i,Bl([],Lr(u.map(function(d){return[d,o]})),!1)),(s=n.current).push.apply(s,Bl([],Lr(f.map(function(d){return[d,o]})),!1))}});return function(){r.unsubscribe()}},[]),Sr(function(){for(;n.current.length;){var r=Lr(n.current.shift(),2),o=r[0],i=r[1];Nl(o,i)}}),c.useEffect(function(){for(;e.current.length;){var r=Lr(e.current.shift(),2),o=r[0],i=r[1];Nl(o,i)}})}var xr=globalThis&&globalThis.__assign||function(){return xr=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},xr.apply(this,arguments)},Dg=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 o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n};globalThis&&globalThis.__read;function Tg(t,e,n){if(typeof t=="object")return t;var r=function(){};return{next:t,error:e||r,complete:n||r}}function Bg(t,e,n){e===void 0&&(e={});var r=Tl(function(){return typeof t=="function"?t():t}),o=e.context,i=e.guards,s=e.actions,a=e.activities,l=e.services,u=e.delays,f=e.state,d=Dg(e,["context","guards","actions","activities","services","delays","state"]),h=Tl(function(){var g={context:o,guards:i,actions:s,activities:a,services:l,delays:u},m=r.withConfig(g,function(){return xr(xr({},r.context),o)});return Dl(m,xr({deferEvents:!0},d))});return Sr(function(){var g;return n&&(g=h.subscribe(Tg(n))),function(){g==null||g.unsubscribe()}},[n]),Sr(function(){return h.start(f?Et.create(f):void 0),function(){h.stop()}},[]),Sr(function(){Object.assign(h.machine.options.actions,s),Object.assign(h.machine.options.guards,i),Object.assign(h.machine.options.activities,a),Object.assign(h.machine.options.services,l),Object.assign(h.machine.options.delays,u)},[s,i,a,l,u]),Ig(h),h}var Ng=globalThis&&globalThis.__read||function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),o,i=[],s;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i};globalThis&&globalThis.__spreadArray;function jg(t,e){e===void 0&&(e={});var n=c.useCallback(function(a){var l=a.changed===void 0&&Object.keys(a.children).length;(a.changed||l)&&s(a)},[]),r=Bg(t,e,n),o=Ng(c.useState(function(){var a=r.machine.initialState;return e.state?Et.create(e.state):a}),2),i=o[0],s=o[1];return[i,r.send,r]}function We(){return We=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},We.apply(this,arguments)}function Jn(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}const pe={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(pe.str(t)||pe.num(t))return t===e;if(pe.obj(t)&&pe.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 pe.und(n)?t===e:!0}};function Ug(t,e){return e===void 0&&(e=!0),n=>(pe.arr(n)?n:Object.keys(n)).reduce((r,o)=>{const i=e?o[0].toLowerCase()+o.substring(1):o;return r[i]=t(i),r},t)}function Hg(){const t=c.useState(!1),e=t[1];return c.useCallback(()=>e(r=>!r),[])}function mn(t,e){return pe.und(t)||pe.nul(t)?e:t}function jo(t){return pe.und(t)?[]:pe.arr(t)?t:[t]}function Zn(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 pe.fun(t)?t(...n):t}function zg(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,Jn(t,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}function bs(t){const e=zg(t);if(pe.und(e))return We({to:e},t);const n=Object.keys(t).reduce((r,o)=>pe.und(e[o])?We({},r,{[o]:t[o]}):r,{});return We({to:e},n)}function Fg(t,e){return e&&(pe.fun(e)?e(t):pe.obj(e)&&(e.current=t)),t}class Mt{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 ws extends Mt{constructor(){super(...arguments),this.payload=[],this.attach=()=>this.payload.forEach(e=>e instanceof Mt&&e.addChild(this)),this.detach=()=>this.payload.forEach(e=>e instanceof Mt&&e.removeChild(this))}}class jl extends Mt{constructor(){super(...arguments),this.payload={},this.attach=()=>Object.values(this.payload).forEach(e=>e instanceof Mt&&e.addChild(this)),this.detach=()=>Object.values(this.payload).forEach(e=>e instanceof Mt&&e.removeChild(this))}getValue(e){e===void 0&&(e=!1);const n={};for(const r in this.payload){const o=this.payload[r];e&&!(o instanceof Mt)||(n[r]=o instanceof Mt?o[e?"getAnimatedValue":"getValue"]():o)}return n}getAnimatedValue(){return this.getValue(!0)}}let Es;function Vg(t,e){Es={fn:t,transform:e}}let Ul;function Gg(t){Ul=t}let Hl=t=>typeof window<"u"?window.requestAnimationFrame(t):-1,Uo;function Qg(t){Uo=t}let zl=()=>Date.now(),Yg=t=>t.current,Fl;function Wg(t){Fl=t}class Rg extends jl{constructor(e,n){super(),this.update=void 0,this.payload=e.style?We({},e,{style:Fl(e.style)}):e,this.update=n,this.attach()}}const Kg=t=>pe.fun(t)&&!(t.prototype instanceof c.Component),qg=t=>c.forwardRef((n,r)=>{const o=Hg(),i=c.useRef(!0),s=c.useRef(null),a=c.useRef(null),l=c.useCallback(h=>{const g=s.current,m=()=>{let p=!1;a.current&&(p=Es.fn(a.current,s.current.getAnimatedValue())),(!a.current||p===!1)&&o()};s.current=new Rg(h,m),g&&g.detach()},[]);c.useEffect(()=>()=>{i.current=!1,s.current&&s.current.detach()},[]),c.useImperativeHandle(r,()=>Yg(a)),l(n);const u=s.current.getValue();u.scrollTop,u.scrollLeft;const f=Jn(u,["scrollTop","scrollLeft"]),d=Kg(t)?void 0:h=>a.current=Fg(h,r);return c.createElement(t,We({},f,{ref:d}))});let Ar=!1;const yn=new Set,Vl=()=>{if(!Ar)return!1;let t=zl();for(let e of yn){let n=!1;for(let r=0;r<e.configs.length;r++){let o=e.configs[r],i,s;for(let a=0;a<o.animatedValues.length;a++){let l=o.animatedValues[a];if(l.done)continue;let u=o.fromValues[a],f=o.toValues[a],d=l.lastPosition,h=f instanceof Mt,g=Array.isArray(o.initialVelocity)?o.initialVelocity[a]:o.initialVelocity;if(h&&(f=f.getValue()),o.immediate){l.setValue(f),l.done=!0;continue}if(typeof u=="string"||typeof f=="string"){l.setValue(f),l.done=!0;continue}if(o.duration!==void 0)d=u+o.easing((t-l.startTime)/o.duration)*(f-u),i=t>=l.startTime+o.duration;else if(o.decay)d=u+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-l.startTime))),i=Math.abs(l.lastPosition-d)<.1,i&&(f=d);else{s=l.lastTime!==void 0?l.lastTime:t,g=l.lastVelocity!==void 0?l.lastVelocity:o.initialVelocity,t>s+64&&(s=t);let m=Math.floor(t-s);for(let b=0;b<m;++b){let y=-o.tension*(d-f),A=-o.friction*g,S=(y+A)/o.mass;g=g+S*1/1e3,d=d+g*1/1e3}let p=o.clamp&&o.tension!==0?u<f?d>f:d<f:!1,E=Math.abs(g)<=o.precision,w=o.tension!==0?Math.abs(f-d)<=o.precision:!0;i=p||E&&w,l.lastVelocity=g,l.lastTime=t}h&&!o.toValues[a].done&&(i=!1),i?(l.value!==f&&(d=f),l.done=!0):n=!0,l.setValue(d),l.lastPosition=d}e.props.onFrame&&(e.values[o.name]=o.interpolation.getValue())}e.props.onFrame&&e.props.onFrame(e.values),n||(yn.delete(e),e.stop(!0))}return yn.size?Hl(Vl):Ar=!1,Ar},Jg=t=>{yn.has(t)||yn.add(t),Ar||(Ar=!0,Hl(Vl))},Zg=t=>{yn.has(t)&&yn.delete(t)};function Ho(t,e,n){if(typeof t=="function")return t;if(Array.isArray(t))return Ho({range:t,output:e,extrapolate:n});if(Uo&&typeof t.output[0]=="string")return Uo(t);const r=t,o=r.output,i=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(u=>u);return u=>{const f=Xg(u,i);return _g(u,i[f],i[f+1],o[f],o[f+1],l,s,a,r.map)}}function _g(t,e,n,r,o,i,s,a,l){let u=l?l(t):t;if(u<e){if(s==="identity")return u;s==="clamp"&&(u=e)}if(u>n){if(a==="identity")return u;a==="clamp"&&(u=n)}return r===o?r:e===n?t<=e?r:o:(e===-1/0?u=-u:n===1/0?u=u-e:u=(u-e)/(n-e),u=i(u),r===-1/0?u=-u:o===1/0?u=u+r:u=u*(o-r)+r,u)}function Xg(t,e){for(var n=1;n<e.length-1&&!(e[n]>=t);++n);return n-1}class _n extends ws{constructor(e,n,r,o){super(),this.calc=void 0,this.payload=e instanceof ws&&!(e instanceof _n)?e.getPayload():Array.isArray(e)?e:[e],this.calc=Ho(n,r,o)}getValue(){return this.calc(...this.payload.map(e=>e.getValue()))}updateConfig(e,n,r){this.calc=Ho(e,n,r)}interpolate(e,n,r){return new _n(this,e,n,r)}}const Xn=(t,e,n)=>t&&new _n(t,e,n),$g={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 Gl(t,e){"update"in t?e.add(t):t.getChildren().forEach(n=>Gl(n,e))}class Cs extends Mt{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,o){o===void 0&&(o=!0),n.value=r,o&&n.flush()},this.value=e,this.startPosition=e,this.lastPosition=e}flush(){this.animatedStyles.size===0&&Gl(this,this.animatedStyles),this.animatedStyles.forEach(e=>e.update())}clearStyles(){this.animatedStyles.clear()}getValue(){return this.value}interpolate(e,n,r){return new _n(this,e,n,r)}}class ev extends ws{constructor(e){super(),this.payload=e.map(n=>new Cs(n))}setValue(e,n){n===void 0&&(n=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((r,o)=>this.payload[o].setValue(r,n)):this.payload.forEach(r=>r.setValue(e,n))}getValue(){return this.payload.map(e=>e.getValue())}interpolate(e,n){return new _n(this,e,n)}}let tv=0,nv=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=tv++}update(e){if(!e)return this;const n=bs(e),r=n.delay,o=r===void 0?0:r,i=n.to,s=Jn(n,["delay","to"]);if(pe.arr(i)||pe.fun(i))this.queue.push(We({},s,{delay:o,to:i}));else if(i){let a={};Object.entries(i).forEach(l=>{let u=l[0],f=l[1];const d=We({to:{[u]:f},delay:Zn(o,u)},s),h=a[d.delay]&&a[d.delay].to;a[d.delay]=We({},a[d.delay],d,{to:We({},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(o=>{let i=o.from,s=i===void 0?{}:i,a=o.to,l=a===void 0?{}:a;pe.obj(s)&&(this.merged=We({},s,this.merged)),pe.obj(l)&&(this.merged=We({},this.merged,l))});const n=this.local=++this.guid,r=this.localQueue=this.queue;this.queue=[],r.forEach((o,i)=>{let s=o.delay,a=Jn(o,["delay"]);const l=f=>{i===r.length-1&&n===this.guid&&f&&(this.idle=!0,this.props.onRest&&this.props.onRest(this.merged)),e&&e()};let u=pe.arr(a.to)||pe.fun(a.to);s?setTimeout(()=>{n===this.guid&&(u?this.runAsync(a,l):this.diff(a).start(l))},s):u?this.runAsync(a,l):this.diff(a).start(l)})}else pe.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),Jg(this);return this}stop(e){return this.listeners.forEach(n=>n(e)),this.listeners=[],this}pause(e){return this.stop(!0),e&&Zg(this),this}runAsync(e,n){var r=this;e.delay;let o=Jn(e,["delay"]);const i=this.local;let s=Promise.resolve(void 0);if(pe.arr(o.to))for(let a=0;a<o.to.length;a++){const l=a,u=We({},o,bs(o.to[l]));pe.arr(u.config)&&(u.config=u.config[l]),s=s.then(()=>{if(i===this.guid)return new Promise(f=>this.diff(u).start(f))})}else if(pe.fun(o.to)){let a=0,l;s=s.then(()=>o.to(u=>{const f=We({},o,bs(u));if(pe.arr(f.config)&&(f.config=f.config[a]),a++,i===this.guid)return l=new Promise(d=>this.diff(f).start(d))},function(u){return u===void 0&&(u=!0),r.stop(u)}).then(()=>l))}s.then(n)}diff(e){this.props=We({},this.props,e);let n=this.props,r=n.from,o=r===void 0?{}:r,i=n.to,s=i===void 0?{}:i,a=n.config,l=a===void 0?{}:a,u=n.reverse,f=n.attach,d=n.reset,h=n.immediate;if(u){var g=[s,o];o=g[0],s=g[1]}this.merged=We({},o,this.merged,s),this.hasChanged=!1;let m=f&&f(this);if(this.animations=Object.entries(this.merged).reduce((p,E)=>{let w=E[0],b=E[1],y=p[w]||{};const A=pe.num(b),S=pe.str(b)&&!b.startsWith("#")&&!/\d/.test(b)&&!Ul[b],v=pe.arr(b),C=!A&&!v&&!S;let x=pe.und(o[w])?b:o[w],D=A||v||S?b:1,M=Zn(l,w);m&&(D=m.animations[w].parent);let O=y.parent,k=y.interpolation,N=jo(m?D.getPayload():D),H,G=b;C&&(G=Uo({range:[0,1],output:[b,b]})(1));let q=k&&k.getValue();const K=!pe.und(O)&&y.animatedValues.some(F=>!F.done),B=!pe.equ(G,q),I=!pe.equ(G,y.previous),T=!pe.equ(M,y.config);if(d||I&&B||T){if(A||S)O=k=y.parent||new Cs(x);else if(v)O=k=y.parent||new ev(x);else if(C){let F=y.interpolation&&y.interpolation.calc(y.parent.value);F=F!==void 0&&!d?F:x,y.parent?(O=y.parent,O.setValue(0,!1)):O=new Cs(0);const U={output:[F,b]};y.interpolation?(k=y.interpolation,y.interpolation.updateConfig(U)):k=O.interpolate(U)}return N=jo(m?D.getPayload():D),H=jo(O.getPayload()),d&&!C&&O.setValue(x,!1),this.hasChanged=!0,H.forEach(F=>{F.startPosition=F.value,F.lastPosition=F.value,F.lastVelocity=K?F.lastVelocity:void 0,F.lastTime=K?F.lastTime:void 0,F.startTime=zl(),F.done=!1,F.animatedStyles.clear()}),Zn(h,w)&&O.setValue(C?D:b,!1),We({},p,{[w]:We({},y,{name:w,parent:O,interpolation:k,animatedValues:H,toValues:N,previous:G,config:M,fromValues:jo(O.getValue()),immediate:Zn(h,w),initialVelocity:mn(M.velocity,0),clamp:mn(M.clamp,!1),precision:mn(M.precision,.01),tension:mn(M.tension,170),friction:mn(M.friction,26),mass:mn(M.mass,1),duration:M.duration,easing:mn(M.easing,F=>F),decay:M.decay})})}else return B?p:(C&&(O.setValue(1,!1),k.updateConfig({output:[G,G]})),O.done=!0,this.hasChanged=!0,We({},p,{[w]:We({},p[w],{previous:G})}))},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 rv=(t,e)=>{const n=c.useRef(!1),r=c.useRef(),o=pe.fun(e),i=c.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 nv,m=o?Zn(e,h,g):e[h];return h===0&&(f=m.ref),g.update(m),f||g.start(),g}),f]},[t]),s=i[0],a=i[1];r.current=s,c.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=c.useMemo(()=>f=>r.current.map((d,h)=>{d.update(o?Zn(f,h,d):f[h]),a||d.start()}),[t]);c.useEffect(()=>{n.current?o||l(e):a||r.current.forEach(f=>f.start())}),c.useEffect(()=>(n.current=!0,()=>r.current.forEach(f=>f.destroy())),[]);const u=r.current.map(f=>f.getValues());return o?[u,l,f=>r.current.forEach(d=>d.pause(f))]:u},ov=t=>{const e=pe.fun(t),n=rv(1,e?t:[t]),r=n[0],o=n[1],i=n[2];return e?[r[0],o,i]:r};class iv extends jl{constructor(e){e===void 0&&(e={}),super(),e.transform&&!(e.transform instanceof Mt)&&(e=Es.transform(e)),this.payload=e}}const zo={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},Pt="[-+]?\\d*\\.?\\d+",Fo=Pt+"%";function Vo(){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 sv=new RegExp("rgb"+Vo(Pt,Pt,Pt)),av=new RegExp("rgba"+Vo(Pt,Pt,Pt,Pt)),lv=new RegExp("hsl"+Vo(Pt,Fo,Fo)),uv=new RegExp("hsla"+Vo(Pt,Fo,Fo,Pt)),cv=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,fv=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,dv=/^#([0-9a-fA-F]{6})$/,hv=/^#([0-9a-fA-F]{8})$/;function pv(t){let e;return typeof t=="number"?t>>>0===t&&t>=0&&t<=4294967295?t:null:(e=dv.exec(t))?parseInt(e[1]+"ff",16)>>>0:zo.hasOwnProperty(t)?zo[t]:(e=sv.exec(t))?($n(e[1])<<24|$n(e[2])<<16|$n(e[3])<<8|255)>>>0:(e=av.exec(t))?($n(e[1])<<24|$n(e[2])<<16|$n(e[3])<<8|Wl(e[4]))>>>0:(e=cv.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=hv.exec(t))?parseInt(e[1],16)>>>0:(e=fv.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=lv.exec(t))?(Ql(Yl(e[1]),Go(e[2]),Go(e[3]))|255)>>>0:(e=uv.exec(t))?(Ql(Yl(e[1]),Go(e[2]),Go(e[3]))|Wl(e[4]))>>>0:null}function Ss(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 Ql(t,e,n){const r=n<.5?n*(1+e):n+e-n*e,o=2*n-r,i=Ss(o,r,t+1/3),s=Ss(o,r,t),a=Ss(o,r,t-1/3);return Math.round(i*255)<<24|Math.round(s*255)<<16|Math.round(a*255)<<8}function $n(t){const e=parseInt(t,10);return e<0?0:e>255?255:e}function Yl(t){return(parseFloat(t)%360+360)%360/360}function Wl(t){const e=parseFloat(t);return e<0?0:e>1?255:Math.round(e*255)}function Go(t){const e=parseFloat(t);return e<0?0:e>100?1:e/100}function Rl(t){let e=pv(t);if(e===null)return t;e=e||0;let n=(e&4278190080)>>>24,r=(e&16711680)>>>16,o=(e&65280)>>>8,i=(e&255)/255;return`rgba(${n}, ${r}, ${o}, ${i})`}const Qo=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,gv=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,vv=new RegExp(`(${Object.keys(zo).join("|")})`,"g"),mv=t=>{const e=t.output.map(o=>o.replace(gv,Rl)).map(o=>o.replace(vv,Rl)),n=e[0].match(Qo).map(()=>[]);e.forEach(o=>{o.match(Qo).forEach((i,s)=>n[s].push(+i))});const r=e[0].match(Qo).map((o,i)=>Ho(We({},t,{output:n[i]})));return o=>{let i=0;return e[0].replace(Qo,()=>r[i++](o)).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(s,a,l,u,f)=>`rgba(${Math.round(a)}, ${Math.round(l)}, ${Math.round(u)}, ${f})`)}};let Or={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 yv=(t,e)=>t+e.charAt(0).toUpperCase()+e.substring(1),bv=["Webkit","Ms","Moz","O"];Or=Object.keys(Or).reduce((t,e)=>(bv.forEach(n=>t[yv(n,e)]=t[e]),t),Or);function wv(t,e,n){return e==null||typeof e=="boolean"||e===""?"":!n&&typeof e=="number"&&e!==0&&!(Or.hasOwnProperty(t)&&Or[t])?e+"px":(""+e).trim()}const Kl={};Wg(t=>new iv(t)),Qg(mv),Gg(zo),Vg((t,e)=>{if(t.nodeType&&t.setAttribute!==void 0){const o=e.style,i=e.children,s=e.scrollTop,a=e.scrollLeft,l=Jn(e,["style","children","scrollTop","scrollLeft"]),u=t.nodeName==="filter"||t.parentNode&&t.parentNode.nodeName==="filter";s!==void 0&&(t.scrollTop=s),a!==void 0&&(t.scrollLeft=a),i!==void 0&&(t.textContent=i);for(let f in o)if(o.hasOwnProperty(f)){var n=f.indexOf("--")===0,r=wv(f,o[f],n);f==="float"&&(f="cssFloat"),n?t.style.setProperty(f,r):t.style[f]=r}for(let f in l){const d=u?f:Kl[f]||(Kl[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 Ev=["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"],Cv=Ug(qg,!1)(Ev);function ql(t,e){return t.map(function(n,r){return n+e[r]})}function Jl(t,e){return t.map(function(n,r){return n-e[r]})}function Ls(t){return Math.hypot.apply(Math,t)}function Sv(t,e,n){var r=Ls(e),o=r===0?0:1/r,i=n===0?0:1/n,s=i*r,a=e.map(function(f){return i*f}),l=e.map(function(f){return o*f}),u=Ls(t);return{velocities:a,velocity:s,distance:u,direction:l}}function xs(t){return Math.sign?Math.sign(t):+(t>0)-+(t<0)||+t}function Lv(t,e,n){return Math.max(e,Math.min(t,n))}function xv(t,e){return Math.pow(t,e*5)}function Zl(t,e,n){return e===0||Math.abs(e)===1/0?xv(t,n):t*e*n/(e+n*t)}function Mr(t,e,n,r){return r===void 0&&(r=.15),r===0?Lv(t,e,n):t<e?-Zl(e-t,n-e,r)+e:t>n?+Zl(t-n,n-e,r)+n:t}function _l(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 Av(t,e,n){return e&&_l(t.prototype,e),n&&_l(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 Xl(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Ov(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function Yo(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mv(t,e){if(t){if(typeof t=="string")return $l(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 $l(t,e)}}function $l(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 Wo(t,e){var n;if(typeof Symbol>"u"||t[Symbol.iterator]==null){if(Array.isArray(t)||(n=Mv(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.
40
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return n=t[Symbol.iterator](),n.next.bind(n)}function eu(){}function tu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.length===0?eu:e.length===1?e[0]:function(){for(var r,o=Wo(e),i;!(i=o()).done;){var s=i.value;r=s.apply(this,arguments)||r}return r}}function nn(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 Ro(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 As(t,e){t===void 0&&(t={});for(var n={},r=0,o=Object.entries(e);r<o.length;r++){var i=o[r],s=i[0],a=i[1];switch(typeof a){case"function":n[s]=a.call(n,t[s],s,t);break;case"object":n[s]=As(t[s],a);break;case"boolean":a&&(n[s]=t[s]);break}}return n}var Pv=180,kv=.15,Iv=.5,Dv=60,Tv={threshold:function(e){return e===void 0&&(e=0),nn(e)},rubberband:function(e){switch(e===void 0&&(e=0),e){case!0:return nn(kv);case!1:return nn(0);default:return nn(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:nn(e)}},nu=ut({},Tv,{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 nu.bounds(e(d))};var n=e,r=n.left,o=r===void 0?-1/0:r,i=n.right,s=i===void 0?1/0:i,a=n.top,l=a===void 0?-1/0:a,u=n.bottom,f=u===void 0?1/0:u;return[[o,s],[l,f]]}}),Bv=typeof window<"u"&&window.document&&window.document.createElement,Nv={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=Bv?window:void 0),t}),eventOptions:function(e){var n=e===void 0?{}:e,r=n.passive,o=r===void 0?!0:r,i=n.capture,s=i===void 0?!1:i;return{passive:o,capture:s}}},jv=ut({},nu,{threshold:function(e,n,r){var o=r.filterTaps,i=o===void 0?!1:o,s=r.lockDirection,a=s===void 0?!1:s,l=r.axis,u=l===void 0?void 0:l,f=nn(e,i?3:a||u?1:0);return this.filterTaps=i||f[0]+f[1]>0,f},swipeVelocity:function(e){return e===void 0&&(e=Iv),nn(e)},swipeDistance:function(e){return e===void 0&&(e=Dv),nn(e)},delay:function(e){switch(e===void 0&&(e=0),e){case!0:return Pv;case!1:return 0;default:return e}}});function Uv(t){return t===void 0&&(t={}),As(t,Nv)}function Hv(t){return t===void 0&&(t={}),As(t,jv)}function zv(t){var e=t.domTarget,n=t.eventOptions,r=t.window,o=t.enabled,i=Ov(t,["domTarget","eventOptions","window","enabled"]),s=Uv({domTarget:e,eventOptions:n,window:r,enabled:o});return s.drag=Hv(i),s}function Pr(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:eu,canceled:!1,memo:void 0,args:void 0},t)}function ru(){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=Pr({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=Pr({da:[0,0],vdva:[0,0],origin:void 0,turns:0}),r=Pr({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),o=Pr({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),i=Pr({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0});return{shared:t,drag:e,pinch:n,wheel:r,move:o,scroll:i}}var bn=new Map,Fv=function(){function t(n,r){var o=this;r===void 0&&(r=[]),this.controller=n,this.args=r,this.debounced=!0,this.setTimeout=function(i,s){var a;s===void 0&&(s=140),clearTimeout(o.controller.timeouts[o.stateKey]);for(var l=arguments.length,u=new Array(l>2?l-2:0),f=2;f<l;f++)u[f-2]=arguments[f];o.controller.timeouts[o.stateKey]=(a=window).setTimeout.apply(a,[i,s].concat(u))},this.clearTimeout=function(){clearTimeout(o.controller.timeouts[o.stateKey])},this.fireGestureHandler=function(i){if(i===void 0&&(i=!1),o.state._blocked)return o.debounced||(o.state._active=!1,o.clean()),null;if(!i&&!o.state.intentional&&!o.config.triggerAllEvents)return null;if(o.state.intentional){var s=o.state.active,a=o.state._active;o.state.active=a,o.state.first=a&&!s,o.state.last=s&&!a,o.controller.state.shared[o.ingKey]=a}var l=ut({},o.controller.state.shared,o.state,o.mapStateValues(o.state)),u=o.handler(l);return o.state.memo=u!==void 0?u:o.state.memo,o.state._active||o.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,o){return{_intentional:r,_blocked:!1}},e.getMovement=function(r){var o=this.config,i=o.initial,s=o.bounds,a=o.rubberband,l=o.threshold,u=this.state,f=u._bounds,d=u._initial,h=u._active,g=u._intentional,m=u.lastOffset,p=u.movement,E=this.getInternalMovement(r,this.state),w=g[0]===!1?ou(E[0],l[0]):g[0],b=g[1]===!1?ou(E[1],l[1]):g[1],y=this.checkIntentionality([w,b],E);if(y._blocked)return ut({},y,{_movement:E,delta:[0,0]});var A=y._intentional,S=E,v,C;if(A[0]!==!1&&g[0]===!1&&(C=Ro(i,this.state),v=Ro(s,this.state),d[0]=C[0],f[0]=v[0]),A[1]!==!1&&g[1]===!1){var x,D;C=(x=C)!=null?x:Ro(i,this.state),v=(D=v)!=null?D:Ro(s,this.state),d[1]=C[1],f[1]=v[1]}var M=[A[0]!==!1?E[0]-A[0]:d[0],A[1]!==!1?E[1]-A[1]:d[1]],O=ql(M,m),k=h?a:[0,0];return M=iu(f,ql(M,d),k),ut({},y,{intentional:A[0]!==!1||A[1]!==!1,_initial:d,_movement:S,movement:M,values:r,offset:iu(f,O,k),delta:Jl(M,p)})},e.clean=function(){this.clearTimeout()},Av(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 ou(t,e){return Math.abs(t)>=e?xs(t)*e:!1}function iu(t,e,n){var r=e[0],o=e[1],i=n[0],s=n[1],a=t[0],l=a[0],u=a[1],f=t[1],d=f[0],h=f[1];return[Mr(r,l,u,i),Mr(o,d,h,s)]}function Os(t,e,n){var r=t.state,o=t.args,i=e.timeStamp,s=e.type,a=r.values,l=n?0:i-r.startTime;return{_lastEventType:s,event:e,timeStamp:i,elapsedTime:l,args:o,previous:a}}function Vv(t,e,n){var r=t.state.offset,o=n.timeStamp;return ut({},ru()[t.stateKey],{_active:!0,values:e,initial:e,offset:r,lastOffset:r,startTime:o})}function Gv(t,e){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.call.apply(t,[this,ut({},e,{event:n})].concat(o))}}var Qv=function(e){var n=this;this.classes=e,this.bind=function(){for(var r={},o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];for(var a=Wo(n.classes),l;!(l=a()).done;){var u=l.value;new u(n,i).addBindings(r)}for(var f=0,d=Object.entries(n.nativeRefs);f<d.length;f++){var h=d[f],g=h[0],m=h[1];Ms(r,g,Gv(m,ut({},n.state.shared,{args:i})))}return n.config.domTarget?Kv(n,r):qv(n,r)},this.effect=function(){return n.config.domTarget&&n.bind(),n.clean},this.clean=function(){var r=au(n.config),o=n.config.eventOptions;r&&kr(r,su(n.domListeners),o),Object.values(n.timeouts).forEach(clearTimeout),Yv(n)},this.state=ru(),this.timeouts={},this.domListeners=[],this.windowListeners={}};function Yv(t){var e=t.config,n=e.window,r=e.eventOptions,o=t.windowListeners;if(n){for(var i in o){var s=o[i];kr(n,s,r)}t.windowListeners={}}}function Wv(t,e){var n=t.config,r=t.windowListeners;n.window&&(kr(n.window,r[e],n.eventOptions),delete r[e])}function Rv(t,e,n){var r=t.config,o=t.windowListeners;n===void 0&&(n=[]),r.window&&(kr(r.window,o[e],r.eventOptions),lu(r.window,o[e]=n,r.eventOptions))}function Kv(t,e){var n=t.config,r=t.domListeners,o=au(n);if(!o)throw new Error("domTarget must be defined");var i=n.eventOptions;kr(o,su(r),i);for(var s=0,a=Object.entries(e);s<a.length;s++){var l=a[s],u=l[0],f=l[1],d=u.slice(2).toLowerCase();r.push([d,tu.apply(void 0,f)])}lu(o,r,i)}function qv(t,e){for(var n=t.config,r={},o=n.eventOptions.capture?"Capture":"",i=0,s=Object.entries(e);i<s.length;i++){var a=s[i],l=a[0],u=a[1],f=Array.isArray(u)?u:[u],d=l+o;r[d]=tu.apply(void 0,f)}return r}function su(t){return t===void 0&&(t=[]),t.splice(0,t.length)}function au(t){var e=t.domTarget;return e&&"current"in e?e.current:e}function Ms(t,e,n){t[e]||(t[e]=[]),t[e].push(n)}function lu(t,e,n){e===void 0&&(e=[]),n===void 0&&(n={});for(var r=Wo(e),o;!(o=r()).done;){var i=o.value,s=i[0],a=i[1];t.addEventListener(s,a,n)}}function kr(t,e,n){e===void 0&&(e=[]),n===void 0&&(n={});for(var r=Wo(e),o;!(o=r()).done;){var i=o.value,s=i[0],a=i[1];t.removeEventListener(s,a,n)}}function Jv(t,e,n){n===void 0&&(n={});var r=_v(t),o=c.useMemo(function(){return new Qv(r)},[]);return o.config=e,o.handlers=t,o.nativeRefs=n,c.useEffect(o.effect,[]),o.config.domTarget?Zv:o.bind}function Zv(){}function _v(t){var e=new Set;return t.drag&&e.add(bn.get("drag")),t.wheel&&e.add(bn.get("wheel")),t.scroll&&e.add(bn.get("scroll")),t.move&&e.add(bn.get("move")),t.pinch&&e.add(bn.get("pinch")),t.hover&&e.add(bn.get("hover")),e}var Xv=function(t){Xl(e,t);function e(){return t.apply(this,arguments)||this}var n=e.prototype;return n.getInternalMovement=function(o,i){return Jl(o,i.initial)},n.checkIntentionality=function(o,i){if(o[0]===!1&&o[1]===!1)return{_intentional:o,axis:this.state.axis};var s=i.map(Math.abs),a=s[0],l=s[1],u=this.state.axis||(a>l?"x":a<l?"y":void 0);return!this.config.axis&&!this.config.lockDirection?{_intentional:o,_blocked:!1,axis:u}:u?this.config.axis&&u!==this.config.axis?{_intentional:o,_blocked:!0,axis:u}:(o[u==="x"?1:0]=!1,{_intentional:o,_blocked:!1,axis:u}):{_intentional:[!1,!1],_blocked:!1,axis:u}},n.getKinematics=function(o,i){var s=this.getMovement(o);if(!s._blocked){var a=i.timeStamp-this.state.timeStamp;Object.assign(s,Sv(s.movement,s.delta,a))}return s},n.mapStateValues=function(o){return{xy:o.values,vxvy:o.velocities}},e}(Fv);function uu(t){if("touches"in t){var e=t.targetTouches,n=t.changedTouches;return e.length>0?e:n}return null}function cu(t){var e="buttons"in t?t.buttons:0,n=uu(t),r=n&&n.length||0,o=r>0||e>0,i=t.shiftKey,s=t.altKey,a=t.metaKey,l=t.ctrlKey;return{touches:r,down:o,buttons:e,shiftKey:i,altKey:s,metaKey:a,ctrlKey:l}}function fu(t){var e=uu(t),n=e?e[0]:t,r=n.clientX,o=n.clientY;return[r,o]}var $v=3,em=220,tm=function(t){Xl(e,t);function e(){var r;return r=t.apply(this,arguments)||this,r.ingKey="dragging",r.stateKey="drag",r.onDragStart=function(o){!r.enabled||r.state._active||(Rv(r.controller,r.stateKey,[["pointermove",r.onDragChange],["pointerup",r.onDragEnd],["pointercancel",r.onDragEnd]]),r.updateGestureState({_pointerId:o.pointerId}),r.config.delay>0?(r.state._delayedEvent=!0,"persist"in o&&typeof o.persist=="function"&&o.persist(),r.setTimeout(r.startDrag.bind(Yo(r)),r.config.delay,o)):r.startDrag(o))},r.onDragChange=function(o){if(!r.state.canceled&&o.pointerId===r.state._pointerId){if(!r.state._active){r.state._delayedEvent&&(r.clearTimeout(),r.startDrag(o));return}var i=cu(o);if(!i.down){r.onDragEnd(o);return}r.updateSharedState(i);var s=fu(o),a=r.getKinematics(s,o),l=Os(Yo(r),o),u=r.state._isTap,f=Ls(a._movement);u&&f>=$v&&(u=!1),r.updateGestureState(ut({},l,a,{_isTap:u})),r.fireGestureHandler()}},r.onDragEnd=function(o){if(o.pointerId===r.state._pointerId){r.state._active=!1,r.updateSharedState({down:!1,buttons:0,touches:0});var i=r.state._isTap,s=r.state.velocities,a=s[0],l=s[1],u=r.state.movement,f=u[0],d=u[1],h=r.state._intentional,g=h[0],m=h[1],p=r.config.swipeVelocity,E=p[0],w=p[1],b=r.config.swipeDistance,y=b[0],A=b[1],S=ut({},Os(Yo(r),o),r.getMovement(r.state.values)),v=[0,0];S.elapsedTime<em&&(g!==!1&&Math.abs(a)>E&&Math.abs(f)>y&&(v[0]=xs(a)),m!==!1&&Math.abs(l)>w&&Math.abs(d)>A&&(v[1]=xs(l))),r.updateGestureState(ut({},S,{tap:i,swipe:v})),r.fireGestureHandler(i===!0)}},r.clean=function(){t.prototype.clean.call(Yo(r)),r.state._delayedEvent=!1,Wv(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(o){r.state._isTap||o.stopPropagation()},r}var n=e.prototype;return n.startDrag=function(o){var i=fu(o);this.updateSharedState(cu(o)),this.updateGestureState(ut({},Vv(this,i,o),Os(this,o,!0),{_pointerId:o.pointerId,cancel:this.onCancel})),this.updateGestureState(this.getMovement(i)),this.fireGestureHandler()},n.addBindings=function(o){if(Ms(o,"onPointerDown",this.onDragStart),this.config.filterTaps){var i=this.controller.config.eventOptions.capture?"onClick":"onClickCapture";Ms(o,i,this.onClick)}},e}(Xv);function nm(t,e){var n,r=[],o,i=!1;function s(){for(var a=arguments.length,l=new Array(a),u=0;u<a;u++)l[u]=arguments[u];return i&&n===this&&e(l,r)||(o=t.apply(this,l),i=!0,n=this,r=l),o}return s}function Ko(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,o;if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!Ko(t[r],e[r]))return!1;return!0}var i;if(typeof Map=="function"&&t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i=t.entries();!(r=i.next()).done;)if(!e.has(r.value[0]))return!1;for(i=t.entries();!(r=i.next()).done;)if(!Ko(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(i=t.entries();!(r=i.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(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(e,o[r]))return!1;if(typeof Element<"u"&&t instanceof Element)return!1;for(r=n;r--!==0;)if(!(o[r]==="_owner"&&t.$$typeof)&&!Ko(t[o[r]],e[o[r]]))return!1;return!0}return t!==t&&e!==e}function rm(t,e){try{return Ko(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 om(t,e){e===void 0&&(e={}),bn.set("drag",tm);var n=c.useRef();return n.current||(n.current=nm(zv,rm)),Jv({drag:t},n.current(e))}/*!
41
41
  * tabbable 5.3.3
42
42
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
43
- */var du=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],Ro=du.join(","),hu=typeof Element>"u",En=hu?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ps=!hu&&Element.prototype.getRootNode?function(t){return t.getRootNode()}:function(t){return t.ownerDocument},pu=function(e,n,r){var o=Array.prototype.slice.apply(e.querySelectorAll(Ro));return n&&En.call(e,Ro)&&o.unshift(e),o=o.filter(r),o},gu=function t(e,n,r){for(var o=[],i=Array.from(e);i.length;){var s=i.shift();if(s.tagName==="SLOT"){var a=s.assignedElements(),u=a.length?a:s.children,l=t(u,!0,r);r.flatten?o.push.apply(o,l):o.push({scope:s,candidates:l})}else{var f=En.call(s,Ro);f&&r.filter(s)&&(n||!e.includes(s))&&o.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?o.push.apply(o,g):o.push({scope:s,candidates:g})}else i.unshift.apply(i,s.children)}}return o},vu=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},om=function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex},mu=function(e){return e.tagName==="INPUT"},im=function(e){return mu(e)&&e.type==="hidden"},sm=function(e){var n=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return n},am=function(e,n){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===n)return e[r]},lm=function(e){if(!e.name)return!0;var n=e.form||Ps(e),r=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=r(window.CSS.escape(e.name));else try{o=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 i=am(o,e.form);return!i||i===e},um=function(e){return mu(e)&&e.type==="radio"},cm=function(e){return um(e)&&!lm(e)},yu=function(e){var n=e.getBoundingClientRect(),r=n.width,o=n.height;return r===0&&o===0},fm=function(e,n){var r=n.displayCheck,o=n.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var i=En.call(e,"details>summary:first-of-type"),s=i?e.parentElement:e;if(En.call(s,"details:not([open]) *"))return!0;var a=Ps(e).host,u=(a==null?void 0:a.ownerDocument.contains(a))||e.ownerDocument.contains(e);if(!r||r==="full"){if(typeof o=="function"){for(var l=e;e;){var f=e.parentElement,d=Ps(e);if(f&&!f.shadowRoot&&o(f)===!0)return yu(e);e.assignedSlot?e=e.assignedSlot:!f&&d!==e.ownerDocument?e=d.host:e=f}e=l}if(u)return!e.getClientRects().length}else if(r==="non-zero-area")return yu(e);return!1},dm=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 o=n.children.item(r);if(o.tagName==="LEGEND")return En.call(n,"fieldset[disabled] *")?!0:!o.contains(e)}return!0}n=n.parentElement}return!1},Ko=function(e,n){return!(n.disabled||im(n)||fm(n,e)||sm(n)||dm(n))},ks=function(e,n){return!(cm(n)||vu(n)<0||!Ko(e,n))},hm=function(e){var n=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},pm=function t(e){var n=[],r=[];return e.forEach(function(o,i){var s=!!o.scope,a=s?o.scope:o,u=vu(a,s),l=s?t(o.candidates):a;u===0?s?n.push.apply(n,l):n.push(a):r.push({documentOrder:i,tabIndex:u,item:o,isScope:s,content:l})}),r.sort(om).reduce(function(o,i){return i.isScope?o.push.apply(o,i.content):o.push(i.content),o},[]).concat(n)},gm=function(e,n){n=n||{};var r;return n.getShadowRoot?r=gu([e],n.includeContainer,{filter:ks.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:hm}):r=pu(e,n.includeContainer,ks.bind(null,n)),pm(r)},vm=function(e,n){n=n||{};var r;return n.getShadowRoot?r=gu([e],n.includeContainer,{filter:Ko.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=pu(e,n.includeContainer,Ko.bind(null,n)),r},qo=function(e,n){if(n=n||{},!e)throw new Error("No node provided");return En.call(e,Ro)===!1?!1:ks(n,e)},mm=du.concat("iframe").join(","),Is=function(e,n){if(n=n||{},!e)throw new Error("No node provided");return En.call(e,mm)===!1?!1:Ko(n,e)};/*!
43
+ */var du=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],qo=du.join(","),hu=typeof Element>"u",wn=hu?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ps=!hu&&Element.prototype.getRootNode?function(t){return t.getRootNode()}:function(t){return t.ownerDocument},pu=function(e,n,r){var o=Array.prototype.slice.apply(e.querySelectorAll(qo));return n&&wn.call(e,qo)&&o.unshift(e),o=o.filter(r),o},gu=function t(e,n,r){for(var o=[],i=Array.from(e);i.length;){var s=i.shift();if(s.tagName==="SLOT"){var a=s.assignedElements(),l=a.length?a:s.children,u=t(l,!0,r);r.flatten?o.push.apply(o,u):o.push({scope:s,candidates:u})}else{var f=wn.call(s,qo);f&&r.filter(s)&&(n||!e.includes(s))&&o.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?o.push.apply(o,g):o.push({scope:s,candidates:g})}else i.unshift.apply(i,s.children)}}return o},vu=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},im=function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex},mu=function(e){return e.tagName==="INPUT"},sm=function(e){return mu(e)&&e.type==="hidden"},am=function(e){var n=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return n},lm=function(e,n){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===n)return e[r]},um=function(e){if(!e.name)return!0;var n=e.form||Ps(e),r=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=r(window.CSS.escape(e.name));else try{o=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 i=lm(o,e.form);return!i||i===e},cm=function(e){return mu(e)&&e.type==="radio"},fm=function(e){return cm(e)&&!um(e)},yu=function(e){var n=e.getBoundingClientRect(),r=n.width,o=n.height;return r===0&&o===0},dm=function(e,n){var r=n.displayCheck,o=n.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var i=wn.call(e,"details>summary:first-of-type"),s=i?e.parentElement:e;if(wn.call(s,"details:not([open]) *"))return!0;var a=Ps(e).host,l=(a==null?void 0:a.ownerDocument.contains(a))||e.ownerDocument.contains(e);if(!r||r==="full"){if(typeof o=="function"){for(var u=e;e;){var f=e.parentElement,d=Ps(e);if(f&&!f.shadowRoot&&o(f)===!0)return yu(e);e.assignedSlot?e=e.assignedSlot:!f&&d!==e.ownerDocument?e=d.host:e=f}e=u}if(l)return!e.getClientRects().length}else if(r==="non-zero-area")return yu(e);return!1},hm=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 o=n.children.item(r);if(o.tagName==="LEGEND")return wn.call(n,"fieldset[disabled] *")?!0:!o.contains(e)}return!0}n=n.parentElement}return!1},Jo=function(e,n){return!(n.disabled||sm(n)||dm(n,e)||am(n)||hm(n))},ks=function(e,n){return!(fm(n)||vu(n)<0||!Jo(e,n))},pm=function(e){var n=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},gm=function t(e){var n=[],r=[];return e.forEach(function(o,i){var s=!!o.scope,a=s?o.scope:o,l=vu(a,s),u=s?t(o.candidates):a;l===0?s?n.push.apply(n,u):n.push(a):r.push({documentOrder:i,tabIndex:l,item:o,isScope:s,content:u})}),r.sort(im).reduce(function(o,i){return i.isScope?o.push.apply(o,i.content):o.push(i.content),o},[]).concat(n)},vm=function(e,n){n=n||{};var r;return n.getShadowRoot?r=gu([e],n.includeContainer,{filter:ks.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:pm}):r=pu(e,n.includeContainer,ks.bind(null,n)),gm(r)},mm=function(e,n){n=n||{};var r;return n.getShadowRoot?r=gu([e],n.includeContainer,{filter:Jo.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=pu(e,n.includeContainer,Jo.bind(null,n)),r},Zo=function(e,n){if(n=n||{},!e)throw new Error("No node provided");return wn.call(e,qo)===!1?!1:ks(n,e)},ym=du.concat("iframe").join(","),Is=function(e,n){if(n=n||{},!e)throw new Error("No node provided");return wn.call(e,ym)===!1?!1:Jo(n,e)};/*!
44
44
  * focus-trap 6.9.4
45
45
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
46
- */function bu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function wu(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?bu(Object(n),!0).forEach(function(r){ym(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):bu(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function ym(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Eu=function(){var t=[];return{activateTrap:function(n){if(t.length>0){var r=t[t.length-1];r!==n&&r.pause()}var o=t.indexOf(n);o===-1||t.splice(o,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()}}}(),bm=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},wm=function(e){return e.key==="Escape"||e.key==="Esc"||e.keyCode===27},Em=function(e){return e.key==="Tab"||e.keyCode===9},Cu=function(e){return setTimeout(e,0)},Su=function(e,n){var r=-1;return e.every(function(o,i){return n(o)?(r=i,!1):!0}),r},Dr=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return typeof e=="function"?e.apply(void 0,r):e},Jo=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Cm=function(e,n){var r=(n==null?void 0:n.document)||document,o=wu({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},s,a=function(v,C,A){return v&&v[C]!==void 0?v[C]:o[A||C]},u=function(v){return i.containerGroups.findIndex(function(C){var A=C.container,D=C.tabbableNodes;return A.contains(v)||D.find(function(M){return M===v})})},l=function(v){var C=o[v];if(typeof C=="function"){for(var A=arguments.length,D=new Array(A>1?A-1:0),M=1;M<A;M++)D[M-1]=arguments[M];C=C.apply(void 0,D)}if(C===!0&&(C=void 0),!C){if(C===void 0||C===!1)return C;throw new Error("`".concat(v,"` was specified but was not a node, or did not return a node"))}var O=C;if(typeof C=="string"&&(O=r.querySelector(C),!O))throw new Error("`".concat(v,"` as selector refers to no known node"));return O},f=function(){var v=l("initialFocus");if(v===!1)return!1;if(v===void 0)if(u(r.activeElement)>=0)v=r.activeElement;else{var C=i.tabbableGroups[0],A=C&&C.firstTabbableNode;v=A||l("fallbackFocus")}if(!v)throw new Error("Your focus-trap needs to have at least one focusable element");return v},d=function(){if(i.containerGroups=i.containers.map(function(v){var C=gm(v,o.tabbableOptions),A=vm(v,o.tabbableOptions);return{container:v,tabbableNodes:C,focusableNodes:A,firstTabbableNode:C.length>0?C[0]:null,lastTabbableNode:C.length>0?C[C.length-1]:null,nextTabbableNode:function(M){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,k=A.findIndex(function(N){return N===M});if(!(k<0))return O?A.slice(k+1).find(function(N){return qo(N,o.tabbableOptions)}):A.slice(0,k).reverse().find(function(N){return qo(N,o.tabbableOptions)})}}}),i.tabbableGroups=i.containerGroups.filter(function(v){return v.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!l("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 S(v){if(v!==!1&&v!==r.activeElement){if(!v||!v.focus){S(f());return}v.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=v,bm(v)&&v.select()}},g=function(v){var C=l("setReturnFocus",v);return C||(C===!1?!1:v)},m=function(v){var C=Jo(v);if(!(u(C)>=0)){if(Dr(o.clickOutsideDeactivates,v)){s.deactivate({returnFocus:o.returnFocusOnDeactivate&&!Is(C,o.tabbableOptions)});return}Dr(o.allowOutsideClick,v)||v.preventDefault()}},p=function(v){var C=Jo(v),A=u(C)>=0;A||C instanceof Document?A&&(i.mostRecentlyFocusedNode=C):(v.stopImmediatePropagation(),h(i.mostRecentlyFocusedNode||f()))},E=function(v){var C=Jo(v);d();var A=null;if(i.tabbableGroups.length>0){var D=u(C),M=D>=0?i.containerGroups[D]:void 0;if(D<0)v.shiftKey?A=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:A=i.tabbableGroups[0].firstTabbableNode;else if(v.shiftKey){var O=Su(i.tabbableGroups,function(V){var K=V.firstTabbableNode;return C===K});if(O<0&&(M.container===C||Is(C,o.tabbableOptions)&&!qo(C,o.tabbableOptions)&&!M.nextTabbableNode(C,!1))&&(O=D),O>=0){var k=O===0?i.tabbableGroups.length-1:O-1,N=i.tabbableGroups[k];A=N.lastTabbableNode}}else{var H=Su(i.tabbableGroups,function(V){var K=V.lastTabbableNode;return C===K});if(H<0&&(M.container===C||Is(C,o.tabbableOptions)&&!qo(C,o.tabbableOptions)&&!M.nextTabbableNode(C))&&(H=D),H>=0){var G=H===i.tabbableGroups.length-1?0:H+1,q=i.tabbableGroups[G];A=q.firstTabbableNode}}}else A=l("fallbackFocus");A&&(v.preventDefault(),h(A))},w=function(v){if(wm(v)&&Dr(o.escapeDeactivates,v)!==!1){v.preventDefault(),s.deactivate();return}if(Em(v)){E(v);return}},y=function(v){var C=Jo(v);u(C)>=0||Dr(o.clickOutsideDeactivates,v)||Dr(o.allowOutsideClick,v)||(v.preventDefault(),v.stopImmediatePropagation())},b=function(){if(i.active)return Eu.activateTrap(s),i.delayInitialFocusTimer=o.delayInitialFocus?Cu(function(){h(f())}):h(f()),r.addEventListener("focusin",p,!0),r.addEventListener("mousedown",m,{capture:!0,passive:!1}),r.addEventListener("touchstart",m,{capture:!0,passive:!1}),r.addEventListener("click",y,{capture:!0,passive:!1}),r.addEventListener("keydown",w,{capture:!0,passive:!1}),s},x=function(){if(i.active)return r.removeEventListener("focusin",p,!0),r.removeEventListener("mousedown",m,!0),r.removeEventListener("touchstart",m,!0),r.removeEventListener("click",y,!0),r.removeEventListener("keydown",w,!0),s};return s={get active(){return i.active},get paused(){return i.paused},activate:function(v){if(i.active)return this;var C=a(v,"onActivate"),A=a(v,"onPostActivate"),D=a(v,"checkCanFocusTrap");D||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,C&&C();var M=function(){D&&d(),b(),A&&A()};return D?(D(i.containers.concat()).then(M,M),this):(M(),this)},deactivate:function(v){if(!i.active)return this;var C=wu({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},v);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,x(),i.active=!1,i.paused=!1,Eu.deactivateTrap(s);var A=a(C,"onDeactivate"),D=a(C,"onPostDeactivate"),M=a(C,"checkCanReturnFocus"),O=a(C,"returnFocus","returnFocusOnDeactivate");A&&A();var k=function(){Cu(function(){O&&h(g(i.nodeFocusedBeforeActivation)),D&&D()})};return O&&M?(M(g(i.nodeFocusedBeforeActivation)).then(k,k),this):(k(),this)},pause:function(){return i.paused||!i.active?this:(i.paused=!0,x(),this)},unpause:function(){return!i.paused||!i.active?this:(i.paused=!1,d(),b(),this)},updateContainerElements:function(v){var C=[].concat(v).filter(Boolean);return i.containers=C.map(function(A){return typeof A=="string"?r.querySelector(A):A}),i.active&&d(),this}},s.updateContainerElements(e),s};function Sm(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 Ds=!1;if(typeof window<"u"){var Lu={get passive(){Ds=!0}};window.addEventListener("testPassive",null,Lu),window.removeEventListener("testPassive",null,Lu)}var Au=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),rn=[],Zo=!1,xu=-1,Tr=void 0,Br=void 0,Ou=function(e){return rn.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(e))})},_o=function(e){var n=e||window.event;return Ou(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},Lm=function(e){if(Br===void 0){var n=!!e&&e.reserveScrollBarGap===!0,r=window.innerWidth-document.documentElement.clientWidth;n&&r>0&&(Br=document.body.style.paddingRight,document.body.style.paddingRight=r+"px")}Tr===void 0&&(Tr=document.body.style.overflow,document.body.style.overflow="hidden")},Am=function(){Br!==void 0&&(document.body.style.paddingRight=Br,Br=void 0),Tr!==void 0&&(document.body.style.overflow=Tr,Tr=void 0)},xm=function(e){return e?e.scrollHeight-e.scrollTop<=e.clientHeight:!1},Om=function(e,n){var r=e.targetTouches[0].clientY-xu;return Ou(e.target)?!1:n&&n.scrollTop===0&&r>0||xm(n)&&r<0?_o(e):(e.stopPropagation(),!0)},Mm=function(e,n){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!rn.some(function(o){return o.targetElement===e})){var r={targetElement:e,options:n||{}};rn=[].concat(Sm(rn),[r]),Au?(e.ontouchstart=function(o){o.targetTouches.length===1&&(xu=o.targetTouches[0].clientY)},e.ontouchmove=function(o){o.targetTouches.length===1&&Om(o,e)},Zo||(document.addEventListener("touchmove",_o,Ds?{passive:!1}:void 0),Zo=!0)):Lm(n)}},Pm=function(e){if(!e){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}rn=rn.filter(function(n){return n.targetElement!==e}),Au?(e.ontouchstart=null,e.ontouchmove=null,Zo&&rn.length===0&&(document.removeEventListener("touchmove",_o,Ds?{passive:!1}:void 0),Zo=!1)):rn.length||Am()},Cn=[],km=function(){return Cn.some(function(t){return t.activeTargets.length>0})},Im=function(){return Cn.some(function(t){return t.skippedTargets.length>0})},Mu="ResizeObserver loop completed with undelivered notifications.",Dm=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:Mu}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=Mu),window.dispatchEvent(t)},Nr;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Nr||(Nr={}));var Sn=function(t){return Object.freeze(t)},Tm=function(){function t(e,n){this.inlineSize=e,this.blockSize=n,Sn(this)}return t}(),Pu=function(){function t(e,n,r,o){return this.x=e,this.y=n,this.width=r,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Sn(this)}return t.prototype.toJSON=function(){var e=this,n=e.x,r=e.y,o=e.top,i=e.right,s=e.bottom,a=e.left,u=e.width,l=e.height;return{x:n,y:r,top:o,right:i,bottom:s,left:a,width:u,height:l}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),Ts=function(t){return t instanceof SVGElement&&"getBBox"in t},ku=function(t){if(Ts(t)){var e=t.getBBox(),n=e.width,r=e.height;return!n&&!r}var o=t,i=o.offsetWidth,s=o.offsetHeight;return!(i||s||t.getClientRects().length)},Iu=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)},Bm=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},jr=typeof window<"u"?window:{},Xo=new WeakMap,Du=/auto|scroll/,Nm=/^tb|vertical/,jm=/msie|trident/i.test(jr.navigator&&jr.navigator.userAgent),Nt=function(t){return parseFloat(t||"0")},tr=function(t,e,n){return t===void 0&&(t=0),e===void 0&&(e=0),n===void 0&&(n=!1),new Tm((n?e:t)||0,(n?t:e)||0)},Tu=Sn({devicePixelContentBoxSize:tr(),borderBoxSize:tr(),contentBoxSize:tr(),contentRect:new Pu(0,0,0,0)}),Bu=function(t,e){if(e===void 0&&(e=!1),Xo.has(t)&&!e)return Xo.get(t);if(ku(t))return Xo.set(t,Tu),Tu;var n=getComputedStyle(t),r=Ts(t)&&t.ownerSVGElement&&t.getBBox(),o=!jm&&n.boxSizing==="border-box",i=Nm.test(n.writingMode||""),s=!r&&Du.test(n.overflowY||""),a=!r&&Du.test(n.overflowX||""),u=r?0:Nt(n.paddingTop),l=r?0:Nt(n.paddingRight),f=r?0:Nt(n.paddingBottom),d=r?0:Nt(n.paddingLeft),h=r?0:Nt(n.borderTopWidth),g=r?0:Nt(n.borderRightWidth),m=r?0:Nt(n.borderBottomWidth),p=r?0:Nt(n.borderLeftWidth),E=d+l,w=u+f,y=p+g,b=h+m,x=a?t.offsetHeight-b-t.clientHeight:0,S=s?t.offsetWidth-y-t.clientWidth:0,v=o?E+y:0,C=o?w+b:0,A=r?r.width:Nt(n.width)-v-S,D=r?r.height:Nt(n.height)-C-x,M=A+E+S+y,O=D+w+x+b,k=Sn({devicePixelContentBoxSize:tr(Math.round(A*devicePixelRatio),Math.round(D*devicePixelRatio),i),borderBoxSize:tr(M,O,i),contentBoxSize:tr(A,D,i),contentRect:new Pu(d,u,A,D)});return Xo.set(t,k),k},Nu=function(t,e,n){var r=Bu(t,n),o=r.borderBoxSize,i=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(e){case Nr.DEVICE_PIXEL_CONTENT_BOX:return s;case Nr.BORDER_BOX:return o;default:return i}},Um=function(){function t(e){var n=Bu(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=Sn([n.borderBoxSize]),this.contentBoxSize=Sn([n.contentBoxSize]),this.devicePixelContentBoxSize=Sn([n.devicePixelContentBoxSize])}return t}(),ju=function(t){if(ku(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},Hm=function(){var t=1/0,e=[];Cn.forEach(function(s){if(s.activeTargets.length!==0){var a=[];s.activeTargets.forEach(function(l){var f=new Um(l.target),d=ju(l.target);a.push(f),l.lastReportedSize=Nu(l.target,l.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 o=r[n];o()}return t},Uu=function(t){Cn.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(o){o.isActive()&&(ju(o.target)>t?n.activeTargets.push(o):n.skippedTargets.push(o))})})},zm=function(){var t=0;for(Uu(t);km();)t=Hm(),Uu(t);return Im()&&Dm(),t>0},Bs,Hu=[],Fm=function(){return Hu.splice(0).forEach(function(t){return t()})},Vm=function(t){if(!Bs){var e=0,n=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return Fm()}).observe(n,r),Bs=function(){n.textContent="".concat(e?e--:e++)}}Hu.push(t),Bs()},Gm=function(t){Vm(function(){requestAnimationFrame(t)})},$o=0,Qm=function(){return!!$o},Ym=250,Wm={attributes:!0,characterData:!0,childList:!0,subtree:!0},zu=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Fu=function(t){return t===void 0&&(t=0),Date.now()+t},Ns=!1,Rm=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=Ym),!Ns){Ns=!0;var r=Fu(e);Gm(function(){var o=!1;try{o=zm()}finally{if(Ns=!1,e=r-Fu(),!Qm())return;o?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,Wm)};document.body?n():jr.addEventListener("DOMContentLoaded",n)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),zu.forEach(function(n){return jr.addEventListener(n,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),zu.forEach(function(n){return jr.removeEventListener(n,e.listener,!0)}),this.stopped=!0)},t}(),js=new Rm,Vu=function(t){!$o&&t>0&&js.start(),$o+=t,!$o&&js.stop()},Km=function(t){return!Ts(t)&&!Bm(t)&&getComputedStyle(t).display==="inline"},qm=function(){function t(e,n){this.target=e,this.observedBox=n||Nr.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=Nu(this.target,this.observedBox,!0);return Km(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),Jm=function(){function t(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n}return t}(),ei=new WeakMap,Gu=function(t,e){for(var n=0;n<t.length;n+=1)if(t[n].target===e)return n;return-1},ti=function(){function t(){}return t.connect=function(e,n){var r=new Jm(e,n);ei.set(e,r)},t.observe=function(e,n,r){var o=ei.get(e),i=o.observationTargets.length===0;Gu(o.observationTargets,n)<0&&(i&&Cn.push(o),o.observationTargets.push(new qm(n,r&&r.box)),Vu(1),js.schedule())},t.unobserve=function(e,n){var r=ei.get(e),o=Gu(r.observationTargets,n),i=r.observationTargets.length===1;o>=0&&(i&&Cn.splice(Cn.indexOf(r),1),r.observationTargets.splice(o,1),Vu(-1))},t.disconnect=function(e){var n=this,r=ei.get(e);r.observationTargets.slice().forEach(function(o){return n.unobserve(e,o.target)}),r.activeTargets.splice(0,r.activeTargets.length)},t}(),Zm=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.");ti.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(!Iu(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");ti.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(!Iu(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");ti.unobserve(this,e)},t.prototype.disconnect=function(){ti.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}();function it(){return it=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},it.apply(this,arguments)}function ni(t,e){if(t==null)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e.indexOf(n=i[r])>=0||(o[n]=t[n]);return o}var Ur=typeof window<"u"?c.useLayoutEffect:c.useEffect;function Hr(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 ri(t){var e=Math.round(t);if(Number.isNaN(t))throw new TypeError("Found a NaN! Check your snapPoints / defaultSnap / snapTo ");return e}var _m={box:"border-box"};function Us(t,e){var n=e.label,r=e.enabled,o=e.resizeSourceRef,i=c.useState(0),s=i[0],a=i[1];c.useDebugValue(n+": "+s);var u=c.useCallback(function(l){a(l[0].borderBoxSize[0].blockSize),o.current="element"},[o]);return Ur(function(){if(t.current&&r){var l=new Zm(u);return l.observe(t.current,_m),function(){l.disconnect()}}},[t,u,r]),r?s:0}function st(t){return t===void 0&&(t=1e3),new Promise(function(e){return setTimeout(e,t)})}var Qu={DRAG:{target:"#overlay.dragging",actions:"onOpenEnd"}},Yu={RESIZE:{target:"#overlay.resizing",actions:"onOpenEnd"}},Xm=Ag({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:it({},Qu,Yu)}}},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:it({},Qu,Yu)}}},end:{invoke:{src:"onOpenEnd",onDone:"done"},on:{CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:it({},{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:[xg({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(st()).then(function(){})}catch(t){return Promise.reject(t)}},onOpenStart:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onCloseStart:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onResizeStart:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onSnapEnd:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onOpenEnd:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onCloseEnd:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onResizeEnd:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},renderVisuallyHidden:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},activate:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},deactivate:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},openSmoothly:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},openImmediately:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},snapSmoothly:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},resizeSmoothly:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},closeSmoothly:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}}},guards:{initiallyClosed:function(t){return t.initialState==="CLOSED"},initiallyOpen:function(t){return t.initialState==="OPEN"}}}),$m=["children","sibling","className","footer","header","open","initialState","lastSnapRef","initialFocusRef","onDismiss","maxHeight","defaultSnap","snapPoints","blocking","scrollLocking","style","onSpringStart","onSpringCancel","onSpringEnd","reserveScrollBarGap","expandOnContentDrag"],ey=["velocity"],ty=["onRest","config"],Wu=Xg.default,ny=Wu.tension,oi=Wu.friction,ry=c.forwardRef(function(t,e){var n=t.children,r=t.sibling,o=t.className,i=t.footer,s=t.header,a=t.open,u=t.initialState,l=t.lastSnapRef,f=t.initialFocusRef,d=t.onDismiss,h=t.maxHeight,g=t.defaultSnap,m=g===void 0?iy:g,p=t.snapPoints,E=p===void 0?sy:p,w=t.blocking,y=w===void 0||w,b=t.scrollLocking,x=b===void 0||b,S=t.style,v=t.onSpringStart,C=t.onSpringCancel,A=t.onSpringEnd,D=t.reserveScrollBarGap,M=D===void 0?y:D,O=t.expandOnContentDrag,k=O!==void 0&&O,N=ni(t,$m),H=function(){var z=c.useState(!1),ne=z[0],J=z[1],me=c.useState({}),Ie=me[0],Se=me[1],De=c.useCallback(function(Pe){return Se(function(He){var fe;return it({},He,((fe={})[Pe]=!1,fe))}),function(){Se(function(He){var fe;return it({},He,((fe={})[Pe]=!0,fe))})}},[]);return c.useEffect(function(){var Pe=Object.values(Ie);Pe.length!==0&&Pe.every(Boolean)&&J(!0)},[Ie]),{ready:ne,registerReady:De}}(),G=H.ready,q=H.registerReady,V=c.useRef(!1),K=c.useRef(v),B=c.useRef(C),I=c.useRef(A);c.useEffect(function(){K.current=v,B.current=C,I.current=A},[C,v,A]);var T,F,U=rv(function(){return{y:0,ready:0,maxHeight:0,minSnap:0,maxSnap:0}}),Y=U[0],ee=U[1],P=c.useRef(null),Q=c.useRef(null),Z=c.useRef(null),R=c.useRef(null),te=c.useRef(null),oe=c.useRef(null),se=c.useRef(0),de=c.useRef(),je=c.useRef(!1),ve=(T=c.useMemo(function(){return typeof window<"u"?window.matchMedia("(prefers-reduced-motion: reduce)"):null},[]),F=c.useRef(T==null?void 0:T.matches),c.useDebugValue(F.current?"reduce":"no-preference"),c.useEffect(function(){var z=function(ne){F.current=ne.matches};return T==null||T.addListener(z),function(){return T==null?void 0:T.removeListener(z)}},[T]),F),ye=function(z){var ne=z.targetRef,J=z.enabled,me=z.reserveScrollBarGap,Ie=c.useRef({activate:function(){throw new TypeError("Tried to activate scroll lock too early")},deactivate:function(){}});return c.useDebugValue(J?"Enabled":"Disabled"),c.useEffect(function(){if(!J)return Ie.current.deactivate(),void(Ie.current={activate:function(){},deactivate:function(){}});var Se=ne.current,De=!1;Ie.current={activate:function(){De||(De=!0,Mm(Se,{allowTouchMove:function(Pe){return Pe.closest("[data-body-scroll-lock-ignore]")},reserveScrollBarGap:me}))},deactivate:function(){De&&(De=!1,Pm(Se))}}},[J,ne,me]),Ie}({targetRef:Q,enabled:G&&x,reserveScrollBarGap:M}),Ne=function(z){var ne=z.targetRef,J=z.enabled,me=c.useRef({activate:function(){throw new TypeError("Tried to activate aria hider too early")},deactivate:function(){}});return c.useDebugValue(J?"Enabled":"Disabled"),c.useEffect(function(){if(!J)return me.current.deactivate(),void(me.current={activate:function(){},deactivate:function(){}});var Ie=ne.current,Se=!1,De=[],Pe=[];me.current={activate:function(){if(!Se){Se=!0;var He=Ie.parentNode;document.querySelectorAll("body > *").forEach(function(fe){if(fe!==He){var we=fe.getAttribute("aria-hidden");we!==null&&we!=="false"||(De.push(we),Pe.push(fe),fe.setAttribute("aria-hidden","true"))}})}},deactivate:function(){Se&&(Se=!1,Pe.forEach(function(He,fe){var we=De[fe];we===null?He.removeAttribute("aria-hidden"):He.setAttribute("aria-hidden",we)}),De=[],Pe=[])}}},[ne,J]),me}({targetRef:P,enabled:G&&y}),Me=function(z){var ne=z.targetRef,J=z.fallbackRef,me=z.initialFocusRef,Ie=z.enabled,Se=c.useRef({activate:function(){throw new TypeError("Tried to activate focus trap too early")},deactivate:function(){}});return c.useDebugValue(Ie?"Enabled":"Disabled"),c.useEffect(function(){if(!Ie)return Se.current.deactivate(),void(Se.current={activate:function(){},deactivate:function(){}});var De=J.current,Pe=Cm(ne.current,{onActivate:void 0,initialFocus:me?function(){return(me==null?void 0:me.current)||De}:void 0,fallbackFocus:De,escapeDeactivates:!1,clickOutsideDeactivates:!1}),He=!1;Se.current={activate:function(){try{return He?Promise.resolve():(He=!0,Promise.resolve(Pe.activate()).then(function(){return Promise.resolve(new Promise(function(fe){return setTimeout(function(){return fe(void 0)},0)})).then(function(){})}))}catch(fe){return Promise.reject(fe)}},deactivate:function(){He&&(He=!1,Pe.deactivate())}}},[Ie,J,me,ne]),Se}({targetRef:P,fallbackRef:oe,initialFocusRef:f||void 0,enabled:G&&y&&f!==!1}),ke=function(z){var ne=z.getSnapPoints,J=z.heightRef,me=z.lastSnapRef,Ie=z.ready,Se=function(Je){var pt=Je.contentRef,gt=Je.controlledMaxHeight,tt=Je.footerEnabled,Gt=Je.footerRef,Dt=Je.headerEnabled,vt=Je.headerRef,dn=Je.registerReady,Jt=Je.resizeSourceRef,no=c.useMemo(function(){return dn("contentHeight")},[dn]),ro=function(hn,Bn,Nn){var jn=c.useMemo(function(){return Bn("maxHeight")},[Bn]),Un=c.useState(function(){return ri(hn)||typeof window<"u"?window.innerHeight:0}),so=Un[0],ao=Un[1],pn=so>0,re=c.useRef(0);return c.useDebugValue(hn?"controlled":"auto"),c.useEffect(function(){pn&&jn()},[pn,jn]),Ur(function(){if(hn)return ao(ri(hn)),void(Nn.current="maxheightprop");var Ud=function(){re.current||(re.current=requestAnimationFrame(function(){ao(window.innerHeight),Nn.current="window",re.current=0}))};return window.addEventListener("resize",Ud),ao(window.innerHeight),Nn.current="window",jn(),function(){window.removeEventListener("resize",Ud),cancelAnimationFrame(re.current)}},[hn,jn,Nn]),so}(gt,dn,Jt),cr=Us(vt,{label:"headerHeight",enabled:Dt,resizeSourceRef:Jt}),oo=Us(pt,{label:"contentHeight",enabled:!0,resizeSourceRef:Jt}),fr=Us(Gt,{label:"footerHeight",enabled:tt,resizeSourceRef:Jt}),Tn=Math.min(ro-cr-fr,oo)+cr+fr;c.useDebugValue("minHeight: "+Tn);var io=oo>0;return c.useEffect(function(){io&&no()},[io,no]),{maxHeight:ro,minHeight:Tn,headerHeight:cr,footerHeight:fr}}({contentRef:z.contentRef,controlledMaxHeight:z.controlledMaxHeight,footerEnabled:z.footerEnabled,footerRef:z.footerRef,headerEnabled:z.headerEnabled,headerRef:z.headerRef,registerReady:z.registerReady,resizeSourceRef:z.resizeSourceRef}),De=Se.maxHeight,Pe=Se.minHeight,He=Se.headerHeight,fe=Se.footerHeight,we=function(Je,pt){var gt=[].concat(Je).map(ri).reduce(function(vt,dn){return vt.add(Hr(dn,0,pt)),vt},new Set),tt=Array.from(gt),Gt=Math.min.apply(Math,tt);if(Number.isNaN(Gt))throw new TypeError("minSnap is NaN");var Dt=Math.max.apply(Math,tt);if(Number.isNaN(Dt))throw new TypeError("maxSnap is NaN");return{snapPoints:tt,minSnap:Gt,maxSnap:Dt}}(Ie?ne({height:J.current,footerHeight:fe,headerHeight:He,minHeight:Pe,maxHeight:De}):[0],De),ct=we.snapPoints,qt=we.minSnap,lt=we.maxSnap;return c.useDebugValue("minSnap: "+qt+", maxSnap:"+lt),{minSnap:qt,maxSnap:lt,findSnap:function(Je){var pt=ri(typeof Je=="function"?Je({footerHeight:fe,headerHeight:He,height:J.current,minHeight:Pe,maxHeight:De,snapPoints:ct,lastSnap:me.current}):Je);return ct.reduce(function(gt,tt){return Math.abs(tt-pt)<Math.abs(gt-pt)?tt:gt},qt)},maxHeight:De}}({contentRef:Z,controlledMaxHeight:h,footerEnabled:!!i,footerRef:te,getSnapPoints:E,headerEnabled:s!==!1,headerRef:R,heightRef:se,lastSnapRef:l,ready:G,registerReady:q,resizeSourceRef:de}),ae=ke.minSnap,le=ke.maxSnap,Ge=ke.maxHeight,_e=ke.findSnap,_=c.useRef(Ge),Qe=c.useRef(ae),Ue=c.useRef(le),ht=c.useRef(_e),at=c.useRef(0);Ur(function(){_.current=Ge,Ue.current=le,Qe.current=ae,ht.current=_e,at.current=_e(m)},[_e,m,Ge,le,ae]);var ue=c.useCallback(function(z){var ne=z.onRest,J=z.config,me=(J=J===void 0?{}:J).velocity,Ie=me===void 0?1:me,Se=ni(J,ey),De=ni(z,ty);return new Promise(function(Pe){return ee(it({},De,{config:it({velocity:Ie},Se,{mass:1,tension:ny,friction:Math.max(oi,oi+(oi-oi*Ie))}),onRest:function(){var He=[].slice.call(arguments);Pe.apply(void 0,He),ne==null||ne.apply(void 0,He)}}))})},[ee]),Dn=Ng(Xm,{devTools:!1,actions:{onOpenCancel:c.useCallback(function(){return B.current==null?void 0:B.current({type:"OPEN"})},[]),onSnapCancel:c.useCallback(function(z){return B.current==null?void 0:B.current({type:"SNAP",source:z.snapSource})},[]),onCloseCancel:c.useCallback(function(){return B.current==null?void 0:B.current({type:"CLOSE"})},[]),onResizeCancel:c.useCallback(function(){return B.current==null?void 0:B.current({type:"RESIZE",source:de.current})},[]),onOpenEnd:c.useCallback(function(){return I.current==null?void 0:I.current({type:"OPEN"})},[]),onSnapEnd:c.useCallback(function(z,ne){return I.current==null?void 0:I.current({type:"SNAP",source:z.snapSource})},[]),onResizeEnd:c.useCallback(function(){return I.current==null?void 0:I.current({type:"RESIZE",source:de.current})},[])},context:{initialState:u},services:{onSnapStart:c.useCallback(function(z,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:c.useCallback(function(){try{return Promise.resolve(K.current==null?void 0:K.current({type:"OPEN"}))}catch(z){return Promise.reject(z)}},[]),onCloseStart:c.useCallback(function(){try{return Promise.resolve(K.current==null?void 0:K.current({type:"CLOSE"}))}catch(z){return Promise.reject(z)}},[]),onResizeStart:c.useCallback(function(){try{return Promise.resolve(K.current==null?void 0:K.current({type:"RESIZE",source:de.current}))}catch(z){return Promise.reject(z)}},[]),onSnapEnd:c.useCallback(function(z,ne){try{return Promise.resolve(I.current==null?void 0:I.current({type:"SNAP",source:z.snapSource}))}catch(J){return Promise.reject(J)}},[]),onOpenEnd:c.useCallback(function(){try{return Promise.resolve(I.current==null?void 0:I.current({type:"OPEN"}))}catch(z){return Promise.reject(z)}},[]),onCloseEnd:c.useCallback(function(){try{return Promise.resolve(I.current==null?void 0:I.current({type:"CLOSE"}))}catch(z){return Promise.reject(z)}},[]),onResizeEnd:c.useCallback(function(){try{return Promise.resolve(I.current==null?void 0:I.current({type:"RESIZE",source:de.current}))}catch(z){return Promise.reject(z)}},[]),renderVisuallyHidden:c.useCallback(function(z,ne){try{return Promise.resolve(ue({y:at.current,ready:0,maxHeight:_.current,maxSnap:Ue.current,minSnap:at.current,immediate:!0})).then(function(){})}catch(J){return Promise.reject(J)}},[ue]),activate:c.useCallback(function(z,ne){try{return V.current=!0,Promise.resolve(Promise.all([ye.current.activate(),Me.current.activate(),Ne.current.activate()])).then(function(){})}catch(J){return Promise.reject(J)}},[Ne,Me,ye]),deactivate:c.useCallback(function(){try{return ye.current.deactivate(),Me.current.deactivate(),Ne.current.deactivate(),V.current=!1,Promise.resolve()}catch(z){return Promise.reject(z)}},[Ne,Me,ye]),openImmediately:c.useCallback(function(){try{return se.current=at.current,Promise.resolve(ue({y:at.current,ready:1,maxHeight:_.current,maxSnap:Ue.current,minSnap:at.current,immediate:!0})).then(function(){})}catch(z){return Promise.reject(z)}},[ue]),openSmoothly:c.useCallback(function(){try{return Promise.resolve(ue({y:0,ready:1,maxHeight:_.current,maxSnap:Ue.current,minSnap:at.current,immediate:!0})).then(function(){return se.current=at.current,Promise.resolve(ue({y:at.current,ready:1,maxHeight:_.current,maxSnap:Ue.current,minSnap:at.current,immediate:ve.current})).then(function(){})})}catch(z){return Promise.reject(z)}},[ue,ve]),snapSmoothly:c.useCallback(function(z,ne){try{var J=ht.current(z.y);return se.current=J,l.current=J,Promise.resolve(ue({y:J,ready:1,maxHeight:_.current,maxSnap:Ue.current,minSnap:Qe.current,immediate:ve.current,config:{velocity:z.velocity}})).then(function(){})}catch(me){return Promise.reject(me)}},[ue,l,ve]),resizeSmoothly:c.useCallback(function(){try{var z=ht.current(se.current);return se.current=z,l.current=z,Promise.resolve(ue({y:z,ready:1,maxHeight:_.current,maxSnap:Ue.current,minSnap:Qe.current,immediate:de.current!=="element"||ve.current})).then(function(){})}catch(ne){return Promise.reject(ne)}},[ue,l,ve]),closeSmoothly:c.useCallback(function(z,ne){try{return ue({minSnap:se.current,immediate:!0}),se.current=0,Promise.resolve(ue({y:0,maxHeight:_.current,maxSnap:Ue.current,immediate:ve.current})).then(function(){return Promise.resolve(ue({ready:0,immediate:!0})).then(function(){})})}catch(J){return Promise.reject(J)}},[ue,ve])}}),Hi=Dn[0],It=Dn[1];c.useEffect(function(){G&&It(a?"OPEN":"CLOSE")},[a,It,G]),Ur(function(){(Ge||le||ae)&&It("RESIZE")},[Ge,le,ae,It]),c.useEffect(function(){return function(){ye.current.deactivate(),Me.current.deactivate(),Ne.current.deactivate()}},[Ne,Me,ye]),c.useImperativeHandle(e,function(){return{snapTo:function(z,ne){var J=ne===void 0?{}:ne,me=J.velocity,Ie=me===void 0?1:me,Se=J.source,De=Se===void 0?"custom":Se;It("SNAP",{payload:{y:ht.current(z),velocity:Ie,source:De}})},get height(){return se.current}}},[It]),c.useEffect(function(){var z=Q.current,ne=function(me){je.current&&me.preventDefault()},J=function(me){z.scrollTop<0&&(requestAnimationFrame(function(){z.style.overflow="hidden",z.scrollTop=0,z.style.removeProperty("overflow")}),me.preventDefault())};return k&&(z.addEventListener("scroll",ne),z.addEventListener("touchmove",ne),z.addEventListener("touchstart",J)),function(){z.removeEventListener("scroll",ne),z.removeEventListener("touchmove",ne),z.removeEventListener("touchstart",J)}},[k,Q]);var Kt=rm(function(z){var ne=z.args,J=(ne=ne===void 0?[]:ne)[0],me=(J=J===void 0?{}:J).closeOnTap,Ie=me!==void 0&&me,Se=J.isContentDragging,De=Se!==void 0&&Se,Pe=z.cancel,He=z.direction[1],fe=z.down,we=z.first,ct=z.last,qt=z.memo,lt=qt===void 0?Y.y.getValue():qt,Je=z.tap,pt=z.velocity,gt=-1*z.movement[1];if(!V.current)return Pe(),lt;if(d&&Ie&&Je)return Pe(),setTimeout(function(){return d()},0),lt;if(Je)return lt;var tt=lt+gt,Gt=gt*pt,Dt=Math.max(Qe.current,Math.min(Ue.current,tt+2*Gt));if(!fe&&d&&He>0&&tt+Gt<Qe.current/2)return Pe(),d(),lt;var vt=fe?d||Qe.current!==Ue.current?Pr(tt,d?0:Qe.current,Ue.current,.55):tt<Qe.current?Pr(tt,Qe.current,2*Ue.current,.55):Pr(tt,Qe.current/2,Ue.current,.55):Dt;return k&&De?(vt>=Ue.current&&(vt=Ue.current),lt===Ue.current&&Q.current.scrollTop>0&&(vt=Ue.current),je.current=vt<Ue.current):je.current=!1,we&&It("DRAG"),ct?(It("SNAP",{payload:{y:vt,velocity:pt>.05?pt:1,source:"dragging"}}),lt):(ee({y:vt,ready:1,maxHeight:_.current,maxSnap:Ue.current,minSnap:Qe.current,immediate:!0,config:{velocity:pt}}),lt)},{filterTaps:!0});if(Number.isNaN(Ue.current))throw new TypeError("maxSnapRef is NaN!!");if(Number.isNaN(Qe.current))throw new TypeError("minSnapRef is NaN!!");var zi=function(z){var ne,J=z.spring,me=$n([J.y,J.maxHeight],function(fe,we){return Math.round(Hr(we-fe,0,16))+"px"}),Ie=$n([J.y,J.minSnap,J.maxSnap],function(fe,we,ct){return Hr(fe,we,ct)+"px"}),Se=$n([J.y,J.minSnap,J.maxSnap],function(fe,we,ct){return fe<we?we-fe+"px":fe>ct?ct-fe+"px":"0px"}),De=$n([J.y,J.maxSnap],function(fe,we){return fe>=we?Math.ceil(fe-we):0}),Pe=$n([J.y,J.minSnap],function(fe,we){if(!we)return 0;var ct=Math.max(we/2-45,0);return Hr((fe-ct)*(1/(Math.min(we/2+45,we)-ct)+0),0,1)}),He=$n([J.y,J.minSnap],function(fe,we){return we?Hr(fe/we,0,1):0});return(ne={})["--rsbs-content-opacity"]=Pe,ne["--rsbs-backdrop-opacity"]=He,ne["--rsbs-antigap-scale-y"]=De,ne["--rsbs-overlay-translate-y"]=Se,ne["--rsbs-overlay-rounded"]=me,ne["--rsbs-overlay-h"]=Ie,ne}({spring:Y});return c.createElement(Ev.div,it({},N,{"data-rsbs-root":!0,"data-rsbs-state":oy.find(Hi.matches),"data-rsbs-is-blocking":y,"data-rsbs-is-dismissable":!!d,"data-rsbs-has-header":!!s,"data-rsbs-has-footer":!!i,className:o,ref:P,style:it({},zi,S,{opacity:Y.ready})}),r,y&&c.createElement("div",it({key:"backdrop","data-rsbs-backdrop":!0},Kt({closeOnTap:!0}))),c.createElement("div",{key:"overlay","aria-modal":"true",role:"dialog","data-rsbs-overlay":!0,tabIndex:-1,ref:oe,onKeyDown:function(z){z.key==="Escape"&&(z.stopPropagation(),d&&d())}},s!==!1&&c.createElement("div",it({key:"header","data-rsbs-header":!0,ref:R},Kt()),s),c.createElement("div",it({key:"scroll","data-rsbs-scroll":!0,ref:Q},k?Kt({isContentDragging:!0}):{}),c.createElement("div",{"data-rsbs-content":!0,ref:Z},n)),i&&c.createElement("div",it({key:"footer",ref:te,"data-rsbs-footer":!0},Kt()),i)))}),oy=["closed","opening","open","closing","dragging","snapping","resizing"];function iy(t){var e=t.lastSnap;return e??Math.min.apply(Math,t.snapPoints)}function sy(t){return t.minHeight}var ay=["onSpringStart","onSpringEnd","skipInitialTransition"],Ru=c.forwardRef(function(t,e){var n=t.onSpringStart,r=t.onSpringEnd,o=t.skipInitialTransition,i=ni(t,ay),s=c.useState(!1),a=s[0],u=s[1],l=c.useRef(),f=c.useRef(null),d=c.useRef(o&&i.open?"OPEN":"CLOSED");Ur(function(){if(i.open)return cancelAnimationFrame(l.current),u(!0),function(){d.current="CLOSED"}},[i.open]);var h=c.useCallback(function(m){return Promise.resolve(n==null?void 0:n(m)).then(function(){m.type==="OPEN"&&cancelAnimationFrame(l.current)})},[n]),g=c.useCallback(function(m){return Promise.resolve(r==null?void 0:r(m)).then(function(){m.type==="CLOSE"&&(l.current=requestAnimationFrame(function(){return u(!1)}))})},[r]);return a?c.createElement(kp,{"data-rsbs-portal":!0},c.createElement(ry,it({},i,{lastSnapRef:f,ref:e,initialState:d.current,onSpringStart:h,onSpringEnd:g}))):null});function Ku(t,e){return function(){return t.apply(e,arguments)}}const{toString:ly}=Object.prototype,{getPrototypeOf:Hs}=Object,ii=(t=>e=>{const n=ly.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),jt=t=>(t=t.toLowerCase(),e=>ii(e)===t),si=t=>e=>typeof e===t,{isArray:nr}=Array,zr=si("undefined");function uy(t){return t!==null&&!zr(t)&&t.constructor!==null&&!zr(t.constructor)&&Ct(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const qu=jt("ArrayBuffer");function cy(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&qu(t.buffer),e}const fy=si("string"),Ct=si("function"),Ju=si("number"),ai=t=>t!==null&&typeof t=="object",dy=t=>t===!0||t===!1,li=t=>{if(ii(t)!=="object")return!1;const e=Hs(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},hy=jt("Date"),py=jt("File"),gy=jt("Blob"),vy=jt("FileList"),my=t=>ai(t)&&Ct(t.pipe),yy=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Ct(t.append)&&((e=ii(t))==="formdata"||e==="object"&&Ct(t.toString)&&t.toString()==="[object FormData]"))},by=jt("URLSearchParams"),wy=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Fr(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,o;if(typeof t!="object"&&(t=[t]),nr(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),s=i.length;let a;for(r=0;r<s;r++)a=i[r],e.call(null,t[a],a,t)}}function Zu(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,o;for(;r-- >0;)if(o=n[r],e===o.toLowerCase())return o;return null}const _u=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Xu=t=>!zr(t)&&t!==_u;function zs(){const{caseless:t}=Xu(this)&&this||{},e={},n=(r,o)=>{const i=t&&Zu(e,o)||o;li(e[i])&&li(r)?e[i]=zs(e[i],r):li(r)?e[i]=zs({},r):nr(r)?e[i]=r.slice():e[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Fr(arguments[r],n);return e}const Ey=(t,e,n,{allOwnKeys:r}={})=>(Fr(e,(o,i)=>{n&&Ct(o)?t[i]=Ku(o,n):t[i]=o},{allOwnKeys:r}),t),Cy=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Sy=(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)},Ly=(t,e,n,r)=>{let o,i,s;const a={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)s=o[i],(!r||r(s,t,e))&&!a[s]&&(e[s]=t[s],a[s]=!0);t=n!==!1&&Hs(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},Ay=(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},xy=t=>{if(!t)return null;if(nr(t))return t;let e=t.length;if(!Ju(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Oy=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Hs(Uint8Array)),My=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=r.next())&&!o.done;){const i=o.value;e.call(t,i[0],i[1])}},Py=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},ky=jt("HTMLFormElement"),Iy=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),$u=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Dy=jt("RegExp"),ec=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Fr(n,(o,i)=>{let s;(s=e(o,i,t))!==!1&&(r[i]=s||o)}),Object.defineProperties(t,r)},Ty=t=>{ec(t,(e,n)=>{if(Ct(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(Ct(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+"'")})}})},By=(t,e)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return nr(t)?r(t):r(String(t).split(e)),n},Ny=()=>{},jy=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Fs="abcdefghijklmnopqrstuvwxyz",tc="0123456789",nc={DIGIT:tc,ALPHA:Fs,ALPHA_DIGIT:Fs+Fs.toUpperCase()+tc},Uy=(t=16,e=nc.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function Hy(t){return!!(t&&Ct(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const zy=t=>{const e=new Array(10),n=(r,o)=>{if(ai(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[o]=r;const i=nr(r)?[]:{};return Fr(r,(s,a)=>{const u=n(s,o+1);!zr(u)&&(i[a]=u)}),e[o]=void 0,i}}return r};return n(t,0)},Fy=jt("AsyncFunction"),j={isArray:nr,isArrayBuffer:qu,isBuffer:uy,isFormData:yy,isArrayBufferView:cy,isString:fy,isNumber:Ju,isBoolean:dy,isObject:ai,isPlainObject:li,isUndefined:zr,isDate:hy,isFile:py,isBlob:gy,isRegExp:Dy,isFunction:Ct,isStream:my,isURLSearchParams:by,isTypedArray:Oy,isFileList:vy,forEach:Fr,merge:zs,extend:Ey,trim:wy,stripBOM:Cy,inherits:Sy,toFlatObject:Ly,kindOf:ii,kindOfTest:jt,endsWith:Ay,toArray:xy,forEachEntry:My,matchAll:Py,isHTMLForm:ky,hasOwnProperty:$u,hasOwnProp:$u,reduceDescriptors:ec,freezeMethods:Ty,toObjectSet:By,toCamelCase:Iy,noop:Ny,toFiniteNumber:jy,findKey:Zu,global:_u,isContextDefined:Xu,ALPHABET:nc,generateString:Uy,isSpecCompliantForm:Hy,toJSONObject:zy,isAsyncFn:Fy,isThenable:t=>t&&(ai(t)||Ct(t))&&Ct(t.then)&&Ct(t.catch)};function Ce(t,e,n,r,o){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),o&&(this.response=o)}j.inherits(Ce,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 rc=Ce.prototype,oc={};["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=>{oc[t]={value:t}}),Object.defineProperties(Ce,oc),Object.defineProperty(rc,"isAxiosError",{value:!0}),Ce.from=(t,e,n,r,o,i)=>{const s=Object.create(rc);return j.toFlatObject(t,s,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),Ce.call(s,t.message,e,n,r,o),s.cause=t,s.name=t.name,i&&Object.assign(s,i),s};const Vy=null;function Vs(t){return j.isPlainObject(t)||j.isArray(t)}function ic(t){return j.endsWith(t,"[]")?t.slice(0,-2):t}function sc(t,e,n){return t?t.concat(e).map(function(o,i){return o=ic(o),!n&&i?"["+o+"]":o}).join(n?".":""):e}function Gy(t){return j.isArray(t)&&!t.some(Vs)}const Qy=j.toFlatObject(j,{},null,function(e){return/^is[A-Z]/.test(e)});function ui(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,E){return!j.isUndefined(E[p])});const r=n.metaTokens,o=n.visitor||f,i=n.dots,s=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(e);if(!j.isFunction(o))throw new TypeError("visitor must be a function");function l(m){if(m===null)return"";if(j.isDate(m))return m.toISOString();if(!u&&j.isBlob(m))throw new Ce("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(m)||j.isTypedArray(m)?u&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function f(m,p,E){let w=m;if(m&&!E&&typeof m=="object"){if(j.endsWith(p,"{}"))p=r?p:p.slice(0,-2),m=JSON.stringify(m);else if(j.isArray(m)&&Gy(m)||(j.isFileList(m)||j.endsWith(p,"[]"))&&(w=j.toArray(m)))return p=ic(p),w.forEach(function(b,x){!(j.isUndefined(b)||b===null)&&e.append(s===!0?sc([p],x,i):s===null?p:p+"[]",l(b))}),!1}return Vs(m)?!0:(e.append(sc(E,p,i),l(m)),!1)}const d=[],h=Object.assign(Qy,{defaultVisitor:f,convertValue:l,isVisitable:Vs});function g(m,p){if(!j.isUndefined(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+p.join("."));d.push(m),j.forEach(m,function(w,y){(!(j.isUndefined(w)||w===null)&&o.call(e,w,j.isString(y)?y.trim():y,p,h))===!0&&g(w,p?p.concat(y):[y])}),d.pop()}}if(!j.isObject(t))throw new TypeError("data must be an object");return g(t),e}function ac(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Gs(t,e){this._pairs=[],t&&ui(t,this,e)}const lc=Gs.prototype;lc.append=function(e,n){this._pairs.push([e,n])},lc.toString=function(e){const n=e?function(r){return e.call(this,r,ac)}:ac;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Yy(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function uc(t,e,n){if(!e)return t;const r=n&&n.encode||Yy,o=n&&n.serialize;let i;if(o?i=o(e,n):i=j.isURLSearchParams(e)?e.toString():new Gs(e,n).toString(r),i){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class Wy{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 cc=Wy,fc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ry=typeof URLSearchParams<"u"?URLSearchParams:Gs,Ky=typeof FormData<"u"?FormData:null,qy=typeof Blob<"u"?Blob:null,Jy=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Zy=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),kt={isBrowser:!0,classes:{URLSearchParams:Ry,FormData:Ky,Blob:qy},isStandardBrowserEnv:Jy,isStandardBrowserWebWorkerEnv:Zy,protocols:["http","https","file","blob","url","data"]};function _y(t,e){return ui(t,new kt.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return kt.isNode&&j.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function Xy(t){return j.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function $y(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],e[i]=t[i];return e}function dc(t){function e(n,r,o,i){let s=n[i++];const a=Number.isFinite(+s),u=i>=n.length;return s=!s&&j.isArray(o)?o.length:s,u?(j.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!a):((!o[s]||!j.isObject(o[s]))&&(o[s]=[]),e(n,r,o[s],i)&&j.isArray(o[s])&&(o[s]=$y(o[s])),!a)}if(j.isFormData(t)&&j.isFunction(t.entries)){const n={};return j.forEachEntry(t,(r,o)=>{e(Xy(r),o,n,0)}),n}return null}function e0(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 Qs={transitional:fc,adapter:kt.isNode?"http":"xhr",transformRequest:[function(e,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=j.isObject(e);if(i&&j.isHTMLForm(e)&&(e=new FormData(e)),j.isFormData(e))return o&&o?JSON.stringify(dc(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(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return _y(e,this.formSerializer).toString();if((a=j.isFileList(e))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return ui(a?{"files[]":e}:e,u&&new u,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),e0(e)):e}],transformResponse:[function(e){const n=this.transitional||Qs.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&j.isString(e)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(a){if(s)throw a.name==="SyntaxError"?Ce.from(a,Ce.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:kt.classes.FormData,Blob:kt.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=>{Qs.headers[t]={}});const Ys=Qs,t0=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"]),n0=t=>{const e={};let n,r,o;return t&&t.split(`
47
- `).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||e[n]&&t0[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},hc=Symbol("internals");function Vr(t){return t&&String(t).trim().toLowerCase()}function ci(t){return t===!1||t==null?t:j.isArray(t)?t.map(ci):String(t)}function r0(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 o0=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ws(t,e,n,r,o){if(j.isFunction(r))return r.call(this,e,n);if(o&&(e=n),!!j.isString(e)){if(j.isString(r))return e.indexOf(r)!==-1;if(j.isRegExp(r))return r.test(e)}}function i0(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function s0(t,e){const n=j.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(o,i,s){return this[r].call(this,e,o,i,s)},configurable:!0})})}class fi{constructor(e){e&&this.set(e)}set(e,n,r){const o=this;function i(a,u,l){const f=Vr(u);if(!f)throw new Error("header name must be a non-empty string");const d=j.findKey(o,f);(!d||o[d]===void 0||l===!0||l===void 0&&o[d]!==!1)&&(o[d||u]=ci(a))}const s=(a,u)=>j.forEach(a,(l,f)=>i(l,f,u));return j.isPlainObject(e)||e instanceof this.constructor?s(e,n):j.isString(e)&&(e=e.trim())&&!o0(e)?s(n0(e),n):e!=null&&i(n,e,r),this}get(e,n){if(e=Vr(e),e){const r=j.findKey(this,e);if(r){const o=this[r];if(!n)return o;if(n===!0)return r0(o);if(j.isFunction(n))return n.call(this,o,r);if(j.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Vr(e),e){const r=j.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||Ws(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let o=!1;function i(s){if(s=Vr(s),s){const a=j.findKey(r,s);a&&(!n||Ws(r,r[a],a,n))&&(delete r[a],o=!0)}}return j.isArray(e)?e.forEach(i):i(e),o}clear(e){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!e||Ws(this,this[i],i,e,!0))&&(delete this[i],o=!0)}return o}normalize(e){const n=this,r={};return j.forEach(this,(o,i)=>{const s=j.findKey(r,i);if(s){n[s]=ci(o),delete n[i];return}const a=e?i0(i):String(i).trim();a!==i&&delete n[i],n[a]=ci(o),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return j.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=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(`
48
- `)}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(o=>r.set(o)),r}static accessor(e){const r=(this[hc]=this[hc]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=Vr(s);r[a]||(s0(o,s),r[a]=!0)}return j.isArray(e)?e.forEach(i):i(e),this}}fi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),j.reduceDescriptors(fi.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),j.freezeMethods(fi);const Wt=fi;function Rs(t,e){const n=this||Ys,r=e||n,o=Wt.from(r.headers);let i=r.data;return j.forEach(t,function(a){i=a.call(n,i,o.normalize(),e?e.status:void 0)}),o.normalize(),i}function pc(t){return!!(t&&t.__CANCEL__)}function Gr(t,e,n){Ce.call(this,t??"canceled",Ce.ERR_CANCELED,e,n),this.name="CanceledError"}j.inherits(Gr,Ce,{__CANCEL__:!0});function a0(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new Ce("Request failed with status code "+n.status,[Ce.ERR_BAD_REQUEST,Ce.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const l0=kt.isStandardBrowserEnv?function(){return{write:function(n,r,o,i,s,a){const u=[];u.push(n+"="+encodeURIComponent(r)),j.isNumber(o)&&u.push("expires="+new Date(o).toGMTString()),j.isString(i)&&u.push("path="+i),j.isString(s)&&u.push("domain="+s),a===!0&&u.push("secure"),document.cookie=u.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 u0(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function c0(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function gc(t,e){return t&&!u0(e)?c0(t,e):e}const f0=kt.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let s=i;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=o(window.location.href),function(s){const a=j.isString(s)?o(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function d0(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function h0(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o=0,i=0,s;return e=e!==void 0?e:1e3,function(u){const l=Date.now(),f=r[i];s||(s=l),n[o]=u,r[o]=l;let d=i,h=0;for(;d!==o;)h+=n[d++],d=d%t;if(o=(o+1)%t,o===i&&(i=(i+1)%t),l-s<e)return;const g=f&&l-f;return g?Math.round(h*1e3/g):void 0}}function vc(t,e){let n=0;const r=h0(50,250);return o=>{const i=o.loaded,s=o.lengthComputable?o.total:void 0,a=i-n,u=r(a),l=i<=s;n=i;const f={loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:u||void 0,estimated:u&&s&&l?(s-i)/u:void 0,event:o};f[e?"download":"upload"]=!0,t(f)}}const di={http:Vy,xhr:typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(n,r){let o=t.data;const i=Wt.from(t.headers).normalize(),s=t.responseType;let a;function u(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}j.isFormData(o)&&(kt.isStandardBrowserEnv||kt.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let l=new XMLHttpRequest;if(t.auth){const g=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(g+":"+m))}const f=gc(t.baseURL,t.url);l.open(t.method.toUpperCase(),uc(f,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function d(){if(!l)return;const g=Wt.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),p={data:!s||s==="text"||s==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:g,config:t,request:l};a0(function(w){n(w),u()},function(w){r(w),u()},p),l=null}if("onloadend"in l?l.onloadend=d:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(d)},l.onabort=function(){l&&(r(new Ce("Request aborted",Ce.ECONNABORTED,t,l)),l=null)},l.onerror=function(){r(new Ce("Network Error",Ce.ERR_NETWORK,t,l)),l=null},l.ontimeout=function(){let m=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const p=t.transitional||fc;t.timeoutErrorMessage&&(m=t.timeoutErrorMessage),r(new Ce(m,p.clarifyTimeoutError?Ce.ETIMEDOUT:Ce.ECONNABORTED,t,l)),l=null},kt.isStandardBrowserEnv){const g=(t.withCredentials||f0(f))&&t.xsrfCookieName&&l0.read(t.xsrfCookieName);g&&i.set(t.xsrfHeaderName,g)}o===void 0&&i.setContentType(null),"setRequestHeader"in l&&j.forEach(i.toJSON(),function(m,p){l.setRequestHeader(p,m)}),j.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),s&&s!=="json"&&(l.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&l.addEventListener("progress",vc(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",vc(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=g=>{l&&(r(!g||g.type?new Gr(null,t,l):g),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const h=d0(f);if(h&&kt.protocols.indexOf(h)===-1){r(new Ce("Unsupported protocol "+h+":",Ce.ERR_BAD_REQUEST,t));return}l.send(o||null)})}};j.forEach(di,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const mc={getAdapter:t=>{t=j.isArray(t)?t:[t];const{length:e}=t;let n,r;for(let o=0;o<e&&(n=t[o],!(r=j.isString(n)?di[n.toLowerCase()]:n));o++);if(!r)throw r===!1?new Ce(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(j.hasOwnProp(di,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!j.isFunction(r))throw new TypeError("adapter is not a function");return r},adapters:di};function Ks(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Gr(null,t)}function yc(t){return Ks(t),t.headers=Wt.from(t.headers),t.data=Rs.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),mc.getAdapter(t.adapter||Ys.adapter)(t).then(function(r){return Ks(t),r.data=Rs.call(t,t.transformResponse,r),r.headers=Wt.from(r.headers),r},function(r){return pc(r)||(Ks(t),r&&r.response&&(r.response.data=Rs.call(t,t.transformResponse,r.response),r.response.headers=Wt.from(r.response.headers))),Promise.reject(r)})}const bc=t=>t instanceof Wt?t.toJSON():t;function rr(t,e){e=e||{};const n={};function r(l,f,d){return j.isPlainObject(l)&&j.isPlainObject(f)?j.merge.call({caseless:d},l,f):j.isPlainObject(f)?j.merge({},f):j.isArray(f)?f.slice():f}function o(l,f,d){if(j.isUndefined(f)){if(!j.isUndefined(l))return r(void 0,l,d)}else return r(l,f,d)}function i(l,f){if(!j.isUndefined(f))return r(void 0,f)}function s(l,f){if(j.isUndefined(f)){if(!j.isUndefined(l))return r(void 0,l)}else return r(void 0,f)}function a(l,f,d){if(d in e)return r(l,f);if(d in t)return r(void 0,l)}const u={url:i,method:i,data:i,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:(l,f)=>o(bc(l),bc(f),!0)};return j.forEach(Object.keys(Object.assign({},t,e)),function(f){const d=u[f]||o,h=d(t[f],e[f],f);j.isUndefined(h)&&d!==a||(n[f]=h)}),n}const wc="1.5.0",qs={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{qs[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const Ec={};qs.transitional=function(e,n,r){function o(i,s){return"[Axios v"+wc+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,a)=>{if(e===!1)throw new Ce(o(s," has been removed"+(n?" in "+n:"")),Ce.ERR_DEPRECATED);return n&&!Ec[s]&&(Ec[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,s,a):!0}};function p0(t,e,n){if(typeof t!="object")throw new Ce("options must be an object",Ce.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const i=r[o],s=e[i];if(s){const a=t[i],u=a===void 0||s(a,i,t);if(u!==!0)throw new Ce("option "+i+" must be "+u,Ce.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ce("Unknown option "+i,Ce.ERR_BAD_OPTION)}}const Js={assertOptions:p0,validators:qs},on=Js.validators;class hi{constructor(e){this.defaults=e,this.interceptors={request:new cc,response:new cc}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=rr(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Js.assertOptions(r,{silentJSONParsing:on.transitional(on.boolean),forcedJSONParsing:on.transitional(on.boolean),clarifyTimeoutError:on.transitional(on.boolean)},!1),o!=null&&(j.isFunction(o)?n.paramsSerializer={serialize:o}:Js.assertOptions(o,{encode:on.function,serialize:on.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&j.merge(i.common,i[n.method]);i&&j.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=Wt.concat(s,i);const a=[];let u=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(u=u&&p.synchronous,a.unshift(p.fulfilled,p.rejected))});const l=[];this.interceptors.response.forEach(function(p){l.push(p.fulfilled,p.rejected)});let f,d=0,h;if(!u){const m=[yc.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,l),h=m.length,f=Promise.resolve(n);d<h;)f=f.then(m[d++],m[d++]);return f}h=a.length;let g=n;for(d=0;d<h;){const m=a[d++],p=a[d++];try{g=m(g)}catch(E){p.call(this,E);break}}try{f=yc.call(this,g)}catch(m){return Promise.reject(m)}for(d=0,h=l.length;d<h;)f=f.then(l[d++],l[d++]);return f}getUri(e){e=rr(this.defaults,e);const n=gc(e.baseURL,e.url);return uc(n,e.params,e.paramsSerializer)}}j.forEach(["delete","get","head","options"],function(e){hi.prototype[e]=function(n,r){return this.request(rr(r||{},{method:e,url:n,data:(r||{}).data}))}}),j.forEach(["post","put","patch"],function(e){function n(r){return function(i,s,a){return this.request(rr(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}hi.prototype[e]=n(),hi.prototype[e+"Form"]=n(!0)});const pi=hi;class Zs{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},e(function(i,s,a){r.reason||(r.reason=new Gr(i,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 Zs(function(o){e=o}),cancel:e}}}const g0=Zs;function v0(t){return function(n){return t.apply(null,n)}}function m0(t){return j.isObject(t)&&t.isAxiosError===!0}const _s={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(_s).forEach(([t,e])=>{_s[e]=t});const y0=_s;function Cc(t){const e=new pi(t),n=Ku(pi.prototype.request,e);return j.extend(n,pi.prototype,e,{allOwnKeys:!0}),j.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return Cc(rr(t,o))},n}const qe=Cc(Ys);qe.Axios=pi,qe.CanceledError=Gr,qe.CancelToken=g0,qe.isCancel=pc,qe.VERSION=wc,qe.toFormData=ui,qe.AxiosError=Ce,qe.Cancel=qe.CanceledError,qe.all=function(e){return Promise.all(e)},qe.spread=v0,qe.isAxiosError=m0,qe.mergeConfig=rr,qe.AxiosHeaders=Wt,qe.formToJSON=t=>dc(j.isHTMLForm(t)?new FormData(t):t),qe.getAdapter=mc.getAdapter,qe.HttpStatusCode=y0,qe.default=qe;const gi=qe.create({baseURL:"https://ecomgate.omnic.solutions/api/1.0.0/type-1/public/"}),b0=512;var sn=(t=>(t[t.All=0]="All",t[t.PickPoint=20]="PickPoint",t[t.PostOffice=30]="PostOffice",t))(sn||{}),Ut=(t=>(t[t.PayByCash=0]="PayByCash",t[t.DressingRoom=1]="DressingRoom",t[t.CheckOrder=2]="CheckOrder",t))(Ut||{}),Ht=(t=>(t[t.Return=0]="Return",t[t.Payment=1]="Payment",t[t.Shipping=2]="Shipping",t))(Ht||{});const w0={[Ut.CheckOrder]:["is_check_order","is_delivery"],[Ut.DressingRoom]:["is_dressing_room","is_delivery"],[Ut.PayByCash]:["pay_by_cash","pay_by_card","is_delivery"]},E0={[Ht.Return]:["is_pickup"],[Ht.Shipping]:["is_pickup"],[Ht.Payment]:["pay_by_cash","pay_by_card","is_pickup"]};async function*Sc({q:t,filter:e,bounds:n}={},{controller:r}={}){const o={status:30,page_size:b0};if(t&&(o.q=t),e!=null&&e.type&&(o.type=e.type),e!=null&&e.receive)for(const[u,l]of Object.entries(e==null?void 0:e.receive)){if(!l)continue;const f=w0[u];for(const d of f)o[d]=!0}if(e!=null&&e.send)for(const[u,l]of Object.entries(e==null?void 0:e.send)){if(!l)continue;const f=E0[u];for(const d of f)o[d]=!0}n&&(o.start_latitude=n[0][0],o.end_latitude=n[0][1],o.start_longitude=n[1][0],o.end_longitude=n[1][1]);let i=await gi.get("/locations/points",{params:o,signal:r==null?void 0:r.signal}),s=i.data.data.num_pages,a=i.data.data.current_page;for(;a<s;){yield i,o.page=a+1;const u=await gi.get("/locations/points",{params:o,signal:r==null?void 0:r.signal});i.data.data.results=[...i.data.data.results,...u.data.data.results],i=u,a=u.data.data.current_page,s=u.data.data.num_pages}return yield i,i}const Lc=[],Ac=(t,e,n)=>{var o;const r=new AbortController;return t&&((o=Lc.pop())==null||o.abort()),Lc.push(r),async i=>{const s={controller:r};if(!n){const u=await Sc({filter:e},s).next();i(u.value.data);return}for await(const a of Sc({filter:e,bounds:n},s))i(a.data)}},xc="@omnic/widget-locations",Xs=(t,e)=>{var n;(n=document.getElementById(xc))==null||n.style.setProperty(t,e)},Oc=t=>{t.stopImmediatePropagation()},vi=async(t,e="ROOFTOP")=>{var o;ho.setLocationType(e);const n=await ho.fromLatLng(t[0].toString(),t[1].toString()),r=(o=n.results)==null?void 0:o.map(i=>{var u,l;const s=(u=i.geometry)==null?void 0:u.viewport,a=(l=i.geometry)==null?void 0:l.location;return{...i,geometry:{...i.geometry,viewport:new google.maps.LatLngBounds(s.southwest,s.northeast),location:new google.maps.LatLng(a)}}});return{...n,results:r}},C0={points:[],error:!1,loaded:!1,loading:!1,reloading:!1},zt=Xt()((t,e)=>({...C0,async loadNext(n,r){const o=e().reloading;t({error:!1,reloading:!0}),Ve.getState().setBounds(n);let i=0;try{await Ac(o,r,n)(a=>{t(i===0?{points:a.data.results}:{points:[...e().points,...a.data.results]}),i++})}catch{t({error:!0})}finally{t({reloading:!1})}},async loadFirst(n){const r=e().loading,o=Ve.getState().bounds;t({error:!1,loading:!0});let i=0;try{await Ac(r,n,o)(a=>{i>=1&&t({loading:!1,loaded:!0}),t(i===0?{points:a.data.results}:{points:[...e().points,...a.data.results]}),i++}),t({loading:!1,loaded:!0})}catch{t({error:!0,loading:!1})}finally{t({loading:!1})}}})),S0={query:"",type:sn.All,hours:["08:00","22:00"],send:{[Ht.Return]:!1,[Ht.Payment]:!1,[Ht.Shipping]:!1},receive:{[Ut.PayByCash]:!1,[Ut.CheckOrder]:!1,[Ut.DressingRoom]:!1}},Ln=Xt(t=>({...S0,setFilter(e){Ve.getState().setDetailsOpen(!1),mt.getState().setCourierPoint(null),xt.getState().setSelectedPoint(null),t(e)}})),L0=()=>{c.useEffect(()=>{zt.getState().loadFirst();const t=Ln.subscribe(e=>{zt.getState().loadFirst(e)});return()=>{t()}},[])},Qr=".",$s=Symbol("target"),Mc=Symbol("unsubscribe");function ea(t){return t instanceof Date||t instanceof Set||t instanceof Map||t instanceof WeakSet||t instanceof WeakMap||ArrayBuffer.isView(t)}function A0(t){return(typeof t=="object"?t===null:typeof t!="function")||t instanceof RegExp}const Ft=Array.isArray;function ta(t){return typeof t=="symbol"}const St={after:(t,e)=>Ft(t)?t.slice(e.length):e===""?t:t.slice(e.length+1),concat:(t,e)=>Ft(t)?(t=[...t],e&&t.push(e),t):e&&e.toString!==void 0?(t!==""&&(t+=Qr),ta(e)?t+e.toString():t+e):t,initial:t=>{if(Ft(t))return t.slice(0,-1);if(t==="")return t;const e=t.lastIndexOf(Qr);return e===-1?"":t.slice(0,e)},last:t=>{if(Ft(t))return t[t.length-1]||"";if(t==="")return t;const e=t.lastIndexOf(Qr);return e===-1?t:t.slice(e+1)},walk:(t,e)=>{if(Ft(t))for(const n of t)e(n);else if(t!==""){let n=0,r=t.indexOf(Qr);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(Qr,n)}},get(t,e){return this.walk(e,n=>{t&&(t=t[n])}),t}};function x0(t){return typeof t=="object"&&typeof t.next=="function"}function O0(t,e,n,r,o){const i=t.next;if(e.name==="entries")t.next=function(){const s=i.call(this);return s.done===!1&&(s.value[0]=o(s.value[0],e,s.value[0],r),s.value[1]=o(s.value[1],e,s.value[0],r)),s};else if(e.name==="values"){const s=n[$s].keys();t.next=function(){const a=i.call(this);return a.done===!1&&(a.value=o(a.value,e,s.next().value,r)),a}}else t.next=function(){const s=i.call(this);return s.done===!1&&(s.value=o(s.value,e,s.value,r)),s};return t}function Pc(t,e,n){return t.isUnsubscribed||e.ignoreSymbols&&ta(n)||e.ignoreUnderscores&&n.charAt(0)==="_"||"ignoreKeys"in e&&e.ignoreKeys.includes(n)}class M0{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 o=r[n];return o===void 0&&(o=Reflect.getOwnPropertyDescriptor(e,n),r[n]=o),o}getProxy(e,n,r,o){if(this.isUnsubscribed)return e;const i=e[o],s=i||e;this._pathCache.set(s,n);let a=this._proxyCache.get(s);return a===void 0&&(a=i===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,St.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,o,i){if(!this._equals(i,r)||!(n in e)){const s=this._getOwnPropertyDescriptor(e,n);return s!==void 0&&"set"in s?Reflect.set(e,n,r,o):Reflect.set(e,n,r)}return!0}deleteProperty(e,n,r){if(Reflect.deleteProperty(e,n)){if(!this.isUnsubscribed){const o=this._getDescriptorCache().get(e);o&&(delete o[n],this._pathCache.delete(r))}return!0}return!1}isSameDescriptor(e,n,r){const o=this._getOwnPropertyDescriptor(n,r);return e!==void 0&&o!==void 0&&Object.is(e.value,o.value)&&(e.writable||!1)===(o.writable||!1)&&(e.enumerable||!1)===(o.enumerable||!1)&&(e.configurable||!1)===(o.configurable||!1)&&e.get===o.get&&e.set===o.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 na(t){return toString.call(t)==="[object Object]"}function mi(){return!0}function or(t,e){return t.length!==e.length||t.some((n,r)=>e[r]!==n)}const kc=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),P0=new Set(["concat","includes","indexOf","join","keys","lastIndexOf"]),Ic={push:mi,pop:mi,shift:mi,unshift:mi,copyWithin:or,reverse:or,sort:or,splice:or,flat:or,fill:or},k0=new Set([...kc,...P0,...Object.keys(Ic)]);function yi(t,e){if(t.size!==e.size)return!0;for(const n of t)if(!e.has(n))return!0;return!1}const Dc=["keys","values","entries"],Tc=new Set(["has","toString"]),Bc={add:yi,clear:yi,delete:yi,forEach:yi},I0=new Set([...Tc,...Object.keys(Bc),...Dc]);function bi(t,e){if(t.size!==e.size)return!0;let n;for(const[r,o]of t)if(n=e.get(r),n!==o||n===void 0&&!e.has(r))return!0;return!1}const D0=new Set([...Tc,"get"]),Nc={set:bi,clear:bi,delete:bi,forEach:bi},T0=new Set([...D0,...Object.keys(Nc),...Dc]);class an{constructor(e,n,r,o){this._path=n,this._isChanged=!1,this._clonedCache=new Set,this._hasOnValidate=o,this._changes=o?[]:null,this.clone=n===void 0?e:this._shallowClone(e)}static isHandledMethod(e){return kc.has(e)}_shallowClone(e){let n=e;if(na(e))n={...e};else if(Ft(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,o]of e.entries())n.set(r,this._shallowClone(o))}return this._clonedCache.add(n),n}preferredThisArg(e,n,r,o){return e?(Ft(o)?this._onIsChanged=Ic[n]:o instanceof Set?this._onIsChanged=Bc[n]:o instanceof Map&&(this._onIsChanged=Nc[n]),o):r}update(e,n,r){const o=St.after(e,this._path);if(n!=="length"){let i=this.clone;St.walk(o,s=>{i&&i[s]&&(this._clonedCache.has(i[s])||(i[s]=this._shallowClone(i[s])),i=i[s])}),this._hasOnValidate&&this._changes.push({path:o,property:n,previous:r}),i&&i[n]&&(i[n]=r)}this._isChanged=!0}undo(e){let n;for(let r=this._changes.length-1;r!==-1;r--)n=this._changes[r],St.get(e,n.path)[n.property]=n.previous}isChanged(e){return this._onIsChanged===void 0?this._isChanged:this._onIsChanged(this.clone,e)}}class jc extends an{static isHandledMethod(e){return k0.has(e)}}class B0 extends an{undo(e){e.setTime(this.clone.getTime())}isChanged(e,n){return!n(this.clone.valueOf(),e.valueOf())}}class Uc extends an{static isHandledMethod(e){return I0.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 Hc extends an{static isHandledMethod(e){return T0.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 N0 extends an{constructor(e,n,r,o){super(void 0,n,r,o),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 j0 extends an{constructor(e,n,r,o){super(void 0,n,r,o),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 An{constructor(e){this._stack=[],this._hasOnValidate=e}static isHandledType(e){return na(e)||Ft(e)||ea(e)}static isHandledMethod(e,n){return na(e)?an.isHandledMethod(n):Ft(e)?jc.isHandledMethod(n):e instanceof Set?Uc.isHandledMethod(n):e instanceof Map?Hc.isHandledMethod(n):ea(e)}get isCloning(){return this._stack.length>0}start(e,n,r){let o=an;Ft(e)?o=jc:e instanceof Date?o=B0:e instanceof Set?o=Uc:e instanceof Map?o=Hc:e instanceof WeakSet?o=N0:e instanceof WeakMap&&(o=j0),this._stack.push(new o(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:o}=e,i=An.isHandledMethod(r,o);return this._stack[this._stack.length-1].preferredThisArg(i,o,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 U0={equals:Object.is,isShallow:!1,pathAsArray:!1,ignoreSymbols:!1,ignoreUnderscores:!1,ignoreDetached:!1,details:!1},Yr=(t,e,n={})=>{n={...U0,...n};const r=Symbol("ProxyTarget"),{equals:o,isShallow:i,ignoreDetached:s,details:a}=n,u=new M0(o),l=typeof n.onValidate=="function",f=new An(l),d=(y,b,x,S,v)=>!l||f.isCloning||n.onValidate(St.concat(u.getPath(y),b),x,S,v)===!0,h=(y,b,x,S)=>{!Pc(u,n,b)&&!(s&&u.isDetached(y,t))&&g(u.getPath(y),b,x,S)},g=(y,b,x,S,v)=>{f.isCloning?f.update(y,b,S):e(St.concat(y,b),x,S,v)},m=y=>y&&(y[r]||y),p=(y,b,x,S)=>A0(y)||x==="constructor"||i&&!An.isHandledMethod(b,x)||Pc(u,n,x)||u.isGetInvariant(b,x)||s&&u.isDetached(b,t)?y:(S===void 0&&(S=u.getPath(b)),u.getProxy(y,St.concat(S,x),E,r)),E={get(y,b,x){if(ta(b)){if(b===r||b===$s)return y;if(b===Mc&&!u.isUnsubscribed&&u.getPath(y).length===0)return u.unsubscribe(),y}const S=ea(y)?Reflect.get(y,b):Reflect.get(y,b,x);return p(S,y,b)},set(y,b,x,S){x=m(x);const v=y[r]||y,C=v[b];if(o(C,x)&&b in y)return!0;const A=d(y,b,x,C);return A&&u.setProperty(v,b,x,S,C)?(h(y,b,y[b],C),!0):!A},defineProperty(y,b,x){if(!u.isSameDescriptor(x,y,b)){const S=y[b];d(y,b,x.value,S)&&u.defineProperty(y,b,x,S)&&h(y,b,x.value,S)}return!0},deleteProperty(y,b){if(!Reflect.has(y,b))return!0;const x=Reflect.get(y,b),S=d(y,b,void 0,x);return S&&u.deleteProperty(y,b,x)?(h(y,b,void 0,x),!0):!S},apply(y,b,x){const S=b[r]||b;if(u.isUnsubscribed)return Reflect.apply(y,S,x);if((a===!1||a!==!0&&!a.includes(y.name))&&An.isHandledType(S)){let v=St.initial(u.getPath(y));const C=An.isHandledMethod(S,y.name);f.start(S,v,x);let A=Reflect.apply(y,f.preferredThisArg(y,b,S),C?x.map(O=>m(O)):x);const D=f.isChanged(S,o),M=f.stop();if(An.isHandledType(A)&&C&&(b instanceof Map&&y.name==="get"&&(v=St.concat(v,x[0])),A=u.getProxy(A,v,E)),D){const O={name:y.name,args:x,result:A},k=f.isCloning?St.initial(v):v,N=f.isCloning?St.last(v):"";d(St.get(t,k),N,S,M,O)?g(k,N,S,M,O):f.undo(S)}return(b instanceof Map||b instanceof Set)&&x0(A)?O0(A,y,b,v,p):A}return Reflect.apply(y,b,x)}},w=u.getProxy(t,n.pathAsArray?[]:"",E);return e=e.bind(w),l&&(n.onValidate=n.onValidate.bind(w)),w};Yr.target=t=>t&&t[$s]||t,Yr.unsubscribe=t=>t[Mc]||t;const H0=t=>{const e=t??window.OMNIC_WIDGET_LOCATIONS_CONFIG,[n,r]=c.useState({...vn,...e,map:{...vn.map,...e==null?void 0:e.map},palette:{...vn.palette,...e==null?void 0:e.palette}}),o=t&&!window.OMNIC_WIDGET_LOCATIONS_CONFIG,i=!t&&window.OMNIC_WIDGET_LOCATIONS_CONFIG;return c.useEffect(()=>{o&&r({...vn,...t,map:{...vn.map,...t.map},palette:{...vn.palette,...t.palette}})},[t,o]),c.useEffect(()=>{if(i)return window.OMNIC_WIDGET_LOCATIONS_CONFIG=Yr(window.OMNIC_WIDGET_LOCATIONS_CONFIG,function(){const s=Yr.target(this);s.map&&(s.map={...s.map}),s.palette&&(s.palette={...s.palette}),r({...s})}),()=>{window.OMNIC_WIDGET_LOCATIONS_CONFIG&&Yr.unsubscribe(window.OMNIC_WIDGET_LOCATIONS_CONFIG)}},[i]),n},z0=(t,e)=>{gi.defaults.headers.get.Authorization=`INN ${t}`,e!=null&&e.baseURL&&(gi.defaults.baseURL=e.baseURL)},F0={root:"Overlay-module__root__y8tkGi"},ra=({children:t,className:e})=>L.jsx("div",{className:Ee(F0.root,e),children:t}),V0={loader:"Spinner-module__loader__HX--ed"},oa=()=>L.jsx("div",{className:V0.loader,children:"Loading..."});/*! *****************************************************************************
46
+ */function bu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function wu(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?bu(Object(n),!0).forEach(function(r){bm(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):bu(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function bm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Eu=function(){var t=[];return{activateTrap:function(n){if(t.length>0){var r=t[t.length-1];r!==n&&r.pause()}var o=t.indexOf(n);o===-1||t.splice(o,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()}}}(),wm=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Em=function(e){return e.key==="Escape"||e.key==="Esc"||e.keyCode===27},Cm=function(e){return e.key==="Tab"||e.keyCode===9},Cu=function(e){return setTimeout(e,0)},Su=function(e,n){var r=-1;return e.every(function(o,i){return n(o)?(r=i,!1):!0}),r},Ir=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return typeof e=="function"?e.apply(void 0,r):e},_o=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Sm=function(e,n){var r=(n==null?void 0:n.document)||document,o=wu({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},s,a=function(v,C,x){return v&&v[C]!==void 0?v[C]:o[x||C]},l=function(v){return i.containerGroups.findIndex(function(C){var x=C.container,D=C.tabbableNodes;return x.contains(v)||D.find(function(M){return M===v})})},u=function(v){var C=o[v];if(typeof C=="function"){for(var x=arguments.length,D=new Array(x>1?x-1:0),M=1;M<x;M++)D[M-1]=arguments[M];C=C.apply(void 0,D)}if(C===!0&&(C=void 0),!C){if(C===void 0||C===!1)return C;throw new Error("`".concat(v,"` was specified but was not a node, or did not return a node"))}var O=C;if(typeof C=="string"&&(O=r.querySelector(C),!O))throw new Error("`".concat(v,"` as selector refers to no known node"));return O},f=function(){var v=u("initialFocus");if(v===!1)return!1;if(v===void 0)if(l(r.activeElement)>=0)v=r.activeElement;else{var C=i.tabbableGroups[0],x=C&&C.firstTabbableNode;v=x||u("fallbackFocus")}if(!v)throw new Error("Your focus-trap needs to have at least one focusable element");return v},d=function(){if(i.containerGroups=i.containers.map(function(v){var C=vm(v,o.tabbableOptions),x=mm(v,o.tabbableOptions);return{container:v,tabbableNodes:C,focusableNodes:x,firstTabbableNode:C.length>0?C[0]:null,lastTabbableNode:C.length>0?C[C.length-1]:null,nextTabbableNode:function(M){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,k=x.findIndex(function(N){return N===M});if(!(k<0))return O?x.slice(k+1).find(function(N){return Zo(N,o.tabbableOptions)}):x.slice(0,k).reverse().find(function(N){return Zo(N,o.tabbableOptions)})}}}),i.tabbableGroups=i.containerGroups.filter(function(v){return v.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!u("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 S(v){if(v!==!1&&v!==r.activeElement){if(!v||!v.focus){S(f());return}v.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=v,wm(v)&&v.select()}},g=function(v){var C=u("setReturnFocus",v);return C||(C===!1?!1:v)},m=function(v){var C=_o(v);if(!(l(C)>=0)){if(Ir(o.clickOutsideDeactivates,v)){s.deactivate({returnFocus:o.returnFocusOnDeactivate&&!Is(C,o.tabbableOptions)});return}Ir(o.allowOutsideClick,v)||v.preventDefault()}},p=function(v){var C=_o(v),x=l(C)>=0;x||C instanceof Document?x&&(i.mostRecentlyFocusedNode=C):(v.stopImmediatePropagation(),h(i.mostRecentlyFocusedNode||f()))},E=function(v){var C=_o(v);d();var x=null;if(i.tabbableGroups.length>0){var D=l(C),M=D>=0?i.containerGroups[D]:void 0;if(D<0)v.shiftKey?x=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:x=i.tabbableGroups[0].firstTabbableNode;else if(v.shiftKey){var O=Su(i.tabbableGroups,function(V){var K=V.firstTabbableNode;return C===K});if(O<0&&(M.container===C||Is(C,o.tabbableOptions)&&!Zo(C,o.tabbableOptions)&&!M.nextTabbableNode(C,!1))&&(O=D),O>=0){var k=O===0?i.tabbableGroups.length-1:O-1,N=i.tabbableGroups[k];x=N.lastTabbableNode}}else{var H=Su(i.tabbableGroups,function(V){var K=V.lastTabbableNode;return C===K});if(H<0&&(M.container===C||Is(C,o.tabbableOptions)&&!Zo(C,o.tabbableOptions)&&!M.nextTabbableNode(C))&&(H=D),H>=0){var G=H===i.tabbableGroups.length-1?0:H+1,q=i.tabbableGroups[G];x=q.firstTabbableNode}}}else x=u("fallbackFocus");x&&(v.preventDefault(),h(x))},w=function(v){if(Em(v)&&Ir(o.escapeDeactivates,v)!==!1){v.preventDefault(),s.deactivate();return}if(Cm(v)){E(v);return}},b=function(v){var C=_o(v);l(C)>=0||Ir(o.clickOutsideDeactivates,v)||Ir(o.allowOutsideClick,v)||(v.preventDefault(),v.stopImmediatePropagation())},y=function(){if(i.active)return Eu.activateTrap(s),i.delayInitialFocusTimer=o.delayInitialFocus?Cu(function(){h(f())}):h(f()),r.addEventListener("focusin",p,!0),r.addEventListener("mousedown",m,{capture:!0,passive:!1}),r.addEventListener("touchstart",m,{capture:!0,passive:!1}),r.addEventListener("click",b,{capture:!0,passive:!1}),r.addEventListener("keydown",w,{capture:!0,passive:!1}),s},A=function(){if(i.active)return r.removeEventListener("focusin",p,!0),r.removeEventListener("mousedown",m,!0),r.removeEventListener("touchstart",m,!0),r.removeEventListener("click",b,!0),r.removeEventListener("keydown",w,!0),s};return s={get active(){return i.active},get paused(){return i.paused},activate:function(v){if(i.active)return this;var C=a(v,"onActivate"),x=a(v,"onPostActivate"),D=a(v,"checkCanFocusTrap");D||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,C&&C();var M=function(){D&&d(),y(),x&&x()};return D?(D(i.containers.concat()).then(M,M),this):(M(),this)},deactivate:function(v){if(!i.active)return this;var C=wu({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},v);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,A(),i.active=!1,i.paused=!1,Eu.deactivateTrap(s);var x=a(C,"onDeactivate"),D=a(C,"onPostDeactivate"),M=a(C,"checkCanReturnFocus"),O=a(C,"returnFocus","returnFocusOnDeactivate");x&&x();var k=function(){Cu(function(){O&&h(g(i.nodeFocusedBeforeActivation)),D&&D()})};return O&&M?(M(g(i.nodeFocusedBeforeActivation)).then(k,k),this):(k(),this)},pause:function(){return i.paused||!i.active?this:(i.paused=!0,A(),this)},unpause:function(){return!i.paused||!i.active?this:(i.paused=!1,d(),y(),this)},updateContainerElements:function(v){var C=[].concat(v).filter(Boolean);return i.containers=C.map(function(x){return typeof x=="string"?r.querySelector(x):x}),i.active&&d(),this}},s.updateContainerElements(e),s};function Lm(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 Ds=!1;if(typeof window<"u"){var Lu={get passive(){Ds=!0}};window.addEventListener("testPassive",null,Lu),window.removeEventListener("testPassive",null,Lu)}var xu=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),rn=[],Xo=!1,Au=-1,Dr=void 0,Tr=void 0,Ou=function(e){return rn.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(e))})},$o=function(e){var n=e||window.event;return Ou(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},xm=function(e){if(Tr===void 0){var n=!!e&&e.reserveScrollBarGap===!0,r=window.innerWidth-document.documentElement.clientWidth;n&&r>0&&(Tr=document.body.style.paddingRight,document.body.style.paddingRight=r+"px")}Dr===void 0&&(Dr=document.body.style.overflow,document.body.style.overflow="hidden")},Am=function(){Tr!==void 0&&(document.body.style.paddingRight=Tr,Tr=void 0),Dr!==void 0&&(document.body.style.overflow=Dr,Dr=void 0)},Om=function(e){return e?e.scrollHeight-e.scrollTop<=e.clientHeight:!1},Mm=function(e,n){var r=e.targetTouches[0].clientY-Au;return Ou(e.target)?!1:n&&n.scrollTop===0&&r>0||Om(n)&&r<0?$o(e):(e.stopPropagation(),!0)},Pm=function(e,n){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!rn.some(function(o){return o.targetElement===e})){var r={targetElement:e,options:n||{}};rn=[].concat(Lm(rn),[r]),xu?(e.ontouchstart=function(o){o.targetTouches.length===1&&(Au=o.targetTouches[0].clientY)},e.ontouchmove=function(o){o.targetTouches.length===1&&Mm(o,e)},Xo||(document.addEventListener("touchmove",$o,Ds?{passive:!1}:void 0),Xo=!0)):xm(n)}},km=function(e){if(!e){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}rn=rn.filter(function(n){return n.targetElement!==e}),xu?(e.ontouchstart=null,e.ontouchmove=null,Xo&&rn.length===0&&(document.removeEventListener("touchmove",$o,Ds?{passive:!1}:void 0),Xo=!1)):rn.length||Am()},En=[],Im=function(){return En.some(function(t){return t.activeTargets.length>0})},Dm=function(){return En.some(function(t){return t.skippedTargets.length>0})},Mu="ResizeObserver loop completed with undelivered notifications.",Tm=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:Mu}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=Mu),window.dispatchEvent(t)},Br;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Br||(Br={}));var Cn=function(t){return Object.freeze(t)},Bm=function(){function t(e,n){this.inlineSize=e,this.blockSize=n,Cn(this)}return t}(),Pu=function(){function t(e,n,r,o){return this.x=e,this.y=n,this.width=r,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Cn(this)}return t.prototype.toJSON=function(){var e=this,n=e.x,r=e.y,o=e.top,i=e.right,s=e.bottom,a=e.left,l=e.width,u=e.height;return{x:n,y:r,top:o,right:i,bottom:s,left:a,width:l,height:u}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),Ts=function(t){return t instanceof SVGElement&&"getBBox"in t},ku=function(t){if(Ts(t)){var e=t.getBBox(),n=e.width,r=e.height;return!n&&!r}var o=t,i=o.offsetWidth,s=o.offsetHeight;return!(i||s||t.getClientRects().length)},Iu=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)},Nm=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},Nr=typeof window<"u"?window:{},ei=new WeakMap,Du=/auto|scroll/,jm=/^tb|vertical/,Um=/msie|trident/i.test(Nr.navigator&&Nr.navigator.userAgent),Bt=function(t){return parseFloat(t||"0")},er=function(t,e,n){return t===void 0&&(t=0),e===void 0&&(e=0),n===void 0&&(n=!1),new Bm((n?e:t)||0,(n?t:e)||0)},Tu=Cn({devicePixelContentBoxSize:er(),borderBoxSize:er(),contentBoxSize:er(),contentRect:new Pu(0,0,0,0)}),Bu=function(t,e){if(e===void 0&&(e=!1),ei.has(t)&&!e)return ei.get(t);if(ku(t))return ei.set(t,Tu),Tu;var n=getComputedStyle(t),r=Ts(t)&&t.ownerSVGElement&&t.getBBox(),o=!Um&&n.boxSizing==="border-box",i=jm.test(n.writingMode||""),s=!r&&Du.test(n.overflowY||""),a=!r&&Du.test(n.overflowX||""),l=r?0:Bt(n.paddingTop),u=r?0:Bt(n.paddingRight),f=r?0:Bt(n.paddingBottom),d=r?0:Bt(n.paddingLeft),h=r?0:Bt(n.borderTopWidth),g=r?0:Bt(n.borderRightWidth),m=r?0:Bt(n.borderBottomWidth),p=r?0:Bt(n.borderLeftWidth),E=d+u,w=l+f,b=p+g,y=h+m,A=a?t.offsetHeight-y-t.clientHeight:0,S=s?t.offsetWidth-b-t.clientWidth:0,v=o?E+b:0,C=o?w+y:0,x=r?r.width:Bt(n.width)-v-S,D=r?r.height:Bt(n.height)-C-A,M=x+E+S+b,O=D+w+A+y,k=Cn({devicePixelContentBoxSize:er(Math.round(x*devicePixelRatio),Math.round(D*devicePixelRatio),i),borderBoxSize:er(M,O,i),contentBoxSize:er(x,D,i),contentRect:new Pu(d,l,x,D)});return ei.set(t,k),k},Nu=function(t,e,n){var r=Bu(t,n),o=r.borderBoxSize,i=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(e){case Br.DEVICE_PIXEL_CONTENT_BOX:return s;case Br.BORDER_BOX:return o;default:return i}},Hm=function(){function t(e){var n=Bu(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=Cn([n.borderBoxSize]),this.contentBoxSize=Cn([n.contentBoxSize]),this.devicePixelContentBoxSize=Cn([n.devicePixelContentBoxSize])}return t}(),ju=function(t){if(ku(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},zm=function(){var t=1/0,e=[];En.forEach(function(s){if(s.activeTargets.length!==0){var a=[];s.activeTargets.forEach(function(u){var f=new Hm(u.target),d=ju(u.target);a.push(f),u.lastReportedSize=Nu(u.target,u.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 o=r[n];o()}return t},Uu=function(t){En.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(o){o.isActive()&&(ju(o.target)>t?n.activeTargets.push(o):n.skippedTargets.push(o))})})},Fm=function(){var t=0;for(Uu(t);Im();)t=zm(),Uu(t);return Dm()&&Tm(),t>0},Bs,Hu=[],Vm=function(){return Hu.splice(0).forEach(function(t){return t()})},Gm=function(t){if(!Bs){var e=0,n=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return Vm()}).observe(n,r),Bs=function(){n.textContent="".concat(e?e--:e++)}}Hu.push(t),Bs()},Qm=function(t){Gm(function(){requestAnimationFrame(t)})},ti=0,Ym=function(){return!!ti},Wm=250,Rm={attributes:!0,characterData:!0,childList:!0,subtree:!0},zu=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Fu=function(t){return t===void 0&&(t=0),Date.now()+t},Ns=!1,Km=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=Wm),!Ns){Ns=!0;var r=Fu(e);Qm(function(){var o=!1;try{o=Fm()}finally{if(Ns=!1,e=r-Fu(),!Ym())return;o?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,Rm)};document.body?n():Nr.addEventListener("DOMContentLoaded",n)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),zu.forEach(function(n){return Nr.addEventListener(n,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),zu.forEach(function(n){return Nr.removeEventListener(n,e.listener,!0)}),this.stopped=!0)},t}(),js=new Km,Vu=function(t){!ti&&t>0&&js.start(),ti+=t,!ti&&js.stop()},qm=function(t){return!Ts(t)&&!Nm(t)&&getComputedStyle(t).display==="inline"},Jm=function(){function t(e,n){this.target=e,this.observedBox=n||Br.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=Nu(this.target,this.observedBox,!0);return qm(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),Zm=function(){function t(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n}return t}(),ni=new WeakMap,Gu=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 Zm(e,n);ni.set(e,r)},t.observe=function(e,n,r){var o=ni.get(e),i=o.observationTargets.length===0;Gu(o.observationTargets,n)<0&&(i&&En.push(o),o.observationTargets.push(new Jm(n,r&&r.box)),Vu(1),js.schedule())},t.unobserve=function(e,n){var r=ni.get(e),o=Gu(r.observationTargets,n),i=r.observationTargets.length===1;o>=0&&(i&&En.splice(En.indexOf(r),1),r.observationTargets.splice(o,1),Vu(-1))},t.disconnect=function(e){var n=this,r=ni.get(e);r.observationTargets.slice().forEach(function(o){return n.unobserve(e,o.target)}),r.activeTargets.splice(0,r.activeTargets.length)},t}(),_m=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(!Iu(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(!Iu(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 it(){return it=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},it.apply(this,arguments)}function oi(t,e){if(t==null)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e.indexOf(n=i[r])>=0||(o[n]=t[n]);return o}var jr=typeof window<"u"?c.useLayoutEffect:c.useEffect;function Ur(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 Xm={box:"border-box"};function Us(t,e){var n=e.label,r=e.enabled,o=e.resizeSourceRef,i=c.useState(0),s=i[0],a=i[1];c.useDebugValue(n+": "+s);var l=c.useCallback(function(u){a(u[0].borderBoxSize[0].blockSize),o.current="element"},[o]);return jr(function(){if(t.current&&r){var u=new _m(l);return u.observe(t.current,Xm),function(){u.disconnect()}}},[t,l,r]),r?s:0}function st(t){return t===void 0&&(t=1e3),new Promise(function(e){return setTimeout(e,t)})}var Qu={DRAG:{target:"#overlay.dragging",actions:"onOpenEnd"}},Yu={RESIZE:{target:"#overlay.resizing",actions:"onOpenEnd"}},$m=Ag({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:it({},Qu,Yu)}}},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:it({},Qu,Yu)}}},end:{invoke:{src:"onOpenEnd",onDone:"done"},on:{CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:it({},{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:[Og({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(st()).then(function(){})}catch(t){return Promise.reject(t)}},onOpenStart:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onCloseStart:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onResizeStart:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onSnapEnd:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onOpenEnd:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onCloseEnd:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},onResizeEnd:function(){try{return Promise.resolve(st()).then(function(){})}catch(t){return Promise.reject(t)}},renderVisuallyHidden:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},activate:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},deactivate:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},openSmoothly:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},openImmediately:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},snapSmoothly:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},resizeSmoothly:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}},closeSmoothly:function(t,e){try{return Promise.resolve(st()).then(function(){})}catch(n){return Promise.reject(n)}}},guards:{initiallyClosed:function(t){return t.initialState==="CLOSED"},initiallyOpen:function(t){return t.initialState==="OPEN"}}}),ey=["children","sibling","className","footer","header","open","initialState","lastSnapRef","initialFocusRef","onDismiss","maxHeight","defaultSnap","snapPoints","blocking","scrollLocking","style","onSpringStart","onSpringCancel","onSpringEnd","reserveScrollBarGap","expandOnContentDrag"],ty=["velocity"],ny=["onRest","config"],Wu=$g.default,ry=Wu.tension,si=Wu.friction,oy=c.forwardRef(function(t,e){var n=t.children,r=t.sibling,o=t.className,i=t.footer,s=t.header,a=t.open,l=t.initialState,u=t.lastSnapRef,f=t.initialFocusRef,d=t.onDismiss,h=t.maxHeight,g=t.defaultSnap,m=g===void 0?sy:g,p=t.snapPoints,E=p===void 0?ay:p,w=t.blocking,b=w===void 0||w,y=t.scrollLocking,A=y===void 0||y,S=t.style,v=t.onSpringStart,C=t.onSpringCancel,x=t.onSpringEnd,D=t.reserveScrollBarGap,M=D===void 0?b:D,O=t.expandOnContentDrag,k=O!==void 0&&O,N=oi(t,ey),H=function(){var z=c.useState(!1),ne=z[0],J=z[1],me=c.useState({}),Ie=me[0],Se=me[1],De=c.useCallback(function(Pe){return Se(function(He){var de;return it({},He,((de={})[Pe]=!1,de))}),function(){Se(function(He){var de;return it({},He,((de={})[Pe]=!0,de))})}},[]);return c.useEffect(function(){var Pe=Object.values(Ie);Pe.length!==0&&Pe.every(Boolean)&&J(!0)},[Ie]),{ready:ne,registerReady:De}}(),G=H.ready,q=H.registerReady,V=c.useRef(!1),K=c.useRef(v),B=c.useRef(C),I=c.useRef(x);c.useEffect(function(){K.current=v,B.current=C,I.current=x},[C,v,x]);var T,F,U=ov(function(){return{y:0,ready:0,maxHeight:0,minSnap:0,maxSnap:0}}),Y=U[0],ee=U[1],P=c.useRef(null),Q=c.useRef(null),Z=c.useRef(null),R=c.useRef(null),te=c.useRef(null),ie=c.useRef(null),re=c.useRef(0),fe=c.useRef(),je=c.useRef(!1),ve=(T=c.useMemo(function(){return typeof window<"u"?window.matchMedia("(prefers-reduced-motion: reduce)"):null},[]),F=c.useRef(T==null?void 0:T.matches),c.useDebugValue(F.current?"reduce":"no-preference"),c.useEffect(function(){var z=function(ne){F.current=ne.matches};return T==null||T.addListener(z),function(){return T==null?void 0:T.removeListener(z)}},[T]),F),ye=function(z){var ne=z.targetRef,J=z.enabled,me=z.reserveScrollBarGap,Ie=c.useRef({activate:function(){throw new TypeError("Tried to activate scroll lock too early")},deactivate:function(){}});return c.useDebugValue(J?"Enabled":"Disabled"),c.useEffect(function(){if(!J)return Ie.current.deactivate(),void(Ie.current={activate:function(){},deactivate:function(){}});var Se=ne.current,De=!1;Ie.current={activate:function(){De||(De=!0,Pm(Se,{allowTouchMove:function(Pe){return Pe.closest("[data-body-scroll-lock-ignore]")},reserveScrollBarGap:me}))},deactivate:function(){De&&(De=!1,km(Se))}}},[J,ne,me]),Ie}({targetRef:Q,enabled:G&&A,reserveScrollBarGap:M}),Ne=function(z){var ne=z.targetRef,J=z.enabled,me=c.useRef({activate:function(){throw new TypeError("Tried to activate aria hider too early")},deactivate:function(){}});return c.useDebugValue(J?"Enabled":"Disabled"),c.useEffect(function(){if(!J)return me.current.deactivate(),void(me.current={activate:function(){},deactivate:function(){}});var Ie=ne.current,Se=!1,De=[],Pe=[];me.current={activate:function(){if(!Se){Se=!0;var He=Ie.parentNode;document.querySelectorAll("body > *").forEach(function(de){if(de!==He){var we=de.getAttribute("aria-hidden");we!==null&&we!=="false"||(De.push(we),Pe.push(de),de.setAttribute("aria-hidden","true"))}})}},deactivate:function(){Se&&(Se=!1,Pe.forEach(function(He,de){var we=De[de];we===null?He.removeAttribute("aria-hidden"):He.setAttribute("aria-hidden",we)}),De=[],Pe=[])}}},[ne,J]),me}({targetRef:P,enabled:G&&b}),Me=function(z){var ne=z.targetRef,J=z.fallbackRef,me=z.initialFocusRef,Ie=z.enabled,Se=c.useRef({activate:function(){throw new TypeError("Tried to activate focus trap too early")},deactivate:function(){}});return c.useDebugValue(Ie?"Enabled":"Disabled"),c.useEffect(function(){if(!Ie)return Se.current.deactivate(),void(Se.current={activate:function(){},deactivate:function(){}});var De=J.current,Pe=Sm(ne.current,{onActivate:void 0,initialFocus:me?function(){return(me==null?void 0:me.current)||De}:void 0,fallbackFocus:De,escapeDeactivates:!1,clickOutsideDeactivates:!1}),He=!1;Se.current={activate:function(){try{return He?Promise.resolve():(He=!0,Promise.resolve(Pe.activate()).then(function(){return Promise.resolve(new Promise(function(de){return setTimeout(function(){return de(void 0)},0)})).then(function(){})}))}catch(de){return Promise.reject(de)}},deactivate:function(){He&&(He=!1,Pe.deactivate())}}},[Ie,J,me,ne]),Se}({targetRef:P,fallbackRef:ie,initialFocusRef:f||void 0,enabled:G&&b&&f!==!1}),ke=function(z){var ne=z.getSnapPoints,J=z.heightRef,me=z.lastSnapRef,Ie=z.ready,Se=function(Je){var pt=Je.contentRef,gt=Je.controlledMaxHeight,tt=Je.footerEnabled,Gt=Je.footerRef,It=Je.headerEnabled,vt=Je.headerRef,dn=Je.registerReady,Jt=Je.resizeSourceRef,ro=c.useMemo(function(){return dn("contentHeight")},[dn]),oo=function(hn,Tn,Bn){var Nn=c.useMemo(function(){return Tn("maxHeight")},[Tn]),jn=c.useState(function(){return ii(hn)||typeof window<"u"?window.innerHeight:0}),ao=jn[0],lo=jn[1],pn=ao>0,oe=c.useRef(0);return c.useDebugValue(hn?"controlled":"auto"),c.useEffect(function(){pn&&Nn()},[pn,Nn]),jr(function(){if(hn)return lo(ii(hn)),void(Bn.current="maxheightprop");var Fd=function(){oe.current||(oe.current=requestAnimationFrame(function(){lo(window.innerHeight),Bn.current="window",oe.current=0}))};return window.addEventListener("resize",Fd),lo(window.innerHeight),Bn.current="window",Nn(),function(){window.removeEventListener("resize",Fd),cancelAnimationFrame(oe.current)}},[hn,Nn,Bn]),ao}(gt,dn,Jt),ur=Us(vt,{label:"headerHeight",enabled:It,resizeSourceRef:Jt}),io=Us(pt,{label:"contentHeight",enabled:!0,resizeSourceRef:Jt}),cr=Us(Gt,{label:"footerHeight",enabled:tt,resizeSourceRef:Jt}),Dn=Math.min(oo-ur-cr,io)+ur+cr;c.useDebugValue("minHeight: "+Dn);var so=io>0;return c.useEffect(function(){so&&ro()},[so,ro]),{maxHeight:oo,minHeight:Dn,headerHeight:ur,footerHeight:cr}}({contentRef:z.contentRef,controlledMaxHeight:z.controlledMaxHeight,footerEnabled:z.footerEnabled,footerRef:z.footerRef,headerEnabled:z.headerEnabled,headerRef:z.headerRef,registerReady:z.registerReady,resizeSourceRef:z.resizeSourceRef}),De=Se.maxHeight,Pe=Se.minHeight,He=Se.headerHeight,de=Se.footerHeight,we=function(Je,pt){var gt=[].concat(Je).map(ii).reduce(function(vt,dn){return vt.add(Ur(dn,0,pt)),vt},new Set),tt=Array.from(gt),Gt=Math.min.apply(Math,tt);if(Number.isNaN(Gt))throw new TypeError("minSnap is NaN");var It=Math.max.apply(Math,tt);if(Number.isNaN(It))throw new TypeError("maxSnap is NaN");return{snapPoints:tt,minSnap:Gt,maxSnap:It}}(Ie?ne({height:J.current,footerHeight:de,headerHeight:He,minHeight:Pe,maxHeight:De}):[0],De),ct=we.snapPoints,qt=we.minSnap,lt=we.maxSnap;return c.useDebugValue("minSnap: "+qt+", maxSnap:"+lt),{minSnap:qt,maxSnap:lt,findSnap:function(Je){var pt=ii(typeof Je=="function"?Je({footerHeight:de,headerHeight:He,height:J.current,minHeight:Pe,maxHeight:De,snapPoints:ct,lastSnap:me.current}):Je);return ct.reduce(function(gt,tt){return Math.abs(tt-pt)<Math.abs(gt-pt)?tt:gt},qt)},maxHeight:De}}({contentRef:Z,controlledMaxHeight:h,footerEnabled:!!i,footerRef:te,getSnapPoints:E,headerEnabled:s!==!1,headerRef:R,heightRef:re,lastSnapRef:u,ready:G,registerReady:q,resizeSourceRef:fe}),ae=ke.minSnap,le=ke.maxSnap,Ge=ke.maxHeight,_e=ke.findSnap,_=c.useRef(Ge),Qe=c.useRef(ae),Ue=c.useRef(le),ht=c.useRef(_e),at=c.useRef(0);jr(function(){_.current=Ge,Ue.current=le,Qe.current=ae,ht.current=_e,at.current=_e(m)},[_e,m,Ge,le,ae]);var ue=c.useCallback(function(z){var ne=z.onRest,J=z.config,me=(J=J===void 0?{}:J).velocity,Ie=me===void 0?1:me,Se=oi(J,ty),De=oi(z,ny);return new Promise(function(Pe){return ee(it({},De,{config:it({velocity:Ie},Se,{mass:1,tension:ry,friction:Math.max(si,si+(si-si*Ie))}),onRest:function(){var He=[].slice.call(arguments);Pe.apply(void 0,He),ne==null||ne.apply(void 0,He)}}))})},[ee]),In=jg($m,{devTools:!1,actions:{onOpenCancel:c.useCallback(function(){return B.current==null?void 0:B.current({type:"OPEN"})},[]),onSnapCancel:c.useCallback(function(z){return B.current==null?void 0:B.current({type:"SNAP",source:z.snapSource})},[]),onCloseCancel:c.useCallback(function(){return B.current==null?void 0:B.current({type:"CLOSE"})},[]),onResizeCancel:c.useCallback(function(){return B.current==null?void 0:B.current({type:"RESIZE",source:fe.current})},[]),onOpenEnd:c.useCallback(function(){return I.current==null?void 0:I.current({type:"OPEN"})},[]),onSnapEnd:c.useCallback(function(z,ne){return I.current==null?void 0:I.current({type:"SNAP",source:z.snapSource})},[]),onResizeEnd:c.useCallback(function(){return I.current==null?void 0:I.current({type:"RESIZE",source:fe.current})},[])},context:{initialState:l},services:{onSnapStart:c.useCallback(function(z,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:c.useCallback(function(){try{return Promise.resolve(K.current==null?void 0:K.current({type:"OPEN"}))}catch(z){return Promise.reject(z)}},[]),onCloseStart:c.useCallback(function(){try{return Promise.resolve(K.current==null?void 0:K.current({type:"CLOSE"}))}catch(z){return Promise.reject(z)}},[]),onResizeStart:c.useCallback(function(){try{return Promise.resolve(K.current==null?void 0:K.current({type:"RESIZE",source:fe.current}))}catch(z){return Promise.reject(z)}},[]),onSnapEnd:c.useCallback(function(z,ne){try{return Promise.resolve(I.current==null?void 0:I.current({type:"SNAP",source:z.snapSource}))}catch(J){return Promise.reject(J)}},[]),onOpenEnd:c.useCallback(function(){try{return Promise.resolve(I.current==null?void 0:I.current({type:"OPEN"}))}catch(z){return Promise.reject(z)}},[]),onCloseEnd:c.useCallback(function(){try{return Promise.resolve(I.current==null?void 0:I.current({type:"CLOSE"}))}catch(z){return Promise.reject(z)}},[]),onResizeEnd:c.useCallback(function(){try{return Promise.resolve(I.current==null?void 0:I.current({type:"RESIZE",source:fe.current}))}catch(z){return Promise.reject(z)}},[]),renderVisuallyHidden:c.useCallback(function(z,ne){try{return Promise.resolve(ue({y:at.current,ready:0,maxHeight:_.current,maxSnap:Ue.current,minSnap:at.current,immediate:!0})).then(function(){})}catch(J){return Promise.reject(J)}},[ue]),activate:c.useCallback(function(z,ne){try{return V.current=!0,Promise.resolve(Promise.all([ye.current.activate(),Me.current.activate(),Ne.current.activate()])).then(function(){})}catch(J){return Promise.reject(J)}},[Ne,Me,ye]),deactivate:c.useCallback(function(){try{return ye.current.deactivate(),Me.current.deactivate(),Ne.current.deactivate(),V.current=!1,Promise.resolve()}catch(z){return Promise.reject(z)}},[Ne,Me,ye]),openImmediately:c.useCallback(function(){try{return re.current=at.current,Promise.resolve(ue({y:at.current,ready:1,maxHeight:_.current,maxSnap:Ue.current,minSnap:at.current,immediate:!0})).then(function(){})}catch(z){return Promise.reject(z)}},[ue]),openSmoothly:c.useCallback(function(){try{return Promise.resolve(ue({y:0,ready:1,maxHeight:_.current,maxSnap:Ue.current,minSnap:at.current,immediate:!0})).then(function(){return re.current=at.current,Promise.resolve(ue({y:at.current,ready:1,maxHeight:_.current,maxSnap:Ue.current,minSnap:at.current,immediate:ve.current})).then(function(){})})}catch(z){return Promise.reject(z)}},[ue,ve]),snapSmoothly:c.useCallback(function(z,ne){try{var J=ht.current(z.y);return re.current=J,u.current=J,Promise.resolve(ue({y:J,ready:1,maxHeight:_.current,maxSnap:Ue.current,minSnap:Qe.current,immediate:ve.current,config:{velocity:z.velocity}})).then(function(){})}catch(me){return Promise.reject(me)}},[ue,u,ve]),resizeSmoothly:c.useCallback(function(){try{var z=ht.current(re.current);return re.current=z,u.current=z,Promise.resolve(ue({y:z,ready:1,maxHeight:_.current,maxSnap:Ue.current,minSnap:Qe.current,immediate:fe.current!=="element"||ve.current})).then(function(){})}catch(ne){return Promise.reject(ne)}},[ue,u,ve]),closeSmoothly:c.useCallback(function(z,ne){try{return ue({minSnap:re.current,immediate:!0}),re.current=0,Promise.resolve(ue({y:0,maxHeight:_.current,maxSnap:Ue.current,immediate:ve.current})).then(function(){return Promise.resolve(ue({ready:0,immediate:!0})).then(function(){})})}catch(J){return Promise.reject(J)}},[ue,ve])}}),Ui=In[0],kt=In[1];c.useEffect(function(){G&&kt(a?"OPEN":"CLOSE")},[a,kt,G]),jr(function(){(Ge||le||ae)&&kt("RESIZE")},[Ge,le,ae,kt]),c.useEffect(function(){return function(){ye.current.deactivate(),Me.current.deactivate(),Ne.current.deactivate()}},[Ne,Me,ye]),c.useImperativeHandle(e,function(){return{snapTo:function(z,ne){var J=ne===void 0?{}:ne,me=J.velocity,Ie=me===void 0?1:me,Se=J.source,De=Se===void 0?"custom":Se;kt("SNAP",{payload:{y:ht.current(z),velocity:Ie,source:De}})},get height(){return re.current}}},[kt]),c.useEffect(function(){var z=Q.current,ne=function(me){je.current&&me.preventDefault()},J=function(me){z.scrollTop<0&&(requestAnimationFrame(function(){z.style.overflow="hidden",z.scrollTop=0,z.style.removeProperty("overflow")}),me.preventDefault())};return k&&(z.addEventListener("scroll",ne),z.addEventListener("touchmove",ne),z.addEventListener("touchstart",J)),function(){z.removeEventListener("scroll",ne),z.removeEventListener("touchmove",ne),z.removeEventListener("touchstart",J)}},[k,Q]);var Kt=om(function(z){var ne=z.args,J=(ne=ne===void 0?[]:ne)[0],me=(J=J===void 0?{}:J).closeOnTap,Ie=me!==void 0&&me,Se=J.isContentDragging,De=Se!==void 0&&Se,Pe=z.cancel,He=z.direction[1],de=z.down,we=z.first,ct=z.last,qt=z.memo,lt=qt===void 0?Y.y.getValue():qt,Je=z.tap,pt=z.velocity,gt=-1*z.movement[1];if(!V.current)return Pe(),lt;if(d&&Ie&&Je)return Pe(),setTimeout(function(){return d()},0),lt;if(Je)return lt;var tt=lt+gt,Gt=gt*pt,It=Math.max(Qe.current,Math.min(Ue.current,tt+2*Gt));if(!de&&d&&He>0&&tt+Gt<Qe.current/2)return Pe(),d(),lt;var vt=de?d||Qe.current!==Ue.current?Mr(tt,d?0:Qe.current,Ue.current,.55):tt<Qe.current?Mr(tt,Qe.current,2*Ue.current,.55):Mr(tt,Qe.current/2,Ue.current,.55):It;return k&&De?(vt>=Ue.current&&(vt=Ue.current),lt===Ue.current&&Q.current.scrollTop>0&&(vt=Ue.current),je.current=vt<Ue.current):je.current=!1,we&&kt("DRAG"),ct?(kt("SNAP",{payload:{y:vt,velocity:pt>.05?pt:1,source:"dragging"}}),lt):(ee({y:vt,ready:1,maxHeight:_.current,maxSnap:Ue.current,minSnap:Qe.current,immediate:!0,config:{velocity:pt}}),lt)},{filterTaps:!0});if(Number.isNaN(Ue.current))throw new TypeError("maxSnapRef is NaN!!");if(Number.isNaN(Qe.current))throw new TypeError("minSnapRef is NaN!!");var Hi=function(z){var ne,J=z.spring,me=Xn([J.y,J.maxHeight],function(de,we){return Math.round(Ur(we-de,0,16))+"px"}),Ie=Xn([J.y,J.minSnap,J.maxSnap],function(de,we,ct){return Ur(de,we,ct)+"px"}),Se=Xn([J.y,J.minSnap,J.maxSnap],function(de,we,ct){return de<we?we-de+"px":de>ct?ct-de+"px":"0px"}),De=Xn([J.y,J.maxSnap],function(de,we){return de>=we?Math.ceil(de-we):0}),Pe=Xn([J.y,J.minSnap],function(de,we){if(!we)return 0;var ct=Math.max(we/2-45,0);return Ur((de-ct)*(1/(Math.min(we/2+45,we)-ct)+0),0,1)}),He=Xn([J.y,J.minSnap],function(de,we){return we?Ur(de/we,0,1):0});return(ne={})["--rsbs-content-opacity"]=Pe,ne["--rsbs-backdrop-opacity"]=He,ne["--rsbs-antigap-scale-y"]=De,ne["--rsbs-overlay-translate-y"]=Se,ne["--rsbs-overlay-rounded"]=me,ne["--rsbs-overlay-h"]=Ie,ne}({spring:Y});return c.createElement(Cv.div,it({},N,{"data-rsbs-root":!0,"data-rsbs-state":iy.find(Ui.matches),"data-rsbs-is-blocking":b,"data-rsbs-is-dismissable":!!d,"data-rsbs-has-header":!!s,"data-rsbs-has-footer":!!i,className:o,ref:P,style:it({},Hi,S,{opacity:Y.ready})}),r,b&&c.createElement("div",it({key:"backdrop","data-rsbs-backdrop":!0},Kt({closeOnTap:!0}))),c.createElement("div",{key:"overlay","aria-modal":"true",role:"dialog","data-rsbs-overlay":!0,tabIndex:-1,ref:ie,onKeyDown:function(z){z.key==="Escape"&&(z.stopPropagation(),d&&d())}},s!==!1&&c.createElement("div",it({key:"header","data-rsbs-header":!0,ref:R},Kt()),s),c.createElement("div",it({key:"scroll","data-rsbs-scroll":!0,ref:Q},k?Kt({isContentDragging:!0}):{}),c.createElement("div",{"data-rsbs-content":!0,ref:Z},n)),i&&c.createElement("div",it({key:"footer",ref:te,"data-rsbs-footer":!0},Kt()),i)))}),iy=["closed","opening","open","closing","dragging","snapping","resizing"];function sy(t){var e=t.lastSnap;return e??Math.min.apply(Math,t.snapPoints)}function ay(t){return t.minHeight}var ly=["onSpringStart","onSpringEnd","skipInitialTransition"],Ru=c.forwardRef(function(t,e){var n=t.onSpringStart,r=t.onSpringEnd,o=t.skipInitialTransition,i=oi(t,ly),s=c.useState(!1),a=s[0],l=s[1],u=c.useRef(),f=c.useRef(null),d=c.useRef(o&&i.open?"OPEN":"CLOSED");jr(function(){if(i.open)return cancelAnimationFrame(u.current),l(!0),function(){d.current="CLOSED"}},[i.open]);var h=c.useCallback(function(m){return Promise.resolve(n==null?void 0:n(m)).then(function(){m.type==="OPEN"&&cancelAnimationFrame(u.current)})},[n]),g=c.useCallback(function(m){return Promise.resolve(r==null?void 0:r(m)).then(function(){m.type==="CLOSE"&&(u.current=requestAnimationFrame(function(){return l(!1)}))})},[r]);return a?c.createElement(Ip,{"data-rsbs-portal":!0},c.createElement(oy,it({},i,{lastSnapRef:f,ref:e,initialState:d.current,onSpringStart:h,onSpringEnd:g}))):null});function Ku(t,e){return function(){return t.apply(e,arguments)}}const{toString:uy}=Object.prototype,{getPrototypeOf:Hs}=Object,ai=(t=>e=>{const n=uy.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Nt=t=>(t=t.toLowerCase(),e=>ai(e)===t),li=t=>e=>typeof e===t,{isArray:tr}=Array,Hr=li("undefined");function cy(t){return t!==null&&!Hr(t)&&t.constructor!==null&&!Hr(t.constructor)&&Ct(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const qu=Nt("ArrayBuffer");function fy(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&qu(t.buffer),e}const dy=li("string"),Ct=li("function"),Ju=li("number"),ui=t=>t!==null&&typeof t=="object",hy=t=>t===!0||t===!1,ci=t=>{if(ai(t)!=="object")return!1;const e=Hs(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},py=Nt("Date"),gy=Nt("File"),vy=Nt("Blob"),my=Nt("FileList"),yy=t=>ui(t)&&Ct(t.pipe),by=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Ct(t.append)&&((e=ai(t))==="formdata"||e==="object"&&Ct(t.toString)&&t.toString()==="[object FormData]"))},wy=Nt("URLSearchParams"),Ey=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function zr(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,o;if(typeof t!="object"&&(t=[t]),tr(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),s=i.length;let a;for(r=0;r<s;r++)a=i[r],e.call(null,t[a],a,t)}}function Zu(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,o;for(;r-- >0;)if(o=n[r],e===o.toLowerCase())return o;return null}const _u=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Xu=t=>!Hr(t)&&t!==_u;function zs(){const{caseless:t}=Xu(this)&&this||{},e={},n=(r,o)=>{const i=t&&Zu(e,o)||o;ci(e[i])&&ci(r)?e[i]=zs(e[i],r):ci(r)?e[i]=zs({},r):tr(r)?e[i]=r.slice():e[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&zr(arguments[r],n);return e}const Cy=(t,e,n,{allOwnKeys:r}={})=>(zr(e,(o,i)=>{n&&Ct(o)?t[i]=Ku(o,n):t[i]=o},{allOwnKeys:r}),t),Sy=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Ly=(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)},xy=(t,e,n,r)=>{let o,i,s;const a={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)s=o[i],(!r||r(s,t,e))&&!a[s]&&(e[s]=t[s],a[s]=!0);t=n!==!1&&Hs(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},Ay=(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},Oy=t=>{if(!t)return null;if(tr(t))return t;let e=t.length;if(!Ju(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},My=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Hs(Uint8Array)),Py=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=r.next())&&!o.done;){const i=o.value;e.call(t,i[0],i[1])}},ky=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},Iy=Nt("HTMLFormElement"),Dy=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),$u=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Ty=Nt("RegExp"),ec=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};zr(n,(o,i)=>{let s;(s=e(o,i,t))!==!1&&(r[i]=s||o)}),Object.defineProperties(t,r)},By=t=>{ec(t,(e,n)=>{if(Ct(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(Ct(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+"'")})}})},Ny=(t,e)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return tr(t)?r(t):r(String(t).split(e)),n},jy=()=>{},Uy=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Fs="abcdefghijklmnopqrstuvwxyz",tc="0123456789",nc={DIGIT:tc,ALPHA:Fs,ALPHA_DIGIT:Fs+Fs.toUpperCase()+tc},Hy=(t=16,e=nc.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function zy(t){return!!(t&&Ct(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const Fy=t=>{const e=new Array(10),n=(r,o)=>{if(ui(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[o]=r;const i=tr(r)?[]:{};return zr(r,(s,a)=>{const l=n(s,o+1);!Hr(l)&&(i[a]=l)}),e[o]=void 0,i}}return r};return n(t,0)},Vy=Nt("AsyncFunction"),j={isArray:tr,isArrayBuffer:qu,isBuffer:cy,isFormData:by,isArrayBufferView:fy,isString:dy,isNumber:Ju,isBoolean:hy,isObject:ui,isPlainObject:ci,isUndefined:Hr,isDate:py,isFile:gy,isBlob:vy,isRegExp:Ty,isFunction:Ct,isStream:yy,isURLSearchParams:wy,isTypedArray:My,isFileList:my,forEach:zr,merge:zs,extend:Cy,trim:Ey,stripBOM:Sy,inherits:Ly,toFlatObject:xy,kindOf:ai,kindOfTest:Nt,endsWith:Ay,toArray:Oy,forEachEntry:Py,matchAll:ky,isHTMLForm:Iy,hasOwnProperty:$u,hasOwnProp:$u,reduceDescriptors:ec,freezeMethods:By,toObjectSet:Ny,toCamelCase:Dy,noop:jy,toFiniteNumber:Uy,findKey:Zu,global:_u,isContextDefined:Xu,ALPHABET:nc,generateString:Hy,isSpecCompliantForm:zy,toJSONObject:Fy,isAsyncFn:Vy,isThenable:t=>t&&(ui(t)||Ct(t))&&Ct(t.then)&&Ct(t.catch)};function Ce(t,e,n,r,o){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),o&&(this.response=o)}j.inherits(Ce,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 rc=Ce.prototype,oc={};["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=>{oc[t]={value:t}}),Object.defineProperties(Ce,oc),Object.defineProperty(rc,"isAxiosError",{value:!0}),Ce.from=(t,e,n,r,o,i)=>{const s=Object.create(rc);return j.toFlatObject(t,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Ce.call(s,t.message,e,n,r,o),s.cause=t,s.name=t.name,i&&Object.assign(s,i),s};const Gy=null;function Vs(t){return j.isPlainObject(t)||j.isArray(t)}function ic(t){return j.endsWith(t,"[]")?t.slice(0,-2):t}function sc(t,e,n){return t?t.concat(e).map(function(o,i){return o=ic(o),!n&&i?"["+o+"]":o}).join(n?".":""):e}function Qy(t){return j.isArray(t)&&!t.some(Vs)}const Yy=j.toFlatObject(j,{},null,function(e){return/^is[A-Z]/.test(e)});function fi(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,E){return!j.isUndefined(E[p])});const r=n.metaTokens,o=n.visitor||f,i=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(e);if(!j.isFunction(o))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(j.isDate(m))return m.toISOString();if(!l&&j.isBlob(m))throw new Ce("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(m)||j.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function f(m,p,E){let w=m;if(m&&!E&&typeof m=="object"){if(j.endsWith(p,"{}"))p=r?p:p.slice(0,-2),m=JSON.stringify(m);else if(j.isArray(m)&&Qy(m)||(j.isFileList(m)||j.endsWith(p,"[]"))&&(w=j.toArray(m)))return p=ic(p),w.forEach(function(y,A){!(j.isUndefined(y)||y===null)&&e.append(s===!0?sc([p],A,i):s===null?p:p+"[]",u(y))}),!1}return Vs(m)?!0:(e.append(sc(E,p,i),u(m)),!1)}const d=[],h=Object.assign(Yy,{defaultVisitor:f,convertValue:u,isVisitable:Vs});function g(m,p){if(!j.isUndefined(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+p.join("."));d.push(m),j.forEach(m,function(w,b){(!(j.isUndefined(w)||w===null)&&o.call(e,w,j.isString(b)?b.trim():b,p,h))===!0&&g(w,p?p.concat(b):[b])}),d.pop()}}if(!j.isObject(t))throw new TypeError("data must be an object");return g(t),e}function ac(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Gs(t,e){this._pairs=[],t&&fi(t,this,e)}const lc=Gs.prototype;lc.append=function(e,n){this._pairs.push([e,n])},lc.toString=function(e){const n=e?function(r){return e.call(this,r,ac)}:ac;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Wy(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function uc(t,e,n){if(!e)return t;const r=n&&n.encode||Wy,o=n&&n.serialize;let i;if(o?i=o(e,n):i=j.isURLSearchParams(e)?e.toString():new Gs(e,n).toString(r),i){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class Ry{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 cc=Ry,fc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ky=typeof URLSearchParams<"u"?URLSearchParams:Gs,qy=typeof FormData<"u"?FormData:null,Jy=typeof Blob<"u"?Blob:null,Zy=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),_y=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),jt={isBrowser:!0,classes:{URLSearchParams:Ky,FormData:qy,Blob:Jy},isStandardBrowserEnv:Zy,isStandardBrowserWebWorkerEnv:_y,protocols:["http","https","file","blob","url","data"]};function Xy(t,e){return fi(t,new jt.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return jt.isNode&&j.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function $y(t){return j.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function e0(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],e[i]=t[i];return e}function dc(t){function e(n,r,o,i){let s=n[i++];const a=Number.isFinite(+s),l=i>=n.length;return s=!s&&j.isArray(o)?o.length:s,l?(j.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!a):((!o[s]||!j.isObject(o[s]))&&(o[s]=[]),e(n,r,o[s],i)&&j.isArray(o[s])&&(o[s]=e0(o[s])),!a)}if(j.isFormData(t)&&j.isFunction(t.entries)){const n={};return j.forEachEntry(t,(r,o)=>{e($y(r),o,n,0)}),n}return null}function t0(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 Qs={transitional:fc,adapter:["xhr","http"],transformRequest:[function(e,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=j.isObject(e);if(i&&j.isHTMLForm(e)&&(e=new FormData(e)),j.isFormData(e))return o&&o?JSON.stringify(dc(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(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Xy(e,this.formSerializer).toString();if((a=j.isFileList(e))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return fi(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),t0(e)):e}],transformResponse:[function(e){const n=this.transitional||Qs.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&j.isString(e)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(a){if(s)throw a.name==="SyntaxError"?Ce.from(a,Ce.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:jt.classes.FormData,Blob:jt.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=>{Qs.headers[t]={}});const Ys=Qs,n0=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"]),r0=t=>{const e={};let n,r,o;return t&&t.split(`
47
+ `).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||e[n]&&n0[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},hc=Symbol("internals");function Fr(t){return t&&String(t).trim().toLowerCase()}function di(t){return t===!1||t==null?t:j.isArray(t)?t.map(di):String(t)}function o0(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 i0=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ws(t,e,n,r,o){if(j.isFunction(r))return r.call(this,e,n);if(o&&(e=n),!!j.isString(e)){if(j.isString(r))return e.indexOf(r)!==-1;if(j.isRegExp(r))return r.test(e)}}function s0(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function a0(t,e){const n=j.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(o,i,s){return this[r].call(this,e,o,i,s)},configurable:!0})})}class hi{constructor(e){e&&this.set(e)}set(e,n,r){const o=this;function i(a,l,u){const f=Fr(l);if(!f)throw new Error("header name must be a non-empty string");const d=j.findKey(o,f);(!d||o[d]===void 0||u===!0||u===void 0&&o[d]!==!1)&&(o[d||l]=di(a))}const s=(a,l)=>j.forEach(a,(u,f)=>i(u,f,l));return j.isPlainObject(e)||e instanceof this.constructor?s(e,n):j.isString(e)&&(e=e.trim())&&!i0(e)?s(r0(e),n):e!=null&&i(n,e,r),this}get(e,n){if(e=Fr(e),e){const r=j.findKey(this,e);if(r){const o=this[r];if(!n)return o;if(n===!0)return o0(o);if(j.isFunction(n))return n.call(this,o,r);if(j.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Fr(e),e){const r=j.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||Ws(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let o=!1;function i(s){if(s=Fr(s),s){const a=j.findKey(r,s);a&&(!n||Ws(r,r[a],a,n))&&(delete r[a],o=!0)}}return j.isArray(e)?e.forEach(i):i(e),o}clear(e){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!e||Ws(this,this[i],i,e,!0))&&(delete this[i],o=!0)}return o}normalize(e){const n=this,r={};return j.forEach(this,(o,i)=>{const s=j.findKey(r,i);if(s){n[s]=di(o),delete n[i];return}const a=e?s0(i):String(i).trim();a!==i&&delete n[i],n[a]=di(o),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return j.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=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(`
48
+ `)}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(o=>r.set(o)),r}static accessor(e){const r=(this[hc]=this[hc]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=Fr(s);r[a]||(a0(o,s),r[a]=!0)}return j.isArray(e)?e.forEach(i):i(e),this}}hi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),j.reduceDescriptors(hi.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),j.freezeMethods(hi);const Wt=hi;function Rs(t,e){const n=this||Ys,r=e||n,o=Wt.from(r.headers);let i=r.data;return j.forEach(t,function(a){i=a.call(n,i,o.normalize(),e?e.status:void 0)}),o.normalize(),i}function pc(t){return!!(t&&t.__CANCEL__)}function Vr(t,e,n){Ce.call(this,t??"canceled",Ce.ERR_CANCELED,e,n),this.name="CanceledError"}j.inherits(Vr,Ce,{__CANCEL__:!0});function l0(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new Ce("Request failed with status code "+n.status,[Ce.ERR_BAD_REQUEST,Ce.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const u0=jt.isStandardBrowserEnv?function(){return{write:function(n,r,o,i,s,a){const l=[];l.push(n+"="+encodeURIComponent(r)),j.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),j.isString(i)&&l.push("path="+i),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 c0(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function f0(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function gc(t,e){return t&&!c0(e)?f0(t,e):e}const d0=jt.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let s=i;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=o(window.location.href),function(s){const a=j.isString(s)?o(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function h0(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function p0(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o=0,i=0,s;return e=e!==void 0?e:1e3,function(l){const u=Date.now(),f=r[i];s||(s=u),n[o]=l,r[o]=u;let d=i,h=0;for(;d!==o;)h+=n[d++],d=d%t;if(o=(o+1)%t,o===i&&(i=(i+1)%t),u-s<e)return;const g=f&&u-f;return g?Math.round(h*1e3/g):void 0}}function vc(t,e){let n=0;const r=p0(50,250);return o=>{const i=o.loaded,s=o.lengthComputable?o.total:void 0,a=i-n,l=r(a),u=i<=s;n=i;const f={loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&u?(s-i)/l:void 0,event:o};f[e?"download":"upload"]=!0,t(f)}}const Ks={http:Gy,xhr:typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(n,r){let o=t.data;const i=Wt.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 u;j.isFormData(o)&&(jt.isStandardBrowserEnv||jt.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.getContentType(/^\s*multipart\/form-data/)?j.isString(u=i.getContentType())&&i.setContentType(u.replace(/^\s*(multipart\/form-data);+/,"$1")):i.setContentType("multipart/form-data"));let f=new XMLHttpRequest;if(t.auth){const m=t.auth.username||"",p=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(m+":"+p))}const d=gc(t.baseURL,t.url);f.open(t.method.toUpperCase(),uc(d,t.params,t.paramsSerializer),!0),f.timeout=t.timeout;function h(){if(!f)return;const m=Wt.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),E={data:!s||s==="text"||s==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:m,config:t,request:f};l0(function(b){n(b),l()},function(b){r(b),l()},E),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 Ce("Request aborted",Ce.ECONNABORTED,t,f)),f=null)},f.onerror=function(){r(new Ce("Network Error",Ce.ERR_NETWORK,t,f)),f=null},f.ontimeout=function(){let p=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const E=t.transitional||fc;t.timeoutErrorMessage&&(p=t.timeoutErrorMessage),r(new Ce(p,E.clarifyTimeoutError?Ce.ETIMEDOUT:Ce.ECONNABORTED,t,f)),f=null},jt.isStandardBrowserEnv){const m=(t.withCredentials||d0(d))&&t.xsrfCookieName&&u0.read(t.xsrfCookieName);m&&i.set(t.xsrfHeaderName,m)}o===void 0&&i.setContentType(null),"setRequestHeader"in f&&j.forEach(i.toJSON(),function(p,E){f.setRequestHeader(E,p)}),j.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),s&&s!=="json"&&(f.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&f.addEventListener("progress",vc(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",vc(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=m=>{f&&(r(!m||m.type?new Vr(null,t,f):m),f.abort(),f=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const g=h0(d);if(g&&jt.protocols.indexOf(g)===-1){r(new Ce("Unsupported protocol "+g+":",Ce.ERR_BAD_REQUEST,t));return}f.send(o||null)})}};j.forEach(Ks,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const mc=t=>`- ${t}`,g0=t=>j.isFunction(t)||t===null||t===!1,yc={getAdapter:t=>{t=j.isArray(t)?t:[t];const{length:e}=t;let n,r;const o={};for(let i=0;i<e;i++){n=t[i];let s;if(r=n,!g0(n)&&(r=Ks[(s=String(n)).toLowerCase()],r===void 0))throw new Ce(`Unknown adapter '${s}'`);if(r)break;o[s||"#"+i]=r}if(!r){const i=Object.entries(o).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=e?i.length>1?`since :
49
+ `+i.map(mc).join(`
50
+ `):" "+mc(i[0]):"as no adapter specified";throw new Ce("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Ks};function qs(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Vr(null,t)}function bc(t){return qs(t),t.headers=Wt.from(t.headers),t.data=Rs.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),yc.getAdapter(t.adapter||Ys.adapter)(t).then(function(r){return qs(t),r.data=Rs.call(t,t.transformResponse,r),r.headers=Wt.from(r.headers),r},function(r){return pc(r)||(qs(t),r&&r.response&&(r.response.data=Rs.call(t,t.transformResponse,r.response),r.response.headers=Wt.from(r.response.headers))),Promise.reject(r)})}const wc=t=>t instanceof Wt?t.toJSON():t;function nr(t,e){e=e||{};const n={};function r(u,f,d){return j.isPlainObject(u)&&j.isPlainObject(f)?j.merge.call({caseless:d},u,f):j.isPlainObject(f)?j.merge({},f):j.isArray(f)?f.slice():f}function o(u,f,d){if(j.isUndefined(f)){if(!j.isUndefined(u))return r(void 0,u,d)}else return r(u,f,d)}function i(u,f){if(!j.isUndefined(f))return r(void 0,f)}function s(u,f){if(j.isUndefined(f)){if(!j.isUndefined(u))return r(void 0,u)}else return r(void 0,f)}function a(u,f,d){if(d in e)return r(u,f);if(d in t)return r(void 0,u)}const l={url:i,method:i,data:i,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:(u,f)=>o(wc(u),wc(f),!0)};return j.forEach(Object.keys(Object.assign({},t,e)),function(f){const d=l[f]||o,h=d(t[f],e[f],f);j.isUndefined(h)&&d!==a||(n[f]=h)}),n}const Ec="1.5.1",Js={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Js[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const Cc={};Js.transitional=function(e,n,r){function o(i,s){return"[Axios v"+Ec+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,a)=>{if(e===!1)throw new Ce(o(s," has been removed"+(n?" in "+n:"")),Ce.ERR_DEPRECATED);return n&&!Cc[s]&&(Cc[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,s,a):!0}};function v0(t,e,n){if(typeof t!="object")throw new Ce("options must be an object",Ce.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const i=r[o],s=e[i];if(s){const a=t[i],l=a===void 0||s(a,i,t);if(l!==!0)throw new Ce("option "+i+" must be "+l,Ce.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ce("Unknown option "+i,Ce.ERR_BAD_OPTION)}}const Zs={assertOptions:v0,validators:Js},on=Zs.validators;class pi{constructor(e){this.defaults=e,this.interceptors={request:new cc,response:new cc}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=nr(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Zs.assertOptions(r,{silentJSONParsing:on.transitional(on.boolean),forcedJSONParsing:on.transitional(on.boolean),clarifyTimeoutError:on.transitional(on.boolean)},!1),o!=null&&(j.isFunction(o)?n.paramsSerializer={serialize:o}:Zs.assertOptions(o,{encode:on.function,serialize:on.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&j.merge(i.common,i[n.method]);i&&j.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=Wt.concat(s,i);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 u=[];this.interceptors.response.forEach(function(p){u.push(p.fulfilled,p.rejected)});let f,d=0,h;if(!l){const m=[bc.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,u),h=m.length,f=Promise.resolve(n);d<h;)f=f.then(m[d++],m[d++]);return f}h=a.length;let g=n;for(d=0;d<h;){const m=a[d++],p=a[d++];try{g=m(g)}catch(E){p.call(this,E);break}}try{f=bc.call(this,g)}catch(m){return Promise.reject(m)}for(d=0,h=u.length;d<h;)f=f.then(u[d++],u[d++]);return f}getUri(e){e=nr(this.defaults,e);const n=gc(e.baseURL,e.url);return uc(n,e.params,e.paramsSerializer)}}j.forEach(["delete","get","head","options"],function(e){pi.prototype[e]=function(n,r){return this.request(nr(r||{},{method:e,url:n,data:(r||{}).data}))}}),j.forEach(["post","put","patch"],function(e){function n(r){return function(i,s,a){return this.request(nr(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}pi.prototype[e]=n(),pi.prototype[e+"Form"]=n(!0)});const gi=pi;class _s{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},e(function(i,s,a){r.reason||(r.reason=new Vr(i,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 _s(function(o){e=o}),cancel:e}}}const m0=_s;function y0(t){return function(n){return t.apply(null,n)}}function b0(t){return j.isObject(t)&&t.isAxiosError===!0}const Xs={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(Xs).forEach(([t,e])=>{Xs[e]=t});const w0=Xs;function Sc(t){const e=new gi(t),n=Ku(gi.prototype.request,e);return j.extend(n,gi.prototype,e,{allOwnKeys:!0}),j.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return Sc(nr(t,o))},n}const qe=Sc(Ys);qe.Axios=gi,qe.CanceledError=Vr,qe.CancelToken=m0,qe.isCancel=pc,qe.VERSION=Ec,qe.toFormData=fi,qe.AxiosError=Ce,qe.Cancel=qe.CanceledError,qe.all=function(e){return Promise.all(e)},qe.spread=y0,qe.isAxiosError=b0,qe.mergeConfig=nr,qe.AxiosHeaders=Wt,qe.formToJSON=t=>dc(j.isHTMLForm(t)?new FormData(t):t),qe.getAdapter=yc.getAdapter,qe.HttpStatusCode=w0,qe.default=qe;const Gr=qe.create({baseURL:"https://ecomgate.omnic.solutions/api/1.0.0/type-1/public/"}),E0=512;var sn=(t=>(t[t.All=0]="All",t[t.PickPoint=20]="PickPoint",t[t.PostOffice=30]="PostOffice",t))(sn||{}),Ut=(t=>(t[t.PayByCash=0]="PayByCash",t[t.DressingRoom=1]="DressingRoom",t[t.CheckOrder=2]="CheckOrder",t))(Ut||{}),Ht=(t=>(t[t.Return=0]="Return",t[t.Payment=1]="Payment",t[t.Shipping=2]="Shipping",t))(Ht||{});const C0={[Ut.CheckOrder]:["is_check_order","is_delivery"],[Ut.DressingRoom]:["is_dressing_room","is_delivery"],[Ut.PayByCash]:["pay_by_cash","pay_by_card","is_delivery"]},S0={[Ht.Return]:["is_pickup"],[Ht.Shipping]:["is_pickup"],[Ht.Payment]:["pay_by_cash","pay_by_card","is_pickup"]};async function*Lc({q:t,filter:e,bounds:n}={},{controller:r}={}){const o={status:30,page_size:E0};if(t&&(o.q=t),e!=null&&e.type&&(o.type=e.type),e!=null&&e.receive)for(const[l,u]of Object.entries(e==null?void 0:e.receive)){if(!u)continue;const f=C0[l];for(const d of f)o[d]=!0}if(e!=null&&e.send)for(const[l,u]of Object.entries(e==null?void 0:e.send)){if(!u)continue;const f=S0[l];for(const d of f)o[d]=!0}n&&(o.start_latitude=n[0][0],o.end_latitude=n[0][1],o.start_longitude=n[1][0],o.end_longitude=n[1][1]);let i=await Gr.get("/locations/points",{params:o,signal:r==null?void 0:r.signal}),s=i.data.data.num_pages,a=i.data.data.current_page;for(;a<s;){yield i,o.page=a+1;const l=await Gr.get("/locations/points",{params:o,signal:r==null?void 0:r.signal});i.data.data.results=[...i.data.data.results,...l.data.data.results],i=l,a=l.data.data.current_page,s=l.data.data.num_pages}return yield i,i}const xc=[],Ac=(t,e,n)=>{var o;const r=new AbortController;return t&&((o=xc.pop())==null||o.abort()),xc.push(r),async i=>{const s={controller:r};if(!n){const l=await Lc({filter:e},s).next();i(l.value.data);return}for await(const a of Lc({filter:e,bounds:n},s))i(a.data)}},Oc="@omnic/widget-locations",$s=(t,e)=>{var n;(n=document.getElementById(Oc))==null||n.style.setProperty(t,e)},Mc=t=>{t.stopImmediatePropagation()},Qr=async(t,e="ROOFTOP")=>{var o;po.setLocationType(e);const n=await po.fromLatLng(t[0].toString(),t[1].toString()),r=(o=n.results)==null?void 0:o.map(i=>{var l,u;const s=(l=i.geometry)==null?void 0:l.viewport,a=(u=i.geometry)==null?void 0:u.location;return{...i,geometry:{...i.geometry,viewport:new google.maps.LatLngBounds(s.southwest,s.northeast),location:new google.maps.LatLng(a)}}});return{...n,results:r}},Pc=(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})},kc=t=>t.status===200,L0={points:[],error:!1,loaded:!1,loading:!1,reloading:!1},zt=Xt()((t,e)=>({...L0,async loadNext(n,r){const o=e().reloading;t({error:!1,reloading:!0}),Ve.getState().setBounds(n);let i=0;try{await Ac(o,r,n)(a=>{t(i===0?{points:a.data.results}:{points:[...e().points,...a.data.results]}),i++})}catch{t({error:!0})}finally{t({reloading:!1})}},async loadFirst(n){const r=e().loading,o=Ve.getState().bounds;t({error:!1,loading:!0});let i=0;try{await Ac(r,n,o)(a=>{i>=1&&t({loading:!1,loaded:!0}),t(i===0?{points:a.data.results}:{points:[...e().points,...a.data.results]}),i++}),t({loading:!1,loaded:!0})}catch{t({error:!0,loading:!1})}finally{t({loading:!1})}}})),x0={query:"",type:sn.All,hours:["08:00","22:00"],send:{[Ht.Return]:!1,[Ht.Payment]:!1,[Ht.Shipping]:!1},receive:{[Ut.PayByCash]:!1,[Ut.CheckOrder]:!1,[Ut.DressingRoom]:!1}},Sn=Xt(t=>({...x0,setFilter(e){Ve.getState().setDetailsOpen(!1),mt.getState().setCourierPoint(null),At.getState().setSelectedPoint(null),t(e)}})),A0=()=>{c.useEffect(()=>{zt.getState().loadFirst();const t=Sn.subscribe(e=>{zt.getState().loadFirst(e)});return()=>{t()}},[])},Yr=".",ea=Symbol("target"),Ic=Symbol("unsubscribe");function ta(t){return t instanceof Date||t instanceof Set||t instanceof Map||t instanceof WeakSet||t instanceof WeakMap||ArrayBuffer.isView(t)}function O0(t){return(typeof t=="object"?t===null:typeof t!="function")||t instanceof RegExp}const Ft=Array.isArray;function na(t){return typeof t=="symbol"}const St={after:(t,e)=>Ft(t)?t.slice(e.length):e===""?t:t.slice(e.length+1),concat:(t,e)=>Ft(t)?(t=[...t],e&&t.push(e),t):e&&e.toString!==void 0?(t!==""&&(t+=Yr),na(e)?t+e.toString():t+e):t,initial:t=>{if(Ft(t))return t.slice(0,-1);if(t==="")return t;const e=t.lastIndexOf(Yr);return e===-1?"":t.slice(0,e)},last:t=>{if(Ft(t))return t[t.length-1]||"";if(t==="")return t;const e=t.lastIndexOf(Yr);return e===-1?t:t.slice(e+1)},walk:(t,e)=>{if(Ft(t))for(const n of t)e(n);else if(t!==""){let n=0,r=t.indexOf(Yr);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(Yr,n)}},get(t,e){return this.walk(e,n=>{t&&(t=t[n])}),t}};function M0(t){return typeof t=="object"&&typeof t.next=="function"}function P0(t,e,n,r,o){const i=t.next;if(e.name==="entries")t.next=function(){const s=i.call(this);return s.done===!1&&(s.value[0]=o(s.value[0],e,s.value[0],r),s.value[1]=o(s.value[1],e,s.value[0],r)),s};else if(e.name==="values"){const s=n[ea].keys();t.next=function(){const a=i.call(this);return a.done===!1&&(a.value=o(a.value,e,s.next().value,r)),a}}else t.next=function(){const s=i.call(this);return s.done===!1&&(s.value=o(s.value,e,s.value,r)),s};return t}function Dc(t,e,n){return t.isUnsubscribed||e.ignoreSymbols&&na(n)||e.ignoreUnderscores&&n.charAt(0)==="_"||"ignoreKeys"in e&&e.ignoreKeys.includes(n)}class k0{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 o=r[n];return o===void 0&&(o=Reflect.getOwnPropertyDescriptor(e,n),r[n]=o),o}getProxy(e,n,r,o){if(this.isUnsubscribed)return e;const i=e[o],s=i||e;this._pathCache.set(s,n);let a=this._proxyCache.get(s);return a===void 0&&(a=i===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,St.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,o,i){if(!this._equals(i,r)||!(n in e)){const s=this._getOwnPropertyDescriptor(e,n);return s!==void 0&&"set"in s?Reflect.set(e,n,r,o):Reflect.set(e,n,r)}return!0}deleteProperty(e,n,r){if(Reflect.deleteProperty(e,n)){if(!this.isUnsubscribed){const o=this._getDescriptorCache().get(e);o&&(delete o[n],this._pathCache.delete(r))}return!0}return!1}isSameDescriptor(e,n,r){const o=this._getOwnPropertyDescriptor(n,r);return e!==void 0&&o!==void 0&&Object.is(e.value,o.value)&&(e.writable||!1)===(o.writable||!1)&&(e.enumerable||!1)===(o.enumerable||!1)&&(e.configurable||!1)===(o.configurable||!1)&&e.get===o.get&&e.set===o.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 ra(t){return toString.call(t)==="[object Object]"}function vi(){return!0}function rr(t,e){return t.length!==e.length||t.some((n,r)=>e[r]!==n)}const Tc=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),I0=new Set(["concat","includes","indexOf","join","keys","lastIndexOf"]),Bc={push:vi,pop:vi,shift:vi,unshift:vi,copyWithin:rr,reverse:rr,sort:rr,splice:rr,flat:rr,fill:rr},D0=new Set([...Tc,...I0,...Object.keys(Bc)]);function mi(t,e){if(t.size!==e.size)return!0;for(const n of t)if(!e.has(n))return!0;return!1}const Nc=["keys","values","entries"],jc=new Set(["has","toString"]),Uc={add:mi,clear:mi,delete:mi,forEach:mi},T0=new Set([...jc,...Object.keys(Uc),...Nc]);function yi(t,e){if(t.size!==e.size)return!0;let n;for(const[r,o]of t)if(n=e.get(r),n!==o||n===void 0&&!e.has(r))return!0;return!1}const B0=new Set([...jc,"get"]),Hc={set:yi,clear:yi,delete:yi,forEach:yi},N0=new Set([...B0,...Object.keys(Hc),...Nc]);class an{constructor(e,n,r,o){this._path=n,this._isChanged=!1,this._clonedCache=new Set,this._hasOnValidate=o,this._changes=o?[]:null,this.clone=n===void 0?e:this._shallowClone(e)}static isHandledMethod(e){return Tc.has(e)}_shallowClone(e){let n=e;if(ra(e))n={...e};else if(Ft(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,o]of e.entries())n.set(r,this._shallowClone(o))}return this._clonedCache.add(n),n}preferredThisArg(e,n,r,o){return e?(Ft(o)?this._onIsChanged=Bc[n]:o instanceof Set?this._onIsChanged=Uc[n]:o instanceof Map&&(this._onIsChanged=Hc[n]),o):r}update(e,n,r){const o=St.after(e,this._path);if(n!=="length"){let i=this.clone;St.walk(o,s=>{i&&i[s]&&(this._clonedCache.has(i[s])||(i[s]=this._shallowClone(i[s])),i=i[s])}),this._hasOnValidate&&this._changes.push({path:o,property:n,previous:r}),i&&i[n]&&(i[n]=r)}this._isChanged=!0}undo(e){let n;for(let r=this._changes.length-1;r!==-1;r--)n=this._changes[r],St.get(e,n.path)[n.property]=n.previous}isChanged(e){return this._onIsChanged===void 0?this._isChanged:this._onIsChanged(this.clone,e)}}class zc extends an{static isHandledMethod(e){return D0.has(e)}}class j0 extends an{undo(e){e.setTime(this.clone.getTime())}isChanged(e,n){return!n(this.clone.valueOf(),e.valueOf())}}class Fc extends an{static isHandledMethod(e){return T0.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 Vc extends an{static isHandledMethod(e){return N0.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 U0 extends an{constructor(e,n,r,o){super(void 0,n,r,o),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 H0 extends an{constructor(e,n,r,o){super(void 0,n,r,o),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 Ln{constructor(e){this._stack=[],this._hasOnValidate=e}static isHandledType(e){return ra(e)||Ft(e)||ta(e)}static isHandledMethod(e,n){return ra(e)?an.isHandledMethod(n):Ft(e)?zc.isHandledMethod(n):e instanceof Set?Fc.isHandledMethod(n):e instanceof Map?Vc.isHandledMethod(n):ta(e)}get isCloning(){return this._stack.length>0}start(e,n,r){let o=an;Ft(e)?o=zc:e instanceof Date?o=j0:e instanceof Set?o=Fc:e instanceof Map?o=Vc:e instanceof WeakSet?o=U0:e instanceof WeakMap&&(o=H0),this._stack.push(new o(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:o}=e,i=Ln.isHandledMethod(r,o);return this._stack[this._stack.length-1].preferredThisArg(i,o,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 z0={equals:Object.is,isShallow:!1,pathAsArray:!1,ignoreSymbols:!1,ignoreUnderscores:!1,ignoreDetached:!1,details:!1},Wr=(t,e,n={})=>{n={...z0,...n};const r=Symbol("ProxyTarget"),{equals:o,isShallow:i,ignoreDetached:s,details:a}=n,l=new k0(o),u=typeof n.onValidate=="function",f=new Ln(u),d=(b,y,A,S,v)=>!u||f.isCloning||n.onValidate(St.concat(l.getPath(b),y),A,S,v)===!0,h=(b,y,A,S)=>{!Dc(l,n,y)&&!(s&&l.isDetached(b,t))&&g(l.getPath(b),y,A,S)},g=(b,y,A,S,v)=>{f.isCloning?f.update(b,y,S):e(St.concat(b,y),A,S,v)},m=b=>b&&(b[r]||b),p=(b,y,A,S)=>O0(b)||A==="constructor"||i&&!Ln.isHandledMethod(y,A)||Dc(l,n,A)||l.isGetInvariant(y,A)||s&&l.isDetached(y,t)?b:(S===void 0&&(S=l.getPath(y)),l.getProxy(b,St.concat(S,A),E,r)),E={get(b,y,A){if(na(y)){if(y===r||y===ea)return b;if(y===Ic&&!l.isUnsubscribed&&l.getPath(b).length===0)return l.unsubscribe(),b}const S=ta(b)?Reflect.get(b,y):Reflect.get(b,y,A);return p(S,b,y)},set(b,y,A,S){A=m(A);const v=b[r]||b,C=v[y];if(o(C,A)&&y in b)return!0;const x=d(b,y,A,C);return x&&l.setProperty(v,y,A,S,C)?(h(b,y,b[y],C),!0):!x},defineProperty(b,y,A){if(!l.isSameDescriptor(A,b,y)){const S=b[y];d(b,y,A.value,S)&&l.defineProperty(b,y,A,S)&&h(b,y,A.value,S)}return!0},deleteProperty(b,y){if(!Reflect.has(b,y))return!0;const A=Reflect.get(b,y),S=d(b,y,void 0,A);return S&&l.deleteProperty(b,y,A)?(h(b,y,void 0,A),!0):!S},apply(b,y,A){const S=y[r]||y;if(l.isUnsubscribed)return Reflect.apply(b,S,A);if((a===!1||a!==!0&&!a.includes(b.name))&&Ln.isHandledType(S)){let v=St.initial(l.getPath(b));const C=Ln.isHandledMethod(S,b.name);f.start(S,v,A);let x=Reflect.apply(b,f.preferredThisArg(b,y,S),C?A.map(O=>m(O)):A);const D=f.isChanged(S,o),M=f.stop();if(Ln.isHandledType(x)&&C&&(y instanceof Map&&b.name==="get"&&(v=St.concat(v,A[0])),x=l.getProxy(x,v,E)),D){const O={name:b.name,args:A,result:x},k=f.isCloning?St.initial(v):v,N=f.isCloning?St.last(v):"";d(St.get(t,k),N,S,M,O)?g(k,N,S,M,O):f.undo(S)}return(y instanceof Map||y instanceof Set)&&M0(x)?P0(x,b,y,v,p):x}return Reflect.apply(b,y,A)}},w=l.getProxy(t,n.pathAsArray?[]:"",E);return e=e.bind(w),u&&(n.onValidate=n.onValidate.bind(w)),w};Wr.target=t=>t&&t[ea]||t,Wr.unsubscribe=t=>t[Ic]||t;const F0=t=>{const e=t??window.OMNIC_WIDGET_LOCATIONS_CONFIG,[n,r]=c.useState({...vn,...e,map:{...vn.map,...e==null?void 0:e.map},palette:{...vn.palette,...e==null?void 0:e.palette}}),o=t&&!window.OMNIC_WIDGET_LOCATIONS_CONFIG,i=!t&&window.OMNIC_WIDGET_LOCATIONS_CONFIG;return c.useEffect(()=>{o&&r({...vn,...t,map:{...vn.map,...t.map},palette:{...vn.palette,...t.palette}})},[t,o]),c.useEffect(()=>{if(i)return window.OMNIC_WIDGET_LOCATIONS_CONFIG=Wr(window.OMNIC_WIDGET_LOCATIONS_CONFIG,function(){const s=Wr.target(this);s.map&&(s.map={...s.map}),s.palette&&(s.palette={...s.palette}),r({...s})}),()=>{window.OMNIC_WIDGET_LOCATIONS_CONFIG&&Wr.unsubscribe(window.OMNIC_WIDGET_LOCATIONS_CONFIG)}},[i]),n},V0=(t,e)=>{Gr.defaults.headers.get.Authorization=`INN ${t}`,e!=null&&e.baseURL&&(Gr.defaults.baseURL=e.baseURL)},G0={root:"Overlay-module__root__y8tkGi"},oa=({children:t,className:e})=>L.jsx("div",{className:Ee(G0.root,e),children:t}),Q0={loader:"Spinner-module__loader__HX--ed"},ia=()=>L.jsx("div",{className:Q0.loader,children:"Loading..."});/*! *****************************************************************************
49
51
  Copyright (c) Microsoft Corporation.
50
52
 
51
53
  Permission to use, copy, modify, and/or distribute this software for any
@@ -58,15 +60,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
58
60
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
59
61
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
60
62
  PERFORMANCE OF THIS SOFTWARE.
61
- ***************************************************************************** */var ia=function(t,e){return ia=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},ia(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");ia(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var $=function(){return $=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$.apply(this,arguments)};function sa(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 o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function G0(t,e,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(f){try{l(r.next(f))}catch(d){s(d)}}function u(f){try{l(r.throw(f))}catch(d){s(d)}}function l(f){f.done?i(f.value):o(f.value).then(a,u)}l((r=r.apply(t,e||[])).next())})}function Q0(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(l){return function(f){return u([l,f])}}function u(l){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,o&&(i=l[0]&2?o.return:l[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,l[1])).done)return i;switch(o=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,o=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){n.label=l[1];break}if(l[0]===6&&n.label<i[1]){n.label=i[1],i=l;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(l);break}i[2]&&n.ops.pop(),n.trys.pop();continue}l=e.call(t,n)}catch(f){l=[6,f],o=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function zc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Y0=function(t,e,n,r,o,i,s,a){if(!t){var u;if(e===void 0)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,s,a],f=0;u=new Error(e.replace(/%s/g,function(){return l[f++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}},W0=Y0,Re=zc(W0),ce=c.createContext(null);function R0(){Re(!!c.useContext,"useGoogleMap is React hook and requires React version 16.8+");var t=c.useContext(ce);return Re(!!t,"useGoogleMap needs a GoogleMap available up in the tree"),t}function K0(t,e,n){return Object.keys(t).reduce(function(o,i){return e(o,t[i],i)},n)}function q0(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function J0(t,e,n,r){var o={},i=function(s,a){var u=n[a];u!==e[a]&&(o[a]=u,s(r,u))};return q0(t,i),o}function Z0(t,e,n){var r=K0(n,function(i,s,a){return typeof t[a]=="function"&&i.push(google.maps.event.addListener(e,s,t[a])),i},[]);return r}function _0(t){google.maps.event.removeListener(t)}function ge(t){t===void 0&&(t=[]),t.forEach(_0)}function he(t){var e=t.updaterMap,n=t.eventMap,r=t.prevProps,o=t.nextProps,i=t.instance,s=Z0(o,i,n);return J0(e,r,o,i),s}var Fc={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"},Vc={extraMapTypes:function(t,e){e.forEach(function(r,o){t.mapTypes.set(String(o),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 X0(t){var e=t.children,n=t.options,r=t.id,o=t.mapContainerStyle,i=t.mapContainerClassName,s=t.center,a=t.onClick,u=t.onDblClick,l=t.onDrag,f=t.onDragEnd,d=t.onDragStart,h=t.onMouseMove,g=t.onMouseOut,m=t.onMouseOver,p=t.onMouseDown,E=t.onMouseUp,w=t.onRightClick,y=t.onCenterChanged,b=t.onLoad,x=t.onUnmount,S=c.useState(null),v=S[0],C=S[1],A=c.useRef(null),D=c.useState(null),M=D[0],O=D[1],k=c.useState(null),N=k[0],H=k[1],G=c.useState(null),q=G[0],V=G[1],K=c.useState(null),B=K[0],I=K[1],T=c.useState(null),F=T[0],U=T[1],Y=c.useState(null),ee=Y[0],P=Y[1],Q=c.useState(null),Z=Q[0],R=Q[1],te=c.useState(null),oe=te[0],se=te[1],de=c.useState(null),je=de[0],ve=de[1],ye=c.useState(null),Ne=ye[0],Me=ye[1],ke=c.useState(null),ae=ke[0],le=ke[1],Ge=c.useState(null),_e=Ge[0],_=Ge[1];return c.useEffect(function(){n&&v!==null&&v.setOptions(n)},[v,n]),c.useEffect(function(){v!==null&&typeof s<"u"&&v.setCenter(s)},[v,s]),c.useEffect(function(){v&&u&&(N!==null&&google.maps.event.removeListener(N),H(google.maps.event.addListener(v,"dblclick",u)))},[u]),c.useEffect(function(){v&&f&&(q!==null&&google.maps.event.removeListener(q),V(google.maps.event.addListener(v,"dragend",f)))},[f]),c.useEffect(function(){v&&d&&(B!==null&&google.maps.event.removeListener(B),I(google.maps.event.addListener(v,"dragstart",d)))},[d]),c.useEffect(function(){v&&p&&(F!==null&&google.maps.event.removeListener(F),U(google.maps.event.addListener(v,"mousedown",p)))},[p]),c.useEffect(function(){v&&h&&(ee!==null&&google.maps.event.removeListener(ee),P(google.maps.event.addListener(v,"mousemove",h)))},[h]),c.useEffect(function(){v&&g&&(Z!==null&&google.maps.event.removeListener(Z),R(google.maps.event.addListener(v,"mouseout",g)))},[g]),c.useEffect(function(){v&&m&&(oe!==null&&google.maps.event.removeListener(oe),se(google.maps.event.addListener(v,"mouseover",m)))},[m]),c.useEffect(function(){v&&E&&(je!==null&&google.maps.event.removeListener(je),ve(google.maps.event.addListener(v,"mouseup",E)))},[E]),c.useEffect(function(){v&&w&&(Ne!==null&&google.maps.event.removeListener(Ne),Me(google.maps.event.addListener(v,"rightclick",w)))},[w]),c.useEffect(function(){v&&a&&(ae!==null&&google.maps.event.removeListener(ae),le(google.maps.event.addListener(v,"click",a)))},[a]),c.useEffect(function(){v&&l&&(_e!==null&&google.maps.event.removeListener(_e),_(google.maps.event.addListener(v,"drag",l)))},[l]),c.useEffect(function(){v&&y&&(M!==null&&google.maps.event.removeListener(M),O(google.maps.event.addListener(v,"center_changed",y)))},[a]),c.useEffect(function(){var Qe=A.current===null?null:new google.maps.Map(A.current,n);return C(Qe),Qe!==null&&b&&b(Qe),function(){Qe!==null&&x&&x(Qe)}},[]),L.jsx("div",{id:r,ref:A,style:o,className:i,children:L.jsx(ce.Provider,{value:v,children:v!==null?e:L.jsx(L.Fragment,{})})})}c.memo(X0);var $0=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 o=n.getInstance();o&&o.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:Vc,eventMap:Fc,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{map:n}},this.setMapCallback)},e.prototype.componentDidUpdate=function(n){this.state.map!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Vc,eventMap:Fc,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),ge(this.registeredEvents))},e.prototype.render=function(){return L.jsx("div",{id:this.props.id,ref:this.getRef,style:this.props.mapContainerStyle,className:this.props.mapContainerClassName,children:L.jsx(ce.Provider,{value:this.state.map,children:this.state.map!==null?this.props.children:L.jsx(L.Fragment,{})})})},e}(c.PureComponent),ln=typeof document<"u";function Gc(t){var e=t.url,n=t.id,r=t.nonce;return ln?new Promise(function(i,s){var a=document.getElementById(n),u=window;if(a){var l=a.getAttribute("data-state");if(a.src===e&&l!=="error"){if(l==="ready")return i(n);var f=u.initMap,d=a.onerror;u.initMap=function(){f&&f(),i(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(m){h.setAttribute("data-state","error"),s(m)},u.initMap=function(){h.setAttribute("data-state","ready"),i(n)},document.head.appendChild(h)}).catch(function(o){throw console.error("injectScript error: ",o),o}):Promise.reject(new Error("document is undefined"))}function Qc(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
63
+ ***************************************************************************** */var sa=function(t,e){return sa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},sa(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");sa(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var $=function(){return $=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$.apply(this,arguments)};function aa(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 o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function Y0(t,e,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(f){try{u(r.next(f))}catch(d){s(d)}}function l(f){try{u(r.throw(f))}catch(d){s(d)}}function u(f){f.done?i(f.value):o(f.value).then(a,l)}u((r=r.apply(t,e||[])).next())})}function W0(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(u){return function(f){return l([u,f])}}function l(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,o=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1],i=u;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(u);break}i[2]&&n.ops.pop(),n.trys.pop();continue}u=e.call(t,n)}catch(f){u=[6,f],o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function Gc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var R0=function(t,e,n,r,o,i,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 u=[n,r,o,i,s,a],f=0;l=new Error(e.replace(/%s/g,function(){return u[f++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},K0=R0,Re=Gc(K0),ce=c.createContext(null);function q0(){Re(!!c.useContext,"useGoogleMap is React hook and requires React version 16.8+");var t=c.useContext(ce);return Re(!!t,"useGoogleMap needs a GoogleMap available up in the tree"),t}function J0(t,e,n){return Object.keys(t).reduce(function(o,i){return e(o,t[i],i)},n)}function Z0(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function _0(t,e,n,r){var o={},i=function(s,a){var l=n[a];l!==e[a]&&(o[a]=l,s(r,l))};return Z0(t,i),o}function X0(t,e,n){var r=J0(n,function(i,s,a){return typeof t[a]=="function"&&i.push(google.maps.event.addListener(e,s,t[a])),i},[]);return r}function $0(t){google.maps.event.removeListener(t)}function ge(t){t===void 0&&(t=[]),t.forEach($0)}function he(t){var e=t.updaterMap,n=t.eventMap,r=t.prevProps,o=t.nextProps,i=t.instance,s=X0(o,i,n);return _0(e,r,o,i),s}var Qc={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"},Yc={extraMapTypes:function(t,e){e.forEach(function(r,o){t.mapTypes.set(String(o),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 eb(t){var e=t.children,n=t.options,r=t.id,o=t.mapContainerStyle,i=t.mapContainerClassName,s=t.center,a=t.onClick,l=t.onDblClick,u=t.onDrag,f=t.onDragEnd,d=t.onDragStart,h=t.onMouseMove,g=t.onMouseOut,m=t.onMouseOver,p=t.onMouseDown,E=t.onMouseUp,w=t.onRightClick,b=t.onCenterChanged,y=t.onLoad,A=t.onUnmount,S=c.useState(null),v=S[0],C=S[1],x=c.useRef(null),D=c.useState(null),M=D[0],O=D[1],k=c.useState(null),N=k[0],H=k[1],G=c.useState(null),q=G[0],V=G[1],K=c.useState(null),B=K[0],I=K[1],T=c.useState(null),F=T[0],U=T[1],Y=c.useState(null),ee=Y[0],P=Y[1],Q=c.useState(null),Z=Q[0],R=Q[1],te=c.useState(null),ie=te[0],re=te[1],fe=c.useState(null),je=fe[0],ve=fe[1],ye=c.useState(null),Ne=ye[0],Me=ye[1],ke=c.useState(null),ae=ke[0],le=ke[1],Ge=c.useState(null),_e=Ge[0],_=Ge[1];return c.useEffect(function(){n&&v!==null&&v.setOptions(n)},[v,n]),c.useEffect(function(){v!==null&&typeof s<"u"&&v.setCenter(s)},[v,s]),c.useEffect(function(){v&&l&&(N!==null&&google.maps.event.removeListener(N),H(google.maps.event.addListener(v,"dblclick",l)))},[l]),c.useEffect(function(){v&&f&&(q!==null&&google.maps.event.removeListener(q),V(google.maps.event.addListener(v,"dragend",f)))},[f]),c.useEffect(function(){v&&d&&(B!==null&&google.maps.event.removeListener(B),I(google.maps.event.addListener(v,"dragstart",d)))},[d]),c.useEffect(function(){v&&p&&(F!==null&&google.maps.event.removeListener(F),U(google.maps.event.addListener(v,"mousedown",p)))},[p]),c.useEffect(function(){v&&h&&(ee!==null&&google.maps.event.removeListener(ee),P(google.maps.event.addListener(v,"mousemove",h)))},[h]),c.useEffect(function(){v&&g&&(Z!==null&&google.maps.event.removeListener(Z),R(google.maps.event.addListener(v,"mouseout",g)))},[g]),c.useEffect(function(){v&&m&&(ie!==null&&google.maps.event.removeListener(ie),re(google.maps.event.addListener(v,"mouseover",m)))},[m]),c.useEffect(function(){v&&E&&(je!==null&&google.maps.event.removeListener(je),ve(google.maps.event.addListener(v,"mouseup",E)))},[E]),c.useEffect(function(){v&&w&&(Ne!==null&&google.maps.event.removeListener(Ne),Me(google.maps.event.addListener(v,"rightclick",w)))},[w]),c.useEffect(function(){v&&a&&(ae!==null&&google.maps.event.removeListener(ae),le(google.maps.event.addListener(v,"click",a)))},[a]),c.useEffect(function(){v&&u&&(_e!==null&&google.maps.event.removeListener(_e),_(google.maps.event.addListener(v,"drag",u)))},[u]),c.useEffect(function(){v&&b&&(M!==null&&google.maps.event.removeListener(M),O(google.maps.event.addListener(v,"center_changed",b)))},[a]),c.useEffect(function(){var Qe=x.current===null?null:new google.maps.Map(x.current,n);return C(Qe),Qe!==null&&y&&y(Qe),function(){Qe!==null&&A&&A(Qe)}},[]),L.jsx("div",{id:r,ref:x,style:o,className:i,children:L.jsx(ce.Provider,{value:v,children:v!==null?e:L.jsx(L.Fragment,{})})})}c.memo(eb);var tb=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 o=n.getInstance();o&&o.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:Yc,eventMap:Qc,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{map:n}},this.setMapCallback)},e.prototype.componentDidUpdate=function(n){this.state.map!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Yc,eventMap:Qc,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),ge(this.registeredEvents))},e.prototype.render=function(){return L.jsx("div",{id:this.props.id,ref:this.getRef,style:this.props.mapContainerStyle,className:this.props.mapContainerClassName,children:L.jsx(ce.Provider,{value:this.state.map,children:this.state.map!==null?this.props.children:L.jsx(L.Fragment,{})})})},e}(c.PureComponent),ln=typeof document<"u";function Wc(t){var e=t.url,n=t.id,r=t.nonce;return ln?new Promise(function(i,s){var a=document.getElementById(n),l=window;if(a){var u=a.getAttribute("data-state");if(a.src===e&&u!=="error"){if(u==="ready")return i(n);var f=l.initMap,d=a.onerror;l.initMap=function(){f&&f(),i(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(m){h.setAttribute("data-state","error"),s(m)},l.initMap=function(){h.setAttribute("data-state","ready"),i(n)},document.head.appendChild(h)}).catch(function(o){throw console.error("injectScript error: ",o),o}):Promise.reject(new Error("document is undefined"))}function Rc(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
62
64
  `,"").indexOf(".gm-style")===0?(t.styleSheet.cssText="",!0):t.tagName.toLowerCase()==="style"&&t.innerHTML&&t.innerHTML.replace(`\r
63
- `,"").indexOf(".gm-style")===0?(t.innerHTML="",!0):t.tagName.toLowerCase()==="style"&&!t.styleSheet&&!t.innerHTML}function aa(){var t=document.getElementsByTagName("head")[0];if(t){var e=t.insertBefore.bind(t);t.insertBefore=function(o,i){return Qc(o)||Reflect.apply(e,t,[o,i]),o};var n=t.appendChild.bind(t);t.appendChild=function(o){return Qc(o)||Reflect.apply(n,t,[o]),o}}}function Yc(t){var e=t.googleMapsApiKey,n=t.googleMapsClientId,r=t.version,o=r===void 0?"weekly":r,i=t.language,s=t.region,a=t.libraries,u=t.channel,l=t.mapIds,f=t.authReferrerPolicy,d=[];return Re(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)),o&&d.push("v=".concat(o)),i&&d.push("language=".concat(i)),s&&d.push("region=".concat(s)),a&&a.length&&d.push("libraries=".concat(a.sort().join(","))),u&&d.push("channel=".concat(u)),l&&l.length&&d.push("map_ids=".concat(l.join(","))),f&&d.push("auth_referrer_policy=".concat(f)),d.push("callback=initMap"),"https://maps.googleapis.com/maps/api/js?".concat(d.join("&"))}var Wr=!1;function Wc(){return L.jsx("div",{children:"Loading..."})}var Rr={id:"script-loader",version:"weekly"};(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.check=c.createRef(),n.state={loaded:!1},n.cleanupCallback=function(){delete window.google.maps,n.injectScript()},n.isCleaningUp=function(){return G0(n,void 0,void 0,function(){function r(o){if(!Wr)o();else if(ln)var i=window.setInterval(function(){Wr||(window.clearInterval(i),o())},1)}return Q0(this,function(o){return[2,new Promise(r)]})})},n.cleanup=function(){Wr=!0;var r=document.getElementById(n.props.id);r&&r.parentNode&&r.parentNode.removeChild(r),Array.prototype.slice.call(document.getElementsByTagName("script")).filter(function(i){return typeof i.src=="string"&&i.src.includes("maps.googleapis")}).forEach(function(i){i.parentNode&&i.parentNode.removeChild(i)}),Array.prototype.slice.call(document.getElementsByTagName("link")).filter(function(i){return i.href==="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Google+Sans"}).forEach(function(i){i.parentNode&&i.parentNode.removeChild(i)}),Array.prototype.slice.call(document.getElementsByTagName("style")).filter(function(i){return i.innerText!==void 0&&i.innerText.length>0&&i.innerText.includes(".gm-")}).forEach(function(i){i.parentNode&&i.parentNode.removeChild(i)})},n.injectScript=function(){n.props.preventGoogleFontsLoading&&aa(),Re(!!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:Yc(n.props)};Gc(r).then(function(){n.props.onLoad&&n.props.onLoad(),n.setState(function(){return{loaded:!0}})}).catch(function(o){n.props.onError&&n.props.onError(o),console.error(`
65
+ `,"").indexOf(".gm-style")===0?(t.innerHTML="",!0):t.tagName.toLowerCase()==="style"&&!t.styleSheet&&!t.innerHTML}function la(){var t=document.getElementsByTagName("head")[0];if(t){var e=t.insertBefore.bind(t);t.insertBefore=function(o,i){return Rc(o)||Reflect.apply(e,t,[o,i]),o};var n=t.appendChild.bind(t);t.appendChild=function(o){return Rc(o)||Reflect.apply(n,t,[o]),o}}}function Kc(t){var e=t.googleMapsApiKey,n=t.googleMapsClientId,r=t.version,o=r===void 0?"weekly":r,i=t.language,s=t.region,a=t.libraries,l=t.channel,u=t.mapIds,f=t.authReferrerPolicy,d=[];return Re(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)),o&&d.push("v=".concat(o)),i&&d.push("language=".concat(i)),s&&d.push("region=".concat(s)),a&&a.length&&d.push("libraries=".concat(a.sort().join(","))),l&&d.push("channel=".concat(l)),u&&u.length&&d.push("map_ids=".concat(u.join(","))),f&&d.push("auth_referrer_policy=".concat(f)),d.push("callback=initMap"),"https://maps.googleapis.com/maps/api/js?".concat(d.join("&"))}var Rr=!1;function qc(){return L.jsx("div",{children:"Loading..."})}var Kr={id:"script-loader",version:"weekly"};(function(t){Be(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.check=c.createRef(),n.state={loaded:!1},n.cleanupCallback=function(){delete window.google.maps,n.injectScript()},n.isCleaningUp=function(){return Y0(n,void 0,void 0,function(){function r(o){if(!Rr)o();else if(ln)var i=window.setInterval(function(){Rr||(window.clearInterval(i),o())},1)}return W0(this,function(o){return[2,new Promise(r)]})})},n.cleanup=function(){Rr=!0;var r=document.getElementById(n.props.id);r&&r.parentNode&&r.parentNode.removeChild(r),Array.prototype.slice.call(document.getElementsByTagName("script")).filter(function(i){return typeof i.src=="string"&&i.src.includes("maps.googleapis")}).forEach(function(i){i.parentNode&&i.parentNode.removeChild(i)}),Array.prototype.slice.call(document.getElementsByTagName("link")).filter(function(i){return i.href==="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Google+Sans"}).forEach(function(i){i.parentNode&&i.parentNode.removeChild(i)}),Array.prototype.slice.call(document.getElementsByTagName("style")).filter(function(i){return i.innerText!==void 0&&i.innerText.length>0&&i.innerText.includes(".gm-")}).forEach(function(i){i.parentNode&&i.parentNode.removeChild(i)})},n.injectScript=function(){n.props.preventGoogleFontsLoading&&la(),Re(!!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:Kc(n.props)};Wc(r).then(function(){n.props.onLoad&&n.props.onLoad(),n.setState(function(){return{loaded:!0}})}).catch(function(o){n.props.onError&&n.props.onError(o),console.error(`
64
66
  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 />
65
67
  Otherwise it is a Network issue.
66
- `))})},n}return e.prototype.componentDidMount=function(){if(ln){if(window.google&&window.google.maps&&!Wr){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"),ln&&n.language!==this.props.language&&(this.cleanup(),this.setState(function(){return{loaded:!1}},this.cleanupCallback))},e.prototype.componentWillUnmount=function(){var n=this;if(ln){this.cleanup();var r=function(){n.check.current||(delete window.google,Wr=!1)};window.setTimeout(r,1),this.props.onUnmount&&this.props.onUnmount()}},e.prototype.render=function(){return L.jsxs(L.Fragment,{children:[L.jsx("div",{ref:this.check}),this.state.loaded?this.props.children:this.props.loadingElement||L.jsx(Wc,{})]})},e.defaultProps=Rr,e})(c.PureComponent);var Rc;function eb(t){var e=t.id,n=e===void 0?Rr.id:e,r=t.version,o=r===void 0?Rr.version:r,i=t.nonce,s=t.googleMapsApiKey,a=t.googleMapsClientId,u=t.language,l=t.region,f=t.libraries,d=t.preventGoogleFontsLoading,h=t.channel,g=t.mapIds,m=t.authReferrerPolicy,p=c.useRef(!1),E=c.useState(!1),w=E[0],y=E[1],b=c.useState(void 0),x=b[0],S=b[1];c.useEffect(function(){return p.current=!0,function(){p.current=!1}},[]),c.useEffect(function(){ln&&d&&aa()},[d]),c.useEffect(function(){w&&Re(!!window.google,"useLoadScript was marked as loaded, but window.google is not present. Something went wrong.")},[w]);var v=Yc({version:o,googleMapsApiKey:s,googleMapsClientId:a,language:u,region:l,libraries:f,channel:h,mapIds:g,authReferrerPolicy:m});c.useEffect(function(){if(!ln)return;function D(){p.current&&(y(!0),Rc=v)}if(window.google&&window.google.maps&&Rc===v){D();return}Gc({id:n,url:v,nonce:i}).then(D).catch(function(O){p.current&&S(O),console.warn(`
68
+ `))})},n}return e.prototype.componentDidMount=function(){if(ln){if(window.google&&window.google.maps&&!Rr){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"),ln&&n.language!==this.props.language&&(this.cleanup(),this.setState(function(){return{loaded:!1}},this.cleanupCallback))},e.prototype.componentWillUnmount=function(){var n=this;if(ln){this.cleanup();var r=function(){n.check.current||(delete window.google,Rr=!1)};window.setTimeout(r,1),this.props.onUnmount&&this.props.onUnmount()}},e.prototype.render=function(){return L.jsxs(L.Fragment,{children:[L.jsx("div",{ref:this.check}),this.state.loaded?this.props.children:this.props.loadingElement||L.jsx(qc,{})]})},e.defaultProps=Kr,e})(c.PureComponent);var Jc;function nb(t){var e=t.id,n=e===void 0?Kr.id:e,r=t.version,o=r===void 0?Kr.version:r,i=t.nonce,s=t.googleMapsApiKey,a=t.googleMapsClientId,l=t.language,u=t.region,f=t.libraries,d=t.preventGoogleFontsLoading,h=t.channel,g=t.mapIds,m=t.authReferrerPolicy,p=c.useRef(!1),E=c.useState(!1),w=E[0],b=E[1],y=c.useState(void 0),A=y[0],S=y[1];c.useEffect(function(){return p.current=!0,function(){p.current=!1}},[]),c.useEffect(function(){ln&&d&&la()},[d]),c.useEffect(function(){w&&Re(!!window.google,"useLoadScript was marked as loaded, but window.google is not present. Something went wrong.")},[w]);var v=Kc({version:o,googleMapsApiKey:s,googleMapsClientId:a,language:l,region:u,libraries:f,channel:h,mapIds:g,authReferrerPolicy:m});c.useEffect(function(){if(!ln)return;function D(){p.current&&(b(!0),Jc=v)}if(window.google&&window.google.maps&&Jc===v){D();return}Wc({id:n,url:v,nonce:i}).then(D).catch(function(O){p.current&&S(O),console.warn(`
67
69
  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||"-",`)
68
70
  Otherwise it is a Network issue.
69
- `)),console.error(O)})},[n,v,i]);var C=c.useRef();return c.useEffect(function(){C.current&&f!==C.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"),C.current=f},[f]),{isLoaded:w,loadError:x,url:v}}var tb=L.jsx(Wc,{});function nb(t){var e=t.loadingElement,n=t.onLoad,r=t.onError,o=t.onUnmount,i=t.children,s=sa(t,["loadingElement","onLoad","onError","onUnmount","children"]),a=eb(s),u=a.isLoaded,l=a.loadError;return c.useEffect(function(){u&&typeof n=="function"&&n()},[u,n]),c.useEffect(function(){l&&typeof r=="function"&&r(l)},[l,r]),c.useEffect(function(){return function(){o&&o()}},[o]),u?i:e||tb}c.memo(nb);/*! *****************************************************************************
71
+ `)),console.error(O)})},[n,v,i]);var C=c.useRef();return c.useEffect(function(){C.current&&f!==C.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"),C.current=f},[f]),{isLoaded:w,loadError:A,url:v}}var rb=L.jsx(qc,{});function ob(t){var e=t.loadingElement,n=t.onLoad,r=t.onError,o=t.onUnmount,i=t.children,s=aa(t,["loadingElement","onLoad","onError","onUnmount","children"]),a=nb(s),l=a.isLoaded,u=a.loadError;return c.useEffect(function(){l&&typeof n=="function"&&n()},[l,n]),c.useEffect(function(){u&&typeof r=="function"&&r(u)},[u,r]),c.useEffect(function(){return function(){o&&o()}},[o]),l?i:e||rb}c.memo(ob);/*! *****************************************************************************
70
72
  Copyright (c) Microsoft Corporation.
71
73
 
72
74
  Permission to use, copy, modify, and/or distribute this software for any
@@ -79,7 +81,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
79
81
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
80
82
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
81
83
  PERFORMANCE OF THIS SOFTWARE.
82
- ***************************************************************************** */function rb(t,e,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(f){try{l(r.next(f))}catch(d){s(d)}}function u(f){try{l(r.throw(f))}catch(d){s(d)}}function l(f){f.done?i(f.value):o(f.value).then(a,u)}l((r=r.apply(t,e||[])).next())})}var ob=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,o,i;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(o=r;o--!==0;)if(!t(e[o],n[o]))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(i=Object.keys(e),r=i.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;o--!==0;){var s=i[o];if(!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n};const Kc="__googleMapsScriptId";var ir;(function(t){t[t.INITIALIZED=0]="INITIALIZED",t[t.LOADING=1]="LOADING",t[t.SUCCESS=2]="SUCCESS",t[t.FAILURE=3]="FAILURE"})(ir||(ir={}));class xn{constructor({apiKey:e,authReferrerPolicy:n,channel:r,client:o,id:i=Kc,language:s,libraries:a=[],mapIds:u,nonce:l,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=o,this.id=i||Kc,this.language=s,this.libraries=a,this.mapIds=u,this.nonce=l,this.region=f,this.retries=d,this.url=h,this.version=g,xn.instance){if(!ob(this.options,xn.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(xn.instance.options)}`);return xn.instance}xn.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?ir.FAILURE:this.done?ir.SUCCESS:this.loading?ir.LOADING:ir.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(i=>!r[i]&&delete r[i]),!((n=(e=window==null?void 0:window.google)===null||e===void 0?void 0:e.maps)===null||n===void 0)&&n.importLibrary||(i=>{let s,a,u,l="The Google Maps JavaScript API",f="google",d="importLibrary",h="__ib__",g=document,m=window;m=m[f]||(m[f]={});const p=m.maps||(m.maps={}),E=new Set,w=new URLSearchParams,y=()=>s||(s=new Promise((b,x)=>rb(this,void 0,void 0,function*(){var S;yield a=g.createElement("script"),a.id=this.id,w.set("libraries",[...E]+"");for(u in i)w.set(u.replace(/[A-Z]/g,v=>"_"+v[0].toLowerCase()),i[u]);w.set("callback",f+".maps."+h),a.src=this.url+"?"+w,p[h]=b,a.onerror=()=>s=x(Error(l+" could not load.")),a.nonce=this.nonce||((S=g.querySelector("script[nonce]"))===null||S===void 0?void 0:S.nonce)||"",g.head.append(a)})));p[d]?console.warn(l+" only loads once. Ignoring:",i):p[d]=(b,...x)=>E.add(b)&&y().then(()=>p[d](b,...x))})(r);const o=this.libraries.map(i=>this.importLibrary(i));o.length||o.push(this.importLibrary("core")),Promise.all(o).then(()=>this.callback(),i=>{const s=new ErrorEvent("error",{error:i});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 ib=["maps"];function sb(t){var e=t.id,n=e===void 0?Rr.id:e,r=t.version,o=r===void 0?Rr.version:r,i=t.nonce,s=t.googleMapsApiKey,a=t.language,u=t.region,l=t.libraries,f=l===void 0?ib:l,d=t.preventGoogleFontsLoading,h=t.mapIds,g=t.authReferrerPolicy,m=c.useRef(!1),p=c.useState(!1),E=p[0],w=p[1],y=c.useState(void 0),b=y[0],x=y[1];c.useEffect(function(){return m.current=!0,function(){m.current=!1}},[]);var S=c.useMemo(function(){return new xn({id:n,apiKey:s,version:o,libraries:f,language:a||"en",region:u||"US",mapIds:h||[],nonce:i||"",authReferrerPolicy:g||"origin"})},[n,s,o,f,a,u,h,i,g]);c.useEffect(function(){E||S.load().then(function(){m.current&&w(!0)}).catch(function(A){x(A)})},[]),c.useEffect(function(){ln&&d&&aa()},[d]);var v=c.useRef();return c.useEffect(function(){v.current&&f!==v.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"),v.current=f},[f]),{isLoaded:E,loadError:b}}var qc={},Jc={options:function(t,e){t.setOptions(e)}};function ab(t){var e=t.options,n=t.onLoad,r=t.onUnmount,o=c.useContext(ce),i=c.useState(null),s=i[0],a=i[1];return c.useEffect(function(){s!==null&&s.setMap(o)},[o]),c.useEffect(function(){e&&s!==null&&s.setOptions(e)},[s,e]),c.useEffect(function(){var u=new google.maps.TrafficLayer($($({},e||{}),{map:o}));return a(u),n&&n(u),function(){s!==null&&(r&&r(s),s.setMap(null))}},[]),null}c.memo(ab),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($($({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:Jc,eventMap:qc,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{trafficLayer:n}},this.setTrafficLayerCallback)},e.prototype.componentDidUpdate=function(n){this.state.trafficLayer!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Jc,eventMap:qc,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),ge(this.registeredEvents),this.state.trafficLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=ce,e}(c.PureComponent);function lb(t){var e=t.onLoad,n=t.onUnmount,r=c.useContext(ce),o=c.useState(null),i=o[0],s=o[1];return c.useEffect(function(){i!==null&&i.setMap(r)},[r]),c.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}c.memo(lb),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=ce,e}(c.PureComponent);function ub(t){var e=t.onLoad,n=t.onUnmount,r=c.useContext(ce),o=c.useState(null),i=o[0],s=o[1];return c.useEffect(function(){i!==null&&i.setMap(r)},[r]),c.useEffect(function(){var a=new google.maps.TransitLayer;return s(a),a.setMap(r),e&&e(a),function(){i!==null&&(n&&n(i),i.setMap(null))}},[]),null}c.memo(ub),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=ce,e}(c.PureComponent);var Zc={onCircleComplete:"circlecomplete",onMarkerComplete:"markercomplete",onOverlayComplete:"overlaycomplete",onPolygonComplete:"polygoncomplete",onPolylineComplete:"polylinecomplete",onRectangleComplete:"rectanglecomplete"},_c={drawingMode:function(t,e){t.setDrawingMode(e)},options:function(t,e){t.setOptions(e)}};function cb(t){var e=t.options,n=t.drawingMode,r=t.onCircleComplete,o=t.onMarkerComplete,i=t.onOverlayComplete,s=t.onPolygonComplete,a=t.onPolylineComplete,u=t.onRectangleComplete,l=t.onLoad,f=t.onUnmount,d=c.useContext(ce),h=c.useState(null),g=h[0],m=h[1],p=c.useState(null),E=p[0],w=p[1],y=c.useState(null),b=y[0],x=y[1],S=c.useState(null),v=S[0],C=S[1],A=c.useState(null),D=A[0],M=A[1],O=c.useState(null),k=O[0],N=O[1],H=c.useState(null),G=H[0],q=H[1];return c.useEffect(function(){g!==null&&g.setMap(d)},[d]),c.useEffect(function(){e&&g!==null&&g.setOptions(e)},[g,e]),c.useEffect(function(){n&&g!==null&&g.setDrawingMode(n)},[g,n]),c.useEffect(function(){g&&r&&(E!==null&&google.maps.event.removeListener(E),w(google.maps.event.addListener(g,"circlecomplete",r)))},[g,r]),c.useEffect(function(){g&&o&&(b!==null&&google.maps.event.removeListener(b),x(google.maps.event.addListener(g,"markercomplete",o)))},[g,o]),c.useEffect(function(){g&&i&&(v!==null&&google.maps.event.removeListener(v),C(google.maps.event.addListener(g,"overlaycomplete",i)))},[g,i]),c.useEffect(function(){g&&s&&(D!==null&&google.maps.event.removeListener(D),M(google.maps.event.addListener(g,"polygoncomplete",s)))},[g,s]),c.useEffect(function(){g&&a&&(k!==null&&google.maps.event.removeListener(k),N(google.maps.event.addListener(g,"polylinecomplete",a)))},[g,a]),c.useEffect(function(){g&&u&&(G!==null&&google.maps.event.removeListener(G),q(google.maps.event.addListener(g,"rectanglecomplete",u)))},[g,u]),c.useEffect(function(){Re(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing);var V=new google.maps.drawing.DrawingManager($($({},e||{}),{map:d}));return n&&V.setDrawingMode(n),r&&w(google.maps.event.addListener(V,"circlecomplete",r)),o&&x(google.maps.event.addListener(V,"markercomplete",o)),i&&C(google.maps.event.addListener(V,"overlaycomplete",i)),s&&M(google.maps.event.addListener(V,"polygoncomplete",s)),a&&N(google.maps.event.addListener(V,"polylinecomplete",a)),u&&q(google.maps.event.addListener(V,"rectanglecomplete",u)),m(V),l&&l(V),function(){g!==null&&(E&&google.maps.event.removeListener(E),b&&google.maps.event.removeListener(b),v&&google.maps.event.removeListener(v),D&&google.maps.event.removeListener(D),k&&google.maps.event.removeListener(k),G&&google.maps.event.removeListener(G),f&&f(g),g.setMap(null))}},[]),null}c.memo(cb),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)},Re(!!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($($({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:_c,eventMap:Zc,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{drawingManager:n}},this.setDrawingManagerCallback)},e.prototype.componentDidUpdate=function(n){this.state.drawingManager!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:_c,eventMap:Zc,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),ge(this.registeredEvents),this.state.drawingManager.setMap(null))},e.prototype.render=function(){return null},e.contextType=ce,e}(c.PureComponent);var Xc={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"},$c={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)}},wi={};function fb(t){var e=t.position,n=t.options,r=t.clusterer,o=t.noClustererRedraw,i=t.children,s=t.draggable,a=t.visible,u=t.animation,l=t.clickable,f=t.cursor,d=t.icon,h=t.label,g=t.opacity,m=t.shape,p=t.title,E=t.zIndex,w=t.onClick,y=t.onDblClick,b=t.onDrag,x=t.onDragEnd,S=t.onDragStart,v=t.onMouseOut,C=t.onMouseOver,A=t.onMouseUp,D=t.onMouseDown,M=t.onRightClick,O=t.onClickableChanged,k=t.onCursorChanged,N=t.onAnimationChanged,H=t.onDraggableChanged,G=t.onFlatChanged,q=t.onIconChanged,V=t.onPositionChanged,K=t.onShapeChanged,B=t.onTitleChanged,I=t.onVisibleChanged,T=t.onZindexChanged,F=t.onLoad,U=t.onUnmount,Y=c.useContext(ce),ee=c.useState(null),P=ee[0],Q=ee[1],Z=c.useState(null),R=Z[0],te=Z[1],oe=c.useState(null),se=oe[0],de=oe[1],je=c.useState(null),ve=je[0],ye=je[1],Ne=c.useState(null),Me=Ne[0],ke=Ne[1],ae=c.useState(null),le=ae[0],Ge=ae[1],_e=c.useState(null),_=_e[0],Qe=_e[1],Ue=c.useState(null),ht=Ue[0],at=Ue[1],ue=c.useState(null),Dn=ue[0],Hi=ue[1],It=c.useState(null),Kt=It[0],zi=It[1],z=c.useState(null),ne=z[0],J=z[1],me=c.useState(null),Ie=me[0],Se=me[1],De=c.useState(null),Pe=De[0],He=De[1],fe=c.useState(null),we=fe[0],ct=fe[1],qt=c.useState(null),lt=qt[0],Je=qt[1],pt=c.useState(null),gt=pt[0],tt=pt[1],Gt=c.useState(null),Dt=Gt[0],vt=Gt[1],dn=c.useState(null),Jt=dn[0],no=dn[1],ro=c.useState(null),cr=ro[0],oo=ro[1],fr=c.useState(null),Tn=fr[0],io=fr[1],hn=c.useState(null),Bn=hn[0],Nn=hn[1],jn=c.useState(null),Un=jn[0],so=jn[1];c.useEffect(function(){P!==null&&P.setMap(Y)},[Y]),c.useEffect(function(){typeof n<"u"&&P!==null&&P.setOptions(n)},[P,n]),c.useEffect(function(){typeof s<"u"&&P!==null&&P.setDraggable(s)},[P,s]),c.useEffect(function(){e&&P!==null&&P.setPosition(e)},[P,e]),c.useEffect(function(){typeof a<"u"&&P!==null&&P.setVisible(a)},[P,a]),c.useEffect(function(){P==null||P.setAnimation(u)},[P,u]),c.useEffect(function(){P&&y&&(R!==null&&google.maps.event.removeListener(R),te(google.maps.event.addListener(P,"dblclick",y)))},[y]),c.useEffect(function(){P&&x&&(se!==null&&google.maps.event.removeListener(se),de(google.maps.event.addListener(P,"dragend",x)))},[x]),c.useEffect(function(){P&&S&&(ve!==null&&google.maps.event.removeListener(ve),ye(google.maps.event.addListener(P,"dragstart",S)))},[S]),c.useEffect(function(){P&&D&&(Me!==null&&google.maps.event.removeListener(Me),ke(google.maps.event.addListener(P,"mousedown",D)))},[D]),c.useEffect(function(){P&&v&&(le!==null&&google.maps.event.removeListener(le),Ge(google.maps.event.addListener(P,"mouseout",v)))},[v]),c.useEffect(function(){P&&C&&(_!==null&&google.maps.event.removeListener(_),Qe(google.maps.event.addListener(P,"mouseover",C)))},[C]),c.useEffect(function(){P&&A&&(ht!==null&&google.maps.event.removeListener(ht),at(google.maps.event.addListener(P,"mouseup",A)))},[A]),c.useEffect(function(){P&&M&&(Dn!==null&&google.maps.event.removeListener(Dn),Hi(google.maps.event.addListener(P,"rightclick",M)))},[M]),c.useEffect(function(){P&&w&&(Kt!==null&&google.maps.event.removeListener(Kt),zi(google.maps.event.addListener(P,"click",w)))},[w]),c.useEffect(function(){P&&b&&(ne!==null&&google.maps.event.removeListener(ne),J(google.maps.event.addListener(P,"drag",b)))},[b]),c.useEffect(function(){P&&O&&(Ie!==null&&google.maps.event.removeListener(Ie),Se(google.maps.event.addListener(P,"clickable_changed",O)))},[O]),c.useEffect(function(){P&&k&&(Pe!==null&&google.maps.event.removeListener(Pe),He(google.maps.event.addListener(P,"cursor_changed",k)))},[k]),c.useEffect(function(){P&&N&&(we!==null&&google.maps.event.removeListener(we),ct(google.maps.event.addListener(P,"animation_changed",N)))},[N]),c.useEffect(function(){P&&H&&(lt!==null&&google.maps.event.removeListener(lt),Je(google.maps.event.addListener(P,"draggable_changed",H)))},[H]),c.useEffect(function(){P&&G&&(gt!==null&&google.maps.event.removeListener(gt),tt(google.maps.event.addListener(P,"flat_changed",G)))},[G]),c.useEffect(function(){P&&q&&(Dt!==null&&google.maps.event.removeListener(Dt),vt(google.maps.event.addListener(P,"icon_changed",q)))},[q]),c.useEffect(function(){P&&V&&(Jt!==null&&google.maps.event.removeListener(Jt),no(google.maps.event.addListener(P,"position_changed",V)))},[V]),c.useEffect(function(){P&&K&&(cr!==null&&google.maps.event.removeListener(cr),oo(google.maps.event.addListener(P,"shape_changed",K)))},[K]),c.useEffect(function(){P&&B&&(Tn!==null&&google.maps.event.removeListener(Tn),io(google.maps.event.addListener(P,"title_changed",B)))},[B]),c.useEffect(function(){P&&I&&(Bn!==null&&google.maps.event.removeListener(Bn),Nn(google.maps.event.addListener(P,"visible_changed",I)))},[I]),c.useEffect(function(){P&&T&&(Un!==null&&google.maps.event.removeListener(Un),so(google.maps.event.addListener(P,"zindex_changed",T)))},[T]),c.useEffect(function(){var pn=$($($({},n||wi),r?wi:{map:Y}),{position:e}),re=new google.maps.Marker(pn);return r?r.addMarker(re,!!o):re.setMap(Y),e&&re.setPosition(e),typeof a<"u"&&re.setVisible(a),typeof s<"u"&&re.setDraggable(s),typeof l<"u"&&re.setClickable(l),typeof f=="string"&&re.setCursor(f),d&&re.setIcon(d),typeof h<"u"&&re.setLabel(h),typeof g<"u"&&re.setOpacity(g),m&&re.setShape(m),typeof p=="string"&&re.setTitle(p),typeof E=="number"&&re.setZIndex(E),y&&te(google.maps.event.addListener(re,"dblclick",y)),x&&de(google.maps.event.addListener(re,"dragend",x)),S&&ye(google.maps.event.addListener(re,"dragstart",S)),D&&ke(google.maps.event.addListener(re,"mousedown",D)),v&&Ge(google.maps.event.addListener(re,"mouseout",v)),C&&Qe(google.maps.event.addListener(re,"mouseover",C)),A&&at(google.maps.event.addListener(re,"mouseup",A)),M&&Hi(google.maps.event.addListener(re,"rightclick",M)),w&&zi(google.maps.event.addListener(re,"click",w)),b&&J(google.maps.event.addListener(re,"drag",b)),O&&Se(google.maps.event.addListener(re,"clickable_changed",O)),k&&He(google.maps.event.addListener(re,"cursor_changed",k)),N&&ct(google.maps.event.addListener(re,"animation_changed",N)),H&&Je(google.maps.event.addListener(re,"draggable_changed",H)),G&&tt(google.maps.event.addListener(re,"flat_changed",G)),q&&vt(google.maps.event.addListener(re,"icon_changed",q)),V&&no(google.maps.event.addListener(re,"position_changed",V)),K&&oo(google.maps.event.addListener(re,"shape_changed",K)),B&&io(google.maps.event.addListener(re,"title_changed",B)),I&&Nn(google.maps.event.addListener(re,"visible_changed",I)),T&&so(google.maps.event.addListener(re,"zindex_changed",T)),Q(re),F&&F(re),function(){R!==null&&google.maps.event.removeListener(R),se!==null&&google.maps.event.removeListener(se),ve!==null&&google.maps.event.removeListener(ve),Me!==null&&google.maps.event.removeListener(Me),le!==null&&google.maps.event.removeListener(le),_!==null&&google.maps.event.removeListener(_),ht!==null&&google.maps.event.removeListener(ht),Dn!==null&&google.maps.event.removeListener(Dn),Kt!==null&&google.maps.event.removeListener(Kt),Ie!==null&&google.maps.event.removeListener(Ie),Pe!==null&&google.maps.event.removeListener(Pe),we!==null&&google.maps.event.removeListener(we),lt!==null&&google.maps.event.removeListener(lt),gt!==null&&google.maps.event.removeListener(gt),Dt!==null&&google.maps.event.removeListener(Dt),Jt!==null&&google.maps.event.removeListener(Jt),Tn!==null&&google.maps.event.removeListener(Tn),Bn!==null&&google.maps.event.removeListener(Bn),Un!==null&&google.maps.event.removeListener(Un),U&&U(re),r?r.removeMarker(re,!!o):re&&re.setMap(null)}},[]);var ao=c.useMemo(function(){return i?c.Children.map(i,function(pn){if(!c.isValidElement(pn))return pn;var re=pn;return c.cloneElement(re,{anchor:P})}):null},[i,P]);return L.jsx(L.Fragment,{children:ao})||null}c.memo(fb);var ef=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=$($($({},this.props.options||wi),this.props.clusterer?wi:{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:$c,eventMap:Xc,prevProps:{},nextProps:this.props,instance:this.marker}),this.props.onLoad&&this.props.onLoad(this.marker)},e.prototype.componentDidUpdate=function(n){this.marker&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:$c,eventMap:Xc,prevProps:n,nextProps:this.props,instance:this.marker}))},e.prototype.componentWillUnmount=function(){this.marker&&(this.props.onUnmount&&this.props.onUnmount(this.marker),ge(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=c.Children.map(this.props.children,function(o){if(!c.isValidElement(o))return o;var i=o;return c.cloneElement(i,{anchor:n.marker})})),r||null},e.contextType=ce,e}(c.PureComponent),db=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(),o=this.cluster.getBounds(),i=n.getMap();i!==null&&"fitBounds"in i&&i.fitBounds(o),this.timeOut=window.setTimeout(function(){var s=n.getMap();if(s!==null){"fitBounds"in s&&s.fitBounds(o);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,o,i,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,u=this.backgroundPosition.split(" "),l=parseInt(((e=u[0])===null||e===void 0?void 0:e.replace(/^\s+|\s+$/g,""))||"0",10),f=parseInt(((n=u[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(l,"px")),this.cluster.getClusterer().enableRetinaIcons||(h.style.clip="rect(-".concat(f,"px, -").concat(l+this.width,"px, -").concat(f+this.height,", -").concat(l,")"));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((o=this.sums)===null||o===void 0?void 0:o.text)),!((i=this.sums)===null||i===void 0)&&i.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}(),hb=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 db(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,o=n;r<o.length;r++){var i=o[r],s=i.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 o=this.markers.length+1;this.center=new google.maps.LatLng((this.center.lat()*(o-1)+r.lat())/o,(this.center.lng()*(o-1)+r.lng())/o),this.calculateBounds()}}}else{var r=e.getPosition();r&&(this.center=r,this.calculateBounds())}e.isAdded=!0,this.markers.push(e);var i=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(i<this.minClusterSize)e.getMap()!==this.map&&e.setMap(this.map);else if(i===this.minClusterSize)for(var u=0,l=this.markers;u<l.length;u++){var f=l[u];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(),o=(e=this.map)===null||e===void 0?void 0:e.getZoom();if(r!==null&&typeof o<"u"&&o>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 pb(t,e){var n=t.length,r=n.toString().length,o=Math.min(r,e);return{text:n.toString(),index:o,title:""}}var gb=2e3,vb=500,mb="https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m",yb="png",bb=[53,56,66,78,90],wb="cluster",tf=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||mb,this.imageExtension=r.imageExtension||yb,this.imageSizes=r.imageSizes||bb,this.calculator=r.calculator||pb,this.batchSize=r.batchSize||gb,this.batchSizeIE=r.batchSizeIE||vb,this.clusterClass=r.clusterClass||wb,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 o=0,i=this.clusters;o<i.length;o++){var s=i[o];s.remove()}this.clusters=[];for(var a=0,u=this.listeners;a<u.length;a++){var l=u[a];google.maps.event.removeListener(l)}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,o=e;r<o.length;r++){var i=o[r],s=i.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 o=e[r];o&&this.pushMarkerTo(o)}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,o=0,i=e;o<i.length;o++){var s=i[o];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,o=e;r<o.length;r++){var i=o[r];i.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 o=n.fromLatLngToDivPixel(new google.maps.LatLng(e.getSouthWest().lat(),e.getSouthWest().lng()));if(o!==null&&(o.x-=this.gridSize,o.y+=this.gridSize),r!==null){var i=n.fromDivPixelToLatLng(r);i!==null&&e.extend(i)}if(o!==null){var s=n.fromDivPixelToLatLng(o);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 o=r[n];o.remove()}this.clusters=[];for(var i=0,s=this.markers;i<s.length;i++){var a=s[i];a.isAdded=!1,e&&a.setMap(null)}},t.prototype.distanceBetweenPoints=function(e,n){var r=6371,o=(n.lat()-e.lat())*Math.PI/180,i=(n.lng()-e.lng())*Math.PI/180,s=Math.sin(o/2)*Math.sin(o/2)+Math.cos(e.lat()*Math.PI/180)*Math.cos(n.lat()*Math.PI/180)*Math.sin(i/2)*Math.sin(i/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,o=null,i=0,s=this.clusters;i<s.length;i++){var a=s[i];n=a;var u=n.getCenter(),l=e.getPosition();if(u&&l){var f=this.distanceBetweenPoints(u,l);f<r&&(r=f,o=n)}}o&&o.isMarkerInClusterBounds(e)?o.addMarker(e):(n=new hb(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(),o=r!==null&&("getBounds"in r)?r.getBounds():null,i=(r==null?void 0:r.getZoom())||0,s=i>3?new google.maps.LatLngBounds(o==null?void 0:o.getSouthWest(),o==null?void 0:o.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),u=Math.min(e+this.batchSize,this.markers.length),l=e;l<u;l++){var f=this.markers[l];f&&!f.isAdded&&this.isMarkerInBounds(f,a)&&(!this.ignoreHidden||this.ignoreHidden&&f.getVisible())&&this.addToClosestCluster(f)}if(u<this.markers.length)this.timerRefStatic=window.setTimeout(function(){n.createClusters(u)},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(o){for(var i in o.prototype){var s=i;this.prototype[s]=o.prototype[s]}return this}).apply(e,[n])},t}(),Lt={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)}},Eb={};function Cb(t){var e=t.children,n=t.options,r=t.averageCenter,o=t.batchSizeIE,i=t.calculator,s=t.clusterClass,a=t.enableRetinaIcons,u=t.gridSize,l=t.ignoreHidden,f=t.imageExtension,d=t.imagePath,h=t.imageSizes,g=t.maxZoom,m=t.minimumClusterSize,p=t.styles,E=t.title,w=t.zoomOnClick,y=t.onClick,b=t.onClusteringBegin,x=t.onClusteringEnd,S=t.onMouseOver,v=t.onMouseOut,C=t.onLoad,A=t.onUnmount,D=c.useState(null),M=D[0],O=D[1],k=c.useContext(ce),N=c.useState(null),H=N[0],G=N[1],q=c.useState(null),V=q[0],K=q[1],B=c.useState(null),I=B[0],T=B[1],F=c.useState(null),U=F[0],Y=F[1],ee=c.useState(null),P=ee[0],Q=ee[1];return c.useEffect(function(){M&&v&&(U!==null&&google.maps.event.removeListener(U),Y(google.maps.event.addListener(M,Lt.onMouseOut,v)))},[v]),c.useEffect(function(){M&&S&&(P!==null&&google.maps.event.removeListener(P),Q(google.maps.event.addListener(M,Lt.onMouseOver,S)))},[S]),c.useEffect(function(){M&&y&&(H!==null&&google.maps.event.removeListener(H),G(google.maps.event.addListener(M,Lt.onClick,y)))},[y]),c.useEffect(function(){M&&b&&(V!==null&&google.maps.event.removeListener(V),K(google.maps.event.addListener(M,Lt.onClusteringBegin,b)))},[b]),c.useEffect(function(){M&&x&&(I!==null&&google.maps.event.removeListener(I),K(google.maps.event.addListener(M,Lt.onClusteringEnd,x)))},[x]),c.useEffect(function(){typeof r<"u"&&M!==null&&Ae.averageCenter(M,r)},[M,r]),c.useEffect(function(){typeof o<"u"&&M!==null&&Ae.batchSizeIE(M,o)},[M,o]),c.useEffect(function(){typeof i<"u"&&M!==null&&Ae.calculator(M,i)},[M,i]),c.useEffect(function(){typeof s<"u"&&M!==null&&Ae.clusterClass(M,s)},[M,s]),c.useEffect(function(){typeof a<"u"&&M!==null&&Ae.enableRetinaIcons(M,a)},[M,a]),c.useEffect(function(){typeof u<"u"&&M!==null&&Ae.gridSize(M,u)},[M,u]),c.useEffect(function(){typeof l<"u"&&M!==null&&Ae.ignoreHidden(M,l)},[M,l]),c.useEffect(function(){typeof f<"u"&&M!==null&&Ae.imageExtension(M,f)},[M,f]),c.useEffect(function(){typeof d<"u"&&M!==null&&Ae.imagePath(M,d)},[M,d]),c.useEffect(function(){typeof h<"u"&&M!==null&&Ae.imageSizes(M,h)},[M,h]),c.useEffect(function(){typeof g<"u"&&M!==null&&Ae.maxZoom(M,g)},[M,g]),c.useEffect(function(){typeof m<"u"&&M!==null&&Ae.minimumClusterSize(M,m)},[M,m]),c.useEffect(function(){typeof p<"u"&&M!==null&&Ae.styles(M,p)},[M,p]),c.useEffect(function(){typeof E<"u"&&M!==null&&Ae.title(M,E)},[M,E]),c.useEffect(function(){typeof w<"u"&&M!==null&&Ae.zoomOnClick(M,w)},[M,w]),c.useEffect(function(){if(k){var Z=$({},n||Eb),R=new tf(k,[],Z);return r&&Ae.averageCenter(R,r),o&&Ae.batchSizeIE(R,o),i&&Ae.calculator(R,i),s&&Ae.clusterClass(R,s),a&&Ae.enableRetinaIcons(R,a),u&&Ae.gridSize(R,u),l&&Ae.ignoreHidden(R,l),f&&Ae.imageExtension(R,f),d&&Ae.imagePath(R,d),h&&Ae.imageSizes(R,h),g&&Ae.maxZoom(R,g),m&&Ae.minimumClusterSize(R,m),p&&Ae.styles(R,p),E&&Ae.title(R,E),w&&Ae.zoomOnClick(R,w),v&&Y(google.maps.event.addListener(R,Lt.onMouseOut,v)),S&&Q(google.maps.event.addListener(R,Lt.onMouseOver,S)),y&&G(google.maps.event.addListener(R,Lt.onClick,y)),b&&K(google.maps.event.addListener(R,Lt.onClusteringBegin,b)),x&&T(google.maps.event.addListener(R,Lt.onClusteringEnd,x)),O(R),C&&C(R),function(){U!==null&&google.maps.event.removeListener(U),P!==null&&google.maps.event.removeListener(P),H!==null&&google.maps.event.removeListener(H),V!==null&&google.maps.event.removeListener(V),I!==null&&google.maps.event.removeListener(I),A&&A(R)}}},[]),M!==null&&e(M)||null}c.memo(Cb);var Sb=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 tf(this.context,[],this.props.options);this.registeredEvents=he({updaterMap:Ae,eventMap:Lt,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{markerClusterer:n}},this.setClustererCallback)}},e.prototype.componentDidUpdate=function(n){this.state.markerClusterer&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Ae,eventMap:Lt,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),ge(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=ce,e}(c.PureComponent);function nf(t){t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation()}var rf=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(l){l.returnValue=!1,l.preventDefault&&l.preventDefault(),e.enableEventPropagation||nf(l)};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 o=this.getBoxWidths();this.div.style.width=this.div.offsetWidth-o.left-o.right+"px",this.fixedWidthSet=!1}if(this.panBox(this.disableAutoPan),!this.enableEventPropagation){this.eventListeners=[];for(var i=["mousedown","mouseover","mouseout","mouseup","click","dblclick","touchstart","touchend","touchmove"],s=0,a=i;s<a.length;s++){var u=a[s];this.eventListeners.push(google.maps.event.addListener(this.div,u,nf))}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,o=0,i=n.getBounds();i&&!i.contains(this.position)&&n.setCenter(this.position);var s=n.getDiv(),a=s.offsetWidth,u=s.offsetHeight,l=this.pixelOffset.width,f=this.pixelOffset.height,d=this.div.offsetWidth,h=this.div.offsetHeight,g=this.infoBoxClearance.width,m=this.infoBoxClearance.height,p=this.getProjection(),E=p.fromLatLngToContainerPixel(this.position);E!==null&&(E.x<-l+g?r=E.x+l-g:E.x+d+l+g>a&&(r=E.x+d+l+g-a),this.alignBottom?E.y<-f+m+h?o=E.y+f-m-h:E.y+f+m>u&&(o=E.y+f+m-u):E.y<-f+m?o=E.y+f-m:E.y+h+f+m>u&&(o=E.y+h+f+m-u)),r===0&&o===0||n.panBy(r,o)}}},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 o=this.div.currentStyle;o&&(e.top=parseInt(o.borderTopWidth||"",10)||0,e.bottom=parseInt(o.borderBottomWidth||"",10)||0,e.left=parseInt(o.borderLeftWidth||"",10)||0,e.right=parseInt(o.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 o=n.getPosition();r.setPosition(o)}),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(o){for(var i in o.prototype)Object.prototype.hasOwnProperty.call(this,i)||(this.prototype[i]=o.prototype[i]);return this}).apply(e,[n])},t}(),of={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},sf={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)}},Lb={};function Ab(t){var e=t.children,n=t.anchor,r=t.options,o=t.position,i=t.zIndex,s=t.onCloseClick,a=t.onDomReady,u=t.onContentChanged,l=t.onPositionChanged,f=t.onZindexChanged,d=t.onLoad,h=t.onUnmount,g=c.useContext(ce),m=c.useState(null),p=m[0],E=m[1],w=c.useState(null),y=w[0],b=w[1],x=c.useState(null),S=x[0],v=x[1],C=c.useState(null),A=C[0],D=C[1],M=c.useState(null),O=M[0],k=M[1],N=c.useState(null),H=N[0],G=N[1],q=c.useRef(null);return c.useEffect(function(){g&&p!==null&&(p.close(),n?p.open(g,n):p.getPosition()&&p.open(g))},[g,p,n]),c.useEffect(function(){r&&p!==null&&p.setOptions(r)},[p,r]),c.useEffect(function(){if(o&&p!==null){var V=o instanceof google.maps.LatLng?o:new google.maps.LatLng(o.lat,o.lng);p.setPosition(V)}},[o]),c.useEffect(function(){typeof i=="number"&&p!==null&&p.setZIndex(i)},[i]),c.useEffect(function(){p&&s&&(y!==null&&google.maps.event.removeListener(y),b(google.maps.event.addListener(p,"closeclick",s)))},[s]),c.useEffect(function(){p&&a&&(S!==null&&google.maps.event.removeListener(S),v(google.maps.event.addListener(p,"domready",a)))},[a]),c.useEffect(function(){p&&u&&(A!==null&&google.maps.event.removeListener(A),D(google.maps.event.addListener(p,"content_changed",u)))},[u]),c.useEffect(function(){p&&l&&(O!==null&&google.maps.event.removeListener(O),k(google.maps.event.addListener(p,"position_changed",l)))},[l]),c.useEffect(function(){p&&f&&(H!==null&&google.maps.event.removeListener(H),G(google.maps.event.addListener(p,"zindex_changed",f)))},[f]),c.useEffect(function(){if(g){var V=r||Lb,K=V.position,B=sa(V,["position"]),I=void 0;K&&!(K instanceof google.maps.LatLng)&&(I=new google.maps.LatLng(K.lat,K.lng));var T=new rf($($({},B),I?{position:I}:{}));q.current=document.createElement("div"),E(T),s&&b(google.maps.event.addListener(T,"closeclick",s)),a&&v(google.maps.event.addListener(T,"domready",a)),u&&D(google.maps.event.addListener(T,"content_changed",u)),l&&k(google.maps.event.addListener(T,"position_changed",l)),f&&G(google.maps.event.addListener(T,"zindex_changed",f)),T.setContent(q.current),n?T.open(g,n):T.getPosition()?T.open(g):Re(!1,"You must provide either an anchor or a position prop for <InfoBox>."),d&&d(T)}return function(){p!==null&&(y&&google.maps.event.removeListener(y),A&&google.maps.event.removeListener(A),S&&google.maps.event.removeListener(S),O&&google.maps.event.removeListener(O),H&&google.maps.event.removeListener(H),h&&h(p),p.close())}},[]),q.current?Hn.createPortal(c.Children.only(e),q.current):null}c.memo(Ab),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,o){o?n.context!==null&&r.open(n.context,o):r.getPosition()?n.context!==null&&r.open(n.context):Re(!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,o=sa(n,["position"]),i;r&&!(r instanceof google.maps.LatLng)&&(i=new google.maps.LatLng(r.lat,r.lng));var s=new rf($($({},o),i?{position:i}:{}));this.containerElement=document.createElement("div"),this.registeredEvents=he({updaterMap:sf,eventMap:of,prevProps:{},nextProps:this.props,instance:s}),this.setState({infoBox:s},this.setInfoBoxCallback)},e.prototype.componentDidUpdate=function(n){var r=this.state.infoBox;r!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:sf,eventMap:of,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),ge(this.registeredEvents),r.close())},e.prototype.render=function(){return this.containerElement?Hn.createPortal(c.Children.only(this.props.children),this.containerElement):null},e.contextType=ce,e}(c.PureComponent);var xb=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,o,i;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(o=r;o--!==0;)if(!t(e[o],n[o]))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(i=Object.keys(e),r=i.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;o--!==0;){var s=i[o];if(!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n},af=zc(xb);const lf=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],la=1,Kr=8;class ua{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 o=r>>4;if(o!==la)throw new Error(`Got v${o} data when expected v${la}.`);const i=lf[r&15];if(!i)throw new Error("Unrecognized array type.");const[s]=new Uint16Array(e,2,1),[a]=new Uint32Array(e,4,1);return new ua(a,s,i,e)}constructor(e,n=64,r=Float64Array,o){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 i=lf.indexOf(this.ArrayType),s=e*2*this.ArrayType.BYTES_PER_ELEMENT,a=e*this.IndexArrayType.BYTES_PER_ELEMENT,u=(8-a%8)%8;if(i<0)throw new Error(`Unexpected typed array class: ${r}.`);o&&o instanceof ArrayBuffer?(this.data=o,this.ids=new this.IndexArrayType(this.data,Kr,e),this.coords=new this.ArrayType(this.data,Kr+a+u,e*2),this._pos=e*2,this._finished=!0):(this.data=new ArrayBuffer(Kr+s+a+u),this.ids=new this.IndexArrayType(this.data,Kr,e),this.coords=new this.ArrayType(this.data,Kr+a+u,e*2),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,(la<<4)+i]),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 ca(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(e,n,r,o){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:i,coords:s,nodeSize:a}=this,u=[0,i.length-1,0],l=[];for(;u.length;){const f=u.pop()||0,d=u.pop()||0,h=u.pop()||0;if(d-h<=a){for(let E=h;E<=d;E++){const w=s[2*E],y=s[2*E+1];w>=e&&w<=r&&y>=n&&y<=o&&l.push(i[E])}continue}const g=h+d>>1,m=s[2*g],p=s[2*g+1];m>=e&&m<=r&&p>=n&&p<=o&&l.push(i[g]),(f===0?e<=m:n<=p)&&(u.push(h),u.push(g-1),u.push(1-f)),(f===0?r>=m:o>=p)&&(u.push(g+1),u.push(d),u.push(1-f))}return l}within(e,n,r){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:o,coords:i,nodeSize:s}=this,a=[0,o.length-1,0],u=[],l=r*r;for(;a.length;){const f=a.pop()||0,d=a.pop()||0,h=a.pop()||0;if(d-h<=s){for(let E=h;E<=d;E++)cf(i[2*E],i[2*E+1],e,n)<=l&&u.push(o[E]);continue}const g=h+d>>1,m=i[2*g],p=i[2*g+1];cf(m,p,e,n)<=l&&u.push(o[g]),(f===0?e-r<=m:n-r<=p)&&(a.push(h),a.push(g-1),a.push(1-f)),(f===0?e+r>=m:n+r>=p)&&(a.push(g+1),a.push(d),a.push(1-f))}return u}}function ca(t,e,n,r,o,i){if(o-r<=n)return;const s=r+o>>1;uf(t,e,s,r,o,i),ca(t,e,n,r,s-1,1-i),ca(t,e,n,s+1,o,1-i)}function uf(t,e,n,r,o,i){for(;o>r;){if(o-r>600){const l=o-r+1,f=n-r+1,d=Math.log(l),h=.5*Math.exp(2*d/3),g=.5*Math.sqrt(d*h*(l-h)/l)*(f-l/2<0?-1:1),m=Math.max(r,Math.floor(n-f*h/l+g)),p=Math.min(o,Math.floor(n+(l-f)*h/l+g));uf(t,e,n,m,p,i)}const s=e[2*n+i];let a=r,u=o;for(qr(t,e,r,n),e[2*o+i]>s&&qr(t,e,r,o);a<u;){for(qr(t,e,a,u),a++,u--;e[2*a+i]<s;)a++;for(;e[2*u+i]>s;)u--}e[2*r+i]===s?qr(t,e,r,u):(u++,qr(t,e,u,o)),u<=n&&(r=u+1),n<=u&&(o=u-1)}}function qr(t,e,n,r){fa(t,n,r),fa(e,2*n,2*r),fa(e,2*n+1,2*r+1)}function fa(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function cf(t,e,n,r){const o=t-n,i=e-r;return o*o+i*i}const Ob={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:t=>t},ff=Math.fround||(t=>e=>(t[0]=+e,t[0]))(new Float32Array(1)),On=2,un=3,da=4,cn=5,df=6;class Mb{constructor(e){this.options=Object.assign(Object.create(Ob),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:o}=this.options;n&&console.time("total time");const i=`prepare ${e.length} points`;n&&console.time(i),this.points=e;const s=[];for(let u=0;u<e.length;u++){const l=e[u];if(!l.geometry)continue;const[f,d]=l.geometry.coordinates,h=ff(Ei(f)),g=ff(Ci(d));s.push(h,g,1/0,u,-1,1),this.options.reduce&&s.push(0)}let a=this.trees[o+1]=this._createTree(s);n&&console.timeEnd(i);for(let u=o;u>=r;u--){const l=+Date.now();a=this.trees[u]=this._createTree(this._cluster(a,u)),n&&console.log("z%d: %d clusters in %dms",u,a.numItems,+Date.now()-l)}return n&&console.timeEnd("total time"),this}getClusters(e,n){let r=((e[0]+180)%360+360)%360-180;const o=Math.max(-90,Math.min(90,e[1]));let i=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,i=180;else if(r>i){const d=this.getClusters([r,o,180,s],n),h=this.getClusters([-180,o,i,s],n);return d.concat(h)}const a=this.trees[this._limitZoom(n)],u=a.range(Ei(r),Ci(s),Ei(i),Ci(o)),l=a.data,f=[];for(const d of u){const h=this.stride*d;f.push(l[h+cn]>1?hf(l,h,this.clusterProps):this.points[l[h+un]])}return f}getChildren(e){const n=this._getOriginId(e),r=this._getOriginZoom(e),o="No cluster with the specified id.",i=this.trees[r];if(!i)throw new Error(o);const s=i.data;if(n*this.stride>=s.length)throw new Error(o);const a=this.options.radius/(this.options.extent*Math.pow(2,r-1)),u=s[n*this.stride],l=s[n*this.stride+1],f=i.within(u,l,a),d=[];for(const h of f){const g=h*this.stride;s[g+da]===e&&d.push(s[g+cn]>1?hf(s,g,this.clusterProps):this.points[s[g+un]])}if(d.length===0)throw new Error(o);return d}getLeaves(e,n,r){n=n||10,r=r||0;const o=[];return this._appendLeaves(o,e,n,r,0),o}getTile(e,n,r){const o=this.trees[this._limitZoom(e)],i=Math.pow(2,e),{extent:s,radius:a}=this.options,u=a/s,l=(r-u)/i,f=(r+1+u)/i,d={features:[]};return this._addTileFeatures(o.range((n-u)/i,l,(n+1+u)/i,f),o.data,n,r,i,d),n===0&&this._addTileFeatures(o.range(1-u/i,l,1,f),o.data,i,r,i,d),n===i-1&&this._addTileFeatures(o.range(0,l,u/i,f),o.data,-1,r,i,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,o,i){const s=this.getChildren(n);for(const a of s){const u=a.properties;if(u&&u.cluster?i+u.point_count<=o?i+=u.point_count:i=this._appendLeaves(e,u.cluster_id,r,o,i):i<o?i++:e.push(a),e.length===r)break}return i}_createTree(e){const n=new ua(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,o,i,s){for(const a of e){const u=a*this.stride,l=n[u+cn]>1;let f,d,h;if(l)f=pf(n,u,this.clusterProps),d=n[u],h=n[u+1];else{const p=this.points[n[u+un]];f=p.properties;const[E,w]=p.geometry.coordinates;d=Ei(E),h=Ci(w)}const g={type:1,geometry:[[Math.round(this.options.extent*(d*i-r)),Math.round(this.options.extent*(h*i-o))]],tags:f};let m;l||this.options.generateId?m=n[u+un]:m=this.points[n[u+un]].id,m!==void 0&&(g.id=m),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:o,reduce:i,minPoints:s}=this.options,a=r/(o*Math.pow(2,n)),u=e.data,l=[],f=this.stride;for(let d=0;d<u.length;d+=f){if(u[d+On]<=n)continue;u[d+On]=n;const h=u[d],g=u[d+1],m=e.within(u[d],u[d+1],a),p=u[d+cn];let E=p;for(const w of m){const y=w*f;u[y+On]>n&&(E+=u[y+cn])}if(E>p&&E>=s){let w=h*p,y=g*p,b,x=-1;const S=((d/f|0)<<5)+(n+1)+this.points.length;for(const v of m){const C=v*f;if(u[C+On]<=n)continue;u[C+On]=n;const A=u[C+cn];w+=u[C]*A,y+=u[C+1]*A,u[C+da]=S,i&&(b||(b=this._map(u,d,!0),x=this.clusterProps.length,this.clusterProps.push(b)),i(b,this._map(u,C)))}u[d+da]=S,l.push(w/E,y/E,1/0,S,-1,E),i&&l.push(x)}else{for(let w=0;w<f;w++)l.push(u[d+w]);if(E>1)for(const w of m){const y=w*f;if(!(u[y+On]<=n)){u[y+On]=n;for(let b=0;b<f;b++)l.push(u[y+b])}}}}return l}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,n,r){if(e[n+cn]>1){const s=this.clusterProps[e[n+df]];return r?Object.assign({},s):s}const o=this.points[e[n+un]].properties,i=this.options.map(o);return r&&i===o?Object.assign({},i):i}}function hf(t,e,n){return{type:"Feature",id:t[e+un],properties:pf(t,e,n),geometry:{type:"Point",coordinates:[Pb(t[e]),kb(t[e+1])]}}}function pf(t,e,n){const r=t[e+cn],o=r>=1e4?`${Math.round(r/1e3)}k`:r>=1e3?`${Math.round(r/100)/10}k`:r,i=t[e+df],s=i===-1?{}:Object.assign({},n[i]);return Object.assign(s,{cluster:!0,cluster_id:t[e+un],point_count:r,point_count_abbreviated:o})}function Ei(t){return t/360+.5}function Ci(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 Pb(t){return(t-.5)*360}function kb(t){const e=(180-t*360)*Math.PI/180;return 360*Math.atan(Math.exp(e))/Math.PI-90}/*! *****************************************************************************
84
+ ***************************************************************************** */function ib(t,e,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(f){try{u(r.next(f))}catch(d){s(d)}}function l(f){try{u(r.throw(f))}catch(d){s(d)}}function u(f){f.done?i(f.value):o(f.value).then(a,l)}u((r=r.apply(t,e||[])).next())})}var sb=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,o,i;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(o=r;o--!==0;)if(!t(e[o],n[o]))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(i=Object.keys(e),r=i.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;o--!==0;){var s=i[o];if(!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n};const Zc="__googleMapsScriptId";var or;(function(t){t[t.INITIALIZED=0]="INITIALIZED",t[t.LOADING=1]="LOADING",t[t.SUCCESS=2]="SUCCESS",t[t.FAILURE=3]="FAILURE"})(or||(or={}));class xn{constructor({apiKey:e,authReferrerPolicy:n,channel:r,client:o,id:i=Zc,language:s,libraries:a=[],mapIds:l,nonce:u,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=o,this.id=i||Zc,this.language=s,this.libraries=a,this.mapIds=l,this.nonce=u,this.region=f,this.retries=d,this.url=h,this.version=g,xn.instance){if(!sb(this.options,xn.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(xn.instance.options)}`);return xn.instance}xn.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?or.FAILURE:this.done?or.SUCCESS:this.loading?or.LOADING:or.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(i=>!r[i]&&delete r[i]),!((n=(e=window==null?void 0:window.google)===null||e===void 0?void 0:e.maps)===null||n===void 0)&&n.importLibrary||(i=>{let s,a,l,u="The Google Maps JavaScript API",f="google",d="importLibrary",h="__ib__",g=document,m=window;m=m[f]||(m[f]={});const p=m.maps||(m.maps={}),E=new Set,w=new URLSearchParams,b=()=>s||(s=new Promise((y,A)=>ib(this,void 0,void 0,function*(){var S;yield a=g.createElement("script"),a.id=this.id,w.set("libraries",[...E]+"");for(l in i)w.set(l.replace(/[A-Z]/g,v=>"_"+v[0].toLowerCase()),i[l]);w.set("callback",f+".maps."+h),a.src=this.url+"?"+w,p[h]=y,a.onerror=()=>s=A(Error(u+" could not load.")),a.nonce=this.nonce||((S=g.querySelector("script[nonce]"))===null||S===void 0?void 0:S.nonce)||"",g.head.append(a)})));p[d]?console.warn(u+" only loads once. Ignoring:",i):p[d]=(y,...A)=>E.add(y)&&b().then(()=>p[d](y,...A))})(r);const o=this.libraries.map(i=>this.importLibrary(i));o.length||o.push(this.importLibrary("core")),Promise.all(o).then(()=>this.callback(),i=>{const s=new ErrorEvent("error",{error:i});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 ab=["maps"];function lb(t){var e=t.id,n=e===void 0?Kr.id:e,r=t.version,o=r===void 0?Kr.version:r,i=t.nonce,s=t.googleMapsApiKey,a=t.language,l=t.region,u=t.libraries,f=u===void 0?ab:u,d=t.preventGoogleFontsLoading,h=t.mapIds,g=t.authReferrerPolicy,m=c.useRef(!1),p=c.useState(!1),E=p[0],w=p[1],b=c.useState(void 0),y=b[0],A=b[1];c.useEffect(function(){return m.current=!0,function(){m.current=!1}},[]);var S=c.useMemo(function(){return new xn({id:n,apiKey:s,version:o,libraries:f,language:a||"en",region:l||"US",mapIds:h||[],nonce:i||"",authReferrerPolicy:g||"origin"})},[n,s,o,f,a,l,h,i,g]);c.useEffect(function(){E||S.load().then(function(){m.current&&w(!0)}).catch(function(x){A(x)})},[]),c.useEffect(function(){ln&&d&&la()},[d]);var v=c.useRef();return c.useEffect(function(){v.current&&f!==v.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"),v.current=f},[f]),{isLoaded:E,loadError:y}}var _c={},Xc={options:function(t,e){t.setOptions(e)}};function ub(t){var e=t.options,n=t.onLoad,r=t.onUnmount,o=c.useContext(ce),i=c.useState(null),s=i[0],a=i[1];return c.useEffect(function(){s!==null&&s.setMap(o)},[o]),c.useEffect(function(){e&&s!==null&&s.setOptions(e)},[s,e]),c.useEffect(function(){var l=new google.maps.TrafficLayer($($({},e||{}),{map:o}));return a(l),n&&n(l),function(){s!==null&&(r&&r(s),s.setMap(null))}},[]),null}c.memo(ub),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($($({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:Xc,eventMap:_c,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{trafficLayer:n}},this.setTrafficLayerCallback)},e.prototype.componentDidUpdate=function(n){this.state.trafficLayer!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Xc,eventMap:_c,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),ge(this.registeredEvents),this.state.trafficLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=ce,e}(c.PureComponent);function cb(t){var e=t.onLoad,n=t.onUnmount,r=c.useContext(ce),o=c.useState(null),i=o[0],s=o[1];return c.useEffect(function(){i!==null&&i.setMap(r)},[r]),c.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}c.memo(cb),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=ce,e}(c.PureComponent);function fb(t){var e=t.onLoad,n=t.onUnmount,r=c.useContext(ce),o=c.useState(null),i=o[0],s=o[1];return c.useEffect(function(){i!==null&&i.setMap(r)},[r]),c.useEffect(function(){var a=new google.maps.TransitLayer;return s(a),a.setMap(r),e&&e(a),function(){i!==null&&(n&&n(i),i.setMap(null))}},[]),null}c.memo(fb),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=ce,e}(c.PureComponent);var $c={onCircleComplete:"circlecomplete",onMarkerComplete:"markercomplete",onOverlayComplete:"overlaycomplete",onPolygonComplete:"polygoncomplete",onPolylineComplete:"polylinecomplete",onRectangleComplete:"rectanglecomplete"},ef={drawingMode:function(t,e){t.setDrawingMode(e)},options:function(t,e){t.setOptions(e)}};function db(t){var e=t.options,n=t.drawingMode,r=t.onCircleComplete,o=t.onMarkerComplete,i=t.onOverlayComplete,s=t.onPolygonComplete,a=t.onPolylineComplete,l=t.onRectangleComplete,u=t.onLoad,f=t.onUnmount,d=c.useContext(ce),h=c.useState(null),g=h[0],m=h[1],p=c.useState(null),E=p[0],w=p[1],b=c.useState(null),y=b[0],A=b[1],S=c.useState(null),v=S[0],C=S[1],x=c.useState(null),D=x[0],M=x[1],O=c.useState(null),k=O[0],N=O[1],H=c.useState(null),G=H[0],q=H[1];return c.useEffect(function(){g!==null&&g.setMap(d)},[d]),c.useEffect(function(){e&&g!==null&&g.setOptions(e)},[g,e]),c.useEffect(function(){n&&g!==null&&g.setDrawingMode(n)},[g,n]),c.useEffect(function(){g&&r&&(E!==null&&google.maps.event.removeListener(E),w(google.maps.event.addListener(g,"circlecomplete",r)))},[g,r]),c.useEffect(function(){g&&o&&(y!==null&&google.maps.event.removeListener(y),A(google.maps.event.addListener(g,"markercomplete",o)))},[g,o]),c.useEffect(function(){g&&i&&(v!==null&&google.maps.event.removeListener(v),C(google.maps.event.addListener(g,"overlaycomplete",i)))},[g,i]),c.useEffect(function(){g&&s&&(D!==null&&google.maps.event.removeListener(D),M(google.maps.event.addListener(g,"polygoncomplete",s)))},[g,s]),c.useEffect(function(){g&&a&&(k!==null&&google.maps.event.removeListener(k),N(google.maps.event.addListener(g,"polylinecomplete",a)))},[g,a]),c.useEffect(function(){g&&l&&(G!==null&&google.maps.event.removeListener(G),q(google.maps.event.addListener(g,"rectanglecomplete",l)))},[g,l]),c.useEffect(function(){Re(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing);var V=new google.maps.drawing.DrawingManager($($({},e||{}),{map:d}));return n&&V.setDrawingMode(n),r&&w(google.maps.event.addListener(V,"circlecomplete",r)),o&&A(google.maps.event.addListener(V,"markercomplete",o)),i&&C(google.maps.event.addListener(V,"overlaycomplete",i)),s&&M(google.maps.event.addListener(V,"polygoncomplete",s)),a&&N(google.maps.event.addListener(V,"polylinecomplete",a)),l&&q(google.maps.event.addListener(V,"rectanglecomplete",l)),m(V),u&&u(V),function(){g!==null&&(E&&google.maps.event.removeListener(E),y&&google.maps.event.removeListener(y),v&&google.maps.event.removeListener(v),D&&google.maps.event.removeListener(D),k&&google.maps.event.removeListener(k),G&&google.maps.event.removeListener(G),f&&f(g),g.setMap(null))}},[]),null}c.memo(db),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)},Re(!!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($($({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:ef,eventMap:$c,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{drawingManager:n}},this.setDrawingManagerCallback)},e.prototype.componentDidUpdate=function(n){this.state.drawingManager!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:ef,eventMap:$c,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),ge(this.registeredEvents),this.state.drawingManager.setMap(null))},e.prototype.render=function(){return null},e.contextType=ce,e}(c.PureComponent);var tf={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"},nf={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)}},bi={};function hb(t){var e=t.position,n=t.options,r=t.clusterer,o=t.noClustererRedraw,i=t.children,s=t.draggable,a=t.visible,l=t.animation,u=t.clickable,f=t.cursor,d=t.icon,h=t.label,g=t.opacity,m=t.shape,p=t.title,E=t.zIndex,w=t.onClick,b=t.onDblClick,y=t.onDrag,A=t.onDragEnd,S=t.onDragStart,v=t.onMouseOut,C=t.onMouseOver,x=t.onMouseUp,D=t.onMouseDown,M=t.onRightClick,O=t.onClickableChanged,k=t.onCursorChanged,N=t.onAnimationChanged,H=t.onDraggableChanged,G=t.onFlatChanged,q=t.onIconChanged,V=t.onPositionChanged,K=t.onShapeChanged,B=t.onTitleChanged,I=t.onVisibleChanged,T=t.onZindexChanged,F=t.onLoad,U=t.onUnmount,Y=c.useContext(ce),ee=c.useState(null),P=ee[0],Q=ee[1],Z=c.useState(null),R=Z[0],te=Z[1],ie=c.useState(null),re=ie[0],fe=ie[1],je=c.useState(null),ve=je[0],ye=je[1],Ne=c.useState(null),Me=Ne[0],ke=Ne[1],ae=c.useState(null),le=ae[0],Ge=ae[1],_e=c.useState(null),_=_e[0],Qe=_e[1],Ue=c.useState(null),ht=Ue[0],at=Ue[1],ue=c.useState(null),In=ue[0],Ui=ue[1],kt=c.useState(null),Kt=kt[0],Hi=kt[1],z=c.useState(null),ne=z[0],J=z[1],me=c.useState(null),Ie=me[0],Se=me[1],De=c.useState(null),Pe=De[0],He=De[1],de=c.useState(null),we=de[0],ct=de[1],qt=c.useState(null),lt=qt[0],Je=qt[1],pt=c.useState(null),gt=pt[0],tt=pt[1],Gt=c.useState(null),It=Gt[0],vt=Gt[1],dn=c.useState(null),Jt=dn[0],ro=dn[1],oo=c.useState(null),ur=oo[0],io=oo[1],cr=c.useState(null),Dn=cr[0],so=cr[1],hn=c.useState(null),Tn=hn[0],Bn=hn[1],Nn=c.useState(null),jn=Nn[0],ao=Nn[1];c.useEffect(function(){P!==null&&P.setMap(Y)},[Y]),c.useEffect(function(){typeof n<"u"&&P!==null&&P.setOptions(n)},[P,n]),c.useEffect(function(){typeof s<"u"&&P!==null&&P.setDraggable(s)},[P,s]),c.useEffect(function(){e&&P!==null&&P.setPosition(e)},[P,e]),c.useEffect(function(){typeof a<"u"&&P!==null&&P.setVisible(a)},[P,a]),c.useEffect(function(){P==null||P.setAnimation(l)},[P,l]),c.useEffect(function(){P&&b&&(R!==null&&google.maps.event.removeListener(R),te(google.maps.event.addListener(P,"dblclick",b)))},[b]),c.useEffect(function(){P&&A&&(re!==null&&google.maps.event.removeListener(re),fe(google.maps.event.addListener(P,"dragend",A)))},[A]),c.useEffect(function(){P&&S&&(ve!==null&&google.maps.event.removeListener(ve),ye(google.maps.event.addListener(P,"dragstart",S)))},[S]),c.useEffect(function(){P&&D&&(Me!==null&&google.maps.event.removeListener(Me),ke(google.maps.event.addListener(P,"mousedown",D)))},[D]),c.useEffect(function(){P&&v&&(le!==null&&google.maps.event.removeListener(le),Ge(google.maps.event.addListener(P,"mouseout",v)))},[v]),c.useEffect(function(){P&&C&&(_!==null&&google.maps.event.removeListener(_),Qe(google.maps.event.addListener(P,"mouseover",C)))},[C]),c.useEffect(function(){P&&x&&(ht!==null&&google.maps.event.removeListener(ht),at(google.maps.event.addListener(P,"mouseup",x)))},[x]),c.useEffect(function(){P&&M&&(In!==null&&google.maps.event.removeListener(In),Ui(google.maps.event.addListener(P,"rightclick",M)))},[M]),c.useEffect(function(){P&&w&&(Kt!==null&&google.maps.event.removeListener(Kt),Hi(google.maps.event.addListener(P,"click",w)))},[w]),c.useEffect(function(){P&&y&&(ne!==null&&google.maps.event.removeListener(ne),J(google.maps.event.addListener(P,"drag",y)))},[y]),c.useEffect(function(){P&&O&&(Ie!==null&&google.maps.event.removeListener(Ie),Se(google.maps.event.addListener(P,"clickable_changed",O)))},[O]),c.useEffect(function(){P&&k&&(Pe!==null&&google.maps.event.removeListener(Pe),He(google.maps.event.addListener(P,"cursor_changed",k)))},[k]),c.useEffect(function(){P&&N&&(we!==null&&google.maps.event.removeListener(we),ct(google.maps.event.addListener(P,"animation_changed",N)))},[N]),c.useEffect(function(){P&&H&&(lt!==null&&google.maps.event.removeListener(lt),Je(google.maps.event.addListener(P,"draggable_changed",H)))},[H]),c.useEffect(function(){P&&G&&(gt!==null&&google.maps.event.removeListener(gt),tt(google.maps.event.addListener(P,"flat_changed",G)))},[G]),c.useEffect(function(){P&&q&&(It!==null&&google.maps.event.removeListener(It),vt(google.maps.event.addListener(P,"icon_changed",q)))},[q]),c.useEffect(function(){P&&V&&(Jt!==null&&google.maps.event.removeListener(Jt),ro(google.maps.event.addListener(P,"position_changed",V)))},[V]),c.useEffect(function(){P&&K&&(ur!==null&&google.maps.event.removeListener(ur),io(google.maps.event.addListener(P,"shape_changed",K)))},[K]),c.useEffect(function(){P&&B&&(Dn!==null&&google.maps.event.removeListener(Dn),so(google.maps.event.addListener(P,"title_changed",B)))},[B]),c.useEffect(function(){P&&I&&(Tn!==null&&google.maps.event.removeListener(Tn),Bn(google.maps.event.addListener(P,"visible_changed",I)))},[I]),c.useEffect(function(){P&&T&&(jn!==null&&google.maps.event.removeListener(jn),ao(google.maps.event.addListener(P,"zindex_changed",T)))},[T]),c.useEffect(function(){var pn=$($($({},n||bi),r?bi:{map:Y}),{position:e}),oe=new google.maps.Marker(pn);return r?r.addMarker(oe,!!o):oe.setMap(Y),e&&oe.setPosition(e),typeof a<"u"&&oe.setVisible(a),typeof s<"u"&&oe.setDraggable(s),typeof u<"u"&&oe.setClickable(u),typeof f=="string"&&oe.setCursor(f),d&&oe.setIcon(d),typeof h<"u"&&oe.setLabel(h),typeof g<"u"&&oe.setOpacity(g),m&&oe.setShape(m),typeof p=="string"&&oe.setTitle(p),typeof E=="number"&&oe.setZIndex(E),b&&te(google.maps.event.addListener(oe,"dblclick",b)),A&&fe(google.maps.event.addListener(oe,"dragend",A)),S&&ye(google.maps.event.addListener(oe,"dragstart",S)),D&&ke(google.maps.event.addListener(oe,"mousedown",D)),v&&Ge(google.maps.event.addListener(oe,"mouseout",v)),C&&Qe(google.maps.event.addListener(oe,"mouseover",C)),x&&at(google.maps.event.addListener(oe,"mouseup",x)),M&&Ui(google.maps.event.addListener(oe,"rightclick",M)),w&&Hi(google.maps.event.addListener(oe,"click",w)),y&&J(google.maps.event.addListener(oe,"drag",y)),O&&Se(google.maps.event.addListener(oe,"clickable_changed",O)),k&&He(google.maps.event.addListener(oe,"cursor_changed",k)),N&&ct(google.maps.event.addListener(oe,"animation_changed",N)),H&&Je(google.maps.event.addListener(oe,"draggable_changed",H)),G&&tt(google.maps.event.addListener(oe,"flat_changed",G)),q&&vt(google.maps.event.addListener(oe,"icon_changed",q)),V&&ro(google.maps.event.addListener(oe,"position_changed",V)),K&&io(google.maps.event.addListener(oe,"shape_changed",K)),B&&so(google.maps.event.addListener(oe,"title_changed",B)),I&&Bn(google.maps.event.addListener(oe,"visible_changed",I)),T&&ao(google.maps.event.addListener(oe,"zindex_changed",T)),Q(oe),F&&F(oe),function(){R!==null&&google.maps.event.removeListener(R),re!==null&&google.maps.event.removeListener(re),ve!==null&&google.maps.event.removeListener(ve),Me!==null&&google.maps.event.removeListener(Me),le!==null&&google.maps.event.removeListener(le),_!==null&&google.maps.event.removeListener(_),ht!==null&&google.maps.event.removeListener(ht),In!==null&&google.maps.event.removeListener(In),Kt!==null&&google.maps.event.removeListener(Kt),Ie!==null&&google.maps.event.removeListener(Ie),Pe!==null&&google.maps.event.removeListener(Pe),we!==null&&google.maps.event.removeListener(we),lt!==null&&google.maps.event.removeListener(lt),gt!==null&&google.maps.event.removeListener(gt),It!==null&&google.maps.event.removeListener(It),Jt!==null&&google.maps.event.removeListener(Jt),Dn!==null&&google.maps.event.removeListener(Dn),Tn!==null&&google.maps.event.removeListener(Tn),jn!==null&&google.maps.event.removeListener(jn),U&&U(oe),r?r.removeMarker(oe,!!o):oe&&oe.setMap(null)}},[]);var lo=c.useMemo(function(){return i?c.Children.map(i,function(pn){if(!c.isValidElement(pn))return pn;var oe=pn;return c.cloneElement(oe,{anchor:P})}):null},[i,P]);return L.jsx(L.Fragment,{children:lo})||null}c.memo(hb);var rf=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=$($($({},this.props.options||bi),this.props.clusterer?bi:{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:nf,eventMap:tf,prevProps:{},nextProps:this.props,instance:this.marker}),this.props.onLoad&&this.props.onLoad(this.marker)},e.prototype.componentDidUpdate=function(n){this.marker&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:nf,eventMap:tf,prevProps:n,nextProps:this.props,instance:this.marker}))},e.prototype.componentWillUnmount=function(){this.marker&&(this.props.onUnmount&&this.props.onUnmount(this.marker),ge(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=c.Children.map(this.props.children,function(o){if(!c.isValidElement(o))return o;var i=o;return c.cloneElement(i,{anchor:n.marker})})),r||null},e.contextType=ce,e}(c.PureComponent),pb=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(),o=this.cluster.getBounds(),i=n.getMap();i!==null&&"fitBounds"in i&&i.fitBounds(o),this.timeOut=window.setTimeout(function(){var s=n.getMap();if(s!==null){"fitBounds"in s&&s.fitBounds(o);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,o,i,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(" "),u=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(u,"px")),this.cluster.getClusterer().enableRetinaIcons||(h.style.clip="rect(-".concat(f,"px, -").concat(u+this.width,"px, -").concat(f+this.height,", -").concat(u,")"));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((o=this.sums)===null||o===void 0?void 0:o.text)),!((i=this.sums)===null||i===void 0)&&i.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}(),gb=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 pb(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,o=n;r<o.length;r++){var i=o[r],s=i.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 o=this.markers.length+1;this.center=new google.maps.LatLng((this.center.lat()*(o-1)+r.lat())/o,(this.center.lng()*(o-1)+r.lng())/o),this.calculateBounds()}}}else{var r=e.getPosition();r&&(this.center=r,this.calculateBounds())}e.isAdded=!0,this.markers.push(e);var i=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(i<this.minClusterSize)e.getMap()!==this.map&&e.setMap(this.map);else if(i===this.minClusterSize)for(var l=0,u=this.markers;l<u.length;l++){var f=u[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(),o=(e=this.map)===null||e===void 0?void 0:e.getZoom();if(r!==null&&typeof o<"u"&&o>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 vb(t,e){var n=t.length,r=n.toString().length,o=Math.min(r,e);return{text:n.toString(),index:o,title:""}}var mb=2e3,yb=500,bb="https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m",wb="png",Eb=[53,56,66,78,90],Cb="cluster",of=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||bb,this.imageExtension=r.imageExtension||wb,this.imageSizes=r.imageSizes||Eb,this.calculator=r.calculator||vb,this.batchSize=r.batchSize||mb,this.batchSizeIE=r.batchSizeIE||yb,this.clusterClass=r.clusterClass||Cb,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 o=0,i=this.clusters;o<i.length;o++){var s=i[o];s.remove()}this.clusters=[];for(var a=0,l=this.listeners;a<l.length;a++){var u=l[a];google.maps.event.removeListener(u)}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,o=e;r<o.length;r++){var i=o[r],s=i.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 o=e[r];o&&this.pushMarkerTo(o)}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,o=0,i=e;o<i.length;o++){var s=i[o];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,o=e;r<o.length;r++){var i=o[r];i.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 o=n.fromLatLngToDivPixel(new google.maps.LatLng(e.getSouthWest().lat(),e.getSouthWest().lng()));if(o!==null&&(o.x-=this.gridSize,o.y+=this.gridSize),r!==null){var i=n.fromDivPixelToLatLng(r);i!==null&&e.extend(i)}if(o!==null){var s=n.fromDivPixelToLatLng(o);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 o=r[n];o.remove()}this.clusters=[];for(var i=0,s=this.markers;i<s.length;i++){var a=s[i];a.isAdded=!1,e&&a.setMap(null)}},t.prototype.distanceBetweenPoints=function(e,n){var r=6371,o=(n.lat()-e.lat())*Math.PI/180,i=(n.lng()-e.lng())*Math.PI/180,s=Math.sin(o/2)*Math.sin(o/2)+Math.cos(e.lat()*Math.PI/180)*Math.cos(n.lat()*Math.PI/180)*Math.sin(i/2)*Math.sin(i/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,o=null,i=0,s=this.clusters;i<s.length;i++){var a=s[i];n=a;var l=n.getCenter(),u=e.getPosition();if(l&&u){var f=this.distanceBetweenPoints(l,u);f<r&&(r=f,o=n)}}o&&o.isMarkerInClusterBounds(e)?o.addMarker(e):(n=new gb(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(),o=r!==null&&("getBounds"in r)?r.getBounds():null,i=(r==null?void 0:r.getZoom())||0,s=i>3?new google.maps.LatLngBounds(o==null?void 0:o.getSouthWest(),o==null?void 0:o.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),u=e;u<l;u++){var f=this.markers[u];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(o){for(var i in o.prototype){var s=i;this.prototype[s]=o.prototype[s]}return this}).apply(e,[n])},t}(),Lt={onClick:"click",onClusteringBegin:"clusteringbegin",onClusteringEnd:"clusteringend",onMouseOut:"mouseout",onMouseOver:"mouseover"},xe={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)}},Sb={};function Lb(t){var e=t.children,n=t.options,r=t.averageCenter,o=t.batchSizeIE,i=t.calculator,s=t.clusterClass,a=t.enableRetinaIcons,l=t.gridSize,u=t.ignoreHidden,f=t.imageExtension,d=t.imagePath,h=t.imageSizes,g=t.maxZoom,m=t.minimumClusterSize,p=t.styles,E=t.title,w=t.zoomOnClick,b=t.onClick,y=t.onClusteringBegin,A=t.onClusteringEnd,S=t.onMouseOver,v=t.onMouseOut,C=t.onLoad,x=t.onUnmount,D=c.useState(null),M=D[0],O=D[1],k=c.useContext(ce),N=c.useState(null),H=N[0],G=N[1],q=c.useState(null),V=q[0],K=q[1],B=c.useState(null),I=B[0],T=B[1],F=c.useState(null),U=F[0],Y=F[1],ee=c.useState(null),P=ee[0],Q=ee[1];return c.useEffect(function(){M&&v&&(U!==null&&google.maps.event.removeListener(U),Y(google.maps.event.addListener(M,Lt.onMouseOut,v)))},[v]),c.useEffect(function(){M&&S&&(P!==null&&google.maps.event.removeListener(P),Q(google.maps.event.addListener(M,Lt.onMouseOver,S)))},[S]),c.useEffect(function(){M&&b&&(H!==null&&google.maps.event.removeListener(H),G(google.maps.event.addListener(M,Lt.onClick,b)))},[b]),c.useEffect(function(){M&&y&&(V!==null&&google.maps.event.removeListener(V),K(google.maps.event.addListener(M,Lt.onClusteringBegin,y)))},[y]),c.useEffect(function(){M&&A&&(I!==null&&google.maps.event.removeListener(I),K(google.maps.event.addListener(M,Lt.onClusteringEnd,A)))},[A]),c.useEffect(function(){typeof r<"u"&&M!==null&&xe.averageCenter(M,r)},[M,r]),c.useEffect(function(){typeof o<"u"&&M!==null&&xe.batchSizeIE(M,o)},[M,o]),c.useEffect(function(){typeof i<"u"&&M!==null&&xe.calculator(M,i)},[M,i]),c.useEffect(function(){typeof s<"u"&&M!==null&&xe.clusterClass(M,s)},[M,s]),c.useEffect(function(){typeof a<"u"&&M!==null&&xe.enableRetinaIcons(M,a)},[M,a]),c.useEffect(function(){typeof l<"u"&&M!==null&&xe.gridSize(M,l)},[M,l]),c.useEffect(function(){typeof u<"u"&&M!==null&&xe.ignoreHidden(M,u)},[M,u]),c.useEffect(function(){typeof f<"u"&&M!==null&&xe.imageExtension(M,f)},[M,f]),c.useEffect(function(){typeof d<"u"&&M!==null&&xe.imagePath(M,d)},[M,d]),c.useEffect(function(){typeof h<"u"&&M!==null&&xe.imageSizes(M,h)},[M,h]),c.useEffect(function(){typeof g<"u"&&M!==null&&xe.maxZoom(M,g)},[M,g]),c.useEffect(function(){typeof m<"u"&&M!==null&&xe.minimumClusterSize(M,m)},[M,m]),c.useEffect(function(){typeof p<"u"&&M!==null&&xe.styles(M,p)},[M,p]),c.useEffect(function(){typeof E<"u"&&M!==null&&xe.title(M,E)},[M,E]),c.useEffect(function(){typeof w<"u"&&M!==null&&xe.zoomOnClick(M,w)},[M,w]),c.useEffect(function(){if(k){var Z=$({},n||Sb),R=new of(k,[],Z);return r&&xe.averageCenter(R,r),o&&xe.batchSizeIE(R,o),i&&xe.calculator(R,i),s&&xe.clusterClass(R,s),a&&xe.enableRetinaIcons(R,a),l&&xe.gridSize(R,l),u&&xe.ignoreHidden(R,u),f&&xe.imageExtension(R,f),d&&xe.imagePath(R,d),h&&xe.imageSizes(R,h),g&&xe.maxZoom(R,g),m&&xe.minimumClusterSize(R,m),p&&xe.styles(R,p),E&&xe.title(R,E),w&&xe.zoomOnClick(R,w),v&&Y(google.maps.event.addListener(R,Lt.onMouseOut,v)),S&&Q(google.maps.event.addListener(R,Lt.onMouseOver,S)),b&&G(google.maps.event.addListener(R,Lt.onClick,b)),y&&K(google.maps.event.addListener(R,Lt.onClusteringBegin,y)),A&&T(google.maps.event.addListener(R,Lt.onClusteringEnd,A)),O(R),C&&C(R),function(){U!==null&&google.maps.event.removeListener(U),P!==null&&google.maps.event.removeListener(P),H!==null&&google.maps.event.removeListener(H),V!==null&&google.maps.event.removeListener(V),I!==null&&google.maps.event.removeListener(I),x&&x(R)}}},[]),M!==null&&e(M)||null}c.memo(Lb);var xb=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 of(this.context,[],this.props.options);this.registeredEvents=he({updaterMap:xe,eventMap:Lt,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{markerClusterer:n}},this.setClustererCallback)}},e.prototype.componentDidUpdate=function(n){this.state.markerClusterer&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:xe,eventMap:Lt,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),ge(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=ce,e}(c.PureComponent);function sf(t){t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation()}var af=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(u){u.returnValue=!1,u.preventDefault&&u.preventDefault(),e.enableEventPropagation||sf(u)};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 o=this.getBoxWidths();this.div.style.width=this.div.offsetWidth-o.left-o.right+"px",this.fixedWidthSet=!1}if(this.panBox(this.disableAutoPan),!this.enableEventPropagation){this.eventListeners=[];for(var i=["mousedown","mouseover","mouseout","mouseup","click","dblclick","touchstart","touchend","touchmove"],s=0,a=i;s<a.length;s++){var l=a[s];this.eventListeners.push(google.maps.event.addListener(this.div,l,sf))}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,o=0,i=n.getBounds();i&&!i.contains(this.position)&&n.setCenter(this.position);var s=n.getDiv(),a=s.offsetWidth,l=s.offsetHeight,u=this.pixelOffset.width,f=this.pixelOffset.height,d=this.div.offsetWidth,h=this.div.offsetHeight,g=this.infoBoxClearance.width,m=this.infoBoxClearance.height,p=this.getProjection(),E=p.fromLatLngToContainerPixel(this.position);E!==null&&(E.x<-u+g?r=E.x+u-g:E.x+d+u+g>a&&(r=E.x+d+u+g-a),this.alignBottom?E.y<-f+m+h?o=E.y+f-m-h:E.y+f+m>l&&(o=E.y+f+m-l):E.y<-f+m?o=E.y+f-m:E.y+h+f+m>l&&(o=E.y+h+f+m-l)),r===0&&o===0||n.panBy(r,o)}}},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 o=this.div.currentStyle;o&&(e.top=parseInt(o.borderTopWidth||"",10)||0,e.bottom=parseInt(o.borderBottomWidth||"",10)||0,e.left=parseInt(o.borderLeftWidth||"",10)||0,e.right=parseInt(o.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 o=n.getPosition();r.setPosition(o)}),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(o){for(var i in o.prototype)Object.prototype.hasOwnProperty.call(this,i)||(this.prototype[i]=o.prototype[i]);return this}).apply(e,[n])},t}(),lf={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},uf={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)}},Ab={};function Ob(t){var e=t.children,n=t.anchor,r=t.options,o=t.position,i=t.zIndex,s=t.onCloseClick,a=t.onDomReady,l=t.onContentChanged,u=t.onPositionChanged,f=t.onZindexChanged,d=t.onLoad,h=t.onUnmount,g=c.useContext(ce),m=c.useState(null),p=m[0],E=m[1],w=c.useState(null),b=w[0],y=w[1],A=c.useState(null),S=A[0],v=A[1],C=c.useState(null),x=C[0],D=C[1],M=c.useState(null),O=M[0],k=M[1],N=c.useState(null),H=N[0],G=N[1],q=c.useRef(null);return c.useEffect(function(){g&&p!==null&&(p.close(),n?p.open(g,n):p.getPosition()&&p.open(g))},[g,p,n]),c.useEffect(function(){r&&p!==null&&p.setOptions(r)},[p,r]),c.useEffect(function(){if(o&&p!==null){var V=o instanceof google.maps.LatLng?o:new google.maps.LatLng(o.lat,o.lng);p.setPosition(V)}},[o]),c.useEffect(function(){typeof i=="number"&&p!==null&&p.setZIndex(i)},[i]),c.useEffect(function(){p&&s&&(b!==null&&google.maps.event.removeListener(b),y(google.maps.event.addListener(p,"closeclick",s)))},[s]),c.useEffect(function(){p&&a&&(S!==null&&google.maps.event.removeListener(S),v(google.maps.event.addListener(p,"domready",a)))},[a]),c.useEffect(function(){p&&l&&(x!==null&&google.maps.event.removeListener(x),D(google.maps.event.addListener(p,"content_changed",l)))},[l]),c.useEffect(function(){p&&u&&(O!==null&&google.maps.event.removeListener(O),k(google.maps.event.addListener(p,"position_changed",u)))},[u]),c.useEffect(function(){p&&f&&(H!==null&&google.maps.event.removeListener(H),G(google.maps.event.addListener(p,"zindex_changed",f)))},[f]),c.useEffect(function(){if(g){var V=r||Ab,K=V.position,B=aa(V,["position"]),I=void 0;K&&!(K instanceof google.maps.LatLng)&&(I=new google.maps.LatLng(K.lat,K.lng));var T=new af($($({},B),I?{position:I}:{}));q.current=document.createElement("div"),E(T),s&&y(google.maps.event.addListener(T,"closeclick",s)),a&&v(google.maps.event.addListener(T,"domready",a)),l&&D(google.maps.event.addListener(T,"content_changed",l)),u&&k(google.maps.event.addListener(T,"position_changed",u)),f&&G(google.maps.event.addListener(T,"zindex_changed",f)),T.setContent(q.current),n?T.open(g,n):T.getPosition()?T.open(g):Re(!1,"You must provide either an anchor or a position prop for <InfoBox>."),d&&d(T)}return function(){p!==null&&(b&&google.maps.event.removeListener(b),x&&google.maps.event.removeListener(x),S&&google.maps.event.removeListener(S),O&&google.maps.event.removeListener(O),H&&google.maps.event.removeListener(H),h&&h(p),p.close())}},[]),q.current?Un.createPortal(c.Children.only(e),q.current):null}c.memo(Ob),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,o){o?n.context!==null&&r.open(n.context,o):r.getPosition()?n.context!==null&&r.open(n.context):Re(!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,o=aa(n,["position"]),i;r&&!(r instanceof google.maps.LatLng)&&(i=new google.maps.LatLng(r.lat,r.lng));var s=new af($($({},o),i?{position:i}:{}));this.containerElement=document.createElement("div"),this.registeredEvents=he({updaterMap:uf,eventMap:lf,prevProps:{},nextProps:this.props,instance:s}),this.setState({infoBox:s},this.setInfoBoxCallback)},e.prototype.componentDidUpdate=function(n){var r=this.state.infoBox;r!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:uf,eventMap:lf,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),ge(this.registeredEvents),r.close())},e.prototype.render=function(){return this.containerElement?Un.createPortal(c.Children.only(this.props.children),this.containerElement):null},e.contextType=ce,e}(c.PureComponent);var Mb=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,o,i;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(o=r;o--!==0;)if(!t(e[o],n[o]))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(i=Object.keys(e),r=i.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;o--!==0;){var s=i[o];if(!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n},cf=Gc(Mb);const ff=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],ua=1,qr=8;class ca{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 o=r>>4;if(o!==ua)throw new Error(`Got v${o} data when expected v${ua}.`);const i=ff[r&15];if(!i)throw new Error("Unrecognized array type.");const[s]=new Uint16Array(e,2,1),[a]=new Uint32Array(e,4,1);return new ca(a,s,i,e)}constructor(e,n=64,r=Float64Array,o){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 i=ff.indexOf(this.ArrayType),s=e*2*this.ArrayType.BYTES_PER_ELEMENT,a=e*this.IndexArrayType.BYTES_PER_ELEMENT,l=(8-a%8)%8;if(i<0)throw new Error(`Unexpected typed array class: ${r}.`);o&&o instanceof ArrayBuffer?(this.data=o,this.ids=new this.IndexArrayType(this.data,qr,e),this.coords=new this.ArrayType(this.data,qr+a+l,e*2),this._pos=e*2,this._finished=!0):(this.data=new ArrayBuffer(qr+s+a+l),this.ids=new this.IndexArrayType(this.data,qr,e),this.coords=new this.ArrayType(this.data,qr+a+l,e*2),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,(ua<<4)+i]),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 fa(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(e,n,r,o){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:i,coords:s,nodeSize:a}=this,l=[0,i.length-1,0],u=[];for(;l.length;){const f=l.pop()||0,d=l.pop()||0,h=l.pop()||0;if(d-h<=a){for(let E=h;E<=d;E++){const w=s[2*E],b=s[2*E+1];w>=e&&w<=r&&b>=n&&b<=o&&u.push(i[E])}continue}const g=h+d>>1,m=s[2*g],p=s[2*g+1];m>=e&&m<=r&&p>=n&&p<=o&&u.push(i[g]),(f===0?e<=m:n<=p)&&(l.push(h),l.push(g-1),l.push(1-f)),(f===0?r>=m:o>=p)&&(l.push(g+1),l.push(d),l.push(1-f))}return u}within(e,n,r){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:o,coords:i,nodeSize:s}=this,a=[0,o.length-1,0],l=[],u=r*r;for(;a.length;){const f=a.pop()||0,d=a.pop()||0,h=a.pop()||0;if(d-h<=s){for(let E=h;E<=d;E++)hf(i[2*E],i[2*E+1],e,n)<=u&&l.push(o[E]);continue}const g=h+d>>1,m=i[2*g],p=i[2*g+1];hf(m,p,e,n)<=u&&l.push(o[g]),(f===0?e-r<=m:n-r<=p)&&(a.push(h),a.push(g-1),a.push(1-f)),(f===0?e+r>=m:n+r>=p)&&(a.push(g+1),a.push(d),a.push(1-f))}return l}}function fa(t,e,n,r,o,i){if(o-r<=n)return;const s=r+o>>1;df(t,e,s,r,o,i),fa(t,e,n,r,s-1,1-i),fa(t,e,n,s+1,o,1-i)}function df(t,e,n,r,o,i){for(;o>r;){if(o-r>600){const u=o-r+1,f=n-r+1,d=Math.log(u),h=.5*Math.exp(2*d/3),g=.5*Math.sqrt(d*h*(u-h)/u)*(f-u/2<0?-1:1),m=Math.max(r,Math.floor(n-f*h/u+g)),p=Math.min(o,Math.floor(n+(u-f)*h/u+g));df(t,e,n,m,p,i)}const s=e[2*n+i];let a=r,l=o;for(Jr(t,e,r,n),e[2*o+i]>s&&Jr(t,e,r,o);a<l;){for(Jr(t,e,a,l),a++,l--;e[2*a+i]<s;)a++;for(;e[2*l+i]>s;)l--}e[2*r+i]===s?Jr(t,e,r,l):(l++,Jr(t,e,l,o)),l<=n&&(r=l+1),n<=l&&(o=l-1)}}function Jr(t,e,n,r){da(t,n,r),da(e,2*n,2*r),da(e,2*n+1,2*r+1)}function da(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function hf(t,e,n,r){const o=t-n,i=e-r;return o*o+i*i}const Pb={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:t=>t},pf=Math.fround||(t=>e=>(t[0]=+e,t[0]))(new Float32Array(1)),An=2,un=3,ha=4,cn=5,gf=6;class kb{constructor(e){this.options=Object.assign(Object.create(Pb),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:o}=this.options;n&&console.time("total time");const i=`prepare ${e.length} points`;n&&console.time(i),this.points=e;const s=[];for(let l=0;l<e.length;l++){const u=e[l];if(!u.geometry)continue;const[f,d]=u.geometry.coordinates,h=pf(wi(f)),g=pf(Ei(d));s.push(h,g,1/0,l,-1,1),this.options.reduce&&s.push(0)}let a=this.trees[o+1]=this._createTree(s);n&&console.timeEnd(i);for(let l=o;l>=r;l--){const u=+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()-u)}return n&&console.timeEnd("total time"),this}getClusters(e,n){let r=((e[0]+180)%360+360)%360-180;const o=Math.max(-90,Math.min(90,e[1]));let i=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,i=180;else if(r>i){const d=this.getClusters([r,o,180,s],n),h=this.getClusters([-180,o,i,s],n);return d.concat(h)}const a=this.trees[this._limitZoom(n)],l=a.range(wi(r),Ei(s),wi(i),Ei(o)),u=a.data,f=[];for(const d of l){const h=this.stride*d;f.push(u[h+cn]>1?vf(u,h,this.clusterProps):this.points[u[h+un]])}return f}getChildren(e){const n=this._getOriginId(e),r=this._getOriginZoom(e),o="No cluster with the specified id.",i=this.trees[r];if(!i)throw new Error(o);const s=i.data;if(n*this.stride>=s.length)throw new Error(o);const a=this.options.radius/(this.options.extent*Math.pow(2,r-1)),l=s[n*this.stride],u=s[n*this.stride+1],f=i.within(l,u,a),d=[];for(const h of f){const g=h*this.stride;s[g+ha]===e&&d.push(s[g+cn]>1?vf(s,g,this.clusterProps):this.points[s[g+un]])}if(d.length===0)throw new Error(o);return d}getLeaves(e,n,r){n=n||10,r=r||0;const o=[];return this._appendLeaves(o,e,n,r,0),o}getTile(e,n,r){const o=this.trees[this._limitZoom(e)],i=Math.pow(2,e),{extent:s,radius:a}=this.options,l=a/s,u=(r-l)/i,f=(r+1+l)/i,d={features:[]};return this._addTileFeatures(o.range((n-l)/i,u,(n+1+l)/i,f),o.data,n,r,i,d),n===0&&this._addTileFeatures(o.range(1-l/i,u,1,f),o.data,i,r,i,d),n===i-1&&this._addTileFeatures(o.range(0,u,l/i,f),o.data,-1,r,i,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,o,i){const s=this.getChildren(n);for(const a of s){const l=a.properties;if(l&&l.cluster?i+l.point_count<=o?i+=l.point_count:i=this._appendLeaves(e,l.cluster_id,r,o,i):i<o?i++:e.push(a),e.length===r)break}return i}_createTree(e){const n=new ca(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,o,i,s){for(const a of e){const l=a*this.stride,u=n[l+cn]>1;let f,d,h;if(u)f=mf(n,l,this.clusterProps),d=n[l],h=n[l+1];else{const p=this.points[n[l+un]];f=p.properties;const[E,w]=p.geometry.coordinates;d=wi(E),h=Ei(w)}const g={type:1,geometry:[[Math.round(this.options.extent*(d*i-r)),Math.round(this.options.extent*(h*i-o))]],tags:f};let m;u||this.options.generateId?m=n[l+un]:m=this.points[n[l+un]].id,m!==void 0&&(g.id=m),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:o,reduce:i,minPoints:s}=this.options,a=r/(o*Math.pow(2,n)),l=e.data,u=[],f=this.stride;for(let d=0;d<l.length;d+=f){if(l[d+An]<=n)continue;l[d+An]=n;const h=l[d],g=l[d+1],m=e.within(l[d],l[d+1],a),p=l[d+cn];let E=p;for(const w of m){const b=w*f;l[b+An]>n&&(E+=l[b+cn])}if(E>p&&E>=s){let w=h*p,b=g*p,y,A=-1;const S=((d/f|0)<<5)+(n+1)+this.points.length;for(const v of m){const C=v*f;if(l[C+An]<=n)continue;l[C+An]=n;const x=l[C+cn];w+=l[C]*x,b+=l[C+1]*x,l[C+ha]=S,i&&(y||(y=this._map(l,d,!0),A=this.clusterProps.length,this.clusterProps.push(y)),i(y,this._map(l,C)))}l[d+ha]=S,u.push(w/E,b/E,1/0,S,-1,E),i&&u.push(A)}else{for(let w=0;w<f;w++)u.push(l[d+w]);if(E>1)for(const w of m){const b=w*f;if(!(l[b+An]<=n)){l[b+An]=n;for(let y=0;y<f;y++)u.push(l[b+y])}}}}return u}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,n,r){if(e[n+cn]>1){const s=this.clusterProps[e[n+gf]];return r?Object.assign({},s):s}const o=this.points[e[n+un]].properties,i=this.options.map(o);return r&&i===o?Object.assign({},i):i}}function vf(t,e,n){return{type:"Feature",id:t[e+un],properties:mf(t,e,n),geometry:{type:"Point",coordinates:[Ib(t[e]),Db(t[e+1])]}}}function mf(t,e,n){const r=t[e+cn],o=r>=1e4?`${Math.round(r/1e3)}k`:r>=1e3?`${Math.round(r/100)/10}k`:r,i=t[e+gf],s=i===-1?{}:Object.assign({},n[i]);return Object.assign(s,{cluster:!0,cluster_id:t[e+un],point_count:r,point_count_abbreviated:o})}function wi(t){return t/360+.5}function Ei(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 Ib(t){return(t-.5)*360}function Db(t){const e=(180-t*360)*Math.PI/180;return 360*Math.atan(Math.exp(e))/Math.PI-90}/*! *****************************************************************************
83
85
  Copyright (c) Microsoft Corporation.
84
86
 
85
87
  Permission to use, copy, modify, and/or distribute this software for any
@@ -92,9 +94,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
92
94
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
93
95
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
94
96
  PERFORMANCE OF THIS SOFTWARE.
95
- ***************************************************************************** */function Ib(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 o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}class yt{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 ha{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(yt.getPosition(n));return e}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter(e=>yt.getVisible(e)).length}push(e){this.markers.push(e)}delete(){this.marker&&(yt.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}}class Db{constructor({maxZoom:e=16}){this.maxZoom=e}noop({markers:e}){return Tb(e)}}const Tb=t=>t.map(n=>new ha({position:yt.getPosition(n),markers:[n]}));class Bb extends Db{constructor(e){var{maxZoom:n,radius:r=60}=e,o=Ib(e,["maxZoom","radius"]);super({maxZoom:n}),this.state={zoom:-1},this.superCluster=new Mb(Object.assign({maxZoom:this.maxZoom,radius:r},o))}calculate(e){let n=!1;const r={zoom:e.map.getZoom()};if(!af(e.markers,this.markers)){n=!0,this.markers=[...e.markers];const o=this.markers.map(i=>{const s=yt.getPosition(i);return{type:"Feature",geometry:{type:"Point",coordinates:[s.lng(),s.lat()]},properties:{marker:i}}});this.superCluster.load(o)}return n||(this.state.zoom<=this.maxZoom||r.zoom<=this.maxZoom)&&(n=!af(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 ha({markers:this.superCluster.getLeaves(r.cluster_id,1/0).map(i=>i.properties.marker),position:{lat:n,lng:e}});const o=r.marker;return new ha({markers:[o],position:yt.getPosition(o)})}}class Nb{constructor(e,n){this.markers={sum:e.length};const r=n.map(i=>i.count),o=r.reduce((i,s)=>i+s,0);this.clusters={count:n.length,markers:{mean:o/n.length,sum:o,min:Math.min(...r),max:Math.max(...r)}}}}class jb{render({count:e,position:n},r,o){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">
97
+ ***************************************************************************** */function Tb(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 o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}class yt{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 pa{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(yt.getPosition(n));return e}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter(e=>yt.getVisible(e)).length}push(e){this.markers.push(e)}delete(){this.marker&&(yt.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}}class Bb{constructor({maxZoom:e=16}){this.maxZoom=e}noop({markers:e}){return Nb(e)}}const Nb=t=>t.map(n=>new pa({position:yt.getPosition(n),markers:[n]}));class jb extends Bb{constructor(e){var{maxZoom:n,radius:r=60}=e,o=Tb(e,["maxZoom","radius"]);super({maxZoom:n}),this.state={zoom:-1},this.superCluster=new kb(Object.assign({maxZoom:this.maxZoom,radius:r},o))}calculate(e){let n=!1;const r={zoom:e.map.getZoom()};if(!cf(e.markers,this.markers)){n=!0,this.markers=[...e.markers];const o=this.markers.map(i=>{const s=yt.getPosition(i);return{type:"Feature",geometry:{type:"Point",coordinates:[s.lng(),s.lat()]},properties:{marker:i}}});this.superCluster.load(o)}return n||(this.state.zoom<=this.maxZoom||r.zoom<=this.maxZoom)&&(n=!cf(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 pa({markers:this.superCluster.getLeaves(r.cluster_id,1/0).map(i=>i.properties.marker),position:{lat:n,lng:e}});const o=r.marker;return new pa({markers:[o],position:yt.getPosition(o)})}}class Ub{constructor(e,n){this.markers={sum:e.length};const r=n.map(i=>i.count),o=r.reduce((i,s)=>i+s,0);this.clusters={count:n.length,markers:{mean:o/n.length,sum:o,min:Math.min(...r),max:Math.max(...r)}}}}class Hb{render({count:e,position:n},r,o){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">
96
98
  <circle cx="120" cy="120" opacity=".6" r="70" />
97
99
  <circle cx="120" cy="120" opacity=".3" r="90" />
98
100
  <circle cx="120" cy="120" opacity=".2" r="110" />
99
101
  <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>
100
- </svg>`,a=`Cluster of ${e} markers`,u=Number(google.maps.Marker.MAX_ZINDEX)+e;if(yt.isAdvancedMarkerAvailable(o)){const f=document.createElement("div");f.innerHTML=s;const d=f.firstElementChild;d.setAttribute("transform","translate(0 25)");const h={map:o,position:n,zIndex:u,title:a,content:d};return new google.maps.marker.AdvancedMarkerElement(h)}const l={position:n,zIndex:u,title:a,icon:{url:`data:image/svg+xml;base64,${btoa(s)}`,anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(l)}}function Ub(t,e){for(let n in e.prototype)t.prototype[n]=e.prototype[n]}class pa{constructor(){Ub(pa,google.maps.OverlayView)}}var Jr;(function(t){t.CLUSTERING_BEGIN="clusteringbegin",t.CLUSTERING_END="clusteringend",t.CLUSTER_CLICK="click"})(Jr||(Jr={}));const Hb=(t,e,n)=>{n.fitBounds(e.bounds)};class zb extends pa{constructor({map:e,markers:n=[],algorithmOptions:r={},algorithm:o=new Bb(r),renderer:i=new jb,onClusterClick:s=Hb}){super(),this.markers=[...n],this.clusters=[],this.algorithm=o,this.renderer=i,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:(yt.setMap(e,null),this.markers.splice(r,1),n||this.render(),!0)}removeMarkers(e,n){let r=!1;return e.forEach(o=>{r=this.removeMarker(o,!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 o=new Set;for(const s of n)s.markers.length==1&&o.add(s.markers[0]);const i=[];for(const s of this.clusters)s.marker!=null&&(s.markers.length==1?o.has(s.marker)||yt.setMap(s.marker,null):i.push(s.marker));this.clusters=n,this.renderClusters(),requestAnimationFrame(()=>i.forEach(s=>yt.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=>yt.setMap(e,null)),this.clusters.forEach(e=>e.delete()),this.clusters=[]}renderClusters(){const e=new Nb(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(o=>yt.setMap(o,null)),this.onClusterClick&&r.marker.addListener("click",o=>{google.maps.event.trigger(this,Jr.CLUSTER_CLICK,r),this.onClusterClick(o,r,n)})),yt.setMap(r.marker,n)})}}function Fb(t){var e=R0(),n=c.useState(null),r=n[0],o=n[1];return c.useEffect(function(){if(e&&r===null){var i=new zb($($({},t),{map:e}));o(i)}},[e]),r}function Vb(t){var e=t.children,n=t.options,r=Fb(n);return r!==null?e(r):null}c.memo(Vb);var gf={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},vf={options:function(t,e){t.setOptions(e)},position:function(t,e){t.setPosition(e)},zIndex:function(t,e){t.setZIndex(e)}};function Gb(t){var e=t.children,n=t.anchor,r=t.options,o=t.position,i=t.zIndex,s=t.onCloseClick,a=t.onDomReady,u=t.onContentChanged,l=t.onPositionChanged,f=t.onZindexChanged,d=t.onLoad,h=t.onUnmount,g=c.useContext(ce),m=c.useState(null),p=m[0],E=m[1],w=c.useState(null),y=w[0],b=w[1],x=c.useState(null),S=x[0],v=x[1],C=c.useState(null),A=C[0],D=C[1],M=c.useState(null),O=M[0],k=M[1],N=c.useState(null),H=N[0],G=N[1],q=c.useRef(null);return c.useEffect(function(){p!==null&&(p.close(),n?p.open(g,n):p.getPosition()&&p.open(g))},[g,p,n]),c.useEffect(function(){r&&p!==null&&p.setOptions(r)},[p,r]),c.useEffect(function(){o&&p!==null&&p.setPosition(o)},[o]),c.useEffect(function(){typeof i=="number"&&p!==null&&p.setZIndex(i)},[i]),c.useEffect(function(){p&&s&&(y!==null&&google.maps.event.removeListener(y),b(google.maps.event.addListener(p,"closeclick",s)))},[s]),c.useEffect(function(){p&&a&&(S!==null&&google.maps.event.removeListener(S),v(google.maps.event.addListener(p,"domready",a)))},[a]),c.useEffect(function(){p&&u&&(A!==null&&google.maps.event.removeListener(A),D(google.maps.event.addListener(p,"content_changed",u)))},[u]),c.useEffect(function(){p&&l&&(O!==null&&google.maps.event.removeListener(O),k(google.maps.event.addListener(p,"position_changed",l)))},[l]),c.useEffect(function(){p&&f&&(H!==null&&google.maps.event.removeListener(H),G(google.maps.event.addListener(p,"zindex_changed",f)))},[f]),c.useEffect(function(){var V=new google.maps.InfoWindow($({},r||{}));return E(V),q.current=document.createElement("div"),s&&b(google.maps.event.addListener(V,"closeclick",s)),a&&v(google.maps.event.addListener(V,"domready",a)),u&&D(google.maps.event.addListener(V,"content_changed",u)),l&&k(google.maps.event.addListener(V,"position_changed",l)),f&&G(google.maps.event.addListener(V,"zindex_changed",f)),V.setContent(q.current),o&&V.setPosition(o),i&&V.setZIndex(i),n?V.open(g,n):V.getPosition()?V.open(g):Re(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>."),d&&d(V),function(){y&&google.maps.event.removeListener(y),A&&google.maps.event.removeListener(A),S&&google.maps.event.removeListener(S),O&&google.maps.event.removeListener(O),H&&google.maps.event.removeListener(H),h&&h(V),V.close()}},[]),q.current?Hn.createPortal(c.Children.only(e),q.current):null}c.memo(Gb);var mf=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,o){o?r.open(n.context,o):r.getPosition()?r.open(n.context):Re(!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($({},this.props.options||{}));this.containerElement=document.createElement("div"),this.registeredEvents=he({updaterMap:vf,eventMap:gf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{infoWindow:n}},this.setInfoWindowCallback)},e.prototype.componentDidUpdate=function(n){this.state.infoWindow!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:vf,eventMap:gf,prevProps:n,nextProps:this.props,instance:this.state.infoWindow}))},e.prototype.componentWillUnmount=function(){this.state.infoWindow!==null&&(ge(this.registeredEvents),this.props.onUnmount&&this.props.onUnmount(this.state.infoWindow),this.state.infoWindow.close())},e.prototype.render=function(){return this.containerElement?Hn.createPortal(c.Children.only(this.props.children),this.containerElement):null},e.contextType=ce,e}(c.PureComponent),yf={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},bf={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)}},Qb={};function Yb(t){var e=t.options,n=t.draggable,r=t.editable,o=t.visible,i=t.path,s=t.onDblClick,a=t.onDragEnd,u=t.onDragStart,l=t.onMouseDown,f=t.onMouseMove,d=t.onMouseOut,h=t.onMouseOver,g=t.onMouseUp,m=t.onRightClick,p=t.onClick,E=t.onDrag,w=t.onLoad,y=t.onUnmount,b=c.useContext(ce),x=c.useState(null),S=x[0],v=x[1],C=c.useState(null),A=C[0],D=C[1],M=c.useState(null),O=M[0],k=M[1],N=c.useState(null),H=N[0],G=N[1],q=c.useState(null),V=q[0],K=q[1],B=c.useState(null),I=B[0],T=B[1],F=c.useState(null),U=F[0],Y=F[1],ee=c.useState(null),P=ee[0],Q=ee[1],Z=c.useState(null),R=Z[0],te=Z[1],oe=c.useState(null),se=oe[0],de=oe[1],je=c.useState(null),ve=je[0],ye=je[1],Ne=c.useState(null),Me=Ne[0],ke=Ne[1];return c.useEffect(function(){S!==null&&S.setMap(b)},[b]),c.useEffect(function(){typeof e<"u"&&S!==null&&S.setOptions(e)},[S,e]),c.useEffect(function(){typeof n<"u"&&S!==null&&S.setDraggable(n)},[S,n]),c.useEffect(function(){typeof r<"u"&&S!==null&&S.setEditable(r)},[S,r]),c.useEffect(function(){typeof o<"u"&&S!==null&&S.setVisible(o)},[S,o]),c.useEffect(function(){typeof i<"u"&&S!==null&&S.setPath(i)},[S,i]),c.useEffect(function(){S&&s&&(A!==null&&google.maps.event.removeListener(A),D(google.maps.event.addListener(S,"dblclick",s)))},[s]),c.useEffect(function(){S&&a&&(O!==null&&google.maps.event.removeListener(O),k(google.maps.event.addListener(S,"dragend",a)))},[a]),c.useEffect(function(){S&&u&&(H!==null&&google.maps.event.removeListener(H),G(google.maps.event.addListener(S,"dragstart",u)))},[u]),c.useEffect(function(){S&&l&&(V!==null&&google.maps.event.removeListener(V),K(google.maps.event.addListener(S,"mousedown",l)))},[l]),c.useEffect(function(){S&&f&&(I!==null&&google.maps.event.removeListener(I),T(google.maps.event.addListener(S,"mousemove",f)))},[f]),c.useEffect(function(){S&&d&&(U!==null&&google.maps.event.removeListener(U),Y(google.maps.event.addListener(S,"mouseout",d)))},[d]),c.useEffect(function(){S&&h&&(P!==null&&google.maps.event.removeListener(P),Q(google.maps.event.addListener(S,"mouseover",h)))},[h]),c.useEffect(function(){S&&g&&(R!==null&&google.maps.event.removeListener(R),te(google.maps.event.addListener(S,"mouseup",g)))},[g]),c.useEffect(function(){S&&m&&(se!==null&&google.maps.event.removeListener(se),de(google.maps.event.addListener(S,"rightclick",m)))},[m]),c.useEffect(function(){S&&p&&(ve!==null&&google.maps.event.removeListener(ve),ye(google.maps.event.addListener(S,"click",p)))},[p]),c.useEffect(function(){S&&E&&(Me!==null&&google.maps.event.removeListener(Me),ke(google.maps.event.addListener(S,"drag",E)))},[E]),c.useEffect(function(){var ae=new google.maps.Polyline($($({},e||Qb),{map:b}));return i&&ae.setPath(i),typeof o<"u"&&ae.setVisible(o),typeof r<"u"&&ae.setEditable(r),typeof n<"u"&&ae.setDraggable(n),s&&D(google.maps.event.addListener(ae,"dblclick",s)),a&&k(google.maps.event.addListener(ae,"dragend",a)),u&&G(google.maps.event.addListener(ae,"dragstart",u)),l&&K(google.maps.event.addListener(ae,"mousedown",l)),f&&T(google.maps.event.addListener(ae,"mousemove",f)),d&&Y(google.maps.event.addListener(ae,"mouseout",d)),h&&Q(google.maps.event.addListener(ae,"mouseover",h)),g&&te(google.maps.event.addListener(ae,"mouseup",g)),m&&de(google.maps.event.addListener(ae,"rightclick",m)),p&&ye(google.maps.event.addListener(ae,"click",p)),E&&ke(google.maps.event.addListener(ae,"drag",E)),v(ae),w&&w(ae),function(){A!==null&&google.maps.event.removeListener(A),O!==null&&google.maps.event.removeListener(O),H!==null&&google.maps.event.removeListener(H),V!==null&&google.maps.event.removeListener(V),I!==null&&google.maps.event.removeListener(I),U!==null&&google.maps.event.removeListener(U),P!==null&&google.maps.event.removeListener(P),R!==null&&google.maps.event.removeListener(R),se!==null&&google.maps.event.removeListener(se),ve!==null&&google.maps.event.removeListener(ve),y&&y(ae),ae.setMap(null)}},[]),null}c.memo(Yb),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($($({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:bf,eventMap:yf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{polyline:n}},this.setPolylineCallback)},e.prototype.componentDidUpdate=function(n){this.state.polyline!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:bf,eventMap:yf,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),ge(this.registeredEvents),this.state.polyline.setMap(null))},e.prototype.render=function(){return null},e.contextType=ce,e}(c.PureComponent);var wf={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},Ef={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 Wb(t){var e=t.options,n=t.draggable,r=t.editable,o=t.visible,i=t.path,s=t.paths,a=t.onDblClick,u=t.onDragEnd,l=t.onDragStart,f=t.onMouseDown,d=t.onMouseMove,h=t.onMouseOut,g=t.onMouseOver,m=t.onMouseUp,p=t.onRightClick,E=t.onClick,w=t.onDrag,y=t.onLoad,b=t.onUnmount,x=c.useContext(ce),S=c.useState(null),v=S[0],C=S[1],A=c.useState(null),D=A[0],M=A[1],O=c.useState(null),k=O[0],N=O[1],H=c.useState(null),G=H[0],q=H[1],V=c.useState(null),K=V[0],B=V[1],I=c.useState(null),T=I[0],F=I[1],U=c.useState(null),Y=U[0],ee=U[1],P=c.useState(null),Q=P[0],Z=P[1],R=c.useState(null),te=R[0],oe=R[1],se=c.useState(null),de=se[0],je=se[1],ve=c.useState(null),ye=ve[0],Ne=ve[1],Me=c.useState(null),ke=Me[0],ae=Me[1];return c.useEffect(function(){v!==null&&v.setMap(x)},[x]),c.useEffect(function(){typeof e<"u"&&v!==null&&v.setOptions(e)},[v,e]),c.useEffect(function(){typeof n<"u"&&v!==null&&v.setDraggable(n)},[v,n]),c.useEffect(function(){typeof r<"u"&&v!==null&&v.setEditable(r)},[v,r]),c.useEffect(function(){typeof o<"u"&&v!==null&&v.setVisible(o)},[v,o]),c.useEffect(function(){typeof i<"u"&&v!==null&&v.setPath(i)},[v,i]),c.useEffect(function(){typeof s<"u"&&v!==null&&v.setPaths(s)},[v,s]),c.useEffect(function(){v&&a&&(D!==null&&google.maps.event.removeListener(D),M(google.maps.event.addListener(v,"dblclick",a)))},[a]),c.useEffect(function(){v&&u&&(k!==null&&google.maps.event.removeListener(k),N(google.maps.event.addListener(v,"dragend",u)))},[u]),c.useEffect(function(){v&&l&&(G!==null&&google.maps.event.removeListener(G),q(google.maps.event.addListener(v,"dragstart",l)))},[l]),c.useEffect(function(){v&&f&&(K!==null&&google.maps.event.removeListener(K),B(google.maps.event.addListener(v,"mousedown",f)))},[f]),c.useEffect(function(){v&&d&&(T!==null&&google.maps.event.removeListener(T),F(google.maps.event.addListener(v,"mousemove",d)))},[d]),c.useEffect(function(){v&&h&&(Y!==null&&google.maps.event.removeListener(Y),ee(google.maps.event.addListener(v,"mouseout",h)))},[h]),c.useEffect(function(){v&&g&&(Q!==null&&google.maps.event.removeListener(Q),Z(google.maps.event.addListener(v,"mouseover",g)))},[g]),c.useEffect(function(){v&&m&&(te!==null&&google.maps.event.removeListener(te),oe(google.maps.event.addListener(v,"mouseup",m)))},[m]),c.useEffect(function(){v&&p&&(de!==null&&google.maps.event.removeListener(de),je(google.maps.event.addListener(v,"rightclick",p)))},[p]),c.useEffect(function(){v&&E&&(ye!==null&&google.maps.event.removeListener(ye),Ne(google.maps.event.addListener(v,"click",E)))},[E]),c.useEffect(function(){v&&w&&(ke!==null&&google.maps.event.removeListener(ke),ae(google.maps.event.addListener(v,"drag",w)))},[w]),c.useEffect(function(){var le=new google.maps.Polygon($($({},e||{}),{map:x}));return i&&le.setPath(i),s&&le.setPaths(s),typeof o<"u"&&le.setVisible(o),typeof r<"u"&&le.setEditable(r),typeof n<"u"&&le.setDraggable(n),a&&M(google.maps.event.addListener(le,"dblclick",a)),u&&N(google.maps.event.addListener(le,"dragend",u)),l&&q(google.maps.event.addListener(le,"dragstart",l)),f&&B(google.maps.event.addListener(le,"mousedown",f)),d&&F(google.maps.event.addListener(le,"mousemove",d)),h&&ee(google.maps.event.addListener(le,"mouseout",h)),g&&Z(google.maps.event.addListener(le,"mouseover",g)),m&&oe(google.maps.event.addListener(le,"mouseup",m)),p&&je(google.maps.event.addListener(le,"rightclick",p)),E&&Ne(google.maps.event.addListener(le,"click",E)),w&&ae(google.maps.event.addListener(le,"drag",w)),C(le),y&&y(le),function(){D!==null&&google.maps.event.removeListener(D),k!==null&&google.maps.event.removeListener(k),G!==null&&google.maps.event.removeListener(G),K!==null&&google.maps.event.removeListener(K),T!==null&&google.maps.event.removeListener(T),Y!==null&&google.maps.event.removeListener(Y),Q!==null&&google.maps.event.removeListener(Q),te!==null&&google.maps.event.removeListener(te),de!==null&&google.maps.event.removeListener(de),ye!==null&&google.maps.event.removeListener(ye),b&&b(le),le.setMap(null)}},[]),null}c.memo(Wb),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($($({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:Ef,eventMap:wf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{polygon:n}},this.setPolygonCallback)},e.prototype.componentDidUpdate=function(n){this.state.polygon!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Ef,eventMap:wf,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),ge(this.registeredEvents),this.state.polygon&&this.state.polygon.setMap(null))},e.prototype.render=function(){return null},e.contextType=ce,e}(c.PureComponent);var Cf={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"},Sf={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 Rb(t){var e=t.options,n=t.bounds,r=t.draggable,o=t.editable,i=t.visible,s=t.onDblClick,a=t.onDragEnd,u=t.onDragStart,l=t.onMouseDown,f=t.onMouseMove,d=t.onMouseOut,h=t.onMouseOver,g=t.onMouseUp,m=t.onRightClick,p=t.onClick,E=t.onDrag,w=t.onBoundsChanged,y=t.onLoad,b=t.onUnmount,x=c.useContext(ce),S=c.useState(null),v=S[0],C=S[1],A=c.useState(null),D=A[0],M=A[1],O=c.useState(null),k=O[0],N=O[1],H=c.useState(null),G=H[0],q=H[1],V=c.useState(null),K=V[0],B=V[1],I=c.useState(null),T=I[0],F=I[1],U=c.useState(null),Y=U[0],ee=U[1],P=c.useState(null),Q=P[0],Z=P[1],R=c.useState(null),te=R[0],oe=R[1],se=c.useState(null),de=se[0],je=se[1],ve=c.useState(null),ye=ve[0],Ne=ve[1],Me=c.useState(null),ke=Me[0],ae=Me[1],le=c.useState(null),Ge=le[0],_e=le[1];return c.useEffect(function(){v!==null&&v.setMap(x)},[x]),c.useEffect(function(){typeof e<"u"&&v!==null&&v.setOptions(e)},[v,e]),c.useEffect(function(){typeof r<"u"&&v!==null&&v.setDraggable(r)},[v,r]),c.useEffect(function(){typeof o<"u"&&v!==null&&v.setEditable(o)},[v,o]),c.useEffect(function(){typeof i<"u"&&v!==null&&v.setVisible(i)},[v,i]),c.useEffect(function(){typeof n<"u"&&v!==null&&v.setBounds(n)},[v,n]),c.useEffect(function(){v&&s&&(D!==null&&google.maps.event.removeListener(D),M(google.maps.event.addListener(v,"dblclick",s)))},[s]),c.useEffect(function(){v&&a&&(k!==null&&google.maps.event.removeListener(k),N(google.maps.event.addListener(v,"dragend",a)))},[a]),c.useEffect(function(){v&&u&&(G!==null&&google.maps.event.removeListener(G),q(google.maps.event.addListener(v,"dragstart",u)))},[u]),c.useEffect(function(){v&&l&&(K!==null&&google.maps.event.removeListener(K),B(google.maps.event.addListener(v,"mousedown",l)))},[l]),c.useEffect(function(){v&&f&&(T!==null&&google.maps.event.removeListener(T),F(google.maps.event.addListener(v,"mousemove",f)))},[f]),c.useEffect(function(){v&&d&&(Y!==null&&google.maps.event.removeListener(Y),ee(google.maps.event.addListener(v,"mouseout",d)))},[d]),c.useEffect(function(){v&&h&&(Q!==null&&google.maps.event.removeListener(Q),Z(google.maps.event.addListener(v,"mouseover",h)))},[h]),c.useEffect(function(){v&&g&&(te!==null&&google.maps.event.removeListener(te),oe(google.maps.event.addListener(v,"mouseup",g)))},[g]),c.useEffect(function(){v&&m&&(de!==null&&google.maps.event.removeListener(de),je(google.maps.event.addListener(v,"rightclick",m)))},[m]),c.useEffect(function(){v&&p&&(ye!==null&&google.maps.event.removeListener(ye),Ne(google.maps.event.addListener(v,"click",p)))},[p]),c.useEffect(function(){v&&E&&(ke!==null&&google.maps.event.removeListener(ke),ae(google.maps.event.addListener(v,"drag",E)))},[E]),c.useEffect(function(){v&&w&&(Ge!==null&&google.maps.event.removeListener(Ge),_e(google.maps.event.addListener(v,"bounds_changed",w)))},[w]),c.useEffect(function(){var _=new google.maps.Rectangle($($({},e||{}),{map:x}));return typeof i<"u"&&_.setVisible(i),typeof o<"u"&&_.setEditable(o),typeof r<"u"&&_.setDraggable(r),typeof n<"u"&&_.setBounds(n),s&&M(google.maps.event.addListener(_,"dblclick",s)),a&&N(google.maps.event.addListener(_,"dragend",a)),u&&q(google.maps.event.addListener(_,"dragstart",u)),l&&B(google.maps.event.addListener(_,"mousedown",l)),f&&F(google.maps.event.addListener(_,"mousemove",f)),d&&ee(google.maps.event.addListener(_,"mouseout",d)),h&&Z(google.maps.event.addListener(_,"mouseover",h)),g&&oe(google.maps.event.addListener(_,"mouseup",g)),m&&je(google.maps.event.addListener(_,"rightclick",m)),p&&Ne(google.maps.event.addListener(_,"click",p)),E&&ae(google.maps.event.addListener(_,"drag",E)),w&&_e(google.maps.event.addListener(_,"bounds_changed",w)),C(_),y&&y(_),function(){D!==null&&google.maps.event.removeListener(D),k!==null&&google.maps.event.removeListener(k),G!==null&&google.maps.event.removeListener(G),K!==null&&google.maps.event.removeListener(K),T!==null&&google.maps.event.removeListener(T),Y!==null&&google.maps.event.removeListener(Y),Q!==null&&google.maps.event.removeListener(Q),te!==null&&google.maps.event.removeListener(te),de!==null&&google.maps.event.removeListener(de),ye!==null&&google.maps.event.removeListener(ye),ke!==null&&google.maps.event.removeListener(ke),Ge!==null&&google.maps.event.removeListener(Ge),b&&b(_),_.setMap(null)}},[]),null}c.memo(Rb),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($($({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:Sf,eventMap:Cf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{rectangle:n}},this.setRectangleCallback)},e.prototype.componentDidUpdate=function(n){this.state.rectangle!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Sf,eventMap:Cf,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),ge(this.registeredEvents),this.state.rectangle.setMap(null))},e.prototype.render=function(){return null},e.contextType=ce,e}(c.PureComponent);var Lf={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"},Af={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)}},Kb={};function qb(t){var e=t.options,n=t.center,r=t.radius,o=t.draggable,i=t.editable,s=t.visible,a=t.onDblClick,u=t.onDragEnd,l=t.onDragStart,f=t.onMouseDown,d=t.onMouseMove,h=t.onMouseOut,g=t.onMouseOver,m=t.onMouseUp,p=t.onRightClick,E=t.onClick,w=t.onDrag,y=t.onCenterChanged,b=t.onRadiusChanged,x=t.onLoad,S=t.onUnmount,v=c.useContext(ce),C=c.useState(null),A=C[0],D=C[1],M=c.useState(null),O=M[0],k=M[1],N=c.useState(null),H=N[0],G=N[1],q=c.useState(null),V=q[0],K=q[1],B=c.useState(null),I=B[0],T=B[1],F=c.useState(null),U=F[0],Y=F[1],ee=c.useState(null),P=ee[0],Q=ee[1],Z=c.useState(null),R=Z[0],te=Z[1],oe=c.useState(null),se=oe[0],de=oe[1],je=c.useState(null),ve=je[0],ye=je[1],Ne=c.useState(null),Me=Ne[0],ke=Ne[1],ae=c.useState(null),le=ae[0],Ge=ae[1],_e=c.useState(null),_=_e[0],Qe=_e[1],Ue=c.useState(null),ht=Ue[0],at=Ue[1];return c.useEffect(function(){A!==null&&A.setMap(v)},[v]),c.useEffect(function(){typeof e<"u"&&A!==null&&A.setOptions(e)},[A,e]),c.useEffect(function(){typeof o<"u"&&A!==null&&A.setDraggable(o)},[A,o]),c.useEffect(function(){typeof i<"u"&&A!==null&&A.setEditable(i)},[A,i]),c.useEffect(function(){typeof s<"u"&&A!==null&&A.setVisible(s)},[A,s]),c.useEffect(function(){typeof r=="number"&&A!==null&&A.setRadius(r)},[A,r]),c.useEffect(function(){typeof n<"u"&&A!==null&&A.setCenter(n)},[A,n]),c.useEffect(function(){A&&a&&(O!==null&&google.maps.event.removeListener(O),k(google.maps.event.addListener(A,"dblclick",a)))},[a]),c.useEffect(function(){A&&u&&(H!==null&&google.maps.event.removeListener(H),G(google.maps.event.addListener(A,"dragend",u)))},[u]),c.useEffect(function(){A&&l&&(V!==null&&google.maps.event.removeListener(V),K(google.maps.event.addListener(A,"dragstart",l)))},[l]),c.useEffect(function(){A&&f&&(I!==null&&google.maps.event.removeListener(I),T(google.maps.event.addListener(A,"mousedown",f)))},[f]),c.useEffect(function(){A&&d&&(U!==null&&google.maps.event.removeListener(U),Y(google.maps.event.addListener(A,"mousemove",d)))},[d]),c.useEffect(function(){A&&h&&(P!==null&&google.maps.event.removeListener(P),Q(google.maps.event.addListener(A,"mouseout",h)))},[h]),c.useEffect(function(){A&&g&&(R!==null&&google.maps.event.removeListener(R),te(google.maps.event.addListener(A,"mouseover",g)))},[g]),c.useEffect(function(){A&&m&&(se!==null&&google.maps.event.removeListener(se),de(google.maps.event.addListener(A,"mouseup",m)))},[m]),c.useEffect(function(){A&&p&&(ve!==null&&google.maps.event.removeListener(ve),ye(google.maps.event.addListener(A,"rightclick",p)))},[p]),c.useEffect(function(){A&&E&&(Me!==null&&google.maps.event.removeListener(Me),ke(google.maps.event.addListener(A,"click",E)))},[E]),c.useEffect(function(){A&&w&&(le!==null&&google.maps.event.removeListener(le),Ge(google.maps.event.addListener(A,"drag",w)))},[w]),c.useEffect(function(){A&&y&&(_!==null&&google.maps.event.removeListener(_),Qe(google.maps.event.addListener(A,"center_changed",y)))},[E]),c.useEffect(function(){A&&b&&(ht!==null&&google.maps.event.removeListener(ht),at(google.maps.event.addListener(A,"radius_changed",b)))},[b]),c.useEffect(function(){var ue=new google.maps.Circle($($({},e||Kb),{map:v}));return typeof r=="number"&&ue.setRadius(r),typeof n<"u"&&ue.setCenter(n),typeof r=="number"&&ue.setRadius(r),typeof s<"u"&&ue.setVisible(s),typeof i<"u"&&ue.setEditable(i),typeof o<"u"&&ue.setDraggable(o),a&&k(google.maps.event.addListener(ue,"dblclick",a)),u&&G(google.maps.event.addListener(ue,"dragend",u)),l&&K(google.maps.event.addListener(ue,"dragstart",l)),f&&T(google.maps.event.addListener(ue,"mousedown",f)),d&&Y(google.maps.event.addListener(ue,"mousemove",d)),h&&Q(google.maps.event.addListener(ue,"mouseout",h)),g&&te(google.maps.event.addListener(ue,"mouseover",g)),m&&de(google.maps.event.addListener(ue,"mouseup",m)),p&&ye(google.maps.event.addListener(ue,"rightclick",p)),E&&ke(google.maps.event.addListener(ue,"click",E)),w&&Ge(google.maps.event.addListener(ue,"drag",w)),y&&Qe(google.maps.event.addListener(ue,"center_changed",y)),b&&at(google.maps.event.addListener(ue,"radius_changed",b)),D(ue),x&&x(ue),function(){O!==null&&google.maps.event.removeListener(O),H!==null&&google.maps.event.removeListener(H),V!==null&&google.maps.event.removeListener(V),I!==null&&google.maps.event.removeListener(I),U!==null&&google.maps.event.removeListener(U),P!==null&&google.maps.event.removeListener(P),R!==null&&google.maps.event.removeListener(R),se!==null&&google.maps.event.removeListener(se),ve!==null&&google.maps.event.removeListener(ve),Me!==null&&google.maps.event.removeListener(Me),_!==null&&google.maps.event.removeListener(_),ht!==null&&google.maps.event.removeListener(ht),S&&S(ue),ue.setMap(null)}},[]),null}c.memo(qb),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($($({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:Af,eventMap:Lf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{circle:n}},this.setCircleCallback)},e.prototype.componentDidUpdate=function(n){this.state.circle!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Af,eventMap:Lf,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),ge(this.registeredEvents),(n=this.state.circle)===null||n===void 0||n.setMap(null))},e.prototype.render=function(){return null},e.contextType=ce,e}(c.PureComponent);var xf={onClick:"click",onDblClick:"dblclick",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick",onAddFeature:"addfeature",onRemoveFeature:"removefeature",onRemoveProperty:"removeproperty",onSetGeometry:"setgeometry",onSetProperty:"setproperty"},Of={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 Jb(t){var e=t.options,n=t.onClick,r=t.onDblClick,o=t.onMouseDown,i=t.onMouseMove,s=t.onMouseOut,a=t.onMouseOver,u=t.onMouseUp,l=t.onRightClick,f=t.onAddFeature,d=t.onRemoveFeature,h=t.onRemoveProperty,g=t.onSetGeometry,m=t.onSetProperty,p=t.onLoad,E=t.onUnmount,w=c.useContext(ce),y=c.useState(null),b=y[0],x=y[1],S=c.useState(null),v=S[0],C=S[1],A=c.useState(null),D=A[0],M=A[1],O=c.useState(null),k=O[0],N=O[1],H=c.useState(null),G=H[0],q=H[1],V=c.useState(null),K=V[0],B=V[1],I=c.useState(null),T=I[0],F=I[1],U=c.useState(null),Y=U[0],ee=U[1],P=c.useState(null),Q=P[0],Z=P[1],R=c.useState(null),te=R[0],oe=R[1],se=c.useState(null),de=se[0],je=se[1],ve=c.useState(null),ye=ve[0],Ne=ve[1],Me=c.useState(null),ke=Me[0],ae=Me[1],le=c.useState(null),Ge=le[0],_e=le[1];return c.useEffect(function(){b!==null&&b.setMap(w)},[w]),c.useEffect(function(){b&&r&&(v!==null&&google.maps.event.removeListener(v),C(google.maps.event.addListener(b,"dblclick",r)))},[r]),c.useEffect(function(){b&&o&&(D!==null&&google.maps.event.removeListener(D),M(google.maps.event.addListener(b,"mousedown",o)))},[o]),c.useEffect(function(){b&&i&&(k!==null&&google.maps.event.removeListener(k),N(google.maps.event.addListener(b,"mousemove",i)))},[i]),c.useEffect(function(){b&&s&&(G!==null&&google.maps.event.removeListener(G),q(google.maps.event.addListener(b,"mouseout",s)))},[s]),c.useEffect(function(){b&&a&&(K!==null&&google.maps.event.removeListener(K),B(google.maps.event.addListener(b,"mouseover",a)))},[a]),c.useEffect(function(){b&&u&&(T!==null&&google.maps.event.removeListener(T),F(google.maps.event.addListener(b,"mouseup",u)))},[u]),c.useEffect(function(){b&&l&&(Y!==null&&google.maps.event.removeListener(Y),ee(google.maps.event.addListener(b,"rightclick",l)))},[l]),c.useEffect(function(){b&&n&&(Q!==null&&google.maps.event.removeListener(Q),Z(google.maps.event.addListener(b,"click",n)))},[n]),c.useEffect(function(){b&&f&&(te!==null&&google.maps.event.removeListener(te),oe(google.maps.event.addListener(b,"addfeature",f)))},[f]),c.useEffect(function(){b&&d&&(de!==null&&google.maps.event.removeListener(de),je(google.maps.event.addListener(b,"removefeature",d)))},[d]),c.useEffect(function(){b&&h&&(ye!==null&&google.maps.event.removeListener(ye),Ne(google.maps.event.addListener(b,"removeproperty",h)))},[h]),c.useEffect(function(){b&&g&&(ke!==null&&google.maps.event.removeListener(ke),ae(google.maps.event.addListener(b,"setgeometry",g)))},[g]),c.useEffect(function(){b&&m&&(Ge!==null&&google.maps.event.removeListener(Ge),_e(google.maps.event.addListener(b,"setproperty",m)))},[m]),c.useEffect(function(){if(w!==null){var _=new google.maps.Data($($({},e||{}),{map:w}));r&&C(google.maps.event.addListener(_,"dblclick",r)),o&&M(google.maps.event.addListener(_,"mousedown",o)),i&&N(google.maps.event.addListener(_,"mousemove",i)),s&&q(google.maps.event.addListener(_,"mouseout",s)),a&&B(google.maps.event.addListener(_,"mouseover",a)),u&&F(google.maps.event.addListener(_,"mouseup",u)),l&&ee(google.maps.event.addListener(_,"rightclick",l)),n&&Z(google.maps.event.addListener(_,"click",n)),f&&oe(google.maps.event.addListener(_,"addfeature",f)),d&&je(google.maps.event.addListener(_,"removefeature",d)),h&&Ne(google.maps.event.addListener(_,"removeproperty",h)),g&&ae(google.maps.event.addListener(_,"setgeometry",g)),m&&_e(google.maps.event.addListener(_,"setproperty",m)),x(_),p&&p(_)}return function(){b&&(v!==null&&google.maps.event.removeListener(v),D!==null&&google.maps.event.removeListener(D),k!==null&&google.maps.event.removeListener(k),G!==null&&google.maps.event.removeListener(G),K!==null&&google.maps.event.removeListener(K),T!==null&&google.maps.event.removeListener(T),Y!==null&&google.maps.event.removeListener(Y),Q!==null&&google.maps.event.removeListener(Q),te!==null&&google.maps.event.removeListener(te),de!==null&&google.maps.event.removeListener(de),ye!==null&&google.maps.event.removeListener(ye),ke!==null&&google.maps.event.removeListener(ke),Ge!==null&&google.maps.event.removeListener(Ge),E&&E(b),b.setMap(null))}},[]),null}c.memo(Jb),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($($({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:Of,eventMap:xf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{data:n}},this.setDataCallback)}},e.prototype.componentDidUpdate=function(n){this.state.data!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Of,eventMap:xf,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),ge(this.registeredEvents),this.state.data&&this.state.data.setMap(null))},e.prototype.render=function(){return null},e.contextType=ce,e}(c.PureComponent);var Mf={onClick:"click",onDefaultViewportChanged:"defaultviewport_changed",onStatusChanged:"status_changed"},Pf={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($($({},this.props.options),{map:this.context}));this.registeredEvents=he({updaterMap:Pf,eventMap:Mf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{kmlLayer:n}},this.setKmlLayerCallback)},e.prototype.componentDidUpdate=function(n){this.state.kmlLayer!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Pf,eventMap:Mf,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),ge(this.registeredEvents),this.state.kmlLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=ce,e})(c.PureComponent);function kf(t,e){return typeof e=="function"?e(t.offsetWidth,t.offsetHeight):{x:0,y:0}}function Zb(t,e){return new e(t.lat,t.lng)}function _b(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 Xb(t,e,n){return t instanceof e?t:n(t,e)}function $b(t,e,n){return t instanceof e?t:n(t,e)}function ew(t,e,n){var r=t&&t.fromLatLngToDivPixel(n.getNorthEast()),o=t&&t.fromLatLngToDivPixel(n.getSouthWest());return r&&o?{left:"".concat(o.x+e.x,"px"),top:"".concat(r.y+e.y,"px"),width:"".concat(r.x-o.x-e.x,"px"),height:"".concat(o.y-r.y-e.y,"px")}:{left:"-9999px",top:"-9999px"}}function tw(t,e,n){var r=t&&t.fromLatLngToDivPixel(n);if(r){var o=r.x,i=r.y;return{left:"".concat(o+e.x,"px"),top:"".concat(i+e.y,"px")}}return{left:"-9999px",top:"-9999px"}}function If(t,e,n,r){return n!==void 0?ew(t,e,$b(n,google.maps.LatLngBounds,_b)):tw(t,e,Xb(r,google.maps.LatLng,Zb))}function nw(t,e){return t.left===e.left&&t.top===e.top&&t.width===e.height&&t.height===e.height}function rw(t,e,n,r,o){var i=function(s){Be(a,s);function a(u,l,f,d){var h=s.call(this)||this;return h.container=u,h.pane=l,h.position=f,h.bounds=d,h}return a.prototype.onAdd=function(){var u,l=(u=this.getPanes())===null||u===void 0?void 0:u[this.pane];l==null||l.appendChild(this.container)},a.prototype.draw=function(){for(var u=this.getProjection(),l=$({},this.container?kf(this.container,o):{x:0,y:0}),f=If(u,l,this.bounds,this.position),d=0,h=Object.entries(f);d<h.length;d++){var g=h[d],m=g[0],p=g[1];this.container.style[m]=p}},a.prototype.onRemove=function(){this.container.parentNode!==null&&this.container.parentNode.removeChild(this.container)},a}(google.maps.OverlayView);return new i(t,e,n,r)}function Df(t){if(!t)return"";var e=t instanceof google.maps.LatLng?t:new google.maps.LatLng(t.lat,t.lng);return e+""}function Tf(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 ow(t){var e=t.position,n=t.bounds,r=t.mapPaneName,o=t.zIndex,i=t.onLoad,s=t.onUnmount,a=t.getPixelPositionOffset,u=t.children,l=c.useContext(ce),f=c.useMemo(function(){var h=document.createElement("div");return h.style.position="absolute",h},[]),d=c.useMemo(function(){return rw(f,r,e,n,a)},[f,r,e,n]);return c.useEffect(function(){return i==null||i(d),d==null||d.setMap(l),function(){s==null||s(d),d==null||d.setMap(null)}},[l,d]),c.useEffect(function(){f.style.zIndex="".concat(o)},[o,f]),Oa.createPortal(u,f)}c.memo(ow),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 i=r.props.mapPaneName,s=r.overlayView.getPanes();Re(!!i,"OverlayView requires props.mapPaneName but got %s",i),s?r.setState({paneEl:s[i]}):r.setState({paneEl:null})},r.onAdd=function(){var i,s;r.updatePane(),(s=(i=r.props).onLoad)===null||s===void 0||s.call(i,r.overlayView)},r.onPositionElement=function(){var i,s=r.overlayView.getProjection(),a=$({x:0,y:0},r.containerRef.current?kf(r.containerRef.current,r.props.getPixelPositionOffset):{}),u=If(s,a,r.props.bounds,r.props.position),l=(i=r.state.containerStyle,i.left),f=i.top,d=i.width,h=i.height;nw(u,{left:l,top:f,width:d,height:h})||r.setState({containerStyle:{top:u.top||0,left:u.left||0,width:u.width||0,height:u.height||0,position:"absolute"}})},r.draw=function(){r.onPositionElement()},r.onRemove=function(){var i,s;r.setState(function(){return{paneEl:null}}),(s=(i=r.props).onUnmount)===null||s===void 0||s.call(i,r.overlayView)},r.containerRef=c.createRef();var o=new google.maps.OverlayView;return o.onAdd=r.onAdd,o.draw=r.draw,o.onRemove=r.onRemove,r.overlayView=o,r}return e.prototype.componentDidMount=function(){this.overlayView.setMap(this.context)},e.prototype.componentDidUpdate=function(n){var r=Df(n.position),o=Df(this.props.position),i=Tf(n.bounds),s=Tf(this.props.bounds);(r!==o||i!==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?Oa.createPortal(L.jsx("div",{ref:this.containerRef,style:this.state.containerStyle,children:c.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=ce,e}(c.PureComponent);function iw(){}var Bf={onDblClick:"dblclick",onClick:"click"},Nf={opacity:function(t,e){t.setOpacity(e)}};function sw(t){var e=t.url,n=t.bounds,r=t.options,o=t.visible,i=c.useContext(ce),s=new google.maps.LatLngBounds(new google.maps.LatLng(n.south,n.west),new google.maps.LatLng(n.north,n.east)),a=c.useMemo(function(){var u=new google.maps.GroundOverlay(e,s,$({},r));return u},[]);return c.useEffect(function(){a!==null&&a.setMap(i)},[i]),c.useEffect(function(){typeof e<"u"&&a!==null&&(a.set("url",e),a.setMap(i))},[a,e]),c.useEffect(function(){typeof o<"u"&&a!==null&&a.setOpacity(o?1:0)},[a,o]),c.useEffect(function(){var u=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",u),a.setMap(i))},[a,n]),null}c.memo(sw),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(){Re(!!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,$($({},this.props.options),{map:this.context}));this.registeredEvents=he({updaterMap:Nf,eventMap:Bf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{groundOverlay:n}},this.setGroundOverlayCallback)},e.prototype.componentDidUpdate=function(n){this.state.groundOverlay!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Nf,eventMap:Bf,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:iw},e.contextType=ce,e}(c.PureComponent);var jf={},Uf={data:function(t,e){t.setData(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)}};function aw(t){var e=t.data,n=t.onLoad,r=t.onUnmount,o=t.options,i=c.useContext(ce),s=c.useState(null),a=s[0],u=s[1];return c.useEffect(function(){google.maps.visualization||Re(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} in useJsApiScript? %s',google.maps.visualization)},[]),c.useEffect(function(){Re(!!e,"data property is required in HeatmapLayer %s",e)},[e]),c.useEffect(function(){a!==null&&a.setMap(i)},[i]),c.useEffect(function(){o&&a!==null&&a.setOptions(o)},[a,o]),c.useEffect(function(){var l=new google.maps.visualization.HeatmapLayer($($({},o||{}),{data:e,map:i}));return u(l),n&&n(l),function(){a!==null&&(r&&r(a),a.setMap(null))}},[]),null}c.memo(aw),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(){Re(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} to <LoadScript />? %s',google.maps.visualization),Re(!!this.props.data,"data property is required in HeatmapLayer %s",this.props.data);var n=new google.maps.visualization.HeatmapLayer($($({},this.props.options||{}),{data:this.props.data,map:this.context}));this.registeredEvents=he({updaterMap:Uf,eventMap:jf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{heatmapLayer:n}},this.setHeatmapLayerCallback)},e.prototype.componentDidUpdate=function(n){ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Uf,eventMap:jf,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),ge(this.registeredEvents),this.state.heatmapLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=ce,e}(c.PureComponent);var Hf={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},zf={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,o=(r=(n=this.context)===null||n===void 0?void 0:n.getStreetView())!==null&&r!==void 0?r:null;this.registeredEvents=he({updaterMap:zf,eventMap:Hf,prevProps:{},nextProps:this.props,instance:o}),this.setState(function(){return{streetViewPanorama:o}},this.setStreetViewPanoramaCallback)},e.prototype.componentDidUpdate=function(n){this.state.streetViewPanorama!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:zf,eventMap:Hf,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),ge(this.registeredEvents),this.state.streetViewPanorama.setVisible(!1))},e.prototype.render=function(){return null},e.contextType=ce,e})(c.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=ce,e}(c.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(){Re(!!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}(c.PureComponent);var Ff={onDirectionsChanged:"directions_changed"},Vf={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:Vf,eventMap:Ff,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{directionsRenderer:n}},this.setDirectionsRendererCallback)},e.prototype.componentDidUpdate=function(n){this.state.directionsRenderer!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Vf,eventMap:Ff,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),ge(this.registeredEvents),this.state.directionsRenderer&&this.state.directionsRenderer.setMap(null))},e.prototype.render=function(){return L.jsx(L.Fragment,{})},e.contextType=ce,e})(c.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(){Re(!!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}(c.PureComponent);var Gf={onPlacesChanged:"places_changed"},Qf={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=c.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(Re(!!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:Qf,eventMap:Gf,prevProps:{},nextProps:this.props,instance:r}),this.setState(function(){return{searchBox:r}},this.setSearchBoxCallback)}}},e.prototype.componentDidUpdate=function(n){this.state.searchBox!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Qf,eventMap:Gf,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),ge(this.registeredEvents))},e.prototype.render=function(){return L.jsx("div",{ref:this.containerElement,children:c.Children.only(this.props.children)})},e.contextType=ce,e})(c.PureComponent);var Yf={onPlaceChanged:"place_changed"},Wf={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=c.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;Re(!!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 o=new google.maps.places.Autocomplete(r,this.props.options);this.registeredEvents=he({updaterMap:Wf,eventMap:Yf,prevProps:{},nextProps:this.props,instance:o}),this.setState(function(){return{autocomplete:o}},this.setAutocompleteCallback)}},e.prototype.componentDidUpdate=function(n){ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Wf,eventMap:Yf,prevProps:n,nextProps:this.props,instance:this.state.autocomplete})},e.prototype.componentWillUnmount=function(){this.state.autocomplete!==null&&ge(this.registeredEvents)},e.prototype.render=function(){return L.jsx("div",{ref:this.containerElement,className:this.props.className,children:c.Children.only(this.props.children)})},e.defaultProps={className:""},e.contextType=ce,e})(c.PureComponent);function Rf(t){return typeof t=="object"&&"lat"in t&&"lng"in t?t.lat===$t[0]&&t.lng===$t[1]:t[0]===$t[0]&&t[1]===$t[1]}const lw={clickableIcons:!1,disableDefaultUI:!0,minZoom:4,maxZoom:20,restriction:{strictBounds:!0,latLngBounds:{north:85,south:-85,west:-179,east:179}}},Kf={optimized:!0},Ze={root:"MapGoogle-module__root__iB2RTt",hideUI:"MapGoogle-module__hideUI__zGYpjY",mapContainer:"MapGoogle-module__mapContainer__qTVsu4",balloon:"MapGoogle-module__balloon__nNM3fV",details:"MapGoogle-module__details__MuhoyT",cluster:"MapGoogle-module__cluster__KIS2sn",overlay:"MapGoogle-module__overlay__z03Yoa",mapControl:"MapGoogle-module__mapControl__Iu3xc4",geolocationControl:"MapGoogle-module__geolocationControl__cwYVsw",bottomSheet:"MapGoogle-module__bottomSheet__ql8eoC",locationViewContent:"MapGoogle-module__locationViewContent__LYJkkK",locationViewHeader:"MapGoogle-module__locationViewHeader__hzc7Ip",courierDetailsViewContent:"MapGoogle-module__courierDetailsViewContent__CIg-RD",courierDetailsViewHeader:"MapGoogle-module__courierDetailsViewHeader__vMFQjI",sheetSubmit:"MapGoogle-module__sheetSubmit__pjGRS0"},uw=({children:t,className:e,onLoad:n,onIdle:r,onUnmount:o})=>{const{map:i,disableCourierDelivery:s,hideMapUI:a}=Bt(),u=Ve(p=>p.setDetailsOpen),l=mn(p=>p.setPlace),f=mt(p=>p.setCourierPoint),d=xt(p=>p.setSelectedPoint),h=c.useMemo(()=>{var p,E;return{lat:((p=i==null?void 0:i.center)==null?void 0:p[0])??$t[0],lng:((E=i==null?void 0:i.center)==null?void 0:E[1])??$t[1]}},[i==null?void 0:i.center]),g=c.useCallback(async p=>{var y;const{latLng:E}=p;if(!E||s)return;u(!1),d(null);const w=[E.lat(),E.lng()];try{const b=await vi(w),x=(y=b==null?void 0:b.results)==null?void 0:y[0],S=x==null?void 0:x.formatted_address;l(x),S&&f({address:S,coords:w})}catch{f({address:null,coords:w})}},[s,f,u,l,d]),m=Rf(h)?ol:es;return L.jsx($0,{zoom:m,center:h,options:lw,mapContainerClassName:Ee(Ze.root,e,{[Ze.hideUI]:a}),onLoad:n,onIdle:r,onUnmount:o,onClick:g,children:t})},qf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAAEICAYAAAAJEPtqAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAFmTSURBVHgB7X1psGVHedjX545GaBkYEKDFGB4Yi4BjZ6SRKFYz88+uggSSQAL5geQkUhbHoKSSOFtpximXU85igbMhx9aQBSfIFU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TI7MpJ7gaiqdv8Z3vEqQ2sp87kC/BE/l09Uizg+PQSvlnVkWnKsEUALyHE0OKYPd1arcdlzlruRAu8Mmdgt4FsHoSWsIJF3Yj094VYx+tR6BrR9oLpGQQ+OTqyPoBWPuRXA7Jm17nJoCrs0BF2f9O6cQvAvOE8B8oHqGE7cF59rV/Jv9yHQM1rh1e2QmAexM7NmqniwD/j9/ewWbk1NBkwAAAABJRU5ErkJggg==",Jf=28,Zf=({children:t,hideFooter:e,minSnapHeight:n,submitDisabled:r,onSubmitClick:o,...i})=>L.jsx(Ru,{...i,expandOnContentDrag:!0,initialFocusRef:!1,defaultSnap:({snapPoints:s})=>Math.min(...s),snapPoints:({headerHeight:s,minHeight:a,footerHeight:u,maxHeight:l})=>[n==null?a:s+u+n,l-Jf],footer:e?null:L.jsx(wt,{disabled:r,variant:"primary",className:Ze.sheetSubmit,onClick:o,children:L.jsx(gn,{keyName:"choose",ns:"common"})}),sibling:L.jsx("div",{"data-rsbs-backdrop":"true",onClick:s=>{var a;s.stopPropagation(),s.preventDefault(),(a=i.onDismiss)==null||a.call(i)}}),blocking:!1,children:L.jsx("div",{className:Ze.bottomSheet,children:t})}),_f=t=>ie.createElement("svg",{width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ie.createElement("rect",{width:42,height:42,rx:21,fill:"white"}),ie.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"}),ie.createElement("rect",{x:.5,y:.5,width:41,height:41,rx:20.5,stroke:"#1D3665",strokeOpacity:.1})),cw=t=>ie.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ie.createElement("g",{clipPath:"url(#clip0_422_11470)"},ie.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"})),ie.createElement("defs",null,ie.createElement("clipPath",{id:"clip0_422_11470"},ie.createElement("rect",{width:20.0004,height:20,fill:"white"})))),Xf={root:"CloseButton-module__root__233rOd",absolutePositionVariant:"CloseButton-module__absolutePositionVariant__MMkQ0-",relativePositionVariant:"CloseButton-module__relativePositionVariant__fdYFY4"},Zr=({position:t="absolute",className:e,...n})=>L.jsx("div",{...n,className:Ee(Xf.root,e,Xf[`${t}PositionVariant`]),children:L.jsx(cw,{})}),fn={root:"CourierBalloon-module__root__4MUq03",details:"CourierBalloon-module__details__Ji6B9l",header:"CourierBalloon-module__header__SAzGF6",title:"CourierBalloon-module__title__FdGkJ2",description:"CourierBalloon-module__description__Su359i",actions:"CourierBalloon-module__actions__zJkpDW",errorVariant:"CourierBalloon-module__errorVariant__TjUPgn",logo:"CourierBalloon-module__logo__DMba5H"},ga=({SSR:t,variant:e,address:n,className:r,hasCloseButton:o,onDetails:i,onClose:s})=>{const a=e==="error",u=e==="default",l=t?"{ courier_balloon.title }":L.jsx(gn,{keyName:"title",ns:"courier_balloon"}),f=t?"{ courier_balloon.error_title }":L.jsx(gn,{keyName:"error_title",ns:"courier_balloon"}),d=t?"{ courier_balloon.error_description }":L.jsx(gn,{keyName:"error_description",ns:"courier_balloon"});return L.jsxs("div",{className:Ee(fn.root,r,fn[`${e}Variant`]),children:[L.jsxs("div",{className:fn.header,children:[L.jsx(_f,{className:fn.logo}),L.jsx("span",{className:fn.title,children:a?f:l}),o&&L.jsx(Zr,{onClick:s})]}),L.jsx("div",{className:fn.description,children:a?d:n||"{{ properties.address }}"}),u&&L.jsx("div",{className:fn.actions,children:L.jsx(wt,{id:vo,as:"button",variant:"primary",className:fn.details,onClick:i,children:t?"{ details }":L.jsx(gn,{keyName:"details",ns:"common"})})})]})},$f=({isSelectedPoint:t})=>{const[e,n]=c.useState(!0),r=Ve(o=>o.detailsOpen);return c.useEffect(()=>{n(t?!r:!0)},[r,t]),e},ed={root:"Chip-module__root__A1duWr",active:"Chip-module__active__PmXa7K"},td=({active:t,children:e,className:n,...r})=>L.jsx("div",{...r,className:Ee(ed.root,n,{[ed.active]:t}),children:e}),fw={root:"TextArea-module__root__l-RDfr"},nd=c.forwardRef(({className:t,inputRef:e,onChange:n,onBlur:r,...o},i)=>{const s=c.useRef(null);c.useImperativeHandle(i,()=>({focus:()=>{var u;(u=s.current)==null||u.focus()},blur:()=>{var u;(u=s.current)==null||u.blur()},setValue:u=>{if(n){n({target:{value:u}});return}r&&r({target:{value:u}}),s.current&&(s.current.value=u)}}),[r,n]);const a=wd(e,s);return L.jsx("textarea",{...o,ref:a,className:Ee(fw.root,t),onBlur:r,onChange:n})}),dw=({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},rd=t=>{const{delivery_time:e,apartment_number:n}=t;return!!e&&!!n},ft={title:"CourierDetailsView-module__title__erksdV",logo:"CourierDetailsView-module__logo__qYbLKL",header:"CourierDetailsView-module__header__JofwHC",content:"CourierDetailsView-module__content__8xEbUb",section:"CourierDetailsView-module__section__NQlWki",chips:"CourierDetailsView-module__chips__T1ep8H",actions:"CourierDetailsView-module__actions__IgFrOE",submit:"CourierDetailsView-module__submit__Z-6fPa",actionsHidden:"CourierDetailsView-module__actionsHidden__VfVd-Y",commentSection:"CourierDetailsView-module__commentSection__vN110S",comment:"CourierDetailsView-module__comment__rOoPVP"},hw=({location:t,hideActions:e,classes:n,onClose:r,onChange:o,onSubmit:i})=>{const{inputs:s}=Bt(),{t:a}=At(["details_modal","courier_balloon","common"]),u=c.useMemo(()=>dw({set:o}),[o]),[l,f]=c.useReducer(u,{...t,comment:"",delivery_time:"",apartment_number:""}),d=()=>{i==null||i(l)},h=y=>()=>{f({payload:y,type:"SET_DELIVERY_TIME"})},g=y=>{f({payload:y.target.value,type:"SET_APARTMENT_NUMBER"})},m=y=>{f({payload:y.target.value,type:"SET_COMMENT"})},p=rd(l),E=Mi(s==null?void 0:s.apartment),w=Mi(s==null?void 0:s.comment);return L.jsxs(L.Fragment,{children:[L.jsxs("div",{className:Ee(ft.header,n==null?void 0:n.header),children:[L.jsx(Zr,{onClick:r}),L.jsxs("div",{className:ft.title,children:[L.jsx(_f,{className:ft.logo}),L.jsx("span",{children:a("title",{ns:"courier_balloon"})})]})]}),L.jsxs("div",{className:Ee(ft.content,n==null?void 0:n.content),children:[L.jsxs("section",{className:ft.section,children:[L.jsxs("label",{children:[a("address"),":"]}),L.jsx("p",{children:t.address})]}),L.jsxs("section",{className:ft.section,children:[L.jsxs("label",{children:[a("delivery_time"),":"]}),L.jsxs("div",{className:ft.chips,children:[L.jsx(td,{active:l.delivery_time==="8:00-13:00",onClick:h("8:00-13:00"),children:"8:00 - 13:00"}),L.jsx(td,{active:l.delivery_time==="14:00-22:00",onClick:h("14:00-22:00"),children:"14:00 - 22:00"})]})]}),L.jsxs("section",{className:ft.section,children:[L.jsxs("label",{children:[a("apartment_number"),":"]}),L.jsx(nd,{...E,rows:1,onChange:g})]}),L.jsxs("section",{className:Ee(ft.section,ft.commentSection),children:[L.jsxs("label",{children:[a("comment"),":"]}),L.jsx(nd,{...w,className:ft.comment,onChange:m})]})]}),L.jsx("div",{className:Ee(ft.actions,{[ft.actionsHidden]:e}),children:L.jsx(wt,{disabled:!p,variant:"primary",className:ft.submit,onClick:d,children:a("choose",{ns:"common"})})})]})},od=c.memo(hw),pw={header:Ze.courierDetailsViewHeader,content:Ze.courierDetailsViewContent},gw=({point:t,setOpenDetails:e,setCourierPoint:n,onPointClick:r})=>{const o=$f({isSelectedPoint:!0}),[i,s]=c.useState({...t,comment:"",delivery_time:"",apartment_number:""});c.useEffect(()=>{s({...t,comment:"",delivery_time:"",apartment_number:""})},[t]);const[a,u]=c.useState(null),l=to("screenSm"),f={lat:i.coords[0],lng:i.coords[1]},d=()=>{e==null||e(!0)},h=()=>{n==null||n(null)},g={url:qf,scaledSize:new google.maps.Size(...Yt)},m=()=>{r==null||r(i),e==null||e(!1),n==null||n(null)},p=L.jsx(ga,{...i,hasCloseButton:l,variant:i.address?"default":"error",className:Ze.balloon,onDetails:d,onClose:h}),E=rd(i),w=o&&!!(a!=null&&a.getVisible());return L.jsxs(ef,{noClustererRedraw:!0,icon:g,position:f,options:Kf,onLoad:u,children:[l&&L.jsxs(Zf,{minSnapHeight:i.address?200:void 0,submitDisabled:!E,hideFooter:!i.address,open:w,onDismiss:h,onSubmitClick:m,children:[i.address&&L.jsx(od,{classes:pw,hideActions:!0,location:t,onChange:s,onClose:h}),!i.address&&p]}),!l&&w&&L.jsx(mf,{onCloseClick:h,children:p})]})},va="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAAEICAYAAAAJEPtqAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAGAkSURBVHgB7b1rrGVHeSj41T4NNg87TRxiuk2SQ5QxvjxMG7sJUn7QziQSoyR+ZJQokEjYuSOIeQRQJgl5je3cGJh7EyUo4ZXJBHOx4SqZwW2QCBjjPow0UkZu280oAeIbwfEM7jZ5tt0mYHefXbe+WvVVfV/VV+ux99r77HO6v+51Vq1a9a7vXVVrGzgHo8ChQ4f2fuc739l7+vTpA9bavS5q3RjzA+6O4b0ubh3TubjwjE82L+YkXi6Nv0+nAJMJbLq8j+DzZDI5hu/uv//+Y3AORgED52AwvPrVr15/+umnDzmEfAUitrsOuOh1nsYhamc5FSJQ01Fx1mfCB4tEgMSCRPFF15bNc4QxHM4RQAccOHBg79ra2iGHeK9pEN0ccMi4t0/eLiJokLk/pOSRCPIkKDmQII45grj7zJkzxxychHNQhXMEoMBVV111aDqdXmutcQhvDyWEa6AHc/fIzzl3Dn25v0wfnyARAL/TOwEbRBBHjx7dgHMg4BwBQMPlHYJc54KOy4O7W8HhCZmbMAyCmhQgVQZft0mC8lUN+WtEwCWFcSoTbLjA3Y7AD5+TDmcxARDSO+R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PED4BcF9d5/TFjfgXXmaE+aM96jQh1ic0za3pg3RIwzJDrtikR8wUw5fXvqosXtdyGebIhNFFjuCAYGX7RwD5Ho/UrAaI+mpK8KE4YYDQEmGWwOdAs9k/vtNOHafB4iWv2R6WHTLZu2g6wzg3QTup5QOTgd4IHD3FEzZNx4D8AZH5movEFnzAAAAAASUVORK5CYII=",id=t=>ie.createElement("svg",{width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ie.createElement("rect",{width:42,height:42,rx:21,fill:"white"}),ie.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"}),ie.createElement("path",{d:"M15.1629 25V17H16.929L19.6222 20.2333L22.3045 17H24.0816V25H22.3597V19.6333L19.6222 22.9222L16.8738 19.6444V25H15.1629Z",fill:"black"}),ie.createElement("path",{d:"M25.4032 25V17H27.1693L31.6176 22.3333V17H33.3505V25H31.5845L27.1141 19.6444V25H25.4032Z",fill:"black"}),ie.createElement("path",{d:"M34.3112 25V17H36V25H34.3112Z",fill:"black"}),ie.createElement("rect",{x:.5,y:.5,width:41,height:41,rx:20.5,stroke:"#1D3665",strokeOpacity:.1})),ot={title:"LocationView-module__title__QP69kD",logo:"LocationView-module__logo__nlPQaG",header:"LocationView-module__header__9DDuVU",content:"LocationView-module__content__Se2TSy",section:"LocationView-module__section__9m1x1v",chips:"LocationView-module__chips__6j-ZAh",services:"LocationView-module__services__rwbp2x",images:"LocationView-module__images__zfnQMA",image:"LocationView-module__image__JKvt9J",actions:"LocationView-module__actions__AGih3C",actionsHidden:"LocationView-module__actionsHidden__DBV1vj",submit:"LocationView-module__submit__6mD2w-",scheduleItem:"LocationView-module__scheduleItem__snTLMb"},vw=({location:t,hideActions:e,classes:n,onClose:r,onSubmit:o})=>{const{t:i}=At(["details_modal","common"]);return L.jsxs(L.Fragment,{children:[L.jsxs("div",{className:Ee(ot.header,n==null?void 0:n.header),children:[L.jsx(Zr,{onClick:r}),L.jsxs("div",{className:ot.title,children:[L.jsx(id,{className:ot.logo}),L.jsx("span",{children:t.name})]})]}),L.jsxs("div",{className:Ee(ot.content,n==null?void 0:n.content),children:[L.jsxs("section",{className:ot.section,children:[L.jsxs("label",{children:[i("address"),":"]}),L.jsx("p",{children:t.location.full_address})]}),t.schedule.length>0&&L.jsxs("section",{className:ot.section,children:[L.jsxs("label",{children:[i("schedule"),":"]}),t.schedule.map((s,a)=>L.jsx("p",{className:ot.scheduleItem,children:s},a))]}),(t.pay_by_card||t.pay_by_card)&&L.jsxs("section",{className:ot.section,children:[L.jsxs("label",{children:[i("payment_method"),":"]}),L.jsxs("div",{className:ot.chips,children:[t.pay_by_cash&&i("pay_by_cash"),t.pay_by_card&&t.pay_by_cash&&", ",t.pay_by_card&&i("pay_by_card")]})]}),L.jsxs("section",{className:ot.section,children:[L.jsxs("label",{children:[i("services"),":"]}),L.jsxs("div",{className:ot.services,children:[t.is_pickup&&L.jsx("span",{children:i("is_pickup")}),t.is_delivery&&L.jsx("span",{children:i("is_delivery")}),t.is_dressing_room&&L.jsx("span",{children:i("is_dressing_room")}),t.is_check_order&&L.jsx("span",{children:i("is_check_order")})]})]}),L.jsxs("section",{className:ot.section,children:[L.jsxs("label",{children:[i("location"),":"]}),L.jsx("p",{children:t.location_name})]}),t.images.length>0&&L.jsx("section",{className:ot.images,children:t.images.map(s=>L.jsx("img",{src:s,alt:t.name,className:ot.image},s))})]}),L.jsx("div",{className:Ee(ot.actions,{[ot.actionsHidden]:e}),children:L.jsx(wt,{variant:"primary",className:ot.submit,onClick:o,children:i("choose",{ns:"common"})})})]})},sd=c.memo(vw),mw=t=>ie.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ie.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"})),Mn={root:"LocationBalloon-module__root__D5p9cL",submit:"LocationBalloon-module__submit__Ri5JaR",details:"LocationBalloon-module__details__6et6aX",header:"LocationBalloon-module__header__LCvDj0",title:"LocationBalloon-module__title__octhrc",description:"LocationBalloon-module__description__r7vFbw",actions:"LocationBalloon-module__actions__-jdejn"},ad=({SSR:t,name:e,location:n,onSubmit:r,className:o,onDetails:i,location_name:s})=>L.jsxs("div",{className:Ee(Mn.root,o),children:[L.jsxs("div",{className:Mn.header,children:[L.jsx(id,{}),L.jsx("span",{className:Mn.title,children:e||"{{ properties.point.name }}"})]}),L.jsxs("div",{className:Mn.description,children:[(n==null?void 0:n.full_address)||"{{ properties.point.location.full_address }}",","," ",s||"{{ properties.point.location_name }}"]}),L.jsxs("div",{className:Mn.actions,children:[L.jsx(wt,{id:$i,variant:"primary",className:Mn.submit,onClick:r,children:t?"{ choose }":L.jsx(gn,{keyName:"choose",ns:"common"})}),L.jsxs(wt,{id:vo,as:"link",variant:"primary",className:Mn.details,onClick:i,children:[t?"{ details }":L.jsx(gn,{keyName:"details",ns:"common"}),L.jsx(mw,{})]})]})]}),yw={header:Ze.locationViewHeader,content:Ze.locationViewContent},bw=({point:t,clusterer:e,onPointClick:n,selectedPoint:r,setOpenDetails:o,onPointSelected:i})=>{const s=to("screenSm"),[a,u]=c.useState(null),l=()=>{o==null||o(!1),i==null||i(t)},f=()=>{i==null||i(null)},d=()=>{o==null||o(!0),i==null||i(t)},h=()=>{n==null||n(t),o==null||o(!1),i==null||i(null)},g=(r==null?void 0:r.uid)===t.uid,m=g?Fn:Yt,p=$f({isSelectedPoint:g}),E={scaledSize:new google.maps.Size(...m),url:t.type===30?ma:va},w={lat:t.location.latitude,lng:t.location.longitude},y=g&&p&&!!(a!=null&&a.getVisible());return L.jsxs(ef,{noClustererRedraw:!0,icon:E,position:w,clusterer:e,options:Kf,onLoad:u,onClick:l,children:[s&&L.jsx(Zf,{minSnapHeight:200,open:y,onDismiss:f,onSubmitClick:h,children:L.jsx(sd,{classes:yw,hideActions:!0,location:t,onClose:f})}),y&&!s&&L.jsx(mf,{onCloseClick:f,children:L.jsx(ad,{...t,className:Ze.balloon,onSubmit:h,onDetails:d})})]},t.uid)},ww=({points:t,selectedPoint:e,onOpenDetails:n,onPointClick:r,onPointSelected:o})=>L.jsx(Sb,{clusterClass:Ze.cluster,onClusteringEnd:()=>{setTimeout(()=>{const i=document.getElementsByClassName(Ze.cluster);for(const s of i)s.addEventListener("touchstart",Oc,{passive:!0})},100)},onUnmount:()=>{const i=document.getElementsByClassName(Ze.cluster);for(const s of i)s.removeEventListener("touchstart",Oc)},children:i=>L.jsx(c.Fragment,{children:t.map(s=>L.jsx(bw,{point:s,clusterer:i,selectedPoint:e,setOpenDetails:n,onPointClick:r,onPointSelected:o},s.uid))})}),Ew=c.memo(ww),Cw=({onOpenDetails:t,onPointClick:e,onPointSelected:n})=>{const{locale:r}=Bt(),o=zt(u=>u.points),i=xt(u=>u.location),s=mn(u=>u.place),a=JSON.stringify([o.length,r,s==null?void 0:s.place_id]);return L.jsx(Ew,{points:o,selectedPoint:i,onOpenDetails:t,onPointClick:e,onPointSelected:n},a)},Sw=c.memo(Cw),Lw=t=>ie.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ie.createElement("g",{id:"icon"},ie.createElement("rect",{id:"Rectangle 1602",x:9,width:2,height:20,rx:1,fill:"white"}),ie.createElement("rect",{id:"Rectangle 1603",x:20,y:9,width:2,height:20,rx:1,transform:"rotate(90 20 9)",fill:"white"}),ie.createElement("circle",{id:"Ellipse 789",cx:10,cy:10,r:8,fill:"white"}),ie.createElement("circle",{id:"Ellipse 790",cx:10,cy:10,r:6,fill:"currentcolor"}),ie.createElement("circle",{id:"Ellipse 791",cx:10,cy:10,r:4,fill:"white"}))),Aw=t=>{const e=document.createElement("div"),n=document.createElement("div");e.classList.add(Ze.mapControl),n.classList.add(Ze.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)})},xw=t=>{const e=document.createElement("div");e.classList.add(Ze.mapControl),e.classList.add(Ze.geolocationControl),e.innerHTML=lo.renderToString(L.jsx(Lw,{})),t.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(e),e.addEventListener("click",()=>{navigator.geolocation&&navigator.geolocation.getCurrentPosition(n=>{const{latitude:r,longitude:o}=n.coords;t.panTo({lat:r,lng:o}),t.setZoom(es)})})},Ow=({className:t})=>{const e=Ve(w=>w.map),n=Ve(w=>w.setMap),r=Ve(w=>w.loading),o=Ve(w=>w.setDetailsOpen),i=Ln(),s=zt(w=>w.loading),a=zt(w=>w.loadNext),u=mn(w=>w.setPlace),l=mt(w=>w.courierPoint),f=mt(w=>w.setCourierPoint),d=xt(w=>w.setSelectedPoint),{onPointClick:h}=Bt(),g=c.useCallback(w=>{n(w),Aw(w),xw(w)},[n]),m=c.useCallback(()=>{n(null)},[n]),p=c.useCallback(()=>{if(!e)return;const w=e==null?void 0:e.getBounds();w&&a([[w.getSouthWest().lat(),w.getNorthEast().lat()],[w.getSouthWest().lng(),w.getNorthEast().lng()]],i)},[i,a,e]),E=c.useCallback(async w=>{var x;if(f(null),d(w),!w)return;const y=[w.location.latitude,w.location.longitude],b=await vi(y);u((x=b.results)==null?void 0:x[0])},[f,u,d]);return L.jsxs("div",{className:Ee(Ze.mapContainer,t),children:[L.jsxs(uw,{onIdle:p,onLoad:g,onUnmount:m,children:[l&&L.jsx(gw,{point:l,onPointClick:h,setOpenDetails:o,setCourierPoint:f}),L.jsx(Sw,{onPointClick:h,onOpenDetails:o,onPointSelected:E})]}),(s||r)&&L.jsx(ra,{className:Ze.overlay,children:L.jsx(oa,{})})]})},Mw=c.memo(Ow);function Pn(){return Pn=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},Pn.apply(this,arguments)}const ld=(t,e)=>{const n={};for(const r in t)e.indexOf(r)===-1&&(n[r]=t[r]);return n},ud=c.createContext(null),Si=c.createContext(null),cd=t=>e=>c.createElement(Si.Consumer,null,n=>c.createElement(t,Pn({parent:n},e))),Pw=(t=[])=>{const[e,n]=c.useState(!1),r=c.useRef(t),o=(()=>{const s=c.useContext(ud);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})(),i=o.getApi();return c.useEffect(()=>{o.load().then(()=>Promise.all(r.current.map(o.loadModule))).then(()=>n(!0))},[]),e&&i?i:null},kw=()=>{},Iw=["onLoad","onError","modules","apiLoader"];function ya(t,e=!1,n=[]){return r=>{const{width:o,height:i,modules:s=[],onLoad:a=kw}=r,u=Pw(n.concat(s)),l=!e||!!u,f=ld(r,Iw);return c.useEffect(()=>u?a(u):void 0,[u]),l?c.createElement(t,Pn({ymaps:u},f)):c.createElement("div",{style:{width:o,height:i}})}}const Dw=typeof window<"u",fd={lang:"ru_RU",load:"",ns:"",mode:"release"},Tw=t=>{const{version:e="2.1",enterprise:n=!1,query:r={lang:"ru_RU",load:"",ns:""},preload:o=!1,children:i}=t,s=c.useRef((a=>{const{query:u=fd}=a,l=Date.now().toString(32),f=u.ns||"",d="__yandex-maps-api-onload__$$"+l,h="__yandex-maps-api-onerror__$$"+l,g=Dw?window:{},m={};let p;const E=()=>f?g[f]:p,w=()=>{delete g[d],delete g[h]};return{load:()=>{if(E())return Promise.resolve(p);if(m[f])return m[f];const y={onload:d,onerror:h,...fd,...u},b=Object.keys(y).map(S=>`${S}=${y[S]}`).join("&"),x=[`https://${a.enterprise?"enterprise.":""}api-maps.yandex.ru`,a.version,"?"+b].join("/");return m[f]=new Promise((S,v)=>{g[d]=C=>{w(),C.ready(()=>{p=C,S(C)})},g[h]=C=>{w(),v(C)},(C=>new Promise((A,D)=>{const M=document.createElement("script");M.type="text/javascript",M.onload=A,M.onerror=D,M.src=C,M.async=!0,document.head.appendChild(M)}))(x).catch(g[h])}),m[f]},getApi:E,loadModule:y=>new Promise((b,x)=>{p.modules.require(y).done(S=>{S.forEach(v=>{((C,A,D,M=!1)=>{const O=typeof A=="string"?A.split("."):A.slice();let k,N=C;for(;O.length>1;)k=O.shift(),N[k]||(N[k]={}),N=N[k];const H=O[0];N[H]=M===!0&&N[H]||D})(p,y,v,!0)}),b(p)},x)})}})({version:e,enterprise:n,query:r,preload:o}));return c.useEffect(()=>{o&&s.current.load()},[s.current]),c.createElement(ud.Provider,{value:s.current},i)},dd=/^on(?=[A-Z])/;function Fe(t){return Object.keys(t).reduce((e,n)=>{if(dd.test(n)){const r=n.replace(dd,"").toLowerCase();e._events[r]=t[n]}else e[n]=t[n];return e},{_events:{}})}function kn(t,e,n){typeof n=="function"&&t.events.add(e,n)}function In(t,e,n){typeof n=="function"&&t.events.remove(e,n)}function sr(t,e,n){Object.keys(Object.assign({},e,n)).forEach(r=>{e[r]!==n[r]&&(In(t,r,e[r]),kn(t,r,n[r]))})}const hd=t=>"default"+t.charAt(0).toUpperCase()+t.slice(1);function $e(t,e){return t[e]!==void 0||t[hd(e)]===void 0}function X(t,e,n){return($e(t,e)?t[e]:t[hd(e)])||n}function et(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 pd(t){const{width:e,height:n,style:r,className:o}=t;return r!==void 0||o!==void 0?Object.assign({},r&&{style:r},o&&{className:o}):{style:{width:e,height:n}}}class Bw extends c.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 ba=t=>({onError:e,...n})=>c.createElement(Bw,{onError:e},c.createElement(t,n));class _r extends c.Component{constructor(){super(),this.instance=null,this.state={instance:null},this._parentElement=null,this._getRef=e=>{this._parentElement=e}}componentDidMount(){this.instance=_r.mountObject(this._parentElement,this.props.ymaps.Map,this.props),this.setState({instance:this.instance})}componentDidUpdate(e){this.instance!==null&&_r.updateObject(this.instance,e,this.props)}componentWillUnmount(){_r.unmountObject(this.instance,this.props)}render(){const e=pd(this.props),n=Fe(this.props),r=ld(n,["_events","state","defaultState","options","defaultOptions","instanceRef","ymaps","children","width","height","style","className"]);return c.createElement(Si.Provider,{value:this.state.instance},c.createElement("div",Pn({ref:this._getRef},e,r),this.props.children))}static mountObject(e,n,r){const{instanceRef:o,_events:i}=Fe(r),s=new n(e,X(r,"state"),X(r,"options"));return Object.keys(i).forEach(a=>kn(s,a,i[a])),et(null,o,s),s}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if($e(r,"state")){const u=X(n,"state",{}),l=X(r,"state",{});u.type!==l.type&&e.setType(l.type),u.behaviors!==l.behaviors&&(u.behaviors&&e.behaviors.disable(u.behaviors),l.behaviors&&e.behaviors.enable(l.behaviors)),l.zoom&&u.zoom!==l.zoom&&e.setZoom(l.zoom),l.center&&u.center!==l.center&&e.setCenter(l.center),l.bounds&&u.bounds!==l.bounds&&e.setBounds(l.bounds)}if($e(r,"options")){const u=X(n,"options"),l=X(r,"options",{});u!==l&&e.options.set(l)}X(n,"width")===X(r,"width")&&X(n,"height")===X(r,"height")||e.container.fitToViewport(),sr(e,s,o),et(a,i,e)}static unmountObject(e,n){const{instanceRef:r,_events:o}=Fe(n);e!==null&&(Object.keys(o).forEach(i=>In(e,i,o[i])),e.destroy(),et(r))}}const gd=ba(ya(_r,!0,["Map"]));gd.defaultProps={width:320,height:240};class Li extends c.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()&&Li.mountObject(this._parentElement,this.props.ymaps.panorama,this.props).then(e=>this._mounted&&this.setState({instance:e}))}componentDidUpdate(e){this.state.instance!==null&&Li.updateObject(this.state.instance,e,this.props)}componentWillUnmount(){this._mounted=!1,Li.unmountObject(this.state.instance,this.props)}render(){const e=pd(this.props);return c.createElement("div",Pn({ref:this._getRef},e))}static mountObject(e,n,r){const{instanceRef:o,_events:i}=Fe(r),s=X(r,"point"),a=X(r,"locateOptions"),u=X(r,"options");return new Promise((l,f)=>{n.locate(s,a).done(d=>{if(d.length>0){const h=new n.Player(e,d[0],u);et(null,o,h),Object.keys(i).forEach(g=>kn(h,g,i[g])),l(h)}},f)})}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if($e(r,"options")){const u=X(n,"options"),l=X(r,"options");u!==l&&e.options.set(l)}if($e(r,"point")){const u=X(r,"point"),l=X(n,"point"),f=X(r,"locateOptions");u!==l&&e.moveTo(u,f)}sr(e,s,o),et(a,i,e)}static unmountObject(e,n){const{instanceRef:r,_events:o}=Fe(n);e!==null&&(Object.keys(o).forEach(i=>In(e,i,o[i])),et(r))}}class Ai extends c.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){const e=Ai.mountControl(this.props.ymaps.control[this.props.name],this.props);this.instance=e,this.setState({instance:e})}componentDidUpdate(e){this.instance!==null&&Ai.updateControl(this.instance,e,this.props)}componentWillUnmount(){Ai.unmountControl(this.instance,this.props)}render(){return c.createElement(Si.Provider,{value:this.state.instance},this.props.children)}static mountControl(e,n){const{instanceRef:r,parent:o,lazy:i,_events:s}=Fe(n),a=new e({data:X(n,"data"),options:X(n,"options"),state:X(n,"state"),mapTypes:X(n,"mapTypes"),lazy:i});if(Object.keys(s).forEach(u=>kn(a,u,s[u])),o&&o.controls&&typeof o.controls.add=="function")o.controls.add(a);else{if(!o||!o.add||typeof o.add!="function")throw new Error(`No parent found to mount ${n.name}`);o.add(a)}return et(null,r,a),a}static updateControl(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if($e(r,"options")){const u=X(n,"options"),l=X(r,"options");u!==l&&e.options.set(l)}if($e(r,"data")){const u=X(n,"data"),l=X(r,"data");u!==l&&e.data.set(l)}if($e(r,"state")){const u=X(n,"state"),l=X(r,"state");u!==l&&e.state.set(l)}if($e(r,"mapTypes")){const u=X(n,"mapTypes"),l=X(r,"mapTypes");u!==l&&(e.removeAllMapTypes(),l.forEach(f=>e.addMapType(f)))}sr(e,s,o),et(a,i,e)}static unmountControl(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n);e!==null&&(Object.keys(i).forEach(s=>In(e,s,i[s])),o.controls&&typeof o.controls.remove=="function"?o.controls.remove(e):o.remove&&typeof o.remove=="function"&&o.remove(e),et(r))}}class xi extends c.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){const e=xi.mountObject(this.props.ymaps.Clusterer,this.props);this.instance=e,this.setState({instance:e})}componentDidUpdate(e){this.state.instance!==null&&xi.updateObject(this.instance,e,this.props)}componentWillUnmount(){xi.unmountObject(this.instance,this.props)}render(){return c.createElement(Si.Provider,{value:this.state.instance},this.props.children)}static mountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n),s=new e(X(n,"options"));if(Object.keys(i).forEach(a=>kn(s,a,i[a])),o.geoObjects&&typeof o.geoObjects.add=="function")o.geoObjects.add(s);else{if(!o.add||typeof o.add!="function")throw new Error("No parent found to mount Clusterer");o.add(s)}return et(null,r,s),s}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if($e(r,"options")){const u=X(n,"options"),l=X(r,"options");u!==l&&e.options.set(l)}sr(e,s,o),et(a,i,e)}static unmountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n);e!==null&&(Object.keys(i).forEach(s=>In(e,s,i[s])),o.geoObjects&&typeof o.geoObjects.remove=="function"?o.geoObjects.remove(e):o.remove&&typeof o.remove=="function"&&o.remove(e),et(r))}}class Xr extends c.Component{constructor(){super(),this.state={instance:null}}componentDidMount(){const e=Xr.mountObject(this.props.ymaps.ObjectManager,this.props);this.instance=e,this.setState({instance:e})}componentDidUpdate(e){this.instance!==null&&Xr.updateObject(this.instance,e,this.props)}componentWillUnmount(){Xr.unmountObject(this.instance,this.props)}render(){return null}static mountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n),s=X(n,"options",{}),a=X(n,"features",{}),u=X(n,"filter",null),l=X(n,"objects",{}),f=X(n,"clusters",{}),d=new e(s);if(d.add(a||[]),d.setFilter(u),d.objects.options.set(l),d.clusters.options.set(f),Object.keys(i).forEach(h=>kn(d,h,i[h])),o.geoObjects&&typeof o.geoObjects.add=="function")o.geoObjects.add(d);else{if(!o.add||typeof o.add!="function")throw new Error("No parent found to mount ObjectManager");o.add(d)}return et(null,r,d),d}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if($e(r,"options")){const u=X(n,"options"),l=X(r,"options");u!==l&&e.options.set(l)}if($e(r,"objects")){const u=X(n,"objects"),l=X(r,"objects");u!==l&&e.objects.options.set(l)}if($e(r,"clusters")){const u=X(n,"clusters"),l=X(r,"clusters");u!==l&&e.clusters.options.set(l)}if($e(r,"filter")){const u=X(n,"filter"),l=X(r,"filter");u!==l&&e.setFilter(l)}if($e(r,"features")){const u=X(n,"features"),l=X(r,"features");u!==l&&(e.remove(u),e.add(l))}sr(e,s,o),et(a,i,e)}static unmountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n);e!==null&&(Object.keys(i).forEach(s=>In(e,s,i[s])),o.geoObjects&&typeof o.geoObjects.remove=="function"?o.geoObjects.remove(e):o.remove&&typeof o.remove=="function"&&o.remove(e),et(r))}}var Nw=ba(cd(ya(Xr,!0,["ObjectManager"])));class $r extends c.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){const{name:e,ymaps:n,dangerZone:r}=this.props,o=$r.mountObject(r&&typeof r.modifyConstructor=="function"?r.modifyConstructor(n[e]):n[e],this.props);this.instance=o,this.setState({instance:o})}componentDidUpdate(e){this.instance!==null&&$r.updateObject(this.instance,e,this.props)}componentWillUnmount(){$r.unmountObject(this.instance,this.props)}render(){return null}static mountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n),s=new e(X(n,"geometry"),X(n,"properties"),X(n,"options"));if(Object.keys(i).forEach(a=>kn(s,a,i[a])),o&&o.geoObjects&&typeof o.geoObjects.add=="function")o.geoObjects.add(s);else{if(!o||!o.add||typeof o.add!="function")throw new Error(`No parent found to mount ${n.name}`);o.add(s)}return et(null,r,s),s}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if($e(r,"geometry")){const u=X(n,"geometry",{}),l=X(r,"geometry",{});Array.isArray(l)&&l!==u?Array.isArray(l[0])&&typeof l[1]=="number"?(e.geometry.setCoordinates(l[0]),e.geometry.setRadius(l[1])):e.geometry.setCoordinates(l):typeof l=="object"&&(l.coordinates!==u.coordinates&&e.geometry.setCoordinates(l.coordinates),l.radius!==u.radius&&e.geometry.setRadius(l.radius))}if($e(r,"properties")){const u=X(n,"properties"),l=X(r,"properties");u!==l&&e.properties.set(l)}if($e(r,"options")){const u=X(n,"options"),l=X(r,"options");u!==l&&e.options.set(l)}sr(e,s,o),et(a,i,e)}static unmountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n);e!==null&&(Object.keys(i).forEach(s=>In(e,s,i[s])),o.geoObjects&&typeof o.geoObjects.remove=="function"?o.geoObjects.remove(e):o.remove&&typeof o.remove=="function"&&o.remove(e),et(r))}}var vd=ba(cd(ya(t=>c.createElement($r,Pn({},t,{name:"Placemark"})),!0,["Placemark"])));const md=(t,e,n)=>t==null?void 0:t.map(r=>{var o;return{id:r.uid,type:"Feature",properties:{point:r},geometry:{type:"Point",coordinates:[r.location.latitude,r.location.longitude]},options:{hideIconOnBalloonOpen:!1,preset:Oi(r.type),balloonOffset:[0,-Fn[1]],balloonContentLayout:(o=e==null?void 0:e.templateLayoutFactory)==null?void 0:o.createClass(n)}}}),Oi=(t,e)=>t===30?`custom#pin-postmat${e?`__${e}`:""}`:`custom#pin-pvz${e?`__${e}`:""}`,eo=t=>[-(t[0]/2),-t[1]],jw={en:"en_US",ru:"ru_RU"},Uw={load:"suggest",apikey:"5298a725-4baa-457a-a2a7-c3abac81db20"},Hw=["templateLayoutFactory","option.presetStorage","geocode"],zw=["objectManager.addon.objectsBalloon"],yd=["geoObject.addon.balloon"],Fw={yandexMapDisablePoiInteractivity:!1},Vw={clusterize:!0},bd={iconImageSize:Yt,iconLayout:"default#image",hideIconOnBalloonOpen:!1,iconImageHref:qf,balloonOffset:[0,-Yt[1]],iconImageOffset:eo(Yt)},wa={root:"MapYandex-module__root__r3kDJ8",overlay:"MapYandex-module__overlay__f7UGYS",details:"MapYandex-module__details__E3bDvL"},Gw=({className:t})=>{const{t:e}=At(["courier_balloon","common"]),n=c.useRef(),r=c.useRef(null),{map:o,locale:i,disableCourierDelivery:s,hideMapUI:a,onPointClick:u}=Bt(),[l,f]=c.useState(null),[d,h]=c.useState([]),[g,m]=c.useState(Vw),p=Ve(P=>P.setLoaded),E=Ve(P=>P.setDetailsOpen),w=Ln(),y=zt(P=>P.points),b=zt(P=>P.loading),x=zt(P=>P.loadNext),S=mt(P=>P.courierPoint),v=mt(P=>P.setCourierPoint),C=xt(P=>P.location),A=xt(P=>P.setSelectedPoint),D=c.useRef([]),M=c.useMemo(()=>lo.renderToString(L.jsx(ad,{SSR:!0})).replace("{ choose }",e("choose")).replace("{ details }",e("details")),[e,i]),O=c.useMemo(()=>lo.renderToString(L.jsx(ga,{SSR:!0,variant:"default"})).replace("{ details }",e("details",{ns:"common"})).replace("{ courier_balloon.title }",e("title")),[e,i]),k=c.useMemo(()=>lo.renderToString(L.jsx(ga,{SSR:!0,variant:"error"})).replace("{ courier_balloon.error_title }",e("error_title")).replace("{ courier_balloon.error_description }",e("error_description")),[e,i]),N=c.useMemo(()=>({zoom:es,center:(o==null?void 0:o.center)??$t,behaviors:["default","scrollZoom"]}),[o==null?void 0:o.center]);c.useEffect(()=>{var P,Q;(Q=n.current)==null||Q.events.fire("boundschange",{newBounds:(P=n.current)==null?void 0:P.getBounds()})},[l]),c.useEffect(()=>{var Q;if(!l||!r.current)return;for(const Z of D.current)Z.id!==(C==null?void 0:C.uid)&&((Q=r.current)==null||Q.remove(Z));const P=md(y,l,M);D.current=P,r.current.add(P)},[M,l,y,C==null?void 0:C.uid]);const H=c.useCallback(P=>{const Q=P.get("newBounds");x([[Q[0][0],Q[1][0]],[Q[0][1],Q[1][1]]],w)},[w,x]),G=c.useRef(C),q=c.useCallback(P=>{var Q,Z,R,te;f(P),p(),(Q=P==null?void 0:P.option)==null||Q.presetStorage.add("custom#pin-postmat",{iconImageSize:Yt,iconLayout:"default#image",iconImageHref:ma,iconImageOffset:eo(Yt)}),(Z=P==null?void 0:P.option)==null||Z.presetStorage.add("custom#pin-postmat__active",{iconLayout:"default#image",iconImageHref:ma,iconImageSize:Fn,iconImageOffset:eo(Fn)}),(R=P==null?void 0:P.option)==null||R.presetStorage.add("custom#pin-pvz",{iconImageSize:Yt,iconLayout:"default#image",iconImageHref:va,iconImageOffset:eo(Yt)}),(te=P==null?void 0:P.option)==null||te.presetStorage.add("custom#pin-pvz__active",{iconLayout:"default#image",iconImageHref:va,iconImageSize:Fn,iconImageOffset:eo(Fn)}),m(oe=>{const se=window.getComputedStyle(document.getElementById(xc)).getPropertyValue("--color-primary");return{...oe,clusterIconColor:se}}),h(md(y,P,M))},[M,y,p]),V=c.useCallback(()=>{E(!0)},[E]),K=c.useCallback(()=>{var P;G.current&&(u==null||u(G.current),E(!1),A(null),v(null),(P=n.current)==null||P.balloon.close())},[u,v,E,A]),B=c.useCallback(()=>{var P,Q;(P=document.getElementById(vo))==null||P.addEventListener("click",V),(Q=document.getElementById($i))==null||Q.addEventListener("click",K)},[K,V]),I=c.useCallback(P=>{var Z,R,te,oe,se,de;const Q=P.get("objectId");((Z=G.current)==null?void 0:Z.uid)===Q&&((oe=r.current)==null||oe.objects.setObjectOptions((R=G.current)==null?void 0:R.uid,{preset:Oi((te=G.current)==null?void 0:te.type)}),v(null),A(null),v(null),G.current=null),(se=document.getElementById(vo))==null||se.removeEventListener("click",V),(de=document.getElementById($i))==null||de.removeEventListener("click",K)},[K,V,v,A]),T=c.useCallback(P=>{var te,oe,se,de;const Q=P.get("objectId"),Z=(oe=(te=r.current)==null?void 0:te.objects)==null?void 0:oe.getById(Q);if(!Z)return;const R=Z.properties.point;E(!1),v(null),A(R),(se=r.current)==null||se.objects.each(je=>{var ye;const ve=je;(ye=r.current)==null||ye.objects.setObjectOptions(ve.id,{preset:Oi(ve.properties.point.type)})}),(de=r.current)==null||de.objects.setObjectOptions(Q,{preset:Oi(R.type,"active")}),G.current=R},[v,E,A]),F=c.useCallback(async P=>{if(!l||s)return;const Q=P.get("coords"),{geoObjects:Z}=await l.geocode(Q),R=Z.get(0),te=R.getAddressLine(),oe=R.properties.get("metaDataProperty.GeocoderMetaData.precision",{});if(A(null),oe!=="exact"){v({coords:Q,address:null});return}v({coords:Q,address:te})},[s,l,v,A]),U=c.useMemo(()=>{var P;return{...bd,balloonContentLayout:(P=l==null?void 0:l.templateLayoutFactory)==null?void 0:P.createClass(O)}},[O,l==null?void 0:l.templateLayoutFactory]),Y=c.useMemo(()=>{var P;return{...bd,balloonContentLayout:(P=l==null?void 0:l.templateLayoutFactory)==null?void 0:P.createClass(k)}},[k,l==null?void 0:l.templateLayoutFactory]),ee=c.useCallback(P=>{var Q,Z,R,te,oe;(Q=P==null?void 0:P.balloon)==null||Q.open(),(R=(Z=P==null?void 0:P.balloon)==null?void 0:Z.events)==null||R.add("open",B),(oe=(te=P==null?void 0:P.balloon)==null?void 0:te.events)==null||oe.add("close",I)},[I,B]);return L.jsxs("div",{className:Ee(wa.root,t,{[wa.hideUI]:a}),children:[L.jsx(Tw,{query:{...Uw,lang:jw[i??"ru"]},children:L.jsxs(gd,{width:"100%",height:"100%",state:N,instanceRef:n,options:Fw,modules:Hw,onLoad:q,onClick:F,onBoundsChange:H,children:[(S==null?void 0:S.address)&&L.jsx(vd,{properties:S,modules:yd,geometry:S.coords,options:U,instanceRef:ee},JSON.stringify(S.coords)),S&&!S.address&&L.jsx(vd,{modules:yd,geometry:S.coords,instanceRef:ee,options:Y},JSON.stringify(S.coords)),L.jsx(Nw,{features:d,instanceRef:r,modules:zw,options:g,onClick:T,onBalloonOpen:B,onBalloonClose:I})]})},i),b&&L.jsx(ra,{className:wa.overlay,children:L.jsx(oa,{})})]})},Qw=c.memo(Gw),Yw=t=>({google:Mw,yandex:Qw})[t];function wd(...t){return c.useCallback(e=>{for(const n of t)typeof n=="function"?n(e):n&&typeof n=="object"&&(n.current=e)},t)}const Mi=t=>{const e=c.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}},Ww=()=>{throw new Error("useMediaQuery is a client-only hook")};function Rw(t){const e=c.useCallback(r=>{const o=window.matchMedia(t);return o.addEventListener("change",r),()=>{o.removeEventListener("change",r)}},[t]),n=()=>window.matchMedia(t).matches;return c.useSyncExternalStore(e,n,Ww)}const Kw={screenSm:"768px",screenMd:"1024px",screenLg:"1280px",screenXl:"1536px"};function to(t){return Rw(`(max-width: calc(${Kw[t]} - 1px))`)}const qw={root:"Hr-module__root__tBRShh"},Ea=({className:t,...e})=>L.jsx("hr",{className:Ee(qw.root,t),...e}),Rt={root:"Sidebar-module__root__hxXudu",closeButton:"Sidebar-module__closeButton__8k-Ph3",open:"Sidebar-module__open__qMGUBV",header:"Sidebar-module__header__Eu-wRc",typeFilter:"Sidebar-module__typeFilter__-lxVdY",separator:"Sidebar-module__separator__XDb6rs",withRightPadding:"Sidebar-module__withRightPadding__knvmuY",sheetContent:"Sidebar-module__sheetContent__4iWeTf",doneButton:"Sidebar-module__doneButton__chvXVP"},Jw=()=>{const{t}=At("common"),e=to("screenSm"),n=Vn(o=>o.toggle),r=()=>{n(!1)};return L.jsxs("div",{className:Rt.header,children:[e&&L.jsx("div",{className:Rt.doneButton,onClick:r,children:t("done")}),!e&&L.jsx(Zr,{className:Rt.closeButton,onClick:r})]})},Pi={root:"TypeFilter-module__root__FEaBBU",button:"TypeFilter-module__button__RYOzBQ"},Zw=({value:t,onChange:e,className:n})=>{const{t:r}=At("type_filter"),o=i=>()=>e==null?void 0:e(i);return L.jsxs("div",{className:Ee(Pi.root,n),children:[L.jsx(wt,{className:Pi.button,variant:t===sn.All?"primary":"secondary",onClick:o(sn.All),children:r("all")}),L.jsx(wt,{className:Pi.button,variant:t===sn.PostOffice?"primary":"secondary",onClick:o(sn.PostOffice),children:r("post_office")}),L.jsx(wt,{className:Pi.button,variant:t===sn.PickPoint?"primary":"secondary",onClick:o(sn.PickPoint),children:r("pick_point")})]})},_w=({className:t,onChange:e})=>{const n=Ln(r=>r.type);return L.jsx(Zw,{value:n,className:t,onChange:e})},Xw=c.memo(_w),Ed={root:"Radio-module__root__FMbfCi",label:"Radio-module__label__-LLJSR"},$w=({label:t,className:e,labelProps:n={},...r})=>{const{className:o,...i}=n;return L.jsxs("label",{className:Ee(Ed.label,o),...i,children:[L.jsx("input",{type:"radio",className:Ee(Ed.root,e),...r}),t]})},ar=t=>L.jsx($w,{...t,type:"checkbox"}),Ca={root:"RadioGroup-module__root__wNjmrq",body:"RadioGroup-module__body__n4Ho0-",legend:"RadioGroup-module__legend__ECksBN"},Cd=({label:t,value:e,onChange:n,children:r,className:o,...i})=>L.jsxs("div",{className:Ee(Ca.root,o),...i,children:[t&&L.jsx("span",{className:Ca.legend,children:t}),L.jsx("div",{className:Ca.body,children:c.Children.map(r,s=>c.isValidElement(s)?c.cloneElement(s,{checked:!!(e!=null&&e[s.props.value]),onChange:a=>n==null?void 0:n({...e,[a.target.value]:a.target.checked})}):null)})]}),eE=({className:t,onChange:e})=>{const{t:n}=At("send_filter"),r=Ln(o=>o.send);return L.jsxs(Cd,{className:t,value:r,label:n("title"),onChange:e,children:[L.jsx(ar,{name:"send",value:Ht.Return,label:n("sending_returns")}),L.jsx(ar,{name:"send",value:Ht.Shipping,label:n("shipping")}),L.jsx(ar,{name:"send",value:Ht.Payment,label:n("payment")})]})},tE=c.memo(eE),nE=({className:t,onChange:e})=>{const{t:n}=At("receive_filter"),r=Ln(o=>o.receive);return L.jsxs(Cd,{value:r,label:n("title"),onChange:e,className:t,children:[L.jsx(ar,{name:"receive",value:Ut.DressingRoom,label:n("dressing_room")}),L.jsx(ar,{name:"receive",value:Ut.CheckOrder,label:n("check_order")}),L.jsx(ar,{name:"receive",value:Ut.PayByCash,label:n("pay_by_cash")})]})},rE=c.memo(nE),ZS="",oE=({className:t})=>{const e=to("screenSm"),n=Vn(f=>f.open),r=Vn(f=>f.toggle),o=Ln(f=>f.setFilter),i=c.useCallback(f=>o({type:f}),[o]),s=c.useCallback(f=>o({send:f}),[o]),a=c.useCallback(f=>o({receive:f}),[o]),u=c.useCallback(()=>r(!1),[r]),l=L.jsxs(L.Fragment,{children:[L.jsx(Jw,{}),L.jsxs("div",{className:Rt.withRightPadding,children:[L.jsx(Xw,{className:Rt.typeFilter,onChange:i}),L.jsx(Ea,{className:Rt.separator}),L.jsx(rE,{onChange:a}),L.jsx(Ea,{}),L.jsx(tE,{onChange:s}),L.jsx(Ea,{})]})]});return e?L.jsx(Ru,{initialFocusRef:!1,open:n,snapPoints:({maxHeight:f})=>f-Jf,onDismiss:u,children:L.jsx("div",{className:Rt.sheetContent,children:l})}):L.jsx("div",{className:Ee(Rt.root,t,{[Rt.open]:n}),children:l})},iE=t=>ie.createElement("svg",{width:60,height:40,viewBox:"0 0 60 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ie.createElement("path",{d:"M0 0H52C56.4183 0 60 3.58172 60 8V32C60 36.4183 56.4183 40 52 40H0V0Z",fill:"none"}),ie.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"})),sE=t=>ie.createElement("svg",{width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ie.createElement("g",{id:"Filtr_mob"},ie.createElement("rect",{id:"bg",width:28,height:28,rx:4,fill:"#333333"}),ie.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"}))),Vt={root:"MapContainer-module__root__nze9pB",mapWrapper:"MapContainer-module__mapWrapper__twRo4C",wrapperBlurred:"MapContainer-module__wrapperBlurred__U-Ohae",locationSelector:"MapContainer-module__locationSelector__lEiSKq",filterButton:"MapContainer-module__filterButton__jIRGu9",sidebarOpen:"MapContainer-module__sidebarOpen__sUhaH-",filterIcon:"MapContainer-module__filterIcon__-2Qd2d",details:"MapContainer-module__details__sAP6T2"},aE=()=>{const t=Vn(o=>o.open),e=Vn(o=>o.toggle),n=to("screenSm"),r=()=>{e(!0)};return L.jsxs("div",{className:Ee(Vt.filterButton,{[Vt.sidebarOpen]:t}),onClick:n?void 0:r,children:[n&&L.jsx(sl,{}),n?L.jsx(sE,{className:Vt.filterIcon,onClick:r}):L.jsx(iE,{className:Vt.filterIcon})]})};var Sd={},ki={},Ld={exports:{}},lE="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",uE=lE,cE=uE;function Ad(){}function xd(){}xd.resetWarningCache=Ad;var fE=function(){function t(r,o,i,s,a,u){if(u!==cE){var l=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 l.name="Invariant Violation",l}}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:xd,resetWarningCache:Ad};return n.PropTypes=n,n};Ld.exports=fE();var dE=Ld.exports,Ii={},lr={};Object.defineProperty(lr,"__esModule",{value:!0}),lr.loadGoogleMapScript=lr.isBrowser=void 0;var Od=typeof window<"u"&&window.document;lr.isBrowser=Od;var hE=function(e,n){if(!Od||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 o=new URL(n);o.searchParams.set("callback","__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__");var i=document.createElement("script");return i.src=o.toString(),new Promise(function(s){window.__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__=s,document.body.appendChild(i)})};lr.loadGoogleMapScript=hE;var Di={};Object.defineProperty(Di,"__esModule",{value:!0}),Di.GOOGLE_MAP_SCRIPT_BASE_URL=void 0;var pE="https://maps.googleapis.com/maps/api/js";Di.GOOGLE_MAP_SCRIPT_BASE_URL=pE;function Ti(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ti=function(n){return typeof n}:Ti=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Ti(t)}Object.defineProperty(Ii,"__esModule",{value:!0}),Ii.default=wE;var dt=vE(c),Sa=lr,gE=Di;function Md(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(Md=function(o){return o?n:e})(t)}function vE(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||Ti(t)!=="object"&&typeof t!="function")return{default:t};var n=Md(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)){var s=o?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}return r.default=t,n&&n.set(t,r),r}function Pd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function kd(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Pd(Object(n),!0).forEach(function(r){mE(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pd(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function mE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yE(t,e){if(t==null)return{};var n=bE(t,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function bE(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function wE(t){var e=t.ref,n=t.onPlaceSelected,r=t.apiKey,o=t.libraries,i=o===void 0?"places":o,s=t.inputAutocompleteValue,a=s===void 0?"new-password":s,u=t.options;u=u===void 0?{}:u;var l=u.types,f=l===void 0?["(cities)"]:l,d=u.componentRestrictions,h=u.fields,g=h===void 0?["address_components","geometry.location","place_id","formatted_address"]:h,m=u.bounds,p=yE(u,["types","componentRestrictions","fields","bounds"]),E=t.googleMapsScriptBaseUrl,w=E===void 0?gE.GOOGLE_MAP_SCRIPT_BASE_URL:E,y=t.language,b=(0,dt.useRef)(null),x=(0,dt.useRef)(null),S=(0,dt.useRef)(null),v=(0,dt.useRef)(null),C=y?"&language=".concat(y):"",A="".concat(w,"?libraries=").concat(i,"&key=").concat(r).concat(C),D=(0,dt.useCallback)(function(){return(0,Sa.loadGoogleMapScript)(w,A)},[w,A]);return(0,dt.useEffect)(function(){var M=kd(kd({},p),{},{fields:g,types:f,bounds:m});if(d&&(M.componentRestrictions=d),!(S.current||!b.current||!Sa.isBrowser)){e&&!e.current&&(e.current=b.current);var O=function(){var N;if(typeof google>"u")return console.error("Google has not been found. Make sure your provide apiKey prop.");if(!((N=google.maps)!==null&&N!==void 0&&N.places))return console.error("Google maps places API must be loaded.");if(!b.current instanceof HTMLInputElement)return console.error("Input ref must be HTMLInputElement.");S.current=new google.maps.places.Autocomplete(b.current,M),S.current&&(x.current=S.current.addListener("place_changed",function(){n&&S&&S.current&&n(S.current.getPlace(),b.current,S.current)}))};return r?D().then(function(){return O()}):O(),function(){return x.current?x.current.remove():void 0}}},[]),(0,dt.useEffect)(function(){var M;!(dt.default!==null&&dt.default!==void 0&&(M=dt.default.version)!==null&&M!==void 0&&M.startsWith("18"))&&Sa.isBrowser&&window.MutationObserver&&b.current&&b.current instanceof HTMLInputElement&&(v.current=new MutationObserver(function(){v.current.disconnect(),b.current&&(b.current.autocomplete=a)}),v.current.observe(b.current,{attributes:!0,attributeFilter:["autocomplete"]}))},[a]),(0,dt.useEffect)(function(){S.current&&S.current.setFields(g)},[g]),(0,dt.useEffect)(function(){S.current&&S.current.setBounds(m)},[m]),(0,dt.useEffect)(function(){S.current&&S.current.setComponentRestrictions(d)},[d]),(0,dt.useEffect)(function(){S.current&&S.current.setOptions(p)},[p]),{ref:b,autocompleteRef:S}}function Bi(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Bi=function(n){return typeof n}:Bi=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Bi(t)}Object.defineProperty(ki,"__esModule",{value:!0}),ki.default=void 0;var La=CE(c),Ke=Id(dE),EE=Id(Ii);function Id(t){return t&&t.__esModule?t:{default:t}}function Dd(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(Dd=function(o){return o?n:e})(t)}function CE(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||Bi(t)!=="object"&&typeof t!="function")return{default:t};var n=Dd(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)){var s=o?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}return r.default=t,n&&n.set(t,r),r}function Ni(){return Ni=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},Ni.apply(this,arguments)}function SE(t,e){if(t==null)return{};var n=LE(t,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function LE(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function Td(t){var e=t.onPlaceSelected,n=t.apiKey,r=t.libraries,o=t.inputAutocompleteValue,i=t.options,s=t.googleMapsScriptBaseUrl,a=t.refProp,u=t.language,l=SE(t,["onPlaceSelected","apiKey","libraries","inputAutocompleteValue","options","googleMapsScriptBaseUrl","refProp","language"]),f=(0,EE.default)({ref:a,googleMapsScriptBaseUrl:s,onPlaceSelected:e,apiKey:n,libraries:r,inputAutocompleteValue:o,options:i,language:u}),d=f.ref;return La.default.createElement("input",Ni({ref:d},l))}Td.propTypes={apiKey:Ke.default.string,libraries:Ke.default.arrayOf(Ke.default.string),ref:Ke.default.oneOfType([Ke.default.func,Ke.default.shape({current:Ke.default.any})]),googleMapsScriptBaseUrl:Ke.default.string,onPlaceSelected:Ke.default.func,inputAutocompleteValue:Ke.default.string,options:Ke.default.shape({componentRestrictions:Ke.default.object,bounds:Ke.default.object,location:Ke.default.object,offset:Ke.default.number,origin:Ke.default.object,radius:Ke.default.number,sessionToken:Ke.default.object,types:Ke.default.arrayOf(Ke.default.string)}),language:Ke.default.string};var AE=(0,La.forwardRef)(function(t,e){return La.default.createElement(Td,Ni({},t,{refProp:e}))});ki.default=AE,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(ki),n=r(Ii);function r(o){return o&&o.__esModule?o:{default:o}}}(Sd);var Bd=Sd;const xE=t=>ie.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},ie.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"})),ur={root:"Input-module__root__4cwtKq",endAdornment:"Input-module__endAdornment__Tv4vyT",input:"Input-module__input__qeMAQB",startAdornment:"Input-module__startAdornment__4bXzn1",label:"Input-module__label__N2eUZ2",inputContainer:"Input-module__inputContainer__Ticemx"},Nd=c.forwardRef(({label:t,className:e,startAdornment:n,endAdornment:r,onChange:o,onBlur:i,inputRef:s,...a},u)=>{const l=c.useRef(null);c.useImperativeHandle(u,()=>({focus:()=>{var d;(d=l.current)==null||d.focus()},blur:()=>{var d;(d=l.current)==null||d.blur()},setValue:d=>{if(o){o({target:{value:d}});return}if(i){i({target:{value:d}});return}l.current&&(l.current.value=d)}}),[i,o]);const f=wd(s,l);return L.jsxs("label",{className:Ee(ur.root,e),children:[t&&L.jsx("span",{className:ur.label,children:t}),L.jsxs("div",{className:ur.inputContainer,children:[n&&L.jsx("div",{className:ur.startAdornment,children:n}),L.jsx("input",{...a,ref:f,className:ur.input,onChange:o,onBlur:i}),r&&L.jsx("div",{className:ur.endAdornment,children:r})]})]})}),OE=({className:t})=>{const{t:e}=At("location_selector"),{country:n,inputs:r,onLocationSelect:o}=Bt(),[i,s]=c.useState(""),[a,u]=c.useState(!1),l=Ve(C=>C.setBlurred),f=Ve(C=>C.setDetailsOpen),d=mn(C=>C.setPlace),h=mt(C=>C.setCourierPoint),g=xt(C=>C.setSelectedPoint),m=[],p=n?{componentRestrictions:{country:n},types:m}:{types:m},E=C=>{d(C),o==null||o(C)},{ref:w}=Bd.usePlacesWidget({libraries:["places"],options:p,onPlaceSelected:E,inputAutocompleteValue:i}),y=C=>{a&&l(!!C.target.value),s(C.target.value)},b=()=>{i&&l(!0),f(!1),h(null),g(null),u(!0)},x=()=>{l(!1),u(!1)},S=C=>{C.key==="Enter"&&C.preventDefault()},v=Mi(r==null?void 0:r.address);return L.jsx(Nd,{...v,inputRef:w,value:i,className:t,endAdornment:L.jsx(xE,{}),placeholder:e("placeholder"),onChange:y,onFocus:b,onBlur:x,onKeyDown:S})},ME=({className:t})=>Ve(n=>n.loaded)?L.jsx(OE,{className:t}):null,PE=c.memo(ME),kE={root:"CourierDetailsModal-module__root__gLu0VW"},IE=({onClose:t,onSubmit:e,location:n,className:r})=>L.jsx("div",{className:Ee(kE.root,r),children:L.jsx(od,{location:n,onClose:t,onSubmit:e})}),DE={root:"LocationDetailsModal-module__root__AzUydF"},TE=({onClose:t,onSubmit:e,location:n,className:r})=>{const o=()=>{e==null||e(n)};return L.jsx("div",{className:Ee(DE.root,r),children:L.jsx(sd,{location:n,onClose:t,onSubmit:o})})},BE=()=>{const{onPointClick:t}=Bt(),e=Ve(l=>l.detailsOpen),n=Ve(l=>l.setDetailsOpen),r=xt(l=>l.location),o=xt(l=>l.setSelectedPoint),i=mt(l=>l.courierPoint),s=mt(l=>l.setCourierPoint),a=c.useCallback(()=>{n(!1)},[n]),u=c.useCallback(l=>{t==null||t(l),n(!1),o(null),s(null)},[t,s,n,o]);return L.jsxs(L.Fragment,{children:[(i==null?void 0:i.address)&&e&&L.jsx(IE,{location:i,className:Vt.details,onClose:a,onSubmit:u}),r&&e&&L.jsx(TE,{location:r,className:Vt.details,onClose:a,onSubmit:u})]})},NE=({className:t,children:e})=>{const n=Ve(r=>r.blurred);return L.jsxs("div",{className:Ee(Vt.root,t),children:[L.jsx(PE,{className:Vt.locationSelector}),L.jsx(aE,{}),L.jsx("div",{className:Ee(Vt.mapWrapper,{[Vt.wrapperBlurred]:n}),children:e}),L.jsx(BE,{})]})},jE=c.memo(NE),ji={root:"Aside-module__root__JSqCyF",open:"Aside-module__open__t8OMLZ",overlay:"Aside-module__overlay__0UAvMb",container:"Aside-module__container__KJNP0t"},UE=({open:t,children:e,className:n})=>L.jsxs("div",{className:Ee(ji.root,n,{[ji.open]:t}),children:[L.jsx("div",{className:ji.overlay}),L.jsx("div",{className:ji.container,children:e})]}),Ui={submit:"LocationAside-module__submit__hx8LTK",container:"LocationAside-module__container__KEGf9s",selector:"LocationAside-module__selector__ogsvtz",label:"LocationAside-module__label__-FWqoq",header:"LocationAside-module__header__qmaQaV",close:"LocationAside-module__close__bklFI7"},HE=c.forwardRef((t,e)=>{const{t:n}=At(["location_aside","common"]),{country:r,inputs:o,hideCloseButtonOnLocationScreen:i,onLocationSelect:s,onCloseLocationSelector:a}=Bt(),u=c.useRef(null),l=mn(x=>x.setPlace),[f,d]=c.useState(""),h=yo(x=>x.open),g=yo(x=>x.toggle);c.useImperativeHandle(e,()=>({open:()=>g(!0),close:()=>g(!1)}),[g]);const m=x=>{g(!1),l(x),s==null||s(x),x!=null&&x.formatted_address&&d(x==null?void 0:x.formatted_address)},p=()=>{g(!1),a==null||a()},E=r?{componentRestrictions:{country:r}}:void 0,w=x=>{d(x.target.value)},{ref:y}=Bd.usePlacesWidget({libraries:["places"],options:E,onPlaceSelected:m,apiKey:"AIzaSyBO9gABz5DPTW3DcJuNCLx6Q7GmDYDRwRA",inputAutocompleteValue:f}),b=Mi(o==null?void 0:o.city);return L.jsx(UE,{open:h,children:L.jsx("div",{ref:u,className:Ui.container,children:L.jsxs("div",{className:Ui.selector,children:[L.jsxs("div",{className:Ui.header,children:[L.jsx("div",{className:Ui.label,children:n("choose_city")}),!i&&L.jsx(Zr,{position:"relative",onClick:p})]}),L.jsx(Nd,{...b,inputRef:y,value:f,placeholder:n("placeholder"),onChange:w})]})})})}),zE=c.memo(HE),FE=t=>{const e=Bh(["language"]);c.useEffect(()=>{t&&(e.changeLanguage(t),ho.setLanguage(t))},[t,e])},VE=t=>{c.useEffect(()=>{if(t){const e=Object.keys(t);for(const n of e){const r=t[n];r&&Xs(`--color-${n}`,r)}}},[t])},GE=t=>{c.useEffect(()=>{t&&t!==void 0&&Xs("--button-radius",`${t}px`)},[t])},QE=t=>{c.useEffect(()=>{t&&t!==void 0&&Xs("--font",t)},[t])},YE=t=>{const e=yo(r=>r.toggle),n=t==="selector";c.useEffect(()=>{n&&e(!0)},[n,e])},WE=(t,e,n)=>{const r=Ve(f=>f.map),o=Ve(f=>f.setLoaded),i=mn(f=>f.setPlace),s=c.useRef(e),{isLoaded:a}=sb({language:s.current,libraries:gp,googleMapsApiKey:"AIzaSyBO9gABz5DPTW3DcJuNCLx6Q7GmDYDRwRA"});c.useEffect(()=>{a&&r&&o()},[a,r,o]);const u=t[0],l=t[1];c.useEffect(()=>{if(!a||!r)return;const f=[u,l],d=async()=>{var g;const h=await vi(f,"GEOMETRIC_CENTER");i((g=h.results)==null?void 0:g[0])};if(!navigator.geolocation||f&&!Rf(f)){d();return}navigator.geolocation.getCurrentPosition(async h=>{var E;const{latitude:g,longitude:m}=h.coords,p=await vi([g,m],"GEOMETRIC_CENTER");i((E=p.results)==null?void 0:E[0])},h=>{console.error(h),d()},{maximumAge:6e4,timeout:5e3,enableHighAccuracy:!0})},[a,u,l,r,i,n])},RE=({children:t,locale:e})=>(FE(e),L.jsx(L.Fragment,{children:t})),jd=()=>L.jsx(ra,{children:L.jsx(oa,{})}),KE=({children:t})=>{const e=zt(r=>r.loaded);return zt(r=>r.loading)&&!e?L.jsx(jd,{}):L.jsx(L.Fragment,{children:t})},Aa={map:"Widget-module__map__GhmuPO",sidebar:"Widget-module__sidebar__5gQrb3",header:"Widget-module__header__QlBK5m"},qE=({config:t,options:e})=>{const n=H0(t),{map:r,font:o,radius:i,locale:s,palette:a,startScreen:u,INN:l}=n;hr(l,"INN is required"),z0(l,e),hr(r==null?void 0:r.provider,"Map provider is required");const f=Yw(r.provider);return L0(),QE(o),VE(a),GE(i),YE(u),hr(s,"Locale is required"),hr(r.center,"Map center is required"),hr(r.initialZoom,"Map initial zoom is required"),WE(r==null?void 0:r.center,s,r.initialZoom),L.jsx(Ph,{tolgee:Hh,fallback:L.jsx(jd,{}),children:L.jsx(RE,{locale:s,children:L.jsx(KE,{children:L.jsx(il.Provider,{value:n,children:L.jsxs(xp,{children:[L.jsx(Lp,{className:Aa.header}),L.jsx(oE,{className:Aa.sidebar}),L.jsx(jE,{className:Aa.map,children:L.jsx(f,{})}),L.jsx(zE,{})]})})})})})};Tt.Widget=qE,Object.defineProperty(Tt,Symbol.toStringTag,{value:"Module"})});
102
+ </svg>`,a=`Cluster of ${e} markers`,l=Number(google.maps.Marker.MAX_ZINDEX)+e;if(yt.isAdvancedMarkerAvailable(o)){const f=document.createElement("div");f.innerHTML=s;const d=f.firstElementChild;d.setAttribute("transform","translate(0 25)");const h={map:o,position:n,zIndex:l,title:a,content:d};return new google.maps.marker.AdvancedMarkerElement(h)}const u={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(u)}}function zb(t,e){for(let n in e.prototype)t.prototype[n]=e.prototype[n]}class ga{constructor(){zb(ga,google.maps.OverlayView)}}var Zr;(function(t){t.CLUSTERING_BEGIN="clusteringbegin",t.CLUSTERING_END="clusteringend",t.CLUSTER_CLICK="click"})(Zr||(Zr={}));const Fb=(t,e,n)=>{n.fitBounds(e.bounds)};class Vb extends ga{constructor({map:e,markers:n=[],algorithmOptions:r={},algorithm:o=new jb(r),renderer:i=new Hb,onClusterClick:s=Fb}){super(),this.markers=[...n],this.clusters=[],this.algorithm=o,this.renderer=i,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:(yt.setMap(e,null),this.markers.splice(r,1),n||this.render(),!0)}removeMarkers(e,n){let r=!1;return e.forEach(o=>{r=this.removeMarker(o,!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,Zr.CLUSTERING_BEGIN,this);const{clusters:n,changed:r}=this.algorithm.calculate({markers:this.markers,map:e,mapCanvasProjection:this.getProjection()});if(r||r==null){const o=new Set;for(const s of n)s.markers.length==1&&o.add(s.markers[0]);const i=[];for(const s of this.clusters)s.marker!=null&&(s.markers.length==1?o.has(s.marker)||yt.setMap(s.marker,null):i.push(s.marker));this.clusters=n,this.renderClusters(),requestAnimationFrame(()=>i.forEach(s=>yt.setMap(s,null)))}google.maps.event.trigger(this,Zr.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=>yt.setMap(e,null)),this.clusters.forEach(e=>e.delete()),this.clusters=[]}renderClusters(){const e=new Ub(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(o=>yt.setMap(o,null)),this.onClusterClick&&r.marker.addListener("click",o=>{google.maps.event.trigger(this,Zr.CLUSTER_CLICK,r),this.onClusterClick(o,r,n)})),yt.setMap(r.marker,n)})}}function Gb(t){var e=q0(),n=c.useState(null),r=n[0],o=n[1];return c.useEffect(function(){if(e&&r===null){var i=new Vb($($({},t),{map:e}));o(i)}},[e]),r}function Qb(t){var e=t.children,n=t.options,r=Gb(n);return r!==null?e(r):null}c.memo(Qb);var yf={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},bf={options:function(t,e){t.setOptions(e)},position:function(t,e){t.setPosition(e)},zIndex:function(t,e){t.setZIndex(e)}};function Yb(t){var e=t.children,n=t.anchor,r=t.options,o=t.position,i=t.zIndex,s=t.onCloseClick,a=t.onDomReady,l=t.onContentChanged,u=t.onPositionChanged,f=t.onZindexChanged,d=t.onLoad,h=t.onUnmount,g=c.useContext(ce),m=c.useState(null),p=m[0],E=m[1],w=c.useState(null),b=w[0],y=w[1],A=c.useState(null),S=A[0],v=A[1],C=c.useState(null),x=C[0],D=C[1],M=c.useState(null),O=M[0],k=M[1],N=c.useState(null),H=N[0],G=N[1],q=c.useRef(null);return c.useEffect(function(){p!==null&&(p.close(),n?p.open(g,n):p.getPosition()&&p.open(g))},[g,p,n]),c.useEffect(function(){r&&p!==null&&p.setOptions(r)},[p,r]),c.useEffect(function(){o&&p!==null&&p.setPosition(o)},[o]),c.useEffect(function(){typeof i=="number"&&p!==null&&p.setZIndex(i)},[i]),c.useEffect(function(){p&&s&&(b!==null&&google.maps.event.removeListener(b),y(google.maps.event.addListener(p,"closeclick",s)))},[s]),c.useEffect(function(){p&&a&&(S!==null&&google.maps.event.removeListener(S),v(google.maps.event.addListener(p,"domready",a)))},[a]),c.useEffect(function(){p&&l&&(x!==null&&google.maps.event.removeListener(x),D(google.maps.event.addListener(p,"content_changed",l)))},[l]),c.useEffect(function(){p&&u&&(O!==null&&google.maps.event.removeListener(O),k(google.maps.event.addListener(p,"position_changed",u)))},[u]),c.useEffect(function(){p&&f&&(H!==null&&google.maps.event.removeListener(H),G(google.maps.event.addListener(p,"zindex_changed",f)))},[f]),c.useEffect(function(){var V=new google.maps.InfoWindow($({},r||{}));return E(V),q.current=document.createElement("div"),s&&y(google.maps.event.addListener(V,"closeclick",s)),a&&v(google.maps.event.addListener(V,"domready",a)),l&&D(google.maps.event.addListener(V,"content_changed",l)),u&&k(google.maps.event.addListener(V,"position_changed",u)),f&&G(google.maps.event.addListener(V,"zindex_changed",f)),V.setContent(q.current),o&&V.setPosition(o),i&&V.setZIndex(i),n?V.open(g,n):V.getPosition()?V.open(g):Re(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>."),d&&d(V),function(){b&&google.maps.event.removeListener(b),x&&google.maps.event.removeListener(x),S&&google.maps.event.removeListener(S),O&&google.maps.event.removeListener(O),H&&google.maps.event.removeListener(H),h&&h(V),V.close()}},[]),q.current?Un.createPortal(c.Children.only(e),q.current):null}c.memo(Yb);var wf=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,o){o?r.open(n.context,o):r.getPosition()?r.open(n.context):Re(!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($({},this.props.options||{}));this.containerElement=document.createElement("div"),this.registeredEvents=he({updaterMap:bf,eventMap:yf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{infoWindow:n}},this.setInfoWindowCallback)},e.prototype.componentDidUpdate=function(n){this.state.infoWindow!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:bf,eventMap:yf,prevProps:n,nextProps:this.props,instance:this.state.infoWindow}))},e.prototype.componentWillUnmount=function(){this.state.infoWindow!==null&&(ge(this.registeredEvents),this.props.onUnmount&&this.props.onUnmount(this.state.infoWindow),this.state.infoWindow.close())},e.prototype.render=function(){return this.containerElement?Un.createPortal(c.Children.only(this.props.children),this.containerElement):null},e.contextType=ce,e}(c.PureComponent),Ef={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},Cf={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)}},Wb={};function Rb(t){var e=t.options,n=t.draggable,r=t.editable,o=t.visible,i=t.path,s=t.onDblClick,a=t.onDragEnd,l=t.onDragStart,u=t.onMouseDown,f=t.onMouseMove,d=t.onMouseOut,h=t.onMouseOver,g=t.onMouseUp,m=t.onRightClick,p=t.onClick,E=t.onDrag,w=t.onLoad,b=t.onUnmount,y=c.useContext(ce),A=c.useState(null),S=A[0],v=A[1],C=c.useState(null),x=C[0],D=C[1],M=c.useState(null),O=M[0],k=M[1],N=c.useState(null),H=N[0],G=N[1],q=c.useState(null),V=q[0],K=q[1],B=c.useState(null),I=B[0],T=B[1],F=c.useState(null),U=F[0],Y=F[1],ee=c.useState(null),P=ee[0],Q=ee[1],Z=c.useState(null),R=Z[0],te=Z[1],ie=c.useState(null),re=ie[0],fe=ie[1],je=c.useState(null),ve=je[0],ye=je[1],Ne=c.useState(null),Me=Ne[0],ke=Ne[1];return c.useEffect(function(){S!==null&&S.setMap(y)},[y]),c.useEffect(function(){typeof e<"u"&&S!==null&&S.setOptions(e)},[S,e]),c.useEffect(function(){typeof n<"u"&&S!==null&&S.setDraggable(n)},[S,n]),c.useEffect(function(){typeof r<"u"&&S!==null&&S.setEditable(r)},[S,r]),c.useEffect(function(){typeof o<"u"&&S!==null&&S.setVisible(o)},[S,o]),c.useEffect(function(){typeof i<"u"&&S!==null&&S.setPath(i)},[S,i]),c.useEffect(function(){S&&s&&(x!==null&&google.maps.event.removeListener(x),D(google.maps.event.addListener(S,"dblclick",s)))},[s]),c.useEffect(function(){S&&a&&(O!==null&&google.maps.event.removeListener(O),k(google.maps.event.addListener(S,"dragend",a)))},[a]),c.useEffect(function(){S&&l&&(H!==null&&google.maps.event.removeListener(H),G(google.maps.event.addListener(S,"dragstart",l)))},[l]),c.useEffect(function(){S&&u&&(V!==null&&google.maps.event.removeListener(V),K(google.maps.event.addListener(S,"mousedown",u)))},[u]),c.useEffect(function(){S&&f&&(I!==null&&google.maps.event.removeListener(I),T(google.maps.event.addListener(S,"mousemove",f)))},[f]),c.useEffect(function(){S&&d&&(U!==null&&google.maps.event.removeListener(U),Y(google.maps.event.addListener(S,"mouseout",d)))},[d]),c.useEffect(function(){S&&h&&(P!==null&&google.maps.event.removeListener(P),Q(google.maps.event.addListener(S,"mouseover",h)))},[h]),c.useEffect(function(){S&&g&&(R!==null&&google.maps.event.removeListener(R),te(google.maps.event.addListener(S,"mouseup",g)))},[g]),c.useEffect(function(){S&&m&&(re!==null&&google.maps.event.removeListener(re),fe(google.maps.event.addListener(S,"rightclick",m)))},[m]),c.useEffect(function(){S&&p&&(ve!==null&&google.maps.event.removeListener(ve),ye(google.maps.event.addListener(S,"click",p)))},[p]),c.useEffect(function(){S&&E&&(Me!==null&&google.maps.event.removeListener(Me),ke(google.maps.event.addListener(S,"drag",E)))},[E]),c.useEffect(function(){var ae=new google.maps.Polyline($($({},e||Wb),{map:y}));return i&&ae.setPath(i),typeof o<"u"&&ae.setVisible(o),typeof r<"u"&&ae.setEditable(r),typeof n<"u"&&ae.setDraggable(n),s&&D(google.maps.event.addListener(ae,"dblclick",s)),a&&k(google.maps.event.addListener(ae,"dragend",a)),l&&G(google.maps.event.addListener(ae,"dragstart",l)),u&&K(google.maps.event.addListener(ae,"mousedown",u)),f&&T(google.maps.event.addListener(ae,"mousemove",f)),d&&Y(google.maps.event.addListener(ae,"mouseout",d)),h&&Q(google.maps.event.addListener(ae,"mouseover",h)),g&&te(google.maps.event.addListener(ae,"mouseup",g)),m&&fe(google.maps.event.addListener(ae,"rightclick",m)),p&&ye(google.maps.event.addListener(ae,"click",p)),E&&ke(google.maps.event.addListener(ae,"drag",E)),v(ae),w&&w(ae),function(){x!==null&&google.maps.event.removeListener(x),O!==null&&google.maps.event.removeListener(O),H!==null&&google.maps.event.removeListener(H),V!==null&&google.maps.event.removeListener(V),I!==null&&google.maps.event.removeListener(I),U!==null&&google.maps.event.removeListener(U),P!==null&&google.maps.event.removeListener(P),R!==null&&google.maps.event.removeListener(R),re!==null&&google.maps.event.removeListener(re),ve!==null&&google.maps.event.removeListener(ve),b&&b(ae),ae.setMap(null)}},[]),null}c.memo(Rb),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($($({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:Cf,eventMap:Ef,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{polyline:n}},this.setPolylineCallback)},e.prototype.componentDidUpdate=function(n){this.state.polyline!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Cf,eventMap:Ef,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),ge(this.registeredEvents),this.state.polyline.setMap(null))},e.prototype.render=function(){return null},e.contextType=ce,e}(c.PureComponent);var Sf={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},Lf={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 Kb(t){var e=t.options,n=t.draggable,r=t.editable,o=t.visible,i=t.path,s=t.paths,a=t.onDblClick,l=t.onDragEnd,u=t.onDragStart,f=t.onMouseDown,d=t.onMouseMove,h=t.onMouseOut,g=t.onMouseOver,m=t.onMouseUp,p=t.onRightClick,E=t.onClick,w=t.onDrag,b=t.onLoad,y=t.onUnmount,A=c.useContext(ce),S=c.useState(null),v=S[0],C=S[1],x=c.useState(null),D=x[0],M=x[1],O=c.useState(null),k=O[0],N=O[1],H=c.useState(null),G=H[0],q=H[1],V=c.useState(null),K=V[0],B=V[1],I=c.useState(null),T=I[0],F=I[1],U=c.useState(null),Y=U[0],ee=U[1],P=c.useState(null),Q=P[0],Z=P[1],R=c.useState(null),te=R[0],ie=R[1],re=c.useState(null),fe=re[0],je=re[1],ve=c.useState(null),ye=ve[0],Ne=ve[1],Me=c.useState(null),ke=Me[0],ae=Me[1];return c.useEffect(function(){v!==null&&v.setMap(A)},[A]),c.useEffect(function(){typeof e<"u"&&v!==null&&v.setOptions(e)},[v,e]),c.useEffect(function(){typeof n<"u"&&v!==null&&v.setDraggable(n)},[v,n]),c.useEffect(function(){typeof r<"u"&&v!==null&&v.setEditable(r)},[v,r]),c.useEffect(function(){typeof o<"u"&&v!==null&&v.setVisible(o)},[v,o]),c.useEffect(function(){typeof i<"u"&&v!==null&&v.setPath(i)},[v,i]),c.useEffect(function(){typeof s<"u"&&v!==null&&v.setPaths(s)},[v,s]),c.useEffect(function(){v&&a&&(D!==null&&google.maps.event.removeListener(D),M(google.maps.event.addListener(v,"dblclick",a)))},[a]),c.useEffect(function(){v&&l&&(k!==null&&google.maps.event.removeListener(k),N(google.maps.event.addListener(v,"dragend",l)))},[l]),c.useEffect(function(){v&&u&&(G!==null&&google.maps.event.removeListener(G),q(google.maps.event.addListener(v,"dragstart",u)))},[u]),c.useEffect(function(){v&&f&&(K!==null&&google.maps.event.removeListener(K),B(google.maps.event.addListener(v,"mousedown",f)))},[f]),c.useEffect(function(){v&&d&&(T!==null&&google.maps.event.removeListener(T),F(google.maps.event.addListener(v,"mousemove",d)))},[d]),c.useEffect(function(){v&&h&&(Y!==null&&google.maps.event.removeListener(Y),ee(google.maps.event.addListener(v,"mouseout",h)))},[h]),c.useEffect(function(){v&&g&&(Q!==null&&google.maps.event.removeListener(Q),Z(google.maps.event.addListener(v,"mouseover",g)))},[g]),c.useEffect(function(){v&&m&&(te!==null&&google.maps.event.removeListener(te),ie(google.maps.event.addListener(v,"mouseup",m)))},[m]),c.useEffect(function(){v&&p&&(fe!==null&&google.maps.event.removeListener(fe),je(google.maps.event.addListener(v,"rightclick",p)))},[p]),c.useEffect(function(){v&&E&&(ye!==null&&google.maps.event.removeListener(ye),Ne(google.maps.event.addListener(v,"click",E)))},[E]),c.useEffect(function(){v&&w&&(ke!==null&&google.maps.event.removeListener(ke),ae(google.maps.event.addListener(v,"drag",w)))},[w]),c.useEffect(function(){var le=new google.maps.Polygon($($({},e||{}),{map:A}));return i&&le.setPath(i),s&&le.setPaths(s),typeof o<"u"&&le.setVisible(o),typeof r<"u"&&le.setEditable(r),typeof n<"u"&&le.setDraggable(n),a&&M(google.maps.event.addListener(le,"dblclick",a)),l&&N(google.maps.event.addListener(le,"dragend",l)),u&&q(google.maps.event.addListener(le,"dragstart",u)),f&&B(google.maps.event.addListener(le,"mousedown",f)),d&&F(google.maps.event.addListener(le,"mousemove",d)),h&&ee(google.maps.event.addListener(le,"mouseout",h)),g&&Z(google.maps.event.addListener(le,"mouseover",g)),m&&ie(google.maps.event.addListener(le,"mouseup",m)),p&&je(google.maps.event.addListener(le,"rightclick",p)),E&&Ne(google.maps.event.addListener(le,"click",E)),w&&ae(google.maps.event.addListener(le,"drag",w)),C(le),b&&b(le),function(){D!==null&&google.maps.event.removeListener(D),k!==null&&google.maps.event.removeListener(k),G!==null&&google.maps.event.removeListener(G),K!==null&&google.maps.event.removeListener(K),T!==null&&google.maps.event.removeListener(T),Y!==null&&google.maps.event.removeListener(Y),Q!==null&&google.maps.event.removeListener(Q),te!==null&&google.maps.event.removeListener(te),fe!==null&&google.maps.event.removeListener(fe),ye!==null&&google.maps.event.removeListener(ye),y&&y(le),le.setMap(null)}},[]),null}c.memo(Kb),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($($({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:Lf,eventMap:Sf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{polygon:n}},this.setPolygonCallback)},e.prototype.componentDidUpdate=function(n){this.state.polygon!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Lf,eventMap:Sf,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),ge(this.registeredEvents),this.state.polygon&&this.state.polygon.setMap(null))},e.prototype.render=function(){return null},e.contextType=ce,e}(c.PureComponent);var xf={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"},Af={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 qb(t){var e=t.options,n=t.bounds,r=t.draggable,o=t.editable,i=t.visible,s=t.onDblClick,a=t.onDragEnd,l=t.onDragStart,u=t.onMouseDown,f=t.onMouseMove,d=t.onMouseOut,h=t.onMouseOver,g=t.onMouseUp,m=t.onRightClick,p=t.onClick,E=t.onDrag,w=t.onBoundsChanged,b=t.onLoad,y=t.onUnmount,A=c.useContext(ce),S=c.useState(null),v=S[0],C=S[1],x=c.useState(null),D=x[0],M=x[1],O=c.useState(null),k=O[0],N=O[1],H=c.useState(null),G=H[0],q=H[1],V=c.useState(null),K=V[0],B=V[1],I=c.useState(null),T=I[0],F=I[1],U=c.useState(null),Y=U[0],ee=U[1],P=c.useState(null),Q=P[0],Z=P[1],R=c.useState(null),te=R[0],ie=R[1],re=c.useState(null),fe=re[0],je=re[1],ve=c.useState(null),ye=ve[0],Ne=ve[1],Me=c.useState(null),ke=Me[0],ae=Me[1],le=c.useState(null),Ge=le[0],_e=le[1];return c.useEffect(function(){v!==null&&v.setMap(A)},[A]),c.useEffect(function(){typeof e<"u"&&v!==null&&v.setOptions(e)},[v,e]),c.useEffect(function(){typeof r<"u"&&v!==null&&v.setDraggable(r)},[v,r]),c.useEffect(function(){typeof o<"u"&&v!==null&&v.setEditable(o)},[v,o]),c.useEffect(function(){typeof i<"u"&&v!==null&&v.setVisible(i)},[v,i]),c.useEffect(function(){typeof n<"u"&&v!==null&&v.setBounds(n)},[v,n]),c.useEffect(function(){v&&s&&(D!==null&&google.maps.event.removeListener(D),M(google.maps.event.addListener(v,"dblclick",s)))},[s]),c.useEffect(function(){v&&a&&(k!==null&&google.maps.event.removeListener(k),N(google.maps.event.addListener(v,"dragend",a)))},[a]),c.useEffect(function(){v&&l&&(G!==null&&google.maps.event.removeListener(G),q(google.maps.event.addListener(v,"dragstart",l)))},[l]),c.useEffect(function(){v&&u&&(K!==null&&google.maps.event.removeListener(K),B(google.maps.event.addListener(v,"mousedown",u)))},[u]),c.useEffect(function(){v&&f&&(T!==null&&google.maps.event.removeListener(T),F(google.maps.event.addListener(v,"mousemove",f)))},[f]),c.useEffect(function(){v&&d&&(Y!==null&&google.maps.event.removeListener(Y),ee(google.maps.event.addListener(v,"mouseout",d)))},[d]),c.useEffect(function(){v&&h&&(Q!==null&&google.maps.event.removeListener(Q),Z(google.maps.event.addListener(v,"mouseover",h)))},[h]),c.useEffect(function(){v&&g&&(te!==null&&google.maps.event.removeListener(te),ie(google.maps.event.addListener(v,"mouseup",g)))},[g]),c.useEffect(function(){v&&m&&(fe!==null&&google.maps.event.removeListener(fe),je(google.maps.event.addListener(v,"rightclick",m)))},[m]),c.useEffect(function(){v&&p&&(ye!==null&&google.maps.event.removeListener(ye),Ne(google.maps.event.addListener(v,"click",p)))},[p]),c.useEffect(function(){v&&E&&(ke!==null&&google.maps.event.removeListener(ke),ae(google.maps.event.addListener(v,"drag",E)))},[E]),c.useEffect(function(){v&&w&&(Ge!==null&&google.maps.event.removeListener(Ge),_e(google.maps.event.addListener(v,"bounds_changed",w)))},[w]),c.useEffect(function(){var _=new google.maps.Rectangle($($({},e||{}),{map:A}));return typeof i<"u"&&_.setVisible(i),typeof o<"u"&&_.setEditable(o),typeof r<"u"&&_.setDraggable(r),typeof n<"u"&&_.setBounds(n),s&&M(google.maps.event.addListener(_,"dblclick",s)),a&&N(google.maps.event.addListener(_,"dragend",a)),l&&q(google.maps.event.addListener(_,"dragstart",l)),u&&B(google.maps.event.addListener(_,"mousedown",u)),f&&F(google.maps.event.addListener(_,"mousemove",f)),d&&ee(google.maps.event.addListener(_,"mouseout",d)),h&&Z(google.maps.event.addListener(_,"mouseover",h)),g&&ie(google.maps.event.addListener(_,"mouseup",g)),m&&je(google.maps.event.addListener(_,"rightclick",m)),p&&Ne(google.maps.event.addListener(_,"click",p)),E&&ae(google.maps.event.addListener(_,"drag",E)),w&&_e(google.maps.event.addListener(_,"bounds_changed",w)),C(_),b&&b(_),function(){D!==null&&google.maps.event.removeListener(D),k!==null&&google.maps.event.removeListener(k),G!==null&&google.maps.event.removeListener(G),K!==null&&google.maps.event.removeListener(K),T!==null&&google.maps.event.removeListener(T),Y!==null&&google.maps.event.removeListener(Y),Q!==null&&google.maps.event.removeListener(Q),te!==null&&google.maps.event.removeListener(te),fe!==null&&google.maps.event.removeListener(fe),ye!==null&&google.maps.event.removeListener(ye),ke!==null&&google.maps.event.removeListener(ke),Ge!==null&&google.maps.event.removeListener(Ge),y&&y(_),_.setMap(null)}},[]),null}c.memo(qb),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($($({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:Af,eventMap:xf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{rectangle:n}},this.setRectangleCallback)},e.prototype.componentDidUpdate=function(n){this.state.rectangle!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Af,eventMap:xf,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),ge(this.registeredEvents),this.state.rectangle.setMap(null))},e.prototype.render=function(){return null},e.contextType=ce,e}(c.PureComponent);var Of={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"},Mf={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)}},Jb={};function Zb(t){var e=t.options,n=t.center,r=t.radius,o=t.draggable,i=t.editable,s=t.visible,a=t.onDblClick,l=t.onDragEnd,u=t.onDragStart,f=t.onMouseDown,d=t.onMouseMove,h=t.onMouseOut,g=t.onMouseOver,m=t.onMouseUp,p=t.onRightClick,E=t.onClick,w=t.onDrag,b=t.onCenterChanged,y=t.onRadiusChanged,A=t.onLoad,S=t.onUnmount,v=c.useContext(ce),C=c.useState(null),x=C[0],D=C[1],M=c.useState(null),O=M[0],k=M[1],N=c.useState(null),H=N[0],G=N[1],q=c.useState(null),V=q[0],K=q[1],B=c.useState(null),I=B[0],T=B[1],F=c.useState(null),U=F[0],Y=F[1],ee=c.useState(null),P=ee[0],Q=ee[1],Z=c.useState(null),R=Z[0],te=Z[1],ie=c.useState(null),re=ie[0],fe=ie[1],je=c.useState(null),ve=je[0],ye=je[1],Ne=c.useState(null),Me=Ne[0],ke=Ne[1],ae=c.useState(null),le=ae[0],Ge=ae[1],_e=c.useState(null),_=_e[0],Qe=_e[1],Ue=c.useState(null),ht=Ue[0],at=Ue[1];return c.useEffect(function(){x!==null&&x.setMap(v)},[v]),c.useEffect(function(){typeof e<"u"&&x!==null&&x.setOptions(e)},[x,e]),c.useEffect(function(){typeof o<"u"&&x!==null&&x.setDraggable(o)},[x,o]),c.useEffect(function(){typeof i<"u"&&x!==null&&x.setEditable(i)},[x,i]),c.useEffect(function(){typeof s<"u"&&x!==null&&x.setVisible(s)},[x,s]),c.useEffect(function(){typeof r=="number"&&x!==null&&x.setRadius(r)},[x,r]),c.useEffect(function(){typeof n<"u"&&x!==null&&x.setCenter(n)},[x,n]),c.useEffect(function(){x&&a&&(O!==null&&google.maps.event.removeListener(O),k(google.maps.event.addListener(x,"dblclick",a)))},[a]),c.useEffect(function(){x&&l&&(H!==null&&google.maps.event.removeListener(H),G(google.maps.event.addListener(x,"dragend",l)))},[l]),c.useEffect(function(){x&&u&&(V!==null&&google.maps.event.removeListener(V),K(google.maps.event.addListener(x,"dragstart",u)))},[u]),c.useEffect(function(){x&&f&&(I!==null&&google.maps.event.removeListener(I),T(google.maps.event.addListener(x,"mousedown",f)))},[f]),c.useEffect(function(){x&&d&&(U!==null&&google.maps.event.removeListener(U),Y(google.maps.event.addListener(x,"mousemove",d)))},[d]),c.useEffect(function(){x&&h&&(P!==null&&google.maps.event.removeListener(P),Q(google.maps.event.addListener(x,"mouseout",h)))},[h]),c.useEffect(function(){x&&g&&(R!==null&&google.maps.event.removeListener(R),te(google.maps.event.addListener(x,"mouseover",g)))},[g]),c.useEffect(function(){x&&m&&(re!==null&&google.maps.event.removeListener(re),fe(google.maps.event.addListener(x,"mouseup",m)))},[m]),c.useEffect(function(){x&&p&&(ve!==null&&google.maps.event.removeListener(ve),ye(google.maps.event.addListener(x,"rightclick",p)))},[p]),c.useEffect(function(){x&&E&&(Me!==null&&google.maps.event.removeListener(Me),ke(google.maps.event.addListener(x,"click",E)))},[E]),c.useEffect(function(){x&&w&&(le!==null&&google.maps.event.removeListener(le),Ge(google.maps.event.addListener(x,"drag",w)))},[w]),c.useEffect(function(){x&&b&&(_!==null&&google.maps.event.removeListener(_),Qe(google.maps.event.addListener(x,"center_changed",b)))},[E]),c.useEffect(function(){x&&y&&(ht!==null&&google.maps.event.removeListener(ht),at(google.maps.event.addListener(x,"radius_changed",y)))},[y]),c.useEffect(function(){var ue=new google.maps.Circle($($({},e||Jb),{map:v}));return typeof r=="number"&&ue.setRadius(r),typeof n<"u"&&ue.setCenter(n),typeof r=="number"&&ue.setRadius(r),typeof s<"u"&&ue.setVisible(s),typeof i<"u"&&ue.setEditable(i),typeof o<"u"&&ue.setDraggable(o),a&&k(google.maps.event.addListener(ue,"dblclick",a)),l&&G(google.maps.event.addListener(ue,"dragend",l)),u&&K(google.maps.event.addListener(ue,"dragstart",u)),f&&T(google.maps.event.addListener(ue,"mousedown",f)),d&&Y(google.maps.event.addListener(ue,"mousemove",d)),h&&Q(google.maps.event.addListener(ue,"mouseout",h)),g&&te(google.maps.event.addListener(ue,"mouseover",g)),m&&fe(google.maps.event.addListener(ue,"mouseup",m)),p&&ye(google.maps.event.addListener(ue,"rightclick",p)),E&&ke(google.maps.event.addListener(ue,"click",E)),w&&Ge(google.maps.event.addListener(ue,"drag",w)),b&&Qe(google.maps.event.addListener(ue,"center_changed",b)),y&&at(google.maps.event.addListener(ue,"radius_changed",y)),D(ue),A&&A(ue),function(){O!==null&&google.maps.event.removeListener(O),H!==null&&google.maps.event.removeListener(H),V!==null&&google.maps.event.removeListener(V),I!==null&&google.maps.event.removeListener(I),U!==null&&google.maps.event.removeListener(U),P!==null&&google.maps.event.removeListener(P),R!==null&&google.maps.event.removeListener(R),re!==null&&google.maps.event.removeListener(re),ve!==null&&google.maps.event.removeListener(ve),Me!==null&&google.maps.event.removeListener(Me),_!==null&&google.maps.event.removeListener(_),ht!==null&&google.maps.event.removeListener(ht),S&&S(ue),ue.setMap(null)}},[]),null}c.memo(Zb),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($($({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:Mf,eventMap:Of,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{circle:n}},this.setCircleCallback)},e.prototype.componentDidUpdate=function(n){this.state.circle!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Mf,eventMap:Of,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),ge(this.registeredEvents),(n=this.state.circle)===null||n===void 0||n.setMap(null))},e.prototype.render=function(){return null},e.contextType=ce,e}(c.PureComponent);var Pf={onClick:"click",onDblClick:"dblclick",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick",onAddFeature:"addfeature",onRemoveFeature:"removefeature",onRemoveProperty:"removeproperty",onSetGeometry:"setgeometry",onSetProperty:"setproperty"},kf={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 _b(t){var e=t.options,n=t.onClick,r=t.onDblClick,o=t.onMouseDown,i=t.onMouseMove,s=t.onMouseOut,a=t.onMouseOver,l=t.onMouseUp,u=t.onRightClick,f=t.onAddFeature,d=t.onRemoveFeature,h=t.onRemoveProperty,g=t.onSetGeometry,m=t.onSetProperty,p=t.onLoad,E=t.onUnmount,w=c.useContext(ce),b=c.useState(null),y=b[0],A=b[1],S=c.useState(null),v=S[0],C=S[1],x=c.useState(null),D=x[0],M=x[1],O=c.useState(null),k=O[0],N=O[1],H=c.useState(null),G=H[0],q=H[1],V=c.useState(null),K=V[0],B=V[1],I=c.useState(null),T=I[0],F=I[1],U=c.useState(null),Y=U[0],ee=U[1],P=c.useState(null),Q=P[0],Z=P[1],R=c.useState(null),te=R[0],ie=R[1],re=c.useState(null),fe=re[0],je=re[1],ve=c.useState(null),ye=ve[0],Ne=ve[1],Me=c.useState(null),ke=Me[0],ae=Me[1],le=c.useState(null),Ge=le[0],_e=le[1];return c.useEffect(function(){y!==null&&y.setMap(w)},[w]),c.useEffect(function(){y&&r&&(v!==null&&google.maps.event.removeListener(v),C(google.maps.event.addListener(y,"dblclick",r)))},[r]),c.useEffect(function(){y&&o&&(D!==null&&google.maps.event.removeListener(D),M(google.maps.event.addListener(y,"mousedown",o)))},[o]),c.useEffect(function(){y&&i&&(k!==null&&google.maps.event.removeListener(k),N(google.maps.event.addListener(y,"mousemove",i)))},[i]),c.useEffect(function(){y&&s&&(G!==null&&google.maps.event.removeListener(G),q(google.maps.event.addListener(y,"mouseout",s)))},[s]),c.useEffect(function(){y&&a&&(K!==null&&google.maps.event.removeListener(K),B(google.maps.event.addListener(y,"mouseover",a)))},[a]),c.useEffect(function(){y&&l&&(T!==null&&google.maps.event.removeListener(T),F(google.maps.event.addListener(y,"mouseup",l)))},[l]),c.useEffect(function(){y&&u&&(Y!==null&&google.maps.event.removeListener(Y),ee(google.maps.event.addListener(y,"rightclick",u)))},[u]),c.useEffect(function(){y&&n&&(Q!==null&&google.maps.event.removeListener(Q),Z(google.maps.event.addListener(y,"click",n)))},[n]),c.useEffect(function(){y&&f&&(te!==null&&google.maps.event.removeListener(te),ie(google.maps.event.addListener(y,"addfeature",f)))},[f]),c.useEffect(function(){y&&d&&(fe!==null&&google.maps.event.removeListener(fe),je(google.maps.event.addListener(y,"removefeature",d)))},[d]),c.useEffect(function(){y&&h&&(ye!==null&&google.maps.event.removeListener(ye),Ne(google.maps.event.addListener(y,"removeproperty",h)))},[h]),c.useEffect(function(){y&&g&&(ke!==null&&google.maps.event.removeListener(ke),ae(google.maps.event.addListener(y,"setgeometry",g)))},[g]),c.useEffect(function(){y&&m&&(Ge!==null&&google.maps.event.removeListener(Ge),_e(google.maps.event.addListener(y,"setproperty",m)))},[m]),c.useEffect(function(){if(w!==null){var _=new google.maps.Data($($({},e||{}),{map:w}));r&&C(google.maps.event.addListener(_,"dblclick",r)),o&&M(google.maps.event.addListener(_,"mousedown",o)),i&&N(google.maps.event.addListener(_,"mousemove",i)),s&&q(google.maps.event.addListener(_,"mouseout",s)),a&&B(google.maps.event.addListener(_,"mouseover",a)),l&&F(google.maps.event.addListener(_,"mouseup",l)),u&&ee(google.maps.event.addListener(_,"rightclick",u)),n&&Z(google.maps.event.addListener(_,"click",n)),f&&ie(google.maps.event.addListener(_,"addfeature",f)),d&&je(google.maps.event.addListener(_,"removefeature",d)),h&&Ne(google.maps.event.addListener(_,"removeproperty",h)),g&&ae(google.maps.event.addListener(_,"setgeometry",g)),m&&_e(google.maps.event.addListener(_,"setproperty",m)),A(_),p&&p(_)}return function(){y&&(v!==null&&google.maps.event.removeListener(v),D!==null&&google.maps.event.removeListener(D),k!==null&&google.maps.event.removeListener(k),G!==null&&google.maps.event.removeListener(G),K!==null&&google.maps.event.removeListener(K),T!==null&&google.maps.event.removeListener(T),Y!==null&&google.maps.event.removeListener(Y),Q!==null&&google.maps.event.removeListener(Q),te!==null&&google.maps.event.removeListener(te),fe!==null&&google.maps.event.removeListener(fe),ye!==null&&google.maps.event.removeListener(ye),ke!==null&&google.maps.event.removeListener(ke),Ge!==null&&google.maps.event.removeListener(Ge),E&&E(y),y.setMap(null))}},[]),null}c.memo(_b),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($($({},this.props.options||{}),{map:this.context}));this.registeredEvents=he({updaterMap:kf,eventMap:Pf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{data:n}},this.setDataCallback)}},e.prototype.componentDidUpdate=function(n){this.state.data!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:kf,eventMap:Pf,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),ge(this.registeredEvents),this.state.data&&this.state.data.setMap(null))},e.prototype.render=function(){return null},e.contextType=ce,e}(c.PureComponent);var If={onClick:"click",onDefaultViewportChanged:"defaultviewport_changed",onStatusChanged:"status_changed"},Df={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($($({},this.props.options),{map:this.context}));this.registeredEvents=he({updaterMap:Df,eventMap:If,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{kmlLayer:n}},this.setKmlLayerCallback)},e.prototype.componentDidUpdate=function(n){this.state.kmlLayer!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Df,eventMap:If,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),ge(this.registeredEvents),this.state.kmlLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=ce,e})(c.PureComponent);function Tf(t,e){return typeof e=="function"?e(t.offsetWidth,t.offsetHeight):{x:0,y:0}}function Xb(t,e){return new e(t.lat,t.lng)}function $b(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 ew(t,e,n){return t instanceof e?t:n(t,e)}function tw(t,e,n){return t instanceof e?t:n(t,e)}function nw(t,e,n){var r=t&&t.fromLatLngToDivPixel(n.getNorthEast()),o=t&&t.fromLatLngToDivPixel(n.getSouthWest());return r&&o?{left:"".concat(o.x+e.x,"px"),top:"".concat(r.y+e.y,"px"),width:"".concat(r.x-o.x-e.x,"px"),height:"".concat(o.y-r.y-e.y,"px")}:{left:"-9999px",top:"-9999px"}}function rw(t,e,n){var r=t&&t.fromLatLngToDivPixel(n);if(r){var o=r.x,i=r.y;return{left:"".concat(o+e.x,"px"),top:"".concat(i+e.y,"px")}}return{left:"-9999px",top:"-9999px"}}function Bf(t,e,n,r){return n!==void 0?nw(t,e,tw(n,google.maps.LatLngBounds,$b)):rw(t,e,ew(r,google.maps.LatLng,Xb))}function ow(t,e){return t.left===e.left&&t.top===e.top&&t.width===e.height&&t.height===e.height}function iw(t,e,n,r,o){var i=function(s){Be(a,s);function a(l,u,f,d){var h=s.call(this)||this;return h.container=l,h.pane=u,h.position=f,h.bounds=d,h}return a.prototype.onAdd=function(){var l,u=(l=this.getPanes())===null||l===void 0?void 0:l[this.pane];u==null||u.appendChild(this.container)},a.prototype.draw=function(){for(var l=this.getProjection(),u=$({},this.container?Tf(this.container,o):{x:0,y:0}),f=Bf(l,u,this.bounds,this.position),d=0,h=Object.entries(f);d<h.length;d++){var g=h[d],m=g[0],p=g[1];this.container.style[m]=p}},a.prototype.onRemove=function(){this.container.parentNode!==null&&this.container.parentNode.removeChild(this.container)},a}(google.maps.OverlayView);return new i(t,e,n,r)}function Nf(t){if(!t)return"";var e=t instanceof google.maps.LatLng?t:new google.maps.LatLng(t.lat,t.lng);return e+""}function jf(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 sw(t){var e=t.position,n=t.bounds,r=t.mapPaneName,o=t.zIndex,i=t.onLoad,s=t.onUnmount,a=t.getPixelPositionOffset,l=t.children,u=c.useContext(ce),f=c.useMemo(function(){var h=document.createElement("div");return h.style.position="absolute",h},[]),d=c.useMemo(function(){return iw(f,r,e,n,a)},[f,r,e,n]);return c.useEffect(function(){return i==null||i(d),d==null||d.setMap(u),function(){s==null||s(d),d==null||d.setMap(null)}},[u,d]),c.useEffect(function(){f.style.zIndex="".concat(o)},[o,f]),Ma.createPortal(l,f)}c.memo(sw),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 i=r.props.mapPaneName,s=r.overlayView.getPanes();Re(!!i,"OverlayView requires props.mapPaneName but got %s",i),s?r.setState({paneEl:s[i]}):r.setState({paneEl:null})},r.onAdd=function(){var i,s;r.updatePane(),(s=(i=r.props).onLoad)===null||s===void 0||s.call(i,r.overlayView)},r.onPositionElement=function(){var i,s=r.overlayView.getProjection(),a=$({x:0,y:0},r.containerRef.current?Tf(r.containerRef.current,r.props.getPixelPositionOffset):{}),l=Bf(s,a,r.props.bounds,r.props.position),u=(i=r.state.containerStyle,i.left),f=i.top,d=i.width,h=i.height;ow(l,{left:u,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 i,s;r.setState(function(){return{paneEl:null}}),(s=(i=r.props).onUnmount)===null||s===void 0||s.call(i,r.overlayView)},r.containerRef=c.createRef();var o=new google.maps.OverlayView;return o.onAdd=r.onAdd,o.draw=r.draw,o.onRemove=r.onRemove,r.overlayView=o,r}return e.prototype.componentDidMount=function(){this.overlayView.setMap(this.context)},e.prototype.componentDidUpdate=function(n){var r=Nf(n.position),o=Nf(this.props.position),i=jf(n.bounds),s=jf(this.props.bounds);(r!==o||i!==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?Ma.createPortal(L.jsx("div",{ref:this.containerRef,style:this.state.containerStyle,children:c.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=ce,e}(c.PureComponent);function aw(){}var Uf={onDblClick:"dblclick",onClick:"click"},Hf={opacity:function(t,e){t.setOpacity(e)}};function lw(t){var e=t.url,n=t.bounds,r=t.options,o=t.visible,i=c.useContext(ce),s=new google.maps.LatLngBounds(new google.maps.LatLng(n.south,n.west),new google.maps.LatLng(n.north,n.east)),a=c.useMemo(function(){var l=new google.maps.GroundOverlay(e,s,$({},r));return l},[]);return c.useEffect(function(){a!==null&&a.setMap(i)},[i]),c.useEffect(function(){typeof e<"u"&&a!==null&&(a.set("url",e),a.setMap(i))},[a,e]),c.useEffect(function(){typeof o<"u"&&a!==null&&a.setOpacity(o?1:0)},[a,o]),c.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(i))},[a,n]),null}c.memo(lw),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(){Re(!!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,$($({},this.props.options),{map:this.context}));this.registeredEvents=he({updaterMap:Hf,eventMap:Uf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{groundOverlay:n}},this.setGroundOverlayCallback)},e.prototype.componentDidUpdate=function(n){this.state.groundOverlay!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Hf,eventMap:Uf,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:aw},e.contextType=ce,e}(c.PureComponent);var zf={},Ff={data:function(t,e){t.setData(e)},map:function(t,e){t.setMap(e)},options:function(t,e){t.setOptions(e)}};function uw(t){var e=t.data,n=t.onLoad,r=t.onUnmount,o=t.options,i=c.useContext(ce),s=c.useState(null),a=s[0],l=s[1];return c.useEffect(function(){google.maps.visualization||Re(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} in useJsApiScript? %s',google.maps.visualization)},[]),c.useEffect(function(){Re(!!e,"data property is required in HeatmapLayer %s",e)},[e]),c.useEffect(function(){a!==null&&a.setMap(i)},[i]),c.useEffect(function(){o&&a!==null&&a.setOptions(o)},[a,o]),c.useEffect(function(){var u=new google.maps.visualization.HeatmapLayer($($({},o||{}),{data:e,map:i}));return l(u),n&&n(u),function(){a!==null&&(r&&r(a),a.setMap(null))}},[]),null}c.memo(uw),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(){Re(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} to <LoadScript />? %s',google.maps.visualization),Re(!!this.props.data,"data property is required in HeatmapLayer %s",this.props.data);var n=new google.maps.visualization.HeatmapLayer($($({},this.props.options||{}),{data:this.props.data,map:this.context}));this.registeredEvents=he({updaterMap:Ff,eventMap:zf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{heatmapLayer:n}},this.setHeatmapLayerCallback)},e.prototype.componentDidUpdate=function(n){ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Ff,eventMap:zf,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),ge(this.registeredEvents),this.state.heatmapLayer.setMap(null))},e.prototype.render=function(){return null},e.contextType=ce,e}(c.PureComponent);var Vf={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},Gf={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,o=(r=(n=this.context)===null||n===void 0?void 0:n.getStreetView())!==null&&r!==void 0?r:null;this.registeredEvents=he({updaterMap:Gf,eventMap:Vf,prevProps:{},nextProps:this.props,instance:o}),this.setState(function(){return{streetViewPanorama:o}},this.setStreetViewPanoramaCallback)},e.prototype.componentDidUpdate=function(n){this.state.streetViewPanorama!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Gf,eventMap:Vf,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),ge(this.registeredEvents),this.state.streetViewPanorama.setVisible(!1))},e.prototype.render=function(){return null},e.contextType=ce,e})(c.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=ce,e}(c.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(){Re(!!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}(c.PureComponent);var Qf={onDirectionsChanged:"directions_changed"},Yf={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:Yf,eventMap:Qf,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{directionsRenderer:n}},this.setDirectionsRendererCallback)},e.prototype.componentDidUpdate=function(n){this.state.directionsRenderer!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Yf,eventMap:Qf,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),ge(this.registeredEvents),this.state.directionsRenderer&&this.state.directionsRenderer.setMap(null))},e.prototype.render=function(){return L.jsx(L.Fragment,{})},e.contextType=ce,e})(c.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(){Re(!!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}(c.PureComponent);var Wf={onPlacesChanged:"places_changed"},Rf={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=c.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(Re(!!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:Rf,eventMap:Wf,prevProps:{},nextProps:this.props,instance:r}),this.setState(function(){return{searchBox:r}},this.setSearchBoxCallback)}}},e.prototype.componentDidUpdate=function(n){this.state.searchBox!==null&&(ge(this.registeredEvents),this.registeredEvents=he({updaterMap:Rf,eventMap:Wf,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),ge(this.registeredEvents))},e.prototype.render=function(){return L.jsx("div",{ref:this.containerElement,children:c.Children.only(this.props.children)})},e.contextType=ce,e})(c.PureComponent);var Kf={onPlaceChanged:"place_changed"},qf={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=c.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;Re(!!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 o=new google.maps.places.Autocomplete(r,this.props.options);this.registeredEvents=he({updaterMap:qf,eventMap:Kf,prevProps:{},nextProps:this.props,instance:o}),this.setState(function(){return{autocomplete:o}},this.setAutocompleteCallback)}},e.prototype.componentDidUpdate=function(n){ge(this.registeredEvents),this.registeredEvents=he({updaterMap:qf,eventMap:Kf,prevProps:n,nextProps:this.props,instance:this.state.autocomplete})},e.prototype.componentWillUnmount=function(){this.state.autocomplete!==null&&ge(this.registeredEvents)},e.prototype.render=function(){return L.jsx("div",{ref:this.containerElement,className:this.props.className,children:c.Children.only(this.props.children)})},e.defaultProps={className:""},e.contextType=ce,e})(c.PureComponent);const Jf=async t=>Gr.request({baseURL:"https://api.geo-data.omnic.solutions/api/1.0/",method:"POST",url:"normalize/address",data:t,headers:{Authorization:"Token 9877f9631b2e30570cc1c5aa8c740b0c912efe99a8b6c45c21cf4bd394adc7e9"}}),cw={clickableIcons:!1,disableDefaultUI:!0,minZoom:4,maxZoom:20,restriction:{strictBounds:!0,latLngBounds:{north:85,south:-85,west:-179,east:179}}},Zf={optimized:!0},Ze={root:"MapGoogle-module__root__iB2RTt",hideUI:"MapGoogle-module__hideUI__zGYpjY",mapContainer:"MapGoogle-module__mapContainer__qTVsu4",balloon:"MapGoogle-module__balloon__nNM3fV",details:"MapGoogle-module__details__MuhoyT",cluster:"MapGoogle-module__cluster__KIS2sn",overlay:"MapGoogle-module__overlay__z03Yoa",mapControl:"MapGoogle-module__mapControl__Iu3xc4",geolocationControl:"MapGoogle-module__geolocationControl__cwYVsw",bottomSheet:"MapGoogle-module__bottomSheet__ql8eoC",locationViewContent:"MapGoogle-module__locationViewContent__LYJkkK",locationViewHeader:"MapGoogle-module__locationViewHeader__hzc7Ip",courierDetailsViewContent:"MapGoogle-module__courierDetailsViewContent__CIg-RD",courierDetailsViewHeader:"MapGoogle-module__courierDetailsViewHeader__vMFQjI",sheetSubmit:"MapGoogle-module__sheetSubmit__pjGRS0"},fw=({children:t,className:e,onLoad:n,onIdle:r,onUnmount:o})=>{const{map:i,locale:s,disableCourierDelivery:a,hideMapUI:l}=Tt(),u=Ve(p=>p.setDetailsOpen),f=$t(p=>p.setPlace),d=mt(p=>p.setCourierPoint),h=At(p=>p.setSelectedPoint),g=c.useMemo(()=>{var p,E;return{lat:((p=i==null?void 0:i.center)==null?void 0:p[0])??yo[0],lng:((E=i==null?void 0:i.center)==null?void 0:E[1])??yo[1]}},[i==null?void 0:i.center]),m=c.useCallback(async p=>{var b;const{latLng:E}=p;if(!E||a)return;u(!1),h(null);const w=[E.lat(),E.lng()];try{const y=await Qr(w),A=(b=y==null?void 0:y.results)==null?void 0:b[0],S=A==null?void 0:A.formatted_address;if(f(A),!S)return;const v=await Jf({address:S,algorithm:10,service:10,language:s||es});if(!kc(v))return;const C=v==null?void 0:v.data.data;d({address:C,coords:w})}catch{d({address:null,coords:w})}},[a,s,d,u,f,h]);return L.jsx(tb,{zoom:i==null?void 0:i.initialZoom,center:g,options:cw,mapContainerClassName:Ee(Ze.root,e,{[Ze.hideUI]:l}),onLoad:n,onIdle:r,onUnmount:o,onClick:m,children:t})},_f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAAEICAYAAAAJEPtqAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAFmTSURBVHgB7X1psGVHedjX545GaBkYEKDFGB4Yi4BjZ6SRKFYz88+uggSSQAL5geQkUhbHoKSSOFtpximXU85igbMhx9aQBSfIFUNwIOVyrCckgo00SxIjh/0JxIwkS+hJI7TMzD2d/vr21/fr7q/79Ln33Pvum5lPenPO6X359l6ugvMwCOw5um+3eeyG8XgPtOPdoJs1rfSrQOvdoNRuBbBmE5p30CadmuZlr5ug1aZJswnQbk6Sqw0T9iCA3mxAH1N6x+Z9b1w/BudhEFBwHnqDQfY1OH1qX6tGf0K14zUMMkO5FiQSRlbxt2I8BbgQrYU86hgShSEQQxTN3U0LG+cJoz+cJ4AOsJx9PN7XaniH0u0eDLIcPACHoME3TMPCxzROlgICqLR4OYOREnBMG6Jo2ubTl+6AY+vXrG/CecjCeQIQYM99b9tnhuZPGUwzyK73aR6p49Q6CFZA+Cljd5bL5+KzoDozuLasK0cQ91+/vg7nIYDzBACOy58evxsaeIdB+HdPOXyI3PxFV5atiHszrh2oQmGA9FlVSyIWZBULpcG6efl024w+dey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jqBRwiPLko1veuf6kF3pc2E2xP4b4fFV53DRKcH0un5r8LAiiJ8DNuFACSwG+9Qn6SbAvBCLtQz43UGjKPfDeM/kIfhZEu47Rj2djId/YaYQxr7TT/gQW2gF/rlGfcrNODebdglk9sQ6F3HeVH9uGTy80ykjgDl4+C4d6Dvu/1TxL29URx7UgjR4286f4thzmi1PyKI3hqUrrghjVafDZNBPd6+8x/JY78Jti2QnsN2JgAOgbqE7/RDeqgOOcNU81+cwTQkLRhhABnZFI9eDZIcMCEU3L9CxrdduSZAaYIGotv8p5xaIY4xERUt8kEH8hDHpvJtpyOEpiceKnEErV3btbOTLJLSj95hv1F35z9ttGPyA3jaXUMCtDhFOzH5RvxluisXBWcLAeQgIAxSnRDYijQe4bThZ6YXvqKIt0iO2zXG7OdVneENTjWgw9sWiGDQI0LEhcA2/PmG0Tc+ESiOhxMCuzIsIbqdqoqQ2nbScXKqk9yP+I7tZ4eSvL7ufkLWc3QE2nKM706VQbA4fzYguwRnOwHkwBMGHeTBX5B3hjYe6LFP+s1h+tkmBPo1eYIzk98vsz82jU+naiGx+FsaxtMf9LNExKEQrgl5EbGxTI7MpJ7gaiqdv8Z3vEqQ2sp87kC/BE/l09Uizg+PQSvlnVkWnKsEUALyHE0OKYPd1arcdlzlruRAu8Mmdgt4FsHoSWsIJF3Yj094VYx+tR6BrR9oLpGQQ+OTqyPoBWPuRXA7Jm17nJoCrs0BF2f9O6cQvAvOE8B8oHqGE7cF59rV/Jv9yHQM1rh1e2QmAexM7NmqniwD/j9/ewWbk1NBkwAAAABJRU5ErkJggg==",Xf=28,$f=({children:t,hideFooter:e,minSnapHeight:n,submitDisabled:r,onSubmitClick:o,...i})=>L.jsx(Ru,{...i,expandOnContentDrag:!0,initialFocusRef:!1,defaultSnap:({snapPoints:s})=>Math.min(...s),snapPoints:({headerHeight:s,minHeight:a,footerHeight:l,maxHeight:u})=>[n==null?a:s+l+n,u-Xf],footer:e?null:L.jsx(wt,{disabled:r,variant:"primary",className:Ze.sheetSubmit,onClick:o,children:L.jsx(gn,{keyName:"choose",ns:"common"})}),sibling:L.jsx("div",{"data-rsbs-backdrop":"true",onClick:s=>{var a;s.stopPropagation(),s.preventDefault(),(a=i.onDismiss)==null||a.call(i)}}),blocking:!1,children:L.jsx("div",{className:Ze.bottomSheet,children:t})}),ed=t=>se.createElement("svg",{width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},se.createElement("rect",{width:42,height:42,rx:21,fill:"white"}),se.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"}),se.createElement("rect",{x:.5,y:.5,width:41,height:41,rx:20.5,stroke:"#1D3665",strokeOpacity:.1})),dw=t=>se.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},se.createElement("g",{clipPath:"url(#clip0_422_11470)"},se.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"})),se.createElement("defs",null,se.createElement("clipPath",{id:"clip0_422_11470"},se.createElement("rect",{width:20.0004,height:20,fill:"white"})))),td={root:"CloseButton-module__root__233rOd",absolutePositionVariant:"CloseButton-module__absolutePositionVariant__MMkQ0-",relativePositionVariant:"CloseButton-module__relativePositionVariant__fdYFY4"},_r=({position:t="absolute",className:e,...n})=>L.jsx("div",{...n,className:Ee(td.root,e,td[`${t}PositionVariant`]),children:L.jsx(dw,{})}),fn={root:"CourierBalloon-module__root__4MUq03",details:"CourierBalloon-module__details__Ji6B9l",header:"CourierBalloon-module__header__SAzGF6",title:"CourierBalloon-module__title__FdGkJ2",description:"CourierBalloon-module__description__Su359i",actions:"CourierBalloon-module__actions__zJkpDW",errorVariant:"CourierBalloon-module__errorVariant__TjUPgn",logo:"CourierBalloon-module__logo__DMba5H"},va=({SSR:t,variant:e,address:n,className:r,hasCloseButton:o,onDetails:i,onClose:s})=>{const a=e==="error",l=e==="default",u=t?"{ courier_balloon.title }":L.jsx(gn,{keyName:"title",ns:"courier_balloon"}),f=t?"{ courier_balloon.error_title }":L.jsx(gn,{keyName:"error_title",ns:"courier_balloon"}),d=t?"{ courier_balloon.error_description }":L.jsx(gn,{keyName:"error_description",ns:"courier_balloon"});return L.jsxs("div",{className:Ee(fn.root,r,fn[`${e}Variant`]),children:[L.jsxs("div",{className:fn.header,children:[L.jsx(ed,{className:fn.logo}),L.jsx("span",{className:fn.title,children:a?f:u}),o&&L.jsx(_r,{onClick:s})]}),L.jsx("div",{className:fn.description,children:a?d:(n==null?void 0:n.address_full)||"{{ properties.address }}"}),l&&L.jsx("div",{className:fn.actions,children:L.jsx(wt,{id:mo,as:"button",variant:"primary",className:fn.details,onClick:i,children:t?"{ details }":L.jsx(gn,{keyName:"details",ns:"common"})})})]})},nd=({isSelectedPoint:t})=>{const[e,n]=c.useState(!0),r=Ve(o=>o.detailsOpen);return c.useEffect(()=>{n(t?!r:!0)},[r,t]),e},rd={root:"Chip-module__root__A1duWr",active:"Chip-module__active__PmXa7K"},od=({active:t,children:e,className:n,...r})=>L.jsx("div",{...r,className:Ee(rd.root,n,{[rd.active]:t}),children:e}),hw={root:"TextArea-module__root__l-RDfr"},id=c.forwardRef(({className:t,inputRef:e,onChange:n,onBlur:r,...o},i)=>{const s=c.useRef(null);c.useImperativeHandle(i,()=>({focus:()=>{var l;(l=s.current)==null||l.focus()},blur:()=>{var l;(l=s.current)==null||l.blur()},setValue:l=>{if(n){n({target:{value:l}});return}r&&r({target:{value:l}}),s.current&&(s.current.value=l)}}),[r,n]);const a=Sd(e,s);return L.jsx("textarea",{...o,ref:a,className:Ee(hw.root,t),onBlur:r,onChange:n})}),pw=({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},sd=t=>{const{delivery_time:e,apartment_number:n}=t;return!!e&&!!n},ft={title:"CourierDetailsView-module__title__erksdV",logo:"CourierDetailsView-module__logo__qYbLKL",header:"CourierDetailsView-module__header__JofwHC",content:"CourierDetailsView-module__content__8xEbUb",section:"CourierDetailsView-module__section__NQlWki",chips:"CourierDetailsView-module__chips__T1ep8H",actions:"CourierDetailsView-module__actions__IgFrOE",submit:"CourierDetailsView-module__submit__Z-6fPa",actionsHidden:"CourierDetailsView-module__actionsHidden__VfVd-Y",commentSection:"CourierDetailsView-module__commentSection__vN110S",comment:"CourierDetailsView-module__comment__rOoPVP"},gw=({location:t,hideActions:e,classes:n,onClose:r,onChange:o,onSubmit:i})=>{var b;const{inputs:s}=Tt(),{t:a}=xt(["details_modal","courier_balloon","common"]),l=c.useMemo(()=>pw({set:o}),[o]),[u,f]=c.useReducer(l,{...t,comment:"",delivery_time:"",apartment_number:""}),d=()=>{i==null||i(u)},h=y=>()=>{f({payload:y,type:"SET_DELIVERY_TIME"})},g=y=>{f({payload:y.target.value,type:"SET_APARTMENT_NUMBER"})},m=y=>{f({payload:y.target.value,type:"SET_COMMENT"})},p=sd(u),E=Oi(s==null?void 0:s.apartment),w=Oi(s==null?void 0:s.comment);return L.jsxs(L.Fragment,{children:[L.jsxs("div",{className:Ee(ft.header,n==null?void 0:n.header),children:[L.jsx(_r,{onClick:r}),L.jsxs("div",{className:ft.title,children:[L.jsx(ed,{className:ft.logo}),L.jsx("span",{children:a("title",{ns:"courier_balloon"})})]})]}),L.jsxs("div",{className:Ee(ft.content,n==null?void 0:n.content),children:[L.jsxs("section",{className:ft.section,children:[L.jsxs("label",{children:[a("address"),":"]}),L.jsx("p",{children:(b=t.address)==null?void 0:b.address_full})]}),L.jsxs("section",{className:ft.section,children:[L.jsxs("label",{children:[a("delivery_time"),":"]}),L.jsxs("div",{className:ft.chips,children:[L.jsx(od,{active:u.delivery_time==="8:00-13:00",onClick:h("8:00-13:00"),children:"8:00 - 13:00"}),L.jsx(od,{active:u.delivery_time==="14:00-22:00",onClick:h("14:00-22:00"),children:"14:00 - 22:00"})]})]}),L.jsxs("section",{className:ft.section,children:[L.jsxs("label",{children:[a("apartment_number"),":"]}),L.jsx(id,{...E,rows:1,onChange:g})]}),L.jsxs("section",{className:Ee(ft.section,ft.commentSection),children:[L.jsxs("label",{children:[a("comment"),":"]}),L.jsx(id,{...w,className:ft.comment,onChange:m})]})]}),L.jsx("div",{className:Ee(ft.actions,{[ft.actionsHidden]:e}),children:L.jsx(wt,{disabled:!p,variant:"primary",className:ft.submit,onClick:d,children:a("choose",{ns:"common"})})})]})},ad=c.memo(gw),vw={header:Ze.courierDetailsViewHeader,content:Ze.courierDetailsViewContent},mw=({point:t,setOpenDetails:e,setCourierPoint:n,onPointClick:r})=>{const o=nd({isSelectedPoint:!0}),[i,s]=c.useState({...t,comment:"",delivery_time:"",apartment_number:""});c.useEffect(()=>{s({...t,comment:"",delivery_time:"",apartment_number:""})},[t]);const[a,l]=c.useState(null),u=no("screenSm"),f={lat:i.coords[0],lng:i.coords[1]},d=()=>{e==null||e(!0)},h=()=>{n==null||n(null)},g={url:_f,scaledSize:new google.maps.Size(...Yt)},m=()=>{r==null||r(i),e==null||e(!1),n==null||n(null)},p=L.jsx(va,{...i,hasCloseButton:u,variant:i.address?"default":"error",className:Ze.balloon,onDetails:d,onClose:h}),E=sd(i),w=o&&!!(a!=null&&a.getVisible());return L.jsxs(rf,{noClustererRedraw:!0,icon:g,position:f,options:Zf,onLoad:l,children:[u&&L.jsxs($f,{minSnapHeight:i.address?200:void 0,submitDisabled:!E,hideFooter:!i.address,open:w,onDismiss:h,onSubmitClick:m,children:[i.address&&L.jsx(ad,{classes:vw,hideActions:!0,location:t,onChange:s,onClose:h}),!i.address&&p]}),!u&&w&&L.jsx(wf,{onCloseClick:h,children:p})]})},ma="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAAEICAYAAAAJEPtqAAAACXBIWXMAACxLAAAsSwGlPZapAA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h2CJHIR1uO8S4ZyG431bh2QHRHb37mBmA/geS+R77JqpALFrmf4LMpI2NnZ4iTaQyuKU3XewPdZ3zY/aBWEHkOCGTg3rK+Luzg+UHnq6RfseVNB6cFDxPrJmS40Fj7byyI9yrVR/y/yGcO0dxYSOvhMHpfuFa2TOqCsBB3z2fzf4qDBADBBdkgPGYKbY0EcuXvyQbJsZLPRPqr4m+saMeoOk3iPkX1gGwSzW75grsp9hL3+T2IOccBAXgLGsWG5v7ykfzEO215mzgplHcB376uDJ4Jusrq7ajcBiy4ydxsgojGi7w+tnmBH1tXEfO7gI5p00v+aI2TesyQICt/dy3iHixi9TiEcECL32IyTRv01+yVNn1XWKxZtiy8GMzOIaz7+mtNN6Renfbzuavx5/xBkgFgONYX+0A6NMb1JiboOct4tmcD8YhCNQnQcH/QSzSmwKjNTG7/UJ64iDuIAHKEL1Fi0RpYLNjH3QMDAr7G8UP0D/iQeH035Y8AQCaPOgGUtNwJhYTC/zEK3juigrt+1hnvBzWGzSPibu14T44GOChxGaSAybLcuv8vqaQOYVEv2aWmciX4fBbouUjiShx+G4MkASTPZX8dwzYBBoD9i61wO/UWwRnAnjZbPED4BcF9d5/TFjfgXXmaE+aM96jQh1ic0za3pg3RIwzJDrtikR8wUw5fXvqosXtdyGebIhNFFjuCAYGX7RwD5Ho/UrAaI+mpK8KE4YYDQEmGWwOdAs9k/vtNOHafB4iWv2R6WHTLZu2g6wzg3QTup5QOTgd4IHD3FEzZNx4D8AZH5movEFnzAAAAAASUVORK5CYII=",ld=t=>se.createElement("svg",{width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},se.createElement("rect",{width:42,height:42,rx:21,fill:"white"}),se.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"}),se.createElement("path",{d:"M15.1629 25V17H16.929L19.6222 20.2333L22.3045 17H24.0816V25H22.3597V19.6333L19.6222 22.9222L16.8738 19.6444V25H15.1629Z",fill:"black"}),se.createElement("path",{d:"M25.4032 25V17H27.1693L31.6176 22.3333V17H33.3505V25H31.5845L27.1141 19.6444V25H25.4032Z",fill:"black"}),se.createElement("path",{d:"M34.3112 25V17H36V25H34.3112Z",fill:"black"}),se.createElement("rect",{x:.5,y:.5,width:41,height:41,rx:20.5,stroke:"#1D3665",strokeOpacity:.1})),ot={title:"LocationView-module__title__QP69kD",logo:"LocationView-module__logo__nlPQaG",header:"LocationView-module__header__9DDuVU",content:"LocationView-module__content__Se2TSy",section:"LocationView-module__section__9m1x1v",chips:"LocationView-module__chips__6j-ZAh",services:"LocationView-module__services__rwbp2x",images:"LocationView-module__images__zfnQMA",image:"LocationView-module__image__JKvt9J",actions:"LocationView-module__actions__AGih3C",actionsHidden:"LocationView-module__actionsHidden__DBV1vj",submit:"LocationView-module__submit__6mD2w-",scheduleItem:"LocationView-module__scheduleItem__snTLMb"},yw=({location:t,hideActions:e,classes:n,onClose:r,onSubmit:o})=>{const{t:i}=xt(["details_modal","common"]);return L.jsxs(L.Fragment,{children:[L.jsxs("div",{className:Ee(ot.header,n==null?void 0:n.header),children:[L.jsx(_r,{onClick:r}),L.jsxs("div",{className:ot.title,children:[L.jsx(ld,{className:ot.logo}),L.jsx("span",{children:t.name})]})]}),L.jsxs("div",{className:Ee(ot.content,n==null?void 0:n.content),children:[L.jsxs("section",{className:ot.section,children:[L.jsxs("label",{children:[i("address"),":"]}),L.jsx("p",{children:t.location.full_address})]}),t.schedule.length>0&&L.jsxs("section",{className:ot.section,children:[L.jsxs("label",{children:[i("schedule"),":"]}),t.schedule.map((s,a)=>L.jsx("p",{className:ot.scheduleItem,children:s},a))]}),(t.pay_by_card||t.pay_by_card)&&L.jsxs("section",{className:ot.section,children:[L.jsxs("label",{children:[i("payment_method"),":"]}),L.jsxs("div",{className:ot.chips,children:[t.pay_by_cash&&i("pay_by_cash"),t.pay_by_card&&t.pay_by_cash&&", ",t.pay_by_card&&i("pay_by_card")]})]}),L.jsxs("section",{className:ot.section,children:[L.jsxs("label",{children:[i("services"),":"]}),L.jsxs("div",{className:ot.services,children:[t.is_pickup&&L.jsx("span",{children:i("is_pickup")}),t.is_delivery&&L.jsx("span",{children:i("is_delivery")}),t.is_dressing_room&&L.jsx("span",{children:i("is_dressing_room")}),t.is_check_order&&L.jsx("span",{children:i("is_check_order")})]})]}),L.jsxs("section",{className:ot.section,children:[L.jsxs("label",{children:[i("location"),":"]}),L.jsx("p",{children:t.location_name})]}),t.images.length>0&&L.jsx("section",{className:ot.images,children:t.images.map(s=>L.jsx("img",{src:s,alt:t.name,className:ot.image},s))})]}),L.jsx("div",{className:Ee(ot.actions,{[ot.actionsHidden]:e}),children:L.jsx(wt,{variant:"primary",className:ot.submit,onClick:o,children:i("choose",{ns:"common"})})})]})},ud=c.memo(yw),bw=t=>se.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},se.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"})),On={root:"LocationBalloon-module__root__D5p9cL",submit:"LocationBalloon-module__submit__Ri5JaR",details:"LocationBalloon-module__details__6et6aX",header:"LocationBalloon-module__header__LCvDj0",title:"LocationBalloon-module__title__octhrc",description:"LocationBalloon-module__description__r7vFbw",actions:"LocationBalloon-module__actions__-jdejn"},cd=({SSR:t,name:e,location:n,onSubmit:r,className:o,onDetails:i,location_name:s})=>L.jsxs("div",{className:Ee(On.root,o),children:[L.jsxs("div",{className:On.header,children:[L.jsx(ld,{}),L.jsx("span",{className:On.title,children:e||"{{ properties.point.name }}"})]}),L.jsxs("div",{className:On.description,children:[(n==null?void 0:n.full_address)||"{{ properties.point.location.full_address }}",","," ",s||"{{ properties.point.location_name }}"]}),L.jsxs("div",{className:On.actions,children:[L.jsx(wt,{id:Xi,variant:"primary",className:On.submit,onClick:r,children:t?"{ choose }":L.jsx(gn,{keyName:"choose",ns:"common"})}),L.jsxs(wt,{id:mo,as:"link",variant:"primary",className:On.details,onClick:i,children:[t?"{ details }":L.jsx(gn,{keyName:"details",ns:"common"}),L.jsx(bw,{})]})]})]}),ww={header:Ze.locationViewHeader,content:Ze.locationViewContent},Ew=({point:t,clusterer:e,onPointClick:n,selectedPoint:r,setOpenDetails:o,onPointSelected:i})=>{const s=no("screenSm"),[a,l]=c.useState(null),u=()=>{o==null||o(!1),i==null||i(t)},f=()=>{i==null||i(null)},d=()=>{o==null||o(!0),i==null||i(t)},h=()=>{n==null||n(t),o==null||o(!1),i==null||i(null)},g=(r==null?void 0:r.uid)===t.uid,m=g?zn:Yt,p=nd({isSelectedPoint:g}),E={scaledSize:new google.maps.Size(...m),url:t.type===30?ya:ma},w={lat:t.location.latitude,lng:t.location.longitude},b=g&&p&&!!(a!=null&&a.getVisible());return L.jsxs(rf,{noClustererRedraw:!0,icon:E,position:w,clusterer:e,options:Zf,onLoad:l,onClick:u,children:[s&&L.jsx($f,{minSnapHeight:200,open:b,onDismiss:f,onSubmitClick:h,children:L.jsx(ud,{classes:ww,hideActions:!0,location:t,onClose:f})}),b&&!s&&L.jsx(wf,{onCloseClick:f,children:L.jsx(cd,{...t,className:Ze.balloon,onSubmit:h,onDetails:d})})]},t.uid)},Cw=({points:t,selectedPoint:e,onOpenDetails:n,onPointClick:r,onPointSelected:o})=>L.jsx(xb,{clusterClass:Ze.cluster,onClusteringEnd:()=>{setTimeout(()=>{const i=document.getElementsByClassName(Ze.cluster);for(const s of i)s.addEventListener("touchstart",Mc,{passive:!0})},100)},onUnmount:()=>{const i=document.getElementsByClassName(Ze.cluster);for(const s of i)s.removeEventListener("touchstart",Mc)},children:i=>L.jsx(c.Fragment,{children:t.map(s=>L.jsx(Ew,{point:s,clusterer:i,selectedPoint:e,setOpenDetails:n,onPointClick:r,onPointSelected:o},s.uid))})}),Sw=c.memo(Cw),Lw=({onOpenDetails:t,onPointClick:e,onPointSelected:n})=>{const{locale:r}=Tt(),o=zt(l=>l.points),i=At(l=>l.location),s=$t(l=>l.place),a=JSON.stringify([o.length,r,s==null?void 0:s.place_id]);return L.jsx(Sw,{points:o,selectedPoint:i,onOpenDetails:t,onPointClick:e,onPointSelected:n},a)},xw=c.memo(Lw),Aw=t=>se.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},se.createElement("g",{id:"icon"},se.createElement("rect",{id:"Rectangle 1602",x:9,width:2,height:20,rx:1,fill:"white"}),se.createElement("rect",{id:"Rectangle 1603",x:20,y:9,width:2,height:20,rx:1,transform:"rotate(90 20 9)",fill:"white"}),se.createElement("circle",{id:"Ellipse 789",cx:10,cy:10,r:8,fill:"white"}),se.createElement("circle",{id:"Ellipse 790",cx:10,cy:10,r:6,fill:"currentcolor"}),se.createElement("circle",{id:"Ellipse 791",cx:10,cy:10,r:4,fill:"white"}))),Ow=t=>{const e=document.createElement("div"),n=document.createElement("div");e.classList.add(Ze.mapControl),n.classList.add(Ze.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)})},Mw=t=>{const e=document.createElement("div");e.classList.add(Ze.mapControl),e.classList.add(Ze.geolocationControl),e.innerHTML=uo.renderToString(L.jsx(Aw,{})),t.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(e),e.addEventListener("click",()=>{Pc(async n=>{var a;const{latitude:r,longitude:o}=n.coords,s=await Qr([r,o]);$t.getState().setPlace((a=s.results)==null?void 0:a[0])})})},Pw=({className:t})=>{const e=Ve(w=>w.map),n=Ve(w=>w.setMap),r=Ve(w=>w.loading),o=Ve(w=>w.setDetailsOpen),i=Sn(),s=zt(w=>w.loading),a=zt(w=>w.loadNext),l=$t(w=>w.setPlace),u=mt(w=>w.courierPoint),f=mt(w=>w.setCourierPoint),d=At(w=>w.setSelectedPoint),{onPointClick:h}=Tt(),g=c.useCallback(w=>{n(w),Ow(w),Mw(w)},[n]),m=c.useCallback(()=>{n(null)},[n]),p=c.useCallback(()=>{if(!e)return;const w=e==null?void 0:e.getBounds();w&&a([[w.getSouthWest().lat(),w.getNorthEast().lat()],[w.getSouthWest().lng(),w.getNorthEast().lng()]],i)},[i,a,e]),E=c.useCallback(async w=>{var A;if(f(null),d(w),!w)return;const b=[w.location.latitude,w.location.longitude],y=await Qr(b);l((A=y.results)==null?void 0:A[0])},[f,l,d]);return L.jsxs("div",{className:Ee(Ze.mapContainer,t),children:[L.jsxs(fw,{onIdle:p,onLoad:g,onUnmount:m,children:[u&&L.jsx(mw,{point:u,onPointClick:h,setOpenDetails:o,setCourierPoint:f}),L.jsx(xw,{onPointClick:h,onOpenDetails:o,onPointSelected:E})]}),(s||r)&&L.jsx(oa,{className:Ze.overlay,children:L.jsx(ia,{})})]})},kw=c.memo(Pw);function Mn(){return Mn=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},Mn.apply(this,arguments)}const fd=(t,e)=>{const n={};for(const r in t)e.indexOf(r)===-1&&(n[r]=t[r]);return n},dd=c.createContext(null),Ci=c.createContext(null),hd=t=>e=>c.createElement(Ci.Consumer,null,n=>c.createElement(t,Mn({parent:n},e))),Iw=(t=[])=>{const[e,n]=c.useState(!1),r=c.useRef(t),o=(()=>{const s=c.useContext(dd);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})(),i=o.getApi();return c.useEffect(()=>{o.load().then(()=>Promise.all(r.current.map(o.loadModule))).then(()=>n(!0))},[]),e&&i?i:null},Dw=()=>{},Tw=["onLoad","onError","modules","apiLoader"];function ba(t,e=!1,n=[]){return r=>{const{width:o,height:i,modules:s=[],onLoad:a=Dw}=r,l=Iw(n.concat(s)),u=!e||!!l,f=fd(r,Tw);return c.useEffect(()=>l?a(l):void 0,[l]),u?c.createElement(t,Mn({ymaps:l},f)):c.createElement("div",{style:{width:o,height:i}})}}const Bw=typeof window<"u",pd={lang:"ru_RU",load:"",ns:"",mode:"release"},Nw=t=>{const{version:e="2.1",enterprise:n=!1,query:r={lang:"ru_RU",load:"",ns:""},preload:o=!1,children:i}=t,s=c.useRef((a=>{const{query:l=pd}=a,u=Date.now().toString(32),f=l.ns||"",d="__yandex-maps-api-onload__$$"+u,h="__yandex-maps-api-onerror__$$"+u,g=Bw?window:{},m={};let p;const E=()=>f?g[f]:p,w=()=>{delete g[d],delete g[h]};return{load:()=>{if(E())return Promise.resolve(p);if(m[f])return m[f];const b={onload:d,onerror:h,...pd,...l},y=Object.keys(b).map(S=>`${S}=${b[S]}`).join("&"),A=[`https://${a.enterprise?"enterprise.":""}api-maps.yandex.ru`,a.version,"?"+y].join("/");return m[f]=new Promise((S,v)=>{g[d]=C=>{w(),C.ready(()=>{p=C,S(C)})},g[h]=C=>{w(),v(C)},(C=>new Promise((x,D)=>{const M=document.createElement("script");M.type="text/javascript",M.onload=x,M.onerror=D,M.src=C,M.async=!0,document.head.appendChild(M)}))(A).catch(g[h])}),m[f]},getApi:E,loadModule:b=>new Promise((y,A)=>{p.modules.require(b).done(S=>{S.forEach(v=>{((C,x,D,M=!1)=>{const O=typeof x=="string"?x.split("."):x.slice();let k,N=C;for(;O.length>1;)k=O.shift(),N[k]||(N[k]={}),N=N[k];const H=O[0];N[H]=M===!0&&N[H]||D})(p,b,v,!0)}),y(p)},A)})}})({version:e,enterprise:n,query:r,preload:o}));return c.useEffect(()=>{o&&s.current.load()},[s.current]),c.createElement(dd.Provider,{value:s.current},i)},gd=/^on(?=[A-Z])/;function Fe(t){return Object.keys(t).reduce((e,n)=>{if(gd.test(n)){const r=n.replace(gd,"").toLowerCase();e._events[r]=t[n]}else e[n]=t[n];return e},{_events:{}})}function Pn(t,e,n){typeof n=="function"&&t.events.add(e,n)}function kn(t,e,n){typeof n=="function"&&t.events.remove(e,n)}function ir(t,e,n){Object.keys(Object.assign({},e,n)).forEach(r=>{e[r]!==n[r]&&(kn(t,r,e[r]),Pn(t,r,n[r]))})}const vd=t=>"default"+t.charAt(0).toUpperCase()+t.slice(1);function $e(t,e){return t[e]!==void 0||t[vd(e)]===void 0}function X(t,e,n){return($e(t,e)?t[e]:t[vd(e)])||n}function et(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 md(t){const{width:e,height:n,style:r,className:o}=t;return r!==void 0||o!==void 0?Object.assign({},r&&{style:r},o&&{className:o}):{style:{width:e,height:n}}}class jw extends c.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 wa=t=>({onError:e,...n})=>c.createElement(jw,{onError:e},c.createElement(t,n));class Xr extends c.Component{constructor(){super(),this.instance=null,this.state={instance:null},this._parentElement=null,this._getRef=e=>{this._parentElement=e}}componentDidMount(){this.instance=Xr.mountObject(this._parentElement,this.props.ymaps.Map,this.props),this.setState({instance:this.instance})}componentDidUpdate(e){this.instance!==null&&Xr.updateObject(this.instance,e,this.props)}componentWillUnmount(){Xr.unmountObject(this.instance,this.props)}render(){const e=md(this.props),n=Fe(this.props),r=fd(n,["_events","state","defaultState","options","defaultOptions","instanceRef","ymaps","children","width","height","style","className"]);return c.createElement(Ci.Provider,{value:this.state.instance},c.createElement("div",Mn({ref:this._getRef},e,r),this.props.children))}static mountObject(e,n,r){const{instanceRef:o,_events:i}=Fe(r),s=new n(e,X(r,"state"),X(r,"options"));return Object.keys(i).forEach(a=>Pn(s,a,i[a])),et(null,o,s),s}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if($e(r,"state")){const l=X(n,"state",{}),u=X(r,"state",{});l.type!==u.type&&e.setType(u.type),l.behaviors!==u.behaviors&&(l.behaviors&&e.behaviors.disable(l.behaviors),u.behaviors&&e.behaviors.enable(u.behaviors)),u.zoom&&l.zoom!==u.zoom&&e.setZoom(u.zoom),u.center&&l.center!==u.center&&e.setCenter(u.center),u.bounds&&l.bounds!==u.bounds&&e.setBounds(u.bounds)}if($e(r,"options")){const l=X(n,"options"),u=X(r,"options",{});l!==u&&e.options.set(u)}X(n,"width")===X(r,"width")&&X(n,"height")===X(r,"height")||e.container.fitToViewport(),ir(e,s,o),et(a,i,e)}static unmountObject(e,n){const{instanceRef:r,_events:o}=Fe(n);e!==null&&(Object.keys(o).forEach(i=>kn(e,i,o[i])),e.destroy(),et(r))}}const yd=wa(ba(Xr,!0,["Map"]));yd.defaultProps={width:320,height:240};class Si extends c.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()&&Si.mountObject(this._parentElement,this.props.ymaps.panorama,this.props).then(e=>this._mounted&&this.setState({instance:e}))}componentDidUpdate(e){this.state.instance!==null&&Si.updateObject(this.state.instance,e,this.props)}componentWillUnmount(){this._mounted=!1,Si.unmountObject(this.state.instance,this.props)}render(){const e=md(this.props);return c.createElement("div",Mn({ref:this._getRef},e))}static mountObject(e,n,r){const{instanceRef:o,_events:i}=Fe(r),s=X(r,"point"),a=X(r,"locateOptions"),l=X(r,"options");return new Promise((u,f)=>{n.locate(s,a).done(d=>{if(d.length>0){const h=new n.Player(e,d[0],l);et(null,o,h),Object.keys(i).forEach(g=>Pn(h,g,i[g])),u(h)}},f)})}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if($e(r,"options")){const l=X(n,"options"),u=X(r,"options");l!==u&&e.options.set(u)}if($e(r,"point")){const l=X(r,"point"),u=X(n,"point"),f=X(r,"locateOptions");l!==u&&e.moveTo(l,f)}ir(e,s,o),et(a,i,e)}static unmountObject(e,n){const{instanceRef:r,_events:o}=Fe(n);e!==null&&(Object.keys(o).forEach(i=>kn(e,i,o[i])),et(r))}}class Li extends c.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){const e=Li.mountControl(this.props.ymaps.control[this.props.name],this.props);this.instance=e,this.setState({instance:e})}componentDidUpdate(e){this.instance!==null&&Li.updateControl(this.instance,e,this.props)}componentWillUnmount(){Li.unmountControl(this.instance,this.props)}render(){return c.createElement(Ci.Provider,{value:this.state.instance},this.props.children)}static mountControl(e,n){const{instanceRef:r,parent:o,lazy:i,_events:s}=Fe(n),a=new e({data:X(n,"data"),options:X(n,"options"),state:X(n,"state"),mapTypes:X(n,"mapTypes"),lazy:i});if(Object.keys(s).forEach(l=>Pn(a,l,s[l])),o&&o.controls&&typeof o.controls.add=="function")o.controls.add(a);else{if(!o||!o.add||typeof o.add!="function")throw new Error(`No parent found to mount ${n.name}`);o.add(a)}return et(null,r,a),a}static updateControl(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if($e(r,"options")){const l=X(n,"options"),u=X(r,"options");l!==u&&e.options.set(u)}if($e(r,"data")){const l=X(n,"data"),u=X(r,"data");l!==u&&e.data.set(u)}if($e(r,"state")){const l=X(n,"state"),u=X(r,"state");l!==u&&e.state.set(u)}if($e(r,"mapTypes")){const l=X(n,"mapTypes"),u=X(r,"mapTypes");l!==u&&(e.removeAllMapTypes(),u.forEach(f=>e.addMapType(f)))}ir(e,s,o),et(a,i,e)}static unmountControl(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n);e!==null&&(Object.keys(i).forEach(s=>kn(e,s,i[s])),o.controls&&typeof o.controls.remove=="function"?o.controls.remove(e):o.remove&&typeof o.remove=="function"&&o.remove(e),et(r))}}class xi extends c.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){const e=xi.mountObject(this.props.ymaps.Clusterer,this.props);this.instance=e,this.setState({instance:e})}componentDidUpdate(e){this.state.instance!==null&&xi.updateObject(this.instance,e,this.props)}componentWillUnmount(){xi.unmountObject(this.instance,this.props)}render(){return c.createElement(Ci.Provider,{value:this.state.instance},this.props.children)}static mountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n),s=new e(X(n,"options"));if(Object.keys(i).forEach(a=>Pn(s,a,i[a])),o.geoObjects&&typeof o.geoObjects.add=="function")o.geoObjects.add(s);else{if(!o.add||typeof o.add!="function")throw new Error("No parent found to mount Clusterer");o.add(s)}return et(null,r,s),s}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if($e(r,"options")){const l=X(n,"options"),u=X(r,"options");l!==u&&e.options.set(u)}ir(e,s,o),et(a,i,e)}static unmountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n);e!==null&&(Object.keys(i).forEach(s=>kn(e,s,i[s])),o.geoObjects&&typeof o.geoObjects.remove=="function"?o.geoObjects.remove(e):o.remove&&typeof o.remove=="function"&&o.remove(e),et(r))}}class $r extends c.Component{constructor(){super(),this.state={instance:null}}componentDidMount(){const e=$r.mountObject(this.props.ymaps.ObjectManager,this.props);this.instance=e,this.setState({instance:e})}componentDidUpdate(e){this.instance!==null&&$r.updateObject(this.instance,e,this.props)}componentWillUnmount(){$r.unmountObject(this.instance,this.props)}render(){return null}static mountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n),s=X(n,"options",{}),a=X(n,"features",{}),l=X(n,"filter",null),u=X(n,"objects",{}),f=X(n,"clusters",{}),d=new e(s);if(d.add(a||[]),d.setFilter(l),d.objects.options.set(u),d.clusters.options.set(f),Object.keys(i).forEach(h=>Pn(d,h,i[h])),o.geoObjects&&typeof o.geoObjects.add=="function")o.geoObjects.add(d);else{if(!o.add||typeof o.add!="function")throw new Error("No parent found to mount ObjectManager");o.add(d)}return et(null,r,d),d}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if($e(r,"options")){const l=X(n,"options"),u=X(r,"options");l!==u&&e.options.set(u)}if($e(r,"objects")){const l=X(n,"objects"),u=X(r,"objects");l!==u&&e.objects.options.set(u)}if($e(r,"clusters")){const l=X(n,"clusters"),u=X(r,"clusters");l!==u&&e.clusters.options.set(u)}if($e(r,"filter")){const l=X(n,"filter"),u=X(r,"filter");l!==u&&e.setFilter(u)}if($e(r,"features")){const l=X(n,"features"),u=X(r,"features");l!==u&&(e.remove(l),e.add(u))}ir(e,s,o),et(a,i,e)}static unmountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n);e!==null&&(Object.keys(i).forEach(s=>kn(e,s,i[s])),o.geoObjects&&typeof o.geoObjects.remove=="function"?o.geoObjects.remove(e):o.remove&&typeof o.remove=="function"&&o.remove(e),et(r))}}var Uw=wa(hd(ba($r,!0,["ObjectManager"])));class eo extends c.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){const{name:e,ymaps:n,dangerZone:r}=this.props,o=eo.mountObject(r&&typeof r.modifyConstructor=="function"?r.modifyConstructor(n[e]):n[e],this.props);this.instance=o,this.setState({instance:o})}componentDidUpdate(e){this.instance!==null&&eo.updateObject(this.instance,e,this.props)}componentWillUnmount(){eo.unmountObject(this.instance,this.props)}render(){return null}static mountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n),s=new e(X(n,"geometry"),X(n,"properties"),X(n,"options"));if(Object.keys(i).forEach(a=>Pn(s,a,i[a])),o&&o.geoObjects&&typeof o.geoObjects.add=="function")o.geoObjects.add(s);else{if(!o||!o.add||typeof o.add!="function")throw new Error(`No parent found to mount ${n.name}`);o.add(s)}return et(null,r,s),s}static updateObject(e,n,r){const{_events:o,instanceRef:i}=Fe(r),{_events:s,instanceRef:a}=Fe(n);if($e(r,"geometry")){const l=X(n,"geometry",{}),u=X(r,"geometry",{});Array.isArray(u)&&u!==l?Array.isArray(u[0])&&typeof u[1]=="number"?(e.geometry.setCoordinates(u[0]),e.geometry.setRadius(u[1])):e.geometry.setCoordinates(u):typeof u=="object"&&(u.coordinates!==l.coordinates&&e.geometry.setCoordinates(u.coordinates),u.radius!==l.radius&&e.geometry.setRadius(u.radius))}if($e(r,"properties")){const l=X(n,"properties"),u=X(r,"properties");l!==u&&e.properties.set(u)}if($e(r,"options")){const l=X(n,"options"),u=X(r,"options");l!==u&&e.options.set(u)}ir(e,s,o),et(a,i,e)}static unmountObject(e,n){const{instanceRef:r,parent:o,_events:i}=Fe(n);e!==null&&(Object.keys(i).forEach(s=>kn(e,s,i[s])),o.geoObjects&&typeof o.geoObjects.remove=="function"?o.geoObjects.remove(e):o.remove&&typeof o.remove=="function"&&o.remove(e),et(r))}}var bd=wa(hd(ba(t=>c.createElement(eo,Mn({},t,{name:"Placemark"})),!0,["Placemark"])));const wd=(t,e,n)=>t==null?void 0:t.map(r=>{var o;return{id:r.uid,type:"Feature",properties:{point:r},geometry:{type:"Point",coordinates:[r.location.latitude,r.location.longitude]},options:{hideIconOnBalloonOpen:!1,preset:Ai(r.type),balloonOffset:[0,-zn[1]],balloonContentLayout:(o=e==null?void 0:e.templateLayoutFactory)==null?void 0:o.createClass(n)}}}),Ai=(t,e)=>t===30?`custom#pin-postmat${e?`__${e}`:""}`:`custom#pin-pvz${e?`__${e}`:""}`,to=t=>[-(t[0]/2),-t[1]],Hw={en:"en_US",ru:"ru_RU"},zw={load:"suggest",apikey:"5298a725-4baa-457a-a2a7-c3abac81db20"},Fw=["templateLayoutFactory","option.presetStorage","geocode"],Vw=["objectManager.addon.objectsBalloon"],Ed=["geoObject.addon.balloon"],Gw={yandexMapDisablePoiInteractivity:!1},Qw={clusterize:!0},Cd={iconImageSize:Yt,iconLayout:"default#image",hideIconOnBalloonOpen:!1,iconImageHref:_f,balloonOffset:[0,-Yt[1]],iconImageOffset:to(Yt)},Ea={root:"MapYandex-module__root__r3kDJ8",overlay:"MapYandex-module__overlay__f7UGYS",details:"MapYandex-module__details__E3bDvL"},Yw=({className:t})=>{const{t:e}=xt(["courier_balloon","common"]),n=c.useRef(),r=c.useRef(null),{map:o,locale:i,disableCourierDelivery:s,hideMapUI:a,onPointClick:l}=Tt(),[u,f]=c.useState(null),[d,h]=c.useState([]),[g,m]=c.useState(Qw),p=Ve(P=>P.setLoaded),E=Ve(P=>P.setDetailsOpen),w=Sn(),b=zt(P=>P.points),y=zt(P=>P.loading),A=zt(P=>P.loadNext),S=mt(P=>P.courierPoint),v=mt(P=>P.setCourierPoint),C=At(P=>P.location),x=At(P=>P.setSelectedPoint),D=c.useRef([]),M=c.useMemo(()=>uo.renderToString(L.jsx(cd,{SSR:!0})).replace("{ choose }",e("choose")).replace("{ details }",e("details")),[e,i]),O=c.useMemo(()=>uo.renderToString(L.jsx(va,{SSR:!0,variant:"default"})).replace("{ details }",e("details",{ns:"common"})).replace("{ courier_balloon.title }",e("title")),[e,i]),k=c.useMemo(()=>uo.renderToString(L.jsx(va,{SSR:!0,variant:"error"})).replace("{ courier_balloon.error_title }",e("error_title")).replace("{ courier_balloon.error_description }",e("error_description")),[e,i]),N=c.useMemo(()=>({zoom:(o==null?void 0:o.initialZoom)??$i,center:(o==null?void 0:o.center)??yo,behaviors:["default","scrollZoom"]}),[o==null?void 0:o.center,o==null?void 0:o.initialZoom]);c.useEffect(()=>{var P,Q;(Q=n.current)==null||Q.events.fire("boundschange",{newBounds:(P=n.current)==null?void 0:P.getBounds()})},[u]),c.useEffect(()=>{var Q;if(!u||!r.current)return;for(const Z of D.current)Z.id!==(C==null?void 0:C.uid)&&((Q=r.current)==null||Q.remove(Z));const P=wd(b,u,M);D.current=P,r.current.add(P)},[M,u,b,C==null?void 0:C.uid]);const H=c.useCallback(P=>{const Q=P.get("newBounds");A([[Q[0][0],Q[1][0]],[Q[0][1],Q[1][1]]],w)},[w,A]),G=c.useRef(C),q=c.useCallback(P=>{var Q,Z,R,te;f(P),p(),(Q=P==null?void 0:P.option)==null||Q.presetStorage.add("custom#pin-postmat",{iconImageSize:Yt,iconLayout:"default#image",iconImageHref:ya,iconImageOffset:to(Yt)}),(Z=P==null?void 0:P.option)==null||Z.presetStorage.add("custom#pin-postmat__active",{iconLayout:"default#image",iconImageHref:ya,iconImageSize:zn,iconImageOffset:to(zn)}),(R=P==null?void 0:P.option)==null||R.presetStorage.add("custom#pin-pvz",{iconImageSize:Yt,iconLayout:"default#image",iconImageHref:ma,iconImageOffset:to(Yt)}),(te=P==null?void 0:P.option)==null||te.presetStorage.add("custom#pin-pvz__active",{iconLayout:"default#image",iconImageHref:ma,iconImageSize:zn,iconImageOffset:to(zn)}),m(ie=>{const re=window.getComputedStyle(document.getElementById(Oc)).getPropertyValue("--color-primary");return{...ie,clusterIconColor:re}}),h(wd(b,P,M))},[M,b,p]),V=c.useCallback(()=>{E(!0)},[E]),K=c.useCallback(()=>{var P;G.current&&(l==null||l(G.current),E(!1),x(null),v(null),(P=n.current)==null||P.balloon.close())},[l,v,E,x]),B=c.useCallback(()=>{var P,Q;(P=document.getElementById(mo))==null||P.addEventListener("click",V),(Q=document.getElementById(Xi))==null||Q.addEventListener("click",K)},[K,V]),I=c.useCallback(P=>{var Z,R,te,ie,re,fe;const Q=P.get("objectId");((Z=G.current)==null?void 0:Z.uid)===Q&&((ie=r.current)==null||ie.objects.setObjectOptions((R=G.current)==null?void 0:R.uid,{preset:Ai((te=G.current)==null?void 0:te.type)}),v(null),x(null),v(null),G.current=null),(re=document.getElementById(mo))==null||re.removeEventListener("click",V),(fe=document.getElementById(Xi))==null||fe.removeEventListener("click",K)},[K,V,v,x]),T=c.useCallback(P=>{var te,ie,re,fe;const Q=P.get("objectId"),Z=(ie=(te=r.current)==null?void 0:te.objects)==null?void 0:ie.getById(Q);if(!Z)return;const R=Z.properties.point;E(!1),v(null),x(R),(re=r.current)==null||re.objects.each(je=>{var ye;const ve=je;(ye=r.current)==null||ye.objects.setObjectOptions(ve.id,{preset:Ai(ve.properties.point.type)})}),(fe=r.current)==null||fe.objects.setObjectOptions(Q,{preset:Ai(R.type,"active")}),G.current=R},[v,E,x]),F=c.useCallback(async P=>{if(!u||s)return;const Q=P.get("coords"),{geoObjects:Z}=await u.geocode(Q),R=Z.get(0),te=R.getAddressLine(),ie=R.properties.get("metaDataProperty.GeocoderMetaData.precision",{});if(x(null),ie!=="exact"){v({coords:Q,address:null});return}const re=await Jf({address:te,algorithm:10,service:10,language:i||es});if(!kc(re))return;const fe=re==null?void 0:re.data.data;v({coords:Q,address:fe})},[s,i,u,v,x]),U=c.useMemo(()=>{var P;return{...Cd,balloonContentLayout:(P=u==null?void 0:u.templateLayoutFactory)==null?void 0:P.createClass(O)}},[O,u==null?void 0:u.templateLayoutFactory]),Y=c.useMemo(()=>{var P;return{...Cd,balloonContentLayout:(P=u==null?void 0:u.templateLayoutFactory)==null?void 0:P.createClass(k)}},[k,u==null?void 0:u.templateLayoutFactory]),ee=c.useCallback(P=>{var Q,Z,R,te,ie;(Q=P==null?void 0:P.balloon)==null||Q.open(),(R=(Z=P==null?void 0:P.balloon)==null?void 0:Z.events)==null||R.add("open",B),(ie=(te=P==null?void 0:P.balloon)==null?void 0:te.events)==null||ie.add("close",I)},[I,B]);return L.jsxs("div",{className:Ee(Ea.root,t,{[Ea.hideUI]:a}),children:[L.jsx(Nw,{query:{...zw,lang:Hw[i??"ru"]},children:L.jsxs(yd,{width:"100%",height:"100%",state:N,instanceRef:n,options:Gw,modules:Fw,onLoad:q,onClick:F,onBoundsChange:H,children:[(S==null?void 0:S.address)&&L.jsx(bd,{properties:S,modules:Ed,geometry:S.coords,options:U,instanceRef:ee},JSON.stringify(S.coords)),S&&!S.address&&L.jsx(bd,{modules:Ed,geometry:S.coords,instanceRef:ee,options:Y},JSON.stringify(S.coords)),L.jsx(Uw,{features:d,instanceRef:r,modules:Vw,options:g,onClick:T,onBalloonOpen:B,onBalloonClose:I})]})},i),y&&L.jsx(oa,{className:Ea.overlay,children:L.jsx(ia,{})})]})},Ww=c.memo(Yw),Rw=t=>({google:kw,yandex:Ww})[t];function Sd(...t){return c.useCallback(e=>{for(const n of t)typeof n=="function"?n(e):n&&typeof n=="object"&&(n.current=e)},t)}const Oi=t=>{const e=c.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}},Kw=()=>{throw new Error("useMediaQuery is a client-only hook")};function qw(t){const e=c.useCallback(r=>{const o=window.matchMedia(t);return o.addEventListener("change",r),()=>{o.removeEventListener("change",r)}},[t]),n=()=>window.matchMedia(t).matches;return c.useSyncExternalStore(e,n,Kw)}const Jw={screenSm:"768px",screenMd:"1024px",screenLg:"1280px",screenXl:"1536px"};function no(t){return qw(`(max-width: calc(${Jw[t]} - 1px))`)}const Zw={root:"Hr-module__root__tBRShh"},Ca=({className:t,...e})=>L.jsx("hr",{className:Ee(Zw.root,t),...e}),Rt={root:"Sidebar-module__root__hxXudu",closeButton:"Sidebar-module__closeButton__8k-Ph3",open:"Sidebar-module__open__qMGUBV",header:"Sidebar-module__header__Eu-wRc",typeFilter:"Sidebar-module__typeFilter__-lxVdY",separator:"Sidebar-module__separator__XDb6rs",withRightPadding:"Sidebar-module__withRightPadding__knvmuY",sheetContent:"Sidebar-module__sheetContent__4iWeTf",doneButton:"Sidebar-module__doneButton__chvXVP"},_w=()=>{const{t}=xt("common"),e=no("screenSm"),n=Fn(o=>o.toggle),r=()=>{n(!1)};return L.jsxs("div",{className:Rt.header,children:[e&&L.jsx("div",{className:Rt.doneButton,onClick:r,children:t("done")}),!e&&L.jsx(_r,{className:Rt.closeButton,onClick:r})]})},Mi={root:"TypeFilter-module__root__FEaBBU",button:"TypeFilter-module__button__RYOzBQ"},Xw=({value:t,onChange:e,className:n})=>{const{t:r}=xt("type_filter"),o=i=>()=>e==null?void 0:e(i);return L.jsxs("div",{className:Ee(Mi.root,n),children:[L.jsx(wt,{className:Mi.button,variant:t===sn.All?"primary":"secondary",onClick:o(sn.All),children:r("all")}),L.jsx(wt,{className:Mi.button,variant:t===sn.PostOffice?"primary":"secondary",onClick:o(sn.PostOffice),children:r("post_office")}),L.jsx(wt,{className:Mi.button,variant:t===sn.PickPoint?"primary":"secondary",onClick:o(sn.PickPoint),children:r("pick_point")})]})},$w=({className:t,onChange:e})=>{const n=Sn(r=>r.type);return L.jsx(Xw,{value:n,className:t,onChange:e})},eE=c.memo($w),Ld={root:"Radio-module__root__FMbfCi",label:"Radio-module__label__-LLJSR"},tE=({label:t,className:e,labelProps:n={},...r})=>{const{className:o,...i}=n;return L.jsxs("label",{className:Ee(Ld.label,o),...i,children:[L.jsx("input",{type:"radio",className:Ee(Ld.root,e),...r}),t]})},sr=t=>L.jsx(tE,{...t,type:"checkbox"}),Sa={root:"RadioGroup-module__root__wNjmrq",body:"RadioGroup-module__body__n4Ho0-",legend:"RadioGroup-module__legend__ECksBN"},xd=({label:t,value:e,onChange:n,children:r,className:o,...i})=>L.jsxs("div",{className:Ee(Sa.root,o),...i,children:[t&&L.jsx("span",{className:Sa.legend,children:t}),L.jsx("div",{className:Sa.body,children:c.Children.map(r,s=>c.isValidElement(s)?c.cloneElement(s,{checked:!!(e!=null&&e[s.props.value]),onChange:a=>n==null?void 0:n({...e,[a.target.value]:a.target.checked})}):null)})]}),nE=({className:t,onChange:e})=>{const{t:n}=xt("send_filter"),r=Sn(o=>o.send);return L.jsxs(xd,{className:t,value:r,label:n("title"),onChange:e,children:[L.jsx(sr,{name:"send",value:Ht.Return,label:n("sending_returns")}),L.jsx(sr,{name:"send",value:Ht.Shipping,label:n("shipping")}),L.jsx(sr,{name:"send",value:Ht.Payment,label:n("payment")})]})},rE=c.memo(nE),oE=({className:t,onChange:e})=>{const{t:n}=xt("receive_filter"),r=Sn(o=>o.receive);return L.jsxs(xd,{value:r,label:n("title"),onChange:e,className:t,children:[L.jsx(sr,{name:"receive",value:Ut.DressingRoom,label:n("dressing_room")}),L.jsx(sr,{name:"receive",value:Ut.CheckOrder,label:n("check_order")}),L.jsx(sr,{name:"receive",value:Ut.PayByCash,label:n("pay_by_cash")})]})},iE=c.memo(oE),XS="",sE=({className:t})=>{const e=no("screenSm"),n=Fn(f=>f.open),r=Fn(f=>f.toggle),o=Sn(f=>f.setFilter),i=c.useCallback(f=>o({type:f}),[o]),s=c.useCallback(f=>o({send:f}),[o]),a=c.useCallback(f=>o({receive:f}),[o]),l=c.useCallback(()=>r(!1),[r]),u=L.jsxs(L.Fragment,{children:[L.jsx(_w,{}),L.jsxs("div",{className:Rt.withRightPadding,children:[L.jsx(eE,{className:Rt.typeFilter,onChange:i}),L.jsx(Ca,{className:Rt.separator}),L.jsx(iE,{onChange:a}),L.jsx(Ca,{}),L.jsx(rE,{onChange:s}),L.jsx(Ca,{})]})]});return e?L.jsx(Ru,{initialFocusRef:!1,open:n,snapPoints:({maxHeight:f})=>f-Xf,onDismiss:l,children:L.jsx("div",{className:Rt.sheetContent,children:u})}):L.jsx("div",{className:Ee(Rt.root,t,{[Rt.open]:n}),children:u})},aE=t=>se.createElement("svg",{width:60,height:40,viewBox:"0 0 60 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},se.createElement("path",{d:"M0 0H52C56.4183 0 60 3.58172 60 8V32C60 36.4183 56.4183 40 52 40H0V0Z",fill:"none"}),se.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"})),lE=t=>se.createElement("svg",{width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},se.createElement("g",{id:"Filtr_mob"},se.createElement("rect",{id:"bg",width:28,height:28,rx:4,fill:"#333333"}),se.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"}))),Vt={root:"MapContainer-module__root__nze9pB",mapWrapper:"MapContainer-module__mapWrapper__twRo4C",wrapperBlurred:"MapContainer-module__wrapperBlurred__U-Ohae",locationSelector:"MapContainer-module__locationSelector__lEiSKq",filterButton:"MapContainer-module__filterButton__jIRGu9",sidebarOpen:"MapContainer-module__sidebarOpen__sUhaH-",filterIcon:"MapContainer-module__filterIcon__-2Qd2d",details:"MapContainer-module__details__sAP6T2"},uE=()=>{const t=Fn(o=>o.open),e=Fn(o=>o.toggle),n=no("screenSm"),r=()=>{e(!0)};return L.jsxs("div",{className:Ee(Vt.filterButton,{[Vt.sidebarOpen]:t}),onClick:n?void 0:r,children:[n&&L.jsx(sl,{}),n?L.jsx(lE,{className:Vt.filterIcon,onClick:r}):L.jsx(aE,{className:Vt.filterIcon})]})};var Ad={},Pi={},Od={exports:{}},cE="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",fE=cE,dE=fE;function Md(){}function Pd(){}Pd.resetWarningCache=Md;var hE=function(){function t(r,o,i,s,a,l){if(l!==dE){var u=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 u.name="Invariant Violation",u}}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:Pd,resetWarningCache:Md};return n.PropTypes=n,n};Od.exports=hE();var pE=Od.exports,ki={},ar={};Object.defineProperty(ar,"__esModule",{value:!0}),ar.loadGoogleMapScript=ar.isBrowser=void 0;var kd=typeof window<"u"&&window.document;ar.isBrowser=kd;var gE=function(e,n){if(!kd||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 o=new URL(n);o.searchParams.set("callback","__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__");var i=document.createElement("script");return i.src=o.toString(),new Promise(function(s){window.__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__=s,document.body.appendChild(i)})};ar.loadGoogleMapScript=gE;var Ii={};Object.defineProperty(Ii,"__esModule",{value:!0}),Ii.GOOGLE_MAP_SCRIPT_BASE_URL=void 0;var vE="https://maps.googleapis.com/maps/api/js";Ii.GOOGLE_MAP_SCRIPT_BASE_URL=vE;function Di(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Di=function(n){return typeof n}:Di=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Di(t)}Object.defineProperty(ki,"__esModule",{value:!0}),ki.default=CE;var dt=yE(c),La=ar,mE=Ii;function Id(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(Id=function(o){return o?n:e})(t)}function yE(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||Di(t)!=="object"&&typeof t!="function")return{default:t};var n=Id(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)){var s=o?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}return r.default=t,n&&n.set(t,r),r}function Dd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function Td(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Dd(Object(n),!0).forEach(function(r){bE(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Dd(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function bE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wE(t,e){if(t==null)return{};var n=EE(t,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function EE(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function CE(t){var e=t.ref,n=t.onPlaceSelected,r=t.apiKey,o=t.libraries,i=o===void 0?"places":o,s=t.inputAutocompleteValue,a=s===void 0?"new-password":s,l=t.options;l=l===void 0?{}:l;var u=l.types,f=u===void 0?["(cities)"]:u,d=l.componentRestrictions,h=l.fields,g=h===void 0?["address_components","geometry.location","place_id","formatted_address"]:h,m=l.bounds,p=wE(l,["types","componentRestrictions","fields","bounds"]),E=t.googleMapsScriptBaseUrl,w=E===void 0?mE.GOOGLE_MAP_SCRIPT_BASE_URL:E,b=t.language,y=(0,dt.useRef)(null),A=(0,dt.useRef)(null),S=(0,dt.useRef)(null),v=(0,dt.useRef)(null),C=b?"&language=".concat(b):"",x="".concat(w,"?libraries=").concat(i,"&key=").concat(r).concat(C),D=(0,dt.useCallback)(function(){return(0,La.loadGoogleMapScript)(w,x)},[w,x]);return(0,dt.useEffect)(function(){var M=Td(Td({},p),{},{fields:g,types:f,bounds:m});if(d&&(M.componentRestrictions=d),!(S.current||!y.current||!La.isBrowser)){e&&!e.current&&(e.current=y.current);var O=function(){var N;if(typeof google>"u")return console.error("Google has not been found. Make sure your provide apiKey prop.");if(!((N=google.maps)!==null&&N!==void 0&&N.places))return console.error("Google maps places API must be loaded.");if(!y.current instanceof HTMLInputElement)return console.error("Input ref must be HTMLInputElement.");S.current=new google.maps.places.Autocomplete(y.current,M),S.current&&(A.current=S.current.addListener("place_changed",function(){n&&S&&S.current&&n(S.current.getPlace(),y.current,S.current)}))};return r?D().then(function(){return O()}):O(),function(){return A.current?A.current.remove():void 0}}},[]),(0,dt.useEffect)(function(){var M;!(dt.default!==null&&dt.default!==void 0&&(M=dt.default.version)!==null&&M!==void 0&&M.startsWith("18"))&&La.isBrowser&&window.MutationObserver&&y.current&&y.current instanceof HTMLInputElement&&(v.current=new MutationObserver(function(){v.current.disconnect(),y.current&&(y.current.autocomplete=a)}),v.current.observe(y.current,{attributes:!0,attributeFilter:["autocomplete"]}))},[a]),(0,dt.useEffect)(function(){S.current&&S.current.setFields(g)},[g]),(0,dt.useEffect)(function(){S.current&&S.current.setBounds(m)},[m]),(0,dt.useEffect)(function(){S.current&&S.current.setComponentRestrictions(d)},[d]),(0,dt.useEffect)(function(){S.current&&S.current.setOptions(p)},[p]),{ref:y,autocompleteRef:S}}function Ti(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ti=function(n){return typeof n}:Ti=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Ti(t)}Object.defineProperty(Pi,"__esModule",{value:!0}),Pi.default=void 0;var xa=LE(c),Ke=Bd(pE),SE=Bd(ki);function Bd(t){return t&&t.__esModule?t:{default:t}}function Nd(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(Nd=function(o){return o?n:e})(t)}function LE(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||Ti(t)!=="object"&&typeof t!="function")return{default:t};var n=Nd(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)){var s=o?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}return r.default=t,n&&n.set(t,r),r}function Bi(){return Bi=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},Bi.apply(this,arguments)}function xE(t,e){if(t==null)return{};var n=AE(t,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function AE(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function jd(t){var e=t.onPlaceSelected,n=t.apiKey,r=t.libraries,o=t.inputAutocompleteValue,i=t.options,s=t.googleMapsScriptBaseUrl,a=t.refProp,l=t.language,u=xE(t,["onPlaceSelected","apiKey","libraries","inputAutocompleteValue","options","googleMapsScriptBaseUrl","refProp","language"]),f=(0,SE.default)({ref:a,googleMapsScriptBaseUrl:s,onPlaceSelected:e,apiKey:n,libraries:r,inputAutocompleteValue:o,options:i,language:l}),d=f.ref;return xa.default.createElement("input",Bi({ref:d},u))}jd.propTypes={apiKey:Ke.default.string,libraries:Ke.default.arrayOf(Ke.default.string),ref:Ke.default.oneOfType([Ke.default.func,Ke.default.shape({current:Ke.default.any})]),googleMapsScriptBaseUrl:Ke.default.string,onPlaceSelected:Ke.default.func,inputAutocompleteValue:Ke.default.string,options:Ke.default.shape({componentRestrictions:Ke.default.object,bounds:Ke.default.object,location:Ke.default.object,offset:Ke.default.number,origin:Ke.default.object,radius:Ke.default.number,sessionToken:Ke.default.object,types:Ke.default.arrayOf(Ke.default.string)}),language:Ke.default.string};var OE=(0,xa.forwardRef)(function(t,e){return xa.default.createElement(jd,Bi({},t,{refProp:e}))});Pi.default=OE,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(Pi),n=r(ki);function r(o){return o&&o.__esModule?o:{default:o}}}(Ad);var Ud=Ad;const ME=t=>se.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},se.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"})),lr={root:"Input-module__root__4cwtKq",endAdornment:"Input-module__endAdornment__Tv4vyT",input:"Input-module__input__qeMAQB",startAdornment:"Input-module__startAdornment__4bXzn1",label:"Input-module__label__N2eUZ2",inputContainer:"Input-module__inputContainer__Ticemx"},Hd=c.forwardRef(({label:t,className:e,startAdornment:n,endAdornment:r,onChange:o,onBlur:i,inputRef:s,...a},l)=>{const u=c.useRef(null);c.useImperativeHandle(l,()=>({focus:()=>{var d;(d=u.current)==null||d.focus()},blur:()=>{var d;(d=u.current)==null||d.blur()},setValue:d=>{if(o){o({target:{value:d}});return}if(i){i({target:{value:d}});return}u.current&&(u.current.value=d)}}),[i,o]);const f=Sd(s,u);return L.jsxs("label",{className:Ee(lr.root,e),children:[t&&L.jsx("span",{className:lr.label,children:t}),L.jsxs("div",{className:lr.inputContainer,children:[n&&L.jsx("div",{className:lr.startAdornment,children:n}),L.jsx("input",{...a,ref:f,className:lr.input,onChange:o,onBlur:i}),r&&L.jsx("div",{className:lr.endAdornment,children:r})]})]})}),PE=({className:t})=>{const{t:e}=xt("location_selector"),{country:n,inputs:r,onLocationSelect:o}=Tt(),[i,s]=c.useState(""),[a,l]=c.useState(!1),u=Ve(C=>C.setBlurred),f=Ve(C=>C.setDetailsOpen),d=$t(C=>C.setPlace),h=mt(C=>C.setCourierPoint),g=At(C=>C.setSelectedPoint),m=[],p=n?{componentRestrictions:{country:n},types:m}:{types:m},E=C=>{d(C),o==null||o(C)},{ref:w}=Ud.usePlacesWidget({libraries:["places"],options:p,onPlaceSelected:E,inputAutocompleteValue:i}),b=C=>{a&&u(!!C.target.value),s(C.target.value)},y=()=>{i&&u(!0),f(!1),h(null),g(null),l(!0)},A=()=>{u(!1),l(!1)},S=C=>{C.key==="Enter"&&C.preventDefault()},v=Oi(r==null?void 0:r.address);return L.jsx(Hd,{...v,inputRef:w,value:i,className:t,endAdornment:L.jsx(ME,{}),placeholder:e("placeholder"),onChange:b,onFocus:y,onBlur:A,onKeyDown:S})},kE=({className:t})=>Ve(n=>n.loaded)?L.jsx(PE,{className:t}):null,IE=c.memo(kE),DE={root:"CourierDetailsModal-module__root__gLu0VW"},TE=({onClose:t,onSubmit:e,location:n,className:r})=>L.jsx("div",{className:Ee(DE.root,r),children:L.jsx(ad,{location:n,onClose:t,onSubmit:e})}),BE={root:"LocationDetailsModal-module__root__AzUydF"},NE=({onClose:t,onSubmit:e,location:n,className:r})=>{const o=()=>{e==null||e(n)};return L.jsx("div",{className:Ee(BE.root,r),children:L.jsx(ud,{location:n,onClose:t,onSubmit:o})})},jE=()=>{const{onPointClick:t}=Tt(),e=Ve(u=>u.detailsOpen),n=Ve(u=>u.setDetailsOpen),r=At(u=>u.location),o=At(u=>u.setSelectedPoint),i=mt(u=>u.courierPoint),s=mt(u=>u.setCourierPoint),a=c.useCallback(()=>{n(!1)},[n]),l=c.useCallback(u=>{t==null||t(u),n(!1),o(null),s(null)},[t,s,n,o]);return L.jsxs(L.Fragment,{children:[(i==null?void 0:i.address)&&e&&L.jsx(TE,{location:i,className:Vt.details,onClose:a,onSubmit:l}),r&&e&&L.jsx(NE,{location:r,className:Vt.details,onClose:a,onSubmit:l})]})},UE=({className:t,children:e})=>{const n=Ve(r=>r.blurred);return L.jsxs("div",{className:Ee(Vt.root,t),children:[L.jsx(IE,{className:Vt.locationSelector}),L.jsx(uE,{}),L.jsx("div",{className:Ee(Vt.mapWrapper,{[Vt.wrapperBlurred]:n}),children:e}),L.jsx(jE,{})]})},HE=c.memo(UE),Ni={root:"Aside-module__root__JSqCyF",open:"Aside-module__open__t8OMLZ",overlay:"Aside-module__overlay__0UAvMb",container:"Aside-module__container__KJNP0t"},zE=({open:t,children:e,className:n})=>L.jsxs("div",{className:Ee(Ni.root,n,{[Ni.open]:t}),children:[L.jsx("div",{className:Ni.overlay}),L.jsx("div",{className:Ni.container,children:e})]}),ji={submit:"LocationAside-module__submit__hx8LTK",container:"LocationAside-module__container__KEGf9s",selector:"LocationAside-module__selector__ogsvtz",label:"LocationAside-module__label__-FWqoq",header:"LocationAside-module__header__qmaQaV",close:"LocationAside-module__close__bklFI7"},FE=c.forwardRef((t,e)=>{const{t:n}=xt(["location_aside","common"]),{country:r,inputs:o,hideCloseButtonOnLocationScreen:i,onLocationSelect:s,onCloseLocationSelector:a}=Tt(),l=c.useRef(null),u=$t(A=>A.setPlace),[f,d]=c.useState(""),h=wo(A=>A.open),g=wo(A=>A.toggle);c.useImperativeHandle(e,()=>({open:()=>g(!0),close:()=>g(!1)}),[g]);const m=A=>{g(!1),u(A),s==null||s(A),A!=null&&A.formatted_address&&d(A==null?void 0:A.formatted_address)},p=()=>{g(!1),a==null||a()},E=r?{componentRestrictions:{country:r}}:void 0,w=A=>{d(A.target.value)},{ref:b}=Ud.usePlacesWidget({libraries:["places"],options:E,onPlaceSelected:m,apiKey:"AIzaSyBO9gABz5DPTW3DcJuNCLx6Q7GmDYDRwRA",inputAutocompleteValue:f}),y=Oi(o==null?void 0:o.city);return L.jsx(zE,{open:h,children:L.jsx("div",{ref:l,className:ji.container,children:L.jsxs("div",{className:ji.selector,children:[L.jsxs("div",{className:ji.header,children:[L.jsx("div",{className:ji.label,children:n("choose_city")}),!i&&L.jsx(_r,{position:"relative",onClick:p})]}),L.jsx(Hd,{...y,inputRef:b,value:f,placeholder:n("placeholder"),onChange:w})]})})})}),VE=c.memo(FE),GE=t=>{const e=Uh(["language"]);c.useEffect(()=>{t&&(e.changeLanguage(t),po.setLanguage(t))},[t,e])},QE=t=>{c.useEffect(()=>{if(t){const e=Object.keys(t);for(const n of e){const r=t[n];r&&$s(`--color-${n}`,r)}}},[t])},YE=t=>{c.useEffect(()=>{t&&t!==void 0&&$s("--button-radius",`${t}px`)},[t])},WE=t=>{c.useEffect(()=>{t&&t!==void 0&&$s("--font",t)},[t])},RE=t=>{const e=wo(r=>r.toggle),n=t==="selector";c.useEffect(()=>{n&&e(!0)},[n,e])},KE=(t,e,n)=>{const r=Ve(f=>f.map),o=Ve(f=>f.setLoaded),i=$t(f=>f.setPlace),s=c.useRef(e),{isLoaded:a}=lb({language:s.current,libraries:vp,googleMapsApiKey:"AIzaSyBO9gABz5DPTW3DcJuNCLx6Q7GmDYDRwRA"});c.useEffect(()=>{a&&r&&o()},[a,r,o]);const l=t[0],u=t[1];c.useEffect(()=>{if(!a||!r)return;const f=[l,u],d=async()=>{var g;const h=await Qr(f,"GEOMETRIC_CENTER");i((g=h.results)==null?void 0:g[0],$i)};Pc(async h=>{var E;const{latitude:g,longitude:m}=h.coords,p=await Qr([g,m],"GEOMETRIC_CENTER");i((E=p.results)==null?void 0:E[0])},()=>d())},[a,l,u,r,i,n])},qE=({children:t,locale:e})=>(GE(e),L.jsx(L.Fragment,{children:t})),zd=()=>L.jsx(oa,{children:L.jsx(ia,{})}),JE=({children:t})=>{const e=zt(r=>r.loaded);return zt(r=>r.loading)&&!e?L.jsx(zd,{}):L.jsx(L.Fragment,{children:t})},Aa={map:"Widget-module__map__GhmuPO",sidebar:"Widget-module__sidebar__5gQrb3",header:"Widget-module__header__QlBK5m"},ZE=({config:t,options:e})=>{const n=F0(t),{map:r,font:o,radius:i,locale:s,palette:a,startScreen:l,INN:u}=n;dr(u,"INN is required"),V0(u,e),dr(r==null?void 0:r.provider,"Map provider is required");const f=Rw(r.provider);return A0(),WE(o),QE(a),YE(i),RE(l),dr(s,"Locale is required"),dr(r.center,"Map center is required"),dr(r.initialZoom,"Map initial zoom is required"),KE(r==null?void 0:r.center,s,r.initialZoom),L.jsx(Dh,{tolgee:Vh,fallback:L.jsx(zd,{}),children:L.jsx(qE,{locale:s,children:L.jsx(JE,{children:L.jsx(il.Provider,{value:n,children:L.jsxs(Op,{children:[L.jsx(xp,{className:Aa.header}),L.jsx(sE,{className:Aa.sidebar}),L.jsx(HE,{className:Aa.map,children:L.jsx(f,{})}),L.jsx(VE,{})]})})})})})};Dt.Widget=ZE,Object.defineProperty(Dt,Symbol.toStringTag,{value:"Module"})});