@kvass/widgets 1.7.5 → 1.7.6

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.
Files changed (2) hide show
  1. package/dist/map.js +3 -3
  2. package/package.json +1 -1
package/dist/map.js CHANGED
@@ -1,4 +1,4 @@
1
- import{q as zE,r as Zs,b as Bn,i as DE,D as PE,o as ta,c as $s,a as af,t as RE,d as cv,y as LE,_ as BE,E as OE,h as nv,e as tf,w as rf,j as of,v as Ln,F as FE,k as NE,p as VE}from"./_plugin-vue_export-helper.js";import{d as UE}from"./index.es.js";import{L as jE,V as GE,I as qE}from"./index.es2.js";var sv={},ZE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},uv={exports:{}};(function(Ar,Pt){(function(ai,Or){Ar.exports=Or()})(ZE,function(){var ai,Or,ko;function Bi(Ee,H){if(!ai)ai=H;else if(!Or)Or=H;else{var Fr="self.onerror = function() { console.error('An error occurred while parsing the WebWorker bundle. This is most likely due to improper transpilation by Babel; please see https://docs.mapbox.com/mapbox-gl-js/guides/install/#transpiling'); }; var sharedChunk = {}; ("+ai+")(sharedChunk); ("+Or+")(sharedChunk); self.onerror = null;",Rr={};ai(Rr),ko=H(Rr),typeof window<"u"&&window&&window.URL&&window.URL.createObjectURL&&(ko.workerUrl=window.URL.createObjectURL(new Blob([Fr],{type:"text/javascript"})))}}Bi(["exports"],function(Ee){var H=typeof self<"u"?self:{},Fr="3.1.2";let Rr;const Oe={API_URL:"https://api.mapbox.com",get API_URL_REGEX(){if(Rr==null){const t=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;try{Rr=sv.API_URL_REGEX!=null?new RegExp(sv.API_URL_REGEX):t}catch{Rr=t}}return Rr},get API_TILEJSON_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/v[0-9]*\/.*\.json.*$)/i},get API_SPRITE_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/styles\/v[0-9]*\/)(.*\/sprite.*\..*$)/i},get API_FONTS_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/fonts\/v[0-9]*\/)(.*\.pbf.*$)/i},get API_STYLE_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/styles\/v[0-9]*\/)(.*$)/i},get API_CDN_URL_REGEX(){return/^((https?:)?\/\/)?api\.mapbox\.c(n|om)(\/mapbox-gl-js\/)(.*$)/i},get EVENTS_URL(){if(!Oe.API_URL)return null;try{const t=new URL(Oe.API_URL);return t.hostname==="api.mapbox.cn"?"https://events.mapbox.cn/events/v2":t.hostname==="api.mapbox.com"?"https://events.mapbox.com/events/v2":null}catch{return null}},SESSION_PATH:"/map-sessions/v1",FEEDBACK_URL:"https://apps.mapbox.com/feedback",TILE_URL_VERSION:"v4",RASTER_URL_PREFIX:"raster/v1",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,DEFAULT_STYLE:"mapbox://styles/mapbox/standard",MAX_PARALLEL_IMAGE_REQUESTS:16,DRACO_URL:"https://api.mapbox.com/mapbox-gl-js/draco_decoder_gltf_v1.5.6.wasm",GLYPHS_URL:"mapbox://fonts/mapbox/{fontstack}/{range}.pbf"},vr={supported:!1,testSupport:function(t){!Ti&&br&&(Lr?Oi(t):Cr=t)}};let Cr,br,Ti=!1,Lr=!1;function Oi(t){const e=t.createTexture();t.bindTexture(t.TEXTURE_2D,e);try{if(t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,br),t.isContextLost())return;vr.supported=!0}catch{}t.deleteTexture(e),Ti=!0}H.document&&(br=H.document.createElement("img"),br.onload=function(){Cr&&Oi(Cr),Cr=null,Lr=!0},br.onerror=function(){Ti=!0,Cr=null},br.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");const To="01";function hi(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Hs=ia;function ia(t,e,r,i){this.cx=3*t,this.bx=3*(r-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(i-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=e,this.p2x=r,this.p2y=i}ia.prototype={sampleCurveX:function(t){return((this.ax*t+this.bx)*t+this.cx)*t},sampleCurveY:function(t){return((this.ay*t+this.by)*t+this.cy)*t},sampleCurveDerivativeX:function(t){return(3*this.ax*t+2*this.bx)*t+this.cx},solveCurveX:function(t,e){if(e===void 0&&(e=1e-6),t<0)return 0;if(t>1)return 1;for(var r=t,i=0;i<8;i++){var o=this.sampleCurveX(r)-t;if(Math.abs(o)<e)return r;var a=this.sampleCurveDerivativeX(r);if(Math.abs(a)<1e-6)break;r-=o/a}var n=0,s=1;for(r=t,i=0;i<20&&(o=this.sampleCurveX(r),!(Math.abs(o-t)<e));i++)t>o?n=r:s=r,r=.5*(s-n)+n;return r},solve:function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))}};var Ws=hi(Hs),Ba=Fi;function Fi(t,e){this.x=t,this.y=e}Fi.prototype={clone:function(){return new Fi(this.x,this.y)},add:function(t){return this.clone()._add(t)},sub:function(t){return this.clone()._sub(t)},multByPoint:function(t){return this.clone()._multByPoint(t)},divByPoint:function(t){return this.clone()._divByPoint(t)},mult:function(t){return this.clone()._mult(t)},div:function(t){return this.clone()._div(t)},rotate:function(t){return this.clone()._rotate(t)},rotateAround:function(t,e){return this.clone()._rotateAround(t,e)},matMult:function(t){return this.clone()._matMult(t)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(t){return this.x===t.x&&this.y===t.y},dist:function(t){return Math.sqrt(this.distSqr(t))},distSqr:function(t){var e=t.x-this.x,r=t.y-this.y;return e*e+r*r},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(t){return Math.atan2(this.y-t.y,this.x-t.x)},angleWith:function(t){return this.angleWithSep(t.x,t.y)},angleWithSep:function(t,e){return Math.atan2(this.x*e-this.y*t,this.x*t+this.y*e)},_matMult:function(t){var e=t[2]*this.x+t[3]*this.y;return this.x=t[0]*this.x+t[1]*this.y,this.y=e,this},_add:function(t){return this.x+=t.x,this.y+=t.y,this},_sub:function(t){return this.x-=t.x,this.y-=t.y,this},_mult:function(t){return this.x*=t,this.y*=t,this},_div:function(t){return this.x/=t,this.y/=t,this},_multByPoint:function(t){return this.x*=t.x,this.y*=t.y,this},_divByPoint:function(t){return this.x/=t.x,this.y/=t.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var t=this.y;return this.y=this.x,this.x=-t,this},_rotate:function(t){var e=Math.cos(t),r=Math.sin(t),i=r*this.x+e*this.y;return this.x=e*this.x-r*this.y,this.y=i,this},_rotateAround:function(t,e){var r=Math.cos(t),i=Math.sin(t),o=e.y+i*(this.x-e.x)+r*(this.y-e.y);return this.x=e.x+r*(this.x-e.x)-i*(this.y-e.y),this.y=o,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},Fi.convert=function(t){return t instanceof Fi?t:Array.isArray(t)?new Fi(t[0],t[1]):t};var N=hi(Ba);function dt(t,e){if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(!dt(t[r],e[r]))return!1;return!0}if(typeof t=="object"&&t!==null&&e!==null){if(typeof e!="object"||Object.keys(t).length!==Object.keys(e).length)return!1;for(const r in t)if(!dt(t[r],e[r]))return!1;return!0}return t===e}const du=Math.PI/180,oa=180/Math.PI;function He(t){return t*du}function wr(t){return t*oa}const pu=[[0,0],[1,0],[1,1],[0,1]];function Oa(t){if(t<=0)return 0;if(t>=1)return 1;const e=t*t,r=e*t;return 4*(t<.5?r:3*(t-e)+r-.75)}function fu(t){let e=1/0,r=1/0,i=-1/0,o=-1/0;for(const a of t)e=Math.min(e,a.x),r=Math.min(r,a.y),i=Math.max(i,a.x),o=Math.max(o,a.y);return{min:new N(e,r),max:new N(i,o)}}function aa(t,e,r=0,i=!0){const o=new N(r,r),a=t.sub(o),n=e.add(o),s=[a,new N(n.x,a.y),n,new N(a.x,n.y)];return i&&s.push(a.clone()),s}function na(t,e,r,i){const o=new Ws(t,e,r,i);return function(a){return o.solve(a)}}const di=na(.25,.1,.25,1);function Me(t,e,r){return Math.min(r,Math.max(e,t))}function Ni(t,e,r){return(r=Me((r-t)/(e-t),0,1))*r*(3-2*r)}function Vi(t,e,r){const i=r-e,o=((t-e)%i+i)%i+e;return o===e?r:o}function sa(t,e,r){if(!t.length)return r(null,[]);let i=t.length;const o=new Array(t.length);let a=null;t.forEach((n,s)=>{e(n,(l,c)=>{l&&(a=l),o[s]=c,--i==0&&r(a,o)})})}function la(t){const e=[];for(const r in t)e.push(t[r]);return e}function we(t,...e){for(const r of e)for(const i in r)t[i]=r[i];return t}function Zr(t,e){const r={};for(let i=0;i<e.length;i++){const o=e[i];o in t&&(r[o]=t[o])}return r}let mu=1;function Fa(){return mu++}function Xs(){return function t(e){return e?(e^Math.random()*(16>>e/4)).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}function Ys(t){return t<=1?1:Math.pow(2,Math.ceil(Math.log(t)/Math.LN2))}function Js(t){return!!t&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(t)}function pr(t,e){t.forEach(r=>{e[r]&&(e[r]=e[r].bind(e))})}function Na(t,e){return t.indexOf(e,t.length-e.length)!==-1}function Va(t,e,r){const i={};for(const o in t)i[o]=e.call(this,t[o],o,t);return i}function le(t,e,r){const i={};for(const o in t)e.call(this,t[o],o,t)&&(i[o]=t[o]);return i}function I(t){return Array.isArray(t)?t.map(I):typeof t=="object"&&t?Va(t,I):t}const P={};function F(t){P[t]||(typeof console<"u"&&console.warn(t),P[t]=!0)}function te(t,e,r){return(r.y-t.y)*(e.x-t.x)>(e.y-t.y)*(r.x-t.x)}function ie(t){let e=0;for(let r,i,o=0,a=t.length,n=a-1;o<a;n=o++)r=t[o],i=t[n],e+=(i.x-r.x)*(r.y+i.y);return e}function ve([t,e,r]){const i=He(e+90),o=He(r);return{x:t*Math.cos(i)*Math.sin(o),y:t*Math.sin(i)*Math.sin(o),z:t*Math.cos(o),azimuthal:e,polar:r}}function Ce(t,e,r){const i=Math.sqrt(t*t+e*e+r*r),o=i>0?Math.acos(r/i)*oa:0;let a=t!==0||e!==0?Math.atan2(-e,-t)*oa+90:0;return a<0&&(a+=360),[i,a,o]}function oe(){return typeof WorkerGlobalScope<"u"&&typeof self<"u"&&self instanceof WorkerGlobalScope}function Ie(t){const e={};if(t.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,(r,i,o,a)=>{const n=o||a;return e[i]=!n||n.toLowerCase(),""}),e["max-age"]){const r=parseInt(e["max-age"],10);isNaN(r)?delete e["max-age"]:e["max-age"]=r}return e}let qe=null;function je(){return!!H.document.fullscreenElement||!!H.document.webkitFullscreenElement}function Dt(t){try{const e=H[t];return e.setItem("_mapbox_test_",1),e.removeItem("_mapbox_test_"),!0}catch{return!1}}function $t(t,e){return[t[4*e],t[4*e+1],t[4*e+2],t[4*e+3]]}function kr(t,e,r){t[4*e+0]=r[0],t[4*e+1]=r[1],t[4*e+2]=r[2],t[4*e+3]=r[3]}function Ht(t,e){return[Math.pow(t[0],2.2)*e,Math.pow(t[1],2.2)*e,Math.pow(t[2],2.2)*e]}function er(t){return[Math.pow(t[0],1/2.2),Math.pow(t[1],1/2.2),Math.pow(t[2],1/2.2)]}const Bt="mapbox-tiles";let Ir=500,Nr=50,Vr,Ei;function Ua(){try{return H.caches}catch{}}function $r(){Ua()&&!Vr&&(Vr=H.caches.open(Bt))}function ro(t){const e=t.indexOf("?");if(e<0)return t;const r=function(o){const a=o.indexOf("?");return a>0?o.slice(a+1).split("&"):[]}(t),i=r.filter(o=>{const a=o.split("=");return a[0]==="language"||a[0]==="worldview"});return i.length?`${t.slice(0,e)}?${i.join("&")}`:t.slice(0,e)}let Eo=1/0;function ja(t){Eo++,Eo>Nr&&(t.getActor().send("enforceCacheSizeLimit",Ir),Eo=0)}const J={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image",Model:"Model"};typeof Object.freeze=="function"&&Object.freeze(J);class Q extends Error{constructor(e,r,i){r===401&&Wt(i)&&(e+=": you may have provided an invalid Mapbox access token. See https://docs.mapbox.com/api/overview/#access-tokens-and-token-scopes"),super(e),this.status=r,this.url=i}toString(){return`${this.name}: ${this.message} (${this.status}): ${this.url}`}}const ne=oe()?()=>self.worker&&self.worker.referrer:()=>(H.location.protocol==="blob:"?H.parent:H).location.href,ce=function(t,e){if(!(/^file:/.test(r=t.url)||/^file:/.test(ne())&&!/^\w+:/.test(r))){if(H.fetch&&H.Request&&H.AbortController&&H.Request.prototype.hasOwnProperty("signal"))return function(i,o){const a=new H.AbortController,n=new H.Request(i.url,{method:i.method||"GET",body:i.body,credentials:i.credentials,headers:i.headers,referrer:ne(),referrerPolicy:i.referrerPolicy,signal:a.signal});let s=!1,l=!1;const c=(u=n.url).indexOf("sku=")>0&&Wt(u);var u;i.type==="json"&&n.headers.set("Accept","application/json");const h=(p,f,m)=>{if(l)return;if(p&&p.message!=="SecurityError"&&F(p.toString()),f&&m)return d(f);const g=Date.now();H.fetch(n).then(_=>{if(_.ok){const y=c?_.clone():null;return d(_,y,g)}return o(new Q(_.statusText,_.status,i.url))}).catch(_=>{_.name!=="AbortError"&&o(new Error(`${_.message} ${i.url}`))})},d=(p,f,m)=>{(i.type==="arrayBuffer"?p.arrayBuffer():i.type==="json"?p.json():p.text()).then(g=>{l||(f&&m&&function(_,y,v){if($r(),!Vr)return;const b={status:y.status,statusText:y.statusText,headers:new H.Headers};y.headers.forEach((k,T)=>b.headers.set(T,k));const x=Ie(y.headers.get("Cache-Control")||"");if(x["no-store"])return;x["max-age"]&&b.headers.set("Expires",new Date(v+1e3*x["max-age"]).toUTCString());const w=b.headers.get("Expires");w&&(new Date(w).getTime()-v<42e4||function(k,T){if(Ei===void 0)try{new Response(new ReadableStream),Ei=!0}catch{Ei=!1}Ei?T(k.body):k.blob().then(T)}(y,k=>{const T=new H.Response(k,b);$r(),Vr&&Vr.then(E=>E.put(ro(_.url),T)).catch(E=>F(E.message))}))}(n,f,m),s=!0,o(null,g,p.headers.get("Cache-Control"),p.headers.get("Expires")))}).catch(g=>{l||o(new Error(g.message))})};return c?function(p,f){if($r(),!Vr)return f(null);const m=ro(p.url);Vr.then(g=>{g.match(m).then(_=>{const y=function(v){if(!v)return!1;const b=new Date(v.headers.get("Expires")||0),x=Ie(v.headers.get("Cache-Control")||"");return b>Date.now()&&!x["no-cache"]}(_);g.delete(m),y&&g.put(m,_.clone()),f(null,_,y)}).catch(f)}).catch(f)}(n,h):h(null,null),{cancel:()=>{l=!0,s||a.abort()}}}(t,e);if(oe()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",t,e,void 0,!0)}var r;return function(i,o){const a=new H.XMLHttpRequest;a.open(i.method||"GET",i.url,!0),i.type==="arrayBuffer"&&(a.responseType="arraybuffer");for(const n in i.headers)a.setRequestHeader(n,i.headers[n]);return i.type==="json"&&(a.responseType="text",a.setRequestHeader("Accept","application/json")),a.withCredentials=i.credentials==="include",a.onerror=()=>{o(new Error(a.statusText))},a.onload=()=>{if((a.status>=200&&a.status<300||a.status===0)&&a.response!==null){let n=a.response;if(i.type==="json")try{n=JSON.parse(a.response)}catch(s){return o(s)}o(null,n,a.getResponseHeader("Cache-Control"),a.getResponseHeader("Expires"))}else o(new Q(a.statusText,a.status,i.url))},a.send(i.body),{cancel:()=>a.abort()}}(t,e)},ue=function(t,e){return ce(we(t,{type:"json"}),e)},fe=function(t,e){return ce(we(t,{type:"arrayBuffer"}),e)};function ge(t){const e=H.document.createElement("a");return e.href=t,e.protocol===H.document.location.protocol&&e.host===H.document.location.host}const he="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";let Te,me;Te=[],me=0;const Je=function(t,e){if(vr.supported&&(t.headers||(t.headers={}),t.headers.accept="image/webp,*/*"),me>=Oe.MAX_PARALLEL_IMAGE_REQUESTS){const a={requestParameters:t,callback:e,cancelled:!1,cancel(){this.cancelled=!0}};return Te.push(a),a}me++;let r=!1;const i=()=>{if(!r)for(r=!0,me--;Te.length&&me<Oe.MAX_PARALLEL_IMAGE_REQUESTS;){const a=Te.shift(),{requestParameters:n,callback:s,cancelled:l}=a;l||(a.cancel=Je(n,s).cancel)}},o=fe(t,(a,n,s,l)=>{i(),a?e(a):n&&(H.createImageBitmap?function(c,u){const h=new H.Blob([new Uint8Array(c)],{type:"image/png"});H.createImageBitmap(h).then(d=>{u(null,d)}).catch(d=>{u(new Error(`Could not load image because of ${d.message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`))})}(n,(c,u)=>e(c,u,s,l)):function(c,u){const h=new H.Image,d=H.URL;h.onload=()=>{u(null,h),d.revokeObjectURL(h.src),h.onload=null,H.requestAnimationFrame(()=>{h.src=he})},h.onerror=()=>u(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));const p=new H.Blob([new Uint8Array(c)],{type:"image/png"});h.src=c.byteLength?d.createObjectURL(p):he}(n,(c,u)=>e(c,u,s,l)))});return{cancel:()=>{o.cancel(),i()}}},St="NO_ACCESS_TOKEN";class Pe{constructor(e,r,i){this._transformRequestFn=e,this._customAccessToken=r,this._silenceAuthErrors=!!i,this._createSkuToken()}_createSkuToken(){const e=function(){let r="";for(let i=0;i<10;i++)r+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",To,r].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=e.token,this._skuTokenExpiresAt=e.tokenExpiresAt}_isSkuTokenExpired(){return Date.now()>this._skuTokenExpiresAt}transformRequest(e,r){return this._transformRequestFn&&this._transformRequestFn(e,r)||{url:e}}normalizeStyleURL(e,r){if(!wt(e))return e;const i=fr(e);return i.params.push(`sdk=js-${Fr}`),i.path=`/styles/v1${i.path}`,this._makeAPIURL(i,this._customAccessToken||r)}normalizeGlyphsURL(e,r){if(!wt(e))return e;const i=fr(e);return i.path=`/fonts/v1${i.path}`,this._makeAPIURL(i,this._customAccessToken||r)}normalizeModelURL(e,r){if(!wt(e))return e;const i=fr(e);return i.path=`/models/v1${i.path}`,this._makeAPIURL(i,this._customAccessToken||r)}normalizeSourceURL(e,r,i,o){if(!wt(e))return e;const a=fr(e);return a.path=`/v4/${a.authority}.json`,a.params.push("secure"),i&&a.params.push(`language=${i}`),o&&a.params.push(`worldview=${o}`),this._makeAPIURL(a,this._customAccessToken||r)}normalizeSpriteURL(e,r,i,o){const a=fr(e);return wt(e)?(a.path=`/styles/v1${a.path}/sprite${r}${i}`,this._makeAPIURL(a,this._customAccessToken||o)):(a.path+=`${r}${i}`,Ur(a))}normalizeTileURL(e,r,i){if(this._isSkuTokenExpired()&&this._createSkuToken(),e&&!wt(e))return e;const o=fr(e);o.path=o.path.replace(/(\.(png|jpg)\d*)(?=$)/,`${r||i&&o.authority!=="raster"&&i===512?"@2x":""}${vr.supported?".webp":"$1"}`),o.authority==="raster"?o.path=`/${Oe.RASTER_URL_PREFIX}${o.path}`:(o.path=o.path.replace(/^.+\/v4\//,"/"),o.path=`/${Oe.TILE_URL_VERSION}${o.path}`);const a=this._customAccessToken||function(n){for(const s of n){const l=s.match(/^access_token=(.*)$/);if(l)return l[1]}return null}(o.params)||Oe.ACCESS_TOKEN;return Oe.REQUIRE_ACCESS_TOKEN&&a&&this._skuToken&&o.params.push(`sku=${this._skuToken}`),this._makeAPIURL(o,a)}canonicalizeTileURL(e,r){const i=fr(e);if(!i.path.match(/^(\/v4\/|\/raster\/v1\/)/)||!i.path.match(/\.[\w]+$/))return e;let o="mapbox://";i.path.match(/^\/raster\/v1\//)?o+=`raster/${i.path.replace(`/${Oe.RASTER_URL_PREFIX}/`,"")}`:o+=`tiles/${i.path.replace(`/${Oe.TILE_URL_VERSION}/`,"")}`;let a=i.params;return r&&(a=a.filter(n=>!n.match(/^access_token=/))),a.length&&(o+=`?${a.join("&")}`),o}canonicalizeTileset(e,r){const i=!!r&&wt(r),o=[];for(const a of e.tiles||[])Wt(a)?o.push(this.canonicalizeTileURL(a,i)):o.push(a);return o}_makeAPIURL(e,r){const i="See https://docs.mapbox.com/api/overview/#access-tokens-and-token-scopes",o=fr(Oe.API_URL);if(e.protocol=o.protocol,e.authority=o.authority,e.protocol==="http"){const a=e.params.indexOf("secure");a>=0&&e.params.splice(a,1)}if(o.path!=="/"&&(e.path=`${o.path}${e.path}`),!Oe.REQUIRE_ACCESS_TOKEN)return Ur(e);if(r=r||Oe.ACCESS_TOKEN,!this._silenceAuthErrors){if(!r)throw new Error(`An API access token is required to use Mapbox GL. ${i}`);if(r[0]==="s")throw new Error(`Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). ${i}`)}return e.params=e.params.filter(a=>a.indexOf("access_token")===-1),e.params.push(`access_token=${r||""}`),Ur(e)}}function wt(t){return t.indexOf("mapbox:")===0}function Wt(t){return Oe.API_URL_REGEX.test(t)}function tr(t){return Oe.API_CDN_URL_REGEX.test(t)}function lr(t){return Oe.API_STYLE_REGEX.test(t)&&!zr(t)}function zr(t){return Oe.API_SPRITE_REGEX.test(t)}const pi=/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;function fr(t){const e=t.match(pi);if(!e)throw new Error("Unable to parse URL object");return{protocol:e[1],authority:e[2],path:e[3]||"/",params:e[4]?e[4].split("&"):[]}}function Ur(t){const e=t.params.length?`?${t.params.join("&")}`:"";return`${t.protocol}://${t.authority}${t.path}${e}`}const Dr="mapbox.eventData";function Ga(t){if(!t)return null;const e=t.split(".");if(!e||e.length!==3)return null;try{return JSON.parse(decodeURIComponent(H.atob(e[1]).split("").map(r=>"%"+("00"+r.charCodeAt(0).toString(16)).slice(-2)).join("")))}catch{return null}}class Mo{constructor(e){this.type=e,this.anonId=null,this.eventData={},this.queue=[],this.pendingRequest=null}getStorageKey(e){const r=Ga(Oe.ACCESS_TOKEN);let i="";return i=r&&r.u?H.btoa(encodeURIComponent(r.u).replace(/%([0-9A-F]{2})/g,(o,a)=>String.fromCharCode(+("0x"+a)))):Oe.ACCESS_TOKEN||"",e?`${Dr}.${e}:${i}`:`${Dr}:${i}`}fetchEventData(){const e=Dt("localStorage"),r=this.getStorageKey(),i=this.getStorageKey("uuid");if(e)try{const o=H.localStorage.getItem(r);o&&(this.eventData=JSON.parse(o));const a=H.localStorage.getItem(i);a&&(this.anonId=a)}catch{F("Unable to read from LocalStorage")}}saveEventData(){const e=Dt("localStorage"),r=this.getStorageKey(),i=this.getStorageKey("uuid");if(e)try{H.localStorage.setItem(i,this.anonId),Object.keys(this.eventData).length>=1&&H.localStorage.setItem(r,JSON.stringify(this.eventData))}catch{F("Unable to write to LocalStorage")}}processRequests(e){}postEvent(e,r,i,o){if(!Oe.EVENTS_URL)return;const a=fr(Oe.EVENTS_URL);a.params.push(`access_token=${o||Oe.ACCESS_TOKEN||""}`);const n={event:this.type,created:new Date(e).toISOString()},s=r?we(n,r):n,l={url:Ur(a),headers:{"Content-Type":"text/plain"},body:JSON.stringify([s])};this.pendingRequest=function(c,u){return ce(we(c,{method:"POST"}),u)}(l,c=>{this.pendingRequest=null,i(c),this.saveEventData(),this.processRequests(o)})}queueRequest(e,r){this.queue.push(e),this.processRequests(r)}}const qa=new class extends Mo{constructor(t){super("appUserTurnstile"),this._customAccessToken=t}postTurnstileEvent(t,e){Oe.EVENTS_URL&&Oe.ACCESS_TOKEN&&Array.isArray(t)&&t.some(r=>wt(r)||Wt(r))&&this.queueRequest(Date.now(),e)}processRequests(t){if(this.pendingRequest||this.queue.length===0)return;this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();const e=Ga(Oe.ACCESS_TOKEN),r=e?e.u:Oe.ACCESS_TOKEN;let i=r!==this.eventData.tokenU;Js(this.anonId)||(this.anonId=Xs(),i=!0);const o=this.queue.shift();if(this.eventData.lastSuccess){const a=new Date(this.eventData.lastSuccess),n=new Date(o),s=(o-this.eventData.lastSuccess)/864e5;i=i||s>=1||s<-1||a.getDate()!==n.getDate()}else i=!0;i?this.postEvent(o,{sdkIdentifier:"mapbox-gl-js",sdkVersion:Fr,skuId:To,"enabled.telemetry":!1,userId:this.anonId},a=>{a||(this.eventData.lastSuccess=o,this.eventData.tokenU=r)},t):this.processRequests()}},gu=qa.postTurnstileEvent.bind(qa),nf=new class extends Mo{constructor(){super("map.load"),this.success={},this.skuToken=""}postMapLoadEvent(t,e,r,i){this.skuToken=e,this.errorCb=i,Oe.EVENTS_URL&&(r||Oe.ACCESS_TOKEN?this.queueRequest({id:t,timestamp:Date.now()},r):this.errorCb(new Error(St)))}processRequests(t){if(this.pendingRequest||this.queue.length===0)return;const{id:e,timestamp:r}=this.queue.shift();e&&this.success[e]||(this.anonId||this.fetchEventData(),Js(this.anonId)||(this.anonId=Xs()),this.postEvent(r,{sdkIdentifier:"mapbox-gl-js",sdkVersion:Fr,skuId:To,skuToken:this.skuToken,userId:this.anonId},i=>{i?this.errorCb(i):e&&(this.success[e]=!0)},t))}},dv=nf.postMapLoadEvent.bind(nf),sf=new class extends Mo{constructor(){super("gljs.performance")}postPerformanceEvent(t,e){Oe.EVENTS_URL&&(t||Oe.ACCESS_TOKEN)&&this.queueRequest({timestamp:Date.now(),performanceData:e},t)}processRequests(t){if(this.pendingRequest||this.queue.length===0)return;const{timestamp:e,performanceData:r}=this.queue.shift(),i=function(o){const a=H.performance.getEntriesByType("resource"),n=H.performance.getEntriesByType("mark"),s=function(d){const p={};if(d){for(const f in d)if(f!=="other")for(const m of d[f]){const g=`${f}ResolveRangeMin`,_=`${f}ResolveRangeMax`,y=`${f}RequestCount`,v=`${f}RequestCachedCount`;p[g]=Math.min(p[g]||1/0,m.startTime),p[_]=Math.max(p[_]||-1/0,m.responseEnd);const b=x=>{p[x]===void 0&&(p[x]=0),++p[x]};m.transferSize!==void 0&&m.transferSize===0&&b(v),b(y)}}return p}(function(d,p){const f={};if(d)for(const m of d){const g=p(m);f[g]===void 0&&(f[g]=[]),f[g].push(m)}return f}(a,mv)),l=H.devicePixelRatio,c=H.navigator.connection||H.navigator.mozConnection||H.navigator.webkitConnection,u={counters:[],metadata:[],attributes:[]},h=(d,p,f)=>{f!=null&&d.push({name:p,value:f.toString()})};for(const d in s)h(u.counters,d,s[d]);if(o.interactionRange[0]!==1/0&&o.interactionRange[1]!==-1/0&&(h(u.counters,"interactionRangeMin",o.interactionRange[0]),h(u.counters,"interactionRangeMax",o.interactionRange[1])),n)for(const d of Object.keys(Qs)){const p=Qs[d],f=n.find(m=>m.name===p);f&&h(u.counters,p,f.startTime)}return h(u.counters,"visibilityHidden",o.visibilityHidden),h(u.attributes,"style",function(d){if(d)for(const p of d){const f=p.name.split("?")[0];if(lr(f)){const m=f.split("/").slice(-2);if(m.length===2)return`mapbox://styles/${m[0]}/${m[1]}`}}}(a)),h(u.attributes,"terrainEnabled",o.terrainEnabled?"true":"false"),h(u.attributes,"fogEnabled",o.fogEnabled?"true":"false"),h(u.attributes,"projection",o.projection),h(u.attributes,"zoom",o.zoom),h(u.metadata,"devicePixelRatio",l),h(u.metadata,"connectionEffectiveType",c?c.effectiveType:void 0),h(u.metadata,"navigatorUserAgent",H.navigator.userAgent),h(u.metadata,"screenWidth",H.screen.width),h(u.metadata,"screenHeight",H.screen.height),h(u.metadata,"windowWidth",H.innerWidth),h(u.metadata,"windowHeight",H.innerHeight),h(u.metadata,"mapWidth",o.width/l),h(u.metadata,"mapHeight",o.height/l),h(u.metadata,"webglRenderer",o.renderer),h(u.metadata,"webglVendor",o.vendor),h(u.metadata,"sdkVersion",Fr),h(u.metadata,"sdkIdentifier","mapbox-gl-js"),u}(r);for(const o of i.metadata);for(const o of i.counters);for(const o of i.attributes);this.postEvent(e,i,()=>{},t)}},pv=sf.postPerformanceEvent.bind(sf),lf=new class extends Mo{constructor(){super("map.auth"),this.success={},this.skuToken=""}getSession(t,e,r,i){if(!Oe.API_URL||!Oe.SESSION_PATH)return;const o=fr(Oe.API_URL+Oe.SESSION_PATH);o.params.push(`sku=${e||""}`),o.params.push(`access_token=${i||Oe.ACCESS_TOKEN||""}`);const a={url:Ur(o),headers:{"Content-Type":"text/plain"}};this.pendingRequest=function(n,s){return ce(we(n,{method:"GET"}),s)}(a,n=>{this.pendingRequest=null,r(n),this.saveEventData(),this.processRequests(i)})}getSessionAPI(t,e,r,i){this.skuToken=e,this.errorCb=i,Oe.SESSION_PATH&&Oe.API_URL&&(r||Oe.ACCESS_TOKEN?this.queueRequest({id:t,timestamp:Date.now()},r):this.errorCb(new Error(St)))}processRequests(t){if(this.pendingRequest||this.queue.length===0)return;const{id:e,timestamp:r}=this.queue.shift();e&&this.success[e]||this.getSession(r,this.skuToken,i=>{i?this.errorCb(i):e&&(this.success[e]=!0)},t)}},fv=lf.getSessionAPI.bind(lf),Ks=new Set;function cf(t,e){e?Ks.add(t):Ks.delete(t)}const Qs={create:"create",load:"load",fullLoad:"fullLoad"},uf={mark(t){H.performance.mark(t)},measure(t,e,r){H.performance.measure(t,e,r)}};function mv(t){const e=t.name.split("?")[0];return tr(e)&&e.includes("mapbox-gl.js")?"javascript":tr(e)&&e.includes("mapbox-gl.css")?"css":function(r){return Oe.API_FONTS_REGEX.test(r)}(e)?"fontRange":zr(e)?"sprite":lr(e)?"style":function(r){return Oe.API_TILEJSON_REGEX.test(r)}(e)?"tilejson":"other"}const gv=H.performance;function hf(t){const e=t?t.url.toString():void 0;return gv.getEntriesByName(e)}var df=_u;function _u(t){return!function(e){return typeof window>"u"||typeof document>"u"?"not a browser":Array.prototype&&Array.prototype.every&&Array.prototype.filter&&Array.prototype.forEach&&Array.prototype.indexOf&&Array.prototype.lastIndexOf&&Array.prototype.map&&Array.prototype.some&&Array.prototype.reduce&&Array.prototype.reduceRight&&Array.isArray?Function.prototype&&Function.prototype.bind?Object.keys&&Object.create&&Object.getPrototypeOf&&Object.getOwnPropertyNames&&Object.isSealed&&Object.isFrozen&&Object.isExtensible&&Object.getOwnPropertyDescriptor&&Object.defineProperty&&Object.defineProperties&&Object.seal&&Object.freeze&&Object.preventExtensions?"JSON"in window&&"parse"in JSON&&"stringify"in JSON?function(){if(!("Worker"in window&&"Blob"in window&&"URL"in window))return!1;var i,o,a=new Blob([""],{type:"text/javascript"}),n=URL.createObjectURL(a);try{o=new Worker(n),i=!0}catch{i=!1}return o&&o.terminate(),URL.revokeObjectURL(n),i}()?"Uint8ClampedArray"in window?ArrayBuffer.isView?function(){var i=document.createElement("canvas");i.width=i.height=1;var o=i.getContext("2d");if(!o)return!1;var a=o.getImageData(0,0,1,1);return a&&a.width===i.width}()?(yu[r=e&&e.failIfMajorPerformanceCaveat]===void 0&&(yu[r]=function(i){var o,a=function(n){var s=document.createElement("canvas"),l=Object.create(_u.webGLContextAttributes);return l.failIfMajorPerformanceCaveat=n,s.getContext("webgl",l)||s.getContext("experimental-webgl",l)}(i);if(!a)return!1;try{o=a.createShader(a.VERTEX_SHADER)}catch{return!1}return!(!o||a.isContextLost())&&(a.shaderSource(o,"void main() {}"),a.compileShader(o),a.getShaderParameter(o,a.COMPILE_STATUS)===!0)}(r)),yu[r]?document.documentMode?"insufficient ECMAScript 6 support":void 0:"insufficient WebGL support"):"insufficient Canvas/getImageData support":"insufficient ArrayBuffer support":"insufficient Uint8ClampedArray support":"insufficient worker support":"insufficient JSON support":"insufficient Object support":"insufficient Function support":"insufficent Array support";var r}(t)}var yu={};let xu,el,vu,tl,ca;function pf(){return xu==null&&(xu=H.OffscreenCanvas&&new H.OffscreenCanvas(1,1).getContext("2d")&&typeof H.createImageBitmap=="function"),xu}_u.webGLContextAttributes={antialias:!1,alpha:!0,stencil:!0,depth:!0};const Ge={now:()=>tl!==void 0?tl:H.performance.now(),setNow(t){tl=t},restoreNow(){tl=void 0},frame(t){const e=H.requestAnimationFrame(t);return{cancel:()=>H.cancelAnimationFrame(e)}},getImageData(t,e=0){const{width:r,height:i}=t;ca||(ca=H.document.createElement("canvas"));const o=ca.getContext("2d",{willReadFrequently:!0});if(!o)throw new Error("failed to create canvas 2d context");return(r>ca.width||i>ca.height)&&(ca.width=r,ca.height=i),o.clearRect(-e,-e,r+2*e,i+2*e),o.drawImage(t,0,0,r,i),o.getImageData(-e,-e,r+2*e,i+2*e)},resolveURL:t=>(el||(el=H.document.createElement("a")),el.href=t,el.href),get devicePixelRatio(){return H.devicePixelRatio},get prefersReducedMotion(){return!!H.matchMedia&&(vu==null&&(vu=H.matchMedia("(prefers-reduced-motion: reduce)")),vu.matches)},hasCanvasFingerprintNoise(){if(!pf())return!1;const t=new H.OffscreenCanvas(85,1),e=t.getContext("2d",{willReadFrequently:!0});let r=0;for(let o=0;o<t.width;++o)e.fillStyle=`rgba(${r++},${r++},${r++}, 255)`,e.fillRect(o,0,1,1);const i=e.getImageData(0,0,t.width,t.height);r=0;for(let o=0;o<i.data.length;++o)if(o%4!=3&&r++!==i.data[o])return!0;return!1}};function zt(t,e,r){const i=H.document.createElement(t);return e!==void 0&&(i.className=e),r&&r.appendChild(i),i}function io(t,e,r){const i=H.document.createElementNS("http://www.w3.org/2000/svg",t);for(const o of Object.keys(e))i.setAttributeNS(null,o,e[o]);return r&&r.appendChild(i),i}const ua=H.document&&H.document.documentElement.style,On=ua&&ua.userSelect!==void 0?"userSelect":"WebkitUserSelect";let ff;function mf(){ua&&On&&(ff=ua[On],ua[On]="none")}function gf(){ua&&On&&(ua[On]=ff)}function bu(t){t.preventDefault(),t.stopPropagation(),H.removeEventListener("click",bu,!0)}function wu(){H.addEventListener("click",bu,!0),H.setTimeout(()=>{H.removeEventListener("click",bu,!0)},0)}function Fn(t,e){const r=t.getBoundingClientRect();return yf(t,r,e)}function rl(t,e){const r=t.getBoundingClientRect(),i=[];for(let o=0;o<e.length;o++)i.push(yf(t,r,e[o]));return i}function _f(t){return H.InstallTrigger!==void 0&&t.button===2&&t.ctrlKey&&H.navigator.platform.toUpperCase().indexOf("MAC")>=0?0:t.button}function yf(t,e,r){const i=t.offsetWidth===e.width?1:t.offsetWidth/e.width;return new N((r.clientX-e.left)*i,(r.clientY-e.top)*i)}function xf(t,e,r){r[t]&&r[t].indexOf(e)!==-1||(r[t]=r[t]||[],r[t].push(e))}function ku(t,e,r){if(r&&r[t]){const i=r[t].indexOf(e);i!==-1&&r[t].splice(i,1)}}class se{constructor(e,r={}){we(this,r),this.type=e}}class Ue extends se{constructor(e,r={}){super("error",we({error:e},r))}}class or{on(e,r){return this._listeners=this._listeners||{},xf(e,r,this._listeners),this}off(e,r){return ku(e,r,this._listeners),ku(e,r,this._oneTimeListeners),this}once(e,r){return r?(this._oneTimeListeners=this._oneTimeListeners||{},xf(e,r,this._oneTimeListeners),this):new Promise(i=>this.once(e,i))}fire(e,r){typeof e=="string"&&(e=new se(e,r||{}));const i=e.type;if(this.listens(i)){e.target=this;const o=this._listeners&&this._listeners[i]?this._listeners[i].slice():[];for(const s of o)s.call(this,e);const a=this._oneTimeListeners&&this._oneTimeListeners[i]?this._oneTimeListeners[i].slice():[];for(const s of a)ku(i,s,this._oneTimeListeners),s.call(this,e);const n=this._eventedParent;n&&(we(e,typeof this._eventedParentData=="function"?this._eventedParentData():this._eventedParentData),n.fire(e))}else e instanceof Ue&&console.error(e.error);return this}listens(e){return!!(this._listeners&&this._listeners[e]&&this._listeners[e].length>0||this._oneTimeListeners&&this._oneTimeListeners[e]&&this._oneTimeListeners[e].length>0||this._eventedParent&&this._eventedParent.listens(e))}setEventedParent(e,r){return this._eventedParent=e,this._eventedParentData=r,this}}var j=JSON.parse('{"$version":8,"$root":{"version":{"required":true,"type":"enum","values":[8]},"fragment":{"type":"boolean"},"name":{"type":"string"},"metadata":{"type":"*"},"center":{"type":"array","value":"number"},"zoom":{"type":"number"},"bearing":{"type":"number","default":0,"period":360},"pitch":{"type":"number","default":0},"light":{"type":"light"},"lights":{"required":false,"type":"array","value":"light-3d"},"terrain":{"type":"terrain","optional":true},"fog":{"type":"fog"},"camera":{"type":"camera"},"imports":{"type":"array","value":"import"},"schema":{"type":"schema"},"sources":{"required":true,"type":"sources"},"sprite":{"type":"string"},"glyphs":{"type":"string","default":"mapbox://fonts/mapbox/{fontstack}/{range}.pbf"},"transition":{"type":"transition"},"projection":{"type":"projection"},"layers":{"required":true,"type":"array","value":"layer"},"models":{"type":"models"}},"model":{"type":"string","required":true},"import":{"id":{"type":"string","required":true},"url":{"type":"string","required":true},"config":{"type":"config"},"data":{"type":"$root"}},"config":{"*":{"type":"*"}},"schema":{"*":{"type":"option"}},"option":{"default":{"type":"*","required":true},"type":{"type":"enum","values":{"string":1,"number":1,"boolean":1,"color":1}},"array":{"type":"boolean"},"minValue":{"type":"number"},"maxValue":{"type":"number"},"stepValue":{"type":"number"},"values":{"type":"array","value":"*"},"metadata":{"type":"*"}},"models":{"*":{"type":"model"}},"light-3d":{"id":{"type":"string","required":true},"properties":{"type":"properties"},"type":{"type":"enum","values":{"ambient":{},"directional":{},"flat":{}}}},"properties":["properties_light_directional","properties_light_ambient","properties_light_flat"],"properties_light_directional":{"direction":{"type":"array","default":[210,30],"minimum":[0,0],"maximum":[360,90],"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"cast-shadows":{"type":"boolean","default":false,"expression":{},"property-type":"data-constant"},"shadow-intensity":{"type":"number","property-type":"data-constant","default":1,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"properties_light_ambient":{"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"properties_light_flat":{"anchor":{"type":"enum","default":"viewport","values":{"map":1,"viewport":1},"property-type":"data-constant","expression":{"parameters":["zoom"]}},"position":{"type":"array","default":[1.15,210,30],"length":3,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"sources":{"*":{"type":"source"}},"source":["source_vector","source_raster","source_raster_dem","source_raster_array","source_geojson","source_video","source_image","source_model"],"source_vector":{"type":{"required":true,"type":"enum","values":{"vector":1}},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"bounds":{"type":"array","value":"number","length":4,"default":[-180,-85.051129,180,85.051129]},"scheme":{"type":"enum","values":{"xyz":1,"tms":1},"default":"xyz"},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"attribution":{"type":"string"},"promoteId":{"type":"promoteId"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster":{"type":{"required":true,"type":"enum","values":{"raster":1}},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"bounds":{"type":"array","value":"number","length":4,"default":[-180,-85.051129,180,85.051129]},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"tileSize":{"type":"number","default":512},"scheme":{"type":"enum","values":{"xyz":1,"tms":1},"default":"xyz"},"attribution":{"type":"string"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster_dem":{"type":{"required":true,"type":"enum","values":{"raster-dem":1}},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"bounds":{"type":"array","value":"number","length":4,"default":[-180,-85.051129,180,85.051129]},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"tileSize":{"type":"number","default":512},"attribution":{"type":"string"},"encoding":{"type":"enum","values":{"terrarium":1,"mapbox":1},"default":"mapbox"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster_array":{"type":{"required":true,"type":"enum","values":{"raster-array":1}},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"bounds":{"type":"array","value":"number","length":4,"default":[-180,-85.051129,180,85.051129]},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"tileSize":{"type":"number","default":512},"attribution":{"type":"string"},"rasterLayers":{"type":"*"},"*":{"type":"*"}},"source_geojson":{"type":{"required":true,"type":"enum","values":{"geojson":1}},"data":{"type":"*"},"maxzoom":{"type":"number","default":18},"attribution":{"type":"string"},"buffer":{"type":"number","default":128,"maximum":512,"minimum":0},"filter":{"type":"*"},"tolerance":{"type":"number","default":0.375},"cluster":{"type":"boolean","default":false},"clusterRadius":{"type":"number","default":50,"minimum":0},"clusterMaxZoom":{"type":"number"},"clusterMinPoints":{"type":"number"},"clusterProperties":{"type":"*"},"lineMetrics":{"type":"boolean","default":false},"generateId":{"type":"boolean","default":false},"promoteId":{"type":"promoteId"}},"source_video":{"type":{"required":true,"type":"enum","values":{"video":1}},"urls":{"required":true,"type":"array","value":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"source_image":{"type":{"required":true,"type":"enum","values":{"image":1}},"url":{"required":false,"type":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"source_model":{"type":{"required":true,"type":"enum","values":{"model":1,"batched-model":1}},"maxzoom":{"type":"number","default":18},"minzoom":{"type":"number","default":0},"tiles":{"type":"array","value":"string"}},"layer":{"id":{"type":"string","required":true},"type":{"type":"enum","values":{"fill":{},"line":{},"symbol":{},"circle":{},"heatmap":{},"fill-extrusion":{},"raster":{},"hillshade":{},"model":{},"background":{},"sky":{},"slot":{}},"required":true},"metadata":{"type":"*"},"source":{"type":"string"},"source-layer":{"type":"string"},"slot":{"type":"string"},"minzoom":{"type":"number","minimum":0,"maximum":24},"maxzoom":{"type":"number","minimum":0,"maximum":24},"filter":{"type":"filter"},"layout":{"type":"layout"},"paint":{"type":"paint"}},"layout":["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background","layout_sky","layout_model"],"layout_background":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_sky":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_model":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"},"model-id":{"type":"string","default":"","property-type":"data-driven","expression":{"parameters":["zoom","feature"]}}},"layout_fill":{"fill-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_circle":{"circle-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_heatmap":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_fill-extrusion":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"},"fill-extrusion-edge-radius":{"type":"number","private":true,"default":0,"minimum":0,"maximum":1,"expression":{},"property-type":"constant"}},"layout_line":{"line-cap":{"type":"enum","values":{"butt":1,"round":1,"square":1},"default":"butt","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-join":{"type":"enum","values":{"bevel":1,"round":1,"miter":1},"default":"miter","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{"type":"number","default":2,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-round-limit":{"type":"number","default":1.05,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_symbol":{"symbol-placement":{"type":"enum","values":{"point":1,"line":1,"line-center":1},"default":"point","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"symbol-spacing":{"type":"number","default":250,"minimum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{"type":"enum","values":{"auto":1,"viewport-y":1,"source":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"symbol-z-elevate":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-optional":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-size":{"type":"number","default":1,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{"type":"enum","values":{"none":1,"width":1,"height":1,"both":1},"default":"none","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit-padding":{"type":"array","value":"number","length":4,"default":[0,0,0,0],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-image":{"type":"resolvedImage","tokens":true,"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{"type":"number","default":0,"period":360,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{"type":"number","default":2,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-offset":{"type":"array","value":"number","length":2,"default":[0,0],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{"type":"enum","values":{"center":1,"left":1,"right":1,"top":1,"bottom":1,"top-left":1,"top-right":1,"bottom-left":1,"bottom-right":1},"default":"center","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-field":{"type":"formatted","default":"","tokens":true,"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-font":{"type":"array","value":"string","default":["Open Sans Regular","Arial Unicode MS Regular"],"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-size":{"type":"number","default":16,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{"type":"number","default":10,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{"type":"number","default":1.2,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-letter-spacing":{"type":"number","default":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-justify":{"type":"enum","values":{"auto":1,"left":1,"center":1,"right":1},"default":"center","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{"type":"number","default":0,"property-type":"data-driven","expression":{"interpolated":true,"parameters":["zoom","feature"]}},"text-variable-anchor":{"type":"array","value":"enum","values":{"center":1,"left":1,"right":1,"top":1,"bottom":1,"top-left":1,"top-right":1,"bottom-left":1,"bottom-right":1},"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-anchor":{"type":"enum","values":{"center":1,"left":1,"right":1,"top":1,"bottom":1,"top-left":1,"top-right":1,"bottom-left":1,"bottom-right":1},"default":"center","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{"type":"number","default":45,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-writing-mode":{"type":"array","value":"enum","values":{"horizontal":1,"vertical":1},"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-rotate":{"type":"number","default":0,"period":360,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-padding":{"type":"number","default":2,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-keep-upright":{"type":"boolean","default":true,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-transform":{"type":"enum","values":{"none":1,"uppercase":1,"lowercase":1},"default":"none","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-offset":{"type":"array","value":"number","length":2,"default":[0,0],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-optional":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_raster":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_hillshade":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"filter":{"type":"array","value":"*"},"filter_symbol":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature","pitch","distance-from-center"]}},"filter_fill":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_line":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_circle":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_fill-extrusion":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_heatmap":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_operator":{"type":"enum","values":{"==":1,"!=":1,">":1,">=":1,"<":1,"<=":1,"in":1,"!in":1,"all":1,"any":1,"none":1,"has":1,"!has":1}},"geometry_type":{"type":"enum","values":{"Point":1,"LineString":1,"Polygon":1}},"function":{"expression":{"type":"expression"},"stops":{"type":"array","value":"function_stop"},"base":{"type":"number","default":1,"minimum":0},"property":{"type":"string","default":"$zoom"},"type":{"type":"enum","values":{"identity":1,"exponential":1,"interval":1,"categorical":1},"default":"exponential"},"colorSpace":{"type":"enum","values":{"rgb":1,"lab":1,"hcl":1},"default":"rgb"},"default":{"type":"*","required":false}},"function_stop":{"type":"array","minimum":0,"maximum":24,"value":["number","color"],"length":2},"expression":{"type":"array","value":"*","minimum":1},"fog":{"range":{"type":"array","default":[0.5,10],"minimum":-20,"maximum":20,"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"high-color":{"type":"color","property-type":"data-constant","default":"#245cdf","expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"space-color":{"type":"color","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],4,"#010b19",7,"#367ab9"],"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"horizon-blend":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],4,0.2,7,0.1],"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"star-intensity":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],5,0.35,6,0],"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"vertical-range":{"type":"array","default":[0,0],"minimum":0,"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true}}},"camera":{"camera-projection":{"type":"enum","values":{"perspective":1,"orthographic":1},"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"default":"perspective","property-type":"data-constant"}},"light":{"anchor":{"type":"enum","default":"viewport","values":{"map":1,"viewport":1},"property-type":"data-constant","expression":{"parameters":["zoom"]}},"position":{"type":"array","default":[1.15,210,30],"length":3,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"projection":{"name":{"type":"enum","values":{"albers":1,"equalEarth":1,"equirectangular":1,"lambertConformalConic":1,"mercator":1,"naturalEarth":1,"winkelTripel":1,"globe":1},"default":"mercator","required":true},"center":{"type":"array","length":2,"value":"number","property-type":"data-constant","minimum":[-180,-90],"maximum":[180,90]},"parallels":{"type":"array","length":2,"value":"number","property-type":"data-constant","minimum":[-90,-90],"maximum":[90,90]}},"terrain":{"source":{"type":"string","required":true},"exaggeration":{"type":"number","property-type":"data-constant","default":1,"minimum":0,"maximum":1000,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"paint":["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background","paint_sky","paint_model"],"paint_fill":{"fill-antialias":{"type":"boolean","default":true,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-outline-color":{"type":"color","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"fill-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-extrusion-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"fill-extrusion-height":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{"type":"boolean","default":true,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-ambient-occlusion-intensity":{"property-type":"data-constant","type":"number","private":true,"default":0,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-radius":{"property-type":"data-constant","type":"number","private":true,"default":3,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-wall-radius":{"property-type":"data-constant","type":"number","default":3,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-ground-radius":{"property-type":"data-constant","type":"number","default":3,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-ground-attenuation":{"property-type":"data-constant","type":"number","default":0.69,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"fill-extrusion-flood-light-color":{"property-type":"data-constant","type":"color","default":"#ffffff","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]}},"fill-extrusion-flood-light-intensity":{"property-type":"data-constant","type":"number","default":0,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]}},"fill-extrusion-flood-light-wall-radius":{"property-type":"data-driven","type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["feature","feature-state"]}},"fill-extrusion-flood-light-ground-radius":{"property-type":"data-driven","type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["feature","feature-state"]}},"fill-extrusion-flood-light-ground-attenuation":{"property-type":"data-constant","type":"number","default":0.69,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"fill-extrusion-vertical-scale":{"property-type":"data-constant","type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"fill-extrusion-rounded-roof":{"property-type":"data-constant","type":"boolean","default":true,"expression":{"parameters":["zoom"]}},"fill-extrusion-cutoff-fade-range":{"type":"number","default":0,"minimum":0,"maximum":1,"expression":{},"property-type":"data-constant"},"fill-extrusion-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_line":{"line-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"line-width":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-gap-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-offset":{"type":"number","default":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-blur":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-dasharray":{"type":"array","value":"number","minimum":0,"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-gradient":{"type":"color","expression":{"interpolated":true,"parameters":["line-progress"]},"property-type":"color-ramp"},"line-trim-offset":{"type":"array","value":"number","length":2,"default":[0,0],"minimum":[0,0],"maximum":[1,1],"property-type":"constant"},"line-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"line-border-width":{"type":"number","private":true,"default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-border-color":{"type":"color","private":true,"default":"rgba(0, 0, 0, 0)","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"}},"paint_circle":{"circle-radius":{"type":"number","default":5,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-blur":{"type":"number","default":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{"type":"enum","values":{"map":1,"viewport":1},"default":"viewport","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-stroke-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-stroke-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_heatmap":{"heatmap-radius":{"type":"number","default":30,"minimum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"heatmap-weight":{"type":"number","default":1,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"heatmap-intensity":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"heatmap-color":{"type":"color","default":["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",0.1,"royalblue",0.3,"cyan",0.5,"lime",0.7,"yellow",1,"red"],"expression":{"interpolated":true,"parameters":["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_symbol":{"icon-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-emissive-strength":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-driven"},"text-emissive-strength":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-driven"},"icon-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-halo-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-halo-blur":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-image-cross-fade":{"type":"number","property-type":"data-driven","default":0,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"transition":true},"text-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-color":{"type":"color","default":"#000000","transition":true,"overridable":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-halo-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-halo-blur":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-color-saturation":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{},"property-type":"data-constant"}},"paint_raster":{"raster-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-color":{"type":"color","expression":{"interpolated":true,"parameters":["raster-value"]},"property-type":"color-ramp"},"raster-color-mix":{"type":"array","default":[0.2126,0.7152,0.0722,0],"length":4,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"raster-color-range":{"type":"array","default":[0,1],"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"raster-hue-rotate":{"type":"number","default":0,"period":360,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{"type":"number","default":0,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-saturation":{"type":"number","default":0,"minimum":-1,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-contrast":{"type":"number","default":0,"minimum":-1,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-resampling":{"type":"enum","values":{"linear":1,"nearest":1},"default":"linear","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{"type":"number","default":300,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"raster-array-band":{"type":"string","required":false,"property-type":"data-constant"},"raster-elevation":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_hillshade":{"hillshade-illumination-direction":{"type":"number","default":335,"minimum":0,"maximum":359,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"viewport","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{"type":"number","default":0.5,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"hillshade-highlight-color":{"type":"color","default":"#FFFFFF","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"hillshade-accent-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"hillshade-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_background":{"background-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"background-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"background-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"background-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_sky":{"sky-type":{"type":"enum","values":{"gradient":1,"atmosphere":1},"default":"atmosphere","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun":{"type":"array","value":"number","length":2,"minimum":[0,0],"maximum":[360,180],"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun-intensity":{"type":"number","default":10,"minimum":0,"maximum":100,"property-type":"data-constant"},"sky-gradient-center":{"type":"array","value":"number","default":[0,0],"length":2,"minimum":[0,0],"maximum":[360,180],"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-gradient-radius":{"type":"number","default":90,"minimum":0,"maximum":180,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-gradient":{"type":"color","default":["interpolate",["linear"],["sky-radial-progress"],0.8,"#87ceeb",1,"white"],"expression":{"interpolated":true,"parameters":["sky-radial-progress"]},"property-type":"color-ramp"},"sky-atmosphere-halo-color":{"type":"color","default":"white","property-type":"data-constant"},"sky-atmosphere-color":{"type":"color","default":"white","property-type":"data-constant"},"sky-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_model":{"model-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"model-rotation":{"type":"array","value":"number","length":3,"default":[0,0,0],"period":360,"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","zoom"]},"transition":true},"model-scale":{"type":"array","value":"number","length":3,"default":[1,1,1],"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","zoom"]},"transition":true},"model-translation":{"type":"array","value":"number","length":3,"default":[0,0,0],"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","zoom"]},"transition":true},"model-color":{"type":"color","default":"#ffffff","property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light","zoom"]},"transition":true},"model-color-mix-intensity":{"type":"number","property-type":"data-driven","default":0,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light"]},"transition":true},"model-type":{"type":"enum","values":{"common-3d":1,"location-indicator":1},"default":"common-3d","property-type":"data-constant"},"model-cast-shadows":{"type":"boolean","default":true,"expression":{},"property-type":"data-constant"},"model-receive-shadows":{"type":"boolean","default":true,"expression":{},"property-type":"data-constant"},"model-ambient-occlusion-intensity":{"type":"number","default":1,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant","transition":true},"model-emissive-strength":{"type":"number","property-type":"data-driven","default":0,"minimum":0,"maximum":5,"expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light"]},"transition":true},"model-roughness":{"type":"number","default":1,"minimum":0,"maximum":1,"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state"]},"transition":true},"model-height-based-emissive-strength-multiplier":{"type":"array","default":[1,1,1,1,0],"length":5,"value":"number","property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light"]},"transition":true},"model-cutoff-fade-range":{"type":"number","default":0,"minimum":0,"maximum":1,"expression":{},"property-type":"data-constant"}},"transition":{"duration":{"type":"number","default":300,"minimum":0},"delay":{"type":"number","default":0,"minimum":0}},"property-type":{"data-driven":{"type":"property-type"},"color-ramp":{"type":"property-type"},"data-constant":{"type":"property-type"},"constant":{"type":"property-type"}},"promoteId":{"*":{"type":"string"}}}');class be{constructor(e,r,i,o){this.message=(e?`${e}: `:"")+i,o&&(this.identifier=o),r!=null&&r.__line__&&(this.line=r.__line__)}}class ha extends be{}function oo(t,...e){for(const r of e)for(const i in r)t[i]=r[i];return t}function cr(t){return t instanceof Number||t instanceof String||t instanceof Boolean?t.valueOf():t}function ao(t){if(Array.isArray(t))return t.map(ao);if(t instanceof Object&&!(t instanceof Number||t instanceof String||t instanceof Boolean)){const e={};for(const r in t)e[r]=ao(t[r]);return e}return cr(t)}class _v extends Error{constructor(e,r){super(r),this.message=r,this.key=e}}var Ui=_v;class Tu{constructor(e,r=[]){this.parent=e,this.bindings={};for(const[i,o]of r)this.bindings[i]=o}concat(e){return new Tu(this,e)}get(e){if(this.bindings[e])return this.bindings[e];if(this.parent)return this.parent.get(e);throw new Error(`${e} not found in scope.`)}has(e){return!!this.bindings[e]||!!this.parent&&this.parent.has(e)}}var yv=Tu;const Za={kind:"null"},ye={kind:"number"},ft={kind:"string"},yt={kind:"boolean"},fi={kind:"color"},$a={kind:"object"},gt={kind:"value"},il={kind:"collator"},Nn={kind:"formatted"},Vn={kind:"resolvedImage"};function Hr(t,e){return{kind:"array",itemType:t,N:e}}function ar(t){if(t.kind==="array"){const e=ar(t.itemType);return typeof t.N=="number"?`array<${e}, ${t.N}>`:t.itemType.kind==="value"?"array":`array<${e}>`}return t.kind}const xv=[Za,ye,ft,yt,fi,Nn,$a,Hr(gt),Vn];function Un(t,e){if(e.kind==="error")return null;if(t.kind==="array"){if(e.kind==="array"&&(e.N===0&&e.itemType.kind==="value"||!Un(t.itemType,e.itemType))&&(typeof t.N!="number"||t.N===e.N))return null}else{if(t.kind===e.kind)return null;if(t.kind==="value"){for(const r of xv)if(!Un(r,e))return null}}return`Expected ${ar(t)} but found ${ar(e)} instead.`}function Eu(t,e){return e.some(r=>r.kind===t.kind)}function jn(t,e){return e.some(r=>r==="null"?t===null:r==="array"?Array.isArray(t):r==="object"?t&&!Array.isArray(t)&&typeof t=="object":r===typeof t)}var Mu,vf={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function ol(t){return(t=Math.round(t))<0?0:t>255?255:t}function Su(t){return ol(t[t.length-1]==="%"?parseFloat(t)/100*255:parseInt(t))}function al(t){return(e=t[t.length-1]==="%"?parseFloat(t)/100:parseFloat(t))<0?0:e>1?1:e;var e}function Au(t,e,r){return r<0?r+=1:r>1&&(r-=1),6*r<1?t+(e-t)*r*6:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}try{Mu={}.parseCSSColor=function(t){var e,r=t.replace(/ /g,"").toLowerCase();if(r in vf)return vf[r].slice();if(r[0]==="#")return r.length===4?(e=parseInt(r.substr(1),16))>=0&&e<=4095?[(3840&e)>>4|(3840&e)>>8,240&e|(240&e)>>4,15&e|(15&e)<<4,1]:null:r.length===7&&(e=parseInt(r.substr(1),16))>=0&&e<=16777215?[(16711680&e)>>16,(65280&e)>>8,255&e,1]:null;var i=r.indexOf("("),o=r.indexOf(")");if(i!==-1&&o+1===r.length){var a=r.substr(0,i),n=r.substr(i+1,o-(i+1)).split(","),s=1;switch(a){case"rgba":if(n.length!==4)return null;s=al(n.pop());case"rgb":return n.length!==3?null:[Su(n[0]),Su(n[1]),Su(n[2]),s];case"hsla":if(n.length!==4)return null;s=al(n.pop());case"hsl":if(n.length!==3)return null;var l=(parseFloat(n[0])%360+360)%360/360,c=al(n[1]),u=al(n[2]),h=u<=.5?u*(c+1):u+c-u*c,d=2*u-h;return[ol(255*Au(d,h,l+1/3)),ol(255*Au(d,h,l)),ol(255*Au(d,h,l-1/3)),s];default:return null}}return null}}catch{}class Wr{constructor(e,r,i,o=1){this.r=e,this.g=r,this.b=i,this.a=o}static parse(e){if(!e)return;if(e instanceof Wr)return e;if(typeof e!="string")return;const r=Mu(e);return r?new Wr(r[0]/255*r[3],r[1]/255*r[3],r[2]/255*r[3],r[3]):void 0}toString(){const[e,r,i,o]=this.toArray();return`rgba(${Math.round(e)},${Math.round(r)},${Math.round(i)},${o})`}toArray(){const{r:e,g:r,b:i,a:o}=this;return o===0?[0,0,0,0]:[255*e/o,255*r/o,255*i/o,o]}toArray01(){const{r:e,g:r,b:i,a:o}=this;return o===0?[0,0,0,0]:[e/o,r/o,i/o,o]}toArray01Scaled(e){const{r,g:i,b:o,a}=this;return a===0?[0,0,0]:[r/a*e,i/a*e,o/a*e]}toArray01PremultipliedAlpha(){const{r:e,g:r,b:i,a:o}=this;return[e,r,i,o]}toArray01Linear(){const{r:e,g:r,b:i,a:o}=this;return o===0?[0,0,0,0]:[Math.pow(e/o,2.2),Math.pow(r/o,2.2),Math.pow(i/o,2.2),o]}}Wr.black=new Wr(0,0,0,1),Wr.white=new Wr(1,1,1,1),Wr.transparent=new Wr(0,0,0,0),Wr.red=new Wr(1,0,0,1),Wr.blue=new Wr(0,0,1,1);var Qe=Wr;class Cu{constructor(e,r,i){this.sensitivity=e?r?"variant":"case":r?"accent":"base",this.locale=i,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})}compare(e,r){return this.collator.compare(e,r)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class Iu{constructor(e,r,i,o,a){this.text=e.normalize?e.normalize():e,this.image=r,this.scale=i,this.fontStack=o,this.textColor=a}}class Xr{constructor(e){this.sections=e}static fromString(e){return new Xr([new Iu(e,null,null,null,null)])}isEmpty(){return this.sections.length===0||!this.sections.some(e=>e.text.length!==0||e.image&&e.image.namePrimary.length!==0)}static factory(e){return e instanceof Xr?e:Xr.fromString(e)}toString(){return this.sections.length===0?"":this.sections.map(e=>e.text).join("")}serialize(){const e=["format"];for(const r of this.sections){if(r.image){e.push(["image",r.image.namePrimary]);continue}e.push(r.text);const i={};r.fontStack&&(i["text-font"]=["literal",r.fontStack.split(",")]),r.scale&&(i["font-scale"]=r.scale),r.textColor&&(i["text-color"]=["rgba"].concat(r.textColor.toArray())),e.push(i)}return e}}class mi{constructor(e){this.namePrimary=e.namePrimary,e.nameSecondary&&(this.nameSecondary=e.nameSecondary),this.available=e.available}toString(){return this.nameSecondary?`[${this.namePrimary},${this.nameSecondary}]`:this.namePrimary}static fromString(e,r){return e?new mi({namePrimary:e,nameSecondary:r,available:!1}):null}serialize(){return this.nameSecondary?["image",this.namePrimary,this.nameSecondary]:["image",this.namePrimary]}}function bf(t,e,r,i){return typeof t=="number"&&t>=0&&t<=255&&typeof e=="number"&&e>=0&&e<=255&&typeof r=="number"&&r>=0&&r<=255?i===void 0||typeof i=="number"&&i>=0&&i<=1?null:`Invalid rgba value [${[t,e,r,i].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid rgba value [${(typeof i=="number"?[t,e,r,i]:[t,e,r]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}function Ha(t){if(t===null||typeof t=="string"||typeof t=="boolean"||typeof t=="number"||t instanceof Qe||t instanceof Cu||t instanceof Xr||t instanceof mi)return!0;if(Array.isArray(t)){for(const e of t)if(!Ha(e))return!1;return!0}if(typeof t=="object"){for(const e in t)if(!Ha(t[e]))return!1;return!0}return!1}function mr(t){if(t===null)return Za;if(typeof t=="string")return ft;if(typeof t=="boolean")return yt;if(typeof t=="number")return ye;if(t instanceof Qe)return fi;if(t instanceof Cu)return il;if(t instanceof Xr)return Nn;if(t instanceof mi)return Vn;if(Array.isArray(t)){const e=t.length;let r;for(const i of t){const o=mr(i);if(r){if(r===o)continue;r=gt;break}r=o}return Hr(r||gt,e)}return $a}function Gn(t){const e=typeof t;return t===null?"":e==="string"||e==="number"||e==="boolean"?String(t):t instanceof Qe||t instanceof Xr||t instanceof mi?t.toString():JSON.stringify(t)}class zu{constructor(e,r){this.type=e,this.value=r}static parse(e,r){if(e.length!==2)return r.error(`'literal' expression requires exactly one argument, but found ${e.length-1} instead.`);if(!Ha(e[1]))return r.error("invalid value");const i=e[1];let o=mr(i);const a=r.expectedType;return o.kind!=="array"||o.N!==0||!a||a.kind!=="array"||typeof a.N=="number"&&a.N!==0||(o=a),new zu(o,i)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}serialize(){return this.type.kind==="array"||this.type.kind==="object"?["literal",this.value]:this.value instanceof Qe?["rgba"].concat(this.value.toArray()):this.value instanceof Xr?this.value.serialize():this.value}}var qn=zu,Tr=class{constructor(t){this.name="ExpressionEvaluationError",this.message=t}toJSON(){return this.message}};const Du={string:ft,number:ye,boolean:yt,object:$a};class Pu{constructor(e,r){this.type=e,this.args=r}static parse(e,r){if(e.length<2)return r.error("Expected at least one argument.");let i,o=1;const a=e[0];if(a==="array"){let s,l;if(e.length>2){const c=e[1];if(typeof c!="string"||!(c in Du)||c==="object")return r.error('The item type argument of "array" must be one of string, number, boolean',1);s=Du[c],o++}else s=gt;if(e.length>3){if(e[2]!==null&&(typeof e[2]!="number"||e[2]<0||e[2]!==Math.floor(e[2])))return r.error('The length argument to "array" must be a positive integer literal',2);l=e[2],o++}i=Hr(s,l)}else i=Du[a];const n=[];for(;o<e.length;o++){const s=r.parse(e[o],o,gt);if(!s)return null;n.push(s)}return new Pu(i,n)}evaluate(e){for(let r=0;r<this.args.length;r++){const i=this.args[r].evaluate(e);if(!Un(this.type,mr(i)))return i;if(r===this.args.length-1)throw new Tr(`Expected value to be of type ${ar(this.type)}, but found ${ar(mr(i))} instead.`)}return null}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every(e=>e.outputDefined())}serialize(){const e=this.type,r=[e.kind];if(e.kind==="array"){const i=e.itemType;if(i.kind==="string"||i.kind==="number"||i.kind==="boolean"){r.push(i.kind);const o=e.N;(typeof o=="number"||this.args.length>1)&&r.push(o)}}return r.concat(this.args.map(i=>i.serialize()))}}var no=Pu;class Zn{constructor(e){this.type=Nn,this.sections=e}static parse(e,r){if(e.length<2)return r.error("Expected at least one argument.");const i=e[1];if(!Array.isArray(i)&&typeof i=="object")return r.error("First argument must be an image or text section.");const o=[];let a=!1;for(let n=1;n<=e.length-1;++n){const s=e[n];if(a&&typeof s=="object"&&!Array.isArray(s)){a=!1;let l=null;if(s["font-scale"]&&(l=r.parse(s["font-scale"],1,ye),!l))return null;let c=null;if(s["text-font"]&&(c=r.parse(s["text-font"],1,Hr(ft)),!c))return null;let u=null;if(s["text-color"]&&(u=r.parse(s["text-color"],1,fi),!u))return null;const h=o[o.length-1];h.scale=l,h.font=c,h.textColor=u}else{const l=r.parse(e[n],1,gt);if(!l)return null;const c=l.type.kind;if(c!=="string"&&c!=="value"&&c!=="null"&&c!=="resolvedImage")return r.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");a=!0,o.push({content:l,scale:null,font:null,textColor:null})}}return new Zn(o)}evaluate(e){return new Xr(this.sections.map(r=>{const i=r.content.evaluate(e);return mr(i)===Vn?new Iu("",i,null,null,null):new Iu(Gn(i),null,r.scale?r.scale.evaluate(e):null,r.font?r.font.evaluate(e).join(","):null,r.textColor?r.textColor.evaluate(e):null)}))}eachChild(e){for(const r of this.sections)e(r.content),r.scale&&e(r.scale),r.font&&e(r.font),r.textColor&&e(r.textColor)}outputDefined(){return!1}serialize(){const e=["format"];for(const r of this.sections){e.push(r.content.serialize());const i={};r.scale&&(i["font-scale"]=r.scale.serialize()),r.font&&(i["text-font"]=r.font.serialize()),r.textColor&&(i["text-color"]=r.textColor.serialize()),e.push(i)}return e}}class $n{constructor(e,r){this.type=Vn,this.inputPrimary=e,this.inputSecondary=r}static parse(e,r){if(e.length<2)return r.error("Expected two or more arguments.");const i=r.parse(e[1],1,ft);if(!i)return r.error("No image name provided.");if(e.length===2)return new $n(i);const o=r.parse(e[2],1,ft);return o?new $n(i,o):r.error("Secondary image variant is not a string.")}evaluate(e){const r=mi.fromString(this.inputPrimary.evaluate(e),this.inputSecondary?this.inputSecondary.evaluate(e):void 0);return r&&e.availableImages&&(r.available=e.availableImages.indexOf(r.namePrimary)>-1,r.nameSecondary&&r.available&&e.availableImages&&(r.available=e.availableImages.indexOf(r.nameSecondary)>-1)),r}eachChild(e){e(this.inputPrimary),this.inputSecondary&&e(this.inputSecondary)}outputDefined(){return!1}serialize(){return this.inputSecondary?["image",this.inputPrimary.serialize(),this.inputSecondary.serialize()]:["image",this.inputPrimary.serialize()]}}function kt(t){return t instanceof Number?"number":t instanceof String?"string":t instanceof Boolean?"boolean":Array.isArray(t)?"array":t===null?"null":typeof t}const vv={"to-boolean":yt,"to-color":fi,"to-number":ye,"to-string":ft};class Ru{constructor(e,r){this.type=e,this.args=r}static parse(e,r){if(e.length<2)return r.error("Expected at least one argument.");const i=e[0],o=[];let a=Za;if(i==="to-array"){if(!Array.isArray(e[1]))return null;const n=e[1].length;if(r.expectedType){if(r.expectedType.kind!=="array")return r.error(`Expected ${r.expectedType.kind} but found array.`);a=Hr(r.expectedType.itemType,n)}else{if(!(n>0&&Ha(e[1][0])))return null;a=Hr(mr(e[1][0]),n)}for(let s=0;s<n;s++){const l=e[1][s];let c;if(kt(l)==="array")c=r.parse(l,void 0,a.itemType);else{const u=kt(l);if(u!==a.itemType.kind)return r.error(`Expected ${a.itemType.kind} but found ${u}.`);c=r.registry.literal.parse(["literal",l===void 0?null:l],r)}if(!c)return null;o.push(c)}}else{if((i==="to-boolean"||i==="to-string")&&e.length!==2)return r.error("Expected one argument.");a=vv[i];for(let n=1;n<e.length;n++){const s=r.parse(e[n],n,gt);if(!s)return null;o.push(s)}}return new Ru(a,o)}evaluate(e){if(this.type.kind==="boolean")return!!this.args[0].evaluate(e);if(this.type.kind==="color"){let r,i;for(const o of this.args){if(r=o.evaluate(e),i=null,r instanceof Qe)return r;if(typeof r=="string"){const a=e.parseColor(r);if(a)return a}else if(Array.isArray(r)&&(i=r.length<3||r.length>4?`Invalid rbga value ${JSON.stringify(r)}: expected an array containing either three or four numeric values.`:bf(r[0],r[1],r[2],r[3]),!i))return new Qe(r[0]/255,r[1]/255,r[2]/255,r[3])}throw new Tr(i||`Could not parse color from value '${typeof r=="string"?r:String(JSON.stringify(r))}'`)}if(this.type.kind==="number"){let r=null;for(const i of this.args){if(r=i.evaluate(e),r===null)return 0;const o=Number(r);if(!isNaN(o))return o}throw new Tr(`Could not convert ${JSON.stringify(r)} to number.`)}return this.type.kind==="formatted"?Xr.fromString(Gn(this.args[0].evaluate(e))):this.type.kind==="resolvedImage"?mi.fromString(Gn(this.args[0].evaluate(e))):this.type.kind==="array"?this.args.map(r=>r.evaluate(e)):Gn(this.args[0].evaluate(e))}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every(e=>e.outputDefined())}serialize(){if(this.type.kind==="formatted")return new Zn([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if(this.type.kind==="resolvedImage")return new $n(this.args[0]).serialize();const e=this.type.kind==="array"?[]:[`to-${this.type.kind}`];return this.eachChild(r=>{e.push(r.serialize())}),e}}var da=Ru;const bv=["Unknown","Point","LineString","Polygon"];var wf=class{constructor(t){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null,this.featureTileCoord=null,this.featureDistanceData=null,this.options=t}id(){return this.feature&&this.feature.id!==void 0?this.feature.id:null}geometryType(){return this.feature?typeof this.feature.type=="number"?bv[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}measureLight(t){return this.globals.brightness||0}distanceFromCenter(){if(this.featureTileCoord&&this.featureDistanceData){const t=this.featureDistanceData.center,e=this.featureDistanceData.scale,{x:r,y:i}=this.featureTileCoord;return this.featureDistanceData.bearing[0]*(r*e-t[0])+this.featureDistanceData.bearing[1]*(i*e-t[1])}return 0}parseColor(t){let e=this._parseColorCache[t];return e||(e=this._parseColorCache[t]=Qe.parse(t)),e}getConfig(t){return this.options?this.options.get(t):null}};class pa{constructor(e,r,i,o,a){this.name=e,this.type=r,this._evaluate=i,this.args=o,this._overloadIndex=a}evaluate(e){if(!this._evaluate){const r=pa.definitions[this.name];this._evaluate=Array.isArray(r)?r[2]:r.overloads[this._overloadIndex][1]}return this._evaluate(e,this.args)}eachChild(e){this.args.forEach(e)}outputDefined(){return!1}serialize(){return[this.name].concat(this.args.map(e=>e.serialize()))}static parse(e,r){const i=e[0],o=pa.definitions[i];if(!o)return r.error(`Unknown expression "${i}". If you wanted a literal array, use ["literal", [...]].`,0);const a=Array.isArray(o)?o[0]:o.type,n=Array.isArray(o)?[[o[1],o[2]]]:o.overloads,s=[];let l=null,c=-1;for(const[u,h]of n){if(Array.isArray(u)&&u.length!==e.length-1)continue;s.push(u),c++,l=new Nf(r.registry,r.path,null,r.scope,void 0,r.options);const d=[];let p=!1;for(let f=1;f<e.length;f++){const m=e[f],g=Array.isArray(u)?u[f-1]:u.type,_=l.parse(m,1+d.length,g);if(!_){p=!0;break}d.push(_)}if(!p)if(Array.isArray(u)&&u.length!==d.length)l.error(`Expected ${u.length} arguments, but found ${d.length} instead.`);else{for(let f=0;f<d.length;f++){const m=Array.isArray(u)?u[f]:u.type,g=d[f];l.concat(f+1).checkSubtype(m,g.type)}if(l.errors.length===0)return new pa(i,a,h,d,c)}}if(s.length===1)r.errors.push(...l.errors);else{const u=(s.length?s:n.map(([d])=>d)).map(wv).join(" | "),h=[];for(let d=1;d<e.length;d++){const p=r.parse(e[d],1+h.length);if(!p)return null;h.push(ar(p.type))}r.error(`Expected arguments of type ${u}, but found (${h.join(", ")}) instead.`)}return null}static register(e,r){pa.definitions=r;for(const i in r)e[i]=pa}}function wv(t){return Array.isArray(t)?`(${t.map(ar).join(", ")})`:`(${ar(t.type)}...)`}var ji=pa;class nl{constructor(e,r,i){this.type=il,this.locale=i,this.caseSensitive=e,this.diacriticSensitive=r}static parse(e,r){if(e.length!==2)return r.error("Expected one argument.");const i=e[1];if(typeof i!="object"||Array.isArray(i))return r.error("Collator options argument must be an object.");const o=r.parse(i["case-sensitive"]!==void 0&&i["case-sensitive"],1,yt);if(!o)return null;const a=r.parse(i["diacritic-sensitive"]!==void 0&&i["diacritic-sensitive"],1,yt);if(!a)return null;let n=null;return i.locale&&(n=r.parse(i.locale,1,ft),!n)?null:new nl(o,a,n)}evaluate(e){return new Cu(this.caseSensitive.evaluate(e),this.diacriticSensitive.evaluate(e),this.locale?this.locale.evaluate(e):null)}eachChild(e){e(this.caseSensitive),e(this.diacriticSensitive),this.locale&&e(this.locale)}outputDefined(){return!1}serialize(){const e={};return e["case-sensitive"]=this.caseSensitive.serialize(),e["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(e.locale=this.locale.serialize()),["collator",e]}}var kf={exports:{}};kf.exports=function(){function t(i,o,a,n,s){for(;n>a;){if(n-a>600){var l=n-a+1,c=o-a+1,u=Math.log(l),h=.5*Math.exp(2*u/3),d=.5*Math.sqrt(u*h*(l-h)/l)*(c-l/2<0?-1:1);t(i,o,Math.max(a,Math.floor(o-c*h/l+d)),Math.min(n,Math.floor(o+(l-c)*h/l+d)),s)}var p=i[o],f=a,m=n;for(e(i,a,o),s(i[n],p)>0&&e(i,a,n);f<m;){for(e(i,f,m),f++,m--;s(i[f],p)<0;)f++;for(;s(i[m],p)>0;)m--}s(i[a],p)===0?e(i,a,m):e(i,++m,n),m<=o&&(a=m+1),o<=m&&(n=m-1)}}function e(i,o,a){var n=i[o];i[o]=i[a],i[a]=n}function r(i,o){return i<o?-1:i>o?1:0}return function(i,o,a,n,s){t(i,o,a||0,n||i.length-1,s||r)}}();var kv=hi(kf.exports);function Tv(t){let e=0;for(let r,i,o=0,a=t.length,n=a-1;o<a;n=o++)r=t[o],i=t[n],e+=(i.x-r.x)*(r.y+i.y);return e}function Hn(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.max(t[2],e[0]),t[3]=Math.max(t[3],e[1])}function Wn(t,e){return!(t[0]<=e[0]||t[2]>=e[2]||t[1]<=e[1]||t[3]>=e[3])}function Ev(t,e,r){const i=t[0]-e[0],o=t[1]-e[1],a=t[0]-r[0],n=t[1]-r[1];return i*n-a*o==0&&i*a<=0&&o*n<=0}function Wa(t,e,r=!1){let i=!1;for(let s=0,l=e.length;s<l;s++){const c=e[s];for(let u=0,h=c.length,d=h-1;u<h;d=u++){const p=c[d],f=c[u];if(Ev(t,p,f))return r;(a=p)[1]>(o=t)[1]!=(n=f)[1]>o[1]&&o[0]<(n[0]-a[0])*(o[1]-a[1])/(n[1]-a[1])+a[0]&&(i=!i)}}var o,a,n;return i}function Tf(t,e,r,i){const o=i[0]-r[0],a=i[1]-r[1],n=(t[0]-r[0])*a-o*(t[1]-r[1]),s=(e[0]-r[0])*a-o*(e[1]-r[1]);return n>0&&s<0||n<0&&s>0}function sl(t,e,r,i){return(o=[i[0]-r[0],i[1]-r[1]])[0]*(a=[e[0]-t[0],e[1]-t[1]])[1]-o[1]*a[0]!=0&&!(!Tf(t,e,r,i)||!Tf(r,i,t,e));var o,a}const So=8192;function Mv(t,e){const r=(180+t[0])/360,i=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t[1]*Math.PI/360)))/360,o=Math.pow(2,e.z);return[Math.round(r*o*So),Math.round(i*o*So)]}function Sv(t,e){for(let r=0;r<e.length;r++)if(Wa(t,e[r]))return!0;return!1}function Av(t,e,r){for(const i of r)for(let o=0,a=i.length,n=a-1;o<a;n=o++)if(sl(t,e,i[n],i[o]))return!0;return!1}function Ef(t,e){for(let r=0;r<t.length;++r)if(!Wa(t[r],e))return!1;for(let r=0;r<t.length-1;++r)if(Av(t[r],t[r+1],e))return!1;return!0}function Cv(t,e){for(let r=0;r<e.length;r++)if(Ef(t,e[r]))return!0;return!1}function Lu(t,e,r){const i=[];for(let o=0;o<t.length;o++){const a=[];for(let n=0;n<t[o].length;n++){const s=Mv(t[o][n],r);Hn(e,s),a.push(s)}i.push(a)}return i}function Mf(t,e,r){const i=[];for(let o=0;o<t.length;o++){const a=Lu(t[o],e,r);i.push(a)}return i}function Sf(t,e,r,i){if(t[0]<r[0]||t[0]>r[2]){const o=.5*i;let a=t[0]-r[0]>o?-i:r[0]-t[0]>o?i:0;a===0&&(a=t[0]-r[2]>o?-i:r[2]-t[0]>o?i:0),t[0]+=a}Hn(e,t)}function Af(t,e,r,i){const o=Math.pow(2,i.z)*So,a=[i.x*So,i.y*So],n=[];if(!t)return n;for(const s of t)for(const l of s){const c=[l.x+a[0],l.y+a[1]];Sf(c,e,r,o),n.push(c)}return n}function Cf(t,e,r,i){const o=Math.pow(2,i.z)*So,a=[i.x*So,i.y*So],n=[];if(!t)return n;for(const l of t){const c=[];for(const u of l){const h=[u.x+a[0],u.y+a[1]];Hn(e,h),c.push(h)}n.push(c)}if(e[2]-e[0]<=o/2){(s=e)[0]=s[1]=1/0,s[2]=s[3]=-1/0;for(const l of n)for(const c of l)Sf(c,e,r,o)}var s;return n}class Xn{constructor(e,r){this.type=yt,this.geojson=e,this.geometries=r}static parse(e,r){if(e.length!==2)return r.error(`'within' expression requires exactly one argument, but found ${e.length-1} instead.`);if(Ha(e[1])){const i=e[1];if(i.type==="FeatureCollection")for(let o=0;o<i.features.length;++o){const a=i.features[o].geometry.type;if(a==="Polygon"||a==="MultiPolygon")return new Xn(i,i.features[o].geometry)}else if(i.type==="Feature"){const o=i.geometry.type;if(o==="Polygon"||o==="MultiPolygon")return new Xn(i,i.geometry)}else if(i.type==="Polygon"||i.type==="MultiPolygon")return new Xn(i,i)}return r.error("'within' expression requires valid geojson object that contains polygon geometry type.")}evaluate(e){if(e.geometry()!=null&&e.canonicalID()!=null){if(e.geometryType()==="Point")return function(r,i){const o=[1/0,1/0,-1/0,-1/0],a=[1/0,1/0,-1/0,-1/0],n=r.canonicalID();if(!n)return!1;if(i.type==="Polygon"){const s=Lu(i.coordinates,a,n),l=Af(r.geometry(),o,a,n);if(!Wn(o,a))return!1;for(const c of l)if(!Wa(c,s))return!1}if(i.type==="MultiPolygon"){const s=Mf(i.coordinates,a,n),l=Af(r.geometry(),o,a,n);if(!Wn(o,a))return!1;for(const c of l)if(!Sv(c,s))return!1}return!0}(e,this.geometries);if(e.geometryType()==="LineString")return function(r,i){const o=[1/0,1/0,-1/0,-1/0],a=[1/0,1/0,-1/0,-1/0],n=r.canonicalID();if(!n)return!1;if(i.type==="Polygon"){const s=Lu(i.coordinates,a,n),l=Cf(r.geometry(),o,a,n);if(!Wn(o,a))return!1;for(const c of l)if(!Ef(c,s))return!1}if(i.type==="MultiPolygon"){const s=Mf(i.coordinates,a,n),l=Cf(r.geometry(),o,a,n);if(!Wn(o,a))return!1;for(const c of l)if(!Cv(c,s))return!1}return!0}(e,this.geometries)}return!1}eachChild(){}outputDefined(){return!0}serialize(){return["within",this.geojson]}}var Bu=Xn,If={exports:{}};If.exports=function(){var t={kilometers:1,miles:.621371192237334,nauticalmiles:.5399568034557235,meters:1e3,metres:1e3,yards:1093.6132983377079,feet:3280.839895013123,inches:39370.078740157485},e=1/298.257223563,r=e*(2-e),i=Math.PI/180,o=function(c,u){if(c===void 0)throw new Error("No latitude given.");if(u&&!t[u])throw new Error("Unknown unit "+u+". Use one of: "+Object.keys(t).join(", "));var h=6378.137*i*(u?t[u]:1),d=Math.cos(c*i),p=1/(1-r*(1-d*d)),f=Math.sqrt(p);this.kx=h*f*d,this.ky=h*f*p*(1-r)},a={units:{configurable:!0}};function n(c,u){return c[0]===u[0]&&c[1]===u[1]}function s(c,u,h){var d=l(u[0]-c[0]);return[c[0]+d*h,c[1]+(u[1]-c[1])*h]}function l(c){for(;c<-180;)c+=360;for(;c>180;)c-=360;return c}return o.fromTile=function(c,u,h){var d=Math.PI*(1-2*(c+.5)/Math.pow(2,u)),p=Math.atan(.5*(Math.exp(d)-Math.exp(-d)))/i;return new o(p,h)},a.units.get=function(){return t},o.prototype.distance=function(c,u){var h=l(c[0]-u[0])*this.kx,d=(c[1]-u[1])*this.ky;return Math.sqrt(h*h+d*d)},o.prototype.bearing=function(c,u){var h=l(u[0]-c[0])*this.kx;return Math.atan2(h,(u[1]-c[1])*this.ky)/i},o.prototype.destination=function(c,u,h){var d=h*i;return this.offset(c,Math.sin(d)*u,Math.cos(d)*u)},o.prototype.offset=function(c,u,h){return[c[0]+u/this.kx,c[1]+h/this.ky]},o.prototype.lineDistance=function(c){for(var u=0,h=0;h<c.length-1;h++)u+=this.distance(c[h],c[h+1]);return u},o.prototype.area=function(c){for(var u=0,h=0;h<c.length;h++)for(var d=c[h],p=0,f=d.length,m=f-1;p<f;m=p++)u+=l(d[p][0]-d[m][0])*(d[p][1]+d[m][1])*(h?-1:1);return Math.abs(u)/2*this.kx*this.ky},o.prototype.along=function(c,u){var h=0;if(u<=0)return c[0];for(var d=0;d<c.length-1;d++){var p=c[d],f=c[d+1],m=this.distance(p,f);if((h+=m)>u)return s(p,f,(u-(h-m))/m)}return c[c.length-1]},o.prototype.pointToSegmentDistance=function(c,u,h){var d=u[0],p=u[1],f=l(h[0]-d)*this.kx,m=(h[1]-p)*this.ky,g=0;return f===0&&m===0||((g=(l(c[0]-d)*this.kx*f+(c[1]-p)*this.ky*m)/(f*f+m*m))>1?(d=h[0],p=h[1]):g>0&&(d+=f/this.kx*g,p+=m/this.ky*g)),f=l(c[0]-d)*this.kx,m=(c[1]-p)*this.ky,Math.sqrt(f*f+m*m)},o.prototype.pointOnLine=function(c,u){for(var h,d,p,f,m=1/0,g=0;g<c.length-1;g++){var _=c[g][0],y=c[g][1],v=l(c[g+1][0]-_)*this.kx,b=(c[g+1][1]-y)*this.ky,x=0;v===0&&b===0||((x=(l(u[0]-_)*this.kx*v+(u[1]-y)*this.ky*b)/(v*v+b*b))>1?(_=c[g+1][0],y=c[g+1][1]):x>0&&(_+=v/this.kx*x,y+=b/this.ky*x));var w=(v=l(u[0]-_)*this.kx)*v+(b=(u[1]-y)*this.ky)*b;w<m&&(m=w,h=_,d=y,p=g,f=x)}return{point:[h,d],index:p,t:Math.max(0,Math.min(1,f))}},o.prototype.lineSlice=function(c,u,h){var d=this.pointOnLine(h,c),p=this.pointOnLine(h,u);if(d.index>p.index||d.index===p.index&&d.t>p.t){var f=d;d=p,p=f}var m=[d.point],g=d.index+1,_=p.index;!n(h[g],m[0])&&g<=_&&m.push(h[g]);for(var y=g+1;y<=_;y++)m.push(h[y]);return n(h[_],p.point)||m.push(p.point),m},o.prototype.lineSliceAlong=function(c,u,h){for(var d=0,p=[],f=0;f<h.length-1;f++){var m=h[f],g=h[f+1],_=this.distance(m,g);if((d+=_)>c&&p.length===0&&p.push(s(m,g,(c-(d-_))/_)),d>=u)return p.push(s(m,g,(u-(d-_))/_)),p;d>c&&p.push(g)}return p},o.prototype.bufferPoint=function(c,u){var h=u/this.ky,d=u/this.kx;return[c[0]-d,c[1]-h,c[0]+d,c[1]+h]},o.prototype.bufferBBox=function(c,u){var h=u/this.ky,d=u/this.kx;return[c[0]-d,c[1]-h,c[2]+d,c[3]+h]},o.prototype.insideBBox=function(c,u){return l(c[0]-u[0])>=0&&l(c[0]-u[2])<=0&&c[1]>=u[1]&&c[1]<=u[3]},Object.defineProperties(o,a),o}();var Ou=hi(If.exports),zf={exports:{}};zf.exports=function(){var t=function(r,i){if(r===void 0&&(r=[]),i===void 0&&(i=e),this.data=r,this.length=this.data.length,this.compare=i,this.length>0)for(var o=(this.length>>1)-1;o>=0;o--)this._down(o)};function e(r,i){return r<i?-1:r>i?1:0}return t.prototype.push=function(r){this.data.push(r),this.length++,this._up(this.length-1)},t.prototype.pop=function(){if(this.length!==0){var r=this.data[0],i=this.data.pop();return this.length--,this.length>0&&(this.data[0]=i,this._down(0)),r}},t.prototype.peek=function(){return this.data[0]},t.prototype._up=function(r){for(var i=this.data,o=this.compare,a=i[r];r>0;){var n=r-1>>1,s=i[n];if(o(a,s)>=0)break;i[r]=s,r=n}i[r]=a},t.prototype._down=function(r){for(var i=this.data,o=this.compare,a=this.length>>1,n=i[r];r<a;){var s=1+(r<<1),l=i[s],c=s+1;if(c<this.length&&o(i[c],l)<0&&(s=c,l=i[c]),o(l,n)>=0)break;i[r]=l,r=s}i[r]=n},t}();var Fu=hi(zf.exports),W=8192;function Df(t,e){return e.dist-t.dist}const Nu=100,Vu=50;function Pf(t){const e=[1/0,1/0,-1/0,-1/0];if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function ll(t){return t[1]-t[0]+1}function so(t,e){const r=t[1]>=t[0]&&t[1]<e;return r||console.warn("Distance Expression: Index is out of range"),r}function Uu(t,e){if(t[0]>t[1])return[null,null];const r=ll(t);if(e){if(r===2)return[t,null];const i=Math.floor(r/2);return[[t[0],t[0]+i],[t[0]+i,t[1]]]}{if(r===1)return[t,null];const i=Math.floor(r/2)-1;return[[t[0],t[0]+i],[t[0]+i+1,t[1]]]}}function fa(t,e){const r=[1/0,1/0,-1/0,-1/0];if(!so(e,t.length))return r;for(let i=e[0];i<=e[1];++i)Hn(r,t[i]);return r}function cl(t){const e=[1/0,1/0,-1/0,-1/0];for(let r=0;r<t.length;++r)for(let i=0;i<t[r].length;++i)Hn(e,t[r][i]);return e}function Xa(t,e,r){if(Pf(t)||Pf(e))return NaN;let i=0,o=0;return t[2]<e[0]&&(i=e[0]-t[2]),t[0]>e[2]&&(i=t[0]-e[2]),t[1]>e[3]&&(o=t[1]-e[3]),t[3]<e[1]&&(o=e[1]-t[3]),r.distance([0,0],[i,o])}function ju(t,e){const r=Math.pow(2,e.z);return[(o=(t.x/W+e.x)/r,360*o-180),(i=(t.y/W+e.y)/r,360/Math.PI*Math.atan(Math.exp((180-360*i)*Math.PI/180))-90)];var i,o}function Iv(t,e){const r=[];for(let i=0;i<t.length;++i)r.push(ju(t[i],e));return r}function Rf(t,e,r){const i=r.pointOnLine(e,t).point;return r.distance(t,i)}function Lf(t,e,r,i,o){const a=r.slice(i[0],i[1]+1);let n=1/0;for(let s=e[0];s<=e[1];++s)if((n=Math.min(n,Rf(t[s],a,o)))===0)return 0;return n}function Gu(t,e,r,i,o){const a=Math.min(o.pointToSegmentDistance(t,r,i),o.pointToSegmentDistance(e,r,i)),n=Math.min(o.pointToSegmentDistance(r,t,e),o.pointToSegmentDistance(i,t,e));return Math.min(a,n)}function zv(t,e,r,i,o){if(!so(e,t.length)||!so(i,r.length))return NaN;let a=1/0;for(let n=e[0];n<e[1];++n)for(let s=i[0];s<i[1];++s){if(sl(t[n],t[n+1],r[s],r[s+1]))return 0;a=Math.min(a,Gu(t[n],t[n+1],r[s],r[s+1],o))}return a}function Dv(t,e,r,i,o){if(!so(e,t.length)||!so(i,r.length))return NaN;let a=1/0;for(let n=e[0];n<=e[1];++n)for(let s=i[0];s<=i[1];++s)if((a=Math.min(a,o.distance(t[n],r[s])))===0)return a;return a}function Pv(t,e,r){if(Wa(t,e,!0))return 0;let i=1/0;for(const o of e){const a=o.length;if(a<2)return console.warn("Distance Expression: Invalid polygon!"),NaN;if(o[0]!==o[a-1]&&(i=Math.min(i,r.pointToSegmentDistance(t,o[a-1],o[0])))===0||(i=Math.min(i,Rf(t,o,r)))===0)return i}return i}function Rv(t,e,r,i){if(!so(e,t.length))return NaN;for(let a=e[0];a<=e[1];++a)if(Wa(t[a],r,!0))return 0;let o=1/0;for(let a=e[0];a<e[1];++a)for(const n of r)for(let s=0,l=n.length,c=l-1;s<l;c=s++){if(sl(t[a],t[a+1],n[c],n[s]))return 0;o=Math.min(o,Gu(t[a],t[a+1],n[c],n[s],i))}return o}function Bf(t,e){for(const r of t)for(let i=0;i<=r.length-1;++i)if(Wa(r[i],e,!0))return!0;return!1}function Lv(t,e,r,i=1/0){const o=cl(t),a=cl(e);if(i!==1/0&&Xa(o,a,r)>=i)return i;if(Wn(o,a)){if(Bf(t,e))return 0}else if(Bf(e,t))return 0;let n=i;for(const s of t)for(let l=0,c=s.length,u=c-1;l<c;u=l++)for(const h of e)for(let d=0,p=h.length,f=p-1;d<p;f=d++){if(sl(s[u],s[l],h[f],h[d]))return 0;n=Math.min(n,Gu(s[u],s[l],h[f],h[d],r))}return n}function ul(t,e,r,i,o,a,n){if(a===null||n===null)return;const s=Xa(fa(i,a),fa(o,n),r);s<e&&t.push({dist:s,range1:a,range2:n})}function Bv(t,e,r,i,o=1/0){let a=Math.min(i.distance(t[0],r[0][0]),o);if(a===0)return a;const n=new Fu([{dist:0,range1:[0,t.length-1],range2:[0,0]}],Df),s=e?Vu:Nu,l=cl(r);for(;n.length;){const c=n.pop();if(c.dist>=a)continue;const u=c.range1;if(ll(u)<=s){if(!so(u,t.length))return NaN;if(e){const h=Rv(t,u,r,i);if((a=Math.min(a,h))===0)return a}else for(let h=u[0];h<=u[1];++h){const d=Pv(t[h],r,i);if((a=Math.min(a,d))===0)return a}}else{const h=Uu(u,e);if(h[0]!==null){const d=Xa(fa(t,h[0]),l,i);d<a&&n.push({dist:d,range1:h[0],range2:[0,0]})}if(h[1]!==null){const d=Xa(fa(t,h[1]),l,i);d<a&&n.push({dist:d,range1:h[1],range2:[0,0]})}}}return a}function Of(t,e,r,i,o,a=1/0){let n=Math.min(a,o.distance(t[0],r[0]));if(n===0)return n;const s=new Fu([{dist:0,range1:[0,t.length-1],range2:[0,r.length-1]}],Df),l=e?Vu:Nu,c=i?Vu:Nu;for(;s.length;){const u=s.pop();if(u.dist>=n)continue;const h=u.range1,d=u.range2;if(ll(h)<=l&&ll(d)<=c){if(!so(h,t.length)||!so(d,r.length))return NaN;if(e&&i?n=Math.min(n,zv(t,h,r,d,o)):e||i?e&&!i?n=Math.min(n,Lf(r,d,t,h,o)):!e&&i&&(n=Math.min(n,Lf(t,h,r,d,o))):n=Math.min(n,Dv(t,h,r,d,o)),n===0)return n}else{const p=Uu(h,e),f=Uu(d,i);ul(s,n,o,t,r,p[0],f[0]),ul(s,n,o,t,r,p[0],f[1]),ul(s,n,o,t,r,p[1],f[0]),ul(s,n,o,t,r,p[1],f[1])}}return n}function qu(t,e,r,i,o=1/0){let a=o;const n=fa(t,[0,t.length-1]);for(const s of r)if(!(a!==1/0&&Xa(n,fa(s,[0,s.length-1]),i)>=a)&&(a=Math.min(a,Of(t,e,s,!0,i,a)),a===0))return a;return a}function hl(t,e,r,i,o=1/0){let a=o;const n=fa(t,[0,t.length-1]);for(const s of r){if(a!==1/0&&Xa(n,cl(s),i)>=a)continue;const l=Bv(t,e,s,i,a);if(isNaN(l))return l;if((a=Math.min(a,l))===0)return a}return a}function Zu(t){return t==="Point"||t==="MultiPoint"||t==="LineString"||t==="MultiLineString"||t==="Polygon"||t==="MultiPolygon"}class Yn{constructor(e,r){this.type=ye,this.geojson=e,this.geometries=r}static parse(e,r){if(e.length!==2)return r.error(`'distance' expression requires either one argument, but found ' ${e.length-1} instead.`);if(Ha(e[1])){const i=e[1];if(i.type==="FeatureCollection"){for(let o=0;o<i.features.length;++o)if(Zu(i.features[o].geometry.type))return new Yn(i,i.features[o].geometry)}else if(i.type==="Feature"){if(Zu(i.geometry.type))return new Yn(i,i.geometry)}else if(Zu(i.type))return new Yn(i,i)}return r.error("'distance' expression needs to be an array with format ['Distance', GeoJSONObj].")}evaluate(e){const r=e.geometry(),i=e.canonicalID();if(r!=null&&i!=null){if(e.geometryType()==="Point")return function(o,a,n){const s=[];for(const c of o)for(const u of c)s.push(ju(u,a));const l=new Ou(s[0][1],"meters");return n.type==="Point"||n.type==="MultiPoint"||n.type==="LineString"?Of(s,!1,n.type==="Point"?[n.coordinates]:n.coordinates,n.type==="LineString",l):n.type==="MultiLineString"?qu(s,!1,n.coordinates,l):n.type==="Polygon"||n.type==="MultiPolygon"?hl(s,!1,n.type==="Polygon"?[n.coordinates]:n.coordinates,l):null}(r,i,this.geometries);if(e.geometryType()==="LineString")return function(o,a,n){const s=[];for(const c of o){const u=[];for(const h of c)u.push(ju(h,a));s.push(u)}const l=new Ou(s[0][0][1],"meters");if(n.type==="Point"||n.type==="MultiPoint"||n.type==="LineString")return qu(n.type==="Point"?[n.coordinates]:n.coordinates,n.type==="LineString",s,l);if(n.type==="MultiLineString"){let c=1/0;for(let u=0;u<n.coordinates.length;u++){const h=qu(n.coordinates[u],!0,s,l,c);if(isNaN(h))return h;if((c=Math.min(c,h))===0)return c}return c}if(n.type==="Polygon"||n.type==="MultiPolygon"){let c=1/0;for(let u=0;u<s.length;u++){const h=hl(s[u],!0,n.type==="Polygon"?[n.coordinates]:n.coordinates,l,c);if(isNaN(h))return h;if((c=Math.min(c,h))===0)return c}return c}return null}(r,i,this.geometries);if(e.geometryType()==="Polygon")return function(o,a,n){const s=[];for(const c of function(u,h){const d=u.length;if(d<=1)return[u];const p=[];let f,m;for(let g=0;g<d;g++){const _=Tv(u[g]);_!==0&&(u[g].area=Math.abs(_),m===void 0&&(m=_<0),m===_<0?(f&&p.push(f),f=[u[g]]):f.push(u[g]))}return f&&p.push(f),p}(o)){const u=[];for(let h=0;h<c.length;++h)u.push(Iv(c[h],a));s.push(u)}const l=new Ou(s[0][0][0][1],"meters");if(n.type==="Point"||n.type==="MultiPoint"||n.type==="LineString")return hl(n.type==="Point"?[n.coordinates]:n.coordinates,n.type==="LineString",s,l);if(n.type==="MultiLineString"){let c=1/0;for(let u=0;u<n.coordinates.length;u++){const h=hl(n.coordinates[u],!0,s,l,c);if(isNaN(h))return h;if((c=Math.min(c,h))===0)return c}return c}return n.type==="Polygon"||n.type==="MultiPolygon"?function(c,u,h){let d=1/0;for(const p of c)for(const f of u){const m=Lv(p,f,h,d);if(isNaN(m))return m;if((d=Math.min(d,m))===0)return d}return d}(n.type==="Polygon"?[n.coordinates]:n.coordinates,s,l):null}(r,i,this.geometries);console.warn("Distance Expression: currently only evaluates valid Point/LineString/Polygon geometries.")}else console.warn("Distance Expression: requirs valid feature and canonical information.");return null}eachChild(){}outputDefined(){return!0}serialize(){return["distance",this.geojson]}}var $u=Yn;function Ya(t){if(t instanceof ji&&(t.name==="get"&&t.args.length===1||t.name==="feature-state"||t.name==="has"&&t.args.length===1||t.name==="properties"||t.name==="geometry-type"||t.name==="id"||/^filter-/.test(t.name))||t instanceof Bu||t instanceof $u)return!1;let e=!0;return t.eachChild(r=>{e&&!Ya(r)&&(e=!1)}),e}function Jn(t){if(t instanceof ji&&t.name==="feature-state")return!1;let e=!0;return t.eachChild(r=>{e&&!Jn(r)&&(e=!1)}),e}function Hu(t){if(t instanceof ji&&t.name==="config")return!1;let e=!0;return t.eachChild(r=>{e&&!Hu(r)&&(e=!1)}),e}function Ja(t,e){if(t instanceof ji&&e.indexOf(t.name)>=0)return!1;let r=!0;return t.eachChild(i=>{r&&!Ja(i,e)&&(r=!1)}),r}class Wu{constructor(e,r){this.type=r.type,this.name=e,this.boundExpression=r}static parse(e,r){if(e.length!==2||typeof e[1]!="string")return r.error("'var' expression requires exactly one string literal argument.");const i=e[1];return r.scope.has(i)?new Wu(i,r.scope.get(i)):r.error(`Unknown variable "${i}". Make sure "${i}" has been bound in an enclosing "let" expression before using it.`,1)}evaluate(e){return this.boundExpression.evaluate(e)}eachChild(){}outputDefined(){return!1}serialize(){return["var",this.name]}}var Ff=Wu;class Xu{constructor(e,r=[],i,o=new yv,a=[],n){this.registry=e,this.path=r,this.key=r.map(s=>`[${s}]`).join(""),this.scope=o,this.errors=a,this.expectedType=i,this.options=n}parse(e,r,i,o,a={}){return r||i?this.concat(r,i,o)._parse(e,a):this._parse(e,a)}_parse(e,r){function i(o,a,n){return n==="assert"?new no(a,[o]):n==="coerce"?new da(a,[o]):o}if(e!==null&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"||(e=["literal",e]),Array.isArray(e)){if(e.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');const o=typeof e[0]=="string"?this.registry[e[0]]:void 0;if(o){let a=o.parse(e,this);if(!a)return null;if(this.expectedType){const n=this.expectedType,s=a.type;if(n.kind!=="string"&&n.kind!=="number"&&n.kind!=="boolean"&&n.kind!=="object"&&n.kind!=="array"||s.kind!=="value")if(n.kind!=="color"&&n.kind!=="formatted"&&n.kind!=="resolvedImage"||s.kind!=="value"&&s.kind!=="string"){if(this.checkSubtype(n,s))return null}else a=i(a,n,r.typeAnnotation||"coerce");else a=i(a,n,r.typeAnnotation||"assert")}if(!(a instanceof qn)&&a.type.kind!=="resolvedImage"&&Yu(a)){const n=new wf(this.options);try{a=new qn(a.type,a.evaluate(n))}catch(s){return this.error(s.message),null}}return a}return da.parse(["to-array",e],this)}return this.error(e===void 0?"'undefined' value invalid. Use null instead.":typeof e=="object"?'Bare objects invalid. Use ["literal", {...}] instead.':`Expected an array, but found ${typeof e} instead.`)}concat(e,r,i){const o=typeof e=="number"?this.path.concat(e):this.path,a=i?this.scope.concat(i):this.scope;return new Xu(this.registry,o,r||null,a,this.errors,this.options)}error(e,...r){const i=`${this.key}${r.map(o=>`[${o}]`).join("")}`;this.errors.push(new Ui(i,e))}checkSubtype(e,r){const i=Un(e,r);return i&&this.error(i),i}}var Nf=Xu;function Yu(t){if(t instanceof Ff)return Yu(t.boundExpression);if(t instanceof ji&&t.name==="error"||t instanceof ji&&t.name==="config"||t instanceof nl||t instanceof Bu||t instanceof $u)return!1;const e=t instanceof da||t instanceof no;let r=!0;return t.eachChild(i=>{r=e?r&&Yu(i):r&&i instanceof qn}),!!r&&Ya(t)&&Ja(t,["zoom","heatmap-density","line-progress","raster-value","sky-radial-progress","accumulated","is-supported-script","pitch","distance-from-center","measure-light"])}function dl(t,e){const r=t.length-1;let i,o,a=0,n=r,s=0;for(;a<=n;)if(s=Math.floor((a+n)/2),i=t[s],o=t[s+1],i<=e){if(s===r||e<o)return s;a=s+1}else{if(!(i>e))throw new Tr("Input is not a number.");n=s-1}return 0}class Ju{constructor(e,r,i){this.type=e,this.input=r,this.labels=[],this.outputs=[];for(const[o,a]of i)this.labels.push(o),this.outputs.push(a)}static parse(e,r){if(e.length-1<4)return r.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!=0)return r.error("Expected an even number of arguments.");const i=r.parse(e[1],1,ye);if(!i)return null;const o=[];let a=null;r.expectedType&&r.expectedType.kind!=="value"&&(a=r.expectedType);for(let n=1;n<e.length;n+=2){const s=n===1?-1/0:e[n],l=e[n+1],c=n,u=n+1;if(typeof s!="number")return r.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',c);if(o.length&&o[o.length-1][0]>=s)return r.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',c);const h=r.parse(l,u,a);if(!h)return null;a=a||h.type,o.push([s,h])}return new Ju(a,i,o)}evaluate(e){const r=this.labels,i=this.outputs;if(r.length===1)return i[0].evaluate(e);const o=this.input.evaluate(e);if(o<=r[0])return i[0].evaluate(e);const a=r.length;return o>=r[a-1]?i[a-1].evaluate(e):i[dl(r,o)].evaluate(e)}eachChild(e){e(this.input);for(const r of this.outputs)e(r)}outputDefined(){return this.outputs.every(e=>e.outputDefined())}serialize(){const e=["step",this.input.serialize()];for(let r=0;r<this.labels.length;r++)r>0&&e.push(this.labels[r]),e.push(this.outputs[r].serialize());return e}}var Ku=Ju;function Ne(t,e,r){return t*(1-r)+e*r}function Vf(t,e,r){return t.map((i,o)=>Ne(i,e[o],r))}var pl=Object.freeze({__proto__:null,array:Vf,color:function(t,e,r){return new Qe(Ne(t.r,e.r,r),Ne(t.g,e.g,r),Ne(t.b,e.b,r),Ne(t.a,e.a,r))},number:Ne});const Uf=.95047,jf=1.08883,Gf=4/29,Ka=6/29,qf=3*Ka*Ka,Ov=Ka*Ka*Ka,Fv=Math.PI/180,Nv=180/Math.PI;function Qu(t){return t>Ov?Math.pow(t,1/3):t/qf+Gf}function eh(t){return t>Ka?t*t*t:qf*(t-Gf)}function th(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function rh(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Zf(t){const e=rh(t.r),r=rh(t.g),i=rh(t.b),o=Qu((.4124564*e+.3575761*r+.1804375*i)/Uf),a=Qu((.2126729*e+.7151522*r+.072175*i)/1);return{l:116*a-16,a:500*(o-a),b:200*(a-Qu((.0193339*e+.119192*r+.9503041*i)/jf)),alpha:t.a}}function $f(t){let e=(t.l+16)/116,r=isNaN(t.a)?e:e+t.a/500,i=isNaN(t.b)?e:e-t.b/200;return e=1*eh(e),r=Uf*eh(r),i=jf*eh(i),new Qe(th(3.2404542*r-1.5371385*e-.4985314*i),th(-.969266*r+1.8760108*e+.041556*i),th(.0556434*r-.2040259*e+1.0572252*i),t.alpha)}function Vv(t,e,r){const i=e-t;return t+r*(i>180||i<-180?i-360*Math.round(i/360):i)}const Kn={forward:Zf,reverse:$f,interpolate:function(t,e,r){return{l:Ne(t.l,e.l,r),a:Ne(t.a,e.a,r),b:Ne(t.b,e.b,r),alpha:Ne(t.alpha,e.alpha,r)}}},Qn={forward:function(t){const{l:e,a:r,b:i}=Zf(t),o=Math.atan2(i,r)*Nv;return{h:o<0?o+360:o,c:Math.sqrt(r*r+i*i),l:e,alpha:t.a}},reverse:function(t){const e=t.h*Fv,r=t.c;return $f({l:t.l,a:Math.cos(e)*r,b:Math.sin(e)*r,alpha:t.alpha})},interpolate:function(t,e,r){return{h:Vv(t.h,e.h,r),c:Ne(t.c,e.c,r),l:Ne(t.l,e.l,r),alpha:Ne(t.alpha,e.alpha,r)}}};var Hf=Object.freeze({__proto__:null,hcl:Qn,lab:Kn});class fl{constructor(e,r,i,o,a){this.type=e,this.operator=r,this.interpolation=i,this.input=o,this.labels=[],this.outputs=[];for(const[n,s]of a)this.labels.push(n),this.outputs.push(s)}static interpolationFactor(e,r,i,o){let a=0;if(e.name==="exponential")a=ih(r,e.base,i,o);else if(e.name==="linear")a=ih(r,1,i,o);else if(e.name==="cubic-bezier"){const n=e.controlPoints;a=new Ws(n[0],n[1],n[2],n[3]).solve(ih(r,1,i,o))}return a}static parse(e,r){let[i,o,a,...n]=e;if(!Array.isArray(o)||o.length===0)return r.error("Expected an interpolation type expression.",1);if(o[0]==="linear")o={name:"linear"};else if(o[0]==="exponential"){const c=o[1];if(typeof c!="number")return r.error("Exponential interpolation requires a numeric base.",1,1);o={name:"exponential",base:c}}else{if(o[0]!=="cubic-bezier")return r.error(`Unknown interpolation type ${String(o[0])}`,1,0);{const c=o.slice(1);if(c.length!==4||c.some(u=>typeof u!="number"||u<0||u>1))return r.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);o={name:"cubic-bezier",controlPoints:c}}}if(e.length-1<4)return r.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!=0)return r.error("Expected an even number of arguments.");if(a=r.parse(a,2,ye),!a)return null;const s=[];let l=null;i==="interpolate-hcl"||i==="interpolate-lab"?l=fi:r.expectedType&&r.expectedType.kind!=="value"&&(l=r.expectedType);for(let c=0;c<n.length;c+=2){const u=n[c],h=n[c+1],d=c+3,p=c+4;if(typeof u!="number")return r.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',d);if(s.length&&s[s.length-1][0]>=u)return r.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',d);const f=r.parse(h,p,l);if(!f)return null;l=l||f.type,s.push([u,f])}return l.kind==="number"||l.kind==="color"||l.kind==="array"&&l.itemType.kind==="number"&&typeof l.N=="number"?new fl(l,i,o,a,s):r.error(`Type ${ar(l)} is not interpolatable.`)}evaluate(e){const r=this.labels,i=this.outputs;if(r.length===1)return i[0].evaluate(e);const o=this.input.evaluate(e);if(o<=r[0])return i[0].evaluate(e);const a=r.length;if(o>=r[a-1])return i[a-1].evaluate(e);const n=dl(r,o),s=fl.interpolationFactor(this.interpolation,o,r[n],r[n+1]),l=i[n].evaluate(e),c=i[n+1].evaluate(e);return this.operator==="interpolate"?pl[this.type.kind.toLowerCase()](l,c,s):this.operator==="interpolate-hcl"?Qn.reverse(Qn.interpolate(Qn.forward(l),Qn.forward(c),s)):Kn.reverse(Kn.interpolate(Kn.forward(l),Kn.forward(c),s))}eachChild(e){e(this.input);for(const r of this.outputs)e(r)}outputDefined(){return this.outputs.every(e=>e.outputDefined())}serialize(){let e;e=this.interpolation.name==="linear"?["linear"]:this.interpolation.name==="exponential"?this.interpolation.base===1?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);const r=[this.operator,e,this.input.serialize()];for(let i=0;i<this.labels.length;i++)r.push(this.labels[i],this.outputs[i].serialize());return r}}function ih(t,e,r,i){const o=i-r,a=t-r;return o===0?0:e===1?a/o:(Math.pow(e,a)-1)/(Math.pow(e,o)-1)}var Gi=fl;class oh{constructor(e,r){this.type=e,this.args=r}static parse(e,r){if(e.length<2)return r.error("Expectected at least one argument.");let i=null;const o=r.expectedType;o&&o.kind!=="value"&&(i=o);const a=[];for(const s of e.slice(1)){const l=r.parse(s,1+a.length,i,void 0,{typeAnnotation:"omit"});if(!l)return null;i=i||l.type,a.push(l)}const n=o&&a.some(s=>Un(o,s.type));return new oh(n?gt:i,a)}evaluate(e){let r,i=null,o=0;for(const a of this.args){if(o++,i=a.evaluate(e),i&&i instanceof mi&&!i.available&&(r||(r=i),i=null,o===this.args.length))return r;if(i!==null)break}return i}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every(e=>e.outputDefined())}serialize(){const e=["coalesce"];return this.eachChild(r=>{e.push(r.serialize())}),e}}var Wf=oh;class ah{constructor(e,r){this.type=r.type,this.bindings=[].concat(e),this.result=r}evaluate(e){return this.result.evaluate(e)}eachChild(e){for(const r of this.bindings)e(r[1]);e(this.result)}static parse(e,r){if(e.length<4)return r.error(`Expected at least 3 arguments, but found ${e.length-1} instead.`);const i=[];for(let a=1;a<e.length-1;a+=2){const n=e[a];if(typeof n!="string")return r.error(`Expected string, but found ${typeof n} instead.`,a);if(/[^a-zA-Z0-9_]/.test(n))return r.error("Variable names must contain only alphanumeric characters or '_'.",a);const s=r.parse(e[a+1],a+1);if(!s)return null;i.push([n,s])}const o=r.parse(e[e.length-1],e.length-1,r.expectedType,i);return o?new ah(i,o):null}outputDefined(){return this.result.outputDefined()}serialize(){const e=["let"];for(const[r,i]of this.bindings)e.push(r,i.serialize());return e.push(this.result.serialize()),e}}var Xf=ah;class nh{constructor(e,r,i){this.type=e,this.index=r,this.input=i}static parse(e,r){if(e.length!==3)return r.error(`Expected 2 arguments, but found ${e.length-1} instead.`);const i=r.parse(e[1],1,ye),o=r.parse(e[2],2,Hr(r.expectedType||gt));return i&&o?new nh(o.type.itemType,i,o):null}evaluate(e){const r=this.index.evaluate(e),i=this.input.evaluate(e);if(r<0)throw new Tr(`Array index out of bounds: ${r} < 0.`);if(r>=i.length)throw new Tr(`Array index out of bounds: ${r} > ${i.length-1}.`);if(r!==Math.floor(r))throw new Tr(`Array index must be an integer, but found ${r} instead.`);return i[r]}eachChild(e){e(this.index),e(this.input)}outputDefined(){return!1}serialize(){return["at",this.index.serialize(),this.input.serialize()]}}var Uv=nh;class sh{constructor(e,r){this.type=yt,this.needle=e,this.haystack=r}static parse(e,r){if(e.length!==3)return r.error(`Expected 2 arguments, but found ${e.length-1} instead.`);const i=r.parse(e[1],1,gt),o=r.parse(e[2],2,gt);return i&&o?Eu(i.type,[yt,ft,ye,Za,gt])?new sh(i,o):r.error(`Expected first argument to be of type boolean, string, number or null, but found ${ar(i.type)} instead`):null}evaluate(e){const r=this.needle.evaluate(e),i=this.haystack.evaluate(e);if(i==null)return!1;if(!jn(r,["boolean","string","number","null"]))throw new Tr(`Expected first argument to be of type boolean, string, number or null, but found ${ar(mr(r))} instead.`);if(!jn(i,["string","array"]))throw new Tr(`Expected second argument to be of type array or string, but found ${ar(mr(i))} instead.`);return i.indexOf(r)>=0}eachChild(e){e(this.needle),e(this.haystack)}outputDefined(){return!0}serialize(){return["in",this.needle.serialize(),this.haystack.serialize()]}}var jv=sh;class ml{constructor(e,r,i){this.type=ye,this.needle=e,this.haystack=r,this.fromIndex=i}static parse(e,r){if(e.length<=2||e.length>=5)return r.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const i=r.parse(e[1],1,gt),o=r.parse(e[2],2,gt);if(!i||!o)return null;if(!Eu(i.type,[yt,ft,ye,Za,gt]))return r.error(`Expected first argument to be of type boolean, string, number or null, but found ${ar(i.type)} instead`);if(e.length===4){const a=r.parse(e[3],3,ye);return a?new ml(i,o,a):null}return new ml(i,o)}evaluate(e){const r=this.needle.evaluate(e),i=this.haystack.evaluate(e);if(!jn(r,["boolean","string","number","null"]))throw new Tr(`Expected first argument to be of type boolean, string, number or null, but found ${ar(mr(r))} instead.`);if(!jn(i,["string","array"]))throw new Tr(`Expected second argument to be of type array or string, but found ${ar(mr(i))} instead.`);if(this.fromIndex){const o=this.fromIndex.evaluate(e);return i.indexOf(r,o)}return i.indexOf(r)}eachChild(e){e(this.needle),e(this.haystack),this.fromIndex&&e(this.fromIndex)}outputDefined(){return!1}serialize(){if(this.fromIndex!=null&&this.fromIndex!==void 0){const e=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),e]}return["index-of",this.needle.serialize(),this.haystack.serialize()]}}var Gv=ml;class lh{constructor(e,r,i,o,a,n){this.inputType=e,this.type=r,this.input=i,this.cases=o,this.outputs=a,this.otherwise=n}static parse(e,r){if(e.length<5)return r.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if(e.length%2!=1)return r.error("Expected an even number of arguments.");let i,o;r.expectedType&&r.expectedType.kind!=="value"&&(o=r.expectedType);const a={},n=[];for(let c=2;c<e.length-1;c+=2){let u=e[c];const h=e[c+1];Array.isArray(u)||(u=[u]);const d=r.concat(c);if(u.length===0)return d.error("Expected at least one branch label.");for(const f of u){if(typeof f!="number"&&typeof f!="string")return d.error("Branch labels must be numbers or strings.");if(typeof f=="number"&&Math.abs(f)>Number.MAX_SAFE_INTEGER)return d.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if(typeof f=="number"&&Math.floor(f)!==f)return d.error("Numeric branch labels must be integer values.");if(i){if(d.checkSubtype(i,mr(f)))return null}else i=mr(f);if(a[String(f)]!==void 0)return d.error("Branch labels must be unique.");a[String(f)]=n.length}const p=r.parse(h,c,o);if(!p)return null;o=o||p.type,n.push(p)}const s=r.parse(e[1],1,gt);if(!s)return null;const l=r.parse(e[e.length-1],e.length-1,o);return l?s.type.kind!=="value"&&r.concat(1).checkSubtype(i,s.type)?null:new lh(i,o,s,a,n,l):null}evaluate(e){const r=this.input.evaluate(e);return(mr(r)===this.inputType&&this.outputs[this.cases[r]]||this.otherwise).evaluate(e)}eachChild(e){e(this.input),this.outputs.forEach(e),e(this.otherwise)}outputDefined(){return this.outputs.every(e=>e.outputDefined())&&this.otherwise.outputDefined()}serialize(){const e=["match",this.input.serialize()],r=Object.keys(this.cases).sort(),i=[],o={};for(const n of r){const s=o[this.cases[n]];s===void 0?(o[this.cases[n]]=i.length,i.push([this.cases[n],[n]])):i[s][1].push(n)}const a=n=>this.inputType.kind==="number"?Number(n):n;for(const[n,s]of i)e.push(s.length===1?a(s[0]):s.map(a)),e.push(this.outputs[n].serialize());return e.push(this.otherwise.serialize()),e}}var qv=lh;class ch{constructor(e,r,i){this.type=e,this.branches=r,this.otherwise=i}static parse(e,r){if(e.length<4)return r.error(`Expected at least 3 arguments, but found only ${e.length-1}.`);if(e.length%2!=0)return r.error("Expected an odd number of arguments.");let i;r.expectedType&&r.expectedType.kind!=="value"&&(i=r.expectedType);const o=[];for(let n=1;n<e.length-1;n+=2){const s=r.parse(e[n],n,yt);if(!s)return null;const l=r.parse(e[n+1],n+1,i);if(!l)return null;o.push([s,l]),i=i||l.type}const a=r.parse(e[e.length-1],e.length-1,i);return a?new ch(i,o,a):null}evaluate(e){for(const[r,i]of this.branches)if(r.evaluate(e))return i.evaluate(e);return this.otherwise.evaluate(e)}eachChild(e){for(const[r,i]of this.branches)e(r),e(i);e(this.otherwise)}outputDefined(){return this.branches.every(([e,r])=>r.outputDefined())&&this.otherwise.outputDefined()}serialize(){const e=["case"];return this.eachChild(r=>{e.push(r.serialize())}),e}}var Zv=ch;class gl{constructor(e,r,i,o){this.type=e,this.input=r,this.beginIndex=i,this.endIndex=o}static parse(e,r){if(e.length<=2||e.length>=5)return r.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const i=r.parse(e[1],1,gt),o=r.parse(e[2],2,ye);if(!i||!o)return null;if(!Eu(i.type,[Hr(gt),ft,gt]))return r.error(`Expected first argument to be of type array or string, but found ${ar(i.type)} instead`);if(e.length===4){const a=r.parse(e[3],3,ye);return a?new gl(i.type,i,o,a):null}return new gl(i.type,i,o)}evaluate(e){const r=this.input.evaluate(e),i=this.beginIndex.evaluate(e);if(!jn(r,["string","array"]))throw new Tr(`Expected first argument to be of type array or string, but found ${ar(mr(r))} instead.`);if(this.endIndex){const o=this.endIndex.evaluate(e);return r.slice(i,o)}return r.slice(i)}eachChild(e){e(this.input),e(this.beginIndex),this.endIndex&&e(this.endIndex)}outputDefined(){return!1}serialize(){if(this.endIndex!=null&&this.endIndex!==void 0){const e=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),e]}return["slice",this.input.serialize(),this.beginIndex.serialize()]}}var $v=gl;function Yf(t,e){return t==="=="||t==="!="?e.kind==="boolean"||e.kind==="string"||e.kind==="number"||e.kind==="null"||e.kind==="value":e.kind==="string"||e.kind==="number"||e.kind==="value"}function Jf(t,e,r,i){return i.compare(e,r)===0}function Qa(t,e,r){const i=t!=="=="&&t!=="!=";return class hv{constructor(a,n,s){this.type=yt,this.lhs=a,this.rhs=n,this.collator=s,this.hasUntypedArgument=a.type.kind==="value"||n.type.kind==="value"}static parse(a,n){if(a.length!==3&&a.length!==4)return n.error("Expected two or three arguments.");const s=a[0];let l=n.parse(a[1],1,gt);if(!l)return null;if(!Yf(s,l.type))return n.concat(1).error(`"${s}" comparisons are not supported for type '${ar(l.type)}'.`);let c=n.parse(a[2],2,gt);if(!c)return null;if(!Yf(s,c.type))return n.concat(2).error(`"${s}" comparisons are not supported for type '${ar(c.type)}'.`);if(l.type.kind!==c.type.kind&&l.type.kind!=="value"&&c.type.kind!=="value")return n.error(`Cannot compare types '${ar(l.type)}' and '${ar(c.type)}'.`);i&&(l.type.kind==="value"&&c.type.kind!=="value"?l=new no(c.type,[l]):l.type.kind!=="value"&&c.type.kind==="value"&&(c=new no(l.type,[c])));let u=null;if(a.length===4){if(l.type.kind!=="string"&&c.type.kind!=="string"&&l.type.kind!=="value"&&c.type.kind!=="value")return n.error("Cannot use collator to compare non-string types.");if(u=n.parse(a[3],3,il),!u)return null}return new hv(l,c,u)}evaluate(a){const n=this.lhs.evaluate(a),s=this.rhs.evaluate(a);if(i&&this.hasUntypedArgument){const l=mr(n),c=mr(s);if(l.kind!==c.kind||l.kind!=="string"&&l.kind!=="number")throw new Tr(`Expected arguments for "${t}" to be (string, string) or (number, number), but found (${l.kind}, ${c.kind}) instead.`)}if(this.collator&&!i&&this.hasUntypedArgument){const l=mr(n),c=mr(s);if(l.kind!=="string"||c.kind!=="string")return e(a,n,s)}return this.collator?r(a,n,s,this.collator.evaluate(a)):e(a,n,s)}eachChild(a){a(this.lhs),a(this.rhs),this.collator&&a(this.collator)}outputDefined(){return!0}serialize(){const a=[t];return this.eachChild(n=>{a.push(n.serialize())}),a}}}const Hv=Qa("==",function(t,e,r){return e===r},Jf),Wv=Qa("!=",function(t,e,r){return e!==r},function(t,e,r,i){return!Jf(0,e,r,i)}),Xv=Qa("<",function(t,e,r){return e<r},function(t,e,r,i){return i.compare(e,r)<0}),Yv=Qa(">",function(t,e,r){return e>r},function(t,e,r,i){return i.compare(e,r)>0}),Jv=Qa("<=",function(t,e,r){return e<=r},function(t,e,r,i){return i.compare(e,r)<=0}),Kv=Qa(">=",function(t,e,r){return e>=r},function(t,e,r,i){return i.compare(e,r)>=0});class uh{constructor(e,r,i,o,a,n){this.type=ft,this.number=e,this.locale=r,this.currency=i,this.unit=o,this.minFractionDigits=a,this.maxFractionDigits=n}static parse(e,r){if(e.length!==3)return r.error("Expected two arguments.");const i=r.parse(e[1],1,ye);if(!i)return null;const o=e[2];if(typeof o!="object"||Array.isArray(o))return r.error("NumberFormat options argument must be an object.");let a=null;if(o.locale&&(a=r.parse(o.locale,1,ft),!a))return null;let n=null;if(o.currency&&(n=r.parse(o.currency,1,ft),!n))return null;let s=null;if(o.unit&&(s=r.parse(o.unit,1,ft),!s))return null;let l=null;if(o["min-fraction-digits"]&&(l=r.parse(o["min-fraction-digits"],1,ye),!l))return null;let c=null;return o["max-fraction-digits"]&&(c=r.parse(o["max-fraction-digits"],1,ye),!c)?null:new uh(i,a,n,s,l,c)}evaluate(e){return new Intl.NumberFormat(this.locale?this.locale.evaluate(e):[],{style:(this.currency?"currency":this.unit&&"unit")||"decimal",currency:this.currency?this.currency.evaluate(e):void 0,unit:this.unit?this.unit.evaluate(e):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(e):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(e):void 0}).format(this.number.evaluate(e))}eachChild(e){e(this.number),this.locale&&e(this.locale),this.currency&&e(this.currency),this.unit&&e(this.unit),this.minFractionDigits&&e(this.minFractionDigits),this.maxFractionDigits&&e(this.maxFractionDigits)}outputDefined(){return!1}serialize(){const e={};return this.locale&&(e.locale=this.locale.serialize()),this.currency&&(e.currency=this.currency.serialize()),this.unit&&(e.unit=this.unit.serialize()),this.minFractionDigits&&(e["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(e["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),e]}}class hh{constructor(e){this.type=ye,this.input=e}static parse(e,r){if(e.length!==2)return r.error(`Expected 1 argument, but found ${e.length-1} instead.`);const i=r.parse(e[1],1);return i?i.type.kind!=="array"&&i.type.kind!=="string"&&i.type.kind!=="value"?r.error(`Expected argument of type string or array, but found ${ar(i.type)} instead.`):new hh(i):null}evaluate(e){const r=this.input.evaluate(e);if(typeof r=="string"||Array.isArray(r))return r.length;throw new Tr(`Expected value to be of type string or array, but found ${ar(mr(r))} instead.`)}eachChild(e){e(this.input)}outputDefined(){return!1}serialize(){const e=["length"];return this.eachChild(r=>{e.push(r.serialize())}),e}}function dh(t){return function(){t=1831565813+(t|=0)|0;let e=Math.imul(t^t>>>15,1|t);return e=e+Math.imul(e^e>>>7,61|e)^e,((e^e>>>14)>>>0)/4294967296}}const Kf={"==":Hv,"!=":Wv,">":Yv,"<":Xv,">=":Kv,"<=":Jv,array:no,at:Uv,boolean:no,case:Zv,coalesce:Wf,collator:nl,format:Zn,image:$n,in:jv,"index-of":Gv,interpolate:Gi,"interpolate-hcl":Gi,"interpolate-lab":Gi,length:hh,let:Xf,literal:qn,match:qv,number:no,"number-format":uh,object:no,slice:$v,step:Ku,string:no,"to-boolean":da,"to-color":da,"to-number":da,"to-string":da,var:Ff,within:Bu,distance:$u};function Qf(t,[e,r,i,o]){e=e.evaluate(t),r=r.evaluate(t),i=i.evaluate(t);const a=o?o.evaluate(t):1,n=bf(e,r,i,a);if(n)throw new Tr(n);return new Qe(e/255*a,r/255*a,i/255*a,a)}function em(t,[e,r,i,o]){e=e.evaluate(t),r=r.evaluate(t),i=i.evaluate(t);const a=o?o.evaluate(t):1,n=function(c,u,h,d){return typeof c=="number"&&c>=0&&c<=360?typeof u=="number"&&u>=0&&u<=100&&typeof h=="number"&&h>=0&&h<=100?d===void 0||typeof d=="number"&&d>=0&&d<=1?null:`Invalid hsla value [${[c,u,h,d].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid hsla value [${(typeof d=="number"?[c,u,h,d]:[c,u,h]).join(", ")}]: 's', and 'l' must be between 0 and 100.`:`Invalid hsla value [${(typeof d=="number"?[c,u,h,d]:[c,u,h]).join(", ")}]: 'h' must be between 0 and 360.`}(e,r,i,a);if(n)throw new Tr(n);const s=`hsla(${e}, ${r}%, ${i}%, ${a})`,l=Qe.parse(s);if(!l)throw new Tr(`Failed to parse HSLA color: ${s}`);return l}function tm(t,e){return t in e}function ph(t,e){const r=e[t];return r===void 0?null:r}function rm(t,e){switch(t){case"string":return String(e);case"number":return+e;case"boolean":return!!e;case"color":return Qe.parse(e)}return e}function im(t,e,r,i){return i!==void 0&&(t=i*Math.round(t/i)),e!==void 0&&t<e&&(t=e),r!==void 0&&t>r&&(t=r),t}function om(t,e,r){r.length&&(e+=`${r}`);const i=t.getConfig(e);if(!i)return null;const{type:o,value:a,values:n,minValue:s,maxValue:l,stepValue:c}=i,u=i.default.evaluate(t);let h=a?a.evaluate(t):u;return o&&(h=rm(o,h)),a!==void 0&&h!==void 0&&n&&!n.includes(h)&&(h=u,o&&(h=rm(o,h))),h===void 0||s===void 0&&l===void 0&&c===void 0||(typeof h=="number"?h=im(h,s,l,c):Array.isArray(h)&&(h=h.map(d=>typeof d=="number"?im(d,s,l,c):d))),h}function ma(t){return{type:t}}ji.register(Kf,{error:[{kind:"error"},[ft],(t,[e])=>{throw new Tr(e.evaluate(t))}],typeof:[ft,[gt],(t,[e])=>ar(mr(e.evaluate(t)))],"to-rgba":[Hr(ye,4),[fi],(t,[e])=>e.evaluate(t).toArray()],rgb:[fi,[ye,ye,ye],Qf],rgba:[fi,[ye,ye,ye,ye],Qf],hsl:[fi,[ye,ye,ye],em],hsla:[fi,[ye,ye,ye,ye],em],has:{type:yt,overloads:[[[ft],(t,[e])=>tm(e.evaluate(t),t.properties())],[[ft,$a],(t,[e,r])=>tm(e.evaluate(t),r.evaluate(t))]]},get:{type:gt,overloads:[[[ft],(t,[e])=>ph(e.evaluate(t),t.properties())],[[ft,$a],(t,[e,r])=>ph(e.evaluate(t),r.evaluate(t))]]},config:{type:gt,overloads:[[[ft],(t,[e])=>om(t,e.evaluate(t),"")],[[ft,ft],(t,[e,r])=>om(t,e.evaluate(t),r.evaluate(t))]]},"feature-state":[gt,[ft],(t,[e])=>ph(e.evaluate(t),t.featureState||{})],properties:[$a,[],t=>t.properties()],"geometry-type":[ft,[],t=>t.geometryType()],id:[gt,[],t=>t.id()],zoom:[ye,[],t=>t.globals.zoom],pitch:[ye,[],t=>t.globals.pitch||0],"distance-from-center":[ye,[],t=>t.distanceFromCenter()],"measure-light":[ye,[ft],(t,[e])=>t.measureLight(e.evaluate(t))],"heatmap-density":[ye,[],t=>t.globals.heatmapDensity||0],"line-progress":[ye,[],t=>t.globals.lineProgress||0],"raster-value":[ye,[],t=>t.globals.rasterValue||0],"sky-radial-progress":[ye,[],t=>t.globals.skyRadialProgress||0],accumulated:[gt,[],t=>t.globals.accumulated===void 0?null:t.globals.accumulated],"+":[ye,ma(ye),(t,e)=>{let r=0;for(const i of e)r+=i.evaluate(t);return r}],"*":[ye,ma(ye),(t,e)=>{let r=1;for(const i of e)r*=i.evaluate(t);return r}],"-":{type:ye,overloads:[[[ye,ye],(t,[e,r])=>e.evaluate(t)-r.evaluate(t)],[[ye],(t,[e])=>-e.evaluate(t)]]},"/":[ye,[ye,ye],(t,[e,r])=>e.evaluate(t)/r.evaluate(t)],"%":[ye,[ye,ye],(t,[e,r])=>e.evaluate(t)%r.evaluate(t)],ln2:[ye,[],()=>Math.LN2],pi:[ye,[],()=>Math.PI],e:[ye,[],()=>Math.E],"^":[ye,[ye,ye],(t,[e,r])=>Math.pow(e.evaluate(t),r.evaluate(t))],sqrt:[ye,[ye],(t,[e])=>Math.sqrt(e.evaluate(t))],log10:[ye,[ye],(t,[e])=>Math.log(e.evaluate(t))/Math.LN10],ln:[ye,[ye],(t,[e])=>Math.log(e.evaluate(t))],log2:[ye,[ye],(t,[e])=>Math.log(e.evaluate(t))/Math.LN2],sin:[ye,[ye],(t,[e])=>Math.sin(e.evaluate(t))],cos:[ye,[ye],(t,[e])=>Math.cos(e.evaluate(t))],tan:[ye,[ye],(t,[e])=>Math.tan(e.evaluate(t))],asin:[ye,[ye],(t,[e])=>Math.asin(e.evaluate(t))],acos:[ye,[ye],(t,[e])=>Math.acos(e.evaluate(t))],atan:[ye,[ye],(t,[e])=>Math.atan(e.evaluate(t))],min:[ye,ma(ye),(t,e)=>Math.min(...e.map(r=>r.evaluate(t)))],max:[ye,ma(ye),(t,e)=>Math.max(...e.map(r=>r.evaluate(t)))],abs:[ye,[ye],(t,[e])=>Math.abs(e.evaluate(t))],round:[ye,[ye],(t,[e])=>{const r=e.evaluate(t);return r<0?-Math.round(-r):Math.round(r)}],floor:[ye,[ye],(t,[e])=>Math.floor(e.evaluate(t))],ceil:[ye,[ye],(t,[e])=>Math.ceil(e.evaluate(t))],"filter-==":[yt,[ft,gt],(t,[e,r])=>t.properties()[e.value]===r.value],"filter-id-==":[yt,[gt],(t,[e])=>t.id()===e.value],"filter-type-==":[yt,[ft],(t,[e])=>t.geometryType()===e.value],"filter-<":[yt,[ft,gt],(t,[e,r])=>{const i=t.properties()[e.value],o=r.value;return typeof i==typeof o&&i<o}],"filter-id-<":[yt,[gt],(t,[e])=>{const r=t.id(),i=e.value;return typeof r==typeof i&&r<i}],"filter->":[yt,[ft,gt],(t,[e,r])=>{const i=t.properties()[e.value],o=r.value;return typeof i==typeof o&&i>o}],"filter-id->":[yt,[gt],(t,[e])=>{const r=t.id(),i=e.value;return typeof r==typeof i&&r>i}],"filter-<=":[yt,[ft,gt],(t,[e,r])=>{const i=t.properties()[e.value],o=r.value;return typeof i==typeof o&&i<=o}],"filter-id-<=":[yt,[gt],(t,[e])=>{const r=t.id(),i=e.value;return typeof r==typeof i&&r<=i}],"filter->=":[yt,[ft,gt],(t,[e,r])=>{const i=t.properties()[e.value],o=r.value;return typeof i==typeof o&&i>=o}],"filter-id->=":[yt,[gt],(t,[e])=>{const r=t.id(),i=e.value;return typeof r==typeof i&&r>=i}],"filter-has":[yt,[gt],(t,[e])=>e.value in t.properties()],"filter-has-id":[yt,[],t=>t.id()!==null&&t.id()!==void 0],"filter-type-in":[yt,[Hr(ft)],(t,[e])=>e.value.indexOf(t.geometryType())>=0],"filter-id-in":[yt,[Hr(gt)],(t,[e])=>e.value.indexOf(t.id())>=0],"filter-in-small":[yt,[ft,Hr(gt)],(t,[e,r])=>r.value.indexOf(t.properties()[e.value])>=0],"filter-in-large":[yt,[ft,Hr(gt)],(t,[e,r])=>function(i,o,a,n){for(;a<=n;){const s=a+n>>1;if(o[s]===i)return!0;o[s]>i?n=s-1:a=s+1}return!1}(t.properties()[e.value],r.value,0,r.value.length-1)],all:{type:yt,overloads:[[[yt,yt],(t,[e,r])=>e.evaluate(t)&&r.evaluate(t)],[ma(yt),(t,e)=>{for(const r of e)if(!r.evaluate(t))return!1;return!0}]]},any:{type:yt,overloads:[[[yt,yt],(t,[e,r])=>e.evaluate(t)||r.evaluate(t)],[ma(yt),(t,e)=>{for(const r of e)if(r.evaluate(t))return!0;return!1}]]},"!":[yt,[yt],(t,[e])=>!e.evaluate(t)],"is-supported-script":[yt,[ft],(t,[e])=>{const r=t.globals&&t.globals.isSupportedScript;return!r||r(e.evaluate(t))}],upcase:[ft,[ft],(t,[e])=>e.evaluate(t).toUpperCase()],downcase:[ft,[ft],(t,[e])=>e.evaluate(t).toLowerCase()],concat:[ft,ma(gt),(t,e)=>e.map(r=>Gn(r.evaluate(t))).join("")],"resolved-locale":[ft,[il],(t,[e])=>e.evaluate(t).resolvedLocale()],random:[ye,[ye,ye,gt],(t,e)=>{const[r,i,o]=e.map(n=>n.evaluate(t));if(r>i||r===i)return r;let a;if(typeof o=="string")a=function(n){let s=0;if(n.length===0)return s;for(let l=0;l<n.length;l++)s=(s<<5)-s+n.charCodeAt(l),s&=s;return s}(o);else{if(typeof o!="number")throw new Tr(`Invalid seed input: ${o}`);a=o}return r+dh(a)()*(i-r)}]});var es=Kf;function am(t){return{result:"success",value:t}}function ga(t){return{result:"error",value:t}}function nm(t,e){return!!t&&!!t.parameters&&t.parameters.indexOf(e)>-1}function _a(t){return t["property-type"]==="data-driven"}function sm(t){return nm(t.expression,"measure-light")}function fh(t){return nm(t.expression,"zoom")}function mh(t){return!!t.expression&&t.expression.interpolated}function _l(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function Qv(t){return t}function lm(t,e){const r=e.type==="color",i=t.stops&&typeof t.stops[0][0]=="object",o=i||!(i||t.property!==void 0),a=t.type||(mh(e)?"exponential":"interval");if(r&&((t=oo({},t)).stops&&(t.stops=t.stops.map(c=>[c[0],Qe.parse(c[1])])),t.default=Qe.parse(t.default?t.default:e.default)),t.colorSpace&&t.colorSpace!=="rgb"&&!Hf[t.colorSpace])throw new Error(`Unknown color space: ${t.colorSpace}`);let n,s,l;if(a==="exponential")n=cm;else if(a==="interval")n=tb;else if(a==="categorical"){n=eb,s=Object.create(null);for(const c of t.stops)s[c[0]]=c[1];l=typeof t.stops[0][0]}else{if(a!=="identity")throw new Error(`Unknown function type "${a}"`);n=rb}if(i){const c={},u=[];for(let p=0;p<t.stops.length;p++){const f=t.stops[p],m=f[0].zoom;c[m]===void 0&&(c[m]={zoom:m,type:t.type,property:t.property,default:t.default,stops:[]},u.push(m)),c[m].stops.push([f[0].value,f[1]])}const h=[];for(const p of u)h.push([c[p].zoom,lm(c[p],e)]);const d={name:"linear"};return{kind:"composite",interpolationType:d,interpolationFactor:Gi.interpolationFactor.bind(void 0,d),zoomStops:h.map(p=>p[0]),evaluate:({zoom:p},f)=>cm({stops:h,base:t.base},e,p).evaluate(p,f)}}if(o){const c=a==="exponential"?{name:"exponential",base:t.base!==void 0?t.base:1}:null;return{kind:"camera",interpolationType:c,interpolationFactor:Gi.interpolationFactor.bind(void 0,c),zoomStops:t.stops.map(u=>u[0]),evaluate:({zoom:u})=>n(t,e,u,s,l)}}return{kind:"source",evaluate(c,u){const h=u&&u.properties?u.properties[t.property]:void 0;return h===void 0?ts(t.default,e.default):n(t,e,h,s,l)}}}function ts(t,e,r){return t!==void 0?t:e!==void 0?e:r!==void 0?r:void 0}function eb(t,e,r,i,o){return ts(typeof r===o?i[r]:void 0,t.default,e.default)}function tb(t,e,r){if(kt(r)!=="number")return ts(t.default,e.default);const i=t.stops.length;if(i===1||r<=t.stops[0][0])return t.stops[0][1];if(r>=t.stops[i-1][0])return t.stops[i-1][1];const o=dl(t.stops.map(a=>a[0]),r);return t.stops[o][1]}function cm(t,e,r){const i=t.base!==void 0?t.base:1;if(kt(r)!=="number")return ts(t.default,e.default);const o=t.stops.length;if(o===1||r<=t.stops[0][0])return t.stops[0][1];if(r>=t.stops[o-1][0])return t.stops[o-1][1];const a=dl(t.stops.map(u=>u[0]),r),n=function(u,h,d,p){const f=p-d,m=u-d;return f===0?0:h===1?m/f:(Math.pow(h,m)-1)/(Math.pow(h,f)-1)}(r,i,t.stops[a][0],t.stops[a+1][0]),s=t.stops[a][1],l=t.stops[a+1][1];let c=pl[e.type]||Qv;if(t.colorSpace&&t.colorSpace!=="rgb"){const u=Hf[t.colorSpace];c=(h,d)=>u.reverse(u.interpolate(u.forward(h),u.forward(d),n))}return typeof s.evaluate=="function"?{evaluate(...u){const h=s.evaluate.apply(void 0,u),d=l.evaluate.apply(void 0,u);if(h!==void 0&&d!==void 0)return c(h,d,n)}}:c(s,l,n)}function rb(t,e,r){return e.type==="color"?r=Qe.parse(r):e.type==="formatted"?r=Xr.fromString(r.toString()):e.type==="resolvedImage"?r=mi.fromString(r.toString()):kt(r)===e.type||e.type==="enum"&&e.values[r]||(r=void 0),ts(r,t.default,e.default)}class gh{constructor(e,r,i){this.expression=e,this._warningHistory={},this._evaluator=new wf(i),this._defaultValue=r?function(o){return o.type==="color"&&(_l(o.default)||Array.isArray(o.default))?new Qe(0,0,0,0):o.type==="color"?Qe.parse(o.default)||null:o.default===void 0?null:o.default}(r):null,this._enumValues=r&&r.type==="enum"?r.values:null}evaluateWithoutErrorHandling(e,r,i,o,a,n,s,l){return this._evaluator.globals=e,this._evaluator.feature=r,this._evaluator.featureState=i,this._evaluator.canonical=o||null,this._evaluator.availableImages=a||null,this._evaluator.formattedSection=n,this._evaluator.featureTileCoord=s||null,this._evaluator.featureDistanceData=l||null,this.expression.evaluate(this._evaluator)}evaluate(e,r,i,o,a,n,s,l){this._evaluator.globals=e,this._evaluator.feature=r||null,this._evaluator.featureState=i||null,this._evaluator.canonical=o||null,this._evaluator.availableImages=a||null,this._evaluator.formattedSection=n||null,this._evaluator.featureTileCoord=s||null,this._evaluator.featureDistanceData=l||null;try{const c=this.expression.evaluate(this._evaluator);if(c==null||typeof c=="number"&&c!=c)return this._defaultValue;if(this._enumValues&&!(c in this._enumValues))throw new Tr(`Expected value to be one of ${Object.keys(this._enumValues).map(u=>JSON.stringify(u)).join(", ")}, but found ${JSON.stringify(c)} instead.`);return c}catch(c){return this._warningHistory[c.message]||(this._warningHistory[c.message]=!0,typeof console<"u"&&console.warn(c.message)),this._defaultValue}}}function yl(t){return Array.isArray(t)&&t.length>0&&typeof t[0]=="string"&&t[0]in es}function Ao(t,e,r){const i=new Nf(es,[],e?function(a){const n={color:fi,string:ft,number:ye,enum:ft,boolean:yt,formatted:Nn,resolvedImage:Vn};return a.type==="array"?Hr(n[a.value]||gt,a.length):n[a.type]}(e):void 0,void 0,void 0,r),o=i.parse(t,void 0,void 0,void 0,e&&e.type==="string"?{typeAnnotation:"coerce"}:void 0);return o?am(new gh(o,e,r)):ga(i.errors)}class _h{constructor(e,r,i){this.kind=e,this._styleExpression=r,this.isLightConstant=i,this.isStateDependent=e!=="constant"&&!Jn(r.expression),this.isConfigDependent=!Hu(r.expression)}evaluateWithoutErrorHandling(e,r,i,o,a,n){return this._styleExpression.evaluateWithoutErrorHandling(e,r,i,o,a,n)}evaluate(e,r,i,o,a,n){return this._styleExpression.evaluate(e,r,i,o,a,n)}}class Co{constructor(e,r,i,o,a){this.kind=e,this.zoomStops=i,this._styleExpression=r,this.isStateDependent=e!=="camera"&&!Jn(r.expression),this.isLightConstant=a,this.isConfigDependent=!Hu(r.expression),this.interpolationType=o}evaluateWithoutErrorHandling(e,r,i,o,a,n){return this._styleExpression.evaluateWithoutErrorHandling(e,r,i,o,a,n)}evaluate(e,r,i,o,a,n){return this._styleExpression.evaluate(e,r,i,o,a,n)}interpolationFactor(e,r,i){return this.interpolationType?Gi.interpolationFactor(this.interpolationType,e,r,i):0}}function yh(t,e,r){if((t=Ao(t,e,r)).result==="error")return t;const i=t.value.expression,o=Ya(i);if(!o&&!_a(e))return ga([new Ui("","data expressions not supported")]);const a=Ja(i,["zoom","pitch","distance-from-center"]);if(!a&&!fh(e))return ga([new Ui("","zoom expressions not supported")]);const n=Ja(i,["measure-light"]);if(!n&&!sm(e))return ga([new Ui("","measure-light expression not supported")]);const s=e.expression&&e.expression.relaxZoomRestriction,l=vl(i);return l||a||s?l instanceof Ui?ga([l]):l instanceof Gi&&!mh(e)?ga([new Ui("",'"interpolate" expressions cannot be used with this property')]):am(l?new Co(o?"camera":"composite",t.value,l.labels,l instanceof Gi?l.interpolation:void 0,n):new _h(o?"constant":"source",t.value,n)):ga([new Ui("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression, or in the properties of atmosphere.')])}class xl{constructor(e,r){this._parameters=e,this._specification=r,oo(this,lm(this._parameters,this._specification))}static deserialize(e){return new xl(e._parameters,e._specification)}static serialize(e){return{_parameters:e._parameters,_specification:e._specification}}}function vl(t){let e=null;if(t instanceof Xf)e=vl(t.result);else if(t instanceof Wf){for(const r of t.args)if(e=vl(r),e)break}else(t instanceof Ku||t instanceof Gi)&&t.input instanceof ji&&t.input.name==="zoom"&&(e=t);return e instanceof Ui||t.eachChild(r=>{const i=vl(r);i instanceof Ui?e=i:e&&i&&e!==i&&(e=new Ui("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))}),e}function gi(t){const e=t.key,r=t.value,i=t.valueSpec||{},o=t.objectElementValidators||{},a=t.style,n=t.styleSpec;let s=[];const l=kt(r);if(l!=="object")return[new be(e,r,`object expected, ${l} found`)];for(const c in r){const u=c.split(".")[0];let h;o[u]?h=o[u]:i[u]?h=Mr:o["*"]?h=o["*"]:i["*"]&&(h=Mr),h?s=s.concat(h({key:(e&&`${e}.`)+c,value:r[c],valueSpec:i[u]||i["*"],style:a,styleSpec:n,object:r,objectKey:c},r)):s.push(new ha(e,r[c],`unknown property "${c}"`))}for(const c in i)o[c]||i[c].required&&i[c].default===void 0&&r[c]===void 0&&s.push(new be(e,r,`missing required property "${c}"`));return s}function um(t){const e=t.value,r=t.valueSpec,i=t.style,o=t.styleSpec,a=t.key,n=t.arrayElementValidator||Mr;if(kt(e)!=="array")return[new be(a,e,`array expected, ${kt(e)} found`)];if(r.length&&e.length!==r.length)return[new be(a,e,`array length ${r.length} expected, length ${e.length} found`)];if(r["min-length"]&&e.length<r["min-length"])return[new be(a,e,`array length at least ${r["min-length"]} expected, length ${e.length} found`)];let s={type:r.value,values:r.values,minimum:r.minimum,maximum:r.maximum,function:void 0};o.$version<7&&(s.function=r.function),kt(r.value)==="object"&&(s=r.value);let l=[];for(let c=0;c<e.length;c++)l=l.concat(n({array:e,arrayIndex:c,value:e[c],valueSpec:s,style:i,styleSpec:o,key:`${a}[${c}]`},!0));return l}function hm(t){const e=t.key,r=t.value,i=t.valueSpec;let o=kt(r);if(o==="number"&&r!=r&&(o="NaN"),o!=="number")return[new be(e,r,`number expected, ${o} found`)];if("minimum"in i){let a=i.minimum;if(kt(i.minimum)==="array"&&(a=i.minimum[t.arrayIndex]),r<a)return[new be(e,r,`${r} is less than the minimum value ${a}`)]}if("maximum"in i){let a=i.maximum;if(kt(i.maximum)==="array"&&(a=i.maximum[t.arrayIndex]),r>a)return[new be(e,r,`${r} is greater than the maximum value ${a}`)]}return[]}function dm(t){const e=t.valueSpec,r=cr(t.value.type);let i,o,a,n={};const s=r!=="categorical"&&t.value.property===void 0,l=!s,c=kt(t.value.stops)==="array"&&kt(t.value.stops[0])==="array"&&kt(t.value.stops[0][0])==="object",u=gi({key:t.key,value:t.value,valueSpec:t.styleSpec.function,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:function(p){if(r==="identity")return[new be(p.key,p.value,'identity function may not have a "stops" property')];let f=[];const m=p.value;return f=f.concat(um({key:p.key,value:m,valueSpec:p.valueSpec,style:p.style,styleSpec:p.styleSpec,arrayElementValidator:h})),kt(m)==="array"&&m.length===0&&f.push(new be(p.key,m,"array must have at least one stop")),f},default:function(p){return Mr({key:p.key,value:p.value,valueSpec:e,style:p.style,styleSpec:p.styleSpec})}}});return r==="identity"&&s&&u.push(new be(t.key,t.value,'missing required property "property"')),r==="identity"||t.value.stops||u.push(new be(t.key,t.value,'missing required property "stops"')),r==="exponential"&&t.valueSpec.expression&&!mh(t.valueSpec)&&u.push(new be(t.key,t.value,"exponential functions not supported")),t.styleSpec.$version>=8&&(l&&!_a(t.valueSpec)?u.push(new be(t.key,t.value,"property functions not supported")):s&&!fh(t.valueSpec)&&u.push(new be(t.key,t.value,"zoom functions not supported"))),r!=="categorical"&&!c||t.value.property!==void 0||u.push(new be(t.key,t.value,'"property" property is required')),u;function h(p){let f=[];const m=p.value,g=p.key;if(kt(m)!=="array")return[new be(g,m,`array expected, ${kt(m)} found`)];if(m.length!==2)return[new be(g,m,`array length 2 expected, length ${m.length} found`)];if(c){if(kt(m[0])!=="object")return[new be(g,m,`object expected, ${kt(m[0])} found`)];if(m[0].zoom===void 0)return[new be(g,m,"object stop key must have zoom")];if(m[0].value===void 0)return[new be(g,m,"object stop key must have value")];const _=cr(m[0].zoom);if(typeof _!="number")return[new be(g,m[0].zoom,"stop zoom values must be numbers")];if(a&&a>_)return[new be(g,m[0].zoom,"stop zoom values must appear in ascending order")];_!==a&&(a=_,o=void 0,n={}),f=f.concat(gi({key:`${g}[0]`,value:m[0],valueSpec:{zoom:{}},style:p.style,styleSpec:p.styleSpec,objectElementValidators:{zoom:hm,value:d}}))}else f=f.concat(d({key:`${g}[0]`,value:m[0],valueSpec:{},style:p.style,styleSpec:p.styleSpec},m));return yl(ao(m[1]))?f.concat([new be(`${g}[1]`,m[1],"expressions are not allowed in function stops.")]):f.concat(Mr({key:`${g}[1]`,value:m[1],valueSpec:e,style:p.style,styleSpec:p.styleSpec}))}function d(p,f){const m=kt(p.value),g=cr(p.value),_=p.value!==null?p.value:f;if(i){if(m!==i)return[new be(p.key,_,`${m} stop domain type must match previous stop domain type ${i}`)]}else i=m;if(m!=="number"&&m!=="string"&&m!=="boolean"&&typeof g!="number"&&typeof g!="string"&&typeof g!="boolean")return[new be(p.key,_,"stop domain value must be a number, string, or boolean")];if(m!=="number"&&r!=="categorical"){let y=`number expected, ${m} found`;return _a(e)&&r===void 0&&(y+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new be(p.key,_,y)]}return r!=="categorical"||m!=="number"||typeof g=="number"&&isFinite(g)&&Math.floor(g)===g?r!=="categorical"&&m==="number"&&typeof g=="number"&&typeof o=="number"&&o!==void 0&&g<o?[new be(p.key,_,"stop domain values must appear in ascending order")]:(o=g,r==="categorical"&&g in n?[new be(p.key,_,"stop domain values must be unique")]:(n[g]=!0,[])):[new be(p.key,_,`integer expected, found ${String(g)}`)]}}function ya(t){const e=(t.expressionContext==="property"?yh:Ao)(ao(t.value),t.valueSpec);if(e.result==="error")return e.value.map(i=>new be(`${t.key}${i.key}`,t.value,i.message));const r=e.value.expression||e.value._styleExpression.expression;if(t.expressionContext==="property"&&t.propertyKey==="text-font"&&!r.outputDefined())return[new be(t.key,t.value,`Invalid data expression for "${t.propertyKey}". Output values must be contained as literals within the expression.`)];if(t.expressionContext==="property"&&t.propertyType==="layout"&&!Jn(r))return[new be(t.key,t.value,'"feature-state" data expressions are not supported with layout properties.')];if(t.expressionContext==="filter")return pm(r,t);if(t.expressionContext&&t.expressionContext.indexOf("cluster")===0){if(!Ja(r,["zoom","feature-state"]))return[new be(t.key,t.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if(t.expressionContext==="cluster-initial"&&!Ya(r))return[new be(t.key,t.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function pm(t,e){const r=new Set(["zoom","feature-state","pitch","distance-from-center"]);if(e.valueSpec&&e.valueSpec.expression)for(const o of e.valueSpec.expression.parameters)r.delete(o);if(r.size===0)return[];const i=[];return t instanceof ji&&r.has(t.name)?[new be(e.key,e.value,`["${t.name}"] expression is not supported in a filter for a ${e.object.type} layer with id: ${e.object.id}`)]:(t.eachChild(o=>{i.push(...pm(o,e))}),i)}function bl(t){const e=t.key,r=t.value,i=t.valueSpec,o=[];return Array.isArray(i.values)?i.values.indexOf(cr(r))===-1&&o.push(new be(e,r,`expected one of [${i.values.join(", ")}], ${JSON.stringify(r)} found`)):Object.keys(i.values).indexOf(cr(r))===-1&&o.push(new be(e,r,`expected one of [${Object.keys(i.values).join(", ")}], ${JSON.stringify(r)} found`)),o}function xh(t){if(t===!0||t===!1)return!0;if(!Array.isArray(t)||t.length===0)return!1;switch(t[0]){case"has":return t.length>=2&&t[1]!=="$id"&&t[1]!=="$type";case"in":return t.length>=3&&(typeof t[1]!="string"||Array.isArray(t[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return t.length!==3||Array.isArray(t[1])||Array.isArray(t[2]);case"any":case"all":for(const e of t.slice(1))if(!xh(e)&&typeof e!="boolean")return!1;return!0;default:return!0}}function wl(t,e="fill"){if(t==null)return{filter:()=>!0,needGeometry:!1,needFeature:!1};xh(t)||(t=kl(t));const r=t;let i=!0;try{i=function(c){if(!en(c))return c;let u=ao(c);return mm(u),u=fm(u),u}(r)}catch{console.warn(`Failed to extract static filter. Filter will continue working, but at higher memory usage and slower framerate.
1
+ import{q as zE,r as Zs,b as Bn,i as DE,D as PE,o as ta,c as $s,a as af,t as RE,d as cv,y as LE,_ as BE,E as OE,h as nv,e as tf,w as rf,j as of,v as Ln,F as FE,k as NE,p as VE}from"./_plugin-vue_export-helper.js";import{d as UE}from"./index.es.js";import{L as jE,V as GE,I as qE}from"./index.es2.js";var sv={},ZE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},uv={exports:{}};(function(Ar,Dt){(function(ai,Or){Ar.exports=Or()})(ZE,function(){var ai,Or,ko;function Bi(Ee,H){if(!ai)ai=H;else if(!Or)Or=H;else{var Fr="self.onerror = function() { console.error('An error occurred while parsing the WebWorker bundle. This is most likely due to improper transpilation by Babel; please see https://docs.mapbox.com/mapbox-gl-js/guides/install/#transpiling'); }; var sharedChunk = {}; ("+ai+")(sharedChunk); ("+Or+")(sharedChunk); self.onerror = null;",Rr={};ai(Rr),ko=H(Rr),typeof window<"u"&&window&&window.URL&&window.URL.createObjectURL&&(ko.workerUrl=window.URL.createObjectURL(new Blob([Fr],{type:"text/javascript"})))}}Bi(["exports"],function(Ee){var H=typeof self<"u"?self:{},Fr="3.1.2";let Rr;const Oe={API_URL:"https://api.mapbox.com",get API_URL_REGEX(){if(Rr==null){const t=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;try{Rr=sv.API_URL_REGEX!=null?new RegExp(sv.API_URL_REGEX):t}catch{Rr=t}}return Rr},get API_TILEJSON_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/v[0-9]*\/.*\.json.*$)/i},get API_SPRITE_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/styles\/v[0-9]*\/)(.*\/sprite.*\..*$)/i},get API_FONTS_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/fonts\/v[0-9]*\/)(.*\.pbf.*$)/i},get API_STYLE_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/styles\/v[0-9]*\/)(.*$)/i},get API_CDN_URL_REGEX(){return/^((https?:)?\/\/)?api\.mapbox\.c(n|om)(\/mapbox-gl-js\/)(.*$)/i},get EVENTS_URL(){if(!Oe.API_URL)return null;try{const t=new URL(Oe.API_URL);return t.hostname==="api.mapbox.cn"?"https://events.mapbox.cn/events/v2":t.hostname==="api.mapbox.com"?"https://events.mapbox.com/events/v2":null}catch{return null}},SESSION_PATH:"/map-sessions/v1",FEEDBACK_URL:"https://apps.mapbox.com/feedback",TILE_URL_VERSION:"v4",RASTER_URL_PREFIX:"raster/v1",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,DEFAULT_STYLE:"mapbox://styles/mapbox/standard",MAX_PARALLEL_IMAGE_REQUESTS:16,DRACO_URL:"https://api.mapbox.com/mapbox-gl-js/draco_decoder_gltf_v1.5.6.wasm",GLYPHS_URL:"mapbox://fonts/mapbox/{fontstack}/{range}.pbf"},vr={supported:!1,testSupport:function(t){!Ti&&br&&(Lr?Oi(t):Cr=t)}};let Cr,br,Ti=!1,Lr=!1;function Oi(t){const e=t.createTexture();t.bindTexture(t.TEXTURE_2D,e);try{if(t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,br),t.isContextLost())return;vr.supported=!0}catch{}t.deleteTexture(e),Ti=!0}H.document&&(br=H.document.createElement("img"),br.onload=function(){Cr&&Oi(Cr),Cr=null,Lr=!0},br.onerror=function(){Ti=!0,Cr=null},br.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");const To="01";function hi(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Hs=ia;function ia(t,e,r,i){this.cx=3*t,this.bx=3*(r-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(i-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=e,this.p2x=r,this.p2y=i}ia.prototype={sampleCurveX:function(t){return((this.ax*t+this.bx)*t+this.cx)*t},sampleCurveY:function(t){return((this.ay*t+this.by)*t+this.cy)*t},sampleCurveDerivativeX:function(t){return(3*this.ax*t+2*this.bx)*t+this.cx},solveCurveX:function(t,e){if(e===void 0&&(e=1e-6),t<0)return 0;if(t>1)return 1;for(var r=t,i=0;i<8;i++){var o=this.sampleCurveX(r)-t;if(Math.abs(o)<e)return r;var a=this.sampleCurveDerivativeX(r);if(Math.abs(a)<1e-6)break;r-=o/a}var n=0,s=1;for(r=t,i=0;i<20&&(o=this.sampleCurveX(r),!(Math.abs(o-t)<e));i++)t>o?n=r:s=r,r=.5*(s-n)+n;return r},solve:function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))}};var Ws=hi(Hs),Ba=Fi;function Fi(t,e){this.x=t,this.y=e}Fi.prototype={clone:function(){return new Fi(this.x,this.y)},add:function(t){return this.clone()._add(t)},sub:function(t){return this.clone()._sub(t)},multByPoint:function(t){return this.clone()._multByPoint(t)},divByPoint:function(t){return this.clone()._divByPoint(t)},mult:function(t){return this.clone()._mult(t)},div:function(t){return this.clone()._div(t)},rotate:function(t){return this.clone()._rotate(t)},rotateAround:function(t,e){return this.clone()._rotateAround(t,e)},matMult:function(t){return this.clone()._matMult(t)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(t){return this.x===t.x&&this.y===t.y},dist:function(t){return Math.sqrt(this.distSqr(t))},distSqr:function(t){var e=t.x-this.x,r=t.y-this.y;return e*e+r*r},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(t){return Math.atan2(this.y-t.y,this.x-t.x)},angleWith:function(t){return this.angleWithSep(t.x,t.y)},angleWithSep:function(t,e){return Math.atan2(this.x*e-this.y*t,this.x*t+this.y*e)},_matMult:function(t){var e=t[2]*this.x+t[3]*this.y;return this.x=t[0]*this.x+t[1]*this.y,this.y=e,this},_add:function(t){return this.x+=t.x,this.y+=t.y,this},_sub:function(t){return this.x-=t.x,this.y-=t.y,this},_mult:function(t){return this.x*=t,this.y*=t,this},_div:function(t){return this.x/=t,this.y/=t,this},_multByPoint:function(t){return this.x*=t.x,this.y*=t.y,this},_divByPoint:function(t){return this.x/=t.x,this.y/=t.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var t=this.y;return this.y=this.x,this.x=-t,this},_rotate:function(t){var e=Math.cos(t),r=Math.sin(t),i=r*this.x+e*this.y;return this.x=e*this.x-r*this.y,this.y=i,this},_rotateAround:function(t,e){var r=Math.cos(t),i=Math.sin(t),o=e.y+i*(this.x-e.x)+r*(this.y-e.y);return this.x=e.x+r*(this.x-e.x)-i*(this.y-e.y),this.y=o,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},Fi.convert=function(t){return t instanceof Fi?t:Array.isArray(t)?new Fi(t[0],t[1]):t};var N=hi(Ba);function dt(t,e){if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(!dt(t[r],e[r]))return!1;return!0}if(typeof t=="object"&&t!==null&&e!==null){if(typeof e!="object"||Object.keys(t).length!==Object.keys(e).length)return!1;for(const r in t)if(!dt(t[r],e[r]))return!1;return!0}return t===e}const du=Math.PI/180,oa=180/Math.PI;function He(t){return t*du}function wr(t){return t*oa}const pu=[[0,0],[1,0],[1,1],[0,1]];function Oa(t){if(t<=0)return 0;if(t>=1)return 1;const e=t*t,r=e*t;return 4*(t<.5?r:3*(t-e)+r-.75)}function fu(t){let e=1/0,r=1/0,i=-1/0,o=-1/0;for(const a of t)e=Math.min(e,a.x),r=Math.min(r,a.y),i=Math.max(i,a.x),o=Math.max(o,a.y);return{min:new N(e,r),max:new N(i,o)}}function aa(t,e,r=0,i=!0){const o=new N(r,r),a=t.sub(o),n=e.add(o),s=[a,new N(n.x,a.y),n,new N(a.x,n.y)];return i&&s.push(a.clone()),s}function na(t,e,r,i){const o=new Ws(t,e,r,i);return function(a){return o.solve(a)}}const di=na(.25,.1,.25,1);function Me(t,e,r){return Math.min(r,Math.max(e,t))}function Ni(t,e,r){return(r=Me((r-t)/(e-t),0,1))*r*(3-2*r)}function Vi(t,e,r){const i=r-e,o=((t-e)%i+i)%i+e;return o===e?r:o}function sa(t,e,r){if(!t.length)return r(null,[]);let i=t.length;const o=new Array(t.length);let a=null;t.forEach((n,s)=>{e(n,(l,c)=>{l&&(a=l),o[s]=c,--i==0&&r(a,o)})})}function la(t){const e=[];for(const r in t)e.push(t[r]);return e}function we(t,...e){for(const r of e)for(const i in r)t[i]=r[i];return t}function Zr(t,e){const r={};for(let i=0;i<e.length;i++){const o=e[i];o in t&&(r[o]=t[o])}return r}let mu=1;function Fa(){return mu++}function Xs(){return function t(e){return e?(e^Math.random()*(16>>e/4)).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}function Ys(t){return t<=1?1:Math.pow(2,Math.ceil(Math.log(t)/Math.LN2))}function Js(t){return!!t&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(t)}function pr(t,e){t.forEach(r=>{e[r]&&(e[r]=e[r].bind(e))})}function Na(t,e){return t.indexOf(e,t.length-e.length)!==-1}function Va(t,e,r){const i={};for(const o in t)i[o]=e.call(this,t[o],o,t);return i}function le(t,e,r){const i={};for(const o in t)e.call(this,t[o],o,t)&&(i[o]=t[o]);return i}function I(t){return Array.isArray(t)?t.map(I):typeof t=="object"&&t?Va(t,I):t}const P={};function F(t){P[t]||(typeof console<"u"&&console.warn(t),P[t]=!0)}function te(t,e,r){return(r.y-t.y)*(e.x-t.x)>(e.y-t.y)*(r.x-t.x)}function ie(t){let e=0;for(let r,i,o=0,a=t.length,n=a-1;o<a;n=o++)r=t[o],i=t[n],e+=(i.x-r.x)*(r.y+i.y);return e}function ve([t,e,r]){const i=He(e+90),o=He(r);return{x:t*Math.cos(i)*Math.sin(o),y:t*Math.sin(i)*Math.sin(o),z:t*Math.cos(o),azimuthal:e,polar:r}}function Ce(t,e,r){const i=Math.sqrt(t*t+e*e+r*r),o=i>0?Math.acos(r/i)*oa:0;let a=t!==0||e!==0?Math.atan2(-e,-t)*oa+90:0;return a<0&&(a+=360),[i,a,o]}function oe(){return typeof WorkerGlobalScope<"u"&&typeof self<"u"&&self instanceof WorkerGlobalScope}function Ie(t){const e={};if(t.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,(r,i,o,a)=>{const n=o||a;return e[i]=!n||n.toLowerCase(),""}),e["max-age"]){const r=parseInt(e["max-age"],10);isNaN(r)?delete e["max-age"]:e["max-age"]=r}return e}let qe=null;function je(){return!!H.document.fullscreenElement||!!H.document.webkitFullscreenElement}function Pt(t){try{const e=H[t];return e.setItem("_mapbox_test_",1),e.removeItem("_mapbox_test_"),!0}catch{return!1}}function $t(t,e){return[t[4*e],t[4*e+1],t[4*e+2],t[4*e+3]]}function kr(t,e,r){t[4*e+0]=r[0],t[4*e+1]=r[1],t[4*e+2]=r[2],t[4*e+3]=r[3]}function Ht(t,e){return[Math.pow(t[0],2.2)*e,Math.pow(t[1],2.2)*e,Math.pow(t[2],2.2)*e]}function er(t){return[Math.pow(t[0],1/2.2),Math.pow(t[1],1/2.2),Math.pow(t[2],1/2.2)]}const Bt="mapbox-tiles";let Ir=500,Nr=50,Vr,Ei;function Ua(){try{return H.caches}catch{}}function $r(){Ua()&&!Vr&&(Vr=H.caches.open(Bt))}function ro(t){const e=t.indexOf("?");if(e<0)return t;const r=function(o){const a=o.indexOf("?");return a>0?o.slice(a+1).split("&"):[]}(t),i=r.filter(o=>{const a=o.split("=");return a[0]==="language"||a[0]==="worldview"});return i.length?`${t.slice(0,e)}?${i.join("&")}`:t.slice(0,e)}let Eo=1/0;function ja(t){Eo++,Eo>Nr&&(t.getActor().send("enforceCacheSizeLimit",Ir),Eo=0)}const J={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image",Model:"Model"};typeof Object.freeze=="function"&&Object.freeze(J);class Q extends Error{constructor(e,r,i){r===401&&Wt(i)&&(e+=": you may have provided an invalid Mapbox access token. See https://docs.mapbox.com/api/overview/#access-tokens-and-token-scopes"),super(e),this.status=r,this.url=i}toString(){return`${this.name}: ${this.message} (${this.status}): ${this.url}`}}const ne=oe()?()=>self.worker&&self.worker.referrer:()=>(H.location.protocol==="blob:"?H.parent:H).location.href,ce=function(t,e){if(!(/^file:/.test(r=t.url)||/^file:/.test(ne())&&!/^\w+:/.test(r))){if(H.fetch&&H.Request&&H.AbortController&&H.Request.prototype.hasOwnProperty("signal"))return function(i,o){const a=new H.AbortController,n=new H.Request(i.url,{method:i.method||"GET",body:i.body,credentials:i.credentials,headers:i.headers,referrer:ne(),referrerPolicy:i.referrerPolicy,signal:a.signal});let s=!1,l=!1;const c=(u=n.url).indexOf("sku=")>0&&Wt(u);var u;i.type==="json"&&n.headers.set("Accept","application/json");const h=(p,f,m)=>{if(l)return;if(p&&p.message!=="SecurityError"&&F(p.toString()),f&&m)return d(f);const g=Date.now();H.fetch(n).then(_=>{if(_.ok){const y=c?_.clone():null;return d(_,y,g)}return o(new Q(_.statusText,_.status,i.url))}).catch(_=>{_.name!=="AbortError"&&o(new Error(`${_.message} ${i.url}`))})},d=(p,f,m)=>{(i.type==="arrayBuffer"?p.arrayBuffer():i.type==="json"?p.json():p.text()).then(g=>{l||(f&&m&&function(_,y,v){if($r(),!Vr)return;const b={status:y.status,statusText:y.statusText,headers:new H.Headers};y.headers.forEach((k,T)=>b.headers.set(T,k));const x=Ie(y.headers.get("Cache-Control")||"");if(x["no-store"])return;x["max-age"]&&b.headers.set("Expires",new Date(v+1e3*x["max-age"]).toUTCString());const w=b.headers.get("Expires");w&&(new Date(w).getTime()-v<42e4||function(k,T){if(Ei===void 0)try{new Response(new ReadableStream),Ei=!0}catch{Ei=!1}Ei?T(k.body):k.blob().then(T)}(y,k=>{const T=new H.Response(k,b);$r(),Vr&&Vr.then(E=>E.put(ro(_.url),T)).catch(E=>F(E.message))}))}(n,f,m),s=!0,o(null,g,p.headers.get("Cache-Control"),p.headers.get("Expires")))}).catch(g=>{l||o(new Error(g.message))})};return c?function(p,f){if($r(),!Vr)return f(null);const m=ro(p.url);Vr.then(g=>{g.match(m).then(_=>{const y=function(v){if(!v)return!1;const b=new Date(v.headers.get("Expires")||0),x=Ie(v.headers.get("Cache-Control")||"");return b>Date.now()&&!x["no-cache"]}(_);g.delete(m),y&&g.put(m,_.clone()),f(null,_,y)}).catch(f)}).catch(f)}(n,h):h(null,null),{cancel:()=>{l=!0,s||a.abort()}}}(t,e);if(oe()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",t,e,void 0,!0)}var r;return function(i,o){const a=new H.XMLHttpRequest;a.open(i.method||"GET",i.url,!0),i.type==="arrayBuffer"&&(a.responseType="arraybuffer");for(const n in i.headers)a.setRequestHeader(n,i.headers[n]);return i.type==="json"&&(a.responseType="text",a.setRequestHeader("Accept","application/json")),a.withCredentials=i.credentials==="include",a.onerror=()=>{o(new Error(a.statusText))},a.onload=()=>{if((a.status>=200&&a.status<300||a.status===0)&&a.response!==null){let n=a.response;if(i.type==="json")try{n=JSON.parse(a.response)}catch(s){return o(s)}o(null,n,a.getResponseHeader("Cache-Control"),a.getResponseHeader("Expires"))}else o(new Q(a.statusText,a.status,i.url))},a.send(i.body),{cancel:()=>a.abort()}}(t,e)},ue=function(t,e){return ce(we(t,{type:"json"}),e)},fe=function(t,e){return ce(we(t,{type:"arrayBuffer"}),e)};function ge(t){const e=H.document.createElement("a");return e.href=t,e.protocol===H.document.location.protocol&&e.host===H.document.location.host}const he="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";let Te,me;Te=[],me=0;const Je=function(t,e){if(vr.supported&&(t.headers||(t.headers={}),t.headers.accept="image/webp,*/*"),me>=Oe.MAX_PARALLEL_IMAGE_REQUESTS){const a={requestParameters:t,callback:e,cancelled:!1,cancel(){this.cancelled=!0}};return Te.push(a),a}me++;let r=!1;const i=()=>{if(!r)for(r=!0,me--;Te.length&&me<Oe.MAX_PARALLEL_IMAGE_REQUESTS;){const a=Te.shift(),{requestParameters:n,callback:s,cancelled:l}=a;l||(a.cancel=Je(n,s).cancel)}},o=fe(t,(a,n,s,l)=>{i(),a?e(a):n&&(H.createImageBitmap?function(c,u){const h=new H.Blob([new Uint8Array(c)],{type:"image/png"});H.createImageBitmap(h).then(d=>{u(null,d)}).catch(d=>{u(new Error(`Could not load image because of ${d.message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`))})}(n,(c,u)=>e(c,u,s,l)):function(c,u){const h=new H.Image,d=H.URL;h.onload=()=>{u(null,h),d.revokeObjectURL(h.src),h.onload=null,H.requestAnimationFrame(()=>{h.src=he})},h.onerror=()=>u(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));const p=new H.Blob([new Uint8Array(c)],{type:"image/png"});h.src=c.byteLength?d.createObjectURL(p):he}(n,(c,u)=>e(c,u,s,l)))});return{cancel:()=>{o.cancel(),i()}}},St="NO_ACCESS_TOKEN";class Pe{constructor(e,r,i){this._transformRequestFn=e,this._customAccessToken=r,this._silenceAuthErrors=!!i,this._createSkuToken()}_createSkuToken(){const e=function(){let r="";for(let i=0;i<10;i++)r+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",To,r].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=e.token,this._skuTokenExpiresAt=e.tokenExpiresAt}_isSkuTokenExpired(){return Date.now()>this._skuTokenExpiresAt}transformRequest(e,r){return this._transformRequestFn&&this._transformRequestFn(e,r)||{url:e}}normalizeStyleURL(e,r){if(!wt(e))return e;const i=fr(e);return i.params.push(`sdk=js-${Fr}`),i.path=`/styles/v1${i.path}`,this._makeAPIURL(i,this._customAccessToken||r)}normalizeGlyphsURL(e,r){if(!wt(e))return e;const i=fr(e);return i.path=`/fonts/v1${i.path}`,this._makeAPIURL(i,this._customAccessToken||r)}normalizeModelURL(e,r){if(!wt(e))return e;const i=fr(e);return i.path=`/models/v1${i.path}`,this._makeAPIURL(i,this._customAccessToken||r)}normalizeSourceURL(e,r,i,o){if(!wt(e))return e;const a=fr(e);return a.path=`/v4/${a.authority}.json`,a.params.push("secure"),i&&a.params.push(`language=${i}`),o&&a.params.push(`worldview=${o}`),this._makeAPIURL(a,this._customAccessToken||r)}normalizeSpriteURL(e,r,i,o){const a=fr(e);return wt(e)?(a.path=`/styles/v1${a.path}/sprite${r}${i}`,this._makeAPIURL(a,this._customAccessToken||o)):(a.path+=`${r}${i}`,Ur(a))}normalizeTileURL(e,r,i){if(this._isSkuTokenExpired()&&this._createSkuToken(),e&&!wt(e))return e;const o=fr(e);o.path=o.path.replace(/(\.(png|jpg)\d*)(?=$)/,`${r||i&&o.authority!=="raster"&&i===512?"@2x":""}${vr.supported?".webp":"$1"}`),o.authority==="raster"?o.path=`/${Oe.RASTER_URL_PREFIX}${o.path}`:(o.path=o.path.replace(/^.+\/v4\//,"/"),o.path=`/${Oe.TILE_URL_VERSION}${o.path}`);const a=this._customAccessToken||function(n){for(const s of n){const l=s.match(/^access_token=(.*)$/);if(l)return l[1]}return null}(o.params)||Oe.ACCESS_TOKEN;return Oe.REQUIRE_ACCESS_TOKEN&&a&&this._skuToken&&o.params.push(`sku=${this._skuToken}`),this._makeAPIURL(o,a)}canonicalizeTileURL(e,r){const i=fr(e);if(!i.path.match(/^(\/v4\/|\/raster\/v1\/)/)||!i.path.match(/\.[\w]+$/))return e;let o="mapbox://";i.path.match(/^\/raster\/v1\//)?o+=`raster/${i.path.replace(`/${Oe.RASTER_URL_PREFIX}/`,"")}`:o+=`tiles/${i.path.replace(`/${Oe.TILE_URL_VERSION}/`,"")}`;let a=i.params;return r&&(a=a.filter(n=>!n.match(/^access_token=/))),a.length&&(o+=`?${a.join("&")}`),o}canonicalizeTileset(e,r){const i=!!r&&wt(r),o=[];for(const a of e.tiles||[])Wt(a)?o.push(this.canonicalizeTileURL(a,i)):o.push(a);return o}_makeAPIURL(e,r){const i="See https://docs.mapbox.com/api/overview/#access-tokens-and-token-scopes",o=fr(Oe.API_URL);if(e.protocol=o.protocol,e.authority=o.authority,e.protocol==="http"){const a=e.params.indexOf("secure");a>=0&&e.params.splice(a,1)}if(o.path!=="/"&&(e.path=`${o.path}${e.path}`),!Oe.REQUIRE_ACCESS_TOKEN)return Ur(e);if(r=r||Oe.ACCESS_TOKEN,!this._silenceAuthErrors){if(!r)throw new Error(`An API access token is required to use Mapbox GL. ${i}`);if(r[0]==="s")throw new Error(`Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). ${i}`)}return e.params=e.params.filter(a=>a.indexOf("access_token")===-1),e.params.push(`access_token=${r||""}`),Ur(e)}}function wt(t){return t.indexOf("mapbox:")===0}function Wt(t){return Oe.API_URL_REGEX.test(t)}function tr(t){return Oe.API_CDN_URL_REGEX.test(t)}function lr(t){return Oe.API_STYLE_REGEX.test(t)&&!zr(t)}function zr(t){return Oe.API_SPRITE_REGEX.test(t)}const pi=/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;function fr(t){const e=t.match(pi);if(!e)throw new Error("Unable to parse URL object");return{protocol:e[1],authority:e[2],path:e[3]||"/",params:e[4]?e[4].split("&"):[]}}function Ur(t){const e=t.params.length?`?${t.params.join("&")}`:"";return`${t.protocol}://${t.authority}${t.path}${e}`}const Dr="mapbox.eventData";function Ga(t){if(!t)return null;const e=t.split(".");if(!e||e.length!==3)return null;try{return JSON.parse(decodeURIComponent(H.atob(e[1]).split("").map(r=>"%"+("00"+r.charCodeAt(0).toString(16)).slice(-2)).join("")))}catch{return null}}class Mo{constructor(e){this.type=e,this.anonId=null,this.eventData={},this.queue=[],this.pendingRequest=null}getStorageKey(e){const r=Ga(Oe.ACCESS_TOKEN);let i="";return i=r&&r.u?H.btoa(encodeURIComponent(r.u).replace(/%([0-9A-F]{2})/g,(o,a)=>String.fromCharCode(+("0x"+a)))):Oe.ACCESS_TOKEN||"",e?`${Dr}.${e}:${i}`:`${Dr}:${i}`}fetchEventData(){const e=Pt("localStorage"),r=this.getStorageKey(),i=this.getStorageKey("uuid");if(e)try{const o=H.localStorage.getItem(r);o&&(this.eventData=JSON.parse(o));const a=H.localStorage.getItem(i);a&&(this.anonId=a)}catch{F("Unable to read from LocalStorage")}}saveEventData(){const e=Pt("localStorage"),r=this.getStorageKey(),i=this.getStorageKey("uuid");if(e)try{H.localStorage.setItem(i,this.anonId),Object.keys(this.eventData).length>=1&&H.localStorage.setItem(r,JSON.stringify(this.eventData))}catch{F("Unable to write to LocalStorage")}}processRequests(e){}postEvent(e,r,i,o){if(!Oe.EVENTS_URL)return;const a=fr(Oe.EVENTS_URL);a.params.push(`access_token=${o||Oe.ACCESS_TOKEN||""}`);const n={event:this.type,created:new Date(e).toISOString()},s=r?we(n,r):n,l={url:Ur(a),headers:{"Content-Type":"text/plain"},body:JSON.stringify([s])};this.pendingRequest=function(c,u){return ce(we(c,{method:"POST"}),u)}(l,c=>{this.pendingRequest=null,i(c),this.saveEventData(),this.processRequests(o)})}queueRequest(e,r){this.queue.push(e),this.processRequests(r)}}const qa=new class extends Mo{constructor(t){super("appUserTurnstile"),this._customAccessToken=t}postTurnstileEvent(t,e){Oe.EVENTS_URL&&Oe.ACCESS_TOKEN&&Array.isArray(t)&&t.some(r=>wt(r)||Wt(r))&&this.queueRequest(Date.now(),e)}processRequests(t){if(this.pendingRequest||this.queue.length===0)return;this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();const e=Ga(Oe.ACCESS_TOKEN),r=e?e.u:Oe.ACCESS_TOKEN;let i=r!==this.eventData.tokenU;Js(this.anonId)||(this.anonId=Xs(),i=!0);const o=this.queue.shift();if(this.eventData.lastSuccess){const a=new Date(this.eventData.lastSuccess),n=new Date(o),s=(o-this.eventData.lastSuccess)/864e5;i=i||s>=1||s<-1||a.getDate()!==n.getDate()}else i=!0;i?this.postEvent(o,{sdkIdentifier:"mapbox-gl-js",sdkVersion:Fr,skuId:To,"enabled.telemetry":!1,userId:this.anonId},a=>{a||(this.eventData.lastSuccess=o,this.eventData.tokenU=r)},t):this.processRequests()}},gu=qa.postTurnstileEvent.bind(qa),nf=new class extends Mo{constructor(){super("map.load"),this.success={},this.skuToken=""}postMapLoadEvent(t,e,r,i){this.skuToken=e,this.errorCb=i,Oe.EVENTS_URL&&(r||Oe.ACCESS_TOKEN?this.queueRequest({id:t,timestamp:Date.now()},r):this.errorCb(new Error(St)))}processRequests(t){if(this.pendingRequest||this.queue.length===0)return;const{id:e,timestamp:r}=this.queue.shift();e&&this.success[e]||(this.anonId||this.fetchEventData(),Js(this.anonId)||(this.anonId=Xs()),this.postEvent(r,{sdkIdentifier:"mapbox-gl-js",sdkVersion:Fr,skuId:To,skuToken:this.skuToken,userId:this.anonId},i=>{i?this.errorCb(i):e&&(this.success[e]=!0)},t))}},dv=nf.postMapLoadEvent.bind(nf),sf=new class extends Mo{constructor(){super("gljs.performance")}postPerformanceEvent(t,e){Oe.EVENTS_URL&&(t||Oe.ACCESS_TOKEN)&&this.queueRequest({timestamp:Date.now(),performanceData:e},t)}processRequests(t){if(this.pendingRequest||this.queue.length===0)return;const{timestamp:e,performanceData:r}=this.queue.shift(),i=function(o){const a=H.performance.getEntriesByType("resource"),n=H.performance.getEntriesByType("mark"),s=function(d){const p={};if(d){for(const f in d)if(f!=="other")for(const m of d[f]){const g=`${f}ResolveRangeMin`,_=`${f}ResolveRangeMax`,y=`${f}RequestCount`,v=`${f}RequestCachedCount`;p[g]=Math.min(p[g]||1/0,m.startTime),p[_]=Math.max(p[_]||-1/0,m.responseEnd);const b=x=>{p[x]===void 0&&(p[x]=0),++p[x]};m.transferSize!==void 0&&m.transferSize===0&&b(v),b(y)}}return p}(function(d,p){const f={};if(d)for(const m of d){const g=p(m);f[g]===void 0&&(f[g]=[]),f[g].push(m)}return f}(a,mv)),l=H.devicePixelRatio,c=H.navigator.connection||H.navigator.mozConnection||H.navigator.webkitConnection,u={counters:[],metadata:[],attributes:[]},h=(d,p,f)=>{f!=null&&d.push({name:p,value:f.toString()})};for(const d in s)h(u.counters,d,s[d]);if(o.interactionRange[0]!==1/0&&o.interactionRange[1]!==-1/0&&(h(u.counters,"interactionRangeMin",o.interactionRange[0]),h(u.counters,"interactionRangeMax",o.interactionRange[1])),n)for(const d of Object.keys(Qs)){const p=Qs[d],f=n.find(m=>m.name===p);f&&h(u.counters,p,f.startTime)}return h(u.counters,"visibilityHidden",o.visibilityHidden),h(u.attributes,"style",function(d){if(d)for(const p of d){const f=p.name.split("?")[0];if(lr(f)){const m=f.split("/").slice(-2);if(m.length===2)return`mapbox://styles/${m[0]}/${m[1]}`}}}(a)),h(u.attributes,"terrainEnabled",o.terrainEnabled?"true":"false"),h(u.attributes,"fogEnabled",o.fogEnabled?"true":"false"),h(u.attributes,"projection",o.projection),h(u.attributes,"zoom",o.zoom),h(u.metadata,"devicePixelRatio",l),h(u.metadata,"connectionEffectiveType",c?c.effectiveType:void 0),h(u.metadata,"navigatorUserAgent",H.navigator.userAgent),h(u.metadata,"screenWidth",H.screen.width),h(u.metadata,"screenHeight",H.screen.height),h(u.metadata,"windowWidth",H.innerWidth),h(u.metadata,"windowHeight",H.innerHeight),h(u.metadata,"mapWidth",o.width/l),h(u.metadata,"mapHeight",o.height/l),h(u.metadata,"webglRenderer",o.renderer),h(u.metadata,"webglVendor",o.vendor),h(u.metadata,"sdkVersion",Fr),h(u.metadata,"sdkIdentifier","mapbox-gl-js"),u}(r);for(const o of i.metadata);for(const o of i.counters);for(const o of i.attributes);this.postEvent(e,i,()=>{},t)}},pv=sf.postPerformanceEvent.bind(sf),lf=new class extends Mo{constructor(){super("map.auth"),this.success={},this.skuToken=""}getSession(t,e,r,i){if(!Oe.API_URL||!Oe.SESSION_PATH)return;const o=fr(Oe.API_URL+Oe.SESSION_PATH);o.params.push(`sku=${e||""}`),o.params.push(`access_token=${i||Oe.ACCESS_TOKEN||""}`);const a={url:Ur(o),headers:{"Content-Type":"text/plain"}};this.pendingRequest=function(n,s){return ce(we(n,{method:"GET"}),s)}(a,n=>{this.pendingRequest=null,r(n),this.saveEventData(),this.processRequests(i)})}getSessionAPI(t,e,r,i){this.skuToken=e,this.errorCb=i,Oe.SESSION_PATH&&Oe.API_URL&&(r||Oe.ACCESS_TOKEN?this.queueRequest({id:t,timestamp:Date.now()},r):this.errorCb(new Error(St)))}processRequests(t){if(this.pendingRequest||this.queue.length===0)return;const{id:e,timestamp:r}=this.queue.shift();e&&this.success[e]||this.getSession(r,this.skuToken,i=>{i?this.errorCb(i):e&&(this.success[e]=!0)},t)}},fv=lf.getSessionAPI.bind(lf),Ks=new Set;function cf(t,e){e?Ks.add(t):Ks.delete(t)}const Qs={create:"create",load:"load",fullLoad:"fullLoad"},uf={mark(t){H.performance.mark(t)},measure(t,e,r){H.performance.measure(t,e,r)}};function mv(t){const e=t.name.split("?")[0];return tr(e)&&e.includes("mapbox-gl.js")?"javascript":tr(e)&&e.includes("mapbox-gl.css")?"css":function(r){return Oe.API_FONTS_REGEX.test(r)}(e)?"fontRange":zr(e)?"sprite":lr(e)?"style":function(r){return Oe.API_TILEJSON_REGEX.test(r)}(e)?"tilejson":"other"}const gv=H.performance;function hf(t){const e=t?t.url.toString():void 0;return gv.getEntriesByName(e)}var df=_u;function _u(t){return!function(e){return typeof window>"u"||typeof document>"u"?"not a browser":Array.prototype&&Array.prototype.every&&Array.prototype.filter&&Array.prototype.forEach&&Array.prototype.indexOf&&Array.prototype.lastIndexOf&&Array.prototype.map&&Array.prototype.some&&Array.prototype.reduce&&Array.prototype.reduceRight&&Array.isArray?Function.prototype&&Function.prototype.bind?Object.keys&&Object.create&&Object.getPrototypeOf&&Object.getOwnPropertyNames&&Object.isSealed&&Object.isFrozen&&Object.isExtensible&&Object.getOwnPropertyDescriptor&&Object.defineProperty&&Object.defineProperties&&Object.seal&&Object.freeze&&Object.preventExtensions?"JSON"in window&&"parse"in JSON&&"stringify"in JSON?function(){if(!("Worker"in window&&"Blob"in window&&"URL"in window))return!1;var i,o,a=new Blob([""],{type:"text/javascript"}),n=URL.createObjectURL(a);try{o=new Worker(n),i=!0}catch{i=!1}return o&&o.terminate(),URL.revokeObjectURL(n),i}()?"Uint8ClampedArray"in window?ArrayBuffer.isView?function(){var i=document.createElement("canvas");i.width=i.height=1;var o=i.getContext("2d");if(!o)return!1;var a=o.getImageData(0,0,1,1);return a&&a.width===i.width}()?(yu[r=e&&e.failIfMajorPerformanceCaveat]===void 0&&(yu[r]=function(i){var o,a=function(n){var s=document.createElement("canvas"),l=Object.create(_u.webGLContextAttributes);return l.failIfMajorPerformanceCaveat=n,s.getContext("webgl",l)||s.getContext("experimental-webgl",l)}(i);if(!a)return!1;try{o=a.createShader(a.VERTEX_SHADER)}catch{return!1}return!(!o||a.isContextLost())&&(a.shaderSource(o,"void main() {}"),a.compileShader(o),a.getShaderParameter(o,a.COMPILE_STATUS)===!0)}(r)),yu[r]?document.documentMode?"insufficient ECMAScript 6 support":void 0:"insufficient WebGL support"):"insufficient Canvas/getImageData support":"insufficient ArrayBuffer support":"insufficient Uint8ClampedArray support":"insufficient worker support":"insufficient JSON support":"insufficient Object support":"insufficient Function support":"insufficent Array support";var r}(t)}var yu={};let xu,el,vu,tl,ca;function pf(){return xu==null&&(xu=H.OffscreenCanvas&&new H.OffscreenCanvas(1,1).getContext("2d")&&typeof H.createImageBitmap=="function"),xu}_u.webGLContextAttributes={antialias:!1,alpha:!0,stencil:!0,depth:!0};const Ge={now:()=>tl!==void 0?tl:H.performance.now(),setNow(t){tl=t},restoreNow(){tl=void 0},frame(t){const e=H.requestAnimationFrame(t);return{cancel:()=>H.cancelAnimationFrame(e)}},getImageData(t,e=0){const{width:r,height:i}=t;ca||(ca=H.document.createElement("canvas"));const o=ca.getContext("2d",{willReadFrequently:!0});if(!o)throw new Error("failed to create canvas 2d context");return(r>ca.width||i>ca.height)&&(ca.width=r,ca.height=i),o.clearRect(-e,-e,r+2*e,i+2*e),o.drawImage(t,0,0,r,i),o.getImageData(-e,-e,r+2*e,i+2*e)},resolveURL:t=>(el||(el=H.document.createElement("a")),el.href=t,el.href),get devicePixelRatio(){return H.devicePixelRatio},get prefersReducedMotion(){return!!H.matchMedia&&(vu==null&&(vu=H.matchMedia("(prefers-reduced-motion: reduce)")),vu.matches)},hasCanvasFingerprintNoise(){if(!pf())return!1;const t=new H.OffscreenCanvas(85,1),e=t.getContext("2d",{willReadFrequently:!0});let r=0;for(let o=0;o<t.width;++o)e.fillStyle=`rgba(${r++},${r++},${r++}, 255)`,e.fillRect(o,0,1,1);const i=e.getImageData(0,0,t.width,t.height);r=0;for(let o=0;o<i.data.length;++o)if(o%4!=3&&r++!==i.data[o])return!0;return!1}};function zt(t,e,r){const i=H.document.createElement(t);return e!==void 0&&(i.className=e),r&&r.appendChild(i),i}function io(t,e,r){const i=H.document.createElementNS("http://www.w3.org/2000/svg",t);for(const o of Object.keys(e))i.setAttributeNS(null,o,e[o]);return r&&r.appendChild(i),i}const ua=H.document&&H.document.documentElement.style,On=ua&&ua.userSelect!==void 0?"userSelect":"WebkitUserSelect";let ff;function mf(){ua&&On&&(ff=ua[On],ua[On]="none")}function gf(){ua&&On&&(ua[On]=ff)}function bu(t){t.preventDefault(),t.stopPropagation(),H.removeEventListener("click",bu,!0)}function wu(){H.addEventListener("click",bu,!0),H.setTimeout(()=>{H.removeEventListener("click",bu,!0)},0)}function Fn(t,e){const r=t.getBoundingClientRect();return yf(t,r,e)}function rl(t,e){const r=t.getBoundingClientRect(),i=[];for(let o=0;o<e.length;o++)i.push(yf(t,r,e[o]));return i}function _f(t){return H.InstallTrigger!==void 0&&t.button===2&&t.ctrlKey&&H.navigator.platform.toUpperCase().indexOf("MAC")>=0?0:t.button}function yf(t,e,r){const i=t.offsetWidth===e.width?1:t.offsetWidth/e.width;return new N((r.clientX-e.left)*i,(r.clientY-e.top)*i)}function xf(t,e,r){r[t]&&r[t].indexOf(e)!==-1||(r[t]=r[t]||[],r[t].push(e))}function ku(t,e,r){if(r&&r[t]){const i=r[t].indexOf(e);i!==-1&&r[t].splice(i,1)}}class se{constructor(e,r={}){we(this,r),this.type=e}}class Ue extends se{constructor(e,r={}){super("error",we({error:e},r))}}class or{on(e,r){return this._listeners=this._listeners||{},xf(e,r,this._listeners),this}off(e,r){return ku(e,r,this._listeners),ku(e,r,this._oneTimeListeners),this}once(e,r){return r?(this._oneTimeListeners=this._oneTimeListeners||{},xf(e,r,this._oneTimeListeners),this):new Promise(i=>this.once(e,i))}fire(e,r){typeof e=="string"&&(e=new se(e,r||{}));const i=e.type;if(this.listens(i)){e.target=this;const o=this._listeners&&this._listeners[i]?this._listeners[i].slice():[];for(const s of o)s.call(this,e);const a=this._oneTimeListeners&&this._oneTimeListeners[i]?this._oneTimeListeners[i].slice():[];for(const s of a)ku(i,s,this._oneTimeListeners),s.call(this,e);const n=this._eventedParent;n&&(we(e,typeof this._eventedParentData=="function"?this._eventedParentData():this._eventedParentData),n.fire(e))}else e instanceof Ue&&console.error(e.error);return this}listens(e){return!!(this._listeners&&this._listeners[e]&&this._listeners[e].length>0||this._oneTimeListeners&&this._oneTimeListeners[e]&&this._oneTimeListeners[e].length>0||this._eventedParent&&this._eventedParent.listens(e))}setEventedParent(e,r){return this._eventedParent=e,this._eventedParentData=r,this}}var j=JSON.parse('{"$version":8,"$root":{"version":{"required":true,"type":"enum","values":[8]},"fragment":{"type":"boolean"},"name":{"type":"string"},"metadata":{"type":"*"},"center":{"type":"array","value":"number"},"zoom":{"type":"number"},"bearing":{"type":"number","default":0,"period":360},"pitch":{"type":"number","default":0},"light":{"type":"light"},"lights":{"required":false,"type":"array","value":"light-3d"},"terrain":{"type":"terrain","optional":true},"fog":{"type":"fog"},"camera":{"type":"camera"},"imports":{"type":"array","value":"import"},"schema":{"type":"schema"},"sources":{"required":true,"type":"sources"},"sprite":{"type":"string"},"glyphs":{"type":"string","default":"mapbox://fonts/mapbox/{fontstack}/{range}.pbf"},"transition":{"type":"transition"},"projection":{"type":"projection"},"layers":{"required":true,"type":"array","value":"layer"},"models":{"type":"models"}},"model":{"type":"string","required":true},"import":{"id":{"type":"string","required":true},"url":{"type":"string","required":true},"config":{"type":"config"},"data":{"type":"$root"}},"config":{"*":{"type":"*"}},"schema":{"*":{"type":"option"}},"option":{"default":{"type":"*","required":true},"type":{"type":"enum","values":{"string":1,"number":1,"boolean":1,"color":1}},"array":{"type":"boolean"},"minValue":{"type":"number"},"maxValue":{"type":"number"},"stepValue":{"type":"number"},"values":{"type":"array","value":"*"},"metadata":{"type":"*"}},"models":{"*":{"type":"model"}},"light-3d":{"id":{"type":"string","required":true},"properties":{"type":"properties"},"type":{"type":"enum","values":{"ambient":{},"directional":{},"flat":{}}}},"properties":["properties_light_directional","properties_light_ambient","properties_light_flat"],"properties_light_directional":{"direction":{"type":"array","default":[210,30],"minimum":[0,0],"maximum":[360,90],"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"cast-shadows":{"type":"boolean","default":false,"expression":{},"property-type":"data-constant"},"shadow-intensity":{"type":"number","property-type":"data-constant","default":1,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"properties_light_ambient":{"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"properties_light_flat":{"anchor":{"type":"enum","default":"viewport","values":{"map":1,"viewport":1},"property-type":"data-constant","expression":{"parameters":["zoom"]}},"position":{"type":"array","default":[1.15,210,30],"length":3,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"sources":{"*":{"type":"source"}},"source":["source_vector","source_raster","source_raster_dem","source_raster_array","source_geojson","source_video","source_image","source_model"],"source_vector":{"type":{"required":true,"type":"enum","values":{"vector":1}},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"bounds":{"type":"array","value":"number","length":4,"default":[-180,-85.051129,180,85.051129]},"scheme":{"type":"enum","values":{"xyz":1,"tms":1},"default":"xyz"},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"attribution":{"type":"string"},"promoteId":{"type":"promoteId"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster":{"type":{"required":true,"type":"enum","values":{"raster":1}},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"bounds":{"type":"array","value":"number","length":4,"default":[-180,-85.051129,180,85.051129]},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"tileSize":{"type":"number","default":512},"scheme":{"type":"enum","values":{"xyz":1,"tms":1},"default":"xyz"},"attribution":{"type":"string"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster_dem":{"type":{"required":true,"type":"enum","values":{"raster-dem":1}},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"bounds":{"type":"array","value":"number","length":4,"default":[-180,-85.051129,180,85.051129]},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"tileSize":{"type":"number","default":512},"attribution":{"type":"string"},"encoding":{"type":"enum","values":{"terrarium":1,"mapbox":1},"default":"mapbox"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster_array":{"type":{"required":true,"type":"enum","values":{"raster-array":1}},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"bounds":{"type":"array","value":"number","length":4,"default":[-180,-85.051129,180,85.051129]},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"tileSize":{"type":"number","default":512},"attribution":{"type":"string"},"rasterLayers":{"type":"*"},"*":{"type":"*"}},"source_geojson":{"type":{"required":true,"type":"enum","values":{"geojson":1}},"data":{"type":"*"},"maxzoom":{"type":"number","default":18},"attribution":{"type":"string"},"buffer":{"type":"number","default":128,"maximum":512,"minimum":0},"filter":{"type":"*"},"tolerance":{"type":"number","default":0.375},"cluster":{"type":"boolean","default":false},"clusterRadius":{"type":"number","default":50,"minimum":0},"clusterMaxZoom":{"type":"number"},"clusterMinPoints":{"type":"number"},"clusterProperties":{"type":"*"},"lineMetrics":{"type":"boolean","default":false},"generateId":{"type":"boolean","default":false},"promoteId":{"type":"promoteId"}},"source_video":{"type":{"required":true,"type":"enum","values":{"video":1}},"urls":{"required":true,"type":"array","value":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"source_image":{"type":{"required":true,"type":"enum","values":{"image":1}},"url":{"required":false,"type":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"source_model":{"type":{"required":true,"type":"enum","values":{"model":1,"batched-model":1}},"maxzoom":{"type":"number","default":18},"minzoom":{"type":"number","default":0},"tiles":{"type":"array","value":"string"}},"layer":{"id":{"type":"string","required":true},"type":{"type":"enum","values":{"fill":{},"line":{},"symbol":{},"circle":{},"heatmap":{},"fill-extrusion":{},"raster":{},"hillshade":{},"model":{},"background":{},"sky":{},"slot":{}},"required":true},"metadata":{"type":"*"},"source":{"type":"string"},"source-layer":{"type":"string"},"slot":{"type":"string"},"minzoom":{"type":"number","minimum":0,"maximum":24},"maxzoom":{"type":"number","minimum":0,"maximum":24},"filter":{"type":"filter"},"layout":{"type":"layout"},"paint":{"type":"paint"}},"layout":["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background","layout_sky","layout_model"],"layout_background":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_sky":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_model":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"},"model-id":{"type":"string","default":"","property-type":"data-driven","expression":{"parameters":["zoom","feature"]}}},"layout_fill":{"fill-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_circle":{"circle-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_heatmap":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_fill-extrusion":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"},"fill-extrusion-edge-radius":{"type":"number","private":true,"default":0,"minimum":0,"maximum":1,"expression":{},"property-type":"constant"}},"layout_line":{"line-cap":{"type":"enum","values":{"butt":1,"round":1,"square":1},"default":"butt","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-join":{"type":"enum","values":{"bevel":1,"round":1,"miter":1},"default":"miter","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{"type":"number","default":2,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-round-limit":{"type":"number","default":1.05,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_symbol":{"symbol-placement":{"type":"enum","values":{"point":1,"line":1,"line-center":1},"default":"point","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"symbol-spacing":{"type":"number","default":250,"minimum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{"type":"enum","values":{"auto":1,"viewport-y":1,"source":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"symbol-z-elevate":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-optional":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-size":{"type":"number","default":1,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{"type":"enum","values":{"none":1,"width":1,"height":1,"both":1},"default":"none","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit-padding":{"type":"array","value":"number","length":4,"default":[0,0,0,0],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-image":{"type":"resolvedImage","tokens":true,"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{"type":"number","default":0,"period":360,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{"type":"number","default":2,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-offset":{"type":"array","value":"number","length":2,"default":[0,0],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{"type":"enum","values":{"center":1,"left":1,"right":1,"top":1,"bottom":1,"top-left":1,"top-right":1,"bottom-left":1,"bottom-right":1},"default":"center","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-field":{"type":"formatted","default":"","tokens":true,"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-font":{"type":"array","value":"string","default":["Open Sans Regular","Arial Unicode MS Regular"],"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-size":{"type":"number","default":16,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{"type":"number","default":10,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{"type":"number","default":1.2,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-letter-spacing":{"type":"number","default":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-justify":{"type":"enum","values":{"auto":1,"left":1,"center":1,"right":1},"default":"center","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{"type":"number","default":0,"property-type":"data-driven","expression":{"interpolated":true,"parameters":["zoom","feature"]}},"text-variable-anchor":{"type":"array","value":"enum","values":{"center":1,"left":1,"right":1,"top":1,"bottom":1,"top-left":1,"top-right":1,"bottom-left":1,"bottom-right":1},"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-anchor":{"type":"enum","values":{"center":1,"left":1,"right":1,"top":1,"bottom":1,"top-left":1,"top-right":1,"bottom-left":1,"bottom-right":1},"default":"center","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{"type":"number","default":45,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-writing-mode":{"type":"array","value":"enum","values":{"horizontal":1,"vertical":1},"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-rotate":{"type":"number","default":0,"period":360,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-padding":{"type":"number","default":2,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-keep-upright":{"type":"boolean","default":true,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-transform":{"type":"enum","values":{"none":1,"uppercase":1,"lowercase":1},"default":"none","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-offset":{"type":"array","value":"number","length":2,"default":[0,0],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-optional":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_raster":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_hillshade":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"filter":{"type":"array","value":"*"},"filter_symbol":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature","pitch","distance-from-center"]}},"filter_fill":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_line":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_circle":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_fill-extrusion":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_heatmap":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_operator":{"type":"enum","values":{"==":1,"!=":1,">":1,">=":1,"<":1,"<=":1,"in":1,"!in":1,"all":1,"any":1,"none":1,"has":1,"!has":1}},"geometry_type":{"type":"enum","values":{"Point":1,"LineString":1,"Polygon":1}},"function":{"expression":{"type":"expression"},"stops":{"type":"array","value":"function_stop"},"base":{"type":"number","default":1,"minimum":0},"property":{"type":"string","default":"$zoom"},"type":{"type":"enum","values":{"identity":1,"exponential":1,"interval":1,"categorical":1},"default":"exponential"},"colorSpace":{"type":"enum","values":{"rgb":1,"lab":1,"hcl":1},"default":"rgb"},"default":{"type":"*","required":false}},"function_stop":{"type":"array","minimum":0,"maximum":24,"value":["number","color"],"length":2},"expression":{"type":"array","value":"*","minimum":1},"fog":{"range":{"type":"array","default":[0.5,10],"minimum":-20,"maximum":20,"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"high-color":{"type":"color","property-type":"data-constant","default":"#245cdf","expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"space-color":{"type":"color","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],4,"#010b19",7,"#367ab9"],"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"horizon-blend":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],4,0.2,7,0.1],"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"star-intensity":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],5,0.35,6,0],"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"vertical-range":{"type":"array","default":[0,0],"minimum":0,"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true}}},"camera":{"camera-projection":{"type":"enum","values":{"perspective":1,"orthographic":1},"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"default":"perspective","property-type":"data-constant"}},"light":{"anchor":{"type":"enum","default":"viewport","values":{"map":1,"viewport":1},"property-type":"data-constant","expression":{"parameters":["zoom"]}},"position":{"type":"array","default":[1.15,210,30],"length":3,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"projection":{"name":{"type":"enum","values":{"albers":1,"equalEarth":1,"equirectangular":1,"lambertConformalConic":1,"mercator":1,"naturalEarth":1,"winkelTripel":1,"globe":1},"default":"mercator","required":true},"center":{"type":"array","length":2,"value":"number","property-type":"data-constant","minimum":[-180,-90],"maximum":[180,90]},"parallels":{"type":"array","length":2,"value":"number","property-type":"data-constant","minimum":[-90,-90],"maximum":[90,90]}},"terrain":{"source":{"type":"string","required":true},"exaggeration":{"type":"number","property-type":"data-constant","default":1,"minimum":0,"maximum":1000,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"paint":["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background","paint_sky","paint_model"],"paint_fill":{"fill-antialias":{"type":"boolean","default":true,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-outline-color":{"type":"color","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"fill-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-extrusion-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"fill-extrusion-height":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{"type":"boolean","default":true,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-ambient-occlusion-intensity":{"property-type":"data-constant","type":"number","private":true,"default":0,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-radius":{"property-type":"data-constant","type":"number","private":true,"default":3,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-wall-radius":{"property-type":"data-constant","type":"number","default":3,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-ground-radius":{"property-type":"data-constant","type":"number","default":3,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-ground-attenuation":{"property-type":"data-constant","type":"number","default":0.69,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"fill-extrusion-flood-light-color":{"property-type":"data-constant","type":"color","default":"#ffffff","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]}},"fill-extrusion-flood-light-intensity":{"property-type":"data-constant","type":"number","default":0,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]}},"fill-extrusion-flood-light-wall-radius":{"property-type":"data-driven","type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["feature","feature-state"]}},"fill-extrusion-flood-light-ground-radius":{"property-type":"data-driven","type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["feature","feature-state"]}},"fill-extrusion-flood-light-ground-attenuation":{"property-type":"data-constant","type":"number","default":0.69,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"fill-extrusion-vertical-scale":{"property-type":"data-constant","type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"fill-extrusion-rounded-roof":{"property-type":"data-constant","type":"boolean","default":true,"expression":{"parameters":["zoom"]}},"fill-extrusion-cutoff-fade-range":{"type":"number","default":0,"minimum":0,"maximum":1,"expression":{},"property-type":"data-constant"},"fill-extrusion-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_line":{"line-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"line-width":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-gap-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-offset":{"type":"number","default":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-blur":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-dasharray":{"type":"array","value":"number","minimum":0,"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-gradient":{"type":"color","expression":{"interpolated":true,"parameters":["line-progress"]},"property-type":"color-ramp"},"line-trim-offset":{"type":"array","value":"number","length":2,"default":[0,0],"minimum":[0,0],"maximum":[1,1],"property-type":"constant"},"line-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"line-border-width":{"type":"number","private":true,"default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-border-color":{"type":"color","private":true,"default":"rgba(0, 0, 0, 0)","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"}},"paint_circle":{"circle-radius":{"type":"number","default":5,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-blur":{"type":"number","default":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{"type":"enum","values":{"map":1,"viewport":1},"default":"viewport","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-stroke-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-stroke-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_heatmap":{"heatmap-radius":{"type":"number","default":30,"minimum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"heatmap-weight":{"type":"number","default":1,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"heatmap-intensity":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"heatmap-color":{"type":"color","default":["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",0.1,"royalblue",0.3,"cyan",0.5,"lime",0.7,"yellow",1,"red"],"expression":{"interpolated":true,"parameters":["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_symbol":{"icon-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-emissive-strength":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-driven"},"text-emissive-strength":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-driven"},"icon-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-halo-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-halo-blur":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-image-cross-fade":{"type":"number","property-type":"data-driven","default":0,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"transition":true},"text-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-color":{"type":"color","default":"#000000","transition":true,"overridable":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-halo-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-halo-blur":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-color-saturation":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{},"property-type":"data-constant"}},"paint_raster":{"raster-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-color":{"type":"color","expression":{"interpolated":true,"parameters":["raster-value"]},"property-type":"color-ramp"},"raster-color-mix":{"type":"array","default":[0.2126,0.7152,0.0722,0],"length":4,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"raster-color-range":{"type":"array","default":[0,1],"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"raster-hue-rotate":{"type":"number","default":0,"period":360,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{"type":"number","default":0,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-saturation":{"type":"number","default":0,"minimum":-1,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-contrast":{"type":"number","default":0,"minimum":-1,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-resampling":{"type":"enum","values":{"linear":1,"nearest":1},"default":"linear","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{"type":"number","default":300,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"raster-array-band":{"type":"string","required":false,"property-type":"data-constant"},"raster-elevation":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_hillshade":{"hillshade-illumination-direction":{"type":"number","default":335,"minimum":0,"maximum":359,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"viewport","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{"type":"number","default":0.5,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"hillshade-highlight-color":{"type":"color","default":"#FFFFFF","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"hillshade-accent-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"hillshade-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_background":{"background-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"background-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"background-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"background-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_sky":{"sky-type":{"type":"enum","values":{"gradient":1,"atmosphere":1},"default":"atmosphere","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun":{"type":"array","value":"number","length":2,"minimum":[0,0],"maximum":[360,180],"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun-intensity":{"type":"number","default":10,"minimum":0,"maximum":100,"property-type":"data-constant"},"sky-gradient-center":{"type":"array","value":"number","default":[0,0],"length":2,"minimum":[0,0],"maximum":[360,180],"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-gradient-radius":{"type":"number","default":90,"minimum":0,"maximum":180,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-gradient":{"type":"color","default":["interpolate",["linear"],["sky-radial-progress"],0.8,"#87ceeb",1,"white"],"expression":{"interpolated":true,"parameters":["sky-radial-progress"]},"property-type":"color-ramp"},"sky-atmosphere-halo-color":{"type":"color","default":"white","property-type":"data-constant"},"sky-atmosphere-color":{"type":"color","default":"white","property-type":"data-constant"},"sky-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_model":{"model-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"model-rotation":{"type":"array","value":"number","length":3,"default":[0,0,0],"period":360,"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","zoom"]},"transition":true},"model-scale":{"type":"array","value":"number","length":3,"default":[1,1,1],"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","zoom"]},"transition":true},"model-translation":{"type":"array","value":"number","length":3,"default":[0,0,0],"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","zoom"]},"transition":true},"model-color":{"type":"color","default":"#ffffff","property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light","zoom"]},"transition":true},"model-color-mix-intensity":{"type":"number","property-type":"data-driven","default":0,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light"]},"transition":true},"model-type":{"type":"enum","values":{"common-3d":1,"location-indicator":1},"default":"common-3d","property-type":"data-constant"},"model-cast-shadows":{"type":"boolean","default":true,"expression":{},"property-type":"data-constant"},"model-receive-shadows":{"type":"boolean","default":true,"expression":{},"property-type":"data-constant"},"model-ambient-occlusion-intensity":{"type":"number","default":1,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant","transition":true},"model-emissive-strength":{"type":"number","property-type":"data-driven","default":0,"minimum":0,"maximum":5,"expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light"]},"transition":true},"model-roughness":{"type":"number","default":1,"minimum":0,"maximum":1,"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state"]},"transition":true},"model-height-based-emissive-strength-multiplier":{"type":"array","default":[1,1,1,1,0],"length":5,"value":"number","property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light"]},"transition":true},"model-cutoff-fade-range":{"type":"number","default":0,"minimum":0,"maximum":1,"expression":{},"property-type":"data-constant"}},"transition":{"duration":{"type":"number","default":300,"minimum":0},"delay":{"type":"number","default":0,"minimum":0}},"property-type":{"data-driven":{"type":"property-type"},"color-ramp":{"type":"property-type"},"data-constant":{"type":"property-type"},"constant":{"type":"property-type"}},"promoteId":{"*":{"type":"string"}}}');class be{constructor(e,r,i,o){this.message=(e?`${e}: `:"")+i,o&&(this.identifier=o),r!=null&&r.__line__&&(this.line=r.__line__)}}class ha extends be{}function oo(t,...e){for(const r of e)for(const i in r)t[i]=r[i];return t}function cr(t){return t instanceof Number||t instanceof String||t instanceof Boolean?t.valueOf():t}function ao(t){if(Array.isArray(t))return t.map(ao);if(t instanceof Object&&!(t instanceof Number||t instanceof String||t instanceof Boolean)){const e={};for(const r in t)e[r]=ao(t[r]);return e}return cr(t)}class _v extends Error{constructor(e,r){super(r),this.message=r,this.key=e}}var Ui=_v;class Tu{constructor(e,r=[]){this.parent=e,this.bindings={};for(const[i,o]of r)this.bindings[i]=o}concat(e){return new Tu(this,e)}get(e){if(this.bindings[e])return this.bindings[e];if(this.parent)return this.parent.get(e);throw new Error(`${e} not found in scope.`)}has(e){return!!this.bindings[e]||!!this.parent&&this.parent.has(e)}}var yv=Tu;const Za={kind:"null"},ye={kind:"number"},ft={kind:"string"},yt={kind:"boolean"},fi={kind:"color"},$a={kind:"object"},gt={kind:"value"},il={kind:"collator"},Nn={kind:"formatted"},Vn={kind:"resolvedImage"};function Hr(t,e){return{kind:"array",itemType:t,N:e}}function ar(t){if(t.kind==="array"){const e=ar(t.itemType);return typeof t.N=="number"?`array<${e}, ${t.N}>`:t.itemType.kind==="value"?"array":`array<${e}>`}return t.kind}const xv=[Za,ye,ft,yt,fi,Nn,$a,Hr(gt),Vn];function Un(t,e){if(e.kind==="error")return null;if(t.kind==="array"){if(e.kind==="array"&&(e.N===0&&e.itemType.kind==="value"||!Un(t.itemType,e.itemType))&&(typeof t.N!="number"||t.N===e.N))return null}else{if(t.kind===e.kind)return null;if(t.kind==="value"){for(const r of xv)if(!Un(r,e))return null}}return`Expected ${ar(t)} but found ${ar(e)} instead.`}function Eu(t,e){return e.some(r=>r.kind===t.kind)}function jn(t,e){return e.some(r=>r==="null"?t===null:r==="array"?Array.isArray(t):r==="object"?t&&!Array.isArray(t)&&typeof t=="object":r===typeof t)}var Mu,vf={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function ol(t){return(t=Math.round(t))<0?0:t>255?255:t}function Su(t){return ol(t[t.length-1]==="%"?parseFloat(t)/100*255:parseInt(t))}function al(t){return(e=t[t.length-1]==="%"?parseFloat(t)/100:parseFloat(t))<0?0:e>1?1:e;var e}function Au(t,e,r){return r<0?r+=1:r>1&&(r-=1),6*r<1?t+(e-t)*r*6:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}try{Mu={}.parseCSSColor=function(t){var e,r=t.replace(/ /g,"").toLowerCase();if(r in vf)return vf[r].slice();if(r[0]==="#")return r.length===4?(e=parseInt(r.substr(1),16))>=0&&e<=4095?[(3840&e)>>4|(3840&e)>>8,240&e|(240&e)>>4,15&e|(15&e)<<4,1]:null:r.length===7&&(e=parseInt(r.substr(1),16))>=0&&e<=16777215?[(16711680&e)>>16,(65280&e)>>8,255&e,1]:null;var i=r.indexOf("("),o=r.indexOf(")");if(i!==-1&&o+1===r.length){var a=r.substr(0,i),n=r.substr(i+1,o-(i+1)).split(","),s=1;switch(a){case"rgba":if(n.length!==4)return null;s=al(n.pop());case"rgb":return n.length!==3?null:[Su(n[0]),Su(n[1]),Su(n[2]),s];case"hsla":if(n.length!==4)return null;s=al(n.pop());case"hsl":if(n.length!==3)return null;var l=(parseFloat(n[0])%360+360)%360/360,c=al(n[1]),u=al(n[2]),h=u<=.5?u*(c+1):u+c-u*c,d=2*u-h;return[ol(255*Au(d,h,l+1/3)),ol(255*Au(d,h,l)),ol(255*Au(d,h,l-1/3)),s];default:return null}}return null}}catch{}class Wr{constructor(e,r,i,o=1){this.r=e,this.g=r,this.b=i,this.a=o}static parse(e){if(!e)return;if(e instanceof Wr)return e;if(typeof e!="string")return;const r=Mu(e);return r?new Wr(r[0]/255*r[3],r[1]/255*r[3],r[2]/255*r[3],r[3]):void 0}toString(){const[e,r,i,o]=this.toArray();return`rgba(${Math.round(e)},${Math.round(r)},${Math.round(i)},${o})`}toArray(){const{r:e,g:r,b:i,a:o}=this;return o===0?[0,0,0,0]:[255*e/o,255*r/o,255*i/o,o]}toArray01(){const{r:e,g:r,b:i,a:o}=this;return o===0?[0,0,0,0]:[e/o,r/o,i/o,o]}toArray01Scaled(e){const{r,g:i,b:o,a}=this;return a===0?[0,0,0]:[r/a*e,i/a*e,o/a*e]}toArray01PremultipliedAlpha(){const{r:e,g:r,b:i,a:o}=this;return[e,r,i,o]}toArray01Linear(){const{r:e,g:r,b:i,a:o}=this;return o===0?[0,0,0,0]:[Math.pow(e/o,2.2),Math.pow(r/o,2.2),Math.pow(i/o,2.2),o]}}Wr.black=new Wr(0,0,0,1),Wr.white=new Wr(1,1,1,1),Wr.transparent=new Wr(0,0,0,0),Wr.red=new Wr(1,0,0,1),Wr.blue=new Wr(0,0,1,1);var Qe=Wr;class Cu{constructor(e,r,i){this.sensitivity=e?r?"variant":"case":r?"accent":"base",this.locale=i,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})}compare(e,r){return this.collator.compare(e,r)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class Iu{constructor(e,r,i,o,a){this.text=e.normalize?e.normalize():e,this.image=r,this.scale=i,this.fontStack=o,this.textColor=a}}class Xr{constructor(e){this.sections=e}static fromString(e){return new Xr([new Iu(e,null,null,null,null)])}isEmpty(){return this.sections.length===0||!this.sections.some(e=>e.text.length!==0||e.image&&e.image.namePrimary.length!==0)}static factory(e){return e instanceof Xr?e:Xr.fromString(e)}toString(){return this.sections.length===0?"":this.sections.map(e=>e.text).join("")}serialize(){const e=["format"];for(const r of this.sections){if(r.image){e.push(["image",r.image.namePrimary]);continue}e.push(r.text);const i={};r.fontStack&&(i["text-font"]=["literal",r.fontStack.split(",")]),r.scale&&(i["font-scale"]=r.scale),r.textColor&&(i["text-color"]=["rgba"].concat(r.textColor.toArray())),e.push(i)}return e}}class mi{constructor(e){this.namePrimary=e.namePrimary,e.nameSecondary&&(this.nameSecondary=e.nameSecondary),this.available=e.available}toString(){return this.nameSecondary?`[${this.namePrimary},${this.nameSecondary}]`:this.namePrimary}static fromString(e,r){return e?new mi({namePrimary:e,nameSecondary:r,available:!1}):null}serialize(){return this.nameSecondary?["image",this.namePrimary,this.nameSecondary]:["image",this.namePrimary]}}function bf(t,e,r,i){return typeof t=="number"&&t>=0&&t<=255&&typeof e=="number"&&e>=0&&e<=255&&typeof r=="number"&&r>=0&&r<=255?i===void 0||typeof i=="number"&&i>=0&&i<=1?null:`Invalid rgba value [${[t,e,r,i].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid rgba value [${(typeof i=="number"?[t,e,r,i]:[t,e,r]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}function Ha(t){if(t===null||typeof t=="string"||typeof t=="boolean"||typeof t=="number"||t instanceof Qe||t instanceof Cu||t instanceof Xr||t instanceof mi)return!0;if(Array.isArray(t)){for(const e of t)if(!Ha(e))return!1;return!0}if(typeof t=="object"){for(const e in t)if(!Ha(t[e]))return!1;return!0}return!1}function mr(t){if(t===null)return Za;if(typeof t=="string")return ft;if(typeof t=="boolean")return yt;if(typeof t=="number")return ye;if(t instanceof Qe)return fi;if(t instanceof Cu)return il;if(t instanceof Xr)return Nn;if(t instanceof mi)return Vn;if(Array.isArray(t)){const e=t.length;let r;for(const i of t){const o=mr(i);if(r){if(r===o)continue;r=gt;break}r=o}return Hr(r||gt,e)}return $a}function Gn(t){const e=typeof t;return t===null?"":e==="string"||e==="number"||e==="boolean"?String(t):t instanceof Qe||t instanceof Xr||t instanceof mi?t.toString():JSON.stringify(t)}class zu{constructor(e,r){this.type=e,this.value=r}static parse(e,r){if(e.length!==2)return r.error(`'literal' expression requires exactly one argument, but found ${e.length-1} instead.`);if(!Ha(e[1]))return r.error("invalid value");const i=e[1];let o=mr(i);const a=r.expectedType;return o.kind!=="array"||o.N!==0||!a||a.kind!=="array"||typeof a.N=="number"&&a.N!==0||(o=a),new zu(o,i)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}serialize(){return this.type.kind==="array"||this.type.kind==="object"?["literal",this.value]:this.value instanceof Qe?["rgba"].concat(this.value.toArray()):this.value instanceof Xr?this.value.serialize():this.value}}var qn=zu,Tr=class{constructor(t){this.name="ExpressionEvaluationError",this.message=t}toJSON(){return this.message}};const Du={string:ft,number:ye,boolean:yt,object:$a};class Pu{constructor(e,r){this.type=e,this.args=r}static parse(e,r){if(e.length<2)return r.error("Expected at least one argument.");let i,o=1;const a=e[0];if(a==="array"){let s,l;if(e.length>2){const c=e[1];if(typeof c!="string"||!(c in Du)||c==="object")return r.error('The item type argument of "array" must be one of string, number, boolean',1);s=Du[c],o++}else s=gt;if(e.length>3){if(e[2]!==null&&(typeof e[2]!="number"||e[2]<0||e[2]!==Math.floor(e[2])))return r.error('The length argument to "array" must be a positive integer literal',2);l=e[2],o++}i=Hr(s,l)}else i=Du[a];const n=[];for(;o<e.length;o++){const s=r.parse(e[o],o,gt);if(!s)return null;n.push(s)}return new Pu(i,n)}evaluate(e){for(let r=0;r<this.args.length;r++){const i=this.args[r].evaluate(e);if(!Un(this.type,mr(i)))return i;if(r===this.args.length-1)throw new Tr(`Expected value to be of type ${ar(this.type)}, but found ${ar(mr(i))} instead.`)}return null}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every(e=>e.outputDefined())}serialize(){const e=this.type,r=[e.kind];if(e.kind==="array"){const i=e.itemType;if(i.kind==="string"||i.kind==="number"||i.kind==="boolean"){r.push(i.kind);const o=e.N;(typeof o=="number"||this.args.length>1)&&r.push(o)}}return r.concat(this.args.map(i=>i.serialize()))}}var no=Pu;class Zn{constructor(e){this.type=Nn,this.sections=e}static parse(e,r){if(e.length<2)return r.error("Expected at least one argument.");const i=e[1];if(!Array.isArray(i)&&typeof i=="object")return r.error("First argument must be an image or text section.");const o=[];let a=!1;for(let n=1;n<=e.length-1;++n){const s=e[n];if(a&&typeof s=="object"&&!Array.isArray(s)){a=!1;let l=null;if(s["font-scale"]&&(l=r.parse(s["font-scale"],1,ye),!l))return null;let c=null;if(s["text-font"]&&(c=r.parse(s["text-font"],1,Hr(ft)),!c))return null;let u=null;if(s["text-color"]&&(u=r.parse(s["text-color"],1,fi),!u))return null;const h=o[o.length-1];h.scale=l,h.font=c,h.textColor=u}else{const l=r.parse(e[n],1,gt);if(!l)return null;const c=l.type.kind;if(c!=="string"&&c!=="value"&&c!=="null"&&c!=="resolvedImage")return r.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");a=!0,o.push({content:l,scale:null,font:null,textColor:null})}}return new Zn(o)}evaluate(e){return new Xr(this.sections.map(r=>{const i=r.content.evaluate(e);return mr(i)===Vn?new Iu("",i,null,null,null):new Iu(Gn(i),null,r.scale?r.scale.evaluate(e):null,r.font?r.font.evaluate(e).join(","):null,r.textColor?r.textColor.evaluate(e):null)}))}eachChild(e){for(const r of this.sections)e(r.content),r.scale&&e(r.scale),r.font&&e(r.font),r.textColor&&e(r.textColor)}outputDefined(){return!1}serialize(){const e=["format"];for(const r of this.sections){e.push(r.content.serialize());const i={};r.scale&&(i["font-scale"]=r.scale.serialize()),r.font&&(i["text-font"]=r.font.serialize()),r.textColor&&(i["text-color"]=r.textColor.serialize()),e.push(i)}return e}}class $n{constructor(e,r){this.type=Vn,this.inputPrimary=e,this.inputSecondary=r}static parse(e,r){if(e.length<2)return r.error("Expected two or more arguments.");const i=r.parse(e[1],1,ft);if(!i)return r.error("No image name provided.");if(e.length===2)return new $n(i);const o=r.parse(e[2],1,ft);return o?new $n(i,o):r.error("Secondary image variant is not a string.")}evaluate(e){const r=mi.fromString(this.inputPrimary.evaluate(e),this.inputSecondary?this.inputSecondary.evaluate(e):void 0);return r&&e.availableImages&&(r.available=e.availableImages.indexOf(r.namePrimary)>-1,r.nameSecondary&&r.available&&e.availableImages&&(r.available=e.availableImages.indexOf(r.nameSecondary)>-1)),r}eachChild(e){e(this.inputPrimary),this.inputSecondary&&e(this.inputSecondary)}outputDefined(){return!1}serialize(){return this.inputSecondary?["image",this.inputPrimary.serialize(),this.inputSecondary.serialize()]:["image",this.inputPrimary.serialize()]}}function kt(t){return t instanceof Number?"number":t instanceof String?"string":t instanceof Boolean?"boolean":Array.isArray(t)?"array":t===null?"null":typeof t}const vv={"to-boolean":yt,"to-color":fi,"to-number":ye,"to-string":ft};class Ru{constructor(e,r){this.type=e,this.args=r}static parse(e,r){if(e.length<2)return r.error("Expected at least one argument.");const i=e[0],o=[];let a=Za;if(i==="to-array"){if(!Array.isArray(e[1]))return null;const n=e[1].length;if(r.expectedType){if(r.expectedType.kind!=="array")return r.error(`Expected ${r.expectedType.kind} but found array.`);a=Hr(r.expectedType.itemType,n)}else{if(!(n>0&&Ha(e[1][0])))return null;a=Hr(mr(e[1][0]),n)}for(let s=0;s<n;s++){const l=e[1][s];let c;if(kt(l)==="array")c=r.parse(l,void 0,a.itemType);else{const u=kt(l);if(u!==a.itemType.kind)return r.error(`Expected ${a.itemType.kind} but found ${u}.`);c=r.registry.literal.parse(["literal",l===void 0?null:l],r)}if(!c)return null;o.push(c)}}else{if((i==="to-boolean"||i==="to-string")&&e.length!==2)return r.error("Expected one argument.");a=vv[i];for(let n=1;n<e.length;n++){const s=r.parse(e[n],n,gt);if(!s)return null;o.push(s)}}return new Ru(a,o)}evaluate(e){if(this.type.kind==="boolean")return!!this.args[0].evaluate(e);if(this.type.kind==="color"){let r,i;for(const o of this.args){if(r=o.evaluate(e),i=null,r instanceof Qe)return r;if(typeof r=="string"){const a=e.parseColor(r);if(a)return a}else if(Array.isArray(r)&&(i=r.length<3||r.length>4?`Invalid rbga value ${JSON.stringify(r)}: expected an array containing either three or four numeric values.`:bf(r[0],r[1],r[2],r[3]),!i))return new Qe(r[0]/255,r[1]/255,r[2]/255,r[3])}throw new Tr(i||`Could not parse color from value '${typeof r=="string"?r:String(JSON.stringify(r))}'`)}if(this.type.kind==="number"){let r=null;for(const i of this.args){if(r=i.evaluate(e),r===null)return 0;const o=Number(r);if(!isNaN(o))return o}throw new Tr(`Could not convert ${JSON.stringify(r)} to number.`)}return this.type.kind==="formatted"?Xr.fromString(Gn(this.args[0].evaluate(e))):this.type.kind==="resolvedImage"?mi.fromString(Gn(this.args[0].evaluate(e))):this.type.kind==="array"?this.args.map(r=>r.evaluate(e)):Gn(this.args[0].evaluate(e))}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every(e=>e.outputDefined())}serialize(){if(this.type.kind==="formatted")return new Zn([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if(this.type.kind==="resolvedImage")return new $n(this.args[0]).serialize();const e=this.type.kind==="array"?[]:[`to-${this.type.kind}`];return this.eachChild(r=>{e.push(r.serialize())}),e}}var da=Ru;const bv=["Unknown","Point","LineString","Polygon"];var wf=class{constructor(t){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null,this.featureTileCoord=null,this.featureDistanceData=null,this.options=t}id(){return this.feature&&this.feature.id!==void 0?this.feature.id:null}geometryType(){return this.feature?typeof this.feature.type=="number"?bv[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}measureLight(t){return this.globals.brightness||0}distanceFromCenter(){if(this.featureTileCoord&&this.featureDistanceData){const t=this.featureDistanceData.center,e=this.featureDistanceData.scale,{x:r,y:i}=this.featureTileCoord;return this.featureDistanceData.bearing[0]*(r*e-t[0])+this.featureDistanceData.bearing[1]*(i*e-t[1])}return 0}parseColor(t){let e=this._parseColorCache[t];return e||(e=this._parseColorCache[t]=Qe.parse(t)),e}getConfig(t){return this.options?this.options.get(t):null}};class pa{constructor(e,r,i,o,a){this.name=e,this.type=r,this._evaluate=i,this.args=o,this._overloadIndex=a}evaluate(e){if(!this._evaluate){const r=pa.definitions[this.name];this._evaluate=Array.isArray(r)?r[2]:r.overloads[this._overloadIndex][1]}return this._evaluate(e,this.args)}eachChild(e){this.args.forEach(e)}outputDefined(){return!1}serialize(){return[this.name].concat(this.args.map(e=>e.serialize()))}static parse(e,r){const i=e[0],o=pa.definitions[i];if(!o)return r.error(`Unknown expression "${i}". If you wanted a literal array, use ["literal", [...]].`,0);const a=Array.isArray(o)?o[0]:o.type,n=Array.isArray(o)?[[o[1],o[2]]]:o.overloads,s=[];let l=null,c=-1;for(const[u,h]of n){if(Array.isArray(u)&&u.length!==e.length-1)continue;s.push(u),c++,l=new Nf(r.registry,r.path,null,r.scope,void 0,r.options);const d=[];let p=!1;for(let f=1;f<e.length;f++){const m=e[f],g=Array.isArray(u)?u[f-1]:u.type,_=l.parse(m,1+d.length,g);if(!_){p=!0;break}d.push(_)}if(!p)if(Array.isArray(u)&&u.length!==d.length)l.error(`Expected ${u.length} arguments, but found ${d.length} instead.`);else{for(let f=0;f<d.length;f++){const m=Array.isArray(u)?u[f]:u.type,g=d[f];l.concat(f+1).checkSubtype(m,g.type)}if(l.errors.length===0)return new pa(i,a,h,d,c)}}if(s.length===1)r.errors.push(...l.errors);else{const u=(s.length?s:n.map(([d])=>d)).map(wv).join(" | "),h=[];for(let d=1;d<e.length;d++){const p=r.parse(e[d],1+h.length);if(!p)return null;h.push(ar(p.type))}r.error(`Expected arguments of type ${u}, but found (${h.join(", ")}) instead.`)}return null}static register(e,r){pa.definitions=r;for(const i in r)e[i]=pa}}function wv(t){return Array.isArray(t)?`(${t.map(ar).join(", ")})`:`(${ar(t.type)}...)`}var ji=pa;class nl{constructor(e,r,i){this.type=il,this.locale=i,this.caseSensitive=e,this.diacriticSensitive=r}static parse(e,r){if(e.length!==2)return r.error("Expected one argument.");const i=e[1];if(typeof i!="object"||Array.isArray(i))return r.error("Collator options argument must be an object.");const o=r.parse(i["case-sensitive"]!==void 0&&i["case-sensitive"],1,yt);if(!o)return null;const a=r.parse(i["diacritic-sensitive"]!==void 0&&i["diacritic-sensitive"],1,yt);if(!a)return null;let n=null;return i.locale&&(n=r.parse(i.locale,1,ft),!n)?null:new nl(o,a,n)}evaluate(e){return new Cu(this.caseSensitive.evaluate(e),this.diacriticSensitive.evaluate(e),this.locale?this.locale.evaluate(e):null)}eachChild(e){e(this.caseSensitive),e(this.diacriticSensitive),this.locale&&e(this.locale)}outputDefined(){return!1}serialize(){const e={};return e["case-sensitive"]=this.caseSensitive.serialize(),e["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(e.locale=this.locale.serialize()),["collator",e]}}var kf={exports:{}};kf.exports=function(){function t(i,o,a,n,s){for(;n>a;){if(n-a>600){var l=n-a+1,c=o-a+1,u=Math.log(l),h=.5*Math.exp(2*u/3),d=.5*Math.sqrt(u*h*(l-h)/l)*(c-l/2<0?-1:1);t(i,o,Math.max(a,Math.floor(o-c*h/l+d)),Math.min(n,Math.floor(o+(l-c)*h/l+d)),s)}var p=i[o],f=a,m=n;for(e(i,a,o),s(i[n],p)>0&&e(i,a,n);f<m;){for(e(i,f,m),f++,m--;s(i[f],p)<0;)f++;for(;s(i[m],p)>0;)m--}s(i[a],p)===0?e(i,a,m):e(i,++m,n),m<=o&&(a=m+1),o<=m&&(n=m-1)}}function e(i,o,a){var n=i[o];i[o]=i[a],i[a]=n}function r(i,o){return i<o?-1:i>o?1:0}return function(i,o,a,n,s){t(i,o,a||0,n||i.length-1,s||r)}}();var kv=hi(kf.exports);function Tv(t){let e=0;for(let r,i,o=0,a=t.length,n=a-1;o<a;n=o++)r=t[o],i=t[n],e+=(i.x-r.x)*(r.y+i.y);return e}function Hn(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.max(t[2],e[0]),t[3]=Math.max(t[3],e[1])}function Wn(t,e){return!(t[0]<=e[0]||t[2]>=e[2]||t[1]<=e[1]||t[3]>=e[3])}function Ev(t,e,r){const i=t[0]-e[0],o=t[1]-e[1],a=t[0]-r[0],n=t[1]-r[1];return i*n-a*o==0&&i*a<=0&&o*n<=0}function Wa(t,e,r=!1){let i=!1;for(let s=0,l=e.length;s<l;s++){const c=e[s];for(let u=0,h=c.length,d=h-1;u<h;d=u++){const p=c[d],f=c[u];if(Ev(t,p,f))return r;(a=p)[1]>(o=t)[1]!=(n=f)[1]>o[1]&&o[0]<(n[0]-a[0])*(o[1]-a[1])/(n[1]-a[1])+a[0]&&(i=!i)}}var o,a,n;return i}function Tf(t,e,r,i){const o=i[0]-r[0],a=i[1]-r[1],n=(t[0]-r[0])*a-o*(t[1]-r[1]),s=(e[0]-r[0])*a-o*(e[1]-r[1]);return n>0&&s<0||n<0&&s>0}function sl(t,e,r,i){return(o=[i[0]-r[0],i[1]-r[1]])[0]*(a=[e[0]-t[0],e[1]-t[1]])[1]-o[1]*a[0]!=0&&!(!Tf(t,e,r,i)||!Tf(r,i,t,e));var o,a}const So=8192;function Mv(t,e){const r=(180+t[0])/360,i=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t[1]*Math.PI/360)))/360,o=Math.pow(2,e.z);return[Math.round(r*o*So),Math.round(i*o*So)]}function Sv(t,e){for(let r=0;r<e.length;r++)if(Wa(t,e[r]))return!0;return!1}function Av(t,e,r){for(const i of r)for(let o=0,a=i.length,n=a-1;o<a;n=o++)if(sl(t,e,i[n],i[o]))return!0;return!1}function Ef(t,e){for(let r=0;r<t.length;++r)if(!Wa(t[r],e))return!1;for(let r=0;r<t.length-1;++r)if(Av(t[r],t[r+1],e))return!1;return!0}function Cv(t,e){for(let r=0;r<e.length;r++)if(Ef(t,e[r]))return!0;return!1}function Lu(t,e,r){const i=[];for(let o=0;o<t.length;o++){const a=[];for(let n=0;n<t[o].length;n++){const s=Mv(t[o][n],r);Hn(e,s),a.push(s)}i.push(a)}return i}function Mf(t,e,r){const i=[];for(let o=0;o<t.length;o++){const a=Lu(t[o],e,r);i.push(a)}return i}function Sf(t,e,r,i){if(t[0]<r[0]||t[0]>r[2]){const o=.5*i;let a=t[0]-r[0]>o?-i:r[0]-t[0]>o?i:0;a===0&&(a=t[0]-r[2]>o?-i:r[2]-t[0]>o?i:0),t[0]+=a}Hn(e,t)}function Af(t,e,r,i){const o=Math.pow(2,i.z)*So,a=[i.x*So,i.y*So],n=[];if(!t)return n;for(const s of t)for(const l of s){const c=[l.x+a[0],l.y+a[1]];Sf(c,e,r,o),n.push(c)}return n}function Cf(t,e,r,i){const o=Math.pow(2,i.z)*So,a=[i.x*So,i.y*So],n=[];if(!t)return n;for(const l of t){const c=[];for(const u of l){const h=[u.x+a[0],u.y+a[1]];Hn(e,h),c.push(h)}n.push(c)}if(e[2]-e[0]<=o/2){(s=e)[0]=s[1]=1/0,s[2]=s[3]=-1/0;for(const l of n)for(const c of l)Sf(c,e,r,o)}var s;return n}class Xn{constructor(e,r){this.type=yt,this.geojson=e,this.geometries=r}static parse(e,r){if(e.length!==2)return r.error(`'within' expression requires exactly one argument, but found ${e.length-1} instead.`);if(Ha(e[1])){const i=e[1];if(i.type==="FeatureCollection")for(let o=0;o<i.features.length;++o){const a=i.features[o].geometry.type;if(a==="Polygon"||a==="MultiPolygon")return new Xn(i,i.features[o].geometry)}else if(i.type==="Feature"){const o=i.geometry.type;if(o==="Polygon"||o==="MultiPolygon")return new Xn(i,i.geometry)}else if(i.type==="Polygon"||i.type==="MultiPolygon")return new Xn(i,i)}return r.error("'within' expression requires valid geojson object that contains polygon geometry type.")}evaluate(e){if(e.geometry()!=null&&e.canonicalID()!=null){if(e.geometryType()==="Point")return function(r,i){const o=[1/0,1/0,-1/0,-1/0],a=[1/0,1/0,-1/0,-1/0],n=r.canonicalID();if(!n)return!1;if(i.type==="Polygon"){const s=Lu(i.coordinates,a,n),l=Af(r.geometry(),o,a,n);if(!Wn(o,a))return!1;for(const c of l)if(!Wa(c,s))return!1}if(i.type==="MultiPolygon"){const s=Mf(i.coordinates,a,n),l=Af(r.geometry(),o,a,n);if(!Wn(o,a))return!1;for(const c of l)if(!Sv(c,s))return!1}return!0}(e,this.geometries);if(e.geometryType()==="LineString")return function(r,i){const o=[1/0,1/0,-1/0,-1/0],a=[1/0,1/0,-1/0,-1/0],n=r.canonicalID();if(!n)return!1;if(i.type==="Polygon"){const s=Lu(i.coordinates,a,n),l=Cf(r.geometry(),o,a,n);if(!Wn(o,a))return!1;for(const c of l)if(!Ef(c,s))return!1}if(i.type==="MultiPolygon"){const s=Mf(i.coordinates,a,n),l=Cf(r.geometry(),o,a,n);if(!Wn(o,a))return!1;for(const c of l)if(!Cv(c,s))return!1}return!0}(e,this.geometries)}return!1}eachChild(){}outputDefined(){return!0}serialize(){return["within",this.geojson]}}var Bu=Xn,If={exports:{}};If.exports=function(){var t={kilometers:1,miles:.621371192237334,nauticalmiles:.5399568034557235,meters:1e3,metres:1e3,yards:1093.6132983377079,feet:3280.839895013123,inches:39370.078740157485},e=1/298.257223563,r=e*(2-e),i=Math.PI/180,o=function(c,u){if(c===void 0)throw new Error("No latitude given.");if(u&&!t[u])throw new Error("Unknown unit "+u+". Use one of: "+Object.keys(t).join(", "));var h=6378.137*i*(u?t[u]:1),d=Math.cos(c*i),p=1/(1-r*(1-d*d)),f=Math.sqrt(p);this.kx=h*f*d,this.ky=h*f*p*(1-r)},a={units:{configurable:!0}};function n(c,u){return c[0]===u[0]&&c[1]===u[1]}function s(c,u,h){var d=l(u[0]-c[0]);return[c[0]+d*h,c[1]+(u[1]-c[1])*h]}function l(c){for(;c<-180;)c+=360;for(;c>180;)c-=360;return c}return o.fromTile=function(c,u,h){var d=Math.PI*(1-2*(c+.5)/Math.pow(2,u)),p=Math.atan(.5*(Math.exp(d)-Math.exp(-d)))/i;return new o(p,h)},a.units.get=function(){return t},o.prototype.distance=function(c,u){var h=l(c[0]-u[0])*this.kx,d=(c[1]-u[1])*this.ky;return Math.sqrt(h*h+d*d)},o.prototype.bearing=function(c,u){var h=l(u[0]-c[0])*this.kx;return Math.atan2(h,(u[1]-c[1])*this.ky)/i},o.prototype.destination=function(c,u,h){var d=h*i;return this.offset(c,Math.sin(d)*u,Math.cos(d)*u)},o.prototype.offset=function(c,u,h){return[c[0]+u/this.kx,c[1]+h/this.ky]},o.prototype.lineDistance=function(c){for(var u=0,h=0;h<c.length-1;h++)u+=this.distance(c[h],c[h+1]);return u},o.prototype.area=function(c){for(var u=0,h=0;h<c.length;h++)for(var d=c[h],p=0,f=d.length,m=f-1;p<f;m=p++)u+=l(d[p][0]-d[m][0])*(d[p][1]+d[m][1])*(h?-1:1);return Math.abs(u)/2*this.kx*this.ky},o.prototype.along=function(c,u){var h=0;if(u<=0)return c[0];for(var d=0;d<c.length-1;d++){var p=c[d],f=c[d+1],m=this.distance(p,f);if((h+=m)>u)return s(p,f,(u-(h-m))/m)}return c[c.length-1]},o.prototype.pointToSegmentDistance=function(c,u,h){var d=u[0],p=u[1],f=l(h[0]-d)*this.kx,m=(h[1]-p)*this.ky,g=0;return f===0&&m===0||((g=(l(c[0]-d)*this.kx*f+(c[1]-p)*this.ky*m)/(f*f+m*m))>1?(d=h[0],p=h[1]):g>0&&(d+=f/this.kx*g,p+=m/this.ky*g)),f=l(c[0]-d)*this.kx,m=(c[1]-p)*this.ky,Math.sqrt(f*f+m*m)},o.prototype.pointOnLine=function(c,u){for(var h,d,p,f,m=1/0,g=0;g<c.length-1;g++){var _=c[g][0],y=c[g][1],v=l(c[g+1][0]-_)*this.kx,b=(c[g+1][1]-y)*this.ky,x=0;v===0&&b===0||((x=(l(u[0]-_)*this.kx*v+(u[1]-y)*this.ky*b)/(v*v+b*b))>1?(_=c[g+1][0],y=c[g+1][1]):x>0&&(_+=v/this.kx*x,y+=b/this.ky*x));var w=(v=l(u[0]-_)*this.kx)*v+(b=(u[1]-y)*this.ky)*b;w<m&&(m=w,h=_,d=y,p=g,f=x)}return{point:[h,d],index:p,t:Math.max(0,Math.min(1,f))}},o.prototype.lineSlice=function(c,u,h){var d=this.pointOnLine(h,c),p=this.pointOnLine(h,u);if(d.index>p.index||d.index===p.index&&d.t>p.t){var f=d;d=p,p=f}var m=[d.point],g=d.index+1,_=p.index;!n(h[g],m[0])&&g<=_&&m.push(h[g]);for(var y=g+1;y<=_;y++)m.push(h[y]);return n(h[_],p.point)||m.push(p.point),m},o.prototype.lineSliceAlong=function(c,u,h){for(var d=0,p=[],f=0;f<h.length-1;f++){var m=h[f],g=h[f+1],_=this.distance(m,g);if((d+=_)>c&&p.length===0&&p.push(s(m,g,(c-(d-_))/_)),d>=u)return p.push(s(m,g,(u-(d-_))/_)),p;d>c&&p.push(g)}return p},o.prototype.bufferPoint=function(c,u){var h=u/this.ky,d=u/this.kx;return[c[0]-d,c[1]-h,c[0]+d,c[1]+h]},o.prototype.bufferBBox=function(c,u){var h=u/this.ky,d=u/this.kx;return[c[0]-d,c[1]-h,c[2]+d,c[3]+h]},o.prototype.insideBBox=function(c,u){return l(c[0]-u[0])>=0&&l(c[0]-u[2])<=0&&c[1]>=u[1]&&c[1]<=u[3]},Object.defineProperties(o,a),o}();var Ou=hi(If.exports),zf={exports:{}};zf.exports=function(){var t=function(r,i){if(r===void 0&&(r=[]),i===void 0&&(i=e),this.data=r,this.length=this.data.length,this.compare=i,this.length>0)for(var o=(this.length>>1)-1;o>=0;o--)this._down(o)};function e(r,i){return r<i?-1:r>i?1:0}return t.prototype.push=function(r){this.data.push(r),this.length++,this._up(this.length-1)},t.prototype.pop=function(){if(this.length!==0){var r=this.data[0],i=this.data.pop();return this.length--,this.length>0&&(this.data[0]=i,this._down(0)),r}},t.prototype.peek=function(){return this.data[0]},t.prototype._up=function(r){for(var i=this.data,o=this.compare,a=i[r];r>0;){var n=r-1>>1,s=i[n];if(o(a,s)>=0)break;i[r]=s,r=n}i[r]=a},t.prototype._down=function(r){for(var i=this.data,o=this.compare,a=this.length>>1,n=i[r];r<a;){var s=1+(r<<1),l=i[s],c=s+1;if(c<this.length&&o(i[c],l)<0&&(s=c,l=i[c]),o(l,n)>=0)break;i[r]=l,r=s}i[r]=n},t}();var Fu=hi(zf.exports),W=8192;function Df(t,e){return e.dist-t.dist}const Nu=100,Vu=50;function Pf(t){const e=[1/0,1/0,-1/0,-1/0];if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function ll(t){return t[1]-t[0]+1}function so(t,e){const r=t[1]>=t[0]&&t[1]<e;return r||console.warn("Distance Expression: Index is out of range"),r}function Uu(t,e){if(t[0]>t[1])return[null,null];const r=ll(t);if(e){if(r===2)return[t,null];const i=Math.floor(r/2);return[[t[0],t[0]+i],[t[0]+i,t[1]]]}{if(r===1)return[t,null];const i=Math.floor(r/2)-1;return[[t[0],t[0]+i],[t[0]+i+1,t[1]]]}}function fa(t,e){const r=[1/0,1/0,-1/0,-1/0];if(!so(e,t.length))return r;for(let i=e[0];i<=e[1];++i)Hn(r,t[i]);return r}function cl(t){const e=[1/0,1/0,-1/0,-1/0];for(let r=0;r<t.length;++r)for(let i=0;i<t[r].length;++i)Hn(e,t[r][i]);return e}function Xa(t,e,r){if(Pf(t)||Pf(e))return NaN;let i=0,o=0;return t[2]<e[0]&&(i=e[0]-t[2]),t[0]>e[2]&&(i=t[0]-e[2]),t[1]>e[3]&&(o=t[1]-e[3]),t[3]<e[1]&&(o=e[1]-t[3]),r.distance([0,0],[i,o])}function ju(t,e){const r=Math.pow(2,e.z);return[(o=(t.x/W+e.x)/r,360*o-180),(i=(t.y/W+e.y)/r,360/Math.PI*Math.atan(Math.exp((180-360*i)*Math.PI/180))-90)];var i,o}function Iv(t,e){const r=[];for(let i=0;i<t.length;++i)r.push(ju(t[i],e));return r}function Rf(t,e,r){const i=r.pointOnLine(e,t).point;return r.distance(t,i)}function Lf(t,e,r,i,o){const a=r.slice(i[0],i[1]+1);let n=1/0;for(let s=e[0];s<=e[1];++s)if((n=Math.min(n,Rf(t[s],a,o)))===0)return 0;return n}function Gu(t,e,r,i,o){const a=Math.min(o.pointToSegmentDistance(t,r,i),o.pointToSegmentDistance(e,r,i)),n=Math.min(o.pointToSegmentDistance(r,t,e),o.pointToSegmentDistance(i,t,e));return Math.min(a,n)}function zv(t,e,r,i,o){if(!so(e,t.length)||!so(i,r.length))return NaN;let a=1/0;for(let n=e[0];n<e[1];++n)for(let s=i[0];s<i[1];++s){if(sl(t[n],t[n+1],r[s],r[s+1]))return 0;a=Math.min(a,Gu(t[n],t[n+1],r[s],r[s+1],o))}return a}function Dv(t,e,r,i,o){if(!so(e,t.length)||!so(i,r.length))return NaN;let a=1/0;for(let n=e[0];n<=e[1];++n)for(let s=i[0];s<=i[1];++s)if((a=Math.min(a,o.distance(t[n],r[s])))===0)return a;return a}function Pv(t,e,r){if(Wa(t,e,!0))return 0;let i=1/0;for(const o of e){const a=o.length;if(a<2)return console.warn("Distance Expression: Invalid polygon!"),NaN;if(o[0]!==o[a-1]&&(i=Math.min(i,r.pointToSegmentDistance(t,o[a-1],o[0])))===0||(i=Math.min(i,Rf(t,o,r)))===0)return i}return i}function Rv(t,e,r,i){if(!so(e,t.length))return NaN;for(let a=e[0];a<=e[1];++a)if(Wa(t[a],r,!0))return 0;let o=1/0;for(let a=e[0];a<e[1];++a)for(const n of r)for(let s=0,l=n.length,c=l-1;s<l;c=s++){if(sl(t[a],t[a+1],n[c],n[s]))return 0;o=Math.min(o,Gu(t[a],t[a+1],n[c],n[s],i))}return o}function Bf(t,e){for(const r of t)for(let i=0;i<=r.length-1;++i)if(Wa(r[i],e,!0))return!0;return!1}function Lv(t,e,r,i=1/0){const o=cl(t),a=cl(e);if(i!==1/0&&Xa(o,a,r)>=i)return i;if(Wn(o,a)){if(Bf(t,e))return 0}else if(Bf(e,t))return 0;let n=i;for(const s of t)for(let l=0,c=s.length,u=c-1;l<c;u=l++)for(const h of e)for(let d=0,p=h.length,f=p-1;d<p;f=d++){if(sl(s[u],s[l],h[f],h[d]))return 0;n=Math.min(n,Gu(s[u],s[l],h[f],h[d],r))}return n}function ul(t,e,r,i,o,a,n){if(a===null||n===null)return;const s=Xa(fa(i,a),fa(o,n),r);s<e&&t.push({dist:s,range1:a,range2:n})}function Bv(t,e,r,i,o=1/0){let a=Math.min(i.distance(t[0],r[0][0]),o);if(a===0)return a;const n=new Fu([{dist:0,range1:[0,t.length-1],range2:[0,0]}],Df),s=e?Vu:Nu,l=cl(r);for(;n.length;){const c=n.pop();if(c.dist>=a)continue;const u=c.range1;if(ll(u)<=s){if(!so(u,t.length))return NaN;if(e){const h=Rv(t,u,r,i);if((a=Math.min(a,h))===0)return a}else for(let h=u[0];h<=u[1];++h){const d=Pv(t[h],r,i);if((a=Math.min(a,d))===0)return a}}else{const h=Uu(u,e);if(h[0]!==null){const d=Xa(fa(t,h[0]),l,i);d<a&&n.push({dist:d,range1:h[0],range2:[0,0]})}if(h[1]!==null){const d=Xa(fa(t,h[1]),l,i);d<a&&n.push({dist:d,range1:h[1],range2:[0,0]})}}}return a}function Of(t,e,r,i,o,a=1/0){let n=Math.min(a,o.distance(t[0],r[0]));if(n===0)return n;const s=new Fu([{dist:0,range1:[0,t.length-1],range2:[0,r.length-1]}],Df),l=e?Vu:Nu,c=i?Vu:Nu;for(;s.length;){const u=s.pop();if(u.dist>=n)continue;const h=u.range1,d=u.range2;if(ll(h)<=l&&ll(d)<=c){if(!so(h,t.length)||!so(d,r.length))return NaN;if(e&&i?n=Math.min(n,zv(t,h,r,d,o)):e||i?e&&!i?n=Math.min(n,Lf(r,d,t,h,o)):!e&&i&&(n=Math.min(n,Lf(t,h,r,d,o))):n=Math.min(n,Dv(t,h,r,d,o)),n===0)return n}else{const p=Uu(h,e),f=Uu(d,i);ul(s,n,o,t,r,p[0],f[0]),ul(s,n,o,t,r,p[0],f[1]),ul(s,n,o,t,r,p[1],f[0]),ul(s,n,o,t,r,p[1],f[1])}}return n}function qu(t,e,r,i,o=1/0){let a=o;const n=fa(t,[0,t.length-1]);for(const s of r)if(!(a!==1/0&&Xa(n,fa(s,[0,s.length-1]),i)>=a)&&(a=Math.min(a,Of(t,e,s,!0,i,a)),a===0))return a;return a}function hl(t,e,r,i,o=1/0){let a=o;const n=fa(t,[0,t.length-1]);for(const s of r){if(a!==1/0&&Xa(n,cl(s),i)>=a)continue;const l=Bv(t,e,s,i,a);if(isNaN(l))return l;if((a=Math.min(a,l))===0)return a}return a}function Zu(t){return t==="Point"||t==="MultiPoint"||t==="LineString"||t==="MultiLineString"||t==="Polygon"||t==="MultiPolygon"}class Yn{constructor(e,r){this.type=ye,this.geojson=e,this.geometries=r}static parse(e,r){if(e.length!==2)return r.error(`'distance' expression requires either one argument, but found ' ${e.length-1} instead.`);if(Ha(e[1])){const i=e[1];if(i.type==="FeatureCollection"){for(let o=0;o<i.features.length;++o)if(Zu(i.features[o].geometry.type))return new Yn(i,i.features[o].geometry)}else if(i.type==="Feature"){if(Zu(i.geometry.type))return new Yn(i,i.geometry)}else if(Zu(i.type))return new Yn(i,i)}return r.error("'distance' expression needs to be an array with format ['Distance', GeoJSONObj].")}evaluate(e){const r=e.geometry(),i=e.canonicalID();if(r!=null&&i!=null){if(e.geometryType()==="Point")return function(o,a,n){const s=[];for(const c of o)for(const u of c)s.push(ju(u,a));const l=new Ou(s[0][1],"meters");return n.type==="Point"||n.type==="MultiPoint"||n.type==="LineString"?Of(s,!1,n.type==="Point"?[n.coordinates]:n.coordinates,n.type==="LineString",l):n.type==="MultiLineString"?qu(s,!1,n.coordinates,l):n.type==="Polygon"||n.type==="MultiPolygon"?hl(s,!1,n.type==="Polygon"?[n.coordinates]:n.coordinates,l):null}(r,i,this.geometries);if(e.geometryType()==="LineString")return function(o,a,n){const s=[];for(const c of o){const u=[];for(const h of c)u.push(ju(h,a));s.push(u)}const l=new Ou(s[0][0][1],"meters");if(n.type==="Point"||n.type==="MultiPoint"||n.type==="LineString")return qu(n.type==="Point"?[n.coordinates]:n.coordinates,n.type==="LineString",s,l);if(n.type==="MultiLineString"){let c=1/0;for(let u=0;u<n.coordinates.length;u++){const h=qu(n.coordinates[u],!0,s,l,c);if(isNaN(h))return h;if((c=Math.min(c,h))===0)return c}return c}if(n.type==="Polygon"||n.type==="MultiPolygon"){let c=1/0;for(let u=0;u<s.length;u++){const h=hl(s[u],!0,n.type==="Polygon"?[n.coordinates]:n.coordinates,l,c);if(isNaN(h))return h;if((c=Math.min(c,h))===0)return c}return c}return null}(r,i,this.geometries);if(e.geometryType()==="Polygon")return function(o,a,n){const s=[];for(const c of function(u,h){const d=u.length;if(d<=1)return[u];const p=[];let f,m;for(let g=0;g<d;g++){const _=Tv(u[g]);_!==0&&(u[g].area=Math.abs(_),m===void 0&&(m=_<0),m===_<0?(f&&p.push(f),f=[u[g]]):f.push(u[g]))}return f&&p.push(f),p}(o)){const u=[];for(let h=0;h<c.length;++h)u.push(Iv(c[h],a));s.push(u)}const l=new Ou(s[0][0][0][1],"meters");if(n.type==="Point"||n.type==="MultiPoint"||n.type==="LineString")return hl(n.type==="Point"?[n.coordinates]:n.coordinates,n.type==="LineString",s,l);if(n.type==="MultiLineString"){let c=1/0;for(let u=0;u<n.coordinates.length;u++){const h=hl(n.coordinates[u],!0,s,l,c);if(isNaN(h))return h;if((c=Math.min(c,h))===0)return c}return c}return n.type==="Polygon"||n.type==="MultiPolygon"?function(c,u,h){let d=1/0;for(const p of c)for(const f of u){const m=Lv(p,f,h,d);if(isNaN(m))return m;if((d=Math.min(d,m))===0)return d}return d}(n.type==="Polygon"?[n.coordinates]:n.coordinates,s,l):null}(r,i,this.geometries);console.warn("Distance Expression: currently only evaluates valid Point/LineString/Polygon geometries.")}else console.warn("Distance Expression: requirs valid feature and canonical information.");return null}eachChild(){}outputDefined(){return!0}serialize(){return["distance",this.geojson]}}var $u=Yn;function Ya(t){if(t instanceof ji&&(t.name==="get"&&t.args.length===1||t.name==="feature-state"||t.name==="has"&&t.args.length===1||t.name==="properties"||t.name==="geometry-type"||t.name==="id"||/^filter-/.test(t.name))||t instanceof Bu||t instanceof $u)return!1;let e=!0;return t.eachChild(r=>{e&&!Ya(r)&&(e=!1)}),e}function Jn(t){if(t instanceof ji&&t.name==="feature-state")return!1;let e=!0;return t.eachChild(r=>{e&&!Jn(r)&&(e=!1)}),e}function Hu(t){if(t instanceof ji&&t.name==="config")return!1;let e=!0;return t.eachChild(r=>{e&&!Hu(r)&&(e=!1)}),e}function Ja(t,e){if(t instanceof ji&&e.indexOf(t.name)>=0)return!1;let r=!0;return t.eachChild(i=>{r&&!Ja(i,e)&&(r=!1)}),r}class Wu{constructor(e,r){this.type=r.type,this.name=e,this.boundExpression=r}static parse(e,r){if(e.length!==2||typeof e[1]!="string")return r.error("'var' expression requires exactly one string literal argument.");const i=e[1];return r.scope.has(i)?new Wu(i,r.scope.get(i)):r.error(`Unknown variable "${i}". Make sure "${i}" has been bound in an enclosing "let" expression before using it.`,1)}evaluate(e){return this.boundExpression.evaluate(e)}eachChild(){}outputDefined(){return!1}serialize(){return["var",this.name]}}var Ff=Wu;class Xu{constructor(e,r=[],i,o=new yv,a=[],n){this.registry=e,this.path=r,this.key=r.map(s=>`[${s}]`).join(""),this.scope=o,this.errors=a,this.expectedType=i,this.options=n}parse(e,r,i,o,a={}){return r||i?this.concat(r,i,o)._parse(e,a):this._parse(e,a)}_parse(e,r){function i(o,a,n){return n==="assert"?new no(a,[o]):n==="coerce"?new da(a,[o]):o}if(e!==null&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"||(e=["literal",e]),Array.isArray(e)){if(e.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');const o=typeof e[0]=="string"?this.registry[e[0]]:void 0;if(o){let a=o.parse(e,this);if(!a)return null;if(this.expectedType){const n=this.expectedType,s=a.type;if(n.kind!=="string"&&n.kind!=="number"&&n.kind!=="boolean"&&n.kind!=="object"&&n.kind!=="array"||s.kind!=="value")if(n.kind!=="color"&&n.kind!=="formatted"&&n.kind!=="resolvedImage"||s.kind!=="value"&&s.kind!=="string"){if(this.checkSubtype(n,s))return null}else a=i(a,n,r.typeAnnotation||"coerce");else a=i(a,n,r.typeAnnotation||"assert")}if(!(a instanceof qn)&&a.type.kind!=="resolvedImage"&&Yu(a)){const n=new wf(this.options);try{a=new qn(a.type,a.evaluate(n))}catch(s){return this.error(s.message),null}}return a}return da.parse(["to-array",e],this)}return this.error(e===void 0?"'undefined' value invalid. Use null instead.":typeof e=="object"?'Bare objects invalid. Use ["literal", {...}] instead.':`Expected an array, but found ${typeof e} instead.`)}concat(e,r,i){const o=typeof e=="number"?this.path.concat(e):this.path,a=i?this.scope.concat(i):this.scope;return new Xu(this.registry,o,r||null,a,this.errors,this.options)}error(e,...r){const i=`${this.key}${r.map(o=>`[${o}]`).join("")}`;this.errors.push(new Ui(i,e))}checkSubtype(e,r){const i=Un(e,r);return i&&this.error(i),i}}var Nf=Xu;function Yu(t){if(t instanceof Ff)return Yu(t.boundExpression);if(t instanceof ji&&t.name==="error"||t instanceof ji&&t.name==="config"||t instanceof nl||t instanceof Bu||t instanceof $u)return!1;const e=t instanceof da||t instanceof no;let r=!0;return t.eachChild(i=>{r=e?r&&Yu(i):r&&i instanceof qn}),!!r&&Ya(t)&&Ja(t,["zoom","heatmap-density","line-progress","raster-value","sky-radial-progress","accumulated","is-supported-script","pitch","distance-from-center","measure-light"])}function dl(t,e){const r=t.length-1;let i,o,a=0,n=r,s=0;for(;a<=n;)if(s=Math.floor((a+n)/2),i=t[s],o=t[s+1],i<=e){if(s===r||e<o)return s;a=s+1}else{if(!(i>e))throw new Tr("Input is not a number.");n=s-1}return 0}class Ju{constructor(e,r,i){this.type=e,this.input=r,this.labels=[],this.outputs=[];for(const[o,a]of i)this.labels.push(o),this.outputs.push(a)}static parse(e,r){if(e.length-1<4)return r.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!=0)return r.error("Expected an even number of arguments.");const i=r.parse(e[1],1,ye);if(!i)return null;const o=[];let a=null;r.expectedType&&r.expectedType.kind!=="value"&&(a=r.expectedType);for(let n=1;n<e.length;n+=2){const s=n===1?-1/0:e[n],l=e[n+1],c=n,u=n+1;if(typeof s!="number")return r.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',c);if(o.length&&o[o.length-1][0]>=s)return r.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',c);const h=r.parse(l,u,a);if(!h)return null;a=a||h.type,o.push([s,h])}return new Ju(a,i,o)}evaluate(e){const r=this.labels,i=this.outputs;if(r.length===1)return i[0].evaluate(e);const o=this.input.evaluate(e);if(o<=r[0])return i[0].evaluate(e);const a=r.length;return o>=r[a-1]?i[a-1].evaluate(e):i[dl(r,o)].evaluate(e)}eachChild(e){e(this.input);for(const r of this.outputs)e(r)}outputDefined(){return this.outputs.every(e=>e.outputDefined())}serialize(){const e=["step",this.input.serialize()];for(let r=0;r<this.labels.length;r++)r>0&&e.push(this.labels[r]),e.push(this.outputs[r].serialize());return e}}var Ku=Ju;function Ne(t,e,r){return t*(1-r)+e*r}function Vf(t,e,r){return t.map((i,o)=>Ne(i,e[o],r))}var pl=Object.freeze({__proto__:null,array:Vf,color:function(t,e,r){return new Qe(Ne(t.r,e.r,r),Ne(t.g,e.g,r),Ne(t.b,e.b,r),Ne(t.a,e.a,r))},number:Ne});const Uf=.95047,jf=1.08883,Gf=4/29,Ka=6/29,qf=3*Ka*Ka,Ov=Ka*Ka*Ka,Fv=Math.PI/180,Nv=180/Math.PI;function Qu(t){return t>Ov?Math.pow(t,1/3):t/qf+Gf}function eh(t){return t>Ka?t*t*t:qf*(t-Gf)}function th(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function rh(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Zf(t){const e=rh(t.r),r=rh(t.g),i=rh(t.b),o=Qu((.4124564*e+.3575761*r+.1804375*i)/Uf),a=Qu((.2126729*e+.7151522*r+.072175*i)/1);return{l:116*a-16,a:500*(o-a),b:200*(a-Qu((.0193339*e+.119192*r+.9503041*i)/jf)),alpha:t.a}}function $f(t){let e=(t.l+16)/116,r=isNaN(t.a)?e:e+t.a/500,i=isNaN(t.b)?e:e-t.b/200;return e=1*eh(e),r=Uf*eh(r),i=jf*eh(i),new Qe(th(3.2404542*r-1.5371385*e-.4985314*i),th(-.969266*r+1.8760108*e+.041556*i),th(.0556434*r-.2040259*e+1.0572252*i),t.alpha)}function Vv(t,e,r){const i=e-t;return t+r*(i>180||i<-180?i-360*Math.round(i/360):i)}const Kn={forward:Zf,reverse:$f,interpolate:function(t,e,r){return{l:Ne(t.l,e.l,r),a:Ne(t.a,e.a,r),b:Ne(t.b,e.b,r),alpha:Ne(t.alpha,e.alpha,r)}}},Qn={forward:function(t){const{l:e,a:r,b:i}=Zf(t),o=Math.atan2(i,r)*Nv;return{h:o<0?o+360:o,c:Math.sqrt(r*r+i*i),l:e,alpha:t.a}},reverse:function(t){const e=t.h*Fv,r=t.c;return $f({l:t.l,a:Math.cos(e)*r,b:Math.sin(e)*r,alpha:t.alpha})},interpolate:function(t,e,r){return{h:Vv(t.h,e.h,r),c:Ne(t.c,e.c,r),l:Ne(t.l,e.l,r),alpha:Ne(t.alpha,e.alpha,r)}}};var Hf=Object.freeze({__proto__:null,hcl:Qn,lab:Kn});class fl{constructor(e,r,i,o,a){this.type=e,this.operator=r,this.interpolation=i,this.input=o,this.labels=[],this.outputs=[];for(const[n,s]of a)this.labels.push(n),this.outputs.push(s)}static interpolationFactor(e,r,i,o){let a=0;if(e.name==="exponential")a=ih(r,e.base,i,o);else if(e.name==="linear")a=ih(r,1,i,o);else if(e.name==="cubic-bezier"){const n=e.controlPoints;a=new Ws(n[0],n[1],n[2],n[3]).solve(ih(r,1,i,o))}return a}static parse(e,r){let[i,o,a,...n]=e;if(!Array.isArray(o)||o.length===0)return r.error("Expected an interpolation type expression.",1);if(o[0]==="linear")o={name:"linear"};else if(o[0]==="exponential"){const c=o[1];if(typeof c!="number")return r.error("Exponential interpolation requires a numeric base.",1,1);o={name:"exponential",base:c}}else{if(o[0]!=="cubic-bezier")return r.error(`Unknown interpolation type ${String(o[0])}`,1,0);{const c=o.slice(1);if(c.length!==4||c.some(u=>typeof u!="number"||u<0||u>1))return r.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);o={name:"cubic-bezier",controlPoints:c}}}if(e.length-1<4)return r.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!=0)return r.error("Expected an even number of arguments.");if(a=r.parse(a,2,ye),!a)return null;const s=[];let l=null;i==="interpolate-hcl"||i==="interpolate-lab"?l=fi:r.expectedType&&r.expectedType.kind!=="value"&&(l=r.expectedType);for(let c=0;c<n.length;c+=2){const u=n[c],h=n[c+1],d=c+3,p=c+4;if(typeof u!="number")return r.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',d);if(s.length&&s[s.length-1][0]>=u)return r.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',d);const f=r.parse(h,p,l);if(!f)return null;l=l||f.type,s.push([u,f])}return l.kind==="number"||l.kind==="color"||l.kind==="array"&&l.itemType.kind==="number"&&typeof l.N=="number"?new fl(l,i,o,a,s):r.error(`Type ${ar(l)} is not interpolatable.`)}evaluate(e){const r=this.labels,i=this.outputs;if(r.length===1)return i[0].evaluate(e);const o=this.input.evaluate(e);if(o<=r[0])return i[0].evaluate(e);const a=r.length;if(o>=r[a-1])return i[a-1].evaluate(e);const n=dl(r,o),s=fl.interpolationFactor(this.interpolation,o,r[n],r[n+1]),l=i[n].evaluate(e),c=i[n+1].evaluate(e);return this.operator==="interpolate"?pl[this.type.kind.toLowerCase()](l,c,s):this.operator==="interpolate-hcl"?Qn.reverse(Qn.interpolate(Qn.forward(l),Qn.forward(c),s)):Kn.reverse(Kn.interpolate(Kn.forward(l),Kn.forward(c),s))}eachChild(e){e(this.input);for(const r of this.outputs)e(r)}outputDefined(){return this.outputs.every(e=>e.outputDefined())}serialize(){let e;e=this.interpolation.name==="linear"?["linear"]:this.interpolation.name==="exponential"?this.interpolation.base===1?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);const r=[this.operator,e,this.input.serialize()];for(let i=0;i<this.labels.length;i++)r.push(this.labels[i],this.outputs[i].serialize());return r}}function ih(t,e,r,i){const o=i-r,a=t-r;return o===0?0:e===1?a/o:(Math.pow(e,a)-1)/(Math.pow(e,o)-1)}var Gi=fl;class oh{constructor(e,r){this.type=e,this.args=r}static parse(e,r){if(e.length<2)return r.error("Expectected at least one argument.");let i=null;const o=r.expectedType;o&&o.kind!=="value"&&(i=o);const a=[];for(const s of e.slice(1)){const l=r.parse(s,1+a.length,i,void 0,{typeAnnotation:"omit"});if(!l)return null;i=i||l.type,a.push(l)}const n=o&&a.some(s=>Un(o,s.type));return new oh(n?gt:i,a)}evaluate(e){let r,i=null,o=0;for(const a of this.args){if(o++,i=a.evaluate(e),i&&i instanceof mi&&!i.available&&(r||(r=i),i=null,o===this.args.length))return r;if(i!==null)break}return i}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every(e=>e.outputDefined())}serialize(){const e=["coalesce"];return this.eachChild(r=>{e.push(r.serialize())}),e}}var Wf=oh;class ah{constructor(e,r){this.type=r.type,this.bindings=[].concat(e),this.result=r}evaluate(e){return this.result.evaluate(e)}eachChild(e){for(const r of this.bindings)e(r[1]);e(this.result)}static parse(e,r){if(e.length<4)return r.error(`Expected at least 3 arguments, but found ${e.length-1} instead.`);const i=[];for(let a=1;a<e.length-1;a+=2){const n=e[a];if(typeof n!="string")return r.error(`Expected string, but found ${typeof n} instead.`,a);if(/[^a-zA-Z0-9_]/.test(n))return r.error("Variable names must contain only alphanumeric characters or '_'.",a);const s=r.parse(e[a+1],a+1);if(!s)return null;i.push([n,s])}const o=r.parse(e[e.length-1],e.length-1,r.expectedType,i);return o?new ah(i,o):null}outputDefined(){return this.result.outputDefined()}serialize(){const e=["let"];for(const[r,i]of this.bindings)e.push(r,i.serialize());return e.push(this.result.serialize()),e}}var Xf=ah;class nh{constructor(e,r,i){this.type=e,this.index=r,this.input=i}static parse(e,r){if(e.length!==3)return r.error(`Expected 2 arguments, but found ${e.length-1} instead.`);const i=r.parse(e[1],1,ye),o=r.parse(e[2],2,Hr(r.expectedType||gt));return i&&o?new nh(o.type.itemType,i,o):null}evaluate(e){const r=this.index.evaluate(e),i=this.input.evaluate(e);if(r<0)throw new Tr(`Array index out of bounds: ${r} < 0.`);if(r>=i.length)throw new Tr(`Array index out of bounds: ${r} > ${i.length-1}.`);if(r!==Math.floor(r))throw new Tr(`Array index must be an integer, but found ${r} instead.`);return i[r]}eachChild(e){e(this.index),e(this.input)}outputDefined(){return!1}serialize(){return["at",this.index.serialize(),this.input.serialize()]}}var Uv=nh;class sh{constructor(e,r){this.type=yt,this.needle=e,this.haystack=r}static parse(e,r){if(e.length!==3)return r.error(`Expected 2 arguments, but found ${e.length-1} instead.`);const i=r.parse(e[1],1,gt),o=r.parse(e[2],2,gt);return i&&o?Eu(i.type,[yt,ft,ye,Za,gt])?new sh(i,o):r.error(`Expected first argument to be of type boolean, string, number or null, but found ${ar(i.type)} instead`):null}evaluate(e){const r=this.needle.evaluate(e),i=this.haystack.evaluate(e);if(i==null)return!1;if(!jn(r,["boolean","string","number","null"]))throw new Tr(`Expected first argument to be of type boolean, string, number or null, but found ${ar(mr(r))} instead.`);if(!jn(i,["string","array"]))throw new Tr(`Expected second argument to be of type array or string, but found ${ar(mr(i))} instead.`);return i.indexOf(r)>=0}eachChild(e){e(this.needle),e(this.haystack)}outputDefined(){return!0}serialize(){return["in",this.needle.serialize(),this.haystack.serialize()]}}var jv=sh;class ml{constructor(e,r,i){this.type=ye,this.needle=e,this.haystack=r,this.fromIndex=i}static parse(e,r){if(e.length<=2||e.length>=5)return r.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const i=r.parse(e[1],1,gt),o=r.parse(e[2],2,gt);if(!i||!o)return null;if(!Eu(i.type,[yt,ft,ye,Za,gt]))return r.error(`Expected first argument to be of type boolean, string, number or null, but found ${ar(i.type)} instead`);if(e.length===4){const a=r.parse(e[3],3,ye);return a?new ml(i,o,a):null}return new ml(i,o)}evaluate(e){const r=this.needle.evaluate(e),i=this.haystack.evaluate(e);if(!jn(r,["boolean","string","number","null"]))throw new Tr(`Expected first argument to be of type boolean, string, number or null, but found ${ar(mr(r))} instead.`);if(!jn(i,["string","array"]))throw new Tr(`Expected second argument to be of type array or string, but found ${ar(mr(i))} instead.`);if(this.fromIndex){const o=this.fromIndex.evaluate(e);return i.indexOf(r,o)}return i.indexOf(r)}eachChild(e){e(this.needle),e(this.haystack),this.fromIndex&&e(this.fromIndex)}outputDefined(){return!1}serialize(){if(this.fromIndex!=null&&this.fromIndex!==void 0){const e=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),e]}return["index-of",this.needle.serialize(),this.haystack.serialize()]}}var Gv=ml;class lh{constructor(e,r,i,o,a,n){this.inputType=e,this.type=r,this.input=i,this.cases=o,this.outputs=a,this.otherwise=n}static parse(e,r){if(e.length<5)return r.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if(e.length%2!=1)return r.error("Expected an even number of arguments.");let i,o;r.expectedType&&r.expectedType.kind!=="value"&&(o=r.expectedType);const a={},n=[];for(let c=2;c<e.length-1;c+=2){let u=e[c];const h=e[c+1];Array.isArray(u)||(u=[u]);const d=r.concat(c);if(u.length===0)return d.error("Expected at least one branch label.");for(const f of u){if(typeof f!="number"&&typeof f!="string")return d.error("Branch labels must be numbers or strings.");if(typeof f=="number"&&Math.abs(f)>Number.MAX_SAFE_INTEGER)return d.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if(typeof f=="number"&&Math.floor(f)!==f)return d.error("Numeric branch labels must be integer values.");if(i){if(d.checkSubtype(i,mr(f)))return null}else i=mr(f);if(a[String(f)]!==void 0)return d.error("Branch labels must be unique.");a[String(f)]=n.length}const p=r.parse(h,c,o);if(!p)return null;o=o||p.type,n.push(p)}const s=r.parse(e[1],1,gt);if(!s)return null;const l=r.parse(e[e.length-1],e.length-1,o);return l?s.type.kind!=="value"&&r.concat(1).checkSubtype(i,s.type)?null:new lh(i,o,s,a,n,l):null}evaluate(e){const r=this.input.evaluate(e);return(mr(r)===this.inputType&&this.outputs[this.cases[r]]||this.otherwise).evaluate(e)}eachChild(e){e(this.input),this.outputs.forEach(e),e(this.otherwise)}outputDefined(){return this.outputs.every(e=>e.outputDefined())&&this.otherwise.outputDefined()}serialize(){const e=["match",this.input.serialize()],r=Object.keys(this.cases).sort(),i=[],o={};for(const n of r){const s=o[this.cases[n]];s===void 0?(o[this.cases[n]]=i.length,i.push([this.cases[n],[n]])):i[s][1].push(n)}const a=n=>this.inputType.kind==="number"?Number(n):n;for(const[n,s]of i)e.push(s.length===1?a(s[0]):s.map(a)),e.push(this.outputs[n].serialize());return e.push(this.otherwise.serialize()),e}}var qv=lh;class ch{constructor(e,r,i){this.type=e,this.branches=r,this.otherwise=i}static parse(e,r){if(e.length<4)return r.error(`Expected at least 3 arguments, but found only ${e.length-1}.`);if(e.length%2!=0)return r.error("Expected an odd number of arguments.");let i;r.expectedType&&r.expectedType.kind!=="value"&&(i=r.expectedType);const o=[];for(let n=1;n<e.length-1;n+=2){const s=r.parse(e[n],n,yt);if(!s)return null;const l=r.parse(e[n+1],n+1,i);if(!l)return null;o.push([s,l]),i=i||l.type}const a=r.parse(e[e.length-1],e.length-1,i);return a?new ch(i,o,a):null}evaluate(e){for(const[r,i]of this.branches)if(r.evaluate(e))return i.evaluate(e);return this.otherwise.evaluate(e)}eachChild(e){for(const[r,i]of this.branches)e(r),e(i);e(this.otherwise)}outputDefined(){return this.branches.every(([e,r])=>r.outputDefined())&&this.otherwise.outputDefined()}serialize(){const e=["case"];return this.eachChild(r=>{e.push(r.serialize())}),e}}var Zv=ch;class gl{constructor(e,r,i,o){this.type=e,this.input=r,this.beginIndex=i,this.endIndex=o}static parse(e,r){if(e.length<=2||e.length>=5)return r.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const i=r.parse(e[1],1,gt),o=r.parse(e[2],2,ye);if(!i||!o)return null;if(!Eu(i.type,[Hr(gt),ft,gt]))return r.error(`Expected first argument to be of type array or string, but found ${ar(i.type)} instead`);if(e.length===4){const a=r.parse(e[3],3,ye);return a?new gl(i.type,i,o,a):null}return new gl(i.type,i,o)}evaluate(e){const r=this.input.evaluate(e),i=this.beginIndex.evaluate(e);if(!jn(r,["string","array"]))throw new Tr(`Expected first argument to be of type array or string, but found ${ar(mr(r))} instead.`);if(this.endIndex){const o=this.endIndex.evaluate(e);return r.slice(i,o)}return r.slice(i)}eachChild(e){e(this.input),e(this.beginIndex),this.endIndex&&e(this.endIndex)}outputDefined(){return!1}serialize(){if(this.endIndex!=null&&this.endIndex!==void 0){const e=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),e]}return["slice",this.input.serialize(),this.beginIndex.serialize()]}}var $v=gl;function Yf(t,e){return t==="=="||t==="!="?e.kind==="boolean"||e.kind==="string"||e.kind==="number"||e.kind==="null"||e.kind==="value":e.kind==="string"||e.kind==="number"||e.kind==="value"}function Jf(t,e,r,i){return i.compare(e,r)===0}function Qa(t,e,r){const i=t!=="=="&&t!=="!=";return class hv{constructor(a,n,s){this.type=yt,this.lhs=a,this.rhs=n,this.collator=s,this.hasUntypedArgument=a.type.kind==="value"||n.type.kind==="value"}static parse(a,n){if(a.length!==3&&a.length!==4)return n.error("Expected two or three arguments.");const s=a[0];let l=n.parse(a[1],1,gt);if(!l)return null;if(!Yf(s,l.type))return n.concat(1).error(`"${s}" comparisons are not supported for type '${ar(l.type)}'.`);let c=n.parse(a[2],2,gt);if(!c)return null;if(!Yf(s,c.type))return n.concat(2).error(`"${s}" comparisons are not supported for type '${ar(c.type)}'.`);if(l.type.kind!==c.type.kind&&l.type.kind!=="value"&&c.type.kind!=="value")return n.error(`Cannot compare types '${ar(l.type)}' and '${ar(c.type)}'.`);i&&(l.type.kind==="value"&&c.type.kind!=="value"?l=new no(c.type,[l]):l.type.kind!=="value"&&c.type.kind==="value"&&(c=new no(l.type,[c])));let u=null;if(a.length===4){if(l.type.kind!=="string"&&c.type.kind!=="string"&&l.type.kind!=="value"&&c.type.kind!=="value")return n.error("Cannot use collator to compare non-string types.");if(u=n.parse(a[3],3,il),!u)return null}return new hv(l,c,u)}evaluate(a){const n=this.lhs.evaluate(a),s=this.rhs.evaluate(a);if(i&&this.hasUntypedArgument){const l=mr(n),c=mr(s);if(l.kind!==c.kind||l.kind!=="string"&&l.kind!=="number")throw new Tr(`Expected arguments for "${t}" to be (string, string) or (number, number), but found (${l.kind}, ${c.kind}) instead.`)}if(this.collator&&!i&&this.hasUntypedArgument){const l=mr(n),c=mr(s);if(l.kind!=="string"||c.kind!=="string")return e(a,n,s)}return this.collator?r(a,n,s,this.collator.evaluate(a)):e(a,n,s)}eachChild(a){a(this.lhs),a(this.rhs),this.collator&&a(this.collator)}outputDefined(){return!0}serialize(){const a=[t];return this.eachChild(n=>{a.push(n.serialize())}),a}}}const Hv=Qa("==",function(t,e,r){return e===r},Jf),Wv=Qa("!=",function(t,e,r){return e!==r},function(t,e,r,i){return!Jf(0,e,r,i)}),Xv=Qa("<",function(t,e,r){return e<r},function(t,e,r,i){return i.compare(e,r)<0}),Yv=Qa(">",function(t,e,r){return e>r},function(t,e,r,i){return i.compare(e,r)>0}),Jv=Qa("<=",function(t,e,r){return e<=r},function(t,e,r,i){return i.compare(e,r)<=0}),Kv=Qa(">=",function(t,e,r){return e>=r},function(t,e,r,i){return i.compare(e,r)>=0});class uh{constructor(e,r,i,o,a,n){this.type=ft,this.number=e,this.locale=r,this.currency=i,this.unit=o,this.minFractionDigits=a,this.maxFractionDigits=n}static parse(e,r){if(e.length!==3)return r.error("Expected two arguments.");const i=r.parse(e[1],1,ye);if(!i)return null;const o=e[2];if(typeof o!="object"||Array.isArray(o))return r.error("NumberFormat options argument must be an object.");let a=null;if(o.locale&&(a=r.parse(o.locale,1,ft),!a))return null;let n=null;if(o.currency&&(n=r.parse(o.currency,1,ft),!n))return null;let s=null;if(o.unit&&(s=r.parse(o.unit,1,ft),!s))return null;let l=null;if(o["min-fraction-digits"]&&(l=r.parse(o["min-fraction-digits"],1,ye),!l))return null;let c=null;return o["max-fraction-digits"]&&(c=r.parse(o["max-fraction-digits"],1,ye),!c)?null:new uh(i,a,n,s,l,c)}evaluate(e){return new Intl.NumberFormat(this.locale?this.locale.evaluate(e):[],{style:(this.currency?"currency":this.unit&&"unit")||"decimal",currency:this.currency?this.currency.evaluate(e):void 0,unit:this.unit?this.unit.evaluate(e):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(e):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(e):void 0}).format(this.number.evaluate(e))}eachChild(e){e(this.number),this.locale&&e(this.locale),this.currency&&e(this.currency),this.unit&&e(this.unit),this.minFractionDigits&&e(this.minFractionDigits),this.maxFractionDigits&&e(this.maxFractionDigits)}outputDefined(){return!1}serialize(){const e={};return this.locale&&(e.locale=this.locale.serialize()),this.currency&&(e.currency=this.currency.serialize()),this.unit&&(e.unit=this.unit.serialize()),this.minFractionDigits&&(e["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(e["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),e]}}class hh{constructor(e){this.type=ye,this.input=e}static parse(e,r){if(e.length!==2)return r.error(`Expected 1 argument, but found ${e.length-1} instead.`);const i=r.parse(e[1],1);return i?i.type.kind!=="array"&&i.type.kind!=="string"&&i.type.kind!=="value"?r.error(`Expected argument of type string or array, but found ${ar(i.type)} instead.`):new hh(i):null}evaluate(e){const r=this.input.evaluate(e);if(typeof r=="string"||Array.isArray(r))return r.length;throw new Tr(`Expected value to be of type string or array, but found ${ar(mr(r))} instead.`)}eachChild(e){e(this.input)}outputDefined(){return!1}serialize(){const e=["length"];return this.eachChild(r=>{e.push(r.serialize())}),e}}function dh(t){return function(){t=1831565813+(t|=0)|0;let e=Math.imul(t^t>>>15,1|t);return e=e+Math.imul(e^e>>>7,61|e)^e,((e^e>>>14)>>>0)/4294967296}}const Kf={"==":Hv,"!=":Wv,">":Yv,"<":Xv,">=":Kv,"<=":Jv,array:no,at:Uv,boolean:no,case:Zv,coalesce:Wf,collator:nl,format:Zn,image:$n,in:jv,"index-of":Gv,interpolate:Gi,"interpolate-hcl":Gi,"interpolate-lab":Gi,length:hh,let:Xf,literal:qn,match:qv,number:no,"number-format":uh,object:no,slice:$v,step:Ku,string:no,"to-boolean":da,"to-color":da,"to-number":da,"to-string":da,var:Ff,within:Bu,distance:$u};function Qf(t,[e,r,i,o]){e=e.evaluate(t),r=r.evaluate(t),i=i.evaluate(t);const a=o?o.evaluate(t):1,n=bf(e,r,i,a);if(n)throw new Tr(n);return new Qe(e/255*a,r/255*a,i/255*a,a)}function em(t,[e,r,i,o]){e=e.evaluate(t),r=r.evaluate(t),i=i.evaluate(t);const a=o?o.evaluate(t):1,n=function(c,u,h,d){return typeof c=="number"&&c>=0&&c<=360?typeof u=="number"&&u>=0&&u<=100&&typeof h=="number"&&h>=0&&h<=100?d===void 0||typeof d=="number"&&d>=0&&d<=1?null:`Invalid hsla value [${[c,u,h,d].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid hsla value [${(typeof d=="number"?[c,u,h,d]:[c,u,h]).join(", ")}]: 's', and 'l' must be between 0 and 100.`:`Invalid hsla value [${(typeof d=="number"?[c,u,h,d]:[c,u,h]).join(", ")}]: 'h' must be between 0 and 360.`}(e,r,i,a);if(n)throw new Tr(n);const s=`hsla(${e}, ${r}%, ${i}%, ${a})`,l=Qe.parse(s);if(!l)throw new Tr(`Failed to parse HSLA color: ${s}`);return l}function tm(t,e){return t in e}function ph(t,e){const r=e[t];return r===void 0?null:r}function rm(t,e){switch(t){case"string":return String(e);case"number":return+e;case"boolean":return!!e;case"color":return Qe.parse(e)}return e}function im(t,e,r,i){return i!==void 0&&(t=i*Math.round(t/i)),e!==void 0&&t<e&&(t=e),r!==void 0&&t>r&&(t=r),t}function om(t,e,r){r.length&&(e+=`${r}`);const i=t.getConfig(e);if(!i)return null;const{type:o,value:a,values:n,minValue:s,maxValue:l,stepValue:c}=i,u=i.default.evaluate(t);let h=a?a.evaluate(t):u;return o&&(h=rm(o,h)),a!==void 0&&h!==void 0&&n&&!n.includes(h)&&(h=u,o&&(h=rm(o,h))),h===void 0||s===void 0&&l===void 0&&c===void 0||(typeof h=="number"?h=im(h,s,l,c):Array.isArray(h)&&(h=h.map(d=>typeof d=="number"?im(d,s,l,c):d))),h}function ma(t){return{type:t}}ji.register(Kf,{error:[{kind:"error"},[ft],(t,[e])=>{throw new Tr(e.evaluate(t))}],typeof:[ft,[gt],(t,[e])=>ar(mr(e.evaluate(t)))],"to-rgba":[Hr(ye,4),[fi],(t,[e])=>e.evaluate(t).toArray()],rgb:[fi,[ye,ye,ye],Qf],rgba:[fi,[ye,ye,ye,ye],Qf],hsl:[fi,[ye,ye,ye],em],hsla:[fi,[ye,ye,ye,ye],em],has:{type:yt,overloads:[[[ft],(t,[e])=>tm(e.evaluate(t),t.properties())],[[ft,$a],(t,[e,r])=>tm(e.evaluate(t),r.evaluate(t))]]},get:{type:gt,overloads:[[[ft],(t,[e])=>ph(e.evaluate(t),t.properties())],[[ft,$a],(t,[e,r])=>ph(e.evaluate(t),r.evaluate(t))]]},config:{type:gt,overloads:[[[ft],(t,[e])=>om(t,e.evaluate(t),"")],[[ft,ft],(t,[e,r])=>om(t,e.evaluate(t),r.evaluate(t))]]},"feature-state":[gt,[ft],(t,[e])=>ph(e.evaluate(t),t.featureState||{})],properties:[$a,[],t=>t.properties()],"geometry-type":[ft,[],t=>t.geometryType()],id:[gt,[],t=>t.id()],zoom:[ye,[],t=>t.globals.zoom],pitch:[ye,[],t=>t.globals.pitch||0],"distance-from-center":[ye,[],t=>t.distanceFromCenter()],"measure-light":[ye,[ft],(t,[e])=>t.measureLight(e.evaluate(t))],"heatmap-density":[ye,[],t=>t.globals.heatmapDensity||0],"line-progress":[ye,[],t=>t.globals.lineProgress||0],"raster-value":[ye,[],t=>t.globals.rasterValue||0],"sky-radial-progress":[ye,[],t=>t.globals.skyRadialProgress||0],accumulated:[gt,[],t=>t.globals.accumulated===void 0?null:t.globals.accumulated],"+":[ye,ma(ye),(t,e)=>{let r=0;for(const i of e)r+=i.evaluate(t);return r}],"*":[ye,ma(ye),(t,e)=>{let r=1;for(const i of e)r*=i.evaluate(t);return r}],"-":{type:ye,overloads:[[[ye,ye],(t,[e,r])=>e.evaluate(t)-r.evaluate(t)],[[ye],(t,[e])=>-e.evaluate(t)]]},"/":[ye,[ye,ye],(t,[e,r])=>e.evaluate(t)/r.evaluate(t)],"%":[ye,[ye,ye],(t,[e,r])=>e.evaluate(t)%r.evaluate(t)],ln2:[ye,[],()=>Math.LN2],pi:[ye,[],()=>Math.PI],e:[ye,[],()=>Math.E],"^":[ye,[ye,ye],(t,[e,r])=>Math.pow(e.evaluate(t),r.evaluate(t))],sqrt:[ye,[ye],(t,[e])=>Math.sqrt(e.evaluate(t))],log10:[ye,[ye],(t,[e])=>Math.log(e.evaluate(t))/Math.LN10],ln:[ye,[ye],(t,[e])=>Math.log(e.evaluate(t))],log2:[ye,[ye],(t,[e])=>Math.log(e.evaluate(t))/Math.LN2],sin:[ye,[ye],(t,[e])=>Math.sin(e.evaluate(t))],cos:[ye,[ye],(t,[e])=>Math.cos(e.evaluate(t))],tan:[ye,[ye],(t,[e])=>Math.tan(e.evaluate(t))],asin:[ye,[ye],(t,[e])=>Math.asin(e.evaluate(t))],acos:[ye,[ye],(t,[e])=>Math.acos(e.evaluate(t))],atan:[ye,[ye],(t,[e])=>Math.atan(e.evaluate(t))],min:[ye,ma(ye),(t,e)=>Math.min(...e.map(r=>r.evaluate(t)))],max:[ye,ma(ye),(t,e)=>Math.max(...e.map(r=>r.evaluate(t)))],abs:[ye,[ye],(t,[e])=>Math.abs(e.evaluate(t))],round:[ye,[ye],(t,[e])=>{const r=e.evaluate(t);return r<0?-Math.round(-r):Math.round(r)}],floor:[ye,[ye],(t,[e])=>Math.floor(e.evaluate(t))],ceil:[ye,[ye],(t,[e])=>Math.ceil(e.evaluate(t))],"filter-==":[yt,[ft,gt],(t,[e,r])=>t.properties()[e.value]===r.value],"filter-id-==":[yt,[gt],(t,[e])=>t.id()===e.value],"filter-type-==":[yt,[ft],(t,[e])=>t.geometryType()===e.value],"filter-<":[yt,[ft,gt],(t,[e,r])=>{const i=t.properties()[e.value],o=r.value;return typeof i==typeof o&&i<o}],"filter-id-<":[yt,[gt],(t,[e])=>{const r=t.id(),i=e.value;return typeof r==typeof i&&r<i}],"filter->":[yt,[ft,gt],(t,[e,r])=>{const i=t.properties()[e.value],o=r.value;return typeof i==typeof o&&i>o}],"filter-id->":[yt,[gt],(t,[e])=>{const r=t.id(),i=e.value;return typeof r==typeof i&&r>i}],"filter-<=":[yt,[ft,gt],(t,[e,r])=>{const i=t.properties()[e.value],o=r.value;return typeof i==typeof o&&i<=o}],"filter-id-<=":[yt,[gt],(t,[e])=>{const r=t.id(),i=e.value;return typeof r==typeof i&&r<=i}],"filter->=":[yt,[ft,gt],(t,[e,r])=>{const i=t.properties()[e.value],o=r.value;return typeof i==typeof o&&i>=o}],"filter-id->=":[yt,[gt],(t,[e])=>{const r=t.id(),i=e.value;return typeof r==typeof i&&r>=i}],"filter-has":[yt,[gt],(t,[e])=>e.value in t.properties()],"filter-has-id":[yt,[],t=>t.id()!==null&&t.id()!==void 0],"filter-type-in":[yt,[Hr(ft)],(t,[e])=>e.value.indexOf(t.geometryType())>=0],"filter-id-in":[yt,[Hr(gt)],(t,[e])=>e.value.indexOf(t.id())>=0],"filter-in-small":[yt,[ft,Hr(gt)],(t,[e,r])=>r.value.indexOf(t.properties()[e.value])>=0],"filter-in-large":[yt,[ft,Hr(gt)],(t,[e,r])=>function(i,o,a,n){for(;a<=n;){const s=a+n>>1;if(o[s]===i)return!0;o[s]>i?n=s-1:a=s+1}return!1}(t.properties()[e.value],r.value,0,r.value.length-1)],all:{type:yt,overloads:[[[yt,yt],(t,[e,r])=>e.evaluate(t)&&r.evaluate(t)],[ma(yt),(t,e)=>{for(const r of e)if(!r.evaluate(t))return!1;return!0}]]},any:{type:yt,overloads:[[[yt,yt],(t,[e,r])=>e.evaluate(t)||r.evaluate(t)],[ma(yt),(t,e)=>{for(const r of e)if(r.evaluate(t))return!0;return!1}]]},"!":[yt,[yt],(t,[e])=>!e.evaluate(t)],"is-supported-script":[yt,[ft],(t,[e])=>{const r=t.globals&&t.globals.isSupportedScript;return!r||r(e.evaluate(t))}],upcase:[ft,[ft],(t,[e])=>e.evaluate(t).toUpperCase()],downcase:[ft,[ft],(t,[e])=>e.evaluate(t).toLowerCase()],concat:[ft,ma(gt),(t,e)=>e.map(r=>Gn(r.evaluate(t))).join("")],"resolved-locale":[ft,[il],(t,[e])=>e.evaluate(t).resolvedLocale()],random:[ye,[ye,ye,gt],(t,e)=>{const[r,i,o]=e.map(n=>n.evaluate(t));if(r>i||r===i)return r;let a;if(typeof o=="string")a=function(n){let s=0;if(n.length===0)return s;for(let l=0;l<n.length;l++)s=(s<<5)-s+n.charCodeAt(l),s&=s;return s}(o);else{if(typeof o!="number")throw new Tr(`Invalid seed input: ${o}`);a=o}return r+dh(a)()*(i-r)}]});var es=Kf;function am(t){return{result:"success",value:t}}function ga(t){return{result:"error",value:t}}function nm(t,e){return!!t&&!!t.parameters&&t.parameters.indexOf(e)>-1}function _a(t){return t["property-type"]==="data-driven"}function sm(t){return nm(t.expression,"measure-light")}function fh(t){return nm(t.expression,"zoom")}function mh(t){return!!t.expression&&t.expression.interpolated}function _l(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function Qv(t){return t}function lm(t,e){const r=e.type==="color",i=t.stops&&typeof t.stops[0][0]=="object",o=i||!(i||t.property!==void 0),a=t.type||(mh(e)?"exponential":"interval");if(r&&((t=oo({},t)).stops&&(t.stops=t.stops.map(c=>[c[0],Qe.parse(c[1])])),t.default=Qe.parse(t.default?t.default:e.default)),t.colorSpace&&t.colorSpace!=="rgb"&&!Hf[t.colorSpace])throw new Error(`Unknown color space: ${t.colorSpace}`);let n,s,l;if(a==="exponential")n=cm;else if(a==="interval")n=tb;else if(a==="categorical"){n=eb,s=Object.create(null);for(const c of t.stops)s[c[0]]=c[1];l=typeof t.stops[0][0]}else{if(a!=="identity")throw new Error(`Unknown function type "${a}"`);n=rb}if(i){const c={},u=[];for(let p=0;p<t.stops.length;p++){const f=t.stops[p],m=f[0].zoom;c[m]===void 0&&(c[m]={zoom:m,type:t.type,property:t.property,default:t.default,stops:[]},u.push(m)),c[m].stops.push([f[0].value,f[1]])}const h=[];for(const p of u)h.push([c[p].zoom,lm(c[p],e)]);const d={name:"linear"};return{kind:"composite",interpolationType:d,interpolationFactor:Gi.interpolationFactor.bind(void 0,d),zoomStops:h.map(p=>p[0]),evaluate:({zoom:p},f)=>cm({stops:h,base:t.base},e,p).evaluate(p,f)}}if(o){const c=a==="exponential"?{name:"exponential",base:t.base!==void 0?t.base:1}:null;return{kind:"camera",interpolationType:c,interpolationFactor:Gi.interpolationFactor.bind(void 0,c),zoomStops:t.stops.map(u=>u[0]),evaluate:({zoom:u})=>n(t,e,u,s,l)}}return{kind:"source",evaluate(c,u){const h=u&&u.properties?u.properties[t.property]:void 0;return h===void 0?ts(t.default,e.default):n(t,e,h,s,l)}}}function ts(t,e,r){return t!==void 0?t:e!==void 0?e:r!==void 0?r:void 0}function eb(t,e,r,i,o){return ts(typeof r===o?i[r]:void 0,t.default,e.default)}function tb(t,e,r){if(kt(r)!=="number")return ts(t.default,e.default);const i=t.stops.length;if(i===1||r<=t.stops[0][0])return t.stops[0][1];if(r>=t.stops[i-1][0])return t.stops[i-1][1];const o=dl(t.stops.map(a=>a[0]),r);return t.stops[o][1]}function cm(t,e,r){const i=t.base!==void 0?t.base:1;if(kt(r)!=="number")return ts(t.default,e.default);const o=t.stops.length;if(o===1||r<=t.stops[0][0])return t.stops[0][1];if(r>=t.stops[o-1][0])return t.stops[o-1][1];const a=dl(t.stops.map(u=>u[0]),r),n=function(u,h,d,p){const f=p-d,m=u-d;return f===0?0:h===1?m/f:(Math.pow(h,m)-1)/(Math.pow(h,f)-1)}(r,i,t.stops[a][0],t.stops[a+1][0]),s=t.stops[a][1],l=t.stops[a+1][1];let c=pl[e.type]||Qv;if(t.colorSpace&&t.colorSpace!=="rgb"){const u=Hf[t.colorSpace];c=(h,d)=>u.reverse(u.interpolate(u.forward(h),u.forward(d),n))}return typeof s.evaluate=="function"?{evaluate(...u){const h=s.evaluate.apply(void 0,u),d=l.evaluate.apply(void 0,u);if(h!==void 0&&d!==void 0)return c(h,d,n)}}:c(s,l,n)}function rb(t,e,r){return e.type==="color"?r=Qe.parse(r):e.type==="formatted"?r=Xr.fromString(r.toString()):e.type==="resolvedImage"?r=mi.fromString(r.toString()):kt(r)===e.type||e.type==="enum"&&e.values[r]||(r=void 0),ts(r,t.default,e.default)}class gh{constructor(e,r,i){this.expression=e,this._warningHistory={},this._evaluator=new wf(i),this._defaultValue=r?function(o){return o.type==="color"&&(_l(o.default)||Array.isArray(o.default))?new Qe(0,0,0,0):o.type==="color"?Qe.parse(o.default)||null:o.default===void 0?null:o.default}(r):null,this._enumValues=r&&r.type==="enum"?r.values:null}evaluateWithoutErrorHandling(e,r,i,o,a,n,s,l){return this._evaluator.globals=e,this._evaluator.feature=r,this._evaluator.featureState=i,this._evaluator.canonical=o||null,this._evaluator.availableImages=a||null,this._evaluator.formattedSection=n,this._evaluator.featureTileCoord=s||null,this._evaluator.featureDistanceData=l||null,this.expression.evaluate(this._evaluator)}evaluate(e,r,i,o,a,n,s,l){this._evaluator.globals=e,this._evaluator.feature=r||null,this._evaluator.featureState=i||null,this._evaluator.canonical=o||null,this._evaluator.availableImages=a||null,this._evaluator.formattedSection=n||null,this._evaluator.featureTileCoord=s||null,this._evaluator.featureDistanceData=l||null;try{const c=this.expression.evaluate(this._evaluator);if(c==null||typeof c=="number"&&c!=c)return this._defaultValue;if(this._enumValues&&!(c in this._enumValues))throw new Tr(`Expected value to be one of ${Object.keys(this._enumValues).map(u=>JSON.stringify(u)).join(", ")}, but found ${JSON.stringify(c)} instead.`);return c}catch(c){return this._warningHistory[c.message]||(this._warningHistory[c.message]=!0,typeof console<"u"&&console.warn(c.message)),this._defaultValue}}}function yl(t){return Array.isArray(t)&&t.length>0&&typeof t[0]=="string"&&t[0]in es}function Ao(t,e,r){const i=new Nf(es,[],e?function(a){const n={color:fi,string:ft,number:ye,enum:ft,boolean:yt,formatted:Nn,resolvedImage:Vn};return a.type==="array"?Hr(n[a.value]||gt,a.length):n[a.type]}(e):void 0,void 0,void 0,r),o=i.parse(t,void 0,void 0,void 0,e&&e.type==="string"?{typeAnnotation:"coerce"}:void 0);return o?am(new gh(o,e,r)):ga(i.errors)}class _h{constructor(e,r,i){this.kind=e,this._styleExpression=r,this.isLightConstant=i,this.isStateDependent=e!=="constant"&&!Jn(r.expression),this.isConfigDependent=!Hu(r.expression)}evaluateWithoutErrorHandling(e,r,i,o,a,n){return this._styleExpression.evaluateWithoutErrorHandling(e,r,i,o,a,n)}evaluate(e,r,i,o,a,n){return this._styleExpression.evaluate(e,r,i,o,a,n)}}class Co{constructor(e,r,i,o,a){this.kind=e,this.zoomStops=i,this._styleExpression=r,this.isStateDependent=e!=="camera"&&!Jn(r.expression),this.isLightConstant=a,this.isConfigDependent=!Hu(r.expression),this.interpolationType=o}evaluateWithoutErrorHandling(e,r,i,o,a,n){return this._styleExpression.evaluateWithoutErrorHandling(e,r,i,o,a,n)}evaluate(e,r,i,o,a,n){return this._styleExpression.evaluate(e,r,i,o,a,n)}interpolationFactor(e,r,i){return this.interpolationType?Gi.interpolationFactor(this.interpolationType,e,r,i):0}}function yh(t,e,r){if((t=Ao(t,e,r)).result==="error")return t;const i=t.value.expression,o=Ya(i);if(!o&&!_a(e))return ga([new Ui("","data expressions not supported")]);const a=Ja(i,["zoom","pitch","distance-from-center"]);if(!a&&!fh(e))return ga([new Ui("","zoom expressions not supported")]);const n=Ja(i,["measure-light"]);if(!n&&!sm(e))return ga([new Ui("","measure-light expression not supported")]);const s=e.expression&&e.expression.relaxZoomRestriction,l=vl(i);return l||a||s?l instanceof Ui?ga([l]):l instanceof Gi&&!mh(e)?ga([new Ui("",'"interpolate" expressions cannot be used with this property')]):am(l?new Co(o?"camera":"composite",t.value,l.labels,l instanceof Gi?l.interpolation:void 0,n):new _h(o?"constant":"source",t.value,n)):ga([new Ui("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression, or in the properties of atmosphere.')])}class xl{constructor(e,r){this._parameters=e,this._specification=r,oo(this,lm(this._parameters,this._specification))}static deserialize(e){return new xl(e._parameters,e._specification)}static serialize(e){return{_parameters:e._parameters,_specification:e._specification}}}function vl(t){let e=null;if(t instanceof Xf)e=vl(t.result);else if(t instanceof Wf){for(const r of t.args)if(e=vl(r),e)break}else(t instanceof Ku||t instanceof Gi)&&t.input instanceof ji&&t.input.name==="zoom"&&(e=t);return e instanceof Ui||t.eachChild(r=>{const i=vl(r);i instanceof Ui?e=i:e&&i&&e!==i&&(e=new Ui("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))}),e}function gi(t){const e=t.key,r=t.value,i=t.valueSpec||{},o=t.objectElementValidators||{},a=t.style,n=t.styleSpec;let s=[];const l=kt(r);if(l!=="object")return[new be(e,r,`object expected, ${l} found`)];for(const c in r){const u=c.split(".")[0];let h;o[u]?h=o[u]:i[u]?h=Mr:o["*"]?h=o["*"]:i["*"]&&(h=Mr),h?s=s.concat(h({key:(e&&`${e}.`)+c,value:r[c],valueSpec:i[u]||i["*"],style:a,styleSpec:n,object:r,objectKey:c},r)):s.push(new ha(e,r[c],`unknown property "${c}"`))}for(const c in i)o[c]||i[c].required&&i[c].default===void 0&&r[c]===void 0&&s.push(new be(e,r,`missing required property "${c}"`));return s}function um(t){const e=t.value,r=t.valueSpec,i=t.style,o=t.styleSpec,a=t.key,n=t.arrayElementValidator||Mr;if(kt(e)!=="array")return[new be(a,e,`array expected, ${kt(e)} found`)];if(r.length&&e.length!==r.length)return[new be(a,e,`array length ${r.length} expected, length ${e.length} found`)];if(r["min-length"]&&e.length<r["min-length"])return[new be(a,e,`array length at least ${r["min-length"]} expected, length ${e.length} found`)];let s={type:r.value,values:r.values,minimum:r.minimum,maximum:r.maximum,function:void 0};o.$version<7&&(s.function=r.function),kt(r.value)==="object"&&(s=r.value);let l=[];for(let c=0;c<e.length;c++)l=l.concat(n({array:e,arrayIndex:c,value:e[c],valueSpec:s,style:i,styleSpec:o,key:`${a}[${c}]`},!0));return l}function hm(t){const e=t.key,r=t.value,i=t.valueSpec;let o=kt(r);if(o==="number"&&r!=r&&(o="NaN"),o!=="number")return[new be(e,r,`number expected, ${o} found`)];if("minimum"in i){let a=i.minimum;if(kt(i.minimum)==="array"&&(a=i.minimum[t.arrayIndex]),r<a)return[new be(e,r,`${r} is less than the minimum value ${a}`)]}if("maximum"in i){let a=i.maximum;if(kt(i.maximum)==="array"&&(a=i.maximum[t.arrayIndex]),r>a)return[new be(e,r,`${r} is greater than the maximum value ${a}`)]}return[]}function dm(t){const e=t.valueSpec,r=cr(t.value.type);let i,o,a,n={};const s=r!=="categorical"&&t.value.property===void 0,l=!s,c=kt(t.value.stops)==="array"&&kt(t.value.stops[0])==="array"&&kt(t.value.stops[0][0])==="object",u=gi({key:t.key,value:t.value,valueSpec:t.styleSpec.function,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:function(p){if(r==="identity")return[new be(p.key,p.value,'identity function may not have a "stops" property')];let f=[];const m=p.value;return f=f.concat(um({key:p.key,value:m,valueSpec:p.valueSpec,style:p.style,styleSpec:p.styleSpec,arrayElementValidator:h})),kt(m)==="array"&&m.length===0&&f.push(new be(p.key,m,"array must have at least one stop")),f},default:function(p){return Mr({key:p.key,value:p.value,valueSpec:e,style:p.style,styleSpec:p.styleSpec})}}});return r==="identity"&&s&&u.push(new be(t.key,t.value,'missing required property "property"')),r==="identity"||t.value.stops||u.push(new be(t.key,t.value,'missing required property "stops"')),r==="exponential"&&t.valueSpec.expression&&!mh(t.valueSpec)&&u.push(new be(t.key,t.value,"exponential functions not supported")),t.styleSpec.$version>=8&&(l&&!_a(t.valueSpec)?u.push(new be(t.key,t.value,"property functions not supported")):s&&!fh(t.valueSpec)&&u.push(new be(t.key,t.value,"zoom functions not supported"))),r!=="categorical"&&!c||t.value.property!==void 0||u.push(new be(t.key,t.value,'"property" property is required')),u;function h(p){let f=[];const m=p.value,g=p.key;if(kt(m)!=="array")return[new be(g,m,`array expected, ${kt(m)} found`)];if(m.length!==2)return[new be(g,m,`array length 2 expected, length ${m.length} found`)];if(c){if(kt(m[0])!=="object")return[new be(g,m,`object expected, ${kt(m[0])} found`)];if(m[0].zoom===void 0)return[new be(g,m,"object stop key must have zoom")];if(m[0].value===void 0)return[new be(g,m,"object stop key must have value")];const _=cr(m[0].zoom);if(typeof _!="number")return[new be(g,m[0].zoom,"stop zoom values must be numbers")];if(a&&a>_)return[new be(g,m[0].zoom,"stop zoom values must appear in ascending order")];_!==a&&(a=_,o=void 0,n={}),f=f.concat(gi({key:`${g}[0]`,value:m[0],valueSpec:{zoom:{}},style:p.style,styleSpec:p.styleSpec,objectElementValidators:{zoom:hm,value:d}}))}else f=f.concat(d({key:`${g}[0]`,value:m[0],valueSpec:{},style:p.style,styleSpec:p.styleSpec},m));return yl(ao(m[1]))?f.concat([new be(`${g}[1]`,m[1],"expressions are not allowed in function stops.")]):f.concat(Mr({key:`${g}[1]`,value:m[1],valueSpec:e,style:p.style,styleSpec:p.styleSpec}))}function d(p,f){const m=kt(p.value),g=cr(p.value),_=p.value!==null?p.value:f;if(i){if(m!==i)return[new be(p.key,_,`${m} stop domain type must match previous stop domain type ${i}`)]}else i=m;if(m!=="number"&&m!=="string"&&m!=="boolean"&&typeof g!="number"&&typeof g!="string"&&typeof g!="boolean")return[new be(p.key,_,"stop domain value must be a number, string, or boolean")];if(m!=="number"&&r!=="categorical"){let y=`number expected, ${m} found`;return _a(e)&&r===void 0&&(y+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new be(p.key,_,y)]}return r!=="categorical"||m!=="number"||typeof g=="number"&&isFinite(g)&&Math.floor(g)===g?r!=="categorical"&&m==="number"&&typeof g=="number"&&typeof o=="number"&&o!==void 0&&g<o?[new be(p.key,_,"stop domain values must appear in ascending order")]:(o=g,r==="categorical"&&g in n?[new be(p.key,_,"stop domain values must be unique")]:(n[g]=!0,[])):[new be(p.key,_,`integer expected, found ${String(g)}`)]}}function ya(t){const e=(t.expressionContext==="property"?yh:Ao)(ao(t.value),t.valueSpec);if(e.result==="error")return e.value.map(i=>new be(`${t.key}${i.key}`,t.value,i.message));const r=e.value.expression||e.value._styleExpression.expression;if(t.expressionContext==="property"&&t.propertyKey==="text-font"&&!r.outputDefined())return[new be(t.key,t.value,`Invalid data expression for "${t.propertyKey}". Output values must be contained as literals within the expression.`)];if(t.expressionContext==="property"&&t.propertyType==="layout"&&!Jn(r))return[new be(t.key,t.value,'"feature-state" data expressions are not supported with layout properties.')];if(t.expressionContext==="filter")return pm(r,t);if(t.expressionContext&&t.expressionContext.indexOf("cluster")===0){if(!Ja(r,["zoom","feature-state"]))return[new be(t.key,t.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if(t.expressionContext==="cluster-initial"&&!Ya(r))return[new be(t.key,t.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function pm(t,e){const r=new Set(["zoom","feature-state","pitch","distance-from-center"]);if(e.valueSpec&&e.valueSpec.expression)for(const o of e.valueSpec.expression.parameters)r.delete(o);if(r.size===0)return[];const i=[];return t instanceof ji&&r.has(t.name)?[new be(e.key,e.value,`["${t.name}"] expression is not supported in a filter for a ${e.object.type} layer with id: ${e.object.id}`)]:(t.eachChild(o=>{i.push(...pm(o,e))}),i)}function bl(t){const e=t.key,r=t.value,i=t.valueSpec,o=[];return Array.isArray(i.values)?i.values.indexOf(cr(r))===-1&&o.push(new be(e,r,`expected one of [${i.values.join(", ")}], ${JSON.stringify(r)} found`)):Object.keys(i.values).indexOf(cr(r))===-1&&o.push(new be(e,r,`expected one of [${Object.keys(i.values).join(", ")}], ${JSON.stringify(r)} found`)),o}function xh(t){if(t===!0||t===!1)return!0;if(!Array.isArray(t)||t.length===0)return!1;switch(t[0]){case"has":return t.length>=2&&t[1]!=="$id"&&t[1]!=="$type";case"in":return t.length>=3&&(typeof t[1]!="string"||Array.isArray(t[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return t.length!==3||Array.isArray(t[1])||Array.isArray(t[2]);case"any":case"all":for(const e of t.slice(1))if(!xh(e)&&typeof e!="boolean")return!1;return!0;default:return!0}}function wl(t,e="fill"){if(t==null)return{filter:()=>!0,needGeometry:!1,needFeature:!1};xh(t)||(t=kl(t));const r=t;let i=!0;try{i=function(c){if(!en(c))return c;let u=ao(c);return mm(u),u=fm(u),u}(r)}catch{console.warn(`Failed to extract static filter. Filter will continue working, but at higher memory usage and slower framerate.
2
2
  This is most likely a bug, please report this via https://github.com/mapbox/mapbox-gl-js/issues/new?assignees=&labels=&template=Bug_report.md
3
3
  and paste the contents of this message in the report.
4
4
  Thank you!
@@ -2025,6 +2025,6 @@ ${i.vertexSource}`;const f=s.createShader(s.FRAGMENT_SHADER);if(s.isContextLost(
2025
2025
  translate(${r.x}px,${r.y}px)
2026
2026
  `}_calculateXYTransform(){const e=this._pos,r=this._map,i=this.getPitchAlignment();if(!r||!e||i!=="map")return"";if(!r._showingGlobe()){const l=r.getPitch();return l?`rotateX(${l}deg)`:""}const o=wr(B_(r.transform,this._lngLat)),a=e.sub(L_(r.transform)),n=Math.abs(a.x)+Math.abs(a.y);if(n===0)return"";const s=o/n;return`rotateX(${-a.y*s}deg) rotateY(${a.x*s}deg)`}_calculateZTransform(){const e=this._pos,r=this._map;if(!r||!e)return"";let i=0;const o=this.getRotationAlignment();if(o==="map")if(r._showingGlobe()){const a=r.project(new Ve(this._lngLat.lng,this._lngLat.lat+.001)),n=r.project(new Ve(this._lngLat.lng,this._lngLat.lat-.001)).sub(a);i=wr(Math.atan2(n.y,n.x))-90}else i=-r.getBearing();else if(o==="horizon"){const a=Ni(4,6,r.getZoom()),n=L_(r.transform);n.y+=a*r.transform.height;const s=e.sub(n),l=wr(Math.atan2(s.y,s.x));i=(l>90?l-270:l+90)*(1-a)}return i+=this._rotation,i?`rotateZ(${i}deg)`:""}_update(e){H.cancelAnimationFrame(this._updateFrameId);const r=this._map;r&&(r.transform.renderWorldCopies&&(this._lngLat=Xx(this._lngLat,this._pos,r.transform)),this._pos=r.project(this._lngLat),e===!0?this._updateFrameId=H.requestAnimationFrame(()=>{this._element&&this._pos&&this._anchor&&(this._pos=this._pos.round(),this._updateDOM())}):this._pos=this._pos.round(),r._requestDomTask(()=>{this._map&&(this._element&&this._pos&&this._anchor&&this._updateDOM(),(r._showingGlobe()||r.getTerrain()||r.getFog())&&!this._fadeTimer&&(this._fadeTimer=setTimeout(this._evaluateOpacity.bind(this),60)))}))}getOffset(){return this._offset}setOffset(e){return this._offset=N.convert(e),this._update(),this}addClassName(e){return this._element.classList.add(e),this}removeClassName(e){return this._element.classList.remove(e),this}toggleClassName(e){return this._element.classList.toggle(e)}_onMove(e){const r=this._map;if(!r)return;const i=this._pointerdownPos,o=this._positionDelta;if(i&&o){if(!this._isDragging){const a=this._clickTolerance||r._clickTolerance;if(e.point.dist(i)<a)return;this._isDragging=!0}this._pos=e.point.sub(o),this._lngLat=r.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none",this._state==="pending"&&(this._state="active",this.fire(new se("dragstart"))),this.fire(new se("drag"))}}_onUp(){this._element.style.pointerEvents="auto",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1;const e=this._map;e&&(e.off("mousemove",this._onMove),e.off("touchmove",this._onMove)),this._state==="active"&&this.fire(new se("dragend")),this._state="inactive"}_addDragHandler(e){const r=this._map,i=this._pos;r&&i&&this._element.contains(e.originalEvent.target)&&(e.preventDefault(),this._positionDelta=e.point.sub(i),this._pointerdownPos=e.point,this._state="pending",r.on("mousemove",this._onMove),r.on("touchmove",this._onMove),r.once("mouseup",this._onUp),r.once("touchend",this._onUp))}setDraggable(e){this._draggable=!!e;const r=this._map;return r&&(e?(r.on("mousedown",this._addDragHandler),r.on("touchstart",this._addDragHandler)):(r.off("mousedown",this._addDragHandler),r.off("touchstart",this._addDragHandler))),this}isDraggable(){return this._draggable}setRotation(e){return this._rotation=e||0,this._update(),this}getRotation(){return this._rotation}setRotationAlignment(e){return this._rotationAlignment=e||"auto",this._update(),this}getRotationAlignment(){return this._rotationAlignment==="auto"||this._rotationAlignment==="horizon"&&this._map&&!this._map._showingGlobe()?"viewport":this._rotationAlignment}setPitchAlignment(e){return this._pitchAlignment=e||"auto",this._update(),this}getPitchAlignment(){return this._pitchAlignment==="auto"?this.getRotationAlignment():this._pitchAlignment}setOccludedOpacity(e){return this._occludedOpacity=e||.2,this._update(),this}getOccludedOpacity(){return this._occludedOpacity}}const vE={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:"",maxWidth:"240px"},bE=["a[href]","[tabindex]:not([tabindex='-1'])","[contenteditable]:not([contenteditable='false'])","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].join(", ");function Yx(t=new N(0,0),e="bottom"){if(typeof t=="number"){const r=Math.round(Math.sqrt(.5*Math.pow(t,2)));switch(e){case"top":return new N(0,t);case"top-left":return new N(r,r);case"top-right":return new N(-r,r);case"bottom":return new N(0,-t);case"bottom-left":return new N(r,-r);case"bottom-right":return new N(-r,-r);case"left":return new N(t,0);case"right":return new N(-t,0)}return new N(0,0)}return t instanceof N||Array.isArray(t)?N.convert(t):N.convert(t[e]||[0,0])}class wE{constructor(e){this.jumpTo(e)}getValue(e){if(e<=this._startTime)return this._start;if(e>=this._endTime)return this._end;const r=Oa((e-this._startTime)/(this._endTime-this._startTime));return this._start*(1-r)+this._end*r}isEasing(e){return e>=this._startTime&&e<=this._endTime}jumpTo(e){this._startTime=-1/0,this._endTime=-1/0,this._start=e,this._end=e}easeTo(e,r,i){this._start=this.getValue(r),this._end=e,this._startTime=r,this._endTime=r+i}}const kE={"AttributionControl.ToggleAttribution":"Toggle attribution","AttributionControl.MapFeedback":"Map feedback","FullscreenControl.Enter":"Enter fullscreen","FullscreenControl.Exit":"Exit fullscreen","GeolocateControl.FindMyLocation":"Find my location","GeolocateControl.LocationNotAvailable":"Location not available","LogoControl.Title":"Mapbox logo","Map.Title":"Map","NavigationControl.ResetBearing":"Reset bearing to north","NavigationControl.ZoomIn":"Zoom in","NavigationControl.ZoomOut":"Zoom out","ScrollZoomBlocker.CtrlMessage":"Use ctrl + scroll to zoom the map","ScrollZoomBlocker.CmdMessage":"Use ⌘ + scroll to zoom the map","TouchPanBlocker.Message":"Use two fingers to move the map"},TE={center:[0,0],zoom:0,bearing:0,pitch:0,minZoom:-2,maxZoom:22,minPitch:0,maxPitch:85,interactive:!0,scrollZoom:!0,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,touchPitch:!0,cooperativeGestures:!1,performanceMetricsCollection:!0,bearingSnap:7,clickTolerance:3,pitchWithRotate:!0,hash:!1,attributionControl:!0,antialias:!1,failIfMajorPerformanceCaveat:!1,preserveDrawingBuffer:!1,trackResize:!0,renderWorldCopies:!0,refreshExpiredTiles:!0,minTileCacheSize:null,maxTileCacheSize:null,localIdeographFontFamily:"sans-serif",localFontFamily:null,transformRequest:null,accessToken:null,fadeDuration:300,respectPrefersReducedMotion:!0,crossSourceCollisions:!0,collectResourceTiming:!1,testMode:!1},EE={showCompass:!0,showZoom:!0,visualizePitch:!1};class ME{constructor(e,r,i=!1){this._clickTolerance=10,this.element=r,this.mouseRotate=new Vx({clickTolerance:e.dragRotate._mouseRotate._clickTolerance}),this.map=e,i&&(this.mousePitch=new Ux({clickTolerance:e.dragRotate._mousePitch._clickTolerance})),pr(["mousedown","mousemove","mouseup","touchstart","touchmove","touchend","reset"],this),r.addEventListener("mousedown",this.mousedown),r.addEventListener("touchstart",this.touchstart,{passive:!1}),r.addEventListener("touchmove",this.touchmove),r.addEventListener("touchend",this.touchend),r.addEventListener("touchcancel",this.reset)}down(e,r){this.mouseRotate.mousedown(e,r),this.mousePitch&&this.mousePitch.mousedown(e,r),mf()}move(e,r){const i=this.map,o=this.mouseRotate.mousemoveWindow(e,r),a=o&&o.bearingDelta;if(a&&i.setBearing(i.getBearing()+a),this.mousePitch){const n=this.mousePitch.mousemoveWindow(e,r),s=n&&n.pitchDelta;s&&i.setPitch(i.getPitch()+s)}}off(){const e=this.element;e.removeEventListener("mousedown",this.mousedown),e.removeEventListener("touchstart",this.touchstart,{passive:!1}),e.removeEventListener("touchmove",this.touchmove),e.removeEventListener("touchend",this.touchend),e.removeEventListener("touchcancel",this.reset),this.offTemp()}offTemp(){gf(),H.removeEventListener("mousemove",this.mousemove),H.removeEventListener("mouseup",this.mouseup)}mousedown(e){this.down(we({},e,{ctrlKey:!0,preventDefault:()=>e.preventDefault()}),Fn(this.element,e)),H.addEventListener("mousemove",this.mousemove),H.addEventListener("mouseup",this.mouseup)}mousemove(e){this.move(e,Fn(this.element,e))}mouseup(e){this.mouseRotate.mouseupWindow(e),this.mousePitch&&this.mousePitch.mouseupWindow(e),this.offTemp()}touchstart(e){e.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=rl(this.element,e.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:()=>e.preventDefault()},this._startPos))}touchmove(e){e.targetTouches.length!==1?this.reset():(this._lastPos=rl(this.element,e.targetTouches)[0],this.move({preventDefault:()=>e.preventDefault()},this._lastPos))}touchend(e){e.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)<this._clickTolerance&&this.element.click(),this.reset()}reset(){this.mouseRotate.reset(),this.mousePitch&&this.mousePitch.reset(),delete this._startPos,delete this._lastPos,this.offTemp()}}const SE={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0,showUserHeading:!1},AE={maxWidth:100,unit:"metric"},CE={kilometer:"km",meter:"m",mile:"mi",foot:"ft","nautical-mile":"nm"},cu={version:Fr,supported:df,setRTLTextPlugin:function(t,e,r=!1){if(Yr===Eh||Yr===Mh||Yr===Sh)throw new Error("setRTLTextPlugin cannot be called multiple times.");zo=Ge.resolveURL(t),Yr=Eh,Ah=e,Ch(),r||Fm()},getRTLTextPluginStatus:zh,Map:class extends xE{constructor(t){uf.mark(Qs.create);const e=t;if((t=we({},TE,t)).minZoom!=null&&t.maxZoom!=null&&t.minZoom>t.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(t.minPitch!=null&&t.maxPitch!=null&&t.minPitch>t.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(t.minPitch!=null&&t.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(t.maxPitch!=null&&t.maxPitch>85)throw new Error("maxPitch must be less than or equal to 85");if(t.antialias&&function(r){const i=r.navigator?r.navigator.userAgent:null;return!!function(o){if(qe==null){const a=o.navigator?o.navigator.userAgent:null;qe=!!o.safari||!(!a||!(/\b(iPad|iPhone|iPod)\b/.test(a)||a.match("Safari")&&!a.match("Chrome")))}return qe}(r)&&i&&(i.match("Version/15.4")||i.match("Version/15.5")||i.match(/CPU (OS|iPhone OS) (15_4|15_5) like Mac OS X/))}(H)&&(t.antialias=!1,F("Antialiasing is disabled for this WebGL context to avoid browser bug: https://github.com/mapbox/mapbox-gl-js/issues/11609")),super(new lp(t.minZoom,t.maxZoom,t.minPitch,t.maxPitch,t.renderWorldCopies),t),this._interactive=t.interactive,this._minTileCacheSize=t.minTileCacheSize,this._maxTileCacheSize=t.maxTileCacheSize,this._failIfMajorPerformanceCaveat=t.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=t.preserveDrawingBuffer,this._antialias=t.antialias,this._trackResize=t.trackResize,this._bearingSnap=t.bearingSnap,this._refreshExpiredTiles=t.refreshExpiredTiles,this._fadeDuration=t.fadeDuration,this._isInitialLoad=!0,this._crossSourceCollisions=t.crossSourceCollisions,this._collectResourceTiming=t.collectResourceTiming,this._language=this._parseLanguage(t.language),this._worldview=t.worldview,this._renderTaskQueue=new Wx,this._domRenderTaskQueue=new Wx,this._controls=[],this._markers=[],this._popups=[],this._mapId=Fa(),this._locale=we({},kE,t.locale),this._clickTolerance=t.clickTolerance,this._cooperativeGestures=t.cooperativeGestures,this._performanceMetricsCollection=t.performanceMetricsCollection,this._containerWidth=0,this._containerHeight=0,this._averageElevationLastSampledAt=-1/0,this._averageElevationExaggeration=0,this._averageElevation=new wE(0),this._interactionRange=[1/0,-1/0],this._visibilityHidden=0,this._useExplicitProjection=!1,this._requestManager=new Pe(t.transformRequest,t.accessToken,t.testMode),this._silenceAuthErrors=!!t.testMode,this._contextCreateOptions=t.contextCreateOptions?{...t.contextCreateOptions}:{},typeof t.container=="string"){if(this._container=H.document.getElementById(t.container),!this._container)throw new Error(`Container '${t.container.toString()}' not found.`)}else{if(!(t.container instanceof H.HTMLElement))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=t.container}if(this._container.childNodes.length>0&&F("The map container element should be empty, otherwise the map's interactivity will be negatively impacted. If you want to display a message when WebGL is not supported, use the Mapbox GL Supported plugin instead."),t.maxBounds&&this.setMaxBounds(t.maxBounds),pr(["_onWindowOnline","_onWindowResize","_onVisibilityChange","_onMapScroll","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error("Failed to initialize WebGL.");if(this.on("move",()=>this._update(!1)),this.on("moveend",()=>this._update(!1)),this.on("zoom",()=>this._update(!0)),H!==void 0&&(this._fullscreenchangeEvent="onfullscreenchange"in H.document?"fullscreenchange":"webkitfullscreenchange",H.addEventListener("online",this._onWindowOnline,!1),H.addEventListener("resize",this._onWindowResize,!1),H.addEventListener("orientationchange",this._onWindowResize,!1),H.addEventListener(this._fullscreenchangeEvent,this._onWindowResize,!1),H.addEventListener("visibilitychange",this._onVisibilityChange,!1)),this.handlers=new yE(this,t),this._localFontFamily=t.localFontFamily,this._localIdeographFontFamily=t.localIdeographFontFamily,(t.style||!t.testMode)&&this.setStyle(t.style||Oe.DEFAULT_STYLE,{localFontFamily:this._localFontFamily,localIdeographFontFamily:this._localIdeographFontFamily}),t.projection&&this.setProjection(t.projection),t.hash&&(this._hash=new jT(typeof t.hash=="string"&&t.hash||void 0).addTo(this)),!this._hash||!this._hash._onHashChange()){e.center==null&&e.zoom==null||(this.transform._unmodified=!1),this.jumpTo({center:t.center,zoom:t.zoom,bearing:t.bearing,pitch:t.pitch});const r=t.bounds;r&&(this.resize(),this.fitBounds(r,we({},t.fitBoundsOptions,{duration:0})))}this.resize(),t.attributionControl&&this.addControl(new $x({customAttribution:t.customAttribution})),this._logoControl=new Hx,this.addControl(this._logoControl,t.logoPosition),this.on("style.load",()=>{this.transform.unmodified&&this.jumpTo(this.style.stylesheet)}),this.on("data",r=>{this._update(r.dataType==="style"),this.fire(new se(`${r.dataType}data`,r))}),this.on("dataloading",r=>{this.fire(new se(`${r.dataType}dataloading`,r))})}_getMapId(){return this._mapId}addControl(t,e){if(e===void 0&&(e=t.getDefaultPosition?t.getDefaultPosition():"top-right"),!t||!t.onAdd)return this.fire(new Ue(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));const r=t.onAdd(this);this._controls.push(t);const i=this._controlPositions[e];return e.indexOf("bottom")!==-1?i.insertBefore(r,i.firstChild):i.appendChild(r),this}removeControl(t){if(!t||!t.onRemove)return this.fire(new Ue(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));const e=this._controls.indexOf(t);return e>-1&&this._controls.splice(e,1),t.onRemove(this),this}hasControl(t){return this._controls.indexOf(t)>-1}getContainer(){return this._container}getCanvasContainer(){return this._canvasContainer}getCanvas(){return this._canvas}resize(t){if(this._updateContainerDimensions(),this._containerWidth===this.transform.width&&this._containerHeight===this.transform.height)return this;this._resizeCanvas(this._containerWidth,this._containerHeight),this.transform.resize(this._containerWidth,this._containerHeight),this.painter.resize(Math.ceil(this._containerWidth),Math.ceil(this._containerHeight));const e=!this._moving;return e&&this.fire(new se("movestart",t)).fire(new se("move",t)),this.fire(new se("resize",t)),e&&this.fire(new se("moveend",t)),this}getBounds(){return this.transform.getBounds()}getMaxBounds(){return this.transform.getMaxBounds()||null}setMaxBounds(t){return this.transform.setMaxBounds(Qr.convert(t)),this._update()}setMinZoom(t){if((t=t??-2)>=-2&&t<=this.transform.maxZoom)return this.transform.minZoom=t,this._update(),this.getZoom()<t?this.setZoom(t):this.fire(new se("zoomstart")).fire(new se("zoom")).fire(new se("zoomend")),this;throw new Error("minZoom must be between -2 and the current maxZoom, inclusive")}getMinZoom(){return this.transform.minZoom}setMaxZoom(t){if((t=t??22)>=this.transform.minZoom)return this.transform.maxZoom=t,this._update(),this.getZoom()>t?this.setZoom(t):this.fire(new se("zoomstart")).fire(new se("zoom")).fire(new se("zoomend")),this;throw new Error("maxZoom must be greater than the current minZoom")}getMaxZoom(){return this.transform.maxZoom}setMinPitch(t){if((t=t??0)<0)throw new Error("minPitch must be greater than or equal to 0");if(t>=0&&t<=this.transform.maxPitch)return this.transform.minPitch=t,this._update(),this.getPitch()<t?this.setPitch(t):this.fire(new se("pitchstart")).fire(new se("pitch")).fire(new se("pitchend")),this;throw new Error("minPitch must be between 0 and the current maxPitch, inclusive")}getMinPitch(){return this.transform.minPitch}setMaxPitch(t){if((t=t??85)>85)throw new Error("maxPitch must be less than or equal to 85");if(t>=this.transform.minPitch)return this.transform.maxPitch=t,this._update(),this.getPitch()>t?this.setPitch(t):this.fire(new se("pitchstart")).fire(new se("pitch")).fire(new se("pitchend")),this;throw new Error("maxPitch must be greater than or equal to minPitch")}getMaxPitch(){return this.transform.maxPitch}getRenderWorldCopies(){return this.transform.renderWorldCopies}setRenderWorldCopies(t){return this.transform.renderWorldCopies=t,this.transform.renderWorldCopies||this._forceMarkerAndPopupUpdate(!0),this._update()}getLanguage(){return this._language}_parseLanguage(t){return t==="auto"?H.navigator.language:Array.isArray(t)?t.length===0?void 0:t.map(e=>e==="auto"?H.navigator.language:e):t}setLanguage(t){const e=this._parseLanguage(t);if(!this.style||e===this._language)return this;this._language=e,this.style.reloadSources();for(const r of this._controls)r._setLanguage&&r._setLanguage(this._language);return this}getWorldview(){return this._worldview}setWorldview(t){return this.style&&t!==this._worldview?(this._worldview=t,this.style.reloadSources(),this):this}getProjection(){return this.transform.mercatorFromTransition?{name:"globe",center:[0,0]}:this.transform.getProjection()}_showingGlobe(){return this.transform.projection.name==="globe"}setProjection(t){return this._lazyInitEmptyStyle(),t?typeof t=="string"&&(t={name:t}):t=null,this._useExplicitProjection=!!t,this._prioritizeAndUpdateProjection(t,this.style.projection)}_updateProjectionTransition(){if(this.getProjection().name!=="globe")return;const t=this.transform,e=t.projection.name;let r;e==="globe"&&t.zoom>=Fo?(t.setMercatorFromTransition(),r=!0):e==="mercator"&&t.zoom<Fo&&(t.setProjection({name:"globe"}),r=!0),r&&(this.style.applyProjectionUpdate(),this.style._forceSymbolLayerUpdate())}_prioritizeAndUpdateProjection(t,e){return this._updateProjection(t||e||{name:"mercator"})}_updateProjection(t){let e;return e=t.name==="globe"&&this.transform.zoom>=Fo?this.transform.setMercatorFromTransition():this.transform.setProjection(t),this.style.applyProjectionUpdate(),e&&(this.painter.clearBackgroundTiles(),this.style.clearSources(),this._update(!0),this._forceMarkerAndPopupUpdate(!0)),this}project(t){return this.transform.locationPoint3D(Ve.convert(t))}unproject(t){return this.transform.pointLocation3D(N.convert(t))}isMoving(){return this._moving||this.handlers&&this.handlers.isMoving()||!1}isZooming(){return this._zooming||this.handlers&&this.handlers.isZooming()||!1}isRotating(){return this._rotating||this.handlers&&this.handlers.isRotating()||!1}_isDragging(){return this.handlers&&this.handlers._isDragging()||!1}_createDelegatedListener(t,e,r){if(t==="mouseenter"||t==="mouseover"){let i=!1;const o=n=>{const s=e.filter(c=>this.getLayer(c)),l=s.length?this.queryRenderedFeatures(n.point,{layers:s}):[];l.length?i||(i=!0,r.call(this,new ui(t,this,n.originalEvent,{features:l}))):i=!1},a=()=>{i=!1};return{layers:new Set(e),listener:r,delegates:{mousemove:o,mouseout:a}}}if(t==="mouseleave"||t==="mouseout"){let i=!1;const o=n=>{const s=e.filter(l=>this.getLayer(l));(s.length?this.queryRenderedFeatures(n.point,{layers:s}):[]).length?i=!0:i&&(i=!1,r.call(this,new ui(t,this,n.originalEvent)))},a=n=>{i&&(i=!1,r.call(this,new ui(t,this,n.originalEvent)))};return{layers:new Set(e),listener:r,delegates:{mousemove:o,mouseout:a}}}{const i=o=>{const a=e.filter(s=>this.getLayer(s)),n=a.length?this.queryRenderedFeatures(o.point,{layers:a}):[];n.length&&(o.features=n,r.call(this,o),delete o.features)};return{layers:new Set(e),listener:r,delegates:{[t]:i}}}}on(t,e,r){if(r===void 0)return super.on(t,e);if(Array.isArray(e)||(e=[e]),e){for(const o of e)if(!this._isValidId(o))return this}const i=this._createDelegatedListener(t,e,r);this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[t]=this._delegatedListeners[t]||[],this._delegatedListeners[t].push(i);for(const o in i.delegates)this.on(o,i.delegates[o]);return this}once(t,e,r){if(r===void 0)return super.once(t,e);if(Array.isArray(e)||(e=[e]),e){for(const o of e)if(!this._isValidId(o))return this}const i=this._createDelegatedListener(t,e,r);for(const o in i.delegates)this.once(o,i.delegates[o]);return this}off(t,e,r){if(r===void 0)return super.off(t,e);e=new Set(Array.isArray(e)?e:[e]);for(const a of e)if(!this._isValidId(a))return this;const i=(a,n)=>{if(a.size!==n.size)return!1;for(const s of a)if(!n.has(s))return!1;return!0},o=this._delegatedListeners?this._delegatedListeners[t]:void 0;return o&&(a=>{for(let n=0;n<a.length;n++){const s=a[n];if(s.listener===r&&i(s.layers,e)){for(const l in s.delegates)this.off(l,s.delegates[l]);return a.splice(n,1),this}}})(o),this}queryRenderedFeatures(t,e){if(!this.style)return[];if(e!==void 0||t===void 0||t instanceof N||Array.isArray(t)||(e=t,t=void 0),t=t||[[0,0],[this.transform.width,this.transform.height]],(e=e||{}).layers&&Array.isArray(e.layers)){for(const r of e.layers)if(!this._isValidId(r))return[]}return this.style.queryRenderedFeatures(t,e,this.transform)}querySourceFeatures(t,e){return this._isValidId(t)?this.style.querySourceFeatures(t,e):[]}isPointOnSurface(t){const{name:e}=this.transform.projection;return e!=="globe"&&e!=="mercator"&&F(`${e} projection does not support isPointOnSurface, this API may behave unexpectedly.`),this.transform.isPointOnSurface(N.convert(t))}setStyle(t,e){return(e=we({},{localIdeographFontFamily:this._localIdeographFontFamily,localFontFamily:this._localFontFamily},e)).diff!==!1&&e.localIdeographFontFamily===this._localIdeographFontFamily&&e.localFontFamily===this._localFontFamily&&this.style&&t?(this._diffStyle(t,e),this):(this._localIdeographFontFamily=e.localIdeographFontFamily,this._localFontFamily=e.localFontFamily,this._updateStyle(t,e))}_getUIString(t){const e=this._locale[t];if(e==null)throw new Error(`Missing UI string '${t}'`);return e}_updateStyle(t,e){return this.style&&(this.style.setEventedParent(null),this.style._remove(),this.style=void 0),t&&(this.style=new Li(this,e||{}),this.style.setEventedParent(this,{style:this.style}),typeof t=="string"?this.style.loadURL(t):this.style.loadJSON(t)),this._updateTerrain(),this}_lazyInitEmptyStyle(){this.style||(this.style=new Li(this,{}),this.style.setEventedParent(this,{style:this.style}),this.style.loadEmpty())}_diffStyle(t,e){if(typeof t=="string"){const r=this._requestManager.normalizeStyleURL(t),i=this._requestManager.transformRequest(r,J.Style);ue(i,(o,a)=>{o?this.fire(new Ue(o)):a&&this._updateDiff(a,e)})}else typeof t=="object"&&this._updateDiff(t,e)}_updateDiff(t,e){try{this.style.setState(t)&&this._update(!0)}catch(r){F(`Unable to perform style diff: ${r.message||r.error||r}. Rebuilding the style from scratch.`),this._updateStyle(t,e)}}getStyle(){if(this.style)return this.style.serialize()}isStyleLoaded(){return this.style?this.style.loaded():(F("There is no style added to the map."),!1)}_isValidId(t){return t==null?(this.fire(new Ue(new Error("IDs can't be empty."))),!1):!Um(t)||(this.fire(new Ue(new Error(`IDs can't contain special symbols: "${t}".`))),!1)}addSource(t,e){return this._isValidId(t)?(this._lazyInitEmptyStyle(),this.style.addSource(t,e),this._update(!0)):this}isSourceLoaded(t){return!!this._isValidId(t)&&!!this.style&&this.style._isSourceCacheLoaded(t)}areTilesLoaded(){const t=this.style&&this.style._sourceCaches;for(const e in t){const r=t[e]._tiles;for(const i in r){const o=r[i];if(o.state!=="loaded"&&o.state!=="errored")return!1}}return!0}addSourceType(t,e,r){this._lazyInitEmptyStyle(),this.style.addSourceType(t,e,r)}removeSource(t){return this._isValidId(t)?(this.style.removeSource(t),this._updateTerrain(),this._update(!0)):this}getSource(t){return this._isValidId(t)?this.style.getOwnSource(t):null}addImage(t,e,{pixelRatio:r=1,sdf:i=!1,stretchX:o,stretchY:a,content:n}={}){if(this._lazyInitEmptyStyle(),e instanceof H.HTMLImageElement||H.ImageBitmap&&e instanceof H.ImageBitmap){const{width:s,height:l,data:c}=Ge.getImageData(e);this.style.addImage(t,{data:new ir({width:s,height:l},c),pixelRatio:r,stretchX:o,stretchY:a,content:n,sdf:i,version:0})}else if(e.width===void 0||e.height===void 0)this.fire(new Ue(new Error("Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));else{const{width:s,height:l}=e,c=e;this.style.addImage(t,{data:new ir({width:s,height:l},new Uint8Array(c.data)),pixelRatio:r,stretchX:o,stretchY:a,content:n,sdf:i,version:0,userImage:c}),c.onAdd&&c.onAdd(this,t)}}updateImage(t,e){this._lazyInitEmptyStyle();const r=this.style.getImage(t);if(!r)return void this.fire(new Ue(new Error("The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.")));const i=e instanceof H.HTMLImageElement||H.ImageBitmap&&e instanceof H.ImageBitmap?Ge.getImageData(e):e,{width:o,height:a}=i;o!==void 0&&a!==void 0?o===r.data.width&&a===r.data.height?(r.data.replace(i.data,!(e instanceof H.HTMLImageElement||H.ImageBitmap&&e instanceof H.ImageBitmap)),this.style.updateImage(t,r)):this.fire(new Ue(new Error(`The width and height of the updated image (${o}, ${a})
2027
2027
  must be that same as the previous version of the image
2028
- (${r.data.width}, ${r.data.height})`))):this.fire(new Ue(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")))}hasImage(t){return t?!!this.style&&!!this.style.getImage(t):(this.fire(new Ue(new Error("Missing required image id"))),!1)}removeImage(t){this.style.removeImage(t)}loadImage(t,e){Je(this._requestManager.transformRequest(t,J.Image),(r,i)=>{e(r,i instanceof H.HTMLImageElement?Ge.getImageData(i):i)})}listImages(){return this.style.listImages()}addModel(t,e){this._lazyInitEmptyStyle(),this.style.addModel(t,e)}hasModel(t){return t?this.style.hasModel(t):(this.fire(new Ue(new Error("Missing required model id"))),!1)}removeModel(t){this.style.removeModel(t)}listModels(){return this.style.listModels()}addLayer(t,e){return this._isValidId(t.id)?(this._lazyInitEmptyStyle(),this.style.addLayer(t,e),this._update(!0)):this}moveLayer(t,e){return this._isValidId(t)?(this.style.moveLayer(t,e),this._update(!0)):this}removeLayer(t){return this._isValidId(t)?(this.style.removeLayer(t),this._update(!0)):this}getLayer(t){return this._isValidId(t)?this.style.getOwnLayer(t):null}setLayerZoomRange(t,e,r){return this._isValidId(t)?(this.style.setLayerZoomRange(t,e,r),this._update(!0)):this}setFilter(t,e,r={}){return this._isValidId(t)?(this.style.setFilter(t,e,r),this._update(!0)):this}getFilter(t){return this._isValidId(t)?this.style.getFilter(t):null}setPaintProperty(t,e,r,i={}){return this._isValidId(t)?(this.style.setPaintProperty(t,e,r,i),this._update(!0)):this}getPaintProperty(t,e){return this._isValidId(t)?this.style.getPaintProperty(t,e):null}setLayoutProperty(t,e,r,i={}){return this._isValidId(t)?(this.style.setLayoutProperty(t,e,r,i),this._update(!0)):this}getLayoutProperty(t,e){return this._isValidId(t)?this.style.getLayoutProperty(t,e):null}getConfigProperty(t,e){return this.style.getConfigProperty(t,e)}setConfigProperty(t,e,r){return this.style.setConfigProperty(t,e,r),this._update(!0)}setLights(t){if(this._lazyInitEmptyStyle(),t&&t.length===1&&t[0].type==="flat"){const e=t[0];e.properties?this.style.setFlatLight(e.properties,e.id,{}):this.style.setFlatLight({},"flat")}else this.style.setLights(t),this.painter.terrain&&(this.painter.terrain.invalidateRenderCache=!0);return this._update(!0)}getLights(){const t=this.style.getLights()||[];return t.length===0&&t.push({id:this.style.light.id,type:"flat",properties:this.style.getFlatLight()}),t}setLight(t,e={}){return console.log("The `map.setLight` function is deprecated, prefer using `map.setLights` with `flat` light type instead."),this.setLights([{id:"flat",type:"flat",properties:t}])}getLight(){return console.log("The `map.getLight` function is deprecated, prefer using `map.getLights` instead."),this.style.getFlatLight()}setTerrain(t){return this._lazyInitEmptyStyle(),!t&&this.transform.projection.requiresDraping?this.style.setTerrainForDraping():this.style.setTerrain(t),this._averageElevationLastSampledAt=-1/0,this._update(!0)}getTerrain(){return this.style?this.style.getTerrain():null}setFog(t){return this._lazyInitEmptyStyle(),this.style.setFog(t),this._update(!0)}getFog(){return this.style?this.style.getFog():null}setCamera(t){return this.style.setCamera(t),this._triggerCameraUpdate(t)}_triggerCameraUpdate(t){return this._update(this.transform.setOrthographicProjectionAtLowPitch(t["camera-projection"]==="orthographic"))}getCamera(){return this.style.camera}_queryFogOpacity(t){return this.style&&this.style.fog?this.style.fog.getOpacityAtLatLng(Ve.convert(t),this.transform):0}setFeatureState(t,e){return this._isValidId(t.source)?(this.style.setFeatureState(t,e),this._update()):this}removeFeatureState(t,e){return this._isValidId(t.source)?(this.style.removeFeatureState(t,e),this._update()):this}getFeatureState(t){return this._isValidId(t.source)?this.style.getFeatureState(t):null}_updateContainerDimensions(){if(!this._container)return;const t=this._container.getBoundingClientRect().width||400,e=this._container.getBoundingClientRect().height||300;let r,i,o,a=this._container;for(;a&&(!i||!o);){const n=H.getComputedStyle(a).transform;n&&n!=="none"&&(r=n.match(/matrix.*\((.+)\)/)[1].split(", "),r[0]&&r[0]!=="0"&&r[0]!=="1"&&(i=r[0]),r[3]&&r[3]!=="0"&&r[3]!=="1"&&(o=r[3])),a=a.parentElement}this._containerWidth=i?Math.abs(t/i):t,this._containerHeight=o?Math.abs(e/o):e}_detectMissingCSS(){H.getComputedStyle(this._missingCSSCanary).getPropertyValue("background-color")!=="rgb(250, 128, 114)"&&F("This page appears to be missing CSS declarations for Mapbox GL JS, which may cause the map to display incorrectly. Please ensure your page includes mapbox-gl.css, as described in https://www.mapbox.com/mapbox-gl-js/api/.")}_setupContainer(){const t=this._container;t.classList.add("mapboxgl-map"),(this._missingCSSCanary=zt("div","mapboxgl-canary",t)).style.visibility="hidden",this._detectMissingCSS();const e=this._canvasContainer=zt("div","mapboxgl-canvas-container",t);this._canvas=zt("canvas","mapboxgl-canvas",e),this._interactive&&(e.classList.add("mapboxgl-interactive"),this._canvas.setAttribute("tabindex","0")),this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("aria-label",this._getUIString("Map.Title")),this._canvas.setAttribute("role","region"),this._updateContainerDimensions(),this._resizeCanvas(this._containerWidth,this._containerHeight);const r=this._controlContainer=zt("div","mapboxgl-control-container",t),i=this._controlPositions={};["top-left","top-right","bottom-left","bottom-right"].forEach(o=>{i[o]=zt("div",`mapboxgl-ctrl-${o}`,r)}),this._container.addEventListener("scroll",this._onMapScroll,!1)}_resizeCanvas(t,e){const r=Ge.devicePixelRatio||1;this._canvas.width=r*Math.ceil(t),this._canvas.height=r*Math.ceil(e),this._canvas.style.width=`${t}px`,this._canvas.style.height=`${e}px`}_addMarker(t){this._markers.push(t)}_removeMarker(t){const e=this._markers.indexOf(t);e!==-1&&this._markers.splice(e,1)}_addPopup(t){this._popups.push(t)}_removePopup(t){const e=this._popups.indexOf(t);e!==-1&&this._popups.splice(e,1)}_setupPainter(){const t=we({},df.webGLContextAttributes,{failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1}),e=this._canvas.getContext("webgl2",t);e?(cf(e,!0),this.painter=new PT(e,this._contextCreateOptions,this.transform),this.on("data",r=>{r.dataType==="source"&&this.painter.setTileLoadedFlag(!0)}),vr.testSupport(e)):this.fire(new Ue(new Error("Failed to initialize WebGL")))}_contextLost(t){t.preventDefault(),this._frame&&(this._frame.cancel(),this._frame=null),this.fire(new se("webglcontextlost",{originalEvent:t}))}_contextRestored(t){this._setupPainter(),this.resize(),this._update(),this.fire(new se("webglcontextrestored",{originalEvent:t}))}_onMapScroll(t){if(t.target===this._container)return this._container.scrollTop=0,this._container.scrollLeft=0,!1}loaded(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()}_update(t){return this.style?(this._styleDirty=this._styleDirty||t,this._sourcesDirty=!0,this.triggerRepaint(),this):this}_requestRenderFrame(t){return this._update(),this._renderTaskQueue.add(t)}_cancelRenderFrame(t){this._renderTaskQueue.remove(t)}_requestDomTask(t){!this.loaded()||this.loaded()&&!this.isMoving()?t():this._domRenderTaskQueue.add(t)}_render(t){let e;this.fire(new se("renderstart"));const r=this.painter.context.extTimerQuery,i=Ge.now(),o=this.painter.context.gl;if(this.listens("gpu-timing-frame")&&(e=o.createQuery(),o.beginQuery(r.TIME_ELAPSED_EXT,e)),this.painter.context.setDirty(),this.painter.setBaseState(),(this.isMoving()||this.isRotating()||this.isZooming())&&(this._interactionRange[0]=Math.min(this._interactionRange[0],H.performance.now()),this._interactionRange[1]=Math.max(this._interactionRange[1],H.performance.now())),this._renderTaskQueue.run(t),this._domRenderTaskQueue.run(t),this._removed)return;this._updateProjectionTransition();const a=this._isInitialLoad?0:this._fadeDuration;if(this.style&&this._styleDirty){this._styleDirty=!1;const l=this.transform.zoom,c=this.transform.pitch,u=Ge.now(),h=new Ut(l,{now:u,fadeDuration:a,pitch:c,transition:this.style.transition});this.style.update(h)}this.style&&this.style.hasFogTransition()&&(this.style._markersNeedUpdate=!0,this._sourcesDirty=!0);let n=!1;if(this.style&&this._sourcesDirty?(this._sourcesDirty=!1,this.painter._updateFog(this.style),this._updateTerrain(),n=this._updateAverageElevation(i),this.style.updateSources(this.transform),this._forceMarkerAndPopupUpdate()):n=this._updateAverageElevation(i),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,a,this._crossSourceCollisions),this.style&&this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,wireframe:{terrain:this.showTerrainWireframe,layers2D:this.showLayers2DWireframe,layers3D:this.showLayers3DWireframe},showOverdrawInspector:this._showOverdrawInspector,showQueryGeometry:!!this._showQueryGeometry,showTileAABBs:this.showTileAABBs,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:a,isInitialLoad:this._isInitialLoad,showPadding:this.showPadding,gpuTiming:!!this.listens("gpu-timing-layer"),gpuTimingDeferredRender:!!this.listens("gpu-timing-deferred-render"),speedIndexTiming:this.speedIndexTiming}),this.fire(new se("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,this.fire(new se("load"))),this.style&&this.style.hasTransitions()&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles(),e){const l=Ge.now()-i;o.endQuery(r.TIME_ELAPSED_EXT),setTimeout(()=>{const c=o.getQueryParameter(e,o.QUERY_RESULT)/1e6;o.deleteQuery(e),this.fire(new se("gpu-timing-frame",{cpuTime:l,gpuTime:c})),H.performance.mark("frame-gpu",{startTime:i,detail:{gpuTime:c}})},50)}if(this.listens("gpu-timing-layer")){const l=this.painter.collectGpuTimers();setTimeout(()=>{const c=this.painter.queryGpuTimers(l);this.fire(new se("gpu-timing-layer",{layerTimes:c}))},50)}if(this.listens("gpu-timing-deferred-render")){const l=this.painter.collectDeferredRenderGpuQueries();setTimeout(()=>{const c=this.painter.queryGpuTimeDeferredRender(l);this.fire(new se("gpu-timing-deferred-render",{gpuTime:c}))},50)}const s=this._sourcesDirty||this._styleDirty||this._placementDirty||n;if(s||this._repaint)this.triggerRepaint();else{const l=!this.isMoving()&&this.loaded();if(l&&(n=this._updateAverageElevation(i,!0)),n)this.triggerRepaint();else if(this._triggerFrame(!1),l&&(this.fire(new se("idle")),this._isInitialLoad=!1,this.speedIndexTiming)){const c=this._calculateSpeedIndex();this.fire(new se("speedindexcompleted",{speedIndex:c})),this.speedIndexTiming=!1}}!this._loaded||this._fullyLoaded||s||(this._fullyLoaded=!0,uf.mark(Qs.fullLoad),this._performanceMetricsCollection&&pv(this._requestManager._customAccessToken,{width:this.painter.width,height:this.painter.height,interactionRange:this._interactionRange,visibilityHidden:this._visibilityHidden,terrainEnabled:!!this.painter.style.getTerrain(),fogEnabled:!!this.painter.style.getFog(),projection:this.getProjection().name,zoom:this.transform.zoom,renderer:this.painter.context.renderer,vendor:this.painter.context.vendor}),this._authenticate())}_forceMarkerAndPopupUpdate(t){for(const e of this._markers)t&&!this.getRenderWorldCopies()&&(e._lngLat=e._lngLat.wrap()),e._update();for(const e of this._popups)!t||this.getRenderWorldCopies()||e._trackPointer||(e._lngLat=e._lngLat.wrap()),e._update()}_updateAverageElevation(t,e=!1){const r=o=>(this.transform.averageElevation=o,this._update(!1),!0);if(!this.painter.averageElevationNeedsEasing())return this.transform.averageElevation!==0&&r(0);const i=this.transform.elevation&&this.transform.elevation.exaggeration()!==this._averageElevationExaggeration;if(i||(e||t-this._averageElevationLastSampledAt>500)&&!this._averageElevation.isEasing(t)){const o=this.transform.averageElevation;let a=this.transform.sampleAverageElevation();this.transform.elevation&&(this._averageElevationExaggeration=this.transform.elevation.exaggeration()),isNaN(a)?a=0:this._averageElevationLastSampledAt=t;const n=Math.abs(o-a);if(n>1){if(this._isInitialLoad||i)return this._averageElevation.jumpTo(a),r(a);this._averageElevation.easeTo(a,t,300)}else if(n>1e-4)return this._averageElevation.jumpTo(a),r(a)}return!!this._averageElevation.isEasing(t)&&r(this._averageElevation.getValue(t))}_authenticate(){fv(this._getMapId(),this._requestManager._skuToken,this._requestManager._customAccessToken,t=>{if(t&&(t.message===St||t.status===401)){const e=this.painter.context.gl;cf(e,!1),this._logoControl instanceof Hx&&this._logoControl._updateLogo(),e&&e.clear(e.DEPTH_BUFFER_BIT|e.COLOR_BUFFER_BIT|e.STENCIL_BUFFER_BIT),this._silenceAuthErrors||this.fire(new Ue(new Error("A valid Mapbox access token is required to use Mapbox GL JS. To create an account or a new access token, visit https://account.mapbox.com/")))}}),dv(this._getMapId(),this._requestManager._skuToken,this._requestManager._customAccessToken,()=>{})}_updateTerrain(){const t=this._isDragging();this.painter.updateTerrain(this.style,t)}_calculateSpeedIndex(){const t=this.painter.canvasCopy(),e=this.painter.getCanvasCopiesAndTimestamps();e.timeStamps.push(performance.now());const r=this.painter.context.gl,i=r.createFramebuffer();function o(a){r.framebufferTexture2D(r.FRAMEBUFFER,r.COLOR_ATTACHMENT0,r.TEXTURE_2D,a,0);const n=new Uint8Array(r.drawingBufferWidth*r.drawingBufferHeight*4);return r.readPixels(0,0,r.drawingBufferWidth,r.drawingBufferHeight,r.RGBA,r.UNSIGNED_BYTE,n),n}return r.bindFramebuffer(r.FRAMEBUFFER,i),this._canvasPixelComparison(o(t),e.canvasCopies.map(o),e.timeStamps)}_canvasPixelComparison(t,e,r){let i=r[1]-r[0];const o=t.length/4;for(let a=0;a<e.length;a++){const n=e[a];let s=0;for(let l=0;l<n.length;l+=4)n[l]===t[l]&&n[l+1]===t[l+1]&&n[l+2]===t[l+2]&&n[l+3]===t[l+3]&&(s+=1);i+=(r[a+2]-r[a+1])*(1-s/o)}return i}remove(){this._hash&&this._hash.remove();for(const e of this._controls)e.onRemove(this);this._controls=[],this._frame&&(this._frame.cancel(),this._frame=null),this._renderTaskQueue.clear(),this._domRenderTaskQueue.clear(),this.style&&this.style.destroy(),this.painter.destroy(),this.handlers&&this.handlers.destroy(),this.handlers=void 0,this.setStyle(null),H!==void 0&&(H.removeEventListener("resize",this._onWindowResize,!1),H.removeEventListener("orientationchange",this._onWindowResize,!1),H.removeEventListener(this._fullscreenchangeEvent,this._onWindowResize,!1),H.removeEventListener("online",this._onWindowOnline,!1),H.removeEventListener("visibilitychange",this._onVisibilityChange,!1));const t=this.painter.context.gl.getExtension("WEBGL_lose_context");t&&t.loseContext(),this._canvas.removeEventListener("webglcontextlost",this._contextLost,!1),this._canvas.removeEventListener("webglcontextrestored",this._contextRestored,!1),this._canvasContainer.remove(),this._controlContainer.remove(),this._missingCSSCanary.remove(),this._canvas=void 0,this._canvasContainer=void 0,this._controlContainer=void 0,this._missingCSSCanary=void 0,this._container.classList.remove("mapboxgl-map"),this._container.removeEventListener("scroll",this._onMapScroll,!1),Ks.delete(this.painter.context.gl),this._removed=!0,this.fire(new se("remove"))}triggerRepaint(){this._triggerFrame(!0)}_triggerFrame(t){this._renderNextFrame=this._renderNextFrame||t,this.style&&!this._frame&&(this._frame=Ge.frame(e=>{const r=!!this._renderNextFrame;this._frame=null,this._renderNextFrame=null,r&&this._render(e)}))}_preloadTiles(t){return sa(this.style?Object.values(this.style._sourceCaches):[],(e,r)=>e._preloadTiles(t,r),()=>{this.triggerRepaint()}),this}_onWindowOnline(){this._update()}_onWindowResize(t){this._trackResize&&this.resize({originalEvent:t})._update()}_onVisibilityChange(){H.document.visibilityState==="hidden"&&this._visibilityHidden++}get showTileBoundaries(){return!!this._showTileBoundaries}set showTileBoundaries(t){this._showTileBoundaries!==t&&(this._showTileBoundaries=t,this._update())}get showTerrainWireframe(){return!!this._showTerrainWireframe}set showTerrainWireframe(t){this._showTerrainWireframe!==t&&(this._showTerrainWireframe=t,this._update())}get showLayers2DWireframe(){return!!this._showLayers2DWireframe}set showLayers2DWireframe(t){this._showLayers2DWireframe!==t&&(this._showLayers2DWireframe=t,this._update())}get showLayers3DWireframe(){return!!this._showLayers3DWireframe}set showLayers3DWireframe(t){this._showLayers3DWireframe!==t&&(this._showLayers3DWireframe=t,this._update())}get speedIndexTiming(){return!!this._speedIndexTiming}set speedIndexTiming(t){this._speedIndexTiming!==t&&(this._speedIndexTiming=t,this._update())}get showPadding(){return!!this._showPadding}set showPadding(t){this._showPadding!==t&&(this._showPadding=t,this._update())}get showCollisionBoxes(){return!!this._showCollisionBoxes}set showCollisionBoxes(t){this._showCollisionBoxes!==t&&(this._showCollisionBoxes=t,t?this.style._generateCollisionBoxes():this._update())}get showOverdrawInspector(){return!!this._showOverdrawInspector}set showOverdrawInspector(t){this._showOverdrawInspector!==t&&(this._showOverdrawInspector=t,this._update())}get repaint(){return!!this._repaint}set repaint(t){this._repaint!==t&&(this._repaint=t,this.triggerRepaint())}get vertices(){return!!this._vertices}set vertices(t){this._vertices=t,this._update()}get showTileAABBs(){return!!this._showTileAABBs}set showTileAABBs(t){this._showTileAABBs!==t&&(this._showTileAABBs=t,t&&this._update())}_setCacheLimits(t,e){(function(r,i){Ir=r,Nr=i})(t,e)}get version(){return Fr}},NavigationControl:class{constructor(t){this.options=we({},EE,t),this._container=zt("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._container.addEventListener("contextmenu",e=>e.preventDefault()),this.options.showZoom&&(pr(["_setButtonTitle","_updateZoomButtons"],this),this._zoomInButton=this._createButton("mapboxgl-ctrl-zoom-in",e=>{this._map&&this._map.zoomIn({},{originalEvent:e})}),zt("span","mapboxgl-ctrl-icon",this._zoomInButton).setAttribute("aria-hidden","true"),this._zoomOutButton=this._createButton("mapboxgl-ctrl-zoom-out",e=>{this._map&&this._map.zoomOut({},{originalEvent:e})}),zt("span","mapboxgl-ctrl-icon",this._zoomOutButton).setAttribute("aria-hidden","true")),this.options.showCompass&&(pr(["_rotateCompassArrow"],this),this._compass=this._createButton("mapboxgl-ctrl-compass",e=>{const r=this._map;r&&(this.options.visualizePitch?r.resetNorthPitch({},{originalEvent:e}):r.resetNorth({},{originalEvent:e}))}),this._compassIcon=zt("span","mapboxgl-ctrl-icon",this._compass),this._compassIcon.setAttribute("aria-hidden","true"))}_updateZoomButtons(){const t=this._map;if(!t)return;const e=t.getZoom(),r=e===t.getMaxZoom(),i=e===t.getMinZoom();this._zoomInButton.disabled=r,this._zoomOutButton.disabled=i,this._zoomInButton.setAttribute("aria-disabled",r.toString()),this._zoomOutButton.setAttribute("aria-disabled",i.toString())}_rotateCompassArrow(){const t=this._map;if(!t)return;const e=this.options.visualizePitch?`scale(${1/Math.pow(Math.cos(t.transform.pitch*(Math.PI/180)),.5)}) rotateX(${t.transform.pitch}deg) rotateZ(${t.transform.angle*(180/Math.PI)}deg)`:`rotate(${t.transform.angle*(180/Math.PI)}deg)`;t._requestDomTask(()=>{this._compassIcon&&(this._compassIcon.style.transform=e)})}onAdd(t){return this._map=t,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,"ZoomIn"),this._setButtonTitle(this._zoomOutButton,"ZoomOut"),t.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,"ResetBearing"),this.options.visualizePitch&&t.on("pitch",this._rotateCompassArrow),t.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new ME(t,this._compass,this.options.visualizePitch)),this._container}onRemove(){const t=this._map;t&&(this._container.remove(),this.options.showZoom&&t.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&t.off("pitch",this._rotateCompassArrow),t.off("rotate",this._rotateCompassArrow),this._handler&&this._handler.off(),this._handler=void 0),this._map=void 0)}_createButton(t,e){const r=zt("button",t,this._container);return r.type="button",r.addEventListener("click",e),r}_setButtonTitle(t,e){if(!this._map)return;const r=this._map._getUIString(`NavigationControl.${e}`);t.setAttribute("aria-label",r),t.firstElementChild&&t.firstElementChild.setAttribute("title",r)}},GeolocateControl:class extends or{constructor(t){super(),this.options=we({geolocation:H.navigator.geolocation},SE,t),pr(["_onSuccess","_onError","_onZoom","_finish","_setupUI","_updateCamera","_updateMarker","_updateMarkerRotation","_onDeviceOrientation"],this),this._updateMarkerRotationThrottled=Fx(this._updateMarkerRotation,20),this._numberOfWatches=0}onAdd(t){return this._map=t,this._container=zt("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkGeolocationSupport(this._setupUI),this._container}onRemove(){this._geolocationWatchID!==void 0&&(this.options.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),this._container.remove(),this._map.off("zoom",this._onZoom),this._map=void 0,this._numberOfWatches=0,this._noTimeout=!1}_checkGeolocationSupport(t){const e=(r=!!this.options.geolocation)=>{this._supportsGeolocation=r,t(r)};this._supportsGeolocation!==void 0?t(this._supportsGeolocation):H.navigator.permissions!==void 0?H.navigator.permissions.query({name:"geolocation"}).then(r=>e(r.state!=="denied")).catch(()=>e()):e()}_isOutOfMapMaxBounds(t){const e=this._map.getMaxBounds(),r=t.coords;return!!e&&(r.longitude<e.getWest()||r.longitude>e.getEast()||r.latitude<e.getSouth()||r.latitude>e.getNorth())}_setErrorState(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}}_onSuccess(t){if(this._map){if(this._isOutOfMapMaxBounds(t))return this._setErrorState(),this.fire(new se("outofmaxbounds",t)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=t,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(t),this.options.trackUserLocation&&this._watchState!=="ACTIVE_LOCK"||this._updateCamera(t),this.options.showUserLocation&&this._userLocationDotMarker.removeClassName("mapboxgl-user-location-dot-stale"),this.fire(new se("geolocate",t)),this._finish()}}_updateCamera(t){const e=new Ve(t.coords.longitude,t.coords.latitude),r=t.coords.accuracy,i=we({bearing:this._map.getBearing()},this.options.fitBoundsOptions);this._map.fitBounds(e.toBounds(r),i,{geolocateSource:!0})}_updateMarker(t){if(t){const e=new Ve(t.coords.longitude,t.coords.latitude);this._accuracyCircleMarker.setLngLat(e).addTo(this._map),this._userLocationDotMarker.setLngLat(e).addTo(this._map),this._accuracy=t.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()}_updateCircleRadius(){const t=this._map.transform,e=At(1,t._center.lat)*t.worldSize,r=Math.ceil(2*this._accuracy*e);this._circleElement.style.width=`${r}px`,this._circleElement.style.height=`${r}px`}_onZoom(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}_updateMarkerRotation(){this._userLocationDotMarker&&typeof this._heading=="number"?(this._userLocationDotMarker.setRotation(this._heading),this._userLocationDotMarker.addClassName("mapboxgl-user-location-show-heading")):(this._userLocationDotMarker.removeClassName("mapboxgl-user-location-show-heading"),this._userLocationDotMarker.setRotation(0))}_onError(t){if(this._map){if(this.options.trackUserLocation)if(t.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;const e=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.setAttribute("aria-label",e),this._geolocateButton.firstElementChild&&this._geolocateButton.firstElementChild.setAttribute("title",e),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(t.code===3&&this._noTimeout)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._userLocationDotMarker.addClassName("mapboxgl-user-location-dot-stale"),this.fire(new se("error",t)),this._finish()}}_finish(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0}_setupUI(t){if(this._map!==void 0){if(this._container.addEventListener("contextmenu",e=>e.preventDefault()),this._geolocateButton=zt("button","mapboxgl-ctrl-geolocate",this._container),zt("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden","true"),this._geolocateButton.type="button",t===!1){F("Geolocation support is not available so the GeolocateControl will be disabled.");const e=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.setAttribute("aria-label",e),this._geolocateButton.firstElementChild&&this._geolocateButton.firstElementChild.setAttribute("title",e)}else{const e=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.setAttribute("aria-label",e),this._geolocateButton.firstElementChild&&this._geolocateButton.firstElementChild.setAttribute("title",e)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=zt("div","mapboxgl-user-location"),this._dotElement.appendChild(zt("div","mapboxgl-user-location-dot")),this._dotElement.appendChild(zt("div","mapboxgl-user-location-heading")),this._userLocationDotMarker=new Wp({element:this._dotElement,rotationAlignment:"map",pitchAlignment:"map"}),this._circleElement=zt("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new Wp({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",e=>{e.geolocateSource||this._watchState!=="ACTIVE_LOCK"||e.originalEvent&&e.originalEvent.type==="resize"||(this._watchState="BACKGROUND",this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this.fire(new se("trackuserlocationend")))})}}_onDeviceOrientation(t){this._userLocationDotMarker&&(t.webkitCompassHeading?this._heading=t.webkitCompassHeading:t.absolute===!0&&(this._heading=-1*t.alpha),this._updateMarkerRotationThrottled())}trigger(){if(!this._setup)return F("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new se("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":this._numberOfWatches--,this._noTimeout=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new se("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new se("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){let t;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),this._numberOfWatches++,this._numberOfWatches>1?(t={maximumAge:6e5,timeout:0},this._noTimeout=!0):(t=this.options.positionOptions,this._noTimeout=!1),this._geolocationWatchID=this.options.geolocation.watchPosition(this._onSuccess,this._onError,t),this.options.showUserHeading&&this._addDeviceOrientationListener()}}else this.options.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0}_addDeviceOrientationListener(){const t=()=>{H.addEventListener("ondeviceorientationabsolute"in H?"deviceorientationabsolute":"deviceorientation",this._onDeviceOrientation)};H.DeviceMotionEvent!==void 0&&typeof H.DeviceMotionEvent.requestPermission=="function"?DeviceOrientationEvent.requestPermission().then(e=>{e==="granted"&&t()}).catch(console.error):t()}_clearWatch(){this.options.geolocation.clearWatch(this._geolocationWatchID),H.removeEventListener("deviceorientation",this._onDeviceOrientation),H.removeEventListener("deviceorientationabsolute",this._onDeviceOrientation),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)}},AttributionControl:$x,ScaleControl:class{constructor(t){this.options=we({},AE,t),this._isNumberFormatSupported=function(){try{return new Intl.NumberFormat("en",{style:"unit",unitDisplay:"short",unit:"meter"}),!0}catch{return!1}}(),pr(["_update","_setScale","setUnit"],this)}getDefaultPosition(){return"bottom-left"}_update(){const t=this.options.maxWidth||100,e=this._map,r=e._containerHeight/2,i=e._containerWidth/2-t/2,o=e.unproject([i,r]),a=e.unproject([i+t,r]),n=o.distanceTo(a);if(this.options.unit==="imperial"){const s=3.2808*n;s>5280?this._setScale(t,s/5280,"mile"):this._setScale(t,s,"foot")}else this.options.unit==="nautical"?this._setScale(t,n/1852,"nautical-mile"):n>=1e3?this._setScale(t,n/1e3,"kilometer"):this._setScale(t,n,"meter")}_setScale(t,e,r){this._map._requestDomTask(()=>{const i=function(a){const n=Math.pow(10,`${Math.floor(a)}`.length-1);let s=a/n;return s=s>=10?10:s>=5?5:s>=3?3:s>=2?2:s>=1?1:function(l){const c=Math.pow(10,Math.ceil(-Math.log(l)/Math.LN10));return Math.round(l*c)/c}(s),n*s}(e),o=i/e;this._container.innerHTML=this._isNumberFormatSupported&&r!=="nautical-mile"?new Intl.NumberFormat(this._language,{style:"unit",unitDisplay:"short",unit:r}).format(i):`${i}&nbsp;${CE[r]}`,this._container.style.width=t*o+"px"})}onAdd(t){return this._map=t,this._language=t.getLanguage(),this._container=zt("div","mapboxgl-ctrl mapboxgl-ctrl-scale",t.getContainer()),this._container.dir="auto",this._map.on("move",this._update),this._update(),this._container}onRemove(){this._container.remove(),this._map.off("move",this._update),this._map=void 0}_setLanguage(t){this._language=t,this._update()}setUnit(t){this.options.unit=t,this._update()}},FullscreenControl:class{constructor(t){this._fullscreen=!1,t&&t.container&&(t.container instanceof H.HTMLElement?this._container=t.container:F("Full screen control 'container' must be a DOM element.")),pr(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in H.document?this._fullscreenchange="fullscreenchange":"onwebkitfullscreenchange"in H.document&&(this._fullscreenchange="webkitfullscreenchange")}onAdd(t){return this._map=t,this._container||(this._container=this._map.getContainer()),this._controlContainer=zt("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",F("This device does not support fullscreen mode.")),this._controlContainer}onRemove(){this._controlContainer.remove(),this._map=null,H.document.removeEventListener(this._fullscreenchange,this._changeIcon)}_checkFullscreenSupport(){return!(!H.document.fullscreenEnabled&&!H.document.webkitFullscreenEnabled)}_setupUI(){const t=this._fullscreenButton=zt("button","mapboxgl-ctrl-fullscreen",this._controlContainer);zt("span","mapboxgl-ctrl-icon",t).setAttribute("aria-hidden","true"),t.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),H.document.addEventListener(this._fullscreenchange,this._changeIcon)}_updateTitle(){const t=this._getTitle();this._fullscreenButton.setAttribute("aria-label",t),this._fullscreenButton.firstElementChild&&this._fullscreenButton.firstElementChild.setAttribute("title",t)}_getTitle(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")}_isFullscreen(){return this._fullscreen}_changeIcon(){(H.document.fullscreenElement||H.document.webkitFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())}_onClickFullscreen(){this._isFullscreen()?H.document.exitFullscreen?H.document.exitFullscreen():H.document.webkitCancelFullScreen&&H.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()}},Popup:class extends or{constructor(t){super(),this.options=we(Object.create(vE),t),pr(["_update","_onClose","remove","_onMouseEvent"],this),this._classList=new Set(t&&t.className?t.className.trim().split(/\s+/):[])}addTo(t){return this._map&&this.remove(),this._map=t,this.options.closeOnClick&&t.on("preclick",this._onClose),this.options.closeOnMove&&t.on("move",this._onClose),t.on("remove",this.remove),this._update(),t._addPopup(this),this._focusFirstElement(),this._trackPointer?(t.on("mousemove",this._onMouseEvent),t.on("mouseup",this._onMouseEvent),t._canvasContainer.classList.add("mapboxgl-track-pointer")):t.on("move",this._update),this.fire(new se("open")),this}isOpen(){return!!this._map}remove(){this._content&&this._content.remove(),this._container&&(this._container.remove(),this._container=void 0);const t=this._map;return t&&(t.off("move",this._update),t.off("move",this._onClose),t.off("preclick",this._onClose),t.off("click",this._onClose),t.off("remove",this.remove),t.off("mousemove",this._onMouseEvent),t.off("mouseup",this._onMouseEvent),t.off("drag",this._onMouseEvent),t._canvasContainer&&t._canvasContainer.classList.remove("mapboxgl-track-pointer"),t._removePopup(this),this._map=void 0),this.fire(new se("close")),this}getLngLat(){return this._lngLat}setLngLat(t){this._lngLat=Ve.convert(t),this._pos=null,this._trackPointer=!1,this._update();const e=this._map;return e&&(e.on("move",this._update),e.off("mousemove",this._onMouseEvent),e._canvasContainer.classList.remove("mapboxgl-track-pointer")),this}trackPointer(){this._trackPointer=!0,this._pos=null,this._update();const t=this._map;return t&&(t.off("move",this._update),t.on("mousemove",this._onMouseEvent),t.on("drag",this._onMouseEvent),t._canvasContainer.classList.add("mapboxgl-track-pointer")),this}getElement(){return this._container}setText(t){return this.setDOMContent(H.document.createTextNode(t))}setHTML(t){const e=H.document.createDocumentFragment(),r=H.document.createElement("body");let i;for(r.innerHTML=t;i=r.firstChild,i;)e.appendChild(i);return this.setDOMContent(e)}getMaxWidth(){return this._container&&this._container.style.maxWidth}setMaxWidth(t){return this.options.maxWidth=t,this._update(),this}setDOMContent(t){let e=this._content;if(e)for(;e.hasChildNodes();)e.firstChild&&e.removeChild(e.firstChild);else e=this._content=zt("div","mapboxgl-popup-content",this._container||void 0);if(e.appendChild(t),this.options.closeButton){const r=this._closeButton=zt("button","mapboxgl-popup-close-button",e);r.type="button",r.setAttribute("aria-label","Close popup"),r.setAttribute("aria-hidden","true"),r.innerHTML="&#215;",r.addEventListener("click",this._onClose)}return this._update(),this._focusFirstElement(),this}addClassName(t){return this._classList.add(t),this._updateClassList(),this}removeClassName(t){return this._classList.delete(t),this._updateClassList(),this}setOffset(t){return this.options.offset=t,this._update(),this}toggleClassName(t){let e;return this._classList.delete(t)?e=!1:(this._classList.add(t),e=!0),this._updateClassList(),e}_onMouseEvent(t){this._update(t.point)}_getAnchor(t){if(this.options.anchor)return this.options.anchor;const e=this._map,r=this._container,i=this._pos;if(!e||!r||!i)return"bottom";const o=r.offsetWidth,a=r.offsetHeight,n=i.x<o/2,s=i.x>e.transform.width-o/2;if(i.y+t<a)return n?"top-left":s?"top-right":"top";if(i.y>e.transform.height-a){if(n)return"bottom-left";if(s)return"bottom-right"}return n?"left":s?"right":"bottom"}_updateClassList(){const t=this._container;if(!t)return;const e=[...this._classList];e.push("mapboxgl-popup"),this._anchor&&e.push(`mapboxgl-popup-anchor-${this._anchor}`),this._trackPointer&&e.push("mapboxgl-popup-track-pointer"),t.className=e.join(" ")}_update(t){const e=this._map,r=this._content;if(!e||!this._lngLat&&!this._trackPointer||!r)return;let i=this._container;if(i||(i=this._container=zt("div","mapboxgl-popup",e.getContainer()),this._tip=zt("div","mapboxgl-popup-tip",i),i.appendChild(r)),this.options.maxWidth&&i.style.maxWidth!==this.options.maxWidth&&(i.style.maxWidth=this.options.maxWidth),e.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=Xx(this._lngLat,this._pos,e.transform)),!this._trackPointer||t){const o=this._pos=this._trackPointer&&t?t:e.project(this._lngLat),a=Yx(this.options.offset),n=this._anchor=this._getAnchor(a.y),s=Yx(this.options.offset,n),l=o.add(s).round();e._requestDomTask(()=>{this._container&&n&&(this._container.style.transform=`${Hp[n]} translate(${l.x}px,${l.y}px)`)})}if(!this._marker&&e._showingGlobe()){const o=$l(e.transform,this._lngLat)?0:1;this._setOpacity(o)}this._updateClassList()}_focusFirstElement(){if(!this.options.focusAfterOpen||!this._container)return;const t=this._container.querySelector(bE);t&&t.focus()}_onClose(){this.remove()}_setOpacity(t){this._container&&(this._container.style.opacity=`${t}`),this._content&&(this._content.style.pointerEvents=t?"auto":"none")}},Marker:Wp,Style:Li,LngLat:Ve,LngLatBounds:Qr,Point:N,MercatorCoordinate:lt,FreeCameraOptions:s1,Evented:or,config:Oe,prewarm:function(){Ns().acquire(yp)},clearPrewarmedResources:function(){const t=Fs;t&&(t.isPreloaded()&&t.numActive()===1?(t.release(yp),Fs=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return Oe.ACCESS_TOKEN},set accessToken(t){Oe.ACCESS_TOKEN=t},get baseApiUrl(){return Oe.API_URL},set baseApiUrl(t){Oe.API_URL=t},get workerCount(){return Cn.workerCount},set workerCount(t){Cn.workerCount=t},get maxParallelImageRequests(){return Oe.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(t){Oe.MAX_PARALLEL_IMAGE_REQUESTS=t},clearStorage(t){(function(e){if(!Ua())return;const r=H.caches.delete(Bt);e&&r.catch(e).then(()=>e())})(t)},workerUrl:"",workerClass:null,get dracoUrl(){return wy()},set dracoUrl(t){(function(e){xp=Ge.resolveURL(e),vp||(vp=new za(Ns(),new or)),vp.broadcast("setDracoUrl",xp)})(t)},setNow:Ge.setNow,restoreNow:Ge.restoreNow};Ee.A=py,Ee.D=uc,Ee.E=W,Ee.F=Ud,Ee.K=Hc,Ee.O=mt,Ee.P=N,Ee.T=D1,Ee.V=ac,Ee.a=oc,Ee.b=u0,Ee.c=Fc,Ee.d=class extends or{constructor(t,e,r,i,o,a){super(),this.actor=t,this.layerIndex=e,this.availableImages=r,this.loadVectorData=o||vy,this.loading={},this.loaded={},this.deduped=new xy(t.scheduler),this.isSpriteLoaded=i,this.scheduler=t.scheduler,this.brightness=a}loadTile(t,e){const r=t.uid,i=t&&t.request,o=i&&i.collectResourceTiming,a=this.loading[r]=new Xk(t);a.abort=this.loadVectorData(t,(n,s)=>{const l=!this.loading[r];if(delete this.loading[r],l||n||!s)return a.status="done",l||(this.loaded[r]=a),e(n);const c=s.rawData,u={};s.expires&&(u.expires=s.expires),s.cacheControl&&(u.cacheControl=s.cacheControl),a.vectorTile=s.vectorTile||new Nd(new cc(c));const h=()=>{a.parse(a.vectorTile,this.layerIndex,this.availableImages,this.actor,(d,p)=>{if(d||!p)return e(d);const f={};if(o){const m=hf(i);m.length>0&&(f.resourceTiming=JSON.parse(JSON.stringify(m)))}e(null,we({rawTileData:c.slice(0)},p,u,f))})};this.isSpriteLoaded?h():this.once("isSpriteLoaded",()=>{this.scheduler?this.scheduler.add(h,{type:"parseTile",isSymbolTile:t.isSymbolTile,zoom:t.tileZoom}):h()}),this.loaded=this.loaded||{},this.loaded[r]=a})}reloadTile(t,e){const r=this.loaded,i=t.uid,o=this;if(r&&r[i]){const a=r[i];a.showCollisionBoxes=t.showCollisionBoxes,a.projection=t.projection,a.brightness=t.brightness,a.tileTransform=Ma(t.tileID.canonical,t.projection),a.extraShadowCaster=t.extraShadowCaster;const n=(s,l)=>{const c=a.reloadCallback;c&&(delete a.reloadCallback,a.parse(a.vectorTile,o.layerIndex,this.availableImages,o.actor,c)),e(s,l)};a.status==="parsing"?a.reloadCallback=n:a.status==="done"&&(a.vectorTile?a.parse(a.vectorTile,this.layerIndex,this.availableImages,this.actor,n):n())}else e(null,void 0)}abortTile(t,e){const r=t.uid,i=this.loading[r];i&&(i.abort&&i.abort(),delete this.loading[r]),e()}removeTile(t,e){const r=this.loaded,i=t.uid;r&&r[i]&&delete r[i],e()}},Ee.e=Ao,Ee.f=hf,Ee.g=hi,Ee.h=ue,Ee.i=fe,Ee.j=function(t,e){const r=Mp(t);for(const i of r){for(const o of i.meshes)a5(o);i.lights&&(i.lightMeshIndex=i.meshes.length,i.meshes.push(n5(i.lights,e)))}return r},Ee.k=Ut,Ee.l=function(t){let e=0;if(new Uint32Array(t,0,1)[0]!==Ty){const r=new Uint32Array(t,0,7),[,,i,o,a,n]=r;e=r.byteLength+o+a+n+a,(i!==t.byteLength||e>=t.byteLength)&&F("Invalid b3dm header information.")}return Ay(t,e)},Ee.m=xc,Ee.n=_i,Ee.o=se,Ee.p=Ba,Ee.q=function(t){$r(),Vr&&Vr.then(e=>{e.keys().then(r=>{for(let i=0;i<r.length-t;i++)e.delete(r[i])})})},Ee.r=Py,Ee.s=cu,Ee.t=fs,Ee.v=la,Ee.w=H}),Bi(["./shared"],function(Ee){function H(le){if(typeof le=="number"||typeof le=="boolean"||typeof le=="string"||le==null)return JSON.stringify(le);if(Array.isArray(le)){let P="[";for(const F of le)P+=`${H(F)},`;return`${P}]`}let I="{";for(const P of Object.keys(le).sort())I+=`${P}:${H(le[P])},`;return`${I}}`}function Fr(le){let I="";for(const P of Ee.r)I+=`/${H(le[P])}`;return I}class Rr{constructor(I){this.keyCache={},this._layers={},this._layerConfigs={},I&&this.replace(I)}replace(I,P){this._layerConfigs={},this._layers={},this.update(I,[],P)}update(I,P,F){this._options=F;for(const ie of I){this._layerConfigs[ie.id]=ie;const ve=this._layers[ie.id]=Ee.c(ie,this._options);ve.setScope(this.scope),ve.compileFilter(),this.keyCache[ie.id]&&delete this.keyCache[ie.id]}for(const ie of P)delete this.keyCache[ie],delete this._layerConfigs[ie],delete this._layers[ie];this.familiesBySource={};const te=function(ie,ve){const Ce={};for(let Ie=0;Ie<ie.length;Ie++){const qe=ve&&ve[ie[Ie].id]||Fr(ie[Ie]);ve&&(ve[ie[Ie].id]=qe);let je=Ce[qe];je||(je=Ce[qe]=[]),je.push(ie[Ie])}const oe=[];for(const Ie in Ce)oe.push(Ce[Ie]);return oe}(Ee.v(this._layerConfigs),this.keyCache);for(const ie of te){const ve=ie.map(Dt=>this._layers[Dt.id]),Ce=ve[0];if(Ce.visibility==="none")continue;const oe=Ce.source||"";let Ie=this.familiesBySource[oe];Ie||(Ie=this.familiesBySource[oe]={});const qe=Ce.sourceLayer||"_geojsonTileLayer";let je=Ie[qe];je||(je=Ie[qe]=[]),je.push(ve)}}}class Oe{loadTile(I,P){const{uid:F,encoding:te,rawImageData:ie,padding:ve}=I,Ce=Ee.w.ImageBitmap&&ie instanceof Ee.w.ImageBitmap?this.getImageData(ie,ve):ie;P(null,new Ee.D(F,Ce,te,ve<1))}getImageData(I,P){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(I.width,I.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d",{willReadFrequently:!0})),this.offscreenCanvas.width=I.width,this.offscreenCanvas.height=I.height,this.offscreenCanvasContext.drawImage(I,0,0,I.width,I.height);const F=this.offscreenCanvasContext.getImageData(-P,-P,I.width+2*P,I.height+2*P);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),F}}function vr(le,I){if(le.length!==0){Cr(le[0],I);for(var P=1;P<le.length;P++)Cr(le[P],!I)}}function Cr(le,I){for(var P=0,F=0,te=0,ie=le.length,ve=ie-1;te<ie;ve=te++){var Ce=(le[te][0]-le[ve][0])*(le[ve][1]+le[te][1]),oe=P+Ce;F+=Math.abs(P)>=Math.abs(Ce)?P-oe+Ce:Ce-oe+P,P=oe}P+F>=0!=!!I&&le.reverse()}var br=Ee.g(function le(I,P){var F,te=I&&I.type;if(te==="FeatureCollection")for(F=0;F<I.features.length;F++)le(I.features[F],P);else if(te==="GeometryCollection")for(F=0;F<I.geometries.length;F++)le(I.geometries[F],P);else if(te==="Feature")le(I.geometry,P);else if(te==="Polygon")vr(I.coordinates,P);else if(te==="MultiPolygon")for(F=0;F<I.coordinates.length;F++)vr(I.coordinates[F],P);return I});const Ti=Ee.V.prototype.toGeoJSON;var Lr={exports:{}},Oi=Ee.p,To=Ee.a.VectorTileFeature,hi=Hs;function Hs(le,I){this.options=I||{},this.features=le,this.length=le.length}function ia(le,I){this.id=typeof le.id=="number"?le.id:void 0,this.type=le.type,this.rawGeometry=le.type===1?[le.geometry]:le.geometry,this.properties=le.tags,this.extent=I||4096}Hs.prototype.feature=function(le){return new ia(this.features[le],this.options.extent)},ia.prototype.loadGeometry=function(){var le=this.rawGeometry;this.geometry=[];for(var I=0;I<le.length;I++){for(var P=le[I],F=[],te=0;te<P.length;te++)F.push(new Oi(P[te][0],P[te][1]));this.geometry.push(F)}return this.geometry},ia.prototype.bbox=function(){this.geometry||this.loadGeometry();for(var le=this.geometry,I=1/0,P=-1/0,F=1/0,te=-1/0,ie=0;ie<le.length;ie++)for(var ve=le[ie],Ce=0;Ce<ve.length;Ce++){var oe=ve[Ce];I=Math.min(I,oe.x),P=Math.max(P,oe.x),F=Math.min(F,oe.y),te=Math.max(te,oe.y)}return[I,F,P,te]},ia.prototype.toGeoJSON=To.prototype.toGeoJSON;var Ws=Ee.b,Ba=hi;function Fi(le){var I=new Ws;return function(P,F){for(var te in P.layers)F.writeMessage(3,N,P.layers[te])}(le,I),I.finish()}function N(le,I){var P;I.writeVarintField(15,le.version||1),I.writeStringField(1,le.name||""),I.writeVarintField(5,le.extent||4096);var F={keys:[],values:[],keycache:{},valuecache:{}};for(P=0;P<le.length;P++)F.feature=le.feature(P),I.writeMessage(2,dt,F);var te=F.keys;for(P=0;P<te.length;P++)I.writeStringField(3,te[P]);var ie=F.values;for(P=0;P<ie.length;P++)I.writeMessage(4,pu,ie[P])}function dt(le,I){var P=le.feature;P.id!==void 0&&I.writeVarintField(1,P.id),I.writeMessage(2,du,le),I.writeVarintField(3,P.type),I.writeMessage(4,wr,P)}function du(le,I){var P=le.feature,F=le.keys,te=le.values,ie=le.keycache,ve=le.valuecache;for(var Ce in P.properties){var oe=P.properties[Ce],Ie=ie[Ce];if(oe!==null){Ie===void 0&&(F.push(Ce),ie[Ce]=Ie=F.length-1),I.writeVarint(Ie);var qe=typeof oe;qe!=="string"&&qe!=="boolean"&&qe!=="number"&&(oe=JSON.stringify(oe));var je=qe+":"+oe,Dt=ve[je];Dt===void 0&&(te.push(oe),ve[je]=Dt=te.length-1),I.writeVarint(Dt)}}}function oa(le,I){return(I<<3)+(7&le)}function He(le){return le<<1^le>>31}function wr(le,I){for(var P=le.loadGeometry(),F=le.type,te=0,ie=0,ve=P.length,Ce=0;Ce<ve;Ce++){var oe=P[Ce],Ie=1;F===1&&(Ie=oe.length),I.writeVarint(oa(1,Ie));for(var qe=F===3?oe.length-1:oe.length,je=0;je<qe;je++){je===1&&F!==1&&I.writeVarint(oa(2,qe-1));var Dt=oe[je].x-te,$t=oe[je].y-ie;I.writeVarint(He(Dt)),I.writeVarint(He($t)),te+=Dt,ie+=$t}F===3&&I.writeVarint(oa(7,1))}}function pu(le,I){var P=typeof le;P==="string"?I.writeStringField(1,le):P==="boolean"?I.writeBooleanField(7,le):P==="number"&&(le%1!=0?I.writeDoubleField(3,le):le<0?I.writeSVarintField(6,le):I.writeVarintField(5,le))}Lr.exports=Fi,Lr.exports.fromVectorTileJs=Fi,Lr.exports.fromGeojsonVt=function(le,I){I=I||{};var P={};for(var F in le)P[F]=new Ba(le[F].features,I),P[F].name=F,P[F].version=I.version,P[F].extent=I.extent;return Fi({layers:P})},Lr.exports.GeoJSONWrapper=Ba;var Oa=Ee.g(Lr.exports);const fu={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:le=>le},aa=Math.fround||(na=new Float32Array(1),le=>(na[0]=+le,na[0]));var na;const di=3,Me=5,Ni=6;class Vi{constructor(I){this.options=Object.assign(Object.create(fu),I),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(I){const{log:P,minZoom:F,maxZoom:te}=this.options;P&&console.time("total time");const ie=`prepare ${I.length} points`;P&&console.time(ie),this.points=I;const ve=[];for(let oe=0;oe<I.length;oe++){const Ie=I[oe];if(!Ie.geometry)continue;const[qe,je]=Ie.geometry.coordinates,Dt=aa(we(qe)),$t=aa(Zr(je));ve.push(Dt,$t,1/0,oe,-1,1),this.options.reduce&&ve.push(0)}let Ce=this.trees[te+1]=this._createTree(ve);P&&console.timeEnd(ie);for(let oe=te;oe>=F;oe--){const Ie=+Date.now();Ce=this.trees[oe]=this._createTree(this._cluster(Ce,oe)),P&&console.log("z%d: %d clusters in %dms",oe,Ce.numItems,+Date.now()-Ie)}return P&&console.timeEnd("total time"),this}getClusters(I,P){let F=((I[0]+180)%360+360)%360-180;const te=Math.max(-90,Math.min(90,I[1]));let ie=I[2]===180?180:((I[2]+180)%360+360)%360-180;const ve=Math.max(-90,Math.min(90,I[3]));if(I[2]-I[0]>=360)F=-180,ie=180;else if(F>ie){const je=this.getClusters([F,te,180,ve],P),Dt=this.getClusters([-180,te,ie,ve],P);return je.concat(Dt)}const Ce=this.trees[this._limitZoom(P)],oe=Ce.range(we(F),Zr(ve),we(ie),Zr(te)),Ie=Ce.data,qe=[];for(const je of oe){const Dt=this.stride*je;qe.push(Ie[Dt+Me]>1?sa(Ie,Dt,this.clusterProps):this.points[Ie[Dt+di]])}return qe}getChildren(I){const P=this._getOriginId(I),F=this._getOriginZoom(I),te="No cluster with the specified id.",ie=this.trees[F];if(!ie)throw new Error(te);const ve=ie.data;if(P*this.stride>=ve.length)throw new Error(te);const Ce=this.options.radius/(this.options.extent*Math.pow(2,F-1)),oe=ie.within(ve[P*this.stride],ve[P*this.stride+1],Ce),Ie=[];for(const qe of oe){const je=qe*this.stride;ve[je+4]===I&&Ie.push(ve[je+Me]>1?sa(ve,je,this.clusterProps):this.points[ve[je+di]])}if(Ie.length===0)throw new Error(te);return Ie}getLeaves(I,P,F){const te=[];return this._appendLeaves(te,I,P=P||10,F=F||0,0),te}getTile(I,P,F){const te=this.trees[this._limitZoom(I)],ie=Math.pow(2,I),{extent:ve,radius:Ce}=this.options,oe=Ce/ve,Ie=(F-oe)/ie,qe=(F+1+oe)/ie,je={features:[]};return this._addTileFeatures(te.range((P-oe)/ie,Ie,(P+1+oe)/ie,qe),te.data,P,F,ie,je),P===0&&this._addTileFeatures(te.range(1-oe/ie,Ie,1,qe),te.data,ie,F,ie,je),P===ie-1&&this._addTileFeatures(te.range(0,Ie,oe/ie,qe),te.data,-1,F,ie,je),je.features.length?je:null}getClusterExpansionZoom(I){let P=this._getOriginZoom(I)-1;for(;P<=this.options.maxZoom;){const F=this.getChildren(I);if(P++,F.length!==1)break;I=F[0].properties.cluster_id}return P}_appendLeaves(I,P,F,te,ie){const ve=this.getChildren(P);for(const Ce of ve){const oe=Ce.properties;if(oe&&oe.cluster?ie+oe.point_count<=te?ie+=oe.point_count:ie=this._appendLeaves(I,oe.cluster_id,F,te,ie):ie<te?ie++:I.push(Ce),I.length===F)break}return ie}_createTree(I){const P=new Ee.K(I.length/this.stride|0,this.options.nodeSize,Float32Array);for(let F=0;F<I.length;F+=this.stride)P.add(I[F],I[F+1]);return P.finish(),P.data=I,P}_addTileFeatures(I,P,F,te,ie,ve){for(const Ce of I){const oe=Ce*this.stride,Ie=P[oe+Me]>1;let qe,je,Dt;if(Ie)qe=la(P,oe,this.clusterProps),je=P[oe],Dt=P[oe+1];else{const Ht=this.points[P[oe+di]];qe=Ht.properties;const[er,Bt]=Ht.geometry.coordinates;je=we(er),Dt=Zr(Bt)}const $t={type:1,geometry:[[Math.round(this.options.extent*(je*ie-F)),Math.round(this.options.extent*(Dt*ie-te))]],tags:qe};let kr;kr=Ie||this.options.generateId?P[oe+di]:this.points[P[oe+di]].id,kr!==void 0&&($t.id=kr),ve.features.push($t)}}_limitZoom(I){return Math.max(this.options.minZoom,Math.min(Math.floor(+I),this.options.maxZoom+1))}_cluster(I,P){const{radius:F,extent:te,reduce:ie,minPoints:ve}=this.options,Ce=F/(te*Math.pow(2,P)),oe=I.data,Ie=[],qe=this.stride;for(let je=0;je<oe.length;je+=qe){if(oe[je+2]<=P)continue;oe[je+2]=P;const Dt=oe[je],$t=oe[je+1],kr=I.within(oe[je],oe[je+1],Ce),Ht=oe[je+Me];let er=Ht;for(const Bt of kr){const Ir=Bt*qe;oe[Ir+2]>P&&(er+=oe[Ir+Me])}if(er>Ht&&er>=ve){let Bt,Ir=Dt*Ht,Nr=$t*Ht,Vr=-1;const Ei=((je/qe|0)<<5)+(P+1)+this.points.length;for(const Ua of kr){const $r=Ua*qe;if(oe[$r+2]<=P)continue;oe[$r+2]=P;const ro=oe[$r+Me];Ir+=oe[$r]*ro,Nr+=oe[$r+1]*ro,oe[$r+4]=Ei,ie&&(Bt||(Bt=this._map(oe,je,!0),Vr=this.clusterProps.length,this.clusterProps.push(Bt)),ie(Bt,this._map(oe,$r)))}oe[je+4]=Ei,Ie.push(Ir/er,Nr/er,1/0,Ei,-1,er),ie&&Ie.push(Vr)}else{for(let Bt=0;Bt<qe;Bt++)Ie.push(oe[je+Bt]);if(er>1)for(const Bt of kr){const Ir=Bt*qe;if(!(oe[Ir+2]<=P)){oe[Ir+2]=P;for(let Nr=0;Nr<qe;Nr++)Ie.push(oe[Ir+Nr])}}}}return Ie}_getOriginId(I){return I-this.points.length>>5}_getOriginZoom(I){return(I-this.points.length)%32}_map(I,P,F){if(I[P+Me]>1){const ve=this.clusterProps[I[P+Ni]];return F?Object.assign({},ve):ve}const te=this.points[I[P+di]].properties,ie=this.options.map(te);return F&&ie===te?Object.assign({},ie):ie}}function sa(le,I,P){return{type:"Feature",id:le[I+di],properties:la(le,I,P),geometry:{type:"Point",coordinates:[(F=le[I],360*(F-.5)),mu(le[I+1])]}};var F}function la(le,I,P){const F=le[I+Me],te=F>=1e4?`${Math.round(F/1e3)}k`:F>=1e3?Math.round(F/100)/10+"k":F,ie=le[I+Ni],ve=ie===-1?{}:Object.assign({},P[ie]);return Object.assign(ve,{cluster:!0,cluster_id:le[I+di],point_count:F,point_count_abbreviated:te})}function we(le){return le/360+.5}function Zr(le){const I=Math.sin(le*Math.PI/180),P=.5-.25*Math.log((1+I)/(1-I))/Math.PI;return P<0?0:P>1?1:P}function mu(le){const I=(180-360*le)*Math.PI/180;return 360*Math.atan(Math.exp(I))/Math.PI-90}var Fa={exports:{}};Fa.exports=function(){function le(J,Q,ne,ce){for(var ue,fe=ce,ge=ne-Q>>1,he=ne-Q,Te=J[Q],me=J[Q+1],Je=J[ne],St=J[ne+1],Pe=Q+3;Pe<ne;Pe+=3){var wt=I(J[Pe],J[Pe+1],Te,me,Je,St);if(wt>fe)ue=Pe,fe=wt;else if(wt===fe){var Wt=Math.abs(Pe-ge);Wt<he&&(ue=Pe,he=Wt)}}fe>ce&&(ue-Q>3&&le(J,Q,ue,ce),J[ue+2]=fe,ne-ue>3&&le(J,ue,ne,ce))}function I(J,Q,ne,ce,ue,fe){var ge=ue-ne,he=fe-ce;if(ge!==0||he!==0){var Te=((J-ne)*ge+(Q-ce)*he)/(ge*ge+he*he);Te>1?(ne=ue,ce=fe):Te>0&&(ne+=ge*Te,ce+=he*Te)}return(ge=J-ne)*ge+(he=Q-ce)*he}function P(J,Q,ne,ce){var ue={id:J===void 0?null:J,type:Q,geometry:ne,tags:ce,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(fe){var ge=fe.geometry,he=fe.type;if(he==="Point"||he==="MultiPoint"||he==="LineString")F(fe,ge);else if(he==="Polygon"||he==="MultiLineString")for(var Te=0;Te<ge.length;Te++)F(fe,ge[Te]);else if(he==="MultiPolygon")for(Te=0;Te<ge.length;Te++)for(var me=0;me<ge[Te].length;me++)F(fe,ge[Te][me])}(ue),ue}function F(J,Q){for(var ne=0;ne<Q.length;ne+=3)J.minX=Math.min(J.minX,Q[ne]),J.minY=Math.min(J.minY,Q[ne+1]),J.maxX=Math.max(J.maxX,Q[ne]),J.maxY=Math.max(J.maxY,Q[ne+1])}function te(J,Q,ne,ce){if(Q.geometry){var ue=Q.geometry.coordinates,fe=Q.geometry.type,ge=Math.pow(ne.tolerance/((1<<ne.maxZoom)*ne.extent),2),he=[],Te=Q.id;if(ne.promoteId?Te=Q.properties[ne.promoteId]:ne.generateId&&(Te=ce||0),fe==="Point")ie(ue,he);else if(fe==="MultiPoint")for(var me=0;me<ue.length;me++)ie(ue[me],he);else if(fe==="LineString")ve(ue,he,ge,!1);else if(fe==="MultiLineString"){if(ne.lineMetrics){for(me=0;me<ue.length;me++)ve(ue[me],he=[],ge,!1),J.push(P(Te,"LineString",he,Q.properties));return}Ce(ue,he,ge,!1)}else if(fe==="Polygon")Ce(ue,he,ge,!0);else{if(fe!=="MultiPolygon"){if(fe==="GeometryCollection"){for(me=0;me<Q.geometry.geometries.length;me++)te(J,{id:Te,geometry:Q.geometry.geometries[me],properties:Q.properties},ne,ce);return}throw new Error("Input data is not a valid GeoJSON object.")}for(me=0;me<ue.length;me++){var Je=[];Ce(ue[me],Je,ge,!0),he.push(Je)}}J.push(P(Te,fe,he,Q.properties))}}function ie(J,Q){Q.push(oe(J[0])),Q.push(Ie(J[1])),Q.push(0)}function ve(J,Q,ne,ce){for(var ue,fe,ge=0,he=0;he<J.length;he++){var Te=oe(J[he][0]),me=Ie(J[he][1]);Q.push(Te),Q.push(me),Q.push(0),he>0&&(ge+=ce?(ue*me-Te*fe)/2:Math.sqrt(Math.pow(Te-ue,2)+Math.pow(me-fe,2))),ue=Te,fe=me}var Je=Q.length-3;Q[2]=1,le(Q,0,Je,ne),Q[Je+2]=1,Q.size=Math.abs(ge),Q.start=0,Q.end=Q.size}function Ce(J,Q,ne,ce){for(var ue=0;ue<J.length;ue++){var fe=[];ve(J[ue],fe,ne,ce),Q.push(fe)}}function oe(J){return J/360+.5}function Ie(J){var Q=Math.sin(J*Math.PI/180),ne=.5-.25*Math.log((1+Q)/(1-Q))/Math.PI;return ne<0?0:ne>1?1:ne}function qe(J,Q,ne,ce,ue,fe,ge,he){if(ce/=Q,fe>=(ne/=Q)&&ge<ce)return J;if(ge<ne||fe>=ce)return null;for(var Te=[],me=0;me<J.length;me++){var Je=J[me],St=Je.geometry,Pe=Je.type,wt=ue===0?Je.minX:Je.minY,Wt=ue===0?Je.maxX:Je.maxY;if(wt>=ne&&Wt<ce)Te.push(Je);else if(!(Wt<ne||wt>=ce)){var tr=[];if(Pe==="Point"||Pe==="MultiPoint")je(St,tr,ne,ce,ue);else if(Pe==="LineString")Dt(St,tr,ne,ce,ue,!1,he.lineMetrics);else if(Pe==="MultiLineString")kr(St,tr,ne,ce,ue,!1);else if(Pe==="Polygon")kr(St,tr,ne,ce,ue,!0);else if(Pe==="MultiPolygon")for(var lr=0;lr<St.length;lr++){var zr=[];kr(St[lr],zr,ne,ce,ue,!0),zr.length&&tr.push(zr)}if(tr.length){if(he.lineMetrics&&Pe==="LineString"){for(lr=0;lr<tr.length;lr++)Te.push(P(Je.id,Pe,tr[lr],Je.tags));continue}Pe!=="LineString"&&Pe!=="MultiLineString"||(tr.length===1?(Pe="LineString",tr=tr[0]):Pe="MultiLineString"),Pe!=="Point"&&Pe!=="MultiPoint"||(Pe=tr.length===3?"Point":"MultiPoint"),Te.push(P(Je.id,Pe,tr,Je.tags))}}}return Te.length?Te:null}function je(J,Q,ne,ce,ue){for(var fe=0;fe<J.length;fe+=3){var ge=J[fe+ue];ge>=ne&&ge<=ce&&(Q.push(J[fe]),Q.push(J[fe+1]),Q.push(J[fe+2]))}}function Dt(J,Q,ne,ce,ue,fe,ge){for(var he,Te,me=$t(J),Je=ue===0?er:Bt,St=J.start,Pe=0;Pe<J.length-3;Pe+=3){var wt=J[Pe],Wt=J[Pe+1],tr=J[Pe+2],lr=J[Pe+3],zr=J[Pe+4],pi=ue===0?wt:Wt,fr=ue===0?lr:zr,Ur=!1;ge&&(he=Math.sqrt(Math.pow(wt-lr,2)+Math.pow(Wt-zr,2))),pi<ne?fr>ne&&(Te=Je(me,wt,Wt,lr,zr,ne),ge&&(me.start=St+he*Te)):pi>ce?fr<ce&&(Te=Je(me,wt,Wt,lr,zr,ce),ge&&(me.start=St+he*Te)):Ht(me,wt,Wt,tr),fr<ne&&pi>=ne&&(Te=Je(me,wt,Wt,lr,zr,ne),Ur=!0),fr>ce&&pi<=ce&&(Te=Je(me,wt,Wt,lr,zr,ce),Ur=!0),!fe&&Ur&&(ge&&(me.end=St+he*Te),Q.push(me),me=$t(J)),ge&&(St+=he)}var Dr=J.length-3;wt=J[Dr],Wt=J[Dr+1],tr=J[Dr+2],(pi=ue===0?wt:Wt)>=ne&&pi<=ce&&Ht(me,wt,Wt,tr),Dr=me.length-3,fe&&Dr>=3&&(me[Dr]!==me[0]||me[Dr+1]!==me[1])&&Ht(me,me[0],me[1],me[2]),me.length&&Q.push(me)}function $t(J){var Q=[];return Q.size=J.size,Q.start=J.start,Q.end=J.end,Q}function kr(J,Q,ne,ce,ue,fe){for(var ge=0;ge<J.length;ge++)Dt(J[ge],Q,ne,ce,ue,fe,!1)}function Ht(J,Q,ne,ce){J.push(Q),J.push(ne),J.push(ce)}function er(J,Q,ne,ce,ue,fe){var ge=(fe-Q)/(ce-Q);return J.push(fe),J.push(ne+(ue-ne)*ge),J.push(1),ge}function Bt(J,Q,ne,ce,ue,fe){var ge=(fe-ne)/(ue-ne);return J.push(Q+(ce-Q)*ge),J.push(fe),J.push(1),ge}function Ir(J,Q){for(var ne=[],ce=0;ce<J.length;ce++){var ue,fe=J[ce],ge=fe.type;if(ge==="Point"||ge==="MultiPoint"||ge==="LineString")ue=Nr(fe.geometry,Q);else if(ge==="MultiLineString"||ge==="Polygon"){ue=[];for(var he=0;he<fe.geometry.length;he++)ue.push(Nr(fe.geometry[he],Q))}else if(ge==="MultiPolygon")for(ue=[],he=0;he<fe.geometry.length;he++){for(var Te=[],me=0;me<fe.geometry[he].length;me++)Te.push(Nr(fe.geometry[he][me],Q));ue.push(Te)}ne.push(P(fe.id,ge,ue,fe.tags))}return ne}function Nr(J,Q){var ne=[];ne.size=J.size,J.start!==void 0&&(ne.start=J.start,ne.end=J.end);for(var ce=0;ce<J.length;ce+=3)ne.push(J[ce]+Q,J[ce+1],J[ce+2]);return ne}function Vr(J,Q){if(J.transformed)return J;var ne,ce,ue,fe=1<<J.z,ge=J.x,he=J.y;for(ne=0;ne<J.features.length;ne++){var Te=J.features[ne],me=Te.geometry,Je=Te.type;if(Te.geometry=[],Je===1)for(ce=0;ce<me.length;ce+=2)Te.geometry.push(Ei(me[ce],me[ce+1],Q,fe,ge,he));else for(ce=0;ce<me.length;ce++){var St=[];for(ue=0;ue<me[ce].length;ue+=2)St.push(Ei(me[ce][ue],me[ce][ue+1],Q,fe,ge,he));Te.geometry.push(St)}}return J.transformed=!0,J}function Ei(J,Q,ne,ce,ue,fe){return[Math.round(ne*(J*ce-ue)),Math.round(ne*(Q*ce-fe))]}function Ua(J,Q,ne,ce,ue){for(var fe=Q===ue.maxZoom?0:ue.tolerance/((1<<Q)*ue.extent),ge={features:[],numPoints:0,numSimplified:0,numFeatures:0,source:null,x:ne,y:ce,z:Q,transformed:!1,minX:2,minY:1,maxX:-1,maxY:0},he=0;he<J.length;he++){ge.numFeatures++,$r(ge,J[he],fe,ue);var Te=J[he].minX,me=J[he].minY,Je=J[he].maxX,St=J[he].maxY;Te<ge.minX&&(ge.minX=Te),me<ge.minY&&(ge.minY=me),Je>ge.maxX&&(ge.maxX=Je),St>ge.maxY&&(ge.maxY=St)}return ge}function $r(J,Q,ne,ce){var ue=Q.geometry,fe=Q.type,ge=[];if(fe==="Point"||fe==="MultiPoint")for(var he=0;he<ue.length;he+=3)ge.push(ue[he]),ge.push(ue[he+1]),J.numPoints++,J.numSimplified++;else if(fe==="LineString")ro(ge,ue,J,ne,!1,!1);else if(fe==="MultiLineString"||fe==="Polygon")for(he=0;he<ue.length;he++)ro(ge,ue[he],J,ne,fe==="Polygon",he===0);else if(fe==="MultiPolygon")for(var Te=0;Te<ue.length;Te++){var me=ue[Te];for(he=0;he<me.length;he++)ro(ge,me[he],J,ne,!0,he===0)}if(ge.length){var Je=Q.tags||null;if(fe==="LineString"&&ce.lineMetrics){for(var St in Je={},Q.tags)Je[St]=Q.tags[St];Je.mapbox_clip_start=ue.start/ue.size,Je.mapbox_clip_end=ue.end/ue.size}var Pe={geometry:ge,type:fe==="Polygon"||fe==="MultiPolygon"?3:fe==="LineString"||fe==="MultiLineString"?2:1,tags:Je};Q.id!==null&&(Pe.id=Q.id),J.features.push(Pe)}}function ro(J,Q,ne,ce,ue,fe){var ge=ce*ce;if(ce>0&&Q.size<(ue?ge:ce))ne.numPoints+=Q.length/3;else{for(var he=[],Te=0;Te<Q.length;Te+=3)(ce===0||Q[Te+2]>ge)&&(ne.numSimplified++,he.push(Q[Te]),he.push(Q[Te+1])),ne.numPoints++;ue&&function(me,Je){for(var St=0,Pe=0,wt=me.length,Wt=wt-2;Pe<wt;Wt=Pe,Pe+=2)St+=(me[Pe]-me[Wt])*(me[Pe+1]+me[Wt+1]);if(St>0===Je)for(Pe=0,wt=me.length;Pe<wt/2;Pe+=2){var tr=me[Pe],lr=me[Pe+1];me[Pe]=me[wt-2-Pe],me[Pe+1]=me[wt-1-Pe],me[wt-2-Pe]=tr,me[wt-1-Pe]=lr}}(he,fe),J.push(he)}}function Eo(J,Q){var ne=(Q=this.options=function(ue,fe){for(var ge in fe)ue[ge]=fe[ge];return ue}(Object.create(this.options),Q)).debug;if(ne&&console.time("preprocess data"),Q.maxZoom<0||Q.maxZoom>24)throw new Error("maxZoom should be in the 0-24 range");if(Q.promoteId&&Q.generateId)throw new Error("promoteId and generateId cannot be used together.");var ce=function(ue,fe){var ge=[];if(ue.type==="FeatureCollection")for(var he=0;he<ue.features.length;he++)te(ge,ue.features[he],fe,he);else te(ge,ue.type==="Feature"?ue:{geometry:ue},fe);return ge}(J,Q);this.tiles={},this.tileCoords=[],ne&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",Q.indexMaxZoom,Q.indexMaxPoints),console.time("generate tiles"),this.stats={},this.total=0),(ce=function(ue,fe){var ge=fe.buffer/fe.extent,he=ue,Te=qe(ue,1,-1-ge,ge,0,-1,2,fe),me=qe(ue,1,1-ge,2+ge,0,-1,2,fe);return(Te||me)&&(he=qe(ue,1,-ge,1+ge,0,-1,2,fe)||[],Te&&(he=Ir(Te,1).concat(he)),me&&(he=he.concat(Ir(me,-1)))),he}(ce,Q)).length&&this.splitTile(ce,0,0,0),ne&&(ce.length&&console.log("features: %d, points: %d",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd("generate tiles"),console.log("tiles generated:",this.total,JSON.stringify(this.stats)))}function ja(J,Q,ne){return 32*((1<<J)*ne+Q)+J}return Eo.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Eo.prototype.splitTile=function(J,Q,ne,ce,ue,fe,ge){for(var he=[J,Q,ne,ce],Te=this.options,me=Te.debug;he.length;){ce=he.pop(),ne=he.pop(),Q=he.pop(),J=he.pop();var Je=1<<Q,St=ja(Q,ne,ce),Pe=this.tiles[St];if(!Pe&&(me>1&&console.time("creation"),Pe=this.tiles[St]=Ua(J,Q,ne,ce,Te),this.tileCoords.push({z:Q,x:ne,y:ce}),me)){me>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",Q,ne,ce,Pe.numFeatures,Pe.numPoints,Pe.numSimplified),console.timeEnd("creation"));var wt="z"+Q;this.stats[wt]=(this.stats[wt]||0)+1,this.total++}if(Pe.source=J,ue){if(Q===Te.maxZoom||Q===ue)continue;var Wt=1<<ue-Q;if(ne!==Math.floor(fe/Wt)||ce!==Math.floor(ge/Wt))continue}else if(Q===Te.indexMaxZoom||Pe.numPoints<=Te.indexMaxPoints)continue;if(Pe.source=null,J.length!==0){me>1&&console.time("clipping");var tr,lr,zr,pi,fr,Ur,Dr=.5*Te.buffer/Te.extent,Ga=.5-Dr,Mo=.5+Dr,qa=1+Dr;tr=lr=zr=pi=null,fr=qe(J,Je,ne-Dr,ne+Mo,0,Pe.minX,Pe.maxX,Te),Ur=qe(J,Je,ne+Ga,ne+qa,0,Pe.minX,Pe.maxX,Te),J=null,fr&&(tr=qe(fr,Je,ce-Dr,ce+Mo,1,Pe.minY,Pe.maxY,Te),lr=qe(fr,Je,ce+Ga,ce+qa,1,Pe.minY,Pe.maxY,Te),fr=null),Ur&&(zr=qe(Ur,Je,ce-Dr,ce+Mo,1,Pe.minY,Pe.maxY,Te),pi=qe(Ur,Je,ce+Ga,ce+qa,1,Pe.minY,Pe.maxY,Te),Ur=null),me>1&&console.timeEnd("clipping"),he.push(tr||[],Q+1,2*ne,2*ce),he.push(lr||[],Q+1,2*ne,2*ce+1),he.push(zr||[],Q+1,2*ne+1,2*ce),he.push(pi||[],Q+1,2*ne+1,2*ce+1)}}},Eo.prototype.getTile=function(J,Q,ne){var ce=this.options,ue=ce.extent,fe=ce.debug;if(J<0||J>24)return null;var ge=1<<J,he=ja(J,Q=(Q%ge+ge)%ge,ne);if(this.tiles[he])return Vr(this.tiles[he],ue);fe>1&&console.log("drilling down to z%d-%d-%d",J,Q,ne);for(var Te,me=J,Je=Q,St=ne;!Te&&me>0;)me--,Je=Math.floor(Je/2),St=Math.floor(St/2),Te=this.tiles[ja(me,Je,St)];return Te&&Te.source?(fe>1&&console.log("found parent tile z%d-%d-%d",me,Je,St),fe>1&&console.time("drilling down"),this.splitTile(Te.source,me,Je,St,J,Q,ne),fe>1&&console.timeEnd("drilling down"),this.tiles[he]?Vr(this.tiles[he],ue):null):null},function(J,Q){return new Eo(J,Q)}}();var Xs=Ee.g(Fa.exports);function Ys(le,I){const P=le.tileID.canonical;if(!this._geoJSONIndex)return I(null,null);const F=this._geoJSONIndex.getTile(P.z,P.x,P.y);if(!F)return I(null,null);const te=new class{constructor(ve){this.layers={_geojsonTileLayer:this},this.name="_geojsonTileLayer",this.extent=Ee.E,this.length=ve.length,this._features=ve}feature(ve){return new class{constructor(Ce){this._feature=Ce,this.extent=Ee.E,this.type=Ce.type,this.properties=Ce.tags,"id"in Ce&&!isNaN(Ce.id)&&(this.id=parseInt(Ce.id,10))}loadGeometry(){if(this._feature.type===1){const Ce=[];for(const oe of this._feature.geometry)Ce.push([new Ee.P(oe[0],oe[1])]);return Ce}{const Ce=[];for(const oe of this._feature.geometry){const Ie=[];for(const qe of oe)Ie.push(new Ee.P(qe[0],qe[1]));Ce.push(Ie)}return Ce}}toGeoJSON(Ce,oe,Ie){return Ti.call(this,Ce,oe,Ie)}}(this._features[ve])}}(F.features);let ie=Oa(te);ie.byteOffset===0&&ie.byteLength===ie.buffer.byteLength||(ie=new Uint8Array(ie)),I(null,{vectorTile:te,rawData:ie.buffer})}class Js extends Ee.d{constructor(I,P,F,te,ie,ve){super(I,P,F,te,Ys,ve),ie&&(this.loadGeoJSON=ie)}loadData(I,P){const F=I&&I.request,te=F&&F.collectResourceTiming;this.loadGeoJSON(I,(ie,ve)=>{if(ie||!ve)return P(ie);if(typeof ve!="object")return P(new Error(`Input data given to '${I.source}' is not a valid GeoJSON object.`));{br(ve,!0);try{if(I.filter){const oe=Ee.e(I.filter,{type:"boolean","property-type":"data-driven",overridable:!1,transition:!1});if(oe.result==="error")throw new Error(oe.value.map(Ie=>`${Ie.key}: ${Ie.message}`).join(", "));ve={type:"FeatureCollection",features:ve.features.filter(Ie=>oe.value.evaluate({zoom:0},Ie))}}this._geoJSONIndex=I.cluster?new Vi(function({superclusterOptions:oe,clusterProperties:Ie}){if(!Ie||!oe)return oe;const qe={},je={},Dt={accumulated:null,zoom:0},$t={properties:null},kr=Object.keys(Ie);for(const Ht of kr){const[er,Bt]=Ie[Ht],Ir=Ee.e(Bt),Nr=Ee.e(typeof er=="string"?[er,["accumulated"],["get",Ht]]:er);qe[Ht]=Ir.value,je[Ht]=Nr.value}return oe.map=Ht=>{$t.properties=Ht;const er={};for(const Bt of kr)er[Bt]=qe[Bt].evaluate(Dt,$t);return er},oe.reduce=(Ht,er)=>{$t.properties=er;for(const Bt of kr)Dt.accumulated=Ht[Bt],Ht[Bt]=je[Bt].evaluate(Dt,$t)},oe}(I)).load(ve.features):Xs(ve,I.geojsonVtOptions)}catch(oe){return P(oe)}this.loaded={};const Ce={};if(te){const oe=Ee.f(F);oe&&(Ce.resourceTiming={},Ce.resourceTiming[I.source]=JSON.parse(JSON.stringify(oe)))}P(null,Ce)}})}reloadTile(I,P){const F=this.loaded;return F&&F[I.uid]?super.reloadTile(I,P):this.loadTile(I,P)}loadGeoJSON(I,P){if(I.request)Ee.h(I.request,P);else{if(typeof I.data!="string")return P(new Error(`Input data given to '${I.source}' is not a valid GeoJSON object.`));try{return P(null,JSON.parse(I.data))}catch{return P(new Error(`Input data given to '${I.source}' is not a valid GeoJSON object.`))}}}getClusterExpansionZoom(I,P){try{P(null,this._geoJSONIndex.getClusterExpansionZoom(I.clusterId))}catch(F){P(F)}}getClusterChildren(I,P){try{P(null,this._geoJSONIndex.getChildren(I.clusterId))}catch(F){P(F)}}getClusterLeaves(I,P){try{P(null,this._geoJSONIndex.getLeaves(I.clusterId,I.limit,I.offset))}catch(F){P(F)}}}class pr{constructor(I,P){this.tileID=new Ee.O(I.tileID.overscaledZ,I.tileID.wrap,I.tileID.canonical.z,I.tileID.canonical.x,I.tileID.canonical.y),this.tileZoom=I.tileZoom,this.uid=I.uid,this.zoom=I.zoom,this.canonical=I.tileID.canonical,this.pixelRatio=I.pixelRatio,this.tileSize=I.tileSize,this.source=I.source,this.overscaling=this.tileID.overscaleFactor(),this.projection=I.projection,this.brightness=P}parse(I,P,F,te){this.status="parsing";const ie=new Ee.O(F.tileID.overscaledZ,F.tileID.wrap,F.tileID.canonical.z,F.tileID.canonical.x,F.tileID.canonical.y),ve={},Ce=P.familiesBySource[F.source],oe=new Ee.F(ie,F.promoteId);return oe.bucketLayerIDs=[],Ee.l(I).then(Ie=>{if(!Ie)return te(new Error("Could not parse tile"));const qe=Ee.j(Ie,1/Ee.t(F.tileID.canonical)),je=Ie.json.extensionsUsed&&Ie.json.extensionsUsed.includes("MAPBOX_mesh_features"),Dt=new Ee.k(this.zoom,{brightness:this.brightness});for(const $t in Ce)for(const kr of Ce[$t]){const Ht=kr[0],er=Ie.json.extensionsUsed;Ht.recalculate(Dt,[]);const Bt=new Ee.T(qe,ie,er&&er.includes("MAPBOX_mesh_features"),this.brightness);je||(Bt.needsUpload=!0),ve[Ht.fqid]=Bt,Bt.evaluate(Ht)}this.status="done",te(null,{buckets:ve,featureIndex:oe})}).catch(Ie=>te(new Error(Ie.message)))}}class Na{constructor(I,P,F,te,ie,ve){this.actor=I,this.layerIndex=P,this.brightness=ve,this.loading={},this.loaded={}}loadTile(I,P){const F=I.uid,te=this.loading[F]=new pr(I,this.brightness);Ee.i(I.request,(ie,ve)=>{const Ce=!this.loading[F];return delete this.loading[F],Ce||ie?(te.status="done",Ce||(this.loaded[F]=te),P(ie)):ve&&ve.byteLength!==0?void te.parse(ve,this.layerIndex,I,(oe,Ie)=>{te.status="done",this.loaded=this.loaded||{},this.loaded[F]=te,oe||!Ie?P(oe):P(null,Ie)}):(te.status="done",this.loaded[F]=te,P())})}reloadTile(I,P){const F=this.loaded,te=I.uid;if(F&&F[te]){const ie=F[te];ie.projection=I.projection,ie.brightness=I.brightness;const ve=(Ce,oe)=>{ie.reloadCallback&&(delete ie.reloadCallback,this.loadTile(I,P)),P(Ce,oe)};ie.status==="parsing"?ie.reloadCallback=ve:ie.status==="done"&&this.loadTile(I,P)}}abortTile(I,P){const F=I.uid;this.loading[F]&&delete this.loading[F],P()}removeTile(I,P){const F=this.loaded,te=I.uid;F&&F[te]&&delete F[te],P()}}class Va{constructor(I){this.self=I,this.actor=new Ee.A(I,this),this.layerIndexes={},this.availableImages={},this.isSpriteLoaded={},this.projections={},this.defaultProjection=Ee.m({name:"mercator"}),this.workerSourceTypes={vector:Ee.d,geojson:Js,"batched-model":Na},this.workerSources={},this.demWorkerSources={},this.self.registerWorkerSource=(P,F)=>{if(this.workerSourceTypes[P])throw new Error(`Worker source with name "${P}" already registered.`);this.workerSourceTypes[P]=F},this.self.registerRTLTextPlugin=P=>{if(Ee.n.isParsed())throw new Error("RTL text plugin already registered.");Ee.n.applyArabicShaping=P.applyArabicShaping,Ee.n.processBidirectionalText=P.processBidirectionalText,Ee.n.processStyledBidirectionalText=P.processStyledBidirectionalText}}clearCaches(I,P,F){delete this.layerIndexes[I],delete this.availableImages[I],delete this.workerSources[I],delete this.demWorkerSources[I],F()}checkIfReady(I,P,F){F()}setReferrer(I,P){this.referrer=P}spriteLoaded(I,{scope:P,isLoaded:F}){if(this.isSpriteLoaded[I]||(this.isSpriteLoaded[I]={}),this.isSpriteLoaded[I][P]=F,this.workerSources[I]&&this.workerSources[I][P])for(const te in this.workerSources[I][P]){const ie=this.workerSources[I][P][te];for(const ve in ie)ie[ve]instanceof Ee.d&&(ie[ve].isSpriteLoaded=F,ie[ve].fire(new Ee.o("isSpriteLoaded")))}}setImages(I,{scope:P,images:F},te){if(this.availableImages[I]||(this.availableImages[I]={}),this.availableImages[I][P]=F,this.workerSources[I]&&this.workerSources[I][P]){for(const ie in this.workerSources[I][P]){const ve=this.workerSources[I][P][ie];for(const Ce in ve)ve[Ce].availableImages=F}te()}else te()}setProjection(I,P){this.projections[I]=Ee.m(P)}setBrightness(I,P,F){this.brightness=P,F()}setLayers(I,P,F){this.getLayerIndex(I,P.scope).replace(P.layers,P.options),F()}updateLayers(I,P,F){this.getLayerIndex(I,P.scope).update(P.layers,P.removedIds,P.options),F()}loadTile(I,P,F){P.projection=this.projections[I]||this.defaultProjection,this.getWorkerSource(I,P.type,P.source,P.scope).loadTile(P,F)}loadDEMTile(I,P,F){this.getDEMWorkerSource(I,P.source,P.scope).loadTile(P,F)}reloadTile(I,P,F){P.projection=this.projections[I]||this.defaultProjection,this.getWorkerSource(I,P.type,P.source,P.scope).reloadTile(P,F)}abortTile(I,P,F){this.getWorkerSource(I,P.type,P.source,P.scope).abortTile(P,F)}removeTile(I,P,F){this.getWorkerSource(I,P.type,P.source,P.scope).removeTile(P,F)}removeSource(I,P,F){if(!(this.workerSources[I]&&this.workerSources[I][P.scope]&&this.workerSources[I][P.scope][P.type]&&this.workerSources[I][P.scope][P.type][P.source]))return;const te=this.workerSources[I][P.scope][P.type][P.source];delete this.workerSources[I][P.scope][P.type][P.source],te.removeSource!==void 0?te.removeSource(P,F):F()}loadWorkerSource(I,P,F){try{this.self.importScripts(P.url),F()}catch(te){F(te.toString())}}syncRTLPluginState(I,P,F){try{Ee.n.setState(P);const te=Ee.n.getPluginURL();if(Ee.n.isLoaded()&&!Ee.n.isParsed()&&te!=null){this.self.importScripts(te);const ie=Ee.n.isParsed();F(ie?void 0:new Error(`RTL Text Plugin failed to import scripts from ${te}`),ie)}}catch(te){F(te.toString())}}setDracoUrl(I,P){this.dracoUrl=P}getAvailableImages(I,P){this.availableImages[I]||(this.availableImages[I]={});let F=this.availableImages[I][P];return F||(F=[]),F}getLayerIndex(I,P){this.layerIndexes[I]||(this.layerIndexes[I]={});let F=this.layerIndexes[I][P];return F||(F=this.layerIndexes[I][P]=new Rr,F.scope=P),F}getWorkerSource(I,P,F,te){if(this.workerSources[I]||(this.workerSources[I]={}),this.workerSources[I][te]||(this.workerSources[I][te]={}),this.workerSources[I][te][P]||(this.workerSources[I][te][P]={}),this.isSpriteLoaded[I]||(this.isSpriteLoaded[I]={}),!this.workerSources[I][te][P][F]){const ie={send:(ve,Ce,oe,Ie,qe,je)=>{this.actor.send(ve,Ce,oe,I,qe,je)},scheduler:this.actor.scheduler};this.workerSources[I][te][P][F]=new this.workerSourceTypes[P](ie,this.getLayerIndex(I,te),this.getAvailableImages(I,te),this.isSpriteLoaded[I][te],void 0,this.brightness)}return this.workerSources[I][te][P][F]}getDEMWorkerSource(I,P,F){return this.demWorkerSources[I]||(this.demWorkerSources[I]={}),this.demWorkerSources[I][F]||(this.demWorkerSources[I][F]={}),this.demWorkerSources[I][F][P]||(this.demWorkerSources[I][F][P]=new Oe),this.demWorkerSources[I][F][P]}enforceCacheSizeLimit(I,P){Ee.q(P)}getWorkerPerformanceMetrics(I,P,F){F(void 0,void 0)}}return typeof WorkerGlobalScope<"u"&&typeof self<"u"&&self instanceof WorkerGlobalScope&&(self.worker=new Va(self)),Va}),Bi(["./shared"],function(Ee){return Ee.s});var ra=ko;return ra})})(uv);var hu=uv.exports;const $E={key:0,class:"kvass-map__address"},lv=zE({__name:"Map",props:{coordinates:{},address:{},markers:{},markerIcon:{},aspectRatio:{default:"2/1"},mapOptions:{},markerOptions:{},showControls:{type:Boolean,default:!0},showAddress:{type:Boolean,default:!1},zoom:{default:12},center:{}},setup(Ar){const Pt=Ar,ai=Zs(),Or=Zs(),ko=Bn(()=>({center:Pt.center??Pt.coordinates??Pt?.markers?.[0]?.coordinates,zoom:Pt.zoom,dragPan:!0,scrollZoom:!1,dragRotate:!1,cooperativeGestures:!1,...Pt.mapOptions})),Bi=Bn(()=>Pt.markers?Pt.markers.map(({coordinates:vr})=>vr):[]);function ra(){var vr=Bi.value.map(Lr=>Lr[0]),Cr=Bi.value.map(Lr=>Lr[1]),br=[Math.min.apply(null,vr),Math.min.apply(null,Cr)],Ti=[Math.max.apply(null,vr),Math.max.apply(null,Cr)];return[br,Ti]}function Ee(){if(!Pt.coordinates&&!Pt.markers||!ai.value)return;const vr=Bi.value.length>1?{bounds:ra(),fitBoundsOptions:{padding:75}}:{};Or.value=new hu.Map({container:ai.value,...ko.value,...vr,language:document.querySelector("html")?.getAttribute("lang")||"auto"}),Rr(),Oe()}DE(()=>{Ee()}),PE(()=>{Or.value?.remove()});const H=Bn(()=>({color:"var(--kvass-map-primary-color)",...Pt.markerOptions})),Fr=Zs([]);function Rr(){if(!Or.value)return;const vr=Pt.markers||[{coordinates:Pt.coordinates}];let Cr;vr.forEach(br=>{if(br.content&&(Cr=new hu.Popup({offset:20}).setHTML(`<img src='${br.content.thumbnail}' width="100%">
2028
+ (${r.data.width}, ${r.data.height})`))):this.fire(new Ue(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")))}hasImage(t){return t?!!this.style&&!!this.style.getImage(t):(this.fire(new Ue(new Error("Missing required image id"))),!1)}removeImage(t){this.style.removeImage(t)}loadImage(t,e){Je(this._requestManager.transformRequest(t,J.Image),(r,i)=>{e(r,i instanceof H.HTMLImageElement?Ge.getImageData(i):i)})}listImages(){return this.style.listImages()}addModel(t,e){this._lazyInitEmptyStyle(),this.style.addModel(t,e)}hasModel(t){return t?this.style.hasModel(t):(this.fire(new Ue(new Error("Missing required model id"))),!1)}removeModel(t){this.style.removeModel(t)}listModels(){return this.style.listModels()}addLayer(t,e){return this._isValidId(t.id)?(this._lazyInitEmptyStyle(),this.style.addLayer(t,e),this._update(!0)):this}moveLayer(t,e){return this._isValidId(t)?(this.style.moveLayer(t,e),this._update(!0)):this}removeLayer(t){return this._isValidId(t)?(this.style.removeLayer(t),this._update(!0)):this}getLayer(t){return this._isValidId(t)?this.style.getOwnLayer(t):null}setLayerZoomRange(t,e,r){return this._isValidId(t)?(this.style.setLayerZoomRange(t,e,r),this._update(!0)):this}setFilter(t,e,r={}){return this._isValidId(t)?(this.style.setFilter(t,e,r),this._update(!0)):this}getFilter(t){return this._isValidId(t)?this.style.getFilter(t):null}setPaintProperty(t,e,r,i={}){return this._isValidId(t)?(this.style.setPaintProperty(t,e,r,i),this._update(!0)):this}getPaintProperty(t,e){return this._isValidId(t)?this.style.getPaintProperty(t,e):null}setLayoutProperty(t,e,r,i={}){return this._isValidId(t)?(this.style.setLayoutProperty(t,e,r,i),this._update(!0)):this}getLayoutProperty(t,e){return this._isValidId(t)?this.style.getLayoutProperty(t,e):null}getConfigProperty(t,e){return this.style.getConfigProperty(t,e)}setConfigProperty(t,e,r){return this.style.setConfigProperty(t,e,r),this._update(!0)}setLights(t){if(this._lazyInitEmptyStyle(),t&&t.length===1&&t[0].type==="flat"){const e=t[0];e.properties?this.style.setFlatLight(e.properties,e.id,{}):this.style.setFlatLight({},"flat")}else this.style.setLights(t),this.painter.terrain&&(this.painter.terrain.invalidateRenderCache=!0);return this._update(!0)}getLights(){const t=this.style.getLights()||[];return t.length===0&&t.push({id:this.style.light.id,type:"flat",properties:this.style.getFlatLight()}),t}setLight(t,e={}){return console.log("The `map.setLight` function is deprecated, prefer using `map.setLights` with `flat` light type instead."),this.setLights([{id:"flat",type:"flat",properties:t}])}getLight(){return console.log("The `map.getLight` function is deprecated, prefer using `map.getLights` instead."),this.style.getFlatLight()}setTerrain(t){return this._lazyInitEmptyStyle(),!t&&this.transform.projection.requiresDraping?this.style.setTerrainForDraping():this.style.setTerrain(t),this._averageElevationLastSampledAt=-1/0,this._update(!0)}getTerrain(){return this.style?this.style.getTerrain():null}setFog(t){return this._lazyInitEmptyStyle(),this.style.setFog(t),this._update(!0)}getFog(){return this.style?this.style.getFog():null}setCamera(t){return this.style.setCamera(t),this._triggerCameraUpdate(t)}_triggerCameraUpdate(t){return this._update(this.transform.setOrthographicProjectionAtLowPitch(t["camera-projection"]==="orthographic"))}getCamera(){return this.style.camera}_queryFogOpacity(t){return this.style&&this.style.fog?this.style.fog.getOpacityAtLatLng(Ve.convert(t),this.transform):0}setFeatureState(t,e){return this._isValidId(t.source)?(this.style.setFeatureState(t,e),this._update()):this}removeFeatureState(t,e){return this._isValidId(t.source)?(this.style.removeFeatureState(t,e),this._update()):this}getFeatureState(t){return this._isValidId(t.source)?this.style.getFeatureState(t):null}_updateContainerDimensions(){if(!this._container)return;const t=this._container.getBoundingClientRect().width||400,e=this._container.getBoundingClientRect().height||300;let r,i,o,a=this._container;for(;a&&(!i||!o);){const n=H.getComputedStyle(a).transform;n&&n!=="none"&&(r=n.match(/matrix.*\((.+)\)/)[1].split(", "),r[0]&&r[0]!=="0"&&r[0]!=="1"&&(i=r[0]),r[3]&&r[3]!=="0"&&r[3]!=="1"&&(o=r[3])),a=a.parentElement}this._containerWidth=i?Math.abs(t/i):t,this._containerHeight=o?Math.abs(e/o):e}_detectMissingCSS(){H.getComputedStyle(this._missingCSSCanary).getPropertyValue("background-color")!=="rgb(250, 128, 114)"&&F("This page appears to be missing CSS declarations for Mapbox GL JS, which may cause the map to display incorrectly. Please ensure your page includes mapbox-gl.css, as described in https://www.mapbox.com/mapbox-gl-js/api/.")}_setupContainer(){const t=this._container;t.classList.add("mapboxgl-map"),(this._missingCSSCanary=zt("div","mapboxgl-canary",t)).style.visibility="hidden",this._detectMissingCSS();const e=this._canvasContainer=zt("div","mapboxgl-canvas-container",t);this._canvas=zt("canvas","mapboxgl-canvas",e),this._interactive&&(e.classList.add("mapboxgl-interactive"),this._canvas.setAttribute("tabindex","0")),this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("aria-label",this._getUIString("Map.Title")),this._canvas.setAttribute("role","region"),this._updateContainerDimensions(),this._resizeCanvas(this._containerWidth,this._containerHeight);const r=this._controlContainer=zt("div","mapboxgl-control-container",t),i=this._controlPositions={};["top-left","top-right","bottom-left","bottom-right"].forEach(o=>{i[o]=zt("div",`mapboxgl-ctrl-${o}`,r)}),this._container.addEventListener("scroll",this._onMapScroll,!1)}_resizeCanvas(t,e){const r=Ge.devicePixelRatio||1;this._canvas.width=r*Math.ceil(t),this._canvas.height=r*Math.ceil(e),this._canvas.style.width=`${t}px`,this._canvas.style.height=`${e}px`}_addMarker(t){this._markers.push(t)}_removeMarker(t){const e=this._markers.indexOf(t);e!==-1&&this._markers.splice(e,1)}_addPopup(t){this._popups.push(t)}_removePopup(t){const e=this._popups.indexOf(t);e!==-1&&this._popups.splice(e,1)}_setupPainter(){const t=we({},df.webGLContextAttributes,{failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1}),e=this._canvas.getContext("webgl2",t);e?(cf(e,!0),this.painter=new PT(e,this._contextCreateOptions,this.transform),this.on("data",r=>{r.dataType==="source"&&this.painter.setTileLoadedFlag(!0)}),vr.testSupport(e)):this.fire(new Ue(new Error("Failed to initialize WebGL")))}_contextLost(t){t.preventDefault(),this._frame&&(this._frame.cancel(),this._frame=null),this.fire(new se("webglcontextlost",{originalEvent:t}))}_contextRestored(t){this._setupPainter(),this.resize(),this._update(),this.fire(new se("webglcontextrestored",{originalEvent:t}))}_onMapScroll(t){if(t.target===this._container)return this._container.scrollTop=0,this._container.scrollLeft=0,!1}loaded(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()}_update(t){return this.style?(this._styleDirty=this._styleDirty||t,this._sourcesDirty=!0,this.triggerRepaint(),this):this}_requestRenderFrame(t){return this._update(),this._renderTaskQueue.add(t)}_cancelRenderFrame(t){this._renderTaskQueue.remove(t)}_requestDomTask(t){!this.loaded()||this.loaded()&&!this.isMoving()?t():this._domRenderTaskQueue.add(t)}_render(t){let e;this.fire(new se("renderstart"));const r=this.painter.context.extTimerQuery,i=Ge.now(),o=this.painter.context.gl;if(this.listens("gpu-timing-frame")&&(e=o.createQuery(),o.beginQuery(r.TIME_ELAPSED_EXT,e)),this.painter.context.setDirty(),this.painter.setBaseState(),(this.isMoving()||this.isRotating()||this.isZooming())&&(this._interactionRange[0]=Math.min(this._interactionRange[0],H.performance.now()),this._interactionRange[1]=Math.max(this._interactionRange[1],H.performance.now())),this._renderTaskQueue.run(t),this._domRenderTaskQueue.run(t),this._removed)return;this._updateProjectionTransition();const a=this._isInitialLoad?0:this._fadeDuration;if(this.style&&this._styleDirty){this._styleDirty=!1;const l=this.transform.zoom,c=this.transform.pitch,u=Ge.now(),h=new Ut(l,{now:u,fadeDuration:a,pitch:c,transition:this.style.transition});this.style.update(h)}this.style&&this.style.hasFogTransition()&&(this.style._markersNeedUpdate=!0,this._sourcesDirty=!0);let n=!1;if(this.style&&this._sourcesDirty?(this._sourcesDirty=!1,this.painter._updateFog(this.style),this._updateTerrain(),n=this._updateAverageElevation(i),this.style.updateSources(this.transform),this._forceMarkerAndPopupUpdate()):n=this._updateAverageElevation(i),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,a,this._crossSourceCollisions),this.style&&this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,wireframe:{terrain:this.showTerrainWireframe,layers2D:this.showLayers2DWireframe,layers3D:this.showLayers3DWireframe},showOverdrawInspector:this._showOverdrawInspector,showQueryGeometry:!!this._showQueryGeometry,showTileAABBs:this.showTileAABBs,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:a,isInitialLoad:this._isInitialLoad,showPadding:this.showPadding,gpuTiming:!!this.listens("gpu-timing-layer"),gpuTimingDeferredRender:!!this.listens("gpu-timing-deferred-render"),speedIndexTiming:this.speedIndexTiming}),this.fire(new se("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,this.fire(new se("load"))),this.style&&this.style.hasTransitions()&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles(),e){const l=Ge.now()-i;o.endQuery(r.TIME_ELAPSED_EXT),setTimeout(()=>{const c=o.getQueryParameter(e,o.QUERY_RESULT)/1e6;o.deleteQuery(e),this.fire(new se("gpu-timing-frame",{cpuTime:l,gpuTime:c})),H.performance.mark("frame-gpu",{startTime:i,detail:{gpuTime:c}})},50)}if(this.listens("gpu-timing-layer")){const l=this.painter.collectGpuTimers();setTimeout(()=>{const c=this.painter.queryGpuTimers(l);this.fire(new se("gpu-timing-layer",{layerTimes:c}))},50)}if(this.listens("gpu-timing-deferred-render")){const l=this.painter.collectDeferredRenderGpuQueries();setTimeout(()=>{const c=this.painter.queryGpuTimeDeferredRender(l);this.fire(new se("gpu-timing-deferred-render",{gpuTime:c}))},50)}const s=this._sourcesDirty||this._styleDirty||this._placementDirty||n;if(s||this._repaint)this.triggerRepaint();else{const l=!this.isMoving()&&this.loaded();if(l&&(n=this._updateAverageElevation(i,!0)),n)this.triggerRepaint();else if(this._triggerFrame(!1),l&&(this.fire(new se("idle")),this._isInitialLoad=!1,this.speedIndexTiming)){const c=this._calculateSpeedIndex();this.fire(new se("speedindexcompleted",{speedIndex:c})),this.speedIndexTiming=!1}}!this._loaded||this._fullyLoaded||s||(this._fullyLoaded=!0,uf.mark(Qs.fullLoad),this._performanceMetricsCollection&&pv(this._requestManager._customAccessToken,{width:this.painter.width,height:this.painter.height,interactionRange:this._interactionRange,visibilityHidden:this._visibilityHidden,terrainEnabled:!!this.painter.style.getTerrain(),fogEnabled:!!this.painter.style.getFog(),projection:this.getProjection().name,zoom:this.transform.zoom,renderer:this.painter.context.renderer,vendor:this.painter.context.vendor}),this._authenticate())}_forceMarkerAndPopupUpdate(t){for(const e of this._markers)t&&!this.getRenderWorldCopies()&&(e._lngLat=e._lngLat.wrap()),e._update();for(const e of this._popups)!t||this.getRenderWorldCopies()||e._trackPointer||(e._lngLat=e._lngLat.wrap()),e._update()}_updateAverageElevation(t,e=!1){const r=o=>(this.transform.averageElevation=o,this._update(!1),!0);if(!this.painter.averageElevationNeedsEasing())return this.transform.averageElevation!==0&&r(0);const i=this.transform.elevation&&this.transform.elevation.exaggeration()!==this._averageElevationExaggeration;if(i||(e||t-this._averageElevationLastSampledAt>500)&&!this._averageElevation.isEasing(t)){const o=this.transform.averageElevation;let a=this.transform.sampleAverageElevation();this.transform.elevation&&(this._averageElevationExaggeration=this.transform.elevation.exaggeration()),isNaN(a)?a=0:this._averageElevationLastSampledAt=t;const n=Math.abs(o-a);if(n>1){if(this._isInitialLoad||i)return this._averageElevation.jumpTo(a),r(a);this._averageElevation.easeTo(a,t,300)}else if(n>1e-4)return this._averageElevation.jumpTo(a),r(a)}return!!this._averageElevation.isEasing(t)&&r(this._averageElevation.getValue(t))}_authenticate(){fv(this._getMapId(),this._requestManager._skuToken,this._requestManager._customAccessToken,t=>{if(t&&(t.message===St||t.status===401)){const e=this.painter.context.gl;cf(e,!1),this._logoControl instanceof Hx&&this._logoControl._updateLogo(),e&&e.clear(e.DEPTH_BUFFER_BIT|e.COLOR_BUFFER_BIT|e.STENCIL_BUFFER_BIT),this._silenceAuthErrors||this.fire(new Ue(new Error("A valid Mapbox access token is required to use Mapbox GL JS. To create an account or a new access token, visit https://account.mapbox.com/")))}}),dv(this._getMapId(),this._requestManager._skuToken,this._requestManager._customAccessToken,()=>{})}_updateTerrain(){const t=this._isDragging();this.painter.updateTerrain(this.style,t)}_calculateSpeedIndex(){const t=this.painter.canvasCopy(),e=this.painter.getCanvasCopiesAndTimestamps();e.timeStamps.push(performance.now());const r=this.painter.context.gl,i=r.createFramebuffer();function o(a){r.framebufferTexture2D(r.FRAMEBUFFER,r.COLOR_ATTACHMENT0,r.TEXTURE_2D,a,0);const n=new Uint8Array(r.drawingBufferWidth*r.drawingBufferHeight*4);return r.readPixels(0,0,r.drawingBufferWidth,r.drawingBufferHeight,r.RGBA,r.UNSIGNED_BYTE,n),n}return r.bindFramebuffer(r.FRAMEBUFFER,i),this._canvasPixelComparison(o(t),e.canvasCopies.map(o),e.timeStamps)}_canvasPixelComparison(t,e,r){let i=r[1]-r[0];const o=t.length/4;for(let a=0;a<e.length;a++){const n=e[a];let s=0;for(let l=0;l<n.length;l+=4)n[l]===t[l]&&n[l+1]===t[l+1]&&n[l+2]===t[l+2]&&n[l+3]===t[l+3]&&(s+=1);i+=(r[a+2]-r[a+1])*(1-s/o)}return i}remove(){this._hash&&this._hash.remove();for(const e of this._controls)e.onRemove(this);this._controls=[],this._frame&&(this._frame.cancel(),this._frame=null),this._renderTaskQueue.clear(),this._domRenderTaskQueue.clear(),this.style&&this.style.destroy(),this.painter.destroy(),this.handlers&&this.handlers.destroy(),this.handlers=void 0,this.setStyle(null),H!==void 0&&(H.removeEventListener("resize",this._onWindowResize,!1),H.removeEventListener("orientationchange",this._onWindowResize,!1),H.removeEventListener(this._fullscreenchangeEvent,this._onWindowResize,!1),H.removeEventListener("online",this._onWindowOnline,!1),H.removeEventListener("visibilitychange",this._onVisibilityChange,!1));const t=this.painter.context.gl.getExtension("WEBGL_lose_context");t&&t.loseContext(),this._canvas.removeEventListener("webglcontextlost",this._contextLost,!1),this._canvas.removeEventListener("webglcontextrestored",this._contextRestored,!1),this._canvasContainer.remove(),this._controlContainer.remove(),this._missingCSSCanary.remove(),this._canvas=void 0,this._canvasContainer=void 0,this._controlContainer=void 0,this._missingCSSCanary=void 0,this._container.classList.remove("mapboxgl-map"),this._container.removeEventListener("scroll",this._onMapScroll,!1),Ks.delete(this.painter.context.gl),this._removed=!0,this.fire(new se("remove"))}triggerRepaint(){this._triggerFrame(!0)}_triggerFrame(t){this._renderNextFrame=this._renderNextFrame||t,this.style&&!this._frame&&(this._frame=Ge.frame(e=>{const r=!!this._renderNextFrame;this._frame=null,this._renderNextFrame=null,r&&this._render(e)}))}_preloadTiles(t){return sa(this.style?Object.values(this.style._sourceCaches):[],(e,r)=>e._preloadTiles(t,r),()=>{this.triggerRepaint()}),this}_onWindowOnline(){this._update()}_onWindowResize(t){this._trackResize&&this.resize({originalEvent:t})._update()}_onVisibilityChange(){H.document.visibilityState==="hidden"&&this._visibilityHidden++}get showTileBoundaries(){return!!this._showTileBoundaries}set showTileBoundaries(t){this._showTileBoundaries!==t&&(this._showTileBoundaries=t,this._update())}get showTerrainWireframe(){return!!this._showTerrainWireframe}set showTerrainWireframe(t){this._showTerrainWireframe!==t&&(this._showTerrainWireframe=t,this._update())}get showLayers2DWireframe(){return!!this._showLayers2DWireframe}set showLayers2DWireframe(t){this._showLayers2DWireframe!==t&&(this._showLayers2DWireframe=t,this._update())}get showLayers3DWireframe(){return!!this._showLayers3DWireframe}set showLayers3DWireframe(t){this._showLayers3DWireframe!==t&&(this._showLayers3DWireframe=t,this._update())}get speedIndexTiming(){return!!this._speedIndexTiming}set speedIndexTiming(t){this._speedIndexTiming!==t&&(this._speedIndexTiming=t,this._update())}get showPadding(){return!!this._showPadding}set showPadding(t){this._showPadding!==t&&(this._showPadding=t,this._update())}get showCollisionBoxes(){return!!this._showCollisionBoxes}set showCollisionBoxes(t){this._showCollisionBoxes!==t&&(this._showCollisionBoxes=t,t?this.style._generateCollisionBoxes():this._update())}get showOverdrawInspector(){return!!this._showOverdrawInspector}set showOverdrawInspector(t){this._showOverdrawInspector!==t&&(this._showOverdrawInspector=t,this._update())}get repaint(){return!!this._repaint}set repaint(t){this._repaint!==t&&(this._repaint=t,this.triggerRepaint())}get vertices(){return!!this._vertices}set vertices(t){this._vertices=t,this._update()}get showTileAABBs(){return!!this._showTileAABBs}set showTileAABBs(t){this._showTileAABBs!==t&&(this._showTileAABBs=t,t&&this._update())}_setCacheLimits(t,e){(function(r,i){Ir=r,Nr=i})(t,e)}get version(){return Fr}},NavigationControl:class{constructor(t){this.options=we({},EE,t),this._container=zt("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._container.addEventListener("contextmenu",e=>e.preventDefault()),this.options.showZoom&&(pr(["_setButtonTitle","_updateZoomButtons"],this),this._zoomInButton=this._createButton("mapboxgl-ctrl-zoom-in",e=>{this._map&&this._map.zoomIn({},{originalEvent:e})}),zt("span","mapboxgl-ctrl-icon",this._zoomInButton).setAttribute("aria-hidden","true"),this._zoomOutButton=this._createButton("mapboxgl-ctrl-zoom-out",e=>{this._map&&this._map.zoomOut({},{originalEvent:e})}),zt("span","mapboxgl-ctrl-icon",this._zoomOutButton).setAttribute("aria-hidden","true")),this.options.showCompass&&(pr(["_rotateCompassArrow"],this),this._compass=this._createButton("mapboxgl-ctrl-compass",e=>{const r=this._map;r&&(this.options.visualizePitch?r.resetNorthPitch({},{originalEvent:e}):r.resetNorth({},{originalEvent:e}))}),this._compassIcon=zt("span","mapboxgl-ctrl-icon",this._compass),this._compassIcon.setAttribute("aria-hidden","true"))}_updateZoomButtons(){const t=this._map;if(!t)return;const e=t.getZoom(),r=e===t.getMaxZoom(),i=e===t.getMinZoom();this._zoomInButton.disabled=r,this._zoomOutButton.disabled=i,this._zoomInButton.setAttribute("aria-disabled",r.toString()),this._zoomOutButton.setAttribute("aria-disabled",i.toString())}_rotateCompassArrow(){const t=this._map;if(!t)return;const e=this.options.visualizePitch?`scale(${1/Math.pow(Math.cos(t.transform.pitch*(Math.PI/180)),.5)}) rotateX(${t.transform.pitch}deg) rotateZ(${t.transform.angle*(180/Math.PI)}deg)`:`rotate(${t.transform.angle*(180/Math.PI)}deg)`;t._requestDomTask(()=>{this._compassIcon&&(this._compassIcon.style.transform=e)})}onAdd(t){return this._map=t,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,"ZoomIn"),this._setButtonTitle(this._zoomOutButton,"ZoomOut"),t.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,"ResetBearing"),this.options.visualizePitch&&t.on("pitch",this._rotateCompassArrow),t.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new ME(t,this._compass,this.options.visualizePitch)),this._container}onRemove(){const t=this._map;t&&(this._container.remove(),this.options.showZoom&&t.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&t.off("pitch",this._rotateCompassArrow),t.off("rotate",this._rotateCompassArrow),this._handler&&this._handler.off(),this._handler=void 0),this._map=void 0)}_createButton(t,e){const r=zt("button",t,this._container);return r.type="button",r.addEventListener("click",e),r}_setButtonTitle(t,e){if(!this._map)return;const r=this._map._getUIString(`NavigationControl.${e}`);t.setAttribute("aria-label",r),t.firstElementChild&&t.firstElementChild.setAttribute("title",r)}},GeolocateControl:class extends or{constructor(t){super(),this.options=we({geolocation:H.navigator.geolocation},SE,t),pr(["_onSuccess","_onError","_onZoom","_finish","_setupUI","_updateCamera","_updateMarker","_updateMarkerRotation","_onDeviceOrientation"],this),this._updateMarkerRotationThrottled=Fx(this._updateMarkerRotation,20),this._numberOfWatches=0}onAdd(t){return this._map=t,this._container=zt("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkGeolocationSupport(this._setupUI),this._container}onRemove(){this._geolocationWatchID!==void 0&&(this.options.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),this._container.remove(),this._map.off("zoom",this._onZoom),this._map=void 0,this._numberOfWatches=0,this._noTimeout=!1}_checkGeolocationSupport(t){const e=(r=!!this.options.geolocation)=>{this._supportsGeolocation=r,t(r)};this._supportsGeolocation!==void 0?t(this._supportsGeolocation):H.navigator.permissions!==void 0?H.navigator.permissions.query({name:"geolocation"}).then(r=>e(r.state!=="denied")).catch(()=>e()):e()}_isOutOfMapMaxBounds(t){const e=this._map.getMaxBounds(),r=t.coords;return!!e&&(r.longitude<e.getWest()||r.longitude>e.getEast()||r.latitude<e.getSouth()||r.latitude>e.getNorth())}_setErrorState(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}}_onSuccess(t){if(this._map){if(this._isOutOfMapMaxBounds(t))return this._setErrorState(),this.fire(new se("outofmaxbounds",t)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=t,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(t),this.options.trackUserLocation&&this._watchState!=="ACTIVE_LOCK"||this._updateCamera(t),this.options.showUserLocation&&this._userLocationDotMarker.removeClassName("mapboxgl-user-location-dot-stale"),this.fire(new se("geolocate",t)),this._finish()}}_updateCamera(t){const e=new Ve(t.coords.longitude,t.coords.latitude),r=t.coords.accuracy,i=we({bearing:this._map.getBearing()},this.options.fitBoundsOptions);this._map.fitBounds(e.toBounds(r),i,{geolocateSource:!0})}_updateMarker(t){if(t){const e=new Ve(t.coords.longitude,t.coords.latitude);this._accuracyCircleMarker.setLngLat(e).addTo(this._map),this._userLocationDotMarker.setLngLat(e).addTo(this._map),this._accuracy=t.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()}_updateCircleRadius(){const t=this._map.transform,e=At(1,t._center.lat)*t.worldSize,r=Math.ceil(2*this._accuracy*e);this._circleElement.style.width=`${r}px`,this._circleElement.style.height=`${r}px`}_onZoom(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}_updateMarkerRotation(){this._userLocationDotMarker&&typeof this._heading=="number"?(this._userLocationDotMarker.setRotation(this._heading),this._userLocationDotMarker.addClassName("mapboxgl-user-location-show-heading")):(this._userLocationDotMarker.removeClassName("mapboxgl-user-location-show-heading"),this._userLocationDotMarker.setRotation(0))}_onError(t){if(this._map){if(this.options.trackUserLocation)if(t.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;const e=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.setAttribute("aria-label",e),this._geolocateButton.firstElementChild&&this._geolocateButton.firstElementChild.setAttribute("title",e),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(t.code===3&&this._noTimeout)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._userLocationDotMarker.addClassName("mapboxgl-user-location-dot-stale"),this.fire(new se("error",t)),this._finish()}}_finish(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0}_setupUI(t){if(this._map!==void 0){if(this._container.addEventListener("contextmenu",e=>e.preventDefault()),this._geolocateButton=zt("button","mapboxgl-ctrl-geolocate",this._container),zt("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden","true"),this._geolocateButton.type="button",t===!1){F("Geolocation support is not available so the GeolocateControl will be disabled.");const e=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.setAttribute("aria-label",e),this._geolocateButton.firstElementChild&&this._geolocateButton.firstElementChild.setAttribute("title",e)}else{const e=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.setAttribute("aria-label",e),this._geolocateButton.firstElementChild&&this._geolocateButton.firstElementChild.setAttribute("title",e)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=zt("div","mapboxgl-user-location"),this._dotElement.appendChild(zt("div","mapboxgl-user-location-dot")),this._dotElement.appendChild(zt("div","mapboxgl-user-location-heading")),this._userLocationDotMarker=new Wp({element:this._dotElement,rotationAlignment:"map",pitchAlignment:"map"}),this._circleElement=zt("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new Wp({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",e=>{e.geolocateSource||this._watchState!=="ACTIVE_LOCK"||e.originalEvent&&e.originalEvent.type==="resize"||(this._watchState="BACKGROUND",this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this.fire(new se("trackuserlocationend")))})}}_onDeviceOrientation(t){this._userLocationDotMarker&&(t.webkitCompassHeading?this._heading=t.webkitCompassHeading:t.absolute===!0&&(this._heading=-1*t.alpha),this._updateMarkerRotationThrottled())}trigger(){if(!this._setup)return F("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new se("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":this._numberOfWatches--,this._noTimeout=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new se("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new se("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){let t;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),this._numberOfWatches++,this._numberOfWatches>1?(t={maximumAge:6e5,timeout:0},this._noTimeout=!0):(t=this.options.positionOptions,this._noTimeout=!1),this._geolocationWatchID=this.options.geolocation.watchPosition(this._onSuccess,this._onError,t),this.options.showUserHeading&&this._addDeviceOrientationListener()}}else this.options.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0}_addDeviceOrientationListener(){const t=()=>{H.addEventListener("ondeviceorientationabsolute"in H?"deviceorientationabsolute":"deviceorientation",this._onDeviceOrientation)};H.DeviceMotionEvent!==void 0&&typeof H.DeviceMotionEvent.requestPermission=="function"?DeviceOrientationEvent.requestPermission().then(e=>{e==="granted"&&t()}).catch(console.error):t()}_clearWatch(){this.options.geolocation.clearWatch(this._geolocationWatchID),H.removeEventListener("deviceorientation",this._onDeviceOrientation),H.removeEventListener("deviceorientationabsolute",this._onDeviceOrientation),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)}},AttributionControl:$x,ScaleControl:class{constructor(t){this.options=we({},AE,t),this._isNumberFormatSupported=function(){try{return new Intl.NumberFormat("en",{style:"unit",unitDisplay:"short",unit:"meter"}),!0}catch{return!1}}(),pr(["_update","_setScale","setUnit"],this)}getDefaultPosition(){return"bottom-left"}_update(){const t=this.options.maxWidth||100,e=this._map,r=e._containerHeight/2,i=e._containerWidth/2-t/2,o=e.unproject([i,r]),a=e.unproject([i+t,r]),n=o.distanceTo(a);if(this.options.unit==="imperial"){const s=3.2808*n;s>5280?this._setScale(t,s/5280,"mile"):this._setScale(t,s,"foot")}else this.options.unit==="nautical"?this._setScale(t,n/1852,"nautical-mile"):n>=1e3?this._setScale(t,n/1e3,"kilometer"):this._setScale(t,n,"meter")}_setScale(t,e,r){this._map._requestDomTask(()=>{const i=function(a){const n=Math.pow(10,`${Math.floor(a)}`.length-1);let s=a/n;return s=s>=10?10:s>=5?5:s>=3?3:s>=2?2:s>=1?1:function(l){const c=Math.pow(10,Math.ceil(-Math.log(l)/Math.LN10));return Math.round(l*c)/c}(s),n*s}(e),o=i/e;this._container.innerHTML=this._isNumberFormatSupported&&r!=="nautical-mile"?new Intl.NumberFormat(this._language,{style:"unit",unitDisplay:"short",unit:r}).format(i):`${i}&nbsp;${CE[r]}`,this._container.style.width=t*o+"px"})}onAdd(t){return this._map=t,this._language=t.getLanguage(),this._container=zt("div","mapboxgl-ctrl mapboxgl-ctrl-scale",t.getContainer()),this._container.dir="auto",this._map.on("move",this._update),this._update(),this._container}onRemove(){this._container.remove(),this._map.off("move",this._update),this._map=void 0}_setLanguage(t){this._language=t,this._update()}setUnit(t){this.options.unit=t,this._update()}},FullscreenControl:class{constructor(t){this._fullscreen=!1,t&&t.container&&(t.container instanceof H.HTMLElement?this._container=t.container:F("Full screen control 'container' must be a DOM element.")),pr(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in H.document?this._fullscreenchange="fullscreenchange":"onwebkitfullscreenchange"in H.document&&(this._fullscreenchange="webkitfullscreenchange")}onAdd(t){return this._map=t,this._container||(this._container=this._map.getContainer()),this._controlContainer=zt("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",F("This device does not support fullscreen mode.")),this._controlContainer}onRemove(){this._controlContainer.remove(),this._map=null,H.document.removeEventListener(this._fullscreenchange,this._changeIcon)}_checkFullscreenSupport(){return!(!H.document.fullscreenEnabled&&!H.document.webkitFullscreenEnabled)}_setupUI(){const t=this._fullscreenButton=zt("button","mapboxgl-ctrl-fullscreen",this._controlContainer);zt("span","mapboxgl-ctrl-icon",t).setAttribute("aria-hidden","true"),t.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),H.document.addEventListener(this._fullscreenchange,this._changeIcon)}_updateTitle(){const t=this._getTitle();this._fullscreenButton.setAttribute("aria-label",t),this._fullscreenButton.firstElementChild&&this._fullscreenButton.firstElementChild.setAttribute("title",t)}_getTitle(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")}_isFullscreen(){return this._fullscreen}_changeIcon(){(H.document.fullscreenElement||H.document.webkitFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())}_onClickFullscreen(){this._isFullscreen()?H.document.exitFullscreen?H.document.exitFullscreen():H.document.webkitCancelFullScreen&&H.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()}},Popup:class extends or{constructor(t){super(),this.options=we(Object.create(vE),t),pr(["_update","_onClose","remove","_onMouseEvent"],this),this._classList=new Set(t&&t.className?t.className.trim().split(/\s+/):[])}addTo(t){return this._map&&this.remove(),this._map=t,this.options.closeOnClick&&t.on("preclick",this._onClose),this.options.closeOnMove&&t.on("move",this._onClose),t.on("remove",this.remove),this._update(),t._addPopup(this),this._focusFirstElement(),this._trackPointer?(t.on("mousemove",this._onMouseEvent),t.on("mouseup",this._onMouseEvent),t._canvasContainer.classList.add("mapboxgl-track-pointer")):t.on("move",this._update),this.fire(new se("open")),this}isOpen(){return!!this._map}remove(){this._content&&this._content.remove(),this._container&&(this._container.remove(),this._container=void 0);const t=this._map;return t&&(t.off("move",this._update),t.off("move",this._onClose),t.off("preclick",this._onClose),t.off("click",this._onClose),t.off("remove",this.remove),t.off("mousemove",this._onMouseEvent),t.off("mouseup",this._onMouseEvent),t.off("drag",this._onMouseEvent),t._canvasContainer&&t._canvasContainer.classList.remove("mapboxgl-track-pointer"),t._removePopup(this),this._map=void 0),this.fire(new se("close")),this}getLngLat(){return this._lngLat}setLngLat(t){this._lngLat=Ve.convert(t),this._pos=null,this._trackPointer=!1,this._update();const e=this._map;return e&&(e.on("move",this._update),e.off("mousemove",this._onMouseEvent),e._canvasContainer.classList.remove("mapboxgl-track-pointer")),this}trackPointer(){this._trackPointer=!0,this._pos=null,this._update();const t=this._map;return t&&(t.off("move",this._update),t.on("mousemove",this._onMouseEvent),t.on("drag",this._onMouseEvent),t._canvasContainer.classList.add("mapboxgl-track-pointer")),this}getElement(){return this._container}setText(t){return this.setDOMContent(H.document.createTextNode(t))}setHTML(t){const e=H.document.createDocumentFragment(),r=H.document.createElement("body");let i;for(r.innerHTML=t;i=r.firstChild,i;)e.appendChild(i);return this.setDOMContent(e)}getMaxWidth(){return this._container&&this._container.style.maxWidth}setMaxWidth(t){return this.options.maxWidth=t,this._update(),this}setDOMContent(t){let e=this._content;if(e)for(;e.hasChildNodes();)e.firstChild&&e.removeChild(e.firstChild);else e=this._content=zt("div","mapboxgl-popup-content",this._container||void 0);if(e.appendChild(t),this.options.closeButton){const r=this._closeButton=zt("button","mapboxgl-popup-close-button",e);r.type="button",r.setAttribute("aria-label","Close popup"),r.setAttribute("aria-hidden","true"),r.innerHTML="&#215;",r.addEventListener("click",this._onClose)}return this._update(),this._focusFirstElement(),this}addClassName(t){return this._classList.add(t),this._updateClassList(),this}removeClassName(t){return this._classList.delete(t),this._updateClassList(),this}setOffset(t){return this.options.offset=t,this._update(),this}toggleClassName(t){let e;return this._classList.delete(t)?e=!1:(this._classList.add(t),e=!0),this._updateClassList(),e}_onMouseEvent(t){this._update(t.point)}_getAnchor(t){if(this.options.anchor)return this.options.anchor;const e=this._map,r=this._container,i=this._pos;if(!e||!r||!i)return"bottom";const o=r.offsetWidth,a=r.offsetHeight,n=i.x<o/2,s=i.x>e.transform.width-o/2;if(i.y+t<a)return n?"top-left":s?"top-right":"top";if(i.y>e.transform.height-a){if(n)return"bottom-left";if(s)return"bottom-right"}return n?"left":s?"right":"bottom"}_updateClassList(){const t=this._container;if(!t)return;const e=[...this._classList];e.push("mapboxgl-popup"),this._anchor&&e.push(`mapboxgl-popup-anchor-${this._anchor}`),this._trackPointer&&e.push("mapboxgl-popup-track-pointer"),t.className=e.join(" ")}_update(t){const e=this._map,r=this._content;if(!e||!this._lngLat&&!this._trackPointer||!r)return;let i=this._container;if(i||(i=this._container=zt("div","mapboxgl-popup",e.getContainer()),this._tip=zt("div","mapboxgl-popup-tip",i),i.appendChild(r)),this.options.maxWidth&&i.style.maxWidth!==this.options.maxWidth&&(i.style.maxWidth=this.options.maxWidth),e.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=Xx(this._lngLat,this._pos,e.transform)),!this._trackPointer||t){const o=this._pos=this._trackPointer&&t?t:e.project(this._lngLat),a=Yx(this.options.offset),n=this._anchor=this._getAnchor(a.y),s=Yx(this.options.offset,n),l=o.add(s).round();e._requestDomTask(()=>{this._container&&n&&(this._container.style.transform=`${Hp[n]} translate(${l.x}px,${l.y}px)`)})}if(!this._marker&&e._showingGlobe()){const o=$l(e.transform,this._lngLat)?0:1;this._setOpacity(o)}this._updateClassList()}_focusFirstElement(){if(!this.options.focusAfterOpen||!this._container)return;const t=this._container.querySelector(bE);t&&t.focus()}_onClose(){this.remove()}_setOpacity(t){this._container&&(this._container.style.opacity=`${t}`),this._content&&(this._content.style.pointerEvents=t?"auto":"none")}},Marker:Wp,Style:Li,LngLat:Ve,LngLatBounds:Qr,Point:N,MercatorCoordinate:lt,FreeCameraOptions:s1,Evented:or,config:Oe,prewarm:function(){Ns().acquire(yp)},clearPrewarmedResources:function(){const t=Fs;t&&(t.isPreloaded()&&t.numActive()===1?(t.release(yp),Fs=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return Oe.ACCESS_TOKEN},set accessToken(t){Oe.ACCESS_TOKEN=t},get baseApiUrl(){return Oe.API_URL},set baseApiUrl(t){Oe.API_URL=t},get workerCount(){return Cn.workerCount},set workerCount(t){Cn.workerCount=t},get maxParallelImageRequests(){return Oe.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(t){Oe.MAX_PARALLEL_IMAGE_REQUESTS=t},clearStorage(t){(function(e){if(!Ua())return;const r=H.caches.delete(Bt);e&&r.catch(e).then(()=>e())})(t)},workerUrl:"",workerClass:null,get dracoUrl(){return wy()},set dracoUrl(t){(function(e){xp=Ge.resolveURL(e),vp||(vp=new za(Ns(),new or)),vp.broadcast("setDracoUrl",xp)})(t)},setNow:Ge.setNow,restoreNow:Ge.restoreNow};Ee.A=py,Ee.D=uc,Ee.E=W,Ee.F=Ud,Ee.K=Hc,Ee.O=mt,Ee.P=N,Ee.T=D1,Ee.V=ac,Ee.a=oc,Ee.b=u0,Ee.c=Fc,Ee.d=class extends or{constructor(t,e,r,i,o,a){super(),this.actor=t,this.layerIndex=e,this.availableImages=r,this.loadVectorData=o||vy,this.loading={},this.loaded={},this.deduped=new xy(t.scheduler),this.isSpriteLoaded=i,this.scheduler=t.scheduler,this.brightness=a}loadTile(t,e){const r=t.uid,i=t&&t.request,o=i&&i.collectResourceTiming,a=this.loading[r]=new Xk(t);a.abort=this.loadVectorData(t,(n,s)=>{const l=!this.loading[r];if(delete this.loading[r],l||n||!s)return a.status="done",l||(this.loaded[r]=a),e(n);const c=s.rawData,u={};s.expires&&(u.expires=s.expires),s.cacheControl&&(u.cacheControl=s.cacheControl),a.vectorTile=s.vectorTile||new Nd(new cc(c));const h=()=>{a.parse(a.vectorTile,this.layerIndex,this.availableImages,this.actor,(d,p)=>{if(d||!p)return e(d);const f={};if(o){const m=hf(i);m.length>0&&(f.resourceTiming=JSON.parse(JSON.stringify(m)))}e(null,we({rawTileData:c.slice(0)},p,u,f))})};this.isSpriteLoaded?h():this.once("isSpriteLoaded",()=>{this.scheduler?this.scheduler.add(h,{type:"parseTile",isSymbolTile:t.isSymbolTile,zoom:t.tileZoom}):h()}),this.loaded=this.loaded||{},this.loaded[r]=a})}reloadTile(t,e){const r=this.loaded,i=t.uid,o=this;if(r&&r[i]){const a=r[i];a.showCollisionBoxes=t.showCollisionBoxes,a.projection=t.projection,a.brightness=t.brightness,a.tileTransform=Ma(t.tileID.canonical,t.projection),a.extraShadowCaster=t.extraShadowCaster;const n=(s,l)=>{const c=a.reloadCallback;c&&(delete a.reloadCallback,a.parse(a.vectorTile,o.layerIndex,this.availableImages,o.actor,c)),e(s,l)};a.status==="parsing"?a.reloadCallback=n:a.status==="done"&&(a.vectorTile?a.parse(a.vectorTile,this.layerIndex,this.availableImages,this.actor,n):n())}else e(null,void 0)}abortTile(t,e){const r=t.uid,i=this.loading[r];i&&(i.abort&&i.abort(),delete this.loading[r]),e()}removeTile(t,e){const r=this.loaded,i=t.uid;r&&r[i]&&delete r[i],e()}},Ee.e=Ao,Ee.f=hf,Ee.g=hi,Ee.h=ue,Ee.i=fe,Ee.j=function(t,e){const r=Mp(t);for(const i of r){for(const o of i.meshes)a5(o);i.lights&&(i.lightMeshIndex=i.meshes.length,i.meshes.push(n5(i.lights,e)))}return r},Ee.k=Ut,Ee.l=function(t){let e=0;if(new Uint32Array(t,0,1)[0]!==Ty){const r=new Uint32Array(t,0,7),[,,i,o,a,n]=r;e=r.byteLength+o+a+n+a,(i!==t.byteLength||e>=t.byteLength)&&F("Invalid b3dm header information.")}return Ay(t,e)},Ee.m=xc,Ee.n=_i,Ee.o=se,Ee.p=Ba,Ee.q=function(t){$r(),Vr&&Vr.then(e=>{e.keys().then(r=>{for(let i=0;i<r.length-t;i++)e.delete(r[i])})})},Ee.r=Py,Ee.s=cu,Ee.t=fs,Ee.v=la,Ee.w=H}),Bi(["./shared"],function(Ee){function H(le){if(typeof le=="number"||typeof le=="boolean"||typeof le=="string"||le==null)return JSON.stringify(le);if(Array.isArray(le)){let P="[";for(const F of le)P+=`${H(F)},`;return`${P}]`}let I="{";for(const P of Object.keys(le).sort())I+=`${P}:${H(le[P])},`;return`${I}}`}function Fr(le){let I="";for(const P of Ee.r)I+=`/${H(le[P])}`;return I}class Rr{constructor(I){this.keyCache={},this._layers={},this._layerConfigs={},I&&this.replace(I)}replace(I,P){this._layerConfigs={},this._layers={},this.update(I,[],P)}update(I,P,F){this._options=F;for(const ie of I){this._layerConfigs[ie.id]=ie;const ve=this._layers[ie.id]=Ee.c(ie,this._options);ve.setScope(this.scope),ve.compileFilter(),this.keyCache[ie.id]&&delete this.keyCache[ie.id]}for(const ie of P)delete this.keyCache[ie],delete this._layerConfigs[ie],delete this._layers[ie];this.familiesBySource={};const te=function(ie,ve){const Ce={};for(let Ie=0;Ie<ie.length;Ie++){const qe=ve&&ve[ie[Ie].id]||Fr(ie[Ie]);ve&&(ve[ie[Ie].id]=qe);let je=Ce[qe];je||(je=Ce[qe]=[]),je.push(ie[Ie])}const oe=[];for(const Ie in Ce)oe.push(Ce[Ie]);return oe}(Ee.v(this._layerConfigs),this.keyCache);for(const ie of te){const ve=ie.map(Pt=>this._layers[Pt.id]),Ce=ve[0];if(Ce.visibility==="none")continue;const oe=Ce.source||"";let Ie=this.familiesBySource[oe];Ie||(Ie=this.familiesBySource[oe]={});const qe=Ce.sourceLayer||"_geojsonTileLayer";let je=Ie[qe];je||(je=Ie[qe]=[]),je.push(ve)}}}class Oe{loadTile(I,P){const{uid:F,encoding:te,rawImageData:ie,padding:ve}=I,Ce=Ee.w.ImageBitmap&&ie instanceof Ee.w.ImageBitmap?this.getImageData(ie,ve):ie;P(null,new Ee.D(F,Ce,te,ve<1))}getImageData(I,P){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(I.width,I.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d",{willReadFrequently:!0})),this.offscreenCanvas.width=I.width,this.offscreenCanvas.height=I.height,this.offscreenCanvasContext.drawImage(I,0,0,I.width,I.height);const F=this.offscreenCanvasContext.getImageData(-P,-P,I.width+2*P,I.height+2*P);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),F}}function vr(le,I){if(le.length!==0){Cr(le[0],I);for(var P=1;P<le.length;P++)Cr(le[P],!I)}}function Cr(le,I){for(var P=0,F=0,te=0,ie=le.length,ve=ie-1;te<ie;ve=te++){var Ce=(le[te][0]-le[ve][0])*(le[ve][1]+le[te][1]),oe=P+Ce;F+=Math.abs(P)>=Math.abs(Ce)?P-oe+Ce:Ce-oe+P,P=oe}P+F>=0!=!!I&&le.reverse()}var br=Ee.g(function le(I,P){var F,te=I&&I.type;if(te==="FeatureCollection")for(F=0;F<I.features.length;F++)le(I.features[F],P);else if(te==="GeometryCollection")for(F=0;F<I.geometries.length;F++)le(I.geometries[F],P);else if(te==="Feature")le(I.geometry,P);else if(te==="Polygon")vr(I.coordinates,P);else if(te==="MultiPolygon")for(F=0;F<I.coordinates.length;F++)vr(I.coordinates[F],P);return I});const Ti=Ee.V.prototype.toGeoJSON;var Lr={exports:{}},Oi=Ee.p,To=Ee.a.VectorTileFeature,hi=Hs;function Hs(le,I){this.options=I||{},this.features=le,this.length=le.length}function ia(le,I){this.id=typeof le.id=="number"?le.id:void 0,this.type=le.type,this.rawGeometry=le.type===1?[le.geometry]:le.geometry,this.properties=le.tags,this.extent=I||4096}Hs.prototype.feature=function(le){return new ia(this.features[le],this.options.extent)},ia.prototype.loadGeometry=function(){var le=this.rawGeometry;this.geometry=[];for(var I=0;I<le.length;I++){for(var P=le[I],F=[],te=0;te<P.length;te++)F.push(new Oi(P[te][0],P[te][1]));this.geometry.push(F)}return this.geometry},ia.prototype.bbox=function(){this.geometry||this.loadGeometry();for(var le=this.geometry,I=1/0,P=-1/0,F=1/0,te=-1/0,ie=0;ie<le.length;ie++)for(var ve=le[ie],Ce=0;Ce<ve.length;Ce++){var oe=ve[Ce];I=Math.min(I,oe.x),P=Math.max(P,oe.x),F=Math.min(F,oe.y),te=Math.max(te,oe.y)}return[I,F,P,te]},ia.prototype.toGeoJSON=To.prototype.toGeoJSON;var Ws=Ee.b,Ba=hi;function Fi(le){var I=new Ws;return function(P,F){for(var te in P.layers)F.writeMessage(3,N,P.layers[te])}(le,I),I.finish()}function N(le,I){var P;I.writeVarintField(15,le.version||1),I.writeStringField(1,le.name||""),I.writeVarintField(5,le.extent||4096);var F={keys:[],values:[],keycache:{},valuecache:{}};for(P=0;P<le.length;P++)F.feature=le.feature(P),I.writeMessage(2,dt,F);var te=F.keys;for(P=0;P<te.length;P++)I.writeStringField(3,te[P]);var ie=F.values;for(P=0;P<ie.length;P++)I.writeMessage(4,pu,ie[P])}function dt(le,I){var P=le.feature;P.id!==void 0&&I.writeVarintField(1,P.id),I.writeMessage(2,du,le),I.writeVarintField(3,P.type),I.writeMessage(4,wr,P)}function du(le,I){var P=le.feature,F=le.keys,te=le.values,ie=le.keycache,ve=le.valuecache;for(var Ce in P.properties){var oe=P.properties[Ce],Ie=ie[Ce];if(oe!==null){Ie===void 0&&(F.push(Ce),ie[Ce]=Ie=F.length-1),I.writeVarint(Ie);var qe=typeof oe;qe!=="string"&&qe!=="boolean"&&qe!=="number"&&(oe=JSON.stringify(oe));var je=qe+":"+oe,Pt=ve[je];Pt===void 0&&(te.push(oe),ve[je]=Pt=te.length-1),I.writeVarint(Pt)}}}function oa(le,I){return(I<<3)+(7&le)}function He(le){return le<<1^le>>31}function wr(le,I){for(var P=le.loadGeometry(),F=le.type,te=0,ie=0,ve=P.length,Ce=0;Ce<ve;Ce++){var oe=P[Ce],Ie=1;F===1&&(Ie=oe.length),I.writeVarint(oa(1,Ie));for(var qe=F===3?oe.length-1:oe.length,je=0;je<qe;je++){je===1&&F!==1&&I.writeVarint(oa(2,qe-1));var Pt=oe[je].x-te,$t=oe[je].y-ie;I.writeVarint(He(Pt)),I.writeVarint(He($t)),te+=Pt,ie+=$t}F===3&&I.writeVarint(oa(7,1))}}function pu(le,I){var P=typeof le;P==="string"?I.writeStringField(1,le):P==="boolean"?I.writeBooleanField(7,le):P==="number"&&(le%1!=0?I.writeDoubleField(3,le):le<0?I.writeSVarintField(6,le):I.writeVarintField(5,le))}Lr.exports=Fi,Lr.exports.fromVectorTileJs=Fi,Lr.exports.fromGeojsonVt=function(le,I){I=I||{};var P={};for(var F in le)P[F]=new Ba(le[F].features,I),P[F].name=F,P[F].version=I.version,P[F].extent=I.extent;return Fi({layers:P})},Lr.exports.GeoJSONWrapper=Ba;var Oa=Ee.g(Lr.exports);const fu={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:le=>le},aa=Math.fround||(na=new Float32Array(1),le=>(na[0]=+le,na[0]));var na;const di=3,Me=5,Ni=6;class Vi{constructor(I){this.options=Object.assign(Object.create(fu),I),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(I){const{log:P,minZoom:F,maxZoom:te}=this.options;P&&console.time("total time");const ie=`prepare ${I.length} points`;P&&console.time(ie),this.points=I;const ve=[];for(let oe=0;oe<I.length;oe++){const Ie=I[oe];if(!Ie.geometry)continue;const[qe,je]=Ie.geometry.coordinates,Pt=aa(we(qe)),$t=aa(Zr(je));ve.push(Pt,$t,1/0,oe,-1,1),this.options.reduce&&ve.push(0)}let Ce=this.trees[te+1]=this._createTree(ve);P&&console.timeEnd(ie);for(let oe=te;oe>=F;oe--){const Ie=+Date.now();Ce=this.trees[oe]=this._createTree(this._cluster(Ce,oe)),P&&console.log("z%d: %d clusters in %dms",oe,Ce.numItems,+Date.now()-Ie)}return P&&console.timeEnd("total time"),this}getClusters(I,P){let F=((I[0]+180)%360+360)%360-180;const te=Math.max(-90,Math.min(90,I[1]));let ie=I[2]===180?180:((I[2]+180)%360+360)%360-180;const ve=Math.max(-90,Math.min(90,I[3]));if(I[2]-I[0]>=360)F=-180,ie=180;else if(F>ie){const je=this.getClusters([F,te,180,ve],P),Pt=this.getClusters([-180,te,ie,ve],P);return je.concat(Pt)}const Ce=this.trees[this._limitZoom(P)],oe=Ce.range(we(F),Zr(ve),we(ie),Zr(te)),Ie=Ce.data,qe=[];for(const je of oe){const Pt=this.stride*je;qe.push(Ie[Pt+Me]>1?sa(Ie,Pt,this.clusterProps):this.points[Ie[Pt+di]])}return qe}getChildren(I){const P=this._getOriginId(I),F=this._getOriginZoom(I),te="No cluster with the specified id.",ie=this.trees[F];if(!ie)throw new Error(te);const ve=ie.data;if(P*this.stride>=ve.length)throw new Error(te);const Ce=this.options.radius/(this.options.extent*Math.pow(2,F-1)),oe=ie.within(ve[P*this.stride],ve[P*this.stride+1],Ce),Ie=[];for(const qe of oe){const je=qe*this.stride;ve[je+4]===I&&Ie.push(ve[je+Me]>1?sa(ve,je,this.clusterProps):this.points[ve[je+di]])}if(Ie.length===0)throw new Error(te);return Ie}getLeaves(I,P,F){const te=[];return this._appendLeaves(te,I,P=P||10,F=F||0,0),te}getTile(I,P,F){const te=this.trees[this._limitZoom(I)],ie=Math.pow(2,I),{extent:ve,radius:Ce}=this.options,oe=Ce/ve,Ie=(F-oe)/ie,qe=(F+1+oe)/ie,je={features:[]};return this._addTileFeatures(te.range((P-oe)/ie,Ie,(P+1+oe)/ie,qe),te.data,P,F,ie,je),P===0&&this._addTileFeatures(te.range(1-oe/ie,Ie,1,qe),te.data,ie,F,ie,je),P===ie-1&&this._addTileFeatures(te.range(0,Ie,oe/ie,qe),te.data,-1,F,ie,je),je.features.length?je:null}getClusterExpansionZoom(I){let P=this._getOriginZoom(I)-1;for(;P<=this.options.maxZoom;){const F=this.getChildren(I);if(P++,F.length!==1)break;I=F[0].properties.cluster_id}return P}_appendLeaves(I,P,F,te,ie){const ve=this.getChildren(P);for(const Ce of ve){const oe=Ce.properties;if(oe&&oe.cluster?ie+oe.point_count<=te?ie+=oe.point_count:ie=this._appendLeaves(I,oe.cluster_id,F,te,ie):ie<te?ie++:I.push(Ce),I.length===F)break}return ie}_createTree(I){const P=new Ee.K(I.length/this.stride|0,this.options.nodeSize,Float32Array);for(let F=0;F<I.length;F+=this.stride)P.add(I[F],I[F+1]);return P.finish(),P.data=I,P}_addTileFeatures(I,P,F,te,ie,ve){for(const Ce of I){const oe=Ce*this.stride,Ie=P[oe+Me]>1;let qe,je,Pt;if(Ie)qe=la(P,oe,this.clusterProps),je=P[oe],Pt=P[oe+1];else{const Ht=this.points[P[oe+di]];qe=Ht.properties;const[er,Bt]=Ht.geometry.coordinates;je=we(er),Pt=Zr(Bt)}const $t={type:1,geometry:[[Math.round(this.options.extent*(je*ie-F)),Math.round(this.options.extent*(Pt*ie-te))]],tags:qe};let kr;kr=Ie||this.options.generateId?P[oe+di]:this.points[P[oe+di]].id,kr!==void 0&&($t.id=kr),ve.features.push($t)}}_limitZoom(I){return Math.max(this.options.minZoom,Math.min(Math.floor(+I),this.options.maxZoom+1))}_cluster(I,P){const{radius:F,extent:te,reduce:ie,minPoints:ve}=this.options,Ce=F/(te*Math.pow(2,P)),oe=I.data,Ie=[],qe=this.stride;for(let je=0;je<oe.length;je+=qe){if(oe[je+2]<=P)continue;oe[je+2]=P;const Pt=oe[je],$t=oe[je+1],kr=I.within(oe[je],oe[je+1],Ce),Ht=oe[je+Me];let er=Ht;for(const Bt of kr){const Ir=Bt*qe;oe[Ir+2]>P&&(er+=oe[Ir+Me])}if(er>Ht&&er>=ve){let Bt,Ir=Pt*Ht,Nr=$t*Ht,Vr=-1;const Ei=((je/qe|0)<<5)+(P+1)+this.points.length;for(const Ua of kr){const $r=Ua*qe;if(oe[$r+2]<=P)continue;oe[$r+2]=P;const ro=oe[$r+Me];Ir+=oe[$r]*ro,Nr+=oe[$r+1]*ro,oe[$r+4]=Ei,ie&&(Bt||(Bt=this._map(oe,je,!0),Vr=this.clusterProps.length,this.clusterProps.push(Bt)),ie(Bt,this._map(oe,$r)))}oe[je+4]=Ei,Ie.push(Ir/er,Nr/er,1/0,Ei,-1,er),ie&&Ie.push(Vr)}else{for(let Bt=0;Bt<qe;Bt++)Ie.push(oe[je+Bt]);if(er>1)for(const Bt of kr){const Ir=Bt*qe;if(!(oe[Ir+2]<=P)){oe[Ir+2]=P;for(let Nr=0;Nr<qe;Nr++)Ie.push(oe[Ir+Nr])}}}}return Ie}_getOriginId(I){return I-this.points.length>>5}_getOriginZoom(I){return(I-this.points.length)%32}_map(I,P,F){if(I[P+Me]>1){const ve=this.clusterProps[I[P+Ni]];return F?Object.assign({},ve):ve}const te=this.points[I[P+di]].properties,ie=this.options.map(te);return F&&ie===te?Object.assign({},ie):ie}}function sa(le,I,P){return{type:"Feature",id:le[I+di],properties:la(le,I,P),geometry:{type:"Point",coordinates:[(F=le[I],360*(F-.5)),mu(le[I+1])]}};var F}function la(le,I,P){const F=le[I+Me],te=F>=1e4?`${Math.round(F/1e3)}k`:F>=1e3?Math.round(F/100)/10+"k":F,ie=le[I+Ni],ve=ie===-1?{}:Object.assign({},P[ie]);return Object.assign(ve,{cluster:!0,cluster_id:le[I+di],point_count:F,point_count_abbreviated:te})}function we(le){return le/360+.5}function Zr(le){const I=Math.sin(le*Math.PI/180),P=.5-.25*Math.log((1+I)/(1-I))/Math.PI;return P<0?0:P>1?1:P}function mu(le){const I=(180-360*le)*Math.PI/180;return 360*Math.atan(Math.exp(I))/Math.PI-90}var Fa={exports:{}};Fa.exports=function(){function le(J,Q,ne,ce){for(var ue,fe=ce,ge=ne-Q>>1,he=ne-Q,Te=J[Q],me=J[Q+1],Je=J[ne],St=J[ne+1],Pe=Q+3;Pe<ne;Pe+=3){var wt=I(J[Pe],J[Pe+1],Te,me,Je,St);if(wt>fe)ue=Pe,fe=wt;else if(wt===fe){var Wt=Math.abs(Pe-ge);Wt<he&&(ue=Pe,he=Wt)}}fe>ce&&(ue-Q>3&&le(J,Q,ue,ce),J[ue+2]=fe,ne-ue>3&&le(J,ue,ne,ce))}function I(J,Q,ne,ce,ue,fe){var ge=ue-ne,he=fe-ce;if(ge!==0||he!==0){var Te=((J-ne)*ge+(Q-ce)*he)/(ge*ge+he*he);Te>1?(ne=ue,ce=fe):Te>0&&(ne+=ge*Te,ce+=he*Te)}return(ge=J-ne)*ge+(he=Q-ce)*he}function P(J,Q,ne,ce){var ue={id:J===void 0?null:J,type:Q,geometry:ne,tags:ce,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(fe){var ge=fe.geometry,he=fe.type;if(he==="Point"||he==="MultiPoint"||he==="LineString")F(fe,ge);else if(he==="Polygon"||he==="MultiLineString")for(var Te=0;Te<ge.length;Te++)F(fe,ge[Te]);else if(he==="MultiPolygon")for(Te=0;Te<ge.length;Te++)for(var me=0;me<ge[Te].length;me++)F(fe,ge[Te][me])}(ue),ue}function F(J,Q){for(var ne=0;ne<Q.length;ne+=3)J.minX=Math.min(J.minX,Q[ne]),J.minY=Math.min(J.minY,Q[ne+1]),J.maxX=Math.max(J.maxX,Q[ne]),J.maxY=Math.max(J.maxY,Q[ne+1])}function te(J,Q,ne,ce){if(Q.geometry){var ue=Q.geometry.coordinates,fe=Q.geometry.type,ge=Math.pow(ne.tolerance/((1<<ne.maxZoom)*ne.extent),2),he=[],Te=Q.id;if(ne.promoteId?Te=Q.properties[ne.promoteId]:ne.generateId&&(Te=ce||0),fe==="Point")ie(ue,he);else if(fe==="MultiPoint")for(var me=0;me<ue.length;me++)ie(ue[me],he);else if(fe==="LineString")ve(ue,he,ge,!1);else if(fe==="MultiLineString"){if(ne.lineMetrics){for(me=0;me<ue.length;me++)ve(ue[me],he=[],ge,!1),J.push(P(Te,"LineString",he,Q.properties));return}Ce(ue,he,ge,!1)}else if(fe==="Polygon")Ce(ue,he,ge,!0);else{if(fe!=="MultiPolygon"){if(fe==="GeometryCollection"){for(me=0;me<Q.geometry.geometries.length;me++)te(J,{id:Te,geometry:Q.geometry.geometries[me],properties:Q.properties},ne,ce);return}throw new Error("Input data is not a valid GeoJSON object.")}for(me=0;me<ue.length;me++){var Je=[];Ce(ue[me],Je,ge,!0),he.push(Je)}}J.push(P(Te,fe,he,Q.properties))}}function ie(J,Q){Q.push(oe(J[0])),Q.push(Ie(J[1])),Q.push(0)}function ve(J,Q,ne,ce){for(var ue,fe,ge=0,he=0;he<J.length;he++){var Te=oe(J[he][0]),me=Ie(J[he][1]);Q.push(Te),Q.push(me),Q.push(0),he>0&&(ge+=ce?(ue*me-Te*fe)/2:Math.sqrt(Math.pow(Te-ue,2)+Math.pow(me-fe,2))),ue=Te,fe=me}var Je=Q.length-3;Q[2]=1,le(Q,0,Je,ne),Q[Je+2]=1,Q.size=Math.abs(ge),Q.start=0,Q.end=Q.size}function Ce(J,Q,ne,ce){for(var ue=0;ue<J.length;ue++){var fe=[];ve(J[ue],fe,ne,ce),Q.push(fe)}}function oe(J){return J/360+.5}function Ie(J){var Q=Math.sin(J*Math.PI/180),ne=.5-.25*Math.log((1+Q)/(1-Q))/Math.PI;return ne<0?0:ne>1?1:ne}function qe(J,Q,ne,ce,ue,fe,ge,he){if(ce/=Q,fe>=(ne/=Q)&&ge<ce)return J;if(ge<ne||fe>=ce)return null;for(var Te=[],me=0;me<J.length;me++){var Je=J[me],St=Je.geometry,Pe=Je.type,wt=ue===0?Je.minX:Je.minY,Wt=ue===0?Je.maxX:Je.maxY;if(wt>=ne&&Wt<ce)Te.push(Je);else if(!(Wt<ne||wt>=ce)){var tr=[];if(Pe==="Point"||Pe==="MultiPoint")je(St,tr,ne,ce,ue);else if(Pe==="LineString")Pt(St,tr,ne,ce,ue,!1,he.lineMetrics);else if(Pe==="MultiLineString")kr(St,tr,ne,ce,ue,!1);else if(Pe==="Polygon")kr(St,tr,ne,ce,ue,!0);else if(Pe==="MultiPolygon")for(var lr=0;lr<St.length;lr++){var zr=[];kr(St[lr],zr,ne,ce,ue,!0),zr.length&&tr.push(zr)}if(tr.length){if(he.lineMetrics&&Pe==="LineString"){for(lr=0;lr<tr.length;lr++)Te.push(P(Je.id,Pe,tr[lr],Je.tags));continue}Pe!=="LineString"&&Pe!=="MultiLineString"||(tr.length===1?(Pe="LineString",tr=tr[0]):Pe="MultiLineString"),Pe!=="Point"&&Pe!=="MultiPoint"||(Pe=tr.length===3?"Point":"MultiPoint"),Te.push(P(Je.id,Pe,tr,Je.tags))}}}return Te.length?Te:null}function je(J,Q,ne,ce,ue){for(var fe=0;fe<J.length;fe+=3){var ge=J[fe+ue];ge>=ne&&ge<=ce&&(Q.push(J[fe]),Q.push(J[fe+1]),Q.push(J[fe+2]))}}function Pt(J,Q,ne,ce,ue,fe,ge){for(var he,Te,me=$t(J),Je=ue===0?er:Bt,St=J.start,Pe=0;Pe<J.length-3;Pe+=3){var wt=J[Pe],Wt=J[Pe+1],tr=J[Pe+2],lr=J[Pe+3],zr=J[Pe+4],pi=ue===0?wt:Wt,fr=ue===0?lr:zr,Ur=!1;ge&&(he=Math.sqrt(Math.pow(wt-lr,2)+Math.pow(Wt-zr,2))),pi<ne?fr>ne&&(Te=Je(me,wt,Wt,lr,zr,ne),ge&&(me.start=St+he*Te)):pi>ce?fr<ce&&(Te=Je(me,wt,Wt,lr,zr,ce),ge&&(me.start=St+he*Te)):Ht(me,wt,Wt,tr),fr<ne&&pi>=ne&&(Te=Je(me,wt,Wt,lr,zr,ne),Ur=!0),fr>ce&&pi<=ce&&(Te=Je(me,wt,Wt,lr,zr,ce),Ur=!0),!fe&&Ur&&(ge&&(me.end=St+he*Te),Q.push(me),me=$t(J)),ge&&(St+=he)}var Dr=J.length-3;wt=J[Dr],Wt=J[Dr+1],tr=J[Dr+2],(pi=ue===0?wt:Wt)>=ne&&pi<=ce&&Ht(me,wt,Wt,tr),Dr=me.length-3,fe&&Dr>=3&&(me[Dr]!==me[0]||me[Dr+1]!==me[1])&&Ht(me,me[0],me[1],me[2]),me.length&&Q.push(me)}function $t(J){var Q=[];return Q.size=J.size,Q.start=J.start,Q.end=J.end,Q}function kr(J,Q,ne,ce,ue,fe){for(var ge=0;ge<J.length;ge++)Pt(J[ge],Q,ne,ce,ue,fe,!1)}function Ht(J,Q,ne,ce){J.push(Q),J.push(ne),J.push(ce)}function er(J,Q,ne,ce,ue,fe){var ge=(fe-Q)/(ce-Q);return J.push(fe),J.push(ne+(ue-ne)*ge),J.push(1),ge}function Bt(J,Q,ne,ce,ue,fe){var ge=(fe-ne)/(ue-ne);return J.push(Q+(ce-Q)*ge),J.push(fe),J.push(1),ge}function Ir(J,Q){for(var ne=[],ce=0;ce<J.length;ce++){var ue,fe=J[ce],ge=fe.type;if(ge==="Point"||ge==="MultiPoint"||ge==="LineString")ue=Nr(fe.geometry,Q);else if(ge==="MultiLineString"||ge==="Polygon"){ue=[];for(var he=0;he<fe.geometry.length;he++)ue.push(Nr(fe.geometry[he],Q))}else if(ge==="MultiPolygon")for(ue=[],he=0;he<fe.geometry.length;he++){for(var Te=[],me=0;me<fe.geometry[he].length;me++)Te.push(Nr(fe.geometry[he][me],Q));ue.push(Te)}ne.push(P(fe.id,ge,ue,fe.tags))}return ne}function Nr(J,Q){var ne=[];ne.size=J.size,J.start!==void 0&&(ne.start=J.start,ne.end=J.end);for(var ce=0;ce<J.length;ce+=3)ne.push(J[ce]+Q,J[ce+1],J[ce+2]);return ne}function Vr(J,Q){if(J.transformed)return J;var ne,ce,ue,fe=1<<J.z,ge=J.x,he=J.y;for(ne=0;ne<J.features.length;ne++){var Te=J.features[ne],me=Te.geometry,Je=Te.type;if(Te.geometry=[],Je===1)for(ce=0;ce<me.length;ce+=2)Te.geometry.push(Ei(me[ce],me[ce+1],Q,fe,ge,he));else for(ce=0;ce<me.length;ce++){var St=[];for(ue=0;ue<me[ce].length;ue+=2)St.push(Ei(me[ce][ue],me[ce][ue+1],Q,fe,ge,he));Te.geometry.push(St)}}return J.transformed=!0,J}function Ei(J,Q,ne,ce,ue,fe){return[Math.round(ne*(J*ce-ue)),Math.round(ne*(Q*ce-fe))]}function Ua(J,Q,ne,ce,ue){for(var fe=Q===ue.maxZoom?0:ue.tolerance/((1<<Q)*ue.extent),ge={features:[],numPoints:0,numSimplified:0,numFeatures:0,source:null,x:ne,y:ce,z:Q,transformed:!1,minX:2,minY:1,maxX:-1,maxY:0},he=0;he<J.length;he++){ge.numFeatures++,$r(ge,J[he],fe,ue);var Te=J[he].minX,me=J[he].minY,Je=J[he].maxX,St=J[he].maxY;Te<ge.minX&&(ge.minX=Te),me<ge.minY&&(ge.minY=me),Je>ge.maxX&&(ge.maxX=Je),St>ge.maxY&&(ge.maxY=St)}return ge}function $r(J,Q,ne,ce){var ue=Q.geometry,fe=Q.type,ge=[];if(fe==="Point"||fe==="MultiPoint")for(var he=0;he<ue.length;he+=3)ge.push(ue[he]),ge.push(ue[he+1]),J.numPoints++,J.numSimplified++;else if(fe==="LineString")ro(ge,ue,J,ne,!1,!1);else if(fe==="MultiLineString"||fe==="Polygon")for(he=0;he<ue.length;he++)ro(ge,ue[he],J,ne,fe==="Polygon",he===0);else if(fe==="MultiPolygon")for(var Te=0;Te<ue.length;Te++){var me=ue[Te];for(he=0;he<me.length;he++)ro(ge,me[he],J,ne,!0,he===0)}if(ge.length){var Je=Q.tags||null;if(fe==="LineString"&&ce.lineMetrics){for(var St in Je={},Q.tags)Je[St]=Q.tags[St];Je.mapbox_clip_start=ue.start/ue.size,Je.mapbox_clip_end=ue.end/ue.size}var Pe={geometry:ge,type:fe==="Polygon"||fe==="MultiPolygon"?3:fe==="LineString"||fe==="MultiLineString"?2:1,tags:Je};Q.id!==null&&(Pe.id=Q.id),J.features.push(Pe)}}function ro(J,Q,ne,ce,ue,fe){var ge=ce*ce;if(ce>0&&Q.size<(ue?ge:ce))ne.numPoints+=Q.length/3;else{for(var he=[],Te=0;Te<Q.length;Te+=3)(ce===0||Q[Te+2]>ge)&&(ne.numSimplified++,he.push(Q[Te]),he.push(Q[Te+1])),ne.numPoints++;ue&&function(me,Je){for(var St=0,Pe=0,wt=me.length,Wt=wt-2;Pe<wt;Wt=Pe,Pe+=2)St+=(me[Pe]-me[Wt])*(me[Pe+1]+me[Wt+1]);if(St>0===Je)for(Pe=0,wt=me.length;Pe<wt/2;Pe+=2){var tr=me[Pe],lr=me[Pe+1];me[Pe]=me[wt-2-Pe],me[Pe+1]=me[wt-1-Pe],me[wt-2-Pe]=tr,me[wt-1-Pe]=lr}}(he,fe),J.push(he)}}function Eo(J,Q){var ne=(Q=this.options=function(ue,fe){for(var ge in fe)ue[ge]=fe[ge];return ue}(Object.create(this.options),Q)).debug;if(ne&&console.time("preprocess data"),Q.maxZoom<0||Q.maxZoom>24)throw new Error("maxZoom should be in the 0-24 range");if(Q.promoteId&&Q.generateId)throw new Error("promoteId and generateId cannot be used together.");var ce=function(ue,fe){var ge=[];if(ue.type==="FeatureCollection")for(var he=0;he<ue.features.length;he++)te(ge,ue.features[he],fe,he);else te(ge,ue.type==="Feature"?ue:{geometry:ue},fe);return ge}(J,Q);this.tiles={},this.tileCoords=[],ne&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",Q.indexMaxZoom,Q.indexMaxPoints),console.time("generate tiles"),this.stats={},this.total=0),(ce=function(ue,fe){var ge=fe.buffer/fe.extent,he=ue,Te=qe(ue,1,-1-ge,ge,0,-1,2,fe),me=qe(ue,1,1-ge,2+ge,0,-1,2,fe);return(Te||me)&&(he=qe(ue,1,-ge,1+ge,0,-1,2,fe)||[],Te&&(he=Ir(Te,1).concat(he)),me&&(he=he.concat(Ir(me,-1)))),he}(ce,Q)).length&&this.splitTile(ce,0,0,0),ne&&(ce.length&&console.log("features: %d, points: %d",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd("generate tiles"),console.log("tiles generated:",this.total,JSON.stringify(this.stats)))}function ja(J,Q,ne){return 32*((1<<J)*ne+Q)+J}return Eo.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Eo.prototype.splitTile=function(J,Q,ne,ce,ue,fe,ge){for(var he=[J,Q,ne,ce],Te=this.options,me=Te.debug;he.length;){ce=he.pop(),ne=he.pop(),Q=he.pop(),J=he.pop();var Je=1<<Q,St=ja(Q,ne,ce),Pe=this.tiles[St];if(!Pe&&(me>1&&console.time("creation"),Pe=this.tiles[St]=Ua(J,Q,ne,ce,Te),this.tileCoords.push({z:Q,x:ne,y:ce}),me)){me>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",Q,ne,ce,Pe.numFeatures,Pe.numPoints,Pe.numSimplified),console.timeEnd("creation"));var wt="z"+Q;this.stats[wt]=(this.stats[wt]||0)+1,this.total++}if(Pe.source=J,ue){if(Q===Te.maxZoom||Q===ue)continue;var Wt=1<<ue-Q;if(ne!==Math.floor(fe/Wt)||ce!==Math.floor(ge/Wt))continue}else if(Q===Te.indexMaxZoom||Pe.numPoints<=Te.indexMaxPoints)continue;if(Pe.source=null,J.length!==0){me>1&&console.time("clipping");var tr,lr,zr,pi,fr,Ur,Dr=.5*Te.buffer/Te.extent,Ga=.5-Dr,Mo=.5+Dr,qa=1+Dr;tr=lr=zr=pi=null,fr=qe(J,Je,ne-Dr,ne+Mo,0,Pe.minX,Pe.maxX,Te),Ur=qe(J,Je,ne+Ga,ne+qa,0,Pe.minX,Pe.maxX,Te),J=null,fr&&(tr=qe(fr,Je,ce-Dr,ce+Mo,1,Pe.minY,Pe.maxY,Te),lr=qe(fr,Je,ce+Ga,ce+qa,1,Pe.minY,Pe.maxY,Te),fr=null),Ur&&(zr=qe(Ur,Je,ce-Dr,ce+Mo,1,Pe.minY,Pe.maxY,Te),pi=qe(Ur,Je,ce+Ga,ce+qa,1,Pe.minY,Pe.maxY,Te),Ur=null),me>1&&console.timeEnd("clipping"),he.push(tr||[],Q+1,2*ne,2*ce),he.push(lr||[],Q+1,2*ne,2*ce+1),he.push(zr||[],Q+1,2*ne+1,2*ce),he.push(pi||[],Q+1,2*ne+1,2*ce+1)}}},Eo.prototype.getTile=function(J,Q,ne){var ce=this.options,ue=ce.extent,fe=ce.debug;if(J<0||J>24)return null;var ge=1<<J,he=ja(J,Q=(Q%ge+ge)%ge,ne);if(this.tiles[he])return Vr(this.tiles[he],ue);fe>1&&console.log("drilling down to z%d-%d-%d",J,Q,ne);for(var Te,me=J,Je=Q,St=ne;!Te&&me>0;)me--,Je=Math.floor(Je/2),St=Math.floor(St/2),Te=this.tiles[ja(me,Je,St)];return Te&&Te.source?(fe>1&&console.log("found parent tile z%d-%d-%d",me,Je,St),fe>1&&console.time("drilling down"),this.splitTile(Te.source,me,Je,St,J,Q,ne),fe>1&&console.timeEnd("drilling down"),this.tiles[he]?Vr(this.tiles[he],ue):null):null},function(J,Q){return new Eo(J,Q)}}();var Xs=Ee.g(Fa.exports);function Ys(le,I){const P=le.tileID.canonical;if(!this._geoJSONIndex)return I(null,null);const F=this._geoJSONIndex.getTile(P.z,P.x,P.y);if(!F)return I(null,null);const te=new class{constructor(ve){this.layers={_geojsonTileLayer:this},this.name="_geojsonTileLayer",this.extent=Ee.E,this.length=ve.length,this._features=ve}feature(ve){return new class{constructor(Ce){this._feature=Ce,this.extent=Ee.E,this.type=Ce.type,this.properties=Ce.tags,"id"in Ce&&!isNaN(Ce.id)&&(this.id=parseInt(Ce.id,10))}loadGeometry(){if(this._feature.type===1){const Ce=[];for(const oe of this._feature.geometry)Ce.push([new Ee.P(oe[0],oe[1])]);return Ce}{const Ce=[];for(const oe of this._feature.geometry){const Ie=[];for(const qe of oe)Ie.push(new Ee.P(qe[0],qe[1]));Ce.push(Ie)}return Ce}}toGeoJSON(Ce,oe,Ie){return Ti.call(this,Ce,oe,Ie)}}(this._features[ve])}}(F.features);let ie=Oa(te);ie.byteOffset===0&&ie.byteLength===ie.buffer.byteLength||(ie=new Uint8Array(ie)),I(null,{vectorTile:te,rawData:ie.buffer})}class Js extends Ee.d{constructor(I,P,F,te,ie,ve){super(I,P,F,te,Ys,ve),ie&&(this.loadGeoJSON=ie)}loadData(I,P){const F=I&&I.request,te=F&&F.collectResourceTiming;this.loadGeoJSON(I,(ie,ve)=>{if(ie||!ve)return P(ie);if(typeof ve!="object")return P(new Error(`Input data given to '${I.source}' is not a valid GeoJSON object.`));{br(ve,!0);try{if(I.filter){const oe=Ee.e(I.filter,{type:"boolean","property-type":"data-driven",overridable:!1,transition:!1});if(oe.result==="error")throw new Error(oe.value.map(Ie=>`${Ie.key}: ${Ie.message}`).join(", "));ve={type:"FeatureCollection",features:ve.features.filter(Ie=>oe.value.evaluate({zoom:0},Ie))}}this._geoJSONIndex=I.cluster?new Vi(function({superclusterOptions:oe,clusterProperties:Ie}){if(!Ie||!oe)return oe;const qe={},je={},Pt={accumulated:null,zoom:0},$t={properties:null},kr=Object.keys(Ie);for(const Ht of kr){const[er,Bt]=Ie[Ht],Ir=Ee.e(Bt),Nr=Ee.e(typeof er=="string"?[er,["accumulated"],["get",Ht]]:er);qe[Ht]=Ir.value,je[Ht]=Nr.value}return oe.map=Ht=>{$t.properties=Ht;const er={};for(const Bt of kr)er[Bt]=qe[Bt].evaluate(Pt,$t);return er},oe.reduce=(Ht,er)=>{$t.properties=er;for(const Bt of kr)Pt.accumulated=Ht[Bt],Ht[Bt]=je[Bt].evaluate(Pt,$t)},oe}(I)).load(ve.features):Xs(ve,I.geojsonVtOptions)}catch(oe){return P(oe)}this.loaded={};const Ce={};if(te){const oe=Ee.f(F);oe&&(Ce.resourceTiming={},Ce.resourceTiming[I.source]=JSON.parse(JSON.stringify(oe)))}P(null,Ce)}})}reloadTile(I,P){const F=this.loaded;return F&&F[I.uid]?super.reloadTile(I,P):this.loadTile(I,P)}loadGeoJSON(I,P){if(I.request)Ee.h(I.request,P);else{if(typeof I.data!="string")return P(new Error(`Input data given to '${I.source}' is not a valid GeoJSON object.`));try{return P(null,JSON.parse(I.data))}catch{return P(new Error(`Input data given to '${I.source}' is not a valid GeoJSON object.`))}}}getClusterExpansionZoom(I,P){try{P(null,this._geoJSONIndex.getClusterExpansionZoom(I.clusterId))}catch(F){P(F)}}getClusterChildren(I,P){try{P(null,this._geoJSONIndex.getChildren(I.clusterId))}catch(F){P(F)}}getClusterLeaves(I,P){try{P(null,this._geoJSONIndex.getLeaves(I.clusterId,I.limit,I.offset))}catch(F){P(F)}}}class pr{constructor(I,P){this.tileID=new Ee.O(I.tileID.overscaledZ,I.tileID.wrap,I.tileID.canonical.z,I.tileID.canonical.x,I.tileID.canonical.y),this.tileZoom=I.tileZoom,this.uid=I.uid,this.zoom=I.zoom,this.canonical=I.tileID.canonical,this.pixelRatio=I.pixelRatio,this.tileSize=I.tileSize,this.source=I.source,this.overscaling=this.tileID.overscaleFactor(),this.projection=I.projection,this.brightness=P}parse(I,P,F,te){this.status="parsing";const ie=new Ee.O(F.tileID.overscaledZ,F.tileID.wrap,F.tileID.canonical.z,F.tileID.canonical.x,F.tileID.canonical.y),ve={},Ce=P.familiesBySource[F.source],oe=new Ee.F(ie,F.promoteId);return oe.bucketLayerIDs=[],Ee.l(I).then(Ie=>{if(!Ie)return te(new Error("Could not parse tile"));const qe=Ee.j(Ie,1/Ee.t(F.tileID.canonical)),je=Ie.json.extensionsUsed&&Ie.json.extensionsUsed.includes("MAPBOX_mesh_features"),Pt=new Ee.k(this.zoom,{brightness:this.brightness});for(const $t in Ce)for(const kr of Ce[$t]){const Ht=kr[0],er=Ie.json.extensionsUsed;Ht.recalculate(Pt,[]);const Bt=new Ee.T(qe,ie,er&&er.includes("MAPBOX_mesh_features"),this.brightness);je||(Bt.needsUpload=!0),ve[Ht.fqid]=Bt,Bt.evaluate(Ht)}this.status="done",te(null,{buckets:ve,featureIndex:oe})}).catch(Ie=>te(new Error(Ie.message)))}}class Na{constructor(I,P,F,te,ie,ve){this.actor=I,this.layerIndex=P,this.brightness=ve,this.loading={},this.loaded={}}loadTile(I,P){const F=I.uid,te=this.loading[F]=new pr(I,this.brightness);Ee.i(I.request,(ie,ve)=>{const Ce=!this.loading[F];return delete this.loading[F],Ce||ie?(te.status="done",Ce||(this.loaded[F]=te),P(ie)):ve&&ve.byteLength!==0?void te.parse(ve,this.layerIndex,I,(oe,Ie)=>{te.status="done",this.loaded=this.loaded||{},this.loaded[F]=te,oe||!Ie?P(oe):P(null,Ie)}):(te.status="done",this.loaded[F]=te,P())})}reloadTile(I,P){const F=this.loaded,te=I.uid;if(F&&F[te]){const ie=F[te];ie.projection=I.projection,ie.brightness=I.brightness;const ve=(Ce,oe)=>{ie.reloadCallback&&(delete ie.reloadCallback,this.loadTile(I,P)),P(Ce,oe)};ie.status==="parsing"?ie.reloadCallback=ve:ie.status==="done"&&this.loadTile(I,P)}}abortTile(I,P){const F=I.uid;this.loading[F]&&delete this.loading[F],P()}removeTile(I,P){const F=this.loaded,te=I.uid;F&&F[te]&&delete F[te],P()}}class Va{constructor(I){this.self=I,this.actor=new Ee.A(I,this),this.layerIndexes={},this.availableImages={},this.isSpriteLoaded={},this.projections={},this.defaultProjection=Ee.m({name:"mercator"}),this.workerSourceTypes={vector:Ee.d,geojson:Js,"batched-model":Na},this.workerSources={},this.demWorkerSources={},this.self.registerWorkerSource=(P,F)=>{if(this.workerSourceTypes[P])throw new Error(`Worker source with name "${P}" already registered.`);this.workerSourceTypes[P]=F},this.self.registerRTLTextPlugin=P=>{if(Ee.n.isParsed())throw new Error("RTL text plugin already registered.");Ee.n.applyArabicShaping=P.applyArabicShaping,Ee.n.processBidirectionalText=P.processBidirectionalText,Ee.n.processStyledBidirectionalText=P.processStyledBidirectionalText}}clearCaches(I,P,F){delete this.layerIndexes[I],delete this.availableImages[I],delete this.workerSources[I],delete this.demWorkerSources[I],F()}checkIfReady(I,P,F){F()}setReferrer(I,P){this.referrer=P}spriteLoaded(I,{scope:P,isLoaded:F}){if(this.isSpriteLoaded[I]||(this.isSpriteLoaded[I]={}),this.isSpriteLoaded[I][P]=F,this.workerSources[I]&&this.workerSources[I][P])for(const te in this.workerSources[I][P]){const ie=this.workerSources[I][P][te];for(const ve in ie)ie[ve]instanceof Ee.d&&(ie[ve].isSpriteLoaded=F,ie[ve].fire(new Ee.o("isSpriteLoaded")))}}setImages(I,{scope:P,images:F},te){if(this.availableImages[I]||(this.availableImages[I]={}),this.availableImages[I][P]=F,this.workerSources[I]&&this.workerSources[I][P]){for(const ie in this.workerSources[I][P]){const ve=this.workerSources[I][P][ie];for(const Ce in ve)ve[Ce].availableImages=F}te()}else te()}setProjection(I,P){this.projections[I]=Ee.m(P)}setBrightness(I,P,F){this.brightness=P,F()}setLayers(I,P,F){this.getLayerIndex(I,P.scope).replace(P.layers,P.options),F()}updateLayers(I,P,F){this.getLayerIndex(I,P.scope).update(P.layers,P.removedIds,P.options),F()}loadTile(I,P,F){P.projection=this.projections[I]||this.defaultProjection,this.getWorkerSource(I,P.type,P.source,P.scope).loadTile(P,F)}loadDEMTile(I,P,F){this.getDEMWorkerSource(I,P.source,P.scope).loadTile(P,F)}reloadTile(I,P,F){P.projection=this.projections[I]||this.defaultProjection,this.getWorkerSource(I,P.type,P.source,P.scope).reloadTile(P,F)}abortTile(I,P,F){this.getWorkerSource(I,P.type,P.source,P.scope).abortTile(P,F)}removeTile(I,P,F){this.getWorkerSource(I,P.type,P.source,P.scope).removeTile(P,F)}removeSource(I,P,F){if(!(this.workerSources[I]&&this.workerSources[I][P.scope]&&this.workerSources[I][P.scope][P.type]&&this.workerSources[I][P.scope][P.type][P.source]))return;const te=this.workerSources[I][P.scope][P.type][P.source];delete this.workerSources[I][P.scope][P.type][P.source],te.removeSource!==void 0?te.removeSource(P,F):F()}loadWorkerSource(I,P,F){try{this.self.importScripts(P.url),F()}catch(te){F(te.toString())}}syncRTLPluginState(I,P,F){try{Ee.n.setState(P);const te=Ee.n.getPluginURL();if(Ee.n.isLoaded()&&!Ee.n.isParsed()&&te!=null){this.self.importScripts(te);const ie=Ee.n.isParsed();F(ie?void 0:new Error(`RTL Text Plugin failed to import scripts from ${te}`),ie)}}catch(te){F(te.toString())}}setDracoUrl(I,P){this.dracoUrl=P}getAvailableImages(I,P){this.availableImages[I]||(this.availableImages[I]={});let F=this.availableImages[I][P];return F||(F=[]),F}getLayerIndex(I,P){this.layerIndexes[I]||(this.layerIndexes[I]={});let F=this.layerIndexes[I][P];return F||(F=this.layerIndexes[I][P]=new Rr,F.scope=P),F}getWorkerSource(I,P,F,te){if(this.workerSources[I]||(this.workerSources[I]={}),this.workerSources[I][te]||(this.workerSources[I][te]={}),this.workerSources[I][te][P]||(this.workerSources[I][te][P]={}),this.isSpriteLoaded[I]||(this.isSpriteLoaded[I]={}),!this.workerSources[I][te][P][F]){const ie={send:(ve,Ce,oe,Ie,qe,je)=>{this.actor.send(ve,Ce,oe,I,qe,je)},scheduler:this.actor.scheduler};this.workerSources[I][te][P][F]=new this.workerSourceTypes[P](ie,this.getLayerIndex(I,te),this.getAvailableImages(I,te),this.isSpriteLoaded[I][te],void 0,this.brightness)}return this.workerSources[I][te][P][F]}getDEMWorkerSource(I,P,F){return this.demWorkerSources[I]||(this.demWorkerSources[I]={}),this.demWorkerSources[I][F]||(this.demWorkerSources[I][F]={}),this.demWorkerSources[I][F][P]||(this.demWorkerSources[I][F][P]=new Oe),this.demWorkerSources[I][F][P]}enforceCacheSizeLimit(I,P){Ee.q(P)}getWorkerPerformanceMetrics(I,P,F){F(void 0,void 0)}}return typeof WorkerGlobalScope<"u"&&typeof self<"u"&&self instanceof WorkerGlobalScope&&(self.worker=new Va(self)),Va}),Bi(["./shared"],function(Ee){return Ee.s});var ra=ko;return ra})})(uv);var hu=uv.exports;const $E={key:0,class:"kvass-map__address"},lv=zE({__name:"Map",props:{coordinates:{},address:{},markers:{},markerIcon:{},aspectRatio:{default:"2/1"},mapOptions:{},markerOptions:{},showControls:{type:Boolean,default:!0},showAddress:{type:Boolean,default:!1},zoom:{default:12},center:{}},setup(Ar){const Dt=Ar,ai=Zs(),Or=Zs(),ko=Bn(()=>({center:Dt.center??Dt.coordinates??Dt?.markers?.[0]?.coordinates,zoom:Dt.zoom,dragPan:!0,scrollZoom:!1,dragRotate:!1,cooperativeGestures:!1,...Dt.mapOptions})),Bi=Bn(()=>Dt.markers?Dt.markers.map(({coordinates:vr})=>vr):[]);function ra(){var vr=Bi.value.map(Lr=>Lr[0]),Cr=Bi.value.map(Lr=>Lr[1]),br=[Math.min.apply(null,vr),Math.min.apply(null,Cr)],Ti=[Math.max.apply(null,vr),Math.max.apply(null,Cr)];return[br,Ti]}function Ee(){if(!Dt.coordinates&&!Dt.markers||!ai.value)return;const vr=Bi.value.length>1?{bounds:ra(),fitBoundsOptions:{padding:75}}:{};Or.value=new hu.Map({container:ai.value,...ko.value,...vr,language:document.querySelector("html")?.getAttribute("lang")||"auto"}),Rr(),Oe()}DE(()=>{Ee()}),PE(()=>{Or.value?.remove()});const H=Bn(()=>({color:"var(--kvass-map-primary-color)",...Dt.markerOptions})),Fr=Zs([]);function Rr(){if(!Or.value)return;const vr=Dt.markers||[{coordinates:Dt.coordinates}];let Cr;vr.forEach(br=>{if(br.content&&(Cr=new hu.Popup({offset:20}).setHTML(`<img src='${br.content.thumbnail}' width="100%">
2029
2029
  <div> ${br.content.description} </div>
2030
- ${br.content.action?`<div> <a href=${br.content.action}>${br.content.actionLabel} ${br.content.actionIcon||""}</a></div>`:""}`)),!br)return;let Ti=H.value;if(Pt.markerIcon?.icon){const Oi=document.createElement("div"),To=Pt.markerIcon.size||60;Oi.className="kvass-map__marker",Oi.style.backgroundImage=`url(${Pt.markerIcon.icon})`,Oi.style.width=`${To}px`,Oi.style.height=`${To}px`,Ti={...Ti,element:Oi}}const Lr=new hu.Marker({...Ti}).setLngLat(br.coordinates);Cr&&Lr.setPopup(Cr),Lr.addTo(Or.value),Fr.value.push(Lr)})}function Oe(){!Or.value||!Pt.showControls||[new hu.NavigationControl].forEach(vr=>Or.value.addControl(vr))}return(vr,Cr)=>(ta(),$s("div",{class:"kvass-map",style:LE({"--kvass-map-aspect-ratio":Pt.aspectRatio})},[af("div",{ref_key:"mapEl",ref:ai,class:"kvass-map__map"},null,512),Pt.showAddress?(ta(),$s("div",$E,RE(Pt.address),1)):cv("",!0)],4))}}),HE=`.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23999'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23999'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23000'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23666'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}}a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='0.3' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='0.9' fill='%23fff'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}@media (-ms-high-contrast:active){a.mapboxgl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='1' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='1' fill='%23fff'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='1' stroke='%23fff' stroke-width='3' fill='%23fff'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='1' fill='%23000'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E")}}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{background-color:#fff;border-radius:12px;box-sizing:content-box;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.mapboxgl-ctrl-attrib.mapboxgl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib-button{background-color:#ffffff80;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-top-left .mapboxgl-ctrl-attrib-button{left:0}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-button{background-color:#0000000d}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{right:0;top:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{left:0;top:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}}@media screen and (-ms-high-contrast:active){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' fill='%23fff'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}@media screen and (-ms-high-contrast:black-on-white){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}.kvass-map{position:relative;aspect-ratio:var(--kvass-map-aspect-ratio);width:100%;background-color:var(--kvass-map-background, rgba(0, 0, 0, .2));border-radius:var(--kvass-map-border-radius, 0rem);overflow:hidden}.kvass-map__address{padding:var(--kvass-map-address-padding-y, .5rem) var(--kvass-map-address-padding-x, .5rem);background-color:var(--kvass-map-address-background, rgba(0, 0, 0, .2));color:var(--kvass-map-address-color, rgba(255, 255, 255, .75));position:absolute;bottom:0;right:0;left:0;text-align:center}.kvass-map__map{height:100%;width:100%}.kvass-map .kvass-map__marker{background-size:cover}.kvass-map .mapboxgl-popup-close-button{background-color:#00000080;color:#fff}.kvass-map .mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{border-top-color:var(--kvass-map-popup-background, white)}.kvass-map .mapboxgl-popup-anchor-top .mapboxgl-popup-tip{border-bottom-color:var(--kvass-map-popup-background, white)}.kvass-map .mapboxgl-popup-content{display:flex;flex-direction:column;gap:var(--kvass-map-popup-gap, .5rem);color:var(--kvass-map-popup-text, inherit);background-color:var(--kvass-map-popup-background, white);padding:var(--kvass-map-popup-padding, 0 0 1.5rem 0);text-align:var(--kvass-map-popup-text-align, center)}.kvass-map .mapboxgl-popup-content img{min-width:var(--kvass-map-popup-image-width, 200px);object-fit:cover;aspect-ratio:var(--kvass-map-popup-image-aspect-ratio, 16/9)}.kvass-map .mapboxgl-popup-content a{flex-grow:1;display:inline-flex;gap:var(--kvass-map-popup-action-gap, .5rem);justify-content:center;border-radius:var(--kvass-map-popup-action-border-radius, 3px);padding:var(--kvass-map-popup-action-padding, 10px);background-color:var(--kvass-map-popup-action-background, black);color:var(--kvass-map-popup-action-text, white);text-decoration:none}.kvass-map .mapboxgl-canvas-container,.kvass-map .mapboxgl-canvas{height:100%;width:100%}.kvass-map .mapboxgl-ctrl-attrib,.kvass-map .mapboxgl-ctrl-logo{display:none}.mapboxgl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0 0 0/0)}.mapboxgl-canvas{left:0;position:absolute;top:0}.mapboxgl-map:-webkit-full-screen{height:100%;width:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass{cursor:grab;-webkit-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer{cursor:pointer}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass:active{cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:none}.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.mapboxgl-ctrl-top-left{left:0;top:0}.mapboxgl-ctrl-top-right{right:0;top:0}.mapboxgl-ctrl-bottom-left{bottom:0;left:0}.mapboxgl-ctrl-bottom-right{bottom:0;right:0}.mapboxgl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{float:left;margin:10px 0 0 10px}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{float:right;margin:10px 10px 0 0}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl{float:left;margin:0 0 10px 10px}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl{float:right;margin:0 10px 10px 0}.mapboxgl-ctrl-group{background:#fff;border-radius:4px}.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px #0000001a}@media (-ms-high-contrast:active){.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.mapboxgl-ctrl-group button{background-color:transparent;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;overflow:hidden;padding:0;width:29px}.mapboxgl-ctrl-group button+button{border-top:1px solid #ddd}.mapboxgl-ctrl button .mapboxgl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (-ms-high-contrast:active){.mapboxgl-ctrl-icon{background-color:transparent}.mapboxgl-ctrl-group button+button{border-top:1px solid ButtonText}}.mapboxgl-ctrl-attrib-button:focus,.mapboxgl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl button:disabled{cursor:not-allowed}.mapboxgl-ctrl button:disabled .mapboxgl-ctrl-icon{opacity:.25}.mapboxgl-ctrl-group button:first-child{border-radius:4px 4px 0 0}.mapboxgl-ctrl-group button:last-child{border-radius:0 0 4px 4px}.mapboxgl-ctrl-group button:only-child{border-radius:inherit}.mapboxgl-ctrl button:not(:disabled):hover{background-color:#0000000d}.mapboxgl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23999'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting .mapboxgl-ctrl-icon{animation:mapboxgl-spin 2s linear infinite}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23999'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23000'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23666'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}}@keyframes mapboxgl-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='0.3' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='0.9' fill='%23fff'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:23px}@media (-ms-high-contrast:active){a.mapboxgl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='1' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='1' fill='%23fff'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='1' stroke='%23fff' stroke-width='3' fill='%23fff'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='1' fill='%23000'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E")}}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{background-color:#ffffff80;margin:0;padding:0 5px}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{background-color:#fff;border-radius:12px;box-sizing:content-box;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.mapboxgl-ctrl-attrib.mapboxgl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib-button{background-color:#ffffff80;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-top-left .mapboxgl-ctrl-attrib-button{left:0}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-button{background-color:#0000000d}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{right:0;top:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{left:0;top:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}}@media screen and (-ms-high-contrast:active){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' fill='%23fff'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}@media screen and (-ms-high-contrast:black-on-white){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}.mapboxgl-ctrl-attrib a{color:#000000bf;text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-left:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:#ffffffbf;border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px;white-space:nowrap}.mapboxgl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-anchor-left{flex-direction:row}.mapboxgl-popup-anchor-right{flex-direction:row-reverse}.mapboxgl-popup-tip{border:10px solid transparent;height:0;width:0;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}.mapboxgl-popup-close-button{background-color:transparent;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.mapboxgl-popup-close-button:hover{background-color:#0000000d}.mapboxgl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px #0000001a;padding:10px 10px 15px;pointer-events:auto;position:relative}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-popup-track-pointer{display:none}.mapboxgl-popup-track-pointer *{pointer-events:none;user-select:none}.mapboxgl-map:hover .mapboxgl-popup-track-pointer{display:flex}.mapboxgl-map:active .mapboxgl-popup-track-pointer{display:none}.mapboxgl-marker{left:0;opacity:1;position:absolute;top:0;transition:opacity .2s;will-change:transform}.mapboxgl-user-location-dot,.mapboxgl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.mapboxgl-user-location-dot:before{animation:mapboxgl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.mapboxgl-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}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading{height:0;width:0}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after,.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-bottom:7.5px solid #4aa1eb;content:"";position:absolute}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-left:7.5px solid transparent;transform:translateY(-28px) skewY(-20deg)}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after{border-right:7.5px solid transparent;transform:translate(7.5px,-28px) skewY(20deg)}@keyframes mapboxgl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after{display:none}.mapboxgl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}@media print{.mapbox-improve-map{display:none}}.mapboxgl-scroll-zoom-blocker,.mapboxgl-touch-pan-blocker{align-items:center;background:#000000b3;color:#fff;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;height:100%;justify-content:center;left:0;opacity:0;pointer-events:none;position:absolute;text-align:center;top:0;transition:opacity .75s ease-in-out;transition-delay:1s;width:100%}.mapboxgl-scroll-zoom-blocker-show,.mapboxgl-touch-pan-blocker-show{opacity:1;transition:opacity .1s ease-in-out}.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page,.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page .mapboxgl-canvas{touch-action:pan-x pan-y}.k-spinner{width:var(--k-spinner-width);aspect-ratio:1/1;border-radius:999px;display:inline-block;border:var(--k-spinner-border-width) solid transparent;border-left-color:currentColor;opacity:.4;animation:spin .5s linear infinite;position:relative;z-index:1}.k-spinner.k-spinner--size-small{--k-spinner-width: 1rem;--k-spinner-border-width: 1px}.k-spinner.k-spinner--size-medium{--k-spinner-width: 2rem;--k-spinner-border-width: 2px}.k-spinner.k-spinner--size-large{--k-spinner-width: 4rem;--k-spinner-border-width: 4px}@keyframes spin{to{rotate:1turn}}.k-button{font:inherit;position:relative;border:1px solid transparent;border-radius:var(--k-button-border-radius, var(--k-ui-rounding));cursor:pointer;text-decoration:none;display:inline-block;white-space:nowrap;line-height:1}.k-button__content{display:flex;align-items:center;justify-content:space-between;transition:opacity .15s ease,translate .15s ease}.k-button__icon{display:inline-flex}.k-button .k-spinner,.k-button__state-indicator{display:inline-block;position:absolute;top:50%;left:50%;translate:-50% -50%;width:1em;aspect-ratio:1}.k-button--full-width{width:100%}.k-button--variant-primary{background-color:var(--k-button-primary-background, var(--k-ui-color-primary));color:var(--k-button-primary-text, white)}.k-button--variant-primary:is(:hover,:focus-visible):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-primary-background-hover, var(--k-ui-color-primary-dark))}.k-button--variant-primary:is(:active,[aria-pressed=true]):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-primary-background-active, var(--k-ui-color-primary-darkest))}.k-button--variant-secondary{border-color:var(--k-button-secondary-border, var(--k-ui-color-neutral));background-color:var(--k-button-secondary-background, transparent);color:var(--k-button-secondary-text, black)}.k-button--variant-secondary:is(:hover,:focus-visible):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-secondary-background-hover, var(--k-ui-color-neutral-lightest))}.k-button--variant-secondary:is(:active,[aria-pressed=true]):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-secondary-background-active, var(--k-ui-color-neutral-light))}.k-button--variant-tertiary{background-color:var(--k-button-tertiary-background, transparent);color:var(--k-button-tertiary-text, black)}.k-button--variant-tertiary:is(:hover,:focus-visible):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-tertiary-background-hover, var(--k-ui-color-neutral-lightest))}.k-button--variant-tertiary:is(:active,[aria-pressed=true]):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-tertiary-background-active, var(--k-ui-color-neutral-light))}.k-button--variant-danger{background-color:var(--k-button-danger-background, var(--k-ui-color-danger));color:var(--k-button-danger-text, white)}.k-button--variant-danger:is(:hover,:focus-visible):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-danger-background-hover, var(--k-ui-color-danger-light))}.k-button--variant-danger:is(:active,[aria-pressed=true]):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-danger-background-active, var(--k-ui-color-danger-dark))}.k-button--variant-warning{background-color:var(--k-button-warning-background, var(--k-ui-color-warning));color:var(--k-button-warning-text, black)}.k-button--variant-warning:is(:hover,:focus-visible):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-warning-background-hover, var(--k-ui-color-warning-light))}.k-button--variant-warning:is(:active,[aria-pressed=true]):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-warning-background-active, var(--k-ui-color-warning-dark))}.k-button--variant-success{background-color:var(--k-button-success-background, var(--k-ui-color-success));color:var(--k-button-success-text, white)}.k-button--variant-success:is(:hover,:focus-visible):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-success-background-hover, var(--k-ui-color-success-light))}.k-button--variant-success:is(:active,[aria-pressed=true]):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-success-background-active, var(--k-ui-color-success-dark))}.k-button--size-small{font-size:var(--k-button-small-font-size, .8em);padding-inline:var(--k-button-small-padding-inline, var(--k-ui-spacing-sm));padding-block:var(--k-button-small-padding-block, calc(var(--k-ui-spacing-sm) * .7))}.k-button--size-small .k-button__content{gap:calc(var(--k-button-small-padding-inline, var(--k-ui-spacing-sm)) / 2)}.k-button--size-medium{font-size:var(--k-button-medium-font-size, inherit);padding-inline:var(--k-button-medium-padding-inline, var(--k-ui-spacing));padding-block:var(--k-button-medium-padding-block, calc(var(--k-ui-spacing) * .7))}.k-button--size-medium .k-button__content{gap:calc(var(--k-button-medium-padding-inline, var(--k-ui-spacing)) / 2)}.k-button--size-large{font-size:var(--k-button-large-font-size, 1.2em);padding-inline:var(--k-button-large-padding-inline, var(--k-ui-spacing-lg));padding-block:var(--k-button-large-padding-block, calc(var(--k-ui-spacing-lg) * .7))}.k-button--size-large .k-button__content{gap:calc(var(--k-button-large-padding-inline, var(--k-ui-spacing-lg)) / 2)}.k-button--loading{cursor:wait}.k-button--busy .k-button__content{opacity:0;translate:0 .25rem}.k-button:is(:disabled,[disabled=disabled]){background-color:var(--k-ui-color-neutral-light);color:hsl(var(--k-ui-color-neutral-dark-h),var(--k-ui-color-neutral-dark-s),calc(var(--k-ui-color-neutral-dark-l) + 40%));cursor:not-allowed}.k-button:focus-visible{outline:2px solid var(--k-ui-outline-color);outline-offset:var(--k-ui-outline-offset)}.k-alert{padding:var(--k-alert-padding-x, var(--k-ui-spacing)) var(--k-alert-padding-y, var(--k-ui-spacing));border-radius:var(--k-alert-border-radius, var(--k-ui-rounding));border:var(--k-alert-border-width, 1px) solid;display:flex;align-items:flex-start;gap:var(--k-alert-gap, var(--k-ui-spacing))}.k-alert__content{flex-grow:1}.k-alert__icon{flex-shrink:0}.k-alert__icon .iconify{width:var(--k-alert-icon-size, 1.25rem);height:var(--k-alert-icon-size, 1.25rem)}.k-alert__title{margin-bottom:var(--k-ui-spacing-xs)}.k-alert__action{display:block;margin-top:var(--k-ui-spacing)}.k-alert--neutral{border-color:var(--k-alert-neutral-border, var(--k-ui-color-neutral));background:var(--k-alert-neutral-background, var(--k-ui-color-neutral-lightest));color:var(--k-alert-neutral-text, var(--k-ui-color-neutral-darkest))}.k-alert--neutral .k-alert__action{border-color:var(--k-alert-neutral-border, var(--k-ui-color-neutral));color:var(--k-alert-neutral-text, var(--k-ui-color-neutral-darkest))}.k-alert--neutral .k-alert__action:hover{background-color:#00000008}.k-alert--neutral .k-alert__action:active{background-color:#0000000d}.k-alert--info{border-color:var(--k-alert-info-border, var(--k-ui-color-info-light));background:var(--k-alert-info-background, hsl(var(--k-ui-color-info-lightest-h), var(--k-ui-color-info-lightest-s), calc(var(--k-ui-color-info-lightest-l) + 2%)));color:var(--k-alert-info-text, var(--k-ui-color-info-darkest))}.k-alert--info .k-alert__action{border-color:var(--k-alert-info-border, var(--k-ui-color-info-light));color:var(--k-alert-info-text, var(--k-ui-color-info-darkest))}.k-alert--info .k-alert__action:hover{background-color:#00000008}.k-alert--info .k-alert__action:active{background-color:#0000000d}.k-alert--danger{border-color:var(--k-alert-danger-border, var(--k-ui-color-danger-light));background:var(--k-alert-danger-background, var(--k-ui-color-danger-lightest));color:var(--k-alert-danger-text, var(--k-ui-color-danger-dark))}.k-alert--danger .k-alert__action{border-color:var(--k-alert-danger-border, var(--k-ui-color-danger-light));color:var(--k-alert-danger-text, var(--k-ui-color-danger-dark))}.k-alert--danger .k-alert__action:hover{background-color:#00000008}.k-alert--danger .k-alert__action:active{background-color:#0000000d}.k-alert--warning{border-color:var(--k-alert-warning-border, var(--k-ui-color-warning-light));background:var(--k-alert-warning-background, hsl(var(--k-ui-color-warning-lightest-h), var(--k-ui-color-warning-lightest-s), calc(var(--k-ui-color-warning-lightest-l) + 3%)));color:var(--k-alert-warning-text, var(--k-ui-color-warning-darkest))}.k-alert--warning .k-alert__action{border-color:var(--k-alert-warning-border, var(--k-ui-color-warning-light));color:var(--k-alert-warning-text, var(--k-ui-color-warning-darkest))}.k-alert--warning .k-alert__action:hover{background-color:#00000008}.k-alert--warning .k-alert__action:active{background-color:#0000000d}.k-avatar{aspect-ratio:1;display:grid;place-items:center;border-radius:100%;box-shadow:inset 0 0 0 var(--k-avatar-border-width, 2px) var(--k-avatar-border-color, var(--k-ui-color-neutral));line-height:1;background-size:cover;background-repeat:no-repeat}.k-avatar--size-small{width:var(--k-avatar-small-width, 1.5rem);font-size:var(--k-avatar-small-font-size, .6rem)}.k-avatar--size-medium{width:var(--k-avatar-medium-width, 2.5rem);font-size:var(--k-avatar-medium-font-size, 1rem)}.k-avatar--size-large{width:var(--k-avatar-large-width, 4rem);font-size:var(--k-avatar-large-font-size, 1.8rem)}.k-badge{border-radius:var(--k-badge-border-radius, var(--k-ui-rounding));padding-inline:.7em;padding-block:.4em;font-size:var(--k-badge-font-size, var(--k-ui-font-size-sm));line-height:1;letter-spacing:.02rem;border-style:solid;display:inline-flex;align-items:center;gap:.4rem}.k-badge__icon{flex-shrink:0}.k-badge__dot{border-radius:100%;width:.3rem;aspect-ratio:1;background-color:currentColor}.k-badge__dismiss{border:none;margin:0;padding:0;cursor:pointer;font-size:.8rem;background:none;color:inherit;display:flex;align-items:center;justify-content:center}.k-badge--rounded{border-radius:20rem}.k-badge--variant-neutral{background-color:var(--k-badge-neutral-background, var(--k-ui-color-neutral-lightest));border-color:var(--k-badge-neutral-border-color, var(--k-ui-color-neutral));color:var(--k-badge-neutral-text, var(--k-ui-color-neutral-darkest))}.k-badge--variant-info{background-color:var(--k-badge-info-background, var(--k-ui-color-info-lightest));border-color:var(--k-badge-info-border-color, var(--k-ui-color-info));color:var(--k-badge-info-text, var(--k-ui-color-info-darkest))}.k-badge--variant-success{background-color:var(--k-badge-success-background, var(--k-ui-color-success-lightest));border-color:var(--k-badge-success-border-color, var(--k-ui-color-success));color:var(--k-badge-success-text, var(--k-ui-color-success-darkest))}.k-badge--variant-warning{background-color:var(--k-badge-warning-background, var(--k-ui-color-warning-lightest));border-color:var(--k-badge-warning-border-color, var(--k-ui-color-warning));color:var(--k-badge-warning-text, var(--k-ui-color-warning-darkest))}.k-badge--variant-danger{background-color:var(--k-badge-danger-background, var(--k-ui-color-danger-lightest));border-color:var(--k-badge-danger-border-color, var(--k-ui-color-danger));color:var(--k-badge-danger-text, var(--k-ui-color-danger-darkest))}.k-badge--variant-primary{background-color:var(--k-badge-primary-background, var(--k-ui-color-primary-lightest));border-color:var(--k-badge-primary-border-color, var(--k-ui-color-primary));color:var(--k-badge-primary-text, var(--k-ui-color-primary-darkest))}.k-badge--appearance-outline{border-width:1px;background-color:transparent}.k-badge--appearance-solid{border-width:0px}.k-checkbox{display:inline-flex;gap:.75rem;align-items:center;cursor:pointer}.k-checkbox:focus-within [data-part=control]{outline:var(--k-ui-outline-width) solid var(--k-ui-outline-color);outline-offset:var(--k-ui-outline-offset)}:is(.k-checkbox__input,.k-checkbox__label){cursor:inherit}.k-checkbox__label{display:block;line-height:1}.k-checkbox__help{opacity:var(--k-ui-opacity-faded)}.k-checkbox [data-part=label]{display:grid;gap:.25rem;translate:0 -1px}.k-checkbox [data-part=control]{display:flex;align-items:center;justify-content:center;width:var(--k-checkbox-size, 1.25rem);aspect-ratio:1;border:1px solid var(--k-checkbox-border-color, var(--k-ui-color-neutral));border-radius:var(--k-checkbox-border-radius, var(--k-ui-rounding-sm))}.k-checkbox [data-part=control] svg{display:none;width:50%}.k-checkbox[data-state=checked] [data-part=control] svg{display:initial}.k-checkbox[data-state=checked]:not([data-disabled]) [data-part=control]{background-color:var(--k-checkbox-accent, var(--k-ui-color-primary-darkest));border-color:var(--k-checkbox-accent, var(--k-ui-color-primary-darkest));color:var(--k-checkbox-accent-contrast, white)}.k-checkbox[data-disabled]{cursor:not-allowed}.k-checkbox[data-disabled] [data-part=control]{background-color:var(--k-checkbox-accent-disabled, var(--k-ui-color-neutral-light));border-color:var(--k-checkbox-accent-disabled, var(--k-ui-color-neutral-light))}.k-formcontrol{display:flex;flex-direction:column;gap:var(--k-formcontrol-gap, .5rem)}.k-formcontrol__help{opacity:.5}.k-formcontrol__error{color:var(--k-formcontrol-invalid-color, var(--k-ui-color-danger))}.k-input{border-radius:var(--k-input-border-radius, var(--k-ui-rounding));border:1px solid var(--k-input-border-color, var(--k-ui-color-neutral));overflow:hidden;display:flex}.k-input:focus-within{outline:2px solid var(--k-ui-outline-color);outline-offset:var(--k-ui-outline-offset)}.k-input__input{border:none;font:inherit;padding-block:var(--k-input-padding-y, var(--k-ui-spacing-sm));padding-inline:var(--k-input-padding-x, var(--k-ui-spacing-sm));flex-grow:1}.k-input__input:focus{outline:none}.k-input__prefix,.k-input__suffix{display:inline-flex;justify-content:center;align-items:center;background-color:var(--k-input-prefix-background, var(--k-ui-color-neutral-lightest));padding-block:var(--k-input-padding-y, var(--k-ui-spacing-sm));padding-inline:var(--k-input-padding-x, var(--k-ui-spacing-sm));color:var(--k-input-prefix-text, hsl(var(--k-ui-color-neutral-dark-h), var(--k-ui-color-neutral-dark-s), calc(var(--k-ui-color-neutral-dark-l) + 50%)))}.k-input--invalid{border-color:var(--k-input-danger, var(--k-ui-color-danger))}.k-input--align-left .k-input__input{text-align:left}.k-input--align-right .k-input__input{text-align:right}.k-textarea{font:inherit;padding-block:var(--k-textarea-padding-y, var(--k-ui-spacing-xs));padding-inline:var(--k-textarea-padding-x, var(--k-ui-spacing-sm));border-radius:var(--k-textarea-border-radius, var(--k-ui-rounding));border:1px solid var(--k-textarea-border-color, var(--k-ui-color-neutral));resize:vertical}.k-textarea--invalid{border-color:var(--k-textarea-invalid-color, var(--k-ui-color-danger))}.k-textarea:focus-visible{outline:2px solid var(--k-ui-outline-color);outline-offset:var(--k-ui-outline-offset)}:host,:root{--k-ui-color-danger-darkest-h: 0deg;--k-ui-color-danger-darkest-s: 77.9005524862%;--k-ui-color-danger-darkest-l: 35.4901960784%;--k-ui-color-danger-darkest: hsl(var(--k-ui-color-danger-darkest-h), var(--k-ui-color-danger-darkest-s), var(--k-ui-color-danger-darkest-l));--k-ui-color-danger-dark-h: 0deg;--k-ui-color-danger-dark-s: 62.6373626374%;--k-ui-color-danger-dark-l: 35.6862745098%;--k-ui-color-danger-dark: hsl(var(--k-ui-color-danger-dark-h), var(--k-ui-color-danger-dark-s), var(--k-ui-color-danger-dark-l));--k-ui-color-danger-h: 0deg;--k-ui-color-danger-s: 61.2068965517%;--k-ui-color-danger-l: 45.4901960784%;--k-ui-color-danger: hsl(var(--k-ui-color-danger-h), var(--k-ui-color-danger-s), var(--k-ui-color-danger-l));--k-ui-color-danger-light-h: 0deg;--k-ui-color-danger-light-s: 54.0322580645%;--k-ui-color-danger-light-l: 51.3725490196%;--k-ui-color-danger-light: hsl(var(--k-ui-color-danger-light-h), var(--k-ui-color-danger-light-s), var(--k-ui-color-danger-light-l));--k-ui-color-danger-lightest-h: 0deg;--k-ui-color-danger-lightest-s: 100%;--k-ui-color-danger-lightest-l: 95.8823529412%;--k-ui-color-danger-lightest: hsl(var(--k-ui-color-danger-lightest-h), var(--k-ui-color-danger-lightest-s), var(--k-ui-color-danger-lightest-l));--k-ui-color-warning-darkest-h: 38.7931034483deg;--k-ui-color-warning-darkest-s: 82.8571428571%;--k-ui-color-warning-darkest-l: 27.4509803922%;--k-ui-color-warning-darkest: hsl(var(--k-ui-color-warning-darkest-h), var(--k-ui-color-warning-darkest-s), var(--k-ui-color-warning-darkest-l));--k-ui-color-warning-dark-h: 38.9010989011deg;--k-ui-color-warning-dark-s: 74.5901639344%;--k-ui-color-warning-dark-l: 52.1568627451%;--k-ui-color-warning-dark: hsl(var(--k-ui-color-warning-dark-h), var(--k-ui-color-warning-dark-s), var(--k-ui-color-warning-dark-l));--k-ui-color-warning-h: 39.1011235955deg;--k-ui-color-warning-s: 87.2549019608%;--k-ui-color-warning-l: 60%;--k-ui-color-warning: hsl(var(--k-ui-color-warning-h), var(--k-ui-color-warning-s), var(--k-ui-color-warning-l));--k-ui-color-warning-light-h: 38.8888888889deg;--k-ui-color-warning-light-s: 100%;--k-ui-color-warning-light-l: 68.2352941176%;--k-ui-color-warning-light: hsl(var(--k-ui-color-warning-light-h), var(--k-ui-color-warning-light-s), var(--k-ui-color-warning-light-l));--k-ui-color-warning-lightest-h: 45.3658536585deg;--k-ui-color-warning-lightest-s: 100%;--k-ui-color-warning-lightest-l: 91.9607843137%;--k-ui-color-warning-lightest: hsl(var(--k-ui-color-warning-lightest-h), var(--k-ui-color-warning-lightest-s), var(--k-ui-color-warning-lightest-l));--k-ui-color-success-darkest-h: 132.75deg;--k-ui-color-success-darkest-s: 85.1063829787%;--k-ui-color-success-darkest-l: 18.431372549%;--k-ui-color-success-darkest: hsl(var(--k-ui-color-success-darkest-h), var(--k-ui-color-success-darkest-s), var(--k-ui-color-success-darkest-l));--k-ui-color-success-dark-h: 117.5757575758deg;--k-ui-color-success-dark-s: 68.275862069%;--k-ui-color-success-dark-l: 28.431372549%;--k-ui-color-success-dark: hsl(var(--k-ui-color-success-dark-h), var(--k-ui-color-success-dark-s), var(--k-ui-color-success-dark-l));--k-ui-color-success-h: 117.8181818182deg;--k-ui-color-success-s: 63.2183908046%;--k-ui-color-success-l: 34.1176470588%;--k-ui-color-success: hsl(var(--k-ui-color-success-h), var(--k-ui-color-success-s), var(--k-ui-color-success-l));--k-ui-color-success-light-h: 118.08deg;--k-ui-color-success-light-s: 56.0538116592%;--k-ui-color-success-light-l: 43.7254901961%;--k-ui-color-success-light: hsl(var(--k-ui-color-success-light-h), var(--k-ui-color-success-light-s), var(--k-ui-color-success-light-l));--k-ui-color-success-lightest-h: 143.7209302326deg;--k-ui-color-success-lightest-s: 75.4385964912%;--k-ui-color-success-lightest-l: 88.8235294118%;--k-ui-color-success-lightest: hsl(var(--k-ui-color-success-lightest-h), var(--k-ui-color-success-lightest-s), var(--k-ui-color-success-lightest-l));--k-ui-color-info-darkest-h: 229.1428571429deg;--k-ui-color-info-darkest-s: 75.5395683453%;--k-ui-color-info-darkest-l: 27.2549019608%;--k-ui-color-info-darkest: hsl(var(--k-ui-color-info-darkest-h), var(--k-ui-color-info-darkest-s), var(--k-ui-color-info-darkest-l));--k-ui-color-info-dark-h: 228.8571428571deg;--k-ui-color-info-dark-s: 79.5454545455%;--k-ui-color-info-dark-l: 34.5098039216%;--k-ui-color-info-dark: hsl(var(--k-ui-color-info-dark-h), var(--k-ui-color-info-dark-s), var(--k-ui-color-info-dark-l));--k-ui-color-info-h: 228.8888888889deg;--k-ui-color-info-s: 61.0859728507%;--k-ui-color-info-l: 43.3333333333%;--k-ui-color-info: hsl(var(--k-ui-color-info-h), var(--k-ui-color-info-s), var(--k-ui-color-info-l));--k-ui-color-info-light-h: 213.9759036145deg;--k-ui-color-info-light-s: 74.7747747748%;--k-ui-color-info-light-l: 78.2352941176%;--k-ui-color-info-light: hsl(var(--k-ui-color-info-light-h), var(--k-ui-color-info-light-s), var(--k-ui-color-info-light-l));--k-ui-color-info-lightest-h: 209.0322580645deg;--k-ui-color-info-lightest-s: 100%;--k-ui-color-info-lightest-l: 93.9215686275%;--k-ui-color-info-lightest: hsl(var(--k-ui-color-info-lightest-h), var(--k-ui-color-info-lightest-s), var(--k-ui-color-info-lightest-l));--k-ui-color-neutral-darkest-h: 0deg;--k-ui-color-neutral-darkest-s: 0%;--k-ui-color-neutral-darkest-l: 0%;--k-ui-color-neutral-darkest: hsl(var(--k-ui-color-neutral-darkest-h), var(--k-ui-color-neutral-darkest-s), var(--k-ui-color-neutral-darkest-l));--k-ui-color-neutral-dark-h: 0deg;--k-ui-color-neutral-dark-s: 0%;--k-ui-color-neutral-dark-l: 20%;--k-ui-color-neutral-dark: hsl(var(--k-ui-color-neutral-dark-h), var(--k-ui-color-neutral-dark-s), var(--k-ui-color-neutral-dark-l));--k-ui-color-neutral-h: 0deg;--k-ui-color-neutral-s: 0%;--k-ui-color-neutral-l: 81.568627451%;--k-ui-color-neutral: hsl(var(--k-ui-color-neutral-h), var(--k-ui-color-neutral-s), var(--k-ui-color-neutral-l));--k-ui-color-neutral-light-h: 0deg;--k-ui-color-neutral-light-s: 0%;--k-ui-color-neutral-light-l: 91.7647058824%;--k-ui-color-neutral-light: hsl(var(--k-ui-color-neutral-light-h), var(--k-ui-color-neutral-light-s), var(--k-ui-color-neutral-light-l));--k-ui-color-neutral-lightest-h: 0deg;--k-ui-color-neutral-lightest-s: 0%;--k-ui-color-neutral-lightest-l: 94.1176470588%;--k-ui-color-neutral-lightest: hsl(var(--k-ui-color-neutral-lightest-h), var(--k-ui-color-neutral-lightest-s), var(--k-ui-color-neutral-lightest-l));--k-ui-color-primary-darkest-h: 221.7112299465deg;--k-ui-color-primary-darkest-s: 76.3265306122%;--k-ui-color-primary-darkest-l: 40.0392156863%;--k-ui-color-primary-darkest: hsl(var(--k-ui-color-primary-darkest-h), var(--k-ui-color-primary-darkest-s), var(--k-ui-color-primary-darkest-l));--k-ui-color-primary-dark-h: 221.7112299465deg;--k-ui-color-primary-dark-s: 76.3265306122%;--k-ui-color-primary-dark-l: 44.0392156863%;--k-ui-color-primary-dark: hsl(var(--k-ui-color-primary-dark-h), var(--k-ui-color-primary-dark-s), var(--k-ui-color-primary-dark-l));--k-ui-color-primary-h: 221.7112299465deg;--k-ui-color-primary-s: 76.3265306122%;--k-ui-color-primary-l: 48.0392156863%;--k-ui-color-primary: hsl(var(--k-ui-color-primary-h), var(--k-ui-color-primary-s), var(--k-ui-color-primary-l));--k-ui-color-primary-light-h: 221.7112299465deg;--k-ui-color-primary-light-s: 76.3265306122%;--k-ui-color-primary-light-l: 52.0392156863%;--k-ui-color-primary-light: hsl(var(--k-ui-color-primary-light-h), var(--k-ui-color-primary-light-s), var(--k-ui-color-primary-light-l));--k-ui-color-primary-lightest-h: 221.7112299465deg;--k-ui-color-primary-lightest-s: 76.3265306122%;--k-ui-color-primary-lightest-l: 56.0392156863%;--k-ui-color-primary-lightest: hsl(var(--k-ui-color-primary-lightest-h), var(--k-ui-color-primary-lightest-s), var(--k-ui-color-primary-lightest-l));--k-ui-spacing-xxs: .25rem;--k-ui-spacing-xs: .5rem;--k-ui-spacing-sm: .75rem;--k-ui-spacing: 1rem;--k-ui-spacing-lg: 1.5rem;--k-ui-spacing-xl: 1.75rem;--k-ui-spacing-xxl: 2rem;--k-ui-spacing-3xl: 3rem;--k-ui-spacing-4xl: 4rem;--k-ui-rounding-sm: 3px;--k-ui-rounding: 6px;--k-ui-rounding-lg: 8px;--k-ui-rounding-xl: 16px;--k-ui-rounding-full: 999px;--k-ui-font-size-xs: .6rem;--k-ui-font-size-sm: .8rem;--k-ui-font-size: 1rem;--k-ui-font-size-lg: 1.2rem;--k-ui-font-size-xl: 2.2rem;--k-ui-font-size-xxl: 3rem;--k-ui-shadow-color: hsl(0deg 0% 0% / .2);--k-ui-shadow-elevation-sm: 0 4px 8px -4px;--k-ui-shadow-elevation-md: 0 8px 16px -8px;--k-ui-shadow-elevation-lg: 0 12px 24px -3px;--k-ui-shadow-sm: var(--k-ui-shadow-elevation-sm) var(--k-ui-shadow-color);--k-ui-shadow-md: var(--k-ui-shadow-elevation-md) var(--k-ui-shadow-color);--k-ui-shadow-lg: var(--k-ui-shadow-elevation-lg) var(--k-ui-shadow-color);--k-ui-shadow: var(--k-ui-shadow-sm);--k-ui-outline-color: var(--k-ui-color-neutral);--k-ui-outline-width: 2px;--k-ui-outline-offset: 2px;--k-ui-opacity-faded: .6}.k-p-xxs{padding:var(--k-ui-spacing-xxs)}.k-pt-xxs{padding-top:var(--k-ui-spacing-xxs)}.k-pr-xxs{padding-right:var(--k-ui-spacing-xxs)}.k-pb-xxs{padding-bottom:var(--k-ui-spacing-xxs)}.k-pl-xxs{padding-left:var(--k-ui-spacing-xxs)}.k-px-xxs{padding-inline:var(--k-ui-spacing-xxs)}.k-py-xxs{padding-block:var(--k-ui-spacing-xxs)}.k-p-xs{padding:var(--k-ui-spacing-xs)}.k-pt-xs{padding-top:var(--k-ui-spacing-xs)}.k-pr-xs{padding-right:var(--k-ui-spacing-xs)}.k-pb-xs{padding-bottom:var(--k-ui-spacing-xs)}.k-pl-xs{padding-left:var(--k-ui-spacing-xs)}.k-px-xs{padding-inline:var(--k-ui-spacing-xs)}.k-py-xs{padding-block:var(--k-ui-spacing-xs)}.k-p-sm{padding:var(--k-ui-spacing-sm)}.k-pt-sm{padding-top:var(--k-ui-spacing-sm)}.k-pr-sm{padding-right:var(--k-ui-spacing-sm)}.k-pb-sm{padding-bottom:var(--k-ui-spacing-sm)}.k-pl-sm{padding-left:var(--k-ui-spacing-sm)}.k-px-sm{padding-inline:var(--k-ui-spacing-sm)}.k-py-sm{padding-block:var(--k-ui-spacing-sm)}.k-p{padding:var(--k-ui-spacing)}.k-pt{padding-top:var(--k-ui-spacing)}.k-pr{padding-right:var(--k-ui-spacing)}.k-pb{padding-bottom:var(--k-ui-spacing)}.k-pl{padding-left:var(--k-ui-spacing)}.k-px{padding-inline:var(--k-ui-spacing)}.k-py{padding-block:var(--k-ui-spacing)}.k-p-lg{padding:var(--k-ui-spacing-lg)}.k-pt-lg{padding-top:var(--k-ui-spacing-lg)}.k-pr-lg{padding-right:var(--k-ui-spacing-lg)}.k-pb-lg{padding-bottom:var(--k-ui-spacing-lg)}.k-pl-lg{padding-left:var(--k-ui-spacing-lg)}.k-px-lg{padding-inline:var(--k-ui-spacing-lg)}.k-py-lg{padding-block:var(--k-ui-spacing-lg)}.k-p-xl{padding:var(--k-ui-spacing-xl)}.k-pt-xl{padding-top:var(--k-ui-spacing-xl)}.k-pr-xl{padding-right:var(--k-ui-spacing-xl)}.k-pb-xl{padding-bottom:var(--k-ui-spacing-xl)}.k-pl-xl{padding-left:var(--k-ui-spacing-xl)}.k-px-xl{padding-inline:var(--k-ui-spacing-xl)}.k-py-xl{padding-block:var(--k-ui-spacing-xl)}.k-p-xxl{padding:var(--k-ui-spacing-xxl)}.k-pt-xxl{padding-top:var(--k-ui-spacing-xxl)}.k-pr-xxl{padding-right:var(--k-ui-spacing-xxl)}.k-pb-xxl{padding-bottom:var(--k-ui-spacing-xxl)}.k-pl-xxl{padding-left:var(--k-ui-spacing-xxl)}.k-px-xxl{padding-inline:var(--k-ui-spacing-xxl)}.k-py-xxl{padding-block:var(--k-ui-spacing-xxl)}.k-p-3xl{padding:var(--k-ui-spacing-3xl)}.k-pt-3xl{padding-top:var(--k-ui-spacing-3xl)}.k-pr-3xl{padding-right:var(--k-ui-spacing-3xl)}.k-pb-3xl{padding-bottom:var(--k-ui-spacing-3xl)}.k-pl-3xl{padding-left:var(--k-ui-spacing-3xl)}.k-px-3xl{padding-inline:var(--k-ui-spacing-3xl)}.k-py-3xl{padding-block:var(--k-ui-spacing-3xl)}.k-p-4xl{padding:var(--k-ui-spacing-4xl)}.k-pt-4xl{padding-top:var(--k-ui-spacing-4xl)}.k-pt-auto{padding-top:auto}.k-pr-4xl{padding-right:var(--k-ui-spacing-4xl)}.k-pr-auto{padding-right:auto}.k-pb-4xl{padding-bottom:var(--k-ui-spacing-4xl)}.k-pb-auto{padding-bottom:auto}.k-pl-4xl{padding-left:var(--k-ui-spacing-4xl)}.k-pl-auto{padding-left:auto}.k-px-4xl{padding-inline:var(--k-ui-spacing-4xl)}.k-px-auto{padding-inline:auto}.k-py-4xl{padding-block:var(--k-ui-spacing-4xl)}.k-py-auto{padding-block:auto}.k-m-xxs{margin:var(--k-ui-spacing-xxs)}.k-mt-xxs{margin-top:var(--k-ui-spacing-xxs)}.k-mr-xxs{margin-right:var(--k-ui-spacing-xxs)}.k-mb-xxs{margin-bottom:var(--k-ui-spacing-xxs)}.k-ml-xxs{margin-left:var(--k-ui-spacing-xxs)}.k-mx-xxs{margin-inline:var(--k-ui-spacing-xxs)}.k-my-xxs{margin-block:var(--k-ui-spacing-xxs)}.k-m-xs{margin:var(--k-ui-spacing-xs)}.k-mt-xs{margin-top:var(--k-ui-spacing-xs)}.k-mr-xs{margin-right:var(--k-ui-spacing-xs)}.k-mb-xs{margin-bottom:var(--k-ui-spacing-xs)}.k-ml-xs{margin-left:var(--k-ui-spacing-xs)}.k-mx-xs{margin-inline:var(--k-ui-spacing-xs)}.k-my-xs{margin-block:var(--k-ui-spacing-xs)}.k-m-sm{margin:var(--k-ui-spacing-sm)}.k-mt-sm{margin-top:var(--k-ui-spacing-sm)}.k-mr-sm{margin-right:var(--k-ui-spacing-sm)}.k-mb-sm{margin-bottom:var(--k-ui-spacing-sm)}.k-ml-sm{margin-left:var(--k-ui-spacing-sm)}.k-mx-sm{margin-inline:var(--k-ui-spacing-sm)}.k-my-sm{margin-block:var(--k-ui-spacing-sm)}.k-m{margin:var(--k-ui-spacing)}.k-mt{margin-top:var(--k-ui-spacing)}.k-mr{margin-right:var(--k-ui-spacing)}.k-mb{margin-bottom:var(--k-ui-spacing)}.k-ml{margin-left:var(--k-ui-spacing)}.k-mx{margin-inline:var(--k-ui-spacing)}.k-my{margin-block:var(--k-ui-spacing)}.k-m-lg{margin:var(--k-ui-spacing-lg)}.k-mt-lg{margin-top:var(--k-ui-spacing-lg)}.k-mr-lg{margin-right:var(--k-ui-spacing-lg)}.k-mb-lg{margin-bottom:var(--k-ui-spacing-lg)}.k-ml-lg{margin-left:var(--k-ui-spacing-lg)}.k-mx-lg{margin-inline:var(--k-ui-spacing-lg)}.k-my-lg{margin-block:var(--k-ui-spacing-lg)}.k-m-xl{margin:var(--k-ui-spacing-xl)}.k-mt-xl{margin-top:var(--k-ui-spacing-xl)}.k-mr-xl{margin-right:var(--k-ui-spacing-xl)}.k-mb-xl{margin-bottom:var(--k-ui-spacing-xl)}.k-ml-xl{margin-left:var(--k-ui-spacing-xl)}.k-mx-xl{margin-inline:var(--k-ui-spacing-xl)}.k-my-xl{margin-block:var(--k-ui-spacing-xl)}.k-m-xxl{margin:var(--k-ui-spacing-xxl)}.k-mt-xxl{margin-top:var(--k-ui-spacing-xxl)}.k-mr-xxl{margin-right:var(--k-ui-spacing-xxl)}.k-mb-xxl{margin-bottom:var(--k-ui-spacing-xxl)}.k-ml-xxl{margin-left:var(--k-ui-spacing-xxl)}.k-mx-xxl{margin-inline:var(--k-ui-spacing-xxl)}.k-my-xxl{margin-block:var(--k-ui-spacing-xxl)}.k-m-3xl{margin:var(--k-ui-spacing-3xl)}.k-mt-3xl{margin-top:var(--k-ui-spacing-3xl)}.k-mr-3xl{margin-right:var(--k-ui-spacing-3xl)}.k-mb-3xl{margin-bottom:var(--k-ui-spacing-3xl)}.k-ml-3xl{margin-left:var(--k-ui-spacing-3xl)}.k-mx-3xl{margin-inline:var(--k-ui-spacing-3xl)}.k-my-3xl{margin-block:var(--k-ui-spacing-3xl)}.k-m-4xl{margin:var(--k-ui-spacing-4xl)}.k-mt-4xl{margin-top:var(--k-ui-spacing-4xl)}.k-mt-auto{margin-top:auto}.k-mr-4xl{margin-right:var(--k-ui-spacing-4xl)}.k-mr-auto{margin-right:auto}.k-mb-4xl{margin-bottom:var(--k-ui-spacing-4xl)}.k-mb-auto{margin-bottom:auto}.k-ml-4xl{margin-left:var(--k-ui-spacing-4xl)}.k-ml-auto{margin-left:auto}.k-mx-4xl{margin-inline:var(--k-ui-spacing-4xl)}.k-mx-auto{margin-inline:auto}.k-my-4xl{margin-block:var(--k-ui-spacing-4xl)}.k-my-auto{margin-block:auto}.k-stepper{display:flex;gap:var(--k-stepper-gap, 2rem)}.k-stepper--breadcrumb-placement-top .k-stepper__breadcrumbs,.k-stepper--breadcrumb-placement-bottom .k-stepper__breadcrumbs{align-items:center;gap:var(--k-stepper-breadcrumb-gap, 1rem)}.k-stepper--breadcrumb-placement-top{flex-direction:column}.k-stepper--breadcrumb-placement-bottom{flex-direction:column-reverse}.k-stepper--breadcrumb-placement-right,.k-stepper--breadcrumb-placement-left{align-items:flex-start}.k-stepper--breadcrumb-placement-right .k-stepper-breadcrumbs-wrapper,.k-stepper--breadcrumb-placement-left .k-stepper-breadcrumbs-wrapper{flex-direction:column}.k-stepper--breadcrumb-placement-right .k-stepper__breadcrumbs,.k-stepper--breadcrumb-placement-left .k-stepper__breadcrumbs{flex-direction:column;align-items:flex-start;gap:1.5rem}.k-stepper--breadcrumb-placement-right .k-stepper__breadcrumb-arrow,.k-stepper--breadcrumb-placement-left .k-stepper__breadcrumb-arrow{display:none}.k-stepper--breadcrumb-placement-right{flex-direction:row-reverse}.k-stepper--breadcrumb-placement-left{flex-direction:row}.k-stepper .k-stepper-breadcrumbs-wrapper{display:flex}.k-stepper__breadcrumbs{flex-grow:1;display:flex;flex-wrap:wrap}.k-stepper__breadcrumbs .k-stepper__breadcrumb{display:flex;align-items:center;gap:.5rem;cursor:pointer;border:none;outline:none;background-color:transparent;font:inherit;line-height:1;padding:0;margin:0;border-radius:var(--k-ui-rounding-sm)}.k-stepper__breadcrumbs .k-stepper__breadcrumb:focus-visible{outline:2px solid var(--k-ui-outline-color);outline-offset:5px}.k-stepper__breadcrumbs .k-stepper__breadcrumb:disabled{cursor:not-allowed}.k-stepper__breadcrumbs .k-stepper__breadcrumb:disabled .k-stepper__breadcrumb-icon{border-color:var(--k-stepper-icon-border, var(--k-ui-color-neutral));background-color:var(--k-stepper-icon-background, var(--k-ui-color-neutral-lightest))}.k-stepper__breadcrumbs .k-stepper__breadcrumb span{line-height:inherit}.k-stepper__breadcrumbs .k-stepper__breadcrumb-icon{font-size:.75em;font-weight:700;position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:50%;border-width:1px;border-style:solid}.k-stepper__breadcrumbs .k-stepper__breadcrumb-label{translate:0 -1px}.k-stepper__breadcrumbs .k-stepper__breadcrumb-arrow{margin:0 .25rem;border:solid #d9d9d9;border-width:0 2px 2px 0;padding:3px;rotate:-45deg}.k-stepper__breadcrumbs .k-stepper__breadcrumb--default:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):not(:hover){color:var(--k-stepper-text, inherit)}.k-stepper__breadcrumbs .k-stepper__breadcrumb--default:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):not(:hover) .k-stepper__breadcrumb-icon{color:var(--k-stepper-icon-text, var(--k-ui-color-neutral-darkest));border-color:var(--k-stepper-icon-border, var(--k-ui-color-neutral));background-color:var(--k-stepper-icon-background, var(--k-ui-color-neutral-lightest))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--default:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):hover{color:var(--k-stepper-text-hover, inherit)}.k-stepper__breadcrumbs .k-stepper__breadcrumb--default:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):hover .k-stepper__breadcrumb-icon{color:var(--k-stepper-icon-text-hover, var(--k-ui-color-neutral-darkest));border-color:var(--k-stepper-icon-border-hover, hsl(var(--k-ui-color-neutral-h), var(--k-ui-color-neutral-s), calc(var(--k-ui-color-neutral-l) - 2%)));background-color:var(--k-stepper-icon-background-hover, var(--k-ui-color-neutral-light))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--active:is(.k-stepper__breadcrumbs .k-stepper__breadcrumb--default){color:var(--k-stepper-text-active, var(--k-ui-color-primary))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--active:is(.k-stepper__breadcrumbs .k-stepper__breadcrumb--default) .k-stepper__breadcrumb-icon{color:var(--k-stepper-icon-text-active, white);border-color:var(--k-stepper-icon-border-active, var(--k-ui-color-primary));background-color:var(--k-stepper-icon-background-active, var(--k-ui-color-primary))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--valid:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):not(:hover){color:var(--k-stepper-text-valid, inherit)}.k-stepper__breadcrumbs .k-stepper__breadcrumb--valid:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):not(:hover) .k-stepper__breadcrumb-icon{color:var(--k-stepper-icon-text-valid, var(--k-ui-color-neutral-darkest));border-color:var(--k-stepper-icon-border-valid, var(--k-ui-color-neutral));background-color:var(--k-stepper-icon-background-valid, var(--k-ui-color-neutral-lightest))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--valid:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):hover{color:var(--k-stepper-text-valid-hover, inherit)}.k-stepper__breadcrumbs .k-stepper__breadcrumb--valid:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):hover .k-stepper__breadcrumb-icon{color:var(--k-stepper-icon-text-valid-hover, var(--k-ui-color-neutral-darkest));border-color:var(--k-stepper-icon-border-valid-hover, hsl(var(--k-ui-color-neutral-h), var(--k-ui-color-neutral-s), calc(var(--k-ui-color-neutral-l) - 2%)));background-color:var(--k-stepper-icon-background-valid-hover, hsl(var(--k-ui-color-neutral-h), var(--k-ui-color-neutral-s), calc(var(--k-ui-color-neutral-l) - 3%)))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--active:is(.k-stepper__breadcrumbs .k-stepper__breadcrumb--valid){color:var(--k-stepper-text-valid-active, var(--k-ui-color-primary))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--active:is(.k-stepper__breadcrumbs .k-stepper__breadcrumb--valid) .k-stepper__breadcrumb-icon{color:var(--k-stepper-icon-text-valid-active, white);border-color:var(--k-stepper-icon-border-valid-active, var(--k-ui-color-primary));background-color:var(--k-stepper-icon-background-valid-active, var(--k-ui-color-primary))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--invalid:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):not(:hover){color:var(--k-stepper-text-invalid, inherit)}.k-stepper__breadcrumbs .k-stepper__breadcrumb--invalid:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):not(:hover) .k-stepper__breadcrumb-icon{color:var(--k-stepper-icon-text-invalid, var(--k-ui-color-danger-darkest));border-color:var(--k-stepper-icon-border-invalid, hsl(var(--k-ui-color-danger-lightest-h), var(--k-ui-color-danger-lightest-s), calc(var(--k-ui-color-danger-lightest-l) - 10%)));background-color:var(--k-stepper-icon-background-invalid, var(--k-ui-color-danger-lightest))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--invalid:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):hover{color:var(--k-stepper-text-invalid-hover, inherit)}.k-stepper__breadcrumbs .k-stepper__breadcrumb--invalid:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):hover .k-stepper__breadcrumb-icon{color:var(--k-stepper-icon-text-invalid-hover, var(--k-ui-color-danger-darkest));border-color:var(--k-stepper-icon-border-invalid-hover, hsl(var(--k-ui-color-danger-lightest-h), var(--k-ui-color-danger-lightest-s), calc(var(--k-ui-color-danger-lightest-l) - 10%)));background-color:var(--k-stepper-icon-background-invalid-hover, hsl(var(--k-ui-color-danger-lightest-h), var(--k-ui-color-danger-lightest-s), calc(var(--k-ui-color-danger-lightest-l) - 2%)))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--active:is(.k-stepper__breadcrumbs .k-stepper__breadcrumb--invalid){color:var(--k-stepper-text-invalid-active, var(--k-ui-color-danger-darkest))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--active:is(.k-stepper__breadcrumbs .k-stepper__breadcrumb--invalid) .k-stepper__breadcrumb-icon{color:var(--k-stepper-icon-text-invalid-active, white);border-color:var(--k-stepper-icon-border-invalid-active, var(--k-ui-color-danger-darkest));background-color:var(--k-stepper-icon-background-invalid-active, var(--k-ui-color-danger-darkest))}.k-stepper__component-wrapper{display:flex;flex-direction:column;gap:inherit}.k-stepper--breadcrumb-placement-bottom .k-stepper__component-wrapper{flex-direction:column-reverse}.k-stepper__navigation{display:flex;justify-content:var(--k-stepper-navigation-alignment, "flex-start");gap:1rem}.k-stepper .k-stepper-fade-enter-active,.k-stepper .k-stepper-fade-leave-active{transition:all .2s ease}.k-stepper .k-stepper-fade-enter-from,.k-stepper .k-stepper-fade-leave-to{opacity:0}.k-stepper .k-stepper-slide-h-prev-enter-active,.k-stepper .k-stepper-slide-h-prev-leave-active,.k-stepper .k-stepper-slide-h-next-enter-active,.k-stepper .k-stepper-slide-h-next-leave-active,.k-stepper .k-stepper-slide-v-prev-enter-active,.k-stepper .k-stepper-slide-v-prev-leave-active,.k-stepper .k-stepper-slide-v-next-enter-active,.k-stepper .k-stepper-slide-v-next-leave-active{transition:all .2s ease}.k-stepper .k-stepper-slide-h-prev-enter-from,.k-stepper .k-stepper-slide-h-prev-leave-to,.k-stepper .k-stepper-slide-h-next-enter-from,.k-stepper .k-stepper-slide-h-next-leave-to,.k-stepper .k-stepper-slide-v-prev-enter-from,.k-stepper .k-stepper-slide-v-prev-leave-to,.k-stepper .k-stepper-slide-v-next-enter-from,.k-stepper .k-stepper-slide-v-next-leave-to{opacity:0}.k-stepper .k-stepper-slide-h-prev-enter-from,.k-stepper .k-stepper-slide-h-next-leave-to{translate:calc(var(--k-stepper-transition-preset-slide-delta, 25px) * -1) 0}.k-stepper .k-stepper-slide-h-next-enter-from,.k-stepper .k-stepper-slide-h-prev-leave-to{translate:var(--k-stepper-transition-preset-slide-delta, 25px) 0}.k-stepper .k-stepper-slide-v-prev-enter-from,.k-stepper .k-stepper-slide-v-next-leave-to{translate:0 calc(var(--k-stepper-transition-preset-slide-delta, 25px) * -1)}.k-stepper .k-stepper-slide-v-next-enter-from,.k-stepper .k-stepper-slide-v-prev-leave-to{translate:0 var(--k-stepper-transition-preset-slide-delta, 25px)}.k-image{position:relative;display:flex;justify-content:center;align-items:center;margin:0;background-image:var(--k-image-preview);background-size:var(--k-image-size);background-repeat:no-repeat;overflow:hidden;width:var(--k-image-width);height:var(--k-image-height);aspect-ratio:var(--k-image-aspectratio)}.k-image img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:var(--k-image-size);object-position:var(--k-image-position);padding:inherit;transition:all .15s ease-in;opacity:0}.k-image--loaded img{opacity:1}.k-image__caption{display:block;position:absolute;width:100%;height:100%;padding:var(--k-image-caption-padding, var(--k-ui-spacing-lg));pointer-events:none}.k-image__caption--theme-light{background:linear-gradient(170deg,#fffc 15%,#fff0 55% 100%)}.k-image__caption--theme-dark{color:#fff;background:linear-gradient(170deg,#000c 15%,#fff0 55% 100%)}.k-image__caption--visibility-hover{opacity:0;transition:opacity .1s ease-in}.k-image:hover .k-image__caption.k-image__caption--visibility-hover{opacity:1}.k-card{display:flex;flex-direction:column;border-radius:var(--k-card-border-radius, var(--k-ui-rounding-lg));background-color:#fff;text-decoration:none;color:inherit}.k-card--variant-shadow{box-shadow:var(--k-card-shadow, var(--k-ui-shadow-lg))}.k-card--variant-border{border:1px solid var(--k-card-border-color, var(--k-ui-color-neutral-light))}.k-card__header{background-color:var(--k-card-header-background, var(--k-ui-color-neutral-lightest));border-top-left-radius:inherit;border-top-right-radius:inherit;min-height:var(--k-header-min-height)}.k-card__header:not(.k-card__header--has-thumbnail),.k-card__header--thumbnail-size-contain{padding:var(--k-card-spacing, var(--k-ui-spacing-lg))}.k-card__header--has-thumbnail{min-height:var(--k-header-min-height, 200px)}.k-card__thumbnail{width:100%;height:100%;border-top-left-radius:inherit;border-top-right-radius:inherit}.k-card__title{font-weight:700;line-height:1;margin-bottom:1rem}.k-card__content,.k-card__footer{padding:var(--k-card-spacing, var(--k-ui-spacing-lg))}.k-card__header+.k-card__footer{padding-top:var(--k-card-spacing, var(--k-ui-spacing-lg))}.k-card__content{flex-grow:1}.k-card__footer{padding-top:0;border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;display:flex;flex-wrap:wrap;gap:1rem}.k-skeleton{display:flex;justify-content:center;align-items:center;aspect-ratio:var(--aspect-ratio);height:var(--height);width:var(--width);border-radius:var(--border-radius)}.k-skeleton--variant-flat{background:var(--k-skeleton-background, var(--k-ui-color-neutral-lightest))}.k-skeleton--variant-shiny{background:var(--k-skeleton-background, var(--k-ui-color-neutral-lightest));background:linear-gradient(110deg,var(--k-skeleton-background, var(--k-ui-color-neutral-lightest)) 8%,var(--k-skeleton-background-shine, hsl(var(--k-ui-color-neutral-lightest-h), var(--k-ui-color-neutral-lightest-s), calc(var(--k-ui-color-neutral-lightest-l) + 2%))) 18%,var(--k-skeleton-background, var(--k-ui-color-neutral-lightest)) 33%);background-size:200% 100%;animation:1.5s shine linear infinite}@keyframes shine{to{background-position-x:-200%}}.k-selectable{background-color:transparent;border:none;padding:0;margin:0;font:inherit;text-align:initial;line-height:initial;position:relative;transition:outline .1s ease;cursor:pointer;outline:var(--k-selectable-outline-width, 4px) solid transparent;outline-offset:var(--k-selectable-outline-offset, var(--k-ui-outline-offset))}.k-selectable:not(.k-selectable--selected):hover{outline:var(--k-selectable-outline-width, 4px) solid var(--k-selectable-hover, var(--k-ui-color-neutral-light))}.k-selectable:not(.k-selectable--selected):focus-within{outline:var(--k-selectable-outline-width, 4px) solid var(--k-ui-outline-color)}.k-selectable--selected:focus-within{outline-color:var(--k-selectable-accent-focus, var(--k-ui-color-primary-lightest))}.k-selectable__checked{position:absolute;top:7px;right:7px;border-radius:var(--k-ui-rounding-full);border:1px solid transparent;z-index:1;color:#fff;width:20px;height:20px;display:flex;justify-content:center;align-items:center;pointer-events:none}.k-selectable__checked svg{display:none}.k-selectable--multiple .k-selectable__checked{border-radius:var(--k-ui-rounding)}.k-selectable--selected{outline:var(--k-selectable-outline-width, 4px) solid var(--k-selectable-accent, var(--k-ui-color-primary-darkest))}.k-selectable--selected .k-selectable__checked{border-color:var(--k-selectable-accent, var(--k-ui-color-primary-darkest));background-color:var(--k-selectable-accent, var(--k-ui-color-primary-darkest));visibility:visible}.k-selectable--selected .k-selectable__checked svg{display:block}.k-rangeslider [data-part=thumb]{background:var(--k-rangeslider-thumb-background, white);border:var(--k-rangeslider-thumb-border-width, 1px) solid var(--k-rangeslider-thumb-border-color, hsl(var(--k-ui-color-neutral-h), var(--k-ui-color-neutral-s), calc(var(--k-ui-color-neutral-l) - 10%)));border-radius:9999px;width:var(--k-rangeslider-thumb-size, 24px);height:var(--k-rangeslider-thumb-size, 24px);box-shadow:var(--k-ui-shadow)}.k-rangeslider [data-part=thumb]:focus-visible{outline:none;border-color:var(--k-ui-outline-color)}.k-rangeslider [data-part=track]{background:var(--k-rangeslider-track-background, var(--k-ui-color-neutral-light));height:var(--k-rangeslider-track-height, 8px);border-radius:9999px;flex:1}.k-rangeslider [data-part=control]{position:relative;align-items:center;display:flex}.k-rangeslider [data-part=range]{background:var(--k-rangeslider-range-background, var(--k-ui-color-primary));height:100%;border-radius:inherit}.k-rangeslider [data-part=marker]{color:gray}.k-rangeslider [data-part=marker][data-state=under-value]{color:#00f}.k-slider [data-part=thumb]{background:var(--k-slider-thumb-background, white);border:var(--k-slider-thumb-border-width, 1px) solid var(--k-slider-thumb-border-color, hsl(var(--k-ui-color-neutral-h), var(--k-ui-color-neutral-s), calc(var(--k-ui-color-neutral-l) - 10%)));border-radius:9999px;width:var(--k-slider-thumb-size, 24px);height:var(--k-slider-thumb-size, 24px);box-shadow:var(--k-ui-shadow)}.k-slider [data-part=thumb]:focus-visible{outline:none;border-color:var(--k-ui-outline-color)}.k-slider [data-part=thumb]:active+[data-part=output]{translate:-50% 0;opacity:1}.k-slider [data-part=output]{pointer-events:none;position:absolute;bottom:calc(100% + 1.25rem);left:var(--slider-thumb-offset);border:1px solid var(--k-ui-outline-color);display:grid;place-items:center;border-radius:var(--k-ui-rounding-lg);box-shadow:var(--k-ui-shadow);background-color:#fff;padding:.25em .75em;white-space:nowrap;translate:-50% 25%;opacity:0;transition-property:translate,opacity;transition-duration:.1s;transition-timing-function:ease;z-index:1}.k-slider [data-part=output]:before{content:"";display:block;width:10px;height:10px;position:absolute;border:inherit;background-color:inherit;rotate:135deg;bottom:-5px;clip-path:polygon(0% 0%,100% 0%,100% 100%,0% 0%)}.k-slider [data-part=track]{background:var(--k-slider-track-background, var(--k-ui-color-neutral-light));height:var(--k-slider-track-height, 8px);border-radius:9999px;flex:1}.k-slider [data-part=control]{position:relative;align-items:center;display:flex}.k-slider [data-part=range]{background:var(--k-slider-range-background, var(--k-ui-color-primary));height:100%;border-radius:inherit}.k-slider [data-part=marker]{color:gray}.k-slider [data-part=marker][data-state=under-value]{color:#00f}.k-dropdown{z-index:var(--k-dropdown-z-index, 10);min-width:200px;border-radius:var(--k-dropdown-border-radius, var(--k-ui-rounding-lg));padding:var(--k-dropdown-spacing, var(--k-ui-spacing-xxs));background-color:#fff;display:flex;flex-direction:column}.k-dropdown--theme-shadow{box-shadow:var(--k-dropdown-shadow, var(--k-ui-shadow-lg))}.k-dropdown--theme-border{border:1px solid var(--k-dropdown-border, var(--k-ui-color-neutral))}.k-dropdown-enter-active{transition:opacity .2s}.k-dropdown-enter-from{opacity:0}.k-dropdown .k-button:focus-visible{outline-offset:0}.k-datatable{width:100%;display:grid;position:relative;grid-template-columns:var(--k-datatable-layout)}.k-datatable--sticky .k-datatable__row:first-child .k-datatable__cell{z-index:2;position:sticky;top:var(--k-datatable-sticky-top);border-bottom:1px solid var(--k-datatable-border-color, var(--k-ui-color-neutral-light))}.k-datatable:not(.k-datatable--no-header) .k-datatable__row:first-child{background-color:#fff;font-size:.8em;text-align:left}.k-datatable__cell{display:flex;align-items:center;padding:.75rem}.k-datatable__cell--text-align-start{justify-content:flex-start}.k-datatable__cell--text-align-center{justify-content:center}.k-datatable__cell--text-align-end{justify-content:flex-end}.k-datatable__cell-sort{cursor:pointer;vertical-align:middle}.k-datatable__cell-sort-icon{opacity:0;margin-left:.25rem}.k-datatable__cell-sort:not(.k-datatable__cell-sort--active):hover .k-datatable__cell-sort-icon{opacity:.3}.k-datatable__cell-sort--active .k-datatable__cell-sort-icon{opacity:1}.k-datatable__cell-actions{padding:0;position:relative}.k-datatable__row{display:contents}.k-datatable__row:hover .k-datatable__cell-actions .button-group,.k-datatable__row:focus-within .k-datatable__cell-actions .button-group{display:flex}.k-datatable__row-wrapper{display:contents}.k-datatable--default .k-datatable__row:nth-child(odd) .k-datatable__cell{background-color:var(--k-datatable-odd-color, hsl(var(--k-ui-color-neutral-lightest-h), var(--k-ui-color-neutral-lightest-s), calc(var(--k-ui-color-neutral-lightest-l) + 1%)))}.k-datatable--border .k-datatable__row:not(:last-child) .k-datatable__cell{border-bottom:1px solid var(--k-datatable-border-color, var(--k-ui-color-neutral-light))}.k-datatable--border .k-datatable__row:first-child .k-datatable__cell{background-color:inherit}.k-datatable__footer{position:sticky;bottom:0;width:100%;padding:.75rem;display:flex;align-items:center;gap:1rem;grid-column:1/-1;font-size:var(--k-ui-font-size-sm);background-color:#fff;animation:fadeInUp .2s ease-out;border-top:1px solid var(--k-datatable-border-color, var(--k-ui-color-neutral-light))}.k-datatable--default .k-datatable__footer{background-color:#f5f5f5}.k-datatable-footer-enter-active,.k-datatable-footer-leave-active{transition:.2s ease-out}.k-datatable-footer-enter-from,.k-datatable-footer-leave-to{transform:translateY(100%);opacity:0}.k-navigation{border-bottom:1px solid var(--k-navigation-border-color, var(--k-ui-color-neutral-light));padding:var(--k-navigation-padding, var(--k-ui-spacing))}.k-navigation--responsive{max-height:100vh;overflow-y:auto}.k-navigation--responsive nav{flex-wrap:wrap}.k-navigation nav{display:flex;align-items:center;justify-content:space-between;max-width:var(--k-navigation-max-width, 1200px);margin-inline:auto;width:100%}.k-navigation__logo{display:flex}.k-navigation__logo .k-button{padding-block:0;padding-inline:0}.k-navigation__logo .k-button:hover{background-color:transparent}.k-navigation__logo .k-image{height:var(--k-navigation-logo-height, 30px)}.k-navigation__bars{display:none}.k-navigation--responsive .k-navigation__bars{display:block}.k-navigation__items{display:flex;align-items:center;gap:var(--k-navigation-gap, 1rem);transition:opacity .1s ease-out}.k-navigation--initializing .k-navigation__items{position:absolute;opacity:0}.k-navigation--responsive .k-navigation__items{flex-direction:column;align-items:initial;width:100vw;margin-top:20px;animation:slideDown .15s ease-out}@keyframes slideDown{0%{transform:translateY(-20px);opacity:0}}.k-navigation--responsive:not(.k-navigation--expanded) .k-navigation__items{display:none}.k-navigation [active=true]{background-color:var(--k-navigation-active-background, var(--k-ui-color-neutral-lightest))}.k-radiogroup--variant-radio{display:flex;align-items:flex-start;gap:var(--k-radiogroup-gap, var(--k-ui-spacing-xs));border-radius:var(--k-ui-rounding-sm)}.k-radiogroup--variant-radio:focus-within{outline:var(--k-ui-outline-width) solid var(--k-ui-outline-color);outline-offset:8px}.k-radiogroup--variant-radio.k-radiogroup--direction-horizontal{flex-direction:row;flex-wrap:wrap}.k-radiogroup--variant-radio.k-radiogroup--direction-vertical{flex-direction:column}.k-radiogroup--variant-radio [data-part=label]{display:block;width:100%}.k-formcontrol .k-radiogroup--variant-radio [data-part=label]{visibility:hidden;width:0;height:0;position:absolute}.k-radiogroup--variant-radio label{display:flex;align-items:center;flex-direction:row-reverse;gap:.5rem;cursor:pointer}.k-radiogroup--variant-radio label[data-disabled]{cursor:not-allowed}.k-radiogroup--variant-radio [data-part=radio-control]{display:flex;justify-content:center;align-items:center;width:var(--k-radiogroup-size, 1.25rem);height:var(--k-radiogroup-size, 1.25rem);border-radius:999px;border:1px solid var(--k-radiogroup-border-color, var(--k-ui-color-neutral))}.k-radiogroup--variant-radio [data-part=radio-control] svg{display:none;width:50%}.k-radiogroup--variant-radio [data-part=radio-control][data-state=checked]{border-width:calc(var(--k-radiogroup-size, 1.25rem) / 3)}.k-radiogroup--variant-radio [data-part=radio-control][data-state=checked] svg{display:initial}.k-radiogroup--variant-radio [data-part=radio-control][data-state=checked]:not([data-disabled]){background-color:#fff;border-color:var(--k-radiogroup-accent, var(--k-ui-color-primary-darkest))}.k-radiogroup--variant-radio [data-part=radio-control][data-disabled]{background-color:var(--k-radiogroup-background-disabled, var(--k-ui-color-neutral-light));border-color:var(--k-radiogroup-accent-disabled, var(--k-ui-color-neutral))}.k-radiogroup--variant-radio [data-part=radio-control][data-disabled]:not([data-state=checked]){border-width:0}.k-radiogroup--variant-segment{display:flex;background-color:var(--k-radiogroup-segment-background, var(--k-ui-color-neutral-lightest));border-radius:var(--k-radiogroup-segment-border-radius, var(--k-ui-rounding));padding:var(--k-radiogroup-segment-padding, var(--k-ui-spacing-xs))}.k-radiogroup--variant-segment [data-disabled]{cursor:not-allowed;color:#0000004d}.k-radiogroup--variant-segment:focus-within{outline:var(--k-ui-outline-width) solid var(--k-ui-outline-color);outline-offset:var(--k-ui-outline-offset)}.k-radiogroup--variant-segment [data-part=indicator]{background-color:var(--k-radiogroup-segment-indicator-background, white);box-shadow:var(--k-ui-shadow);border-radius:inherit}.k-radiogroup--variant-segment [data-part=radio]{-webkit-user-select:none;user-select:none;cursor:pointer;padding-block:var(--k-radiogroup-segment-padding, var(--k-ui-spacing-xs));padding-inline:calc(var(--k-radiogroup-segment-padding, var(--k-ui-spacing-xs)) * 2);white-space:nowrap;z-index:1}.k-grid{display:grid;grid-template-columns:var(--k-grid-columns);grid-template-rows:var(--k-grid-rows);gap:var(--k-grid-gap);align-items:var(--k-grid-align);grid-template-areas:var(--k-grid-areas)}.k-grid>.k-grid-span-full{grid-column:1/-1}.k-grid>*{grid-area:var(--k-grid-item-area);align-self:var(--k-grid-item-align-self)}.k-flex{display:flex;flex-direction:var(--k-flex-direction);justify-content:var(--k-flex-justify);align-items:var(--k-flex-align);flex-wrap:var(--k-flex-wrap);gap:var(--k-flex-gap)}.k-flex-grow{flex-grow:1}.k-scroller{overflow:auto}.k-scroller--appearance-shadow{background:linear-gradient(var(--k-scroller-background, transparent) 30%,rgba(255,255,255,0)),linear-gradient(rgba(255,255,255,0),var(--k-scroller-background, transparent) 70%) 0 100%,radial-gradient(farthest-side at 50% 0,#0000001a,#0000),radial-gradient(farthest-side at 50% 100%,#0000001a,#0000) 0 100%;background-repeat:no-repeat;background-color:var(--k-scroller-background, transparent);background-size:100% 40px,100% 40px,100% 14px,100% 14px;background-attachment:local,local,scroll,scroll}.k-scroller--appearance-indicator .k-scroller__indicator{position:sticky;opacity:0;color:#414141;border:1px solid #e1e1e1;background-color:#fffffff5;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:35px;z-index:1;pointer-events:none;border-radius:20px 0 0 20px;transform-origin:center;transition:opacity .1s ease}.k-scroller--appearance-indicator .k-scroller__indicator svg{width:.375em;font-size:40px;animation:fadeInOut 2s ease-in-out infinite}@keyframes fadeInOut{0%,to{transform:translate(-20%);opacity:.4}50%{transform:translate(20%);opacity:1}}.k-scroller--appearance-indicator.k-scroller--scrolled-to-left .k-scroller__indicator{opacity:1;left:100%;top:50%;transform:translate(-100%,-50%) rotate(0)}.k-scroller--appearance-indicator.k-scroller--scrolled-to-right .k-scroller__indicator{opacity:1;left:0;top:50%;transform:translateY(-50%) rotate(180deg)}.k-scroller--appearance-indicator.k-scroller--scrolled-to-top .k-scroller__indicator{opacity:1;left:50%;top:100%;transform:translate(-50%,-100%) rotate(90deg)}.k-scroller--appearance-indicator.k-scroller--scrolled-to-bottom .k-scroller__indicator{opacity:1;left:50%;top:0;transform:translate(-50%) rotate(-90deg)}.k-scroller.k-flex-grow{height:0}.k-dialog__container{overflow-y:auto;position:fixed;inset:0;display:flex;justify-content:center}.k-dialog__container.k-dialog--align-top{align-items:flex-start}.k-dialog__container.k-dialog--align-center{align-items:center}.k-dialog__card{position:relative;margin:var(--k-dialog-card-margin-desktop, var(--k-ui-spacing-xl));max-width:var(--k-dialog-max-width, 80ch);min-width:var(--k-dialog-min-width, 400px);animation:dialogCardAppear .4s var(--k-dialog-easing, cubic-bezier(.075, .82, .165, 1))}.k-dialog__card-header{margin-block-end:var(--k-dialog-header-margin, var(--k-ui-spacing-lg))}@media (width < 800px){.k-dialog__card{margin:var(--k-dialog-card-margin-mobile, var(--k-ui-spacing-sm))}}.k-dialog__title{font-size:1rem;margin-block:0 .25rem}.k-dialog__description{color:var(--k-dialog-description-color, var(--k-ui-color-neutral-dark))}.k-dialog__backdrop{background-color:var(--k-dialog-backdrop-background, rgba(0, 0, 0, .3));position:fixed;inset:0;animation:dialogBackdropAppear .15s ease-out}.k-dialog__close-trigger{position:absolute;inset-block-start:var(--k-dialog-close-trigger-offset, var(--k-ui-spacing-sm));inset-inline-end:var(--k-dialog-close-trigger-offset, var(--k-ui-spacing-sm))}@keyframes dialogCardAppear{0%{opacity:0;translate:0 var(--k-dialog-animation-translation-distance, calc(var(--k-ui-spacing-lg) * -1));scale:.95}}@keyframes dialogBackdropAppear{0%{opacity:0}}.k-alertdialog__actions{width:100%}.k-media-thumbnail-actions{display:flex;flex-direction:column;gap:var(--k-media-thumbnail-actions-gap, var(--k-ui-spacings-xxs));font-size:.8em;position:absolute;top:-5px;right:-5px;transition:opacity .15s ease-out,transform .15s ease-out}.k-media-thumbnail-actions>*{aspect-ratio:1/1;height:var(--k-media-thumbnail-actions-height, 22px);color:#fff;display:flex;justify-content:center;align-items:center;font-size:var(--k-media-thumbnail-actions-font-size, var(--k-ui-font-size-xs));border-radius:var(--k-media-thumbnail-actions-border-radius, 50%);cursor:pointer}@media (hover: hover){.k-media-thumbnail-actions{opacity:0;transform:translateY(50%)}}.k-media-thumbnail-actions__delete{background-color:var(--k-media-thumbnail-actions-danger, var(--k-ui-color-danger))}.k-media-thumbnail-actions__download{background-color:var(--k-media-thumbnail-actions-primary, var(--k-ui-color-primary))}.k-media-thumbnail{position:relative}.k-media-thumbnail__item{background-color:var(--k-media-thumbnail-background-color, var(--k-ui-color-neutral-lightest));cursor:pointer;border:var(--k-media-thumbnail-border-width, 1px) solid var(--k-media-thumbnail-border-color, var(--k-ui-color-neutral-light));border-radius:var(--k-media-thumbnail-border-radius, var(--k-ui-rounding-sm))}.k-media-thumbnail__item--selected{border-color:var(--k-media-thumbnail-selected-border-color, var(--k-ui-color-primary-light));box-shadow:var(--k-media-thumbnail-box-shadow, var(--k-ui-shadow))}@media (hover: hover){.k-media-thumbnail:hover .k-media-thumbnail-actions{opacity:1;transform:translateY(0)}}[data-id=k-media-type-selector-dialog]{width:700px}.k-media-type-selector{display:flex;font-size:.9em;flex-direction:column;align-items:center}.k-media-type-selector .k-button:hover{background-color:hsl(var(--k-ui-color-neutral-lightest-h),var(--k-ui-color-neutral-lightest-s),calc(var(--k-ui-color-neutral-lightest-l) - 2%))}.k-media-type-selector__info{margin-bottom:.5rem}.k-media-description{position:absolute;bottom:.5rem;left:.5rem;width:calc(100% - 1rem);padding:.5rem .75rem;text-align:left;font:inherit;border-radius:var(--k-ui-rounding-sm);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background-color:#ffffffb3;transition:.15s ease-out;text-overflow:ellipsis;z-index:1}@media (hover: hover){.k-media-description{transform:translateY(1rem);opacity:0}}.k-media-droparea:hover .k-media-description,.k-media-description:focus-visible{opacity:1;transform:translateY(0)}.k-media-description:focus-visible{outline:1px solid var(--k-ui-color-primary)}.k-media-uploader{position:absolute;top:0;font-size:.7em;font-weight:700;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:200px;padding:1rem;border:1px solid var(--k-media-uploader-border-color, var(--k-ui-color-neutral-light));border-radius:var(--k-media-uploader-border-radius, var(--k-ui-rounding-sm));background-color:#fff}.k-media-uploader__bar{flex-grow:1;height:5px;margin:0 1rem;border-radius:var(--k-media-uploader-border-radius, var(--k-ui-rounding-sm));background-color:var(--k-media-uploader-border-color, var(--k-ui-color-neutral-light))}.k-media-uploader__bar-value{height:inherit;transition:width .1s ease;border-radius:inherit;background-color:var(--k-media-uploader-primary, var(--k-ui-color-primary))}.k-media-uploader__meta{display:flex;align-items:center}.k-media-uploader__meta>*+*{margin-left:5px}.k-media-droparea{position:relative;display:flex;align-items:center;justify-content:center;text-align:center;border:var(--k-media-droparea-border-width, 2px) dashed var(--k-media-droparea-border-color, var(--k-ui-color-neutral-light));border-radius:var(--k-media-droparea-border-radius, var(--k-ui-rounding-sm));background-color:var(--k-media-droparea-background-color, var(--k-ui-color-neutral-lightest));background-repeat:no-repeat;background-position:center;flex-grow:1;min-height:150px;height:100%;flex-direction:column}.k-media-droparea[disabled=disabled]{cursor:not-allowed}.k-media-droparea:before{position:absolute;top:0;left:0;width:100%;height:100%;content:"";opacity:0;background-color:var(--k-media-droparea-primary, var(--k-ui-color-primary))}@media (hover: hover){.k-media-droparea:hover .k-media-thumbnail-actions{opacity:1;transform:translateY(0)}}.k-media-droparea--active{border-color:var(--k-media-droparea-primary, var(--k-ui-color-primary))}.k-media-droparea--active:before{opacity:.15}.k-media-droparea--active iframe{display:none}.k-media-droparea--invalid{cursor:not-allowed;color:var(--k-media-droparea-danger, var(--k-ui-color-danger));border-color:var(--k-media-droparea-danger, var(--k-ui-color-danger));background-image:none!important}.k-media-droparea--invalid:before{opacity:.2;background-color:var(--k-media-droparea-danger, var(--k-ui-color-danger))}.k-media-droparea--invalid .k-media-droparea__instruction{background:transparent!important}.k-media-droparea--invalid iframe{display:none}.k-media-droparea__instruction{position:absolute;max-width:75ch;font-size:.9em;transition:opacity .25s ease;text-align:center;z-index:1}@media (hover: hover){.k-media-droparea--selected .k-media-droparea__instruction{padding:1rem;opacity:0;border-radius:var(--k-media-droparea-border-radius, var(--k-ui-rounding-sm));background-color:#ffffffb3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}}.k-media-droparea:hover .k-media-droparea__instruction,.k-media-droparea--active .k-media-droparea__instruction{opacity:1}.k-media-droparea__input{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;opacity:0}.k-media-droparea__input[type=text]{z-index:-1;pointer-events:none}.k-media-droparea__input:disabled{cursor:not-allowed}.k-media-droparea b{color:var(--k-media-droparea-primary, var(--k-ui-color-primary))}.k-media-droparea .k-media-uploader{margin-top:1rem}.k-media--inside .k-media-droparea .k-media-uploader{position:absolute;top:0;right:0;margin-top:2rem;margin-right:2rem}.k-media-image-create-trigger{border:none;font-size:var(--k-ui-font-size-sm)}.k-media-image-create-trigger svg{color:var(--k-ui-color-primary)}.k-media-image__thumbnail{position:relative;background-position:center;background-size:cover}.k-media-image-preview{text-align:center;background-repeat:no-repeat;background-position:center;border-radius:inherit;background-origin:content-box;flex-grow:1;height:100%;width:100%}.k-media{position:relative;display:flex;flex-direction:column;text-align:left}.k-media__label{font-weight:700;display:flex;align-items:flex-end;gap:var(--k-media-gap, var(--k-ui-spacings-xs))}.k-media__label-required{color:var(--k-media-danger, var(--k-ui-color-danger))}.k-media__label-wrapper{margin-bottom:.5em}.k-media__sublabel{font-size:.9em;display:block;opacity:.5}.k-media__thumbnails{display:flex;flex-wrap:wrap;margin-top:.5rem;gap:var(--k-media-gap, var(--k-ui-spacings-xs))}.k-media--placement-inside .k-media__thumbnails{position:absolute;right:2rem;bottom:2rem}.k-switch{display:flex;align-items:center;cursor:pointer;gap:.25rem}.k-switch[data-disabled]{cursor:not-allowed;opacity:var(--k-ui-opacity-faded)}.k-switch:focus-within [data-part=control]{outline:var(--k-ui-outline-width) solid var(--k-ui-outline-color);outline-offset:var(--k-ui-outline-offset)}.k-switch [data-part=control]{display:inline-flex;flex-shrink:0;justify-content:flex-start;box-sizing:content-box;cursor:inherit;border-radius:var(--k-switch-border-radius, var(--k-ui-rounding-full));padding:var(--k-switch-offset, .125rem);width:var(--k-switch-width, 2rem);height:var(--k-switch-height, 1rem);background:var(--k-switch-background, var(--k-ui-color-neutral));transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-duration:.15s}.k-switch [data-part=control][data-state=checked]{background:var(--k-switch-background-checked, var(--k-ui-color-primary))}.k-switch [data-part=control] [data-part=thumb]{background:#fff;border-radius:inherit;width:var(--k-switch-height, 1rem);height:var(--k-switch-height, 1rem);transition-property:transform;transition-duration:.2s}.k-switch [data-part=control] [data-part=thumb][data-state=checked]{transform:translate(calc(var(--k-switch-width, 2rem) - var(--k-switch-height, 1rem)))}.kvass-location-selector{max-width:var(--kvass-location-selector-width, 900px);display:flex;flex-direction:column;gap:var(--kvass-location-selector-gap, 1rem);position:relative;aspect-ratio:var(--kvass-location-selector-aspect-ratio);width:100%;background-color:var(--kvass-location-selector-background, white);border-radius:var(--kvass-location-selector-border-radius, 0rem)}.kvass-location-selector__map{height:100%;width:100%}.kvass-location-selector input{color:var(--kvass-location-selector-input-text, black);background-color:var(--kvass-location-selector-input-background, white)}.kvass-location-selector .k-formcontrol__label{font-weight:var(--kvass-location-selector-label-font-weight, 400)}.kvass-location-selector .mapboxgl-canvas-container,.kvass-location-selector .mapboxgl-canvas{height:100%;width:100%}.kvass-location-selector .mapboxgl-ctrl-attrib,.kvass-location-selector .mapboxgl-ctrl-logo,.kvass-location-selector .mapboxgl-ctrl-top-right{display:none}.kvass-location-selector .mapboxgl-ctrl-top-left{z-index:0}.widgets-kvass-map--search{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem;--kvass-location-selector-background: transparent}.widgets-kvass-map--search .k-card__thumbnail{--k-image-aspectratio: 3 / 1 !important}.widgets-kvass-map--search .kvass-location-selector__map{display:none}@media screen and (max-width: 680px){.kvass-map{aspect-ratio:1/1.4}}`,WE={key:0,class:"widgets-kvass-map--search"},XE=["innerHTML"],YE=["innerHTML"],JE={__name:"Map.ce",props:{theme:{type:String},mapboxApiToken:{type:String},mapOptions:{type:String,default:"{}"},markerIcon:{type:String,default:"{}"},search:{type:Boolean},coordinates:{type:String},markers:{type:String},center:{type:String},description:{type:String},language:{type:String},zoom:{type:String,default:"8",validator(Ar){return typeof parseInt(Ar)=="number"}},address:String,aspectRatio:String},setup(Ar){const Pt=Ar,ai=Zs(""),Or=Zs([]);OE(()=>ai.value,Fr=>{const Rr=(Fr?.location?.coordinates||[]).map(Oe=>Math.round(Oe));Or.value=ra.value?.filter(Oe=>Oe.coordinates.every(Cr=>Rr.includes(Math.round(Cr))))},{deep:!0});const ko=Bn(()=>Pt.coordinates?Pt.coordinates.split(","):null),Bi=Bn(()=>Pt.center?Pt.center.split(","):null),ra=Bn(()=>JSON.parse(Pt.markers||{})),Ee=nv({style:Pt.theme,accessToken:Pt.mapboxApiToken,...JSON.parse(Pt.mapOptions)||{}}),H=nv({...JSON.parse(Pt.markerIcon)||{}});return(Fr,Rr)=>(ta(),tf(Ln(qE),null,{default:rf(()=>[Ar.search?(ta(),$s("div",WE,[of(Ln(lv),{coordinates:ko.value,zoom:parseInt(Pt.zoom),markers:ra.value,"map-options":Ee,address:Ar.address,"show-address":!!Ar.address,"aspect-ratio":Ar.aspectRatio,center:Bi.value,"marker-icon":H},null,8,["coordinates","zoom","markers","map-options","address","show-address","aspect-ratio","center","marker-icon"]),af("div",null,[Ar.description?(ta(),$s("div",{key:0,innerHTML:Ar.description},null,8,XE)):cv("",!0),of(Ln(UE),{modelValue:ai.value,"onUpdate:modelValue":Rr[0]||(Rr[0]=Oe=>ai.value=Oe),zoom:parseInt(Pt.zoom),"map-options":Ee,"aspect-ratio":Ar.aspectRatio,autocomplete:!0,"show-selected":!0,"show-warning":!0,language:Ar.language},null,8,["modelValue","zoom","map-options","aspect-ratio","language"]),(ta(!0),$s(FE,null,NE(Or.value,Oe=>(ta(),tf(Ln(jE),{thumbnail:Oe.content.thumbnail,"header-min-height":"200px","thumbnail-size":"cover"},{footer:rf(()=>[of(Ln(GE),{label:Oe.content?.actionLabel,"icon-right":"fa-pro-light:angle-right",is:"a",href:Oe.content?.action},null,8,["label","href"])]),default:rf(()=>[af("div",{innerHTML:Oe.content?.description},null,8,YE)]),_:2},1032,["thumbnail"]))),256))])])):(ta(),tf(Ln(lv),{key:1,coordinates:ko.value,zoom:parseInt(Pt.zoom),markers:ra.value,"map-options":Ee,address:Ar.address,"show-address":!!Ar.address,"aspect-ratio":Ar.aspectRatio,center:Bi.value,"marker-icon":H},null,8,["coordinates","zoom","markers","map-options","address","show-address","aspect-ratio","center","marker-icon"]))]),_:1}))}},KE=BE(JE,[["styles",[HE]]]);customElements.define("kvass-map",VE(KE));
2030
+ ${br.content.action?`<div> <a href=${br.content.action}>${br.content.actionLabel} ${br.content.actionIcon||""}</a></div>`:""}`)),!br)return;let Ti=H.value;if(Dt.markerIcon?.icon){const Oi=document.createElement("div"),To=Dt.markerIcon.size||60;Oi.className="kvass-map__marker",Oi.style.backgroundImage=`url(${Dt.markerIcon.icon})`,Oi.style.width=`${To}px`,Oi.style.height=`${To}px`,Ti={...Ti,element:Oi}}const Lr=new hu.Marker({...Ti}).setLngLat(br.coordinates);Cr&&Lr.setPopup(Cr),Lr.addTo(Or.value),Fr.value.push(Lr)})}function Oe(){!Or.value||!Dt.showControls||[new hu.NavigationControl].forEach(vr=>Or.value.addControl(vr))}return(vr,Cr)=>(ta(),$s("div",{class:"kvass-map",style:LE({"--kvass-map-aspect-ratio":Dt.aspectRatio})},[af("div",{ref_key:"mapEl",ref:ai,class:"kvass-map__map"},null,512),Dt.showAddress?(ta(),$s("div",$E,RE(Dt.address),1)):cv("",!0)],4))}}),HE=`.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23999'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23999'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23000'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23666'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}}a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='0.3' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='0.9' fill='%23fff'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}@media (-ms-high-contrast:active){a.mapboxgl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='1' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='1' fill='%23fff'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='1' stroke='%23fff' stroke-width='3' fill='%23fff'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='1' fill='%23000'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E")}}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{background-color:#fff;border-radius:12px;box-sizing:content-box;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.mapboxgl-ctrl-attrib.mapboxgl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib-button{background-color:#ffffff80;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-top-left .mapboxgl-ctrl-attrib-button{left:0}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-button{background-color:#0000000d}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{right:0;top:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{left:0;top:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}}@media screen and (-ms-high-contrast:active){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' fill='%23fff'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}@media screen and (-ms-high-contrast:black-on-white){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}.kvass-map{position:relative;aspect-ratio:var(--kvass-map-aspect-ratio);width:100%;background-color:var(--kvass-map-background, rgba(0, 0, 0, .2));border-radius:var(--kvass-map-border-radius, 0rem);overflow:hidden}.kvass-map__address{padding:var(--kvass-map-address-padding-y, .5rem) var(--kvass-map-address-padding-x, .5rem);background-color:var(--kvass-map-address-background, rgba(0, 0, 0, .2));color:var(--kvass-map-address-color, rgba(255, 255, 255, .75));position:absolute;bottom:0;right:0;left:0;text-align:center}.kvass-map__map{height:100%;width:100%}.kvass-map .kvass-map__marker{background-size:cover}.kvass-map .mapboxgl-popup-close-button{background-color:#00000080;color:#fff}.kvass-map .mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{border-top-color:var(--kvass-map-popup-background, white)}.kvass-map .mapboxgl-popup-anchor-top .mapboxgl-popup-tip{border-bottom-color:var(--kvass-map-popup-background, white)}.kvass-map .mapboxgl-popup-content{display:flex;flex-direction:column;gap:var(--kvass-map-popup-gap, .5rem);color:var(--kvass-map-popup-text, inherit);background-color:var(--kvass-map-popup-background, white);padding:var(--kvass-map-popup-padding, 0 0 1.5rem 0);text-align:var(--kvass-map-popup-text-align, center)}.kvass-map .mapboxgl-popup-content img{min-width:var(--kvass-map-popup-image-width, 200px);object-fit:cover;aspect-ratio:var(--kvass-map-popup-image-aspect-ratio, 16/9)}.kvass-map .mapboxgl-popup-content a{flex-grow:1;display:inline-flex;gap:var(--kvass-map-popup-action-gap, .5rem);justify-content:center;border-radius:var(--kvass-map-popup-action-border-radius, 3px);padding:var(--kvass-map-popup-action-padding, 10px);background-color:var(--kvass-map-popup-action-background, black);color:var(--kvass-map-popup-action-text, white);text-decoration:none}.kvass-map .mapboxgl-canvas-container,.kvass-map .mapboxgl-canvas{height:100%;width:100%}.kvass-map .mapboxgl-ctrl-attrib,.kvass-map .mapboxgl-ctrl-logo{display:none}.mapboxgl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0 0 0/0)}.mapboxgl-canvas{left:0;position:absolute;top:0}.mapboxgl-map:-webkit-full-screen{height:100%;width:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass{cursor:grab;-webkit-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer{cursor:pointer}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass:active{cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:none}.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.mapboxgl-ctrl-top-left{left:0;top:0}.mapboxgl-ctrl-top-right{right:0;top:0}.mapboxgl-ctrl-bottom-left{bottom:0;left:0}.mapboxgl-ctrl-bottom-right{bottom:0;right:0}.mapboxgl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{float:left;margin:10px 0 0 10px}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{float:right;margin:10px 10px 0 0}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl{float:left;margin:0 0 10px 10px}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl{float:right;margin:0 10px 10px 0}.mapboxgl-ctrl-group{background:#fff;border-radius:4px}.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px #0000001a}@media (-ms-high-contrast:active){.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.mapboxgl-ctrl-group button{background-color:transparent;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;overflow:hidden;padding:0;width:29px}.mapboxgl-ctrl-group button+button{border-top:1px solid #ddd}.mapboxgl-ctrl button .mapboxgl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (-ms-high-contrast:active){.mapboxgl-ctrl-icon{background-color:transparent}.mapboxgl-ctrl-group button+button{border-top:1px solid ButtonText}}.mapboxgl-ctrl-attrib-button:focus,.mapboxgl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl button:disabled{cursor:not-allowed}.mapboxgl-ctrl button:disabled .mapboxgl-ctrl-icon{opacity:.25}.mapboxgl-ctrl-group button:first-child{border-radius:4px 4px 0 0}.mapboxgl-ctrl-group button:last-child{border-radius:0 0 4px 4px}.mapboxgl-ctrl-group button:only-child{border-radius:inherit}.mapboxgl-ctrl button:not(:disabled):hover{background-color:#0000000d}.mapboxgl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23999'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting .mapboxgl-ctrl-icon{animation:mapboxgl-spin 2s linear infinite}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23999'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23000'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23666'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}}@keyframes mapboxgl-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='0.3' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='0.9' fill='%23fff'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:23px}@media (-ms-high-contrast:active){a.mapboxgl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='1' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='1' fill='%23fff'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='1' stroke='%23fff' stroke-width='3' fill='%23fff'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='1' fill='%23000'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E")}}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{background-color:#ffffff80;margin:0;padding:0 5px}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{background-color:#fff;border-radius:12px;box-sizing:content-box;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.mapboxgl-ctrl-attrib.mapboxgl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib-button{background-color:#ffffff80;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-top-left .mapboxgl-ctrl-attrib-button{left:0}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-button{background-color:#0000000d}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{right:0;top:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{left:0;top:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}}@media screen and (-ms-high-contrast:active){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' fill='%23fff'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}@media screen and (-ms-high-contrast:black-on-white){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}.mapboxgl-ctrl-attrib a{color:#000000bf;text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-left:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:#ffffffbf;border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px;white-space:nowrap}.mapboxgl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-anchor-left{flex-direction:row}.mapboxgl-popup-anchor-right{flex-direction:row-reverse}.mapboxgl-popup-tip{border:10px solid transparent;height:0;width:0;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}.mapboxgl-popup-close-button{background-color:transparent;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.mapboxgl-popup-close-button:hover{background-color:#0000000d}.mapboxgl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px #0000001a;padding:10px 10px 15px;pointer-events:auto;position:relative}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-popup-track-pointer{display:none}.mapboxgl-popup-track-pointer *{pointer-events:none;user-select:none}.mapboxgl-map:hover .mapboxgl-popup-track-pointer{display:flex}.mapboxgl-map:active .mapboxgl-popup-track-pointer{display:none}.mapboxgl-marker{left:0;opacity:1;position:absolute;top:0;transition:opacity .2s;will-change:transform}.mapboxgl-user-location-dot,.mapboxgl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.mapboxgl-user-location-dot:before{animation:mapboxgl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.mapboxgl-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}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading{height:0;width:0}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after,.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-bottom:7.5px solid #4aa1eb;content:"";position:absolute}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-left:7.5px solid transparent;transform:translateY(-28px) skewY(-20deg)}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after{border-right:7.5px solid transparent;transform:translate(7.5px,-28px) skewY(20deg)}@keyframes mapboxgl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after{display:none}.mapboxgl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}@media print{.mapbox-improve-map{display:none}}.mapboxgl-scroll-zoom-blocker,.mapboxgl-touch-pan-blocker{align-items:center;background:#000000b3;color:#fff;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;height:100%;justify-content:center;left:0;opacity:0;pointer-events:none;position:absolute;text-align:center;top:0;transition:opacity .75s ease-in-out;transition-delay:1s;width:100%}.mapboxgl-scroll-zoom-blocker-show,.mapboxgl-touch-pan-blocker-show{opacity:1;transition:opacity .1s ease-in-out}.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page,.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page .mapboxgl-canvas{touch-action:pan-x pan-y}.k-spinner{width:var(--k-spinner-width);aspect-ratio:1/1;border-radius:999px;display:inline-block;border:var(--k-spinner-border-width) solid transparent;border-left-color:currentColor;opacity:.4;animation:spin .5s linear infinite;position:relative;z-index:1}.k-spinner.k-spinner--size-small{--k-spinner-width: 1rem;--k-spinner-border-width: 1px}.k-spinner.k-spinner--size-medium{--k-spinner-width: 2rem;--k-spinner-border-width: 2px}.k-spinner.k-spinner--size-large{--k-spinner-width: 4rem;--k-spinner-border-width: 4px}@keyframes spin{to{rotate:1turn}}.k-button{font:inherit;position:relative;border:1px solid transparent;border-radius:var(--k-button-border-radius, var(--k-ui-rounding));cursor:pointer;text-decoration:none;display:inline-block;white-space:nowrap;line-height:1}.k-button__content{display:flex;align-items:center;justify-content:space-between;transition:opacity .15s ease,translate .15s ease}.k-button__icon{display:inline-flex}.k-button .k-spinner,.k-button__state-indicator{display:inline-block;position:absolute;top:50%;left:50%;translate:-50% -50%;width:1em;aspect-ratio:1}.k-button--full-width{width:100%}.k-button--variant-primary{background-color:var(--k-button-primary-background, var(--k-ui-color-primary));color:var(--k-button-primary-text, white)}.k-button--variant-primary:is(:hover,:focus-visible):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-primary-background-hover, var(--k-ui-color-primary-dark))}.k-button--variant-primary:is(:active,[aria-pressed=true]):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-primary-background-active, var(--k-ui-color-primary-darkest))}.k-button--variant-secondary{border-color:var(--k-button-secondary-border, var(--k-ui-color-neutral));background-color:var(--k-button-secondary-background, transparent);color:var(--k-button-secondary-text, black)}.k-button--variant-secondary:is(:hover,:focus-visible):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-secondary-background-hover, var(--k-ui-color-neutral-lightest))}.k-button--variant-secondary:is(:active,[aria-pressed=true]):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-secondary-background-active, var(--k-ui-color-neutral-light))}.k-button--variant-tertiary{background-color:var(--k-button-tertiary-background, transparent);color:var(--k-button-tertiary-text, black)}.k-button--variant-tertiary:is(:hover,:focus-visible):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-tertiary-background-hover, var(--k-ui-color-neutral-lightest))}.k-button--variant-tertiary:is(:active,[aria-pressed=true]):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-tertiary-background-active, var(--k-ui-color-neutral-light))}.k-button--variant-danger{background-color:var(--k-button-danger-background, var(--k-ui-color-danger));color:var(--k-button-danger-text, white)}.k-button--variant-danger:is(:hover,:focus-visible):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-danger-background-hover, var(--k-ui-color-danger-light))}.k-button--variant-danger:is(:active,[aria-pressed=true]):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-danger-background-active, var(--k-ui-color-danger-dark))}.k-button--variant-warning{background-color:var(--k-button-warning-background, var(--k-ui-color-warning));color:var(--k-button-warning-text, black)}.k-button--variant-warning:is(:hover,:focus-visible):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-warning-background-hover, var(--k-ui-color-warning-light))}.k-button--variant-warning:is(:active,[aria-pressed=true]):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-warning-background-active, var(--k-ui-color-warning-dark))}.k-button--variant-success{background-color:var(--k-button-success-background, var(--k-ui-color-success));color:var(--k-button-success-text, white)}.k-button--variant-success:is(:hover,:focus-visible):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-success-background-hover, var(--k-ui-color-success-light))}.k-button--variant-success:is(:active,[aria-pressed=true]):not(:is([aria-busy=true],:disabled,.k-button--loading)){background-color:var(--k-button-success-background-active, var(--k-ui-color-success-dark))}.k-button--size-small{font-size:var(--k-button-small-font-size, .8em);padding-inline:var(--k-button-small-padding-inline, var(--k-ui-spacing-sm));padding-block:var(--k-button-small-padding-block, calc(var(--k-ui-spacing-sm) * .7))}.k-button--size-small .k-button__content{gap:calc(var(--k-button-small-padding-inline, var(--k-ui-spacing-sm)) / 2)}.k-button--size-medium{font-size:var(--k-button-medium-font-size, inherit);padding-inline:var(--k-button-medium-padding-inline, var(--k-ui-spacing));padding-block:var(--k-button-medium-padding-block, calc(var(--k-ui-spacing) * .7))}.k-button--size-medium .k-button__content{gap:calc(var(--k-button-medium-padding-inline, var(--k-ui-spacing)) / 2)}.k-button--size-large{font-size:var(--k-button-large-font-size, 1.2em);padding-inline:var(--k-button-large-padding-inline, var(--k-ui-spacing-lg));padding-block:var(--k-button-large-padding-block, calc(var(--k-ui-spacing-lg) * .7))}.k-button--size-large .k-button__content{gap:calc(var(--k-button-large-padding-inline, var(--k-ui-spacing-lg)) / 2)}.k-button--loading{cursor:wait}.k-button--busy .k-button__content{opacity:0;translate:0 .25rem}.k-button:is(:disabled,[disabled=disabled]){background-color:var(--k-ui-color-neutral-light);color:hsl(var(--k-ui-color-neutral-dark-h),var(--k-ui-color-neutral-dark-s),calc(var(--k-ui-color-neutral-dark-l) + 40%));cursor:not-allowed}.k-button:focus-visible{outline:2px solid var(--k-ui-outline-color);outline-offset:var(--k-ui-outline-offset)}.k-alert{padding:var(--k-alert-padding-x, var(--k-ui-spacing)) var(--k-alert-padding-y, var(--k-ui-spacing));border-radius:var(--k-alert-border-radius, var(--k-ui-rounding));border:var(--k-alert-border-width, 1px) solid;display:flex;align-items:flex-start;gap:var(--k-alert-gap, var(--k-ui-spacing))}.k-alert__content{flex-grow:1}.k-alert__icon{flex-shrink:0}.k-alert__icon .iconify{width:var(--k-alert-icon-size, 1.25rem);height:var(--k-alert-icon-size, 1.25rem)}.k-alert__title{margin-bottom:var(--k-ui-spacing-xs)}.k-alert__action{display:block;margin-top:var(--k-ui-spacing)}.k-alert--neutral{border-color:var(--k-alert-neutral-border, var(--k-ui-color-neutral));background:var(--k-alert-neutral-background, var(--k-ui-color-neutral-lightest));color:var(--k-alert-neutral-text, var(--k-ui-color-neutral-darkest))}.k-alert--neutral .k-alert__action{border-color:var(--k-alert-neutral-border, var(--k-ui-color-neutral));color:var(--k-alert-neutral-text, var(--k-ui-color-neutral-darkest))}.k-alert--neutral .k-alert__action:hover{background-color:#00000008}.k-alert--neutral .k-alert__action:active{background-color:#0000000d}.k-alert--info{border-color:var(--k-alert-info-border, var(--k-ui-color-info-light));background:var(--k-alert-info-background, hsl(var(--k-ui-color-info-lightest-h), var(--k-ui-color-info-lightest-s), calc(var(--k-ui-color-info-lightest-l) + 2%)));color:var(--k-alert-info-text, var(--k-ui-color-info-darkest))}.k-alert--info .k-alert__action{border-color:var(--k-alert-info-border, var(--k-ui-color-info-light));color:var(--k-alert-info-text, var(--k-ui-color-info-darkest))}.k-alert--info .k-alert__action:hover{background-color:#00000008}.k-alert--info .k-alert__action:active{background-color:#0000000d}.k-alert--danger{border-color:var(--k-alert-danger-border, var(--k-ui-color-danger-light));background:var(--k-alert-danger-background, var(--k-ui-color-danger-lightest));color:var(--k-alert-danger-text, var(--k-ui-color-danger-dark))}.k-alert--danger .k-alert__action{border-color:var(--k-alert-danger-border, var(--k-ui-color-danger-light));color:var(--k-alert-danger-text, var(--k-ui-color-danger-dark))}.k-alert--danger .k-alert__action:hover{background-color:#00000008}.k-alert--danger .k-alert__action:active{background-color:#0000000d}.k-alert--warning{border-color:var(--k-alert-warning-border, var(--k-ui-color-warning-light));background:var(--k-alert-warning-background, hsl(var(--k-ui-color-warning-lightest-h), var(--k-ui-color-warning-lightest-s), calc(var(--k-ui-color-warning-lightest-l) + 3%)));color:var(--k-alert-warning-text, var(--k-ui-color-warning-darkest))}.k-alert--warning .k-alert__action{border-color:var(--k-alert-warning-border, var(--k-ui-color-warning-light));color:var(--k-alert-warning-text, var(--k-ui-color-warning-darkest))}.k-alert--warning .k-alert__action:hover{background-color:#00000008}.k-alert--warning .k-alert__action:active{background-color:#0000000d}.k-avatar{aspect-ratio:1;display:grid;place-items:center;border-radius:100%;box-shadow:inset 0 0 0 var(--k-avatar-border-width, 2px) var(--k-avatar-border-color, var(--k-ui-color-neutral));line-height:1;background-size:cover;background-repeat:no-repeat}.k-avatar--size-small{width:var(--k-avatar-small-width, 1.5rem);font-size:var(--k-avatar-small-font-size, .6rem)}.k-avatar--size-medium{width:var(--k-avatar-medium-width, 2.5rem);font-size:var(--k-avatar-medium-font-size, 1rem)}.k-avatar--size-large{width:var(--k-avatar-large-width, 4rem);font-size:var(--k-avatar-large-font-size, 1.8rem)}.k-badge{border-radius:var(--k-badge-border-radius, var(--k-ui-rounding));padding-inline:.7em;padding-block:.4em;font-size:var(--k-badge-font-size, var(--k-ui-font-size-sm));line-height:1;letter-spacing:.02rem;border-style:solid;display:inline-flex;align-items:center;gap:.4rem}.k-badge__icon{flex-shrink:0}.k-badge__dot{border-radius:100%;width:.3rem;aspect-ratio:1;background-color:currentColor}.k-badge__dismiss{border:none;margin:0;padding:0;cursor:pointer;font-size:.8rem;background:none;color:inherit;display:flex;align-items:center;justify-content:center}.k-badge--rounded{border-radius:20rem}.k-badge--variant-neutral{background-color:var(--k-badge-neutral-background, var(--k-ui-color-neutral-lightest));border-color:var(--k-badge-neutral-border-color, var(--k-ui-color-neutral));color:var(--k-badge-neutral-text, var(--k-ui-color-neutral-darkest))}.k-badge--variant-info{background-color:var(--k-badge-info-background, var(--k-ui-color-info-lightest));border-color:var(--k-badge-info-border-color, var(--k-ui-color-info));color:var(--k-badge-info-text, var(--k-ui-color-info-darkest))}.k-badge--variant-success{background-color:var(--k-badge-success-background, var(--k-ui-color-success-lightest));border-color:var(--k-badge-success-border-color, var(--k-ui-color-success));color:var(--k-badge-success-text, var(--k-ui-color-success-darkest))}.k-badge--variant-warning{background-color:var(--k-badge-warning-background, var(--k-ui-color-warning-lightest));border-color:var(--k-badge-warning-border-color, var(--k-ui-color-warning));color:var(--k-badge-warning-text, var(--k-ui-color-warning-darkest))}.k-badge--variant-danger{background-color:var(--k-badge-danger-background, var(--k-ui-color-danger-lightest));border-color:var(--k-badge-danger-border-color, var(--k-ui-color-danger));color:var(--k-badge-danger-text, var(--k-ui-color-danger-darkest))}.k-badge--variant-primary{background-color:var(--k-badge-primary-background, var(--k-ui-color-primary-lightest));border-color:var(--k-badge-primary-border-color, var(--k-ui-color-primary));color:var(--k-badge-primary-text, var(--k-ui-color-primary-darkest))}.k-badge--appearance-outline{border-width:1px;background-color:transparent}.k-badge--appearance-solid{border-width:0px}.k-checkbox{display:inline-flex;gap:.75rem;align-items:center;cursor:pointer}.k-checkbox:focus-within [data-part=control]{outline:var(--k-ui-outline-width) solid var(--k-ui-outline-color);outline-offset:var(--k-ui-outline-offset)}:is(.k-checkbox__input,.k-checkbox__label){cursor:inherit}.k-checkbox__label{display:block;line-height:1}.k-checkbox__help{opacity:var(--k-ui-opacity-faded)}.k-checkbox [data-part=label]{display:grid;gap:.25rem;translate:0 -1px}.k-checkbox [data-part=control]{display:flex;align-items:center;justify-content:center;width:var(--k-checkbox-size, 1.25rem);aspect-ratio:1;border:1px solid var(--k-checkbox-border-color, var(--k-ui-color-neutral));border-radius:var(--k-checkbox-border-radius, var(--k-ui-rounding-sm))}.k-checkbox [data-part=control] svg{display:none;width:50%}.k-checkbox[data-state=checked] [data-part=control] svg{display:initial}.k-checkbox[data-state=checked]:not([data-disabled]) [data-part=control]{background-color:var(--k-checkbox-accent, var(--k-ui-color-primary-darkest));border-color:var(--k-checkbox-accent, var(--k-ui-color-primary-darkest));color:var(--k-checkbox-accent-contrast, white)}.k-checkbox[data-disabled]{cursor:not-allowed}.k-checkbox[data-disabled] [data-part=control]{background-color:var(--k-checkbox-accent-disabled, var(--k-ui-color-neutral-light));border-color:var(--k-checkbox-accent-disabled, var(--k-ui-color-neutral-light))}.k-formcontrol{display:flex;flex-direction:column;gap:var(--k-formcontrol-gap, .5rem)}.k-formcontrol__help{opacity:.5}.k-formcontrol__error{color:var(--k-formcontrol-invalid-color, var(--k-ui-color-danger))}.k-input{border-radius:var(--k-input-border-radius, var(--k-ui-rounding));border:1px solid var(--k-input-border-color, var(--k-ui-color-neutral));overflow:hidden;display:flex}.k-input:focus-within{outline:2px solid var(--k-ui-outline-color);outline-offset:var(--k-ui-outline-offset)}.k-input__input{border:none;font:inherit;padding-block:var(--k-input-padding-y, var(--k-ui-spacing-sm));padding-inline:var(--k-input-padding-x, var(--k-ui-spacing-sm));flex-grow:1}.k-input__input:focus{outline:none}.k-input__prefix,.k-input__suffix{display:inline-flex;justify-content:center;align-items:center;background-color:var(--k-input-prefix-background, var(--k-ui-color-neutral-lightest));padding-block:var(--k-input-padding-y, var(--k-ui-spacing-sm));padding-inline:var(--k-input-padding-x, var(--k-ui-spacing-sm));color:var(--k-input-prefix-text, hsl(var(--k-ui-color-neutral-dark-h), var(--k-ui-color-neutral-dark-s), calc(var(--k-ui-color-neutral-dark-l) + 50%)))}.k-input--invalid{border-color:var(--k-input-danger, var(--k-ui-color-danger))}.k-input--align-left .k-input__input{text-align:left}.k-input--align-right .k-input__input{text-align:right}.k-textarea{font:inherit;padding-block:var(--k-textarea-padding-y, var(--k-ui-spacing-xs));padding-inline:var(--k-textarea-padding-x, var(--k-ui-spacing-sm));border-radius:var(--k-textarea-border-radius, var(--k-ui-rounding));border:1px solid var(--k-textarea-border-color, var(--k-ui-color-neutral));resize:vertical}.k-textarea--invalid{border-color:var(--k-textarea-invalid-color, var(--k-ui-color-danger))}.k-textarea:focus-visible{outline:2px solid var(--k-ui-outline-color);outline-offset:var(--k-ui-outline-offset)}:host,:root{--k-ui-color-danger-darkest-h: 0deg;--k-ui-color-danger-darkest-s: 77.9005524862%;--k-ui-color-danger-darkest-l: 35.4901960784%;--k-ui-color-danger-darkest: hsl(var(--k-ui-color-danger-darkest-h), var(--k-ui-color-danger-darkest-s), var(--k-ui-color-danger-darkest-l));--k-ui-color-danger-dark-h: 0deg;--k-ui-color-danger-dark-s: 62.6373626374%;--k-ui-color-danger-dark-l: 35.6862745098%;--k-ui-color-danger-dark: hsl(var(--k-ui-color-danger-dark-h), var(--k-ui-color-danger-dark-s), var(--k-ui-color-danger-dark-l));--k-ui-color-danger-h: 0deg;--k-ui-color-danger-s: 61.2068965517%;--k-ui-color-danger-l: 45.4901960784%;--k-ui-color-danger: hsl(var(--k-ui-color-danger-h), var(--k-ui-color-danger-s), var(--k-ui-color-danger-l));--k-ui-color-danger-light-h: 0deg;--k-ui-color-danger-light-s: 54.0322580645%;--k-ui-color-danger-light-l: 51.3725490196%;--k-ui-color-danger-light: hsl(var(--k-ui-color-danger-light-h), var(--k-ui-color-danger-light-s), var(--k-ui-color-danger-light-l));--k-ui-color-danger-lightest-h: 0deg;--k-ui-color-danger-lightest-s: 100%;--k-ui-color-danger-lightest-l: 95.8823529412%;--k-ui-color-danger-lightest: hsl(var(--k-ui-color-danger-lightest-h), var(--k-ui-color-danger-lightest-s), var(--k-ui-color-danger-lightest-l));--k-ui-color-warning-darkest-h: 38.7931034483deg;--k-ui-color-warning-darkest-s: 82.8571428571%;--k-ui-color-warning-darkest-l: 27.4509803922%;--k-ui-color-warning-darkest: hsl(var(--k-ui-color-warning-darkest-h), var(--k-ui-color-warning-darkest-s), var(--k-ui-color-warning-darkest-l));--k-ui-color-warning-dark-h: 38.9010989011deg;--k-ui-color-warning-dark-s: 74.5901639344%;--k-ui-color-warning-dark-l: 52.1568627451%;--k-ui-color-warning-dark: hsl(var(--k-ui-color-warning-dark-h), var(--k-ui-color-warning-dark-s), var(--k-ui-color-warning-dark-l));--k-ui-color-warning-h: 39.1011235955deg;--k-ui-color-warning-s: 87.2549019608%;--k-ui-color-warning-l: 60%;--k-ui-color-warning: hsl(var(--k-ui-color-warning-h), var(--k-ui-color-warning-s), var(--k-ui-color-warning-l));--k-ui-color-warning-light-h: 38.8888888889deg;--k-ui-color-warning-light-s: 100%;--k-ui-color-warning-light-l: 68.2352941176%;--k-ui-color-warning-light: hsl(var(--k-ui-color-warning-light-h), var(--k-ui-color-warning-light-s), var(--k-ui-color-warning-light-l));--k-ui-color-warning-lightest-h: 45.3658536585deg;--k-ui-color-warning-lightest-s: 100%;--k-ui-color-warning-lightest-l: 91.9607843137%;--k-ui-color-warning-lightest: hsl(var(--k-ui-color-warning-lightest-h), var(--k-ui-color-warning-lightest-s), var(--k-ui-color-warning-lightest-l));--k-ui-color-success-darkest-h: 132.75deg;--k-ui-color-success-darkest-s: 85.1063829787%;--k-ui-color-success-darkest-l: 18.431372549%;--k-ui-color-success-darkest: hsl(var(--k-ui-color-success-darkest-h), var(--k-ui-color-success-darkest-s), var(--k-ui-color-success-darkest-l));--k-ui-color-success-dark-h: 117.5757575758deg;--k-ui-color-success-dark-s: 68.275862069%;--k-ui-color-success-dark-l: 28.431372549%;--k-ui-color-success-dark: hsl(var(--k-ui-color-success-dark-h), var(--k-ui-color-success-dark-s), var(--k-ui-color-success-dark-l));--k-ui-color-success-h: 117.8181818182deg;--k-ui-color-success-s: 63.2183908046%;--k-ui-color-success-l: 34.1176470588%;--k-ui-color-success: hsl(var(--k-ui-color-success-h), var(--k-ui-color-success-s), var(--k-ui-color-success-l));--k-ui-color-success-light-h: 118.08deg;--k-ui-color-success-light-s: 56.0538116592%;--k-ui-color-success-light-l: 43.7254901961%;--k-ui-color-success-light: hsl(var(--k-ui-color-success-light-h), var(--k-ui-color-success-light-s), var(--k-ui-color-success-light-l));--k-ui-color-success-lightest-h: 143.7209302326deg;--k-ui-color-success-lightest-s: 75.4385964912%;--k-ui-color-success-lightest-l: 88.8235294118%;--k-ui-color-success-lightest: hsl(var(--k-ui-color-success-lightest-h), var(--k-ui-color-success-lightest-s), var(--k-ui-color-success-lightest-l));--k-ui-color-info-darkest-h: 229.1428571429deg;--k-ui-color-info-darkest-s: 75.5395683453%;--k-ui-color-info-darkest-l: 27.2549019608%;--k-ui-color-info-darkest: hsl(var(--k-ui-color-info-darkest-h), var(--k-ui-color-info-darkest-s), var(--k-ui-color-info-darkest-l));--k-ui-color-info-dark-h: 228.8571428571deg;--k-ui-color-info-dark-s: 79.5454545455%;--k-ui-color-info-dark-l: 34.5098039216%;--k-ui-color-info-dark: hsl(var(--k-ui-color-info-dark-h), var(--k-ui-color-info-dark-s), var(--k-ui-color-info-dark-l));--k-ui-color-info-h: 228.8888888889deg;--k-ui-color-info-s: 61.0859728507%;--k-ui-color-info-l: 43.3333333333%;--k-ui-color-info: hsl(var(--k-ui-color-info-h), var(--k-ui-color-info-s), var(--k-ui-color-info-l));--k-ui-color-info-light-h: 213.9759036145deg;--k-ui-color-info-light-s: 74.7747747748%;--k-ui-color-info-light-l: 78.2352941176%;--k-ui-color-info-light: hsl(var(--k-ui-color-info-light-h), var(--k-ui-color-info-light-s), var(--k-ui-color-info-light-l));--k-ui-color-info-lightest-h: 209.0322580645deg;--k-ui-color-info-lightest-s: 100%;--k-ui-color-info-lightest-l: 93.9215686275%;--k-ui-color-info-lightest: hsl(var(--k-ui-color-info-lightest-h), var(--k-ui-color-info-lightest-s), var(--k-ui-color-info-lightest-l));--k-ui-color-neutral-darkest-h: 0deg;--k-ui-color-neutral-darkest-s: 0%;--k-ui-color-neutral-darkest-l: 0%;--k-ui-color-neutral-darkest: hsl(var(--k-ui-color-neutral-darkest-h), var(--k-ui-color-neutral-darkest-s), var(--k-ui-color-neutral-darkest-l));--k-ui-color-neutral-dark-h: 0deg;--k-ui-color-neutral-dark-s: 0%;--k-ui-color-neutral-dark-l: 20%;--k-ui-color-neutral-dark: hsl(var(--k-ui-color-neutral-dark-h), var(--k-ui-color-neutral-dark-s), var(--k-ui-color-neutral-dark-l));--k-ui-color-neutral-h: 0deg;--k-ui-color-neutral-s: 0%;--k-ui-color-neutral-l: 81.568627451%;--k-ui-color-neutral: hsl(var(--k-ui-color-neutral-h), var(--k-ui-color-neutral-s), var(--k-ui-color-neutral-l));--k-ui-color-neutral-light-h: 0deg;--k-ui-color-neutral-light-s: 0%;--k-ui-color-neutral-light-l: 91.7647058824%;--k-ui-color-neutral-light: hsl(var(--k-ui-color-neutral-light-h), var(--k-ui-color-neutral-light-s), var(--k-ui-color-neutral-light-l));--k-ui-color-neutral-lightest-h: 0deg;--k-ui-color-neutral-lightest-s: 0%;--k-ui-color-neutral-lightest-l: 94.1176470588%;--k-ui-color-neutral-lightest: hsl(var(--k-ui-color-neutral-lightest-h), var(--k-ui-color-neutral-lightest-s), var(--k-ui-color-neutral-lightest-l));--k-ui-color-primary-darkest-h: 221.7112299465deg;--k-ui-color-primary-darkest-s: 76.3265306122%;--k-ui-color-primary-darkest-l: 40.0392156863%;--k-ui-color-primary-darkest: hsl(var(--k-ui-color-primary-darkest-h), var(--k-ui-color-primary-darkest-s), var(--k-ui-color-primary-darkest-l));--k-ui-color-primary-dark-h: 221.7112299465deg;--k-ui-color-primary-dark-s: 76.3265306122%;--k-ui-color-primary-dark-l: 44.0392156863%;--k-ui-color-primary-dark: hsl(var(--k-ui-color-primary-dark-h), var(--k-ui-color-primary-dark-s), var(--k-ui-color-primary-dark-l));--k-ui-color-primary-h: 221.7112299465deg;--k-ui-color-primary-s: 76.3265306122%;--k-ui-color-primary-l: 48.0392156863%;--k-ui-color-primary: hsl(var(--k-ui-color-primary-h), var(--k-ui-color-primary-s), var(--k-ui-color-primary-l));--k-ui-color-primary-light-h: 221.7112299465deg;--k-ui-color-primary-light-s: 76.3265306122%;--k-ui-color-primary-light-l: 52.0392156863%;--k-ui-color-primary-light: hsl(var(--k-ui-color-primary-light-h), var(--k-ui-color-primary-light-s), var(--k-ui-color-primary-light-l));--k-ui-color-primary-lightest-h: 221.7112299465deg;--k-ui-color-primary-lightest-s: 76.3265306122%;--k-ui-color-primary-lightest-l: 56.0392156863%;--k-ui-color-primary-lightest: hsl(var(--k-ui-color-primary-lightest-h), var(--k-ui-color-primary-lightest-s), var(--k-ui-color-primary-lightest-l));--k-ui-spacing-xxs: .25rem;--k-ui-spacing-xs: .5rem;--k-ui-spacing-sm: .75rem;--k-ui-spacing: 1rem;--k-ui-spacing-lg: 1.5rem;--k-ui-spacing-xl: 1.75rem;--k-ui-spacing-xxl: 2rem;--k-ui-spacing-3xl: 3rem;--k-ui-spacing-4xl: 4rem;--k-ui-rounding-sm: 3px;--k-ui-rounding: 6px;--k-ui-rounding-lg: 8px;--k-ui-rounding-xl: 16px;--k-ui-rounding-full: 999px;--k-ui-font-size-xs: .6rem;--k-ui-font-size-sm: .8rem;--k-ui-font-size: 1rem;--k-ui-font-size-lg: 1.2rem;--k-ui-font-size-xl: 2.2rem;--k-ui-font-size-xxl: 3rem;--k-ui-shadow-color: hsl(0deg 0% 0% / .2);--k-ui-shadow-elevation-sm: 0 4px 8px -4px;--k-ui-shadow-elevation-md: 0 8px 16px -8px;--k-ui-shadow-elevation-lg: 0 12px 24px -3px;--k-ui-shadow-sm: var(--k-ui-shadow-elevation-sm) var(--k-ui-shadow-color);--k-ui-shadow-md: var(--k-ui-shadow-elevation-md) var(--k-ui-shadow-color);--k-ui-shadow-lg: var(--k-ui-shadow-elevation-lg) var(--k-ui-shadow-color);--k-ui-shadow: var(--k-ui-shadow-sm);--k-ui-outline-color: var(--k-ui-color-neutral);--k-ui-outline-width: 2px;--k-ui-outline-offset: 2px;--k-ui-opacity-faded: .6}.k-p-xxs{padding:var(--k-ui-spacing-xxs)}.k-pt-xxs{padding-top:var(--k-ui-spacing-xxs)}.k-pr-xxs{padding-right:var(--k-ui-spacing-xxs)}.k-pb-xxs{padding-bottom:var(--k-ui-spacing-xxs)}.k-pl-xxs{padding-left:var(--k-ui-spacing-xxs)}.k-px-xxs{padding-inline:var(--k-ui-spacing-xxs)}.k-py-xxs{padding-block:var(--k-ui-spacing-xxs)}.k-p-xs{padding:var(--k-ui-spacing-xs)}.k-pt-xs{padding-top:var(--k-ui-spacing-xs)}.k-pr-xs{padding-right:var(--k-ui-spacing-xs)}.k-pb-xs{padding-bottom:var(--k-ui-spacing-xs)}.k-pl-xs{padding-left:var(--k-ui-spacing-xs)}.k-px-xs{padding-inline:var(--k-ui-spacing-xs)}.k-py-xs{padding-block:var(--k-ui-spacing-xs)}.k-p-sm{padding:var(--k-ui-spacing-sm)}.k-pt-sm{padding-top:var(--k-ui-spacing-sm)}.k-pr-sm{padding-right:var(--k-ui-spacing-sm)}.k-pb-sm{padding-bottom:var(--k-ui-spacing-sm)}.k-pl-sm{padding-left:var(--k-ui-spacing-sm)}.k-px-sm{padding-inline:var(--k-ui-spacing-sm)}.k-py-sm{padding-block:var(--k-ui-spacing-sm)}.k-p{padding:var(--k-ui-spacing)}.k-pt{padding-top:var(--k-ui-spacing)}.k-pr{padding-right:var(--k-ui-spacing)}.k-pb{padding-bottom:var(--k-ui-spacing)}.k-pl{padding-left:var(--k-ui-spacing)}.k-px{padding-inline:var(--k-ui-spacing)}.k-py{padding-block:var(--k-ui-spacing)}.k-p-lg{padding:var(--k-ui-spacing-lg)}.k-pt-lg{padding-top:var(--k-ui-spacing-lg)}.k-pr-lg{padding-right:var(--k-ui-spacing-lg)}.k-pb-lg{padding-bottom:var(--k-ui-spacing-lg)}.k-pl-lg{padding-left:var(--k-ui-spacing-lg)}.k-px-lg{padding-inline:var(--k-ui-spacing-lg)}.k-py-lg{padding-block:var(--k-ui-spacing-lg)}.k-p-xl{padding:var(--k-ui-spacing-xl)}.k-pt-xl{padding-top:var(--k-ui-spacing-xl)}.k-pr-xl{padding-right:var(--k-ui-spacing-xl)}.k-pb-xl{padding-bottom:var(--k-ui-spacing-xl)}.k-pl-xl{padding-left:var(--k-ui-spacing-xl)}.k-px-xl{padding-inline:var(--k-ui-spacing-xl)}.k-py-xl{padding-block:var(--k-ui-spacing-xl)}.k-p-xxl{padding:var(--k-ui-spacing-xxl)}.k-pt-xxl{padding-top:var(--k-ui-spacing-xxl)}.k-pr-xxl{padding-right:var(--k-ui-spacing-xxl)}.k-pb-xxl{padding-bottom:var(--k-ui-spacing-xxl)}.k-pl-xxl{padding-left:var(--k-ui-spacing-xxl)}.k-px-xxl{padding-inline:var(--k-ui-spacing-xxl)}.k-py-xxl{padding-block:var(--k-ui-spacing-xxl)}.k-p-3xl{padding:var(--k-ui-spacing-3xl)}.k-pt-3xl{padding-top:var(--k-ui-spacing-3xl)}.k-pr-3xl{padding-right:var(--k-ui-spacing-3xl)}.k-pb-3xl{padding-bottom:var(--k-ui-spacing-3xl)}.k-pl-3xl{padding-left:var(--k-ui-spacing-3xl)}.k-px-3xl{padding-inline:var(--k-ui-spacing-3xl)}.k-py-3xl{padding-block:var(--k-ui-spacing-3xl)}.k-p-4xl{padding:var(--k-ui-spacing-4xl)}.k-pt-4xl{padding-top:var(--k-ui-spacing-4xl)}.k-pt-auto{padding-top:auto}.k-pr-4xl{padding-right:var(--k-ui-spacing-4xl)}.k-pr-auto{padding-right:auto}.k-pb-4xl{padding-bottom:var(--k-ui-spacing-4xl)}.k-pb-auto{padding-bottom:auto}.k-pl-4xl{padding-left:var(--k-ui-spacing-4xl)}.k-pl-auto{padding-left:auto}.k-px-4xl{padding-inline:var(--k-ui-spacing-4xl)}.k-px-auto{padding-inline:auto}.k-py-4xl{padding-block:var(--k-ui-spacing-4xl)}.k-py-auto{padding-block:auto}.k-m-xxs{margin:var(--k-ui-spacing-xxs)}.k-mt-xxs{margin-top:var(--k-ui-spacing-xxs)}.k-mr-xxs{margin-right:var(--k-ui-spacing-xxs)}.k-mb-xxs{margin-bottom:var(--k-ui-spacing-xxs)}.k-ml-xxs{margin-left:var(--k-ui-spacing-xxs)}.k-mx-xxs{margin-inline:var(--k-ui-spacing-xxs)}.k-my-xxs{margin-block:var(--k-ui-spacing-xxs)}.k-m-xs{margin:var(--k-ui-spacing-xs)}.k-mt-xs{margin-top:var(--k-ui-spacing-xs)}.k-mr-xs{margin-right:var(--k-ui-spacing-xs)}.k-mb-xs{margin-bottom:var(--k-ui-spacing-xs)}.k-ml-xs{margin-left:var(--k-ui-spacing-xs)}.k-mx-xs{margin-inline:var(--k-ui-spacing-xs)}.k-my-xs{margin-block:var(--k-ui-spacing-xs)}.k-m-sm{margin:var(--k-ui-spacing-sm)}.k-mt-sm{margin-top:var(--k-ui-spacing-sm)}.k-mr-sm{margin-right:var(--k-ui-spacing-sm)}.k-mb-sm{margin-bottom:var(--k-ui-spacing-sm)}.k-ml-sm{margin-left:var(--k-ui-spacing-sm)}.k-mx-sm{margin-inline:var(--k-ui-spacing-sm)}.k-my-sm{margin-block:var(--k-ui-spacing-sm)}.k-m{margin:var(--k-ui-spacing)}.k-mt{margin-top:var(--k-ui-spacing)}.k-mr{margin-right:var(--k-ui-spacing)}.k-mb{margin-bottom:var(--k-ui-spacing)}.k-ml{margin-left:var(--k-ui-spacing)}.k-mx{margin-inline:var(--k-ui-spacing)}.k-my{margin-block:var(--k-ui-spacing)}.k-m-lg{margin:var(--k-ui-spacing-lg)}.k-mt-lg{margin-top:var(--k-ui-spacing-lg)}.k-mr-lg{margin-right:var(--k-ui-spacing-lg)}.k-mb-lg{margin-bottom:var(--k-ui-spacing-lg)}.k-ml-lg{margin-left:var(--k-ui-spacing-lg)}.k-mx-lg{margin-inline:var(--k-ui-spacing-lg)}.k-my-lg{margin-block:var(--k-ui-spacing-lg)}.k-m-xl{margin:var(--k-ui-spacing-xl)}.k-mt-xl{margin-top:var(--k-ui-spacing-xl)}.k-mr-xl{margin-right:var(--k-ui-spacing-xl)}.k-mb-xl{margin-bottom:var(--k-ui-spacing-xl)}.k-ml-xl{margin-left:var(--k-ui-spacing-xl)}.k-mx-xl{margin-inline:var(--k-ui-spacing-xl)}.k-my-xl{margin-block:var(--k-ui-spacing-xl)}.k-m-xxl{margin:var(--k-ui-spacing-xxl)}.k-mt-xxl{margin-top:var(--k-ui-spacing-xxl)}.k-mr-xxl{margin-right:var(--k-ui-spacing-xxl)}.k-mb-xxl{margin-bottom:var(--k-ui-spacing-xxl)}.k-ml-xxl{margin-left:var(--k-ui-spacing-xxl)}.k-mx-xxl{margin-inline:var(--k-ui-spacing-xxl)}.k-my-xxl{margin-block:var(--k-ui-spacing-xxl)}.k-m-3xl{margin:var(--k-ui-spacing-3xl)}.k-mt-3xl{margin-top:var(--k-ui-spacing-3xl)}.k-mr-3xl{margin-right:var(--k-ui-spacing-3xl)}.k-mb-3xl{margin-bottom:var(--k-ui-spacing-3xl)}.k-ml-3xl{margin-left:var(--k-ui-spacing-3xl)}.k-mx-3xl{margin-inline:var(--k-ui-spacing-3xl)}.k-my-3xl{margin-block:var(--k-ui-spacing-3xl)}.k-m-4xl{margin:var(--k-ui-spacing-4xl)}.k-mt-4xl{margin-top:var(--k-ui-spacing-4xl)}.k-mt-auto{margin-top:auto}.k-mr-4xl{margin-right:var(--k-ui-spacing-4xl)}.k-mr-auto{margin-right:auto}.k-mb-4xl{margin-bottom:var(--k-ui-spacing-4xl)}.k-mb-auto{margin-bottom:auto}.k-ml-4xl{margin-left:var(--k-ui-spacing-4xl)}.k-ml-auto{margin-left:auto}.k-mx-4xl{margin-inline:var(--k-ui-spacing-4xl)}.k-mx-auto{margin-inline:auto}.k-my-4xl{margin-block:var(--k-ui-spacing-4xl)}.k-my-auto{margin-block:auto}.k-stepper{display:flex;gap:var(--k-stepper-gap, 2rem)}.k-stepper--breadcrumb-placement-top .k-stepper__breadcrumbs,.k-stepper--breadcrumb-placement-bottom .k-stepper__breadcrumbs{align-items:center;gap:var(--k-stepper-breadcrumb-gap, 1rem)}.k-stepper--breadcrumb-placement-top{flex-direction:column}.k-stepper--breadcrumb-placement-bottom{flex-direction:column-reverse}.k-stepper--breadcrumb-placement-right,.k-stepper--breadcrumb-placement-left{align-items:flex-start}.k-stepper--breadcrumb-placement-right .k-stepper-breadcrumbs-wrapper,.k-stepper--breadcrumb-placement-left .k-stepper-breadcrumbs-wrapper{flex-direction:column}.k-stepper--breadcrumb-placement-right .k-stepper__breadcrumbs,.k-stepper--breadcrumb-placement-left .k-stepper__breadcrumbs{flex-direction:column;align-items:flex-start;gap:1.5rem}.k-stepper--breadcrumb-placement-right .k-stepper__breadcrumb-arrow,.k-stepper--breadcrumb-placement-left .k-stepper__breadcrumb-arrow{display:none}.k-stepper--breadcrumb-placement-right{flex-direction:row-reverse}.k-stepper--breadcrumb-placement-left{flex-direction:row}.k-stepper .k-stepper-breadcrumbs-wrapper{display:flex}.k-stepper__breadcrumbs{flex-grow:1;display:flex;flex-wrap:wrap}.k-stepper__breadcrumbs .k-stepper__breadcrumb{display:flex;align-items:center;gap:.5rem;cursor:pointer;border:none;outline:none;background-color:transparent;font:inherit;line-height:1;padding:0;margin:0;border-radius:var(--k-ui-rounding-sm)}.k-stepper__breadcrumbs .k-stepper__breadcrumb:focus-visible{outline:2px solid var(--k-ui-outline-color);outline-offset:5px}.k-stepper__breadcrumbs .k-stepper__breadcrumb:disabled{cursor:not-allowed}.k-stepper__breadcrumbs .k-stepper__breadcrumb:disabled .k-stepper__breadcrumb-icon{border-color:var(--k-stepper-icon-border, var(--k-ui-color-neutral));background-color:var(--k-stepper-icon-background, var(--k-ui-color-neutral-lightest))}.k-stepper__breadcrumbs .k-stepper__breadcrumb span{line-height:inherit}.k-stepper__breadcrumbs .k-stepper__breadcrumb-icon{font-size:.75em;font-weight:700;position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:50%;border-width:1px;border-style:solid}.k-stepper__breadcrumbs .k-stepper__breadcrumb-label{translate:0 -1px}.k-stepper__breadcrumbs .k-stepper__breadcrumb-arrow{margin:0 .25rem;border:solid #d9d9d9;border-width:0 2px 2px 0;padding:3px;rotate:-45deg}.k-stepper__breadcrumbs .k-stepper__breadcrumb--default:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):not(:hover){color:var(--k-stepper-text, inherit)}.k-stepper__breadcrumbs .k-stepper__breadcrumb--default:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):not(:hover) .k-stepper__breadcrumb-icon{color:var(--k-stepper-icon-text, var(--k-ui-color-neutral-darkest));border-color:var(--k-stepper-icon-border, var(--k-ui-color-neutral));background-color:var(--k-stepper-icon-background, var(--k-ui-color-neutral-lightest))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--default:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):hover{color:var(--k-stepper-text-hover, inherit)}.k-stepper__breadcrumbs .k-stepper__breadcrumb--default:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):hover .k-stepper__breadcrumb-icon{color:var(--k-stepper-icon-text-hover, var(--k-ui-color-neutral-darkest));border-color:var(--k-stepper-icon-border-hover, hsl(var(--k-ui-color-neutral-h), var(--k-ui-color-neutral-s), calc(var(--k-ui-color-neutral-l) - 2%)));background-color:var(--k-stepper-icon-background-hover, var(--k-ui-color-neutral-light))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--active:is(.k-stepper__breadcrumbs .k-stepper__breadcrumb--default){color:var(--k-stepper-text-active, var(--k-ui-color-primary))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--active:is(.k-stepper__breadcrumbs .k-stepper__breadcrumb--default) .k-stepper__breadcrumb-icon{color:var(--k-stepper-icon-text-active, white);border-color:var(--k-stepper-icon-border-active, var(--k-ui-color-primary));background-color:var(--k-stepper-icon-background-active, var(--k-ui-color-primary))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--valid:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):not(:hover){color:var(--k-stepper-text-valid, inherit)}.k-stepper__breadcrumbs .k-stepper__breadcrumb--valid:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):not(:hover) .k-stepper__breadcrumb-icon{color:var(--k-stepper-icon-text-valid, var(--k-ui-color-neutral-darkest));border-color:var(--k-stepper-icon-border-valid, var(--k-ui-color-neutral));background-color:var(--k-stepper-icon-background-valid, var(--k-ui-color-neutral-lightest))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--valid:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):hover{color:var(--k-stepper-text-valid-hover, inherit)}.k-stepper__breadcrumbs .k-stepper__breadcrumb--valid:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):hover .k-stepper__breadcrumb-icon{color:var(--k-stepper-icon-text-valid-hover, var(--k-ui-color-neutral-darkest));border-color:var(--k-stepper-icon-border-valid-hover, hsl(var(--k-ui-color-neutral-h), var(--k-ui-color-neutral-s), calc(var(--k-ui-color-neutral-l) - 2%)));background-color:var(--k-stepper-icon-background-valid-hover, hsl(var(--k-ui-color-neutral-h), var(--k-ui-color-neutral-s), calc(var(--k-ui-color-neutral-l) - 3%)))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--active:is(.k-stepper__breadcrumbs .k-stepper__breadcrumb--valid){color:var(--k-stepper-text-valid-active, var(--k-ui-color-primary))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--active:is(.k-stepper__breadcrumbs .k-stepper__breadcrumb--valid) .k-stepper__breadcrumb-icon{color:var(--k-stepper-icon-text-valid-active, white);border-color:var(--k-stepper-icon-border-valid-active, var(--k-ui-color-primary));background-color:var(--k-stepper-icon-background-valid-active, var(--k-ui-color-primary))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--invalid:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):not(:hover){color:var(--k-stepper-text-invalid, inherit)}.k-stepper__breadcrumbs .k-stepper__breadcrumb--invalid:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):not(:hover) .k-stepper__breadcrumb-icon{color:var(--k-stepper-icon-text-invalid, var(--k-ui-color-danger-darkest));border-color:var(--k-stepper-icon-border-invalid, hsl(var(--k-ui-color-danger-lightest-h), var(--k-ui-color-danger-lightest-s), calc(var(--k-ui-color-danger-lightest-l) - 10%)));background-color:var(--k-stepper-icon-background-invalid, var(--k-ui-color-danger-lightest))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--invalid:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):hover{color:var(--k-stepper-text-invalid-hover, inherit)}.k-stepper__breadcrumbs .k-stepper__breadcrumb--invalid:not(:disabled,.k-stepper__breadcrumbs .k-stepper__breadcrumb--active):hover .k-stepper__breadcrumb-icon{color:var(--k-stepper-icon-text-invalid-hover, var(--k-ui-color-danger-darkest));border-color:var(--k-stepper-icon-border-invalid-hover, hsl(var(--k-ui-color-danger-lightest-h), var(--k-ui-color-danger-lightest-s), calc(var(--k-ui-color-danger-lightest-l) - 10%)));background-color:var(--k-stepper-icon-background-invalid-hover, hsl(var(--k-ui-color-danger-lightest-h), var(--k-ui-color-danger-lightest-s), calc(var(--k-ui-color-danger-lightest-l) - 2%)))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--active:is(.k-stepper__breadcrumbs .k-stepper__breadcrumb--invalid){color:var(--k-stepper-text-invalid-active, var(--k-ui-color-danger-darkest))}.k-stepper__breadcrumbs .k-stepper__breadcrumb--active:is(.k-stepper__breadcrumbs .k-stepper__breadcrumb--invalid) .k-stepper__breadcrumb-icon{color:var(--k-stepper-icon-text-invalid-active, white);border-color:var(--k-stepper-icon-border-invalid-active, var(--k-ui-color-danger-darkest));background-color:var(--k-stepper-icon-background-invalid-active, var(--k-ui-color-danger-darkest))}.k-stepper__component-wrapper{display:flex;flex-direction:column;gap:inherit}.k-stepper--breadcrumb-placement-bottom .k-stepper__component-wrapper{flex-direction:column-reverse}.k-stepper__navigation{display:flex;justify-content:var(--k-stepper-navigation-alignment, "flex-start");gap:1rem}.k-stepper .k-stepper-fade-enter-active,.k-stepper .k-stepper-fade-leave-active{transition:all .2s ease}.k-stepper .k-stepper-fade-enter-from,.k-stepper .k-stepper-fade-leave-to{opacity:0}.k-stepper .k-stepper-slide-h-prev-enter-active,.k-stepper .k-stepper-slide-h-prev-leave-active,.k-stepper .k-stepper-slide-h-next-enter-active,.k-stepper .k-stepper-slide-h-next-leave-active,.k-stepper .k-stepper-slide-v-prev-enter-active,.k-stepper .k-stepper-slide-v-prev-leave-active,.k-stepper .k-stepper-slide-v-next-enter-active,.k-stepper .k-stepper-slide-v-next-leave-active{transition:all .2s ease}.k-stepper .k-stepper-slide-h-prev-enter-from,.k-stepper .k-stepper-slide-h-prev-leave-to,.k-stepper .k-stepper-slide-h-next-enter-from,.k-stepper .k-stepper-slide-h-next-leave-to,.k-stepper .k-stepper-slide-v-prev-enter-from,.k-stepper .k-stepper-slide-v-prev-leave-to,.k-stepper .k-stepper-slide-v-next-enter-from,.k-stepper .k-stepper-slide-v-next-leave-to{opacity:0}.k-stepper .k-stepper-slide-h-prev-enter-from,.k-stepper .k-stepper-slide-h-next-leave-to{translate:calc(var(--k-stepper-transition-preset-slide-delta, 25px) * -1) 0}.k-stepper .k-stepper-slide-h-next-enter-from,.k-stepper .k-stepper-slide-h-prev-leave-to{translate:var(--k-stepper-transition-preset-slide-delta, 25px) 0}.k-stepper .k-stepper-slide-v-prev-enter-from,.k-stepper .k-stepper-slide-v-next-leave-to{translate:0 calc(var(--k-stepper-transition-preset-slide-delta, 25px) * -1)}.k-stepper .k-stepper-slide-v-next-enter-from,.k-stepper .k-stepper-slide-v-prev-leave-to{translate:0 var(--k-stepper-transition-preset-slide-delta, 25px)}.k-image{position:relative;display:flex;justify-content:center;align-items:center;margin:0;background-image:var(--k-image-preview);background-size:var(--k-image-size);background-repeat:no-repeat;overflow:hidden;width:var(--k-image-width);height:var(--k-image-height);aspect-ratio:var(--k-image-aspectratio)}.k-image img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:var(--k-image-size);object-position:var(--k-image-position);padding:inherit;transition:all .15s ease-in;opacity:0}.k-image--loaded img{opacity:1}.k-image__caption{display:block;position:absolute;width:100%;height:100%;padding:var(--k-image-caption-padding, var(--k-ui-spacing-lg));pointer-events:none}.k-image__caption--theme-light{background:linear-gradient(170deg,#fffc 15%,#fff0 55% 100%)}.k-image__caption--theme-dark{color:#fff;background:linear-gradient(170deg,#000c 15%,#fff0 55% 100%)}.k-image__caption--visibility-hover{opacity:0;transition:opacity .1s ease-in}.k-image:hover .k-image__caption.k-image__caption--visibility-hover{opacity:1}.k-card{display:flex;flex-direction:column;border-radius:var(--k-card-border-radius, var(--k-ui-rounding-lg));background-color:#fff;text-decoration:none;color:inherit}.k-card--variant-shadow{box-shadow:var(--k-card-shadow, var(--k-ui-shadow-lg))}.k-card--variant-border{border:1px solid var(--k-card-border-color, var(--k-ui-color-neutral-light))}.k-card__header{background-color:var(--k-card-header-background, var(--k-ui-color-neutral-lightest));border-top-left-radius:inherit;border-top-right-radius:inherit;min-height:var(--k-header-min-height)}.k-card__header:not(.k-card__header--has-thumbnail),.k-card__header--thumbnail-size-contain{padding:var(--k-card-spacing, var(--k-ui-spacing-lg))}.k-card__header--has-thumbnail{min-height:var(--k-header-min-height, 200px)}.k-card__thumbnail{width:100%;height:100%;border-top-left-radius:inherit;border-top-right-radius:inherit}.k-card__title{font-weight:700;line-height:1;margin-bottom:1rem}.k-card__content,.k-card__footer{padding:var(--k-card-spacing, var(--k-ui-spacing-lg))}.k-card__header+.k-card__footer{padding-top:var(--k-card-spacing, var(--k-ui-spacing-lg))}.k-card__content{flex-grow:1}.k-card__footer{padding-top:0;border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;display:flex;flex-wrap:wrap;gap:1rem}.k-skeleton{display:flex;justify-content:center;align-items:center;aspect-ratio:var(--aspect-ratio);height:var(--height);width:var(--width);border-radius:var(--border-radius)}.k-skeleton--variant-flat{background:var(--k-skeleton-background, var(--k-ui-color-neutral-lightest))}.k-skeleton--variant-shiny{background:var(--k-skeleton-background, var(--k-ui-color-neutral-lightest));background:linear-gradient(110deg,var(--k-skeleton-background, var(--k-ui-color-neutral-lightest)) 8%,var(--k-skeleton-background-shine, hsl(var(--k-ui-color-neutral-lightest-h), var(--k-ui-color-neutral-lightest-s), calc(var(--k-ui-color-neutral-lightest-l) + 2%))) 18%,var(--k-skeleton-background, var(--k-ui-color-neutral-lightest)) 33%);background-size:200% 100%;animation:1.5s shine linear infinite}@keyframes shine{to{background-position-x:-200%}}.k-selectable{background-color:transparent;border:none;padding:0;margin:0;font:inherit;text-align:initial;line-height:initial;position:relative;transition:outline .1s ease;cursor:pointer;outline:var(--k-selectable-outline-width, 4px) solid transparent;outline-offset:var(--k-selectable-outline-offset, var(--k-ui-outline-offset))}.k-selectable:not(.k-selectable--selected):hover{outline:var(--k-selectable-outline-width, 4px) solid var(--k-selectable-hover, var(--k-ui-color-neutral-light))}.k-selectable:not(.k-selectable--selected):focus-within{outline:var(--k-selectable-outline-width, 4px) solid var(--k-ui-outline-color)}.k-selectable--selected:focus-within{outline-color:var(--k-selectable-accent-focus, var(--k-ui-color-primary-lightest))}.k-selectable__checked{position:absolute;top:7px;right:7px;border-radius:var(--k-ui-rounding-full);border:1px solid transparent;z-index:1;color:#fff;width:20px;height:20px;display:flex;justify-content:center;align-items:center;pointer-events:none}.k-selectable__checked svg{display:none}.k-selectable--multiple .k-selectable__checked{border-radius:var(--k-ui-rounding)}.k-selectable--selected{outline:var(--k-selectable-outline-width, 4px) solid var(--k-selectable-accent, var(--k-ui-color-primary-darkest))}.k-selectable--selected .k-selectable__checked{border-color:var(--k-selectable-accent, var(--k-ui-color-primary-darkest));background-color:var(--k-selectable-accent, var(--k-ui-color-primary-darkest));visibility:visible}.k-selectable--selected .k-selectable__checked svg{display:block}.k-rangeslider [data-part=thumb]{background:var(--k-rangeslider-thumb-background, white);border:var(--k-rangeslider-thumb-border-width, 1px) solid var(--k-rangeslider-thumb-border-color, hsl(var(--k-ui-color-neutral-h), var(--k-ui-color-neutral-s), calc(var(--k-ui-color-neutral-l) - 10%)));border-radius:9999px;width:var(--k-rangeslider-thumb-size, 24px);height:var(--k-rangeslider-thumb-size, 24px);box-shadow:var(--k-ui-shadow)}.k-rangeslider [data-part=thumb]:focus-visible{outline:none;border-color:var(--k-ui-outline-color)}.k-rangeslider [data-part=track]{background:var(--k-rangeslider-track-background, var(--k-ui-color-neutral-light));height:var(--k-rangeslider-track-height, 8px);border-radius:9999px;flex:1}.k-rangeslider [data-part=control]{position:relative;align-items:center;display:flex}.k-rangeslider [data-part=range]{background:var(--k-rangeslider-range-background, var(--k-ui-color-primary));height:100%;border-radius:inherit}.k-rangeslider [data-part=marker]{color:gray}.k-rangeslider [data-part=marker][data-state=under-value]{color:#00f}.k-slider [data-part=thumb]{background:var(--k-slider-thumb-background, white);border:var(--k-slider-thumb-border-width, 1px) solid var(--k-slider-thumb-border-color, hsl(var(--k-ui-color-neutral-h), var(--k-ui-color-neutral-s), calc(var(--k-ui-color-neutral-l) - 10%)));border-radius:9999px;width:var(--k-slider-thumb-size, 24px);height:var(--k-slider-thumb-size, 24px);box-shadow:var(--k-ui-shadow)}.k-slider [data-part=thumb]:focus-visible{outline:none;border-color:var(--k-ui-outline-color)}.k-slider [data-part=thumb]:active+[data-part=output]{translate:-50% 0;opacity:1}.k-slider [data-part=output]{pointer-events:none;position:absolute;bottom:calc(100% + 1.25rem);left:var(--slider-thumb-offset);border:1px solid var(--k-ui-outline-color);display:grid;place-items:center;border-radius:var(--k-ui-rounding-lg);box-shadow:var(--k-ui-shadow);background-color:#fff;padding:.25em .75em;white-space:nowrap;translate:-50% 25%;opacity:0;transition-property:translate,opacity;transition-duration:.1s;transition-timing-function:ease;z-index:1}.k-slider [data-part=output]:before{content:"";display:block;width:10px;height:10px;position:absolute;border:inherit;background-color:inherit;rotate:135deg;bottom:-5px;clip-path:polygon(0% 0%,100% 0%,100% 100%,0% 0%)}.k-slider [data-part=track]{background:var(--k-slider-track-background, var(--k-ui-color-neutral-light));height:var(--k-slider-track-height, 8px);border-radius:9999px;flex:1}.k-slider [data-part=control]{position:relative;align-items:center;display:flex}.k-slider [data-part=range]{background:var(--k-slider-range-background, var(--k-ui-color-primary));height:100%;border-radius:inherit}.k-slider [data-part=marker]{color:gray}.k-slider [data-part=marker][data-state=under-value]{color:#00f}.k-dropdown{z-index:var(--k-dropdown-z-index, 10);min-width:200px;border-radius:var(--k-dropdown-border-radius, var(--k-ui-rounding-lg));padding:var(--k-dropdown-spacing, var(--k-ui-spacing-xxs));background-color:#fff;display:flex;flex-direction:column}.k-dropdown--theme-shadow{box-shadow:var(--k-dropdown-shadow, var(--k-ui-shadow-lg))}.k-dropdown--theme-border{border:1px solid var(--k-dropdown-border, var(--k-ui-color-neutral))}.k-dropdown-enter-active{transition:opacity .2s}.k-dropdown-enter-from{opacity:0}.k-dropdown .k-button:focus-visible{outline-offset:0}.k-datatable{width:100%;display:grid;position:relative;grid-template-columns:var(--k-datatable-layout)}.k-datatable--sticky .k-datatable__row:first-child .k-datatable__cell{z-index:2;position:sticky;top:var(--k-datatable-sticky-top);border-bottom:1px solid var(--k-datatable-border-color, var(--k-ui-color-neutral-light))}.k-datatable:not(.k-datatable--no-header) .k-datatable__row:first-child{background-color:#fff;font-size:.8em;text-align:left}.k-datatable__cell{display:flex;align-items:center;padding:.75rem}.k-datatable__cell--text-align-start{justify-content:flex-start}.k-datatable__cell--text-align-center{justify-content:center}.k-datatable__cell--text-align-end{justify-content:flex-end}.k-datatable__cell-sort{cursor:pointer;vertical-align:middle}.k-datatable__cell-sort-icon{opacity:0;margin-left:.25rem}.k-datatable__cell-sort:not(.k-datatable__cell-sort--active):hover .k-datatable__cell-sort-icon{opacity:.3}.k-datatable__cell-sort--active .k-datatable__cell-sort-icon{opacity:1}.k-datatable__cell-actions{padding:0;position:relative}.k-datatable__row{display:contents}.k-datatable__row:hover .k-datatable__cell-actions .button-group,.k-datatable__row:focus-within .k-datatable__cell-actions .button-group{display:flex}.k-datatable__row-wrapper{display:contents}.k-datatable--default .k-datatable__row:nth-child(odd) .k-datatable__cell{background-color:var(--k-datatable-odd-color, hsl(var(--k-ui-color-neutral-lightest-h), var(--k-ui-color-neutral-lightest-s), calc(var(--k-ui-color-neutral-lightest-l) + 1%)))}.k-datatable--border .k-datatable__row:not(:last-child) .k-datatable__cell{border-bottom:1px solid var(--k-datatable-border-color, var(--k-ui-color-neutral-light))}.k-datatable--border .k-datatable__row:first-child .k-datatable__cell{background-color:inherit}.k-datatable__footer{position:sticky;bottom:0;width:100%;padding:.75rem;display:flex;align-items:center;gap:1rem;grid-column:1/-1;font-size:var(--k-ui-font-size-sm);background-color:#fff;animation:fadeInUp .2s ease-out;border-top:1px solid var(--k-datatable-border-color, var(--k-ui-color-neutral-light))}.k-datatable--default .k-datatable__footer{background-color:#f5f5f5}.k-datatable-footer-enter-active,.k-datatable-footer-leave-active{transition:.2s ease-out}.k-datatable-footer-enter-from,.k-datatable-footer-leave-to{transform:translateY(100%);opacity:0}.k-navigation{border-bottom:1px solid var(--k-navigation-border-color, var(--k-ui-color-neutral-light));padding:var(--k-navigation-padding, var(--k-ui-spacing))}.k-navigation--responsive{max-height:100vh;overflow-y:auto}.k-navigation--responsive nav{flex-wrap:wrap}.k-navigation nav{display:flex;align-items:center;justify-content:space-between;max-width:var(--k-navigation-max-width, 1200px);margin-inline:auto;width:100%}.k-navigation__logo{display:flex}.k-navigation__logo .k-button{padding-block:0;padding-inline:0}.k-navigation__logo .k-button:hover{background-color:transparent}.k-navigation__logo .k-image{height:var(--k-navigation-logo-height, 30px)}.k-navigation__bars{display:none}.k-navigation--responsive .k-navigation__bars{display:block}.k-navigation__items{display:flex;align-items:center;gap:var(--k-navigation-gap, 1rem);transition:opacity .1s ease-out}.k-navigation--initializing .k-navigation__items{position:absolute;opacity:0}.k-navigation--responsive .k-navigation__items{flex-direction:column;align-items:initial;width:100vw;margin-top:20px;animation:slideDown .15s ease-out}@keyframes slideDown{0%{transform:translateY(-20px);opacity:0}}.k-navigation--responsive:not(.k-navigation--expanded) .k-navigation__items{display:none}.k-navigation [active=true]{background-color:var(--k-navigation-active-background, var(--k-ui-color-neutral-lightest))}.k-radiogroup--variant-radio{display:flex;align-items:flex-start;gap:var(--k-radiogroup-gap, var(--k-ui-spacing-xs));border-radius:var(--k-ui-rounding-sm)}.k-radiogroup--variant-radio:focus-within{outline:var(--k-ui-outline-width) solid var(--k-ui-outline-color);outline-offset:8px}.k-radiogroup--variant-radio.k-radiogroup--direction-horizontal{flex-direction:row;flex-wrap:wrap}.k-radiogroup--variant-radio.k-radiogroup--direction-vertical{flex-direction:column}.k-radiogroup--variant-radio [data-part=label]{display:block;width:100%}.k-formcontrol .k-radiogroup--variant-radio [data-part=label]{visibility:hidden;width:0;height:0;position:absolute}.k-radiogroup--variant-radio label{display:flex;align-items:center;flex-direction:row-reverse;gap:.5rem;cursor:pointer}.k-radiogroup--variant-radio label[data-disabled]{cursor:not-allowed}.k-radiogroup--variant-radio [data-part=radio-control]{display:flex;justify-content:center;align-items:center;width:var(--k-radiogroup-size, 1.25rem);height:var(--k-radiogroup-size, 1.25rem);border-radius:999px;border:1px solid var(--k-radiogroup-border-color, var(--k-ui-color-neutral))}.k-radiogroup--variant-radio [data-part=radio-control] svg{display:none;width:50%}.k-radiogroup--variant-radio [data-part=radio-control][data-state=checked]{border-width:calc(var(--k-radiogroup-size, 1.25rem) / 3)}.k-radiogroup--variant-radio [data-part=radio-control][data-state=checked] svg{display:initial}.k-radiogroup--variant-radio [data-part=radio-control][data-state=checked]:not([data-disabled]){background-color:#fff;border-color:var(--k-radiogroup-accent, var(--k-ui-color-primary-darkest))}.k-radiogroup--variant-radio [data-part=radio-control][data-disabled]{background-color:var(--k-radiogroup-background-disabled, var(--k-ui-color-neutral-light));border-color:var(--k-radiogroup-accent-disabled, var(--k-ui-color-neutral))}.k-radiogroup--variant-radio [data-part=radio-control][data-disabled]:not([data-state=checked]){border-width:0}.k-radiogroup--variant-segment{display:flex;background-color:var(--k-radiogroup-segment-background, var(--k-ui-color-neutral-lightest));border-radius:var(--k-radiogroup-segment-border-radius, var(--k-ui-rounding));padding:var(--k-radiogroup-segment-padding, var(--k-ui-spacing-xs))}.k-radiogroup--variant-segment [data-disabled]{cursor:not-allowed;color:#0000004d}.k-radiogroup--variant-segment:focus-within{outline:var(--k-ui-outline-width) solid var(--k-ui-outline-color);outline-offset:var(--k-ui-outline-offset)}.k-radiogroup--variant-segment [data-part=indicator]{background-color:var(--k-radiogroup-segment-indicator-background, white);box-shadow:var(--k-ui-shadow);border-radius:inherit}.k-radiogroup--variant-segment [data-part=radio]{-webkit-user-select:none;user-select:none;cursor:pointer;padding-block:var(--k-radiogroup-segment-padding, var(--k-ui-spacing-xs));padding-inline:calc(var(--k-radiogroup-segment-padding, var(--k-ui-spacing-xs)) * 2);white-space:nowrap;z-index:1}.k-grid{display:grid;grid-template-columns:var(--k-grid-columns);grid-template-rows:var(--k-grid-rows);gap:var(--k-grid-gap);align-items:var(--k-grid-align);grid-template-areas:var(--k-grid-areas)}.k-grid>.k-grid-span-full{grid-column:1/-1}.k-grid>*{grid-area:var(--k-grid-item-area);align-self:var(--k-grid-item-align-self)}.k-flex{display:flex;flex-direction:var(--k-flex-direction);justify-content:var(--k-flex-justify);align-items:var(--k-flex-align);flex-wrap:var(--k-flex-wrap);gap:var(--k-flex-gap)}.k-flex-grow{flex-grow:1}.k-scroller{overflow:auto}.k-scroller--appearance-shadow{background:linear-gradient(var(--k-scroller-background, transparent) 30%,rgba(255,255,255,0)),linear-gradient(rgba(255,255,255,0),var(--k-scroller-background, transparent) 70%) 0 100%,radial-gradient(farthest-side at 50% 0,#0000001a,#0000),radial-gradient(farthest-side at 50% 100%,#0000001a,#0000) 0 100%;background-repeat:no-repeat;background-color:var(--k-scroller-background, transparent);background-size:100% 40px,100% 40px,100% 14px,100% 14px;background-attachment:local,local,scroll,scroll}.k-scroller--appearance-indicator .k-scroller__indicator{position:sticky;opacity:0;color:#414141;border:1px solid #e1e1e1;background-color:#fffffff5;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:35px;z-index:1;pointer-events:none;border-radius:20px 0 0 20px;transform-origin:center;transition:opacity .1s ease}.k-scroller--appearance-indicator .k-scroller__indicator svg{width:.375em;font-size:40px;animation:fadeInOut 2s ease-in-out infinite}@keyframes fadeInOut{0%,to{transform:translate(-20%);opacity:.4}50%{transform:translate(20%);opacity:1}}.k-scroller--appearance-indicator.k-scroller--scrolled-to-left .k-scroller__indicator{opacity:1;left:100%;top:50%;transform:translate(-100%,-50%) rotate(0)}.k-scroller--appearance-indicator.k-scroller--scrolled-to-right .k-scroller__indicator{opacity:1;left:0;top:50%;transform:translateY(-50%) rotate(180deg)}.k-scroller--appearance-indicator.k-scroller--scrolled-to-top .k-scroller__indicator{opacity:1;left:50%;top:100%;transform:translate(-50%,-100%) rotate(90deg)}.k-scroller--appearance-indicator.k-scroller--scrolled-to-bottom .k-scroller__indicator{opacity:1;left:50%;top:0;transform:translate(-50%) rotate(-90deg)}.k-scroller.k-flex-grow{height:0}.k-dialog__container{overflow-y:auto;position:fixed;inset:0;display:flex;justify-content:center}.k-dialog__container.k-dialog--align-top{align-items:flex-start}.k-dialog__container.k-dialog--align-center{align-items:center}.k-dialog__card{position:relative;margin:var(--k-dialog-card-margin-desktop, var(--k-ui-spacing-xl));max-width:var(--k-dialog-max-width, 80ch);min-width:var(--k-dialog-min-width, 400px);animation:dialogCardAppear .4s var(--k-dialog-easing, cubic-bezier(.075, .82, .165, 1))}.k-dialog__card-header{margin-block-end:var(--k-dialog-header-margin, var(--k-ui-spacing-lg))}@media (width < 800px){.k-dialog__card{margin:var(--k-dialog-card-margin-mobile, var(--k-ui-spacing-sm))}}.k-dialog__title{font-size:1rem;margin-block:0 .25rem}.k-dialog__description{color:var(--k-dialog-description-color, var(--k-ui-color-neutral-dark))}.k-dialog__backdrop{background-color:var(--k-dialog-backdrop-background, rgba(0, 0, 0, .3));position:fixed;inset:0;animation:dialogBackdropAppear .15s ease-out}.k-dialog__close-trigger{position:absolute;inset-block-start:var(--k-dialog-close-trigger-offset, var(--k-ui-spacing-sm));inset-inline-end:var(--k-dialog-close-trigger-offset, var(--k-ui-spacing-sm))}@keyframes dialogCardAppear{0%{opacity:0;translate:0 var(--k-dialog-animation-translation-distance, calc(var(--k-ui-spacing-lg) * -1));scale:.95}}@keyframes dialogBackdropAppear{0%{opacity:0}}.k-alertdialog__actions{width:100%}.k-media-thumbnail-actions{display:flex;flex-direction:column;gap:var(--k-media-thumbnail-actions-gap, var(--k-ui-spacings-xxs));font-size:.8em;position:absolute;top:-5px;right:-5px;transition:opacity .15s ease-out,transform .15s ease-out}.k-media-thumbnail-actions>*{aspect-ratio:1/1;height:var(--k-media-thumbnail-actions-height, 22px);color:#fff;display:flex;justify-content:center;align-items:center;font-size:var(--k-media-thumbnail-actions-font-size, var(--k-ui-font-size-xs));border-radius:var(--k-media-thumbnail-actions-border-radius, 50%);cursor:pointer}@media (hover: hover){.k-media-thumbnail-actions{opacity:0;transform:translateY(50%)}}.k-media-thumbnail-actions__delete{background-color:var(--k-media-thumbnail-actions-danger, var(--k-ui-color-danger))}.k-media-thumbnail-actions__download{background-color:var(--k-media-thumbnail-actions-primary, var(--k-ui-color-primary))}.k-media-thumbnail{position:relative}.k-media-thumbnail__item{background-color:var(--k-media-thumbnail-background-color, var(--k-ui-color-neutral-lightest));cursor:pointer;border:var(--k-media-thumbnail-border-width, 1px) solid var(--k-media-thumbnail-border-color, var(--k-ui-color-neutral-light));border-radius:var(--k-media-thumbnail-border-radius, var(--k-ui-rounding-sm))}.k-media-thumbnail__item--selected{border-color:var(--k-media-thumbnail-selected-border-color, var(--k-ui-color-primary-light));box-shadow:var(--k-media-thumbnail-box-shadow, var(--k-ui-shadow))}@media (hover: hover){.k-media-thumbnail:hover .k-media-thumbnail-actions{opacity:1;transform:translateY(0)}}[data-id=k-media-type-selector-dialog]{width:700px}.k-media-type-selector{display:flex;font-size:.9em;flex-direction:column;align-items:center}.k-media-type-selector .k-button:hover{background-color:hsl(var(--k-ui-color-neutral-lightest-h),var(--k-ui-color-neutral-lightest-s),calc(var(--k-ui-color-neutral-lightest-l) - 2%))}.k-media-type-selector__info{margin-bottom:.5rem}.k-media-description{position:absolute;bottom:.5rem;left:.5rem;width:calc(100% - 1rem);padding:.5rem .75rem;text-align:left;font:inherit;border-radius:var(--k-ui-rounding-sm);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background-color:#ffffffb3;transition:.15s ease-out;text-overflow:ellipsis;z-index:1}@media (hover: hover){.k-media-description{transform:translateY(1rem);opacity:0}}.k-media-droparea:hover .k-media-description,.k-media-description:focus-visible{opacity:1;transform:translateY(0)}.k-media-description:focus-visible{outline:1px solid var(--k-ui-color-primary)}.k-media-uploader{position:absolute;top:0;font-size:.7em;font-weight:700;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:200px;padding:1rem;border:1px solid var(--k-media-uploader-border-color, var(--k-ui-color-neutral-light));border-radius:var(--k-media-uploader-border-radius, var(--k-ui-rounding-sm));background-color:#fff}.k-media-uploader__bar{flex-grow:1;height:5px;margin:0 1rem;border-radius:var(--k-media-uploader-border-radius, var(--k-ui-rounding-sm));background-color:var(--k-media-uploader-border-color, var(--k-ui-color-neutral-light))}.k-media-uploader__bar-value{height:inherit;transition:width .1s ease;border-radius:inherit;background-color:var(--k-media-uploader-primary, var(--k-ui-color-primary))}.k-media-uploader__meta{display:flex;align-items:center}.k-media-uploader__meta>*+*{margin-left:5px}.k-media-droparea{position:relative;display:flex;align-items:center;justify-content:center;text-align:center;border:var(--k-media-droparea-border-width, 2px) dashed var(--k-media-droparea-border-color, var(--k-ui-color-neutral-light));border-radius:var(--k-media-droparea-border-radius, var(--k-ui-rounding-sm));background-color:var(--k-media-droparea-background-color, var(--k-ui-color-neutral-lightest));background-repeat:no-repeat;background-position:center;flex-grow:1;min-height:150px;height:100%;flex-direction:column}.k-media-droparea[disabled=disabled]{cursor:not-allowed}.k-media-droparea:before{position:absolute;top:0;left:0;width:100%;height:100%;content:"";opacity:0;background-color:var(--k-media-droparea-primary, var(--k-ui-color-primary))}@media (hover: hover){.k-media-droparea:hover .k-media-thumbnail-actions{opacity:1;transform:translateY(0)}}.k-media-droparea--active{border-color:var(--k-media-droparea-primary, var(--k-ui-color-primary))}.k-media-droparea--active:before{opacity:.15}.k-media-droparea--active iframe{display:none}.k-media-droparea--invalid{cursor:not-allowed;color:var(--k-media-droparea-danger, var(--k-ui-color-danger));border-color:var(--k-media-droparea-danger, var(--k-ui-color-danger));background-image:none!important}.k-media-droparea--invalid:before{opacity:.2;background-color:var(--k-media-droparea-danger, var(--k-ui-color-danger))}.k-media-droparea--invalid .k-media-droparea__instruction{background:transparent!important}.k-media-droparea--invalid iframe{display:none}.k-media-droparea__instruction{position:absolute;max-width:75ch;font-size:.9em;transition:opacity .25s ease;text-align:center;z-index:1}@media (hover: hover){.k-media-droparea--selected .k-media-droparea__instruction{padding:1rem;opacity:0;border-radius:var(--k-media-droparea-border-radius, var(--k-ui-rounding-sm));background-color:#ffffffb3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}}.k-media-droparea:hover .k-media-droparea__instruction,.k-media-droparea--active .k-media-droparea__instruction{opacity:1}.k-media-droparea__input{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;opacity:0}.k-media-droparea__input[type=text]{z-index:-1;pointer-events:none}.k-media-droparea__input:disabled{cursor:not-allowed}.k-media-droparea b{color:var(--k-media-droparea-primary, var(--k-ui-color-primary))}.k-media-droparea .k-media-uploader{margin-top:1rem}.k-media--inside .k-media-droparea .k-media-uploader{position:absolute;top:0;right:0;margin-top:2rem;margin-right:2rem}.k-media-image-create-trigger{border:none;font-size:var(--k-ui-font-size-sm)}.k-media-image-create-trigger svg{color:var(--k-ui-color-primary)}.k-media-image__thumbnail{position:relative;background-position:center;background-size:cover}.k-media-image-preview{text-align:center;background-repeat:no-repeat;background-position:center;border-radius:inherit;background-origin:content-box;flex-grow:1;height:100%;width:100%}.k-media{position:relative;display:flex;flex-direction:column;text-align:left}.k-media__label{font-weight:700;display:flex;align-items:flex-end;gap:var(--k-media-gap, var(--k-ui-spacings-xs))}.k-media__label-required{color:var(--k-media-danger, var(--k-ui-color-danger))}.k-media__label-wrapper{margin-bottom:.5em}.k-media__sublabel{font-size:.9em;display:block;opacity:.5}.k-media__thumbnails{display:flex;flex-wrap:wrap;margin-top:.5rem;gap:var(--k-media-gap, var(--k-ui-spacings-xs))}.k-media--placement-inside .k-media__thumbnails{position:absolute;right:2rem;bottom:2rem}.k-switch{display:flex;align-items:center;cursor:pointer;gap:.25rem}.k-switch[data-disabled]{cursor:not-allowed;opacity:var(--k-ui-opacity-faded)}.k-switch:focus-within [data-part=control]{outline:var(--k-ui-outline-width) solid var(--k-ui-outline-color);outline-offset:var(--k-ui-outline-offset)}.k-switch [data-part=control]{display:inline-flex;flex-shrink:0;justify-content:flex-start;box-sizing:content-box;cursor:inherit;border-radius:var(--k-switch-border-radius, var(--k-ui-rounding-full));padding:var(--k-switch-offset, .125rem);width:var(--k-switch-width, 2rem);height:var(--k-switch-height, 1rem);background:var(--k-switch-background, var(--k-ui-color-neutral));transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-duration:.15s}.k-switch [data-part=control][data-state=checked]{background:var(--k-switch-background-checked, var(--k-ui-color-primary))}.k-switch [data-part=control] [data-part=thumb]{background:#fff;border-radius:inherit;width:var(--k-switch-height, 1rem);height:var(--k-switch-height, 1rem);transition-property:transform;transition-duration:.2s}.k-switch [data-part=control] [data-part=thumb][data-state=checked]{transform:translate(calc(var(--k-switch-width, 2rem) - var(--k-switch-height, 1rem)))}.kvass-location-selector{max-width:var(--kvass-location-selector-width, 900px);display:flex;flex-direction:column;gap:var(--kvass-location-selector-gap, 1rem);position:relative;aspect-ratio:var(--kvass-location-selector-aspect-ratio);width:100%;background-color:var(--kvass-location-selector-background, white);border-radius:var(--kvass-location-selector-border-radius, 0rem)}.kvass-location-selector__map{height:100%;width:100%}.kvass-location-selector input{color:var(--kvass-location-selector-input-text, black);background-color:var(--kvass-location-selector-input-background, white)}.kvass-location-selector .k-formcontrol__label{font-weight:var(--kvass-location-selector-label-font-weight, 400)}.kvass-location-selector .mapboxgl-canvas-container,.kvass-location-selector .mapboxgl-canvas{height:100%;width:100%}.kvass-location-selector .mapboxgl-ctrl-attrib,.kvass-location-selector .mapboxgl-ctrl-logo,.kvass-location-selector .mapboxgl-ctrl-top-right{display:none}.kvass-location-selector .mapboxgl-ctrl-top-left{z-index:0}.widgets-kvass-map--search{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem;--kvass-location-selector-background: transparent}.widgets-kvass-map--search .k-card__thumbnail{--k-image-aspectratio: 3 / 1 !important}.widgets-kvass-map--search .kvass-location-selector__map{display:none}@media screen and (max-width: 680px){.kvass-map{aspect-ratio:1/1.4}}`,WE={key:0,class:"widgets-kvass-map--search"},XE=["innerHTML"],YE=["innerHTML"],JE={__name:"Map.ce",props:{theme:{type:String},mapboxApiToken:{type:String},mapOptions:{type:String,default:"{}"},markerIcon:{type:String,default:"{}"},search:{type:Boolean},coordinates:{type:String},markers:{type:String},center:{type:String},description:{type:String},language:{type:String},zoom:{type:String,default:"8",validator(Ar){return typeof parseInt(Ar)=="number"}},address:String,aspectRatio:String},setup(Ar){const Dt=Ar,ai=Zs(""),Or=Zs([]);OE(()=>ai.value,Fr=>{const Rr=(Fr?.location?.coordinates||[]).map(Oe=>Math.round(Oe));Or.value=ra.value?.filter(Oe=>Oe.coordinates.every(Cr=>Rr.includes(Math.round(Cr))))},{deep:!0});const ko=Bn(()=>Dt.coordinates?Dt.coordinates.split(","):null),Bi=Bn(()=>Dt.center?Dt.center.split(","):null),ra=Bn(()=>{if(Dt.markers)return JSON.parse(Dt.markers)}),Ee=nv({style:Dt.theme,accessToken:Dt.mapboxApiToken,...JSON.parse(Dt.mapOptions)||{}}),H=nv({...JSON.parse(Dt.markerIcon)||{}});return(Fr,Rr)=>(ta(),tf(Ln(qE),null,{default:rf(()=>[Ar.search?(ta(),$s("div",WE,[of(Ln(lv),{coordinates:ko.value,zoom:parseInt(Dt.zoom),markers:ra.value,"map-options":Ee,address:Ar.address,"show-address":!!Ar.address,"aspect-ratio":Ar.aspectRatio,center:Bi.value,"marker-icon":H},null,8,["coordinates","zoom","markers","map-options","address","show-address","aspect-ratio","center","marker-icon"]),af("div",null,[Ar.description?(ta(),$s("div",{key:0,innerHTML:Ar.description},null,8,XE)):cv("",!0),of(Ln(UE),{modelValue:ai.value,"onUpdate:modelValue":Rr[0]||(Rr[0]=Oe=>ai.value=Oe),zoom:parseInt(Dt.zoom),"map-options":Ee,"aspect-ratio":Ar.aspectRatio,autocomplete:!0,"show-selected":!0,"show-warning":!0,language:Ar.language},null,8,["modelValue","zoom","map-options","aspect-ratio","language"]),(ta(!0),$s(FE,null,NE(Or.value,Oe=>(ta(),tf(Ln(jE),{thumbnail:Oe.content.thumbnail,"header-min-height":"200px","thumbnail-size":"cover"},{footer:rf(()=>[of(Ln(GE),{label:Oe.content?.actionLabel,"icon-right":"fa-pro-light:angle-right",is:"a",href:Oe.content?.action},null,8,["label","href"])]),default:rf(()=>[af("div",{innerHTML:Oe.content?.description},null,8,YE)]),_:2},1032,["thumbnail"]))),256))])])):(ta(),tf(Ln(lv),{key:1,coordinates:ko.value,zoom:parseInt(Dt.zoom),markers:ra.value,"map-options":Ee,address:Ar.address,"show-address":!!Ar.address,"aspect-ratio":Ar.aspectRatio,center:Bi.value,"marker-icon":H},null,8,["coordinates","zoom","markers","map-options","address","show-address","aspect-ratio","center","marker-icon"]))]),_:1}))}},KE=BE(JE,[["styles",[HE]]]);customElements.define("kvass-map",VE(KE));