@mappedin/mappedin-js 6.17.1 → 6.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_LICENSES.txt +624 -12
- package/lib/esm/GLTFExporter-G4WLRGTD.js +1 -0
- package/lib/esm/GLTFLoader-6KS65AUU.js +1 -0
- package/lib/esm/{chunk-43W5ISDI.js → chunk-5DTIPZIM.js} +1 -1
- package/lib/esm/chunk-7ZLJ5BZG.js +956 -0
- package/lib/esm/chunk-PJFSEFCS.js +660 -0
- package/lib/esm/chunk-PWEV3AFA.js +1 -0
- package/lib/esm/chunk-S634J4FK.js +3819 -0
- package/lib/esm/chunk-XH3AOOQM.js +1515 -0
- package/lib/esm/index.css +1 -1
- package/lib/esm/index.d.ts +1079 -177
- package/lib/esm/index.js +1 -1
- package/lib/esm/inspector-IMRVE3SS.js +482 -0
- package/lib/esm/inspector-PGGVNGUZ.css +1 -0
- package/lib/esm/internal-75ZEUF5X.js +1 -0
- package/lib/esm/internal-Q5HDG37N.css +1 -0
- package/lib/esm/{roboto-regular-MRBWMLOE.js → roboto-regular-6ZYOMS3F.js} +1 -1
- package/lib/esm/src-RKBRVS5G.js +1 -0
- package/lib/esm/src-WUAFLQGO.css +1 -0
- package/lib/esm/text3d-YG2QJ2JU.js +252 -0
- package/lib/esm/workers/collision-worker.csp.js +1 -1
- package/lib/index.css +1 -1
- package/package.json +2 -2
- package/lib/esm/GLTFExporter-CXO2YAF3.js +0 -1
- package/lib/esm/GLTFLoader-I7TPEHSY.js +0 -1
- package/lib/esm/chunk-72VREA6L.js +0 -1
- package/lib/esm/chunk-IGHVNMJ3.js +0 -1
- package/lib/esm/chunk-PCYD3VDS.js +0 -1
- package/lib/esm/chunk-PUC4BMPX.js +0 -1
- package/lib/esm/chunk-RTTZ7LHQ.js +0 -1
- package/lib/esm/inspector-AQXLD4YL.js +0 -1
- package/lib/esm/inspector-YWC6NP6D.css +0 -1
- package/lib/esm/internal-7BZS3RBF.js +0 -1
- package/lib/esm/internal-QC6SWNN2.css +0 -1
- package/lib/esm/src-GA2Z4OON.css +0 -1
- package/lib/esm/src-YUNUBHAQ.js +0 -1
- package/lib/esm/text3d-Z7SSD7IN.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as xe,o as Ie,p as Ae,q as Te,r as Fe}from"./chunk-PJFSEFCS.js";import"./chunk-7ZLJ5BZG.js";import{g as ve}from"./chunk-XH3AOOQM.js";import"./chunk-5DTIPZIM.js";import{a as z}from"./chunk-S634J4FK.js";import{b as wt,d as St}from"./chunk-PWEV3AFA.js";var mt=wt((R,C)=>{z();var Et=200,Ke="__lodash_hash_undefined__",jt=800,Dt=16,Qe=9007199254740991,Ye="[object Arguments]",Rt="[object Array]",Vt="[object AsyncFunction]",Pt="[object Boolean]",Bt="[object Date]",Nt="[object Error]",Ze="[object Function]",kt="[object GeneratorFunction]",Wt="[object Map]",Ut="[object Number]",$t="[object Null]",Xe="[object Object]",Gt="[object Proxy]",qt="[object RegExp]",Jt="[object Set]",Ht="[object String]",Kt="[object Undefined]",Qt="[object WeakMap]",Yt="[object ArrayBuffer]",Zt="[object DataView]",Xt="[object Float32Array]",en="[object Float64Array]",tn="[object Int8Array]",nn="[object Int16Array]",sn="[object Int32Array]",rn="[object Uint8Array]",on="[object Uint8ClampedArray]",an="[object Uint16Array]",cn="[object Uint32Array]",un=/[\\^$.*+?()[\]{}|]/g,ln=/^\[object .+?Constructor\]$/,dn=/^(?:0|[1-9]\d*)$/,_={};_[Xt]=_[en]=_[tn]=_[nn]=_[sn]=_[rn]=_[on]=_[an]=_[cn]=!0;_[Ye]=_[Rt]=_[Yt]=_[Pt]=_[Zt]=_[Bt]=_[Nt]=_[Ze]=_[Wt]=_[Ut]=_[Xe]=_[qt]=_[Jt]=_[Ht]=_[Qt]=!1;var et=typeof global=="object"&&global&&global.Object===Object&&global,hn=typeof self=="object"&&self&&self.Object===Object&&self,B=et||hn||Function("return this")(),tt=typeof R=="object"&&R&&!R.nodeType&&R,V=tt&&typeof C=="object"&&C&&!C.nodeType&&C,nt=V&&V.exports===tt,le=nt&&et.process,Ne=(function(){try{var t=V&&V.require&&V.require("util").types;return t||le&&le.binding&&le.binding("util")}catch{}})(),ke=Ne&&Ne.isTypedArray;function it(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function fn(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function pn(t){return function(e){return t(e)}}function gn(t,e){return t?.[e]}function mn(t,e){return function(n){return t(e(n))}}var _n=Array.prototype,yn=Function.prototype,J=Object.prototype,de=B["__core-js_shared__"],H=yn.toString,v=J.hasOwnProperty,We=(function(){var t=/[^.]+$/.exec(de&&de.keys&&de.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})(),st=J.toString,bn=H.call(Object),wn=RegExp("^"+H.call(v).replace(un,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),G=nt?B.Buffer:void 0,Ue=B.Symbol,$e=B.Uint8Array,Ge=G?G.allocUnsafe:void 0,rt=mn(Object.getPrototypeOf,Object),qe=Object.create,Sn=J.propertyIsEnumerable,vn=_n.splice,T=Ue?Ue.toStringTag:void 0,q=(function(){try{var t=ye(Object,"defineProperty");return t({},"",{}),t}catch{}})(),xn=G?G.isBuffer:void 0,Je=Math.max,In=Date.now,ot=ye(B,"Map"),P=ye(Object,"create"),An=(function(){function t(){}return function(e){if(!S(e))return{};if(qe)return qe(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}})();function F(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Tn(){this.__data__=P?P(null):{},this.size=0}function Fn(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function zn(t){var e=this.__data__;if(P){var n=e[t];return n===Ke?void 0:n}return v.call(e,t)?e[t]:void 0}function On(t){var e=this.__data__;return P?e[t]!==void 0:v.call(e,t)}function Cn(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=P&&e===void 0?Ke:e,this}F.prototype.clear=Tn;F.prototype.delete=Fn;F.prototype.get=zn;F.prototype.has=On;F.prototype.set=Cn;function x(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Ln(){this.__data__=[],this.size=0}function Mn(t){var e=this.__data__,n=K(e,t);if(n<0)return!1;var i=e.length-1;return n==i?e.pop():vn.call(e,n,1),--this.size,!0}function En(t){var e=this.__data__,n=K(e,t);return n<0?void 0:e[n][1]}function jn(t){return K(this.__data__,t)>-1}function Dn(t,e){var n=this.__data__,i=K(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}x.prototype.clear=Ln;x.prototype.delete=Mn;x.prototype.get=En;x.prototype.has=jn;x.prototype.set=Dn;function L(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Rn(){this.size=0,this.__data__={hash:new F,map:new(ot||x),string:new F}}function Vn(t){var e=Y(this,t).delete(t);return this.size-=e?1:0,e}function Pn(t){return Y(this,t).get(t)}function Bn(t){return Y(this,t).has(t)}function Nn(t,e){var n=Y(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}L.prototype.clear=Rn;L.prototype.delete=Vn;L.prototype.get=Pn;L.prototype.has=Bn;L.prototype.set=Nn;function M(t){var e=this.__data__=new x(t);this.size=e.size}function kn(){this.__data__=new x,this.size=0}function Wn(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function Un(t){return this.__data__.get(t)}function $n(t){return this.__data__.has(t)}function Gn(t,e){var n=this.__data__;if(n instanceof x){var i=n.__data__;if(!ot||i.length<Et-1)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new L(i)}return n.set(t,e),this.size=n.size,this}M.prototype.clear=kn;M.prototype.delete=Wn;M.prototype.get=Un;M.prototype.has=$n;M.prototype.set=Gn;function qn(t,e){var n=ge(t),i=!n&&pe(t),s=!n&&!i&&dt(t),r=!n&&!i&&!s&&ft(t),a=n||i||s||r,o=a?fn(t.length,String):[],c=o.length;for(var u in t)(e||v.call(t,u))&&!(a&&(u=="length"||s&&(u=="offset"||u=="parent")||r&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||ut(u,c)))&&o.push(u);return o}function he(t,e,n){(n!==void 0&&!Z(t[e],n)||n===void 0&&!(e in t))&&me(t,e,n)}function Jn(t,e,n){var i=t[e];(!(v.call(t,e)&&Z(i,n))||n===void 0&&!(e in t))&&me(t,e,n)}function K(t,e){for(var n=t.length;n--;)if(Z(t[n][0],e))return n;return-1}function me(t,e,n){e=="__proto__"&&q?q(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var Hn=oi();function Q(t){return t==null?t===void 0?Kt:$t:T&&T in Object(t)?ai(t):fi(t)}function He(t){return N(t)&&Q(t)==Ye}function Kn(t){if(!S(t)||di(t))return!1;var e=we(t)?wn:ln;return e.test(_i(t))}function Qn(t){return N(t)&&ht(t.length)&&!!_[Q(t)]}function Yn(t){if(!S(t))return hi(t);var e=lt(t),n=[];for(var i in t)i=="constructor"&&(e||!v.call(t,i))||n.push(i);return n}function _e(t,e,n,i,s){t!==e&&Hn(e,function(r,a){if(s||(s=new M),S(r))Zn(t,e,a,n,_e,i,s);else{var o=i?i(fe(t,a),r,a+"",t,e,s):void 0;o===void 0&&(o=r),he(t,a,o)}},pt)}function Zn(t,e,n,i,s,r,a){var o=fe(t,n),c=fe(e,n),u=a.get(c);if(u){he(t,n,u);return}var l=r?r(o,c,n+"",t,e,a):void 0,h=l===void 0;if(h){var d=ge(c),f=!d&&dt(c),g=!d&&!f&&ft(c);l=c,d||f||g?ge(o)?l=o:yi(o)?l=ii(o):f?(h=!1,l=ei(c,!0)):g?(h=!1,l=ni(c,!0)):l=[]:bi(c)||pe(c)?(l=o,pe(o)?l=wi(o):(!S(o)||we(o))&&(l=ci(c))):h=!1}h&&(a.set(c,l),s(l,c,i,r,a),a.delete(c)),he(t,n,l)}function at(t,e){return gi(pi(t,e,gt),t+"")}var Xn=q?function(t,e){return q(t,"toString",{configurable:!0,enumerable:!1,value:xi(e),writable:!0})}:gt;function ei(t,e){if(e)return t.slice();var n=t.length,i=Ge?Ge(n):new t.constructor(n);return t.copy(i),i}function ti(t){var e=new t.constructor(t.byteLength);return new $e(e).set(new $e(t)),e}function ni(t,e){var n=e?ti(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function ii(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e}function si(t,e,n,i){var s=!n;n||(n={});for(var r=-1,a=e.length;++r<a;){var o=e[r],c=i?i(n[o],t[o],o,n,t):void 0;c===void 0&&(c=t[o]),s?me(n,o,c):Jn(n,o,c)}return n}function ri(t){return at(function(e,n){var i=-1,s=n.length,r=s>1?n[s-1]:void 0,a=s>2?n[2]:void 0;for(r=t.length>3&&typeof r=="function"?(s--,r):void 0,a&&ui(n[0],n[1],a)&&(r=s<3?void 0:r,s=1),e=Object(e);++i<s;){var o=n[i];o&&t(e,o,i,r)}return e})}function oi(t){return function(e,n,i){for(var s=-1,r=Object(e),a=i(e),o=a.length;o--;){var c=a[t?o:++s];if(n(r[c],c,r)===!1)break}return e}}function ct(t,e,n,i,s,r){return S(t)&&S(e)&&(r.set(e,t),_e(t,e,void 0,ct,r),r.delete(e)),t}function Y(t,e){var n=t.__data__;return li(e)?n[typeof e=="string"?"string":"hash"]:n.map}function ye(t,e){var n=gn(t,e);return Kn(n)?n:void 0}function ai(t){var e=v.call(t,T),n=t[T];try{t[T]=void 0;var i=!0}catch{}var s=st.call(t);return i&&(e?t[T]=n:delete t[T]),s}function ci(t){return typeof t.constructor=="function"&&!lt(t)?An(rt(t)):{}}function ut(t,e){var n=typeof t;return e=e??Qe,!!e&&(n=="number"||n!="symbol"&&dn.test(t))&&t>-1&&t%1==0&&t<e}function ui(t,e,n){if(!S(n))return!1;var i=typeof e;return(i=="number"?be(n)&&ut(e,n.length):i=="string"&&e in n)?Z(n[e],t):!1}function li(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function di(t){return!!We&&We in t}function lt(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||J;return t===n}function hi(t){var e=[];if(t!=null)for(var n in Object(t))e.push(n);return e}function fi(t){return st.call(t)}function pi(t,e,n){return e=Je(e===void 0?t.length-1:e,0),function(){for(var i=arguments,s=-1,r=Je(i.length-e,0),a=Array(r);++s<r;)a[s]=i[e+s];s=-1;for(var o=Array(e+1);++s<e;)o[s]=i[s];return o[e]=n(a),it(t,this,o)}}function fe(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var gi=mi(Xn);function mi(t){var e=0,n=0;return function(){var i=In(),s=Dt-(i-n);if(n=i,s>0){if(++e>=jt)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function _i(t){if(t!=null){try{return H.call(t)}catch{}try{return t+""}catch{}}return""}function Z(t,e){return t===e||t!==t&&e!==e}var pe=He((function(){return arguments})())?He:function(t){return N(t)&&v.call(t,"callee")&&!Sn.call(t,"callee")},ge=Array.isArray;function be(t){return t!=null&&ht(t.length)&&!we(t)}function yi(t){return N(t)&&be(t)}var dt=xn||Ii;function we(t){if(!S(t))return!1;var e=Q(t);return e==Ze||e==kt||e==Vt||e==Gt}function ht(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Qe}function S(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function N(t){return t!=null&&typeof t=="object"}function bi(t){if(!N(t)||Q(t)!=Xe)return!1;var e=rt(t);if(e===null)return!0;var n=v.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&H.call(n)==bn}var ft=ke?pn(ke):Qn;function wi(t){return si(t,pt(t))}var Si=at(function(t){return t.push(void 0,ct),it(vi,void 0,t)});function pt(t){return be(t)?qn(t,!0):Yn(t)}var vi=ri(function(t,e,n,i){_e(t,e,n,i)});function xi(t){return function(){return t}}function gt(t){return t}function Ii(){return!1}C.exports=Si});z();z();var vt="ENTRIES",Ee="KEYS",je="VALUES";var j=class{constructor(e,n){let i=e._tree,s=Array.from(i.keys());this.set=e,this._type=n,this._path=s.length>0?[{node:i,keys:s}]:[]}next(){let e=this.dive();return this.backtrack(),e}dive(){if(this._path.length===0)return{done:!0,value:void 0};let{node:e,keys:n}=O(this._path);if(O(n)==="")return{done:!1,value:this.result()};let i=e.get(O(n));return this._path.push({node:i,keys:Array.from(i.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;let e=O(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>O(e)).filter(e=>e!=="").join("")}value(){return O(this._path).node.get("")}result(){switch(this._type){case je:return this.value();case Ee:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}},O=t=>t[t.length-1],xt=(t,e,n)=>{let i=new Map;if(e===void 0)return i;let s=e.length+1,r=s+n,a=new Uint8Array(r*s).fill(n+1);for(let o=0;o<s;++o)a[o]=o;for(let o=1;o<r;++o)a[o*s]=o;return De(t,e,n,i,a,1,s,""),i},De=(t,e,n,i,s,r,a,o)=>{let c=r*a;e:for(let u of t.keys())if(u===""){let l=s[c-1];l<=n&&i.set(o,[t.get(u),l])}else{let l=r;for(let h=0;h<u.length;++h,++l){let d=u[h],f=a*l,g=f-a,m=s[f],p=Math.max(0,l-n-1),b=Math.min(a-1,l+n);for(let w=p;w<b;++w){let X=d!==e[w],ee=s[g+w]+ +X,k=s[g+w+1]+1,I=s[f+w]+1,E=s[f+w+1]=Math.min(ee,k,I);E<m&&(m=E)}if(m>n)continue e}De(t.get(u),e,n,i,s,l,a,o+u)}},D=class t{constructor(e=new Map,n=""){this._size=void 0,this._tree=e,this._prefix=n}atPrefix(e){if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");let[n,i]=$(this._tree,e.slice(this._prefix.length));if(n===void 0){let[s,r]=ce(i);for(let a of s.keys())if(a!==""&&a.startsWith(r)){let o=new Map;return o.set(a.slice(r.length),s.get(a)),new t(o,e)}}return new t(n,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,It(this._tree,e)}entries(){return new j(this,vt)}forEach(e){for(let[n,i]of this)e(n,i,this)}fuzzyGet(e,n){return xt(this._tree,e,n)}get(e){let n=re(this._tree,e);return n!==void 0?n.get(""):void 0}has(e){let n=re(this._tree,e);return n!==void 0&&n.has("")}keys(){return new j(this,Ee)}set(e,n){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,te(this._tree,e).set("",n),this}get size(){if(this._size)return this._size;this._size=0;let e=this.entries();for(;!e.next().done;)this._size+=1;return this._size}update(e,n){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;let i=te(this._tree,e);return i.set("",n(i.get(""))),this}fetch(e,n){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;let i=te(this._tree,e),s=i.get("");return s===void 0&&i.set("",s=n()),s}values(){return new j(this,je)}[Symbol.iterator](){return this.entries()}static from(e){let n=new t;for(let[i,s]of e)n.set(i,s);return n}static fromObject(e){return t.from(Object.entries(e))}},$=(t,e,n=[])=>{if(e.length===0||t==null)return[t,n];for(let i of t.keys())if(i!==""&&e.startsWith(i))return n.push([t,i]),$(t.get(i),e.slice(i.length),n);return n.push([t,e]),$(void 0,"",n)},re=(t,e)=>{if(e.length===0||t==null)return t;for(let n of t.keys())if(n!==""&&e.startsWith(n))return re(t.get(n),e.slice(n.length))},te=(t,e)=>{let n=e.length;e:for(let i=0;t&&i<n;){for(let r of t.keys())if(r!==""&&e[i]===r[0]){let a=Math.min(n-i,r.length),o=1;for(;o<a&&e[i+o]===r[o];)++o;let c=t.get(r);if(o===r.length)t=c;else{let u=new Map;u.set(r.slice(o),c),t.set(e.slice(i,i+o),u),t.delete(r),t=u}i+=o;continue e}let s=new Map;return t.set(e.slice(i),s),s}return t},It=(t,e)=>{let[n,i]=$(t,e);if(n!==void 0){if(n.delete(""),n.size===0)Re(i);else if(n.size===1){let[s,r]=n.entries().next().value;Ve(i,s,r)}}},Re=t=>{if(t.length===0)return;let[e,n]=ce(t);if(e.delete(n),e.size===0)Re(t.slice(0,-1));else if(e.size===1){let[i,s]=e.entries().next().value;i!==""&&Ve(t.slice(0,-1),i,s)}},Ve=(t,e,n)=>{if(t.length===0)return;let[i,s]=ce(t);i.set(s+e,n),i.delete(s)},ce=t=>t[t.length-1],ue="or",Pe="and",At="and_not",A=class t{constructor(e){if(e?.fields==null)throw new Error('MiniSearch: option "fields" must be provided');let n=e.autoVacuum==null||e.autoVacuum===!0?se:e.autoVacuum;this._options={...ie,...e,autoVacuum:n,searchOptions:{...ze,...e.searchOptions||{}},autoSuggestOptions:{...Ct,...e.autoSuggestOptions||{}}},this._index=new D,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=ae,this.addFields(this._options.fields)}add(e){let{extractField:n,stringifyField:i,tokenize:s,processTerm:r,fields:a,idField:o}=this._options,c=n(e,o);if(c==null)throw new Error(`MiniSearch: document does not have ID field "${o}"`);if(this._idToShortId.has(c))throw new Error(`MiniSearch: duplicate ID ${c}`);let u=this.addDocumentId(c);this.saveStoredFields(u,e);for(let l of a){let h=n(e,l);if(h==null)continue;let d=s(i(h,l),l),f=this._fieldIds[l],g=new Set(d).size;this.addFieldLength(u,f,this._documentCount-1,g);for(let m of d){let p=r(m,l);if(Array.isArray(p))for(let b of p)this.addTerm(f,u,b);else p&&this.addTerm(f,u,p)}}}addAll(e){for(let n of e)this.add(n)}addAllAsync(e,n={}){let{chunkSize:i=10}=n,s={chunk:[],promise:Promise.resolve()},{chunk:r,promise:a}=e.reduce(({chunk:o,promise:c},u,l)=>(o.push(u),(l+1)%i===0?{chunk:[],promise:c.then(()=>new Promise(h=>setTimeout(h,0))).then(()=>this.addAll(o))}:{chunk:o,promise:c}),s);return a.then(()=>this.addAll(r))}remove(e){let{tokenize:n,processTerm:i,extractField:s,stringifyField:r,fields:a,idField:o}=this._options,c=s(e,o);if(c==null)throw new Error(`MiniSearch: document does not have ID field "${o}"`);let u=this._idToShortId.get(c);if(u==null)throw new Error(`MiniSearch: cannot remove document with ID ${c}: it is not in the index`);for(let l of a){let h=s(e,l);if(h==null)continue;let d=n(r(h,l),l),f=this._fieldIds[l],g=new Set(d).size;this.removeFieldLength(u,f,this._documentCount,g);for(let m of d){let p=i(m,l);if(Array.isArray(p))for(let b of p)this.removeTerm(f,u,b);else p&&this.removeTerm(f,u,p)}}this._storedFields.delete(u),this._documentIds.delete(u),this._idToShortId.delete(c),this._fieldLength.delete(u),this._documentCount-=1}removeAll(e){if(e)for(let n of e)this.remove(n);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new D,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(e){let n=this._idToShortId.get(e);if(n==null)throw new Error(`MiniSearch: cannot discard document with ID ${e}: it is not in the index`);this._idToShortId.delete(e),this._documentIds.delete(n),this._storedFields.delete(n),(this._fieldLength.get(n)||[]).forEach((i,s)=>{this.removeFieldLength(n,s,this._documentCount,i)}),this._fieldLength.delete(n),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;let{minDirtFactor:e,minDirtCount:n,batchSize:i,batchWait:s}=this._options.autoVacuum;this.conditionalVacuum({batchSize:i,batchWait:s},{minDirtCount:n,minDirtFactor:e})}discardAll(e){let n=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(let i of e)this.discard(i)}finally{this._options.autoVacuum=n}this.maybeAutoVacuum()}replace(e){let{idField:n,extractField:i}=this._options,s=i(e,n);this.discard(s),this.add(e)}vacuum(e={}){return this.conditionalVacuum(e)}conditionalVacuum(e,n){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&n,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{let i=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=ae,this.performVacuuming(e,i)}),this._enqueuedVacuum)):this.vacuumConditionsMet(n)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}async performVacuuming(e,n){let i=this._dirtCount;if(this.vacuumConditionsMet(n)){let s=e.batchSize||oe.batchSize,r=e.batchWait||oe.batchWait,a=1;for(let[o,c]of this._index){for(let[u,l]of c)for(let[h]of l)this._documentIds.has(h)||(l.size<=1?c.delete(u):l.delete(h));this._index.get(o).size===0&&this._index.delete(o),a%s===0&&await new Promise(u=>setTimeout(u,r)),a+=1}this._dirtCount-=i}await null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null}vacuumConditionsMet(e){if(e==null)return!0;let{minDirtCount:n,minDirtFactor:i}=e;return n=n||se.minDirtCount,i=i||se.minDirtFactor,this.dirtCount>=n&&this.dirtFactor>=i}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(e){return this._idToShortId.has(e)}getStoredFields(e){let n=this._idToShortId.get(e);if(n!=null)return this._storedFields.get(n)}search(e,n={}){let{searchOptions:i}=this._options,s={...i,...n},r=this.executeQuery(e,n),a=[];for(let[o,{score:c,terms:u,match:l}]of r){let h=u.length||1,d={id:this._documentIds.get(o),score:c*h,terms:Object.keys(l),queryTerms:u,match:l};Object.assign(d,this._storedFields.get(o)),(s.filter==null||s.filter(d))&&a.push(d)}return e===t.wildcard&&s.boostDocument==null||a.sort(Ce),a}autoSuggest(e,n={}){n={...this._options.autoSuggestOptions,...n};let i=new Map;for(let{score:r,terms:a}of this.search(e,n)){let o=a.join(" "),c=i.get(o);c!=null?(c.score+=r,c.count+=1):i.set(o,{score:r,terms:a,count:1})}let s=[];for(let[r,{score:a,terms:o,count:c}]of i)s.push({suggestion:r,terms:o,score:a/c});return s.sort(Ce),s}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(e,n){if(n==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),n)}static async loadJSONAsync(e,n){if(n==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(e),n)}static getDefault(e){if(ie.hasOwnProperty(e))return ne(ie,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,n){let{index:i,documentIds:s,fieldLength:r,storedFields:a,serializationVersion:o}=e,c=this.instantiateMiniSearch(e,n);c._documentIds=W(s),c._fieldLength=W(r),c._storedFields=W(a);for(let[u,l]of c._documentIds)c._idToShortId.set(l,u);for(let[u,l]of i){let h=new Map;for(let d of Object.keys(l)){let f=l[d];o===1&&(f=f.ds),h.set(parseInt(d,10),W(f))}c._index.set(u,h)}return c}static async loadJSAsync(e,n){let{index:i,documentIds:s,fieldLength:r,storedFields:a,serializationVersion:o}=e,c=this.instantiateMiniSearch(e,n);c._documentIds=await U(s),c._fieldLength=await U(r),c._storedFields=await U(a);for(let[l,h]of c._documentIds)c._idToShortId.set(h,l);let u=0;for(let[l,h]of i){let d=new Map;for(let f of Object.keys(h)){let g=h[f];o===1&&(g=g.ds),d.set(parseInt(f,10),await U(g))}++u%1e3===0&&await Be(0),c._index.set(l,d)}return c}static instantiateMiniSearch(e,n){let{documentCount:i,nextId:s,fieldIds:r,averageFieldLength:a,dirtCount:o,serializationVersion:c}=e;if(c!==1&&c!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");let u=new t(n);return u._documentCount=i,u._nextId=s,u._idToShortId=new Map,u._fieldIds=r,u._avgFieldLength=a,u._dirtCount=o||0,u._index=new D,u}executeQuery(e,n={}){if(e===t.wildcard)return this.executeWildcardQuery(n);if(typeof e!="string"){let d={...n,...e,queries:void 0},f=e.queries.map(g=>this.executeQuery(g,d));return this.combineResults(f,d.combineWith)}let{tokenize:i,processTerm:s,searchOptions:r}=this._options,a={tokenize:i,processTerm:s,...r,...n},{tokenize:o,processTerm:c}=a,h=o(e).flatMap(d=>c(d)).filter(d=>!!d).map(Ot(a)).map(d=>this.executeQuerySpec(d,a));return this.combineResults(h,a.combineWith)}executeQuerySpec(e,n){let i={...this._options.searchOptions,...n},s=(i.fields||this._options.fields).reduce((m,p)=>({...m,[p]:ne(i.boost,p)||1}),{}),{boostDocument:r,weights:a,maxFuzzy:o,bm25:c}=i,{fuzzy:u,prefix:l}={...ze.weights,...a},h=this._index.get(e.term),d=this.termResults(e.term,e.term,1,e.termBoost,h,s,r,c),f,g;if(e.prefix&&(f=this._index.atPrefix(e.term)),e.fuzzy){let m=e.fuzzy===!0?.2:e.fuzzy,p=m<1?Math.min(o,Math.round(e.term.length*m)):m;p&&(g=this._index.fuzzyGet(e.term,p))}if(f)for(let[m,p]of f){let b=m.length-e.term.length;if(!b)continue;g?.delete(m);let w=l*m.length/(m.length+.3*b);this.termResults(e.term,m,w,e.termBoost,p,s,r,c,d)}if(g)for(let m of g.keys()){let[p,b]=g.get(m);if(!b)continue;let w=u*m.length/(m.length+b);this.termResults(e.term,m,w,e.termBoost,p,s,r,c,d)}return d}executeWildcardQuery(e){let n=new Map,i={...this._options.searchOptions,...e};for(let[s,r]of this._documentIds){let a=i.boostDocument?i.boostDocument(r,"",this._storedFields.get(s)):1;n.set(s,{score:a,terms:[],match:{}})}return n}combineResults(e,n=ue){if(e.length===0)return new Map;let i=n.toLowerCase(),s=Tt[i];if(!s)throw new Error(`Invalid combination operator: ${n}`);return e.reduce(s)||new Map}toJSON(){let e=[];for(let[n,i]of this._index){let s={};for(let[r,a]of i)s[r]=Object.fromEntries(a);e.push([n,s])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:e,serializationVersion:2}}termResults(e,n,i,s,r,a,o,c,u=new Map){if(r==null)return u;for(let l of Object.keys(a)){let h=a[l],d=this._fieldIds[l],f=r.get(d);if(f==null)continue;let g=f.size,m=this._avgFieldLength[d];for(let p of f.keys()){if(!this._documentIds.has(p)){this.removeTerm(d,p,n),g-=1;continue}let b=o?o(this._documentIds.get(p),n,this._storedFields.get(p)):1;if(!b)continue;let w=f.get(p),X=this._fieldLength.get(p)[d],ee=zt(w,g,this._documentCount,X,m,c),k=i*s*h*b*ee,I=u.get(p);if(I){I.score+=k,Lt(I.terms,e);let E=ne(I.match,n);E?E.push(l):I.match[n]=[l]}else u.set(p,{score:k,terms:[e],match:{[n]:[l]}})}}return u}addTerm(e,n,i){let s=this._index.fetch(i,Le),r=s.get(e);if(r==null)r=new Map,r.set(n,1),s.set(e,r);else{let a=r.get(n);r.set(n,(a||0)+1)}}removeTerm(e,n,i){if(!this._index.has(i)){this.warnDocumentChanged(n,e,i);return}let s=this._index.fetch(i,Le),r=s.get(e);r==null||r.get(n)==null?this.warnDocumentChanged(n,e,i):r.get(n)<=1?r.size<=1?s.delete(e):r.delete(n):r.set(n,r.get(n)-1),this._index.get(i).size===0&&this._index.delete(i)}warnDocumentChanged(e,n,i){for(let s of Object.keys(this._fieldIds))if(this._fieldIds[s]===n){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${i}" was not present in field "${s}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(e){let n=this._nextId;return this._idToShortId.set(e,n),this._documentIds.set(n,e),this._documentCount+=1,this._nextId+=1,n}addFields(e){for(let n=0;n<e.length;n++)this._fieldIds[e[n]]=n}addFieldLength(e,n,i,s){let r=this._fieldLength.get(e);r==null&&this._fieldLength.set(e,r=[]),r[n]=s;let o=(this._avgFieldLength[n]||0)*i+s;this._avgFieldLength[n]=o/(i+1)}removeFieldLength(e,n,i,s){if(i===1){this._avgFieldLength[n]=0;return}let r=this._avgFieldLength[n]*i-s;this._avgFieldLength[n]=r/(i-1)}saveStoredFields(e,n){let{storeFields:i,extractField:s}=this._options;if(i==null||i.length===0)return;let r=this._storedFields.get(e);r==null&&this._storedFields.set(e,r={});for(let a of i){let o=s(n,a);o!==void 0&&(r[a]=o)}}};A.wildcard=Symbol("*");var ne=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)?t[e]:void 0,Tt={[ue]:(t,e)=>{for(let n of e.keys()){let i=t.get(n);if(i==null)t.set(n,e.get(n));else{let{score:s,terms:r,match:a}=e.get(n);i.score=i.score+s,i.match=Object.assign(i.match,a),Oe(i.terms,r)}}return t},[Pe]:(t,e)=>{let n=new Map;for(let i of e.keys()){let s=t.get(i);if(s==null)continue;let{score:r,terms:a,match:o}=e.get(i);Oe(s.terms,a),n.set(i,{score:s.score+r,terms:s.terms,match:Object.assign(s.match,o)})}return n},[At]:(t,e)=>{for(let n of e.keys())t.delete(n);return t}},Ft={k:1.2,b:.7,d:.5},zt=(t,e,n,i,s,r)=>{let{k:a,b:o,d:c}=r;return Math.log(1+(n-e+.5)/(e+.5))*(c+t*(a+1)/(t+a*(1-o+o*i/s)))},Ot=t=>(e,n,i)=>{let s=typeof t.fuzzy=="function"?t.fuzzy(e,n,i):t.fuzzy||!1,r=typeof t.prefix=="function"?t.prefix(e,n,i):t.prefix===!0,a=typeof t.boostTerm=="function"?t.boostTerm(e,n,i):1;return{term:e,fuzzy:s,prefix:r,termBoost:a}},ie={idField:"id",extractField:(t,e)=>t[e],stringifyField:(t,e)=>t.toString(),tokenize:t=>t.split(Mt),processTerm:t=>t.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(t,e)=>{typeof console?.[t]=="function"&&console[t](e)},autoVacuum:!0},ze={combineWith:ue,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:Ft},Ct={combineWith:Pe,prefix:(t,e,n)=>e===n.length-1},oe={batchSize:1e3,batchWait:10},ae={minDirtFactor:.1,minDirtCount:20},se={...oe,...ae},Lt=(t,e)=>{t.includes(e)||t.push(e)},Oe=(t,e)=>{for(let n of e)t.includes(n)||t.push(n)},Ce=({score:t},{score:e})=>e-t,Le=()=>new Map,W=t=>{let e=new Map;for(let n of Object.keys(t))e.set(parseInt(n,10),t[n]);return e},U=async t=>{let e=new Map,n=0;for(let i of Object.keys(t))e.set(parseInt(i,10),t[i]),++n%1e3===0&&await Be(0);return e},Be=t=>new Promise(e=>setTimeout(e,t)),Mt=/[\n\r\p{Z}\p{P}]+/u;var bt=St(mt(),1);import{z as y}from"zod";var _t=class{mapData;indexes;ready;constructor(e){this.mapData=e,this.indexes=Fi(e),this.ready=this.populate(),this.#e=ve(this.#t.bind(this),2e3)}#e;async populate(){let{places:e,enterpriseLocations:n,enterpriseCategories:i}=this.indexes,s=this.mapData,r=[];return e.removeAll(),r=r.concat([e.addAllAsync(s.getByType("space")),e.addAllAsync(s.getByType("point-of-interest")),e.addAllAsync(s.getByType("object")),e.addAllAsync(s.getByType("connection")),e.addAllAsync(s.getByType("floor")),e.addAllAsync(s.getByType("door")),e.addAllAsync(s.getByType("annotation")),e.addAllAsync(s.getByType("area"))]),n&&(n?.removeAll(),r.push(n.addAllAsync(s.getByType("enterprise-location")))),i&&(i?.removeAll(),r.push(i.addAllAsync(s.getByType("enterprise-category")))),Promise.all(r)}async search(e,n={}){await this.ready,zi.parse(n);let i=(0,bt.default)({},n,Ti),s=this.indexes.places.search(e,{fields:Object.keys(i.places.fields).filter(c=>i.places.fields[c])});i.places.limit&&(s=s.slice(0,i.places.limit));let r=this.indexes.enterpriseLocations?.search(e,{fields:Object.keys(i.enterpriseLocations.fields).filter(c=>i.enterpriseLocations.fields[c])});r&&i.enterpriseLocations.limit&&(r=r.slice(0,i.enterpriseLocations.limit));let a=this.indexes.enterpriseCategories?.search(e,{fields:Object.keys(i.enterpriseCategories.fields).filter(c=>i.enterpriseCategories.fields[c])});a&&i.enterpriseCategories.limit&&(a=a.slice(0,i.enterpriseCategories.limit));let o=Ai(this.mapData,{placesResult:s,locationsResult:r,categoriesResult:a});return this.#e(e),o}#t(e){this.mapData.Analytics.capture("$query-search",{query:e})}async suggest(e,n={}){await this.ready,Oi.parse(n);let i=[],{places:{enabled:s=!0}={},enterpriseLocations:{enabled:r=!0}={}}=n;r&&this.indexes.enterpriseLocations&&this.indexes.enterpriseLocations.autoSuggest(e,{fields:["name","tags"],combineWith:"AND",prefix:!0,boost:{name:2,tags:1}}).forEach(c=>i.push(c)),s&&this.indexes.places.autoSuggest(e,{fields:["name"],combineWith:"AND",prefix:!0}).forEach(c=>i.push(c));let a=new Map;i.forEach(c=>{let u=a.get(c.suggestion);(!u||c.score>u.score)&&a.set(c.suggestion,c)});let o=Array.from(a.values());return o.sort((c,u)=>u.score-c.score),this.mapData.Analytics.capture("$query-suggest",{query:e,suggestions:o.map(c=>c.suggestion)}),o}};function Ai(t,{placesResult:e,locationsResult:n,categoriesResult:i}){let s=e.reduce((o,{id:c,match:u,score:l,__type:h})=>{let d=t.getById(h,c);return d!=null&&!xe.is(d)&&!Ie.is(d)&&!Ae.is(d)&&!Te.is(d)&&!Fe.is(d)&&o.push({type:d.__type,match:u,score:l,item:d}),o},[]),r;if(n){r=[];for(let{id:o,match:c,score:u}of n){let l=t.getById("enterprise-location",o);l&&r.push({type:l.__type,match:c,score:u,item:l})}}let a;if(i){a=[];for(let{id:o,match:c,score:u}of i){let l=t.getById("enterprise-category",o);l&&a.push({type:l.__type,match:c,score:u,item:l})}}return{places:s,enterpriseLocations:r,enterpriseCategories:a}}var Ti={places:{fields:{name:!0,description:!0}},enterpriseCategories:{fields:{name:!0,description:!1,"locations.name":!0}},enterpriseLocations:{fields:{name:!0,tags:!0,description:!0}}};function Se(t){return t.normalize("NFD").replace(/[\u0300-\u036f|\u2019|\u0027|\']/g,"").toLowerCase()}function Fi(t){let e=new A({fields:["name","description"],storeFields:["id","__type"],searchOptions:{fuzzy:.2,prefix:!0,boost:{name:2},combineWith:"AND"},extractField:(a,o)=>{let c=a[o];return typeof c=="string"?Se(c):a[o]},processTerm:a=>Ci.has(a)?"":a.toLowerCase()}),n=t.getByType("enterprise-location"),i;n&&(i=new A({fields:["name","tags","description"],storeFields:["id","__type"],searchOptions:{combineWith:"OR",prefix:!0,fuzzy:.2,boost:{name:3,tags:2,description:1}},extractField:(a,o)=>Array.isArray(a[o])?a[o].join(" "):typeof a[o]=="string"?Se(a[o]):a[o]}));let s=t.getByType("enterprise-category"),r;return s&&(r=new A({fields:["name","description","locations.name"],storeFields:["id","__type"],extractField(a,o){return o==="locations.name"?a.locations.reduce((u,l)=>u+` ${yt} `+l.name,"")+` ${yt}`:typeof a[o]=="string"?Se(a[o]):a[o]},searchOptions:{combineWith:"OR",prefix:!0,fuzzy:.2,boost:{name:2,"locations.name":2}}})),{enterpriseCategories:r,enterpriseLocations:i,places:e}}var zi=y.object({places:y.object({fields:y.object({name:y.boolean().optional(),description:y.boolean().optional()}).optional(),limit:y.number().positive().optional()}).optional(),enterpriseCategories:y.object({fields:y.object({name:y.boolean().optional(),description:y.boolean().optional(),"locations.name":y.boolean().optional()}).optional(),limit:y.number().positive().optional()}).optional(),enterpriseLocations:y.object({fields:y.object({name:y.boolean().optional(),tags:y.boolean().optional(),description:y.boolean().optional()}).optional(),limit:y.number().positive().optional()}).optional()}),Oi=y.object({places:y.object({enabled:y.boolean().optional()}).optional(),enterpriseLocations:y.object({enabled:y.boolean().optional()}).optional()}),Ci=new Set(["the","an","and","or","of","in","on","at","to","from","with","by","for"]),yt="";export{_t as InternalSearch,Se as removeAccents};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@charset "UTF-8";: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-annotation-marker{--mappedin-annotation-border-radius: 5px;--mappedin-annotation-border-width: 2px;--mappedin-annotation-background-color: #ffffff;--mappedin-annotation-scale: .7;position:relative;box-sizing:border-box;border-radius:var(--mappedin-annotation-border-radius);border:var(--mappedin-annotation-border-width) solid var(--mappedin-annotation-background-color);transform:scale(var(--mappedin-annotation-scale)) translateY(0);box-shadow:0 2px 8px #00000040}.mappedin-annotation-marker img{position:absolute;image-rendering:crisp-edges;top:0;object-fit:contain;border-radius:calc(var(--mappedin-annotation-border-radius) - var(--mappedin-annotation-border-width))}.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}.mappedin-map .mappedin-interactive{cursor:grab}.mappedin-map .mappedin-interactive:active{cursor:grabbing}.mappedin-map .mappedin-interactive.mappedin-interaction-hover{cursor:pointer}.mappedin-map .mappedin-control-container{position:absolute;inset: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{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{left:0;position:absolute;top:0}.maplibregl-map:fullscreen{height:100%;width: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;-moz-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-bottom-left,.maplibregl-ctrl-bottom-right,.maplibregl-ctrl-top-left,.maplibregl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.maplibregl-ctrl-top-left{left:0;top:0}.maplibregl-ctrl-top-right{right:0;top:0}.maplibregl-ctrl-bottom-left{bottom:0;left:0}.maplibregl-ctrl-bottom-right{bottom:0;right:0}.maplibregl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.maplibregl-ctrl-top-left .maplibregl-ctrl{float:left;margin:10px 0 0 10px}.maplibregl-ctrl-top-right .maplibregl-ctrl{float:right;margin:10px 10px 0 0}.maplibregl-ctrl-bottom-left .maplibregl-ctrl{float:left;margin:0 0 10px 10px}.maplibregl-ctrl-bottom-right .maplibregl-ctrl{float:right;margin:0 10px 10px 0}.maplibregl-ctrl-group{background:#fff;border-radius:4px}.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px #0000001a}.maplibregl-ctrl-group button{background-color:transparent;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;padding:0;width:29px}.maplibregl-ctrl-group button+button{border-top:1px solid #ddd}.maplibregl-ctrl button .maplibregl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}.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.maplibregl-ctrl-attrib{background-color:#ffffff80;margin:0;padding:0 5px}.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;border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px}.maplibregl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.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{border:10px solid transparent;height:0;width:0;z-index:1}.maplibregl-popup-anchor-top .maplibregl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.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-left-color:#fff;border-right:none}.maplibregl-popup-close-button{background-color:transparent;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.maplibregl-popup-close-button:hover{background-color:#0000000d}.maplibregl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px #0000001a;padding:15px 10px;pointer-events:auto;position:relative}.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;-moz-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{left:0;position:absolute;top:0;transition:opacity .2s;will-change:transform}.maplibregl-user-location-dot,.maplibregl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.maplibregl-user-location-dot:before{animation:maplibregl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.maplibregl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px #00000059;box-sizing:border-box;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px}@keyframes maplibregl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.maplibregl-user-location-dot-stale{background-color:#aaa}.maplibregl-user-location-dot-stale:after{display:none}.maplibregl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.maplibregl-crosshair,.maplibregl-crosshair .maplibregl-interactive,.maplibregl-crosshair .maplibregl-interactive:active{cursor:crosshair}.maplibregl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}.maplibregl-cooperative-gesture-screen{align-items:center;background:#0006;color:#fff;display:flex;font-size:1.4em;inset:0;justify-content:center;line-height:1.2;opacity:0;padding:1rem;pointer-events:none;position:absolute;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{height:100%!important;left:0!important;position:fixed!important;top:0!important;width:100%!important;z-index:99999}.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-animated=false]{transition:none}.mappedin-marker[data-placement=hidden]>.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=hidden]:before{display:block}.mappedin__smart-collision-engine__container{position:absolute;inset:0;pointer-events:none;z-index:1;font-family:InterUI-Regular,Helvetica,Arial,sans-serif}.mappedin__smart-collision-engine-debug__container{position:absolute;inset:0;transition:opacity .3s ease-in-out;pointer-events:none;will-change:opacity}.mappedin__smart-collision-engine-debug__container.interacting{opacity:.2}
|