@omnic/widget-locations 1.0.0
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.
- package/README.md +47 -0
- package/dist/lib/src/api/client.d.ts +1 -0
- package/dist/lib/src/components/Aside/Aside.d.ts +9 -0
- package/dist/lib/src/components/Aside/index.d.ts +1 -0
- package/dist/lib/src/components/AsyncSelect/AsyncSelect.d.ts +9 -0
- package/dist/lib/src/components/AsyncSelect/index.d.ts +1 -0
- package/dist/lib/src/components/Balloon/Balloon.d.ts +9 -0
- package/dist/lib/src/components/Balloon/index.d.ts +1 -0
- package/dist/lib/src/components/Button/Button.d.ts +13 -0
- package/dist/lib/src/components/Button/index.d.ts +1 -0
- package/dist/lib/src/components/Checkbox/Checkbox.d.ts +2 -0
- package/dist/lib/src/components/Checkbox/index.d.ts +1 -0
- package/dist/lib/src/components/CheckboxGroup/CheckboxGroup.d.ts +9 -0
- package/dist/lib/src/components/CheckboxGroup/index.d.ts +1 -0
- package/dist/lib/src/components/CurrentLocation/CurrentLocation.d.ts +6 -0
- package/dist/lib/src/components/CurrentLocation/index.d.ts +1 -0
- package/dist/lib/src/components/Header/Header.d.ts +6 -0
- package/dist/lib/src/components/Header/index.d.ts +1 -0
- package/dist/lib/src/components/Hr/Hr.d.ts +4 -0
- package/dist/lib/src/components/Hr/index.d.ts +1 -0
- package/dist/lib/src/components/Layout/Layout.d.ts +6 -0
- package/dist/lib/src/components/Layout/index.d.ts +1 -0
- package/dist/lib/src/components/LocationAside/LocationAside.d.ts +1 -0
- package/dist/lib/src/components/LocationAside/index.d.ts +1 -0
- package/dist/lib/src/components/LocationDetailsModal/LocationDetailsModal.d.ts +10 -0
- package/dist/lib/src/components/LocationDetailsModal/index.d.ts +1 -0
- package/dist/lib/src/components/LocationSelector/LocationSelector.d.ts +9 -0
- package/dist/lib/src/components/LocationSelector/index.d.ts +1 -0
- package/dist/lib/src/components/MapGoogle/MapGoogle.constants.d.ts +4 -0
- package/dist/lib/src/components/MapGoogle/MapGoogle.d.ts +5 -0
- package/dist/lib/src/components/MapGoogle/index.d.ts +1 -0
- package/dist/lib/src/components/MapYandex/MapYandex.constants.d.ts +12 -0
- package/dist/lib/src/components/MapYandex/MapYandex.d.ts +4 -0
- package/dist/lib/src/components/MapYandex/MapYandex.utils.d.ts +23 -0
- package/dist/lib/src/components/MapYandex/index.d.ts +1 -0
- package/dist/lib/src/components/Overlay/Overlay.d.ts +7 -0
- package/dist/lib/src/components/Overlay/index.d.ts +1 -0
- package/dist/lib/src/components/Radio/Radio.d.ts +8 -0
- package/dist/lib/src/components/Radio/index.d.ts +1 -0
- package/dist/lib/src/components/Sidebar/Sidebar.d.ts +6 -0
- package/dist/lib/src/components/Sidebar/index.d.ts +1 -0
- package/dist/lib/src/components/Spinner/Spinner.d.ts +1 -0
- package/dist/lib/src/components/Spinner/index.d.ts +1 -0
- package/dist/lib/src/components/TypeFilter/TypeFilter.d.ts +9 -0
- package/dist/lib/src/components/TypeFilter/index.d.ts +1 -0
- package/dist/lib/src/constants/global.d.ts +1 -0
- package/dist/lib/src/constants/limits.d.ts +1 -0
- package/dist/lib/src/constants/map.d.ts +3 -0
- package/dist/lib/src/context/config.d.ts +3 -0
- package/dist/lib/src/context/filter.d.ts +9 -0
- package/dist/lib/src/context/location.d.ts +13 -0
- package/dist/lib/src/context/points.d.ts +11 -0
- package/dist/lib/src/hooks/index.d.ts +7 -0
- package/dist/lib/src/hooks/useConfig.d.ts +2 -0
- package/dist/lib/src/hooks/useFilters.d.ts +5 -0
- package/dist/lib/src/hooks/useInitializeAxios.d.ts +2 -0
- package/dist/lib/src/hooks/useLocation.d.ts +8 -0
- package/dist/lib/src/hooks/useLocationAside.d.ts +4 -0
- package/dist/lib/src/hooks/useMapFactory.d.ts +2 -0
- package/dist/lib/src/hooks/usePoints.d.ts +16 -0
- package/dist/lib/src/i18n.d.ts +127 -0
- package/dist/lib/src/index.d.ts +1 -0
- package/dist/lib/src/services/cities.d.ts +17 -0
- package/dist/lib/src/services/countries.d.ts +12 -0
- package/dist/lib/src/services/points.d.ts +11 -0
- package/dist/lib/src/types/cities.d.ts +11 -0
- package/dist/lib/src/types/config.d.ts +21 -0
- package/dist/lib/src/types/countries.d.ts +5 -0
- package/dist/lib/src/types/filters.d.ts +34 -0
- package/dist/lib/src/types/i18n.d.ts +2 -0
- package/dist/lib/src/types/map.d.ts +6 -0
- package/dist/lib/src/types/points.d.ts +56 -0
- package/dist/lib/src/types/regions.d.ts +5 -0
- package/dist/lib/src/views/Widget/Widget.d.ts +7 -0
- package/dist/lib/src/views/Widget/index.d.ts +1 -0
- package/dist/lib/style.css +1 -0
- package/dist/lib/widget.es.js +13334 -0
- package/dist/lib/widget.umd.js +76 -0
- package/package.json +66 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
(function(Fe,x){typeof exports=="object"&&typeof module<"u"?x(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"],x):(Fe=typeof globalThis<"u"?globalThis:Fe||self,x(Fe.widget={},Fe["react/jsx-runtime"],Fe.React,Fe.ReactDOM,Fe["react-dom/server"]))})(this,function(Fe,x,c,dt,au){"use strict";function Oi(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,s.get?s:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const G=Oi(c),Mi=Oi(dt),lu={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,e){console&&console[t]&&console[t].apply(console,e)}};class $t{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,n)}init(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=e||lu,this.options=n,this.debug=n.debug}log(){for(var e=arguments.length,n=new Array(e),s=0;s<e;s++)n[s]=arguments[s];return this.forward(n,"log","",!0)}warn(){for(var e=arguments.length,n=new Array(e),s=0;s<e;s++)n[s]=arguments[s];return this.forward(n,"warn","",!0)}error(){for(var e=arguments.length,n=new Array(e),s=0;s<e;s++)n[s]=arguments[s];return this.forward(n,"error","")}deprecate(){for(var e=arguments.length,n=new Array(e),s=0;s<e;s++)n[s]=arguments[s];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(e,n,s,i){return i&&!this.debug?null:(typeof e[0]=="string"&&(e[0]=`${s}${this.prefix} ${e[0]}`),this.logger[n](e))}create(e){return new $t(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new $t(this.logger,e)}}var Ve=new $t;class en{constructor(){this.observers={}}on(e,n){return e.split(" ").forEach(s=>{this.observers[s]=this.observers[s]||[],this.observers[s].push(n)}),this}off(e,n){if(this.observers[e]){if(!n){delete this.observers[e];return}this.observers[e]=this.observers[e].filter(s=>s!==n)}}emit(e){for(var n=arguments.length,s=new Array(n>1?n-1:0),i=1;i<n;i++)s[i-1]=arguments[i];this.observers[e]&&[].concat(this.observers[e]).forEach(o=>{o(...s)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(o=>{o.apply(o,[e,...s])})}}function Mt(){let t,e;const n=new Promise((s,i)=>{t=s,e=i});return n.resolve=t,n.reject=e,n}function Pi(t){return t==null?"":""+t}function uu(t,e,n){t.forEach(s=>{e[s]&&(n[s]=e[s])})}function gs(t,e,n){function s(o){return o&&o.indexOf("###")>-1?o.replace(/###/g,"."):o}function i(){return!t||typeof t=="string"}const r=typeof e!="string"?[].concat(e):e.split(".");for(;r.length>1;){if(i())return{};const o=s(r.shift());!t[o]&&n&&(t[o]=new n),Object.prototype.hasOwnProperty.call(t,o)?t=t[o]:t={}}return i()?{}:{obj:t,k:s(r.shift())}}function Bi(t,e,n){const{obj:s,k:i}=gs(t,e,Object);s[i]=n}function cu(t,e,n,s){const{obj:i,k:r}=gs(t,e,Object);i[r]=i[r]||[],s&&(i[r]=i[r].concat(n)),s||i[r].push(n)}function tn(t,e){const{obj:n,k:s}=gs(t,e);if(n)return n[s]}function du(t,e,n){const s=tn(t,n);return s!==void 0?s:tn(e,n)}function Ni(t,e,n){for(const s in e)s!=="__proto__"&&s!=="constructor"&&(s in t?typeof t[s]=="string"||t[s]instanceof String||typeof e[s]=="string"||e[s]instanceof String?n&&(t[s]=e[s]):Ni(t[s],e[s],n):t[s]=e[s]);return t}function ft(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var fu={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function pu(t){return typeof t=="string"?t.replace(/[&<>"'\/]/g,e=>fu[e]):t}const gu=[" ",",","?","!",";"];function hu(t,e,n){e=e||"",n=n||"";const s=gu.filter(o=>e.indexOf(o)<0&&n.indexOf(o)<0);if(s.length===0)return!0;const i=new RegExp(`(${s.map(o=>o==="?"?"\\?":o).join("|")})`);let r=!i.test(t);if(!r){const o=t.indexOf(n);o>0&&!i.test(t.substring(0,o))&&(r=!0)}return r}function nn(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!t)return;if(t[e])return t[e];const s=e.split(n);let i=t;for(let r=0;r<s.length;++r){if(!i||typeof i[s[r]]=="string"&&r+1<s.length)return;if(i[s[r]]===void 0){let o=2,a=s.slice(r,r+o).join(n),l=i[a];for(;l===void 0&&s.length>r+o;)o++,a=s.slice(r,r+o).join(n),l=i[a];if(l===void 0)return;if(l===null)return null;if(e.endsWith(a)){if(typeof l=="string")return l;if(a&&typeof l[a]=="string")return l[a]}const u=s.slice(r+o).join(n);return u?nn(l,u,n):void 0}i=i[s[r]]}return i}function hs(t){return t&&t.indexOf("_")>0?t.replace("_","-"):t}class ki extends en{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const n=this.options.ns.indexOf(e);n>-1&&this.options.ns.splice(n,1)}getResource(e,n,s){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const r=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,o=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let a=[e,n];s&&typeof s!="string"&&(a=a.concat(s)),s&&typeof s=="string"&&(a=a.concat(r?s.split(r):s)),e.indexOf(".")>-1&&(a=e.split("."));const l=tn(this.data,a);return l||!o||typeof s!="string"?l:nn(this.data&&this.data[e]&&this.data[e][n],s,r)}addResource(e,n,s,i){let r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let a=[e,n];s&&(a=a.concat(o?s.split(o):s)),e.indexOf(".")>-1&&(a=e.split("."),i=n,n=a[1]),this.addNamespaces(n),Bi(this.data,a,i),r.silent||this.emit("added",e,n,s,i)}addResources(e,n,s){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const r in s)(typeof s[r]=="string"||Object.prototype.toString.apply(s[r])==="[object Array]")&&this.addResource(e,n,r,s[r],{silent:!0});i.silent||this.emit("added",e,n,s)}addResourceBundle(e,n,s,i,r){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},a=[e,n];e.indexOf(".")>-1&&(a=e.split("."),i=s,s=n,n=a[1]),this.addNamespaces(n);let l=tn(this.data,a)||{};i?Ni(l,s,r):l={...l,...s},Bi(this.data,a,l),o.silent||this.emit("added",e,n,s)}removeResourceBundle(e,n){this.hasResourceBundle(e,n)&&delete this.data[e][n],this.removeNamespaces(n),this.emit("removed",e,n)}hasResourceBundle(e,n){return this.getResource(e,n)!==void 0}getResourceBundle(e,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(e,n)}:this.getResource(e,n)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const n=this.getDataByLanguage(e);return!!(n&&Object.keys(n)||[]).find(i=>n[i]&&Object.keys(n[i]).length>0)}toJSON(){return this.data}}var Ti={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,e,n,s,i){return t.forEach(r=>{this.processors[r]&&(e=this.processors[r].process(e,n,s,i))}),e}};const Gi={};class sn extends en{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),uu(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Ve.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const s=this.resolve(e,n);return s&&s.res!==void 0}extractFromKey(e,n){let s=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;s===void 0&&(s=":");const i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let r=n.ns||this.options.defaultNS||[];const o=s&&e.indexOf(s)>-1,a=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!hu(e,s,i);if(o&&!a){const l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:r};const u=e.split(s);(s!==i||s===i&&this.options.ns.indexOf(u[0])>-1)&&(r=u.shift()),e=u.join(i)}return typeof r=="string"&&(r=[r]),{key:e,namespaces:r}}translate(e,n,s){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const i=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,r=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:o,namespaces:a}=this.extractFromKey(e[e.length-1],n),l=a[a.length-1],u=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(d){const m=n.nsSeparator||this.options.nsSeparator;return i?{res:`${l}${m}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:l}:`${l}${m}${o}`}return i?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:l}:o}const f=this.resolve(e,n);let p=f&&f.res;const g=f&&f.usedKey||o,h=f&&f.exactUsedKey||o,v=Object.prototype.toString.apply(p),b=["[object Number]","[object Function]","[object RegExp]"],C=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,E=!this.i18nFormat||this.i18nFormat.handleAsObject;if(E&&p&&(typeof p!="string"&&typeof p!="boolean"&&typeof p!="number")&&b.indexOf(v)<0&&!(typeof C=="string"&&v==="[object Array]")){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const m=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,p,{...n,ns:a}):`key '${o} (${this.language})' returned an object instead of string.`;return i?(f.res=m,f):m}if(r){const m=v==="[object Array]",I=m?[]:{},L=m?h:g;for(const w in p)if(Object.prototype.hasOwnProperty.call(p,w)){const S=`${L}${r}${w}`;I[w]=this.translate(S,{...n,joinArrays:!1,ns:a}),I[w]===S&&(I[w]=p[w])}p=I}}else if(E&&typeof C=="string"&&v==="[object Array]")p=p.join(C),p&&(p=this.extendTranslation(p,e,n,s));else{let m=!1,I=!1;const L=n.count!==void 0&&typeof n.count!="string",w=sn.hasDefaultValue(n),S=L?this.pluralResolver.getSuffix(u,n.count,n):"",A=n.ordinal&&L?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",M=n[`defaultValue${S}`]||n[`defaultValue${A}`]||n.defaultValue;!this.isValidLookup(p)&&w&&(m=!0,p=M),this.isValidLookup(p)||(I=!0,p=o);const D=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&I?void 0:p,H=w&&M!==p&&this.options.updateMissing;if(I||m||H){if(this.logger.log(H?"updateKey":"missingKey",u,l,o,H?M:p),r){const F=this.resolve(o,{...n,keySeparator:!1});F&&F.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let k=[];const P=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&P&&P[0])for(let F=0;F<P.length;F++)k.push(P[F]);else this.options.saveMissingTo==="all"?k=this.languageUtils.toResolveHierarchy(n.lng||this.language):k.push(n.lng||this.language);const T=(F,V,Z)=>{const X=w&&Z!==p?Z:D;this.options.missingKeyHandler?this.options.missingKeyHandler(F,l,V,X,H,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(F,l,V,X,H,n),this.emit("missingKey",F,l,V,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&L?k.forEach(F=>{this.pluralResolver.getSuffixes(F,n).forEach(V=>{T([F],o+V,n[`defaultValue${V}`]||M)})}):T(k,o,M))}p=this.extendTranslation(p,e,n,f,s),I&&p===o&&this.options.appendNamespaceToMissingKey&&(p=`${l}:${o}`),(I||m)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?p=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${o}`:o,m?p:void 0):p=this.options.parseMissingKeyHandler(p))}return i?(f.res=p,f):p}extendTranslation(e,n,s,i,r){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...s},i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!s.skipInterpolation){s.interpolation&&this.interpolator.init({...s,interpolation:{...this.options.interpolation,...s.interpolation}});const u=typeof e=="string"&&(s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(u){const p=e.match(this.interpolator.nestingRegexp);d=p&&p.length}let f=s.replace&&typeof s.replace!="string"?s.replace:s;if(this.options.interpolation.defaultVariables&&(f={...this.options.interpolation.defaultVariables,...f}),e=this.interpolator.interpolate(e,f,s.lng||this.language,s),u){const p=e.match(this.interpolator.nestingRegexp),g=p&&p.length;d<g&&(s.nest=!1)}!s.lng&&this.options.compatibilityAPI!=="v1"&&i&&i.res&&(s.lng=i.usedLng),s.nest!==!1&&(e=this.interpolator.nest(e,function(){for(var p=arguments.length,g=new Array(p),h=0;h<p;h++)g[h]=arguments[h];return r&&r[0]===g[0]&&!s.context?(o.logger.warn(`It seems you are nesting recursively key: ${g[0]} in key: ${n[0]}`),null):o.translate(...g,n)},s)),s.interpolation&&this.interpolator.reset()}const a=s.postProcess||this.options.postProcess,l=typeof a=="string"?[a]:a;return e!=null&&l&&l.length&&s.applyPostProcessor!==!1&&(e=Ti.handle(l,e,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:i,...s}:s,this)),e}resolve(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,i,r,o,a;return typeof e=="string"&&(e=[e]),e.forEach(l=>{if(this.isValidLookup(s))return;const u=this.extractFromKey(l,n),d=u.key;i=d;let f=u.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const p=n.count!==void 0&&typeof n.count!="string",g=p&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),h=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",v=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);f.forEach(b=>{this.isValidLookup(s)||(a=b,!Gi[`${v[0]}-${b}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(a)&&(Gi[`${v[0]}-${b}`]=!0,this.logger.warn(`key "${i}" for languages "${v.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),v.forEach(C=>{if(this.isValidLookup(s))return;o=C;const E=[d];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(E,d,C,b,n);else{let m;p&&(m=this.pluralResolver.getSuffix(C,n.count,n));const I=`${this.options.pluralSeparator}zero`,L=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(E.push(d+m),n.ordinal&&m.indexOf(L)===0&&E.push(d+m.replace(L,this.options.pluralSeparator)),g&&E.push(d+I)),h){const w=`${d}${this.options.contextSeparator}${n.context}`;E.push(w),p&&(E.push(w+m),n.ordinal&&m.indexOf(L)===0&&E.push(w+m.replace(L,this.options.pluralSeparator)),g&&E.push(w+I))}}let y;for(;y=E.pop();)this.isValidLookup(s)||(r=y,s=this.getResource(C,b,y,n))}))})}),{res:s,usedKey:i,exactUsedKey:r,usedLng:o,usedNS:a}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,n,s){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,n,s,i):this.resourceStore.getResource(e,n,s,i)}static hasDefaultValue(e){const n="defaultValue";for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)&&n===s.substring(0,n.length)&&e[s]!==void 0)return!0;return!1}}function ms(t){return t.charAt(0).toUpperCase()+t.slice(1)}class Di{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Ve.create("languageUtils")}getScriptPartFromCode(e){if(e=hs(e),!e||e.indexOf("-")<0)return null;const n=e.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(e){if(e=hs(e),!e||e.indexOf("-")<0)return e;const n=e.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(e){if(typeof e=="string"&&e.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let s=e.split("-");return this.options.lowerCaseLng?s=s.map(i=>i.toLowerCase()):s.length===2?(s[0]=s[0].toLowerCase(),s[1]=s[1].toUpperCase(),n.indexOf(s[1].toLowerCase())>-1&&(s[1]=ms(s[1].toLowerCase()))):s.length===3&&(s[0]=s[0].toLowerCase(),s[1].length===2&&(s[1]=s[1].toUpperCase()),s[0]!=="sgn"&&s[2].length===2&&(s[2]=s[2].toUpperCase()),n.indexOf(s[1].toLowerCase())>-1&&(s[1]=ms(s[1].toLowerCase())),n.indexOf(s[2].toLowerCase())>-1&&(s[2]=ms(s[2].toLowerCase()))),s.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let n;return e.forEach(s=>{if(n)return;const i=this.formatLanguageCode(s);(!this.options.supportedLngs||this.isSupportedCode(i))&&(n=i)}),!n&&this.options.supportedLngs&&e.forEach(s=>{if(n)return;const i=this.getLanguagePartFromCode(s);if(this.isSupportedCode(i))return n=i;n=this.options.supportedLngs.find(r=>{if(r===i)return r;if(!(r.indexOf("-")<0&&i.indexOf("-")<0)&&r.indexOf(i)===0)return r})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(e,n){if(!e)return[];if(typeof e=="function"&&(e=e(n)),typeof e=="string"&&(e=[e]),Object.prototype.toString.apply(e)==="[object Array]")return e;if(!n)return e.default||[];let s=e[n];return s||(s=e[this.getScriptPartFromCode(n)]),s||(s=e[this.formatLanguageCode(n)]),s||(s=e[this.getLanguagePartFromCode(n)]),s||(s=e.default),s||[]}toResolveHierarchy(e,n){const s=this.getFallbackCodes(n||this.options.fallbackLng||[],e),i=[],r=o=>{o&&(this.isSupportedCode(o)?i.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return typeof e=="string"&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&r(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&r(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&r(this.getLanguagePartFromCode(e))):typeof e=="string"&&r(this.formatLanguageCode(e)),s.forEach(o=>{i.indexOf(o)<0&&r(this.formatLanguageCode(o))}),i}}let mu=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],vu={1:function(t){return+(t>1)},2:function(t){return+(t!=1)},3:function(t){return 0},4:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},5:function(t){return t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},6:function(t){return t==1?0:t>=2&&t<=4?1:2},7:function(t){return t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},8:function(t){return t==1?0:t==2?1:t!=8&&t!=11?2:3},9:function(t){return+(t>=2)},10:function(t){return t==1?0:t==2?1:t<7?2:t<11?3:4},11:function(t){return t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3},12:function(t){return+(t%10!=1||t%100==11)},13:function(t){return+(t!==0)},14:function(t){return t==1?0:t==2?1:t==3?2:3},15:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2},16:function(t){return t%10==1&&t%100!=11?0:t!==0?1:2},17:function(t){return t==1||t%10==1&&t%100!=11?0:1},18:function(t){return t==0?0:t==1?1:2},19:function(t){return t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3},20:function(t){return t==1?0:t==0||t%100>0&&t%100<20?1:2},21:function(t){return t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0},22:function(t){return t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3}};const bu=["v1","v2","v3"],yu=["v4"],Fi={zero:0,one:1,two:2,few:3,many:4,other:5};function Cu(){const t={};return mu.forEach(e=>{e.lngs.forEach(n=>{t[n]={numbers:e.nr,plurals:vu[e.fc]}})}),t}class Iu{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=n,this.logger=Ve.create("pluralResolver"),(!this.options.compatibilityJSON||yu.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Cu()}addRule(e,n){this.rules[e]=n}getRule(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(hs(e),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=this.getRule(e,n);return this.shouldUseIntlApi()?s&&s.resolvedOptions().pluralCategories.length>1:s&&s.numbers.length>1}getPluralFormsOfKey(e,n){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,s).map(i=>`${n}${i}`)}getSuffixes(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=this.getRule(e,n);return s?this.shouldUseIntlApi()?s.resolvedOptions().pluralCategories.sort((i,r)=>Fi[i]-Fi[r]).map(i=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i}`):s.numbers.map(i=>this.getSuffix(e,i,n)):[]}getSuffix(e,n){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(e,s);return i?this.shouldUseIntlApi()?`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${i.select(n)}`:this.getSuffixRetroCompatible(i,n):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,n){const s=e.noAbs?e.plurals(n):e.plurals(Math.abs(n));let i=e.numbers[s];this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1&&(i===2?i="plural":i===1&&(i=""));const r=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return this.options.compatibilityJSON==="v1"?i===1?"":typeof i=="number"?`_plural_${i.toString()}`:r():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1?r():this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString()}shouldUseIntlApi(){return!bu.includes(this.options.compatibilityJSON)}}function Vi(t,e,n){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,r=du(t,e,n);return!r&&i&&typeof n=="string"&&(r=nn(t,n,s),r===void 0&&(r=nn(e,n,s))),r}class Eu{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Ve.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(n=>n),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const n=e.interpolation;this.escape=n.escape!==void 0?n.escape:pu,this.escapeValue=n.escapeValue!==void 0?n.escapeValue:!0,this.useRawValueToEscape=n.useRawValueToEscape!==void 0?n.useRawValueToEscape:!1,this.prefix=n.prefix?ft(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?ft(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?ft(n.nestingPrefix):n.nestingPrefixEscaped||ft("$t("),this.nestingSuffix=n.nestingSuffix?ft(n.nestingSuffix):n.nestingSuffixEscaped||ft(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0?n.alwaysFormat:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=`${this.prefix}(.+?)${this.suffix}`;this.regexp=new RegExp(e,"g");const n=`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`;this.regexpUnescape=new RegExp(n,"g");const s=`${this.nestingPrefix}(.+?)${this.nestingSuffix}`;this.nestingRegexp=new RegExp(s,"g")}interpolate(e,n,s,i){let r,o,a;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(h){return h.replace(/\$/g,"$$$$")}const d=h=>{if(h.indexOf(this.formatSeparator)<0){const E=Vi(n,l,h,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(E,void 0,s,{...i,...n,interpolationkey:h}):E}const v=h.split(this.formatSeparator),b=v.shift().trim(),C=v.join(this.formatSeparator).trim();return this.format(Vi(n,l,b,this.options.keySeparator,this.options.ignoreJSONStructure),C,s,{...i,...n,interpolationkey:b})};this.resetRegExp();const f=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,p=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:h=>u(h)},{regex:this.regexp,safeValue:h=>this.escapeValue?u(this.escape(h)):u(h)}].forEach(h=>{for(a=0;r=h.regex.exec(e);){const v=r[1].trim();if(o=d(v),o===void 0)if(typeof f=="function"){const C=f(e,r,i);o=typeof C=="string"?C:""}else if(i&&Object.prototype.hasOwnProperty.call(i,v))o="";else if(p){o=r[0];continue}else this.logger.warn(`missed to pass in variable ${v} for interpolating ${e}`),o="";else typeof o!="string"&&!this.useRawValueToEscape&&(o=Pi(o));const b=h.safeValue(o);if(e=e.replace(r[0],b),p?(h.regex.lastIndex+=o.length,h.regex.lastIndex-=r[0].length):h.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),e}nest(e,n){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,r,o;function a(l,u){const d=this.nestingOptionsSeparator;if(l.indexOf(d)<0)return l;const f=l.split(new RegExp(`${d}[ ]*{`));let p=`{${f[1]}`;l=f[0],p=this.interpolate(p,o);const g=p.match(/'/g),h=p.match(/"/g);(g&&g.length%2===0&&!h||h.length%2!==0)&&(p=p.replace(/'/g,'"'));try{o=JSON.parse(p),u&&(o={...u,...o})}catch(v){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,v),`${l}${d}${p}`}return delete o.defaultValue,l}for(;i=this.nestingRegexp.exec(e);){let l=[];o={...s},o=o.replace&&typeof o.replace!="string"?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const d=i[1].split(this.formatSeparator).map(f=>f.trim());i[1]=d.shift(),l=d,u=!0}if(r=n(a.call(this,i[1].trim(),o),o),r&&i[0]===e&&typeof r!="string")return r;typeof r!="string"&&(r=Pi(r)),r||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`),r=""),u&&(r=l.reduce((d,f)=>this.format(d,f,s.lng,{...s,interpolationkey:i[1].trim()}),r.trim())),e=e.replace(i[0],r),this.regexp.lastIndex=0}return e}}function Lu(t){let e=t.toLowerCase().trim();const n={};if(t.indexOf("(")>-1){const s=t.split("(");e=s[0].toLowerCase().trim();const i=s[1].substring(0,s[1].length-1);e==="currency"&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):e==="relativetime"&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach(o=>{if(!o)return;const[a,...l]=o.split(":"),u=l.join(":").trim().replace(/^'+|'+$/g,"");n[a.trim()]||(n[a.trim()]=u),u==="false"&&(n[a.trim()]=!1),u==="true"&&(n[a.trim()]=!0),isNaN(u)||(n[a.trim()]=parseInt(u,10))})}return{formatName:e,formatOptions:n}}function pt(t){const e={};return function(s,i,r){const o=i+JSON.stringify(r);let a=e[o];return a||(a=t(i,r),e[o]=a),a(s)}}class xu{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Ve.create("formatter"),this.options=e,this.formats={number:pt((n,s)=>{const i=new Intl.NumberFormat(n,{...s});return r=>i.format(r)}),currency:pt((n,s)=>{const i=new Intl.NumberFormat(n,{...s,style:"currency"});return r=>i.format(r)}),datetime:pt((n,s)=>{const i=new Intl.DateTimeFormat(n,{...s});return r=>i.format(r)}),relativetime:pt((n,s)=>{const i=new Intl.RelativeTimeFormat(n,{...s});return r=>i.format(r,s.range||"day")}),list:pt((n,s)=>{const i=new Intl.ListFormat(n,{...s});return r=>i.format(r)})},this.init(e)}init(e){const s=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=s.formatSeparator?s.formatSeparator:s.formatSeparator||","}add(e,n){this.formats[e.toLowerCase().trim()]=n}addCached(e,n){this.formats[e.toLowerCase().trim()]=pt(n)}format(e,n,s){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((a,l)=>{const{formatName:u,formatOptions:d}=Lu(l);if(this.formats[u]){let f=a;try{const p=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},g=p.locale||p.lng||i.locale||i.lng||s;f=this.formats[u](a,g,{...d,...i,...p})}catch(p){this.logger.warn(p)}return f}else this.logger.warn(`there was no format function for ${u}`);return a},e)}}function Au(t,e){t.pending[e]!==void 0&&(delete t.pending[e],t.pendingCount--)}class wu extends en{constructor(e,n,s){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=n,this.services=s,this.languageUtils=s.languageUtils,this.options=i,this.logger=Ve.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(s,i.backend,i)}queueLoad(e,n,s,i){const r={},o={},a={},l={};return e.forEach(u=>{let d=!0;n.forEach(f=>{const p=`${u}|${f}`;!s.reload&&this.store.hasResourceBundle(u,f)?this.state[p]=2:this.state[p]<0||(this.state[p]===1?o[p]===void 0&&(o[p]=!0):(this.state[p]=1,d=!1,o[p]===void 0&&(o[p]=!0),r[p]===void 0&&(r[p]=!0),l[f]===void 0&&(l[f]=!0)))}),d||(a[u]=!0)}),(Object.keys(r).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(r),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(l)}}loaded(e,n,s){const i=e.split("|"),r=i[0],o=i[1];n&&this.emit("failedLoading",r,o,n),s&&this.store.addResourceBundle(r,o,s),this.state[e]=n?-1:2;const a={};this.queue.forEach(l=>{cu(l.loaded,[r],o),Au(l,e),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(u=>{a[u]||(a[u]={});const d=l.loaded[u];d.length&&d.forEach(f=>{a[u][f]===void 0&&(a[u][f]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(l=>!l.done)}read(e,n,s){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:n,fcName:s,tried:i,wait:r,callback:o});return}this.readingCalls++;const a=(u,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(u&&d&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,e,n,s,i+1,r*2,o)},r);return}o(u,d)},l=this.backend[s].bind(this.backend);if(l.length===2){try{const u=l(e,n);u&&typeof u.then=="function"?u.then(d=>a(null,d)).catch(a):a(null,u)}catch(u){a(u)}return}return l(e,n,a)}prepareLoading(e,n){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();typeof e=="string"&&(e=this.languageUtils.toResolveHierarchy(e)),typeof n=="string"&&(n=[n]);const r=this.queueLoad(e,n,s,i);if(!r.toLoad.length)return r.pending.length||i(),null;r.toLoad.forEach(o=>{this.loadOne(o)})}load(e,n,s){this.prepareLoading(e,n,{},s)}reload(e,n,s){this.prepareLoading(e,n,{reload:!0},s)}loadOne(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const s=e.split("|"),i=s[0],r=s[1];this.read(i,r,"read",void 0,void 0,(o,a)=>{o&&this.logger.warn(`${n}loading namespace ${r} for language ${i} failed`,o),!o&&a&&this.logger.log(`${n}loaded namespace ${r} for language ${i}`,a),this.loaded(e,o,a)})}saveMissing(e,n,s,i,r){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},a=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${s}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(s==null||s==="")){if(this.backend&&this.backend.create){const l={...o,isUpdate:r},u=this.backend.create.bind(this.backend);if(u.length<6)try{let d;u.length===5?d=u(e,n,s,i,l):d=u(e,n,s,i),d&&typeof d.then=="function"?d.then(f=>a(null,f)).catch(a):a(null,d)}catch(d){a(d)}else u(e,n,s,i,a,l)}!e||!e[0]||this.store.addResource(e[0],n,s,i)}}}function Hi(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let n={};if(typeof e[1]=="object"&&(n=e[1]),typeof e[1]=="string"&&(n.defaultValue=e[1]),typeof e[2]=="string"&&(n.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const s=e[3]||e[2];Object.keys(s).forEach(i=>{n[i]=s[i]})}return n},interpolation:{escapeValue:!0,format:(t,e,n,s)=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function ji(t){return typeof t.ns=="string"&&(t.ns=[t.ns]),typeof t.fallbackLng=="string"&&(t.fallbackLng=[t.fallbackLng]),typeof t.fallbackNS=="string"&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t}function rn(){}function Su(t){Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(n=>{typeof t[n]=="function"&&(t[n]=t[n].bind(t))})}class Pt extends en{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=ji(e),this.services={},this.logger=Ve,this.modules={external:[]},Su(this),n&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,n),this;setTimeout(()=>{this.init(e,n)},0)}}init(){var e=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;typeof n=="function"&&(s=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const i=Hi();this.options={...i,...this.options,...ji(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function r(d){return d?typeof d=="function"?new d:d:null}if(!this.options.isClone){this.modules.logger?Ve.init(r(this.modules.logger),this.options):Ve.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:typeof Intl<"u"&&(d=xu);const f=new Di(this.options);this.store=new ki(this.options.resources,this.options);const p=this.services;p.logger=Ve,p.resourceStore=this.store,p.languageUtils=f,p.pluralResolver=new Iu(f,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(p.formatter=r(d),p.formatter.init(p,this.options),this.options.interpolation.format=p.formatter.format.bind(p.formatter)),p.interpolator=new Eu(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new wu(r(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",function(g){for(var h=arguments.length,v=new Array(h>1?h-1:0),b=1;b<h;b++)v[b-1]=arguments[b];e.emit(g,...v)}),this.modules.languageDetector&&(p.languageDetector=r(this.modules.languageDetector),p.languageDetector.init&&p.languageDetector.init(p,this.options.detection,this.options)),this.modules.i18nFormat&&(p.i18nFormat=r(this.modules.i18nFormat),p.i18nFormat.init&&p.i18nFormat.init(this)),this.translator=new sn(this.services,this.options),this.translator.on("*",function(g){for(var h=arguments.length,v=new Array(h>1?h-1:0),b=1;b<h;b++)v[b-1]=arguments[b];e.emit(g,...v)}),this.modules.external.forEach(g=>{g.init&&g.init(this)})}if(this.format=this.options.interpolation.format,s||(s=rn),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=function(){return e.store[d](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=function(){return e.store[d](...arguments),e}});const l=Mt(),u=()=>{const d=(f,p)=>{this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),l.resolve(p),s(f,p)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),l}loadResources(e){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:rn;const i=typeof e=="string"?e:this.language;if(typeof e=="function"&&(s=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode")return s();const r=[],o=a=>{if(!a)return;this.services.languageUtils.toResolveHierarchy(a).forEach(u=>{r.indexOf(u)<0&&r.push(u)})};i?o(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>o(l)),this.options.preload&&this.options.preload.forEach(a=>o(a)),this.services.backendConnector.load(r,this.options.ns,a=>{!a&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),s(a)})}else s(null)}reloadResources(e,n,s){const i=Mt();return e||(e=this.languages),n||(n=this.options.ns),s||(s=rn),this.services.backendConnector.reload(e,n,r=>{i.resolve(),s(r)}),i}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&Ti.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let n=0;n<this.languages.length;n++){const s=this.languages[n];if(!(["cimode","dev"].indexOf(s)>-1)&&this.store.hasLanguageSomeTranslations(s)){this.resolvedLanguage=s;break}}}changeLanguage(e,n){var s=this;this.isLanguageChangingTo=e;const i=Mt();this.emit("languageChanging",e);const r=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},o=(l,u)=>{u?(r(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,i.resolve(function(){return s.t(...arguments)}),n&&n(l,function(){return s.t(...arguments)})},a=l=>{!e&&!l&&this.services.languageDetector&&(l=[]);const u=typeof l=="string"?l:this.services.languageUtils.getBestMatchFromCodes(l);u&&(this.language||r(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,d=>{o(d,u)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e),i}getFixedT(e,n,s){var i=this;const r=function(o,a){let l;if(typeof a!="object"){for(var u=arguments.length,d=new Array(u>2?u-2:0),f=2;f<u;f++)d[f-2]=arguments[f];l=i.options.overloadTranslationOptionHandler([o,a].concat(d))}else l={...a};l.lng=l.lng||r.lng,l.lngs=l.lngs||r.lngs,l.ns=l.ns||r.ns,l.keyPrefix=l.keyPrefix||s||r.keyPrefix;const p=i.options.keySeparator||".";let g;return l.keyPrefix&&Array.isArray(o)?g=o.map(h=>`${l.keyPrefix}${p}${h}`):g=l.keyPrefix?`${l.keyPrefix}${p}${o}`:o,i.t(g,l)};return typeof e=="string"?r.lng=e:r.lngs=e,r.ns=n,r.keyPrefix=s,r}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const s=n.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,r=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;const o=(a,l)=>{const u=this.services.backendConnector.state[`${a}|${l}`];return u===-1||u===2};if(n.precheck){const a=n.precheck(this,o);if(a!==void 0)return a}return!!(this.hasResourceBundle(s,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(s,e)&&(!i||o(r,e)))}loadNamespaces(e,n){const s=Mt();return this.options.ns?(typeof e=="string"&&(e=[e]),e.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{s.resolve(),n&&n(i)}),s):(n&&n(),Promise.resolve())}loadLanguages(e,n){const s=Mt();typeof e=="string"&&(e=[e]);const i=this.options.preload||[],r=e.filter(o=>i.indexOf(o)<0);return r.length?(this.options.preload=i.concat(r),this.loadResources(o=>{s.resolve(),n&&n(o)}),s):(n&&n(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],s=this.services&&this.services.languageUtils||new Di(Hi());return n.indexOf(s.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new Pt(e,n)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:rn;const s=e.forkResourceStore;s&&delete e.forkResourceStore;const i={...this.options,...e,isClone:!0},r=new Pt(i);return(e.debug!==void 0||e.prefix!==void 0)&&(r.logger=r.logger.clone(e)),["store","services","language"].forEach(a=>{r[a]=this[a]}),r.services={...this.services},r.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},s&&(r.store=new ki(this.store.data,i),r.services.resourceStore=r.store),r.translator=new sn(r.services,i),r.translator.on("*",function(a){for(var l=arguments.length,u=new Array(l>1?l-1:0),d=1;d<l;d++)u[d-1]=arguments[d];r.emit(a,...u)}),r.init(i,n),r.translator.options=i,r.translator.backendConnector.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},r}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Ae=Pt.createInstance();Ae.createInstance=Pt.createInstance,Ae.createInstance,Ae.dir,Ae.init,Ae.loadResources,Ae.reloadResources,Ae.use,Ae.changeLanguage,Ae.getFixedT,Ae.t,Ae.exists,Ae.setDefaultNamespace,Ae.hasLoadedNamespace,Ae.loadNamespaces,Ae.loadLanguages;const Ou={from:"С",to:"До",loading_message:"Загрузка...",no_options_message:"Ничего не найдено",choose:"Выбрать",details:"Подробнее",location_aside:{choose_country:"Выберите страну",choose_city:"Выберите населённый пункт",placeholder:"Выберите из списка или начните вводить название"},location_selector:{placeholder:"Введите номер точки/метро/адрес"},current_location:{choose_from_map:"Выберите населённый пункт"},header:{self_pickup:"Самовывоз"},type_filter:{all:"Все",post_office:"Постматы",pick_point:"ПВЗ"},receive_filter:{title:"Получить",dressing_room:"Примерка",check_order:"Проверка заказа",pay_by_cash:"Оплата на точке"},send_filter:{title:"Отправить",return:"Возврат товара",shipping:"Отправка посылки",payment:"Оплата на точке"},days_of_week:{mon:"Пн",tue:"Вт",wed:"Ср",thu:"Чт",fri:"Пт",sat:"Сб",sun:"Вс"},details_modal:{address:"Адрес",schedule:"Время работы",payment_method:"Способы оплаты",services:"Сервисы",location:"Расположение",is_pickup:"Выдача заказов",is_delivery:"Отправка посылок",is_dressing_room:"Примерка",is_check_order:"Оплата на точке"}},Mu={from:"From",to:"To",loading_message:"Loading...",no_options_message:"No options",choose:"Choose",details:"Details",location_aside:{choose_country:"Choose country",choose_city:"Choose city",placeholder:"Choose from a list or enter manually"},location_selector:{placeholder:"Choose location"},current_location:{choose_from_map:"Choose location"},header:{self_pickup:"Self pickup"},type_filter:{all:"All",post_office:"Post offices",pick_point:"Pick points"},receive_filter:{title:"Receive",dressing_room:"Dressing room",check_order:"Check order",pay_by_cash:"Pay by cash"},send_filter:{title:"Send",return:"Return",shipping:"Shipping",payment:"Payment"},days_of_week:{mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday",sun:"Sunday"},details_modal:{address:"Address",schedule:"Schedule",payment_method:"Payment method",services:"Services",location:"Location",is_pickup:"Pick up",is_delivery:"Shipping",is_dressing_room:"Dressing",is_check_order:"Payment"}};function Pu(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Bu(){if(console&&console.warn){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];typeof e[0]=="string"&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e)}}const Wi={};function vs(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];typeof e[0]=="string"&&Wi[e[0]]||(typeof e[0]=="string"&&(Wi[e[0]]=new Date),Bu(...e))}const Zi=(t,e)=>()=>{if(t.isInitialized)e();else{const n=()=>{setTimeout(()=>{t.off("initialized",n)},0),e()};t.on("initialized",n)}};function zi(t,e,n){t.loadNamespaces(e,Zi(t,n))}function Xi(t,e,n,s){typeof n=="string"&&(n=[n]),n.forEach(i=>{t.options.ns.indexOf(i)<0&&t.options.ns.push(i)}),t.loadLanguages(e,Zi(t,s))}function Nu(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=e.languages[0],i=e.options?e.options.fallbackLng:!1,r=e.languages[e.languages.length-1];if(s.toLowerCase()==="cimode")return!0;const o=(a,l)=>{const u=e.services.backendConnector.state[`${a}|${l}`];return u===-1||u===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!o(e.isLanguageChangingTo,t)?!1:!!(e.hasResourceBundle(s,t)||!e.services.backendConnector.backend||e.options.resources&&!e.options.partialBundledLanguages||o(s,t)&&(!i||o(r,t)))}function ku(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!e.languages||!e.languages.length?(vs("i18n.languages were undefined or empty",e.languages),!0):e.options.ignoreJSONStructure!==void 0?e.hasLoadedNamespace(t,{lng:n.lng,precheck:(i,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&i.services.backendConnector.backend&&i.isLanguageChangingTo&&!r(i.isLanguageChangingTo,t))return!1}}):Nu(t,e,n)}const Tu=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Gu={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},Du=t=>Gu[t];let bs={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:t=>t.replace(Tu,Du)};function Fu(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};bs={...bs,...t}}function Vu(){return bs}let Ui;function Hu(t){Ui=t}function ju(){return Ui}const Wu={type:"3rdParty",init(t){Fu(t.options.react),Hu(t)}},Zu=c.createContext();class zu{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const Xu=(t,e)=>{const n=c.useRef();return c.useEffect(()=>{n.current=e?n.current:t},[t,e]),n.current};function He(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:n}=e,{i18n:s,defaultNS:i}=c.useContext(Zu)||{},r=n||s||ju();if(r&&!r.reportNamespaces&&(r.reportNamespaces=new zu),!r){vs("You will need to pass in an i18next instance by using initReactI18next");const y=(I,L)=>typeof L=="string"?L:L&&typeof L=="object"&&typeof L.defaultValue=="string"?L.defaultValue:Array.isArray(I)?I[I.length-1]:I,m=[y,{},!1];return m.t=y,m.i18n={},m.ready=!1,m}r.options.react&&r.options.react.wait!==void 0&&vs("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...Vu(),...r.options.react,...e},{useSuspense:a,keyPrefix:l}=o;let u=t||i||r.options&&r.options.defaultNS;u=typeof u=="string"?[u]:u||["translation"],r.reportNamespaces.addUsedNamespaces&&r.reportNamespaces.addUsedNamespaces(u);const d=(r.isInitialized||r.initializedStoreOnce)&&u.every(y=>ku(y,r,o));function f(){return r.getFixedT(e.lng||null,o.nsMode==="fallback"?u:u[0],l)}const[p,g]=c.useState(f);let h=u.join();e.lng&&(h=`${e.lng}${h}`);const v=Xu(h),b=c.useRef(!0);c.useEffect(()=>{const{bindI18n:y,bindI18nStore:m}=o;b.current=!0,!d&&!a&&(e.lng?Xi(r,e.lng,u,()=>{b.current&&g(f)}):zi(r,u,()=>{b.current&&g(f)})),d&&v&&v!==h&&b.current&&g(f);function I(){b.current&&g(f)}return y&&r&&r.on(y,I),m&&r&&r.store.on(m,I),()=>{b.current=!1,y&&r&&y.split(" ").forEach(L=>r.off(L,I)),m&&r&&m.split(" ").forEach(L=>r.store.off(L,I))}},[r,h]);const C=c.useRef(!0);c.useEffect(()=>{b.current&&!C.current&&g(f),C.current=!1},[r,l]);const E=[p,r,d];if(E.t=p,E.i18n=r,E.ready=d,d||!d&&!a)return E;throw new Promise(y=>{e.lng?Xi(r,e.lng,u,()=>y()):zi(r,u,()=>y())})}const Uu="common",Ju="ru",Yu={en:{common:Mu},ru:{common:Ou}};Ae.use(Wu).init({resources:Yu,defaultNS:Uu,ns:["common"],lng:Ju});const Fb="";var Ji={exports:{}};/*!
|
|
2
|
+
Copyright (c) 2018 Jed Watson.
|
|
3
|
+
Licensed under the MIT License (MIT), see
|
|
4
|
+
http://jedwatson.github.io/classnames
|
|
5
|
+
*/(function(t){(function(){var e={}.hasOwnProperty;function n(){for(var s=[],i=0;i<arguments.length;i++){var r=arguments[i];if(r){var o=typeof r;if(o==="string"||o==="number")s.push(r);else if(Array.isArray(r)){if(r.length){var a=n.apply(null,r);a&&s.push(a)}}else if(o==="object"){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){s.push(r.toString());continue}for(var l in r)e.call(r,l)&&r[l]&&s.push(l)}}}return s.join(" ")}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(Ji);var Ru=Ji.exports;const me=Pu(Ru),on={"omnic-widget":"_omnic-widget_dmd5b_1",root:"_root_dmd5b_13",primary:"_primary_dmd5b_33",secondary:"_secondary_dmd5b_41"},Qe=({className:t,variant:e="primary",...n})=>{if(n.as==="link"){const{as:r,...o}=n;return x.jsx("a",{className:me(on.root,t,on[e]),...o})}const{as:s,...i}=n;return x.jsx("button",{className:me(on.root,t,on[e]),...i})};Qe.defaultProps={as:"button"};const Qu=t=>G.createElement("svg",{width:24,height:28,viewBox:"0 0 24 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},G.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"})),Yi=c.createContext({city:null,setCity(){throw new Error("setCity method not implemented")},aside:{open:!1,toggle(){throw new Error("toggle method not implemented")}}}),Bt=()=>c.useContext(Yi),Ri={"omnic-widget":"_omnic-widget_1et4q_1",root:"_root_1et4q_13",text:"_text_1et4q_20"},_u=({className:t})=>{const{t:e}=He(),{city:n,aside:{toggle:s}}=Bt(),i=()=>{s(!0)};return x.jsxs("div",{className:me(Ri.root,t),onClick:i,children:[x.jsx(Qu,{}),x.jsxs("span",{className:Ri.text,children:[!n&&e("current_location.choose_from_map"),n&&`${n.country.name}, ${n.name}`]})]})},an={"omnic-widget":"_omnic-widget_19s9y_1",root:"_root_19s9y_13",nav:"_nav_19s9y_30",navItem:"_navItem_19s9y_43",currentLocation:"_currentLocation_19s9y_53"},Ku=({className:t})=>{const{t:e}=He();return x.jsxs("div",{className:me(an.root,t),children:[x.jsx("nav",{className:an.nav,children:x.jsx(Qe,{as:"link",variant:"primary",className:an.navItem,children:e("header.self_pickup")})}),x.jsx(_u,{className:an.currentLocation})]})},ln="omnic-widget",qu=t=>G.createElement("svg",{width:123,height:32,viewBox:"0 0 123 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},G.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:"black"}),G.createElement("path",{d:"M37.5678 32V0H44.8087L55.851 12.9333L66.8482 0H74.1345V32H67.0745V10.5333L55.851 23.6888L44.5824 10.5778V32H37.5678Z",fill:"black"}),G.createElement("path",{d:"M79.5533 32V0H86.7941L105.032 21.3334V0H112.137V32H104.896L86.5679 10.5778V32H79.5533Z",fill:"black"}),G.createElement("path",{d:"M116.076 32V0H123V32H116.076Z",fill:"black"}));var qe=(t=>(t[t.All=0]="All",t[t.PickPoint=20]="PickPoint",t[t.PostOffice=30]="PostOffice",t))(qe||{}),je=(t=>(t[t.PayByCash=0]="PayByCash",t[t.DressingRoom=1]="DressingRoom",t[t.CheckOrder=2]="CheckOrder",t))(je||{}),We=(t=>(t[t.Return=0]="Return",t[t.Payment=1]="Payment",t[t.Shipping=2]="Shipping",t))(We||{});const Qi={query:"",type:qe.All,hours:["08:00","22:00"],send:{[We.Return]:!1,[We.Payment]:!1,[We.Shipping]:!1},receive:{[je.PayByCash]:!1,[je.CheckOrder]:!1,[je.DressingRoom]:!1}},_i=c.createContext({filter:Qi,setFilter(){throw new Error("setFilter method not implemented")}}),$u=()=>c.useContext(_i),ec={"omnic-widget":"_omnic-widget_18jy5_1",root:"_root_18jy5_13"},ys=({className:t,...e})=>x.jsx("hr",{className:me(ec.root,t),...e}),Ki={"omnic-widget":"_omnic-widget_hjr45_1",root:"_root_hjr45_13",label:"_label_hjr45_43"},tc=({label:t,className:e,labelProps:n={},...s})=>{const{className:i,...r}=n;return x.jsxs("label",{className:me(Ki.label,i),...r,children:[x.jsx("input",{type:"radio",className:me(Ki.root,e),...s}),t]})},gt=t=>x.jsx(tc,{...t,type:"checkbox"}),nc={"omnic-widget":"_omnic-widget_elqb6_1",root:"_root_elqb6_13"},sc=({value:t,onChange:e,className:n})=>{const{t:s}=He(),i=r=>()=>e==null?void 0:e(r);return x.jsxs("div",{className:me(nc.root,n),children:[x.jsx(Qe,{variant:t===qe.All?"primary":"secondary",onClick:i(qe.All),children:s("type_filter.all")}),x.jsx(Qe,{variant:t===qe.PostOffice?"primary":"secondary",onClick:i(qe.PostOffice),children:s("type_filter.post_office")}),x.jsx(Qe,{variant:t===qe.PickPoint?"primary":"secondary",onClick:i(qe.PickPoint),children:s("type_filter.pick_point")})]})},Cs={"omnic-widget":"_omnic-widget_jm75r_1",root:"_root_jm75r_13",body:"_body_jm75r_19",legend:"_legend_jm75r_24"},qi=({label:t,onChange:e,children:n,className:s,...i})=>x.jsxs("div",{className:me(Cs.root,s),...i,children:[t&&x.jsx("span",{className:Cs.legend,children:t}),x.jsx("div",{className:Cs.body,children:c.Children.map(n,r=>{var o;return c.isValidElement(r)?c.cloneElement(r,{checked:!!((o=i.value)!=null&&o[r.props.value]),onChange:a=>e==null?void 0:e({...i.value,[a.target.value]:a.target.checked})}):null})})]}),un={"omnic-widget":"_omnic-widget_16k69_1",logo:"_logo_16k69_13",typeFilter:"_typeFilter_16k69_17",separator:"_separator_16k69_21"},ic=({className:t})=>{const{t:e}=He(),{filter:n,setFilter:s}=$u(),i=c.useCallback(a=>s({type:a}),[s]),r=c.useCallback(a=>s({receive:a}),[s]),o=c.useCallback(a=>s({send:a}),[s]);return x.jsxs("div",{className:me(un.root,t),children:[x.jsx("div",{className:un.logo,children:x.jsx(qu,{})}),x.jsx(sc,{value:n.type,className:un.typeFilter,onChange:i}),x.jsx(ys,{className:un.separator}),x.jsxs(qi,{value:n.receive,label:e("receive_filter.title"),onChange:r,children:[x.jsx(gt,{name:"receive",value:je.DressingRoom,label:e("receive_filter.dressing_room")}),x.jsx(gt,{name:"receive",value:je.CheckOrder,label:e("receive_filter.check_order")}),x.jsx(gt,{name:"receive",value:je.PayByCash,label:e("receive_filter.pay_by_cash")})]}),x.jsx(ys,{}),x.jsxs(qi,{value:n.send,label:e("send_filter.title"),onChange:o,children:[x.jsx(gt,{name:"send",value:We.Return,label:e("send_filter.return")}),x.jsx(gt,{name:"send",value:We.Shipping,label:e("send_filter.shipping")}),x.jsx(gt,{name:"send",value:We.Payment,label:e("send_filter.payment")})]}),x.jsx(ys,{})]})},$i=c.createContext(window.OMNI_CONFIG),er=()=>c.useContext($i),Is=t=>G.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},G.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"}));function tr(t,e){return function(){return t.apply(e,arguments)}}const{toString:rc}=Object.prototype,{getPrototypeOf:Es}=Object,cn=(t=>e=>{const n=rc.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ze=t=>(t=t.toLowerCase(),e=>cn(e)===t),dn=t=>e=>typeof e===t,{isArray:ht}=Array,Nt=dn("undefined");function oc(t){return t!==null&&!Nt(t)&&t.constructor!==null&&!Nt(t.constructor)&&Be(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const nr=Ze("ArrayBuffer");function ac(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&nr(t.buffer),e}const lc=dn("string"),Be=dn("function"),sr=dn("number"),fn=t=>t!==null&&typeof t=="object",uc=t=>t===!0||t===!1,pn=t=>{if(cn(t)!=="object")return!1;const e=Es(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},cc=Ze("Date"),dc=Ze("File"),fc=Ze("Blob"),pc=Ze("FileList"),gc=t=>fn(t)&&Be(t.pipe),hc=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Be(t.append)&&((e=cn(t))==="formdata"||e==="object"&&Be(t.toString)&&t.toString()==="[object FormData]"))},mc=Ze("URLSearchParams"),vc=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function kt(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,i;if(typeof t!="object"&&(t=[t]),ht(t))for(s=0,i=t.length;s<i;s++)e.call(null,t[s],s,t);else{const r=n?Object.getOwnPropertyNames(t):Object.keys(t),o=r.length;let a;for(s=0;s<o;s++)a=r[s],e.call(null,t[a],a,t)}}function ir(t,e){e=e.toLowerCase();const n=Object.keys(t);let s=n.length,i;for(;s-- >0;)if(i=n[s],e===i.toLowerCase())return i;return null}const rr=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),or=t=>!Nt(t)&&t!==rr;function Ls(){const{caseless:t}=or(this)&&this||{},e={},n=(s,i)=>{const r=t&&ir(e,i)||i;pn(e[r])&&pn(s)?e[r]=Ls(e[r],s):pn(s)?e[r]=Ls({},s):ht(s)?e[r]=s.slice():e[r]=s};for(let s=0,i=arguments.length;s<i;s++)arguments[s]&&kt(arguments[s],n);return e}const bc=(t,e,n,{allOwnKeys:s}={})=>(kt(e,(i,r)=>{n&&Be(i)?t[r]=tr(i,n):t[r]=i},{allOwnKeys:s}),t),yc=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Cc=(t,e,n,s)=>{t.prototype=Object.create(e.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},Ic=(t,e,n,s)=>{let i,r,o;const a={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),r=i.length;r-- >0;)o=i[r],(!s||s(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=n!==!1&&Es(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},Ec=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const s=t.indexOf(e,n);return s!==-1&&s===n},Lc=t=>{if(!t)return null;if(ht(t))return t;let e=t.length;if(!sr(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},xc=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Es(Uint8Array)),Ac=(t,e)=>{const s=(t&&t[Symbol.iterator]).call(t);let i;for(;(i=s.next())&&!i.done;){const r=i.value;e.call(t,r[0],r[1])}},wc=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},Sc=Ze("HTMLFormElement"),Oc=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,i){return s.toUpperCase()+i}),ar=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Mc=Ze("RegExp"),lr=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};kt(n,(i,r)=>{e(i,r,t)!==!1&&(s[r]=i)}),Object.defineProperties(t,s)},Pc=t=>{lr(t,(e,n)=>{if(Be(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(Be(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Bc=(t,e)=>{const n={},s=i=>{i.forEach(r=>{n[r]=!0})};return ht(t)?s(t):s(String(t).split(e)),n},Nc=()=>{},kc=(t,e)=>(t=+t,Number.isFinite(t)?t:e),xs="abcdefghijklmnopqrstuvwxyz",ur="0123456789",cr={DIGIT:ur,ALPHA:xs,ALPHA_DIGIT:xs+xs.toUpperCase()+ur},Tc=(t=16,e=cr.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function Gc(t){return!!(t&&Be(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const Dc=t=>{const e=new Array(10),n=(s,i)=>{if(fn(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[i]=s;const r=ht(s)?[]:{};return kt(s,(o,a)=>{const l=n(o,i+1);!Nt(l)&&(r[a]=l)}),e[i]=void 0,r}}return s};return n(t,0)},Fc=Ze("AsyncFunction"),O={isArray:ht,isArrayBuffer:nr,isBuffer:oc,isFormData:hc,isArrayBufferView:ac,isString:lc,isNumber:sr,isBoolean:uc,isObject:fn,isPlainObject:pn,isUndefined:Nt,isDate:cc,isFile:dc,isBlob:fc,isRegExp:Mc,isFunction:Be,isStream:gc,isURLSearchParams:mc,isTypedArray:xc,isFileList:pc,forEach:kt,merge:Ls,extend:bc,trim:vc,stripBOM:yc,inherits:Cc,toFlatObject:Ic,kindOf:cn,kindOfTest:Ze,endsWith:Ec,toArray:Lc,forEachEntry:Ac,matchAll:wc,isHTMLForm:Sc,hasOwnProperty:ar,hasOwnProp:ar,reduceDescriptors:lr,freezeMethods:Pc,toObjectSet:Bc,toCamelCase:Oc,noop:Nc,toFiniteNumber:kc,findKey:ir,global:rr,isContextDefined:or,ALPHABET:cr,generateString:Tc,isSpecCompliantForm:Gc,toJSONObject:Dc,isAsyncFn:Fc,isThenable:t=>t&&(fn(t)||Be(t))&&Be(t.then)&&Be(t.catch)};function ae(t,e,n,s,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),s&&(this.request=s),i&&(this.response=i)}O.inherits(ae,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:O.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const dr=ae.prototype,fr={};["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=>{fr[t]={value:t}}),Object.defineProperties(ae,fr),Object.defineProperty(dr,"isAxiosError",{value:!0}),ae.from=(t,e,n,s,i,r)=>{const o=Object.create(dr);return O.toFlatObject(t,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),ae.call(o,t.message,e,n,s,i),o.cause=t,o.name=t.name,r&&Object.assign(o,r),o};const Vc=null;function As(t){return O.isPlainObject(t)||O.isArray(t)}function pr(t){return O.endsWith(t,"[]")?t.slice(0,-2):t}function gr(t,e,n){return t?t.concat(e).map(function(i,r){return i=pr(i),!n&&r?"["+i+"]":i}).join(n?".":""):e}function Hc(t){return O.isArray(t)&&!t.some(As)}const jc=O.toFlatObject(O,{},null,function(e){return/^is[A-Z]/.test(e)});function gn(t,e,n){if(!O.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=O.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,b){return!O.isUndefined(b[v])});const s=n.metaTokens,i=n.visitor||d,r=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&O.isSpecCompliantForm(e);if(!O.isFunction(i))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(O.isDate(h))return h.toISOString();if(!l&&O.isBlob(h))throw new ae("Blob is not supported. Use a Buffer instead.");return O.isArrayBuffer(h)||O.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,v,b){let C=h;if(h&&!b&&typeof h=="object"){if(O.endsWith(v,"{}"))v=s?v:v.slice(0,-2),h=JSON.stringify(h);else if(O.isArray(h)&&Hc(h)||(O.isFileList(h)||O.endsWith(v,"[]"))&&(C=O.toArray(h)))return v=pr(v),C.forEach(function(y,m){!(O.isUndefined(y)||y===null)&&e.append(o===!0?gr([v],m,r):o===null?v:v+"[]",u(y))}),!1}return As(h)?!0:(e.append(gr(b,v,r),u(h)),!1)}const f=[],p=Object.assign(jc,{defaultVisitor:d,convertValue:u,isVisitable:As});function g(h,v){if(!O.isUndefined(h)){if(f.indexOf(h)!==-1)throw Error("Circular reference detected in "+v.join("."));f.push(h),O.forEach(h,function(C,E){(!(O.isUndefined(C)||C===null)&&i.call(e,C,O.isString(E)?E.trim():E,v,p))===!0&&g(C,v?v.concat(E):[E])}),f.pop()}}if(!O.isObject(t))throw new TypeError("data must be an object");return g(t),e}function hr(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function ws(t,e){this._pairs=[],t&&gn(t,this,e)}const mr=ws.prototype;mr.append=function(e,n){this._pairs.push([e,n])},mr.toString=function(e){const n=e?function(s){return e.call(this,s,hr)}:hr;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Wc(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function vr(t,e,n){if(!e)return t;const s=n&&n.encode||Wc,i=n&&n.serialize;let r;if(i?r=i(e,n):r=O.isURLSearchParams(e)?e.toString():new ws(e,n).toString(s),r){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class Zc{constructor(){this.handlers=[]}use(e,n,s){return this.handlers.push({fulfilled:e,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){O.forEach(this.handlers,function(s){s!==null&&e(s)})}}const br=Zc,yr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},zc=typeof URLSearchParams<"u"?URLSearchParams:ws,Xc=typeof FormData<"u"?FormData:null,Uc=typeof Blob<"u"?Blob:null,Jc=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Yc=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),ze={isBrowser:!0,classes:{URLSearchParams:zc,FormData:Xc,Blob:Uc},isStandardBrowserEnv:Jc,isStandardBrowserWebWorkerEnv:Yc,protocols:["http","https","file","blob","url","data"]};function Rc(t,e){return gn(t,new ze.classes.URLSearchParams,Object.assign({visitor:function(n,s,i,r){return ze.isNode&&O.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function Qc(t){return O.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function _c(t){const e={},n=Object.keys(t);let s;const i=n.length;let r;for(s=0;s<i;s++)r=n[s],e[r]=t[r];return e}function Cr(t){function e(n,s,i,r){let o=n[r++];const a=Number.isFinite(+o),l=r>=n.length;return o=!o&&O.isArray(i)?i.length:o,l?(O.hasOwnProp(i,o)?i[o]=[i[o],s]:i[o]=s,!a):((!i[o]||!O.isObject(i[o]))&&(i[o]=[]),e(n,s,i[o],r)&&O.isArray(i[o])&&(i[o]=_c(i[o])),!a)}if(O.isFormData(t)&&O.isFunction(t.entries)){const n={};return O.forEachEntry(t,(s,i)=>{e(Qc(s),i,n,0)}),n}return null}const Kc={"Content-Type":void 0};function qc(t,e,n){if(O.isString(t))try{return(e||JSON.parse)(t),O.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const hn={transitional:yr,adapter:["xhr","http"],transformRequest:[function(e,n){const s=n.getContentType()||"",i=s.indexOf("application/json")>-1,r=O.isObject(e);if(r&&O.isHTMLForm(e)&&(e=new FormData(e)),O.isFormData(e))return i&&i?JSON.stringify(Cr(e)):e;if(O.isArrayBuffer(e)||O.isBuffer(e)||O.isStream(e)||O.isFile(e)||O.isBlob(e))return e;if(O.isArrayBufferView(e))return e.buffer;if(O.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Rc(e,this.formSerializer).toString();if((a=O.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return gn(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||i?(n.setContentType("application/json",!1),qc(e)):e}],transformResponse:[function(e){const n=this.transitional||hn.transitional,s=n&&n.forcedJSONParsing,i=this.responseType==="json";if(e&&O.isString(e)&&(s&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?ae.from(a,ae.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:ze.classes.FormData,Blob:ze.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};O.forEach(["delete","get","head"],function(e){hn.headers[e]={}}),O.forEach(["post","put","patch"],function(e){hn.headers[e]=O.merge(Kc)});const Ss=hn,$c=O.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"]),ed=t=>{const e={};let n,s,i;return t&&t.split(`
|
|
6
|
+
`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),s=o.substring(i+1).trim(),!(!n||e[n]&&$c[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},Ir=Symbol("internals");function Tt(t){return t&&String(t).trim().toLowerCase()}function mn(t){return t===!1||t==null?t:O.isArray(t)?t.map(mn):String(t)}function td(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(t);)e[s[1]]=s[2];return e}const nd=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Os(t,e,n,s,i){if(O.isFunction(s))return s.call(this,e,n);if(i&&(e=n),!!O.isString(e)){if(O.isString(s))return e.indexOf(s)!==-1;if(O.isRegExp(s))return s.test(e)}}function sd(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function id(t,e){const n=O.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+n,{value:function(i,r,o){return this[s].call(this,e,i,r,o)},configurable:!0})})}class vn{constructor(e){e&&this.set(e)}set(e,n,s){const i=this;function r(a,l,u){const d=Tt(l);if(!d)throw new Error("header name must be a non-empty string");const f=O.findKey(i,d);(!f||i[f]===void 0||u===!0||u===void 0&&i[f]!==!1)&&(i[f||l]=mn(a))}const o=(a,l)=>O.forEach(a,(u,d)=>r(u,d,l));return O.isPlainObject(e)||e instanceof this.constructor?o(e,n):O.isString(e)&&(e=e.trim())&&!nd(e)?o(ed(e),n):e!=null&&r(n,e,s),this}get(e,n){if(e=Tt(e),e){const s=O.findKey(this,e);if(s){const i=this[s];if(!n)return i;if(n===!0)return td(i);if(O.isFunction(n))return n.call(this,i,s);if(O.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Tt(e),e){const s=O.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Os(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let i=!1;function r(o){if(o=Tt(o),o){const a=O.findKey(s,o);a&&(!n||Os(s,s[a],a,n))&&(delete s[a],i=!0)}}return O.isArray(e)?e.forEach(r):r(e),i}clear(e){const n=Object.keys(this);let s=n.length,i=!1;for(;s--;){const r=n[s];(!e||Os(this,this[r],r,e,!0))&&(delete this[r],i=!0)}return i}normalize(e){const n=this,s={};return O.forEach(this,(i,r)=>{const o=O.findKey(s,r);if(o){n[o]=mn(i),delete n[r];return}const a=e?sd(r):String(r).trim();a!==r&&delete n[r],n[a]=mn(i),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return O.forEach(this,(s,i)=>{s!=null&&s!==!1&&(n[i]=e&&O.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
|
|
7
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const s=new this(e);return n.forEach(i=>s.set(i)),s}static accessor(e){const s=(this[Ir]=this[Ir]={accessors:{}}).accessors,i=this.prototype;function r(o){const a=Tt(o);s[a]||(id(i,o),s[a]=!0)}return O.isArray(e)?e.forEach(r):r(e),this}}vn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),O.freezeMethods(vn.prototype),O.freezeMethods(vn);const _e=vn;function Ms(t,e){const n=this||Ss,s=e||n,i=_e.from(s.headers);let r=s.data;return O.forEach(t,function(a){r=a.call(n,r,i.normalize(),e?e.status:void 0)}),i.normalize(),r}function Er(t){return!!(t&&t.__CANCEL__)}function Gt(t,e,n){ae.call(this,t??"canceled",ae.ERR_CANCELED,e,n),this.name="CanceledError"}O.inherits(Gt,ae,{__CANCEL__:!0});function rd(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new ae("Request failed with status code "+n.status,[ae.ERR_BAD_REQUEST,ae.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const od=ze.isStandardBrowserEnv?function(){return{write:function(n,s,i,r,o,a){const l=[];l.push(n+"="+encodeURIComponent(s)),O.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),O.isString(r)&&l.push("path="+r),O.isString(o)&&l.push("domain="+o),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function ad(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function ld(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function Lr(t,e){return t&&!ad(e)?ld(t,e):e}const ud=ze.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function i(r){let o=r;return e&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{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 s=i(window.location.href),function(o){const a=O.isString(o)?i(o):o;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function cd(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function dd(t,e){t=t||10;const n=new Array(t),s=new Array(t);let i=0,r=0,o;return e=e!==void 0?e:1e3,function(l){const u=Date.now(),d=s[r];o||(o=u),n[i]=l,s[i]=u;let f=r,p=0;for(;f!==i;)p+=n[f++],f=f%t;if(i=(i+1)%t,i===r&&(r=(r+1)%t),u-o<e)return;const g=d&&u-d;return g?Math.round(p*1e3/g):void 0}}function xr(t,e){let n=0;const s=dd(50,250);return i=>{const r=i.loaded,o=i.lengthComputable?i.total:void 0,a=r-n,l=s(a),u=r<=o;n=r;const d={loaded:r,total:o,progress:o?r/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&u?(o-r)/l:void 0,event:i};d[e?"download":"upload"]=!0,t(d)}}const bn={http:Vc,xhr:typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(n,s){let i=t.data;const r=_e.from(t.headers).normalize(),o=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}O.isFormData(i)&&(ze.isStandardBrowserEnv||ze.isStandardBrowserWebWorkerEnv?r.setContentType(!1):r.setContentType("multipart/form-data;",!1));let u=new XMLHttpRequest;if(t.auth){const g=t.auth.username||"",h=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(g+":"+h))}const d=Lr(t.baseURL,t.url);u.open(t.method.toUpperCase(),vr(d,t.params,t.paramsSerializer),!0),u.timeout=t.timeout;function f(){if(!u)return;const g=_e.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),v={data:!o||o==="text"||o==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:g,config:t,request:u};rd(function(C){n(C),l()},function(C){s(C),l()},v),u=null}if("onloadend"in u?u.onloadend=f:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(f)},u.onabort=function(){u&&(s(new ae("Request aborted",ae.ECONNABORTED,t,u)),u=null)},u.onerror=function(){s(new ae("Network Error",ae.ERR_NETWORK,t,u)),u=null},u.ontimeout=function(){let h=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const v=t.transitional||yr;t.timeoutErrorMessage&&(h=t.timeoutErrorMessage),s(new ae(h,v.clarifyTimeoutError?ae.ETIMEDOUT:ae.ECONNABORTED,t,u)),u=null},ze.isStandardBrowserEnv){const g=(t.withCredentials||ud(d))&&t.xsrfCookieName&&od.read(t.xsrfCookieName);g&&r.set(t.xsrfHeaderName,g)}i===void 0&&r.setContentType(null),"setRequestHeader"in u&&O.forEach(r.toJSON(),function(h,v){u.setRequestHeader(v,h)}),O.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),o&&o!=="json"&&(u.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&u.addEventListener("progress",xr(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",xr(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=g=>{u&&(s(!g||g.type?new Gt(null,t,u):g),u.abort(),u=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const p=cd(d);if(p&&ze.protocols.indexOf(p)===-1){s(new ae("Unsupported protocol "+p+":",ae.ERR_BAD_REQUEST,t));return}u.send(i||null)})}};O.forEach(bn,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const fd={getAdapter:t=>{t=O.isArray(t)?t:[t];const{length:e}=t;let n,s;for(let i=0;i<e&&(n=t[i],!(s=O.isString(n)?bn[n.toLowerCase()]:n));i++);if(!s)throw s===!1?new ae(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(O.hasOwnProp(bn,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!O.isFunction(s))throw new TypeError("adapter is not a function");return s},adapters:bn};function Ps(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Gt(null,t)}function Ar(t){return Ps(t),t.headers=_e.from(t.headers),t.data=Ms.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),fd.getAdapter(t.adapter||Ss.adapter)(t).then(function(s){return Ps(t),s.data=Ms.call(t,t.transformResponse,s),s.headers=_e.from(s.headers),s},function(s){return Er(s)||(Ps(t),s&&s.response&&(s.response.data=Ms.call(t,t.transformResponse,s.response),s.response.headers=_e.from(s.response.headers))),Promise.reject(s)})}const wr=t=>t instanceof _e?t.toJSON():t;function mt(t,e){e=e||{};const n={};function s(u,d,f){return O.isPlainObject(u)&&O.isPlainObject(d)?O.merge.call({caseless:f},u,d):O.isPlainObject(d)?O.merge({},d):O.isArray(d)?d.slice():d}function i(u,d,f){if(O.isUndefined(d)){if(!O.isUndefined(u))return s(void 0,u,f)}else return s(u,d,f)}function r(u,d){if(!O.isUndefined(d))return s(void 0,d)}function o(u,d){if(O.isUndefined(d)){if(!O.isUndefined(u))return s(void 0,u)}else return s(void 0,d)}function a(u,d,f){if(f in e)return s(u,d);if(f in t)return s(void 0,u)}const l={url:r,method:r,data:r,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(u,d)=>i(wr(u),wr(d),!0)};return O.forEach(Object.keys(Object.assign({},t,e)),function(d){const f=l[d]||i,p=f(t[d],e[d],d);O.isUndefined(p)&&f!==a||(n[d]=p)}),n}const Sr="1.4.0",Bs={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Bs[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const Or={};Bs.transitional=function(e,n,s){function i(r,o){return"[Axios v"+Sr+"] Transitional option '"+r+"'"+o+(s?". "+s:"")}return(r,o,a)=>{if(e===!1)throw new ae(i(o," has been removed"+(n?" in "+n:"")),ae.ERR_DEPRECATED);return n&&!Or[o]&&(Or[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(r,o,a):!0}};function pd(t,e,n){if(typeof t!="object")throw new ae("options must be an object",ae.ERR_BAD_OPTION_VALUE);const s=Object.keys(t);let i=s.length;for(;i-- >0;){const r=s[i],o=e[r];if(o){const a=t[r],l=a===void 0||o(a,r,t);if(l!==!0)throw new ae("option "+r+" must be "+l,ae.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ae("Unknown option "+r,ae.ERR_BAD_OPTION)}}const Ns={assertOptions:pd,validators:Bs},$e=Ns.validators;class yn{constructor(e){this.defaults=e,this.interceptors={request:new br,response:new br}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=mt(this.defaults,n);const{transitional:s,paramsSerializer:i,headers:r}=n;s!==void 0&&Ns.assertOptions(s,{silentJSONParsing:$e.transitional($e.boolean),forcedJSONParsing:$e.transitional($e.boolean),clarifyTimeoutError:$e.transitional($e.boolean)},!1),i!=null&&(O.isFunction(i)?n.paramsSerializer={serialize:i}:Ns.assertOptions(i,{encode:$e.function,serialize:$e.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o;o=r&&O.merge(r.common,r[n.method]),o&&O.forEach(["delete","get","head","post","put","patch","common"],h=>{delete r[h]}),n.headers=_e.concat(o,r);const a=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,a.unshift(v.fulfilled,v.rejected))});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let d,f=0,p;if(!l){const h=[Ar.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,u),p=h.length,d=Promise.resolve(n);f<p;)d=d.then(h[f++],h[f++]);return d}p=a.length;let g=n;for(f=0;f<p;){const h=a[f++],v=a[f++];try{g=h(g)}catch(b){v.call(this,b);break}}try{d=Ar.call(this,g)}catch(h){return Promise.reject(h)}for(f=0,p=u.length;f<p;)d=d.then(u[f++],u[f++]);return d}getUri(e){e=mt(this.defaults,e);const n=Lr(e.baseURL,e.url);return vr(n,e.params,e.paramsSerializer)}}O.forEach(["delete","get","head","options"],function(e){yn.prototype[e]=function(n,s){return this.request(mt(s||{},{method:e,url:n,data:(s||{}).data}))}}),O.forEach(["post","put","patch"],function(e){function n(s){return function(r,o,a){return this.request(mt(a||{},{method:e,headers:s?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}yn.prototype[e]=n(),yn.prototype[e+"Form"]=n(!0)});const Cn=yn;class ks{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(r){n=r});const s=this;this.promise.then(i=>{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](i);s._listeners=null}),this.promise.then=i=>{let r;const o=new Promise(a=>{s.subscribe(a),r=a}).then(i);return o.cancel=function(){s.unsubscribe(r)},o},e(function(r,o,a){s.reason||(s.reason=new Gt(r,o,a),n(s.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 ks(function(i){e=i}),cancel:e}}}const gd=ks;function hd(t){return function(n){return t.apply(null,n)}}function md(t){return O.isObject(t)&&t.isAxiosError===!0}const Ts={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(Ts).forEach(([t,e])=>{Ts[e]=t});const vd=Ts;function Mr(t){const e=new Cn(t),n=tr(Cn.prototype.request,e);return O.extend(n,Cn.prototype,e,{allOwnKeys:!0}),O.extend(n,e,null,{allOwnKeys:!0}),n.create=function(i){return Mr(mt(t,i))},n}const ve=Mr(Ss);ve.Axios=Cn,ve.CanceledError=Gt,ve.CancelToken=gd,ve.isCancel=Er,ve.VERSION=Sr,ve.toFormData=gn,ve.AxiosError=ae,ve.Cancel=ve.CanceledError,ve.all=function(e){return Promise.all(e)},ve.spread=hd,ve.isAxiosError=md,ve.mergeConfig=mt,ve.AxiosHeaders=_e,ve.formToJSON=t=>Cr(O.isHTMLForm(t)?new FormData(t):t),ve.HttpStatusCode=vd,ve.default=ve;const In=ve.create({baseURL:"https://ecomgate.omnic.solutions/api/1.0.0/type-1/public/"}),bd=t=>In.get("/locations/cities",{params:t}),yd=t=>In.get("/locations/countries",{params:t}),Gs=t=>G.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},G.createElement("g",{clipPath:"url(#clip0_422_11470)"},G.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"})),G.createElement("defs",null,G.createElement("clipPath",{id:"clip0_422_11470"},G.createElement("rect",{width:20.0004,height:20,fill:"white"})))),st={"omnic-widget":"_omnic-widget_duq29_1",root:"_root_duq29_13",open:"_open_duq29_22",overlay:"_overlay_duq29_27",container:"_container_duq29_35",header:"_header_duq29_50",close:"_close_duq29_58",body:"_body_duq29_63"},Cd=({open:t,onClose:e,children:n,className:s})=>x.jsxs("div",{className:me(st.root,s,{[st.open]:t}),children:[x.jsx("div",{className:st.overlay,onClick:e}),x.jsxs("div",{className:st.container,children:[x.jsx("div",{className:st.header,children:x.jsx("div",{className:st.close,onClick:e,children:x.jsx(Gs,{})})}),x.jsx("div",{className:st.body,children:n})]})]});function R(){return R=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},R.apply(this,arguments)}function it(t){"@babel/helpers - typeof";return it=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},it(t)}function Id(t,e){if(it(t)!=="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var s=n.call(t,e||"default");if(it(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Pr(t){var e=Id(t,"string");return it(e)==="symbol"?e:String(e)}function vt(t,e,n){return e=Pr(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Br(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,s)}return n}function Q(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Br(Object(n),!0).forEach(function(s){vt(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Br(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}function Ed(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nr(t,e){for(var n=0;n<e.length;n++){var s=e[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,Pr(s.key),s)}}function Ld(t,e,n){return e&&Nr(t.prototype,e),n&&Nr(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Ds(t,e){return Ds=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,i){return s.__proto__=i,s},Ds(t,e)}function xd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ds(t,e)}function En(t){return En=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},En(t)}function Ad(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function wd(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Sd(t,e){if(e&&(it(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return wd(t)}function Od(t){var e=Ad();return function(){var s=En(t),i;if(e){var r=En(this).constructor;i=Reflect.construct(s,arguments,r)}else i=s.apply(this,arguments);return Sd(this,i)}}function Fs(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,s=new Array(e);n<e;n++)s[n]=t[n];return s}function Md(t){if(Array.isArray(t))return Fs(t)}function Pd(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function kr(t,e){if(t){if(typeof t=="string")return Fs(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 Fs(t,e)}}function Bd(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
8
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Tr(t){return Md(t)||Pd(t)||kr(t)||Bd()}function Nd(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function kd(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var Td=function(){function t(n){var s=this;this._insertTag=function(i){var r;s.tags.length===0?s.insertionPoint?r=s.insertionPoint.nextSibling:s.prepend?r=s.container.firstChild:r=s.before:r=s.tags[s.tags.length-1].nextSibling,s.container.insertBefore(i,r),s.tags.push(i)},this.isSpeedy=n.speedy===void 0?{}.NODE_ENV==="production":n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(s){s.forEach(this._insertTag)},e.insert=function(s){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(kd(this));var i=this.tags[this.tags.length-1];if({}.NODE_ENV!=="production"){var r=s.charCodeAt(0)===64&&s.charCodeAt(1)===105;r&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
|
|
9
|
+
`+s+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!r}if(this.isSpeedy){var o=Nd(i);try{o.insertRule(s,o.cssRules.length)}catch(a){({}).NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(s)&&console.error('There was a problem inserting the following rule: "'+s+'"',a)}}else i.appendChild(document.createTextNode(s));this.ctr++},e.flush=function(){this.tags.forEach(function(s){return s.parentNode&&s.parentNode.removeChild(s)}),this.tags=[],this.ctr=0,{}.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},t}(),Se="-ms-",Ln="-moz-",ue="-webkit-",Vs="comm",Hs="rule",js="decl",Gd="@import",Gr="@keyframes",Dd="@layer",Fd=Math.abs,xn=String.fromCharCode,Vd=Object.assign;function Hd(t,e){return we(t,0)^45?(((e<<2^we(t,0))<<2^we(t,1))<<2^we(t,2))<<2^we(t,3):0}function Dr(t){return t.trim()}function jd(t,e){return(t=e.exec(t))?t[0]:t}function ce(t,e,n){return t.replace(e,n)}function Ws(t,e){return t.indexOf(e)}function we(t,e){return t.charCodeAt(e)|0}function Dt(t,e,n){return t.slice(e,n)}function Xe(t){return t.length}function Zs(t){return t.length}function An(t,e){return e.push(t),t}function Wd(t,e){return t.map(e).join("")}var wn=1,bt=1,Fr=0,Oe=0,he=0,yt="";function Sn(t,e,n,s,i,r,o){return{value:t,root:e,parent:n,type:s,props:i,children:r,line:wn,column:bt,length:o,return:""}}function Ft(t,e){return Vd(Sn("",null,null,"",null,null,0),t,{length:-t.length},e)}function Zd(){return he}function zd(){return he=Oe>0?we(yt,--Oe):0,bt--,he===10&&(bt=1,wn--),he}function Me(){return he=Oe<Fr?we(yt,Oe++):0,bt++,he===10&&(bt=1,wn++),he}function Ue(){return we(yt,Oe)}function On(){return Oe}function Vt(t,e){return Dt(yt,t,e)}function Ht(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Vr(t){return wn=bt=1,Fr=Xe(yt=t),Oe=0,[]}function Hr(t){return yt="",t}function Mn(t){return Dr(Vt(Oe-1,zs(t===91?t+2:t===40?t+1:t)))}function Xd(t){for(;(he=Ue())&&he<33;)Me();return Ht(t)>2||Ht(he)>3?"":" "}function Ud(t,e){for(;--e&&Me()&&!(he<48||he>102||he>57&&he<65||he>70&&he<97););return Vt(t,On()+(e<6&&Ue()==32&&Me()==32))}function zs(t){for(;Me();)switch(he){case t:return Oe;case 34:case 39:t!==34&&t!==39&&zs(he);break;case 40:t===41&&zs(t);break;case 92:Me();break}return Oe}function Jd(t,e){for(;Me()&&t+he!==47+10;)if(t+he===42+42&&Ue()===47)break;return"/*"+Vt(e,Oe-1)+"*"+xn(t===47?t:Me())}function Yd(t){for(;!Ht(Ue());)Me();return Vt(t,Oe)}function Rd(t){return Hr(Pn("",null,null,null,[""],t=Vr(t),0,[0],t))}function Pn(t,e,n,s,i,r,o,a,l){for(var u=0,d=0,f=o,p=0,g=0,h=0,v=1,b=1,C=1,E=0,y="",m=i,I=r,L=s,w=y;b;)switch(h=E,E=Me()){case 40:if(h!=108&&we(w,f-1)==58){Ws(w+=ce(Mn(E),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:w+=Mn(E);break;case 9:case 10:case 13:case 32:w+=Xd(h);break;case 92:w+=Ud(On()-1,7);continue;case 47:switch(Ue()){case 42:case 47:An(Qd(Jd(Me(),On()),e,n),l);break;default:w+="/"}break;case 123*v:a[u++]=Xe(w)*C;case 125*v:case 59:case 0:switch(E){case 0:case 125:b=0;case 59+d:C==-1&&(w=ce(w,/\f/g,"")),g>0&&Xe(w)-f&&An(g>32?Wr(w+";",s,n,f-1):Wr(ce(w," ","")+";",s,n,f-2),l);break;case 59:w+=";";default:if(An(L=jr(w,e,n,u,d,i,a,y,m=[],I=[],f),r),E===123)if(d===0)Pn(w,e,L,L,m,r,f,a,I);else switch(p===99&&we(w,3)===110?100:p){case 100:case 108:case 109:case 115:Pn(t,L,L,s&&An(jr(t,L,L,0,0,i,a,y,i,m=[],f),I),i,I,f,a,s?m:I);break;default:Pn(w,L,L,L,[""],I,0,a,I)}}u=d=g=0,v=C=1,y=w="",f=o;break;case 58:f=1+Xe(w),g=h;default:if(v<1){if(E==123)--v;else if(E==125&&v++==0&&zd()==125)continue}switch(w+=xn(E),E*v){case 38:C=d>0?1:(w+="\f",-1);break;case 44:a[u++]=(Xe(w)-1)*C,C=1;break;case 64:Ue()===45&&(w+=Mn(Me())),p=Ue(),d=f=Xe(y=w+=Yd(On())),E++;break;case 45:h===45&&Xe(w)==2&&(v=0)}}return r}function jr(t,e,n,s,i,r,o,a,l,u,d){for(var f=i-1,p=i===0?r:[""],g=Zs(p),h=0,v=0,b=0;h<s;++h)for(var C=0,E=Dt(t,f+1,f=Fd(v=o[h])),y=t;C<g;++C)(y=Dr(v>0?p[C]+" "+E:ce(E,/&\f/g,p[C])))&&(l[b++]=y);return Sn(t,e,n,i===0?Hs:a,l,u,d)}function Qd(t,e,n){return Sn(t,e,n,Vs,xn(Zd()),Dt(t,2,-2),0)}function Wr(t,e,n,s){return Sn(t,e,n,js,Dt(t,0,s),Dt(t,s+1,-1),s)}function Ct(t,e){for(var n="",s=Zs(t),i=0;i<s;i++)n+=e(t[i],i,t,e)||"";return n}function _d(t,e,n,s){switch(t.type){case Dd:if(t.children.length)break;case Gd:case js:return t.return=t.return||t.value;case Vs:return"";case Gr:return t.return=t.value+"{"+Ct(t.children,s)+"}";case Hs:t.value=t.props.join(",")}return Xe(n=Ct(t.children,s))?t.return=t.value+"{"+n+"}":""}function Kd(t){var e=Zs(t);return function(n,s,i,r){for(var o="",a=0;a<e;a++)o+=t[a](n,s,i,r)||"";return o}}function qd(t){return function(e){e.root||(e=e.return)&&t(e)}}function $d(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var ef=function(e,n,s){for(var i=0,r=0;i=r,r=Ue(),i===38&&r===12&&(n[s]=1),!Ht(r);)Me();return Vt(e,Oe)},tf=function(e,n){var s=-1,i=44;do switch(Ht(i)){case 0:i===38&&Ue()===12&&(n[s]=1),e[s]+=ef(Oe-1,n,s);break;case 2:e[s]+=Mn(i);break;case 4:if(i===44){e[++s]=Ue()===58?"&\f":"",n[s]=e[s].length;break}default:e[s]+=xn(i)}while(i=Me());return e},nf=function(e,n){return Hr(tf(Vr(e),n))},Zr=new WeakMap,sf=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,s=e.parent,i=e.column===s.column&&e.line===s.line;s.type!=="rule";)if(s=s.parent,!s)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!Zr.get(s))&&!i){Zr.set(e,!0);for(var r=[],o=nf(n,r),a=s.props,l=0,u=0;l<o.length;l++)for(var d=0;d<a.length;d++,u++)e.props[u]=r[l]?o[l].replace(/&\f/g,a[d]):a[d]+" "+o[l]}}},rf=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}},of="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",af=function(e){return e.type==="comm"&&e.children.indexOf(of)>-1},lf=function(e){return function(n,s,i){if(!(n.type!=="rule"||e.compat)){var r=n.value.match(/(:first|:nth|:nth-last)-child/g);if(r){for(var o=!!n.parent,a=o?n.parent.children:i,l=a.length-1;l>=0;l--){var u=a[l];if(u.line<n.line)break;if(u.column<n.column){if(af(u))return;break}}r.forEach(function(d){console.error('The pseudo class "'+d+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+d.split("-child")[0]+'-of-type".')})}}}},zr=function(e){return e.type.charCodeAt(1)===105&&e.type.charCodeAt(0)===64},uf=function(e,n){for(var s=e-1;s>=0;s--)if(!zr(n[s]))return!0;return!1},Xr=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},cf=function(e,n,s){zr(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Xr(e)):uf(n,s)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Xr(e)))};function Ur(t,e){switch(Hd(t,e)){case 5103:return ue+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ue+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return ue+t+Ln+t+Se+t+t;case 6828:case 4268:return ue+t+Se+t+t;case 6165:return ue+t+Se+"flex-"+t+t;case 5187:return ue+t+ce(t,/(\w+).+(:[^]+)/,ue+"box-$1$2"+Se+"flex-$1$2")+t;case 5443:return ue+t+Se+"flex-item-"+ce(t,/flex-|-self/,"")+t;case 4675:return ue+t+Se+"flex-line-pack"+ce(t,/align-content|flex-|-self/,"")+t;case 5548:return ue+t+Se+ce(t,"shrink","negative")+t;case 5292:return ue+t+Se+ce(t,"basis","preferred-size")+t;case 6060:return ue+"box-"+ce(t,"-grow","")+ue+t+Se+ce(t,"grow","positive")+t;case 4554:return ue+ce(t,/([^-])(transform)/g,"$1"+ue+"$2")+t;case 6187:return ce(ce(ce(t,/(zoom-|grab)/,ue+"$1"),/(image-set)/,ue+"$1"),t,"")+t;case 5495:case 3959:return ce(t,/(image-set\([^]*)/,ue+"$1$`$1");case 4968:return ce(ce(t,/(.+:)(flex-)?(.*)/,ue+"box-pack:$3"+Se+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ue+t+t;case 4095:case 3583:case 4068:case 2532:return ce(t,/(.+)-inline(.+)/,ue+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Xe(t)-1-e>6)switch(we(t,e+1)){case 109:if(we(t,e+4)!==45)break;case 102:return ce(t,/(.+:)(.+)-([^]+)/,"$1"+ue+"$2-$3$1"+Ln+(we(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Ws(t,"stretch")?Ur(ce(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(we(t,e+1)!==115)break;case 6444:switch(we(t,Xe(t)-3-(~Ws(t,"!important")&&10))){case 107:return ce(t,":",":"+ue)+t;case 101:return ce(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ue+(we(t,14)===45?"inline-":"")+"box$3$1"+ue+"$2$3$1"+Se+"$2box$3")+t}break;case 5936:switch(we(t,e+11)){case 114:return ue+t+Se+ce(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return ue+t+Se+ce(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return ue+t+Se+ce(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return ue+t+Se+t+t}return t}var df=function(e,n,s,i){if(e.length>-1&&!e.return)switch(e.type){case js:e.return=Ur(e.value,e.length);break;case Gr:return Ct([Ft(e,{value:ce(e.value,"@","@"+ue)})],i);case Hs:if(e.length)return Wd(e.props,function(r){switch(jd(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ct([Ft(e,{props:[ce(r,/:(read-\w+)/,":"+Ln+"$1")]})],i);case"::placeholder":return Ct([Ft(e,{props:[ce(r,/:(plac\w+)/,":"+ue+"input-$1")]}),Ft(e,{props:[ce(r,/:(plac\w+)/,":"+Ln+"$1")]}),Ft(e,{props:[ce(r,/:(plac\w+)/,Se+"input-$1")]})],i)}return""})}},ff=[df],pf=function(e){var n=e.key;if({}.NODE_ENV!=="production"&&!n)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
10
|
+
If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var s=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(s,function(v){var b=v.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var i=e.stylisPlugins||ff;if({}.NODE_ENV!=="production"&&/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var r={},o,a=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(v){for(var b=v.getAttribute("data-emotion").split(" "),C=1;C<b.length;C++)r[b[C]]=!0;a.push(v)});var l,u=[sf,rf];({}).NODE_ENV!=="production"&&u.push(lf({get compat(){return h.compat}}),cf);{var d,f=[_d,{}.NODE_ENV!=="production"?function(v){v.root||(v.return?d.insert(v.return):v.value&&v.type!==Vs&&d.insert(v.value+"{}"))}:qd(function(v){d.insert(v)})],p=Kd(u.concat(i,f)),g=function(b){return Ct(Rd(b),p)};l=function(b,C,E,y){d=E,{}.NODE_ENV!=="production"&&C.map!==void 0&&(d={insert:function(I){E.insert(I+C.map)}}),g(b?b+"{"+C.styles+"}":C.styles),y&&(h.inserted[C.name]=!0)}}var h={key:n,sheet:new Td({key:n,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:r,registered:{},insert:l};return h.sheet.hydrate(a),h},Xs={exports:{}},de={};/** @license React v16.13.1
|
|
11
|
+
* react-is.production.min.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var Jr;function gf(){if(Jr)return de;Jr=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,s=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,r=t?Symbol.for("react.profiler"):60114,o=t?Symbol.for("react.provider"):60109,a=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,d=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,h=t?Symbol.for("react.lazy"):60116,v=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,C=t?Symbol.for("react.responder"):60118,E=t?Symbol.for("react.scope"):60119;function y(I){if(typeof I=="object"&&I!==null){var L=I.$$typeof;switch(L){case e:switch(I=I.type,I){case l:case u:case s:case r:case i:case f:return I;default:switch(I=I&&I.$$typeof,I){case a:case d:case h:case g:case o:return I;default:return L}}case n:return L}}}function m(I){return y(I)===u}return de.AsyncMode=l,de.ConcurrentMode=u,de.ContextConsumer=a,de.ContextProvider=o,de.Element=e,de.ForwardRef=d,de.Fragment=s,de.Lazy=h,de.Memo=g,de.Portal=n,de.Profiler=r,de.StrictMode=i,de.Suspense=f,de.isAsyncMode=function(I){return m(I)||y(I)===l},de.isConcurrentMode=m,de.isContextConsumer=function(I){return y(I)===a},de.isContextProvider=function(I){return y(I)===o},de.isElement=function(I){return typeof I=="object"&&I!==null&&I.$$typeof===e},de.isForwardRef=function(I){return y(I)===d},de.isFragment=function(I){return y(I)===s},de.isLazy=function(I){return y(I)===h},de.isMemo=function(I){return y(I)===g},de.isPortal=function(I){return y(I)===n},de.isProfiler=function(I){return y(I)===r},de.isStrictMode=function(I){return y(I)===i},de.isSuspense=function(I){return y(I)===f},de.isValidElementType=function(I){return typeof I=="string"||typeof I=="function"||I===s||I===u||I===r||I===i||I===f||I===p||typeof I=="object"&&I!==null&&(I.$$typeof===h||I.$$typeof===g||I.$$typeof===o||I.$$typeof===a||I.$$typeof===d||I.$$typeof===b||I.$$typeof===C||I.$$typeof===E||I.$$typeof===v)},de.typeOf=y,de}var fe={};/** @license React v16.13.1
|
|
18
|
+
* react-is.development.js
|
|
19
|
+
*
|
|
20
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
21
|
+
*
|
|
22
|
+
* This source code is licensed under the MIT license found in the
|
|
23
|
+
* LICENSE file in the root directory of this source tree.
|
|
24
|
+
*/var Yr;function hf(){return Yr||(Yr=1,{}.NODE_ENV!=="production"&&function(){var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,s=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,r=t?Symbol.for("react.profiler"):60114,o=t?Symbol.for("react.provider"):60109,a=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,d=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,h=t?Symbol.for("react.lazy"):60116,v=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,C=t?Symbol.for("react.responder"):60118,E=t?Symbol.for("react.scope"):60119;function y(W){return typeof W=="string"||typeof W=="function"||W===s||W===u||W===r||W===i||W===f||W===p||typeof W=="object"&&W!==null&&(W.$$typeof===h||W.$$typeof===g||W.$$typeof===o||W.$$typeof===a||W.$$typeof===d||W.$$typeof===b||W.$$typeof===C||W.$$typeof===E||W.$$typeof===v)}function m(W){if(typeof W=="object"&&W!==null){var Pe=W.$$typeof;switch(Pe){case e:var ie=W.type;switch(ie){case l:case u:case s:case r:case i:case f:return ie;default:var De=ie&&ie.$$typeof;switch(De){case a:case d:case h:case g:case o:return De;default:return Pe}}case n:return Pe}}}var I=l,L=u,w=a,S=o,A=e,M=d,N=s,D=h,H=g,k=n,P=r,T=i,F=f,V=!1;function Z(W){return V||(V=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),X(W)||m(W)===l}function X(W){return m(W)===u}function K(W){return m(W)===a}function Y(W){return m(W)===o}function j(W){return typeof W=="object"&&W!==null&&W.$$typeof===e}function B(W){return m(W)===d}function ne(W){return m(W)===s}function ee(W){return m(W)===h}function U(W){return m(W)===g}function _(W){return m(W)===n}function oe(W){return m(W)===r}function se(W){return m(W)===i}function Le(W){return m(W)===f}fe.AsyncMode=I,fe.ConcurrentMode=L,fe.ContextConsumer=w,fe.ContextProvider=S,fe.Element=A,fe.ForwardRef=M,fe.Fragment=N,fe.Lazy=D,fe.Memo=H,fe.Portal=k,fe.Profiler=P,fe.StrictMode=T,fe.Suspense=F,fe.isAsyncMode=Z,fe.isConcurrentMode=X,fe.isContextConsumer=K,fe.isContextProvider=Y,fe.isElement=j,fe.isForwardRef=B,fe.isFragment=ne,fe.isLazy=ee,fe.isMemo=U,fe.isPortal=_,fe.isProfiler=oe,fe.isStrictMode=se,fe.isSuspense=Le,fe.isValidElementType=y,fe.typeOf=m}()),fe}({}).NODE_ENV==="production"?Xs.exports=gf():Xs.exports=hf();var mf=Xs.exports,Rr=mf,vf={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},bf={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Qr={};Qr[Rr.ForwardRef]=vf,Qr[Rr.Memo]=bf;var yf=!0;function _r(t,e,n){var s="";return n.split(" ").forEach(function(i){t[i]!==void 0?e.push(t[i]+";"):s+=i+" "}),s}var Us=function(e,n,s){var i=e.key+"-"+n.name;(s===!1||yf===!1)&&e.registered[i]===void 0&&(e.registered[i]=n.styles)},Js=function(e,n,s){Us(e,n,s);var i=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var r=n;do e.insert(n===r?"."+i:"",r,e.sheet,!0),r=r.next;while(r!==void 0)}};function Cf(t){for(var e=0,n,s=0,i=t.length;i>=4;++s,i-=4)n=t.charCodeAt(s)&255|(t.charCodeAt(++s)&255)<<8|(t.charCodeAt(++s)&255)<<16|(t.charCodeAt(++s)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(s+2)&255)<<16;case 2:e^=(t.charCodeAt(s+1)&255)<<8;case 1:e^=t.charCodeAt(s)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var If={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Kr=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
25
|
+
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
26
|
+
You can read more about this here:
|
|
27
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Ef="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Lf=/[A-Z]|^ms/g,qr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ys=function(e){return e.charCodeAt(1)===45},$r=function(e){return e!=null&&typeof e!="boolean"},Rs=$d(function(t){return Ys(t)?t:t.replace(Lf,"-$&").toLowerCase()}),Bn=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(qr,function(s,i,r){return Ge={name:i,styles:r,next:Ge},i})}return If[e]!==1&&!Ys(e)&&typeof n=="number"&&n!==0?n+"px":n};if({}.NODE_ENV!=="production"){var xf=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Af=["normal","none","initial","inherit","unset"],wf=Bn,Sf=/^-ms-/,Of=/-(.)/g,eo={};Bn=function(e,n){if(e==="content"&&(typeof n!="string"||Af.indexOf(n)===-1&&!xf.test(n)&&(n.charAt(0)!==n.charAt(n.length-1)||n.charAt(0)!=='"'&&n.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+n+"\"'`");var s=wf(e,n);return s!==""&&!Ys(e)&&e.indexOf("-")!==-1&&eo[e]===void 0&&(eo[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Sf,"ms-").replace(Of,function(i,r){return r.toUpperCase()})+"?")),s}}var to="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function jt(t,e,n){if(n==null)return"";if(n.__emotion_styles!==void 0){if({}.NODE_ENV!=="production"&&n.toString()==="NO_COMPONENT_SELECTOR")throw new Error(to);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Ge={name:n.name,styles:n.styles,next:Ge},n.name;if(n.styles!==void 0){var s=n.next;if(s!==void 0)for(;s!==void 0;)Ge={name:s.name,styles:s.styles,next:Ge},s=s.next;var i=n.styles+";";return{}.NODE_ENV!=="production"&&n.map!==void 0&&(i+=n.map),i}return Mf(t,e,n)}case"function":{if(t!==void 0){var r=Ge,o=n(t);return Ge=r,jt(t,e,o)}else({}).NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if({}.NODE_ENV!=="production"){var a=[],l=n.replace(qr,function(d,f,p){var g="animation"+a.length;return a.push("const "+g+" = keyframes`"+p.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+g+"}"});a.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(a,["`"+l+"`"]).join(`
|
|
28
|
+
`)+`
|
|
29
|
+
|
|
30
|
+
You should wrap it with \`css\` like this:
|
|
31
|
+
|
|
32
|
+
`+("css`"+l+"`"))}break}if(e==null)return n;var u=e[n];return u!==void 0?u:n}function Mf(t,e,n){var s="";if(Array.isArray(n))for(var i=0;i<n.length;i++)s+=jt(t,e,n[i])+";";else for(var r in n){var o=n[r];if(typeof o!="object")e!=null&&e[o]!==void 0?s+=r+"{"+e[o]+"}":$r(o)&&(s+=Rs(r)+":"+Bn(r,o)+";");else{if(r==="NO_COMPONENT_SELECTOR"&&{}.NODE_ENV!=="production")throw new Error(to);if(Array.isArray(o)&&typeof o[0]=="string"&&(e==null||e[o[0]]===void 0))for(var a=0;a<o.length;a++)$r(o[a])&&(s+=Rs(r)+":"+Bn(r,o[a])+";");else{var l=jt(t,e,o);switch(r){case"animation":case"animationName":{s+=Rs(r)+":"+l+";";break}default:({}).NODE_ENV!=="production"&&r==="undefined"&&console.error(Ef),s+=r+"{"+l+"}"}}}}return s}var no=/label:\s*([^\s;\n{]+)\s*(;|$)/g,so;({}).NODE_ENV!=="production"&&(so=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Ge,Wt=function(e,n,s){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,r="";Ge=void 0;var o=e[0];o==null||o.raw===void 0?(i=!1,r+=jt(s,n,o)):({}.NODE_ENV!=="production"&&o[0]===void 0&&console.error(Kr),r+=o[0]);for(var a=1;a<e.length;a++)r+=jt(s,n,e[a]),i&&({}.NODE_ENV!=="production"&&o[a]===void 0&&console.error(Kr),r+=o[a]);var l;({}).NODE_ENV!=="production"&&(r=r.replace(so,function(p){return l=p,""})),no.lastIndex=0;for(var u="",d;(d=no.exec(r))!==null;)u+="-"+d[1];var f=Cf(r)+u;return{}.NODE_ENV!=="production"?{name:f,styles:r,map:l,next:Ge,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:f,styles:r,next:Ge}},Pf=function(e){return e()},io=G["useInsertionEffect"]?G["useInsertionEffect"]:!1,ro=io||Pf,oo=io||G.useLayoutEffect,Qs={}.hasOwnProperty,_s=G.createContext(typeof HTMLElement<"u"?pf({key:"css"}):null);({}).NODE_ENV!=="production"&&(_s.displayName="EmotionCacheContext"),_s.Provider;var Ks=function(e){return c.forwardRef(function(n,s){var i=c.useContext(_s);return e(n,i,s)})},Nn=G.createContext({});({}).NODE_ENV!=="production"&&(Nn.displayName="EmotionThemeContext");var ao=function(e){var n=e.split(".");return n[n.length-1]},Bf=function(e){var n=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(e);if(n||(n=/^([A-Za-z0-9$.]+)@/.exec(e),n))return ao(n[1])},Nf=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),kf=function(e){return e.replace(/\$/g,"-")},Tf=function(e){if(e)for(var n=e.split(`
|
|
33
|
+
`),s=0;s<n.length;s++){var i=Bf(n[s]);if(i){if(Nf.has(i))break;if(/^[A-Z]/.test(i))return kf(i)}}},qs="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",$s="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Gf=function(e,n){if({}.NODE_ENV!=="production"&&typeof n.css=="string"&&n.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+n.css+"`");var s={};for(var i in n)Qs.call(n,i)&&(s[i]=n[i]);if(s[qs]=e,{}.NODE_ENV!=="production"&&n.css&&(typeof n.css!="object"||typeof n.css.name!="string"||n.css.name.indexOf("-")===-1)){var r=Tf(new Error().stack);r&&(s[$s]=r)}return s},Df=function(e){var n=e.cache,s=e.serialized,i=e.isStringTag;return Us(n,s,i),ro(function(){return Js(n,s,i)}),null},lo=Ks(function(t,e,n){var s=t.css;typeof s=="string"&&e.registered[s]!==void 0&&(s=e.registered[s]);var i=t[qs],r=[s],o="";typeof t.className=="string"?o=_r(e.registered,r,t.className):t.className!=null&&(o=t.className+" ");var a=Wt(r,void 0,G.useContext(Nn));if({}.NODE_ENV!=="production"&&a.name.indexOf("-")===-1){var l=t[$s];l&&(a=Wt([a,"label:"+l+";"]))}o+=e.key+"-"+a.name;var u={};for(var d in t)Qs.call(t,d)&&d!=="css"&&d!==qs&&({}.NODE_ENV==="production"||d!==$s)&&(u[d]=t[d]);return u.ref=n,u.className=o,G.createElement(G.Fragment,null,G.createElement(Df,{cache:e,serialized:a,isStringTag:typeof i=="string"}),G.createElement(i,u))});({}).NODE_ENV!=="production"&&(lo.displayName="EmotionCssPropInternal");var Ff=lo,Vf={name:"@emotion/react",version:"11.11.1",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.2","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.0","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},J=function(e,n){var s=arguments;if(n==null||!Qs.call(n,"css"))return G.createElement.apply(void 0,s);var i=s.length,r=new Array(i);r[0]=Ff,r[1]=Gf(e,n);for(var o=2;o<i;o++)r[o]=s[o];return G.createElement.apply(null,r)},uo=!1,Hf=Ks(function(t,e){({}).NODE_ENV!=="production"&&!uo&&(t.className||t.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),uo=!0);var n=t.styles,s=Wt([n],void 0,G.useContext(Nn)),i=G.useRef();return oo(function(){var r=e.key+"-global",o=new e.sheet.constructor({key:r,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),a=!1,l=document.querySelector('style[data-emotion="'+r+" "+s.name+'"]');return e.sheet.tags.length&&(o.before=e.sheet.tags[0]),l!==null&&(a=!0,l.setAttribute("data-emotion",r),o.hydrate([l])),i.current=[o,a],function(){o.flush()}},[e]),oo(function(){var r=i.current,o=r[0],a=r[1];if(a){r[1]=!1;return}if(s.next!==void 0&&Js(e,s.next,!0),o.tags.length){var l=o.tags[o.tags.length-1].nextElementSibling;o.before=l,o.flush()}e.insert("",s,o,!1)},[e,s.name]),null});({}).NODE_ENV!=="production"&&(Hf.displayName="EmotionGlobal");function ei(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Wt(e)}var jf=function(){var e=ei.apply(void 0,arguments),n="animation-"+e.name;return{name:n,styles:"@keyframes "+n+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Wf=function t(e){for(var n=e.length,s=0,i="";s<n;s++){var r=e[s];if(r!=null){var o=void 0;switch(typeof r){case"boolean":break;case"object":{if(Array.isArray(r))o=t(r);else{({}).NODE_ENV!=="production"&&r.styles!==void 0&&r.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),o="";for(var a in r)r[a]&&a&&(o&&(o+=" "),o+=a)}break}default:o=r}o&&(i&&(i+=" "),i+=o)}}return i};function Zf(t,e,n){var s=[],i=_r(t,s,n);return s.length<2?n:i+e(s)}var zf=function(e){var n=e.cache,s=e.serializedArr;return ro(function(){for(var i=0;i<s.length;i++)Js(n,s[i],!1)}),null},Xf=Ks(function(t,e){var n=!1,s=[],i=function(){if(n&&{}.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var u=arguments.length,d=new Array(u),f=0;f<u;f++)d[f]=arguments[f];var p=Wt(d,e.registered);return s.push(p),Us(e,p,!1),e.key+"-"+p.name},r=function(){if(n&&{}.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var u=arguments.length,d=new Array(u),f=0;f<u;f++)d[f]=arguments[f];return Zf(e.registered,i,Wf(d))},o={css:i,cx:r,theme:G.useContext(Nn)},a=t.children(o);return n=!0,G.createElement(G.Fragment,null,G.createElement(zf,{cache:e,serializedArr:s}),a)});if({}.NODE_ENV!=="production"&&(Xf.displayName="EmotionClassNames"),{}.NODE_ENV!=="production"){var co=!0,Uf=typeof jest<"u"||typeof vi<"u";if(co&&!Uf){var fo=typeof globalThis<"u"?globalThis:co?window:global,po="__EMOTION_REACT_"+Vf.version.split(".")[0]+"__";fo[po]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),fo[po]=!0}}function Jf(t){if(Array.isArray(t))return t}function Yf(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var s,i,r,o,a=[],l=!0,u=!1;try{if(r=(n=n.call(t)).next,e===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(s=r.call(n)).done)&&(a.push(s.value),a.length!==e);l=!0);}catch(d){u=!0,i=d}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return a}}function Rf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
34
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ye(t,e){return Jf(t)||Yf(t,e)||kr(t,e)||Rf()}function Qf(t,e){if(t==null)return{};var n={},s=Object.keys(t),i,r;for(r=0;r<s.length;r++)i=s[r],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}function rt(t,e){if(t==null)return{};var n=Qf(t,e),s,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(i=0;i<r.length;i++)s=r[i],!(e.indexOf(s)>=0)&&Object.prototype.propertyIsEnumerable.call(t,s)&&(n[s]=t[s])}return n}function _f(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function Kf(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}["top","right","bottom","left"].reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);function Je(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function go(t){return Je(t).getComputedStyle(t)}function ho(t){return t instanceof Je(t).Node}function mo(t){return ho(t)?(t.nodeName||"").toLowerCase():""}function ti(t){return t instanceof Je(t).HTMLElement}function ot(t){return t instanceof Je(t).Element}function vo(t){return typeof ShadowRoot>"u"?!1:t instanceof Je(t).ShadowRoot||t instanceof ShadowRoot}function bo(t){const{overflow:e,overflowX:n,overflowY:s,display:i}=go(t);return/auto|scroll|overlay|hidden|clip/.test(e+s+n)&&!["inline","contents"].includes(i)}function qf(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function $f(t){return["html","body","#document"].includes(mo(t))}const kn=Math.round;function ep(t){const e=go(t);let n=parseFloat(e.width)||0,s=parseFloat(e.height)||0;const i=ti(t),r=i?t.offsetWidth:n,o=i?t.offsetHeight:s,a=kn(n)!==r||kn(s)!==o;return a&&(n=r,s=o),{width:n,height:s,fallback:a}}function yo(t){return ot(t)?t:t.contextElement}const Co={x:1,y:1};function ni(t){const e=yo(t);if(!ti(e))return Co;const n=e.getBoundingClientRect(),{width:s,height:i,fallback:r}=ep(e);let o=(r?kn(n.width):n.width)/s,a=(r?kn(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),a&&Number.isFinite(a)||(a=1),{x:o,y:a}}const Io={x:0,y:0};function tp(t,e,n){var s,i;if(e===void 0&&(e=!0),!qf())return Io;const r=t?Je(t):window;return!n||e&&n!==r?Io:{x:((s=r.visualViewport)==null?void 0:s.offsetLeft)||0,y:((i=r.visualViewport)==null?void 0:i.offsetTop)||0}}function Eo(t,e,n,s){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=yo(t);let o=Co;e&&(s?ot(s)&&(o=ni(s)):o=ni(t));const a=tp(r,n,s);let l=(i.left+a.x)/o.x,u=(i.top+a.y)/o.y,d=i.width/o.x,f=i.height/o.y;if(r){const p=Je(r),g=s&&ot(s)?Je(s):s;let h=p.frameElement;for(;h&&s&&g!==p;){const v=ni(h),b=h.getBoundingClientRect(),C=getComputedStyle(h);b.x+=(h.clientLeft+parseFloat(C.paddingLeft))*v.x,b.y+=(h.clientTop+parseFloat(C.paddingTop))*v.y,l*=v.x,u*=v.y,d*=v.x,f*=v.y,l+=b.x,u+=b.y,h=Je(h).frameElement}}return Kf({width:d,height:f,x:l,y:u})}function np(t){return((ho(t)?t.ownerDocument:t.document)||window.document).documentElement}function sp(t){if(mo(t)==="html")return t;const e=t.assignedSlot||t.parentNode||vo(t)&&t.host||np(t);return vo(e)?e.host:e}function Lo(t){const e=sp(t);return $f(e)?e.ownerDocument.body:ti(e)&&bo(e)?e:Lo(e)}function Tn(t,e){var n;e===void 0&&(e=[]);const s=Lo(t),i=s===((n=t.ownerDocument)==null?void 0:n.body),r=Je(s);return i?e.concat(r,r.visualViewport||[],bo(s)?s:[]):e.concat(s,Tn(s))}function ip(t,e,n,s){s===void 0&&(s={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:o=!0,animationFrame:a=!1}=s,l=i||r?[...ot(t)?Tn(t):t.contextElement?Tn(t.contextElement):[],...Tn(e)]:[];l.forEach(p=>{const g=!ot(p)&&p.toString().includes("V");!i||a&&!g||p.addEventListener("scroll",n,{passive:!0}),r&&p.addEventListener("resize",n)});let u,d=null;o&&(d=new ResizeObserver(()=>{n()}),ot(t)&&!a&&d.observe(t),ot(t)||!t.contextElement||a||d.observe(t.contextElement),d.observe(e));let f=a?Eo(t):null;return a&&function p(){const g=Eo(t);!f||g.x===f.x&&g.y===f.y&&g.width===f.width&&g.height===f.height||n(),f=g,u=requestAnimationFrame(p)}(),n(),()=>{var p;l.forEach(g=>{i&&g.removeEventListener("scroll",n),r&&g.removeEventListener("resize",n)}),(p=d)==null||p.disconnect(),d=null,a&&cancelAnimationFrame(u)}}var si=c.useLayoutEffect,rp=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Gn=function(){};function op(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function ap(t,e){for(var n=arguments.length,s=new Array(n>2?n-2:0),i=2;i<n;i++)s[i-2]=arguments[i];var r=[].concat(s);if(e&&t)for(var o in e)e.hasOwnProperty(o)&&e[o]&&r.push("".concat(op(t,o)));return r.filter(function(a){return a}).map(function(a){return String(a).trim()}).join(" ")}var xo=function(e){return vp(e)?e.filter(Boolean):it(e)==="object"&&e!==null?[e]:[]},Ao=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var n=rt(e,rp);return Q({},n)},ge=function(e,n,s){var i=e.cx,r=e.getStyles,o=e.getClassNames,a=e.className;return{css:r(n,e),className:i(s??{},o(n,e),a)}};function lp(t,e,n){if(n){var s=n(t,e);if(typeof s=="string")return s}return t}function Dn(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function up(t){return Dn(t)?window.innerHeight:t.clientHeight}function wo(t){return Dn(t)?window.pageYOffset:t.scrollTop}function Fn(t,e){if(Dn(t)){window.scrollTo(0,e);return}t.scrollTop=e}function cp(t){var e=getComputedStyle(t),n=e.position==="absolute",s=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var i=t;i=i.parentElement;)if(e=getComputedStyle(i),!(n&&e.position==="static")&&s.test(e.overflow+e.overflowY+e.overflowX))return i;return document.documentElement}function dp(t,e,n,s){return n*((t=t/s-1)*t*t+1)+e}function Vn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Gn,i=wo(t),r=e-i,o=10,a=0;function l(){a+=o;var u=dp(a,i,r,n);Fn(t,u),a<n?window.requestAnimationFrame(l):s(t)}l()}function So(t,e){var n=t.getBoundingClientRect(),s=e.getBoundingClientRect(),i=e.offsetHeight/3;s.bottom+i>n.bottom?Fn(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+i,t.scrollHeight)):s.top-i<n.top&&Fn(t,Math.max(e.offsetTop-i,0))}function fp(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function Oo(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function pp(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Mo=!1,gp={get passive(){return Mo=!0}},Hn=typeof window<"u"?window:{};Hn.addEventListener&&Hn.removeEventListener&&(Hn.addEventListener("p",Gn,gp),Hn.removeEventListener("p",Gn,!1));var hp=Mo;function mp(t){return t!=null}function vp(t){return Array.isArray(t)}function jn(t,e,n){return t?e:n}function h0(t){return t}function m0(t){return t}var bp=function(e){for(var n=arguments.length,s=new Array(n>1?n-1:0),i=1;i<n;i++)s[i-1]=arguments[i];var r=Object.entries(e).filter(function(o){var a=ye(o,1),l=a[0];return!s.includes(l)});return r.reduce(function(o,a){var l=ye(a,2),u=l[0],d=l[1];return o[u]=d,o},{})};function yp(t){var e=t.maxHeight,n=t.menuEl,s=t.minHeight,i=t.placement,r=t.shouldScroll,o=t.isFixedPosition,a=t.controlHeight,l=cp(n),u={placement:"bottom",maxHeight:e};if(!n||!n.offsetParent)return u;var d=l.getBoundingClientRect(),f=d.height,p=n.getBoundingClientRect(),g=p.bottom,h=p.height,v=p.top,b=n.offsetParent.getBoundingClientRect(),C=b.top,E=o?window.innerHeight:up(l),y=wo(l),m=parseInt(getComputedStyle(n).marginBottom,10),I=parseInt(getComputedStyle(n).marginTop,10),L=C-I,w=E-v,S=L+y,A=f-y-v,M=g-E+y+m,N=y+v-I,D=160;switch(i){case"auto":case"bottom":if(w>=h)return{placement:"bottom",maxHeight:e};if(A>=h&&!o)return r&&Vn(l,M,D),{placement:"bottom",maxHeight:e};if(!o&&A>=s||o&&w>=s){r&&Vn(l,M,D);var H=o?w-m:A-m;return{placement:"bottom",maxHeight:H}}if(i==="auto"||o){var k=e,P=o?L:S;return P>=s&&(k=Math.min(P-m-a,e)),{placement:"top",maxHeight:k}}if(i==="bottom")return r&&Fn(l,M),{placement:"bottom",maxHeight:e};break;case"top":if(L>=h)return{placement:"top",maxHeight:e};if(S>=h&&!o)return r&&Vn(l,N,D),{placement:"top",maxHeight:e};if(!o&&S>=s||o&&L>=s){var T=e;return(!o&&S>=s||o&&L>=s)&&(T=o?L-I:S-I),r&&Vn(l,N,D),{placement:"top",maxHeight:T}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return u}function Cp(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var Po=function(e){return e==="auto"?"bottom":e},Ip=function(e,n){var s,i=e.placement,r=e.theme,o=r.borderRadius,a=r.spacing,l=r.colors;return Q((s={label:"menu"},vt(s,Cp(i),"100%"),vt(s,"position","absolute"),vt(s,"width","100%"),vt(s,"zIndex",1),s),n?{}:{backgroundColor:l.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},Bo=c.createContext(null),Ep=function(e){var n=e.children,s=e.minMenuHeight,i=e.maxMenuHeight,r=e.menuPlacement,o=e.menuPosition,a=e.menuShouldScrollIntoView,l=e.theme,u=c.useContext(Bo)||{},d=u.setPortalPlacement,f=c.useRef(null),p=c.useState(i),g=ye(p,2),h=g[0],v=g[1],b=c.useState(null),C=ye(b,2),E=C[0],y=C[1],m=l.spacing.controlHeight;return si(function(){var I=f.current;if(I){var L=o==="fixed",w=a&&!L,S=yp({maxHeight:i,menuEl:I,minHeight:s,placement:r,shouldScroll:w,isFixedPosition:L,controlHeight:m});v(S.maxHeight),y(S.placement),d==null||d(S.placement)}},[i,r,o,a,s,d,m]),n({ref:f,placerProps:Q(Q({},e),{},{placement:E||Po(r),maxHeight:h})})},Lp=function(e){var n=e.children,s=e.innerRef,i=e.innerProps;return J("div",R({},ge(e,"menu",{menu:!0}),{ref:s},i),n)},xp=Lp,Ap=function(e,n){var s=e.maxHeight,i=e.theme.spacing.baseUnit;return Q({maxHeight:s,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},wp=function(e){var n=e.children,s=e.innerProps,i=e.innerRef,r=e.isMulti;return J("div",R({},ge(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:i},s),n)},No=function(e,n){var s=e.theme,i=s.spacing.baseUnit,r=s.colors;return Q({textAlign:"center"},n?{}:{color:r.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},Sp=No,Op=No,ko=function(e){var n=e.children,s=e.innerProps;return J("div",R({},ge(e,"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),s),n)};ko.defaultProps={children:"No options"};var To=function(e){var n=e.children,s=e.innerProps;return J("div",R({},ge(e,"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),s),n)};To.defaultProps={children:"Loading..."};var Mp=function(e){var n=e.rect,s=e.offset,i=e.position;return{left:n.left,position:i,top:s,width:n.width,zIndex:1}},Pp=function(e){var n=e.appendTo,s=e.children,i=e.controlElement,r=e.innerProps,o=e.menuPlacement,a=e.menuPosition,l=c.useRef(null),u=c.useRef(null),d=c.useState(Po(o)),f=ye(d,2),p=f[0],g=f[1],h=c.useMemo(function(){return{setPortalPlacement:g}},[]),v=c.useState(null),b=ye(v,2),C=b[0],E=b[1],y=c.useCallback(function(){if(i){var w=fp(i),S=a==="fixed"?0:window.pageYOffset,A=w[p]+S;(A!==(C==null?void 0:C.offset)||w.left!==(C==null?void 0:C.rect.left)||w.width!==(C==null?void 0:C.rect.width))&&E({offset:A,rect:w})}},[i,a,p,C==null?void 0:C.offset,C==null?void 0:C.rect.left,C==null?void 0:C.rect.width]);si(function(){y()},[y]);var m=c.useCallback(function(){typeof u.current=="function"&&(u.current(),u.current=null),i&&l.current&&(u.current=ip(i,l.current,y,{elementResize:"ResizeObserver"in window}))},[i,y]);si(function(){m()},[m]);var I=c.useCallback(function(w){l.current=w,m()},[m]);if(!n&&a!=="fixed"||!C)return null;var L=J("div",R({ref:I},ge(Q(Q({},e),{},{offset:C.offset,position:a,rect:C.rect}),"menuPortal",{"menu-portal":!0}),r),s);return J(Bo.Provider,{value:h},n?dt.createPortal(L,n):L)},Bp=function(e){var n=e.isDisabled,s=e.isRtl;return{label:"container",direction:s?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Np=function(e){var n=e.children,s=e.innerProps,i=e.isDisabled,r=e.isRtl;return J("div",R({},ge(e,"container",{"--is-disabled":i,"--is-rtl":r}),s),n)},kp=function(e,n){var s=e.theme.spacing,i=e.isMulti,r=e.hasValue,o=e.selectProps.controlShouldRenderValue;return Q({alignItems:"center",display:i&&r&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(s.baseUnit/2,"px ").concat(s.baseUnit*2,"px")})},Tp=function(e){var n=e.children,s=e.innerProps,i=e.isMulti,r=e.hasValue;return J("div",R({},ge(e,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":r}),s),n)},Gp=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Dp=function(e){var n=e.children,s=e.innerProps;return J("div",R({},ge(e,"indicatorsContainer",{indicators:!0}),s),n)},Go,Fp=["size"];function Vp(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Hp={}.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAn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mRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgICAgey4uLmlubmVyUHJvcHN9XG4gICAgPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezB9IG9mZnNldD17aXNSdGx9IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MTYwfSBvZmZzZXQgLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXszMjB9IG9mZnNldD17IWlzUnRsfSAvPlxuICAgIDwvZGl2PlxuICApO1xufTtcbkxvYWRpbmdJbmRpY2F0b3IuZGVmYXVsdFByb3BzID0geyBzaXplOiA0IH07XG4iXX0= */",toString:Vp},Do=function(e){var n=e.size,s=rt(e,Fp);return J("svg",R({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Hp},s))},ii=function(e){return J(Do,R({size:20},e),J("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Fo=function(e){return J(Do,R({size:20},e),J("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Vo=function(e,n){var s=e.isFocused,i=e.theme,r=i.spacing.baseUnit,o=i.colors;return Q({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:s?o.neutral60:o.neutral20,padding:r*2,":hover":{color:s?o.neutral80:o.neutral40}})},jp=Vo,Wp=function(e){var n=e.children,s=e.innerProps;return J("div",R({},ge(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),s),n||J(Fo,null))},Zp=Vo,zp=function(e){var n=e.children,s=e.innerProps;return J("div",R({},ge(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),s),n||J(ii,null))},Xp=function(e,n){var s=e.isDisabled,i=e.theme,r=i.spacing.baseUnit,o=i.colors;return Q({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:s?o.neutral10:o.neutral20,marginBottom:r*2,marginTop:r*2})},Up=function(e){var n=e.innerProps;return J("span",R({},n,ge(e,"indicatorSeparator",{"indicator-separator":!0})))},Jp=jf(Go||(Go=_f([`
|
|
35
|
+
0%, 80%, 100% { opacity: 0; }
|
|
36
|
+
40% { opacity: 1; }
|
|
37
|
+
`]))),Yp=function(e,n){var s=e.isFocused,i=e.size,r=e.theme,o=r.colors,a=r.spacing.baseUnit;return Q({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:s?o.neutral60:o.neutral20,padding:a*2})},ri=function(e){var n=e.delay,s=e.offset;return J("span",{css:ei({animation:"".concat(Jp," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:s?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},{}.NODE_ENV==="production"?"":";label:LoadingDot;",{}.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUi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QgLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXszMjB9IG9mZnNldD17IWlzUnRsfSAvPlxuICAgIDwvZGl2PlxuICApO1xufTtcbkxvYWRpbmdJbmRpY2F0b3IuZGVmYXVsdFByb3BzID0geyBzaXplOiA0IH07XG4iXX0= */")})},Ho=function(e){var n=e.innerProps,s=e.isRtl;return J("div",R({},ge(e,"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),J(ri,{delay:0,offset:s}),J(ri,{delay:160,offset:!0}),J(ri,{delay:320,offset:!s}))};Ho.defaultProps={size:4};var Rp=function(e,n){var s=e.isDisabled,i=e.isFocused,r=e.theme,o=r.colors,a=r.borderRadius,l=r.spacing;return Q({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:s?o.neutral5:o.neutral0,borderColor:s?o.neutral10:i?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:i?o.primary:o.neutral30}})},Qp=function(e){var n=e.children,s=e.isDisabled,i=e.isFocused,r=e.innerRef,o=e.innerProps,a=e.menuIsOpen;return J("div",R({ref:r},ge(e,"control",{control:!0,"control--is-disabled":s,"control--is-focused":i,"control--menu-is-open":a}),o),n)},_p=Qp,Kp=["data"],qp=function(e,n){var s=e.theme.spacing;return n?{}:{paddingBottom:s.baseUnit*2,paddingTop:s.baseUnit*2}},$p=function(e){var n=e.children,s=e.cx,i=e.getStyles,r=e.getClassNames,o=e.Heading,a=e.headingProps,l=e.innerProps,u=e.label,d=e.theme,f=e.selectProps;return J("div",R({},ge(e,"group",{group:!0}),l),J(o,R({},a,{selectProps:f,theme:d,getStyles:i,getClassNames:r,cx:s}),u),J("div",null,n))},eg=function(e,n){var s=e.theme,i=s.colors,r=s.spacing;return Q({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:r.baseUnit*3,paddingRight:r.baseUnit*3,textTransform:"uppercase"})},tg=function(e){var n=Ao(e);n.data;var s=rt(n,Kp);return J("div",R({},ge(e,"groupHeading",{"group-heading":!0}),s))},ng=$p,sg=["innerRef","isDisabled","isHidden","inputClassName"],ig=function(e,n){var s=e.isDisabled,i=e.value,r=e.theme,o=r.spacing,a=r.colors;return Q(Q({visibility:s?"hidden":"visible",transform:i?"translateZ(0)":""},rg),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:a.neutral80})},jo={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},rg={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Q({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},jo)},og=function(e){return Q({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},jo)},ag=function(e){var n=e.cx,s=e.value,i=Ao(e),r=i.innerRef,o=i.isDisabled,a=i.isHidden,l=i.inputClassName,u=rt(i,sg);return J("div",R({},ge(e,"input",{"input-container":!0}),{"data-value":s||""}),J("input",R({className:n({input:!0},l),ref:r,style:og(a),disabled:o},u)))},lg=ag,ug=function(e,n){var s=e.theme,i=s.spacing,r=s.borderRadius,o=s.colors;return Q({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:r/2,margin:i.baseUnit/2})},cg=function(e,n){var s=e.theme,i=s.borderRadius,r=s.colors,o=e.cropWithEllipsis;return Q({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},dg=function(e,n){var s=e.theme,i=s.spacing,r=s.borderRadius,o=s.colors,a=e.isFocused;return Q({alignItems:"center",display:"flex"},n?{}:{borderRadius:r/2,backgroundColor:a?o.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},Wo=function(e){var n=e.children,s=e.innerProps;return J("div",s,n)},fg=Wo,pg=Wo;function gg(t){var e=t.children,n=t.innerProps;return J("div",R({role:"button"},n),e||J(ii,{size:14}))}var hg=function(e){var n=e.children,s=e.components,i=e.data,r=e.innerProps,o=e.isDisabled,a=e.removeProps,l=e.selectProps,u=s.Container,d=s.Label,f=s.Remove;return J(u,{data:i,innerProps:Q(Q({},ge(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),r),selectProps:l},J(d,{data:i,innerProps:Q({},ge(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},n),J(f,{data:i,innerProps:Q(Q({},ge(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},a),selectProps:l}))},mg=hg,vg=function(e,n){var s=e.isDisabled,i=e.isFocused,r=e.isSelected,o=e.theme,a=o.spacing,l=o.colors;return Q({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:r?l.primary:i?l.primary25:"transparent",color:s?l.neutral20:r?l.neutral0:"inherit",padding:"".concat(a.baseUnit*2,"px ").concat(a.baseUnit*3,"px"),":active":{backgroundColor:s?void 0:r?l.primary:l.primary50}})},bg=function(e){var n=e.children,s=e.isDisabled,i=e.isFocused,r=e.isSelected,o=e.innerRef,a=e.innerProps;return J("div",R({},ge(e,"option",{option:!0,"option--is-disabled":s,"option--is-focused":i,"option--is-selected":r}),{ref:o,"aria-disabled":s},a),n)},yg=bg,Cg=function(e,n){var s=e.theme,i=s.spacing,r=s.colors;return Q({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:r.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},Ig=function(e){var n=e.children,s=e.innerProps;return J("div",R({},ge(e,"placeholder",{placeholder:!0}),s),n)},Eg=Ig,Lg=function(e,n){var s=e.isDisabled,i=e.theme,r=i.spacing,o=i.colors;return Q({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:s?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},xg=function(e){var n=e.children,s=e.isDisabled,i=e.innerProps;return J("div",R({},ge(e,"singleValue",{"single-value":!0,"single-value--is-disabled":s}),i),n)},Ag=xg,wg={ClearIndicator:zp,Control:_p,DropdownIndicator:Wp,DownChevron:Fo,CrossIcon:ii,Group:ng,GroupHeading:tg,IndicatorsContainer:Dp,IndicatorSeparator:Up,Input:lg,LoadingIndicator:Ho,Menu:xp,MenuList:wp,MenuPortal:Pp,LoadingMessage:To,NoOptionsMessage:ko,MultiValue:mg,MultiValueContainer:fg,MultiValueLabel:pg,MultiValueRemove:gg,Option:yg,Placeholder:Eg,SelectContainer:Np,SingleValue:Ag,ValueContainer:Tp},Sg=function(e){return Q(Q({},wg),e.components)},Zo=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function Og(t,e){return!!(t===e||Zo(t)&&Zo(e))}function Mg(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!Og(t[n],e[n]))return!1;return!0}function Pg(t,e){e===void 0&&(e=Mg);var n=null;function s(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];if(n&&n.lastThis===this&&e(i,n.lastArgs))return n.lastResult;var o=t.apply(this,i);return n={lastResult:o,lastArgs:i,lastThis:this},o}return s.clear=function(){n=null},s}function Bg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var Ng={}.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:Bg},kg=function(e){return J("span",R({css:Ng},e))},zo=kg,Tg={guidance:function(e){var n=e.isSearchable,s=e.isMulti,i=e.isDisabled,r=e.tabSelectsValue,o=e.context;switch(o){case"menu":return"Use Up and Down to choose options".concat(i?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(e["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(s?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var n=e.action,s=e.label,i=s===void 0?"":s,r=e.labels,o=e.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return o?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(e){var n=e.context,s=e.focused,i=e.options,r=e.label,o=r===void 0?"":r,a=e.selectValue,l=e.isDisabled,u=e.isSelected,d=function(h,v){return h&&h.length?"".concat(h.indexOf(v)+1," of ").concat(h.length):""};if(n==="value"&&a)return"value ".concat(o," focused, ").concat(d(a,s),".");if(n==="menu"){var f=l?" disabled":"",p="".concat(u?"selected":"focused").concat(f);return"option ".concat(o," ").concat(p,", ").concat(d(i,s),".")}return""},onFilter:function(e){var n=e.inputValue,s=e.resultsMessage;return"".concat(s).concat(n?" for search term "+n:"",".")}},Gg=function(e){var n=e.ariaSelection,s=e.focusedOption,i=e.focusedValue,r=e.focusableOptions,o=e.isFocused,a=e.selectValue,l=e.selectProps,u=e.id,d=l.ariaLiveMessages,f=l.getOptionLabel,p=l.inputValue,g=l.isMulti,h=l.isOptionDisabled,v=l.isSearchable,b=l.menuIsOpen,C=l.options,E=l.screenReaderStatus,y=l.tabSelectsValue,m=l["aria-label"],I=l["aria-live"],L=c.useMemo(function(){return Q(Q({},Tg),d||{})},[d]),w=c.useMemo(function(){var k="";if(n&&L.onChange){var P=n.option,T=n.options,F=n.removedValue,V=n.removedValues,Z=n.value,X=function(U){return Array.isArray(U)?null:U},K=F||P||X(Z),Y=K?f(K):"",j=T||V||void 0,B=j?j.map(f):[],ne=Q({isDisabled:K&&h(K,a),label:Y,labels:B},n);k=L.onChange(ne)}return k},[n,L,h,a,f]),S=c.useMemo(function(){var k="",P=s||i,T=!!(s&&a&&a.includes(s));if(P&&L.onFocus){var F={focused:P,label:f(P),isDisabled:h(P,a),isSelected:T,options:r,context:P===s?"menu":"value",selectValue:a};k=L.onFocus(F)}return k},[s,i,f,h,L,r,a]),A=c.useMemo(function(){var k="";if(b&&C.length&&L.onFilter){var P=E({count:r.length});k=L.onFilter({inputValue:p,resultsMessage:P})}return k},[r,p,b,L,C,E]),M=c.useMemo(function(){var k="";if(L.guidance){var P=i?"value":b?"menu":"input";k=L.guidance({"aria-label":m,context:P,isDisabled:s&&h(s,a),isMulti:g,isSearchable:v,tabSelectsValue:y})}return k},[m,s,i,g,h,v,b,L,a,y]),N="".concat(S," ").concat(A," ").concat(M),D=J(c.Fragment,null,J("span",{id:"aria-selection"},w),J("span",{id:"aria-context"},N)),H=(n==null?void 0:n.action)==="initial-input-focus";return J(c.Fragment,null,J(zo,{id:u},H&&D),J(zo,{"aria-live":I,"aria-atomic":"false","aria-relevant":"additions text"},o&&!H&&D))},Dg=Gg,oi=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Fg=new RegExp("["+oi.map(function(t){return t.letters}).join("")+"]","g"),Xo={},ai=0;ai<oi.length;ai++)for(var li=oi[ai],ui=0;ui<li.letters.length;ui++)Xo[li.letters[ui]]=li.base;var Uo=function(e){return e.replace(Fg,function(n){return Xo[n]})},Vg=Pg(Uo),Jo=function(e){return e.replace(/^\s+|\s+$/g,"")},Hg=function(e){return"".concat(e.label," ").concat(e.value)},jg=function(e){return function(n,s){if(n.data.__isNew__)return!0;var i=Q({ignoreCase:!0,ignoreAccents:!0,stringify:Hg,trim:!0,matchFrom:"any"},e),r=i.ignoreCase,o=i.ignoreAccents,a=i.stringify,l=i.trim,u=i.matchFrom,d=l?Jo(s):s,f=l?Jo(a(n)):a(n);return r&&(d=d.toLowerCase(),f=f.toLowerCase()),o&&(d=Vg(d),f=Uo(f)),u==="start"?f.substr(0,d.length)===d:f.indexOf(d)>-1}},Wg=["innerRef"];function Zg(t){var e=t.innerRef,n=rt(t,Wg),s=bp(n,"onExited","in","enter","exit","appear");return J("input",R({ref:e},s,{css:ei({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},{}.NODE_ENV==="production"?"":";label:DummyInput;",{}.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var zg=function(e){e.preventDefault(),e.stopPropagation()};function Xg(t){var e=t.isEnabled,n=t.onBottomArrive,s=t.onBottomLeave,i=t.onTopArrive,r=t.onTopLeave,o=c.useRef(!1),a=c.useRef(!1),l=c.useRef(0),u=c.useRef(null),d=c.useCallback(function(b,C){if(u.current!==null){var E=u.current,y=E.scrollTop,m=E.scrollHeight,I=E.clientHeight,L=u.current,w=C>0,S=m-I-y,A=!1;S>C&&o.current&&(s&&s(b),o.current=!1),w&&a.current&&(r&&r(b),a.current=!1),w&&C>S?(n&&!o.current&&n(b),L.scrollTop=m,A=!0,o.current=!0):!w&&-C>y&&(i&&!a.current&&i(b),L.scrollTop=0,A=!0,a.current=!0),A&&zg(b)}},[n,s,i,r]),f=c.useCallback(function(b){d(b,b.deltaY)},[d]),p=c.useCallback(function(b){l.current=b.changedTouches[0].clientY},[]),g=c.useCallback(function(b){var C=l.current-b.changedTouches[0].clientY;d(b,C)},[d]),h=c.useCallback(function(b){if(b){var C=hp?{passive:!1}:!1;b.addEventListener("wheel",f,C),b.addEventListener("touchstart",p,C),b.addEventListener("touchmove",g,C)}},[g,p,f]),v=c.useCallback(function(b){b&&(b.removeEventListener("wheel",f,!1),b.removeEventListener("touchstart",p,!1),b.removeEventListener("touchmove",g,!1))},[g,p,f]);return c.useEffect(function(){if(e){var b=u.current;return h(b),function(){v(b)}}},[e,h,v]),function(b){u.current=b}}var Yo=["boxSizing","height","overflow","paddingRight","position"],Ro={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Qo(t){t.preventDefault()}function _o(t){t.stopPropagation()}function Ko(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;t===0?this.scrollTop=1:n===e&&(this.scrollTop=t-1)}function qo(){return"ontouchstart"in window||navigator.maxTouchPoints}var $o=!!(typeof window<"u"&&window.document&&window.document.createElement),Zt=0,It={capture:!1,passive:!1};function Ug(t){var e=t.isEnabled,n=t.accountForScrollbars,s=n===void 0?!0:n,i=c.useRef({}),r=c.useRef(null),o=c.useCallback(function(l){if($o){var u=document.body,d=u&&u.style;if(s&&Yo.forEach(function(h){var v=d&&d[h];i.current[h]=v}),s&&Zt<1){var f=parseInt(i.current.paddingRight,10)||0,p=document.body?document.body.clientWidth:0,g=window.innerWidth-p+f||0;Object.keys(Ro).forEach(function(h){var v=Ro[h];d&&(d[h]=v)}),d&&(d.paddingRight="".concat(g,"px"))}u&&qo()&&(u.addEventListener("touchmove",Qo,It),l&&(l.addEventListener("touchstart",Ko,It),l.addEventListener("touchmove",_o,It))),Zt+=1}},[s]),a=c.useCallback(function(l){if($o){var u=document.body,d=u&&u.style;Zt=Math.max(Zt-1,0),s&&Zt<1&&Yo.forEach(function(f){var p=i.current[f];d&&(d[f]=p)}),u&&qo()&&(u.removeEventListener("touchmove",Qo,It),l&&(l.removeEventListener("touchstart",Ko,It),l.removeEventListener("touchmove",_o,It)))}},[s]);return c.useEffect(function(){if(e){var l=r.current;return o(l),function(){a(l)}}},[e,o,a]),function(l){r.current=l}}function Jg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Yg=function(){return document.activeElement&&document.activeElement.blur()},Rg={}.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStDVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztc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VkOiBjYXB0dXJlRW5hYmxlZCxcbiAgICBvbkJvdHRvbUFycml2ZSxcbiAgICBvbkJvdHRvbUxlYXZlLFxuICAgIG9uVG9wQXJyaXZlLFxuICAgIG9uVG9wTGVhdmUsXG4gIH0pO1xuICBjb25zdCBzZXRTY3JvbGxMb2NrVGFyZ2V0ID0gdXNlU2Nyb2xsTG9jayh7IGlzRW5hYmxlZDogbG9ja0VuYWJsZWQgfSk7XG5cbiAgY29uc3QgdGFyZ2V0UmVmOiBSZWZDYWxsYmFjazxIVE1MRWxlbWVudD4gPSAoZWxlbWVudCkgPT4ge1xuICAgIHNldFNjcm9sbENhcHR1cmVUYXJnZXQoZWxlbWVudCk7XG4gICAgc2V0U2Nyb2xsTG9ja1RhcmdldChlbGVtZW50KTtcbiAgfTtcblxuICByZXR1cm4gKFxuICAgIDxGcmFnbWVudD5cbiAgICAgIHtsb2NrRW5hYmxlZCAmJiAoXG4gICAgICAgIDxkaXZcbiAgICAgICAgICBvbkNsaWNrPXtibHVyU2VsZWN0SW5wdXR9XG4gICAgICAgICAgY3NzPXt7IHBvc2l0aW9uOiAnZml4ZWQnLCBsZWZ0OiAwLCBib3R0b206IDAsIHJpZ2h0OiAwLCB0b3A6IDAgfX1cbiAgICAgICAgLz5cbiAgICAgICl9XG4gICAgICB7Y2hpbGRyZW4odGFyZ2V0UmVmKX1cbiAgICA8L0ZyYWdtZW50PlxuICApO1xufVxuIl19 */",toString:Jg};function Qg(t){var e=t.children,n=t.lockEnabled,s=t.captureEnabled,i=s===void 0?!0:s,r=t.onBottomArrive,o=t.onBottomLeave,a=t.onTopArrive,l=t.onTopLeave,u=Xg({isEnabled:i,onBottomArrive:r,onBottomLeave:o,onTopArrive:a,onTopLeave:l}),d=Ug({isEnabled:n}),f=function(g){u(g),d(g)};return J(c.Fragment,null,n&&J("div",{onClick:Yg,css:Rg}),e(f))}function _g(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Kg={}.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:_g},qg=function(e){var n=e.name,s=e.onFocus;return J("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:s,css:Kg,value:"",onChange:function(){}})},$g=qg,eh=function(e){return e.label},th=function(e){return e.label},nh=function(e){return e.value},sh=function(e){return!!e.isDisabled},ih={clearIndicator:Zp,container:Bp,control:Rp,dropdownIndicator:jp,group:qp,groupHeading:eg,indicatorsContainer:Gp,indicatorSeparator:Xp,input:ig,loadingIndicator:Yp,loadingMessage:Op,menu:Ip,menuList:Ap,menuPortal:Mp,multiValue:ug,multiValueLabel:cg,multiValueRemove:dg,noOptionsMessage:Sp,option:vg,placeholder:Cg,singleValue:Lg,valueContainer:kp},rh={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},oh=4,ea=4,ah=38,lh=ea*2,uh={baseUnit:ea,controlHeight:ah,menuGutter:lh},ci={borderRadius:oh,colors:rh,spacing:uh},ch={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Oo(),captureMenuScroll:!Oo(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:jg(),formatGroupLabel:eh,getOptionLabel:th,getOptionValue:nh,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:sh,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!pp(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var n=e.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function ta(t,e,n,s){var i=oa(t,e,n),r=aa(t,e,n),o=ra(t,e),a=Wn(t,e);return{type:"option",data:e,isDisabled:i,isSelected:r,label:o,value:a,index:s}}function na(t,e){return t.options.map(function(n,s){if("options"in n){var i=n.options.map(function(o,a){return ta(t,o,e,a)}).filter(function(o){return ia(t,o)});return i.length>0?{type:"group",data:n,options:i,index:s}:void 0}var r=ta(t,n,e,s);return ia(t,r)?r:void 0}).filter(mp)}function sa(t){return t.reduce(function(e,n){return n.type==="group"?e.push.apply(e,Tr(n.options.map(function(s){return s.data}))):e.push(n.data),e},[])}function dh(t,e){return sa(na(t,e))}function ia(t,e){var n=t.inputValue,s=n===void 0?"":n,i=e.data,r=e.isSelected,o=e.label,a=e.value;return(!ua(t)||!r)&&la(t,{label:o,value:a,data:i},s)}function fh(t,e){var n=t.focusedValue,s=t.selectValue,i=s.indexOf(n);if(i>-1){var r=e.indexOf(n);if(r>-1)return n;if(i<e.length)return e[i]}return null}function ph(t,e){var n=t.focusedOption;return n&&e.indexOf(n)>-1?n:e[0]}var ra=function(e,n){return e.getOptionLabel(n)},Wn=function(e,n){return e.getOptionValue(n)};function oa(t,e,n){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,n):!1}function aa(t,e,n){if(n.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,n);var s=Wn(t,e);return n.some(function(i){return Wn(t,i)===s})}function la(t,e,n){return t.filterOption?t.filterOption(e,n):!0}var ua=function(e){var n=e.hideSelectedOptions,s=e.isMulti;return n===void 0?s:n},gh=1,ca=function(t){xd(n,t);var e=Od(n);function n(s){var i;if(Ed(this,n),i=e.call(this,s),i.state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.instancePrefix="",i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.controlRef=null,i.getControlRef=function(a){i.controlRef=a},i.focusedOptionRef=null,i.getFocusedOptionRef=function(a){i.focusedOptionRef=a},i.menuListRef=null,i.getMenuListRef=function(a){i.menuListRef=a},i.inputRef=null,i.getInputRef=function(a){i.inputRef=a},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(a,l){var u=i.props,d=u.onChange,f=u.name;l.name=f,i.ariaOnChange(a,l),d(a,l)},i.setValue=function(a,l,u){var d=i.props,f=d.closeMenuOnSelect,p=d.isMulti,g=d.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:g}),f&&(i.setState({inputIsHiddenAfterUpdate:!p}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(a,{action:l,option:u})},i.selectOption=function(a){var l=i.props,u=l.blurInputOnSelect,d=l.isMulti,f=l.name,p=i.state.selectValue,g=d&&i.isOptionSelected(a,p),h=i.isOptionDisabled(a,p);if(g){var v=i.getOptionValue(a);i.setValue(p.filter(function(b){return i.getOptionValue(b)!==v}),"deselect-option",a)}else if(!h)d?i.setValue([].concat(Tr(p),[a]),"select-option",a):i.setValue(a,"select-option");else{i.ariaOnChange(a,{action:"select-option",option:a,name:f});return}u&&i.blurInput()},i.removeValue=function(a){var l=i.props.isMulti,u=i.state.selectValue,d=i.getOptionValue(a),f=u.filter(function(g){return i.getOptionValue(g)!==d}),p=jn(l,f,f[0]||null);i.onChange(p,{action:"remove-value",removedValue:a}),i.focusInput()},i.clearValue=function(){var a=i.state.selectValue;i.onChange(jn(i.props.isMulti,[],null),{action:"clear",removedValues:a})},i.popValue=function(){var a=i.props.isMulti,l=i.state.selectValue,u=l[l.length-1],d=l.slice(0,l.length-1),f=jn(a,d,d[0]||null);i.onChange(f,{action:"pop-value",removedValue:u})},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var a=arguments.length,l=new Array(a),u=0;u<a;u++)l[u]=arguments[u];return ap.apply(void 0,[i.props.classNamePrefix].concat(l))},i.getOptionLabel=function(a){return ra(i.props,a)},i.getOptionValue=function(a){return Wn(i.props,a)},i.getStyles=function(a,l){var u=i.props.unstyled,d=ih[a](l,u);d.boxSizing="border-box";var f=i.props.styles[a];return f?f(d,l):d},i.getClassNames=function(a,l){var u,d;return(u=(d=i.props.classNames)[a])===null||u===void 0?void 0:u.call(d,l)},i.getElementId=function(a){return"".concat(i.instancePrefix,"-").concat(a)},i.getComponents=function(){return Sg(i.props)},i.buildCategorizedOptions=function(){return na(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return sa(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(a,l){i.setState({ariaSelection:Q({value:a},l)})},i.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(a){i.blockOptionHover=!1},i.onControlMouseDown=function(a){if(!a.defaultPrevented){var l=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&i.onMenuClose():l&&i.openMenu("first"):(l&&(i.openAfterFocus=!0),i.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},i.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!i.props.isDisabled){var l=i.props,u=l.isMulti,d=l.menuIsOpen;i.focusInput(),d?(i.setState({inputIsHiddenAfterUpdate:!u}),i.onMenuClose()):i.openMenu("first"),a.preventDefault()}},i.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(i.clearValue(),a.preventDefault(),i.openAfterFocus=!1,a.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(a){typeof i.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&Dn(a.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(a)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(a){var l=a.touches,u=l&&l.item(0);u&&(i.initialTouchX=u.clientX,i.initialTouchY=u.clientY,i.userIsDragging=!1)},i.onTouchMove=function(a){var l=a.touches,u=l&&l.item(0);if(u){var d=Math.abs(u.clientX-i.initialTouchX),f=Math.abs(u.clientY-i.initialTouchY),p=5;i.userIsDragging=d>p||f>p}},i.onTouchEnd=function(a){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(a.target)&&i.menuListRef&&!i.menuListRef.contains(a.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(a){i.userIsDragging||i.onControlMouseDown(a)},i.onClearIndicatorTouchEnd=function(a){i.userIsDragging||i.onClearIndicatorMouseDown(a)},i.onDropdownIndicatorTouchEnd=function(a){i.userIsDragging||i.onDropdownIndicatorMouseDown(a)},i.handleInputChange=function(a){var l=i.props.inputValue,u=a.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(u,{action:"input-change",prevInputValue:l}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(a){i.props.onFocus&&i.props.onFocus(a),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(a){var l=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(a),i.onInputChange("",{action:"input-blur",prevInputValue:l}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(a){i.blockOptionHover||i.state.focusedOption===a||i.setState({focusedOption:a})},i.shouldHideSelectedOptions=function(){return ua(i.props)},i.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),i.focus()},i.onKeyDown=function(a){var l=i.props,u=l.isMulti,d=l.backspaceRemovesValue,f=l.escapeClearsValue,p=l.inputValue,g=l.isClearable,h=l.isDisabled,v=l.menuIsOpen,b=l.onKeyDown,C=l.tabSelectsValue,E=l.openMenuOnFocus,y=i.state,m=y.focusedOption,I=y.focusedValue,L=y.selectValue;if(!h&&!(typeof b=="function"&&(b(a),a.defaultPrevented))){switch(i.blockOptionHover=!0,a.key){case"ArrowLeft":if(!u||p)return;i.focusValue("previous");break;case"ArrowRight":if(!u||p)return;i.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(I)i.removeValue(I);else{if(!d)return;u?i.popValue():g&&i.clearValue()}break;case"Tab":if(i.isComposing||a.shiftKey||!v||!C||!m||E&&i.isOptionSelected(m,L))return;i.selectOption(m);break;case"Enter":if(a.keyCode===229)break;if(v){if(!m||i.isComposing)return;i.selectOption(m);break}return;case"Escape":v?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:p}),i.onMenuClose()):g&&f&&i.clearValue();break;case" ":if(p)return;if(!v){i.openMenu("first");break}if(!m)return;i.selectOption(m);break;case"ArrowUp":v?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":v?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!v)return;i.focusOption("pageup");break;case"PageDown":if(!v)return;i.focusOption("pagedown");break;case"Home":if(!v)return;i.focusOption("first");break;case"End":if(!v)return;i.focusOption("last");break;default:return}a.preventDefault()}},i.instancePrefix="react-select-"+(i.props.instanceId||++gh),i.state.selectValue=xo(s.value),s.menuIsOpen&&i.state.selectValue.length){var r=i.buildFocusableOptions(),o=r.indexOf(i.state.selectValue[0]);i.state.focusedOption=r[o]}return i}return Ld(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&So(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var r=this.props,o=r.isDisabled,a=r.menuIsOpen,l=this.state.isFocused;(l&&!o&&i.isDisabled||l&&a&&!i.menuIsOpen)&&this.focusInput(),l&&o&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!l&&!o&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(So(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,r){this.props.onInputChange(i,r)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var r=this,o=this.state,a=o.selectValue,l=o.isFocused,u=this.buildFocusableOptions(),d=i==="first"?0:u.length-1;if(!this.props.isMulti){var f=u.indexOf(a[0]);f>-1&&(d=f)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[d]},function(){return r.onMenuOpen()})}},{key:"focusValue",value:function(i){var r=this.state,o=r.selectValue,a=r.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var l=o.indexOf(a);a||(l=-1);var u=o.length-1,d=-1;if(o.length){switch(i){case"previous":l===0?d=0:l===-1?d=u:d=l-1;break;case"next":l>-1&&l<u&&(d=l+1);break}this.setState({inputIsHidden:d!==-1,focusedValue:o[d]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",r=this.props.pageSize,o=this.state.focusedOption,a=this.getFocusableOptions();if(a.length){var l=0,u=a.indexOf(o);o||(u=-1),i==="up"?l=u>0?u-1:a.length-1:i==="down"?l=(u+1)%a.length:i==="pageup"?(l=u-r,l<0&&(l=0)):i==="pagedown"?(l=u+r,l>a.length-1&&(l=a.length-1)):i==="last"&&(l=a.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:a[l],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(ci):Q(Q({},ci),this.props.theme):ci}},{key:"getCommonProps",value:function(){var i=this.clearValue,r=this.cx,o=this.getStyles,a=this.getClassNames,l=this.getValue,u=this.selectOption,d=this.setValue,f=this.props,p=f.isMulti,g=f.isRtl,h=f.options,v=this.hasValue();return{clearValue:i,cx:r,getStyles:o,getClassNames:a,getValue:l,hasValue:v,isMulti:p,isRtl:g,options:h,selectOption:u,selectProps:f,setValue:d,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,r=i.isClearable,o=i.isMulti;return r===void 0?o:r}},{key:"isOptionDisabled",value:function(i,r){return oa(this.props,i,r)}},{key:"isOptionSelected",value:function(i,r){return aa(this.props,i,r)}},{key:"filterOption",value:function(i,r){return la(this.props,i,r)}},{key:"formatOptionLabel",value:function(i,r){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,a=this.state.selectValue;return this.props.formatOptionLabel(i,{context:r,inputValue:o,selectValue:a})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,r=i.isDisabled,o=i.isSearchable,a=i.inputId,l=i.inputValue,u=i.tabIndex,d=i.form,f=i.menuIsOpen,p=i.required,g=this.getComponents(),h=g.Input,v=this.state,b=v.inputIsHidden,C=v.ariaSelection,E=this.commonProps,y=a||this.getElementId("input"),m=Q(Q(Q({"aria-autocomplete":"list","aria-expanded":f,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":p,role:"combobox"},f&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?(C==null?void 0:C.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?G.createElement(h,R({},E,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:y,innerRef:this.getInputRef,isDisabled:r,isHidden:b,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:d,type:"text",value:l},m)):G.createElement(Zg,R({id:y,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Gn,onFocus:this.onInputFocus,disabled:r,tabIndex:u,inputMode:"none",form:d,value:""},m))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,r=this.getComponents(),o=r.MultiValue,a=r.MultiValueContainer,l=r.MultiValueLabel,u=r.MultiValueRemove,d=r.SingleValue,f=r.Placeholder,p=this.commonProps,g=this.props,h=g.controlShouldRenderValue,v=g.isDisabled,b=g.isMulti,C=g.inputValue,E=g.placeholder,y=this.state,m=y.selectValue,I=y.focusedValue,L=y.isFocused;if(!this.hasValue()||!h)return C?null:G.createElement(f,R({},p,{key:"placeholder",isDisabled:v,isFocused:L,innerProps:{id:this.getElementId("placeholder")}}),E);if(b)return m.map(function(S,A){var M=S===I,N="".concat(i.getOptionLabel(S),"-").concat(i.getOptionValue(S));return G.createElement(o,R({},p,{components:{Container:a,Label:l,Remove:u},isFocused:M,isDisabled:v,key:N,index:A,removeProps:{onClick:function(){return i.removeValue(S)},onTouchEnd:function(){return i.removeValue(S)},onMouseDown:function(H){H.preventDefault()}},data:S}),i.formatOptionLabel(S,"value"))});if(C)return null;var w=m[0];return G.createElement(d,R({},p,{data:w,isDisabled:v}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),r=i.ClearIndicator,o=this.commonProps,a=this.props,l=a.isDisabled,u=a.isLoading,d=this.state.isFocused;if(!this.isClearable()||!r||l||!this.hasValue()||u)return null;var f={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return G.createElement(r,R({},o,{innerProps:f,isFocused:d}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),r=i.LoadingIndicator,o=this.commonProps,a=this.props,l=a.isDisabled,u=a.isLoading,d=this.state.isFocused;if(!r||!u)return null;var f={"aria-hidden":"true"};return G.createElement(r,R({},o,{innerProps:f,isDisabled:l,isFocused:d}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),r=i.DropdownIndicator,o=i.IndicatorSeparator;if(!r||!o)return null;var a=this.commonProps,l=this.props.isDisabled,u=this.state.isFocused;return G.createElement(o,R({},a,{isDisabled:l,isFocused:u}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),r=i.DropdownIndicator;if(!r)return null;var o=this.commonProps,a=this.props.isDisabled,l=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return G.createElement(r,R({},o,{innerProps:u,isDisabled:a,isFocused:l}))}},{key:"renderMenu",value:function(){var i=this,r=this.getComponents(),o=r.Group,a=r.GroupHeading,l=r.Menu,u=r.MenuList,d=r.MenuPortal,f=r.LoadingMessage,p=r.NoOptionsMessage,g=r.Option,h=this.commonProps,v=this.state.focusedOption,b=this.props,C=b.captureMenuScroll,E=b.inputValue,y=b.isLoading,m=b.loadingMessage,I=b.minMenuHeight,L=b.maxMenuHeight,w=b.menuIsOpen,S=b.menuPlacement,A=b.menuPosition,M=b.menuPortalTarget,N=b.menuShouldBlockScroll,D=b.menuShouldScrollIntoView,H=b.noOptionsMessage,k=b.onMenuScrollToTop,P=b.onMenuScrollToBottom;if(!w)return null;var T=function(j,B){var ne=j.type,ee=j.data,U=j.isDisabled,_=j.isSelected,oe=j.label,se=j.value,Le=v===ee,W=U?void 0:function(){return i.onOptionHover(ee)},Pe=U?void 0:function(){return i.selectOption(ee)},ie="".concat(i.getElementId("option"),"-").concat(B),De={id:ie,onClick:Pe,onMouseMove:W,onMouseOver:W,tabIndex:-1};return G.createElement(g,R({},h,{innerProps:De,data:ee,isDisabled:U,isSelected:_,key:ie,label:oe,type:ne,value:se,isFocused:Le,innerRef:Le?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(j.data,"menu"))},F;if(this.hasOptions())F=this.getCategorizedOptions().map(function(Y){if(Y.type==="group"){var j=Y.data,B=Y.options,ne=Y.index,ee="".concat(i.getElementId("group"),"-").concat(ne),U="".concat(ee,"-heading");return G.createElement(o,R({},h,{key:ee,data:j,options:B,Heading:a,headingProps:{id:U,data:Y.data},label:i.formatGroupLabel(Y.data)}),Y.options.map(function(_){return T(_,"".concat(ne,"-").concat(_.index))}))}else if(Y.type==="option")return T(Y,"".concat(Y.index))});else if(y){var V=m({inputValue:E});if(V===null)return null;F=G.createElement(f,h,V)}else{var Z=H({inputValue:E});if(Z===null)return null;F=G.createElement(p,h,Z)}var X={minMenuHeight:I,maxMenuHeight:L,menuPlacement:S,menuPosition:A,menuShouldScrollIntoView:D},K=G.createElement(Ep,R({},h,X),function(Y){var j=Y.ref,B=Y.placerProps,ne=B.placement,ee=B.maxHeight;return G.createElement(l,R({},h,X,{innerRef:j,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove,id:i.getElementId("listbox")},isLoading:y,placement:ne}),G.createElement(Qg,{captureEnabled:C,onTopArrive:k,onBottomArrive:P,lockEnabled:N},function(U){return G.createElement(u,R({},h,{innerRef:function(oe){i.getMenuListRef(oe),U(oe)},isLoading:y,maxHeight:ee,focusedOption:v}),F)}))});return M||A==="fixed"?G.createElement(d,R({},h,{appendTo:M,controlElement:this.controlRef,menuPlacement:S,menuPosition:A}),K):K}},{key:"renderFormField",value:function(){var i=this,r=this.props,o=r.delimiter,a=r.isDisabled,l=r.isMulti,u=r.name,d=r.required,f=this.state.selectValue;if(d&&!this.hasValue()&&!a)return G.createElement($g,{name:u,onFocus:this.onValueInputFocus});if(!(!u||a))if(l)if(o){var p=f.map(function(v){return i.getOptionValue(v)}).join(o);return G.createElement("input",{name:u,type:"hidden",value:p})}else{var g=f.length>0?f.map(function(v,b){return G.createElement("input",{key:"i-".concat(b),name:u,type:"hidden",value:i.getOptionValue(v)})}):G.createElement("input",{name:u,type:"hidden",value:""});return G.createElement("div",null,g)}else{var h=f[0]?this.getOptionValue(f[0]):"";return G.createElement("input",{name:u,type:"hidden",value:h})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,r=this.state,o=r.ariaSelection,a=r.focusedOption,l=r.focusedValue,u=r.isFocused,d=r.selectValue,f=this.getFocusableOptions();return G.createElement(Dg,R({},i,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:a,focusedValue:l,isFocused:u,selectValue:d,focusableOptions:f}))}},{key:"render",value:function(){var i=this.getComponents(),r=i.Control,o=i.IndicatorsContainer,a=i.SelectContainer,l=i.ValueContainer,u=this.props,d=u.className,f=u.id,p=u.isDisabled,g=u.menuIsOpen,h=this.state.isFocused,v=this.commonProps=this.getCommonProps();return G.createElement(a,R({},v,{className:d,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:h}),this.renderLiveRegion(),G.createElement(r,R({},v,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:h,menuIsOpen:g}),G.createElement(l,R({},v,{isDisabled:p}),this.renderPlaceholderOrValue(),this.renderInput()),G.createElement(o,R({},v,{isDisabled:p}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,r){var o=r.prevProps,a=r.clearFocusValueOnUpdate,l=r.inputIsHiddenAfterUpdate,u=r.ariaSelection,d=r.isFocused,f=r.prevWasFocused,p=i.options,g=i.value,h=i.menuIsOpen,v=i.inputValue,b=i.isMulti,C=xo(g),E={};if(o&&(g!==o.value||p!==o.options||h!==o.menuIsOpen||v!==o.inputValue)){var y=h?dh(i,C):[],m=a?fh(r,C):null,I=ph(r,y);E={selectValue:C,focusedOption:I,focusedValue:m,clearFocusValueOnUpdate:!1}}var L=l!=null&&i!==o?{inputIsHidden:l,inputIsHiddenAfterUpdate:void 0}:{},w=u,S=d&&f;return d&&!S&&(w={value:jn(b,C,C[0]||null),options:C,action:"initial-input-focus"},S=!f),(u==null?void 0:u.action)==="initial-input-focus"&&(w=null),Q(Q(Q({},E),L),{},{prevProps:i,ariaSelection:w,prevWasFocused:S})}}]),n}(c.Component);ca.defaultProps=ch;var hh=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function mh(t){var e=t.defaultInputValue,n=e===void 0?"":e,s=t.defaultMenuIsOpen,i=s===void 0?!1:s,r=t.defaultValue,o=r===void 0?null:r,a=t.inputValue,l=t.menuIsOpen,u=t.onChange,d=t.onInputChange,f=t.onMenuClose,p=t.onMenuOpen,g=t.value,h=rt(t,hh),v=c.useState(a!==void 0?a:n),b=ye(v,2),C=b[0],E=b[1],y=c.useState(l!==void 0?l:i),m=ye(y,2),I=m[0],L=m[1],w=c.useState(g!==void 0?g:o),S=ye(w,2),A=S[0],M=S[1],N=c.useCallback(function(V,Z){typeof u=="function"&&u(V,Z),M(V)},[u]),D=c.useCallback(function(V,Z){var X;typeof d=="function"&&(X=d(V,Z)),E(X!==void 0?X:V)},[d]),H=c.useCallback(function(){typeof p=="function"&&p(),L(!0)},[p]),k=c.useCallback(function(){typeof f=="function"&&f(),L(!1)},[f]),P=a!==void 0?a:C,T=l!==void 0?l:I,F=g!==void 0?g:A;return Q(Q({},h),{},{inputValue:P,menuIsOpen:T,onChange:N,onInputChange:D,onMenuClose:k,onMenuOpen:H,value:F})}var vh=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function bh(t){var e=t.defaultOptions,n=e===void 0?!1:e,s=t.cacheOptions,i=s===void 0?!1:s,r=t.loadOptions;t.options;var o=t.isLoading,a=o===void 0?!1:o,l=t.onInputChange,u=t.filterOption,d=u===void 0?null:u,f=rt(t,vh),p=f.inputValue,g=c.useRef(void 0),h=c.useRef(!1),v=c.useState(Array.isArray(n)?n:void 0),b=ye(v,2),C=b[0],E=b[1],y=c.useState(typeof p<"u"?p:""),m=ye(y,2),I=m[0],L=m[1],w=c.useState(n===!0),S=ye(w,2),A=S[0],M=S[1],N=c.useState(void 0),D=ye(N,2),H=D[0],k=D[1],P=c.useState([]),T=ye(P,2),F=T[0],V=T[1],Z=c.useState(!1),X=ye(Z,2),K=X[0],Y=X[1],j=c.useState({}),B=ye(j,2),ne=B[0],ee=B[1],U=c.useState(void 0),_=ye(U,2),oe=_[0],se=_[1],Le=c.useState(void 0),W=ye(Le,2),Pe=W[0],ie=W[1];i!==Pe&&(ee({}),ie(i)),n!==oe&&(E(Array.isArray(n)?n:void 0),se(n)),c.useEffect(function(){return h.current=!0,function(){h.current=!1}},[]);var De=c.useCallback(function(Re,Ke){if(!r)return Ke();var xe=r(Re,Ke);xe&&typeof xe.then=="function"&&xe.then(Ke,function(){return Ke()})},[r]);c.useEffect(function(){n===!0&&De(I,function(Re){h.current&&(E(Re||[]),M(!!g.current))})},[]);var Ot=c.useCallback(function(Re,Ke){var xe=lp(Re,Ke,l);if(!xe){g.current=void 0,L(""),k(""),V([]),M(!1),Y(!1);return}if(i&&ne[xe])L(xe),k(xe),V(ne[xe]),M(!1),Y(!1);else{var ss=g.current={};L(xe),M(!0),Y(!H),De(xe,function(nt){h&&ss===g.current&&(g.current=void 0,M(!1),k(xe),V(nt||[]),Y(!1),ee(nt?Q(Q({},ne),{},vt({},xe,nt)):ne))})}},[i,De,H,ne,l]),ns=K?[]:I&&H?F:C||[];return Q(Q({},f),{},{options:ns,isLoading:A||a,onInputChange:Ot,filterOption:d})}var yh=c.forwardRef(function(t,e){var n=bh(t),s=mh(n);return G.createElement(ca,R({ref:e},s))}),Ch=yh;const Ih=t=>G.createElement("svg",{width:20,height:20,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},G.createElement("path",{d:"M5.99997 9.42017C5.7849 9.42017 5.56987 9.33805 5.4059 9.17417L0.24617 4.01439C-0.0820565 3.68616 -0.0820565 3.154 0.24617 2.8259C0.574263 2.49781 1.10632 2.49781 1.43457 2.8259L5.99997 7.39156L10.5654 2.82606C10.8936 2.49797 11.4256 2.49797 11.7537 2.82606C12.0821 3.15416 12.0821 3.68632 11.7537 4.01454L6.59403 9.17433C6.42999 9.33824 6.21495 9.42017 5.99997 9.42017Z",fill:"currentcolor"})),Ne={"omnic-widget":"_omnic-widget_vt803_1",root:"_root_vt803_13",control:"_control_vt803_18",singleValue:"_singleValue_vt803_23",indicatorSeparator:"_indicatorSeparator_vt803_29",option:"_option_vt803_32",menu:"_menu_vt803_41",clearIndicator:"_clearIndicator_vt803_45",dropdownIndicator:"_dropdownIndicator_vt803_53",dropdownIndicatorFocused:"_dropdownIndicatorFocused_vt803_61",indicatorsContainer:"_indicatorsContainer_vt803_64",valueContainer:"_valueContainer_vt803_68",label:"_label_vt803_72"},di=({label:t,className:e,customDropdownIcon:n,...s})=>{const{t:i}=He();return x.jsxs("label",{className:me(Ne.root,e),children:[t&&x.jsx("span",{className:Ne.label,children:t}),x.jsx(Ch,{isClearable:!0,isSearchable:!0,...s,classNamePrefix:"react-select",loadingMessage:()=>i("loading_message"),noOptionsMessage:()=>i("no_options_message"),classNames:{menu:()=>Ne.menu,option:()=>Ne.option,control:()=>Ne.control,singleValue:()=>Ne.singleValue,valueContainer:()=>Ne.valueContainer,indicatorSeparator:()=>Ne.indicatorSeparator,indicatorsContainer:()=>Ne.indicatorsContainer},components:{ClearIndicator:({innerProps:r,className:o})=>x.jsx("div",{...r,className:me(Ne.clearIndicator,o),children:x.jsx(Gs,{})}),DropdownIndicator:({isFocused:r,innerProps:o,className:a})=>x.jsx("div",{...o,className:me(Ne.dropdownIndicator,a,{[Ne.dropdownIndicatorFocused]:r}),children:n||x.jsx(Ih,{})})}})]})},zt={"omnic-widget":"_omnic-widget_igbh9_1",submit:"_submit_igbh9_13",option:"_option_igbh9_18",selector:"_selector_igbh9_24"},Eh=()=>{const{t}=He(),{setCity:e}=Bt(),[n,s]=c.useState(null),[i,r]=c.useState(null),[o,a]=c.useState([]),{aside:{open:l,toggle:u}}=Bt(),d=()=>{u(!1)},f=async h=>{const{data:v}=await yd({q:h});return v.data.results},p=c.useCallback(async h=>{const v={country_uid:n==null?void 0:n.uid};h&&(v.q=h);const{data:b}=await bd(v);return b.data.results},[n==null?void 0:n.uid]),g=()=>{i&&(e(i),d())};return c.useEffect(()=>{n&&(async()=>a(await p("")))()},[p,n]),x.jsxs(Cd,{open:l,onClose:d,children:[x.jsx(di,{cacheOptions:!0,defaultOptions:!0,isMulti:!1,value:n,loadOptions:f,className:zt.selector,getOptionValue:h=>h.uid,label:t("location_aside.choose_country"),placeholder:t("location_aside.placeholder"),onChange:s,formatOptionLabel:(h,v)=>x.jsxs("div",{className:zt.option,children:[x.jsx("span",{children:h.name}),v.context==="menu"&&x.jsx(Is,{})]})}),x.jsx(di,{cacheOptions:!0,isMulti:!1,value:i,loadOptions:p,className:zt.selector,isDisabled:!n,defaultOptions:o,label:t("location_aside.choose_city"),getOptionValue:h=>h.uid,placeholder:t("location_aside.placeholder"),onChange:r,formatOptionLabel:(h,v)=>x.jsxs("div",{className:zt.option,children:[x.jsxs("span",{children:[h.name,", ",h.region.name]}),v.context==="menu"&&x.jsx(Is,{})]})}),i&&x.jsx(Qe,{variant:"primary",className:zt.submit,onClick:g,children:"Выбрать"})]})},Lh=1024,xh={[je.CheckOrder]:["is_check_order","is_delivery"],[je.DressingRoom]:["is_dressing_room","is_delivery"],[je.PayByCash]:["pay_by_cash","pay_by_card","is_delivery"]},Ah={[We.Payment]:["is_pickup"],[We.Shipping]:["is_pickup"],[We.Return]:["pay_by_cash","pay_by_card"]},fi=async({q:t,city:e,filter:n,bounds:s}={})=>{const i={status:30,page_size:Lh};return t&&(i.q=t),e&&(i.city_uid=e.uid),n!=null&&n.type&&(i.type=n.type),n!=null&&n.receive&&Object.entries(n==null?void 0:n.receive).forEach(([r,o])=>{if(!o)return;xh[r].forEach(l=>{i[l]=!0})}),n!=null&&n.send&&Object.entries(n==null?void 0:n.send).forEach(([r,o])=>{if(!o)return;Ah[r].forEach(l=>{i[l]=!0})}),s&&(i.start_latitude=s[0][0],i.end_latitude=s[0][1],i.start_longitude=s[1][0],i.end_longitude=s[1][1]),await In.get("/points",{params:i})},wh=({city:t,filter:e})=>{const[n,s]=c.useState([]),[i,r]=c.useState(!1),[o,a]=c.useState(!1),[l,u]=c.useState(!1),[d,f]=c.useState(!1),p=c.useRef(null),g=c.useRef(e),h=c.useCallback(async()=>{r(!0),u(!1);try{const{data:b}=await fi({city:t,filter:e,bounds:p.current??void 0});s(b.data.results)}catch{u(!0)}r(!1),a(!0)},[t,e]),v=c.useCallback(async b=>{u(!1),f(!0),p.current=b;try{const{data:C}=await fi({city:t,filter:e,bounds:b});s(C.data.results)}catch{u(!0)}f(!1)},[t,e]);return c.useEffect(()=>{g.current!==e&&(g.current=e,h())},[v,h,e]),c.useEffect(()=>{i||o||h()},[h,o,i]),{error:l,loaded:o,points:n,loading:i,revalidating:d,loadNext:v}},Sh=()=>{const[t,e]=c.useState(Qi),n=c.useCallback(s=>e(i=>({...i,...s})),[]);return{filter:t,setFilter:n}},Oh=()=>{const[t,e]=c.useState(null),[n,s]=c.useState(null);return{city:t,country:n,setCity:e,setCountry:s}},Mh=()=>{const[t,e]=c.useState(!1),n=c.useCallback(s=>e(s??(i=>!i)),[]);return{open:t,toggle:n}},Xt=".",pi=Symbol("target"),da=Symbol("unsubscribe");function gi(t){return t instanceof Date||t instanceof Set||t instanceof Map||t instanceof WeakSet||t instanceof WeakMap||ArrayBuffer.isView(t)}function Ph(t){return(typeof t=="object"?t===null:typeof t!="function")||t instanceof RegExp}const Ye=Array.isArray;function hi(t){return typeof t=="symbol"}const ke={after:(t,e)=>Ye(t)?t.slice(e.length):e===""?t:t.slice(e.length+1),concat:(t,e)=>Ye(t)?(t=[...t],e&&t.push(e),t):e&&e.toString!==void 0?(t!==""&&(t+=Xt),hi(e)?t+e.toString():t+e):t,initial:t=>{if(Ye(t))return t.slice(0,-1);if(t==="")return t;const e=t.lastIndexOf(Xt);return e===-1?"":t.slice(0,e)},last:t=>{if(Ye(t))return t[t.length-1]||"";if(t==="")return t;const e=t.lastIndexOf(Xt);return e===-1?t:t.slice(e+1)},walk:(t,e)=>{if(Ye(t))for(const n of t)e(n);else if(t!==""){let n=0,s=t.indexOf(Xt);if(s===-1)e(t);else for(;n<t.length;)s===-1&&(s=t.length),e(t.slice(n,s)),n=s+1,s=t.indexOf(Xt,n)}},get(t,e){return this.walk(e,n=>{t&&(t=t[n])}),t}};function Bh(t){return typeof t=="object"&&typeof t.next=="function"}function Nh(t,e,n,s,i){const r=t.next;if(e.name==="entries")t.next=function(){const o=r.call(this);return o.done===!1&&(o.value[0]=i(o.value[0],e,o.value[0],s),o.value[1]=i(o.value[1],e,o.value[0],s)),o};else if(e.name==="values"){const o=n[pi].keys();t.next=function(){const a=r.call(this);return a.done===!1&&(a.value=i(a.value,e,o.next().value,s)),a}}else t.next=function(){const o=r.call(this);return o.done===!1&&(o.value=i(o.value,e,o.value,s)),o};return t}function fa(t,e,n){return t.isUnsubscribed||e.ignoreSymbols&&hi(n)||e.ignoreUnderscores&&n.charAt(0)==="_"||"ignoreKeys"in e&&e.ignoreKeys.includes(n)}class kh{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 s=n.get(e);return s===void 0&&(s={},n.set(e,s)),s}_getOwnPropertyDescriptor(e,n){if(this.isUnsubscribed)return Reflect.getOwnPropertyDescriptor(e,n);const s=this._getProperties(e);let i=s[n];return i===void 0&&(i=Reflect.getOwnPropertyDescriptor(e,n),s[n]=i),i}getProxy(e,n,s,i){if(this.isUnsubscribed)return e;const r=e[i],o=r||e;this._pathCache.set(o,n);let a=this._proxyCache.get(o);return a===void 0&&(a=r===void 0?new Proxy(e,s):e,this._proxyCache.set(o,a)),a}getPath(e){return this.isUnsubscribed?void 0:this._pathCache.get(e)}isDetached(e,n){return!Object.is(e,ke.get(n,this.getPath(e)))}defineProperty(e,n,s){return Reflect.defineProperty(e,n,s)?(this.isUnsubscribed||(this._getProperties(e)[n]=s),!0):!1}setProperty(e,n,s,i,r){if(!this._equals(r,s)||!(n in e)){const o=this._getOwnPropertyDescriptor(e,n);return o!==void 0&&"set"in o?Reflect.set(e,n,s,i):Reflect.set(e,n,s)}return!0}deleteProperty(e,n,s){if(Reflect.deleteProperty(e,n)){if(!this.isUnsubscribed){const i=this._getDescriptorCache().get(e);i&&(delete i[n],this._pathCache.delete(s))}return!0}return!1}isSameDescriptor(e,n,s){const i=this._getOwnPropertyDescriptor(n,s);return e!==void 0&&i!==void 0&&Object.is(e.value,i.value)&&(e.writable||!1)===(i.writable||!1)&&(e.enumerable||!1)===(i.enumerable||!1)&&(e.configurable||!1)===(i.configurable||!1)&&e.get===i.get&&e.set===i.set}isGetInvariant(e,n){const s=this._getOwnPropertyDescriptor(e,n);return s!==void 0&&s.configurable!==!0&&s.writable!==!0}unsubscribe(){this._descriptorCache=null,this._pathCache=null,this._proxyCache=null,this.isUnsubscribed=!0}}function mi(t){return toString.call(t)==="[object Object]"}function Zn(){return!0}function Et(t,e){return t.length!==e.length||t.some((n,s)=>e[s]!==n)}const pa=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),Th=new Set(["concat","includes","indexOf","join","keys","lastIndexOf"]),ga={push:Zn,pop:Zn,shift:Zn,unshift:Zn,copyWithin:Et,reverse:Et,sort:Et,splice:Et,flat:Et,fill:Et},Gh=new Set([...pa,...Th,...Object.keys(ga)]);function zn(t,e){if(t.size!==e.size)return!0;for(const n of t)if(!e.has(n))return!0;return!1}const ha=["keys","values","entries"],ma=new Set(["has","toString"]),va={add:zn,clear:zn,delete:zn,forEach:zn},Dh=new Set([...ma,...Object.keys(va),...ha]);function Xn(t,e){if(t.size!==e.size)return!0;let n;for(const[s,i]of t)if(n=e.get(s),n!==i||n===void 0&&!e.has(s))return!0;return!1}const Fh=new Set([...ma,"get"]),ba={set:Xn,clear:Xn,delete:Xn,forEach:Xn},Vh=new Set([...Fh,...Object.keys(ba),...ha]);class et{constructor(e,n,s,i){this._path=n,this._isChanged=!1,this._clonedCache=new Set,this._hasOnValidate=i,this._changes=i?[]:null,this.clone=n===void 0?e:this._shallowClone(e)}static isHandledMethod(e){return pa.has(e)}_shallowClone(e){let n=e;if(mi(e))n={...e};else if(Ye(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(s=>this._shallowClone(s)));else if(e instanceof Map){n=new Map;for(const[s,i]of e.entries())n.set(s,this._shallowClone(i))}return this._clonedCache.add(n),n}preferredThisArg(e,n,s,i){return e?(Ye(i)?this._onIsChanged=ga[n]:i instanceof Set?this._onIsChanged=va[n]:i instanceof Map&&(this._onIsChanged=ba[n]),i):s}update(e,n,s){const i=ke.after(e,this._path);if(n!=="length"){let r=this.clone;ke.walk(i,o=>{r&&r[o]&&(this._clonedCache.has(r[o])||(r[o]=this._shallowClone(r[o])),r=r[o])}),this._hasOnValidate&&this._changes.push({path:i,property:n,previous:s}),r&&r[n]&&(r[n]=s)}this._isChanged=!0}undo(e){let n;for(let s=this._changes.length-1;s!==-1;s--)n=this._changes[s],ke.get(e,n.path)[n.property]=n.previous}isChanged(e){return this._onIsChanged===void 0?this._isChanged:this._onIsChanged(this.clone,e)}}class ya extends et{static isHandledMethod(e){return Gh.has(e)}}class Hh extends et{undo(e){e.setTime(this.clone.getTime())}isChanged(e,n){return!n(this.clone.valueOf(),e.valueOf())}}class Ca extends et{static isHandledMethod(e){return Dh.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 Ia extends et{static isHandledMethod(e){return Vh.has(e)}undo(e){for(const[n,s]of this.clone.entries())e.set(n,s);for(const n of e.keys())this.clone.has(n)||e.delete(n)}}class jh extends et{constructor(e,n,s,i){super(void 0,n,s,i),this._arg1=s[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 Wh extends et{constructor(e,n,s,i){super(void 0,n,s,i),this._weakKey=s[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 at{constructor(e){this._stack=[],this._hasOnValidate=e}static isHandledType(e){return mi(e)||Ye(e)||gi(e)}static isHandledMethod(e,n){return mi(e)?et.isHandledMethod(n):Ye(e)?ya.isHandledMethod(n):e instanceof Set?Ca.isHandledMethod(n):e instanceof Map?Ia.isHandledMethod(n):gi(e)}get isCloning(){return this._stack.length>0}start(e,n,s){let i=et;Ye(e)?i=ya:e instanceof Date?i=Hh:e instanceof Set?i=Ca:e instanceof Map?i=Ia:e instanceof WeakSet?i=jh:e instanceof WeakMap&&(i=Wh),this._stack.push(new i(e,n,s,this._hasOnValidate))}update(e,n,s){this._stack[this._stack.length-1].update(e,n,s)}preferredThisArg(e,n,s){const{name:i}=e,r=at.isHandledMethod(s,i);return this._stack[this._stack.length-1].preferredThisArg(r,i,n,s)}isChanged(e,n,s){return this._stack[this._stack.length-1].isChanged(e,n,s)}undo(e){this._previousClone!==void 0&&this._previousClone.undo(e)}stop(){return this._previousClone=this._stack.pop(),this._previousClone.clone}}const Zh={equals:Object.is,isShallow:!1,pathAsArray:!1,ignoreSymbols:!1,ignoreUnderscores:!1,ignoreDetached:!1,details:!1},Ut=(t,e,n={})=>{n={...Zh,...n};const s=Symbol("ProxyTarget"),{equals:i,isShallow:r,ignoreDetached:o,details:a}=n,l=new kh(i),u=typeof n.onValidate=="function",d=new at(u),f=(E,y,m,I,L)=>!u||d.isCloning||n.onValidate(ke.concat(l.getPath(E),y),m,I,L)===!0,p=(E,y,m,I)=>{!fa(l,n,y)&&!(o&&l.isDetached(E,t))&&g(l.getPath(E),y,m,I)},g=(E,y,m,I,L)=>{d.isCloning?d.update(E,y,I):e(ke.concat(E,y),m,I,L)},h=E=>E&&(E[s]||E),v=(E,y,m,I)=>Ph(E)||m==="constructor"||r&&!at.isHandledMethod(y,m)||fa(l,n,m)||l.isGetInvariant(y,m)||o&&l.isDetached(y,t)?E:(I===void 0&&(I=l.getPath(y)),l.getProxy(E,ke.concat(I,m),b,s)),b={get(E,y,m){if(hi(y)){if(y===s||y===pi)return E;if(y===da&&!l.isUnsubscribed&&l.getPath(E).length===0)return l.unsubscribe(),E}const I=gi(E)?Reflect.get(E,y):Reflect.get(E,y,m);return v(I,E,y)},set(E,y,m,I){m=h(m);const L=E[s]||E,w=L[y];if(i(w,m)&&y in E)return!0;const S=f(E,y,m,w);return S&&l.setProperty(L,y,m,I,w)?(p(E,y,E[y],w),!0):!S},defineProperty(E,y,m){if(!l.isSameDescriptor(m,E,y)){const I=E[y];f(E,y,m.value,I)&&l.defineProperty(E,y,m,I)&&p(E,y,m.value,I)}return!0},deleteProperty(E,y){if(!Reflect.has(E,y))return!0;const m=Reflect.get(E,y),I=f(E,y,void 0,m);return I&&l.deleteProperty(E,y,m)?(p(E,y,void 0,m),!0):!I},apply(E,y,m){const I=y[s]||y;if(l.isUnsubscribed)return Reflect.apply(E,I,m);if((a===!1||a!==!0&&!a.includes(E.name))&&at.isHandledType(I)){let L=ke.initial(l.getPath(E));const w=at.isHandledMethod(I,E.name);d.start(I,L,m);let S=Reflect.apply(E,d.preferredThisArg(E,y,I),w?m.map(N=>h(N)):m);const A=d.isChanged(I,i),M=d.stop();if(at.isHandledType(S)&&w&&(y instanceof Map&&E.name==="get"&&(L=ke.concat(L,m[0])),S=l.getProxy(S,L,b)),A){const N={name:E.name,args:m,result:S},D=d.isCloning?ke.initial(L):L,H=d.isCloning?ke.last(L):"";f(ke.get(t,D),H,I,M,N)?g(D,H,I,M,N):d.undo(I)}return(y instanceof Map||y instanceof Set)&&Bh(S)?Nh(S,E,y,L,v):S}return Reflect.apply(E,y,m)}},C=l.getProxy(t,n.pathAsArray?[]:"",b);return e=e.bind(C),u&&(n.onValidate=n.onValidate.bind(C)),C};Ut.target=t=>t&&t[pi]||t,Ut.unsubscribe=t=>t[da]||t;const zh=t=>{const[e,n]=c.useState(t??window.OMNI_CONFIG??{});return c.useEffect(()=>{if(t&&!window.OMNI_CONFIG){n(t);return}if(window.OMNI_CONFIG&&!t)return window.OMNI_CONFIG=Ut(window.OMNI_CONFIG,function(){n({...Ut.target(this)})}),()=>{Ut.unsubscribe(window.OMNI_CONFIG)};if(!window.OMNI_CONFIG&&!t)throw new Error("No config provided")},[t]),e},Xh=t=>{In.defaults.headers.get.Authorization=`INN ${t.INN}`};var Uh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Jh={}.NODE_ENV,Yh=function(t,e,n,s,i,r,o,a){if(Jh!=="production"&&e===void 0)throw new Error("invariant requires an error message argument");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,s,i,r,o,a],d=0;l=new Error(e.replace(/%s/g,function(){return u[d++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},be=Yh;const $=c.createContext(null);function Rh(){be(!!c.useContext,"useGoogleMap is React hook and requires React version 16.8+");const t=c.useContext($);return be(!!t,"useGoogleMap needs a GoogleMap available up in the tree"),t}function Qh(t,e,n){return Object.keys(t).reduce(function(i,r){return e(i,t[r],r)},n)}function _h(t,e){Object.keys(t).forEach(n=>e(t[n],n))}function Kh(t,e,n,s){const i={};return _h(t,(o,a)=>{const l=n[a];l!==e[a]&&(i[a]=l,o(s,l))}),i}function qh(t,e,n){return Qh(n,function(r,o,a){return typeof t[a]=="function"&&r.push(google.maps.event.addListener(e,o,t[a])),r},[])}function $h(t){google.maps.event.removeListener(t)}function re(t=[]){t.forEach($h)}function te({updaterMap:t,eventMap:e,prevProps:n,nextProps:s,instance:i}){const r=qh(s,i,e);return Kh(t,n,s,i),r}const Ea={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"},La={extraMapTypes(t,e){e.forEach(function(s,i){t.mapTypes.set(String(i),s)})},center(t,e){t.setCenter(e)},clickableIcons(t,e){t.setClickableIcons(e)},heading(t,e){t.setHeading(e)},mapTypeId(t,e){t.setMapTypeId(e)},options(t,e){t.setOptions(e)},streetView(t,e){t.setStreetView(e)},tilt(t,e){t.setTilt(e)},zoom(t,e){t.setZoom(e)}};function em({children:t,options:e,id:n,mapContainerStyle:s,mapContainerClassName:i,center:r,onClick:o,onDblClick:a,onDrag:l,onDragEnd:u,onDragStart:d,onMouseMove:f,onMouseOut:p,onMouseOver:g,onMouseDown:h,onMouseUp:v,onRightClick:b,onCenterChanged:C,onLoad:E,onUnmount:y}){const[m,I]=c.useState(null),L=c.useRef(null),[w,S]=c.useState(null),[A,M]=c.useState(null),[N,D]=c.useState(null),[H,k]=c.useState(null),[P,T]=c.useState(null),[F,V]=c.useState(null),[Z,X]=c.useState(null),[K,Y]=c.useState(null),[j,B]=c.useState(null),[ne,ee]=c.useState(null),[U,_]=c.useState(null),[oe,se]=c.useState(null);return c.useEffect(()=>{e&&m!==null&&m.setOptions(e)},[m,e]),c.useEffect(()=>{m!==null&&typeof r<"u"&&m.setCenter(r)},[m,r]),c.useEffect(()=>{m&&a&&(A!==null&&google.maps.event.removeListener(A),M(google.maps.event.addListener(m,"dblclick",a)))},[a]),c.useEffect(()=>{m&&u&&(N!==null&&google.maps.event.removeListener(N),D(google.maps.event.addListener(m,"dragend",u)))},[u]),c.useEffect(()=>{m&&d&&(H!==null&&google.maps.event.removeListener(H),k(google.maps.event.addListener(m,"dragstart",d)))},[d]),c.useEffect(()=>{m&&h&&(P!==null&&google.maps.event.removeListener(P),T(google.maps.event.addListener(m,"mousedown",h)))},[h]),c.useEffect(()=>{m&&f&&(F!==null&&google.maps.event.removeListener(F),V(google.maps.event.addListener(m,"mousemove",f)))},[f]),c.useEffect(()=>{m&&p&&(Z!==null&&google.maps.event.removeListener(Z),X(google.maps.event.addListener(m,"mouseout",p)))},[p]),c.useEffect(()=>{m&&g&&(K!==null&&google.maps.event.removeListener(K),Y(google.maps.event.addListener(m,"mouseover",g)))},[g]),c.useEffect(()=>{m&&v&&(j!==null&&google.maps.event.removeListener(j),B(google.maps.event.addListener(m,"mouseup",v)))},[v]),c.useEffect(()=>{m&&b&&(ne!==null&&google.maps.event.removeListener(ne),ee(google.maps.event.addListener(m,"rightclick",b)))},[b]),c.useEffect(()=>{m&&o&&(U!==null&&google.maps.event.removeListener(U),_(google.maps.event.addListener(m,"click",o)))},[o]),c.useEffect(()=>{m&&l&&(oe!==null&&google.maps.event.removeListener(oe),se(google.maps.event.addListener(m,"drag",l)))},[l]),c.useEffect(()=>{m&&C&&(w!==null&&google.maps.event.removeListener(w),S(google.maps.event.addListener(m,"center_changed",C)))},[o]),c.useEffect(()=>{const Le=L.current===null?null:new google.maps.Map(L.current,e);return I(Le),Le!==null&&E&&E(Le),()=>{Le!==null&&y&&y(Le)}},[]),x.jsx("div",Object.assign({id:n,ref:L,style:s,className:i},{children:x.jsx($.Provider,Object.assign({value:m},{children:m!==null?t:x.jsx(x.Fragment,{})}))}))}c.memo(em);class tm extends c.PureComponent{constructor(){super(...arguments),this.state={map:null},this.registeredEvents=[],this.mapRef=null,this.getInstance=()=>this.mapRef===null?null:new google.maps.Map(this.mapRef,this.props.options),this.panTo=e=>{const n=this.getInstance();n&&n.panTo(e)},this.setMapCallback=()=>{this.state.map!==null&&this.props.onLoad&&this.props.onLoad(this.state.map)},this.getRef=e=>{this.mapRef=e}}componentDidMount(){const e=this.getInstance();this.registeredEvents=te({updaterMap:La,eventMap:Ea,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{map:e}},this.setMapCallback)}componentDidUpdate(e){this.state.map!==null&&(re(this.registeredEvents),this.registeredEvents=te({updaterMap:La,eventMap:Ea,prevProps:e,nextProps:this.props,instance:this.state.map}))}componentWillUnmount(){this.state.map!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.map),re(this.registeredEvents))}render(){return x.jsx("div",Object.assign({id:this.props.id,ref:this.getRef,style:this.props.mapContainerStyle,className:this.props.mapContainerClassName},{children:x.jsx($.Provider,Object.assign({value:this.state.map},{children:this.state.map!==null?this.props.children:x.jsx(x.Fragment,{})}))}))}}/*! *****************************************************************************
|
|
38
|
+
Copyright (c) Microsoft Corporation.
|
|
39
|
+
|
|
40
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
41
|
+
purpose with or without fee is hereby granted.
|
|
42
|
+
|
|
43
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
44
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
45
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
46
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
47
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
48
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
49
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
50
|
+
***************************************************************************** */function bi(t,e){var n={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&e.indexOf(s)<0&&(n[s]=t[s]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,s=Object.getOwnPropertySymbols(t);i<s.length;i++)e.indexOf(s[i])<0&&Object.prototype.propertyIsEnumerable.call(t,s[i])&&(n[s[i]]=t[s[i]]);return n}function nm(t,e,n,s){function i(r){return r instanceof n?r:new n(function(o){o(r)})}return new(n||(n=Promise))(function(r,o){function a(d){try{u(s.next(d))}catch(f){o(f)}}function l(d){try{u(s.throw(d))}catch(f){o(f)}}function u(d){d.done?r(d.value):i(d.value).then(a,l)}u((s=s.apply(t,e||[])).next())})}const tt=typeof document<"u";function xa({url:t,id:e,nonce:n}){return tt?new Promise(function(i,r){const o=document.getElementById(e),a=window;if(o){const u=o.getAttribute("data-state");if(o.src===t&&u!=="error"){if(u==="ready")return i(e);{const d=a.initMap,f=o.onerror;a.initMap=function(){d&&d(),i(e)},o.onerror=function(p){f&&f(p),r(p)};return}}else o.remove()}const l=document.createElement("script");l.type="text/javascript",l.src=t,l.id=e,l.async=!0,l.nonce=n,l.onerror=function(d){l.setAttribute("data-state","error"),r(d)},a.initMap=function(){l.setAttribute("data-state","ready"),i(e)},document.head.appendChild(l)}).catch(s=>{throw console.error("injectScript error: ",s),s}):Promise.reject(new Error("document is undefined"))}function Aa(t){const 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
|
|
51
|
+
`,"").indexOf(".gm-style")===0?(t.styleSheet.cssText="",!0):t.tagName.toLowerCase()==="style"&&t.innerHTML&&t.innerHTML.replace(`\r
|
|
52
|
+
`,"").indexOf(".gm-style")===0?(t.innerHTML="",!0):t.tagName.toLowerCase()==="style"&&!t.styleSheet&&!t.innerHTML}function yi(){const t=document.getElementsByTagName("head")[0],e=t.insertBefore.bind(t);t.insertBefore=function(i,r){Aa(i)||Reflect.apply(e,t,[i,r])};const n=t.appendChild.bind(t);t.appendChild=function(i){Aa(i)||Reflect.apply(n,t,[i])}}function wa({googleMapsApiKey:t,googleMapsClientId:e,version:n="weekly",language:s,region:i,libraries:r,channel:o,mapIds:a,authReferrerPolicy:l}){const u=[];return be(t&&e||!(t&&e),"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."),t?u.push(`key=${t}`):e&&u.push(`client=${e}`),n&&u.push(`v=${n}`),s&&u.push(`language=${s}`),i&&u.push(`region=${i}`),r&&r.length&&u.push(`libraries=${r.sort().join(",")}`),o&&u.push(`channel=${o}`),a&&a.length&&u.push(`map_ids=${a.join(",")}`),l&&u.push(`auth_referrer_policy=${l}`),u.push("callback=initMap"),`https://maps.googleapis.com/maps/api/js?${u.join("&")}`}let Jt=!1;function Sa(){return x.jsx("div",{children:"Loading..."})}const Yt={id:"script-loader",version:"weekly"};class sm extends c.PureComponent{constructor(){super(...arguments),this.check=c.createRef(),this.state={loaded:!1},this.cleanupCallback=()=>{delete window.google.maps,this.injectScript()},this.isCleaningUp=()=>nm(this,void 0,void 0,function*(){function e(n){if(!Jt)n();else if(tt){const s=window.setInterval(function(){Jt||(window.clearInterval(s),n())},1)}}return new Promise(e)}),this.cleanup=()=>{Jt=!0;const e=document.getElementById(this.props.id);e&&e.parentNode&&e.parentNode.removeChild(e),Array.prototype.slice.call(document.getElementsByTagName("script")).filter(function(s){return typeof s.src=="string"&&s.src.includes("maps.googleapis")}).forEach(function(s){s.parentNode&&s.parentNode.removeChild(s)}),Array.prototype.slice.call(document.getElementsByTagName("link")).filter(function(s){return s.href==="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Google+Sans"}).forEach(function(s){s.parentNode&&s.parentNode.removeChild(s)}),Array.prototype.slice.call(document.getElementsByTagName("style")).filter(function(s){return s.innerText!==void 0&&s.innerText.length>0&&s.innerText.includes(".gm-")}).forEach(function(s){s.parentNode&&s.parentNode.removeChild(s)})},this.injectScript=()=>{this.props.preventGoogleFontsLoading&&yi(),be(!!this.props.id,'LoadScript requires "id" prop to be a string: %s',this.props.id);const e={id:this.props.id,nonce:this.props.nonce,url:wa(this.props)};xa(e).then(()=>{this.props.onLoad&&this.props.onLoad(),this.setState(function(){return{loaded:!0}})}).catch(n=>{this.props.onError&&this.props.onError(n),console.error(`
|
|
53
|
+
There has been an Error with loading Google Maps API script, please check that you provided correct google API key (${this.props.googleMapsApiKey||"-"}) or Client ID (${this.props.googleMapsClientId||"-"}) to <LoadScript />
|
|
54
|
+
Otherwise it is a Network issue.
|
|
55
|
+
`)})}}componentDidMount(){if(tt){if(window.google&&window.google.maps&&!Jt){console.error("google api is already presented");return}this.isCleaningUp().then(this.injectScript).catch(function(n){console.error("Error at injecting script after cleaning up: ",n)})}}componentDidUpdate(e){this.props.libraries!==e.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"),tt&&e.language!==this.props.language&&(this.cleanup(),this.setState(function(){return{loaded:!1}},this.cleanupCallback))}componentWillUnmount(){if(tt){this.cleanup();const e=()=>{this.check.current||(delete window.google,Jt=!1)};window.setTimeout(e,1),this.props.onUnmount&&this.props.onUnmount()}}render(){return x.jsxs(x.Fragment,{children:[x.jsx("div",{ref:this.check}),this.state.loaded?this.props.children:this.props.loadingElement||x.jsx(Sa,{})]})}}sm.defaultProps=Yt;let Oa;function im({id:t=Yt.id,version:e=Yt.version,nonce:n,googleMapsApiKey:s,googleMapsClientId:i,language:r,region:o,libraries:a,preventGoogleFontsLoading:l,channel:u,mapIds:d,authReferrerPolicy:f}){const p=c.useRef(!1),[g,h]=c.useState(!1),[v,b]=c.useState(void 0);c.useEffect(function(){return p.current=!0,()=>{p.current=!1}},[]),c.useEffect(function(){tt&&l&&yi()},[l]),c.useEffect(function(){g&&be(!!window.google,"useLoadScript was marked as loaded, but window.google is not present. Something went wrong.")},[g]);const C=wa({version:e,googleMapsApiKey:s,googleMapsClientId:i,language:r,region:o,libraries:a,channel:u,mapIds:d,authReferrerPolicy:f});c.useEffect(function(){if(!tt)return;function m(){p.current&&(h(!0),Oa=C)}if(window.google&&window.google.maps&&Oa===C){m();return}xa({id:t,url:C,nonce:n}).then(m).catch(function(L){p.current&&b(L),console.warn(`
|
|
56
|
+
There has been an Error with loading Google Maps API script, please check that you provided correct google API key (${s||"-"}) or Client ID (${i||"-"})
|
|
57
|
+
Otherwise it is a Network issue.
|
|
58
|
+
`),console.error(L)})},[t,C,n]);const E=c.useRef();return c.useEffect(function(){E.current&&a!==E.current&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),E.current=a},[a]),{isLoaded:g,loadError:v,url:C}}const rm=x.jsx(Sa,{});function om(t){var{loadingElement:e,onLoad:n,onError:s,onUnmount:i,children:r}=t,o=bi(t,["loadingElement","onLoad","onError","onUnmount","children"]);const{isLoaded:a,loadError:l}=im(o);return c.useEffect(function(){a&&typeof n=="function"&&n()},[a,n]),c.useEffect(function(){l&&typeof s=="function"&&s(l)},[l,s]),c.useEffect(function(){return()=>{i&&i()}},[i]),a?r:e||rm}c.memo(om);var am=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 s,i,r;if(Array.isArray(e)){if(s=e.length,s!=n.length)return!1;for(i=s;i--!==0;)if(!t(e[i],n[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(r=Object.keys(e),s=r.length,s!==Object.keys(n).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,r[i]))return!1;for(i=s;i--!==0;){var o=r[i];if(!t(e[o],n[o]))return!1}return!0}return e!==e&&n!==n};const Ma="__googleMapsScriptId";var Lt;(function(t){t[t.INITIALIZED=0]="INITIALIZED",t[t.LOADING=1]="LOADING",t[t.SUCCESS=2]="SUCCESS",t[t.FAILURE=3]="FAILURE"})(Lt||(Lt={}));class lt{constructor({apiKey:e,authReferrerPolicy:n,channel:s,client:i,id:r=Ma,language:o,libraries:a=[],mapIds:l,nonce:u,region:d,retries:f=3,url:p="https://maps.googleapis.com/maps/api/js",version:g}){if(this.CALLBACK="__googleMapsCallback",this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=e,this.authReferrerPolicy=n,this.channel=s,this.client=i,this.id=r||Ma,this.language=o,this.libraries=a,this.mapIds=l,this.nonce=u,this.region=d,this.retries=f,this.url=p,this.version=g,lt.instance){if(!am(this.options,lt.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(lt.instance.options)}`);return lt.instance}lt.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?Lt.FAILURE:this.done?Lt.SUCCESS:this.loading?Lt.LOADING:Lt.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+=`?callback=${this.CALLBACK}`,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+=`®ion=${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(s=>{s?n(s.error):e(window.google)})})}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){if(document.getElementById(this.id)){this.callback();return}const e=this.createUrl(),n=document.createElement("script");n.id=this.id,n.type="text/javascript",n.src=e,n.onerror=this.loadErrorCallback.bind(this),n.defer=!0,n.async=!0,this.nonce&&(n.nonce=this.nonce),document.head.appendChild(n)}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.log(`Failed to load Google Maps script, retrying in ${n} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},n)}else this.onerrorEvent=e,this.callback()}setCallback(){window.__googleMapsCallback=this.callback.bind(this)}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.setCallback(),this.setScript())}}}function lm({id:t=Yt.id,version:e=Yt.version,nonce:n,googleMapsApiKey:s,language:i,region:r,libraries:o,preventGoogleFontsLoading:a,mapIds:l,authReferrerPolicy:u}){const d=c.useRef(!1),[f,p]=c.useState(!1),[g,h]=c.useState(void 0);c.useEffect(function(){return d.current=!0,()=>{d.current=!1}},[]);const v=c.useMemo(function(){return new lt({id:t,apiKey:s,version:e,libraries:o,language:i,region:r,mapIds:l,nonce:n,authReferrerPolicy:u})},[t,s,e,o,i,r,l,n,u]);c.useEffect(function(){f||v.load().then(function(){d.current&&p(!0)}).catch(function(y){h(y)})},[]),c.useEffect(function(){tt&&a&&yi()},[a]);const b=c.useRef();return c.useEffect(function(){b.current&&o!==b.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"),b.current=o},[o]),{isLoaded:f,loadError:g}}const Pa={},Ba={options(t,e){t.setOptions(e)}};function um({options:t,onLoad:e,onUnmount:n}){const s=c.useContext($),[i,r]=c.useState(null);return c.useEffect(()=>{i!==null&&i.setMap(s)},[s]),c.useEffect(()=>{t&&i!==null&&i.setOptions(t)},[i,t]),c.useEffect(()=>{const o=new google.maps.TrafficLayer(Object.assign(Object.assign({},t||{}),{map:s}));return r(o),e&&e(o),()=>{i!==null&&(n&&n(i),i.setMap(null))}},[]),null}c.memo(um);class cm extends c.PureComponent{constructor(){super(...arguments),this.state={trafficLayer:null},this.setTrafficLayerCallback=()=>{this.state.trafficLayer!==null&&this.props.onLoad&&this.props.onLoad(this.state.trafficLayer)},this.registeredEvents=[]}componentDidMount(){const e=new google.maps.TrafficLayer(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=te({updaterMap:Ba,eventMap:Pa,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{trafficLayer:e}},this.setTrafficLayerCallback)}componentDidUpdate(e){this.state.trafficLayer!==null&&(re(this.registeredEvents),this.registeredEvents=te({updaterMap:Ba,eventMap:Pa,prevProps:e,nextProps:this.props,instance:this.state.trafficLayer}))}componentWillUnmount(){this.state.trafficLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.trafficLayer),re(this.registeredEvents),this.state.trafficLayer.setMap(null))}render(){return null}}cm.contextType=$;function dm({onLoad:t,onUnmount:e}){const n=c.useContext($),[s,i]=c.useState(null);return c.useEffect(()=>{s!==null&&s.setMap(n)},[n]),c.useEffect(()=>{const r=new google.maps.BicyclingLayer;return i(r),r.setMap(n),t&&t(r),()=>{r!==null&&(e&&e(r),r.setMap(null))}},[]),null}c.memo(dm);class fm extends c.PureComponent{constructor(){super(...arguments),this.state={bicyclingLayer:null},this.setBicyclingLayerCallback=()=>{this.state.bicyclingLayer!==null&&(this.state.bicyclingLayer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.bicyclingLayer))}}componentDidMount(){const e=new google.maps.BicyclingLayer;this.setState(()=>({bicyclingLayer:e}),this.setBicyclingLayerCallback)}componentWillUnmount(){this.state.bicyclingLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.bicyclingLayer),this.state.bicyclingLayer.setMap(null))}render(){return null}}fm.contextType=$;function pm({onLoad:t,onUnmount:e}){const n=c.useContext($),[s,i]=c.useState(null);return c.useEffect(()=>{s!==null&&s.setMap(n)},[n]),c.useEffect(()=>{const r=new google.maps.TransitLayer;return i(r),r.setMap(n),t&&t(r),()=>{s!==null&&(e&&e(s),this.state.transitLayer.setMap(null))}},[]),null}c.memo(pm);class gm extends c.PureComponent{constructor(){super(...arguments),this.state={transitLayer:null},this.setTransitLayerCallback=()=>{this.state.transitLayer!==null&&(this.state.transitLayer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.transitLayer))}}componentDidMount(){const e=new google.maps.TransitLayer;this.setState(function(){return{transitLayer:e}},this.setTransitLayerCallback)}componentWillUnmount(){this.state.transitLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.transitLayer),this.state.transitLayer.setMap(null))}render(){return null}}gm.contextType=$;const Na={onCircleComplete:"circlecomplete",onMarkerComplete:"markercomplete",onOverlayComplete:"overlaycomplete",onPolygonComplete:"polygoncomplete",onPolylineComplete:"polylinecomplete",onRectangleComplete:"rectanglecomplete"},ka={drawingMode(t,e){t.setDrawingMode(e)},options(t,e){t.setOptions(e)}};function hm({options:t,drawingMode:e,onCircleComplete:n,onMarkerComplete:s,onOverlayComplete:i,onPolygonComplete:r,onPolylineComplete:o,onRectangleComplete:a,onLoad:l,onUnmount:u}){const d=c.useContext($),[f,p]=c.useState(null),[g,h]=c.useState(null),[v,b]=c.useState(null),[C,E]=c.useState(null),[y,m]=c.useState(null),[I,L]=c.useState(null),[w,S]=c.useState(null);return c.useEffect(()=>{f!==null&&f.setMap(d)},[d]),c.useEffect(()=>{t&&f!==null&&f.setOptions(t)},[f,t]),c.useEffect(()=>{e&&f!==null&&f.setDrawingMode(e)},[f,e]),c.useEffect(()=>{f&&n&&(g!==null&&google.maps.event.removeListener(g),h(google.maps.event.addListener(f,"circlecomplete",n)))},[f,n]),c.useEffect(()=>{f&&s&&(v!==null&&google.maps.event.removeListener(v),b(google.maps.event.addListener(f,"markercomplete",s)))},[f,s]),c.useEffect(()=>{f&&i&&(C!==null&&google.maps.event.removeListener(C),E(google.maps.event.addListener(f,"overlaycomplete",i)))},[f,i]),c.useEffect(()=>{f&&r&&(y!==null&&google.maps.event.removeListener(y),m(google.maps.event.addListener(f,"polygoncomplete",r)))},[f,r]),c.useEffect(()=>{f&&o&&(I!==null&&google.maps.event.removeListener(I),L(google.maps.event.addListener(f,"polylinecomplete",o)))},[f,o]),c.useEffect(()=>{f&&a&&(w!==null&&google.maps.event.removeListener(w),S(google.maps.event.addListener(f,"rectanglecomplete",a)))},[f,a]),c.useEffect(()=>{be(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing);const A=new google.maps.drawing.DrawingManager(Object.assign(Object.assign({},t||{}),{map:d}));return e&&A.setDrawingMode(e),n&&h(google.maps.event.addListener(A,"circlecomplete",n)),s&&b(google.maps.event.addListener(A,"markercomplete",s)),i&&E(google.maps.event.addListener(A,"overlaycomplete",i)),r&&m(google.maps.event.addListener(A,"polygoncomplete",r)),o&&L(google.maps.event.addListener(A,"polylinecomplete",o)),a&&S(google.maps.event.addListener(A,"rectanglecomplete",a)),p(A),l&&l(A),()=>{f!==null&&(g&&google.maps.event.removeListener(g),v&&google.maps.event.removeListener(v),C&&google.maps.event.removeListener(C),y&&google.maps.event.removeListener(y),I&&google.maps.event.removeListener(I),w&&google.maps.event.removeListener(w),u&&u(f),f.setMap(null))}},[]),null}c.memo(hm);class mm extends c.PureComponent{constructor(e){super(e),this.registeredEvents=[],this.state={drawingManager:null},this.setDrawingManagerCallback=()=>{this.state.drawingManager!==null&&this.props.onLoad&&this.props.onLoad(this.state.drawingManager)},be(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing)}componentDidMount(){const e=new google.maps.drawing.DrawingManager(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=te({updaterMap:ka,eventMap:Na,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{drawingManager:e}},this.setDrawingManagerCallback)}componentDidUpdate(e){this.state.drawingManager!==null&&(re(this.registeredEvents),this.registeredEvents=te({updaterMap:ka,eventMap:Na,prevProps:e,nextProps:this.props,instance:this.state.drawingManager}))}componentWillUnmount(){this.state.drawingManager!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.drawingManager),re(this.registeredEvents),this.state.drawingManager.setMap(null))}render(){return null}}mm.contextType=$;const Ta={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"},Ga={animation(t,e){t.setAnimation(e)},clickable(t,e){t.setClickable(e)},cursor(t,e){t.setCursor(e)},draggable(t,e){t.setDraggable(e)},icon(t,e){t.setIcon(e)},label(t,e){t.setLabel(e)},map(t,e){t.setMap(e)},opacity(t,e){t.setOpacity(e)},options(t,e){t.setOptions(e)},position(t,e){t.setPosition(e)},shape(t,e){t.setShape(e)},title(t,e){t.setTitle(e)},visible(t,e){t.setVisible(e)},zIndex(t,e){t.setZIndex(e)}},Un={};function vm({position:t,options:e,clusterer:n,noClustererRedraw:s,children:i,draggable:r,visible:o,animation:a,clickable:l,cursor:u,icon:d,label:f,opacity:p,shape:g,title:h,zIndex:v,onClick:b,onDblClick:C,onDrag:E,onDragEnd:y,onDragStart:m,onMouseOut:I,onMouseOver:L,onMouseUp:w,onMouseDown:S,onRightClick:A,onClickableChanged:M,onCursorChanged:N,onAnimationChanged:D,onDraggableChanged:H,onFlatChanged:k,onIconChanged:P,onPositionChanged:T,onShapeChanged:F,onTitleChanged:V,onVisibleChanged:Z,onZindexChanged:X,onLoad:K,onUnmount:Y}){const j=c.useContext($),[B,ne]=c.useState(null),[ee,U]=c.useState(null),[_,oe]=c.useState(null),[se,Le]=c.useState(null),[W,Pe]=c.useState(null),[ie,De]=c.useState(null),[Ot,ns]=c.useState(null),[Re,Ke]=c.useState(null),[xe,ss]=c.useState(null),[nt,Jl]=c.useState(null),[Yl,Rl]=c.useState(null),[is,Ql]=c.useState(null),[rs,_l]=c.useState(null),[os,Kl]=c.useState(null),[as,ql]=c.useState(null),[ls,$l]=c.useState(null),[us,eu]=c.useState(null),[cs,tu]=c.useState(null),[nu,su]=c.useState(null),[ds,iu]=c.useState(null),[fs,ru]=c.useState(null),[ps,ou]=c.useState(null);c.useEffect(()=>{B!==null&&B.setMap(j)},[j]),c.useEffect(()=>{typeof e<"u"&&B!==null&&B.setOptions(e)},[B,e]),c.useEffect(()=>{typeof r<"u"&&B!==null&&B.setDraggable(r)},[B,r]),c.useEffect(()=>{t&&B!==null&&B.setPosition(t)},[B,t]),c.useEffect(()=>{typeof o<"u"&&B!==null&&B.setVisible(o)},[B,o]),c.useEffect(()=>{a&&B!==null&&B.setAnimation(a)},[B,a]),c.useEffect(()=>{B&&C&&(ee!==null&&google.maps.event.removeListener(ee),U(google.maps.event.addListener(B,"dblclick",C)))},[C]),c.useEffect(()=>{B&&y&&(_!==null&&google.maps.event.removeListener(_),oe(google.maps.event.addListener(B,"dragend",y)))},[y]),c.useEffect(()=>{B&&m&&(se!==null&&google.maps.event.removeListener(se),Le(google.maps.event.addListener(B,"dragstart",m)))},[m]),c.useEffect(()=>{B&&S&&(W!==null&&google.maps.event.removeListener(W),Pe(google.maps.event.addListener(B,"mousedown",S)))},[S]),c.useEffect(()=>{B&&I&&(ie!==null&&google.maps.event.removeListener(ie),De(google.maps.event.addListener(B,"mouseout",I)))},[I]),c.useEffect(()=>{B&&L&&(Ot!==null&&google.maps.event.removeListener(Ot),ns(google.maps.event.addListener(B,"mouseover",L)))},[L]),c.useEffect(()=>{B&&w&&(Re!==null&&google.maps.event.removeListener(Re),Ke(google.maps.event.addListener(B,"mouseup",w)))},[w]),c.useEffect(()=>{B&&A&&(xe!==null&&google.maps.event.removeListener(xe),ss(google.maps.event.addListener(B,"rightclick",A)))},[A]),c.useEffect(()=>{B&&b&&(nt!==null&&google.maps.event.removeListener(nt),Jl(google.maps.event.addListener(B,"click",b)))},[b]),c.useEffect(()=>{B&&E&&(Yl!==null&&google.maps.event.removeListener(Yl),Rl(google.maps.event.addListener(B,"drag",E)))},[E]),c.useEffect(()=>{B&&M&&(is!==null&&google.maps.event.removeListener(is),Ql(google.maps.event.addListener(B,"clickable_changed",M)))},[M]),c.useEffect(()=>{B&&N&&(rs!==null&&google.maps.event.removeListener(rs),_l(google.maps.event.addListener(B,"cursor_changed",N)))},[N]),c.useEffect(()=>{B&&D&&(os!==null&&google.maps.event.removeListener(os),Kl(google.maps.event.addListener(B,"animation_changed",D)))},[D]),c.useEffect(()=>{B&&H&&(as!==null&&google.maps.event.removeListener(as),ql(google.maps.event.addListener(B,"draggable_changed",H)))},[H]),c.useEffect(()=>{B&&k&&(ls!==null&&google.maps.event.removeListener(ls),$l(google.maps.event.addListener(B,"flat_changed",k)))},[k]),c.useEffect(()=>{B&&P&&(us!==null&&google.maps.event.removeListener(us),eu(google.maps.event.addListener(B,"icon_changed",P)))},[P]),c.useEffect(()=>{B&&T&&(cs!==null&&google.maps.event.removeListener(cs),tu(google.maps.event.addListener(B,"position_changed",T)))},[T]),c.useEffect(()=>{B&&F&&(nu!==null&&google.maps.event.removeListener(nu),su(google.maps.event.addListener(B,"shape_changed",F)))},[F]),c.useEffect(()=>{B&&V&&(ds!==null&&google.maps.event.removeListener(ds),iu(google.maps.event.addListener(B,"title_changed",V)))},[V]),c.useEffect(()=>{B&&Z&&(fs!==null&&google.maps.event.removeListener(fs),ru(google.maps.event.addListener(B,"visible_changed",Z)))},[Z]),c.useEffect(()=>{B&&X&&(ps!==null&&google.maps.event.removeListener(ps),ou(google.maps.event.addListener(B,"zindex_changed",X)))},[X]),c.useEffect(()=>{const qt=Object.assign(Object.assign(Object.assign({},e||Un),n?Un:{map:j}),{position:t}),q=new google.maps.Marker(qt);return n?n.addMarker(q,!!s):q.setMap(j),t&&q.setPosition(t),typeof o<"u"&&q.setVisible(o),typeof r<"u"&&q.setDraggable(r),typeof l<"u"&&q.setClickable(l),typeof u=="string"&&q.setCursor(u),d&&q.setIcon(d),typeof f<"u"&&q.setLabel(f),typeof p<"u"&&q.setOpacity(p),g&&q.setShape(g),typeof h=="string"&&q.setTitle(h),typeof v=="number"&&q.setZIndex(v),C&&U(google.maps.event.addListener(q,"dblclick",C)),y&&oe(google.maps.event.addListener(q,"dragend",y)),m&&Le(google.maps.event.addListener(q,"dragstart",m)),S&&Pe(google.maps.event.addListener(q,"mousedown",S)),I&&De(google.maps.event.addListener(q,"mouseout",I)),L&&ns(google.maps.event.addListener(q,"mouseover",L)),w&&Ke(google.maps.event.addListener(q,"mouseup",w)),A&&ss(google.maps.event.addListener(q,"rightclick",A)),b&&Jl(google.maps.event.addListener(q,"click",b)),E&&Rl(google.maps.event.addListener(q,"drag",E)),M&&Ql(google.maps.event.addListener(q,"clickable_changed",M)),N&&_l(google.maps.event.addListener(q,"cursor_changed",N)),D&&Kl(google.maps.event.addListener(q,"animation_changed",D)),H&&ql(google.maps.event.addListener(q,"draggable_changed",H)),k&&$l(google.maps.event.addListener(q,"flat_changed",k)),P&&eu(google.maps.event.addListener(q,"icon_changed",P)),T&&tu(google.maps.event.addListener(q,"position_changed",T)),F&&su(google.maps.event.addListener(q,"shape_changed",F)),V&&iu(google.maps.event.addListener(q,"title_changed",V)),Z&&ru(google.maps.event.addListener(q,"visible_changed",Z)),X&&ou(google.maps.event.addListener(q,"zindex_changed",X)),ne(q),K&&K(q),()=>{ee!==null&&google.maps.event.removeListener(ee),_!==null&&google.maps.event.removeListener(_),se!==null&&google.maps.event.removeListener(se),W!==null&&google.maps.event.removeListener(W),ie!==null&&google.maps.event.removeListener(ie),Ot!==null&&google.maps.event.removeListener(Ot),Re!==null&&google.maps.event.removeListener(Re),xe!==null&&google.maps.event.removeListener(xe),nt!==null&&google.maps.event.removeListener(nt),is!==null&&google.maps.event.removeListener(is),rs!==null&&google.maps.event.removeListener(rs),os!==null&&google.maps.event.removeListener(os),as!==null&&google.maps.event.removeListener(as),ls!==null&&google.maps.event.removeListener(ls),us!==null&&google.maps.event.removeListener(us),cs!==null&&google.maps.event.removeListener(cs),ds!==null&&google.maps.event.removeListener(ds),fs!==null&&google.maps.event.removeListener(fs),ps!==null&&google.maps.event.removeListener(ps),Y&&Y(q),n?n.removeMarker(q,!!s):q&&q.setMap(null)}},[]);const rb=c.useMemo(()=>i?c.Children.map(i,qt=>{if(!c.isValidElement(qt))return qt;const q=qt;return c.cloneElement(q,{anchor:B})}):null,[i,B]);return x.jsx(x.Fragment,{children:rb})||null}const bm=c.memo(vm);class ym extends c.PureComponent{constructor(){super(...arguments),this.registeredEvents=[]}componentDidMount(){const e=Object.assign(Object.assign(Object.assign({},this.props.options||Un),this.props.clusterer?Un:{map:this.context}),{position:this.props.position});this.marker=new google.maps.Marker(e),this.props.clusterer?this.props.clusterer.addMarker(this.marker,!!this.props.noClustererRedraw):this.marker.setMap(this.context),this.registeredEvents=te({updaterMap:Ga,eventMap:Ta,prevProps:{},nextProps:this.props,instance:this.marker}),this.props.onLoad&&this.props.onLoad(this.marker)}componentDidUpdate(e){this.marker&&(re(this.registeredEvents),this.registeredEvents=te({updaterMap:Ga,eventMap:Ta,prevProps:e,nextProps:this.props,instance:this.marker}))}componentWillUnmount(){this.marker&&(this.props.onUnmount&&this.props.onUnmount(this.marker),re(this.registeredEvents),this.props.clusterer?this.props.clusterer.removeMarker(this.marker,!!this.props.noClustererRedraw):this.marker&&this.marker.setMap(null))}render(){let e=null;return this.props.children&&(e=c.Children.map(this.props.children,n=>{if(!c.isValidElement(n))return n;const s=n;return c.cloneElement(s,{anchor:this.marker})})),e||null}}ym.contextType=$;var Cm=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 s=n.getMaxZoom(),i=this.cluster.getBounds(),r=n.getMap();r!==null&&"fitBounds"in r&&r.fitBounds(i),this.timeOut=window.setTimeout(function(){var o=n.getMap();if(o!==null){"fitBounds"in o&&o.fitBounds(i);var a=o.getZoom()||0;s!==null&&a>s&&o.setZoom(s+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,s,i;if(this.div&&this.center){var r=this.sums===null||typeof this.sums.title>"u"||this.sums.title===""?this.cluster.getClusterer().getTitle():this.sums.title,o=this.backgroundPosition.split(" "),a=parseInt(o[0].replace(/^\s+|\s+$/g,""),10),l=parseInt(o[1].replace(/^\s+|\s+$/g,""),10),u=this.getPosFromLatLng(this.center);this.div.className=this.className,this.div.setAttribute("style","cursor: pointer; position: absolute; top: ".concat(u!==null?"".concat(u.y,"px"):"0","; left: ").concat(u!==null?"".concat(u.x,"px"):"0","; width: ").concat(this.width,"px; height: ").concat(this.height,"px; "));var d=document.createElement("img");d.alt=r,d.src=this.url,d.width=this.width,d.height=this.height,d.setAttribute("style","position: absolute; top: ".concat(l,"px; left: ").concat(a,"px")),this.cluster.getClusterer().enableRetinaIcons||(d.style.clip="rect(-".concat(l,"px, -").concat(a+this.width,"px, -").concat(l+this.height,", -").concat(a,")"));var f=document.createElement("div");f.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")),!((e=this.sums)===null||e===void 0)&&e.text&&(f.innerText="".concat((n=this.sums)===null||n===void 0?void 0:n.text)),!((s=this.sums)===null||s===void 0)&&s.html&&(f.innerHTML="".concat((i=this.sums)===null||i===void 0?void 0:i.html)),this.div.innerHTML="",this.div.appendChild(d),this.div.appendChild(f),this.div.title=r,this.div.style.display=""}this.visible=!0},t.prototype.useStyle=function(e){this.sums=e;var n=this.cluster.getClusterer().getStyles(),s=n[Math.min(n.length-1,Math.max(0,e.index-1))];this.url=s.url,this.height=s.height,this.width=s.width,s.className&&(this.className="".concat(this.clusterClassName," ").concat(s.className)),this.anchorText=s.anchorText||[0,0],this.anchorIcon=s.anchorIcon||[this.height/2,this.width/2],this.textColor=s.textColor||"black",this.textSize=s.textSize||11,this.textDecoration=s.textDecoration||"none",this.fontWeight=s.fontWeight||"bold",this.fontStyle=s.fontStyle||"normal",this.fontFamily=s.fontFamily||"Arial,sans-serif",this.backgroundPosition=s.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}(),Im=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 Cm(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(),s=0;s<n.length;s++){var i=n[s].getPosition();i&&e.extend(i)}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 s=e.getPosition();if(s){var i=this.markers.length+1;this.center=new google.maps.LatLng((this.center.lat()*(i-1)+s.lat())/i,(this.center.lng()*(i-1)+s.lng())/i),this.calculateBounds()}}}else{var s=e.getPosition();s&&(this.center=s,this.calculateBounds())}e.isAdded=!0,this.markers.push(e);var r=this.markers.length,o=this.markerClusterer.getMaxZoom(),a=(n=this.map)===null||n===void 0?void 0:n.getZoom();if(o!==null&&typeof a<"u"&&a>o)e.getMap()!==this.map&&e.setMap(this.map);else if(r<this.minClusterSize)e.getMap()!==this.map&&e.setMap(this.map);else if(r===this.minClusterSize)for(var l=0;l<r;l++)this.markers[l].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,s=this.markerClusterer.getMaxZoom(),i=(e=this.map)===null||e===void 0?void 0:e.getZoom();if(s!==null&&typeof i<"u"&&i>s){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 Em(t,e){var n=t.length,s=n.toString().length,i=Math.min(s,e);return{text:n.toString(),index:i,title:""}}var Lm=2e3,xm=500,Am="https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m",wm="png",Sm=[53,56,66,78,90],Om="cluster",Da=function(){function t(e,n,s){n===void 0&&(n=[]),s===void 0&&(s={}),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.extend=this.extend.bind(this),this.onAdd=this.onAdd.bind(this),this.draw=this.draw.bind(this),this.extend(t,google.maps.OverlayView),this.markers=[],this.clusters=[],this.listeners=[],this.activeMap=null,this.ready=!1,this.gridSize=s.gridSize||60,this.minClusterSize=s.minimumClusterSize||2,this.maxZoom=s.maxZoom||null,this.styles=s.styles||[],this.title=s.title||"",this.zoomOnClick=!0,s.zoomOnClick!==void 0&&(this.zoomOnClick=s.zoomOnClick),this.averageCenter=!1,s.averageCenter!==void 0&&(this.averageCenter=s.averageCenter),this.ignoreHidden=!1,s.ignoreHidden!==void 0&&(this.ignoreHidden=s.ignoreHidden),this.enableRetinaIcons=!1,s.enableRetinaIcons!==void 0&&(this.enableRetinaIcons=s.enableRetinaIcons),this.imagePath=s.imagePath||Am,this.imageExtension=s.imageExtension||wm,this.imageSizes=s.imageSizes||Sm,this.calculator=s.calculator||Em,this.batchSize=s.batchSize||Lm,this.batchSizeIE=s.batchSizeIE||xm,this.clusterClass=s.clusterClass||Om,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;e<this.markers.length;e++)this.markers[e].getMap()!==this.activeMap&&this.markers[e].setMap(this.activeMap);for(var e=0;e<this.clusters.length;e++)this.clusters[e].remove();this.clusters=[];for(var e=0;e<this.listeners.length;e++)google.maps.event.removeListener(this.listeners[e]);this.listeners=[],this.activeMap=null,this.ready=!1},t.prototype.draw=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],width:this.imageSizes[e]})},t.prototype.fitMapToMarkers=function(){for(var e=this.getMarkers(),n=new google.maps.LatLngBounds,s=0;s<e.length;s++){var i=e[s].getPosition();i&&n.extend(i)}var r=this.getMap();r!==null&&"fitBounds"in r&&r.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 s in e)Object.prototype.hasOwnProperty.call(e,s)&&this.pushMarkerTo(e[s]);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 s=0;s<this.markers.length;s++)if(e===this.markers[s]){n=s;break}return n===-1?!1:(e.setMap(null),this.markers.splice(n,1),!0)},t.prototype.removeMarker=function(e,n){var s=this.removeMarker_(e);return!n&&s&&this.repaint(),s},t.prototype.removeMarkers=function(e,n){for(var s=!1,i=0;i<e.length;i++)s=s||this.removeMarker_(e[i]);return!n&&s&&this.repaint(),s},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 s=0;s<e.length;s++)e[s].remove()},0)},t.prototype.getExtendedBounds=function(e){var n=this.getProjection(),s=n.fromLatLngToDivPixel(new google.maps.LatLng(e.getNorthEast().lat(),e.getNorthEast().lng()));s!==null&&(s.x+=this.gridSize,s.y-=this.gridSize);var i=n.fromLatLngToDivPixel(new google.maps.LatLng(e.getSouthWest().lat(),e.getSouthWest().lng()));if(i!==null&&(i.x-=this.gridSize,i.y+=this.gridSize),s!==null){var r=n.fromDivPixelToLatLng(s);r!==null&&e.extend(r)}if(i!==null){var o=n.fromDivPixelToLatLng(i);o!==null&&e.extend(o)}return e},t.prototype.redraw=function(){this.createClusters(0)},t.prototype.resetViewport=function(e){for(var n=0;n<this.clusters.length;n++)this.clusters[n].remove();this.clusters=[];for(var n=0;n<this.markers.length;n++){var s=this.markers[n];s.isAdded=!1,e&&s.setMap(null)}},t.prototype.distanceBetweenPoints=function(e,n){var s=6371,i=(n.lat()-e.lat())*Math.PI/180,r=(n.lng()-e.lng())*Math.PI/180,o=Math.sin(i/2)*Math.sin(i/2)+Math.cos(e.lat()*Math.PI/180)*Math.cos(n.lat()*Math.PI/180)*Math.sin(r/2)*Math.sin(r/2);return s*(2*Math.atan2(Math.sqrt(o),Math.sqrt(1-o)))},t.prototype.isMarkerInBounds=function(e,n){var s=e.getPosition();return s?n.contains(s):!1},t.prototype.addToClosestCluster=function(e){for(var n,s=4e4,i=null,r=0;r<this.clusters.length;r++){n=this.clusters[r];var o=n.getCenter(),a=e.getPosition();if(o&&a){var l=this.distanceBetweenPoints(o,a);l<s&&(s=l,i=n)}}i&&i.isMarkerInClusterBounds(e)?i.addMarker(e):(n=new Im(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 s=this.getMap(),i=s!==null&&("getBounds"in s)?s.getBounds():null,r=(s==null?void 0:s.getZoom())||0,o=r>3?new google.maps.LatLngBounds(i==null?void 0:i.getSouthWest(),i==null?void 0:i.getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625)),a=this.getExtendedBounds(o),l=Math.min(e+this.batchSize,this.markers.length),u=e;u<l;u++){var d=this.markers[u];!d.isAdded&&this.isMarkerInBounds(d,a)&&(!this.ignoreHidden||this.ignoreHidden&&d.getVisible())&&this.addToClosestCluster(d)}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 u=0;u<this.clusters.length;u++)this.clusters[u].updateIcon()}}},t.prototype.extend=function(e,n){return function(i){for(var r in i.prototype)this.prototype[r]=i.prototype[r];return this}.apply(e,[n])},t}();const Te={onClick:"click",onClusteringBegin:"clusteringbegin",onClusteringEnd:"clusteringend",onMouseOut:"mouseout",onMouseOver:"mouseover"},le={averageCenter(t,e){t.setAverageCenter(e)},batchSizeIE(t,e){t.setBatchSizeIE(e)},calculator(t,e){t.setCalculator(e)},clusterClass(t,e){t.setClusterClass(e)},enableRetinaIcons(t,e){t.setEnableRetinaIcons(e)},gridSize(t,e){t.setGridSize(e)},ignoreHidden(t,e){t.setIgnoreHidden(e)},imageExtension(t,e){t.setImageExtension(e)},imagePath(t,e){t.setImagePath(e)},imageSizes(t,e){t.setImageSizes(e)},maxZoom(t,e){t.setMaxZoom(e)},minimumClusterSize(t,e){t.setMinimumClusterSize(e)},styles(t,e){t.setStyles(e)},title(t,e){t.setTitle(e)},zoomOnClick(t,e){t.setZoomOnClick(e)}},Mm={};function Pm(t){const{children:e,options:n,averageCenter:s,batchSizeIE:i,calculator:r,clusterClass:o,enableRetinaIcons:a,gridSize:l,ignoreHidden:u,imageExtension:d,imagePath:f,imageSizes:p,maxZoom:g,minimumClusterSize:h,styles:v,title:b,zoomOnClick:C,onClick:E,onClusteringBegin:y,onClusteringEnd:m,onMouseOver:I,onMouseOut:L,onLoad:w,onUnmount:S}=t,[A,M]=c.useState(null),N=c.useContext($),[D,H]=c.useState(null),[k,P]=c.useState(null),[T,F]=c.useState(null),[V,Z]=c.useState(null),[X,K]=c.useState(null);return c.useEffect(()=>{A&&L&&(V!==null&&google.maps.event.removeListener(V),Z(google.maps.event.addListener(A,Te.onMouseOut,L)))},[L]),c.useEffect(()=>{A&&I&&(X!==null&&google.maps.event.removeListener(X),K(google.maps.event.addListener(A,Te.onMouseOver,I)))},[I]),c.useEffect(()=>{A&&E&&(D!==null&&google.maps.event.removeListener(D),H(google.maps.event.addListener(A,Te.onClick,E)))},[E]),c.useEffect(()=>{A&&y&&(k!==null&&google.maps.event.removeListener(k),P(google.maps.event.addListener(A,Te.onClusteringBegin,y)))},[y]),c.useEffect(()=>{A&&m&&(T!==null&&google.maps.event.removeListener(T),P(google.maps.event.addListener(A,Te.onClusteringEnd,m)))},[m]),c.useEffect(()=>{typeof s<"u"&&A!==null&&le.averageCenter(A,s)},[A,s]),c.useEffect(()=>{typeof i<"u"&&A!==null&&le.batchSizeIE(A,i)},[A,i]),c.useEffect(()=>{typeof r<"u"&&A!==null&&le.calculator(A,r)},[A,r]),c.useEffect(()=>{typeof o<"u"&&A!==null&&le.clusterClass(A,o)},[A,o]),c.useEffect(()=>{typeof a<"u"&&A!==null&&le.enableRetinaIcons(A,a)},[A,a]),c.useEffect(()=>{typeof l<"u"&&A!==null&&le.gridSize(A,l)},[A,l]),c.useEffect(()=>{typeof u<"u"&&A!==null&&le.ignoreHidden(A,u)},[A,u]),c.useEffect(()=>{typeof d<"u"&&A!==null&&le.imageExtension(A,d)},[A,d]),c.useEffect(()=>{typeof f<"u"&&A!==null&&le.imagePath(A,f)},[A,f]),c.useEffect(()=>{typeof p<"u"&&A!==null&&le.imageSizes(A,p)},[A,p]),c.useEffect(()=>{typeof g<"u"&&A!==null&&le.maxZoom(A,g)},[A,g]),c.useEffect(()=>{typeof h<"u"&&A!==null&&le.minimumClusterSize(A,h)},[A,h]),c.useEffect(()=>{typeof v<"u"&&A!==null&&le.styles(A,v)},[A,v]),c.useEffect(()=>{typeof b<"u"&&A!==null&&le.title(A,b)},[A,b]),c.useEffect(()=>{typeof C<"u"&&A!==null&&le.zoomOnClick(A,C)},[A,C]),c.useEffect(()=>{if(!N)return;const Y=Object.assign({},n||Mm),j=new Da(N,[],Y);return s&&le.averageCenter(j,s),i&&le.batchSizeIE(j,i),r&&le.calculator(j,r),o&&le.clusterClass(j,o),a&&le.enableRetinaIcons(j,a),l&&le.gridSize(j,l),u&&le.ignoreHidden(j,u),d&&le.imageExtension(j,d),f&&le.imagePath(j,f),p&&le.imageSizes(j,p),g&&le.maxZoom(j,g),h&&le.minimumClusterSize(j,h),v&&le.styles(j,v),b&&le.title(j,b),C&&le.zoomOnClick(j,C),L&&Z(google.maps.event.addListener(j,Te.onMouseOut,L)),I&&K(google.maps.event.addListener(j,Te.onMouseOver,I)),E&&H(google.maps.event.addListener(j,Te.onClick,E)),y&&P(google.maps.event.addListener(j,Te.onClusteringBegin,y)),m&&F(google.maps.event.addListener(j,Te.onClusteringEnd,m)),M(j),w&&w(j),()=>{V!==null&&google.maps.event.removeListener(V),X!==null&&google.maps.event.removeListener(X),D!==null&&google.maps.event.removeListener(D),k!==null&&google.maps.event.removeListener(k),T!==null&&google.maps.event.removeListener(T),S&&S(j)}},[]),A!==null&&e(A)||null}const Bm=c.memo(Pm);class Nm extends c.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={markerClusterer:null},this.setClustererCallback=()=>{this.state.markerClusterer!==null&&this.props.onLoad&&this.props.onLoad(this.state.markerClusterer)}}componentDidMount(){if(this.context){const e=new Da(this.context,[],this.props.options);this.registeredEvents=te({updaterMap:le,eventMap:Te,prevProps:{},nextProps:this.props,instance:e}),this.setState(()=>({markerClusterer:e}),this.setClustererCallback)}}componentDidUpdate(e){this.state.markerClusterer&&(re(this.registeredEvents),this.registeredEvents=te({updaterMap:le,eventMap:Te,prevProps:e,nextProps:this.props,instance:this.state.markerClusterer}))}componentWillUnmount(){this.state.markerClusterer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.markerClusterer),re(this.registeredEvents),this.state.markerClusterer.setMap(null))}render(){return this.state.markerClusterer!==null?this.props.children(this.state.markerClusterer):null}}Nm.contextType=$;function Fa(t){t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation()}var Va=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(a){a.returnValue=!1,a.preventDefault&&a.preventDefault(),e.enableEventPropagation||Fa(a)};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 s=this.getPanes();if(s!==null&&s[this.pane].appendChild(this.div),this.addClickHandler(),this.div.style.width)this.fixedWidthSet=!0;else if(this.maxWidth!==0&&this.div.offsetWidth>this.maxWidth)this.div.style.width=this.maxWidth+"px",this.fixedWidthSet=!0;else{var i=this.getBoxWidths();this.div.style.width=this.div.offsetWidth-i.left-i.right+"px",this.fixedWidthSet=!1}if(this.panBox(this.disableAutoPan),!this.enableEventPropagation){this.eventListeners=[];for(var r=["mousedown","mouseover","mouseout","mouseup","click","dblclick","touchstart","touchend","touchmove"],o=0;o<r.length;o++)this.eventListeners.push(google.maps.event.addListener(this.div,r[o],Fa));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 s=0,i=0,r=n.getBounds();r&&!r.contains(this.position)&&n.setCenter(this.position);var o=n.getDiv(),a=o.offsetWidth,l=o.offsetHeight,u=this.pixelOffset.width,d=this.pixelOffset.height,f=this.div.offsetWidth,p=this.div.offsetHeight,g=this.infoBoxClearance.width,h=this.infoBoxClearance.height,v=this.getProjection(),b=v.fromLatLngToContainerPixel(this.position);b!==null&&(b.x<-u+g?s=b.x+u-g:b.x+f+u+g>a&&(s=b.x+f+u+g-a),this.alignBottom?b.y<-d+h+p?i=b.y+d-h-p:b.y+d+h>l&&(i=b.y+d+h-l):b.y<-d+h?i=b.y+d-h:b.y+p+d+h>l&&(i=b.y+p+d+h-l)),s===0&&i===0||n.panBy(s,i)}}},t.prototype.setBoxStyle=function(){if(this.div){this.div.className=this.boxClass,this.div.style.cssText="";var e=this.boxStyle;for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(this.div.style[n]=e[n]);if(this.div.style.webkitTransform="translateZ(0)",typeof this.div.style.opacity<"u"&&this.div.style.opacity!==""){var s=parseFloat(this.div.style.opacity||"");this.div.style.msFilter='"progid:DXImageTransform.Microsoft.Alpha(Opacity='+s*100+')"',this.div.style.filter="alpha(opacity="+s*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,s=n&&n.defaultView?n.defaultView.getComputedStyle(this.div,""):null;s&&(e.top=parseInt(s.borderTopWidth||"",10)||0,e.bottom=parseInt(s.borderBottomWidth||"",10)||0,e.left=parseInt(s.borderLeftWidth||"",10)||0,e.right=parseInt(s.borderRightWidth||"",10)||0)}else if(document.documentElement.currentStyle){var i=this.div.currentStyle;i&&(e.top=parseInt(i.borderTopWidth||"",10)||0,e.bottom=parseInt(i.borderBottomWidth||"",10)||0,e.left=parseInt(i.borderLeftWidth||"",10)||0,e.right=parseInt(i.borderRightWidth||"",10)||0)}return e},t.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.div.parentNode.removeChild(this.div),this.div=null)},t.prototype.draw=function(){if(this.createInfoBoxDiv(),this.div){var e=this.getProjection(),n=e.fromLatLngToDivPixel(this.position);n!==null&&(this.div.style.left=n.x+this.pixelOffset.width+"px",this.alignBottom?this.div.style.bottom=-(n.y+this.pixelOffset.height)+"px":this.div.style.top=n.y+this.pixelOffset.height+"px"),this.isHidden?this.div.style.visibility="hidden":this.div.style.visibility="visible"}},t.prototype.setOptions=function(e){e===void 0&&(e={}),typeof e.boxClass<"u"&&(this.boxClass=e.boxClass,this.setBoxStyle()),typeof e.boxStyle<"u"&&(this.boxStyle=e.boxStyle,this.setBoxStyle()),typeof e.content<"u"&&this.setContent(e.content),typeof e.disableAutoPan<"u"&&(this.disableAutoPan=e.disableAutoPan),typeof e.maxWidth<"u"&&(this.maxWidth=e.maxWidth),typeof e.pixelOffset<"u"&&(this.pixelOffset=e.pixelOffset),typeof e.alignBottom<"u"&&(this.alignBottom=e.alignBottom),typeof e.position<"u"&&this.setPosition(e.position),typeof e.zIndex<"u"&&this.setZIndex(e.zIndex),typeof e.closeBoxMargin<"u"&&(this.closeBoxMargin=e.closeBoxMargin),typeof e.closeBoxURL<"u"&&(this.closeBoxURL=e.closeBoxURL),typeof e.infoBoxClearance<"u"&&(this.infoBoxClearance=e.infoBoxClearance),typeof e.isHidden<"u"&&(this.isHidden=e.isHidden),typeof e.visible<"u"&&(this.isHidden=!e.visible),typeof e.enableEventPropagation<"u"&&(this.enableEventPropagation=e.enableEventPropagation),this.div&&this.draw()},t.prototype.setContent=function(e){this.content=e,this.div&&(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.fixedWidthSet||(this.div.style.width=""),typeof e=="string"?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e)),this.fixedWidthSet||(this.div.style.width=this.div.offsetWidth+"px",typeof e=="string"?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e))),this.addClickHandler()),google.maps.event.trigger(this,"content_changed")},t.prototype.setPosition=function(e){this.position=e,this.div&&this.draw(),google.maps.event.trigger(this,"position_changed")},t.prototype.setVisible=function(e){this.isHidden=!e,this.div&&(this.div.style.visibility=this.isHidden?"hidden":"visible")},t.prototype.setZIndex=function(e){this.zIndex=e,this.div&&(this.div.style.zIndex=e+""),google.maps.event.trigger(this,"zindex_changed")},t.prototype.getContent=function(){return this.content},t.prototype.getPosition=function(){return this.position},t.prototype.getZIndex=function(){return this.zIndex},t.prototype.getVisible=function(){var e=this.getMap();return typeof e>"u"||e===null?!1:!this.isHidden},t.prototype.show=function(){this.isHidden=!1,this.div&&(this.div.style.visibility="visible")},t.prototype.hide=function(){this.isHidden=!0,this.div&&(this.div.style.visibility="hidden")},t.prototype.open=function(e,n){var s=this;n&&(this.position=n.getPosition(),this.moveListener=google.maps.event.addListener(n,"position_changed",function(){var i=n.getPosition();s.setPosition(i)}),this.mapListener=google.maps.event.addListener(n,"map_changed",function(){s.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;e<this.eventListeners.length;e++)google.maps.event.removeListener(this.eventListeners[e]);this.eventListeners=null}this.moveListener&&(google.maps.event.removeListener(this.moveListener),this.moveListener=null),this.mapListener&&(google.maps.event.removeListener(this.mapListener),this.mapListener=null),this.contextListener&&(google.maps.event.removeListener(this.contextListener),this.contextListener=null),this.setMap(null)},t.prototype.extend=function(e,n){return function(i){for(var r in i.prototype)Object.prototype.hasOwnProperty.call(this,r)||(this.prototype[r]=i.prototype[r]);return this}.apply(e,[n])},t}();const Ha={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},ja={options(t,e){t.setOptions(e)},position(t,e){e instanceof google.maps.LatLng?t.setPosition(e):t.setPosition(new google.maps.LatLng(e.lat,e.lng))},visible(t,e){t.setVisible(e)},zIndex(t,e){t.setZIndex(e)}},km={};function Tm({children:t,anchor:e,options:n,position:s,zIndex:i,onCloseClick:r,onDomReady:o,onContentChanged:a,onPositionChanged:l,onZindexChanged:u,onLoad:d,onUnmount:f}){const p=c.useContext($),[g,h]=c.useState(null),[v,b]=c.useState(null),[C,E]=c.useState(null),[y,m]=c.useState(null),[I,L]=c.useState(null),[w,S]=c.useState(null),A=c.useRef(null);return c.useEffect(()=>{p&&g!==null&&(g.close(),e?g.open(p,e):g.getPosition()&&g.open(p))},[p,g,e]),c.useEffect(()=>{n&&g!==null&&g.setOptions(n)},[g,n]),c.useEffect(()=>{if(s&&g!==null){const M=s instanceof google.maps.LatLng?s:new google.maps.LatLng(s.lat,s.lng);g.setPosition(M)}},[s]),c.useEffect(()=>{typeof i=="number"&&g!==null&&g.setZIndex(i)},[i]),c.useEffect(()=>{g&&r&&(v!==null&&google.maps.event.removeListener(v),b(google.maps.event.addListener(g,"closeclick",r)))},[r]),c.useEffect(()=>{g&&o&&(C!==null&&google.maps.event.removeListener(C),E(google.maps.event.addListener(g,"domready",o)))},[o]),c.useEffect(()=>{g&&a&&(y!==null&&google.maps.event.removeListener(y),m(google.maps.event.addListener(g,"content_changed",a)))},[a]),c.useEffect(()=>{g&&l&&(I!==null&&google.maps.event.removeListener(I),L(google.maps.event.addListener(g,"position_changed",l)))},[l]),c.useEffect(()=>{g&&u&&(w!==null&&google.maps.event.removeListener(w),S(google.maps.event.addListener(g,"zindex_changed",u)))},[u]),c.useEffect(()=>{if(p){const M=n||km,{position:N}=M,D=bi(M,["position"]);let H;N&&!(N instanceof google.maps.LatLng)&&(H=new google.maps.LatLng(N.lat,N.lng));const k=new Va(Object.assign(Object.assign({},D),H?{position:H}:{}));A.current=document.createElement("div"),h(k),r&&b(google.maps.event.addListener(k,"closeclick",r)),o&&E(google.maps.event.addListener(k,"domready",o)),a&&m(google.maps.event.addListener(k,"content_changed",a)),l&&L(google.maps.event.addListener(k,"position_changed",l)),u&&S(google.maps.event.addListener(k,"zindex_changed",u)),k.setContent(A.current),e?k.open(p,e):k.getPosition()?k.open(p):be(!1,"You must provide either an anchor or a position prop for <InfoBox>."),d&&d(k)}return()=>{g!==null&&(v&&google.maps.event.removeListener(v),y&&google.maps.event.removeListener(y),C&&google.maps.event.removeListener(C),I&&google.maps.event.removeListener(I),w&&google.maps.event.removeListener(w),f&&f(g),g.close())}},[]),A.current?dt.createPortal(c.Children.only(t),A.current):null}c.memo(Tm);class Gm extends c.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=null,this.state={infoBox:null},this.open=(e,n)=>{n?e.open(this.context,n):e.getPosition()?e.open(this.context):be(!1,"You must provide either an anchor or a position prop for <InfoBox>.")},this.setInfoBoxCallback=()=>{this.state.infoBox!==null&&this.containerElement!==null&&(this.state.infoBox.setContent(this.containerElement),this.open(this.state.infoBox,this.props.anchor),this.props.onLoad&&this.props.onLoad(this.state.infoBox))}}componentDidMount(){const e=this.props.options||{},{position:n}=e,s=bi(e,["position"]);let i;n&&!(n instanceof google.maps.LatLng)&&(i=new google.maps.LatLng(n.lat,n.lng));const r=new Va(Object.assign(Object.assign({},s),i?{position:i}:{}));this.containerElement=document.createElement("div"),this.registeredEvents=te({updaterMap:ja,eventMap:Ha,prevProps:{},nextProps:this.props,instance:r}),this.setState({infoBox:r},this.setInfoBoxCallback)}componentDidUpdate(e){const{infoBox:n}=this.state;n!==null&&(re(this.registeredEvents),this.registeredEvents=te({updaterMap:ja,eventMap:Ha,prevProps:e,nextProps:this.props,instance:n}))}componentWillUnmount(){const{onUnmount:e}=this.props,{infoBox:n}=this.state;n!==null&&(e&&e(n),re(this.registeredEvents),n.close())}render(){return this.containerElement?dt.createPortal(c.Children.only(this.props.children),this.containerElement):null}}Gm.contextType=$;var Wa=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 s,i,r;if(Array.isArray(e)){if(s=e.length,s!=n.length)return!1;for(i=s;i--!==0;)if(!t(e[i],n[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(r=Object.keys(e),s=r.length,s!==Object.keys(n).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,r[i]))return!1;for(i=s;i--!==0;){var o=r[i];if(!t(e[o],n[o]))return!1}return!0}return e!==e&&n!==n},Za={exports:{}};(function(t,e){(function(n,s){t.exports=s()})(Uh,function(){function n(p,g,h,v,b,C){if(!(b-v<=h)){var E=v+b>>1;s(p,g,E,v,b,C%2),n(p,g,h,v,E-1,C+1),n(p,g,h,E+1,b,C+1)}}function s(p,g,h,v,b,C){for(;b>v;){if(b-v>600){var E=b-v+1,y=h-v+1,m=Math.log(E),I=.5*Math.exp(2*m/3),L=.5*Math.sqrt(m*I*(E-I)/E)*(y-E/2<0?-1:1),w=Math.max(v,Math.floor(h-y*I/E+L)),S=Math.min(b,Math.floor(h+(E-y)*I/E+L));s(p,g,h,w,S,C)}var A=g[2*h+C],M=v,N=b;for(i(p,g,v,h),g[2*b+C]>A&&i(p,g,v,b);M<N;){for(i(p,g,M,N),M++,N--;g[2*M+C]<A;)M++;for(;g[2*N+C]>A;)N--}g[2*v+C]===A?i(p,g,v,N):(N++,i(p,g,N,b)),N<=h&&(v=N+1),h<=N&&(b=N-1)}}function i(p,g,h,v){r(p,h,v),r(g,2*h,2*v),r(g,2*h+1,2*v+1)}function r(p,g,h){var v=p[g];p[g]=p[h],p[h]=v}function o(p,g,h,v,b,C,E){for(var y=[0,p.length-1,0],m=[],I,L;y.length;){var w=y.pop(),S=y.pop(),A=y.pop();if(S-A<=E){for(var M=A;M<=S;M++)I=g[2*M],L=g[2*M+1],I>=h&&I<=b&&L>=v&&L<=C&&m.push(p[M]);continue}var N=Math.floor((A+S)/2);I=g[2*N],L=g[2*N+1],I>=h&&I<=b&&L>=v&&L<=C&&m.push(p[N]);var D=(w+1)%2;(w===0?h<=I:v<=L)&&(y.push(A),y.push(N-1),y.push(D)),(w===0?b>=I:C>=L)&&(y.push(N+1),y.push(S),y.push(D))}return m}function a(p,g,h,v,b,C){for(var E=[0,p.length-1,0],y=[],m=b*b;E.length;){var I=E.pop(),L=E.pop(),w=E.pop();if(L-w<=C){for(var S=w;S<=L;S++)l(g[2*S],g[2*S+1],h,v)<=m&&y.push(p[S]);continue}var A=Math.floor((w+L)/2),M=g[2*A],N=g[2*A+1];l(M,N,h,v)<=m&&y.push(p[A]);var D=(I+1)%2;(I===0?h-b<=M:v-b<=N)&&(E.push(w),E.push(A-1),E.push(D)),(I===0?h+b>=M:v+b>=N)&&(E.push(A+1),E.push(L),E.push(D))}return y}function l(p,g,h,v){var b=p-h,C=g-v;return b*b+C*C}var u=function(p){return p[0]},d=function(p){return p[1]},f=function(g,h,v,b,C){h===void 0&&(h=u),v===void 0&&(v=d),b===void 0&&(b=64),C===void 0&&(C=Float64Array),this.nodeSize=b,this.points=g;for(var E=g.length<65536?Uint16Array:Uint32Array,y=this.ids=new E(g.length),m=this.coords=new C(g.length*2),I=0;I<g.length;I++)y[I]=I,m[2*I]=h(g[I]),m[2*I+1]=v(g[I]);n(y,m,b,0,y.length-1,0)};return f.prototype.range=function(g,h,v,b){return o(this.ids,this.coords,g,h,v,b,this.nodeSize)},f.prototype.within=function(g,h,v){return a(this.ids,this.coords,g,h,v,this.nodeSize)},f})})(Za);var za=Za.exports;const Dm={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:t=>t},Jn=Math.fround||(t=>e=>(t[0]=+e,t[0]))(new Float32Array(1));class Fm{constructor(e){this.options=Rt(Object.create(Dm),e),this.trees=new Array(this.options.maxZoom+1)}load(e){const{log:n,minZoom:s,maxZoom:i,nodeSize:r}=this.options;n&&console.time("total time");const o=`prepare ${e.length} points`;n&&console.time(o),this.points=e;let a=[];for(let l=0;l<e.length;l++)e[l].geometry&&a.push(Hm(e[l],l));this.trees[i+1]=new za(a,Ja,Ya,r,Float32Array),n&&console.timeEnd(o);for(let l=i;l>=s;l--){const u=+Date.now();a=this._cluster(a,l),this.trees[l]=new za(a,Ja,Ya,r,Float32Array),n&&console.log("z%d: %d clusters in %dms",l,a.length,+Date.now()-u)}return n&&console.timeEnd("total time"),this}getClusters(e,n){let s=((e[0]+180)%360+360)%360-180;const i=Math.max(-90,Math.min(90,e[1]));let r=e[2]===180?180:((e[2]+180)%360+360)%360-180;const o=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)s=-180,r=180;else if(s>r){const d=this.getClusters([s,i,180,o],n),f=this.getClusters([-180,i,r,o],n);return d.concat(f)}const a=this.trees[this._limitZoom(n)],l=a.range(Yn(s),Rn(o),Yn(r),Rn(i)),u=[];for(const d of l){const f=a.points[d];u.push(f.numPoints?Xa(f):this.points[f.index])}return u}getChildren(e){const n=this._getOriginId(e),s=this._getOriginZoom(e),i="No cluster with the specified id.",r=this.trees[s];if(!r)throw new Error(i);const o=r.points[n];if(!o)throw new Error(i);const a=this.options.radius/(this.options.extent*Math.pow(2,s-1)),l=r.within(o.x,o.y,a),u=[];for(const d of l){const f=r.points[d];f.parentId===e&&u.push(f.numPoints?Xa(f):this.points[f.index])}if(u.length===0)throw new Error(i);return u}getLeaves(e,n,s){n=n||10,s=s||0;const i=[];return this._appendLeaves(i,e,n,s,0),i}getTile(e,n,s){const i=this.trees[this._limitZoom(e)],r=Math.pow(2,e),{extent:o,radius:a}=this.options,l=a/o,u=(s-l)/r,d=(s+1+l)/r,f={features:[]};return this._addTileFeatures(i.range((n-l)/r,u,(n+1+l)/r,d),i.points,n,s,r,f),n===0&&this._addTileFeatures(i.range(1-l/r,u,1,d),i.points,r,s,r,f),n===r-1&&this._addTileFeatures(i.range(0,u,l/r,d),i.points,-1,s,r,f),f.features.length?f:null}getClusterExpansionZoom(e){let n=this._getOriginZoom(e)-1;for(;n<=this.options.maxZoom;){const s=this.getChildren(e);if(n++,s.length!==1)break;e=s[0].properties.cluster_id}return n}_appendLeaves(e,n,s,i,r){const o=this.getChildren(n);for(const a of o){const l=a.properties;if(l&&l.cluster?r+l.point_count<=i?r+=l.point_count:r=this._appendLeaves(e,l.cluster_id,s,i,r):r<i?r++:e.push(a),e.length===s)break}return r}_addTileFeatures(e,n,s,i,r,o){for(const a of e){const l=n[a],u=l.numPoints;let d,f,p;if(u)d=Ua(l),f=l.x,p=l.y;else{const v=this.points[l.index];d=v.properties,f=Yn(v.geometry.coordinates[0]),p=Rn(v.geometry.coordinates[1])}const g={type:1,geometry:[[Math.round(this.options.extent*(f*r-s)),Math.round(this.options.extent*(p*r-i))]],tags:d};let h;u?h=l.id:this.options.generateId?h=l.index:this.points[l.index].id&&(h=this.points[l.index].id),h!==void 0&&(g.id=h),o.features.push(g)}}_limitZoom(e){return Math.max(this.options.minZoom,Math.min(+e,this.options.maxZoom+1))}_cluster(e,n){const s=[],{radius:i,extent:r,reduce:o,minPoints:a}=this.options,l=i/(r*Math.pow(2,n));for(let u=0;u<e.length;u++){const d=e[u];if(d.zoom<=n)continue;d.zoom=n;const f=this.trees[n+1],p=f.within(d.x,d.y,l),g=d.numPoints||1;let h=g;for(const v of p){const b=f.points[v];b.zoom>n&&(h+=b.numPoints||1)}if(h>g&&h>=a){let v=d.x*g,b=d.y*g,C=o&&g>1?this._map(d,!0):null;const E=(u<<5)+(n+1)+this.points.length;for(const y of p){const m=f.points[y];if(m.zoom<=n)continue;m.zoom=n;const I=m.numPoints||1;v+=m.x*I,b+=m.y*I,m.parentId=E,o&&(C||(C=this._map(d,!0)),o(C,this._map(m)))}d.parentId=E,s.push(Vm(v/h,b/h,E,h,C))}else if(s.push(d),h>1)for(const v of p){const b=f.points[v];b.zoom<=n||(b.zoom=n,s.push(b))}}return s}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,n){if(e.numPoints)return n?Rt({},e.properties):e.properties;const s=this.points[e.index].properties,i=this.options.map(s);return n&&i===s?Rt({},i):i}}function Vm(t,e,n,s,i){return{x:Jn(t),y:Jn(e),zoom:1/0,id:n,parentId:-1,numPoints:s,properties:i}}function Hm(t,e){const[n,s]=t.geometry.coordinates;return{x:Jn(Yn(n)),y:Jn(Rn(s)),zoom:1/0,index:e,parentId:-1}}function Xa(t){return{type:"Feature",id:t.id,properties:Ua(t),geometry:{type:"Point",coordinates:[jm(t.x),Wm(t.y)]}}}function Ua(t){const e=t.numPoints,n=e>=1e4?`${Math.round(e/1e3)}k`:e>=1e3?`${Math.round(e/100)/10}k`:e;return Rt(Rt({},t.properties),{cluster:!0,cluster_id:t.id,point_count:e,point_count_abbreviated:n})}function Yn(t){return t/360+.5}function Rn(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 jm(t){return(t-.5)*360}function Wm(t){const e=(180-t*360)*Math.PI/180;return 360*Math.atan(Math.exp(e))/Math.PI-90}function Rt(t,e){for(const n in e)t[n]=e[n];return t}function Ja(t){return t.x}function Ya(t){return t.y}/*! *****************************************************************************
|
|
59
|
+
Copyright (c) Microsoft Corporation.
|
|
60
|
+
|
|
61
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
62
|
+
purpose with or without fee is hereby granted.
|
|
63
|
+
|
|
64
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
65
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
66
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
67
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
68
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
69
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
70
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
71
|
+
***************************************************************************** */function Zm(t,e){var n={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&e.indexOf(s)<0&&(n[s]=t[s]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,s=Object.getOwnPropertySymbols(t);i<s.length;i++)e.indexOf(s[i])<0&&Object.prototype.propertyIsEnumerable.call(t,s[i])&&(n[s[i]]=t[s[i]]);return n}class Ci{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 this.markers.reduce((e,n)=>e.extend(n.getPosition()),new google.maps.LatLngBounds(this._position,this._position))}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter(e=>e.getVisible()).length}push(e){this.markers.push(e)}delete(){this.marker&&(this.marker.setMap(null),delete this.marker),this.markers.length=0}}class zm{constructor({maxZoom:e=16}){this.maxZoom=e}noop({markers:e}){return Xm(e)}}const Xm=t=>t.map(n=>new Ci({position:n.getPosition(),markers:[n]}));class Um extends zm{constructor(e){var{maxZoom:n,radius:s=60}=e,i=Zm(e,["maxZoom","radius"]);super({maxZoom:n}),this.superCluster=new Fm(Object.assign({maxZoom:this.maxZoom,radius:s},i)),this.state={zoom:null}}calculate(e){let n=!1;if(!Wa(e.markers,this.markers)){n=!0,this.markers=[...e.markers];const i=this.markers.map(r=>({type:"Feature",geometry:{type:"Point",coordinates:[r.getPosition().lng(),r.getPosition().lat()]},properties:{marker:r}}));this.superCluster.load(i)}const s={zoom:e.map.getZoom()};return n||this.state.zoom>this.maxZoom&&s.zoom>this.maxZoom||(n=n||!Wa(this.state,s)),this.state=s,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(this.transformCluster.bind(this))}transformCluster({geometry:{coordinates:[e,n]},properties:s}){if(s.cluster)return new Ci({markers:this.superCluster.getLeaves(s.cluster_id,1/0).map(i=>i.properties.marker),position:new google.maps.LatLng({lat:n,lng:e})});{const i=s.marker;return new Ci({markers:[i],position:i.getPosition()})}}}class Jm{constructor(e,n){this.markers={sum:e.length};const s=n.map(r=>r.count),i=s.reduce((r,o)=>r+o,0);this.clusters={count:n.length,markers:{mean:i/n.length,sum:i,min:Math.min(...s),max:Math.max(...s)}}}}class Ym{render({count:e,position:n},s){const i=e>Math.max(10,s.clusters.markers.mean)?"#ff0000":"#0000ff",r=window.btoa(`
|
|
72
|
+
<svg fill="${i}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240">
|
|
73
|
+
<circle cx="120" cy="120" opacity=".6" r="70" />
|
|
74
|
+
<circle cx="120" cy="120" opacity=".3" r="90" />
|
|
75
|
+
<circle cx="120" cy="120" opacity=".2" r="110" />
|
|
76
|
+
</svg>`);return new google.maps.Marker({position:n,icon:{url:`data:image/svg+xml;base64,${r}`,scaledSize:new google.maps.Size(45,45)},label:{text:String(e),color:"rgba(255,255,255,0.9)",fontSize:"12px"},title:`Cluster of ${e} markers`,zIndex:Number(google.maps.Marker.MAX_ZINDEX)+e})}}function Rm(t,e){for(let n in e.prototype)t.prototype[n]=e.prototype[n]}class Ii{constructor(){Rm(Ii,google.maps.OverlayView)}}var Qt;(function(t){t.CLUSTERING_BEGIN="clusteringbegin",t.CLUSTERING_END="clusteringend",t.CLUSTER_CLICK="click"})(Qt||(Qt={}));const Qm=(t,e,n)=>{n.fitBounds(e.bounds)};class _m extends Ii{constructor({map:e,markers:n=[],algorithm:s=new Um({}),renderer:i=new Ym,onClusterClick:r=Qm}){super(),this.markers=[...n],this.clusters=[],this.algorithm=s,this.renderer=i,this.onClusterClick=r,e&&this.setMap(e)}addMarker(e,n){this.markers.includes(e)||(this.markers.push(e),n||this.render())}addMarkers(e,n){e.forEach(s=>{this.addMarker(s,!0)}),n||this.render()}removeMarker(e,n){const s=this.markers.indexOf(e);return s===-1?!1:(e.setMap(null),this.markers.splice(s,1),n||this.render(),!0)}removeMarkers(e,n){let s=!1;return e.forEach(i=>{s=this.removeMarker(i,!0)||s}),s&&!n&&this.render(),s}clearMarkers(e){this.markers.length=0,e||this.render()}render(){const e=this.getMap();if(e instanceof google.maps.Map&&this.getProjection()){google.maps.event.trigger(this,Qt.CLUSTERING_BEGIN,this);const{clusters:n,changed:s}=this.algorithm.calculate({markers:this.markers,map:e,mapCanvasProjection:this.getProjection()});(s||s==null)&&(this.reset(),this.clusters=n,this.renderClusters()),google.maps.event.trigger(this,Qt.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=>e.setMap(null)),this.clusters.forEach(e=>e.delete()),this.clusters=[]}renderClusters(){const e=new Jm(this.markers,this.clusters),n=this.getMap();this.clusters.forEach(s=>{s.markers.length===1?s.marker=s.markers[0]:(s.marker=this.renderer.render(s,e),this.onClusterClick&&s.marker.addListener("click",i=>{google.maps.event.trigger(this,Qt.CLUSTER_CLICK,s),this.onClusterClick(i,s,n)})),s.marker.setMap(n)})}}function Km(t){const e=Rh(),[n,s]=c.useState(null);return c.useEffect(()=>{if(e&&n===null){const i=new _m(Object.assign(Object.assign({},t),{map:e}));s(i)}},[e]),n}function qm({children:t,options:e}){const n=Km(e);return n!==null?t(n):null}c.memo(qm);const Ra={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},Qa={options(t,e){t.setOptions(e)},position(t,e){t.setPosition(e)},zIndex(t,e){t.setZIndex(e)}};function $m({children:t,anchor:e,options:n,position:s,zIndex:i,onCloseClick:r,onDomReady:o,onContentChanged:a,onPositionChanged:l,onZindexChanged:u,onLoad:d,onUnmount:f}){const p=c.useContext($),[g,h]=c.useState(null),[v,b]=c.useState(null),[C,E]=c.useState(null),[y,m]=c.useState(null),[I,L]=c.useState(null),[w,S]=c.useState(null),A=c.useRef(null);return c.useEffect(()=>{g!==null&&(g.close(),e?g.open(p,e):g.getPosition()&&g.open(p))},[p,g,e]),c.useEffect(()=>{n&&g!==null&&g.setOptions(n)},[g,n]),c.useEffect(()=>{s&&g!==null&&g.setPosition(s)},[s]),c.useEffect(()=>{typeof i=="number"&&g!==null&&g.setZIndex(i)},[i]),c.useEffect(()=>{g&&r&&(v!==null&&google.maps.event.removeListener(v),b(google.maps.event.addListener(g,"closeclick",r)))},[r]),c.useEffect(()=>{g&&o&&(C!==null&&google.maps.event.removeListener(C),E(google.maps.event.addListener(g,"domready",o)))},[o]),c.useEffect(()=>{g&&a&&(y!==null&&google.maps.event.removeListener(y),m(google.maps.event.addListener(g,"content_changed",a)))},[a]),c.useEffect(()=>{g&&l&&(I!==null&&google.maps.event.removeListener(I),L(google.maps.event.addListener(g,"position_changed",l)))},[l]),c.useEffect(()=>{g&&u&&(w!==null&&google.maps.event.removeListener(w),S(google.maps.event.addListener(g,"zindex_changed",u)))},[u]),c.useEffect(()=>{const M=new google.maps.InfoWindow(Object.assign({},n||{}));return h(M),A.current=document.createElement("div"),r&&b(google.maps.event.addListener(M,"closeclick",r)),o&&E(google.maps.event.addListener(M,"domready",o)),a&&m(google.maps.event.addListener(M,"content_changed",a)),l&&L(google.maps.event.addListener(M,"position_changed",l)),u&&S(google.maps.event.addListener(M,"zindex_changed",u)),M.setContent(A.current),s&&M.setPosition(s),i&&M.setZIndex(i),e?M.open(p,e):M.getPosition()?M.open(p):be(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>."),d&&d(M),()=>{v&&google.maps.event.removeListener(v),y&&google.maps.event.removeListener(y),C&&google.maps.event.removeListener(C),I&&google.maps.event.removeListener(I),w&&google.maps.event.removeListener(w),f&&f(M),M.close()}},[]),A.current?dt.createPortal(c.Children.only(t),A.current):null}const ev=c.memo($m);class tv extends c.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=null,this.state={infoWindow:null},this.open=(e,n)=>{n?e.open(this.context,n):e.getPosition()?e.open(this.context):be(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>.")},this.setInfoWindowCallback=()=>{this.state.infoWindow!==null&&this.containerElement!==null&&(this.state.infoWindow.setContent(this.containerElement),this.open(this.state.infoWindow,this.props.anchor),this.props.onLoad&&this.props.onLoad(this.state.infoWindow))}}componentDidMount(){const e=new google.maps.InfoWindow(Object.assign({},this.props.options||{}));this.containerElement=document.createElement("div"),this.registeredEvents=te({updaterMap:Qa,eventMap:Ra,prevProps:{},nextProps:this.props,instance:e}),this.setState(()=>({infoWindow:e}),this.setInfoWindowCallback)}componentDidUpdate(e){this.state.infoWindow!==null&&(re(this.registeredEvents),this.registeredEvents=te({updaterMap:Qa,eventMap:Ra,prevProps:e,nextProps:this.props,instance:this.state.infoWindow}))}componentWillUnmount(){this.state.infoWindow!==null&&(re(this.registeredEvents),this.props.onUnmount&&this.props.onUnmount(this.state.infoWindow),this.state.infoWindow.close())}render(){return this.containerElement?dt.createPortal(c.Children.only(this.props.children),this.containerElement):null}}tv.contextType=$;const _a={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},Ka={draggable(t,e){t.setDraggable(e)},editable(t,e){t.setEditable(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},path(t,e){t.setPath(e)},visible(t,e){t.setVisible(e)}},nv={};function sv({options:t,draggable:e,editable:n,visible:s,path:i,onDblClick:r,onDragEnd:o,onDragStart:a,onMouseDown:l,onMouseMove:u,onMouseOut:d,onMouseOver:f,onMouseUp:p,onRightClick:g,onClick:h,onDrag:v,onLoad:b,onUnmount:C}){const E=c.useContext($),[y,m]=c.useState(null),[I,L]=c.useState(null),[w,S]=c.useState(null),[A,M]=c.useState(null),[N,D]=c.useState(null),[H,k]=c.useState(null),[P,T]=c.useState(null),[F,V]=c.useState(null),[Z,X]=c.useState(null),[K,Y]=c.useState(null),[j,B]=c.useState(null),[ne,ee]=c.useState(null);return c.useEffect(()=>{y!==null&&y.setMap(E)},[E]),c.useEffect(()=>{typeof t<"u"&&y!==null&&y.setOptions(t)},[y,t]),c.useEffect(()=>{typeof e<"u"&&y!==null&&y.setDraggable(e)},[y,e]),c.useEffect(()=>{typeof n<"u"&&y!==null&&y.setEditable(n)},[y,n]),c.useEffect(()=>{typeof s<"u"&&y!==null&&y.setVisible(s)},[y,s]),c.useEffect(()=>{typeof i<"u"&&y!==null&&y.setPath(i)},[y,i]),c.useEffect(()=>{y&&r&&(I!==null&&google.maps.event.removeListener(I),L(google.maps.event.addListener(y,"dblclick",r)))},[r]),c.useEffect(()=>{y&&o&&(w!==null&&google.maps.event.removeListener(w),S(google.maps.event.addListener(y,"dragend",o)))},[o]),c.useEffect(()=>{y&&a&&(A!==null&&google.maps.event.removeListener(A),M(google.maps.event.addListener(y,"dragstart",a)))},[a]),c.useEffect(()=>{y&&l&&(N!==null&&google.maps.event.removeListener(N),D(google.maps.event.addListener(y,"mousedown",l)))},[l]),c.useEffect(()=>{y&&u&&(H!==null&&google.maps.event.removeListener(H),k(google.maps.event.addListener(y,"mousemove",u)))},[u]),c.useEffect(()=>{y&&d&&(P!==null&&google.maps.event.removeListener(P),T(google.maps.event.addListener(y,"mouseout",d)))},[d]),c.useEffect(()=>{y&&f&&(F!==null&&google.maps.event.removeListener(F),V(google.maps.event.addListener(y,"mouseover",f)))},[f]),c.useEffect(()=>{y&&p&&(Z!==null&&google.maps.event.removeListener(Z),X(google.maps.event.addListener(y,"mouseup",p)))},[p]),c.useEffect(()=>{y&&g&&(K!==null&&google.maps.event.removeListener(K),Y(google.maps.event.addListener(y,"rightclick",g)))},[g]),c.useEffect(()=>{y&&h&&(j!==null&&google.maps.event.removeListener(j),B(google.maps.event.addListener(y,"click",h)))},[h]),c.useEffect(()=>{y&&v&&(ne!==null&&google.maps.event.removeListener(ne),ee(google.maps.event.addListener(y,"drag",v)))},[v]),c.useEffect(()=>{const U=new google.maps.Polyline(Object.assign(Object.assign({},t||nv),{map:E}));return i&&U.setPath(i),typeof s<"u"&&U.setVisible(s),typeof n<"u"&&U.setEditable(n),typeof e<"u"&&U.setDraggable(e),r&&L(google.maps.event.addListener(U,"dblclick",r)),o&&S(google.maps.event.addListener(U,"dragend",o)),a&&M(google.maps.event.addListener(U,"dragstart",a)),l&&D(google.maps.event.addListener(U,"mousedown",l)),u&&k(google.maps.event.addListener(U,"mousemove",u)),d&&T(google.maps.event.addListener(U,"mouseout",d)),f&&V(google.maps.event.addListener(U,"mouseover",f)),p&&X(google.maps.event.addListener(U,"mouseup",p)),g&&Y(google.maps.event.addListener(U,"rightclick",g)),h&&B(google.maps.event.addListener(U,"click",h)),v&&ee(google.maps.event.addListener(U,"drag",v)),m(U),b&&b(U),()=>{I!==null&&google.maps.event.removeListener(I),w!==null&&google.maps.event.removeListener(w),A!==null&&google.maps.event.removeListener(A),N!==null&&google.maps.event.removeListener(N),H!==null&&google.maps.event.removeListener(H),P!==null&&google.maps.event.removeListener(P),F!==null&&google.maps.event.removeListener(F),Z!==null&&google.maps.event.removeListener(Z),K!==null&&google.maps.event.removeListener(K),j!==null&&google.maps.event.removeListener(j),C&&C(U),U.setMap(null)}},[]),null}c.memo(sv);class iv extends c.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={polyline:null},this.setPolylineCallback=()=>{this.state.polyline!==null&&this.props.onLoad&&this.props.onLoad(this.state.polyline)}}componentDidMount(){const e=new google.maps.Polyline(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=te({updaterMap:Ka,eventMap:_a,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{polyline:e}},this.setPolylineCallback)}componentDidUpdate(e){this.state.polyline!==null&&(re(this.registeredEvents),this.registeredEvents=te({updaterMap:Ka,eventMap:_a,prevProps:e,nextProps:this.props,instance:this.state.polyline}))}componentWillUnmount(){this.state.polyline!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.polyline),re(this.registeredEvents),this.state.polyline.setMap(null))}render(){return null}}iv.contextType=$;const qa={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},$a={draggable(t,e){t.setDraggable(e)},editable(t,e){t.setEditable(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},path(t,e){t.setPath(e)},paths(t,e){t.setPaths(e)},visible(t,e){t.setVisible(e)}};function rv({options:t,draggable:e,editable:n,visible:s,path:i,paths:r,onDblClick:o,onDragEnd:a,onDragStart:l,onMouseDown:u,onMouseMove:d,onMouseOut:f,onMouseOver:p,onMouseUp:g,onRightClick:h,onClick:v,onDrag:b,onLoad:C,onUnmount:E}){const y=c.useContext($),[m,I]=c.useState(null),[L,w]=c.useState(null),[S,A]=c.useState(null),[M,N]=c.useState(null),[D,H]=c.useState(null),[k,P]=c.useState(null),[T,F]=c.useState(null),[V,Z]=c.useState(null),[X,K]=c.useState(null),[Y,j]=c.useState(null),[B,ne]=c.useState(null),[ee,U]=c.useState(null);return c.useEffect(()=>{m!==null&&m.setMap(y)},[y]),c.useEffect(()=>{typeof t<"u"&&m!==null&&m.setOptions(t)},[m,t]),c.useEffect(()=>{typeof e<"u"&&m!==null&&m.setDraggable(e)},[m,e]),c.useEffect(()=>{typeof n<"u"&&m!==null&&m.setEditable(n)},[m,n]),c.useEffect(()=>{typeof s<"u"&&m!==null&&m.setVisible(s)},[m,s]),c.useEffect(()=>{typeof i<"u"&&m!==null&&m.setPath(i)},[m,i]),c.useEffect(()=>{typeof r<"u"&&m!==null&&m.setPaths(r)},[m,r]),c.useEffect(()=>{m&&o&&(L!==null&&google.maps.event.removeListener(L),w(google.maps.event.addListener(m,"dblclick",o)))},[o]),c.useEffect(()=>{m&&a&&(S!==null&&google.maps.event.removeListener(S),A(google.maps.event.addListener(m,"dragend",a)))},[a]),c.useEffect(()=>{m&&l&&(M!==null&&google.maps.event.removeListener(M),N(google.maps.event.addListener(m,"dragstart",l)))},[l]),c.useEffect(()=>{m&&u&&(D!==null&&google.maps.event.removeListener(D),H(google.maps.event.addListener(m,"mousedown",u)))},[u]),c.useEffect(()=>{m&&d&&(k!==null&&google.maps.event.removeListener(k),P(google.maps.event.addListener(m,"mousemove",d)))},[d]),c.useEffect(()=>{m&&f&&(T!==null&&google.maps.event.removeListener(T),F(google.maps.event.addListener(m,"mouseout",f)))},[f]),c.useEffect(()=>{m&&p&&(V!==null&&google.maps.event.removeListener(V),Z(google.maps.event.addListener(m,"mouseover",p)))},[p]),c.useEffect(()=>{m&&g&&(X!==null&&google.maps.event.removeListener(X),K(google.maps.event.addListener(m,"mouseup",g)))},[g]),c.useEffect(()=>{m&&h&&(Y!==null&&google.maps.event.removeListener(Y),j(google.maps.event.addListener(m,"rightclick",h)))},[h]),c.useEffect(()=>{m&&v&&(B!==null&&google.maps.event.removeListener(B),ne(google.maps.event.addListener(m,"click",v)))},[v]),c.useEffect(()=>{m&&b&&(ee!==null&&google.maps.event.removeListener(ee),U(google.maps.event.addListener(m,"drag",b)))},[b]),c.useEffect(()=>{const _=new google.maps.Polygon(Object.assign(Object.assign({},t||{}),{map:y}));return i&&_.setPath(i),r&&_.setPaths(r),typeof s<"u"&&_.setVisible(s),typeof n<"u"&&_.setEditable(n),typeof e<"u"&&_.setDraggable(e),o&&w(google.maps.event.addListener(_,"dblclick",o)),a&&A(google.maps.event.addListener(_,"dragend",a)),l&&N(google.maps.event.addListener(_,"dragstart",l)),u&&H(google.maps.event.addListener(_,"mousedown",u)),d&&P(google.maps.event.addListener(_,"mousemove",d)),f&&F(google.maps.event.addListener(_,"mouseout",f)),p&&Z(google.maps.event.addListener(_,"mouseover",p)),g&&K(google.maps.event.addListener(_,"mouseup",g)),h&&j(google.maps.event.addListener(_,"rightclick",h)),v&&ne(google.maps.event.addListener(_,"click",v)),b&&U(google.maps.event.addListener(_,"drag",b)),I(_),C&&C(_),()=>{L!==null&&google.maps.event.removeListener(L),S!==null&&google.maps.event.removeListener(S),M!==null&&google.maps.event.removeListener(M),D!==null&&google.maps.event.removeListener(D),k!==null&&google.maps.event.removeListener(k),T!==null&&google.maps.event.removeListener(T),V!==null&&google.maps.event.removeListener(V),X!==null&&google.maps.event.removeListener(X),Y!==null&&google.maps.event.removeListener(Y),B!==null&&google.maps.event.removeListener(B),E&&E(_),_.setMap(null)}},[]),null}c.memo(rv);class ov extends c.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={polygon:null},this.setPolygonCallback=()=>{this.state.polygon!==null&&this.props.onLoad&&this.props.onLoad(this.state.polygon)}}componentDidMount(){const e=new google.maps.Polygon(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=te({updaterMap:$a,eventMap:qa,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{polygon:e}},this.setPolygonCallback)}componentDidUpdate(e){this.state.polygon!==null&&(re(this.registeredEvents),this.registeredEvents=te({updaterMap:$a,eventMap:qa,prevProps:e,nextProps:this.props,instance:this.state.polygon}))}componentWillUnmount(){this.state.polygon!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.polygon),re(this.registeredEvents),this.state.polygon&&this.state.polygon.setMap(null))}render(){return null}}ov.contextType=$;const el={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"},tl={bounds(t,e){t.setBounds(e)},draggable(t,e){t.setDraggable(e)},editable(t,e){t.setEditable(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},visible(t,e){t.setVisible(e)}};function av({options:t,bounds:e,draggable:n,editable:s,visible:i,onDblClick:r,onDragEnd:o,onDragStart:a,onMouseDown:l,onMouseMove:u,onMouseOut:d,onMouseOver:f,onMouseUp:p,onRightClick:g,onClick:h,onDrag:v,onBoundsChanged:b,onLoad:C,onUnmount:E}){const y=c.useContext($),[m,I]=c.useState(null),[L,w]=c.useState(null),[S,A]=c.useState(null),[M,N]=c.useState(null),[D,H]=c.useState(null),[k,P]=c.useState(null),[T,F]=c.useState(null),[V,Z]=c.useState(null),[X,K]=c.useState(null),[Y,j]=c.useState(null),[B,ne]=c.useState(null),[ee,U]=c.useState(null),[_,oe]=c.useState(null);return c.useEffect(()=>{m!==null&&m.setMap(y)},[y]),c.useEffect(()=>{typeof t<"u"&&m!==null&&m.setOptions(t)},[m,t]),c.useEffect(()=>{typeof n<"u"&&m!==null&&m.setDraggable(n)},[m,n]),c.useEffect(()=>{typeof s<"u"&&m!==null&&m.setEditable(s)},[m,s]),c.useEffect(()=>{typeof i<"u"&&m!==null&&m.setVisible(i)},[m,i]),c.useEffect(()=>{typeof e<"u"&&m!==null&&m.setBounds(e)},[m,e]),c.useEffect(()=>{m&&r&&(L!==null&&google.maps.event.removeListener(L),w(google.maps.event.addListener(m,"dblclick",r)))},[r]),c.useEffect(()=>{m&&o&&(S!==null&&google.maps.event.removeListener(S),A(google.maps.event.addListener(m,"dragend",o)))},[o]),c.useEffect(()=>{m&&a&&(M!==null&&google.maps.event.removeListener(M),N(google.maps.event.addListener(m,"dragstart",a)))},[a]),c.useEffect(()=>{m&&l&&(D!==null&&google.maps.event.removeListener(D),H(google.maps.event.addListener(m,"mousedown",l)))},[l]),c.useEffect(()=>{m&&u&&(k!==null&&google.maps.event.removeListener(k),P(google.maps.event.addListener(m,"mousemove",u)))},[u]),c.useEffect(()=>{m&&d&&(T!==null&&google.maps.event.removeListener(T),F(google.maps.event.addListener(m,"mouseout",d)))},[d]),c.useEffect(()=>{m&&f&&(V!==null&&google.maps.event.removeListener(V),Z(google.maps.event.addListener(m,"mouseover",f)))},[f]),c.useEffect(()=>{m&&p&&(X!==null&&google.maps.event.removeListener(X),K(google.maps.event.addListener(m,"mouseup",p)))},[p]),c.useEffect(()=>{m&&g&&(Y!==null&&google.maps.event.removeListener(Y),j(google.maps.event.addListener(m,"rightclick",g)))},[g]),c.useEffect(()=>{m&&h&&(B!==null&&google.maps.event.removeListener(B),ne(google.maps.event.addListener(m,"click",h)))},[h]),c.useEffect(()=>{m&&v&&(ee!==null&&google.maps.event.removeListener(ee),U(google.maps.event.addListener(m,"drag",v)))},[v]),c.useEffect(()=>{m&&b&&(_!==null&&google.maps.event.removeListener(_),oe(google.maps.event.addListener(m,"bounds_changed",b)))},[b]),c.useEffect(()=>{const se=new google.maps.Rectangle(Object.assign(Object.assign({},t||{}),{map:y}));return typeof i<"u"&&se.setVisible(i),typeof s<"u"&&se.setEditable(s),typeof n<"u"&&se.setDraggable(n),typeof e<"u"&&se.setBounds(e),r&&w(google.maps.event.addListener(se,"dblclick",r)),o&&A(google.maps.event.addListener(se,"dragend",o)),a&&N(google.maps.event.addListener(se,"dragstart",a)),l&&H(google.maps.event.addListener(se,"mousedown",l)),u&&P(google.maps.event.addListener(se,"mousemove",u)),d&&F(google.maps.event.addListener(se,"mouseout",d)),f&&Z(google.maps.event.addListener(se,"mouseover",f)),p&&K(google.maps.event.addListener(se,"mouseup",p)),g&&j(google.maps.event.addListener(se,"rightclick",g)),h&&ne(google.maps.event.addListener(se,"click",h)),v&&U(google.maps.event.addListener(se,"drag",v)),b&&oe(google.maps.event.addListener(se,"bounds_changed",b)),I(se),C&&C(se),()=>{L!==null&&google.maps.event.removeListener(L),S!==null&&google.maps.event.removeListener(S),M!==null&&google.maps.event.removeListener(M),D!==null&&google.maps.event.removeListener(D),k!==null&&google.maps.event.removeListener(k),T!==null&&google.maps.event.removeListener(T),V!==null&&google.maps.event.removeListener(V),X!==null&&google.maps.event.removeListener(X),Y!==null&&google.maps.event.removeListener(Y),B!==null&&google.maps.event.removeListener(B),ee!==null&&google.maps.event.removeListener(ee),_!==null&&google.maps.event.removeListener(_),E&&E(se),se.setMap(null)}},[]),null}c.memo(av);class lv extends c.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={rectangle:null},this.setRectangleCallback=()=>{this.state.rectangle!==null&&this.props.onLoad&&this.props.onLoad(this.state.rectangle)}}componentDidMount(){const e=new google.maps.Rectangle(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=te({updaterMap:tl,eventMap:el,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{rectangle:e}},this.setRectangleCallback)}componentDidUpdate(e){this.state.rectangle!==null&&(re(this.registeredEvents),this.registeredEvents=te({updaterMap:tl,eventMap:el,prevProps:e,nextProps:this.props,instance:this.state.rectangle}))}componentWillUnmount(){this.state.rectangle!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.rectangle),re(this.registeredEvents),this.state.rectangle.setMap(null))}render(){return null}}lv.contextType=$;const nl={onCenterChanged:"center_changed",onRadiusChanged:"radius_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},sl={center(t,e){t.setCenter(e)},draggable(t,e){t.setDraggable(e)},editable(t,e){t.setEditable(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},radius(t,e){t.setRadius(e)},visible(t,e){t.setVisible(e)}},uv={};function cv({options:t,center:e,radius:n,draggable:s,editable:i,visible:r,onDblClick:o,onDragEnd:a,onDragStart:l,onMouseDown:u,onMouseMove:d,onMouseOut:f,onMouseOver:p,onMouseUp:g,onRightClick:h,onClick:v,onDrag:b,onCenterChanged:C,onRadiusChanged:E,onLoad:y,onUnmount:m}){const I=c.useContext($),[L,w]=c.useState(null),[S,A]=c.useState(null),[M,N]=c.useState(null),[D,H]=c.useState(null),[k,P]=c.useState(null),[T,F]=c.useState(null),[V,Z]=c.useState(null),[X,K]=c.useState(null),[Y,j]=c.useState(null),[B,ne]=c.useState(null),[ee,U]=c.useState(null),[_,oe]=c.useState(null),[se,Le]=c.useState(null),[W,Pe]=c.useState(null);return c.useEffect(()=>{L!==null&&L.setMap(I)},[I]),c.useEffect(()=>{typeof t<"u"&&L!==null&&L.setOptions(t)},[L,t]),c.useEffect(()=>{typeof s<"u"&&L!==null&&L.setDraggable(s)},[L,s]),c.useEffect(()=>{typeof i<"u"&&L!==null&&L.setEditable(i)},[L,i]),c.useEffect(()=>{typeof r<"u"&&L!==null&&L.setVisible(r)},[L,r]),c.useEffect(()=>{typeof n=="number"&&L!==null&&L.setRadius(n)},[L,n]),c.useEffect(()=>{typeof e<"u"&&L!==null&&L.setCenter(e)},[L,e]),c.useEffect(()=>{L&&o&&(S!==null&&google.maps.event.removeListener(S),A(google.maps.event.addListener(L,"dblclick",o)))},[o]),c.useEffect(()=>{L&&a&&(M!==null&&google.maps.event.removeListener(M),N(google.maps.event.addListener(L,"dragend",a)))},[a]),c.useEffect(()=>{L&&l&&(D!==null&&google.maps.event.removeListener(D),H(google.maps.event.addListener(L,"dragstart",l)))},[l]),c.useEffect(()=>{L&&u&&(k!==null&&google.maps.event.removeListener(k),P(google.maps.event.addListener(L,"mousedown",u)))},[u]),c.useEffect(()=>{L&&d&&(T!==null&&google.maps.event.removeListener(T),F(google.maps.event.addListener(L,"mousemove",d)))},[d]),c.useEffect(()=>{L&&f&&(V!==null&&google.maps.event.removeListener(V),Z(google.maps.event.addListener(L,"mouseout",f)))},[f]),c.useEffect(()=>{L&&p&&(X!==null&&google.maps.event.removeListener(X),K(google.maps.event.addListener(L,"mouseover",p)))},[p]),c.useEffect(()=>{L&&g&&(Y!==null&&google.maps.event.removeListener(Y),j(google.maps.event.addListener(L,"mouseup",g)))},[g]),c.useEffect(()=>{L&&h&&(B!==null&&google.maps.event.removeListener(B),ne(google.maps.event.addListener(L,"rightclick",h)))},[h]),c.useEffect(()=>{L&&v&&(ee!==null&&google.maps.event.removeListener(ee),U(google.maps.event.addListener(L,"click",v)))},[v]),c.useEffect(()=>{L&&b&&(_!==null&&google.maps.event.removeListener(_),oe(google.maps.event.addListener(L,"drag",b)))},[b]),c.useEffect(()=>{L&&C&&(se!==null&&google.maps.event.removeListener(se),Le(google.maps.event.addListener(L,"center_changed",C)))},[v]),c.useEffect(()=>{L&&E&&(W!==null&&google.maps.event.removeListener(W),Pe(google.maps.event.addListener(L,"radius_changed",E)))},[E]),c.useEffect(()=>{const ie=new google.maps.Circle(Object.assign(Object.assign({},t||uv),{map:I}));return typeof n=="number"&&ie.setRadius(n),typeof e<"u"&&ie.setCenter(e),typeof n=="number"&&ie.setRadius(n),typeof r<"u"&&ie.setVisible(r),typeof i<"u"&&ie.setEditable(i),typeof s<"u"&&ie.setDraggable(s),o&&A(google.maps.event.addListener(ie,"dblclick",o)),a&&N(google.maps.event.addListener(ie,"dragend",a)),l&&H(google.maps.event.addListener(ie,"dragstart",l)),u&&P(google.maps.event.addListener(ie,"mousedown",u)),d&&F(google.maps.event.addListener(ie,"mousemove",d)),f&&Z(google.maps.event.addListener(ie,"mouseout",f)),p&&K(google.maps.event.addListener(ie,"mouseover",p)),g&&j(google.maps.event.addListener(ie,"mouseup",g)),h&&ne(google.maps.event.addListener(ie,"rightclick",h)),v&&U(google.maps.event.addListener(ie,"click",v)),b&&oe(google.maps.event.addListener(ie,"drag",b)),C&&Le(google.maps.event.addListener(ie,"center_changed",C)),E&&Pe(google.maps.event.addListener(ie,"radius_changed",E)),w(ie),y&&y(ie),()=>{S!==null&&google.maps.event.removeListener(S),M!==null&&google.maps.event.removeListener(M),D!==null&&google.maps.event.removeListener(D),k!==null&&google.maps.event.removeListener(k),T!==null&&google.maps.event.removeListener(T),V!==null&&google.maps.event.removeListener(V),X!==null&&google.maps.event.removeListener(X),Y!==null&&google.maps.event.removeListener(Y),B!==null&&google.maps.event.removeListener(B),ee!==null&&google.maps.event.removeListener(ee),se!==null&&google.maps.event.removeListener(se),W!==null&&google.maps.event.removeListener(W),m&&m(ie),ie.setMap(null)}},[]),null}c.memo(cv);class dv extends c.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={circle:null},this.setCircleCallback=()=>{this.state.circle!==null&&this.props.onLoad&&this.props.onLoad(this.state.circle)}}componentDidMount(){const e=new google.maps.Circle(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=te({updaterMap:sl,eventMap:nl,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{circle:e}},this.setCircleCallback)}componentDidUpdate(e){this.state.circle!==null&&(re(this.registeredEvents),this.registeredEvents=te({updaterMap:sl,eventMap:nl,prevProps:e,nextProps:this.props,instance:this.state.circle}))}componentWillUnmount(){this.state.circle!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.circle),re(this.registeredEvents),this.state.circle&&this.state.circle.setMap(null))}render(){return null}}dv.contextType=$;const il={onClick:"click",onDblClick:"dblclick",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick",onAddFeature:"addfeature",onRemoveFeature:"removefeature",onRemoveProperty:"removeproperty",onSetGeometry:"setgeometry",onSetProperty:"setproperty"},rl={add(t,e){t.add(e)},addgeojson(t,e,n){t.addGeoJson(e,n)},contains(t,e){t.contains(e)},foreach(t,e){t.forEach(e)},loadgeojson(t,e,n,s){t.loadGeoJson(e,n,s)},overridestyle(t,e,n){t.overrideStyle(e,n)},remove(t,e){t.remove(e)},revertstyle(t,e){t.revertStyle(e)},controlposition(t,e){t.setControlPosition(e)},controls(t,e){t.setControls(e)},drawingmode(t,e){t.setDrawingMode(e)},map(t,e){t.setMap(e)},style(t,e){t.setStyle(e)},togeojson(t,e){t.toGeoJson(e)}};function fv({options:t,onClick:e,onDblClick:n,onMouseDown:s,onMouseMove:i,onMouseOut:r,onMouseOver:o,onMouseUp:a,onRightClick:l,onAddFeature:u,onRemoveFeature:d,onRemoveProperty:f,onSetGeometry:p,onSetProperty:g,onLoad:h,onUnmount:v}){const b=c.useContext($),[C,E]=c.useState(null),[y,m]=c.useState(null),[I,L]=c.useState(null),[w,S]=c.useState(null),[A,M]=c.useState(null),[N,D]=c.useState(null),[H,k]=c.useState(null),[P,T]=c.useState(null),[F,V]=c.useState(null),[Z,X]=c.useState(null),[K,Y]=c.useState(null),[j,B]=c.useState(null),[ne,ee]=c.useState(null),[U,_]=c.useState(null);return c.useEffect(()=>{C!==null&&C.setMap(b)},[b]),c.useEffect(()=>{C&&n&&(y!==null&&google.maps.event.removeListener(y),m(google.maps.event.addListener(C,"dblclick",n)))},[n]),c.useEffect(()=>{C&&s&&(I!==null&&google.maps.event.removeListener(I),L(google.maps.event.addListener(C,"mousedown",s)))},[s]),c.useEffect(()=>{C&&i&&(w!==null&&google.maps.event.removeListener(w),S(google.maps.event.addListener(C,"mousemove",i)))},[i]),c.useEffect(()=>{C&&r&&(A!==null&&google.maps.event.removeListener(A),M(google.maps.event.addListener(C,"mouseout",r)))},[r]),c.useEffect(()=>{C&&o&&(N!==null&&google.maps.event.removeListener(N),D(google.maps.event.addListener(C,"mouseover",o)))},[o]),c.useEffect(()=>{C&&a&&(H!==null&&google.maps.event.removeListener(H),k(google.maps.event.addListener(C,"mouseup",a)))},[a]),c.useEffect(()=>{C&&l&&(P!==null&&google.maps.event.removeListener(P),T(google.maps.event.addListener(C,"rightclick",l)))},[l]),c.useEffect(()=>{C&&e&&(F!==null&&google.maps.event.removeListener(F),V(google.maps.event.addListener(C,"click",e)))},[e]),c.useEffect(()=>{C&&u&&(Z!==null&&google.maps.event.removeListener(Z),X(google.maps.event.addListener(C,"addfeature",u)))},[u]),c.useEffect(()=>{C&&d&&(K!==null&&google.maps.event.removeListener(K),Y(google.maps.event.addListener(C,"removefeature",d)))},[d]),c.useEffect(()=>{C&&f&&(j!==null&&google.maps.event.removeListener(j),B(google.maps.event.addListener(C,"removeproperty",f)))},[f]),c.useEffect(()=>{C&&p&&(ne!==null&&google.maps.event.removeListener(ne),ee(google.maps.event.addListener(C,"setgeometry",p)))},[p]),c.useEffect(()=>{C&&g&&(U!==null&&google.maps.event.removeListener(U),_(google.maps.event.addListener(C,"setproperty",g)))},[g]),c.useEffect(()=>{if(b!==null){const oe=new google.maps.Data(Object.assign(Object.assign({},t||{}),{map:b}));n&&m(google.maps.event.addListener(oe,"dblclick",n)),s&&L(google.maps.event.addListener(oe,"mousedown",s)),i&&S(google.maps.event.addListener(oe,"mousemove",i)),r&&M(google.maps.event.addListener(oe,"mouseout",r)),o&&D(google.maps.event.addListener(oe,"mouseover",o)),a&&k(google.maps.event.addListener(oe,"mouseup",a)),l&&T(google.maps.event.addListener(oe,"rightclick",l)),e&&V(google.maps.event.addListener(oe,"click",e)),u&&X(google.maps.event.addListener(oe,"addfeature",u)),d&&Y(google.maps.event.addListener(oe,"removefeature",d)),f&&B(google.maps.event.addListener(oe,"removeproperty",f)),p&&ee(google.maps.event.addListener(oe,"setgeometry",p)),g&&_(google.maps.event.addListener(oe,"setproperty",g)),E(oe),h&&h(oe)}return()=>{C&&(y!==null&&google.maps.event.removeListener(y),I!==null&&google.maps.event.removeListener(I),w!==null&&google.maps.event.removeListener(w),A!==null&&google.maps.event.removeListener(A),N!==null&&google.maps.event.removeListener(N),H!==null&&google.maps.event.removeListener(H),P!==null&&google.maps.event.removeListener(P),F!==null&&google.maps.event.removeListener(F),Z!==null&&google.maps.event.removeListener(Z),K!==null&&google.maps.event.removeListener(K),j!==null&&google.maps.event.removeListener(j),ne!==null&&google.maps.event.removeListener(ne),U!==null&&google.maps.event.removeListener(U),v&&v(C),C.setMap(null))}},[]),null}c.memo(fv);class pv extends c.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={data:null},this.setDataCallback=()=>{this.state.data!==null&&this.props.onLoad&&this.props.onLoad(this.state.data)}}componentDidMount(){if(this.context!==null){const e=new google.maps.Data(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=te({updaterMap:rl,eventMap:il,prevProps:{},nextProps:this.props,instance:e}),this.setState(()=>({data:e}),this.setDataCallback)}}componentDidUpdate(e){this.state.data!==null&&(re(this.registeredEvents),this.registeredEvents=te({updaterMap:rl,eventMap:il,prevProps:e,nextProps:this.props,instance:this.state.data}))}componentWillUnmount(){this.state.data!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.data),re(this.registeredEvents),this.state.data&&this.state.data.setMap(null))}render(){return null}}pv.contextType=$;const ol={onClick:"click",onDefaultViewportChanged:"defaultviewport_changed",onStatusChanged:"status_changed"},al={options(t,e){t.setOptions(e)},url(t,e){t.setUrl(e)},zIndex(t,e){t.setZIndex(e)}};class gv extends c.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={kmlLayer:null},this.setKmlLayerCallback=()=>{this.state.kmlLayer!==null&&this.props.onLoad&&this.props.onLoad(this.state.kmlLayer)}}componentDidMount(){const e=new google.maps.KmlLayer(Object.assign(Object.assign({},this.props.options),{map:this.context}));this.registeredEvents=te({updaterMap:al,eventMap:ol,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{kmlLayer:e}},this.setKmlLayerCallback)}componentDidUpdate(e){this.state.kmlLayer!==null&&(re(this.registeredEvents),this.registeredEvents=te({updaterMap:al,eventMap:ol,prevProps:e,nextProps:this.props,instance:this.state.kmlLayer}))}componentWillUnmount(){this.state.kmlLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.kmlLayer),re(this.registeredEvents),this.state.kmlLayer.setMap(null))}render(){return null}}gv.contextType=$;function ll(t,e){return typeof e=="function"?e(t.offsetWidth,t.offsetHeight):{x:0,y:0}}function hv(t,e){return new e(t.lat,t.lng)}function mv(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 vv(t,e,n){return t instanceof e?t:n(t,e)}function bv(t,e,n){return t instanceof e?t:n(t,e)}function yv(t,e,n){const s=t&&t.fromLatLngToDivPixel(n.getNorthEast()),i=t&&t.fromLatLngToDivPixel(n.getSouthWest());return s&&i?{left:`${i.x+e.x}px`,top:`${s.y+e.y}px`,width:`${s.x-i.x-e.x}px`,height:`${i.y-s.y-e.y}px`}:{left:"-9999px",top:"-9999px"}}function Cv(t,e,n){const s=t&&t.fromLatLngToDivPixel(n);if(s){const{x:i,y:r}=s;return{left:`${i+e.x}px`,top:`${r+e.y}px`}}return{left:"-9999px",top:"-9999px"}}function ul(t,e,n,s){return n!==void 0?yv(t,e,bv(n,google.maps.LatLngBounds,mv)):Cv(t,e,vv(s,google.maps.LatLng,hv))}function Iv(t,e){return t.left===e.left&&t.top===e.top&&t.width===e.height&&t.height===e.height}function Ev(t,e,n,s,i){class r extends google.maps.OverlayView{constructor(a,l,u,d){super(),this.container=a,this.pane=l,this.position=u,this.bounds=d}onAdd(){var a;const l=(a=this.getPanes())===null||a===void 0?void 0:a[this.pane];l==null||l.appendChild(this.container)}draw(){const a=this.getProjection(),l=Object.assign({},this.container?ll(this.container,i):{x:0,y:0}),u=ul(a,l,this.bounds,this.position);for(const[d,f]of Object.entries(u))this.container.style[d]=f}onRemove(){this.container.parentNode!==null&&this.container.parentNode.removeChild(this.container)}}return new r(t,e,n,s)}function cl(t){return t?(t instanceof google.maps.LatLng?t:new google.maps.LatLng(t.lat,t.lng))+"":""}function dl(t){return t?(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)))+"":""}function Lv({position:t,bounds:e,mapPaneName:n,zIndex:s,onLoad:i,onUnmount:r,getPixelPositionOffset:o,children:a}){const l=c.useContext($),u=c.useMemo(()=>{const f=document.createElement("div");return f.style.position="absolute",f},[]),d=c.useMemo(()=>Ev(u,n,t,e,o),[u,n,t,e]);return c.useEffect(()=>(i==null||i(d),d==null||d.setMap(l),()=>{r==null||r(d),d==null||d.setMap(null)}),[l,d]),c.useEffect(()=>{u.style.zIndex=`${s}`},[s,u]),Mi.createPortal(a,u)}c.memo(Lv);class xt extends c.PureComponent{constructor(e){super(e),this.state={paneEl:null,containerStyle:{position:"absolute"}},this.updatePane=()=>{const s=this.props.mapPaneName,i=this.overlayView.getPanes();be(!!s,"OverlayView requires props.mapPaneName but got %s",s),i?this.setState({paneEl:i[s]}):this.setState({paneEl:null})},this.onAdd=()=>{var s,i;this.updatePane(),(i=(s=this.props).onLoad)===null||i===void 0||i.call(s,this.overlayView)},this.onPositionElement=()=>{const s=this.overlayView.getProjection(),i=Object.assign({x:0,y:0},this.containerRef.current?ll(this.containerRef.current,this.props.getPixelPositionOffset):{}),r=ul(s,i,this.props.bounds,this.props.position),{left:o,top:a,width:l,height:u}=this.state.containerStyle;Iv(r,{left:o,top:a,width:l,height:u})||this.setState({containerStyle:Object.assign(Object.assign({},r),{position:"absolute"})})},this.draw=()=>{this.onPositionElement()},this.onRemove=()=>{var s,i;this.setState(()=>({paneEl:null})),(i=(s=this.props).onUnmount)===null||i===void 0||i.call(s,this.overlayView)},this.containerRef=c.createRef();const n=new google.maps.OverlayView;n.onAdd=this.onAdd,n.draw=this.draw,n.onRemove=this.onRemove,this.overlayView=n}componentDidMount(){this.overlayView.setMap(this.context)}componentDidUpdate(e){const n=cl(e.position),s=cl(this.props.position),i=dl(e.bounds),r=dl(this.props.bounds);(n!==s||i!==r)&&this.overlayView.draw(),e.mapPaneName!==this.props.mapPaneName&&this.updatePane()}componentWillUnmount(){this.overlayView.setMap(null)}render(){const e=this.state.paneEl;return e?Mi.createPortal(x.jsx("div",Object.assign({ref:this.containerRef,style:this.state.containerStyle},{children:c.Children.only(this.props.children)})),e):null}}xt.FLOAT_PANE="floatPane",xt.MAP_PANE="mapPane",xt.MARKER_LAYER="markerLayer",xt.OVERLAY_LAYER="overlayLayer",xt.OVERLAY_MOUSE_TARGET="overlayMouseTarget",xt.contextType=$;function xv(){}const fl={onDblClick:"dblclick",onClick:"click"},pl={opacity(t,e){t.setOpacity(e)}};function Av({url:t,bounds:e,options:n,visible:s}){const i=c.useContext($),r=new google.maps.LatLngBounds(new google.maps.LatLng(e.south,e.west),new google.maps.LatLng(e.north,e.east)),o=c.useMemo(()=>new google.maps.GroundOverlay(t,r,Object.assign({},n)),[]);return c.useEffect(()=>{o!==null&&o.setMap(i)},[i]),c.useEffect(()=>{typeof t<"u"&&o!==null&&(o.set("url",t),o.setMap(i))},[o,t]),c.useEffect(()=>{typeof s<"u"&&o!==null&&o.setOpacity(s?1:0)},[o,s]),c.useEffect(()=>{const a=new google.maps.LatLngBounds(new google.maps.LatLng(e.south,e.west),new google.maps.LatLng(e.north,e.east));typeof e<"u"&&o!==null&&(o.set("bounds",a),o.setMap(i))},[o,e]),null}c.memo(Av);class gl extends c.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={groundOverlay:null},this.setGroundOverlayCallback=()=>{this.state.groundOverlay!==null&&this.props.onLoad&&this.props.onLoad(this.state.groundOverlay)}}componentDidMount(){be(!!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");const e=new google.maps.GroundOverlay(this.props.url,this.props.bounds,Object.assign(Object.assign({},this.props.options),{map:this.context}));this.registeredEvents=te({updaterMap:pl,eventMap:fl,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{groundOverlay:e}},this.setGroundOverlayCallback)}componentDidUpdate(e){this.state.groundOverlay!==null&&(re(this.registeredEvents),this.registeredEvents=te({updaterMap:pl,eventMap:fl,prevProps:e,nextProps:this.props,instance:this.state.groundOverlay}))}componentWillUnmount(){this.state.groundOverlay&&(this.props.onUnmount&&this.props.onUnmount(this.state.groundOverlay),this.state.groundOverlay.setMap(null))}render(){return null}}gl.defaultProps={onLoad:xv},gl.contextType=$;const hl={},ml={data(t,e){t.setData(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)}};function wv({data:t,onLoad:e,onUnmount:n,options:s}){const i=c.useContext($),[r,o]=c.useState(null);return c.useEffect(()=>{google.maps.visualization||be(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} in useJsApiScript? %s',google.maps.visualization)},[]),c.useEffect(()=>{be(!!t,"data property is required in HeatmapLayer %s",t)},[t]),c.useEffect(()=>{r!==null&&r.setMap(i)},[i]),c.useEffect(()=>{s&&r!==null&&r.setOptions(s)},[r,s]),c.useEffect(()=>{const a=new google.maps.visualization.HeatmapLayer(Object.assign(Object.assign({},s||{}),{data:t,map:i}));return o(a),e&&e(a),()=>{r!==null&&(n&&n(r),r.setMap(null))}},[]),null}c.memo(wv);class Sv extends c.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={heatmapLayer:null},this.setHeatmapLayerCallback=()=>{this.state.heatmapLayer!==null&&this.props.onLoad&&this.props.onLoad(this.state.heatmapLayer)}}componentDidMount(){be(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} to <LoadScript />? %s',google.maps.visualization),be(!!this.props.data,"data property is required in HeatmapLayer %s",this.props.data);const e=new google.maps.visualization.HeatmapLayer(Object.assign(Object.assign({},this.props.options||{}),{data:this.props.data,map:this.context}));this.registeredEvents=te({updaterMap:ml,eventMap:hl,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{heatmapLayer:e}},this.setHeatmapLayerCallback)}componentDidUpdate(e){re(this.registeredEvents),this.registeredEvents=te({updaterMap:ml,eventMap:hl,prevProps:e,nextProps:this.props,instance:this.state.heatmapLayer})}componentWillUnmount(){this.state.heatmapLayer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.heatmapLayer),re(this.registeredEvents),this.state.heatmapLayer.setMap(null))}render(){return null}}Sv.contextType=$;const vl={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},bl={register(t,e,n){t.registerPanoProvider(e,n)},links(t,e){t.setLinks(e)},motionTracking(t,e){t.setMotionTracking(e)},options(t,e){t.setOptions(e)},pano(t,e){t.setPano(e)},position(t,e){t.setPosition(e)},pov(t,e){t.setPov(e)},visible(t,e){t.setVisible(e)},zoom(t,e){t.setZoom(e)}};class Ov extends c.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={streetViewPanorama:null},this.setStreetViewPanoramaCallback=()=>{this.state.streetViewPanorama!==null&&this.props.onLoad&&this.props.onLoad(this.state.streetViewPanorama)}}componentDidMount(){const e=this.context.getStreetView();this.registeredEvents=te({updaterMap:bl,eventMap:vl,prevProps:{},nextProps:this.props,instance:e}),this.setState(()=>({streetViewPanorama:e}),this.setStreetViewPanoramaCallback)}componentDidUpdate(e){this.state.streetViewPanorama!==null&&(re(this.registeredEvents),this.registeredEvents=te({updaterMap:bl,eventMap:vl,prevProps:e,nextProps:this.props,instance:this.state.streetViewPanorama}))}componentWillUnmount(){this.state.streetViewPanorama!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.streetViewPanorama),re(this.registeredEvents),this.state.streetViewPanorama.setVisible(!1))}render(){return null}}Ov.contextType=$;class Mv extends c.PureComponent{constructor(){super(...arguments),this.state={streetViewService:null},this.setStreetViewServiceCallback=()=>{this.state.streetViewService!==null&&this.props.onLoad&&this.props.onLoad(this.state.streetViewService)}}componentDidMount(){const e=new google.maps.StreetViewService;this.setState(function(){return{streetViewService:e}},this.setStreetViewServiceCallback)}componentWillUnmount(){this.state.streetViewService!==null&&this.props.onUnmount&&this.props.onUnmount(this.state.streetViewService)}render(){return null}}Mv.contextType=$;const yl={onDirectionsChanged:"directions_changed"},Cl={directions(t,e){t.setDirections(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},panel(t,e){t.setPanel(e)},routeIndex(t,e){t.setRouteIndex(e)}};class Pv extends c.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={directionsRenderer:null},this.setDirectionsRendererCallback=()=>{this.state.directionsRenderer!==null&&(this.state.directionsRenderer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.directionsRenderer))}}componentDidMount(){const e=new google.maps.DirectionsRenderer(this.props.options);this.registeredEvents=te({updaterMap:Cl,eventMap:yl,prevProps:{},nextProps:this.props,instance:e}),this.setState(function(){return{directionsRenderer:e}},this.setDirectionsRendererCallback)}componentDidUpdate(e){this.state.directionsRenderer!==null&&(re(this.registeredEvents),this.registeredEvents=te({updaterMap:Cl,eventMap:yl,prevProps:e,nextProps:this.props,instance:this.state.directionsRenderer}))}componentWillUnmount(){this.state.directionsRenderer!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.directionsRenderer),re(this.registeredEvents),this.state.directionsRenderer&&this.state.directionsRenderer.setMap(null))}render(){return x.jsx(x.Fragment,{})}}Pv.contextType=$;const Il={onPlacesChanged:"places_changed"},El={bounds(t,e){t.setBounds(e)}};class Bv extends c.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=c.createRef(),this.state={searchBox:null},this.setSearchBoxCallback=()=>{this.state.searchBox!==null&&this.props.onLoad&&this.props.onLoad(this.state.searchBox)}}componentDidMount(){if(be(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places),this.containerElement!==null&&this.containerElement.current!==null){const e=this.containerElement.current.querySelector("input");if(e!==null){const n=new google.maps.places.SearchBox(e,this.props.options);this.registeredEvents=te({updaterMap:El,eventMap:Il,prevProps:{},nextProps:this.props,instance:n}),this.setState(function(){return{searchBox:n}},this.setSearchBoxCallback)}}}componentDidUpdate(e){this.state.searchBox!==null&&(re(this.registeredEvents),this.registeredEvents=te({updaterMap:El,eventMap:Il,prevProps:e,nextProps:this.props,instance:this.state.searchBox}))}componentWillUnmount(){this.state.searchBox!==null&&(this.props.onUnmount&&this.props.onUnmount(this.state.searchBox),re(this.registeredEvents))}render(){return x.jsx("div",Object.assign({ref:this.containerElement},{children:c.Children.only(this.props.children)}))}}Bv.contextType=$;const Ll={onPlaceChanged:"place_changed"},xl={bounds(t,e){t.setBounds(e)},restrictions(t,e){t.setComponentRestrictions(e)},fields(t,e){t.setFields(e)},options(t,e){t.setOptions(e)},types(t,e){t.setTypes(e)}};class Al extends c.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=c.createRef(),this.state={autocomplete:null},this.setAutocompleteCallback=()=>{this.state.autocomplete!==null&&this.props.onLoad&&this.props.onLoad(this.state.autocomplete)}}componentDidMount(){be(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places);const e=this.containerElement.current.querySelector("input");if(e){const n=new google.maps.places.Autocomplete(e,this.props.options);this.registeredEvents=te({updaterMap:xl,eventMap:Ll,prevProps:{},nextProps:this.props,instance:n}),this.setState(()=>({autocomplete:n}),this.setAutocompleteCallback)}}componentDidUpdate(e){re(this.registeredEvents),this.registeredEvents=te({updaterMap:xl,eventMap:Ll,prevProps:e,nextProps:this.props,instance:this.state.autocomplete})}componentWillUnmount(){this.state.autocomplete!==null&&re(this.registeredEvents)}render(){return x.jsx("div",Object.assign({ref:this.containerElement,className:this.props.className},{children:c.Children.only(this.props.children)}))}}Al.defaultProps={className:""},Al.contextType=$;const wl=c.createContext({points:[],error:!1,loaded:!1,loading:!1,loadNext(){throw new Error("loadNext method is not implemented")}}),Sl=()=>c.useContext(wl),Ei=t=>G.createElement("svg",{width:42,height:42,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},G.createElement("rect",{width:42,height:42,rx:21,fill:"white"}),G.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"}),G.createElement("path",{d:"M15.1629 25V17H16.929L19.6222 20.2333L22.3045 17H24.0816V25H22.3597V19.6333L19.6222 22.9222L16.8738 19.6444V25H15.1629Z",fill:"black"}),G.createElement("path",{d:"M25.4032 25V17H27.1693L31.6176 22.3333V17H33.3505V25H31.5845L27.1141 19.6444V25H25.4032Z",fill:"black"}),G.createElement("path",{d:"M34.3112 25V17H36V25H34.3112Z",fill:"black"}),G.createElement("rect",{x:.5,y:.5,width:41,height:41,rx:20.5,stroke:"#1D3665",strokeOpacity:.1})),Li=[55.75,37.57],xi=window.crypto.randomUUID(),Ai=window.crypto.randomUUID(),At={"omnic-widget":"_omnic-widget_nrmku_1",root:"_root_nrmku_13",submit:"_submit_nrmku_18",header:"_header_nrmku_24",title:"_title_nrmku_32",description:"_description_nrmku_38",actions:"_actions_nrmku_44"},Ol=({name:t,onSubmit:e,location:n,onDetails:s,className:i})=>{const{t:r}=He();return x.jsxs("div",{className:me(At.root,i),children:[x.jsxs("div",{className:At.header,children:[x.jsx(Ei,{}),x.jsx("span",{className:At.title,children:t||"{{ properties.point.name }}"})]}),x.jsx("div",{className:At.description,children:(n==null?void 0:n.full_address)||"{{ properties.point.location.full_address }}"}),x.jsxs("div",{className:At.actions,children:[x.jsx(Qe,{id:xi,variant:"primary",className:At.submit,onClick:e,children:r("choose")||"{ choose }"}),x.jsx(Qe,{id:Ai,as:"link",variant:"primary",onClick:s,children:r("details")||"{ details }"})]})]})},Nv=t=>G.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},G.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"})),kv={"omnic-widget":"_omnic-widget_7at7t_1",option:"_option_7at7t_13"},Ml=({value:t,onChange:e,className:n})=>{const{t:s}=He(),i=async o=>{const{data:a}=await fi({q:o});return a.data.results},r=o=>{e==null||e(o)};return x.jsx(di,{cacheOptions:!0,defaultOptions:!0,value:t,className:n,loadOptions:i,customDropdownIcon:x.jsx(Nv,{}),getOptionValue:o=>o.uid,placeholder:s("location_selector.placeholder"),onChange:r,formatOptionLabel:(o,a)=>x.jsxs("div",{className:kv.option,children:[a.context==="menu"&&x.jsx(Ei,{})," ",x.jsx("span",{children:o.name}),a.context==="menu"&&x.jsx(Is,{})]})})},Tv={lat:Li[0],lng:Li[1]},Gv=10,Dv={disableDefaultUI:!0},Ce={"omnic-widget":"_omnic-widget_o4viw_1",root:"_root_o4viw_13",submit:"_submit_o4viw_21",close:"_close_o4viw_26",title:"_title_o4viw_37",header:"_header_o4viw_50",content:"_content_o4viw_55",section:"_section_o4viw_66",chips:"_chips_o4viw_75",chip:"_chip_o4viw_75",services:"_services_o4viw_86",images:"_images_o4viw_92",image:"_image_o4viw_92",actions:"_actions_o4viw_110"},Pl=({onClose:t,onSubmit:e,location:n,className:s})=>{const{t:i}=He(),r=[i("days_of_week.mon"),i("days_of_week.tue"),i("days_of_week.wed"),i("days_of_week.thu"),i("days_of_week.fri"),i("days_of_week.sat"),i("days_of_week.sun")],o=()=>{e==null||e(n)};return x.jsxs("div",{className:me(Ce.root,s),children:[x.jsxs("div",{className:Ce.header,children:[x.jsx("div",{className:Ce.close,onClick:t,children:x.jsx(Gs,{})}),x.jsxs("div",{className:Ce.title,children:[x.jsx(Ei,{}),x.jsx("span",{children:n.name})]})]}),x.jsxs("div",{className:Ce.content,children:[x.jsxs("section",{className:Ce.section,children:[x.jsxs("label",{children:[i("details_modal.address"),":"]}),x.jsx("p",{children:n.location.full_address})]}),x.jsxs("section",{className:Ce.section,children:[x.jsxs("label",{children:[i("details_modal.schedule"),":"]}),n.schedule.map(a=>x.jsxs("p",{children:[x.jsxs("span",{children:[r[a.day-1],":"]})," ",i("from").toLowerCase()," ",a.start," ",i("to").toLowerCase()," ",a.end]},a.day))]}),x.jsxs("section",{className:Ce.section,children:[x.jsxs("label",{children:[i("details_modal.payment_method"),":"]}),x.jsxs("div",{className:Ce.chips,children:[n.pay_by_cash&&x.jsx("span",{className:Ce.chip,children:"Наличными"}),n.pay_by_card&&x.jsx("span",{className:Ce.chip,children:"Картой"})]})]}),x.jsxs("section",{className:Ce.section,children:[x.jsxs("label",{children:[i("details_modal.services"),":"]}),x.jsxs("div",{className:Ce.services,children:[n.is_pickup&&x.jsx("span",{children:i("details_modal.is_pickup")}),n.is_delivery&&x.jsx("span",{children:i("details_modal.is_delivery")}),n.is_dressing_room&&x.jsx("span",{children:i("details_modal.is_dressing_room")}),n.is_check_order&&x.jsx("span",{children:i("details_modal.is_check_order")})]})]}),x.jsxs("section",{className:Ce.section,children:[x.jsxs("label",{children:[i("details_modal.location"),":"]}),x.jsx("p",{children:n.location_name})]}),x.jsx("section",{className:Ce.images,children:n.images.map(a=>x.jsx("img",{src:a,alt:n.name,className:Ce.image},a))})]}),x.jsx("div",{className:Ce.actions,children:x.jsx(Qe,{variant:"primary",className:Ce.submit,onClick:o,children:i("choose")})})]})},Qn={"omnic-widget":"_omnic-widget_13i4r_1",root:"_root_13i4r_13",balloon:"_balloon_13i4r_22",details:"_details_13i4r_26",selector:"_selector_13i4r_41"},Bl=({points:t,className:e})=>{const{city:n}=Bt(),{loadNext:s}=Sl(),{onPointClick:i}=er(),{isLoaded:r}=lm({id:"google-map-script",googleMapsApiKey:"AIzaSyBO9gABz5DPTW3DcJuNCLx6Q7GmDYDRwRA"}),[o,a]=c.useState(null),[l,u]=c.useState(!1),[d,f]=c.useState(null);c.useEffect(()=>{d&&(o==null||o.setZoom(20),o==null||o.setCenter({lat:d.location.latitude,lng:d.location.longitude}))},[o,d]),c.useEffect(()=>{n&&(o==null||o.setZoom(10),o==null||o.setCenter({lat:n.latitude,lng:n.longitude}))},[n,o]);const p=c.useCallback(C=>{a(C)},[]),g=c.useCallback(()=>{a(null)},[]),h=c.useCallback(()=>{u(!1)},[]),v=c.useCallback(()=>{u(!1),f(null)},[]),b=c.useCallback(()=>{if(!o)return;const C=o==null?void 0:o.getBounds();C&&s([[C.getNorthEast().lat(),C.getNorthEast().lng()],[C.getSouthWest().lat(),C.getSouthWest().lng()]])},[s,o]);return r?x.jsxs(tm,{zoom:Gv,center:Tv,options:Dv,mapContainerClassName:me(Qn.root,e),onLoad:p,onUnmount:g,onBoundsChanged:b,children:[x.jsx(Bm,{children:C=>x.jsx(c.Fragment,{children:t.map(E=>x.jsx(bm,{clusterer:C,onClick:()=>{u(!1),f(E)},position:{lat:E.location.latitude,lng:E.location.longitude},children:(d==null?void 0:d.uid)===E.uid&&x.jsx(ev,{onCloseClick:()=>f(null),children:x.jsx(Ol,{...E,className:Qn.balloon,onDetails:()=>{u(!0),f(E)},onSubmit:()=>{i(E),u(!1),f(null)}})})},E.uid))})}),!(d&&l)&&x.jsx(Ml,{value:d,className:Qn.selector,onChange:f}),d&&l&&x.jsx(Pl,{location:d,className:Qn.details,onClose:h,onSubmit:v})]}):null};c.memo(Bl);function wt(){return wt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},wt.apply(this,arguments)}const Nl=(t,e)=>{const n={};for(const s in t)e.indexOf(s)===-1&&(n[s]=t[s]);return n},kl=c.createContext(null),_n=c.createContext(null),Fv=t=>e=>c.createElement(_n.Consumer,null,n=>c.createElement(t,wt({parent:n},e))),Vv=(t=[])=>{const[e,n]=c.useState(!1),s=c.useRef(t),i=(()=>{const o=c.useContext(kl);if(o===null)throw new Error("Couldn't find Yandex.Maps API in the context. Make sure that hook useYMaps is inside <YMaps /> provider");return o})(),r=i.getApi();return c.useEffect(()=>{i.load().then(()=>Promise.all(s.current.map(i.loadModule))).then(()=>n(!0))},[]),e&&r?r:null},Hv=()=>{},jv=["onLoad","onError","modules","apiLoader"];function Tl(t,e=!1,n=[]){return s=>{const{width:i,height:r,modules:o=[],onLoad:a=Hv}=s,l=Vv(n.concat(o)),u=!e||!!l,d=Nl(s,jv);return c.useEffect(()=>l?a(l):void 0,[l]),u?c.createElement(t,wt({ymaps:l},d)):c.createElement("div",{style:{width:i,height:r}})}}const Wv=typeof window<"u",Gl={lang:"ru_RU",load:"",ns:"",mode:"release"},Zv=t=>{const{version:e="2.1",enterprise:n=!1,query:s={lang:"ru_RU",load:"",ns:""},preload:i=!1,children:r}=t,o=c.useRef((a=>{const{query:l=Gl}=a,u=Date.now().toString(32),d=l.ns||"",f="__yandex-maps-api-onload__$$"+u,p="__yandex-maps-api-onerror__$$"+u,g=Wv?window:{},h={};let v;const b=()=>d?g[d]:v,C=()=>{delete g[f],delete g[p]};return{load:()=>{if(b())return Promise.resolve(v);if(h[d])return h[d];const E={onload:f,onerror:p,...Gl,...l},y=Object.keys(E).map(I=>`${I}=${E[I]}`).join("&"),m=[`https://${a.enterprise?"enterprise.":""}api-maps.yandex.ru`,a.version,"?"+y].join("/");return h[d]=new Promise((I,L)=>{g[f]=w=>{C(),w.ready(()=>{v=w,I(w)})},g[p]=w=>{C(),L(w)},(w=>new Promise((S,A)=>{const M=document.createElement("script");M.type="text/javascript",M.onload=S,M.onerror=A,M.src=w,M.async=!0,document.head.appendChild(M)}))(m).catch(g[p])}),h[d]},getApi:b,loadModule:E=>new Promise((y,m)=>{v.modules.require(E).done(I=>{I.forEach(L=>{((w,S,A,M=!1)=>{const N=typeof S=="string"?S.split("."):S.slice();let D,H=w;for(;N.length>1;)D=N.shift(),H[D]||(H[D]={}),H=H[D];const k=N[0];H[k]=M===!0&&H[k]||A})(v,E,L,!0)}),y(v)},m)})}})({version:e,enterprise:n,query:s,preload:i}));return c.useEffect(()=>{i&&o.current.load()},[o.current]),c.createElement(kl.Provider,{value:o.current},r)},Dl=/^on(?=[A-Z])/;function pe(t){return Object.keys(t).reduce((e,n)=>{if(Dl.test(n)){const s=n.replace(Dl,"").toLowerCase();e._events[s]=t[n]}else e[n]=t[n];return e},{_events:{}})}function ut(t,e,n){typeof n=="function"&&t.events.add(e,n)}function ct(t,e,n){typeof n=="function"&&t.events.remove(e,n)}function St(t,e,n){Object.keys(Object.assign({},e,n)).forEach(s=>{e[s]!==n[s]&&(ct(t,s,e[s]),ut(t,s,n[s]))})}const Fl=t=>"default"+t.charAt(0).toUpperCase()+t.slice(1);function Ie(t,e){return t[e]!==void 0||t[Fl(e)]===void 0}function z(t,e,n){return(Ie(t,e)?t[e]:t[Fl(e)])||n}function Ee(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 Vl(t){const{width:e,height:n,style:s,className:i}=t;return s!==void 0||i!==void 0?Object.assign({},s&&{style:s},i&&{className:i}):{style:{width:e,height:n}}}class zv extends c.Component{constructor(e){super(e),this.state={error:null,errorInfo:null}}componentDidCatch(e,n){const{onError:s=()=>{}}=this.props;s(e),this.setState({error:e,errorInfo:n})}render(){return this.state.error?null:this.props.children}}const Hl=t=>({onError:e,...n})=>c.createElement(zv,{onError:e},c.createElement(t,n));class _t extends c.Component{constructor(){super(),this.instance=null,this.state={instance:null},this._parentElement=null,this._getRef=e=>{this._parentElement=e}}componentDidMount(){this.instance=_t.mountObject(this._parentElement,this.props.ymaps.Map,this.props),this.setState({instance:this.instance})}componentDidUpdate(e){this.instance!==null&&_t.updateObject(this.instance,e,this.props)}componentWillUnmount(){_t.unmountObject(this.instance,this.props)}render(){const e=Vl(this.props),n=pe(this.props),s=Nl(n,["_events","state","defaultState","options","defaultOptions","instanceRef","ymaps","children","width","height","style","className"]);return c.createElement(_n.Provider,{value:this.state.instance},c.createElement("div",wt({ref:this._getRef},e,s),this.props.children))}static mountObject(e,n,s){const{instanceRef:i,_events:r}=pe(s),o=new n(e,z(s,"state"),z(s,"options"));return Object.keys(r).forEach(a=>ut(o,a,r[a])),Ee(null,i,o),o}static updateObject(e,n,s){const{_events:i,instanceRef:r}=pe(s),{_events:o,instanceRef:a}=pe(n);if(Ie(s,"state")){const l=z(n,"state",{}),u=z(s,"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(Ie(s,"options")){const l=z(n,"options"),u=z(s,"options",{});l!==u&&e.options.set(u)}z(n,"width")===z(s,"width")&&z(n,"height")===z(s,"height")||e.container.fitToViewport(),St(e,o,i),Ee(a,r,e)}static unmountObject(e,n){const{instanceRef:s,_events:i}=pe(n);e!==null&&(Object.keys(i).forEach(r=>ct(e,r,i[r])),e.destroy(),Ee(s))}}const jl=Hl(Tl(_t,!0,["Map"]));jl.defaultProps={width:320,height:240};class Kn 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()&&Kn.mountObject(this._parentElement,this.props.ymaps.panorama,this.props).then(e=>this._mounted&&this.setState({instance:e}))}componentDidUpdate(e){this.state.instance!==null&&Kn.updateObject(this.state.instance,e,this.props)}componentWillUnmount(){this._mounted=!1,Kn.unmountObject(this.state.instance,this.props)}render(){const e=Vl(this.props);return c.createElement("div",wt({ref:this._getRef},e))}static mountObject(e,n,s){const{instanceRef:i,_events:r}=pe(s),o=z(s,"point"),a=z(s,"locateOptions"),l=z(s,"options");return new Promise((u,d)=>{n.locate(o,a).done(f=>{if(f.length>0){const p=new n.Player(e,f[0],l);Ee(null,i,p),Object.keys(r).forEach(g=>ut(p,g,r[g])),u(p)}},d)})}static updateObject(e,n,s){const{_events:i,instanceRef:r}=pe(s),{_events:o,instanceRef:a}=pe(n);if(Ie(s,"options")){const l=z(n,"options"),u=z(s,"options");l!==u&&e.options.set(u)}if(Ie(s,"point")){const l=z(s,"point"),u=z(n,"point"),d=z(s,"locateOptions");l!==u&&e.moveTo(l,d)}St(e,o,i),Ee(a,r,e)}static unmountObject(e,n){const{instanceRef:s,_events:i}=pe(n);e!==null&&(Object.keys(i).forEach(r=>ct(e,r,i[r])),Ee(s))}}class qn extends c.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){const e=qn.mountControl(this.props.ymaps.control[this.props.name],this.props);this.instance=e,this.setState({instance:e})}componentDidUpdate(e){this.instance!==null&&qn.updateControl(this.instance,e,this.props)}componentWillUnmount(){qn.unmountControl(this.instance,this.props)}render(){return c.createElement(_n.Provider,{value:this.state.instance},this.props.children)}static mountControl(e,n){const{instanceRef:s,parent:i,lazy:r,_events:o}=pe(n),a=new e({data:z(n,"data"),options:z(n,"options"),state:z(n,"state"),mapTypes:z(n,"mapTypes"),lazy:r});if(Object.keys(o).forEach(l=>ut(a,l,o[l])),i&&i.controls&&typeof i.controls.add=="function")i.controls.add(a);else{if(!i||!i.add||typeof i.add!="function")throw new Error(`No parent found to mount ${n.name}`);i.add(a)}return Ee(null,s,a),a}static updateControl(e,n,s){const{_events:i,instanceRef:r}=pe(s),{_events:o,instanceRef:a}=pe(n);if(Ie(s,"options")){const l=z(n,"options"),u=z(s,"options");l!==u&&e.options.set(u)}if(Ie(s,"data")){const l=z(n,"data"),u=z(s,"data");l!==u&&e.data.set(u)}if(Ie(s,"state")){const l=z(n,"state"),u=z(s,"state");l!==u&&e.state.set(u)}if(Ie(s,"mapTypes")){const l=z(n,"mapTypes"),u=z(s,"mapTypes");l!==u&&(e.removeAllMapTypes(),u.forEach(d=>e.addMapType(d)))}St(e,o,i),Ee(a,r,e)}static unmountControl(e,n){const{instanceRef:s,parent:i,_events:r}=pe(n);e!==null&&(Object.keys(r).forEach(o=>ct(e,o,r[o])),i.controls&&typeof i.controls.remove=="function"?i.controls.remove(e):i.remove&&typeof i.remove=="function"&&i.remove(e),Ee(s))}}class $n extends c.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){const e=$n.mountObject(this.props.ymaps.Clusterer,this.props);this.instance=e,this.setState({instance:e})}componentDidUpdate(e){this.state.instance!==null&&$n.updateObject(this.instance,e,this.props)}componentWillUnmount(){$n.unmountObject(this.instance,this.props)}render(){return c.createElement(_n.Provider,{value:this.state.instance},this.props.children)}static mountObject(e,n){const{instanceRef:s,parent:i,_events:r}=pe(n),o=new e(z(n,"options"));if(Object.keys(r).forEach(a=>ut(o,a,r[a])),i.geoObjects&&typeof i.geoObjects.add=="function")i.geoObjects.add(o);else{if(!i.add||typeof i.add!="function")throw new Error("No parent found to mount Clusterer");i.add(o)}return Ee(null,s,o),o}static updateObject(e,n,s){const{_events:i,instanceRef:r}=pe(s),{_events:o,instanceRef:a}=pe(n);if(Ie(s,"options")){const l=z(n,"options"),u=z(s,"options");l!==u&&e.options.set(u)}St(e,o,i),Ee(a,r,e)}static unmountObject(e,n){const{instanceRef:s,parent:i,_events:r}=pe(n);e!==null&&(Object.keys(r).forEach(o=>ct(e,o,r[o])),i.geoObjects&&typeof i.geoObjects.remove=="function"?i.geoObjects.remove(e):i.remove&&typeof i.remove=="function"&&i.remove(e),Ee(s))}}class Kt extends c.Component{constructor(){super(),this.state={instance:null}}componentDidMount(){const e=Kt.mountObject(this.props.ymaps.ObjectManager,this.props);this.instance=e,this.setState({instance:e})}componentDidUpdate(e){this.instance!==null&&Kt.updateObject(this.instance,e,this.props)}componentWillUnmount(){Kt.unmountObject(this.instance,this.props)}render(){return null}static mountObject(e,n){const{instanceRef:s,parent:i,_events:r}=pe(n),o=z(n,"options",{}),a=z(n,"features",{}),l=z(n,"filter",null),u=z(n,"objects",{}),d=z(n,"clusters",{}),f=new e(o);if(f.add(a||[]),f.setFilter(l),f.objects.options.set(u),f.clusters.options.set(d),Object.keys(r).forEach(p=>ut(f,p,r[p])),i.geoObjects&&typeof i.geoObjects.add=="function")i.geoObjects.add(f);else{if(!i.add||typeof i.add!="function")throw new Error("No parent found to mount ObjectManager");i.add(f)}return Ee(null,s,f),f}static updateObject(e,n,s){const{_events:i,instanceRef:r}=pe(s),{_events:o,instanceRef:a}=pe(n);if(Ie(s,"options")){const l=z(n,"options"),u=z(s,"options");l!==u&&e.options.set(u)}if(Ie(s,"objects")){const l=z(n,"objects"),u=z(s,"objects");l!==u&&e.objects.options.set(u)}if(Ie(s,"clusters")){const l=z(n,"clusters"),u=z(s,"clusters");l!==u&&e.clusters.options.set(u)}if(Ie(s,"filter")){const l=z(n,"filter"),u=z(s,"filter");l!==u&&e.setFilter(u)}if(Ie(s,"features")){const l=z(n,"features"),u=z(s,"features");l!==u&&(e.remove(l),e.add(u))}St(e,o,i),Ee(a,r,e)}static unmountObject(e,n){const{instanceRef:s,parent:i,_events:r}=pe(n);e!==null&&(Object.keys(r).forEach(o=>ct(e,o,r[o])),i.geoObjects&&typeof i.geoObjects.remove=="function"?i.geoObjects.remove(e):i.remove&&typeof i.remove=="function"&&i.remove(e),Ee(s))}}var Xv=Hl(Fv(Tl(Kt,!0,["ObjectManager"])));class es extends c.Component{constructor(){super(),this.state={instance:null},this.instance=null}componentDidMount(){const{name:e,ymaps:n,dangerZone:s}=this.props,i=es.mountObject(s&&typeof s.modifyConstructor=="function"?s.modifyConstructor(n[e]):n[e],this.props);this.instance=i,this.setState({instance:i})}componentDidUpdate(e){this.instance!==null&&es.updateObject(this.instance,e,this.props)}componentWillUnmount(){es.unmountObject(this.instance,this.props)}render(){return null}static mountObject(e,n){const{instanceRef:s,parent:i,_events:r}=pe(n),o=new e(z(n,"geometry"),z(n,"properties"),z(n,"options"));if(Object.keys(r).forEach(a=>ut(o,a,r[a])),i&&i.geoObjects&&typeof i.geoObjects.add=="function")i.geoObjects.add(o);else{if(!i||!i.add||typeof i.add!="function")throw new Error(`No parent found to mount ${n.name}`);i.add(o)}return Ee(null,s,o),o}static updateObject(e,n,s){const{_events:i,instanceRef:r}=pe(s),{_events:o,instanceRef:a}=pe(n);if(Ie(s,"geometry")){const l=z(n,"geometry",{}),u=z(s,"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(Ie(s,"properties")){const l=z(n,"properties"),u=z(s,"properties");l!==u&&e.properties.set(u)}if(Ie(s,"options")){const l=z(n,"options"),u=z(s,"options");l!==u&&e.options.set(u)}St(e,o,i),Ee(a,r,e)}static unmountObject(e,n){const{instanceRef:s,parent:i,_events:r}=pe(n);e!==null&&(Object.keys(r).forEach(o=>ct(e,o,r[o])),i.geoObjects&&typeof i.geoObjects.remove=="function"?i.geoObjects.remove(e):i.remove&&typeof i.remove=="function"&&i.remove(e),Ee(s))}}const Wl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAAEICAYAAAAJEPtqAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAF2nSURBVHgB7X1rjGVHeeBXtwdsHjZDHDAzkKQdReDwcMbYEyElEj3kD1KAmF0lCo8o9o9gsxsRkFa72ZAwHghRtEqUoCzYJqtlUHgJpGUGVuwuyzJNVptk4xnPsBBiWxG0d/HMmBAYe8zDnulbW1+d+qq+rx7n1Dn33Nu3e+ZrnT516tS7vndVnavgMowCa2tru3/4wx/uvnDhwj6t9W4TtaqU+glzx/BuE7eK6Uyce8YnHRdzDi+Txt6nU4DJBDZM3ofweTKZnMJ399577ym4DKOAgsvQG17xilesPvnkk2sGIX8GEdtc+0z0Kk9jELWznAIRZNNRcdpmwgeNRIDEgkTxJdOWjcuE0R8uE0AH7Nu3b/fKysqaQbxXNoiu9hlk3F2Tt4sIGmSuh5DcE0GcBCUHEsQpQxBHL168eMr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p00v+aI2TesyQICt/dy3iHixi9TiEcECL32IyTRv01+yVNn1XWKxZtiy8GMzOIaz7+mtNN6Renfbzuavx5/xBkgFgONYX+0A6NMb1JiboOct4tmcD8YhCNQnQcH/QSzSmwKjNTG7/UJ64iDuIAHKEL1Fi0RpYLNjH3QMDAr7G8UP0D/iQeH035Y8AQCaPOgGUtNwJhYTC/zEK3juigrt+1hnvBzWGzSPibu14T44GOChxGaSAybLcuv8vqaQOYVEv2aWmciX4fBbouUjiShx+G4MkASTPZX8dwzYBBoD9i61wO/UWwRnAnjZbPED4BcF9d5/TFjfgXXmaE+aM96jQh1ic0za3pg3RIwzJDrtikR8wUw5fXvqosXtdyGebIhNFFjuCAYGX7RwD5Ho/UrAaI+mpK8KE4YYDQEmGWwOdAs9k/vtNOHafB4iWv2R6WHTLZu2g6wzg3QTup5QOTgd4IHD3FEzZNx4D8AZH5movEFnzAAAAAASUVORK5CYII=",Uv={"omnic-widget":"_omnic-widget_t2tu5_1",loader:"_loader_t2tu5_13"},zl=()=>x.jsx("div",{className:Uv.loader,children:"Loading..."}),Jv={"omnic-widget":"_omnic-widget_ca5w9_1",root:"_root_ca5w9_13"},Xl=({children:t,className:e})=>x.jsx("div",{className:me(Jv.root,e),children:t}),Ul=(t,e,n)=>t==null?void 0:t.map(s=>{var i;return{id:s.uid,type:"Feature",properties:{point:s},geometry:{type:"Point",coordinates:[s.location.latitude,s.location.longitude]},options:{balloonOffset:[0,-80],hideIconOnBalloonOpen:!1,preset:wi(s.type),balloonContentLayout:(i=e==null?void 0:e.templateLayoutFactory)==null?void 0:i.createClass(n)}}}),wi=(t,e)=>t===30?`custom#location${e?`__${e}`:""}`:`custom#home${e?`__${e}`:""}`,Yv={load:"suggest",apikey:"5298a725-4baa-457a-a2a7-c3abac81db20"},Rv={zoom:10,center:Li,behaviors:["default","scrollZoom"]},Qv=["templateLayoutFactory","option.presetStorage","control.GeolocationControl"],_v=["objectManager.addon.objectsBalloon"],Kv={yandexMapDisablePoiInteractivity:!1},qv={clusterize:!0},ts={"omnic-widget":"_omnic-widget_vktz5_1",root:"_root_vktz5_13",overlay:"_overlay_vktz5_36",selector:"_selector_vktz5_42",details:"_details_vktz5_58"},$v=({points:t,loading:e,className:n})=>{const{t:s}=He(),i=c.useRef(),r=c.useRef(null),{onPointClick:o}=er(),[a,l]=c.useState(!1),[u,d]=c.useState(null),[f,p]=c.useState(null),[g,h]=c.useState([]),[v,b]=c.useState(qv),{city:C}=Bt(),{loadNext:E}=Sl(),y=c.useRef([]),m=c.useMemo(()=>au.renderToString(x.jsx(Ol,{})).replace("{ choose }",s("choose")).replace("{ details }",s("details")),[s]);c.useEffect(()=>{if(!f||!r.current)return;y.current.forEach(V=>{var Z;V.id!==(u==null?void 0:u.uid)&&((Z=r.current)==null||Z.remove(V))});const P=Ul(t,f,m);y.current=P,r.current.add(P);const T=i.current,F=new f.control.GeolocationControl;return T==null||T.controls.add(F),()=>{T==null||T.controls.remove(F)}},[m,f,t,u==null?void 0:u.uid]),c.useEffect(()=>{var P;C&&((P=i.current)==null||P.setCenter([C.latitude,C.longitude],10,{duration:300,timingFunction:"ease-in-out"}))},[C]),c.useEffect(()=>{var P;u&&((P=i.current)==null||P.setCenter([u.location.latitude,u.location.longitude],20,{duration:300,timingFunction:"ease-in-out"}))},[u]);const I=c.useCallback(P=>{const T=P.get("newBounds");E([[T[0][0],T[1][0]],[T[0][1],T[1][1]]])},[E]),L=c.useCallback(()=>{l(!1)},[]),w=c.useCallback(P=>{var T;o(P),l(!1),d(null),(T=i.current)==null||T.balloon.close()},[o]),S=c.useRef(u),A=c.useCallback(P=>{var T,F,V,Z;p(P),(T=P==null?void 0:P.option)==null||T.presetStorage.add("custom#location",{iconImageSize:[48,66],iconLayout:"default#image",iconImageHref:Zl,iconImageOffset:[-48/2,-66]}),(F=P==null?void 0:P.option)==null||F.presetStorage.add("custom#location__active",{iconImageSize:[58,80],iconLayout:"default#image",iconImageHref:Zl,iconImageOffset:[-58/2,-80]}),(V=P==null?void 0:P.option)==null||V.presetStorage.add("custom#home",{iconImageSize:[48,66],iconImageHref:Wl,iconLayout:"default#image",iconImageOffset:[-48/2,-66]}),(Z=P==null?void 0:P.option)==null||Z.presetStorage.add("custom#home__active",{iconImageSize:[58,80],iconImageHref:Wl,iconLayout:"default#image",iconImageOffset:[-58/2,-80]}),b(X=>{const K=window.getComputedStyle(document.getElementById(ln)).getPropertyValue("--color-primary");return{...X,clusterIconColor:K}}),h(Ul(t,P,m))},[m,t]),M=c.useCallback(()=>{l(!0)},[]),N=c.useCallback(()=>{var P;S.current&&(o(S.current),l(!1),d(null),(P=i.current)==null||P.balloon.close())},[o]),D=c.useCallback(()=>{var P,T;l(!1),d(null),(P=document.getElementById(Ai))==null||P.addEventListener("click",M),(T=document.getElementById(xi))==null||T.addEventListener("click",N)},[N,M]),H=c.useCallback(()=>{var P,T,F,V,Z;d(null),(F=r.current)==null||F.objects.setObjectOptions((P=S.current)==null?void 0:P.uid,{preset:wi((T=S.current)==null?void 0:T.type)}),S.current=null,(V=document.getElementById(Ai))==null||V.removeEventListener("click",M),(Z=document.getElementById(xi))==null||Z.removeEventListener("click",N)},[N,M]),k=c.useCallback(P=>{var Z,X,K;const T=P.get("objectId"),F=(X=(Z=r.current)==null?void 0:Z.objects)==null?void 0:X.getById(T);if(!(F&&"properties"in F&&"point"in F.properties))return;const V=F.properties.point;d(V),(K=r.current)==null||K.objects.setObjectOptions(T,{preset:wi(V.type,"active")}),S.current=V},[]);return x.jsxs("div",{className:me(ts.root,n),children:[x.jsx(Zv,{query:Yv,children:x.jsx(jl,{width:"100%",height:"100%",state:Rv,modules:Qv,options:Kv,instanceRef:i,onLoad:A,onBoundsChange:I,children:x.jsx(Xv,{features:g,instanceRef:r,modules:_v,options:v,onClick:k,onBalloonOpen:D,onBalloonClose:H})})}),e&&x.jsx(Xl,{className:ts.overlay,children:x.jsx(zl,{})}),!(u&&a)&&x.jsx(Ml,{value:u,className:ts.selector,onChange:d}),u&&a&&x.jsx(Pl,{location:u,className:ts.details,onClose:L,onSubmit:w})]})},eb=c.memo($v),tb=t=>({google:Bl,yandex:eb})[t],nb={"omnic-widget":"_omnic-widget_1d42u_1",root:"_root_1d42u_13"},sb=({children:t})=>x.jsx("div",{className:nb.root,children:t}),Si={"omnic-widget":"_omnic-widget_1nfdy_1",map:"_map_1nfdy_13",sidebar:"_sidebar_1nfdy_17",header:"_header_1nfdy_29"},ib=({config:t})=>{const e=zh(t);Xh(e);const{filter:n,setFilter:s}=Sh(),{city:i,setCity:r}=Oh(),{open:o,toggle:a}=Mh(),{error:l,loaded:u,points:d,loading:f,loadNext:p}=wh({filter:n,city:i??void 0}),{map:g,font:h,radius:v,locale:b,palette:C}=e,E=tb((g==null?void 0:g.provider)??"yandex");return c.useEffect(()=>{b&&Ae.changeLanguage(b)},[b]),c.useEffect(()=>{C&&Object.keys(C).forEach(m=>{var L;const I=C[m];(L=document.getElementById(ln))==null||L.style.setProperty(`--color-${m}`,I)})},[C]),c.useEffect(()=>{var y;typeof v<"u"&&((y=document.getElementById(ln))==null||y.style.setProperty("--radius",`${v}px`))},[v]),c.useEffect(()=>{var y;h&&((y=document.getElementById(ln))==null||y.style.setProperty("--font",h))},[h]),f&&!u?x.jsx(Xl,{children:x.jsx(zl,{})}):x.jsx($i.Provider,{value:e,children:x.jsx(wl.Provider,{value:{error:l,loaded:u,points:d,loading:f,loadNext:p},children:x.jsx(Yi.Provider,{value:{city:i,setCity:r,aside:{open:o,toggle:a}},children:x.jsx(_i.Provider,{value:{filter:n,setFilter:s},children:x.jsxs(sb,{children:[x.jsx(Ku,{className:Si.header}),x.jsx(ic,{className:Si.sidebar}),x.jsx(E,{points:d,loading:f,className:Si.map}),x.jsx(Eh,{})]})})})})})};Fe.Widget=ib,Object.defineProperty(Fe,Symbol.toStringTag,{value:"Module"})});
|