@mappedin/react-sdk 6.0.1-beta.53 → 6.0.1-beta.54
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/THIRD_PARTY_LICENSES.txt +184 -24
- package/lib/esm/{GLTFExporter-W4OR66GG.js → GLTFExporter-NKUJLBWQ.js} +1 -1
- package/lib/esm/{GLTFLoader-CWW4SC4X.js → GLTFLoader-BQHL354R.js} +1 -1
- package/lib/esm/{browser-6HMQAV4T.js → browser-M5OR7Q7D.js} +1 -1
- package/lib/esm/{chunk-6X6EHSZ7.js → chunk-2X6CLJYW.js} +1 -1
- package/lib/esm/{chunk-YGXQDTMT.js → chunk-CHY6WOJT.js} +1 -1
- package/lib/esm/chunk-CZWLNDLV.js +1 -0
- package/lib/esm/chunk-DHRVAJE6.js +1 -0
- package/lib/esm/chunk-LQMJ5BHI.js +1 -0
- package/lib/esm/chunk-LUJQR5EH.js +1 -0
- package/lib/esm/chunk-ZMO3UDDX.js +1 -0
- package/lib/esm/index.css +1 -1
- package/lib/esm/index.d.ts +26242 -21216
- package/lib/esm/index.js +1 -1
- package/lib/esm/inspector-O22JOSJ6.css +1 -0
- package/lib/esm/inspector-QOSD3H5O.js +1 -0
- package/lib/esm/internal-WXMWXAC3.js +1 -0
- package/lib/esm/internal-XPQ6EMQC.css +1 -0
- package/lib/esm/outdoor-context-v5-N4FV7A64.js +1 -0
- package/lib/esm/{roboto-regular-3HSVPIGX.js → roboto-regular-NXH7N2CY.js} +1 -1
- package/lib/esm/text3d-DWR5PXYU.js +1 -0
- package/package.json +5 -2
- package/lib/esm/chunk-2LTL6ZVN.js +0 -1
- package/lib/esm/chunk-5SHMBNLX.js +0 -1
- package/lib/esm/chunk-B7NHRA7S.js +0 -1
- package/lib/esm/chunk-L6SCRGG4.js +0 -1
- package/lib/esm/chunk-PEDEW3M6.js +0 -1
- package/lib/esm/chunk-WVB6PZOJ.js +0 -1
- package/lib/esm/dist-NFOUUHU5.js +0 -1
- package/lib/esm/inspector-AUORSUJQ.css +0 -1
- package/lib/esm/inspector-DPNZIY36.js +0 -1
- package/lib/esm/internal-A2RG32A3.js +0 -1
- package/lib/esm/internal-VJNENUAS.css +0 -1
- package/lib/esm/outdoor-context-v4-FKKIRNTV.js +0 -1
- package/lib/esm/text3d-ZRYODT3I.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var x=Object.create;var l=Object.defineProperty,y=Object.defineProperties,z=Object.getOwnPropertyDescriptor,A=Object.getOwnPropertyDescriptors,B=Object.getOwnPropertyNames,n=Object.getOwnPropertySymbols,C=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var m=(a,b)=>(b=Symbol[a])?b:Symbol.for("Symbol."+a),q=a=>{throw TypeError(a)};var o=(a,b,c)=>b in a?l(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c,E=(a,b)=>{for(var c in b||(b={}))p.call(b,c)&&o(a,c,b[c]);if(n)for(var c of n(b))u.call(b,c)&&o(a,c,b[c]);return a},F=(a,b)=>y(a,A(b)),G=(a,b)=>l(a,"name",{value:b,configurable:!0});var H=a=>typeof a=="symbol"?a:a+"",I=(a,b)=>{var c={};for(var d in a)p.call(a,d)&&b.indexOf(d)<0&&(c[d]=a[d]);if(a!=null&&n)for(var d of n(a))b.indexOf(d)<0&&u.call(a,d)&&(c[d]=a[d]);return c};var J=(a,b)=>()=>(a&&(b=a(a=0)),b);var K=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),L=(a,b)=>{for(var c in b)l(a,c,{get:b[c],enumerable:!0})},D=(a,b,c,d)=>{if(b&&typeof b=="object"||typeof b=="function")for(let e of B(b))!p.call(a,e)&&e!==c&&l(a,e,{get:()=>b[e],enumerable:!(d=z(b,e))||d.enumerable});return a};var M=(a,b,c)=>(c=a!=null?x(C(a)):{},D(b||!a||!a.__esModule?l(c,"default",{value:a,enumerable:!0}):c,a));var N=(a,b,c)=>o(a,typeof b!="symbol"?b+"":b,c),r=(a,b,c)=>b.has(a)||q("Cannot "+c);var O=(a,b,c)=>(r(a,b,"read from private field"),c?c.call(a):b.get(a)),P=(a,b,c)=>b.has(a)?q("Cannot add the same private member more than once"):b instanceof WeakSet?b.add(a):b.set(a,c),Q=(a,b,c,d)=>(r(a,b,"write to private field"),d?d.call(a,c):b.set(a,c),c),R=(a,b,c)=>(r(a,b,"access private method"),c);var v=function(a,b){this[0]=a,this[1]=b},S=(a,b,c)=>{var d=(g,h,i,k)=>{try{var s=c[g](h),t=(h=s.value)instanceof v,w=s.done;Promise.resolve(t?h[0]:h).then(j=>t?d(g==="return"?g:"next",h[1]?{done:j.done,value:j.value}:j,i,k):i({value:j,done:w})).catch(j=>d("throw",j,i,k))}catch(j){k(j)}},e=g=>f[g]=h=>new Promise((i,k)=>d(g,h,i,k)),f={};return c=c.apply(a,b),f[m("asyncIterator")]=()=>f,e("next"),e("throw"),e("return"),f},T=a=>{var b=a[m("asyncIterator")],c=!1,d,e={};return b==null?(b=a[m("iterator")](),d=f=>e[f]=g=>b[f](g)):(b=b.call(a),d=f=>e[f]=g=>{if(c){if(c=!1,f==="throw")throw g;return g}return c=!0,{done:!1,value:new v(new Promise(h=>{var i=b[f](g);i instanceof Object||q("Object expected"),h(i)}),1)}}),e[m("iterator")]=()=>e,d("next"),"throw"in b?d("throw"):e.throw=f=>{throw f},"return"in b&&d("return"),e};export{E as a,F as b,G as c,H as d,I as e,J as f,K as g,L as h,M as i,N as j,O as k,P as l,Q as m,R as n,S as o,T as p};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as Bt,j as zr}from"./chunk-DHRVAJE6.js";import{$ as $t,I as Je,Q as P,R as Vt,T as Ft,V as ie,W as je,Y as $r,aa as Br,db as gt,qa as Gr}from"./chunk-2X6CLJYW.js";import{a as p,b as _}from"./chunk-CZWLNDLV.js";import{a as u,b,c as a,h as Sn,j as f,k as M,l as B,m as C}from"./chunk-LUJQR5EH.js";p();function _s(r,e,t=!1){let n=null,i=0;return function(...s){i++,i===1&&t===!0&&r(...s);let o=a(()=>{(!t||i>1)&&r(...s),n=null,i=0},"later");clearTimeout(n),n=setTimeout(o,e)}}a(_s,"debounce");var st={};Sn(st,{BRAND:()=>Xn,DIRTY:()=>he,EMPTY_PATH:()=>In,INVALID:()=>v,NEVER:()=>Ri,OK:()=>I,ParseStatus:()=>D,Schema:()=>k,ZodAny:()=>oe,ZodArray:()=>te,ZodBigInt:()=>xe,ZodBoolean:()=>ve,ZodBranded:()=>nt,ZodCatch:()=>Ie,ZodDate:()=>be,ZodDefault:()=>Ce,ZodDiscriminatedUnion:()=>Tt,ZodEffects:()=>$,ZodEnum:()=>Me,ZodError:()=>N,ZodFirstPartyTypeKind:()=>T,ZodFunction:()=>kt,ZodIntersection:()=>ke,ZodIssueCode:()=>m,ZodLazy:()=>Ee,ZodLiteral:()=>Se,ZodMap:()=>We,ZodNaN:()=>Ke,ZodNativeEnum:()=>De,ZodNever:()=>G,ZodNull:()=>Te,ZodNullable:()=>Y,ZodNumber:()=>ge,ZodObject:()=>L,ZodOptional:()=>V,ZodParsedType:()=>y,ZodPipeline:()=>it,ZodPromise:()=>ce,ZodReadonly:()=>Pe,ZodRecord:()=>wt,ZodSchema:()=>k,ZodSet:()=>Ze,ZodString:()=>ae,ZodSymbol:()=>ze,ZodTransformer:()=>$,ZodTuple:()=>J,ZodType:()=>k,ZodUndefined:()=>_e,ZodUnion:()=>we,ZodUnknown:()=>ee,ZodVoid:()=>Ue,addIssueToContext:()=>h,any:()=>oi,array:()=>di,bigint:()=>ri,boolean:()=>en,coerce:()=>Li,custom:()=>Yr,date:()=>ni,datetimeRegex:()=>Hr,defaultErrorMap:()=>X,discriminatedUnion:()=>hi,effect:()=>Mi,enum:()=>ki,function:()=>_i,getErrorMap:()=>Ve,getParsedType:()=>H,instanceof:()=>ei,intersection:()=>yi,isAborted:()=>bt,isAsync:()=>Fe,isDirty:()=>_t,isValid:()=>se,late:()=>Qn,lazy:()=>Ti,literal:()=>wi,makeIssue:()=>Ye,map:()=>vi,nan:()=>ti,nativeEnum:()=>Ei,never:()=>ui,null:()=>ai,nullable:()=>Ci,number:()=>Qr,object:()=>fi,objectUtil:()=>Gt,oboolean:()=>Ni,onumber:()=>Ai,optional:()=>Di,ostring:()=>Oi,pipeline:()=>Pi,preprocess:()=>Ii,promise:()=>Si,quotelessJson:()=>Mn,record:()=>xi,set:()=>bi,setErrorMap:()=>Cn,strictObject:()=>pi,string:()=>Xr,symbol:()=>ii,transformer:()=>Mi,tuple:()=>gi,undefined:()=>si,union:()=>mi,unknown:()=>ci,util:()=>S,void:()=>li});p();p();p();p();p();var S;(function(r){r.assertEqual=i=>{};function e(i){}a(e,"assertIs"),r.assertIs=e;function t(i){throw new Error}a(t,"assertNever"),r.assertNever=t,r.arrayToEnum=i=>{let s={};for(let o of i)s[o]=o;return s},r.getValidEnumValues=i=>{let s=r.objectKeys(i).filter(c=>typeof i[i[c]]!="number"),o={};for(let c of s)o[c]=i[c];return r.objectValues(o)},r.objectValues=i=>r.objectKeys(i).map(function(s){return i[s]}),r.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{let s=[];for(let o in i)Object.prototype.hasOwnProperty.call(i,o)&&s.push(o);return s},r.find=(i,s)=>{for(let o of i)if(s(o))return o},r.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&Number.isFinite(i)&&Math.floor(i)===i;function n(i,s=" | "){return i.map(o=>typeof o=="string"?"'".concat(o,"'"):o).join(s)}a(n,"joinValues"),r.joinValues=n,r.jsonStringifyReplacer=(i,s)=>typeof s=="bigint"?s.toString():s})(S||(S={}));var Gt;(function(r){r.mergeShapes=(e,t)=>u(u({},e),t)})(Gt||(Gt={}));var y=S.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),H=a(r=>{switch(typeof r){case"undefined":return y.undefined;case"string":return y.string;case"number":return Number.isNaN(r)?y.nan:y.number;case"boolean":return y.boolean;case"function":return y.function;case"bigint":return y.bigint;case"symbol":return y.symbol;case"object":return Array.isArray(r)?y.array:r===null?y.null:r.then&&typeof r.then=="function"&&r.catch&&typeof r.catch=="function"?y.promise:typeof Map<"u"&&r instanceof Map?y.map:typeof Set<"u"&&r instanceof Set?y.set:typeof Date<"u"&&r instanceof Date?y.date:y.object;default:return y.unknown}},"getParsedType");var m=S.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),Mn=a(r=>JSON.stringify(r,null,2).replace(/"([^"]+)":/g,"$1:"),"quotelessJson"),xt=class xt extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){let t=e||function(s){return s.message},n={_errors:[]},i=a(s=>{for(let o of s.issues)if(o.code==="invalid_union")o.unionErrors.map(i);else if(o.code==="invalid_return_type")i(o.returnTypeError);else if(o.code==="invalid_arguments")i(o.argumentsError);else if(o.path.length===0)n._errors.push(t(o));else{let c=n,l=0;for(;l<o.path.length;){let d=o.path[l];l===o.path.length-1?(c[d]=c[d]||{_errors:[]},c[d]._errors.push(t(o))):c[d]=c[d]||{_errors:[]},c=c[d],l++}}},"processError");return i(this),n}static assert(e){if(!(e instanceof xt))throw new Error("Not a ZodError: ".concat(e))}toString(){return this.message}get message(){return JSON.stringify(this.issues,S.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=t=>t.message){let t={},n=[];for(let i of this.issues)i.path.length>0?(t[i.path[0]]=t[i.path[0]]||[],t[i.path[0]].push(e(i))):n.push(e(i));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}};a(xt,"ZodError");var N=xt;N.create=r=>new N(r);var Dn=a((r,e)=>{let t;switch(r.code){case m.invalid_type:r.received===y.undefined?t="Required":t="Expected ".concat(r.expected,", received ").concat(r.received);break;case m.invalid_literal:t="Invalid literal value, expected ".concat(JSON.stringify(r.expected,S.jsonStringifyReplacer));break;case m.unrecognized_keys:t="Unrecognized key(s) in object: ".concat(S.joinValues(r.keys,", "));break;case m.invalid_union:t="Invalid input";break;case m.invalid_union_discriminator:t="Invalid discriminator value. Expected ".concat(S.joinValues(r.options));break;case m.invalid_enum_value:t="Invalid enum value. Expected ".concat(S.joinValues(r.options),", received '").concat(r.received,"'");break;case m.invalid_arguments:t="Invalid function arguments";break;case m.invalid_return_type:t="Invalid function return type";break;case m.invalid_date:t="Invalid date";break;case m.invalid_string:typeof r.validation=="object"?"includes"in r.validation?(t='Invalid input: must include "'.concat(r.validation.includes,'"'),typeof r.validation.position=="number"&&(t="".concat(t," at one or more positions greater than or equal to ").concat(r.validation.position))):"startsWith"in r.validation?t='Invalid input: must start with "'.concat(r.validation.startsWith,'"'):"endsWith"in r.validation?t='Invalid input: must end with "'.concat(r.validation.endsWith,'"'):S.assertNever(r.validation):r.validation!=="regex"?t="Invalid ".concat(r.validation):t="Invalid";break;case m.too_small:r.type==="array"?t="Array must contain ".concat(r.exact?"exactly":r.inclusive?"at least":"more than"," ").concat(r.minimum," element(s)"):r.type==="string"?t="String must contain ".concat(r.exact?"exactly":r.inclusive?"at least":"over"," ").concat(r.minimum," character(s)"):r.type==="number"?t="Number must be ".concat(r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than ").concat(r.minimum):r.type==="date"?t="Date must be ".concat(r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than ").concat(new Date(Number(r.minimum))):t="Invalid input";break;case m.too_big:r.type==="array"?t="Array must contain ".concat(r.exact?"exactly":r.inclusive?"at most":"less than"," ").concat(r.maximum," element(s)"):r.type==="string"?t="String must contain ".concat(r.exact?"exactly":r.inclusive?"at most":"under"," ").concat(r.maximum," character(s)"):r.type==="number"?t="Number must be ".concat(r.exact?"exactly":r.inclusive?"less than or equal to":"less than"," ").concat(r.maximum):r.type==="bigint"?t="BigInt must be ".concat(r.exact?"exactly":r.inclusive?"less than or equal to":"less than"," ").concat(r.maximum):r.type==="date"?t="Date must be ".concat(r.exact?"exactly":r.inclusive?"smaller than or equal to":"smaller than"," ").concat(new Date(Number(r.maximum))):t="Invalid input";break;case m.custom:t="Invalid input";break;case m.invalid_intersection_types:t="Intersection results could not be merged";break;case m.not_multiple_of:t="Number must be a multiple of ".concat(r.multipleOf);break;case m.not_finite:t="Number must be finite";break;default:t=e.defaultError,S.assertNever(r)}return{message:t}},"errorMap"),X=Dn;var Ur=X;function Cn(r){Ur=r}a(Cn,"setErrorMap");function Ve(){return Ur}a(Ve,"getErrorMap");p();var Ye=a(r=>{let{data:e,path:t,errorMaps:n,issueData:i}=r,s=[...t,...i.path||[]],o=b(u({},i),{path:s});if(i.message!==void 0)return b(u({},i),{path:s,message:i.message});let c="",l=n.filter(d=>!!d).slice().reverse();for(let d of l)c=d(o,{data:e,defaultError:c}).message;return b(u({},i),{path:s,message:c})},"makeIssue"),In=[];function h(r,e){let t=Ve(),n=Ye({issueData:e,data:r.data,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,t,t===X?void 0:X].filter(i=>!!i)});r.common.issues.push(n)}a(h,"addIssueToContext");var vt=class vt{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,t){let n=[];for(let i of t){if(i.status==="aborted")return v;i.status==="dirty"&&e.dirty(),n.push(i.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){let n=[];for(let i of t){let s=await i.key,o=await i.value;n.push({key:s,value:o})}return vt.mergeObjectSync(e,n)}static mergeObjectSync(e,t){let n={};for(let i of t){let{key:s,value:o}=i;if(s.status==="aborted"||o.status==="aborted")return v;s.status==="dirty"&&e.dirty(),o.status==="dirty"&&e.dirty(),s.value!=="__proto__"&&(typeof o.value<"u"||i.alwaysSet)&&(n[s.value]=o.value)}return{status:e.value,value:n}}};a(vt,"ParseStatus");var D=vt,v=Object.freeze({status:"aborted"}),he=a(r=>({status:"dirty",value:r}),"DIRTY"),I=a(r=>({status:"valid",value:r}),"OK"),bt=a(r=>r.status==="aborted","isAborted"),_t=a(r=>r.status==="dirty","isDirty"),se=a(r=>r.status==="valid","isValid"),Fe=a(r=>typeof Promise<"u"&&r instanceof Promise,"isAsync");p();p();p();var g;(function(r){r.errToObj=e=>typeof e=="string"?{message:e}:e||{},r.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(g||(g={}));var Wt=class Wt{constructor(e,t,n,i){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=i}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}};a(Wt,"ParseInputLazyPath");var F=Wt,Wr=a((r,e)=>{if(se(e))return{success:!0,data:e.value};if(!r.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new N(r.common.issues);return this._error=t,this._error}}},"handleResult");function w(r){if(!r)return{};let{errorMap:e,invalid_type_error:t,required_error:n,description:i}=r;if(e&&(t||n))throw new Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return e?{errorMap:e,description:i}:{errorMap:a((o,c)=>{var d,x;let{message:l}=r;return o.code==="invalid_enum_value"?{message:l!=null?l:c.defaultError}:typeof c.data>"u"?{message:(d=l!=null?l:n)!=null?d:c.defaultError}:o.code!=="invalid_type"?{message:c.defaultError}:{message:(x=l!=null?l:t)!=null?x:c.defaultError}},"customMap"),description:i}}a(w,"processCreateParams");var Zt=class Zt{get description(){return this._def.description}_getType(e){return H(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:H(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new D,ctx:{common:e.parent.common,data:e.data,parsedType:H(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(Fe(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){let t=this._parse(e);return Promise.resolve(t)}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var s;let n={common:{issues:[],async:(s=t==null?void 0:t.async)!=null?s:!1,contextualErrorMap:t==null?void 0:t.errorMap},path:(t==null?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:H(e)},i=this._parseSync({data:e,path:n.path,parent:n});return Wr(n,i)}"~validate"(e){var n,i;let t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:H(e)};if(!this["~standard"].async)try{let s=this._parseSync({data:e,path:[],parent:t});return se(s)?{value:s.value}:{issues:t.common.issues}}catch(s){(i=(n=s==null?void 0:s.message)==null?void 0:n.toLowerCase())!=null&&i.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(s=>se(s)?{value:s.value}:{issues:t.common.issues})}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:t==null?void 0:t.errorMap,async:!0},path:(t==null?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:H(e)},i=this._parse({data:e,path:n.path,parent:n}),s=await(Fe(i)?i:Promise.resolve(i));return Wr(n,s)}refine(e,t){let n=a(i=>typeof t=="string"||typeof t>"u"?{message:t}:typeof t=="function"?t(i):t,"getIssueProperties");return this._refinement((i,s)=>{let o=e(i),c=a(()=>s.addIssue(u({code:m.custom},n(i))),"setError");return typeof Promise<"u"&&o instanceof Promise?o.then(l=>l?!0:(c(),!1)):o?!0:(c(),!1)})}refinement(e,t){return this._refinement((n,i)=>e(n)?!0:(i.addIssue(typeof t=="function"?t(n,i):t),!1))}_refinement(e){return new $({schema:this,typeName:T.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:a(t=>this["~validate"](t),"validate")}}optional(){return V.create(this,this._def)}nullable(){return Y.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return te.create(this)}promise(){return ce.create(this,this._def)}or(e){return we.create([this,e],this._def)}and(e){return ke.create(this,e,this._def)}transform(e){return new $(b(u({},w(this._def)),{schema:this,typeName:T.ZodEffects,effect:{type:"transform",transform:e}}))}default(e){let t=typeof e=="function"?e:()=>e;return new Ce(b(u({},w(this._def)),{innerType:this,defaultValue:t,typeName:T.ZodDefault}))}brand(){return new nt(u({typeName:T.ZodBranded,type:this},w(this._def)))}catch(e){let t=typeof e=="function"?e:()=>e;return new Ie(b(u({},w(this._def)),{innerType:this,catchValue:t,typeName:T.ZodCatch}))}describe(e){let t=this.constructor;return new t(b(u({},this._def),{description:e}))}pipe(e){return it.create(this,e)}readonly(){return Pe.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}};a(Zt,"ZodType");var k=Zt,Pn=/^c[^\s-]{8,}$/i,On=/^[0-9a-z]+$/,An=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Nn=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Ln=/^[a-z0-9_-]{21}$/i,Rn=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,jn=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Vn=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Fn="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",zt,$n=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Bn=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Gn=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,zn=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Un=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Wn=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Kr="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",Zn=new RegExp("^".concat(Kr,"$"));function qr(r){let e="[0-5]\\d";r.precision?e="".concat(e,"\\.\\d{").concat(r.precision,"}"):r.precision==null&&(e="".concat(e,"(\\.\\d+)?"));let t=r.precision?"+":"?";return"([01]\\d|2[0-3]):[0-5]\\d(:".concat(e,")").concat(t)}a(qr,"timeRegexSource");function Kn(r){return new RegExp("^".concat(qr(r),"$"))}a(Kn,"timeRegex");function Hr(r){let e="".concat(Kr,"T").concat(qr(r)),t=[];return t.push(r.local?"Z?":"Z"),r.offset&&t.push("([+-]\\d{2}:?\\d{2})"),e="".concat(e,"(").concat(t.join("|"),")"),new RegExp("^".concat(e,"$"))}a(Hr,"datetimeRegex");function qn(r,e){return!!((e==="v4"||!e)&&$n.test(r)||(e==="v6"||!e)&&Gn.test(r))}a(qn,"isValidIP");function Hn(r,e){if(!Rn.test(r))return!1;try{let[t]=r.split("."),n=t.replace(/-/g,"+").replace(/_/g,"/").padEnd(t.length+(4-t.length%4)%4,"="),i=JSON.parse(atob(n));return!(typeof i!="object"||i===null||"typ"in i&&(i==null?void 0:i.typ)!=="JWT"||!i.alg||e&&i.alg!==e)}catch(t){return!1}}a(Hn,"isValidJWT");function Jn(r,e){return!!((e==="v4"||!e)&&Bn.test(r)||(e==="v6"||!e)&&zn.test(r))}a(Jn,"isValidCidr");var ye=class ye extends k{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==y.string){let s=this._getOrReturnCtx(e);return h(s,{code:m.invalid_type,expected:y.string,received:s.parsedType}),v}let n=new D,i;for(let s of this._def.checks)if(s.kind==="min")e.data.length<s.value&&(i=this._getOrReturnCtx(e,i),h(i,{code:m.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),n.dirty());else if(s.kind==="max")e.data.length>s.value&&(i=this._getOrReturnCtx(e,i),h(i,{code:m.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),n.dirty());else if(s.kind==="length"){let o=e.data.length>s.value,c=e.data.length<s.value;(o||c)&&(i=this._getOrReturnCtx(e,i),o?h(i,{code:m.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}):c&&h(i,{code:m.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}),n.dirty())}else if(s.kind==="email")Vn.test(e.data)||(i=this._getOrReturnCtx(e,i),h(i,{validation:"email",code:m.invalid_string,message:s.message}),n.dirty());else if(s.kind==="emoji")zt||(zt=new RegExp(Fn,"u")),zt.test(e.data)||(i=this._getOrReturnCtx(e,i),h(i,{validation:"emoji",code:m.invalid_string,message:s.message}),n.dirty());else if(s.kind==="uuid")Nn.test(e.data)||(i=this._getOrReturnCtx(e,i),h(i,{validation:"uuid",code:m.invalid_string,message:s.message}),n.dirty());else if(s.kind==="nanoid")Ln.test(e.data)||(i=this._getOrReturnCtx(e,i),h(i,{validation:"nanoid",code:m.invalid_string,message:s.message}),n.dirty());else if(s.kind==="cuid")Pn.test(e.data)||(i=this._getOrReturnCtx(e,i),h(i,{validation:"cuid",code:m.invalid_string,message:s.message}),n.dirty());else if(s.kind==="cuid2")On.test(e.data)||(i=this._getOrReturnCtx(e,i),h(i,{validation:"cuid2",code:m.invalid_string,message:s.message}),n.dirty());else if(s.kind==="ulid")An.test(e.data)||(i=this._getOrReturnCtx(e,i),h(i,{validation:"ulid",code:m.invalid_string,message:s.message}),n.dirty());else if(s.kind==="url")try{new URL(e.data)}catch(o){i=this._getOrReturnCtx(e,i),h(i,{validation:"url",code:m.invalid_string,message:s.message}),n.dirty()}else s.kind==="regex"?(s.regex.lastIndex=0,s.regex.test(e.data)||(i=this._getOrReturnCtx(e,i),h(i,{validation:"regex",code:m.invalid_string,message:s.message}),n.dirty())):s.kind==="trim"?e.data=e.data.trim():s.kind==="includes"?e.data.includes(s.value,s.position)||(i=this._getOrReturnCtx(e,i),h(i,{code:m.invalid_string,validation:{includes:s.value,position:s.position},message:s.message}),n.dirty()):s.kind==="toLowerCase"?e.data=e.data.toLowerCase():s.kind==="toUpperCase"?e.data=e.data.toUpperCase():s.kind==="startsWith"?e.data.startsWith(s.value)||(i=this._getOrReturnCtx(e,i),h(i,{code:m.invalid_string,validation:{startsWith:s.value},message:s.message}),n.dirty()):s.kind==="endsWith"?e.data.endsWith(s.value)||(i=this._getOrReturnCtx(e,i),h(i,{code:m.invalid_string,validation:{endsWith:s.value},message:s.message}),n.dirty()):s.kind==="datetime"?Hr(s).test(e.data)||(i=this._getOrReturnCtx(e,i),h(i,{code:m.invalid_string,validation:"datetime",message:s.message}),n.dirty()):s.kind==="date"?Zn.test(e.data)||(i=this._getOrReturnCtx(e,i),h(i,{code:m.invalid_string,validation:"date",message:s.message}),n.dirty()):s.kind==="time"?Kn(s).test(e.data)||(i=this._getOrReturnCtx(e,i),h(i,{code:m.invalid_string,validation:"time",message:s.message}),n.dirty()):s.kind==="duration"?jn.test(e.data)||(i=this._getOrReturnCtx(e,i),h(i,{validation:"duration",code:m.invalid_string,message:s.message}),n.dirty()):s.kind==="ip"?qn(e.data,s.version)||(i=this._getOrReturnCtx(e,i),h(i,{validation:"ip",code:m.invalid_string,message:s.message}),n.dirty()):s.kind==="jwt"?Hn(e.data,s.alg)||(i=this._getOrReturnCtx(e,i),h(i,{validation:"jwt",code:m.invalid_string,message:s.message}),n.dirty()):s.kind==="cidr"?Jn(e.data,s.version)||(i=this._getOrReturnCtx(e,i),h(i,{validation:"cidr",code:m.invalid_string,message:s.message}),n.dirty()):s.kind==="base64"?Un.test(e.data)||(i=this._getOrReturnCtx(e,i),h(i,{validation:"base64",code:m.invalid_string,message:s.message}),n.dirty()):s.kind==="base64url"?Wn.test(e.data)||(i=this._getOrReturnCtx(e,i),h(i,{validation:"base64url",code:m.invalid_string,message:s.message}),n.dirty()):S.assertNever(s);return{status:n.value,value:e.data}}_regex(e,t,n){return this.refinement(i=>e.test(i),u({validation:t,code:m.invalid_string},g.errToObj(n)))}_addCheck(e){return new ye(b(u({},this._def),{checks:[...this._def.checks,e]}))}email(e){return this._addCheck(u({kind:"email"},g.errToObj(e)))}url(e){return this._addCheck(u({kind:"url"},g.errToObj(e)))}emoji(e){return this._addCheck(u({kind:"emoji"},g.errToObj(e)))}uuid(e){return this._addCheck(u({kind:"uuid"},g.errToObj(e)))}nanoid(e){return this._addCheck(u({kind:"nanoid"},g.errToObj(e)))}cuid(e){return this._addCheck(u({kind:"cuid"},g.errToObj(e)))}cuid2(e){return this._addCheck(u({kind:"cuid2"},g.errToObj(e)))}ulid(e){return this._addCheck(u({kind:"ulid"},g.errToObj(e)))}base64(e){return this._addCheck(u({kind:"base64"},g.errToObj(e)))}base64url(e){return this._addCheck(u({kind:"base64url"},g.errToObj(e)))}jwt(e){return this._addCheck(u({kind:"jwt"},g.errToObj(e)))}ip(e){return this._addCheck(u({kind:"ip"},g.errToObj(e)))}cidr(e){return this._addCheck(u({kind:"cidr"},g.errToObj(e)))}datetime(e){var t,n;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck(u({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(t=e==null?void 0:e.offset)!=null?t:!1,local:(n=e==null?void 0:e.local)!=null?n:!1},g.errToObj(e==null?void 0:e.message)))}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck(u({kind:"time",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision},g.errToObj(e==null?void 0:e.message)))}duration(e){return this._addCheck(u({kind:"duration"},g.errToObj(e)))}regex(e,t){return this._addCheck(u({kind:"regex",regex:e},g.errToObj(t)))}includes(e,t){return this._addCheck(u({kind:"includes",value:e,position:t==null?void 0:t.position},g.errToObj(t==null?void 0:t.message)))}startsWith(e,t){return this._addCheck(u({kind:"startsWith",value:e},g.errToObj(t)))}endsWith(e,t){return this._addCheck(u({kind:"endsWith",value:e},g.errToObj(t)))}min(e,t){return this._addCheck(u({kind:"min",value:e},g.errToObj(t)))}max(e,t){return this._addCheck(u({kind:"max",value:e},g.errToObj(t)))}length(e,t){return this._addCheck(u({kind:"length",value:e},g.errToObj(t)))}nonempty(e){return this.min(1,g.errToObj(e))}trim(){return new ye(b(u({},this._def),{checks:[...this._def.checks,{kind:"trim"}]}))}toLowerCase(){return new ye(b(u({},this._def),{checks:[...this._def.checks,{kind:"toLowerCase"}]}))}toUpperCase(){return new ye(b(u({},this._def),{checks:[...this._def.checks,{kind:"toUpperCase"}]}))}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}};a(ye,"ZodString");var ae=ye;ae.create=r=>{var e;return new ae(u({checks:[],typeName:T.ZodString,coerce:(e=r==null?void 0:r.coerce)!=null?e:!1},w(r)))};function Yn(r,e){let t=(r.toString().split(".")[1]||"").length,n=(e.toString().split(".")[1]||"").length,i=t>n?t:n,s=Number.parseInt(r.toFixed(i).replace(".","")),o=Number.parseInt(e.toFixed(i).replace(".",""));return s%o/10**i}a(Yn,"floatSafeRemainder");var Xe=class Xe extends k{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==y.number){let s=this._getOrReturnCtx(e);return h(s,{code:m.invalid_type,expected:y.number,received:s.parsedType}),v}let n,i=new D;for(let s of this._def.checks)s.kind==="int"?S.isInteger(e.data)||(n=this._getOrReturnCtx(e,n),h(n,{code:m.invalid_type,expected:"integer",received:"float",message:s.message}),i.dirty()):s.kind==="min"?(s.inclusive?e.data<s.value:e.data<=s.value)&&(n=this._getOrReturnCtx(e,n),h(n,{code:m.too_small,minimum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),i.dirty()):s.kind==="max"?(s.inclusive?e.data>s.value:e.data>=s.value)&&(n=this._getOrReturnCtx(e,n),h(n,{code:m.too_big,maximum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),i.dirty()):s.kind==="multipleOf"?Yn(e.data,s.value)!==0&&(n=this._getOrReturnCtx(e,n),h(n,{code:m.not_multiple_of,multipleOf:s.value,message:s.message}),i.dirty()):s.kind==="finite"?Number.isFinite(e.data)||(n=this._getOrReturnCtx(e,n),h(n,{code:m.not_finite,message:s.message}),i.dirty()):S.assertNever(s);return{status:i.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,g.toString(t))}gt(e,t){return this.setLimit("min",e,!1,g.toString(t))}lte(e,t){return this.setLimit("max",e,!0,g.toString(t))}lt(e,t){return this.setLimit("max",e,!1,g.toString(t))}setLimit(e,t,n,i){return new Xe(b(u({},this._def),{checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:g.toString(i)}]}))}_addCheck(e){return new Xe(b(u({},this._def),{checks:[...this._def.checks,e]}))}int(e){return this._addCheck({kind:"int",message:g.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:g.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:g.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:g.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:g.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:g.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:g.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:g.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:g.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&S.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(t===null||n.value>t)&&(t=n.value):n.kind==="max"&&(e===null||n.value<e)&&(e=n.value)}return Number.isFinite(t)&&Number.isFinite(e)}};a(Xe,"ZodNumber");var ge=Xe;ge.create=r=>new ge(u({checks:[],typeName:T.ZodNumber,coerce:(r==null?void 0:r.coerce)||!1},w(r)));var Qe=class Qe extends k{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch(s){return this._getInvalidInput(e)}if(this._getType(e)!==y.bigint)return this._getInvalidInput(e);let n,i=new D;for(let s of this._def.checks)s.kind==="min"?(s.inclusive?e.data<s.value:e.data<=s.value)&&(n=this._getOrReturnCtx(e,n),h(n,{code:m.too_small,type:"bigint",minimum:s.value,inclusive:s.inclusive,message:s.message}),i.dirty()):s.kind==="max"?(s.inclusive?e.data>s.value:e.data>=s.value)&&(n=this._getOrReturnCtx(e,n),h(n,{code:m.too_big,type:"bigint",maximum:s.value,inclusive:s.inclusive,message:s.message}),i.dirty()):s.kind==="multipleOf"?e.data%s.value!==BigInt(0)&&(n=this._getOrReturnCtx(e,n),h(n,{code:m.not_multiple_of,multipleOf:s.value,message:s.message}),i.dirty()):S.assertNever(s);return{status:i.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return h(t,{code:m.invalid_type,expected:y.bigint,received:t.parsedType}),v}gte(e,t){return this.setLimit("min",e,!0,g.toString(t))}gt(e,t){return this.setLimit("min",e,!1,g.toString(t))}lte(e,t){return this.setLimit("max",e,!0,g.toString(t))}lt(e,t){return this.setLimit("max",e,!1,g.toString(t))}setLimit(e,t,n,i){return new Qe(b(u({},this._def),{checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:g.toString(i)}]}))}_addCheck(e){return new Qe(b(u({},this._def),{checks:[...this._def.checks,e]}))}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:g.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:g.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:g.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:g.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:g.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}};a(Qe,"ZodBigInt");var xe=Qe;xe.create=r=>{var e;return new xe(u({checks:[],typeName:T.ZodBigInt,coerce:(e=r==null?void 0:r.coerce)!=null?e:!1},w(r)))};var Kt=class Kt extends k{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==y.boolean){let n=this._getOrReturnCtx(e);return h(n,{code:m.invalid_type,expected:y.boolean,received:n.parsedType}),v}return I(e.data)}};a(Kt,"ZodBoolean");var ve=Kt;ve.create=r=>new ve(u({typeName:T.ZodBoolean,coerce:(r==null?void 0:r.coerce)||!1},w(r)));var Et=class Et extends k{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==y.date){let s=this._getOrReturnCtx(e);return h(s,{code:m.invalid_type,expected:y.date,received:s.parsedType}),v}if(Number.isNaN(e.data.getTime())){let s=this._getOrReturnCtx(e);return h(s,{code:m.invalid_date}),v}let n=new D,i;for(let s of this._def.checks)s.kind==="min"?e.data.getTime()<s.value&&(i=this._getOrReturnCtx(e,i),h(i,{code:m.too_small,message:s.message,inclusive:!0,exact:!1,minimum:s.value,type:"date"}),n.dirty()):s.kind==="max"?e.data.getTime()>s.value&&(i=this._getOrReturnCtx(e,i),h(i,{code:m.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:"date"}),n.dirty()):S.assertNever(s);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new Et(b(u({},this._def),{checks:[...this._def.checks,e]}))}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:g.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:g.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e!=null?new Date(e):null}};a(Et,"ZodDate");var be=Et;be.create=r=>new be(u({checks:[],coerce:(r==null?void 0:r.coerce)||!1,typeName:T.ZodDate},w(r)));var qt=class qt extends k{_parse(e){if(this._getType(e)!==y.symbol){let n=this._getOrReturnCtx(e);return h(n,{code:m.invalid_type,expected:y.symbol,received:n.parsedType}),v}return I(e.data)}};a(qt,"ZodSymbol");var ze=qt;ze.create=r=>new ze(u({typeName:T.ZodSymbol},w(r)));var Ht=class Ht extends k{_parse(e){if(this._getType(e)!==y.undefined){let n=this._getOrReturnCtx(e);return h(n,{code:m.invalid_type,expected:y.undefined,received:n.parsedType}),v}return I(e.data)}};a(Ht,"ZodUndefined");var _e=Ht;_e.create=r=>new _e(u({typeName:T.ZodUndefined},w(r)));var Jt=class Jt extends k{_parse(e){if(this._getType(e)!==y.null){let n=this._getOrReturnCtx(e);return h(n,{code:m.invalid_type,expected:y.null,received:n.parsedType}),v}return I(e.data)}};a(Jt,"ZodNull");var Te=Jt;Te.create=r=>new Te(u({typeName:T.ZodNull},w(r)));var Yt=class Yt extends k{constructor(){super(...arguments),this._any=!0}_parse(e){return I(e.data)}};a(Yt,"ZodAny");var oe=Yt;oe.create=r=>new oe(u({typeName:T.ZodAny},w(r)));var Xt=class Xt extends k{constructor(){super(...arguments),this._unknown=!0}_parse(e){return I(e.data)}};a(Xt,"ZodUnknown");var ee=Xt;ee.create=r=>new ee(u({typeName:T.ZodUnknown},w(r)));var Qt=class Qt extends k{_parse(e){let t=this._getOrReturnCtx(e);return h(t,{code:m.invalid_type,expected:y.never,received:t.parsedType}),v}};a(Qt,"ZodNever");var G=Qt;G.create=r=>new G(u({typeName:T.ZodNever},w(r)));var er=class er extends k{_parse(e){if(this._getType(e)!==y.undefined){let n=this._getOrReturnCtx(e);return h(n,{code:m.invalid_type,expected:y.void,received:n.parsedType}),v}return I(e.data)}};a(er,"ZodVoid");var Ue=er;Ue.create=r=>new Ue(u({typeName:T.ZodVoid},w(r)));var Be=class Be extends k{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),i=this._def;if(t.parsedType!==y.array)return h(t,{code:m.invalid_type,expected:y.array,received:t.parsedType}),v;if(i.exactLength!==null){let o=t.data.length>i.exactLength.value,c=t.data.length<i.exactLength.value;(o||c)&&(h(t,{code:o?m.too_big:m.too_small,minimum:c?i.exactLength.value:void 0,maximum:o?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),n.dirty())}if(i.minLength!==null&&t.data.length<i.minLength.value&&(h(t,{code:m.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),n.dirty()),i.maxLength!==null&&t.data.length>i.maxLength.value&&(h(t,{code:m.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((o,c)=>i.type._parseAsync(new F(t,o,t.path,c)))).then(o=>D.mergeArray(n,o));let s=[...t.data].map((o,c)=>i.type._parseSync(new F(t,o,t.path,c)));return D.mergeArray(n,s)}get element(){return this._def.type}min(e,t){return new Be(b(u({},this._def),{minLength:{value:e,message:g.toString(t)}}))}max(e,t){return new Be(b(u({},this._def),{maxLength:{value:e,message:g.toString(t)}}))}length(e,t){return new Be(b(u({},this._def),{exactLength:{value:e,message:g.toString(t)}}))}nonempty(e){return this.min(1,e)}};a(Be,"ZodArray");var te=Be;te.create=(r,e)=>new te(u({type:r,minLength:null,maxLength:null,exactLength:null,typeName:T.ZodArray},w(e)));function $e(r){if(r instanceof L){let e={};for(let t in r.shape){let n=r.shape[t];e[t]=V.create($e(n))}return new L(b(u({},r._def),{shape:a(()=>e,"shape")}))}else return r instanceof te?new te(b(u({},r._def),{type:$e(r.element)})):r instanceof V?V.create($e(r.unwrap())):r instanceof Y?Y.create($e(r.unwrap())):r instanceof J?J.create(r.items.map(e=>$e(e))):r}a($e,"deepPartialify");var j=class j extends k{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),t=S.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==y.object){let d=this._getOrReturnCtx(e);return h(d,{code:m.invalid_type,expected:y.object,received:d.parsedType}),v}let{status:n,ctx:i}=this._processInputParams(e),{shape:s,keys:o}=this._getCached(),c=[];if(!(this._def.catchall instanceof G&&this._def.unknownKeys==="strip"))for(let d in i.data)o.includes(d)||c.push(d);let l=[];for(let d of o){let x=s[d],E=i.data[d];l.push({key:{status:"valid",value:d},value:x._parse(new F(i,E,i.path,d)),alwaysSet:d in i.data})}if(this._def.catchall instanceof G){let d=this._def.unknownKeys;if(d==="passthrough")for(let x of c)l.push({key:{status:"valid",value:x},value:{status:"valid",value:i.data[x]}});else if(d==="strict")c.length>0&&(h(i,{code:m.unrecognized_keys,keys:c}),n.dirty());else if(d!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let d=this._def.catchall;for(let x of c){let E=i.data[x];l.push({key:{status:"valid",value:x},value:d._parse(new F(i,E,i.path,x)),alwaysSet:x in i.data})}}return i.common.async?Promise.resolve().then(async()=>{let d=[];for(let x of l){let E=await x.key,A=await x.value;d.push({key:E,value:A,alwaysSet:x.alwaysSet})}return d}).then(d=>D.mergeObjectSync(n,d)):D.mergeObjectSync(n,l)}get shape(){return this._def.shape()}strict(e){return g.errToObj,new j(u(b(u({},this._def),{unknownKeys:"strict"}),e!==void 0?{errorMap:a((t,n)=>{var s,o,c,l;let i=(c=(o=(s=this._def).errorMap)==null?void 0:o.call(s,t,n).message)!=null?c:n.defaultError;return t.code==="unrecognized_keys"?{message:(l=g.errToObj(e).message)!=null?l:i}:{message:i}},"errorMap")}:{}))}strip(){return new j(b(u({},this._def),{unknownKeys:"strip"}))}passthrough(){return new j(b(u({},this._def),{unknownKeys:"passthrough"}))}extend(e){return new j(b(u({},this._def),{shape:a(()=>u(u({},this._def.shape()),e),"shape")}))}merge(e){return new j({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:a(()=>u(u({},this._def.shape()),e._def.shape()),"shape"),typeName:T.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new j(b(u({},this._def),{catchall:e}))}pick(e){let t={};for(let n of S.objectKeys(e))e[n]&&this.shape[n]&&(t[n]=this.shape[n]);return new j(b(u({},this._def),{shape:a(()=>t,"shape")}))}omit(e){let t={};for(let n of S.objectKeys(this.shape))e[n]||(t[n]=this.shape[n]);return new j(b(u({},this._def),{shape:a(()=>t,"shape")}))}deepPartial(){return $e(this)}partial(e){let t={};for(let n of S.objectKeys(this.shape)){let i=this.shape[n];e&&!e[n]?t[n]=i:t[n]=i.optional()}return new j(b(u({},this._def),{shape:a(()=>t,"shape")}))}required(e){let t={};for(let n of S.objectKeys(this.shape))if(e&&!e[n])t[n]=this.shape[n];else{let s=this.shape[n];for(;s instanceof V;)s=s._def.innerType;t[n]=s}return new j(b(u({},this._def),{shape:a(()=>t,"shape")}))}keyof(){return Jr(S.objectKeys(this.shape))}};a(j,"ZodObject");var L=j;L.create=(r,e)=>new L(u({shape:a(()=>r,"shape"),unknownKeys:"strip",catchall:G.create(),typeName:T.ZodObject},w(e)));L.strictCreate=(r,e)=>new L(u({shape:a(()=>r,"shape"),unknownKeys:"strict",catchall:G.create(),typeName:T.ZodObject},w(e)));L.lazycreate=(r,e)=>new L(u({shape:r,unknownKeys:"strip",catchall:G.create(),typeName:T.ZodObject},w(e)));var tr=class tr extends k{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;function i(s){for(let c of s)if(c.result.status==="valid")return c.result;for(let c of s)if(c.result.status==="dirty")return t.common.issues.push(...c.ctx.common.issues),c.result;let o=s.map(c=>new N(c.ctx.common.issues));return h(t,{code:m.invalid_union,unionErrors:o}),v}if(a(i,"handleResults"),t.common.async)return Promise.all(n.map(async s=>{let o=b(u({},t),{common:b(u({},t.common),{issues:[]}),parent:null});return{result:await s._parseAsync({data:t.data,path:t.path,parent:o}),ctx:o}})).then(i);{let s,o=[];for(let l of n){let d=b(u({},t),{common:b(u({},t.common),{issues:[]}),parent:null}),x=l._parseSync({data:t.data,path:t.path,parent:d});if(x.status==="valid")return x;x.status==="dirty"&&!s&&(s={result:x,ctx:d}),d.common.issues.length&&o.push(d.common.issues)}if(s)return t.common.issues.push(...s.ctx.common.issues),s.result;let c=o.map(l=>new N(l));return h(t,{code:m.invalid_union,unionErrors:c}),v}}get options(){return this._def.options}};a(tr,"ZodUnion");var we=tr;we.create=(r,e)=>new we(u({options:r,typeName:T.ZodUnion},w(e)));var Q=a(r=>r instanceof Ee?Q(r.schema):r instanceof $?Q(r.innerType()):r instanceof Se?[r.value]:r instanceof Me?r.options:r instanceof De?S.objectValues(r.enum):r instanceof Ce?Q(r._def.innerType):r instanceof _e?[void 0]:r instanceof Te?[null]:r instanceof V?[void 0,...Q(r.unwrap())]:r instanceof Y?[null,...Q(r.unwrap())]:r instanceof nt||r instanceof Pe?Q(r.unwrap()):r instanceof Ie?Q(r._def.innerType):[],"getDiscriminator"),St=class St extends k{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==y.object)return h(t,{code:m.invalid_type,expected:y.object,received:t.parsedType}),v;let n=this.discriminator,i=t.data[n],s=this.optionsMap.get(i);return s?t.common.async?s._parseAsync({data:t.data,path:t.path,parent:t}):s._parseSync({data:t.data,path:t.path,parent:t}):(h(t,{code:m.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),v)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){let i=new Map;for(let s of t){let o=Q(s.shape[e]);if(!o.length)throw new Error("A discriminator value for key `".concat(e,"` could not be extracted from all schema options"));for(let c of o){if(i.has(c))throw new Error("Discriminator property ".concat(String(e)," has duplicate value ").concat(String(c)));i.set(c,s)}}return new St(u({typeName:T.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:i},w(n)))}};a(St,"ZodDiscriminatedUnion");var Tt=St;function Ut(r,e){let t=H(r),n=H(e);if(r===e)return{valid:!0,data:r};if(t===y.object&&n===y.object){let i=S.objectKeys(e),s=S.objectKeys(r).filter(c=>i.indexOf(c)!==-1),o=u(u({},r),e);for(let c of s){let l=Ut(r[c],e[c]);if(!l.valid)return{valid:!1};o[c]=l.data}return{valid:!0,data:o}}else if(t===y.array&&n===y.array){if(r.length!==e.length)return{valid:!1};let i=[];for(let s=0;s<r.length;s++){let o=r[s],c=e[s],l=Ut(o,c);if(!l.valid)return{valid:!1};i.push(l.data)}return{valid:!0,data:i}}else return t===y.date&&n===y.date&&+r==+e?{valid:!0,data:r}:{valid:!1}}a(Ut,"mergeValues");var rr=class rr extends k{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),i=a((s,o)=>{if(bt(s)||bt(o))return v;let c=Ut(s.value,o.value);return c.valid?((_t(s)||_t(o))&&t.dirty(),{status:t.value,value:c.data}):(h(n,{code:m.invalid_intersection_types}),v)},"handleParsed");return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([s,o])=>i(s,o)):i(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}};a(rr,"ZodIntersection");var ke=rr;ke.create=(r,e,t)=>new ke(u({left:r,right:e,typeName:T.ZodIntersection},w(t)));var Mt=class Mt extends k{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==y.array)return h(n,{code:m.invalid_type,expected:y.array,received:n.parsedType}),v;if(n.data.length<this._def.items.length)return h(n,{code:m.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),v;!this._def.rest&&n.data.length>this._def.items.length&&(h(n,{code:m.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let s=[...n.data].map((o,c)=>{let l=this._def.items[c]||this._def.rest;return l?l._parse(new F(n,o,n.path,c)):null}).filter(o=>!!o);return n.common.async?Promise.all(s).then(o=>D.mergeArray(t,o)):D.mergeArray(t,s)}get items(){return this._def.items}rest(e){return new Mt(b(u({},this._def),{rest:e}))}};a(Mt,"ZodTuple");var J=Mt;J.create=(r,e)=>{if(!Array.isArray(r))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new J(u({items:r,typeName:T.ZodTuple,rest:null},w(e)))};var et=class et extends k{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==y.object)return h(n,{code:m.invalid_type,expected:y.object,received:n.parsedType}),v;let i=[],s=this._def.keyType,o=this._def.valueType;for(let c in n.data)i.push({key:s._parse(new F(n,c,n.path,c)),value:o._parse(new F(n,n.data[c],n.path,c)),alwaysSet:c in n.data});return n.common.async?D.mergeObjectAsync(t,i):D.mergeObjectSync(t,i)}get element(){return this._def.valueType}static create(e,t,n){return t instanceof k?new et(u({keyType:e,valueType:t,typeName:T.ZodRecord},w(n))):new et(u({keyType:ae.create(),valueType:e,typeName:T.ZodRecord},w(t)))}};a(et,"ZodRecord");var wt=et,nr=class nr extends k{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==y.map)return h(n,{code:m.invalid_type,expected:y.map,received:n.parsedType}),v;let i=this._def.keyType,s=this._def.valueType,o=[...n.data.entries()].map(([c,l],d)=>({key:i._parse(new F(n,c,n.path,[d,"key"])),value:s._parse(new F(n,l,n.path,[d,"value"]))}));if(n.common.async){let c=new Map;return Promise.resolve().then(async()=>{for(let l of o){let d=await l.key,x=await l.value;if(d.status==="aborted"||x.status==="aborted")return v;(d.status==="dirty"||x.status==="dirty")&&t.dirty(),c.set(d.value,x.value)}return{status:t.value,value:c}})}else{let c=new Map;for(let l of o){let d=l.key,x=l.value;if(d.status==="aborted"||x.status==="aborted")return v;(d.status==="dirty"||x.status==="dirty")&&t.dirty(),c.set(d.value,x.value)}return{status:t.value,value:c}}}};a(nr,"ZodMap");var We=nr;We.create=(r,e,t)=>new We(u({valueType:e,keyType:r,typeName:T.ZodMap},w(t)));var tt=class tt extends k{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==y.set)return h(n,{code:m.invalid_type,expected:y.set,received:n.parsedType}),v;let i=this._def;i.minSize!==null&&n.data.size<i.minSize.value&&(h(n,{code:m.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),t.dirty()),i.maxSize!==null&&n.data.size>i.maxSize.value&&(h(n,{code:m.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),t.dirty());let s=this._def.valueType;function o(l){let d=new Set;for(let x of l){if(x.status==="aborted")return v;x.status==="dirty"&&t.dirty(),d.add(x.value)}return{status:t.value,value:d}}a(o,"finalizeSet");let c=[...n.data.values()].map((l,d)=>s._parse(new F(n,l,n.path,d)));return n.common.async?Promise.all(c).then(l=>o(l)):o(c)}min(e,t){return new tt(b(u({},this._def),{minSize:{value:e,message:g.toString(t)}}))}max(e,t){return new tt(b(u({},this._def),{maxSize:{value:e,message:g.toString(t)}}))}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}};a(tt,"ZodSet");var Ze=tt;Ze.create=(r,e)=>new Ze(u({valueType:r,minSize:null,maxSize:null,typeName:T.ZodSet},w(e)));var Ge=class Ge extends k{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==y.function)return h(t,{code:m.invalid_type,expected:y.function,received:t.parsedType}),v;function n(c,l){return Ye({data:c,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Ve(),X].filter(d=>!!d),issueData:{code:m.invalid_arguments,argumentsError:l}})}a(n,"makeArgsIssue");function i(c,l){return Ye({data:c,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Ve(),X].filter(d=>!!d),issueData:{code:m.invalid_return_type,returnTypeError:l}})}a(i,"makeReturnsIssue");let s={errorMap:t.common.contextualErrorMap},o=t.data;if(this._def.returns instanceof ce){let c=this;return I(async function(...l){let d=new N([]),x=await c._def.args.parseAsync(l,s).catch(R=>{throw d.addIssue(n(l,R)),d}),E=await Reflect.apply(o,this,x);return await c._def.returns._def.type.parseAsync(E,s).catch(R=>{throw d.addIssue(i(E,R)),d})})}else{let c=this;return I(function(...l){let d=c._def.args.safeParse(l,s);if(!d.success)throw new N([n(l,d.error)]);let x=Reflect.apply(o,this,d.data),E=c._def.returns.safeParse(x,s);if(!E.success)throw new N([i(x,E.error)]);return E.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new Ge(b(u({},this._def),{args:J.create(e).rest(ee.create())}))}returns(e){return new Ge(b(u({},this._def),{returns:e}))}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new Ge(u({args:e||J.create([]).rest(ee.create()),returns:t||ee.create(),typeName:T.ZodFunction},w(n)))}};a(Ge,"ZodFunction");var kt=Ge,ir=class ir extends k{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}};a(ir,"ZodLazy");var Ee=ir;Ee.create=(r,e)=>new Ee(u({getter:r,typeName:T.ZodLazy},w(e)));var sr=class sr extends k{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return h(t,{received:t.data,code:m.invalid_literal,expected:this._def.value}),v}return{status:"valid",value:e.data}}get value(){return this._def.value}};a(sr,"ZodLiteral");var Se=sr;Se.create=(r,e)=>new Se(u({value:r,typeName:T.ZodLiteral},w(e)));function Jr(r,e){return new Me(u({values:r,typeName:T.ZodEnum},w(e)))}a(Jr,"createZodEnum");var rt=class rt extends k{_parse(e){if(typeof e.data!="string"){let t=this._getOrReturnCtx(e),n=this._def.values;return h(t,{expected:S.joinValues(n),received:t.parsedType,code:m.invalid_type}),v}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return h(t,{received:t.data,code:m.invalid_enum_value,options:n}),v}return I(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return rt.create(e,u(u({},this._def),t))}exclude(e,t=this._def){return rt.create(this.options.filter(n=>!e.includes(n)),u(u({},this._def),t))}};a(rt,"ZodEnum");var Me=rt;Me.create=Jr;var ar=class ar extends k{_parse(e){let t=S.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==y.string&&n.parsedType!==y.number){let i=S.objectValues(t);return h(n,{expected:S.joinValues(i),received:n.parsedType,code:m.invalid_type}),v}if(this._cache||(this._cache=new Set(S.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let i=S.objectValues(t);return h(n,{received:n.data,code:m.invalid_enum_value,options:i}),v}return I(e.data)}get enum(){return this._def.values}};a(ar,"ZodNativeEnum");var De=ar;De.create=(r,e)=>new De(u({values:r,typeName:T.ZodNativeEnum},w(e)));var or=class or extends k{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==y.promise&&t.common.async===!1)return h(t,{code:m.invalid_type,expected:y.promise,received:t.parsedType}),v;let n=t.parsedType===y.promise?t.data:Promise.resolve(t.data);return I(n.then(i=>this._def.type.parseAsync(i,{path:t.path,errorMap:t.common.contextualErrorMap})))}};a(or,"ZodPromise");var ce=or;ce.create=(r,e)=>new ce(u({type:r,typeName:T.ZodPromise},w(e)));var cr=class cr extends k{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===T.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),i=this._def.effect||null,s={addIssue:a(o=>{h(n,o),o.fatal?t.abort():t.dirty()},"addIssue"),get path(){return n.path}};if(s.addIssue=s.addIssue.bind(s),i.type==="preprocess"){let o=i.transform(n.data,s);if(n.common.async)return Promise.resolve(o).then(async c=>{if(t.value==="aborted")return v;let l=await this._def.schema._parseAsync({data:c,path:n.path,parent:n});return l.status==="aborted"?v:l.status==="dirty"?he(l.value):t.value==="dirty"?he(l.value):l});{if(t.value==="aborted")return v;let c=this._def.schema._parseSync({data:o,path:n.path,parent:n});return c.status==="aborted"?v:c.status==="dirty"?he(c.value):t.value==="dirty"?he(c.value):c}}if(i.type==="refinement"){let o=a(c=>{let l=i.refinement(c,s);if(n.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return c},"executeRefinement");if(n.common.async===!1){let c=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return c.status==="aborted"?v:(c.status==="dirty"&&t.dirty(),o(c.value),{status:t.value,value:c.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(c=>c.status==="aborted"?v:(c.status==="dirty"&&t.dirty(),o(c.value).then(()=>({status:t.value,value:c.value}))))}if(i.type==="transform")if(n.common.async===!1){let o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!se(o))return v;let c=i.transform(o.value,s);if(c instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:c}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>se(o)?Promise.resolve(i.transform(o.value,s)).then(c=>({status:t.value,value:c})):v);S.assertNever(i)}};a(cr,"ZodEffects");var $=cr;$.create=(r,e,t)=>new $(u({schema:r,typeName:T.ZodEffects,effect:e},w(t)));$.createWithPreprocess=(r,e,t)=>new $(u({schema:e,effect:{type:"preprocess",transform:r},typeName:T.ZodEffects},w(t)));var ur=class ur extends k{_parse(e){return this._getType(e)===y.undefined?I(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};a(ur,"ZodOptional");var V=ur;V.create=(r,e)=>new V(u({innerType:r,typeName:T.ZodOptional},w(e)));var lr=class lr extends k{_parse(e){return this._getType(e)===y.null?I(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};a(lr,"ZodNullable");var Y=lr;Y.create=(r,e)=>new Y(u({innerType:r,typeName:T.ZodNullable},w(e)));var dr=class dr extends k{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===y.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}};a(dr,"ZodDefault");var Ce=dr;Ce.create=(r,e)=>new Ce(u({innerType:r,typeName:T.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default},w(e)));var fr=class fr extends k{_parse(e){let{ctx:t}=this._processInputParams(e),n=b(u({},t),{common:b(u({},t.common),{issues:[]})}),i=this._def.innerType._parse({data:n.data,path:n.path,parent:u({},n)});return Fe(i)?i.then(s=>({status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new N(n.common.issues)},input:n.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new N(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}};a(fr,"ZodCatch");var Ie=fr;Ie.create=(r,e)=>new Ie(u({innerType:r,typeName:T.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch},w(e)));var pr=class pr extends k{_parse(e){if(this._getType(e)!==y.nan){let n=this._getOrReturnCtx(e);return h(n,{code:m.invalid_type,expected:y.nan,received:n.parsedType}),v}return{status:"valid",value:e.data}}};a(pr,"ZodNaN");var Ke=pr;Ke.create=r=>new Ke(u({typeName:T.ZodNaN},w(r)));var Xn=Symbol("zod_brand"),mr=class mr extends k{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}};a(mr,"ZodBranded");var nt=mr,Dt=class Dt extends k{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return a(async()=>{let s=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return s.status==="aborted"?v:s.status==="dirty"?(t.dirty(),he(s.value)):this._def.out._parseAsync({data:s.value,path:n.path,parent:n})},"handleAsync")();{let i=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return i.status==="aborted"?v:i.status==="dirty"?(t.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:n.path,parent:n})}}static create(e,t){return new Dt({in:e,out:t,typeName:T.ZodPipeline})}};a(Dt,"ZodPipeline");var it=Dt,hr=class hr extends k{_parse(e){let t=this._def.innerType._parse(e),n=a(i=>(se(i)&&(i.value=Object.freeze(i.value)),i),"freeze");return Fe(t)?t.then(i=>n(i)):n(t)}unwrap(){return this._def.innerType}};a(hr,"ZodReadonly");var Pe=hr;Pe.create=(r,e)=>new Pe(u({innerType:r,typeName:T.ZodReadonly},w(e)));function Zr(r,e){let t=typeof r=="function"?r(e):typeof r=="string"?{message:r}:r;return typeof t=="string"?{message:t}:t}a(Zr,"cleanParams");function Yr(r,e={},t){return r?oe.create().superRefine((n,i)=>{var o,c;let s=r(n);if(s instanceof Promise)return s.then(l=>{var d,x;if(!l){let E=Zr(e,n),A=(x=(d=E.fatal)!=null?d:t)!=null?x:!0;i.addIssue(b(u({code:"custom"},E),{fatal:A}))}});if(!s){let l=Zr(e,n),d=(c=(o=l.fatal)!=null?o:t)!=null?c:!0;i.addIssue(b(u({code:"custom"},l),{fatal:d}))}}):oe.create()}a(Yr,"custom");var Qn={object:L.lazycreate},T;(function(r){r.ZodString="ZodString",r.ZodNumber="ZodNumber",r.ZodNaN="ZodNaN",r.ZodBigInt="ZodBigInt",r.ZodBoolean="ZodBoolean",r.ZodDate="ZodDate",r.ZodSymbol="ZodSymbol",r.ZodUndefined="ZodUndefined",r.ZodNull="ZodNull",r.ZodAny="ZodAny",r.ZodUnknown="ZodUnknown",r.ZodNever="ZodNever",r.ZodVoid="ZodVoid",r.ZodArray="ZodArray",r.ZodObject="ZodObject",r.ZodUnion="ZodUnion",r.ZodDiscriminatedUnion="ZodDiscriminatedUnion",r.ZodIntersection="ZodIntersection",r.ZodTuple="ZodTuple",r.ZodRecord="ZodRecord",r.ZodMap="ZodMap",r.ZodSet="ZodSet",r.ZodFunction="ZodFunction",r.ZodLazy="ZodLazy",r.ZodLiteral="ZodLiteral",r.ZodEnum="ZodEnum",r.ZodEffects="ZodEffects",r.ZodNativeEnum="ZodNativeEnum",r.ZodOptional="ZodOptional",r.ZodNullable="ZodNullable",r.ZodDefault="ZodDefault",r.ZodCatch="ZodCatch",r.ZodPromise="ZodPromise",r.ZodBranded="ZodBranded",r.ZodPipeline="ZodPipeline",r.ZodReadonly="ZodReadonly"})(T||(T={}));var ei=a((r,e={message:"Input not instance of ".concat(r.name)})=>Yr(t=>t instanceof r,e),"instanceOfType"),Xr=ae.create,Qr=ge.create,ti=Ke.create,ri=xe.create,en=ve.create,ni=be.create,ii=ze.create,si=_e.create,ai=Te.create,oi=oe.create,ci=ee.create,ui=G.create,li=Ue.create,di=te.create,fi=L.create,pi=L.strictCreate,mi=we.create,hi=Tt.create,yi=ke.create,gi=J.create,xi=wt.create,vi=We.create,bi=Ze.create,_i=kt.create,Ti=Ee.create,wi=Se.create,ki=Me.create,Ei=De.create,Si=ce.create,Mi=$.create,Di=V.create,Ci=Y.create,Ii=$.createWithPreprocess,Pi=it.create,Oi=a(()=>Xr().optional(),"ostring"),Ai=a(()=>Qr().optional(),"onumber"),Ni=a(()=>en().optional(),"oboolean"),Li={string:a(r=>ae.create(b(u({},r),{coerce:!0})),"string"),number:a(r=>ge.create(b(u({},r),{coerce:!0})),"number"),boolean:a(r=>ve.create(b(u({},r),{coerce:!0})),"boolean"),bigint:a(r=>xe.create(b(u({},r),{coerce:!0})),"bigint"),date:a(r=>be.create(b(u({},r),{coerce:!0})),"date")};var Ri=v;p();var tn=st;p();var ma=tn;p();p();var Ct="[MappedinJS]";function ji(r="",{prefix:e=Ct}={}){let t="".concat(e).concat(r?"-".concat(r):""),n=a((i,s)=>{if(typeof window<"u"&&window.rnDebug){let o=s.map(c=>c instanceof Error&&c.stack?"".concat(c.message,"\n").concat(c.stack):c);window.rnDebug("".concat(r," ").concat(i,": ").concat(o.join(" ")))}},"rnDebug");return{logState:_.env.NODE_ENV==="test"?3:0,log(...i){this.logState<=0&&(console.log(t,...i),n("log",i))},warn(...i){this.logState<=1&&(console.warn(t,...i),n("warn",i))},error(...i){this.logState<=2&&(console.error(t,...i),n("error",i))},assert(...i){console.assert(...i)},time(i){console.time(i)},timeEnd(i){console.timeEnd(i)},setLevel(i){0<=i&&i<=3&&(this.logState=i)}}}a(ji,"createLogger");var Vi=ji();var Oe=Vi;p();function Fi(r,e){return"".concat(e," ").concat(r)}a(Fi,"formatMessage");var yr=class yr extends Error{constructor(e,t=Ct){super(Fi(e,t)),this.name="MappedinError"}};a(yr,"MappedinError");var at=yr,gr=class gr extends at{constructor(e,t=Ct){super(e,t),this.name="MappedinRenderError"}};a(gr,"MappedinRenderError");var rn=gr;p();p();var xr=class xr extends Error{};a(xr,"InvalidTokenError");var Ae=xr;Ae.prototype.name="InvalidTokenError";function $i(r){return decodeURIComponent(atob(r).replace(/(.)/g,(e,t)=>{let n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}a($i,"b64DecodeUnicode");function Bi(r){let e=r.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return $i(e)}catch(t){return atob(e)}}a(Bi,"base64UrlDecode");function nn(r,e){if(typeof r!="string")throw new Ae("Invalid token specified: must be a string");e||(e={});let t=e.header===!0?0:1,n=r.split(".")[t];if(typeof n!="string")throw new Ae("Invalid token specified: missing part #".concat(t+1));let i;try{i=Bi(n)}catch(s){throw new Ae("Invalid token specified: invalid base64 for part #".concat(t+1," (").concat(s.message,")"))}try{return JSON.parse(i)}catch(s){throw new Ae("Invalid token specified: invalid json for part #".concat(t+1," (").concat(s.message,")"))}}a(nn,"jwtDecode");p();var Ne=63710088e-1;function Na(r){var t,n;let e=nn(r);if(e.sub==null)throw new Error("Access token is missing sub claim.");return{sub:e.sub,aud:typeof e.aud=="string"?[e.aud]:(t=e.aud)!=null?t:[],capabilities:(n=e.capabilities)!=null?n:{}}}a(Na,"decodeAccessToken");function ue(r){return r*(Math.PI/180)}a(ue,"toRadians");function Gi(r){return r*(180/Math.PI)}a(Gi,"toDegrees");function La(r,e){let t=Math.pow(10,e);return Math.sign(r)*Math.round(Math.abs(r)*t)/t}a(La,"round");function sn(r,e){return(r%e+e)%e}a(sn,"euclideanModulo");function Ra([r,e],[t,n]){let i=ue(n-e),s=ue(t-r),o=ue(e),c=ue(n),l=Math.sin(i/2)*Math.sin(i/2)+Math.sin(s/2)*Math.sin(s/2)*Math.cos(o)*Math.cos(c),d=2*Math.atan2(Math.sqrt(l),Math.sqrt(1-l));return Ne*d}a(Ra,"haversineDistance");function ja([r,e],[t,n]){let i=ue(e),s=ue(r),o=ue(n),l=ue(t)-s,d=Math.sin(l)*Math.cos(o),x=Math.cos(i)*Math.sin(o)-Math.sin(i)*Math.cos(o)*Math.cos(l);return Gi((Math.atan2(d,x)+Math.PI*2)%(Math.PI*2))}a(ja,"getForwardBearing");function Va(r,e){let t=sn(r,Math.PI*2),n=sn(e,Math.PI*2),i=n-t,s=n+(i>Math.PI?-Math.PI*2:i<-Math.PI?Math.PI*2:0);return{start:t,end:s}}a(Va,"shortestTweenRotation");function zi(r){return r instanceof gt?Number.isFinite(r.min.x)&&Number.isFinite(r.min.y)&&Number.isFinite(r.max.x)&&Number.isFinite(r.max.y):Number.isFinite(r.min.x)&&Number.isFinite(r.min.y)&&Number.isFinite(r.max.x)&&Number.isFinite(r.max.y)&&Number.isFinite(r.min.z)&&Number.isFinite(r.max.z)}a(zi,"isFiniteBox");function Fa(r,e,t,n){return(r<e||r>t)&&Oe.warn(n),Math.min(t,Math.max(e,r))}a(Fa,"clampWithWarning");function $a(r,e){if(r==null||e==null)return r===e;if(r.length!==e.length)return!1;for(let t=0;t<r.length;t++)if(r[t]!==e[t])return!1;return!0}a($a,"arraysEqual");function Ba(){return typeof window<"u"&&window!==null}a(Ba,"isBrowser");p();var It=class It extends Error{constructor(t){super(t);f(this,"name","AssertionError");Error.captureStackTrace&&Error.captureStackTrace(this,It)}};a(It,"AssertionError");var vr=It;function an(r,e){if(r==null){let t;if(e!=null&&e.customMessage)t=e.customMessage;else{let s=e!=null&&e.valueName?"'".concat(e.valueName,"'"):"value";t="Expected ".concat(s," to be defined, but received ").concat(r)}let n=(e==null?void 0:e.errorClass)||vr,i=new n(t);throw(e==null?void 0:e.captureStackTrace)!==!1&&Error.captureStackTrace&&Error.captureStackTrace(i,an),i}}a(an,"assertExists");function Wa(r,e,t){if(an(r),(r==null?void 0:r.type)!==e){let n="Expected type ".concat(e," but got ").concat(r==null?void 0:r.type);throw new Error(t!=null?t:n)}}a(Wa,"assertType");p();var br=[0,4,6,8,10],z=a(()=>{let r=new Array(16).fill(0),e=Math.random()*4294967296;for(let n=0;n<r.length;n++)n>0&&(n&3)===0&&(e=Math.random()*4294967296),r[n]=e>>>((n&3)<<3)&255;let t=r.map(n=>n.toString(16).padStart(2,"0"));return t[6]="4"+t[6][1],t[8]=["8","9","a","b"].includes(t[7][0])?t[7]:"a"+t[7][1],br.map((n,i)=>t.slice(n,i===br.length-1?void 0:br[i+1]).join("")).join("-")},"randomId");function Ha(r,e=0){let t=3735928559^e,n=1103547991^e;for(let i=0,s;i<r.length;i++)s=r.charCodeAt(i),t=Math.imul(t^s,2654435761),n=Math.imul(n^s,1597334677);return t=Math.imul(t^t>>>16,2246822507)^Math.imul(n^n>>>13,3266489909),n=Math.imul(n^n>>>16,2246822507)^Math.imul(t^t>>>13,3266489909),4294967296*(2097151&n)+(t>>>0)}a(Ha,"cyrb53");p();var Tr=class Tr{constructor(){f(this,"_subscribers",{})}publish(e,t){!this._subscribers||!this._subscribers[e]||this._subscribers[e].forEach(function(n){typeof n=="function"&&n(t)})}on(e,t){this._subscribers||(this._subscribers={}),this._subscribers[e]=this._subscribers[e]||[],this._subscribers[e].push(t)}off(e,t){if(!this._subscribers||this._subscribers[e]==null)return;let n=this._subscribers[e].indexOf(t);n!==-1&&this._subscribers[e].splice(n,1)}destroy(){this._subscribers={}}};a(Tr,"PubSub");var _r=Tr;p();var on="mi-session-data",cn="mi-local-data",ot="id",ct="deviceId",Le,U,W,ut=class ut{constructor(){B(this,U);B(this,W);try{let e=sessionStorage.getItem(on);e?C(this,U,JSON.parse(e)):C(this,U,{[ot]:z()})}catch(e){C(this,U,{[ot]:z()})}try{let e=localStorage.getItem(cn);e?C(this,W,JSON.parse(e)):C(this,W,{[ct]:z()})}catch(e){C(this,W,{[ct]:z()})}M(this,U)[ot]||(M(this,U)[ot]=z()),M(this,W)[ct]||(M(this,W)[ct]=z())}static getInstance(){return M(this,Le)||C(this,Le,new ut),M(this,Le)}static ___clearInstance(){C(this,Le,void 0)}saveSessionData(e,t){M(this,U)[e]=t;try{return sessionStorage.setItem(on,JSON.stringify(M(this,U))),!0}catch(n){return!1}}loadSessionData(e){let t=M(this,U)[e];if(t!=null)return t}saveLocalData(e,t){M(this,W)[e]=t;try{return localStorage.setItem(cn,JSON.stringify(M(this,W))),!0}catch(n){return!1}}loadLocalData(e){let t=M(this,W)[e];if(t!=null)return t}};Le=new WeakMap,U=new WeakMap,W=new WeakMap,a(ut,"SafeStorage"),B(ut,Le);var wr=ut;p();var Ui=new Set(Object.keys(je.NAMES)),kr;function un(){return kr==null&&(kr=new je),kr}a(un,"getColorInstance");var Wi=a(r=>Ui.has(r.toLowerCase()),"isX11Color"),Zi=a(r=>{if(!r.startsWith("#"))return!1;let e=r.slice(1);if(e.length!==3&&e.length!==6)return!1;for(let t=0;t<e.length;t++)if(!(e[t]>="0"&&e[t]<="9"||e[t]>="A"&&e[t]<="F"||e[t]>="a"&&e[t]<="f"))return!1;return!0},"isHexColor"),Ki=a(r=>{if(!r.startsWith("rgb(")&&!r.startsWith("rgba("))return!1;let e=r.indexOf("("),t=r.lastIndexOf(")");if(e===-1||t===-1||t<=e||t!==r.length-1)return!1;let n=r.slice(e+1,t).split(",");if(n.length!==3&&n.length!==4)return!1;for(let i=0;i<n.length;i++){let s=n[i].trim();if(i<3)if(s.endsWith("%")){let o=parseFloat(s.slice(0,-1));if(isNaN(o)||o<0||o>100)return!1}else{let o=parseInt(s,10);if(isNaN(o)||o<0||o>255)return!1}else{let o=parseFloat(s);if(isNaN(o)||o<0||o>1)return!1}}return!0},"isRgbColor"),qi=a(r=>{if(!r.startsWith("hsl(")&&!r.startsWith("hsla("))return!1;let e=r.indexOf("("),t=r.lastIndexOf(")");if(e===-1||t===-1||t<=e||t!==r.length-1)return!1;let n=r.slice(e+1,t).split(",");if(n.length!==3&&n.length!==4)return!1;for(let i=0;i<n.length;i++){let s=n[i].trim();if(i===0){let o=parseFloat(s);if(isNaN(o))return!1}else if(i<3){if(!s.endsWith("%"))return!1;let o=parseFloat(s.slice(0,-1));if(isNaN(o)||o<0||o>100)return!1}else{let o=parseFloat(s);if(isNaN(o)||o<0||o>1)return!1}}return!0},"isHslColor"),Pt=a(r=>r==null||typeof r!="string"?!1:!!(Zi(r)||Ki(r)||qi(r)||Wi(r)),"isColor"),oo=a(r=>{let e=un();return e.set(r),[e.r,e.g,e.b]},"stringToRgbArray"),co=a(r=>{let e=un();return e.set(r[0],r[1],r[2]),"#"+e.getHexString()},"rgbArrayToString");p();var ho=st.enum(["ease-in","ease-out","ease-in-out","linear"]),ln=a(r=>r,"linearEase"),Hi=a(r=>r*r,"quadEaseIn"),Ji=a(r=>1-Math.cos(r*Math.PI/2),"easeIn"),Yi=a(r=>1-(1-r)*(1-r),"quadEaseOut"),dn={linear:ln,"ease-in":Hi,"ease-out":Yi,"ease-in-out":Ji};function yo(r,e,t,n,i,s=ln){if(e===t)return i;r=Math.max(e,Math.min(r,t));let o=(r-Math.min(e,t))/Math.abs(t-e),c=typeof s=="function"?s(o):dn[s](o);return n+c*(i-n)}a(yo,"interpolate");function Xi(r,e){let t=0;if(e.length<2)return t;let i=e[0]<e[1]?(s,o)=>s>o:(s,o)=>s<o;for(;t<e.length-1&&i(r,e[t+1]);)t++;return t>e.length-2?Math.max(0,e.length-2):t}a(Xi,"getInterpolationBreakpoint");function go(r,e,t,n="ease-in"){if(e.length!==t.length)throw new at("Input and output ranges must have the same number of values.");r=Math.max(e[0],Math.min(r,e[e.length-1]));let i=Xi(r,e),s=(r-e[i])/(e[i+1]-e[i]),o=typeof n=="function"?n(s):dn[n](s);return t[i]+o*(t[i+1]-t[i])}a(go,"interpolateMulti");p();p();function Qi(r){return(r%(2*Math.PI)+2*Math.PI)%(2*Math.PI)}a(Qi,"normalizeAngle");p();p();p();p();p();p();p();p();var O=63710088e-1,pn={centimeters:O*100,centimetres:O*100,degrees:O/111325,feet:O*3.28084,inches:O*39.37,kilometers:O/1e3,kilometres:O/1e3,meters:O,metres:O,miles:O/1609.344,millimeters:O*1e3,millimetres:O*1e3,nauticalmiles:O/1852,radians:1,yards:O*1.0936},Vo={centimeters:100,centimetres:100,degrees:1/111325,feet:3.28084,inches:39.37,kilometers:1/1e3,kilometres:1/1e3,meters:1,metres:1,miles:1/1609.344,millimeters:1e3,millimetres:1e3,nauticalmiles:1/1852,radians:1/O,yards:1.0936133};function re(r,e,t){t===void 0&&(t={});var n={type:"Feature"};return(t.id===0||t.id)&&(n.id=t.id),t.bbox&&(n.bbox=t.bbox),n.properties=e||{},n.geometry=r,n}a(re,"feature");function es(r,e,t){if(t===void 0&&(t={}),!r)throw new Error("coordinates is required");if(!Array.isArray(r))throw new Error("coordinates must be an Array");if(r.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!fn(r[0])||!fn(r[1]))throw new Error("coordinates must contain numbers");var n={type:"Point",coordinates:r};return re(n,e,t)}a(es,"point");function Fo(r,e,t){t===void 0&&(t={});for(var n=0,i=r;n<i.length;n++){var s=i[n];if(s.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var o=0;o<s[s.length-1].length;o++)if(s[s.length-1][o]!==s[0][o])throw new Error("First and last Position are not equivalent.")}var c={type:"Polygon",coordinates:r};return re(c,e,t)}a(Fo,"polygon");function mn(r,e,t){if(t===void 0&&(t={}),r.length<2)throw new Error("coordinates must be an array of two or more positions");var n={type:"LineString",coordinates:r};return re(n,e,t)}a(mn,"lineString");function $o(r,e){e===void 0&&(e={});var t={type:"FeatureCollection"};return e.id&&(t.id=e.id),e.bbox&&(t.bbox=e.bbox),t.features=r,t}a($o,"featureCollection");function Bo(r,e,t){t===void 0&&(t={});var n={type:"MultiLineString",coordinates:r};return re(n,e,t)}a(Bo,"multiLineString");function Go(r,e,t){t===void 0&&(t={});var n={type:"MultiPoint",coordinates:r};return re(n,e,t)}a(Go,"multiPoint");function zo(r,e,t){t===void 0&&(t={});var n={type:"MultiPolygon",coordinates:r};return re(n,e,t)}a(zo,"multiPolygon");function Uo(r,e){e===void 0&&(e="kilometers");var t=pn[e];if(!t)throw new Error(e+" units is invalid");return r*t}a(Uo,"radiansToLength");function Wo(r,e){e===void 0&&(e="kilometers");var t=pn[e];if(!t)throw new Error(e+" units is invalid");return r/t}a(Wo,"lengthToRadians");function Zo(r){var e=r%(2*Math.PI);return e*180/Math.PI}a(Zo,"radiansToDegrees");function Ko(r){var e=r%360;return e*Math.PI/180}a(Ko,"degreesToRadians");function fn(r){return!isNaN(r)&&r!==null&&!Array.isArray(r)}a(fn,"isNumber");function lt(r,e,t){if(r!==null)for(var n,i,s,o,c,l,d,x=0,E=0,A,R=r.type,K=R==="FeatureCollection",fe=R==="Feature",Rt=K?r.features.length:1,pe=0;pe<Rt;pe++){d=K?r.features[pe].geometry:fe?r.geometry:r,A=d?d.type==="GeometryCollection":!1,c=A?d.geometries.length:1;for(var jt=0;jt<c;jt++){var q=0,me=0;if(o=A?d.geometries[jt]:d,o!==null){l=o.coordinates;var ne=o.type;switch(x=t&&(ne==="Polygon"||ne==="MultiPolygon")?1:0,ne){case null:break;case"Point":if(e(l,E,pe,q,me)===!1)return!1;E++,q++;break;case"LineString":case"MultiPoint":for(n=0;n<l.length;n++){if(e(l[n],E,pe,q,me)===!1)return!1;E++,ne==="MultiPoint"&&q++}ne==="LineString"&&q++;break;case"Polygon":case"MultiLineString":for(n=0;n<l.length;n++){for(i=0;i<l[n].length-x;i++){if(e(l[n][i],E,pe,q,me)===!1)return!1;E++}ne==="MultiLineString"&&q++,ne==="Polygon"&&me++}ne==="Polygon"&&q++;break;case"MultiPolygon":for(n=0;n<l.length;n++){for(me=0,i=0;i<l[n].length;i++){for(s=0;s<l[n][i].length-x;s++){if(e(l[n][i][s],E,pe,q,me)===!1)return!1;E++}me++}q++}break;case"GeometryCollection":for(n=0;n<o.geometries.length;n++)if(lt(o.geometries[n],e,t)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}a(lt,"coordEach");function Qo(r,e,t,n){var i=t;return lt(r,function(s,o,c,l,d){o===0&&t===void 0?i=s:i=e(i,s,o,c,l,d)},n),i}a(Qo,"coordReduce");function ec(r,e){if(r.type==="Feature")e(r,0);else if(r.type==="FeatureCollection")for(var t=0;t<r.features.length&&e(r.features[t],t)!==!1;t++);}a(ec,"featureEach");function ts(r,e){var t,n,i,s,o,c,l,d,x,E,A=0,R=r.type==="FeatureCollection",K=r.type==="Feature",fe=R?r.features.length:1;for(t=0;t<fe;t++){for(c=R?r.features[t].geometry:K?r.geometry:r,d=R?r.features[t].properties:K?r.properties:{},x=R?r.features[t].bbox:K?r.bbox:void 0,E=R?r.features[t].id:K?r.id:void 0,l=c?c.type==="GeometryCollection":!1,o=l?c.geometries.length:1,i=0;i<o;i++){if(s=l?c.geometries[i]:c,s===null){if(e(null,A,d,x,E)===!1)return!1;continue}switch(s.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(e(s,A,d,x,E)===!1)return!1;break}case"GeometryCollection":{for(n=0;n<s.geometries.length;n++)if(e(s.geometries[n],A,d,x,E)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}A++}}a(ts,"geomEach");function rs(r,e){ts(r,function(t,n,i,s,o){var c=t===null?null:t.type;switch(c){case null:case"Point":case"LineString":case"Polygon":return e(re(t,i,{bbox:s,id:o}),n,0)===!1?!1:void 0}var l;switch(c){case"MultiPoint":l="Point";break;case"MultiLineString":l="LineString";break;case"MultiPolygon":l="Polygon";break}for(var d=0;d<t.coordinates.length;d++){var x=t.coordinates[d],E={type:l,coordinates:x};if(e(re(E,i),n,d)===!1)return!1}})}a(rs,"flattenEach");function ns(r,e){rs(r,function(t,n,i){var s=0;if(t.geometry){var o=t.geometry.type;if(!(o==="Point"||o==="MultiPoint")){var c,l=0,d=0,x=0;if(lt(t,function(E,A,R,K,fe){if(c===void 0||n>l||K>d||fe>x){c=E,l=n,d=K,x=fe,s=0;return}var Rt=mn([c,E],t.properties);if(e(Rt,n,i,fe,s)===!1)return!1;s++,c=E})===!1)return!1}}})}a(ns,"segmentEach");function tc(r,e,t){var n=t,i=!1;return ns(r,function(s,o,c,l,d){i===!1&&t===void 0?n=s:n=e(n,s,o,c,l,d),i=!0}),n}a(tc,"segmentReduce");function Er(r){var e=[1/0,1/0,-1/0,-1/0];return lt(r,function(t){e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]<t[0]&&(e[2]=t[0]),e[3]<t[1]&&(e[3]=t[1])}),e}a(Er,"bbox");Er.default=Er;var hn=Er;function yn(r){return hn(r)}a(yn,"getBoundingBoxFromFeature");p();var Sr="#ffffff",is=.1,Ot=.1,dt,ft,pt,Dr=class Dr{constructor(e={}){f(this,"initialColor",Sr);B(this,dt,Sr);f(this,"initialTopColor");B(this,ft);f(this,"topTexture");f(this,"texture");B(this,pt);f(this,"dirty",!0);f(this,"visible",!0);f(this,"opacity",1);f(this,"width",is);f(this,"height",Ot);f(this,"initialHeight",Ot);f(this,"altitude",0);f(this,"join","round");f(this,"cap","round");f(this,"showImage",!0);f(this,"flipImageToFaceCamera",!0);f(this,"url");f(this,"side","double");f(this,"renderOrder",0);f(this,"shading");this.color=(e==null?void 0:e.color)!==void 0?e.color:this.color,this.initialColor=this.color,this.width=(e==null?void 0:e.width)!==void 0?e.width:this.width,this.opacity=(e==null?void 0:e.opacity)!==void 0?e.opacity:this.opacity,this.visible=(e==null?void 0:e.visible)!==void 0?e.visible:this.visible,this.height=(e==null?void 0:e.height)!==void 0?e.height:this.height,this.initialHeight=this.height,this.altitude=(e==null?void 0:e.altitude)!==void 0?e.altitude:this.altitude,this.join=(e==null?void 0:e.join)!==void 0?e.join:this.join,this.cap=(e==null?void 0:e.cap)!==void 0?e.cap:this.cap,this.topColor=e==null?void 0:e.topColor,this.initialTopColor=this.topColor,this.texture=e==null?void 0:e.texture,this.topTexture=e==null?void 0:e.topTexture,this.showImage=(e==null?void 0:e.showImage)!==void 0?e.showImage:this.showImage,this.flipImageToFaceCamera=(e==null?void 0:e.flipImageToFaceCamera)!==void 0?e.flipImageToFaceCamera:this.flipImageToFaceCamera,this.url=e==null?void 0:e.url,this.side=(e==null?void 0:e.side)!==void 0?e.side:this.side,this.renderOrder=(e==null?void 0:e.renderOrder)!==void 0?e.renderOrder:this.renderOrder,this.shading=e==null?void 0:e.shading}set color(e){Pt(e)?C(this,dt,e):Oe.warn('Failed to update color. Invalid color "'.concat(e,'".'))}get color(){return M(this,dt)}set topColor(e){e===void 0||Pt(e)?C(this,ft,e):Oe.warn('Failed to update top color. Invalid color "'.concat(e,'".'))}get topColor(){return M(this,ft)}set hoverColor(e){Pt(e)?C(this,pt,e):Oe.warn('Failed to update hover color. Invalid color "'.concat(e,'".'))}get hoverColor(){return M(this,pt)}};dt=new WeakMap,ft=new WeakMap,pt=new WeakMap,a(Dr,"StyleComponent");var Mr=Dr;var Cr=class Cr extends Gr{constructor(){super(...arguments);f(this,"type","entityBatchedMesh");f(this,"userData",{entities:{}})}};a(Cr,"EntityBatchedMesh");var At=Cr,mt,Re,Ir=class Ir{constructor(e){f(this,"mesh");f(this,"imageMesh");f(this,"textMesh");f(this,"textEntityId");f(this,"type","geometry");f(this,"dirty",!0);f(this,"detached",!1);f(this,"instanceIndex",-1);f(this,"geometry");f(this,"batchedProps");f(this,"material");f(this,"feature");f(this,"currentHeight",Ot);f(this,"color",new je);f(this,"topColor",new je);f(this,"position",new P);f(this,"altitude",0);B(this,mt,1);B(this,Re);f(this,"texturesVisible",!1);this.feature=e}get visible(){return this.mesh&&this.instanceIndex!==-1?this.mesh.getVisibleAt(this.instanceIndex):!1}set visible(e){this.mesh&&this.instanceIndex!==-1&&this.mesh.setVisibleAt(this.instanceIndex,e)}get renderOrder(){return this.mesh?this.mesh.renderOrder:0}set renderOrder(e){this.mesh&&(this.mesh.renderOrder=e)}setColor(e,t){this.color.set(e),this.topColor.set(t),this.material&&this.material.setColor(this.instanceIndex,this.color,this.topColor)}getColor(){var e;return(e=this.material)==null?void 0:e.getColor(this.instanceIndex)}get opacity(){return M(this,mt)}set opacity(e){if(this.material&&(this.material.opacity=e,this.material.transparent=e<1,this.material.needsUpdate=!0),this.imageMesh){let t=Array.isArray(this.imageMesh.material)?this.imageMesh.material:[this.imageMesh.material];for(let n of t)n.opacity=e,n.needsUpdate=!0}C(this,mt,e)}get texture(){var e,t;return(t=(e=this.material)==null?void 0:e.texture)==null?void 0:t.image.src}set texture(e){this.material&&(this.material.texture=e)}get textureInstance(){var e;return(e=this.material)==null?void 0:e.texture}set topTexture(e){this.material&&(this.material.topTexture=e)}get topTexture(){var e,t;return(t=(e=this.material)==null?void 0:e.topTexture)==null?void 0:t.image.src}get topTextureInstance(){var e;return(e=this.material)==null?void 0:e.topTexture}set blendTexture(e){this.material&&(this.material.blendTexture=e)}get featureBbox(){return M(this,Re)?M(this,Re):(C(this,Re,yn(this.feature)),M(this,Re))}showTextures(){this.material&&(this.material.showTextures(this.instanceIndex),this.texturesVisible=!0)}hideTextures(){this.material&&(this.material.hideTextures(this.instanceIndex),this.texturesVisible=!1)}removeSideTexture(){this.material&&this.material.removeSideTexture(this.instanceIndex)}removeTopTexture(){this.material&&this.material.removeTopTexture(this.instanceIndex)}};mt=new WeakMap,Re=new WeakMap,a(Ir,"MeshComponent");var gn=Ir;var Pr=class Pr extends ie{constructor(t){super();f(this,"visible",!0);f(this,"type","geometry-group");f(this,"components",[]);f(this,"userData",{entityId:"",entities3D:new Set,dirty:!0,shadingDirty:!0});this.userData.entityId=t}setVisible(t){this.visible!==t&&(this.visible=t,this.dispatchEvent({type:"childremoved",child:this}))}removeEntity(){this.dispatchEvent({type:"childremoved",child:this})}getfirstChildEntityId(){let t;for(let i of this.children)if(!i.userData.detached){t=i;break}return t instanceof At?Object.values(t.userData.entities)[0]:void 0}setAltitude(t){this.position.z!==t&&(this.position.z=t,this.dispatchEvent({type:"childremoved",child:this}))}get altitude(){return this.position.z}};a(Pr,"GeometryGroupObject3D");var Z=Pr;p();var Or=class Or extends ie{};a(Or,"Geometry2DObject3D");var le=Or,Ar=class Ar{constructor(e,t,n=0){f(this,"id");f(this,"verticalOffset");f(this,"occluderId");f(this,"object3d",new le);f(this,"components");f(this,"disposed",!1);f(this,"worldPosition",new P);this.id=e.id||z(),this.components=[e],this.verticalOffset=n,this.object3d=new le,this.object3d.position.set(t.x,t.y,t.z+n),this.object3d.userData.entityId=this.id,this.object3d.userData.type=this.type,this.positionDirty=!0}get type(){return this.components[0].type}get parentObject3D(){return this.object3d.parent}get attachedTo(){return this.object3d.userData.attachedEntityId}get position(){return this.positionDirty&&(this.object3d.matrixAutoUpdate=!0,this.object3d.getWorldPosition(this.worldPosition),this.positionDirty=!1,this.object3d.matrixAutoUpdate=!1),this.worldPosition}get positionDirty(){return this.object3d.userData.worldPositionDirty}set positionDirty(e){this.object3d.userData.worldPositionDirty=e}updatePosition(e){this.object3d.position.copy(e),this.positionDirty=!0}setAltitude(e){this.object3d.position.z=e,this.positionDirty=!0}};a(Ar,"Geometry2D");var ht=Ar;p();var Nr=class Nr extends ie{constructor(){super(...arguments);f(this,"type","geometry");f(this,"userData",{entityId:"",type:"geometry"})}raycast(t,n){this.userData.type==="model"&&this.children[0]&&t.intersectObject(this.children[0],!0).forEach(i=>{n.push(i)})}};a(Nr,"Geometry3DObject3D");var Nt=Nr,Lr=class Lr{constructor(e,t){f(this,"id",z());f(this,"components");f(this,"entities2D",new Map);this.components=[e,t]}get object3d(){return this.components[0].mesh}get parentObject3D(){var e;return(e=this.components[0].mesh)==null?void 0:e.parent}get type(){return this.components[0].type}attach(e){this.parentObject3D instanceof Z?e.object3d.userData.attachedEntityId=this.id:this.entities2D.set(e.id,e)}detach(e){this.parentObject3D instanceof Z&&(e.object3d.userData.parentEntityId=void 0),this.entities2D.delete(e.id)}removeAllEntities(){for(let e of this.entities2D.values())this.detach(e)}};a(Lr,"Geometry3D");var yt=Lr;var qe=class qe extends ie{constructor(t){super();f(this,"childrenIds",new Set);f(this,"children",[]);f(this,"type","group-container");f(this,"userData",{entityId:"",entities2D:new Set,dirty:!0,occluderDirty:!1,opacity:1,computedOpacity:1,preloadGeometry:!1});f(this,"components",[]);this.userData.entityId=t}addOccluderFeature(t,n){this.userData.occluderFeature=t,this.userData.occluderId=n,this.userData.occluderDirty=!0}addEntity(t){t instanceof qe?(this.childrenIds.add(t.userData.entityId),this.add(t)):t instanceof ht?(this.childrenIds.add(t.id),this.add(t.object3d),this.userData.entities2D.add(t.id),t.positionDirty=!0):t instanceof Z?(this.childrenIds.add(t.userData.entityId),this.add(t)):t instanceof yt&&t.object3d&&(this.childrenIds.add(t.id),this.add(t.object3d)),this.dispatchEvent({type:"childadded",child:this})}removeEntity(t){t instanceof qe?(this.childrenIds.delete(t.userData.entityId),this.remove(t)):t instanceof ht?(this.childrenIds.delete(t.id),this.userData.entities2D.delete(t.id),this.remove(t.object3d)):t instanceof Z?(this.childrenIds.delete(t.userData.entityId),this.remove(t)):t instanceof yt&&t.object3d&&(this.childrenIds.delete(t.id),this.add(t.object3d)),this.dispatchEvent({type:"childremoved",child:this})}setVisible(t){this.visible!==t&&(this.visible=t,this.dispatchEvent({type:"childremoved",child:this}))}setAltitude(t){this.position.z!==t&&(this.position.z=t,this.dispatchEvent({type:"childremoved",child:this}),this.set2DGeometryChildrenPositionDirty())}set2DGeometryChildrenPositionDirty(){this.children.forEach(t=>{t instanceof le?t.userData.worldPositionDirty=!0:t instanceof qe&&t.set2DGeometryChildrenPositionDirty()})}get altitude(){return this.position.z}setOpacity(t){this.userData.opacity=t}get opacity(){return this.userData.opacity}};a(qe,"GroupContainerObject3D");var He=qe;p();var Kc={top:0,bottom:0,left:0,right:0,type:"pixel"},xn="mappedin";var qc={ALWAYS_ON_TOP:10},Hc=250;p();function ss(r){let e=r.min,t=r.max,n=new P(e.x,e.y,e.z),i=new P(t.x,e.y,e.z),s=new P(e.x,t.y,e.z),o=new P(t.x,t.y,e.z);return[n,i,s,o]}a(ss,"getCornersOfBoundingBox");p();function vn(r,e){let t;return typeof e=="string"||typeof e=="number"?(t=r.geometry2DMap.get(e),t==null&&(t=r.geometry3DMap.get(e))):typeof(e==null?void 0:e.id)=="string"||typeof(e==null?void 0:e.id)=="number"?(t=r.geometry2DMap.get(e.id),t==null&&(t=r.geometry3DMap.get(e.id))):t=e,t}a(vn,"getGeometryByGeometryId");function nu(r,e,t=[],n=new Vt,i){(r.getSystems().renderSystem.threeDdirty||r.getSystems().renderSystem.twoDdirty)&&r.renderSync();let s=vn(r.getInternalState(),e);return bn(s,t,n,i),t}a(nu,"getVerticesOfEntity");var Lt=new P;function bn(r,e=[],t=new Vt,n){if(r.visible){if(r.isMesh||r.isLine||r.isPoints){let i=r.geometry;if(i.isBufferGeometry){let s=i.attributes.position;for(let o=0;o<s.count;o++)Lt.fromBufferAttribute(s,o),n!==void 0&&(Lt.z=n),e.push(Lt.clone()),t.expandByPoint(Lt)}}for(let i of r.children)bn(i,e,t,n)}}a(bn,"traverse");p();function as(){return typeof window>"u"?1:Math.min(window.devicePixelRatio,2)}a(as,"getPixelRatio");p();function os(r,e,t=!1){let n=null,i=0;return function(...s){i++,i===1&&t===!0&&r(...s);let o=a(()=>{(!t||i>1)&&r(...s),n=null,i=0},"later");clearTimeout(n),n=setTimeout(o,e)}}a(os,"debounce");p();var cs=(()=>{let r;return{getDeviceType(){if(r)return r;let{userAgent:e,platform:t,maxTouchPoints:n}=window.navigator,i=/(iphone|ipod|ipad)/i.test(e),s=t==="iPad"||t.indexOf("Mac")===0&&n>0&&!window.MSStream,o=/android/i.test(e);return r={isIpad:s,isMobile:o||i||s,isSafari12:/Version\/12.+Safari/.test(e),isFirefox:/Firefox/.test(e),isWindows:/windows/i.test(e)},r},_reset(){r=void 0}}})(),_n=cs.getDeviceType,Tn=(()=>{let r,e,t;function n(){if(e!==void 0)return e;r||(r=document.createElement("canvas"));let s=r.getContext("webgl")||r.getContext("experimental-webgl");if(!s)return e;try{let o=_n().isFirefox?null:s.getExtension("WEBGL_debug_renderer_info");return e=o?s.getParameter(o.UNMASKED_RENDERER_WEBGL):s.getParameter(s.RENDERER),e}catch(o){let c=new Error("Failed getting device info");throw c.name="FailedGettingDeviceInfo",c}}a(n,"getInfo");function i(){var o,c;if(!_n().isWindows)return!1;if(t!==void 0)return t;let s=(c=(o=us())==null?void 0:o.toLowerCase())!=null?c:"";return t=s.includes("intel")&&(s.includes("uhd")||s.includes("iris")),t}return a(i,"shouldDisableOffscreenCanvas"),{getInfo:n,shouldDisableOffscreenCanvas:i,_setCanvas(s){r=s,e=void 0,t=void 0}}})(),us=Tn.getInfo,ls=Tn.shouldDisableOffscreenCanvas;p();function ds(r,e){let t={};for(let n=0;n<e.length;n++){let i=e[n];i in r&&(t[i]=r[i])}return t}a(ds,"pick");function fs(r){return Object.keys(r).length===0}a(fs,"isEmpty");p();var ps=a(r=>e=>{if(!e.includes("mappedin")){let t={};for(let n in r){let i=r[n];e.includes("mappedin")||(r[n]=i)}return{url:e,headers:t}}return{url:e,headers:r}},"transformRequest");function Pu(r,e,t,n){let i=r*(Math.PI/180),s=n/Ne,o=r+s*180/Math.PI,c=t/Ne/Math.cos(i),l=e+c*180/Math.PI;return{lat:o,lon:l}}a(Pu,"cartesianToGeographic");function Ou(r,e,t,n){let i=t*(Math.PI/180),s=n*(Math.PI/180),o=r*(Math.PI/180),c=e*(Math.PI/180),l=i-o,d=s-c,x=Ne*d*Math.cos(o),E=Ne*l;return{x,y:E}}a(Ou,"geographicToCartesian");var ms=a((r,e,t)=>{var n;if(r.children&&(r.visible||r instanceof He&&r.userData.preloadGeometry))for(let i of r.children){if(i.visible&&i.type)if("entities3D"in i.userData&&((n=i.userData)!=null&&n.entities3D)&&i instanceof Z){e.add(i.userData.entityId),i.userData.dirty&&t.add(i.userData.entityId);for(let s of i.userData.entities3D.values())e.add(s)}else(i.type==="group-container"||i.type==="custom-geometry"||i instanceof Nt)&&e.add(i.userData.entityId);ms(i,e,t)}return e},"populateGeometry3DIdsInScene"),hs=a((r,e)=>{var t;if(r.children&&r.visible&&!((t=r.userData)!=null&&t.hidden))for(let n of r.children)n.visible&&n instanceof le&&e.add(n.userData.entityId),hs(n,e);return e},"populateGeometry2DIdsInScene");function ys(r,e){for(let t in e){if(e[t]==null){r[t]=void 0;continue}typeof e[t]=="object"?ys(r[t],e[t]):r[t]=e[t]}return r}a(ys,"mergeObjects");function Au(r,e,t){let n={translateX:r.x,translateY:r.y,translateZ:r.z,scale:r.meterInMercatorCoordinateUnits()},i=new Ft,s=new P(n.scale,-n.scale,n.scale),o=new Ft().makeTranslation(n.translateX,n.translateY,n.translateZ).scale(s);return{id:xn,type:"custom",renderingMode:"3d",render:a((c,l)=>{i.fromArray(l.defaultProjectionData.mainMatrix),e.projectionMatrix=i.multiply(o),t()},"render")}}a(Au,"createCustomLayer");function gs(r){return fetch(r,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({grant_type:"client_credentials"})})}a(gs,"fetchToken");async function Nu(r){let e=await gs(r),{access_token:t}=await e.json();return{"x-mappedin-tiles-key":t}}a(Nu,"getRequestHeaders");function Lu(r,e=0){let t=3735928559^e,n=1103547991^e;for(let i=0,s;i<r.length;i++)s=r.charCodeAt(i),t=Math.imul(t^s,2654435761),n=Math.imul(n^s,1597334677);return t=Math.imul(t^t>>>16,2246822507)^Math.imul(n^n>>>13,3266489909),n=Math.imul(n^n>>>16,2246822507)^Math.imul(t^t>>>13,3266489909),4294967296*(2097151&n)+(t>>>0)}a(Lu,"cyrb53");function Ru(r,e,t){let n=r*(Math.PI/180)/2,i=e/2;return t*Math.tan(n)/i}a(Ru,"getProjectionScaleFactor");function ju(r){return new zr(new Bt(r[0][0],r[0][1]),new Bt(r[1][0],r[1][1])).getCenter().toArray()}a(ju,"getBoundingBoxCenter");function Vu(r,e){return r<e||e<=12}a(Vu,"shouldExpandZoomLevel");function Fu(r){let e=1;return r.type==="geometry-group"&&r.parent!=null&&r.parent instanceof He?e=r.parent.userData.computedOpacity:(r.type==="geometry"||r.type==="custom-geometry"||r.type==="model")&&r.parentObject3D!=null&&r.parentObject3D instanceof Z&&r.parentObject3D.parent!=null&&r.parentObject3D.parent instanceof He&&(e=r.parentObject3D.parent.userData.computedOpacity),e}a(Fu,"getGroupContainerOpacity");function $u(r,e,t=1e-10){if(r.length!==e.length)return!1;let n=Math.abs(r[0]-e[0])<t,i=Math.abs(r[1]-e[1])<t;if(r.length===3&&e.length===3){let s=Math.abs(r[2]-e[2])<t;return n&&i&&s}return n&&i}a($u,"coordinatesEqual");var xs="maplibre-frustum-culling-hack";function Bu(){let r=new Br(.01,.01,.01),e=new $r({opacity:0,depthWrite:!1,transparent:!0}),t=new $t(r,e);return t.position.copy(new P(0,50,0)),t.frustumCulled=!1,t.name=xs,t}a(Bu,"maplibreFrustrumCullHack");var de=new P,wn=new Je;function Gu(r,e,t=new gt){return r.traverse(n=>{if(n instanceof $t){let s=n.geometry.attributes.position;if(e.position.distanceTo(n.position)<e.near)return;for(let c=0;c<s.count;c++)de.fromBufferAttribute(s,c),de.applyMatrix4(n.matrixWorld),de.applyMatrix4(e.matrixWorldInverse),de.applyMatrix4(e.projectionMatrix),de.z<1&&de.z>0&&(wn.set(de.x,de.y),t.expandByPoint(wn))}}),t}a(Gu,"projectToBox2D");function kn(r,e){let t=e.clientWidth,n=e.clientHeight;return new Je((r.x+1)*t/2,(1-r.y)*n/2)}a(kn,"ndcToScreen");function zu(r,e,t){let n=document.createElement("div");n.style.position="absolute",n.style.border="2px solid ".concat(e),n.style.pointerEvents="none";let i=kn(new Je(r.min.x,r.min.y),t),s=kn(new Je(r.max.x,r.max.y),t);n.style.left="".concat(i.x,"px"),n.style.top="".concat(s.y,"px");let o=Math.abs(s.x-i.x),c=Math.abs(s.y-i.y);return n.style.width="".concat(o,"px"),n.style.height="".concat(c,"px"),t.appendChild(n),n}a(zu,"drawProjectedBox");p();var jr=class jr{constructor(e){f(this,"visible");f(this,"altitude");f(this,"color");f(this,"dirty",!0);f(this,"maxWidth");f(this,"maxHeight");f(this,"hoverByPolygon");f(this,"flipToFaceCamera",En.flipToFaceCamera);f(this,"font");f(this,"fillOpacity");f(this,"fontSize");f(this,"margin");f(this,"outlineWidth");f(this,"outlineBlur");f(this,"outlineOffsetX");f(this,"strokeColor");f(this,"strokeOpacity");f(this,"strokeWidth");f(this,"hoverColor");f(this,"outlineOffsetY");f(this,"outlineColor");f(this,"outlineOpacity");e&&Object.assign(this,e)}getState(e=!1){let t={};for(let n in this)!e&&n==="dirty"||this[n]!==void 0&&(t[n]=this[n]);return t}};a(jr,"Text3DStyleComponent");var Rr=jr,En=Object.freeze({visible:!0,color:"black",flipToFaceCamera:!0,fillOpacity:1,font:void 0,fontSize:2,margin:[.2,1,.2,1.5],outlineColor:"black",outlineOpacity:1,outlineWidth:0,outlineOffsetX:0,outlineOffsetY:0,outlineBlur:0,strokeOpacity:1,strokeWidth:0,maxWidth:void 0,maxHeight:void 0,strokeColor:"black",hoverColor:void 0});p();p();var Fr=class Fr{constructor(e){f(this,"dirty",!0);f(this,"visible",!0);f(this,"opacity",1);f(this,"verticalOffset",0);f(this,"interactive",!1);f(this,"color");f(this,"material");f(this,"rotation");f(this,"scale");e&&Object.assign(this,e)}};a(Fr,"ModelStyleComponnet");var Vr=Fr;p();var vs=[1,1,1],bs=[0,0,0];export{z as a,Ha as b,Oe as c,at as d,rn as e,Ne as f,Na as g,ue as h,La as i,Ra as j,ja as k,Va as l,zi as m,Fa as n,$a as o,Ba as p,_s as q,Wa as r,_r as s,wr as t,Pt as u,oo as v,co as w,st as x,ma as y,ho as z,ln as A,Ji as B,yo as C,Xi as D,go as E,re as F,es as G,Fo as H,mn as I,$o as J,Bo as K,Go as L,zo as M,Uo as N,Wo as O,Zo as P,Ko as Q,lt as R,Qo as S,ec as T,rs as U,tc as V,hn as W,Sr as X,Mr as Y,At as Z,gn as _,Z as $,le as aa,ht as ba,Nt as ca,yt as da,He as ea,Kc as fa,xn as ga,qc as ha,Hc as ia,ss as ja,vn as ka,nu as la,as as ma,os as na,ls as oa,ds as pa,fs as qa,ps as ra,Qi as sa,Pu as ta,Ou as ua,ms as va,hs as wa,ys as xa,Au as ya,Nu as za,Lu as Aa,Ru as Ba,ju as Ca,Vu as Da,Fu as Ea,$u as Fa,Bu as Ga,Gu as Ha,zu as Ia,Rr as Ja,En as Ka,Vr as La,vs as Ma,bs as Na};
|
package/lib/esm/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.mappedin__smart-collision-engine__container{position:absolute;left:0;top:0;bottom:0;right:0;pointer-events:none;transform-style:preserve-3d;font-family:InterUI-Regular,Helvetica,Arial,sans-serif}.mappedin__smart-collision-engine-debug__container{position:absolute;left:0;top:0;bottom:0;right:0;transition:opacity .3s ease-in-out;pointer-events:none;will-change:opacity}.mappedin__smart-collision-engine-debug__container.interacting{opacity:.2}.mappedin-map .mappedin-interactive{cursor:grab}.mappedin-map .mappedin-interactive:active{cursor:grabbing}.mappedin-map .mappedin-interactive.mappedin-interaction-hover{cursor:pointer}.mappedin-marker{font-family:InterUI-Regular,Helvetica,Arial,sans-serif;font-weight:400;top:0;position:absolute;font-weight:700;color:#000;display:flex;flex-direction:row;will-change:transform,opacity;transition:opacity .15s ease-in-out;justify-content:center;opacity:0}.mappedin-marker[data-anchor=low-priority-pin]>.mappedin-marker-content{visibility:hidden}.mappedin-marker:before{content:"";display:none;border-radius:50%;position:relative;width:var(--mappedin-pin-size, 2px);height:var(--mappedin-pin-size, 2px);background-color:var(--pin-color, #666)}.mappedin-marker[data-anchor=low-priority-pin]:before{display:block}.mappedin-map .mappedin-control-container{position:absolute;left:0;top:0;bottom:0;right:0;pointer-events:none;font-family:InterUI-Regular,Helvetica,Arial,sans-serif}.mappedin-map .mappedin-control-container .mappedin-ctrl-top-left,.mappedin-map .mappedin-control-container .mappedin-ctrl-top-right,.mappedin-map .mappedin-control-container .mappedin-ctrl-bottom-left,.mappedin-map .mappedin-control-container .mappedin-ctrl-bottom-right{position:absolute;pointer-events:none}.mappedin-map .mappedin-control-container .mappedin-ctrl-top-left{top:0;left:0}.mappedin-map .mappedin-control-container .mappedin-ctrl-top-right{top:0;right:0}.mappedin-map .mappedin-control-container .mappedin-ctrl-bottom-left{bottom:0;left:0}.mappedin-map .mappedin-control-container .mappedin-ctrl-bottom-right{bottom:0;right:0}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib{display:block;position:relative;pointer-events:auto;font:9px/11px InterUI-Regular,Helvetica,Arial,sans-serif;padding:3px 5px 1px;background-color:#ffffff80;margin:0;min-width:11px;min-height:11px;-webkit-user-select:none;user-select:none}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib summary.mappedin-ctrl-attrib-button{-webkit-appearance:none;appearance:none;list-style:none}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib summary.mappedin-ctrl-attrib-button::-webkit-details-marker{display:none}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib.mappedin-compact .mappedin-ctrl-attrib-button,.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib.mappedin-compact-show .mappedin-ctrl-attrib-inner{display:inline-block}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib.mappedin-compact{background-color:transparent}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib.mappedin-compact-show{min-width:15px;min-height:15px;box-sizing:border-box;background-color:#ffffff80}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-top-left{float:left;border-bottom-right-radius:4px}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-top-right{float:right;border-bottom-left-radius:4px}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-bottom-left{float:left;border-top-right-radius:4px}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-bottom-right{float:right;border-top-left-radius:4px}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-top-left,.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-bottom-left{padding:3px 5px 1px 20px}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-inner{display:inline-block;margin-right:12px}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-inner,.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-inner a{color:#000000bf;text-decoration:none}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-inner-bold,.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-inner-bold a{font-weight:700}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-inner a:hover{color:#017ef1;text-decoration:underline;cursor:pointer}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-button{display:none;cursor:pointer;position:absolute;width:15px;height:15px;box-sizing:border-box;border-radius:50%;top:0;right:2px;border:1px}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-top-left .mappedin-ctrl-attrib-button,.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-bottom-left .mappedin-ctrl-attrib-button{left:2px}.maplibregl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0 0 0 / 0%)}.maplibregl-canvas{position:absolute;left:0;top:0}.maplibregl-map:fullscreen{width:100%;height:100%}.maplibregl-ctrl-group button.maplibregl-ctrl-compass{touch-action:none}.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:grab;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}.maplibregl-canvas-container.maplibregl-interactive:active,.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active{cursor:grabbing}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-canvas-container.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:pinch-zoom}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:none}.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures,.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-ctrl-top-left,.maplibregl-ctrl-top-right,.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right{position:absolute;pointer-events:none;z-index:2}.maplibregl-ctrl-top-left{top:0;left:0}.maplibregl-ctrl-top-right{top:0;right:0}.maplibregl-ctrl-bottom-left{bottom:0;left:0}.maplibregl-ctrl-bottom-right{right:0;bottom:0}.maplibregl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.maplibregl-ctrl-top-left .maplibregl-ctrl{margin:10px 0 0 10px;float:left}.maplibregl-ctrl-top-right .maplibregl-ctrl{margin:10px 10px 0 0;float:right}.maplibregl-ctrl-bottom-left .maplibregl-ctrl{margin:0 0 10px 10px;float:left}.maplibregl-ctrl-bottom-right .maplibregl-ctrl{margin:0 10px 10px 0;float:right}.maplibregl-ctrl-group{border-radius:4px;background:#fff}.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px #0000001a}@media (-ms-high-contrast: active){.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.maplibregl-ctrl-group button{width:29px;height:29px;display:block;padding:0;outline:none;border:0;box-sizing:border-box;background-color:transparent;cursor:pointer}.maplibregl-ctrl-group button+button{border-top:1px solid #ddd}.maplibregl-ctrl button .maplibregl-ctrl-icon{display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:center center}@media (-ms-high-contrast: active){.maplibregl-ctrl-icon{background-color:transparent}.maplibregl-ctrl-group button+button{border-top:1px solid ButtonText}}.maplibregl-ctrl button::-moz-focus-inner{border:0;padding:0}.maplibregl-ctrl-attrib-button:focus,.maplibregl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl button:disabled{cursor:not-allowed}.maplibregl-ctrl button:disabled .maplibregl-ctrl-icon{opacity:.25}.maplibregl-ctrl button:not(:disabled):hover{background-color:#0000000d}.maplibregl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.maplibregl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.maplibregl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.maplibregl-ctrl-group button:focus:only-child{border-radius:inherit}.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-zoom-out.svg",fill: #333)}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-zoom-in.svg",fill: #333)}@media (-ms-high-contrast: active){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-zoom-out.svg",fill: #fff)}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-zoom-in.svg",fill: #fff)}}@media (-ms-high-contrast: black-on-white){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-zoom-out.svg",fill: #000)}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-zoom-in.svg",fill: #000)}}.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-fullscreen.svg",fill: #333)}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-shrink.svg")}@media (-ms-high-contrast: active){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-fullscreen.svg",fill: #fff)}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-shrink.svg",fill: #fff)}}@media (-ms-high-contrast: black-on-white){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-fullscreen.svg",fill: #000)}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-shrink.svg",fill: #000)}}.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-compass.svg",fill: #333)}@media (-ms-high-contrast: active){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{@svg-load ctrl-compass-white url(svg/maplibregl-ctrl-compass.svg){fill: #fff; #south {fill: #999;}}background-image:svg-inline(ctrl-compass-white)}}@media (-ms-high-contrast: black-on-white){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-compass.svg",fill: #000)}}@svg-load ctrl-terrain url(svg/maplibregl-ctrl-terrain.svg){fill: #333; #stroke {display: none;}}@svg-load ctrl-terrain-enabled url(svg/maplibregl-ctrl-terrain.svg){fill: #33b5e5; #stroke {display: none;}}.maplibregl-ctrl button.maplibregl-ctrl-terrain .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-terrain)}.maplibregl-ctrl button.maplibregl-ctrl-terrain-enabled .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-terrain-enabled)}@svg-load ctrl-geolocate url(svg/maplibregl-ctrl-geolocate.svg){fill: #333; #stroke {display: none;}}@svg-load ctrl-geolocate-white url(svg/maplibregl-ctrl-geolocate.svg){fill: #fff; #stroke {display: none;}}@svg-load ctrl-geolocate-black url(svg/maplibregl-ctrl-geolocate.svg){fill: #000; #stroke {display: none;}}@svg-load ctrl-geolocate-disabled url(svg/maplibregl-ctrl-geolocate.svg){fill: #aaa; #stroke {fill: #f00;}}@svg-load ctrl-geolocate-disabled-white url(svg/maplibregl-ctrl-geolocate.svg){fill: #999; #stroke {fill: #f00;}}@svg-load ctrl-geolocate-disabled-black url(svg/maplibregl-ctrl-geolocate.svg){fill: #666; #stroke {fill: #f00;}}@svg-load ctrl-geolocate-active url(svg/maplibregl-ctrl-geolocate.svg){fill: #33b5e5; #stroke {display: none;}}@svg-load ctrl-geolocate-active-error url(svg/maplibregl-ctrl-geolocate.svg){fill: #e58978; #stroke {display: none;}}@svg-load ctrl-geolocate-background url(svg/maplibregl-ctrl-geolocate.svg){fill: #33b5e5; #stroke {display: none;} #dot {display: none;}}@svg-load ctrl-geolocate-background-error url(svg/maplibregl-ctrl-geolocate.svg){fill: #e54e33; #stroke {display: none;} #dot {display: none;}}.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-disabled)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-active)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-active-error)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-background)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-background-error)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon{animation:maplibregl-spin 2s infinite linear}@media (-ms-high-contrast: active){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-white)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-disabled-white)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-active)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-active-error)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-background)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-background-error)}}@media (-ms-high-contrast: black-on-white){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-black)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-disabled-black)}}@keyframes maplibregl-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}a.maplibregl-ctrl-logo{width:88px;height:23px;margin:0 0 -4px -4px;display:block;background-repeat:no-repeat;cursor:pointer;overflow:hidden;background-image:svg-load("svg/maplibregl-ctrl-logo.svg")}a.maplibregl-ctrl-logo.maplibregl-compact{width:14px}@media (-ms-high-contrast: active){a.maplibregl-ctrl-logo{@svg-load ctrl-logo-white url(svg/maplibregl-ctrl-logo.svg){#outline {opacity: 1;} #fill {opacity: 1;}}background-color:transparent;background-image:svg-inline(ctrl-logo-white)}}@media (-ms-high-contrast: black-on-white){a.maplibregl-ctrl-logo{@svg-load ctrl-logo-black url(svg/maplibregl-ctrl-logo.svg){#outline {opacity: 1; fill: #fff; stroke: #fff;} #fill {opacity: 1; fill: #000;}}background-image:svg-inline(ctrl-logo-black)}}.maplibregl-ctrl.maplibregl-ctrl-attrib{padding:0 5px;background-color:#ffffff80;margin:0}@media screen{.maplibregl-ctrl-attrib.maplibregl-compact{min-height:20px;padding:2px 24px 2px 0;margin:10px;position:relative;background-color:#fff;color:#000;border-radius:12px;box-sizing:content-box}.maplibregl-ctrl-attrib.maplibregl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact-show,.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact-show{padding:2px 8px 2px 28px;border-radius:12px}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner{display:none}.maplibregl-ctrl-attrib-button{display:none;cursor:pointer;position:absolute;background-image:svg-load("svg/maplibregl-ctrl-attrib.svg");background-color:#ffffff80;width:24px;height:24px;box-sizing:border-box;border-radius:12px;outline:none;top:0;right:0;border:0}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button{-webkit-appearance:none;appearance:none;list-style:none}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button::-webkit-details-marker{display:none}.maplibregl-ctrl-top-left .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-button{left:0}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner{display:block}.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button{background-color:#0000000d}.maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;right:0}.maplibregl-ctrl-top-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{top:0;right:0}.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{top:0;left:0}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;left:0}}@media screen and (-ms-high-contrast: active){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:svg-load("svg/maplibregl-ctrl-attrib.svg",fill=#fff)}}@media screen and (-ms-high-contrast: black-on-white){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:svg-load("svg/maplibregl-ctrl-attrib.svg")}}.maplibregl-ctrl-attrib a{color:#000000bf;text-decoration:none}.maplibregl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.maplibregl-attrib-empty{display:none}.maplibregl-ctrl-scale{background-color:#ffffffbf;font-size:10px;border-width:medium 2px 2px;border-style:none solid solid;border-color:#333;padding:0 5px;color:#333;box-sizing:border-box}.maplibregl-popup{position:absolute;top:0;left:0;display:flex;will-change:transform;pointer-events:none}.maplibregl-popup-anchor-top,.maplibregl-popup-anchor-top-left,.maplibregl-popup-anchor-top-right{flex-direction:column}.maplibregl-popup-anchor-bottom,.maplibregl-popup-anchor-bottom-left,.maplibregl-popup-anchor-bottom-right{flex-direction:column-reverse}.maplibregl-popup-anchor-left{flex-direction:row}.maplibregl-popup-anchor-right{flex-direction:row-reverse}.maplibregl-popup-tip{width:0;height:0;border:10px solid transparent;z-index:1}.maplibregl-popup-anchor-top .maplibregl-popup-tip{align-self:center;border-top:none;border-bottom-color:#fff}.maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-start;border-top:none;border-left:none;border-bottom-color:#fff}.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-end;border-top:none;border-right:none;border-bottom-color:#fff}.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.maplibregl-popup-anchor-left .maplibregl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.maplibregl-popup-anchor-right .maplibregl-popup-tip{align-self:center;border-right:none;border-left-color:#fff}.maplibregl-popup-close-button{position:absolute;right:0;top:0;border:0;border-radius:0 3px 0 0;cursor:pointer;background-color:transparent}.maplibregl-popup-close-button:hover{background-color:#0000000d}.maplibregl-popup-content{position:relative;background:#fff;border-radius:3px;box-shadow:0 1px 2px #0000001a;padding:15px 10px;pointer-events:auto}.maplibregl-popup-anchor-top-left .maplibregl-popup-content{border-top-left-radius:0}.maplibregl-popup-anchor-top-right .maplibregl-popup-content{border-top-right-radius:0}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content{border-bottom-left-radius:0}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content{border-bottom-right-radius:0}.maplibregl-popup-track-pointer{display:none}.maplibregl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;user-select:none}.maplibregl-map:hover .maplibregl-popup-track-pointer{display:flex}.maplibregl-map:active .maplibregl-popup-track-pointer{display:none}.maplibregl-marker{position:absolute;top:0;left:0;will-change:transform;transition:opacity .2s}.maplibregl-user-location-dot{background-color:#1da1f2;width:15px;height:15px;border-radius:50%}.maplibregl-user-location-dot:before{background-color:#1da1f2;content:"";width:15px;height:15px;border-radius:50%;position:absolute;animation:maplibregl-user-location-dot-pulse 2s infinite}.maplibregl-user-location-dot:after{border-radius:50%;border:2px solid #fff;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px;box-sizing:border-box;box-shadow:0 0 3px #00000059}@keyframes maplibregl-user-location-dot-pulse{0%{transform:scale(1);opacity:1}70%{transform:scale(3);opacity:0}to{transform:scale(1);opacity:0}}.maplibregl-user-location-dot-stale{background-color:#aaa}.maplibregl-user-location-dot-stale:after{display:none}.maplibregl-user-location-accuracy-circle{background-color:#1da1f233;width:1px;height:1px;border-radius:100%}.maplibregl-crosshair,.maplibregl-crosshair .maplibregl-interactive,.maplibregl-crosshair .maplibregl-interactive:active{cursor:crosshair}.maplibregl-boxzoom{position:absolute;top:0;left:0;width:0;height:0;background:#fff;border:2px dotted #202020;opacity:.5}.maplibregl-cooperative-gesture-screen{background:#0006;position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;color:#fff;padding:1rem;font-size:1.4em;line-height:1.2;opacity:0;pointer-events:none;transition:opacity 1s ease 1s;z-index:99999}.maplibregl-cooperative-gesture-screen.maplibregl-show{opacity:1;transition:opacity .05s}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:none}@media (hover: none),(width <= 480px){.maplibregl-cooperative-gesture-screen .maplibregl-desktop-message{display:none}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:block}}.maplibregl-pseudo-fullscreen{position:fixed!important;width:100%!important;height:100%!important;top:0!important;left:0!important;z-index:99999}:root{--pin-shadow-hover-scale: .9;--pin-shadow-width: 12px;--pin-shadow-height: 5px;--pin-shadow-opacity: .35;--pin-drop-animation-duration-ms: .25s}@keyframes drop-pin{0%{transform:translateY(-200%)}to{transform:translateY(0)}}@keyframes pin-shadow{0%{transform:scale(var(--pin-shadow-hover-scale))}to{transform:scale(1)}}.mappedin-dropped-pin-wrapper{position:relative;width:fit-content;height:fit-content;width:36px;height:42px}.mappedin-dropped-pin-wrapper svg{position:absolute;left:calc(50% - var(--pin-shadow-width));animation:drop-pin var(--pin-drop-animation-duration-ms) ease-in}.mappedin-dropped-pin-wrapper>.pin-shadow{position:absolute;left:calc(50% - var(--pin-shadow-width) / 2);bottom:0;height:var(--pin-shadow-height);width:var(--pin-shadow-width);border-radius:100%;opacity:var(--pin-shadow-opacity);animation:pin-shadow .25s ease-in}@keyframes bounce{0%{transform:translateY(-10px);opacity:0}12.5%{transform:translateY(0);opacity:1}25%{transform:translateY(0)}37.5%{transform:translateY(-10px)}50%{transform:translateY(0)}62.5%{transform:translateY(-10px)}75%{transform:translateY(0)}87.5%{transform:translateY(-10px)}to{transform:translateY(0)}}.mappedin-connection-marker{position:relative;display:flex}.mappedin-connection-marker .bouncey{animation:bounce 2.5s linear}.mappedin-connection-marker .arrow--down{transform:rotate(180deg)}.mappedin-connection-marker .connection-circle{display:flex;box-sizing:border-box;justify-content:center;align-items:center;border-radius:50%;border:2px solid white;box-shadow:0 2px 8px #00000026;background:#595959}.mappedin-js-inspector .list-items{max-height:600px;overflow-y:scroll;scroll-behavior:smooth}.mappedin-js-inspector .children:focus{border:1px solid blue}.mappedin-js-inspector #interactionPanel{position:absolute;right:0}.mappedin-js-inspector #mainPanel{position:absolute;left:0}.mappedin-js-inspector .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
1
|
+
.mappedin__smart-collision-engine__container{position:absolute;left:0;top:0;bottom:0;right:0;pointer-events:none;transform-style:preserve-3d;font-family:InterUI-Regular,Helvetica,Arial,sans-serif}.mappedin__smart-collision-engine-debug__container{position:absolute;left:0;top:0;bottom:0;right:0;transition:opacity .3s ease-in-out;pointer-events:none;will-change:opacity}.mappedin__smart-collision-engine-debug__container.interacting{opacity:.2}.mappedin-map .mappedin-interactive{cursor:grab}.mappedin-map .mappedin-interactive:active{cursor:grabbing}.mappedin-map .mappedin-interactive.mappedin-interaction-hover{cursor:pointer}.mappedin-marker{font-family:InterUI-Regular,Helvetica,Arial,sans-serif;font-weight:400;top:0;position:absolute;font-weight:700;color:#000;display:flex;flex-direction:row;will-change:transform,opacity;transition:opacity .15s ease-in-out;justify-content:center;opacity:0}.mappedin-marker[data-placement=low-priority-pin]>.mappedin-marker-content{visibility:hidden}.mappedin-marker:before{content:"";display:none;border-radius:50%;position:relative;width:var(--mappedin-pin-size, 2px);height:var(--mappedin-pin-size, 2px);background-color:var(--pin-color, #666)}.mappedin-marker[data-placement=low-priority-pin]:before{display:block}.mappedin-map .mappedin-control-container{position:absolute;left:0;top:0;bottom:0;right:0;pointer-events:none;font-family:InterUI-Regular,Helvetica,Arial,sans-serif}.mappedin-map .mappedin-control-container .mappedin-ctrl-top-left,.mappedin-map .mappedin-control-container .mappedin-ctrl-top-right,.mappedin-map .mappedin-control-container .mappedin-ctrl-bottom-left,.mappedin-map .mappedin-control-container .mappedin-ctrl-bottom-right{position:absolute;pointer-events:none}.mappedin-map .mappedin-control-container .mappedin-ctrl-top-left{top:0;left:0}.mappedin-map .mappedin-control-container .mappedin-ctrl-top-right{top:0;right:0}.mappedin-map .mappedin-control-container .mappedin-ctrl-bottom-left{bottom:0;left:0}.mappedin-map .mappedin-control-container .mappedin-ctrl-bottom-right{bottom:0;right:0}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib{display:block;position:relative;pointer-events:auto;font:9px/11px InterUI-Regular,Helvetica,Arial,sans-serif;padding:3px 5px 1px;background-color:#ffffff80;margin:0;min-width:11px;min-height:11px;-webkit-user-select:none;user-select:none}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib summary.mappedin-ctrl-attrib-button{-webkit-appearance:none;appearance:none;list-style:none}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib summary.mappedin-ctrl-attrib-button::-webkit-details-marker{display:none}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib.mappedin-compact .mappedin-ctrl-attrib-button,.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib.mappedin-compact-show .mappedin-ctrl-attrib-inner{display:inline-block}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib.mappedin-compact{background-color:transparent}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib.mappedin-compact-show{min-width:15px;min-height:15px;box-sizing:border-box;background-color:#ffffff80}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-top-left{float:left;border-bottom-right-radius:4px}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-top-right{float:right;border-bottom-left-radius:4px}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-bottom-left{float:left;border-top-right-radius:4px}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-bottom-right{float:right;border-top-left-radius:4px}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-top-left,.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-bottom-left{padding:3px 5px 1px 20px}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-inner{display:inline-block;margin-right:12px}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-inner,.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-inner a{color:#000000bf;text-decoration:none}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-inner-bold,.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-inner-bold a{font-weight:700}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-inner a:hover{color:#017ef1;text-decoration:underline;cursor:pointer}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-button{display:none;cursor:pointer;position:absolute;width:15px;height:15px;box-sizing:border-box;border-radius:50%;top:0;right:2px;border:1px}.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-top-left .mappedin-ctrl-attrib-button,.mappedin-map .mappedin-control-container .mappedin-ctrl-attrib-bottom-left .mappedin-ctrl-attrib-button{left:2px}.maplibregl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0 0 0 / 0%)}.maplibregl-canvas{position:absolute;left:0;top:0}.maplibregl-map:fullscreen{width:100%;height:100%}.maplibregl-ctrl-group button.maplibregl-ctrl-compass{touch-action:none}.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:grab;-webkit-user-select:none;user-select:none}.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}.maplibregl-canvas-container.maplibregl-interactive:active,.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active{cursor:grabbing}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-canvas-container.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:pinch-zoom}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:none}.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures,.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-ctrl-top-left,.maplibregl-ctrl-top-right,.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right{position:absolute;pointer-events:none;z-index:2}.maplibregl-ctrl-top-left{top:0;left:0}.maplibregl-ctrl-top-right{top:0;right:0}.maplibregl-ctrl-bottom-left{bottom:0;left:0}.maplibregl-ctrl-bottom-right{right:0;bottom:0}.maplibregl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.maplibregl-ctrl-top-left .maplibregl-ctrl{margin:10px 0 0 10px;float:left}.maplibregl-ctrl-top-right .maplibregl-ctrl{margin:10px 10px 0 0;float:right}.maplibregl-ctrl-bottom-left .maplibregl-ctrl{margin:0 0 10px 10px;float:left}.maplibregl-ctrl-bottom-right .maplibregl-ctrl{margin:0 10px 10px 0;float:right}.maplibregl-ctrl-group{border-radius:4px;background:#fff}.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px #0000001a}@media (forced-colors: active){.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.maplibregl-ctrl-group button{width:29px;height:29px;display:block;padding:0;outline:none;border:0;box-sizing:border-box;background-color:transparent;cursor:pointer}.maplibregl-ctrl-group button+button{border-top:1px solid #ddd}.maplibregl-ctrl button .maplibregl-ctrl-icon{display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:center center}@media (forced-colors: active){.maplibregl-ctrl-icon{background-color:transparent}.maplibregl-ctrl-group button+button{border-top:1px solid ButtonText}}.maplibregl-ctrl button::-moz-focus-inner{border:0;padding:0}.maplibregl-ctrl-attrib-button:focus,.maplibregl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl button:disabled{cursor:not-allowed}.maplibregl-ctrl button:disabled .maplibregl-ctrl-icon{opacity:.25}@media (hover: hover){.maplibregl-ctrl button:not(:disabled):hover{background-color:#0000000d}}.maplibregl-ctrl button:not(:disabled):active{background-color:#0000000d}.maplibregl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.maplibregl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.maplibregl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.maplibregl-ctrl-group button:focus:only-child{border-radius:inherit}.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-zoom-out.svg",fill: #333)}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-zoom-in.svg",fill: #333)}@media (forced-colors: active){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-zoom-out.svg",fill: #fff)}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-zoom-in.svg",fill: #fff)}}@media (forced-colors: active) and (prefers-color-scheme: light){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-zoom-out.svg",fill: #000)}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-zoom-in.svg",fill: #000)}}.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-fullscreen.svg",fill: #333)}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-shrink.svg")}@media (forced-colors: active){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-fullscreen.svg",fill: #fff)}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-shrink.svg",fill: #fff)}}@media (forced-colors: active) and (prefers-color-scheme: light){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-fullscreen.svg",fill: #000)}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-shrink.svg",fill: #000)}}.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-compass.svg",fill: #333)}@media (forced-colors: active){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{@svg-load ctrl-compass-white url(svg/maplibregl-ctrl-compass.svg){fill: #fff; #south {fill: #999;}}background-image:svg-inline(ctrl-compass-white)}}@media (forced-colors: active) and (prefers-color-scheme: light){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:svg-load("svg/maplibregl-ctrl-compass.svg",fill: #000)}}@svg-load ctrl-globe url(svg/maplibregl-ctrl-globe.svg){stroke: #333;}@svg-load ctrl-globe-enabled url(svg/maplibregl-ctrl-globe.svg){stroke: #33b5e5;}.maplibregl-ctrl button.maplibregl-ctrl-globe .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-globe)}.maplibregl-ctrl button.maplibregl-ctrl-globe-enabled .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-globe-enabled)}@svg-load ctrl-terrain url(svg/maplibregl-ctrl-terrain.svg){fill: #333;}@svg-load ctrl-terrain-enabled url(svg/maplibregl-ctrl-terrain.svg){fill: #33b5e5;}.maplibregl-ctrl button.maplibregl-ctrl-terrain .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-terrain)}.maplibregl-ctrl button.maplibregl-ctrl-terrain-enabled .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-terrain-enabled)}@svg-load ctrl-geolocate url(svg/maplibregl-ctrl-geolocate.svg){fill: #333; #stroke {display: none;}}@svg-load ctrl-geolocate-white url(svg/maplibregl-ctrl-geolocate.svg){fill: #fff; #stroke {display: none;}}@svg-load ctrl-geolocate-black url(svg/maplibregl-ctrl-geolocate.svg){fill: #000; #stroke {display: none;}}@svg-load ctrl-geolocate-disabled url(svg/maplibregl-ctrl-geolocate.svg){fill: #aaa; #stroke {fill: #f00;}}@svg-load ctrl-geolocate-disabled-white url(svg/maplibregl-ctrl-geolocate.svg){fill: #999; #stroke {fill: #f00;}}@svg-load ctrl-geolocate-disabled-black url(svg/maplibregl-ctrl-geolocate.svg){fill: #666; #stroke {fill: #f00;}}@svg-load ctrl-geolocate-active url(svg/maplibregl-ctrl-geolocate.svg){fill: #33b5e5; #stroke {display: none;}}@svg-load ctrl-geolocate-active-error url(svg/maplibregl-ctrl-geolocate.svg){fill: #e58978; #stroke {display: none;}}@svg-load ctrl-geolocate-background url(svg/maplibregl-ctrl-geolocate.svg){fill: #33b5e5; #stroke {display: none;} #dot {display: none;}}@svg-load ctrl-geolocate-background-error url(svg/maplibregl-ctrl-geolocate.svg){fill: #e54e33; #stroke {display: none;} #dot {display: none;}}.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-disabled)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-active)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-active-error)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-background)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-background-error)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon{animation:maplibregl-spin 2s infinite linear}@media (forced-colors: active){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-white)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-disabled-white)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-active)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-active-error)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-background)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-background-error)}}@media (forced-colors: active) and (prefers-color-scheme: light){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-black)}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:svg-inline(ctrl-geolocate-disabled-black)}}@keyframes maplibregl-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}a.maplibregl-ctrl-logo{width:88px;height:23px;margin:0 0 -4px -4px;display:block;background-repeat:no-repeat;cursor:pointer;overflow:hidden;background-image:svg-load("svg/maplibregl-ctrl-logo.svg")}a.maplibregl-ctrl-logo.maplibregl-compact{width:14px}@media (forced-colors: active){a.maplibregl-ctrl-logo{@svg-load ctrl-logo-white url(svg/maplibregl-ctrl-logo.svg){#outline {opacity: 1;} #fill {opacity: 1;}}background-color:transparent;background-image:svg-inline(ctrl-logo-white)}}@media (forced-colors: active) and (prefers-color-scheme: light){a.maplibregl-ctrl-logo{@svg-load ctrl-logo-black url(svg/maplibregl-ctrl-logo.svg){#outline {opacity: 1; fill: #fff; stroke: #fff;} #fill {opacity: 1; fill: #000;}}background-image:svg-inline(ctrl-logo-black)}}.maplibregl-ctrl.maplibregl-ctrl-attrib{padding:0 5px;background-color:#ffffff80;margin:0}@media screen{.maplibregl-ctrl-attrib.maplibregl-compact{min-height:20px;padding:2px 24px 2px 0;margin:10px;position:relative;background-color:#fff;color:#000;border-radius:12px;box-sizing:content-box}.maplibregl-ctrl-attrib.maplibregl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact-show,.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact-show{padding:2px 8px 2px 28px;border-radius:12px}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner{display:none}.maplibregl-ctrl-attrib-button{display:none;cursor:pointer;position:absolute;background-image:svg-load("svg/maplibregl-ctrl-attrib.svg");background-color:#ffffff80;width:24px;height:24px;box-sizing:border-box;border-radius:12px;outline:none;top:0;right:0;border:0}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button{-webkit-appearance:none;appearance:none;list-style:none}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button::-webkit-details-marker{display:none}.maplibregl-ctrl-top-left .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-button{left:0}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner{display:block}.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button{background-color:#0000000d}.maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;right:0}.maplibregl-ctrl-top-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{top:0;right:0}.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{top:0;left:0}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;left:0}}@media screen and (forced-colors: active){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:svg-load("svg/maplibregl-ctrl-attrib.svg",fill=#fff)}}@media screen and (forced-colors: active) and (prefers-color-scheme: light){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:svg-load("svg/maplibregl-ctrl-attrib.svg")}}.maplibregl-ctrl-attrib a{color:#000000bf;text-decoration:none}.maplibregl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.maplibregl-attrib-empty{display:none}.maplibregl-ctrl-scale{background-color:#ffffffbf;font-size:10px;border-width:medium 2px 2px;border-style:none solid solid;border-color:#333;padding:0 5px;color:#333;box-sizing:border-box}.maplibregl-popup{position:absolute;top:0;left:0;display:flex;will-change:transform;pointer-events:none}.maplibregl-popup-anchor-top,.maplibregl-popup-anchor-top-left,.maplibregl-popup-anchor-top-right{flex-direction:column}.maplibregl-popup-anchor-bottom,.maplibregl-popup-anchor-bottom-left,.maplibregl-popup-anchor-bottom-right{flex-direction:column-reverse}.maplibregl-popup-anchor-left{flex-direction:row}.maplibregl-popup-anchor-right{flex-direction:row-reverse}.maplibregl-popup-tip{width:0;height:0;border:10px solid transparent;z-index:1}.maplibregl-popup-anchor-top .maplibregl-popup-tip{align-self:center;border-top:none;border-bottom-color:#fff}.maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-start;border-top:none;border-left:none;border-bottom-color:#fff}.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-end;border-top:none;border-right:none;border-bottom-color:#fff}.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.maplibregl-popup-anchor-left .maplibregl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.maplibregl-popup-anchor-right .maplibregl-popup-tip{align-self:center;border-right:none;border-left-color:#fff}.maplibregl-popup-close-button{position:absolute;right:0;top:0;border:0;border-radius:0 3px 0 0;cursor:pointer;background-color:transparent}.maplibregl-popup-close-button:hover{background-color:#0000000d}.maplibregl-popup-content{position:relative;background:#fff;border-radius:3px;box-shadow:0 1px 2px #0000001a;padding:15px 10px;pointer-events:auto}.maplibregl-popup-anchor-top-left .maplibregl-popup-content{border-top-left-radius:0}.maplibregl-popup-anchor-top-right .maplibregl-popup-content{border-top-right-radius:0}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content{border-bottom-left-radius:0}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content{border-bottom-right-radius:0}.maplibregl-popup-track-pointer{display:none}.maplibregl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;user-select:none}.maplibregl-map:hover .maplibregl-popup-track-pointer{display:flex}.maplibregl-map:active .maplibregl-popup-track-pointer{display:none}.maplibregl-marker{position:absolute;top:0;left:0;will-change:transform;transition:opacity .2s}.maplibregl-user-location-dot{background-color:#1da1f2;width:15px;height:15px;border-radius:50%}.maplibregl-user-location-dot:before{background-color:#1da1f2;content:"";width:15px;height:15px;border-radius:50%;position:absolute;animation:maplibregl-user-location-dot-pulse 2s infinite}.maplibregl-user-location-dot:after{border-radius:50%;border:2px solid #fff;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px;box-sizing:border-box;box-shadow:0 0 3px #00000059}@keyframes maplibregl-user-location-dot-pulse{0%{transform:scale(1);opacity:1}70%{transform:scale(3);opacity:0}to{transform:scale(1);opacity:0}}.maplibregl-user-location-dot-stale{background-color:#aaa}.maplibregl-user-location-dot-stale:after{display:none}.maplibregl-user-location-accuracy-circle{background-color:#1da1f233;width:1px;height:1px;border-radius:100%}.maplibregl-crosshair,.maplibregl-crosshair .maplibregl-interactive,.maplibregl-crosshair .maplibregl-interactive:active{cursor:crosshair}.maplibregl-boxzoom{position:absolute;top:0;left:0;width:0;height:0;background:#fff;border:2px dotted #202020;opacity:.5}.maplibregl-cooperative-gesture-screen{background:#0006;position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;color:#fff;padding:1rem;font-size:1.4em;line-height:1.2;opacity:0;pointer-events:none;transition:opacity 1s ease 1s;z-index:99999}.maplibregl-cooperative-gesture-screen.maplibregl-show{opacity:1;transition:opacity .05s}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:none}@media (hover: none),(pointer: coarse){.maplibregl-cooperative-gesture-screen .maplibregl-desktop-message{display:none}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:block}}.maplibregl-pseudo-fullscreen{position:fixed!important;width:100%!important;height:100%!important;top:0!important;left:0!important;z-index:99999}:root{--pin-shadow-hover-scale: .9;--pin-shadow-width: 12px;--pin-shadow-height: 5px;--pin-shadow-opacity: .35;--pin-drop-animation-duration-ms: .25s}@keyframes drop-pin{0%{transform:translateY(-200%)}to{transform:translateY(0)}}@keyframes pin-shadow{0%{transform:scale(var(--pin-shadow-hover-scale))}to{transform:scale(1)}}.mappedin-dropped-pin-wrapper{position:relative;width:fit-content;height:fit-content;width:36px;height:42px}.mappedin-dropped-pin-wrapper svg{position:absolute;left:calc(50% - var(--pin-shadow-width));animation:drop-pin var(--pin-drop-animation-duration-ms) ease-in}.mappedin-dropped-pin-wrapper>.pin-shadow{position:absolute;left:calc(50% - var(--pin-shadow-width) / 2);bottom:0;height:var(--pin-shadow-height);width:var(--pin-shadow-width);border-radius:100%;opacity:var(--pin-shadow-opacity);animation:pin-shadow .25s ease-in}@keyframes bounce{0%{transform:translateY(-10px);opacity:0}12.5%{transform:translateY(0);opacity:1}25%{transform:translateY(0)}37.5%{transform:translateY(-10px)}50%{transform:translateY(0)}62.5%{transform:translateY(-10px)}75%{transform:translateY(0)}87.5%{transform:translateY(-10px)}to{transform:translateY(0)}}.mappedin-connection-marker{position:relative;display:flex}.mappedin-connection-marker .bouncey{animation:bounce 2.5s linear}.mappedin-connection-marker .arrow--down{transform:rotate(180deg)}.mappedin-connection-marker .connection-circle{display:flex;box-sizing:border-box;justify-content:center;align-items:center;border-radius:50%;border:2px solid white;box-shadow:0 2px 8px #00000026;background:#595959}.mappedin-js-inspector .list-items{max-height:600px;overflow-y:scroll;scroll-behavior:smooth}.mappedin-js-inspector .children:focus{border:1px solid blue}.mappedin-js-inspector #interactionPanel{position:absolute;right:0}.mappedin-js-inspector #mainPanel{position:absolute;left:0}.mappedin-js-inspector .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|