From 066bb19850c5b7c9004ecae44bef3d856c4c9e7c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Sep 2023 05:05:34 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20open-pio?= =?UTF-8?q?neer/trails-openlayers-base-packages@90103b9cb493d463face5918d0?= =?UTF-8?q?a8474ed05ad0fb=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../assets/04bbfffa1203.js | 2 - .../{264dbd7fb15f.js => 68d68bd8d97a.js} | 12 +- .../assets/6c1521f9e89c.js | 2 + .../assets/7956058732d8.js | 2 + .../assets/9045513d10b8.js | 2 - .../docs/assets/search.js | 2 +- .../_open_pioneer_map.BkgTopPlusOpen.html | 6 +- ...open_pioneer_authentication.ForceAuth.html | 1 + ...n_pioneer_authentication.useAuthState.html | 3 +- ...neer_basemap_switcher.BasemapSwitcher.html | 1 + ...er_coordinate_viewer.CoordinateViewer.html | 1 + ...r_experimental_layout_sidebar.Sidebar.html | 3 +- ...l_layer_control.LayerControlComponent.html | 3 +- ..._pioneer_initial_extent.InitialExtent.html | 1 + .../_open_pioneer_map.MapAnchor.html | 4 +- .../_open_pioneer_map.MapContainer.html | 4 +- .../_open_pioneer_map.getProjection.html | 4 +- ..._open_pioneer_map.registerProjections.html | 4 +- .../_open_pioneer_map.useCenter.html | 13 +- .../_open_pioneer_map.useFormatting.html | 107 ------------- .../_open_pioneer_map.useMapModel.html | 4 +- .../_open_pioneer_map.useProjection.html | 13 +- .../_open_pioneer_map.useResolution.html | 13 +- .../functions/_open_pioneer_map.useScale.html | 19 +-- ...r_map_test_utils.createServiceOptions.html | 78 ++++++++++ ..._open_pioneer_map_test_utils.setupMap.html | 75 ++++++++++ ...r_map_test_utils.waitForInitialExtent.html | 73 +++++++++ ...ioneer_map_test_utils.waitForMapMount.html | 73 +++++++++ .../_open_pioneer_notifier.Notifier.html | 3 +- .../_open_pioneer_react_utils.useEvent.html | 3 +- ...open_pioneer_scale_viewer.ScaleViewer.html | 1 + openlayers-base-packages/docs/index.html | 1 + ...pen_pioneer_authentication.AuthEvents.html | 5 +- ...pen_pioneer_authentication.AuthPlugin.html | 9 +- ...oneer_authentication.AuthPluginEvents.html | 5 +- ...en_pioneer_authentication.AuthService.html | 11 +- ...authentication.AuthStateAuthenticated.html | 7 +- ...hentication.AuthStateNotAuthenticated.html | 5 +- ...oneer_authentication.AuthStatePending.html | 5 +- ...pioneer_authentication.ForceAuthProps.html | 9 +- ...en_pioneer_authentication.LoginEffect.html | 7 +- ..._pioneer_authentication.LoginFallback.html | 7 +- ...en_pioneer_authentication.SessionInfo.html | 11 +- ...basemap_switcher.BasemapSwitcherProps.html | 11 +- ...ordinate_viewer.CoordinateViewerProps.html | 9 +- ...perimental_layout_sidebar.SidebarItem.html | 11 +- ...ntal_layout_sidebar.SidebarProperties.html | 11 +- ...al_ol_layer_control.LayerControlProps.html | 7 +- ...eer_initial_extent.InitialExtentProps.html | 7 +- ..._open_pioneer_map.BkgTopPlusOpenProps.html | 6 +- .../_open_pioneer_map.CoordinateConfig.html | 10 +- .../_open_pioneer_map.ExtentConfig.html | 12 +- ..._open_pioneer_map.InitialExtentConfig.html | 8 +- ...pen_pioneer_map.InitialPositionConfig.html | 10 +- .../_open_pioneer_map.LayerCollection.html | 24 +-- ...pen_pioneer_map.LayerCollectionEvents.html | 6 +- .../_open_pioneer_map.LayerConfig.html | 18 +-- .../_open_pioneer_map.LayerModel.html | 32 ++-- .../_open_pioneer_map.LayerModelEvents.html | 18 +-- .../_open_pioneer_map.MapAnchorProps.html | 14 +- .../_open_pioneer_map.MapConfig.html | 12 +- .../_open_pioneer_map.MapConfigProvider.html | 8 +- .../_open_pioneer_map.MapContainerProps.html | 14 +- .../_open_pioneer_map.MapModel.html | 16 +- .../_open_pioneer_map.MapModelEvents.html | 12 +- .../_open_pioneer_map.MapPadding.html | 12 +- .../_open_pioneer_map.MapRegistry.html | 10 +- .../_open_pioneer_map.OlMapOptions.html | 6 +- .../_open_pioneer_map.UseMapModelLoading.html | 10 +- ..._open_pioneer_map.UseMapModelRejected.html | 10 +- ..._open_pioneer_map.UseMapModelResolved.html | 10 +- ...oneer_map_test_utils.SimpleMapOptions.html | 141 ++++++++++++++++++ ..._pioneer_notifier.NotificationOptions.html | 11 +- ..._pioneer_notifier.NotificationService.html | 7 +- .../_open_pioneer_notifier.NotifierProps.html | 5 +- ...pioneer_scale_viewer.ScaleViewerProps.html | 7 +- .../modules/_open_pioneer_authentication.html | 1 + .../_open_pioneer_basemap_switcher.html | 5 +- .../_open_pioneer_coordinate_viewer.html | 3 +- ...n_pioneer_experimental_layout_sidebar.html | 1 + ...pioneer_experimental_ol_layer_control.html | 1 + .../modules/_open_pioneer_initial_extent.html | 3 +- .../docs/modules/_open_pioneer_map.html | 3 +- .../modules/_open_pioneer_map_test_utils.html | 81 ++++++++++ .../docs/modules/_open_pioneer_notifier.html | 1 + .../modules/_open_pioneer_react_utils.html | 1 + .../modules/_open_pioneer_scale_viewer.html | 3 +- ...er_authentication.AuthPluginEventBase.html | 3 +- ...open_pioneer_authentication.AuthState.html | 3 +- ..._pioneer_authentication.LoginBehavior.html | 3 +- .../_open_pioneer_map.InitialViewConfig.html | 4 +- .../_open_pioneer_map.LayerLoadState.html | 4 +- .../_open_pioneer_map.MapAnchorPosition.html | 4 +- ...open_pioneer_map.ProjectionDefinition.html | 4 +- .../_open_pioneer_map.UseMapModelResult.html | 4 +- ...en_pioneer_notifier.NotificationLevel.html | 3 +- .../samples/map-sample/index.html | 4 +- .../samples/test-basemap-switcher/index.html | 4 +- 98 files changed, 852 insertions(+), 410 deletions(-) delete mode 100644 openlayers-base-packages/assets/04bbfffa1203.js rename openlayers-base-packages/assets/{264dbd7fb15f.js => 68d68bd8d97a.js} (75%) create mode 100644 openlayers-base-packages/assets/6c1521f9e89c.js create mode 100644 openlayers-base-packages/assets/7956058732d8.js delete mode 100644 openlayers-base-packages/assets/9045513d10b8.js delete mode 100644 openlayers-base-packages/docs/functions/_open_pioneer_map.useFormatting.html create mode 100644 openlayers-base-packages/docs/functions/_open_pioneer_map_test_utils.createServiceOptions.html create mode 100644 openlayers-base-packages/docs/functions/_open_pioneer_map_test_utils.setupMap.html create mode 100644 openlayers-base-packages/docs/functions/_open_pioneer_map_test_utils.waitForInitialExtent.html create mode 100644 openlayers-base-packages/docs/functions/_open_pioneer_map_test_utils.waitForMapMount.html create mode 100644 openlayers-base-packages/docs/interfaces/_open_pioneer_map_test_utils.SimpleMapOptions.html create mode 100644 openlayers-base-packages/docs/modules/_open_pioneer_map_test_utils.html diff --git a/openlayers-base-packages/assets/04bbfffa1203.js b/openlayers-base-packages/assets/04bbfffa1203.js deleted file mode 100644 index 9c91bc458..000000000 --- a/openlayers-base-packages/assets/04bbfffa1203.js +++ /dev/null @@ -1,2 +0,0 @@ -import{u as F,r as l,j as d,A as Qt,m as en,c as tn,f as B,B as ie,a as nn,b as $,d as on,e as Se,g as St,h as rn,o as sn,i as an,k as ln,l as ae,F as se,C as cn,T as kt,R as A,n as un}from"./559aa200cabb.js";import{u as Ct,g as Re,a as Y,b as ke,c as dn,P as pn,d as fn,e as hn,f as mn,h as rt,p as st,T as ee,O as gn,W as vn,i as bn,M as xn,_ as it,j as O,k as Ae,C as yn,l as wn,m as Sn,n as kn,o as Ce,B as Cn}from"./264dbd7fb15f.js";import{c as le,C as En}from"./4e207bef7341.js";import{F as z}from"./aeff6946d221.js";import{B as N}from"./4e5f68cd39b9.js";function _n(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Pn=_n();const Et=1/60*1e3,jn=typeof performance<"u"?()=>performance.now():()=>Date.now(),_t=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(jn()),Et);function Mn(e){let t=[],n=[],o=0,r=!1,i=!1;const s=new WeakSet,a={schedule:(c,u=!1,p=!1)=>{const f=p&&r,m=f?t:n;return u&&s.add(c),m.indexOf(c)===-1&&(m.push(c),f&&r&&(o=t.length)),c},cancel:c=>{const u=n.indexOf(c);u!==-1&&n.splice(u,1),s.delete(c)},process:c=>{if(r){i=!0;return}if(r=!0,[t,n]=[n,t],n.length=0,o=t.length,o)for(let u=0;u(e[t]=Mn(()=>K=!0),e),{}),In=X.reduce((e,t)=>{const n=ce[t];return e[t]=(o,r=!1,i=!1)=>(K||Ln(),n.schedule(o,r,i)),e},{}),Rn=X.reduce((e,t)=>(e[t]=ce[t].cancel,e),{});X.reduce((e,t)=>(e[t]=()=>ce[t].process(D),e),{});const Nn=e=>ce[e].process(D),Pt=e=>{K=!1,D.delta=Ne?Et:Math.max(Math.min(e-D.timestamp,Tn),1),D.timestamp=e,Le=!0,X.forEach(Nn),Le=!1,K&&(Ne=!1,_t(Pt))},Ln=()=>{K=!0,Ne=!0,Le||_t(Pt)},at=()=>D;function zn(e){const{value:t,defaultValue:n,onChange:o,shouldUpdate:r=(m,b)=>m!==b}=e,i=F(o),s=F(r),[a,c]=l.useState(n),u=t!==void 0,p=u?t:a,f=F(m=>{const x=typeof m=="function"?m(p):m;s(p,x)&&(u||c(x),i(x))},[u,i,p,s]);return[p,f]}var lt={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},ct={enter:{duration:.2,ease:lt.easeOut},exit:{duration:.1,ease:lt.easeIn}},ut={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t?.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t?.exit})},An={exit:({reverse:e,initialScale:t,transition:n,transitionEnd:o,delay:r})=>{var i;return{opacity:0,...e?{scale:t,transitionEnd:o?.exit}:{transitionEnd:{scale:t,...o?.exit}},transition:(i=n?.exit)!=null?i:ut.exit(ct.exit,r)}},enter:({transitionEnd:e,transition:t,delay:n})=>{var o;return{opacity:1,scale:1,transition:(o=t?.enter)!=null?o:ut.enter(ct.enter,n),transitionEnd:e?.enter}}},On={initial:"exit",animate:"enter",exit:"exit",variants:An},jt=l.forwardRef(function(t,n){const{unmountOnExit:o,in:r,reverse:i=!0,initialScale:s=.95,className:a,transition:c,transitionEnd:u,delay:p,...f}=t,m=o?r&&o:!0,b=r||o?"enter":"exit",x={initialScale:s,reverse:i,transition:c,transitionEnd:u,delay:p};return d.jsx(Qt,{custom:x,children:m&&d.jsx(en.div,{ref:n,className:tn("chakra-offset-slide",a),...On,animate:b,custom:x,...f})})});jt.displayName="ScaleFade";var Z=B((e,t)=>{const{icon:n,children:o,isRound:r,"aria-label":i,...s}=e,a=n||o,c=l.isValidElement(a)?l.cloneElement(a,{"aria-hidden":!0,focusable:!1}):null;return d.jsx(ie,{padding:"0",borderRadius:r?"full":void 0,ref:t,"aria-label":i,...s,children:c})});Z.displayName="IconButton";function Vn(e){const t=parseFloat(e);return typeof t!="number"||Number.isNaN(t)?0:t}function Fn(e,t){let n=Vn(e);const o=10**(t??10);return n=Math.round(n*o)/o,t?n.toFixed(t):n.toString()}function Dn(e){if(!Number.isFinite(e))return 0;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n+=1;return n}function dt(e,t,n){return(e-t)*100/(n-t)}function Bn(e,t,n){return(n-t)*e+t}function pt(e,t,n){const o=Math.round((e-t)/n)*n+t,r=Dn(n);return Fn(o,r)}function Ee(e,t,n){return e==null?e:(n{n.current=e}),l.useCallback((...o)=>{var r;return(r=n.current)==null?void 0:r.call(n,...o)},t)}function Un(e,t){const n=l.useId();return l.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function Wn(e,t){const n=e!==void 0;return[n,n&&typeof e<"u"?e:t]}function ht(e={}){const{onClose:t,onOpen:n,isOpen:o,id:r}=e,i=ft(n),s=ft(t),[a,c]=l.useState(e.defaultIsOpen||!1),[u,p]=Wn(o,a),f=Un(r,"disclosure"),m=l.useCallback(()=>{u||c(!1),s?.()},[u,s]),b=l.useCallback(()=>{u||c(!0),i?.()},[u,i]),x=l.useCallback(()=>{(p?m:b)()},[p,b,m]);return{isOpen:!!p,onOpen:b,onClose:m,onToggle:x,isControlled:u,getButtonProps:(g={})=>({...g,"aria-expanded":p,"aria-controls":f,onClick:nn(g.onClick,x)}),getDisclosureProps:(g={})=>({...g,hidden:!p,id:f})}}var ze=$("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});ze.displayName="Spacer";var V=e=>e?"":void 0,_e=e=>e?!0:void 0,J=(...e)=>e.filter(Boolean).join(" ");function Pe(...e){return function(n){e.some(o=>(o?.(n),n?.defaultPrevented))}}function te(e){const{orientation:t,vertical:n,horizontal:o}=e;return t==="vertical"?n:o}var oe={width:0,height:0},ne=e=>e||oe;function Gn(e){const{orientation:t,thumbPercents:n,thumbRects:o,isReversed:r}=e,i=g=>{var w;const P=(w=o[g])!=null?w:oe;return{position:"absolute",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",touchAction:"none",...te({orientation:t,vertical:{bottom:`calc(${n[g]}% - ${P.height/2}px)`},horizontal:{left:`calc(${n[g]}% - ${P.width/2}px)`}})}},s=t==="vertical"?o.reduce((g,w)=>ne(g).height>ne(w).height?g:w,oe):o.reduce((g,w)=>ne(g).width>ne(w).width?g:w,oe),a={position:"relative",touchAction:"none",WebkitTapHighlightColor:"rgba(0,0,0,0)",userSelect:"none",outline:0,...te({orientation:t,vertical:s?{paddingLeft:s.width/2,paddingRight:s.width/2}:{},horizontal:s?{paddingTop:s.height/2,paddingBottom:s.height/2}:{}})},c={position:"absolute",...te({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",height:"100%"},horizontal:{top:"50%",transform:"translateY(-50%)",width:"100%"}})},u=n.length===1,p=[0,r?100-n[0]:n[0]],f=u?p:n;let m=f[0];!u&&r&&(m=100-m);const b=Math.abs(f[f.length-1]-f[0]),x={...c,...te({orientation:t,vertical:r?{height:`${b}%`,top:`${m}%`}:{height:`${b}%`,bottom:`${m}%`},horizontal:r?{width:`${b}%`,right:`${m}%`}:{width:`${b}%`,left:`${m}%`}})};return{trackStyle:c,innerTrackStyle:x,rootStyle:a,getThumbStyle:i}}function Hn(e){const{isReversed:t,direction:n,orientation:o}=e;return n==="ltr"||o==="vertical"?t:!t}function qn(e,t,n,o){return e.addEventListener(t,n,o),()=>{e.removeEventListener(t,n,o)}}function Kn(e){const t=Yn(e);return typeof t.PointerEvent<"u"&&e instanceof t.PointerEvent?e.pointerType==="mouse":e instanceof t.MouseEvent}function Mt(e){return!!e.touches}function Zn(e){return Mt(e)&&e.touches.length>1}function Yn(e){var t;return(t=e.view)!=null?t:window}function Xn(e,t="page"){const n=e.touches[0]||e.changedTouches[0];return{x:n[`${t}X`],y:n[`${t}Y`]}}function Jn(e,t="page"){return{x:e[`${t}X`],y:e[`${t}Y`]}}function Tt(e,t="page"){return Mt(e)?Xn(e,t):Jn(e,t)}function Qn(e){return t=>{const n=Kn(t);(!n||n&&t.button===0)&&e(t)}}function eo(e,t=!1){function n(r){e(r,{point:Tt(r)})}return t?Qn(n):n}function re(e,t,n,o){return qn(e,t,eo(n,t==="pointerdown"),o)}var to=Object.defineProperty,no=(e,t,n)=>t in e?to(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,E=(e,t,n)=>(no(e,typeof t!="symbol"?t+"":t,n),n),oo=class{constructor(e,t,n){E(this,"history",[]),E(this,"startEvent",null),E(this,"lastEvent",null),E(this,"lastEventInfo",null),E(this,"handlers",{}),E(this,"removeListeners",()=>{}),E(this,"threshold",3),E(this,"win"),E(this,"updatePoint",()=>{if(!(this.lastEvent&&this.lastEventInfo))return;const a=je(this.lastEventInfo,this.history),c=this.startEvent!==null,u=ao(a.offset,{x:0,y:0})>=this.threshold;if(!c&&!u)return;const{timestamp:p}=at();this.history.push({...a.point,timestamp:p});const{onStart:f,onMove:m}=this.handlers;c||(f?.(this.lastEvent,a),this.startEvent=this.lastEvent),m?.(this.lastEvent,a)}),E(this,"onPointerMove",(a,c)=>{this.lastEvent=a,this.lastEventInfo=c,In.update(this.updatePoint,!0)}),E(this,"onPointerUp",(a,c)=>{const u=je(c,this.history),{onEnd:p,onSessionEnd:f}=this.handlers;f?.(a,u),this.end(),!(!p||!this.startEvent)&&p?.(a,u)});var o;if(this.win=(o=e.view)!=null?o:window,Zn(e))return;this.handlers=t,n&&(this.threshold=n),e.stopPropagation(),e.preventDefault();const r={point:Tt(e)},{timestamp:i}=at();this.history=[{...r.point,timestamp:i}];const{onSessionStart:s}=t;s?.(e,je(r,this.history)),this.removeListeners=io(re(this.win,"pointermove",this.onPointerMove),re(this.win,"pointerup",this.onPointerUp),re(this.win,"pointercancel",this.onPointerUp))}updateHandlers(e){this.handlers=e}end(){var e;(e=this.removeListeners)==null||e.call(this),Rn.update(this.updatePoint)}};function mt(e,t){return{x:e.x-t.x,y:e.y-t.y}}function je(e,t){return{point:e.point,delta:mt(e.point,t[t.length-1]),offset:mt(e.point,t[0]),velocity:so(t,.1)}}var ro=e=>e*1e3;function so(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const r=e[e.length-1];for(;n>=0&&(o=e[n],!(r.timestamp-o.timestamp>ro(t)));)n--;if(!o)return{x:0,y:0};const i=(r.timestamp-o.timestamp)/1e3;if(i===0)return{x:0,y:0};const s={x:(r.x-o.x)/i,y:(r.y-o.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function io(...e){return t=>e.reduce((n,o)=>o(n),t)}function Me(e,t){return Math.abs(e-t)}function gt(e){return"x"in e&&"y"in e}function ao(e,t){if(typeof e=="number"&&typeof t=="number")return Me(e,t);if(gt(e)&>(t)){const n=Me(e.x,t.x),o=Me(e.y,t.y);return Math.sqrt(n**2+o**2)}return 0}function It(e){const t=l.useRef(null);return t.current=e,t}function lo(e,t){const{onPan:n,onPanStart:o,onPanEnd:r,onPanSessionStart:i,onPanSessionEnd:s,threshold:a}=t,c=!!(n||o||r||i||s),u=l.useRef(null),p=It({onSessionStart:i,onSessionEnd:s,onStart:o,onMove:n,onEnd(f,m){u.current=null,r?.(f,m)}});l.useEffect(()=>{var f;(f=u.current)==null||f.updateHandlers(p.current)}),l.useEffect(()=>{const f=e.current;if(!f||!c)return;function m(b){u.current=new oo(b,p.current,a)}return re(f,"pointerdown",m)},[e,c,p,a]),l.useEffect(()=>()=>{var f;(f=u.current)==null||f.end(),u.current=null},[])}function co(e,t){if(!e){t(void 0);return}t({width:e.offsetWidth,height:e.offsetHeight});const n=e.ownerDocument.defaultView??window,o=new n.ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const[i]=r;let s,a;if("borderBoxSize"in i){const c=i.borderBoxSize,u=Array.isArray(c)?c[0]:c;s=u.inlineSize,a=u.blockSize}else s=e.offsetWidth,a=e.offsetHeight;t({width:s,height:a})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}var uo=globalThis?.document?l.useLayoutEffect:l.useEffect;function po(e,t){var n,o;if(!e||!e.parentElement)return;const r=(o=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?o:window,i=new r.MutationObserver(()=>{t()});return i.observe(e.parentElement,{childList:!0}),()=>{i.disconnect()}}function fo({getNodes:e,observeMutation:t=!0}){const[n,o]=l.useState([]),[r,i]=l.useState(0);return uo(()=>{const s=e(),a=s.map((c,u)=>co(c,p=>{o(f=>[...f.slice(0,u),p,...f.slice(u+1)])}));if(t){const c=s[0];a.push(po(c,()=>{i(u=>u+1)}))}return()=>{a.forEach(c=>{c?.()})}},[r]),n}function ho(e){return typeof e=="object"&&e!==null&&"current"in e}function mo(e){const[t]=fo({observeMutation:!1,getNodes(){return[ho(e)?e.current:e]}});return t}function go(e){var t;const{min:n=0,max:o=100,onChange:r,value:i,defaultValue:s,isReversed:a,direction:c="ltr",orientation:u="horizontal",id:p,isDisabled:f,isReadOnly:m,onChangeStart:b,onChangeEnd:x,step:g=1,getAriaValueText:w,"aria-valuetext":P,"aria-label":j,"aria-labelledby":T,name:Fe,focusThumbOnChange:Ft=!0,...De}=e,Be=F(b),U=F(x),$e=F(w),C=Hn({isReversed:a,direction:c,orientation:u}),[Dt,pe]=zn({value:i,defaultValue:s??bo(n,o),onChange:r}),[fe,Ue]=l.useState(!1),[he,We]=l.useState(!1),me=!(f||m),ge=(o-n)/10,W=g||(o-n)/100,y=Ee(Dt,n,o),Bt=o-y+n,Ge=dt(C?Bt:y,n,o),Q=u==="vertical",S=It({min:n,max:o,step:g,isDisabled:f,value:y,isInteractive:me,isReversed:C,isVertical:Q,eventSource:null,focusThumbOnChange:Ft,orientation:u}),ve=l.useRef(null),be=l.useRef(null),He=l.useRef(null),$t=l.useId(),qe=p??$t,[Ke,Ze]=[`slider-thumb-${qe}`,`slider-track-${qe}`],Ut=l.useCallback(h=>{var v,G;if(!ve.current)return;const k=S.current;k.eventSource="pointer";const M=ve.current.getBoundingClientRect(),{clientX:ye,clientY:Yt}=(G=(v=h.touches)==null?void 0:v[0])!=null?G:h,Xt=Q?M.bottom-Yt:ye-M.left,Jt=Q?M.height:M.width;let we=Xt/Jt;C&&(we=1-we);let H=Bn(we,k.min,k.max);return k.step&&(H=parseFloat(pt(H,k.min,k.step))),H=Ee(H,k.min,k.max),H},[Q,C,S]),I=l.useCallback(h=>{const v=S.current;v.isInteractive&&(h=parseFloat(pt(h,v.min,W)),h=Ee(h,v.min,v.max),pe(h))},[W,pe,S]),R=l.useMemo(()=>({stepUp(h=W){const v=C?y-h:y+h;I(v)},stepDown(h=W){const v=C?y+h:y-h;I(v)},reset(){I(s||0)},stepTo(h){I(h)}}),[I,C,y,W,s]),Ye=l.useCallback(h=>{const v=S.current,k={ArrowRight:()=>R.stepUp(),ArrowUp:()=>R.stepUp(),ArrowLeft:()=>R.stepDown(),ArrowDown:()=>R.stepDown(),PageUp:()=>R.stepUp(ge),PageDown:()=>R.stepDown(ge),Home:()=>I(v.min),End:()=>I(v.max)}[h.key];k&&(h.preventDefault(),h.stopPropagation(),k(h),v.eventSource="keyboard")},[R,I,ge,S]),Xe=(t=$e?.(y))!=null?t:P,xe=mo(be),{getThumbStyle:Je,rootStyle:Qe,trackStyle:et,innerTrackStyle:tt}=l.useMemo(()=>{const h=S.current,v=xe??{width:0,height:0};return Gn({isReversed:C,orientation:h.orientation,thumbRects:[v],thumbPercents:[Ge]})},[C,xe,Ge,S]),nt=l.useCallback(()=>{S.current.focusThumbOnChange&&setTimeout(()=>{var v;return(v=be.current)==null?void 0:v.focus()})},[S]);on(()=>{const h=S.current;nt(),h.eventSource==="keyboard"&&U?.(h.value)},[y,U]);function ot(h){const v=Ut(h);v!=null&&v!==S.current.value&&pe(v)}lo(He,{onPanSessionStart(h){const v=S.current;v.isInteractive&&(Ue(!0),nt(),ot(h),Be?.(v.value))},onPanSessionEnd(){const h=S.current;h.isInteractive&&(Ue(!1),U?.(h.value))},onPan(h){S.current.isInteractive&&ot(h)}});const Wt=l.useCallback((h={},v=null)=>({...h,...De,ref:Se(v,He),tabIndex:-1,"aria-disabled":_e(f),"data-focused":V(he),style:{...h.style,...Qe}}),[De,f,he,Qe]),Gt=l.useCallback((h={},v=null)=>({...h,ref:Se(v,ve),id:Ze,"data-disabled":V(f),style:{...h.style,...et}}),[f,Ze,et]),Ht=l.useCallback((h={},v=null)=>({...h,ref:v,style:{...h.style,...tt}}),[tt]),qt=l.useCallback((h={},v=null)=>({...h,ref:Se(v,be),role:"slider",tabIndex:me?0:void 0,id:Ke,"data-active":V(fe),"aria-valuetext":Xe,"aria-valuemin":n,"aria-valuemax":o,"aria-valuenow":y,"aria-orientation":u,"aria-disabled":_e(f),"aria-readonly":_e(m),"aria-label":j,"aria-labelledby":j?void 0:T,style:{...h.style,...Je(0)},onKeyDown:Pe(h.onKeyDown,Ye),onFocus:Pe(h.onFocus,()=>We(!0)),onBlur:Pe(h.onBlur,()=>We(!1))}),[me,Ke,fe,Xe,n,o,y,u,f,m,j,T,Je,Ye]),Kt=l.useCallback((h,v=null)=>{const G=!(h.valueo),k=y>=h.value,M=dt(h.value,n,o),ye={position:"absolute",pointerEvents:"none",...vo({orientation:u,vertical:{bottom:C?`${100-M}%`:`${M}%`},horizontal:{left:C?`${100-M}%`:`${M}%`}})};return{...h,ref:v,role:"presentation","aria-hidden":!0,"data-disabled":V(f),"data-invalid":V(!G),"data-highlighted":V(k),style:{...h.style,...ye}}},[f,C,o,n,u,y]),Zt=l.useCallback((h={},v=null)=>({...h,ref:v,type:"hidden",value:y,name:Fe}),[Fe,y]);return{state:{value:y,isFocused:he,isDragging:fe},actions:R,getRootProps:Wt,getTrackProps:Gt,getInnerTrackProps:Ht,getThumbProps:qt,getMarkerProps:Kt,getInputProps:Zt}}function vo(e){const{orientation:t,vertical:n,horizontal:o}=e;return t==="vertical"?n:o}function bo(e,t){return t"}),[yo,de]=St({name:"SliderStylesContext",hookName:"useSliderStyles",providerName:""}),Rt=B((e,t)=>{var n;const o={...e,orientation:(n=e?.orientation)!=null?n:"horizontal"},r=rn("Slider",o),i=sn(o),{direction:s}=an();i.direction=s;const{getInputProps:a,getRootProps:c,...u}=go(i),p=c(),f=a({},t);return d.jsx(xo,{value:u,children:d.jsx(yo,{value:r,children:d.jsxs($.div,{...p,className:J("chakra-slider",o.className),__css:r.container,children:[o.children,d.jsx("input",{...f})]})})})});Rt.displayName="Slider";var Nt=B((e,t)=>{const{getThumbProps:n}=ue(),o=de(),r=n(e,t);return d.jsx($.div,{...r,className:J("chakra-slider__thumb",e.className),__css:o.thumb})});Nt.displayName="SliderThumb";var Lt=B((e,t)=>{const{getTrackProps:n}=ue(),o=de(),r=n(e,t);return d.jsx($.div,{...r,className:J("chakra-slider__track",e.className),__css:o.track})});Lt.displayName="SliderTrack";var zt=B((e,t)=>{const{getInnerTrackProps:n}=ue(),o=de(),r=n(e,t);return d.jsx($.div,{...r,className:J("chakra-slider__filled-track",e.className),__css:o.filledTrack})});zt.displayName="SliderFilledTrack";var wo=B((e,t)=>{const{getMarkerProps:n}=ue(),o=de(),r=n(e,t);return d.jsx($.div,{...r,className:J("chakra-slider__marker",e.className),__css:o.mark})});wo.displayName="SliderMark";const So=25.4/.28,ko=39.37,Co=4;function Eo(e,t,n){const o=Ct(),[r,i]=l.useState(),[s,a]=l.useState();return l.useEffect(()=>{if(!e||!t||!n)return;const c=Re(n,t,e);i(Math.round(c*ko*So)),a(r?o.formatNumber(r):void 0)},[o,e,t,n,r]),{scale:s}}function At(e){const[t,n]=l.useState(null);return l.useEffect(()=>{if(!e)return;n(e.getView().getProjection());const o=e.on("change:view",()=>{const r=e.getView().getProjection();t!=r&&n(r)});return()=>Y(o)},[e,t]),{projection:t}}function _o(e){const[t,n]=l.useState();return l.useEffect(()=>{if(!e)return;const o=e.getView();n(o.getResolution());const r=o.on("change:resolution",()=>{const i=o.getResolution();t!=i&&n(i)});return()=>Y(r)},[e,t]),{resolution:t}}function Po(e){const[t,n]=l.useState();return l.useEffect(()=>{if(!e)return;const o=e.getView();n(o.getCenter());const r=o.on("change:center",()=>{const i=o.getCenter();t!=i&&n(i)});return()=>Y(r)},[e,t]),{center:t}}function jo(e,t){const n=Ct();if(e&&e[0]!=null&&e[1]!=null){const o=t??Co,r=e[0],i=e[1],s=n.formatNumber(r,{maximumFractionDigits:o,minimumFractionDigits:o}),a=n.formatNumber(i,{maximumFractionDigits:o,minimumFractionDigits:o});return s+" "+a}return""}var Mo=function(e){return(e+1)%1e6};function To(){var e=l.useReducer(Mo,0),t=e[1];return t}function Io(e,t){t===void 0&&(t=0);var n=l.useRef(!1),o=l.useRef(),r=l.useRef(e),i=l.useCallback(function(){return n.current},[]),s=l.useCallback(function(){n.current=!1,o.current&&clearTimeout(o.current),o.current=setTimeout(function(){n.current=!0,r.current()},t)},[t]),a=l.useCallback(function(){n.current=null,o.current&&clearTimeout(o.current)},[]);return l.useEffect(function(){r.current=e},[e]),l.useEffect(function(){return s(),a},[t]),[i,a,s]}function Ro(e){e===void 0&&(e=0);var t=To();return Io(t,e)}let No=null;function Lo(e){No=e;const t=Object.keys(e.defs),n=t.length;let o,r;for(o=0;oDatenquellen`})}class Oo{constructor({properties:t}){const n=t.logLevel;console.debug("Log Service created with log level",n)}destroy(){console.debug("Log Service destroyed")}log(t){console.info("LOG: "+t)}}const Vo={"ol-map":{name:"ol-map",services:{MapConfigProviderImpl:{name:"MapConfigProviderImpl",clazz:Ao,provides:[{name:"map.MapConfigProvider",qualifier:void 0}],references:{}}},ui:{references:[{name:"map-sample-logging.LogService",qualifier:void 0,all:!1},{name:"map.MapRegistry",qualifier:void 0,all:!1}]},properties:{}},"@open-pioneer/chakra-integration":{name:"@open-pioneer/chakra-integration",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime":{name:"@open-pioneer/runtime",services:{},ui:{references:[]},properties:{}},"@open-pioneer/core":{name:"@open-pioneer/core",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime-react-support":{name:"@open-pioneer/runtime-react-support",services:{},ui:{references:[]},properties:{}},"@open-pioneer/map":{name:"@open-pioneer/map",services:{MapRegistryImpl:{name:"MapRegistryImpl",clazz:xn,provides:[{name:"map.MapRegistry",qualifier:void 0}],references:{providers:{name:"map.MapConfigProvider",qualifier:void 0,all:!0}}}},ui:{references:[{name:"map.MapRegistry",qualifier:void 0,all:!1}]},properties:{}},"@open-pioneer/scale-viewer":{name:"@open-pioneer/scale-viewer",services:{},ui:{references:[]},properties:{}},"map-sample-logging":{name:"map-sample-logging",services:{LogService:{name:"LogService",clazz:Oo,provides:[{name:"map-sample-logging.LogService",qualifier:void 0}],references:{}}},ui:{references:[]},properties:{logLevel:{value:"INFO",required:!1}}},"map-sample-scale-component":{name:"map-sample-scale-component",services:{},ui:{references:[]},properties:{}},"@open-pioneer/coordinate-viewer":{name:"@open-pioneer/coordinate-viewer",services:{},ui:{references:[]},properties:{}},"map-sample-zoom-component":{name:"map-sample-zoom-component",services:{},ui:{references:[]},properties:{}},"@open-pioneer/basemap-switcher":{name:"@open-pioneer/basemap-switcher",services:{},ui:{references:[]},properties:{}},"@open-pioneer/experimental-layout-sidebar":{name:"@open-pioneer/experimental-layout-sidebar",services:{},ui:{references:[]},properties:{}},"@open-pioneer/experimental-ol-layer-control":{name:"@open-pioneer/experimental-ol-layer-control",services:{},ui:{references:[]},properties:{}},"@open-pioneer/initial-extent":{name:"@open-pioneer/initial-extent",services:{},ui:{references:[]},properties:{}},"@open-pioneer/test-utils":{name:"@open-pioneer/test-utils",services:{},ui:{references:[]},properties:{}}},Fo=`.sidebar{height:100%;position:absolute;top:0;background-color:#ffffffb3;transition:width .3s ease-out 0s}:root,:host{--ol-background-color: white;--ol-accent-background-color: #F5F5F5;--ol-subtle-background-color: rgba(128, 128, 128, .25);--ol-partial-background-color: rgba(255, 255, 255, .75);--ol-foreground-color: #333333;--ol-subtle-foreground-color: #666666;--ol-brand-color: #00AAFF}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:10px;z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{position:absolute;font-size:12px;text-align:center;bottom:25px;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset;overflow:hidden}.ol-viewport{touch-action:none}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.scale-wrapper .ol-scale-line{position:relative;bottom:0;left:0;background:none}.scale-wrapper .ol-scale-line .ol-scale-line-inner{color:var(--chakra-white);border-color:var(--chakra-white)}.layout-sidebar{height:100%;position:absolute;top:0}.layout-sidebar[data-theme=light]{background-color:var(--chakra-colors-whiteAlpha-700)}.layout-sidebar[data-theme=dark]{background-color:var(--chakra-colors-blackAlpha-700)}.layout-sidebar .layout-sidebar-main{transition:width .3s ease-out 0s;border-right:1px solid var(--chakra-colors-chakra-border-color)}.layout-sidebar .layout-sidebar-content{overflow:auto;transition:width .3s ease-out 0s}.layout-sidebar .layout-sidebar-content .content-section .content-header{font-size:1.5em;background-color:var(--chakra-colors-blackAlpha-500);padding:.5rem 1rem}.layout-sidebar .layout-sidebar-content .content-section .content-body{padding:1rem} -`,Do=["en","de"];function Bo(e){switch(e){case"en":return it(()=>import("./b5416f0a0657.js"),[],import.meta.url).then(t=>t.default);case"de":return it(()=>import("./ff372f06cb31.js"),[],import.meta.url).then(t=>t.default)}throw new Error(`Unsupported locale: '${e}'`)}const $o=ln(Fo),Uo=Object.freeze(Object.defineProperty({__proto__:null,loadMessages:Bo,locales:Do,packages:Vo,styles:$o},Symbol.toStringTag,{value:"Module"}));var Wo=le({displayName:"MinusIcon",path:d.jsx("g",{fill:"currentColor",children:d.jsx("rect",{height:"4",width:"20",x:"2",y:"10"})})}),Go=le({d:"M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z",displayName:"AddIcon"}),Ho=le({displayName:"ArrowLeftIcon",path:d.jsxs("g",{fill:"currentColor",children:[d.jsx("path",{d:"M10.416,12a2.643,2.643,0,0,1,.775-1.875L20.732.584a1.768,1.768,0,0,1,2.5,2.5l-8.739,8.739a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5l-9.541-9.541A2.643,2.643,0,0,1,10.416,12Z"}),d.jsx("path",{d:"M.25,12a2.643,2.643,0,0,1,.775-1.875L10.566.584a1.768,1.768,0,0,1,2.5,2.5L4.327,11.823a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5L1.025,13.875A2.643,2.643,0,0,1,.25,12Z"})]})}),qo=le({displayName:"ArrowRightIcon",path:d.jsxs("g",{fill:"currentColor",children:[d.jsx("path",{d:"M13.584,12a2.643,2.643,0,0,1-.775,1.875L3.268,23.416a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L.768,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,13.584,12Z"}),d.jsx("path",{d:"M23.75,12a2.643,2.643,0,0,1-.775,1.875l-9.541,9.541a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L10.934,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,23.75,12Z"})]})});const Ko="@open-pioneer/experimental-layout-sidebar",Zo=ae.bind(void 0,Ko),vt=60,bt=180,xt=300;function Yo({defaultExpanded:e,expandedChanged:t,sidebarWidthChanged:n,items:o}){const r=Zo(),[i,{toggle:s}]=Xo(o),{isOpen:a,onToggle:c}=ht({defaultIsOpen:e,onOpen(){t?.(!0)},onClose(){t?.(!1)}}),{isOpen:u,onToggle:p}=ht(),f=i.size>0;l.useEffect(()=>{f&&!u&&p(),!f&&u&&p()},[f]),l.useEffect(()=>{if(n){let g=vt;a&&(g=bt),u&&(g+=xt),n(g)}},[a,u]);const m=o?.map((g,w)=>{const P="white",j=i.has(g.id)?"outline":"ghost";return d.jsx("div",{children:a?d.jsx(ie,{leftIcon:g.icon,variant:j,colorScheme:P,onClick:()=>s(g),children:g.label},g.id):d.jsx(se,{hasArrow:!0,label:g.label,placement:"right",children:d.jsx(Z,{"aria-label":g.label,variant:j,colorScheme:P,icon:g.icon,onClick:()=>s(g)})},g.id)},w)}),b=o?.filter(g=>i.has(g.id)).map(g=>d.jsxs("div",{className:"content-section",children:[d.jsxs(z,{className:"content-header",alignItems:"center",children:[d.jsx(N,{children:g.label}),d.jsx(ze,{}),d.jsx(cn,{onClick:()=>s(g)})]}),d.jsx("div",{className:"content-body",children:g.content})]},g.id)),x=r.formatMessage({id:a?"toggle.collapse":"toggle.expand"});return d.jsxs(z,{className:"layout-sidebar",children:[d.jsxs(N,{className:"layout-sidebar-main",display:"flex",flexDirection:"column",width:a?`${bt}px`:`${vt}px`,padding:"10px",gap:"10px",children:[m,d.jsx(ze,{}),d.jsx(se,{label:x,hasArrow:!0,placement:"right",children:d.jsx(Z,{"aria-label":x,variant:"ghost",icon:a?d.jsx(Ho,{}):d.jsx(qo,{}),onClick:c})})]}),d.jsx(N,{className:"layout-sidebar-content",width:u?`${xt}px`:"0px",children:b})]})}function Xo(e){const[t,n]=l.useReducer((r,i)=>{switch(i.type){case"toggle":{const s=new Set(r);return s.has(i.id)?s.delete(i.id):s.add(i.id),s}case"retain":{const s=new Set(i.ids),a=new Set(r);for(const c of a)s.has(c)||a.delete(c);return a}}},void 0,()=>new Set),o=l.useCallback(r=>{n({type:"toggle",id:r.id})},[n]);return l.useEffect(()=>{n({type:"retain",ids:e?.map(r=>r.id)??[]})},[e,n]),[t,{toggle:o}]}const Jo="@open-pioneer/experimental-ol-layer-control",Oe=ae.bind(void 0,Jo);function Qo(e){const t=Oe(),n=O(e.mapId),[o]=Ro(100),r=n.kind!=="loading"||o()||!1;let i;switch(n.kind){case"loading":i=d.jsx("div",{children:t.formatMessage({id:"loading"})});break;case"rejected":i=d.jsxs("div",{children:[t.formatMessage({id:"error"})," ",n.error.message]});break;case"resolved":i=d.jsx(er,{map:n.map,...e});break}return d.jsx(jt,{className:"layer-control",in:r,children:i})}function er(e){const{map:t,showOpacitySlider:n}=e,o=or(t);return d.jsx("div",{className:"layer-list",children:o.map((r,i)=>d.jsxs("div",{className:"layer-entry",children:[d.jsx(tr,{layer:r}),n&&d.jsx(nr,{layer:r})]},i))})}function tr(e){const{layer:t}=e,n=Oe(),o=rr(t),r=ir(t)||n.formatMessage({id:"undefined-layer-title"}),i=()=>{t.setVisible(!o)};return d.jsx(En,{className:"layer-select",size:"lg",isChecked:o,onChange:i,children:r})}function nr(e){const{layer:t}=e,n=Oe(),r=sr(t)*100,i=n.formatNumber(r,{maximumFractionDigits:2})+"%",[s,a]=l.useState(!1);return d.jsxs(Rt,{id:"slider",value:r,min:0,max:100,colorScheme:"teal",onChange:c=>t.olLayer.setOpacity(c/100),onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:[d.jsx(Lt,{children:d.jsx(zt,{})}),d.jsx(se,{hasArrow:!0,bg:"teal.500",color:"white",placement:"top",isOpen:s,label:i,children:d.jsx(Nt,{bg:"teal.500"})})]})}function or(e){const t=l.useRef(),n=l.useCallback(r=>{const i=e.layers.on("changed",()=>{t.current=void 0,r()});return()=>i.destroy()},[e]),o=l.useCallback(()=>t.current??=e.layers.getAllLayers().reverse(),[e]);return l.useSyncExternalStore(n,o)}function rr(e){const t=l.useCallback(o=>{const r=e.on("changed:visible",o);return()=>r.destroy()},[e]),n=l.useCallback(()=>e.visible,[e]);return l.useSyncExternalStore(t,n)}function sr(e){const t=l.useCallback(o=>{const r=e.olLayer.on("change:opacity",o);return()=>Y(r)},[e]),n=l.useCallback(()=>e.olLayer.getOpacity(),[e]);return l.useSyncExternalStore(t,n)}function ir(e){const t=l.useCallback(o=>{const r=e.on("changed:title",o);return()=>r.destroy()},[e]),n=l.useCallback(()=>e.title,[e]);return l.useSyncExternalStore(t,n)}const ar=l.forwardRef(function(t,n){const{mapId:o,className:r,precision:i,...s}=t,{map:a}=O(o),c=a?.olMap,{coordinates:u}=lr(c),p=At(c)?.projection?.getCode()??"",f=jo(u,i),m=f?f+" "+p:"";return d.jsx(N,{className:Ae("coordinate-viewer",r),ref:n,...s,children:d.jsx(kt,{className:"coordinate-viewer-text",children:m})})});function lr(e){const[t,n]=l.useState();return l.useEffect(()=>{if(!e)return;const o=e.on("pointermove",r=>{n(r.coordinate)});return()=>Y(o)},[e]),{coordinates:t}}const cr=l.forwardRef(function(t,n){const{mapId:o,className:r,...i}=t,{map:s}=O(o),a=s?.olMap,{center:c}=Po(a),{resolution:u}=_o(a),{projection:p}=At(a),{scale:f}=Eo(c,u,p);return d.jsx(N,{className:Ae("scale-viewer",r),ref:n,...i,children:f&&d.jsxs(kt,{children:["1:",f]})})}),ur="@open-pioneer/initial-extent",dr=ae.bind(void 0,ur);var Ot={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},yt=A.createContext&&A.createContext(Ot),L=globalThis&&globalThis.__assign||function(){return L=Object.assign||function(e){for(var t,n=1,o=arguments.length;nc(),iconSpacing:0,padding:0})})})}),Ie="units",br=[1,2,5],q=25.4/.28;class xr extends yn{constructor(t){t=t||{};const n=document.createElement("div");n.style.pointerEvents="none",super({element:n,render:t.render,target:t.target}),this.on,this.once,this.un;const o=t.className!==void 0?t.className:t.bar?"ol-scale-bar":"ol-scale-line";this.innerElement_=document.createElement("div"),this.innerElement_.className=o+"-inner",this.element.className=o+" "+wn,this.element.appendChild(this.innerElement_),this.viewState_=null,this.minWidth_=t.minWidth!==void 0?t.minWidth:64,this.maxWidth_=t.maxWidth,this.renderedVisible_=!1,this.renderedWidth_=void 0,this.renderedHTML_="",this.addChangeListener(Ie,this.handleUnitsChanged_),this.setUnits(t.units||"metric"),this.scaleBar_=t.bar||!1,this.scaleBarSteps_=t.steps||4,this.scaleBarText_=t.text||!1,this.dpi_=t.dpi||void 0}getUnits(){return this.get(Ie)}handleUnitsChanged_(){this.updateElement_()}setUnits(t){this.set(Ie,t)}setDpi(t){this.dpi_=t}updateElement_(){const t=this.viewState_;if(!t){this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1);return}const n=t.center,o=t.projection,r=this.getUnits(),i=r=="degrees"?"degrees":"m";let s=Re(o,t.resolution,n,i);const a=this.minWidth_*(this.dpi_||q)/q,c=this.maxWidth_!==void 0?this.maxWidth_*(this.dpi_||q)/q:void 0;let u=a*s,p="";if(r=="degrees"){const T=Sn.degrees;u*=T,u=c){m=g,b=w,x=P;break}else if(b>=a)break;g=m,w=b,P=x,++f}const j=this.scaleBar_?this.createScaleBar(b,m,p):m.toFixed(x<0?-x:0)+" "+p;this.renderedHTML_!=j&&(this.innerElement_.innerHTML=j,this.renderedHTML_=j),this.renderedWidth_!=b&&(this.innerElement_.style.width=b+"px",this.renderedWidth_=b),this.renderedVisible_||(this.element.style.display="",this.renderedVisible_=!0)}createScaleBar(t,n,o){const r=this.getScaleForResolution(),i=r<1?Math.round(1/r).toLocaleString()+" : 1":"1 : "+Math.round(r).toLocaleString(),s=this.scaleBarSteps_,a=t/s,c=[this.createMarker("absolute")];for(let p=0;p
`+this.createMarker("relative")+(p%2===0||s===2?this.createStepText(p,t,!1,n,o):"")+"")}return c.push(this.createStepText(s,t,!0,n,o)),(this.scaleBarText_?`
`+i+"
":"")+c.join("")}createMarker(t){return`
`}createStepText(t,n,o,r,i){const a=(t===0?0:Math.round(r/this.scaleBarSteps_*t*100)/100)+(t===0?"":" "+i),c=t===0?-3:n/this.scaleBarSteps_*-1,u=t===0?0:n/this.scaleBarSteps_*2;return`
`+a+"
"}getScaleForResolution(){const t=Re(this.viewState_.projection,this.viewState_.resolution,this.viewState_.center,"m"),n=this.dpi_||q,o=1e3/25.4;return t*o*n}render(t){const n=t.frameState;n?this.viewState_=n.viewState:this.viewState_=null,this.updateElement_()}}const yr=xr;function wt(e){const{mapId:t,...n}=e,o=l.useRef(null),{map:r}=O(t);return l.useEffect(()=>{if(o.current&&r){const i=r.olMap,s=new yr({units:"metric",target:o.current});return i.addControl(s),()=>{i.removeControl(s)}}},[r]),d.jsx("div",{className:"scale-wrapper",ref:o,...n})}function wr(e){const{mapId:t,...n}=e,{map:o}=O(t),r=200;function i(s){const a=o?.olMap.getView(),c=a?.getZoom();a&&c!==void 0&&a.animate({zoom:c+(s?1:-1),duration:r})}return d.jsxs(z,{direction:"column",gap:"1",...n,children:[d.jsx(Z,{size:"sm","aria-label":"zoom in",colorScheme:"teal",variant:"solid",icon:d.jsx(Go,{}),onClick:()=>i(!0)}),d.jsx(Z,{size:"sm","aria-label":"zoom out",colorScheme:"teal",variant:"solid",icon:d.jsx(Wo,{}),onClick:()=>i(!1)})]})}const Sr="ol-map",kr=ae.bind(void 0,Sr),Cr=[796987,5827477,796987,5827477];function Er(){const[e,t]=l.useState(),[n,o]=l.useState(!0),r=O(_),i=()=>{const f=r.map?.olMap;f&&f?.getView().fit(Cr,{maxZoom:13})},s=kr(),a=[{id:"map-content",icon:d.jsx(gr,{}),label:"Karteninhalt",content:d.jsx(Qo,{mapId:_,showOpacitySlider:!0})},{id:"sandbox",icon:d.jsx(hr,{}),label:"Sandbox",content:d.jsx(ie,{onClick:i,children:"Center Berlin"})}],c=l.useRef(null),u=l.useRef(null),p=l.useRef(null);return d.jsxs(z,{height:"100%",direction:"column",overflow:"hidden",children:[d.jsx(N,{textAlign:"center",py:1,px:1,children:"Open Pioneer - Map sample"}),d.jsxs(z,{flex:"1",direction:"column",position:"relative",children:[d.jsxs(kn,{mapId:_,viewPadding:e,viewPaddingChangeBehavior:"preserve-extent",children:[d.jsx(Ce,{position:"top-left",horizontalGap:10,verticalGap:10,children:d.jsx(N,{backgroundColor:"whiteAlpha.800",borderWidth:"1px",borderRadius:"lg",padding:2,boxShadow:"lg",children:d.jsx(Cn,{ref:p,noneBasemap:!0,label:s.formatMessage({id:"basemapLabel"}),mapId:_})})}),d.jsxs(Ce,{position:"bottom-right",horizontalGap:10,verticalGap:30,children:[d.jsx(vr,{mapId:_,pb:1}),d.jsx(wr,{mapId:_})]}),d.jsx(Ce,{position:"top-right",children:d.jsxs(z,{gap:3,alignItems:"center",justifyContent:"center",padding:4,boxShadow:"lg",backgroundColor:"whiteAlpha.800",children:[d.jsx(cr,{mapId:_,ref:c}),d.jsx(wt,{mapId:_})]})})]}),d.jsx(Yo,{defaultExpanded:n,expandedChanged:f=>o(f),sidebarWidthChanged:f=>t({left:f}),items:a})]}),d.jsxs(z,{gap:3,alignItems:"center",justifyContent:"center",children:[d.jsx(ar,{mapId:_,ref:u,precision:2}),d.jsx(wt,{mapId:_})]})]})}const _r=un({component:Er,appMetadata:Uo,async resolveConfig(e){const t=e.getAttribute("forced-locale");if(t)return{locale:t}}});customElements.define("ol-map-app",_r);const Pr=document.getElementsByTagName("body")[0];jr();function jr(){const e=window.location.search,n=new URLSearchParams(e).get("lang"),o=document.createElement("ol-map-app");o.classList.add("full-height"),o.setAttribute("id","test"),n&&o.setAttribute("forced-locale",n),Pr.appendChild(o)} diff --git a/openlayers-base-packages/assets/264dbd7fb15f.js b/openlayers-base-packages/assets/68d68bd8d97a.js similarity index 75% rename from openlayers-base-packages/assets/264dbd7fb15f.js rename to openlayers-base-packages/assets/68d68bd8d97a.js index 5785080d9..556221adb 100644 --- a/openlayers-base-packages/assets/264dbd7fb15f.js +++ b/openlayers-base-packages/assets/68d68bd8d97a.js @@ -1,12 +1,12 @@ -var Js=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)};var x=(e,t,i)=>(Js(e,t,"read from private field"),i?i.call(e):t.get(e)),A=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},L=(e,t,i,s)=>(Js(e,t,"write to private field"),s?s.call(e,i):t.set(e,i),i);var _r=(e,t,i,s)=>({set _(n){L(e,t,n,i)},get _(){return x(e,t,s)}}),rt=(e,t,i)=>(Js(e,t,"access private method"),i);import{G as Qo,l as Ea,W as Jo,r as K,X as th,j as Kt,_ as mr,E as fi,Y as yr,D as eh,y as vr,w as ih,x as sh}from"./559aa200cabb.js";import{B as xa,S as nh}from"./4e5f68cd39b9.js";import{E as Pn}from"./aeff6946d221.js";class rh{constructor(t){this.propagationStopped,this.defaultPrevented,this.type=t,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}}const _e=rh,Ti={PROPERTYCHANGE:"propertychange"};class ah{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}}const Sn=ah;function An(e,t){return e>t?1:e0?n-1:n}return s-1}if(i>0){for(let n=1;n0||i&&a===0)})}function vs(){return!0}function zs(){return!1}function Ms(){}function lh(e){let t=!1,i,s,n;return function(){const r=Array.prototype.slice.call(arguments);return(!t||this!==n||!Gs(r,s))&&(t=!0,n=this,s=r,i=e.apply(this,arguments)),i}}function ks(e){for(const t in e)delete e[t]}function ch(e){let t;for(t in e)return!1;return!t}class uh extends Sn{constructor(t){super(),this.eventTarget_=t,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(t,i){if(!t||!i)return;const s=this.listeners_||(this.listeners_={}),n=s[t]||(s[t]=[]);n.includes(i)||n.push(i)}dispatchEvent(t){const i=typeof t=="string",s=i?t:t.type,n=this.listeners_&&this.listeners_[s];if(!n)return;const r=i?new _e(t):t;r.target||(r.target=this.eventTarget_||this);const a=this.dispatching_||(this.dispatching_={}),o=this.pendingRemovals_||(this.pendingRemovals_={});s in a||(a[s]=0,o[s]=0),++a[s];let h;for(let l=0,c=n.length;l0:!1}removeEventListener(t,i){const s=this.listeners_&&this.listeners_[t];if(s){const n=s.indexOf(i);n!==-1&&(this.pendingRemovals_&&t in this.pendingRemovals_?(s[n]=Ms,++this.pendingRemovals_[t]):(s.splice(n,1),s.length===0&&delete this.listeners_[t]))}}}const On=uh,O={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"};function G(e,t,i,s,n){if(s&&s!==e&&(i=i.bind(s)),n){const a=i;i=function(){e.removeEventListener(t,i),a.apply(this,arguments)}}const r={target:e,type:t,listener:i};return e.addEventListener(t,i),r}function ps(e,t,i,s){return G(e,t,i,s,!0)}function B(e){e&&e.target&&(e.target.removeEventListener(e.type,e.listener),ks(e))}class $i extends On{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(O.CHANGE)}getRevision(){return this.revision_}onInternal(t,i){if(Array.isArray(t)){const s=t.length,n=new Array(s);for(let r=0;r1?(i=n,s=r):h>0&&(i+=a*h,s+=o*h)}return Qe(e,t,i,s)}function Qe(e,t,i,s){const n=i-e,r=s-t;return n*n+r*r}function _h(e){const t=e.length;for(let s=0;sr&&(r=h,n=o)}if(r===0)return null;const a=e[n];e[n]=e[s],e[s]=a;for(let o=s+1;o=0;s--){i[s]=e[s][t]/e[s][s];for(let n=s-1;n>=0;n--)e[n][t]-=e[n][s]*i[s]}return i}function ds(e){return e*Math.PI/180}function Je(e,t){const i=e%t;return i*t<0?i+t:i}function mh(e,t,i){return e+i*(t-e)}function Ca(e,t){const i=Math.pow(10,t);return Math.round(e*i)/i}function es(e,t){return Math.floor(Ca(e,t))}function is(e,t){return Math.ceil(Ca(e,t))}class yh extends Bt{constructor(t){super(),this.on,this.once,this.un,this.background_=t.background;const i=Object.assign({},t);typeof t.properties=="object"&&(delete i.properties,Object.assign(i,t.properties)),i[F.OPACITY]=t.opacity!==void 0?t.opacity:1,j(typeof i[F.OPACITY]=="number","Layer opacity must be a number"),i[F.VISIBLE]=t.visible!==void 0?t.visible:!0,i[F.Z_INDEX]=t.zIndex,i[F.MAX_RESOLUTION]=t.maxResolution!==void 0?t.maxResolution:1/0,i[F.MIN_RESOLUTION]=t.minResolution!==void 0?t.minResolution:0,i[F.MIN_ZOOM]=t.minZoom!==void 0?t.minZoom:-1/0,i[F.MAX_ZOOM]=t.maxZoom!==void 0?t.maxZoom:1/0,this.className_=i.className!==void 0?i.className:"ol-layer",delete i.className,this.setProperties(i),this.state_=null}getBackground(){return this.background_}getClassName(){return this.className_}getLayerState(t){const i=this.state_||{layer:this,managed:t===void 0?!0:t},s=this.getZIndex();return i.opacity=Y(Math.round(this.getOpacity()*100)/100,0,1),i.visible=this.getVisible(),i.extent=this.getExtent(),i.zIndex=s===void 0&&!i.managed?1/0:s,i.maxResolution=this.getMaxResolution(),i.minResolution=Math.max(this.getMinResolution(),0),i.minZoom=this.getMinZoom(),i.maxZoom=this.getMaxZoom(),this.state_=i,i}getLayersArray(t){return X()}getLayerStatesArray(t){return X()}getExtent(){return this.get(F.EXTENT)}getMaxResolution(){return this.get(F.MAX_RESOLUTION)}getMinResolution(){return this.get(F.MIN_RESOLUTION)}getMinZoom(){return this.get(F.MIN_ZOOM)}getMaxZoom(){return this.get(F.MAX_ZOOM)}getOpacity(){return this.get(F.OPACITY)}getSourceState(){return X()}getVisible(){return this.get(F.VISIBLE)}getZIndex(){return this.get(F.Z_INDEX)}setBackground(t){this.background_=t,this.changed()}setExtent(t){this.set(F.EXTENT,t)}setMaxResolution(t){this.set(F.MAX_RESOLUTION,t)}setMinResolution(t){this.set(F.MIN_RESOLUTION,t)}setMaxZoom(t){this.set(F.MAX_ZOOM,t)}setMinZoom(t){this.set(F.MIN_ZOOM,t)}setOpacity(t){j(typeof t=="number","Layer opacity must be a number"),this.set(F.OPACITY,t)}setVisible(t){this.set(F.VISIBLE,t)}setZIndex(t){this.set(F.Z_INDEX,t)}disposeInternal(){this.state_&&(this.state_.layer=null,this.state_=null),super.disposeInternal()}}const Ra=yh,ce={PRERENDER:"prerender",POSTRENDER:"postrender",PRECOMPOSE:"precompose",POSTCOMPOSE:"postcompose",RENDERCOMPLETE:"rendercomplete"},pt={ANIMATING:0,INTERACTING:1},Tt={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"},vh=42,Nn=256,bi={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};let Mh=class{constructor(t){this.code_=t.code,this.units_=t.units,this.extent_=t.extent!==void 0?t.extent:null,this.worldExtent_=t.worldExtent!==void 0?t.worldExtent:null,this.axisOrientation_=t.axisOrientation!==void 0?t.axisOrientation:"enu",this.global_=t.global!==void 0?t.global:!1,this.canWrapX_=!!(this.global_&&this.extent_),this.getPointResolutionFunc_=t.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=t.metersPerUnit}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||bi[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(t){this.global_=t,this.canWrapX_=!!(t&&this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(t){this.defaultTileGrid_=t}setExtent(t){this.extent_=t,this.canWrapX_=!!(this.global_&&t)}setWorldExtent(t){this.worldExtent_=t}setGetPointResolution(t){this.getPointResolutionFunc_=t}getPointResolutionFunc(){return this.getPointResolutionFunc_}};const Ta=Mh,qi=6378137,Ke=Math.PI*qi,ph=[-Ke,-Ke,Ke,Ke],Eh=[-180,-85,180,85],ss=qi*Math.log(Math.tan(Math.PI/2));class De extends Ta{constructor(t){super({code:t,units:"m",extent:ph,global:!0,worldExtent:Eh,getPointResolution:function(i,s){return i/Math.cosh(s[1]/qi)}})}}const pr=[new De("EPSG:3857"),new De("EPSG:102100"),new De("EPSG:102113"),new De("EPSG:900913"),new De("http://www.opengis.net/def/crs/EPSG/0/3857"),new De("http://www.opengis.net/gml/srs/epsg.xml#3857")];function xh(e,t,i){const s=e.length;i=i>1?i:2,t===void 0&&(i>2?t=e.slice():t=new Array(s));for(let n=0;nss?r=ss:r<-ss&&(r=-ss),t[n+1]=r}return t}function Ch(e,t,i){const s=e.length;i=i>1?i:2,t===void 0&&(i>2?t=e.slice():t=new Array(s));for(let n=0;nn&&(h=h|it.RIGHT),or&&(h=h|it.ABOVE),h===it.UNKNOWN&&(h=it.INTERSECTING),h}function Se(){return[1/0,1/0,-1/0,-1/0]}function Xi(e,t,i,s,n){return n?(n[0]=e,n[1]=t,n[2]=i,n[3]=s,n):[e,t,i,s]}function js(e){return Xi(1/0,1/0,-1/0,-1/0,e)}function Ah(e,t){const i=e[0],s=e[1];return Xi(i,s,i,s,t)}function Lh(e,t,i,s,n){const r=js(n);return Ia(r,e,t,i,s)}function Es(e,t){return e[0]==t[0]&&e[2]==t[2]&&e[1]==t[1]&&e[3]==t[3]}function Oh(e,t){return t[0]e[2]&&(e[2]=t[2]),t[1]e[3]&&(e[3]=t[3]),e}function fs(e,t){t[0]e[2]&&(e[2]=t[0]),t[1]e[3]&&(e[3]=t[1])}function Ia(e,t,i,s,n){for(;it[0]?s[0]=e[0]:s[0]=t[0],e[1]>t[1]?s[1]=e[1]:s[1]=t[1],e[2]=t[0]&&e[1]<=t[3]&&e[3]>=t[1]}function Xs(e){return e[2]=a&&_<=h),!s&&r&it.RIGHT&&!(n&it.RIGHT)&&(m=f-(d-h)*g,s=m>=o&&m<=l),!s&&r&it.BELOW&&!(n&it.BELOW)&&(_=d-(f-o)/g,s=_>=a&&_<=h),!s&&r&it.LEFT&&!(n&it.LEFT)&&(m=f-(d-a)*g,s=m>=o&&m<=l)}return s}function zh(e,t){return e[0]+=+t[0],e[1]+=+t[1],e}function xs(e,t){let i=!0;for(let s=e.length-1;s>=0;--s)if(e[s]!=t[s]){i=!1;break}return i}function Fn(e,t){const i=Math.cos(t),s=Math.sin(t),n=e[0]*i-e[1]*s,r=e[1]*i+e[0]*s;return e[0]=n,e[1]=r,e}function kh(e,t){return e[0]*=t,e[1]*=t,e}function jh(e,t){if(t.canWrapX()){const i=W(t.getExtent()),s=Sa(e,t,i);s&&(e[0]-=s*i)}return e}function Sa(e,t,i){const s=t.getExtent();let n=0;return t.canWrapX()&&(e[0]s[2])&&(i=i||W(s),n=Math.floor((e[0]-s[0])/i)),n}const Uh=63710088e-1;function Tr(e,t,i){i=i||Uh;const s=ds(e[1]),n=ds(t[1]),r=(n-s)/2,a=ds(t[0]-e[0])/2,o=Math.sin(r)*Math.sin(r)+Math.sin(a)*Math.sin(a)*Math.cos(s)*Math.cos(n);return 2*i*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))}const Aa={info:1,warn:2,error:3,none:4};let $h=Aa.info;function La(...e){$h>Aa.warn||console.warn(...e)}let vn=!0;function qh(e){vn=!(e===void 0?!0:e)}function Gn(e,t){if(t!==void 0){for(let i=0,s=e.length;i=o?t[r+h]:a[h]}return i}}function xm(e,t,i,s){const n=ht(e),r=ht(t);li(n,r,Ir(i)),li(r,n,Ir(s))}function Ue(e,t){if(e===t)return!0;const i=e.getUnits()===t.getUnits();return(e.getCode()===t.getCode()||kn(e,t)===Gn)&&i}function kn(e,t){const i=e.getCode(),s=t.getCode();let n=Ih(i,s);return n||(n=Oa),n}function Cs(e,t){const i=ht(e),s=ht(t);return kn(i,s)}function Bh(e,t,i){return Cs(t,i)(e,void 0,e.length)}function Mn(e,t){return e}function Ut(e,t){return vn&&!xs(e,[0,0])&&e[0]>=-180&&e[0]<=180&&e[1]>=-90&&e[1]<=90&&(vn=!1,La("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),e}function Vh(e,t){return e}function Ze(e,t){return e}function Cm(e,t,i){return function(s){let n,r;if(e.canWrapX()){const a=e.getExtent(),o=W(a);s=s.slice(0),r=Sa(s,e,o),r&&(s[0]=s[0]-r*o),s[0]=Y(s[0],a[0],a[2]),s[1]=Y(s[1],a[1],a[3]),n=i(s)}else n=i(s);return r&&t.canWrapX()&&(n[0]+=r*W(t.getExtent())),n}}function Wh(){wr(pr),wr(xr),Zh(xr,pr,xh,Ch)}Wh();function Pr(e,t,i){return function(s,n,r,a,o){if(!s)return;if(!n&&!t)return s;const h=t?0:r[0]*n,l=t?0:r[1]*n,c=o?o[0]:0,u=o?o[1]:0;let d=e[0]+h/2+c,f=e[2]-h/2+c,g=e[1]+l/2+u,_=e[3]-l/2+u;d>f&&(d=(f+d)/2,f=d),g>_&&(g=(_+g)/2,_=g);let m=Y(s[0],d,f),v=Y(s[1],g,_);if(a&&i&&n){const y=30*n;m+=-y*Math.log(1+Math.max(0,d-s[0])/y)+y*Math.log(1+Math.max(0,s[0]-f)/y),v+=-y*Math.log(1+Math.max(0,g-s[1])/y)+y*Math.log(1+Math.max(0,s[1]-_)/y)}return[m,v]}}function Yh(e){return e}function jn(e,t,i,s){const n=W(t)/i[0],r=Dt(t)/i[1];return s?Math.min(e,Math.max(n,r)):Math.min(e,Math.min(n,r))}function Un(e,t,i){let s=Math.min(e,t);const n=50;return s*=Math.log(1+n*Math.max(0,e/t-1))/n+1,i&&(s=Math.max(s,i),s/=Math.log(1+n*Math.max(0,i/e-1))/n+1),Y(s,i/2,t*2)}function Hh(e,t,i,s){return t=t!==void 0?t:!0,function(n,r,a,o){if(n!==void 0){const h=e[0],l=e[e.length-1],c=i?jn(h,i,a,s):h;if(o)return t?Un(n,c,l):Y(n,l,c);const u=Math.min(c,n),d=Math.floor(Ln(e,u,r));return e[d]>c&&d1)u=i;else if(d>0){for(let f=0;fn&&(n=l),r=o,a=h}return n}function yl(e,t,i,s,n){for(let r=0,a=i.length;r0;){const u=l.pop(),d=l.pop();let f=0;const g=e[d],_=e[d+1],m=e[u],v=e[u+1];for(let y=d+s;yf&&(c=y,f=C)}f>n&&(h[(c-t)/s]=1,d+s0&&_>f)&&(g<0&&m0&&m>g)){l=u,c=d;continue}r[a++]=l,r[a++]=c,o=l,h=c,l=u,c=d}return r[a++]=l,r[a++]=c,a}function Cl(e,t,i,s,n,r,a,o){for(let h=0,l=i.length;hr&&(l-o)*(r-h)-(n-o)*(c-h)>0&&a++:c<=r&&(l-o)*(r-h)-(n-o)*(c-h)<0&&a--,o=l,h=c}return a!==0}function Za(e,t,i,s,n,r){if(i.length===0||!Ee(e,t,i[0],s,n,r))return!1;for(let a=1,o=i.length;av&&(l=(c+u)/2,Za(e,t,i,s,l,g)&&(m=l,v=y)),c=u}return isNaN(m)&&(m=n[r]),a?(a.push(m,g,v),a):[m,g,v]}function Sl(e,t,i,s,n){let r;for(t+=s;t=n[0]&&r[2]<=n[2]||r[1]>=n[1]&&r[3]<=n[3]?!0:Sl(e,t,i,s,function(a,o){return Gh(n,a,o)}):!1}function Va(e,t,i,s,n){return!!(Ba(e,t,i,s,n)||Ee(e,t,i,s,n[0],n[1])||Ee(e,t,i,s,n[0],n[3])||Ee(e,t,i,s,n[2],n[1])||Ee(e,t,i,s,n[2],n[3]))}function Al(e,t,i,s,n){if(!Va(e,t,i[0],s,n))return!1;if(i.length===1)return!0;for(let r=1,a=i.length;r0}function Ol(e,t,i,s,n){n=n!==void 0?n:!1;for(let r=0,a=i.length;r1&&typeof arguments[i-1]=="function"&&(s=arguments[i-1],--i);let n=0;for(;n0}getInteracting(){return this.hints_[pt.INTERACTING]>0}cancelAnimations(){this.setHint(pt.ANIMATING,-this.hints_[pt.ANIMATING]);let t;for(let i=0,s=this.animations_.length;i=0;--s){const n=this.animations_[s];let r=!0;for(let a=0,o=n.length;a0?l/h.duration:1;c>=1?(h.complete=!0,c=1):r=!1;const u=h.easing(c);if(h.sourceCenter){const d=h.sourceCenter[0],f=h.sourceCenter[1],g=h.targetCenter[0],_=h.targetCenter[1];this.nextCenter_=h.targetCenter;const m=d+u*(g-d),v=f+u*(_-f);this.targetCenter_=[m,v]}if(h.sourceResolution&&h.targetResolution){const d=u===1?h.targetResolution:h.sourceResolution+u*(h.targetResolution-h.sourceResolution);if(h.anchor){const f=this.getViewportSize_(this.getRotation()),g=this.constraints_.resolution(d,0,f,!0);this.targetCenter_=this.calculateCenterZoom(g,h.anchor)}this.nextResolution_=h.targetResolution,this.targetResolution_=d,this.applyTargetState_(!0)}if(h.sourceRotation!==void 0&&h.targetRotation!==void 0){const d=u===1?Je(h.targetRotation+Math.PI,2*Math.PI)-Math.PI:h.sourceRotation+u*(h.targetRotation-h.sourceRotation);if(h.anchor){const f=this.constraints_.rotation(d,!0);this.targetCenter_=this.calculateCenterRotate(f,h.anchor)}this.nextRotation_=h.targetRotation,this.targetRotation_=d}if(this.applyTargetState_(!0),i=!0,!h.complete)break}if(r){this.animations_[s]=null,this.setHint(pt.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const a=n[0].callback;a&&ns(a,!0)}}this.animations_=this.animations_.filter(Boolean),i&&this.updateAnimationKey_===void 0&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(t,i){let s;const n=this.getCenterInternal();return n!==void 0&&(s=[n[0]-i[0],n[1]-i[1]],Fn(s,t-this.getRotation()),zh(s,i)),s}calculateCenterZoom(t,i){let s;const n=this.getCenterInternal(),r=this.getResolution();if(n!==void 0&&r!==void 0){const a=i[0]-t*(i[0]-n[0])/r,o=i[1]-t*(i[1]-n[1])/r;s=[a,o]}return s}getViewportSize_(t){const i=this.viewportSize_;if(t){const s=i[0],n=i[1];return[Math.abs(s*Math.cos(t))+Math.abs(n*Math.sin(t)),Math.abs(s*Math.sin(t))+Math.abs(n*Math.cos(t))]}return i}setViewportSize(t){this.viewportSize_=Array.isArray(t)?t.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const t=this.getCenterInternal();return t&&Mn(t,this.getProjection())}getCenterInternal(){return this.get(Tt.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(t){return t!==void 0?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()}calculateExtent(t){const i=this.calculateExtentInternal(t);return Vh(i,this.getProjection())}calculateExtentInternal(t){t=t||this.getViewportSizeMinusPadding_();const i=this.getCenterInternal();j(i,"The view center is not defined");const s=this.getResolution();j(s!==void 0,"The view resolution is not defined");const n=this.getRotation();return j(n!==void 0,"The view rotation is not defined"),mn(i,s,n,t)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))}setConstrainResolution(t){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:t}))}getProjection(){return this.projection_}getResolution(){return this.get(Tt.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(t,i){return this.getResolutionForExtentInternal(Ze(t,this.getProjection()),i)}getResolutionForExtentInternal(t,i){i=i||this.getViewportSizeMinusPadding_();const s=W(t)/i[0],n=Dt(t)/i[1];return Math.max(s,n)}getResolutionForValueFunction(t){t=t||2;const i=this.getConstrainedResolution(this.maxResolution_),s=this.minResolution_,n=Math.log(i/s)/Math.log(t);return function(r){return i/Math.pow(t,r*n)}}getRotation(){return this.get(Tt.ROTATION)}getValueForResolutionFunction(t){const i=Math.log(t||2),s=this.getConstrainedResolution(this.maxResolution_),n=this.minResolution_,r=Math.log(s/n)/i;return function(a){return Math.log(s/a)/i/r}}getViewportSizeMinusPadding_(t){let i=this.getViewportSize_(t);const s=this.padding_;return s&&(i=[i[0]-s[1]-s[3],i[1]-s[0]-s[2]]),i}getState(){const t=this.getProjection(),i=this.getResolution(),s=this.getRotation();let n=this.getCenterInternal();const r=this.padding_;if(r){const a=this.getViewportSizeMinusPadding_();n=en(n,this.getViewportSize_(),[a[0]/2+r[3],a[1]/2+r[0]],i,s)}return{center:n.slice(0),projection:t!==void 0?t:null,resolution:i,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:s,zoom:this.getZoom()}}getViewStateAndExtent(){return{viewState:this.getState(),extent:this.calculateExtent()}}getZoom(){let t;const i=this.getResolution();return i!==void 0&&(t=this.getZoomForResolution(i)),t}getZoomForResolution(t){let i=this.minZoom_||0,s,n;if(this.resolutions_){const r=Ln(this.resolutions_,t,1);i=r,s=this.resolutions_[r],r==this.resolutions_.length-1?n=2:n=s/this.resolutions_[r+1]}else s=this.maxResolution_,n=this.zoomFactor_;return i+Math.log(s/t)/Math.log(n)}getResolutionForZoom(t){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;const i=Y(Math.floor(t),0,this.resolutions_.length-2),s=this.resolutions_[i]/this.resolutions_[i+1];return this.resolutions_[i]/Math.pow(s,Y(t-i,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,t-this.minZoom_)}fit(t,i){let s;if(j(Array.isArray(t)||typeof t.getSimplifiedGeometry=="function","Invalid extent or geometry provided as `geometry`"),Array.isArray(t)){j(!Xs(t),"Cannot fit empty extent provided as `geometry`");const n=Ze(t,this.getProjection());s=zr(n)}else if(t.getType()==="Circle"){const n=Ze(t.getExtent(),this.getProjection());s=zr(n),s.rotate(this.getRotation(),we(n))}else s=t;this.fitInternal(s,i)}rotatedExtentForGeometry(t){const i=this.getRotation(),s=Math.cos(i),n=Math.sin(-i),r=t.getFlatCoordinates(),a=t.getStride();let o=1/0,h=1/0,l=-1/0,c=-1/0;for(let u=0,d=r.length;u{this.dispatchEvent("sourceready")},0))),this.changed()}getFeatures(t){return this.renderer_?this.renderer_.getFeatures(t):Promise.resolve([])}getData(t){return!this.renderer_||!this.rendered?null:this.renderer_.getData(t)}isVisible(t){let i;const s=this.getMapInternal();!t&&s&&(t=s.getView()),t instanceof Ct?i={viewState:t.getState(),extent:t.calculateExtent()}:i=t,!i.layerStatesArray&&s&&(i.layerStatesArray=s.getLayerGroup().getLayerStatesArray());let n;i.layerStatesArray?n=i.layerStatesArray.find(a=>a.layer===this):n=this.getLayerState();const r=this.getExtent();return Xn(n,i.viewState)&&(!r||Ki(r,i.extent))}getAttributions(t){if(!this.isVisible(t))return[];let i;const s=this.getSource();if(s&&(i=s.getAttributions()),!i)return[];const n=t instanceof Ct?t.getViewStateAndExtent():t;let r=i(n);return Array.isArray(r)||(r=[r]),r}render(t,i){const s=this.getRenderer();return s.prepareFrame(t)?(this.rendered=!0,s.renderFrame(t,i)):null}unrender(){this.rendered=!1}setMapInternal(t){t||this.unrender(),this.set(F.MAP,t)}getMapInternal(){return this.get(F.MAP)}setMap(t){this.mapPrecomposeKey_&&(B(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(B(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=G(t,ce.PRECOMPOSE,function(i){const n=i.frameState.layerStatesArray,r=this.getLayerState(!1);j(!n.some(function(a){return a.layer===r.layer}),"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both."),n.push(r)},this),this.mapRenderKey_=G(this,O.CHANGE,t.render,t),this.changed())}setSource(t){this.set(F.SOURCE,t)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}disposeInternal(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),super.disposeInternal()}}function Xn(e,t){if(!e.visible)return!1;const i=t.resolution;if(i=e.maxResolution)return!1;const s=t.zoom;return s>e.minZoom&&s<=e.maxZoom}const Ks=kl,rs={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"};class jl extends Ks{constructor(t){t=t||{};const i=Object.assign({},t);delete i.preload,delete i.useInterimTilesOnError,super(i),this.on,this.once,this.un,this.setPreload(t.preload!==void 0?t.preload:0),this.setUseInterimTilesOnError(t.useInterimTilesOnError!==void 0?t.useInterimTilesOnError:!0)}getPreload(){return this.get(rs.PRELOAD)}setPreload(t){this.set(rs.PRELOAD,t)}getUseInterimTilesOnError(){return this.get(rs.USE_INTERIM_TILES_ON_ERROR)}setUseInterimTilesOnError(t){this.set(rs.USE_INTERIM_TILES_ON_ERROR,t)}getData(t){return super.getData(t)}}const Ul=jl,Ge={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};class $l extends $i{constructor(t){super(),this.ready=!0,this.boundHandleImageChange_=this.handleImageChange_.bind(this),this.layer_=t,this.declutterExecutorGroup=null}getFeatures(t){return X()}getData(t){return null}prepareFrame(t){return X()}renderFrame(t,i){return X()}loadedTileCallback(t,i,s){t[i]||(t[i]={}),t[i][s.tileCoord.toString()]=s}createLoadedTileFinder(t,i,s){return(n,r)=>{const a=this.loadedTileCallback.bind(this,s,n);return t.forEachLoadedTile(i,n,r,a)}}forEachFeatureAtCoordinate(t,i,s,n,r){}getLayer(){return this.layer_}handleFontsChanged(){}handleImageChange_(t){const i=t.target;(i.getState()===Ge.LOADED||i.getState()===Ge.ERROR)&&this.renderIfReadyAndVisible()}loadImage(t){let i=t.getState();return i!=Ge.LOADED&&i!=Ge.ERROR&&t.addEventListener(O.CHANGE,this.boundHandleImageChange_),i==Ge.IDLE&&(t.load(),i=t.getState()),i==Ge.LOADED}renderIfReadyAndVisible(){const t=this.getLayer();t&&t.getVisible()&&t.getSourceState()==="ready"&&t.changed()}disposeInternal(){delete this.layer_,super.disposeInternal()}}const ql=$l;class Xl extends _e{constructor(t,i,s,n){super(t),this.inversePixelTransform=i,this.frameState=s,this.context=n}}const Ya=Xl,Kl=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,Zl=/^([a-z]*)$|^hsla?\(.*\)$/i;function Bl(e){return typeof e=="string"?e:Hl(e)}function Vl(e){const t=document.createElement("div");if(t.style.color=e,t.style.color!==""){document.body.appendChild(t);const i=getComputedStyle(t).color;return document.body.removeChild(t),i}return""}const Wl=function(){const t={};let i=0;return function(s){let n;if(t.hasOwnProperty(s))n=t[s];else{if(i>=1024){let r=0;for(const a in t)r++&3||(delete t[a],--i)}n=Yl(s),t[s]=n,++i}return n}}();function kr(e){return Array.isArray(e)?e:Wl(e)}function Yl(e){let t,i,s,n,r;if(Zl.exec(e)&&(e=Vl(e)),Kl.exec(e)){const a=e.length-1;let o;a<=4?o=1:o=2;const h=a===4||a===8;t=parseInt(e.substr(1+0*o,o),16),i=parseInt(e.substr(1+1*o,o),16),s=parseInt(e.substr(1+2*o,o),16),h?n=parseInt(e.substr(1+3*o,o),16):n=255,o==1&&(t=(t<<4)+t,i=(i<<4)+i,s=(s<<4)+s,h&&(n=(n<<4)+n)),r=[t,i,s,n/255]}else if(e.startsWith("rgba("))r=e.slice(5,-1).split(",").map(Number),jr(r);else if(e.startsWith("rgb("))r=e.slice(4,-1).split(",").map(Number),r.push(1),jr(r);else throw new Error("Invalid color");return r}function jr(e){return e[0]=Y(e[0]+.5|0,0,255),e[1]=Y(e[1]+.5|0,0,255),e[2]=Y(e[2]+.5|0,0,255),e[3]=Y(e[3],0,1),e}function Hl(e){let t=e[0];t!=(t|0)&&(t=t+.5|0);let i=e[1];i!=(i|0)&&(i=i+.5|0);let s=e[2];s!=(s|0)&&(s=s+.5|0);const n=e[3]===void 0?1:Math.round(e[3]*100)/100;return"rgba("+t+","+i+","+s+","+n+")"}function ci(e,t,i,s){let n;return i&&i.length?n=i.shift():Ga?n=new OffscreenCanvas(e||300,t||300):n=document.createElement("canvas"),e&&(n.width=e),t&&(n.height=t),n.getContext("2d",s)}function Kn(e){const t=e.canvas;t.width=1,t.height=1,e.clearRect(0,0,1,1)}function Ur(e,t){const i=t.parentNode;i&&i.replaceChild(e,t)}function pn(e){return e&&e.parentNode?e.parentNode.removeChild(e):null}function Ql(e){for(;e.lastChild;)e.removeChild(e.lastChild)}function Jl(e,t){const i=e.childNodes;for(let s=0;;++s){const n=i[s],r=t[s];if(!n&&!r)break;if(n!==r){if(!n){e.appendChild(r);continue}if(!r){e.removeChild(n),--s;continue}e.insertBefore(r,n)}}}let $e=null;function tc(){$e=ci(1,1,void 0,{willReadFrequently:!0})}class ec extends ql{constructor(t){super(t),this.container=null,this.renderedResolution,this.tempTransform=ei(),this.pixelTransform=ei(),this.inversePixelTransform=ei(),this.context=null,this.containerReused=!1,this.pixelContext_=null,this.frameState=null}getImageData(t,i,s){$e||tc(),$e.clearRect(0,0,1,1);let n;try{$e.drawImage(t,i,s,1,1,0,0,1,1),n=$e.getImageData(0,0,1,1).data}catch{return $e=null,null}return n}getBackground(t){let s=this.getLayer().getBackground();return typeof s=="function"&&(s=s(t.viewState.resolution)),s||void 0}useContainer(t,i,s){const n=this.getLayer().getClassName();let r,a;if(t&&t.className===n&&(!s||t&&t.style.backgroundColor&&Gs(kr(t.style.backgroundColor),kr(s)))){const o=t.firstElementChild;o instanceof HTMLCanvasElement&&(a=o.getContext("2d"))}if(a&&a.canvas.style.transform===i?(this.container=t,this.context=a,this.containerReused=!0):this.containerReused?(this.container=null,this.context=null,this.containerReused=!1):this.container&&(this.container.style.backgroundColor=null),!this.container){r=document.createElement("div"),r.className=n;let o=r.style;o.position="absolute",o.width="100%",o.height="100%",a=ci();const h=a.canvas;r.appendChild(h),o=h.style,o.position="absolute",o.left="0",o.transformOrigin="top left",this.container=r,this.context=a}!this.containerReused&&s&&!this.container.style.backgroundColor&&(this.container.style.backgroundColor=s)}clipUnrotated(t,i,s){const n=Ae(s),r=qs(s),a=$s(s),o=Us(s);Et(i.coordinateToPixelTransform,n),Et(i.coordinateToPixelTransform,r),Et(i.coordinateToPixelTransform,a),Et(i.coordinateToPixelTransform,o);const h=this.inversePixelTransform;Et(h,n),Et(h,r),Et(h,a),Et(h,o),t.save(),t.beginPath(),t.moveTo(Math.round(n[0]),Math.round(n[1])),t.lineTo(Math.round(r[0]),Math.round(r[1])),t.lineTo(Math.round(a[0]),Math.round(a[1])),t.lineTo(Math.round(o[0]),Math.round(o[1])),t.clip()}dispatchRenderEvent_(t,i,s){const n=this.getLayer();if(n.hasListener(t)){const r=new Ya(t,this.inversePixelTransform,s,i);n.dispatchEvent(r)}}preRender(t,i){this.frameState=i,this.dispatchRenderEvent_(ce.PRERENDER,t,i)}postRender(t,i){this.dispatchRenderEvent_(ce.POSTRENDER,t,i)}getRenderTransform(t,i,s,n,r,a,o){const h=r/2,l=a/2,c=n/i,u=-c,d=-t[0]+o,f=-t[1];return wi(this.tempTransform,h,l,c,u,-s,d,f)}disposeInternal(){delete this.frameState,super.disposeInternal()}}const ic=ec,w={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};class sc extends On{constructor(t,i,s){super(),s=s||{},this.tileCoord=t,this.state=i,this.interimTile=null,this.key="",this.transition_=s.transition===void 0?250:s.transition,this.transitionStarts_={},this.interpolate=!!s.interpolate}changed(){this.dispatchEvent(O.CHANGE)}release(){this.state===w.ERROR&&this.setState(w.EMPTY)}getKey(){return this.key+"/"+this.tileCoord}getInterimTile(){if(!this.interimTile)return this;let t=this.interimTile;do{if(t.getState()==w.LOADED)return this.transition_=0,t;t=t.interimTile}while(t);return this}refreshInterimChain(){if(!this.interimTile)return;let t=this.interimTile,i=this;do{if(t.getState()==w.LOADED){t.interimTile=null;break}else t.getState()==w.LOADING?i=t:t.getState()==w.IDLE?i.interimTile=t.interimTile:i=t;t=i.interimTile}while(t)}getTileCoord(){return this.tileCoord}getState(){return this.state}setState(t){if(this.state!==w.ERROR&&this.state>t)throw new Error("Tile load sequence violation");this.state=t,this.changed()}load(){X()}getAlpha(t,i){if(!this.transition_)return 1;let s=this.transitionStarts_[t];if(!s)s=i,this.transitionStarts_[t]=s;else if(s===-1)return 1;const n=i-s+1e3/60;return n>=this.transition_?1:Na(n/this.transition_)}inTransition(t){return this.transition_?this.transitionStarts_[t]!==-1:!1}endTransition(t){this.transition_&&(this.transitionStarts_[t]=-1)}}const Ha=sc;function nc(e,t,i){const s=e;let n=!0,r=!1,a=!1;const o=[ps(s,O.LOAD,function(){a=!0,r||t()})];return s.src&&al?(r=!0,s.decode().then(function(){n&&t()}).catch(function(h){n&&(a?t():i())})):o.push(ps(s,O.ERROR,i)),function(){n=!1,o.forEach(B)}}class rc extends Ha{constructor(t,i,s,n,r,a){super(t,i,a),this.crossOrigin_=n,this.src_=s,this.key=s,this.image_=new Image,n!==null&&(this.image_.crossOrigin=n),this.unlisten_=null,this.tileLoadFunction_=r}getImage(){return this.image_}setImage(t){this.image_=t,this.state=w.LOADED,this.unlistenImage_(),this.changed()}handleImageError_(){this.state=w.ERROR,this.unlistenImage_(),this.image_=ac(),this.changed()}handleImageLoad_(){const t=this.image_;t.naturalWidth&&t.naturalHeight?this.state=w.LOADED:this.state=w.EMPTY,this.unlistenImage_(),this.changed()}load(){this.state==w.ERROR&&(this.state=w.IDLE,this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==w.IDLE&&(this.state=w.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=nc(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}}function ac(){const e=ci(1,1);return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),e.canvas}const Qa=rc,oc=.5,hc=10,$r=.25;class lc{constructor(t,i,s,n,r,a){this.sourceProj_=t,this.targetProj_=i;let o={};const h=Cs(this.targetProj_,this.sourceProj_);this.transformInv_=function(y){const p=y[0]+"/"+y[1];return o[p]||(o[p]=h(y)),o[p]},this.maxSourceExtent_=n,this.errorThresholdSquared_=r*r,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!n&&!!this.sourceProj_.getExtent()&&W(n)>=W(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?W(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?W(this.targetProj_.getExtent()):null;const l=Ae(s),c=qs(s),u=$s(s),d=Us(s),f=this.transformInv_(l),g=this.transformInv_(c),_=this.transformInv_(u),m=this.transformInv_(d),v=hc+(a?Math.max(0,Math.ceil(Math.log2(_n(s)/(a*a*256*256)))):0);if(this.addQuad_(l,c,u,d,f,g,_,m,v),this.wrapsXInSource_){let y=1/0;this.triangles_.forEach(function(p,M,C){y=Math.min(y,p.source[0][0],p.source[1][0],p.source[2][0])}),this.triangles_.forEach(p=>{if(Math.max(p.source[0][0],p.source[1][0],p.source[2][0])-y>this.sourceWorldWidth_/2){const M=[[p.source[0][0],p.source[0][1]],[p.source[1][0],p.source[1][1]],[p.source[2][0],p.source[2][1]]];M[0][0]-y>this.sourceWorldWidth_/2&&(M[0][0]-=this.sourceWorldWidth_),M[1][0]-y>this.sourceWorldWidth_/2&&(M[1][0]-=this.sourceWorldWidth_),M[2][0]-y>this.sourceWorldWidth_/2&&(M[2][0]-=this.sourceWorldWidth_);const C=Math.min(M[0][0],M[1][0],M[2][0]);Math.max(M[0][0],M[1][0],M[2][0])-C.5&&u<1;let g=!1;if(l>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){const m=Cr([t,i,s,n]);g=W(m)/this.targetWorldWidth_>$r||g}!f&&this.sourceProj_.isGlobal()&&u&&(g=u>$r||g)}if(!g&&this.maxSourceExtent_&&isFinite(c[0])&&isFinite(c[1])&&isFinite(c[2])&&isFinite(c[3])&&!Ki(c,this.maxSourceExtent_))return;let _=0;if(!g&&(!isFinite(r[0])||!isFinite(r[1])||!isFinite(a[0])||!isFinite(a[1])||!isFinite(o[0])||!isFinite(o[1])||!isFinite(h[0])||!isFinite(h[1]))){if(l>0)g=!0;else if(_=(!isFinite(r[0])||!isFinite(r[1])?8:0)+(!isFinite(a[0])||!isFinite(a[1])?4:0)+(!isFinite(o[0])||!isFinite(o[1])?2:0)+(!isFinite(h[0])||!isFinite(h[1])?1:0),_!=1&&_!=2&&_!=4&&_!=8)return}if(l>0){if(!g){const m=[(t[0]+s[0])/2,(t[1]+s[1])/2],v=this.transformInv_(m);let y;f?y=(Je(r[0],d)+Je(o[0],d))/2-Je(v[0],d):y=(r[0]+o[0])/2-v[0];const p=(r[1]+o[1])/2-v[1];g=y*y+p*p>this.errorThresholdSquared_}if(g){if(Math.abs(t[0]-s[0])<=Math.abs(t[1]-s[1])){const m=[(i[0]+s[0])/2,(i[1]+s[1])/2],v=this.transformInv_(m),y=[(n[0]+t[0])/2,(n[1]+t[1])/2],p=this.transformInv_(y);this.addQuad_(t,i,m,y,r,a,v,p,l-1),this.addQuad_(y,m,s,n,p,v,o,h,l-1)}else{const m=[(t[0]+i[0])/2,(t[1]+i[1])/2],v=this.transformInv_(m),y=[(s[0]+n[0])/2,(s[1]+n[1])/2],p=this.transformInv_(y);this.addQuad_(t,m,y,n,r,v,p,h,l-1),this.addQuad_(m,i,s,y,v,a,o,p,l-1)}return}}if(f){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}_&11||this.addTriangle_(t,s,n,r,o,h),_&14||this.addTriangle_(t,s,i,r,o,a),_&&(_&13||this.addTriangle_(i,n,t,a,h,r),_&7||this.addTriangle_(i,n,s,a,h,o))}calculateSourceExtent(){const t=Se();return this.triangles_.forEach(function(i,s,n){const r=i.source;fs(t,r[0]),fs(t,r[1]),fs(t,r[2])}),t}getTriangles(){return this.triangles_}}const cc=lc;let sn;const ii=[];function qr(e,t,i,s,n){e.beginPath(),e.moveTo(0,0),e.lineTo(t,i),e.lineTo(s,n),e.closePath(),e.save(),e.clip(),e.fillRect(0,0,Math.max(t,s)+1,Math.max(i,n)),e.restore()}function nn(e,t){return Math.abs(e[t*4]-210)>2||Math.abs(e[t*4+3]-.75*255)>2}function uc(){if(sn===void 0){const e=ci(6,6,ii);e.globalCompositeOperation="lighter",e.fillStyle="rgba(210, 0, 0, 0.75)",qr(e,4,5,4,0),qr(e,4,5,0,5);const t=e.getImageData(0,0,3,3).data;sn=nn(t,0)||nn(t,4)||nn(t,8),Kn(e),ii.push(e.canvas)}return sn}function Xr(e,t,i,s){const n=Bh(i,t,e);let r=br(t,s,i);const a=t.getMetersPerUnit();a!==void 0&&(r*=a);const o=e.getMetersPerUnit();o!==void 0&&(r/=o);const h=e.getExtent();if(!h||Dn(h,n)){const l=br(e,r,n)/r;isFinite(l)&&l>0&&(r/=l)}return r}function dc(e,t,i,s){const n=we(i);let r=Xr(e,t,n,s);return(!isFinite(r)||r<=0)&&Pa(i,function(a){return r=Xr(e,t,a,s),isFinite(r)&&r>0}),r}function fc(e,t,i,s,n,r,a,o,h,l,c,u){const d=ci(Math.round(i*e),Math.round(i*t),ii);if(u||(d.imageSmoothingEnabled=!1),h.length===0)return d.canvas;d.scale(i,i);function f(M){return Math.round(M*i)/i}d.globalCompositeOperation="lighter";const g=Se();h.forEach(function(M,C,b){Oh(g,M.extent)});const _=W(g),m=Dt(g),v=ci(Math.round(i*_/s),Math.round(i*m/s),ii);u||(v.imageSmoothingEnabled=!1);const y=i/s;h.forEach(function(M,C,b){const I=M.extent[0]-g[0],P=-(M.extent[3]-g[3]),z=W(M.extent),U=Dt(M.extent);M.image.width>0&&M.image.height>0&&v.drawImage(M.image,l,l,M.image.width-2*l,M.image.height-2*l,I*y,P*y,z*y,U*y)});const p=Ae(a);return o.getTriangles().forEach(function(M,C,b){const I=M.source,P=M.target;let z=I[0][0],U=I[0][1],Q=I[1][0],gt=I[1][1],It=I[2][0],mi=I[2][1];const Pt=f((P[0][0]-p[0])/r),Gt=f(-(P[0][1]-p[1])/r),k=f((P[1][0]-p[0])/r),_t=f(-(P[1][1]-p[1])/r),zt=f((P[2][0]-p[0])/r),St=f(-(P[2][1]-p[1])/r),me=z,lt=U;z=0,U=0,Q-=me,gt-=lt,It-=me,mi-=lt;const At=[[Q,gt,0,0,k-Pt],[It,mi,0,0,zt-Pt],[0,0,Q,gt,_t-Gt],[0,0,It,mi,St-Gt]],H=_h(At);if(H){if(d.save(),d.beginPath(),uc()||!u){d.moveTo(k,_t);const V=4,Le=Pt-k,Wt=Gt-_t;for(let ct=0;ct{i&&i.getState()==w.LOADED&&t.push({extent:this.sourceTileGrid_.getTileCoordExtent(i.tileCoord),image:i.getImage()})}),this.sourceTiles_.length=0,t.length===0)this.state=w.ERROR;else{const i=this.wrappedTileCoord_[0],s=this.targetTileGrid_.getTileSize(i),n=typeof s=="number"?s:s[0],r=typeof s=="number"?s:s[1],a=this.targetTileGrid_.getResolution(i),o=this.sourceTileGrid_.getResolution(this.sourceZ_),h=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=fc(n,r,this.pixelRatio_,o,this.sourceTileGrid_.getExtent(),a,h,this.triangulation_,t,this.gutter_,this.renderEdges_,this.interpolate),this.state=w.LOADED}this.changed()}load(){if(this.state==w.IDLE){this.state=w.LOADING,this.changed();let t=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(i=>{const s=i.getState();if(s==w.IDLE||s==w.LOADING){t++;const n=G(i,O.CHANGE,function(r){const a=i.getState();(a==w.LOADED||a==w.ERROR||a==w.EMPTY)&&(B(n),t--,t===0&&(this.unlistenSources_(),this.reproject_()))},this);this.sourcesListenerKeys_.push(n)}}),t===0?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach(function(i,s,n){i.getState()==w.IDLE&&i.load()})}}unlistenSources_(){this.sourcesListenerKeys_.forEach(B),this.sourcesListenerKeys_=null}release(){this.canvas_&&(Kn(this.canvas_.getContext("2d")),ii.push(this.canvas_),this.canvas_=null),super.release()}}const En=gc;class Ja{constructor(t,i,s,n){this.minX=t,this.maxX=i,this.minY=s,this.maxY=n}contains(t){return this.containsXY(t[1],t[2])}containsTileRange(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY}containsXY(t,i){return this.minX<=t&&t<=this.maxX&&this.minY<=i&&i<=this.maxY}equals(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY}extend(t){t.minXthis.maxX&&(this.maxX=t.maxX),t.minYthis.maxY&&(this.maxY=t.maxY)}getHeight(){return this.maxY-this.minY+1}getSize(){return[this.getWidth(),this.getHeight()]}getWidth(){return this.maxX-this.minX+1}intersects(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY}}function ze(e,t,i,s,n){return n!==void 0?(n.minX=e,n.maxX=t,n.minY=i,n.maxY=s,n):new Ja(e,t,i,s)}const to=Ja;function Kr(e){return e[0]>0&&e[1]>0}function _c(e,t,i){return i===void 0&&(i=[0,0]),i[0]=e[0]*t+.5|0,i[1]=e[1]*t+.5|0,i}function le(e,t){return Array.isArray(e)?e:(t===void 0?t=[e,e]:(t[0]=e,t[1]=e),t)}class mc extends ic{constructor(t){super(t),this.extentChanged=!0,this.renderedExtent_=null,this.renderedPixelRatio,this.renderedProjection=null,this.renderedRevision,this.renderedTiles=[],this.newTiles_=!1,this.tmpExtent=Se(),this.tmpTileRange_=new to(0,0,0,0)}isDrawableTile(t){const i=this.getLayer(),s=t.getState(),n=i.getUseInterimTilesOnError();return s==w.LOADED||s==w.EMPTY||s==w.ERROR&&!n}getTile(t,i,s,n){const r=n.pixelRatio,a=n.viewState.projection,o=this.getLayer();let l=o.getSource().getTile(t,i,s,r,a);return l.getState()==w.ERROR&&o.getUseInterimTilesOnError()&&o.getPreload()>0&&(this.newTiles_=!0),this.isDrawableTile(l)||(l=l.getInterimTile()),l}getData(t){const i=this.frameState;if(!i)return null;const s=this.getLayer(),n=Et(i.pixelToCoordinateTransform,t.slice()),r=s.getExtent();if(r&&!Dn(r,n))return null;const a=i.pixelRatio,o=i.viewState.projection,h=i.viewState,l=s.getRenderSource(),c=l.getTileGridForProjection(h.projection),u=l.getTilePixelRatio(i.pixelRatio);for(let d=c.getZForResolution(h.resolution);d>=c.getMinZoom();--d){const f=c.getTileCoordForCoordAndZ(n,d),g=l.getTile(d,f[1],f[2],a,o);if(!(g instanceof Qa||g instanceof En)||g instanceof En&&g.getState()===w.EMPTY)return null;if(g.getState()!==w.LOADED)continue;const _=c.getOrigin(d),m=le(c.getTileSize(d)),v=c.getResolution(d),y=Math.floor(u*((n[0]-_[0])/v-f[1]*m[0])),p=Math.floor(u*((_[1]-n[1])/v-f[2]*m[1])),M=Math.round(u*l.getGutterForProjection(h.projection));return this.getImageData(g.getImage(),y+M,p+M)}return null}loadedTileCallback(t,i,s){return this.isDrawableTile(s)?super.loadedTileCallback(t,i,s):!1}prepareFrame(t){return!!this.getLayer().getSource()}renderFrame(t,i){const s=t.layerStatesArray[t.layerIndex],n=t.viewState,r=n.projection,a=n.resolution,o=n.center,h=n.rotation,l=t.pixelRatio,c=this.getLayer(),u=c.getSource(),d=u.getRevision(),f=u.getTileGridForProjection(r),g=f.getZForResolution(a,u.zDirection),_=f.getResolution(g);let m=t.extent;const v=t.viewState.resolution,y=u.getTilePixelRatio(l),p=Math.round(W(m)/v*l),M=Math.round(Dt(m)/v*l),C=s.extent&&Ze(s.extent);C&&(m=Ci(m,Ze(s.extent)));const b=_*p/2/y,I=_*M/2/y,P=[o[0]-b,o[1]-I,o[0]+b,o[1]+I],z=f.getTileRangeForExtentAndZ(m,g),U={};U[g]={};const Q=this.createLoadedTileFinder(u,r,U),gt=this.tmpExtent,It=this.tmpTileRange_;this.newTiles_=!1;const mi=h?yn(n.center,v,h,t.size):void 0;for(let At=z.minX;At<=z.maxX;++At)for(let H=z.minY;H<=z.maxY;++H){if(h&&!f.tileCoordIntersectsViewport([g,At,H],mi))continue;const V=this.getTile(g,At,H,t);if(this.isDrawableTile(V)){const ct=dt(this);if(V.getState()==w.LOADED){U[g][V.tileCoord.toString()]=V;let Oe=V.inTransition(ct);Oe&&s.opacity!==1&&(V.endTransition(ct),Oe=!1),!this.newTiles_&&(Oe||!this.renderedTiles.includes(V))&&(this.newTiles_=!0)}if(V.getAlpha(ct,t.time)===1)continue}const Le=f.getTileCoordChildTileRange(V.tileCoord,It,gt);let Wt=!1;Le&&(Wt=Q(g+1,Le)),Wt||f.forEachTileCoordParentTileRange(V.tileCoord,Q,It,gt)}const Pt=_/a*l/y;wi(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/l,1/l,h,-p/2,-M/2);const Gt=hl(this.pixelTransform);this.useContainer(i,Gt,this.getBackground(t));const k=this.context,_t=k.canvas;ka(this.inversePixelTransform,this.pixelTransform),wi(this.tempTransform,p/2,M/2,Pt,Pt,0,-p/2,-M/2),_t.width!=p||_t.height!=M?(_t.width=p,_t.height=M):this.containerReused||k.clearRect(0,0,p,M),C&&this.clipUnrotated(k,t,C),u.getInterpolate()||(k.imageSmoothingEnabled=!1),this.preRender(k,t),this.renderedTiles.length=0;let zt=Object.keys(U).map(Number);zt.sort(An);let St,me,lt;s.opacity===1&&(!this.containerReused||u.getOpaque(t.viewState.projection))?zt=zt.reverse():(St=[],me=[]);for(let At=zt.length-1;At>=0;--At){const H=zt[At],V=u.getTilePixelSize(H,l,r),Wt=f.getResolution(H)/_,ct=V[0]*Wt*Pt,Oe=V[1]*Wt*Pt,Hs=f.getTileCoordForCoordAndZ(Ae(P),H),hr=f.getTileCoordExtent(Hs),Ji=Et(this.tempTransform,[y*(hr[0]-P[0])/_,y*(P[3]-hr[3])/_]),Bo=y*u.getGutterForProjection(r),lr=U[H];for(const Vo in lr){const Ne=lr[Vo],cr=Ne.tileCoord,ur=Hs[1]-cr[1],Wo=Math.round(Ji[0]-(ur-1)*ct),dr=Hs[2]-cr[2],Yo=Math.round(Ji[1]-(dr-1)*Oe),kt=Math.round(Ji[0]-ur*ct),jt=Math.round(Ji[1]-dr*Oe),yi=Wo-kt,vi=Yo-jt,fr=g===H,gr=fr&&Ne.getAlpha(dt(this),t.time)!==1;let Qs=!1;if(!gr)if(St){lt=[kt,jt,kt+yi,jt,kt+yi,jt+vi,kt,jt+vi];for(let ts=0,Ho=St.length;ts0&&this.getCount()>this.highWaterMark}expireCache(t){for(;this.canExpireCache();)this.pop()}clear(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}containsKey(t){return this.entries_.hasOwnProperty(t)}forEach(t){let i=this.oldest_;for(;i;)t(i.value_,i.key_,this),i=i.newer}get(t,i){const s=this.entries_[t];return j(s!==void 0,"Tried to get a value for a key that does not exist in the cache"),s===this.newest_||(s===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(s.newer.older=s.older,s.older.newer=s.newer),s.newer=null,s.older=this.newest_,this.newest_.newer=s,this.newest_=s),s.value_}remove(t){const i=this.entries_[t];return j(i!==void 0,"Tried to get a value for a key that does not exist in the cache"),i===this.newest_?(this.newest_=i.older,this.newest_&&(this.newest_.newer=null)):i===this.oldest_?(this.oldest_=i.newer,this.oldest_&&(this.oldest_.older=null)):(i.newer.older=i.older,i.older.newer=i.newer),delete this.entries_[t],--this.count_,i.value_}getCount(){return this.count_}getKeys(){const t=new Array(this.count_);let i=0,s;for(s=this.newest_;s;s=s.older)t[i++]=s.key_;return t}getValues(){const t=new Array(this.count_);let i=0,s;for(s=this.newest_;s;s=s.older)t[i++]=s.value_;return t}peekLast(){return this.oldest_.value_}peekLastKey(){return this.oldest_.key_}peekFirstKey(){return this.newest_.key_}peek(t){if(this.containsKey(t))return this.entries_[t].value_}pop(){const t=this.oldest_;return delete this.entries_[t.key_],t.newer&&(t.newer.older=null),this.oldest_=t.newer,this.oldest_||(this.newest_=null),--this.count_,t.value_}replace(t,i){this.get(t),this.entries_[t].value_=i}set(t,i){j(!(t in this.entries_),"Tried to set a value for a key that is used already");const s={key_:t,newer:null,older:this.newest_,value_:i};this.newest_?this.newest_.newer=s:this.oldest_=s,this.newest_=s,this.entries_[t]=s,++this.count_}setSize(t){this.highWaterMark=t}}const Ec=pc;function Zr(e,t,i,s){return s!==void 0?(s[0]=e,s[1]=t,s[2]=i,s):[e,t,i]}function Zs(e,t,i){return e+"/"+t+"/"+i}function eo(e){return Zs(e[0],e[1],e[2])}function xc(e){return e.split("/").map(Number)}function Cc(e){return(e[1]<i||i>t.getMaxZoom())return!1;const r=t.getFullTileRange(i);return r?r.containsXY(s,n):!0}class Tc extends Ec{clear(){for(;this.getCount()>0;)this.pop().release();super.clear()}expireCache(t){for(;this.canExpireCache()&&!(this.peekLast().getKey()in t);)this.pop().release()}pruneExceptNewestZ(){if(this.getCount()===0)return;const t=this.peekFirstKey(),s=xc(t)[0];this.forEach(n=>{n.tileCoord[0]!==s&&(this.remove(eo(n.tileCoord)),n.release())})}}const io=Tc,rn={TILELOADSTART:"tileloadstart",TILELOADEND:"tileloadend",TILELOADERROR:"tileloaderror"};class bc extends Bt{constructor(t){super(),this.projection=ht(t.projection),this.attributions_=Br(t.attributions),this.attributionsCollapsible_=t.attributionsCollapsible!==void 0?t.attributionsCollapsible:!0,this.loading=!1,this.state_=t.state!==void 0?t.state:"ready",this.wrapX_=t.wrapX!==void 0?t.wrapX:!1,this.interpolate_=!!t.interpolate,this.viewResolver=null,this.viewRejector=null;const i=this;this.viewPromise_=new Promise(function(s,n){i.viewResolver=s,i.viewRejector=n})}getAttributions(){return this.attributions_}getAttributionsCollapsible(){return this.attributionsCollapsible_}getProjection(){return this.projection}getResolutions(t){return null}getView(){return this.viewPromise_}getState(){return this.state_}getWrapX(){return this.wrapX_}getInterpolate(){return this.interpolate_}refresh(){this.changed()}setAttributions(t){this.attributions_=Br(t),this.changed()}setState(t){this.state_=t,this.changed()}}function Br(e){return e?Array.isArray(e)?function(t){return e}:typeof e=="function"?e:function(t){return[e]}:null}const wc=bc,ke=[0,0,0],Yt=5;class Ic{constructor(t){this.minZoom=t.minZoom!==void 0?t.minZoom:0,this.resolutions_=t.resolutions,j(hh(this.resolutions_,function(n,r){return r-n},!0),"`resolutions` must be sorted in descending order");let i;if(!t.origins){for(let n=0,r=this.resolutions_.length-1;n=this.minZoom;){if(this.zoomFactor_===2?(a=Math.floor(a/2),o=Math.floor(o/2),r=ze(a,a,o,o,s)):r=this.getTileRangeForExtentAndZ(h,l,s),i(l,r))return!0;--l}return!1}getExtent(){return this.extent_}getMaxZoom(){return this.maxZoom}getMinZoom(){return this.minZoom}getOrigin(t){return this.origin_?this.origin_:this.origins_[t]}getResolution(t){return this.resolutions_[t]}getResolutions(){return this.resolutions_}getTileCoordChildTileRange(t,i,s){if(t[0]this.maxZoom||i0?s:Math.max(r/i[0],n/i[1]);const a=t+1,o=new Array(a);for(let h=0;hs.highWaterMark&&(s.highWaterMark=t)}useTile(t,i,s,n){}}class Nc extends _e{constructor(t,i){super(t),this.tile=i}}const Dc=Oc;function Fc(e,t){const i=/\{z\}/g,s=/\{x\}/g,n=/\{y\}/g,r=/\{-y\}/g;return function(a,o,h){if(a)return e.replace(i,a[0].toString()).replace(s,a[1].toString()).replace(n,a[2].toString()).replace(r,function(){const l=a[0],c=t.getFullTileRange(l);return j(c,"The {-y} placeholder requires a tile grid with extent"),(c.getHeight()-a[2]-1).toString()})}}function Gc(e,t){const i=e.length,s=new Array(i);for(let n=0;nthis.getTileInternal(m,v,y,p,a),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.getInterpolate());return _.key=u,l?(_.interimTile=l,_.refreshInterimChain(),o.replace(c,_)):o.set(c,_),_}getTileInternal(t,i,s,n,r){let a=null;const o=Zs(t,i,s),h=this.getKey();if(!this.tileCache.containsKey(o))a=this.createTile_(t,i,s,n,r,h),this.tileCache.set(o,a);else if(a=this.tileCache.get(o),a.key!=h){const l=a;a=this.createTile_(t,i,s,n,r,h),l.getState()==w.IDLE?a.interimTile=l.interimTile:a.interimTile=l,a.refreshInterimChain(),this.tileCache.replace(o,a)}return a}setRenderReprojectionEdges(t){if(this.renderReprojectionEdges_!=t){this.renderReprojectionEdges_=t;for(const i in this.tileCacheForProjection)this.tileCacheForProjection[i].clear();this.changed()}}setTileGridForProjection(t,i){const s=ht(t);if(s){const n=dt(s);n in this.tileGridForProjection||(this.tileGridForProjection[n]=i)}}clear(){super.clear();for(const t in this.tileCacheForProjection)this.tileCacheForProjection[t].clear()}}function jc(e,t){e.getImage().src=t}const ao=kc;class Uc extends ao{constructor(t){t=t||{};const i=t.projection!==void 0?t.projection:"EPSG:3857",s=t.tileGrid!==void 0?t.tileGrid:Ac({extent:Bn(i),maxResolution:t.maxResolution,maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize});super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,opaque:t.opaque,projection:i,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:s,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX!==void 0?t.wrapX:!0,transition:t.transition,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.gutter_=t.gutter!==void 0?t.gutter:0}getGutter(){return this.gutter_}}const $c=Uc,qc='© OpenStreetMap contributors.';class Xc extends $c{constructor(t){t=t||{};let i;t.attributions!==void 0?i=t.attributions:i=[qc];const s=t.crossOrigin!==void 0?t.crossOrigin:"anonymous",n=t.url!==void 0?t.url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png";super({attributions:i,attributionsCollapsible:!1,cacheSize:t.cacheSize,crossOrigin:s,interpolate:t.interpolate,maxZoom:t.maxZoom!==void 0?t.maxZoom:19,opaque:t.opaque!==void 0?t.opaque:!0,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,transition:t.transition,url:n,wrapX:t.wrapX,zDirection:t.zDirection})}}const Kc=Xc;function Vr(e,t){const i=[];Object.keys(t).forEach(function(n){t[n]!==null&&t[n]!==void 0&&i.push(n+"="+encodeURIComponent(t[n]))});const s=i.join("&");return e=e.replace(/[?&]$/,""),e+=e.includes("?")?"&":"?",e+s}class Zc extends Zn{constructor(t){super({extent:t.extent,origin:t.origin,origins:t.origins,resolutions:t.resolutions,tileSize:t.tileSize,tileSizes:t.tileSizes,sizes:t.sizes}),this.matrixIds_=t.matrixIds}getMatrixId(t){return this.matrixIds_[t]}getMatrixIds(){return this.matrixIds_}}const Rm=Zc;class Bc extends ao{constructor(t){const i=t.requestEncoding!==void 0?t.requestEncoding:"KVP",s=t.tileGrid;let n=t.urls;n===void 0&&t.url!==void 0&&(n=ro(t.url)),super({attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:t.tileClass,tileGrid:s,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,urls:n,wrapX:t.wrapX!==void 0?t.wrapX:!1,transition:t.transition,zDirection:t.zDirection}),this.version_=t.version!==void 0?t.version:"1.0.0",this.format_=t.format!==void 0?t.format:"image/jpeg",this.dimensions_=t.dimensions!==void 0?t.dimensions:{},this.layer_=t.layer,this.matrixSet_=t.matrixSet,this.style_=t.style,this.requestEncoding_=i,this.setKey(this.getKeyForDimensions_()),n&&n.length>0&&(this.tileUrlFunction=xn(n.map(this.createFromWMTSTemplate.bind(this))))}setUrls(t){this.urls=t;const i=t.join(` -`);this.setTileUrlFunction(xn(t.map(this.createFromWMTSTemplate.bind(this))),i)}getDimensions(){return this.dimensions_}getFormat(){return this.format_}getLayer(){return this.layer_}getMatrixSet(){return this.matrixSet_}getRequestEncoding(){return this.requestEncoding_}getStyle(){return this.style_}getVersion(){return this.version_}getKeyForDimensions_(){const t=this.urls?this.urls.slice(0):[];for(const i in this.dimensions_)t.push(i+"-"+this.dimensions_[i]);return t.join("/")}updateDimensions(t){Object.assign(this.dimensions_,t),this.setKey(this.getKeyForDimensions_())}createFromWMTSTemplate(t){const i=this.requestEncoding_,s={layer:this.layer_,style:this.style_,tilematrixset:this.matrixSet_};i=="KVP"&&Object.assign(s,{Service:"WMTS",Request:"GetTile",Version:this.version_,Format:this.format_}),t=i=="KVP"?Vr(t,s):t.replace(/\{(\w+?)\}/g,function(a,o){return o.toLowerCase()in s?s[o.toLowerCase()]:a});const n=this.tileGrid,r=this.dimensions_;return function(a,o,h){if(!a)return;const l={TileMatrix:n.getMatrixId(a[0]),TileCol:a[1],TileRow:a[2]};Object.assign(l,r);let c=t;return i=="KVP"?c=Vr(c,l):c=c.replace(/\{(\w+?)\}/g,function(u,d){return l[d]}),c}}}const Tm=Bc,oo="@open-pioneer/map",Vc=Qo.bind(void 0,oo),bm=Ea.bind(void 0,oo);var ho={exports:{}};/*! +var Js=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)};var x=(e,t,i)=>(Js(e,t,"read from private field"),i?i.call(e):t.get(e)),A=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},L=(e,t,i,s)=>(Js(e,t,"write to private field"),s?s.call(e,i):t.set(e,i),i);var _r=(e,t,i,s)=>({set _(n){L(e,t,n,i)},get _(){return x(e,t,s)}}),rt=(e,t,i)=>(Js(e,t,"access private method"),i);import{W as Yo,r as K,X as Ho,j as Kt,G as Qo,_ as mr,E as fi,Y as yr,D as Jo,y as vr,l as th,w as eh,x as ih}from"./559aa200cabb.js";import{B as Ea,S as sh}from"./4e5f68cd39b9.js";import{E as Pn}from"./aeff6946d221.js";class nh{constructor(t){this.propagationStopped,this.defaultPrevented,this.type=t,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}}const _e=nh,Ti={PROPERTYCHANGE:"propertychange"};class rh{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}}const Sn=rh;function An(e,t){return e>t?1:e0?n-1:n}return s-1}if(i>0){for(let n=1;n0||i&&a===0)})}function vs(){return!0}function zs(){return!1}function Ms(){}function hh(e){let t=!1,i,s,n;return function(){const r=Array.prototype.slice.call(arguments);return(!t||this!==n||!Gs(r,s))&&(t=!0,n=this,s=r,i=e.apply(this,arguments)),i}}function ks(e){for(const t in e)delete e[t]}function lh(e){let t;for(t in e)return!1;return!t}class ch extends Sn{constructor(t){super(),this.eventTarget_=t,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(t,i){if(!t||!i)return;const s=this.listeners_||(this.listeners_={}),n=s[t]||(s[t]=[]);n.includes(i)||n.push(i)}dispatchEvent(t){const i=typeof t=="string",s=i?t:t.type,n=this.listeners_&&this.listeners_[s];if(!n)return;const r=i?new _e(t):t;r.target||(r.target=this.eventTarget_||this);const a=this.dispatching_||(this.dispatching_={}),o=this.pendingRemovals_||(this.pendingRemovals_={});s in a||(a[s]=0,o[s]=0),++a[s];let h;for(let l=0,c=n.length;l0:!1}removeEventListener(t,i){const s=this.listeners_&&this.listeners_[t];if(s){const n=s.indexOf(i);n!==-1&&(this.pendingRemovals_&&t in this.pendingRemovals_?(s[n]=Ms,++this.pendingRemovals_[t]):(s.splice(n,1),s.length===0&&delete this.listeners_[t]))}}}const On=ch,O={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"};function G(e,t,i,s,n){if(s&&s!==e&&(i=i.bind(s)),n){const a=i;i=function(){e.removeEventListener(t,i),a.apply(this,arguments)}}const r={target:e,type:t,listener:i};return e.addEventListener(t,i),r}function ps(e,t,i,s){return G(e,t,i,s,!0)}function B(e){e&&e.target&&(e.target.removeEventListener(e.type,e.listener),ks(e))}class $i extends On{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(O.CHANGE)}getRevision(){return this.revision_}onInternal(t,i){if(Array.isArray(t)){const s=t.length,n=new Array(s);for(let r=0;r1?(i=n,s=r):h>0&&(i+=a*h,s+=o*h)}return Qe(e,t,i,s)}function Qe(e,t,i,s){const n=i-e,r=s-t;return n*n+r*r}function gh(e){const t=e.length;for(let s=0;sr&&(r=h,n=o)}if(r===0)return null;const a=e[n];e[n]=e[s],e[s]=a;for(let o=s+1;o=0;s--){i[s]=e[s][t]/e[s][s];for(let n=s-1;n>=0;n--)e[n][t]-=e[n][s]*i[s]}return i}function ds(e){return e*Math.PI/180}function Je(e,t){const i=e%t;return i*t<0?i+t:i}function _h(e,t,i){return e+i*(t-e)}function xa(e,t){const i=Math.pow(10,t);return Math.round(e*i)/i}function es(e,t){return Math.floor(xa(e,t))}function is(e,t){return Math.ceil(xa(e,t))}class mh extends Bt{constructor(t){super(),this.on,this.once,this.un,this.background_=t.background;const i=Object.assign({},t);typeof t.properties=="object"&&(delete i.properties,Object.assign(i,t.properties)),i[F.OPACITY]=t.opacity!==void 0?t.opacity:1,j(typeof i[F.OPACITY]=="number","Layer opacity must be a number"),i[F.VISIBLE]=t.visible!==void 0?t.visible:!0,i[F.Z_INDEX]=t.zIndex,i[F.MAX_RESOLUTION]=t.maxResolution!==void 0?t.maxResolution:1/0,i[F.MIN_RESOLUTION]=t.minResolution!==void 0?t.minResolution:0,i[F.MIN_ZOOM]=t.minZoom!==void 0?t.minZoom:-1/0,i[F.MAX_ZOOM]=t.maxZoom!==void 0?t.maxZoom:1/0,this.className_=i.className!==void 0?i.className:"ol-layer",delete i.className,this.setProperties(i),this.state_=null}getBackground(){return this.background_}getClassName(){return this.className_}getLayerState(t){const i=this.state_||{layer:this,managed:t===void 0?!0:t},s=this.getZIndex();return i.opacity=Y(Math.round(this.getOpacity()*100)/100,0,1),i.visible=this.getVisible(),i.extent=this.getExtent(),i.zIndex=s===void 0&&!i.managed?1/0:s,i.maxResolution=this.getMaxResolution(),i.minResolution=Math.max(this.getMinResolution(),0),i.minZoom=this.getMinZoom(),i.maxZoom=this.getMaxZoom(),this.state_=i,i}getLayersArray(t){return X()}getLayerStatesArray(t){return X()}getExtent(){return this.get(F.EXTENT)}getMaxResolution(){return this.get(F.MAX_RESOLUTION)}getMinResolution(){return this.get(F.MIN_RESOLUTION)}getMinZoom(){return this.get(F.MIN_ZOOM)}getMaxZoom(){return this.get(F.MAX_ZOOM)}getOpacity(){return this.get(F.OPACITY)}getSourceState(){return X()}getVisible(){return this.get(F.VISIBLE)}getZIndex(){return this.get(F.Z_INDEX)}setBackground(t){this.background_=t,this.changed()}setExtent(t){this.set(F.EXTENT,t)}setMaxResolution(t){this.set(F.MAX_RESOLUTION,t)}setMinResolution(t){this.set(F.MIN_RESOLUTION,t)}setMaxZoom(t){this.set(F.MAX_ZOOM,t)}setMinZoom(t){this.set(F.MIN_ZOOM,t)}setOpacity(t){j(typeof t=="number","Layer opacity must be a number"),this.set(F.OPACITY,t)}setVisible(t){this.set(F.VISIBLE,t)}setZIndex(t){this.set(F.Z_INDEX,t)}disposeInternal(){this.state_&&(this.state_.layer=null,this.state_=null),super.disposeInternal()}}const Ca=mh,ce={PRERENDER:"prerender",POSTRENDER:"postrender",PRECOMPOSE:"precompose",POSTCOMPOSE:"postcompose",RENDERCOMPLETE:"rendercomplete"},pt={ANIMATING:0,INTERACTING:1},Tt={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"},yh=42,Nn=256,bi={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};let vh=class{constructor(t){this.code_=t.code,this.units_=t.units,this.extent_=t.extent!==void 0?t.extent:null,this.worldExtent_=t.worldExtent!==void 0?t.worldExtent:null,this.axisOrientation_=t.axisOrientation!==void 0?t.axisOrientation:"enu",this.global_=t.global!==void 0?t.global:!1,this.canWrapX_=!!(this.global_&&this.extent_),this.getPointResolutionFunc_=t.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=t.metersPerUnit}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||bi[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(t){this.global_=t,this.canWrapX_=!!(t&&this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(t){this.defaultTileGrid_=t}setExtent(t){this.extent_=t,this.canWrapX_=!!(this.global_&&t)}setWorldExtent(t){this.worldExtent_=t}setGetPointResolution(t){this.getPointResolutionFunc_=t}getPointResolutionFunc(){return this.getPointResolutionFunc_}};const Ra=vh,qi=6378137,Ke=Math.PI*qi,Mh=[-Ke,-Ke,Ke,Ke],ph=[-180,-85,180,85],ss=qi*Math.log(Math.tan(Math.PI/2));class De extends Ra{constructor(t){super({code:t,units:"m",extent:Mh,global:!0,worldExtent:ph,getPointResolution:function(i,s){return i/Math.cosh(s[1]/qi)}})}}const pr=[new De("EPSG:3857"),new De("EPSG:102100"),new De("EPSG:102113"),new De("EPSG:900913"),new De("http://www.opengis.net/def/crs/EPSG/0/3857"),new De("http://www.opengis.net/gml/srs/epsg.xml#3857")];function Eh(e,t,i){const s=e.length;i=i>1?i:2,t===void 0&&(i>2?t=e.slice():t=new Array(s));for(let n=0;nss?r=ss:r<-ss&&(r=-ss),t[n+1]=r}return t}function xh(e,t,i){const s=e.length;i=i>1?i:2,t===void 0&&(i>2?t=e.slice():t=new Array(s));for(let n=0;nn&&(h=h|it.RIGHT),or&&(h=h|it.ABOVE),h===it.UNKNOWN&&(h=it.INTERSECTING),h}function Se(){return[1/0,1/0,-1/0,-1/0]}function Xi(e,t,i,s,n){return n?(n[0]=e,n[1]=t,n[2]=i,n[3]=s,n):[e,t,i,s]}function js(e){return Xi(1/0,1/0,-1/0,-1/0,e)}function Sh(e,t){const i=e[0],s=e[1];return Xi(i,s,i,s,t)}function Ah(e,t,i,s,n){const r=js(n);return wa(r,e,t,i,s)}function Es(e,t){return e[0]==t[0]&&e[2]==t[2]&&e[1]==t[1]&&e[3]==t[3]}function Lh(e,t){return t[0]e[2]&&(e[2]=t[2]),t[1]e[3]&&(e[3]=t[3]),e}function fs(e,t){t[0]e[2]&&(e[2]=t[0]),t[1]e[3]&&(e[3]=t[1])}function wa(e,t,i,s,n){for(;it[0]?s[0]=e[0]:s[0]=t[0],e[1]>t[1]?s[1]=e[1]:s[1]=t[1],e[2]=t[0]&&e[1]<=t[3]&&e[3]>=t[1]}function Xs(e){return e[2]=a&&_<=h),!s&&r&it.RIGHT&&!(n&it.RIGHT)&&(m=f-(d-h)*g,s=m>=o&&m<=l),!s&&r&it.BELOW&&!(n&it.BELOW)&&(_=d-(f-o)/g,s=_>=a&&_<=h),!s&&r&it.LEFT&&!(n&it.LEFT)&&(m=f-(d-a)*g,s=m>=o&&m<=l)}return s}function Gh(e,t){return e[0]+=+t[0],e[1]+=+t[1],e}function xs(e,t){let i=!0;for(let s=e.length-1;s>=0;--s)if(e[s]!=t[s]){i=!1;break}return i}function Fn(e,t){const i=Math.cos(t),s=Math.sin(t),n=e[0]*i-e[1]*s,r=e[1]*i+e[0]*s;return e[0]=n,e[1]=r,e}function zh(e,t){return e[0]*=t,e[1]*=t,e}function kh(e,t){if(t.canWrapX()){const i=W(t.getExtent()),s=Pa(e,t,i);s&&(e[0]-=s*i)}return e}function Pa(e,t,i){const s=t.getExtent();let n=0;return t.canWrapX()&&(e[0]s[2])&&(i=i||W(s),n=Math.floor((e[0]-s[0])/i)),n}const jh=63710088e-1;function Tr(e,t,i){i=i||jh;const s=ds(e[1]),n=ds(t[1]),r=(n-s)/2,a=ds(t[0]-e[0])/2,o=Math.sin(r)*Math.sin(r)+Math.sin(a)*Math.sin(a)*Math.cos(s)*Math.cos(n);return 2*i*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))}const Sa={info:1,warn:2,error:3,none:4};let Uh=Sa.info;function Aa(...e){Uh>Sa.warn||console.warn(...e)}let vn=!0;function $h(e){vn=!(e===void 0?!0:e)}function Gn(e,t){if(t!==void 0){for(let i=0,s=e.length;i=o?t[r+h]:a[h]}return i}}function Cm(e,t,i,s){const n=ht(e),r=ht(t);li(n,r,Ir(i)),li(r,n,Ir(s))}function Ue(e,t){if(e===t)return!0;const i=e.getUnits()===t.getUnits();return(e.getCode()===t.getCode()||kn(e,t)===Gn)&&i}function kn(e,t){const i=e.getCode(),s=t.getCode();let n=wh(i,s);return n||(n=La),n}function Cs(e,t){const i=ht(e),s=ht(t);return kn(i,s)}function Zh(e,t,i){return Cs(t,i)(e,void 0,e.length)}function Mn(e,t){return e}function Ut(e,t){return vn&&!xs(e,[0,0])&&e[0]>=-180&&e[0]<=180&&e[1]>=-90&&e[1]<=90&&(vn=!1,Aa("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),e}function Bh(e,t){return e}function Ze(e,t){return e}function Rm(e,t,i){return function(s){let n,r;if(e.canWrapX()){const a=e.getExtent(),o=W(a);s=s.slice(0),r=Pa(s,e,o),r&&(s[0]=s[0]-r*o),s[0]=Y(s[0],a[0],a[2]),s[1]=Y(s[1],a[1],a[3]),n=i(s)}else n=i(s);return r&&t.canWrapX()&&(n[0]+=r*W(t.getExtent())),n}}function Vh(){wr(pr),wr(xr),Kh(xr,pr,Eh,xh)}Vh();function Pr(e,t,i){return function(s,n,r,a,o){if(!s)return;if(!n&&!t)return s;const h=t?0:r[0]*n,l=t?0:r[1]*n,c=o?o[0]:0,u=o?o[1]:0;let d=e[0]+h/2+c,f=e[2]-h/2+c,g=e[1]+l/2+u,_=e[3]-l/2+u;d>f&&(d=(f+d)/2,f=d),g>_&&(g=(_+g)/2,_=g);let m=Y(s[0],d,f),v=Y(s[1],g,_);if(a&&i&&n){const y=30*n;m+=-y*Math.log(1+Math.max(0,d-s[0])/y)+y*Math.log(1+Math.max(0,s[0]-f)/y),v+=-y*Math.log(1+Math.max(0,g-s[1])/y)+y*Math.log(1+Math.max(0,s[1]-_)/y)}return[m,v]}}function Wh(e){return e}function jn(e,t,i,s){const n=W(t)/i[0],r=Dt(t)/i[1];return s?Math.min(e,Math.max(n,r)):Math.min(e,Math.min(n,r))}function Un(e,t,i){let s=Math.min(e,t);const n=50;return s*=Math.log(1+n*Math.max(0,e/t-1))/n+1,i&&(s=Math.max(s,i),s/=Math.log(1+n*Math.max(0,i/e-1))/n+1),Y(s,i/2,t*2)}function Yh(e,t,i,s){return t=t!==void 0?t:!0,function(n,r,a,o){if(n!==void 0){const h=e[0],l=e[e.length-1],c=i?jn(h,i,a,s):h;if(o)return t?Un(n,c,l):Y(n,l,c);const u=Math.min(c,n),d=Math.floor(Ln(e,u,r));return e[d]>c&&d1)u=i;else if(d>0){for(let f=0;fn&&(n=l),r=o,a=h}return n}function ml(e,t,i,s,n){for(let r=0,a=i.length;r0;){const u=l.pop(),d=l.pop();let f=0;const g=e[d],_=e[d+1],m=e[u],v=e[u+1];for(let y=d+s;yf&&(c=y,f=C)}f>n&&(h[(c-t)/s]=1,d+s0&&_>f)&&(g<0&&m0&&m>g)){l=u,c=d;continue}r[a++]=l,r[a++]=c,o=l,h=c,l=u,c=d}return r[a++]=l,r[a++]=c,a}function xl(e,t,i,s,n,r,a,o){for(let h=0,l=i.length;hr&&(l-o)*(r-h)-(n-o)*(c-h)>0&&a++:c<=r&&(l-o)*(r-h)-(n-o)*(c-h)<0&&a--,o=l,h=c}return a!==0}function Ka(e,t,i,s,n,r){if(i.length===0||!Ee(e,t,i[0],s,n,r))return!1;for(let a=1,o=i.length;av&&(l=(c+u)/2,Ka(e,t,i,s,l,g)&&(m=l,v=y)),c=u}return isNaN(m)&&(m=n[r]),a?(a.push(m,g,v),a):[m,g,v]}function Pl(e,t,i,s,n){let r;for(t+=s;t=n[0]&&r[2]<=n[2]||r[1]>=n[1]&&r[3]<=n[3]?!0:Pl(e,t,i,s,function(a,o){return Fh(n,a,o)}):!1}function Ba(e,t,i,s,n){return!!(Za(e,t,i,s,n)||Ee(e,t,i,s,n[0],n[1])||Ee(e,t,i,s,n[0],n[3])||Ee(e,t,i,s,n[2],n[1])||Ee(e,t,i,s,n[2],n[3]))}function Sl(e,t,i,s,n){if(!Ba(e,t,i[0],s,n))return!1;if(i.length===1)return!0;for(let r=1,a=i.length;r0}function Ll(e,t,i,s,n){n=n!==void 0?n:!1;for(let r=0,a=i.length;r1&&typeof arguments[i-1]=="function"&&(s=arguments[i-1],--i);let n=0;for(;n0}getInteracting(){return this.hints_[pt.INTERACTING]>0}cancelAnimations(){this.setHint(pt.ANIMATING,-this.hints_[pt.ANIMATING]);let t;for(let i=0,s=this.animations_.length;i=0;--s){const n=this.animations_[s];let r=!0;for(let a=0,o=n.length;a0?l/h.duration:1;c>=1?(h.complete=!0,c=1):r=!1;const u=h.easing(c);if(h.sourceCenter){const d=h.sourceCenter[0],f=h.sourceCenter[1],g=h.targetCenter[0],_=h.targetCenter[1];this.nextCenter_=h.targetCenter;const m=d+u*(g-d),v=f+u*(_-f);this.targetCenter_=[m,v]}if(h.sourceResolution&&h.targetResolution){const d=u===1?h.targetResolution:h.sourceResolution+u*(h.targetResolution-h.sourceResolution);if(h.anchor){const f=this.getViewportSize_(this.getRotation()),g=this.constraints_.resolution(d,0,f,!0);this.targetCenter_=this.calculateCenterZoom(g,h.anchor)}this.nextResolution_=h.targetResolution,this.targetResolution_=d,this.applyTargetState_(!0)}if(h.sourceRotation!==void 0&&h.targetRotation!==void 0){const d=u===1?Je(h.targetRotation+Math.PI,2*Math.PI)-Math.PI:h.sourceRotation+u*(h.targetRotation-h.sourceRotation);if(h.anchor){const f=this.constraints_.rotation(d,!0);this.targetCenter_=this.calculateCenterRotate(f,h.anchor)}this.nextRotation_=h.targetRotation,this.targetRotation_=d}if(this.applyTargetState_(!0),i=!0,!h.complete)break}if(r){this.animations_[s]=null,this.setHint(pt.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const a=n[0].callback;a&&ns(a,!0)}}this.animations_=this.animations_.filter(Boolean),i&&this.updateAnimationKey_===void 0&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(t,i){let s;const n=this.getCenterInternal();return n!==void 0&&(s=[n[0]-i[0],n[1]-i[1]],Fn(s,t-this.getRotation()),Gh(s,i)),s}calculateCenterZoom(t,i){let s;const n=this.getCenterInternal(),r=this.getResolution();if(n!==void 0&&r!==void 0){const a=i[0]-t*(i[0]-n[0])/r,o=i[1]-t*(i[1]-n[1])/r;s=[a,o]}return s}getViewportSize_(t){const i=this.viewportSize_;if(t){const s=i[0],n=i[1];return[Math.abs(s*Math.cos(t))+Math.abs(n*Math.sin(t)),Math.abs(s*Math.sin(t))+Math.abs(n*Math.cos(t))]}return i}setViewportSize(t){this.viewportSize_=Array.isArray(t)?t.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const t=this.getCenterInternal();return t&&Mn(t,this.getProjection())}getCenterInternal(){return this.get(Tt.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(t){return t!==void 0?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()}calculateExtent(t){const i=this.calculateExtentInternal(t);return Bh(i,this.getProjection())}calculateExtentInternal(t){t=t||this.getViewportSizeMinusPadding_();const i=this.getCenterInternal();j(i,"The view center is not defined");const s=this.getResolution();j(s!==void 0,"The view resolution is not defined");const n=this.getRotation();return j(n!==void 0,"The view rotation is not defined"),mn(i,s,n,t)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))}setConstrainResolution(t){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:t}))}getProjection(){return this.projection_}getResolution(){return this.get(Tt.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(t,i){return this.getResolutionForExtentInternal(Ze(t,this.getProjection()),i)}getResolutionForExtentInternal(t,i){i=i||this.getViewportSizeMinusPadding_();const s=W(t)/i[0],n=Dt(t)/i[1];return Math.max(s,n)}getResolutionForValueFunction(t){t=t||2;const i=this.getConstrainedResolution(this.maxResolution_),s=this.minResolution_,n=Math.log(i/s)/Math.log(t);return function(r){return i/Math.pow(t,r*n)}}getRotation(){return this.get(Tt.ROTATION)}getValueForResolutionFunction(t){const i=Math.log(t||2),s=this.getConstrainedResolution(this.maxResolution_),n=this.minResolution_,r=Math.log(s/n)/i;return function(a){return Math.log(s/a)/i/r}}getViewportSizeMinusPadding_(t){let i=this.getViewportSize_(t);const s=this.padding_;return s&&(i=[i[0]-s[1]-s[3],i[1]-s[0]-s[2]]),i}getState(){const t=this.getProjection(),i=this.getResolution(),s=this.getRotation();let n=this.getCenterInternal();const r=this.padding_;if(r){const a=this.getViewportSizeMinusPadding_();n=en(n,this.getViewportSize_(),[a[0]/2+r[3],a[1]/2+r[0]],i,s)}return{center:n.slice(0),projection:t!==void 0?t:null,resolution:i,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:s,zoom:this.getZoom()}}getViewStateAndExtent(){return{viewState:this.getState(),extent:this.calculateExtent()}}getZoom(){let t;const i=this.getResolution();return i!==void 0&&(t=this.getZoomForResolution(i)),t}getZoomForResolution(t){let i=this.minZoom_||0,s,n;if(this.resolutions_){const r=Ln(this.resolutions_,t,1);i=r,s=this.resolutions_[r],r==this.resolutions_.length-1?n=2:n=s/this.resolutions_[r+1]}else s=this.maxResolution_,n=this.zoomFactor_;return i+Math.log(s/t)/Math.log(n)}getResolutionForZoom(t){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;const i=Y(Math.floor(t),0,this.resolutions_.length-2),s=this.resolutions_[i]/this.resolutions_[i+1];return this.resolutions_[i]/Math.pow(s,Y(t-i,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,t-this.minZoom_)}fit(t,i){let s;if(j(Array.isArray(t)||typeof t.getSimplifiedGeometry=="function","Invalid extent or geometry provided as `geometry`"),Array.isArray(t)){j(!Xs(t),"Cannot fit empty extent provided as `geometry`");const n=Ze(t,this.getProjection());s=zr(n)}else if(t.getType()==="Circle"){const n=Ze(t.getExtent(),this.getProjection());s=zr(n),s.rotate(this.getRotation(),we(n))}else s=t;this.fitInternal(s,i)}rotatedExtentForGeometry(t){const i=this.getRotation(),s=Math.cos(i),n=Math.sin(-i),r=t.getFlatCoordinates(),a=t.getStride();let o=1/0,h=1/0,l=-1/0,c=-1/0;for(let u=0,d=r.length;u{this.dispatchEvent("sourceready")},0))),this.changed()}getFeatures(t){return this.renderer_?this.renderer_.getFeatures(t):Promise.resolve([])}getData(t){return!this.renderer_||!this.rendered?null:this.renderer_.getData(t)}isVisible(t){let i;const s=this.getMapInternal();!t&&s&&(t=s.getView()),t instanceof Ct?i={viewState:t.getState(),extent:t.calculateExtent()}:i=t,!i.layerStatesArray&&s&&(i.layerStatesArray=s.getLayerGroup().getLayerStatesArray());let n;i.layerStatesArray?n=i.layerStatesArray.find(a=>a.layer===this):n=this.getLayerState();const r=this.getExtent();return Xn(n,i.viewState)&&(!r||Ki(r,i.extent))}getAttributions(t){if(!this.isVisible(t))return[];let i;const s=this.getSource();if(s&&(i=s.getAttributions()),!i)return[];const n=t instanceof Ct?t.getViewStateAndExtent():t;let r=i(n);return Array.isArray(r)||(r=[r]),r}render(t,i){const s=this.getRenderer();return s.prepareFrame(t)?(this.rendered=!0,s.renderFrame(t,i)):null}unrender(){this.rendered=!1}setMapInternal(t){t||this.unrender(),this.set(F.MAP,t)}getMapInternal(){return this.get(F.MAP)}setMap(t){this.mapPrecomposeKey_&&(B(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(B(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=G(t,ce.PRECOMPOSE,function(i){const n=i.frameState.layerStatesArray,r=this.getLayerState(!1);j(!n.some(function(a){return a.layer===r.layer}),"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both."),n.push(r)},this),this.mapRenderKey_=G(this,O.CHANGE,t.render,t),this.changed())}setSource(t){this.set(F.SOURCE,t)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}disposeInternal(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),super.disposeInternal()}}function Xn(e,t){if(!e.visible)return!1;const i=t.resolution;if(i=e.maxResolution)return!1;const s=t.zoom;return s>e.minZoom&&s<=e.maxZoom}const Ks=zl,rs={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"};class kl extends Ks{constructor(t){t=t||{};const i=Object.assign({},t);delete i.preload,delete i.useInterimTilesOnError,super(i),this.on,this.once,this.un,this.setPreload(t.preload!==void 0?t.preload:0),this.setUseInterimTilesOnError(t.useInterimTilesOnError!==void 0?t.useInterimTilesOnError:!0)}getPreload(){return this.get(rs.PRELOAD)}setPreload(t){this.set(rs.PRELOAD,t)}getUseInterimTilesOnError(){return this.get(rs.USE_INTERIM_TILES_ON_ERROR)}setUseInterimTilesOnError(t){this.set(rs.USE_INTERIM_TILES_ON_ERROR,t)}getData(t){return super.getData(t)}}const jl=kl,Ge={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};class Ul extends $i{constructor(t){super(),this.ready=!0,this.boundHandleImageChange_=this.handleImageChange_.bind(this),this.layer_=t,this.declutterExecutorGroup=null}getFeatures(t){return X()}getData(t){return null}prepareFrame(t){return X()}renderFrame(t,i){return X()}loadedTileCallback(t,i,s){t[i]||(t[i]={}),t[i][s.tileCoord.toString()]=s}createLoadedTileFinder(t,i,s){return(n,r)=>{const a=this.loadedTileCallback.bind(this,s,n);return t.forEachLoadedTile(i,n,r,a)}}forEachFeatureAtCoordinate(t,i,s,n,r){}getLayer(){return this.layer_}handleFontsChanged(){}handleImageChange_(t){const i=t.target;(i.getState()===Ge.LOADED||i.getState()===Ge.ERROR)&&this.renderIfReadyAndVisible()}loadImage(t){let i=t.getState();return i!=Ge.LOADED&&i!=Ge.ERROR&&t.addEventListener(O.CHANGE,this.boundHandleImageChange_),i==Ge.IDLE&&(t.load(),i=t.getState()),i==Ge.LOADED}renderIfReadyAndVisible(){const t=this.getLayer();t&&t.getVisible()&&t.getSourceState()==="ready"&&t.changed()}disposeInternal(){delete this.layer_,super.disposeInternal()}}const $l=Ul;class ql extends _e{constructor(t,i,s,n){super(t),this.inversePixelTransform=i,this.frameState=s,this.context=n}}const Wa=ql,Xl=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,Kl=/^([a-z]*)$|^hsla?\(.*\)$/i;function Zl(e){return typeof e=="string"?e:Yl(e)}function Bl(e){const t=document.createElement("div");if(t.style.color=e,t.style.color!==""){document.body.appendChild(t);const i=getComputedStyle(t).color;return document.body.removeChild(t),i}return""}const Vl=function(){const t={};let i=0;return function(s){let n;if(t.hasOwnProperty(s))n=t[s];else{if(i>=1024){let r=0;for(const a in t)r++&3||(delete t[a],--i)}n=Wl(s),t[s]=n,++i}return n}}();function kr(e){return Array.isArray(e)?e:Vl(e)}function Wl(e){let t,i,s,n,r;if(Kl.exec(e)&&(e=Bl(e)),Xl.exec(e)){const a=e.length-1;let o;a<=4?o=1:o=2;const h=a===4||a===8;t=parseInt(e.substr(1+0*o,o),16),i=parseInt(e.substr(1+1*o,o),16),s=parseInt(e.substr(1+2*o,o),16),h?n=parseInt(e.substr(1+3*o,o),16):n=255,o==1&&(t=(t<<4)+t,i=(i<<4)+i,s=(s<<4)+s,h&&(n=(n<<4)+n)),r=[t,i,s,n/255]}else if(e.startsWith("rgba("))r=e.slice(5,-1).split(",").map(Number),jr(r);else if(e.startsWith("rgb("))r=e.slice(4,-1).split(",").map(Number),r.push(1),jr(r);else throw new Error("Invalid color");return r}function jr(e){return e[0]=Y(e[0]+.5|0,0,255),e[1]=Y(e[1]+.5|0,0,255),e[2]=Y(e[2]+.5|0,0,255),e[3]=Y(e[3],0,1),e}function Yl(e){let t=e[0];t!=(t|0)&&(t=t+.5|0);let i=e[1];i!=(i|0)&&(i=i+.5|0);let s=e[2];s!=(s|0)&&(s=s+.5|0);const n=e[3]===void 0?1:Math.round(e[3]*100)/100;return"rgba("+t+","+i+","+s+","+n+")"}function ci(e,t,i,s){let n;return i&&i.length?n=i.shift():Fa?n=new OffscreenCanvas(e||300,t||300):n=document.createElement("canvas"),e&&(n.width=e),t&&(n.height=t),n.getContext("2d",s)}function Kn(e){const t=e.canvas;t.width=1,t.height=1,e.clearRect(0,0,1,1)}function Ur(e,t){const i=t.parentNode;i&&i.replaceChild(e,t)}function pn(e){return e&&e.parentNode?e.parentNode.removeChild(e):null}function Hl(e){for(;e.lastChild;)e.removeChild(e.lastChild)}function Ql(e,t){const i=e.childNodes;for(let s=0;;++s){const n=i[s],r=t[s];if(!n&&!r)break;if(n!==r){if(!n){e.appendChild(r);continue}if(!r){e.removeChild(n),--s;continue}e.insertBefore(r,n)}}}let $e=null;function Jl(){$e=ci(1,1,void 0,{willReadFrequently:!0})}class tc extends $l{constructor(t){super(t),this.container=null,this.renderedResolution,this.tempTransform=ei(),this.pixelTransform=ei(),this.inversePixelTransform=ei(),this.context=null,this.containerReused=!1,this.pixelContext_=null,this.frameState=null}getImageData(t,i,s){$e||Jl(),$e.clearRect(0,0,1,1);let n;try{$e.drawImage(t,i,s,1,1,0,0,1,1),n=$e.getImageData(0,0,1,1).data}catch{return $e=null,null}return n}getBackground(t){let s=this.getLayer().getBackground();return typeof s=="function"&&(s=s(t.viewState.resolution)),s||void 0}useContainer(t,i,s){const n=this.getLayer().getClassName();let r,a;if(t&&t.className===n&&(!s||t&&t.style.backgroundColor&&Gs(kr(t.style.backgroundColor),kr(s)))){const o=t.firstElementChild;o instanceof HTMLCanvasElement&&(a=o.getContext("2d"))}if(a&&a.canvas.style.transform===i?(this.container=t,this.context=a,this.containerReused=!0):this.containerReused?(this.container=null,this.context=null,this.containerReused=!1):this.container&&(this.container.style.backgroundColor=null),!this.container){r=document.createElement("div"),r.className=n;let o=r.style;o.position="absolute",o.width="100%",o.height="100%",a=ci();const h=a.canvas;r.appendChild(h),o=h.style,o.position="absolute",o.left="0",o.transformOrigin="top left",this.container=r,this.context=a}!this.containerReused&&s&&!this.container.style.backgroundColor&&(this.container.style.backgroundColor=s)}clipUnrotated(t,i,s){const n=Ae(s),r=qs(s),a=$s(s),o=Us(s);Et(i.coordinateToPixelTransform,n),Et(i.coordinateToPixelTransform,r),Et(i.coordinateToPixelTransform,a),Et(i.coordinateToPixelTransform,o);const h=this.inversePixelTransform;Et(h,n),Et(h,r),Et(h,a),Et(h,o),t.save(),t.beginPath(),t.moveTo(Math.round(n[0]),Math.round(n[1])),t.lineTo(Math.round(r[0]),Math.round(r[1])),t.lineTo(Math.round(a[0]),Math.round(a[1])),t.lineTo(Math.round(o[0]),Math.round(o[1])),t.clip()}dispatchRenderEvent_(t,i,s){const n=this.getLayer();if(n.hasListener(t)){const r=new Wa(t,this.inversePixelTransform,s,i);n.dispatchEvent(r)}}preRender(t,i){this.frameState=i,this.dispatchRenderEvent_(ce.PRERENDER,t,i)}postRender(t,i){this.dispatchRenderEvent_(ce.POSTRENDER,t,i)}getRenderTransform(t,i,s,n,r,a,o){const h=r/2,l=a/2,c=n/i,u=-c,d=-t[0]+o,f=-t[1];return wi(this.tempTransform,h,l,c,u,-s,d,f)}disposeInternal(){delete this.frameState,super.disposeInternal()}}const ec=tc,w={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};class ic extends On{constructor(t,i,s){super(),s=s||{},this.tileCoord=t,this.state=i,this.interimTile=null,this.key="",this.transition_=s.transition===void 0?250:s.transition,this.transitionStarts_={},this.interpolate=!!s.interpolate}changed(){this.dispatchEvent(O.CHANGE)}release(){this.state===w.ERROR&&this.setState(w.EMPTY)}getKey(){return this.key+"/"+this.tileCoord}getInterimTile(){if(!this.interimTile)return this;let t=this.interimTile;do{if(t.getState()==w.LOADED)return this.transition_=0,t;t=t.interimTile}while(t);return this}refreshInterimChain(){if(!this.interimTile)return;let t=this.interimTile,i=this;do{if(t.getState()==w.LOADED){t.interimTile=null;break}else t.getState()==w.LOADING?i=t:t.getState()==w.IDLE?i.interimTile=t.interimTile:i=t;t=i.interimTile}while(t)}getTileCoord(){return this.tileCoord}getState(){return this.state}setState(t){if(this.state!==w.ERROR&&this.state>t)throw new Error("Tile load sequence violation");this.state=t,this.changed()}load(){X()}getAlpha(t,i){if(!this.transition_)return 1;let s=this.transitionStarts_[t];if(!s)s=i,this.transitionStarts_[t]=s;else if(s===-1)return 1;const n=i-s+1e3/60;return n>=this.transition_?1:Oa(n/this.transition_)}inTransition(t){return this.transition_?this.transitionStarts_[t]!==-1:!1}endTransition(t){this.transition_&&(this.transitionStarts_[t]=-1)}}const Ya=ic;function sc(e,t,i){const s=e;let n=!0,r=!1,a=!1;const o=[ps(s,O.LOAD,function(){a=!0,r||t()})];return s.src&&rl?(r=!0,s.decode().then(function(){n&&t()}).catch(function(h){n&&(a?t():i())})):o.push(ps(s,O.ERROR,i)),function(){n=!1,o.forEach(B)}}class nc extends Ya{constructor(t,i,s,n,r,a){super(t,i,a),this.crossOrigin_=n,this.src_=s,this.key=s,this.image_=new Image,n!==null&&(this.image_.crossOrigin=n),this.unlisten_=null,this.tileLoadFunction_=r}getImage(){return this.image_}setImage(t){this.image_=t,this.state=w.LOADED,this.unlistenImage_(),this.changed()}handleImageError_(){this.state=w.ERROR,this.unlistenImage_(),this.image_=rc(),this.changed()}handleImageLoad_(){const t=this.image_;t.naturalWidth&&t.naturalHeight?this.state=w.LOADED:this.state=w.EMPTY,this.unlistenImage_(),this.changed()}load(){this.state==w.ERROR&&(this.state=w.IDLE,this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==w.IDLE&&(this.state=w.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=sc(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}}function rc(){const e=ci(1,1);return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),e.canvas}const Ha=nc,ac=.5,oc=10,$r=.25;class hc{constructor(t,i,s,n,r,a){this.sourceProj_=t,this.targetProj_=i;let o={};const h=Cs(this.targetProj_,this.sourceProj_);this.transformInv_=function(y){const p=y[0]+"/"+y[1];return o[p]||(o[p]=h(y)),o[p]},this.maxSourceExtent_=n,this.errorThresholdSquared_=r*r,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!n&&!!this.sourceProj_.getExtent()&&W(n)>=W(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?W(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?W(this.targetProj_.getExtent()):null;const l=Ae(s),c=qs(s),u=$s(s),d=Us(s),f=this.transformInv_(l),g=this.transformInv_(c),_=this.transformInv_(u),m=this.transformInv_(d),v=oc+(a?Math.max(0,Math.ceil(Math.log2(_n(s)/(a*a*256*256)))):0);if(this.addQuad_(l,c,u,d,f,g,_,m,v),this.wrapsXInSource_){let y=1/0;this.triangles_.forEach(function(p,M,C){y=Math.min(y,p.source[0][0],p.source[1][0],p.source[2][0])}),this.triangles_.forEach(p=>{if(Math.max(p.source[0][0],p.source[1][0],p.source[2][0])-y>this.sourceWorldWidth_/2){const M=[[p.source[0][0],p.source[0][1]],[p.source[1][0],p.source[1][1]],[p.source[2][0],p.source[2][1]]];M[0][0]-y>this.sourceWorldWidth_/2&&(M[0][0]-=this.sourceWorldWidth_),M[1][0]-y>this.sourceWorldWidth_/2&&(M[1][0]-=this.sourceWorldWidth_),M[2][0]-y>this.sourceWorldWidth_/2&&(M[2][0]-=this.sourceWorldWidth_);const C=Math.min(M[0][0],M[1][0],M[2][0]);Math.max(M[0][0],M[1][0],M[2][0])-C.5&&u<1;let g=!1;if(l>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){const m=Cr([t,i,s,n]);g=W(m)/this.targetWorldWidth_>$r||g}!f&&this.sourceProj_.isGlobal()&&u&&(g=u>$r||g)}if(!g&&this.maxSourceExtent_&&isFinite(c[0])&&isFinite(c[1])&&isFinite(c[2])&&isFinite(c[3])&&!Ki(c,this.maxSourceExtent_))return;let _=0;if(!g&&(!isFinite(r[0])||!isFinite(r[1])||!isFinite(a[0])||!isFinite(a[1])||!isFinite(o[0])||!isFinite(o[1])||!isFinite(h[0])||!isFinite(h[1]))){if(l>0)g=!0;else if(_=(!isFinite(r[0])||!isFinite(r[1])?8:0)+(!isFinite(a[0])||!isFinite(a[1])?4:0)+(!isFinite(o[0])||!isFinite(o[1])?2:0)+(!isFinite(h[0])||!isFinite(h[1])?1:0),_!=1&&_!=2&&_!=4&&_!=8)return}if(l>0){if(!g){const m=[(t[0]+s[0])/2,(t[1]+s[1])/2],v=this.transformInv_(m);let y;f?y=(Je(r[0],d)+Je(o[0],d))/2-Je(v[0],d):y=(r[0]+o[0])/2-v[0];const p=(r[1]+o[1])/2-v[1];g=y*y+p*p>this.errorThresholdSquared_}if(g){if(Math.abs(t[0]-s[0])<=Math.abs(t[1]-s[1])){const m=[(i[0]+s[0])/2,(i[1]+s[1])/2],v=this.transformInv_(m),y=[(n[0]+t[0])/2,(n[1]+t[1])/2],p=this.transformInv_(y);this.addQuad_(t,i,m,y,r,a,v,p,l-1),this.addQuad_(y,m,s,n,p,v,o,h,l-1)}else{const m=[(t[0]+i[0])/2,(t[1]+i[1])/2],v=this.transformInv_(m),y=[(s[0]+n[0])/2,(s[1]+n[1])/2],p=this.transformInv_(y);this.addQuad_(t,m,y,n,r,v,p,h,l-1),this.addQuad_(m,i,s,y,v,a,o,p,l-1)}return}}if(f){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}_&11||this.addTriangle_(t,s,n,r,o,h),_&14||this.addTriangle_(t,s,i,r,o,a),_&&(_&13||this.addTriangle_(i,n,t,a,h,r),_&7||this.addTriangle_(i,n,s,a,h,o))}calculateSourceExtent(){const t=Se();return this.triangles_.forEach(function(i,s,n){const r=i.source;fs(t,r[0]),fs(t,r[1]),fs(t,r[2])}),t}getTriangles(){return this.triangles_}}const lc=hc;let sn;const ii=[];function qr(e,t,i,s,n){e.beginPath(),e.moveTo(0,0),e.lineTo(t,i),e.lineTo(s,n),e.closePath(),e.save(),e.clip(),e.fillRect(0,0,Math.max(t,s)+1,Math.max(i,n)),e.restore()}function nn(e,t){return Math.abs(e[t*4]-210)>2||Math.abs(e[t*4+3]-.75*255)>2}function cc(){if(sn===void 0){const e=ci(6,6,ii);e.globalCompositeOperation="lighter",e.fillStyle="rgba(210, 0, 0, 0.75)",qr(e,4,5,4,0),qr(e,4,5,0,5);const t=e.getImageData(0,0,3,3).data;sn=nn(t,0)||nn(t,4)||nn(t,8),Kn(e),ii.push(e.canvas)}return sn}function Xr(e,t,i,s){const n=Zh(i,t,e);let r=br(t,s,i);const a=t.getMetersPerUnit();a!==void 0&&(r*=a);const o=e.getMetersPerUnit();o!==void 0&&(r/=o);const h=e.getExtent();if(!h||Dn(h,n)){const l=br(e,r,n)/r;isFinite(l)&&l>0&&(r/=l)}return r}function uc(e,t,i,s){const n=we(i);let r=Xr(e,t,n,s);return(!isFinite(r)||r<=0)&&Ia(i,function(a){return r=Xr(e,t,a,s),isFinite(r)&&r>0}),r}function dc(e,t,i,s,n,r,a,o,h,l,c,u){const d=ci(Math.round(i*e),Math.round(i*t),ii);if(u||(d.imageSmoothingEnabled=!1),h.length===0)return d.canvas;d.scale(i,i);function f(M){return Math.round(M*i)/i}d.globalCompositeOperation="lighter";const g=Se();h.forEach(function(M,C,b){Lh(g,M.extent)});const _=W(g),m=Dt(g),v=ci(Math.round(i*_/s),Math.round(i*m/s),ii);u||(v.imageSmoothingEnabled=!1);const y=i/s;h.forEach(function(M,C,b){const I=M.extent[0]-g[0],P=-(M.extent[3]-g[3]),z=W(M.extent),U=Dt(M.extent);M.image.width>0&&M.image.height>0&&v.drawImage(M.image,l,l,M.image.width-2*l,M.image.height-2*l,I*y,P*y,z*y,U*y)});const p=Ae(a);return o.getTriangles().forEach(function(M,C,b){const I=M.source,P=M.target;let z=I[0][0],U=I[0][1],Q=I[1][0],gt=I[1][1],It=I[2][0],mi=I[2][1];const Pt=f((P[0][0]-p[0])/r),Gt=f(-(P[0][1]-p[1])/r),k=f((P[1][0]-p[0])/r),_t=f(-(P[1][1]-p[1])/r),zt=f((P[2][0]-p[0])/r),St=f(-(P[2][1]-p[1])/r),me=z,lt=U;z=0,U=0,Q-=me,gt-=lt,It-=me,mi-=lt;const At=[[Q,gt,0,0,k-Pt],[It,mi,0,0,zt-Pt],[0,0,Q,gt,_t-Gt],[0,0,It,mi,St-Gt]],H=gh(At);if(H){if(d.save(),d.beginPath(),cc()||!u){d.moveTo(k,_t);const V=4,Le=Pt-k,Wt=Gt-_t;for(let ct=0;ct{i&&i.getState()==w.LOADED&&t.push({extent:this.sourceTileGrid_.getTileCoordExtent(i.tileCoord),image:i.getImage()})}),this.sourceTiles_.length=0,t.length===0)this.state=w.ERROR;else{const i=this.wrappedTileCoord_[0],s=this.targetTileGrid_.getTileSize(i),n=typeof s=="number"?s:s[0],r=typeof s=="number"?s:s[1],a=this.targetTileGrid_.getResolution(i),o=this.sourceTileGrid_.getResolution(this.sourceZ_),h=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=dc(n,r,this.pixelRatio_,o,this.sourceTileGrid_.getExtent(),a,h,this.triangulation_,t,this.gutter_,this.renderEdges_,this.interpolate),this.state=w.LOADED}this.changed()}load(){if(this.state==w.IDLE){this.state=w.LOADING,this.changed();let t=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(i=>{const s=i.getState();if(s==w.IDLE||s==w.LOADING){t++;const n=G(i,O.CHANGE,function(r){const a=i.getState();(a==w.LOADED||a==w.ERROR||a==w.EMPTY)&&(B(n),t--,t===0&&(this.unlistenSources_(),this.reproject_()))},this);this.sourcesListenerKeys_.push(n)}}),t===0?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach(function(i,s,n){i.getState()==w.IDLE&&i.load()})}}unlistenSources_(){this.sourcesListenerKeys_.forEach(B),this.sourcesListenerKeys_=null}release(){this.canvas_&&(Kn(this.canvas_.getContext("2d")),ii.push(this.canvas_),this.canvas_=null),super.release()}}const En=fc;class Qa{constructor(t,i,s,n){this.minX=t,this.maxX=i,this.minY=s,this.maxY=n}contains(t){return this.containsXY(t[1],t[2])}containsTileRange(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY}containsXY(t,i){return this.minX<=t&&t<=this.maxX&&this.minY<=i&&i<=this.maxY}equals(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY}extend(t){t.minXthis.maxX&&(this.maxX=t.maxX),t.minYthis.maxY&&(this.maxY=t.maxY)}getHeight(){return this.maxY-this.minY+1}getSize(){return[this.getWidth(),this.getHeight()]}getWidth(){return this.maxX-this.minX+1}intersects(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY}}function ze(e,t,i,s,n){return n!==void 0?(n.minX=e,n.maxX=t,n.minY=i,n.maxY=s,n):new Qa(e,t,i,s)}const Ja=Qa;function Kr(e){return e[0]>0&&e[1]>0}function gc(e,t,i){return i===void 0&&(i=[0,0]),i[0]=e[0]*t+.5|0,i[1]=e[1]*t+.5|0,i}function le(e,t){return Array.isArray(e)?e:(t===void 0?t=[e,e]:(t[0]=e,t[1]=e),t)}class _c extends ec{constructor(t){super(t),this.extentChanged=!0,this.renderedExtent_=null,this.renderedPixelRatio,this.renderedProjection=null,this.renderedRevision,this.renderedTiles=[],this.newTiles_=!1,this.tmpExtent=Se(),this.tmpTileRange_=new Ja(0,0,0,0)}isDrawableTile(t){const i=this.getLayer(),s=t.getState(),n=i.getUseInterimTilesOnError();return s==w.LOADED||s==w.EMPTY||s==w.ERROR&&!n}getTile(t,i,s,n){const r=n.pixelRatio,a=n.viewState.projection,o=this.getLayer();let l=o.getSource().getTile(t,i,s,r,a);return l.getState()==w.ERROR&&o.getUseInterimTilesOnError()&&o.getPreload()>0&&(this.newTiles_=!0),this.isDrawableTile(l)||(l=l.getInterimTile()),l}getData(t){const i=this.frameState;if(!i)return null;const s=this.getLayer(),n=Et(i.pixelToCoordinateTransform,t.slice()),r=s.getExtent();if(r&&!Dn(r,n))return null;const a=i.pixelRatio,o=i.viewState.projection,h=i.viewState,l=s.getRenderSource(),c=l.getTileGridForProjection(h.projection),u=l.getTilePixelRatio(i.pixelRatio);for(let d=c.getZForResolution(h.resolution);d>=c.getMinZoom();--d){const f=c.getTileCoordForCoordAndZ(n,d),g=l.getTile(d,f[1],f[2],a,o);if(!(g instanceof Ha||g instanceof En)||g instanceof En&&g.getState()===w.EMPTY)return null;if(g.getState()!==w.LOADED)continue;const _=c.getOrigin(d),m=le(c.getTileSize(d)),v=c.getResolution(d),y=Math.floor(u*((n[0]-_[0])/v-f[1]*m[0])),p=Math.floor(u*((_[1]-n[1])/v-f[2]*m[1])),M=Math.round(u*l.getGutterForProjection(h.projection));return this.getImageData(g.getImage(),y+M,p+M)}return null}loadedTileCallback(t,i,s){return this.isDrawableTile(s)?super.loadedTileCallback(t,i,s):!1}prepareFrame(t){return!!this.getLayer().getSource()}renderFrame(t,i){const s=t.layerStatesArray[t.layerIndex],n=t.viewState,r=n.projection,a=n.resolution,o=n.center,h=n.rotation,l=t.pixelRatio,c=this.getLayer(),u=c.getSource(),d=u.getRevision(),f=u.getTileGridForProjection(r),g=f.getZForResolution(a,u.zDirection),_=f.getResolution(g);let m=t.extent;const v=t.viewState.resolution,y=u.getTilePixelRatio(l),p=Math.round(W(m)/v*l),M=Math.round(Dt(m)/v*l),C=s.extent&&Ze(s.extent);C&&(m=Ci(m,Ze(s.extent)));const b=_*p/2/y,I=_*M/2/y,P=[o[0]-b,o[1]-I,o[0]+b,o[1]+I],z=f.getTileRangeForExtentAndZ(m,g),U={};U[g]={};const Q=this.createLoadedTileFinder(u,r,U),gt=this.tmpExtent,It=this.tmpTileRange_;this.newTiles_=!1;const mi=h?yn(n.center,v,h,t.size):void 0;for(let At=z.minX;At<=z.maxX;++At)for(let H=z.minY;H<=z.maxY;++H){if(h&&!f.tileCoordIntersectsViewport([g,At,H],mi))continue;const V=this.getTile(g,At,H,t);if(this.isDrawableTile(V)){const ct=dt(this);if(V.getState()==w.LOADED){U[g][V.tileCoord.toString()]=V;let Oe=V.inTransition(ct);Oe&&s.opacity!==1&&(V.endTransition(ct),Oe=!1),!this.newTiles_&&(Oe||!this.renderedTiles.includes(V))&&(this.newTiles_=!0)}if(V.getAlpha(ct,t.time)===1)continue}const Le=f.getTileCoordChildTileRange(V.tileCoord,It,gt);let Wt=!1;Le&&(Wt=Q(g+1,Le)),Wt||f.forEachTileCoordParentTileRange(V.tileCoord,Q,It,gt)}const Pt=_/a*l/y;wi(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/l,1/l,h,-p/2,-M/2);const Gt=ol(this.pixelTransform);this.useContainer(i,Gt,this.getBackground(t));const k=this.context,_t=k.canvas;za(this.inversePixelTransform,this.pixelTransform),wi(this.tempTransform,p/2,M/2,Pt,Pt,0,-p/2,-M/2),_t.width!=p||_t.height!=M?(_t.width=p,_t.height=M):this.containerReused||k.clearRect(0,0,p,M),C&&this.clipUnrotated(k,t,C),u.getInterpolate()||(k.imageSmoothingEnabled=!1),this.preRender(k,t),this.renderedTiles.length=0;let zt=Object.keys(U).map(Number);zt.sort(An);let St,me,lt;s.opacity===1&&(!this.containerReused||u.getOpaque(t.viewState.projection))?zt=zt.reverse():(St=[],me=[]);for(let At=zt.length-1;At>=0;--At){const H=zt[At],V=u.getTilePixelSize(H,l,r),Wt=f.getResolution(H)/_,ct=V[0]*Wt*Pt,Oe=V[1]*Wt*Pt,Hs=f.getTileCoordForCoordAndZ(Ae(P),H),hr=f.getTileCoordExtent(Hs),Ji=Et(this.tempTransform,[y*(hr[0]-P[0])/_,y*(P[3]-hr[3])/_]),Ko=y*u.getGutterForProjection(r),lr=U[H];for(const Zo in lr){const Ne=lr[Zo],cr=Ne.tileCoord,ur=Hs[1]-cr[1],Bo=Math.round(Ji[0]-(ur-1)*ct),dr=Hs[2]-cr[2],Vo=Math.round(Ji[1]-(dr-1)*Oe),kt=Math.round(Ji[0]-ur*ct),jt=Math.round(Ji[1]-dr*Oe),yi=Bo-kt,vi=Vo-jt,fr=g===H,gr=fr&&Ne.getAlpha(dt(this),t.time)!==1;let Qs=!1;if(!gr)if(St){lt=[kt,jt,kt+yi,jt,kt+yi,jt+vi,kt,jt+vi];for(let ts=0,Wo=St.length;ts0&&this.getCount()>this.highWaterMark}expireCache(t){for(;this.canExpireCache();)this.pop()}clear(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}containsKey(t){return this.entries_.hasOwnProperty(t)}forEach(t){let i=this.oldest_;for(;i;)t(i.value_,i.key_,this),i=i.newer}get(t,i){const s=this.entries_[t];return j(s!==void 0,"Tried to get a value for a key that does not exist in the cache"),s===this.newest_||(s===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(s.newer.older=s.older,s.older.newer=s.newer),s.newer=null,s.older=this.newest_,this.newest_.newer=s,this.newest_=s),s.value_}remove(t){const i=this.entries_[t];return j(i!==void 0,"Tried to get a value for a key that does not exist in the cache"),i===this.newest_?(this.newest_=i.older,this.newest_&&(this.newest_.newer=null)):i===this.oldest_?(this.oldest_=i.newer,this.oldest_&&(this.oldest_.older=null)):(i.newer.older=i.older,i.older.newer=i.newer),delete this.entries_[t],--this.count_,i.value_}getCount(){return this.count_}getKeys(){const t=new Array(this.count_);let i=0,s;for(s=this.newest_;s;s=s.older)t[i++]=s.key_;return t}getValues(){const t=new Array(this.count_);let i=0,s;for(s=this.newest_;s;s=s.older)t[i++]=s.value_;return t}peekLast(){return this.oldest_.value_}peekLastKey(){return this.oldest_.key_}peekFirstKey(){return this.newest_.key_}peek(t){if(this.containsKey(t))return this.entries_[t].value_}pop(){const t=this.oldest_;return delete this.entries_[t.key_],t.newer&&(t.newer.older=null),this.oldest_=t.newer,this.oldest_||(this.newest_=null),--this.count_,t.value_}replace(t,i){this.get(t),this.entries_[t].value_=i}set(t,i){j(!(t in this.entries_),"Tried to set a value for a key that is used already");const s={key_:t,newer:null,older:this.newest_,value_:i};this.newest_?this.newest_.newer=s:this.oldest_=s,this.newest_=s,this.entries_[t]=s,++this.count_}setSize(t){this.highWaterMark=t}}const pc=Mc;function Zr(e,t,i,s){return s!==void 0?(s[0]=e,s[1]=t,s[2]=i,s):[e,t,i]}function Zs(e,t,i){return e+"/"+t+"/"+i}function to(e){return Zs(e[0],e[1],e[2])}function Ec(e){return e.split("/").map(Number)}function xc(e){return(e[1]<i||i>t.getMaxZoom())return!1;const r=t.getFullTileRange(i);return r?r.containsXY(s,n):!0}class Rc extends pc{clear(){for(;this.getCount()>0;)this.pop().release();super.clear()}expireCache(t){for(;this.canExpireCache()&&!(this.peekLast().getKey()in t);)this.pop().release()}pruneExceptNewestZ(){if(this.getCount()===0)return;const t=this.peekFirstKey(),s=Ec(t)[0];this.forEach(n=>{n.tileCoord[0]!==s&&(this.remove(to(n.tileCoord)),n.release())})}}const eo=Rc,rn={TILELOADSTART:"tileloadstart",TILELOADEND:"tileloadend",TILELOADERROR:"tileloaderror"};class Tc extends Bt{constructor(t){super(),this.projection=ht(t.projection),this.attributions_=Br(t.attributions),this.attributionsCollapsible_=t.attributionsCollapsible!==void 0?t.attributionsCollapsible:!0,this.loading=!1,this.state_=t.state!==void 0?t.state:"ready",this.wrapX_=t.wrapX!==void 0?t.wrapX:!1,this.interpolate_=!!t.interpolate,this.viewResolver=null,this.viewRejector=null;const i=this;this.viewPromise_=new Promise(function(s,n){i.viewResolver=s,i.viewRejector=n})}getAttributions(){return this.attributions_}getAttributionsCollapsible(){return this.attributionsCollapsible_}getProjection(){return this.projection}getResolutions(t){return null}getView(){return this.viewPromise_}getState(){return this.state_}getWrapX(){return this.wrapX_}getInterpolate(){return this.interpolate_}refresh(){this.changed()}setAttributions(t){this.attributions_=Br(t),this.changed()}setState(t){this.state_=t,this.changed()}}function Br(e){return e?Array.isArray(e)?function(t){return e}:typeof e=="function"?e:function(t){return[e]}:null}const bc=Tc,ke=[0,0,0],Yt=5;class wc{constructor(t){this.minZoom=t.minZoom!==void 0?t.minZoom:0,this.resolutions_=t.resolutions,j(oh(this.resolutions_,function(n,r){return r-n},!0),"`resolutions` must be sorted in descending order");let i;if(!t.origins){for(let n=0,r=this.resolutions_.length-1;n=this.minZoom;){if(this.zoomFactor_===2?(a=Math.floor(a/2),o=Math.floor(o/2),r=ze(a,a,o,o,s)):r=this.getTileRangeForExtentAndZ(h,l,s),i(l,r))return!0;--l}return!1}getExtent(){return this.extent_}getMaxZoom(){return this.maxZoom}getMinZoom(){return this.minZoom}getOrigin(t){return this.origin_?this.origin_:this.origins_[t]}getResolution(t){return this.resolutions_[t]}getResolutions(){return this.resolutions_}getTileCoordChildTileRange(t,i,s){if(t[0]this.maxZoom||i0?s:Math.max(r/i[0],n/i[1]);const a=t+1,o=new Array(a);for(let h=0;hs.highWaterMark&&(s.highWaterMark=t)}useTile(t,i,s,n){}}class Oc extends _e{constructor(t,i){super(t),this.tile=i}}const Nc=Lc;function Dc(e,t){const i=/\{z\}/g,s=/\{x\}/g,n=/\{y\}/g,r=/\{-y\}/g;return function(a,o,h){if(a)return e.replace(i,a[0].toString()).replace(s,a[1].toString()).replace(n,a[2].toString()).replace(r,function(){const l=a[0],c=t.getFullTileRange(l);return j(c,"The {-y} placeholder requires a tile grid with extent"),(c.getHeight()-a[2]-1).toString()})}}function Fc(e,t){const i=e.length,s=new Array(i);for(let n=0;nthis.getTileInternal(m,v,y,p,a),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.getInterpolate());return _.key=u,l?(_.interimTile=l,_.refreshInterimChain(),o.replace(c,_)):o.set(c,_),_}getTileInternal(t,i,s,n,r){let a=null;const o=Zs(t,i,s),h=this.getKey();if(!this.tileCache.containsKey(o))a=this.createTile_(t,i,s,n,r,h),this.tileCache.set(o,a);else if(a=this.tileCache.get(o),a.key!=h){const l=a;a=this.createTile_(t,i,s,n,r,h),l.getState()==w.IDLE?a.interimTile=l.interimTile:a.interimTile=l,a.refreshInterimChain(),this.tileCache.replace(o,a)}return a}setRenderReprojectionEdges(t){if(this.renderReprojectionEdges_!=t){this.renderReprojectionEdges_=t;for(const i in this.tileCacheForProjection)this.tileCacheForProjection[i].clear();this.changed()}}setTileGridForProjection(t,i){const s=ht(t);if(s){const n=dt(s);n in this.tileGridForProjection||(this.tileGridForProjection[n]=i)}}clear(){super.clear();for(const t in this.tileCacheForProjection)this.tileCacheForProjection[t].clear()}}function kc(e,t){e.getImage().src=t}const ro=zc;class jc extends ro{constructor(t){t=t||{};const i=t.projection!==void 0?t.projection:"EPSG:3857",s=t.tileGrid!==void 0?t.tileGrid:Sc({extent:Bn(i),maxResolution:t.maxResolution,maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize});super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,opaque:t.opaque,projection:i,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:s,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX!==void 0?t.wrapX:!0,transition:t.transition,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.gutter_=t.gutter!==void 0?t.gutter:0}getGutter(){return this.gutter_}}const Uc=jc,$c='© OpenStreetMap contributors.';class qc extends Uc{constructor(t){t=t||{};let i;t.attributions!==void 0?i=t.attributions:i=[$c];const s=t.crossOrigin!==void 0?t.crossOrigin:"anonymous",n=t.url!==void 0?t.url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png";super({attributions:i,attributionsCollapsible:!1,cacheSize:t.cacheSize,crossOrigin:s,interpolate:t.interpolate,maxZoom:t.maxZoom!==void 0?t.maxZoom:19,opaque:t.opaque!==void 0?t.opaque:!0,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,transition:t.transition,url:n,wrapX:t.wrapX,zDirection:t.zDirection})}}const Xc=qc;function Vr(e,t){const i=[];Object.keys(t).forEach(function(n){t[n]!==null&&t[n]!==void 0&&i.push(n+"="+encodeURIComponent(t[n]))});const s=i.join("&");return e=e.replace(/[?&]$/,""),e+=e.includes("?")?"&":"?",e+s}class Kc extends Zn{constructor(t){super({extent:t.extent,origin:t.origin,origins:t.origins,resolutions:t.resolutions,tileSize:t.tileSize,tileSizes:t.tileSizes,sizes:t.sizes}),this.matrixIds_=t.matrixIds}getMatrixId(t){return this.matrixIds_[t]}getMatrixIds(){return this.matrixIds_}}const Tm=Kc;class Zc extends ro{constructor(t){const i=t.requestEncoding!==void 0?t.requestEncoding:"KVP",s=t.tileGrid;let n=t.urls;n===void 0&&t.url!==void 0&&(n=no(t.url)),super({attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:t.tileClass,tileGrid:s,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,urls:n,wrapX:t.wrapX!==void 0?t.wrapX:!1,transition:t.transition,zDirection:t.zDirection}),this.version_=t.version!==void 0?t.version:"1.0.0",this.format_=t.format!==void 0?t.format:"image/jpeg",this.dimensions_=t.dimensions!==void 0?t.dimensions:{},this.layer_=t.layer,this.matrixSet_=t.matrixSet,this.style_=t.style,this.requestEncoding_=i,this.setKey(this.getKeyForDimensions_()),n&&n.length>0&&(this.tileUrlFunction=xn(n.map(this.createFromWMTSTemplate.bind(this))))}setUrls(t){this.urls=t;const i=t.join(` +`);this.setTileUrlFunction(xn(t.map(this.createFromWMTSTemplate.bind(this))),i)}getDimensions(){return this.dimensions_}getFormat(){return this.format_}getLayer(){return this.layer_}getMatrixSet(){return this.matrixSet_}getRequestEncoding(){return this.requestEncoding_}getStyle(){return this.style_}getVersion(){return this.version_}getKeyForDimensions_(){const t=this.urls?this.urls.slice(0):[];for(const i in this.dimensions_)t.push(i+"-"+this.dimensions_[i]);return t.join("/")}updateDimensions(t){Object.assign(this.dimensions_,t),this.setKey(this.getKeyForDimensions_())}createFromWMTSTemplate(t){const i=this.requestEncoding_,s={layer:this.layer_,style:this.style_,tilematrixset:this.matrixSet_};i=="KVP"&&Object.assign(s,{Service:"WMTS",Request:"GetTile",Version:this.version_,Format:this.format_}),t=i=="KVP"?Vr(t,s):t.replace(/\{(\w+?)\}/g,function(a,o){return o.toLowerCase()in s?s[o.toLowerCase()]:a});const n=this.tileGrid,r=this.dimensions_;return function(a,o,h){if(!a)return;const l={TileMatrix:n.getMatrixId(a[0]),TileCol:a[1],TileRow:a[2]};Object.assign(l,r);let c=t;return i=="KVP"?c=Vr(c,l):c=c.replace(/\{(\w+?)\}/g,function(u,d){return l[d]}),c}}}const bm=Zc;var ao={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/(function(e){(function(){var t={}.hasOwnProperty;function i(){for(var s=[],n=0;n component.");return e}const Qc="top-right";function wm(e){const{position:t=Qc,className:i,children:s,horizontalGap:n,verticalGap:r}=e,{map:a,padding:o}=Hc(),h=a.getOverlayContainerStopEvent();return th.createPortal(Kt.jsx(xa,{className:Wn("map-anchor",i),pointerEvents:"auto",userSelect:"text",...tu(t,o,n,r),children:s}),h)}function Jc(e){return{gap:e===void 0?20+10:0,space:10}}function tu(e,t,i,s){const n={position:"absolute",transitionProperty:"left, right, top, bottom",transitionDuration:"200ms",transitionTimingFunction:"ease-out"},a=i??0,h=s??0,l=Jc(s),c=u=>`${u}px`;switch(e){case"top-left":n.left=c(t.left+a),n.top=c(t.top+h);break;case"top-right":n.right=c(t.right+a),n.top=c(t.top+h);break;case"bottom-left":n.left=c(t.left+a),n.bottom=c(t.bottom+h+l.gap);break;case"bottom-right":n.right=c(t.right+a),n.bottom=c(t.bottom+h+l.gap);break}return n.maxH=`calc((100%) - ${n.top??"0px"} - ${n.bottom??l.gap+"px"} - ${h+"px"} - ${l.space+"px"})`,n.maxW=`calc((100%) - ${n.left??"0px"} - ${n.right??"0px"} - ${a+"px"})`,n.overflow="hidden",n}function eu(){var e=K.useRef(!1),t=K.useCallback(function(){return e.current},[]);return K.useEffect(function(){return e.current=!0,function(){e.current=!1}},[]),t}function iu(e,t,i){t===void 0&&(t=[]),i===void 0&&(i={loading:!1});var s=K.useRef(0),n=eu(),r=K.useState(i),a=r[0],o=r[1],h=K.useCallback(function(){for(var l=[],c=0;ct.getMapModel(e),[t,e]);return K.useMemo(()=>i.loading?{kind:"loading"}:i.error?{kind:"rejected",error:i.error}:{kind:"resolved",map:i.value},[i])}const pe=fi("map:MapContainer");function Im(e){const{mapId:t,viewPadding:i,className:s,...n}=e,r=K.useRef(null),a=lo(t),o=a.map;K.useEffect(()=>{if(a.kind!=="loading"){if(a.kind==="rejected"){pe.error("Cannot display the map. Caused by ",a.error);return}if(!o){pe.error(`No configuration available for map with id '${t}'.`);return}if(r.current){const l=nu(o,r.current);return()=>l?.destroy()}}},[a,o,t]),K.useEffect(()=>{const l=o?.olMap.getView();if(i&&l){const c=l.getCenter(),{top:u=0,right:d=0,bottom:f=0,left:g=0}=i;l.padding=[u,d,f,g],l.animate({center:c,duration:300})}},[i,o]);const h={height:"100%"};return Kt.jsx("div",{className:Wn("map-container",s),ref:r,style:h,children:o&&Kt.jsx(ru,{map:o.olMap,viewPadding:i,...n})})}function nu(e,t){const i=e.id,s=e.olMap;if(s.getTarget()){pe.error("Failed to display the map: the map already has a target. There may be more than one .");return}pe.isDebug()&&pe.debug(`Setting target of map '${i}':`,t),s.setTarget(t);let n=!1;return{destroy(){n||(pe.isDebug()&&pe.debug(`Removing target of map '${i}':`,t),s.setTarget(void 0),n=!0)}}}function ru(e){const{map:t,viewPadding:i,viewPaddingChangeBehavior:s="preserve-center",children:n}=e,r=K.useMemo(()=>({left:i?.left??0,right:i?.right??0,top:i?.top??0,bottom:i?.bottom??0}),[i]);K.useEffect(()=>{const o=t?.getView();if(!t||!o)return;const h=o.getCenter(),l=ou(o.padding),c=au(t,l);switch(o.padding=hu(r),s){case"preserve-center":o.animate({center:h,duration:300});break;case"preserve-extent":{c&&o.animate({center:h,resolution:o.getResolutionForExtent(c),duration:300});break}}},[r,t,s]);const a=K.useMemo(()=>({map:t,padding:r}),[t,r]);return Kt.jsx(Yc,{value:a,children:n})}function au(e,t){const i=e.getSize();if(!i||i.length<2)return;const[s,n]=i,r=e.getCoordinateFromPixel([t.left,t.bottom]),a=e.getCoordinateFromPixel([Math.max(0,s-t.right),Math.max(0,n-t.top)]);if(!r||!a)return;const[o,h]=r,[l,c]=a;return[o,h,l,c]}function ou(e){return{top:e?.[0]??0,right:e?.[1]??0,bottom:e?.[2]??0,left:e?.[3]??0}}function hu(e){const{top:t,right:i,bottom:s,left:n}=e;return[t,i,s,n]}function lu(e){e("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),e("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),e("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),e.WGS84=e["EPSG:4326"],e["EPSG:3785"]=e["EPSG:3857"],e.GOOGLE=e["EPSG:3857"],e["EPSG:900913"]=e["EPSG:3857"],e["EPSG:102113"]=e["EPSG:3857"]}var Ie=1,Pe=2,si=3,cu=4,Cn=5,Wr=6378137,uu=6356752314e-3,Yr=.0066943799901413165,Ri=484813681109536e-20,E=Math.PI/2,du=.16666666666666666,fu=.04722222222222222,gu=.022156084656084655,R=1e-10,et=.017453292519943295,Ot=57.29577951308232,N=Math.PI/4,Pi=Math.PI*2,Z=3.14159265359,ft={};ft.greenwich=0;ft.lisbon=-9.131906111111;ft.paris=2.337229166667;ft.bogota=-74.080916666667;ft.madrid=-3.687938888889;ft.rome=12.452333333333;ft.bern=7.439583333333;ft.jakarta=106.807719444444;ft.ferro=-17.666666666667;ft.brussels=4.367975;ft.stockholm=18.058277777778;ft.athens=23.7163375;ft.oslo=10.722916666667;const _u={ft:{to_meter:.3048},"us-ft":{to_meter:1200/3937}};var Hr=/[\s_\-\/\(\)]/g;function fe(e,t){if(e[t])return e[t];for(var i=Object.keys(e),s=t.toLowerCase().replace(Hr,""),n=-1,r,a;++n=this.text.length)return;e=this.text[this.place++]}switch(this.state){case Si:return this.neutral(e);case co:return this.keyword(e);case Ts:return this.quoted(e);case fo:return this.afterquote(e);case uo:return this.number(e);case Hn:return}};Vt.prototype.afterquote=function(e){if(e==='"'){this.word+='"',this.state=Ts;return}if(Bs.test(e)){this.word=this.word.trim(),this.afterItem(e);return}throw new Error(`havn't handled "`+e+'" in afterquote yet, index '+this.place)};Vt.prototype.afterItem=function(e){if(e===","){this.word!==null&&this.currentObject.push(this.word),this.word=null,this.state=Si;return}if(e==="]"){this.level--,this.word!==null&&(this.currentObject.push(this.word),this.word=null),this.state=Si,this.currentObject=this.stack.pop(),this.currentObject||(this.state=Hn);return}};Vt.prototype.number=function(e){if(go.test(e)){this.word+=e;return}if(Bs.test(e)){this.word=parseFloat(this.word),this.afterItem(e);return}throw new Error(`havn't handled "`+e+'" in number yet, index '+this.place)};Vt.prototype.quoted=function(e){if(e==='"'){this.state=fo;return}this.word+=e};Vt.prototype.keyword=function(e){if(vu.test(e)){this.word+=e;return}if(e==="["){var t=[];t.push(this.word),this.level++,this.root===null?this.root=t:this.currentObject.push(t),this.stack.push(this.currentObject),this.currentObject=t,this.state=Si;return}if(Bs.test(e)){this.afterItem(e);return}throw new Error(`havn't handled "`+e+'" in keyword yet, index '+this.place)};Vt.prototype.neutral=function(e){if(yu.test(e)){this.word=e,this.state=co;return}if(e==='"'){this.word="",this.state=Ts;return}if(go.test(e)){this.word=e,this.state=uo;return}if(Bs.test(e)){this.afterItem(e);return}throw new Error(`havn't handled "`+e+'" in neutral yet, index '+this.place)};Vt.prototype.output=function(){for(;this.place0?90:-90),e.lat_ts=e.lat1):!e.lat_ts&&e.lat0&&e.projName==="Polar_Stereographic"&&(e.lat_ts=e.lat0,e.lat0=Lt(e.lat0>0?90:-90))}function _o(e){var t=Mu(e),i=t.shift(),s=t.shift();t.unshift(["name",s]),t.unshift(["type",i]);var n={};return Be(t,n),xu(n),n}function at(e){var t=this;if(arguments.length===2){var i=arguments[1];typeof i=="string"?i.charAt(0)==="+"?at[e]=Rn(arguments[1]):at[e]=_o(arguments[1]):at[e]=i}else if(arguments.length===1){if(Array.isArray(e))return e.map(function(s){Array.isArray(s)?at.apply(t,s):at(s)});if(typeof e=="string"){if(e in at)return at[e]}else"EPSG"in e?at["EPSG:"+e.EPSG]=e:"ESRI"in e?at["ESRI:"+e.ESRI]=e:"IAU2000"in e?at["IAU2000:"+e.IAU2000]=e:console.log(e);return}}lu(at);function Cu(e){return typeof e=="string"}function Ru(e){return e in at}var Tu=["PROJECTEDCRS","PROJCRS","GEOGCS","GEOCCS","PROJCS","LOCAL_CS","GEODCRS","GEODETICCRS","GEODETICDATUM","ENGCRS","ENGINEERINGCRS"];function bu(e){return Tu.some(function(t){return e.indexOf(t)>-1})}var wu=["3857","900913","3785","102113"];function Iu(e){var t=fe(e,"authority");if(t){var i=fe(t,"epsg");return i&&wu.indexOf(i)>-1}}function Pu(e){var t=fe(e,"extension");if(t)return fe(t,"proj4")}function Su(e){return e[0]==="+"}function Au(e){if(Cu(e)){if(Ru(e))return at[e];if(bu(e)){var t=_o(e);if(Iu(t))return at["EPSG:3857"];var i=Pu(t);return i?Rn(i):t}if(Su(e))return Rn(e)}else return e}function Jr(e,t){e=e||{};var i,s;if(!t)return e;for(s in t)i=t[s],i!==void 0&&(e[s]=i);return e}function Ft(e,t,i){var s=e*t;return i/Math.sqrt(1-s*s)}function Zi(e){return e<0?-1:1}function T(e){return Math.abs(e)<=Z?e:e-Zi(e)*Pi}function wt(e,t,i){var s=e*i,n=.5*e;return s=Math.pow((1-s)/(1+s),n),Math.tan(.5*(E-t))/s}function Ai(e,t){for(var i=.5*e,s,n,r=E-2*Math.atan(t),a=0;a<=15;a++)if(s=e*Math.sin(r),n=E-2*Math.atan(t*Math.pow((1-s)/(1+s),i))-r,r+=n,Math.abs(n)<=1e-10)return r;return-9999}function Lu(){var e=this.b/this.a;this.es=1-e*e,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=Ft(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)}function Ou(e){var t=e.x,i=e.y;if(i*Ot>90&&i*Ot<-90&&t*Ot>180&&t*Ot<-180)return null;var s,n;if(Math.abs(Math.abs(i)-E)<=R)return null;if(this.sphere)s=this.x0+this.a*this.k0*T(t-this.long0),n=this.y0+this.a*this.k0*Math.log(Math.tan(N+.5*i));else{var r=Math.sin(i),a=wt(this.e,i,r);s=this.x0+this.a*this.k0*T(t-this.long0),n=this.y0-this.a*this.k0*Math.log(a)}return e.x=s,e.y=n,e}function Nu(e){var t=e.x-this.x0,i=e.y-this.y0,s,n;if(this.sphere)n=E-2*Math.atan(Math.exp(-i/(this.a*this.k0)));else{var r=Math.exp(-i/(this.a*this.k0));if(n=Ai(this.e,r),n===-9999)return null}return s=T(this.long0+t/(this.a*this.k0)),e.x=s,e.y=n,e}var Du=["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"];const Fu={init:Lu,forward:Ou,inverse:Nu,names:Du};function Gu(){}function ta(e){return e}var zu=["longlat","identity"];const ku={init:Gu,forward:ta,inverse:ta,names:zu};var ju=[Fu,ku],gs={},bs=[];function mo(e,t){var i=bs.length;return e.names?(bs[i]=e,e.names.forEach(function(s){gs[s.toLowerCase()]=i}),this):(console.log(t),!0)}function Uu(e){if(!e)return!1;var t=e.toLowerCase();if(typeof gs[t]<"u"&&bs[gs[t]])return bs[gs[t]]}function $u(){ju.forEach(mo)}const qu={start:$u,add:mo,get:Uu};var S={};S.MERIT={a:6378137,rf:298.257,ellipseName:"MERIT 1983"};S.SGS85={a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"};S.GRS80={a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"};S.IAU76={a:6378140,rf:298.257,ellipseName:"IAU 1976"};S.airy={a:6377563396e-3,b:635625691e-2,ellipseName:"Airy 1830"};S.APL4={a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"};S.NWL9D={a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"};S.mod_airy={a:6377340189e-3,b:6356034446e-3,ellipseName:"Modified Airy"};S.andrae={a:637710443e-2,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"};S.aust_SA={a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"};S.GRS67={a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"};S.bessel={a:6377397155e-3,rf:299.1528128,ellipseName:"Bessel 1841"};S.bess_nam={a:6377483865e-3,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"};S.clrk66={a:63782064e-1,b:63565838e-1,ellipseName:"Clarke 1866"};S.clrk80={a:6378249145e-3,rf:293.4663,ellipseName:"Clarke 1880 mod."};S.clrk80ign={a:63782492e-1,b:6356515,rf:293.4660213,ellipseName:"Clarke 1880 (IGN)"};S.clrk58={a:6378293645208759e-9,rf:294.2606763692654,ellipseName:"Clarke 1858"};S.CPM={a:63757387e-1,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"};S.delmbr={a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"};S.engelis={a:637813605e-2,rf:298.2566,ellipseName:"Engelis 1985"};S.evrst30={a:6377276345e-3,rf:300.8017,ellipseName:"Everest 1830"};S.evrst48={a:6377304063e-3,rf:300.8017,ellipseName:"Everest 1948"};S.evrst56={a:6377301243e-3,rf:300.8017,ellipseName:"Everest 1956"};S.evrst69={a:6377295664e-3,rf:300.8017,ellipseName:"Everest 1969"};S.evrstSS={a:6377298556e-3,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"};S.fschr60={a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"};S.fschr60m={a:6378155,rf:298.3,ellipseName:"Fischer 1960"};S.fschr68={a:6378150,rf:298.3,ellipseName:"Fischer 1968"};S.helmert={a:6378200,rf:298.3,ellipseName:"Helmert 1906"};S.hough={a:6378270,rf:297,ellipseName:"Hough"};S.intl={a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"};S.kaula={a:6378163,rf:298.24,ellipseName:"Kaula 1961"};S.lerch={a:6378139,rf:298.257,ellipseName:"Lerch 1979"};S.mprts={a:6397300,rf:191,ellipseName:"Maupertius 1738"};S.new_intl={a:63781575e-1,b:63567722e-1,ellipseName:"New International 1967"};S.plessis={a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"};S.krass={a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"};S.SEasia={a:6378155,b:63567733205e-4,ellipseName:"Southeast Asia"};S.walbeck={a:6376896,b:63558348467e-4,ellipseName:"Walbeck"};S.WGS60={a:6378165,rf:298.3,ellipseName:"WGS 60"};S.WGS66={a:6378145,rf:298.25,ellipseName:"WGS 66"};S.WGS7={a:6378135,rf:298.26,ellipseName:"WGS 72"};var Xu=S.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"};S.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"};function Ku(e,t,i,s){var n=e*e,r=t*t,a=(n-r)/n,o=0;s?(e*=1-a*(du+a*(fu+a*gu)),n=e*e,a=0):o=Math.sqrt(a);var h=(n-r)/r;return{es:a,e:o,ep2:h}}function Zu(e,t,i,s,n){if(!e){var r=fe(S,s);r||(r=Xu),e=r.a,t=r.b,i=r.rf}return i&&!t&&(t=(1-1/i)*e),(i===0||Math.abs(e-t)3&&(o.datum_params[3]!==0||o.datum_params[4]!==0||o.datum_params[5]!==0||o.datum_params[6]!==0)&&(o.datum_type=Pe,o.datum_params[3]*=Ri,o.datum_params[4]*=Ri,o.datum_params[5]*=Ri,o.datum_params[6]=o.datum_params[6]/1e6+1)),a&&(o.datum_type=si,o.grids=a),o.a=i,o.b=s,o.es=n,o.ep2=r,o}var yo={};function Vu(e,t){var i=new DataView(t),s=Hu(i),n=Qu(i,s);n.nSubgrids>1&&console.log("Only single NTv2 subgrids are currently supported, subsequent sub grids are ignored");var r=Ju(i,n,s),a={header:n,subgrids:r};return yo[e]=a,a}function Wu(e){if(e===void 0)return null;var t=e.split(",");return t.map(Yu)}function Yu(e){if(e.length===0)return null;var t=e[0]==="@";return t&&(e=e.slice(1)),e==="null"?{name:"null",mandatory:!t,grid:null,isNull:!0}:{name:e,mandatory:!t,grid:yo[e]||null,isNull:!1}}function Ve(e){return e/3600*Math.PI/180}function Hu(e){var t=e.getInt32(8,!1);return t===11?!1:(t=e.getInt32(8,!0),t!==11&&console.warn("Failed to detect nadgrid endian-ness, defaulting to little-endian"),!0)}function Qu(e,t){return{nFields:e.getInt32(8,t),nSubgridFields:e.getInt32(24,t),nSubgrids:e.getInt32(40,t),shiftType:Tn(e,56,56+8).trim(),fromSemiMajorAxis:e.getFloat64(120,t),fromSemiMinorAxis:e.getFloat64(136,t),toSemiMajorAxis:e.getFloat64(152,t),toSemiMinorAxis:e.getFloat64(168,t)}}function Tn(e,t,i){return String.fromCharCode.apply(null,new Uint8Array(e.buffer.slice(t,i)))}function Ju(e,t,i){for(var s=176,n=[],r=0;r5e-11?!1:e.datum_type===Ie?e.datum_params[0]===t.datum_params[0]&&e.datum_params[1]===t.datum_params[1]&&e.datum_params[2]===t.datum_params[2]:e.datum_type===Pe?e.datum_params[0]===t.datum_params[0]&&e.datum_params[1]===t.datum_params[1]&&e.datum_params[2]===t.datum_params[2]&&e.datum_params[3]===t.datum_params[3]&&e.datum_params[4]===t.datum_params[4]&&e.datum_params[5]===t.datum_params[5]&&e.datum_params[6]===t.datum_params[6]:!0}function vo(e,t,i){var s=e.x,n=e.y,r=e.z?e.z:0,a,o,h,l;if(n<-E&&n>-1.001*E)n=-E;else if(n>E&&n<1.001*E)n=E;else{if(n<-E)return{x:-1/0,y:-1/0,z:e.z};if(n>E)return{x:1/0,y:1/0,z:e.z}}return s>Math.PI&&(s-=2*Math.PI),o=Math.sin(n),l=Math.cos(n),h=o*o,a=i/Math.sqrt(1-t*h),{x:(a+r)*l*Math.cos(s),y:(a+r)*l*Math.sin(s),z:(a*(1-t)+r)*o}}function Mo(e,t,i,s){var n=1e-12,r=n*n,a=30,o,h,l,c,u,d,f,g,_,m,v,y,p,M=e.x,C=e.y,b=e.z?e.z:0,I,P,z;if(o=Math.sqrt(M*M+C*C),h=Math.sqrt(M*M+C*C+b*b),o/ir&&ps.y||c>s.x||fo&&Math.abs(h.y)>o);if(a<0)return console.log("Inverse grid shift iterator failed to converge."),s;s.x=T(r.x+i.ll[0]),s.y=r.y+i.ll[1]}else isNaN(r.x)||(s.x=e.x+r.x,s.y=e.y+r.y);return s}function ia(e,t){var i={x:e.x/t.del[0],y:e.y/t.del[1]},s={x:Math.floor(i.x),y:Math.floor(i.y)},n={x:i.x-1*s.x,y:i.y-1*s.y},r={x:Number.NaN,y:Number.NaN},a;if(s.x<0||s.x>=t.lim[0]||s.y<0||s.y>=t.lim[1])return r;a=s.y*t.lim[0]+s.x;var o={x:t.cvs[a][0],y:t.cvs[a][1]};a++;var h={x:t.cvs[a][0],y:t.cvs[a][1]};a+=t.lim[0];var l={x:t.cvs[a][0],y:t.cvs[a][1]};a--;var c={x:t.cvs[a][0],y:t.cvs[a][1]},u=n.x*n.y,d=n.x*(1-n.y),f=(1-n.x)*(1-n.y),g=(1-n.x)*n.y;return r.x=f*o.x+d*h.x+g*c.x+u*l.x,r.y=f*o.y+d*h.y+g*c.y+u*l.y,r}function sa(e,t,i){var s=i.x,n=i.y,r=i.z||0,a,o,h,l={};for(h=0;h<3;h++)if(!(t&&h===2&&i.z===void 0))switch(h===0?(a=s,"ew".indexOf(e.axis[h])!==-1?o="x":o="y"):h===1?(a=n,"ns".indexOf(e.axis[h])!==-1?o="y":o="x"):(a=r,o="z"),e.axis[h]){case"e":l[o]=a;break;case"w":l[o]=-a;break;case"n":l[o]=a;break;case"s":l[o]=-a;break;case"u":i[o]!==void 0&&(l.z=a);break;case"d":i[o]!==void 0&&(l.z=-a);break;default:return null}return l}function po(e){var t={x:e[0],y:e[1]};return e.length>2&&(t.z=e[2]),e.length>3&&(t.m=e[3]),t}function hd(e){na(e.x),na(e.y)}function na(e){if(typeof Number.isFinite=="function"){if(Number.isFinite(e))return;throw new TypeError("coordinates must be finite numbers")}if(typeof e!="number"||e!==e||!isFinite(e))throw new TypeError("coordinates must be finite numbers")}function ld(e,t){return(e.datum.datum_type===Ie||e.datum.datum_type===Pe||e.datum.datum_type===si)&&t.datumCode!=="WGS84"||(t.datum.datum_type===Ie||t.datum.datum_type===Pe||t.datum.datum_type===si)&&e.datumCode!=="WGS84"}function ws(e,t,i,s){var n;Array.isArray(i)?i=po(i):i={x:i.x,y:i.y,z:i.z,m:i.m};var r=i.z!==void 0;if(hd(i),e.datum&&t.datum&&ld(e,t)&&(n=new Nt("WGS84"),i=ws(e,n,i,s),e=n),s&&e.axis!=="enu"&&(i=sa(e,!1,i)),e.projName==="longlat")i={x:i.x*et,y:i.y*et,z:i.z||0};else if(e.to_meter&&(i={x:i.x*e.to_meter,y:i.y*e.to_meter,z:i.z||0}),i=e.inverse(i),!i)return;if(e.from_greenwich&&(i.x+=e.from_greenwich),i=ad(e.datum,t.datum,i),!!i)return t.from_greenwich&&(i={x:i.x-t.from_greenwich,y:i.y,z:i.z||0}),t.projName==="longlat"?i={x:i.x*Ot,y:i.y*Ot,z:i.z||0}:(i=t.forward(i),t.to_meter&&(i={x:i.x/t.to_meter,y:i.y/t.to_meter,z:i.z||0})),s&&t.axis!=="enu"?sa(t,!0,i):(r||delete i.z,i)}var ra=Nt("WGS84");function an(e,t,i,s){var n,r,a;return Array.isArray(i)?(n=ws(e,t,i,s)||{x:NaN,y:NaN},i.length>2?typeof e.name<"u"&&e.name==="geocent"||typeof t.name<"u"&&t.name==="geocent"?typeof n.z=="number"?[n.x,n.y,n.z].concat(i.splice(3)):[n.x,n.y,i[2]].concat(i.splice(3)):[n.x,n.y].concat(i.splice(2)):[n.x,n.y]):(r=ws(e,t,i,s),a=Object.keys(i),a.length===2||a.forEach(function(o){if(typeof e.name<"u"&&e.name==="geocent"||typeof t.name<"u"&&t.name==="geocent"){if(o==="x"||o==="y"||o==="z")return}else if(o==="x"||o==="y")return;r[o]=i[o]}),r)}function aa(e){return e instanceof Nt?e:e.oProj?e.oProj:Nt(e)}function Rt(e,t,i){e=aa(e);var s=!1,n;return typeof t>"u"?(t=e,e=ra,s=!0):(typeof t.x<"u"||Array.isArray(t))&&(i=t,t=e,e=ra,s=!0),t=aa(t),i?an(e,t,i):(n={forward:function(r,a){return an(e,t,r,a)},inverse:function(r,a){return an(t,e,r,a)}},s&&(n.oProj=t),n)}var oa=6,Eo="AJSAJS",xo="AFAFAF",We=65,ut=73,Mt=79,pi=86,Ei=90;const cd={forward:Co,inverse:ud,toPoint:Ro};function Co(e,t){return t=t||5,gd(dd({lat:e[1],lon:e[0]}),t)}function ud(e){var t=Qn(bo(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat,t.lon,t.lat]:[t.left,t.bottom,t.right,t.top]}function Ro(e){var t=Qn(bo(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat]:[(t.left+t.right)/2,(t.top+t.bottom)/2]}function on(e){return e*(Math.PI/180)}function ha(e){return 180*(e/Math.PI)}function dd(e){var t=e.lat,i=e.lon,s=6378137,n=.00669438,r=.9996,a,o,h,l,c,u,d,f=on(t),g=on(i),_,m;m=Math.floor((i+180)/6)+1,i===180&&(m=60),t>=56&&t<64&&i>=3&&i<12&&(m=32),t>=72&&t<84&&(i>=0&&i<9?m=31:i>=9&&i<21?m=33:i>=21&&i<33?m=35:i>=33&&i<42&&(m=37)),a=(m-1)*6-180+3,_=on(a),o=n/(1-n),h=s/Math.sqrt(1-n*Math.sin(f)*Math.sin(f)),l=Math.tan(f)*Math.tan(f),c=o*Math.cos(f)*Math.cos(f),u=Math.cos(f)*(g-_),d=s*((1-n/4-3*n*n/64-5*n*n*n/256)*f-(3*n/8+3*n*n/32+45*n*n*n/1024)*Math.sin(2*f)+(15*n*n/256+45*n*n*n/1024)*Math.sin(4*f)-35*n*n*n/3072*Math.sin(6*f));var v=r*h*(u+(1-l+c)*u*u*u/6+(5-18*l+l*l+72*c-58*o)*u*u*u*u*u/120)+5e5,y=r*(d+h*Math.tan(f)*(u*u/2+(5-l+9*c+4*c*c)*u*u*u*u/24+(61-58*l+l*l+600*c-330*o)*u*u*u*u*u*u/720));return t<0&&(y+=1e7),{northing:Math.round(y),easting:Math.round(v),zoneNumber:m,zoneLetter:fd(t)}}function Qn(e){var t=e.northing,i=e.easting,s=e.zoneLetter,n=e.zoneNumber;if(n<0||n>60)return null;var r=.9996,a=6378137,o=.00669438,h,l=(1-Math.sqrt(1-o))/(1+Math.sqrt(1-o)),c,u,d,f,g,_,m,v,y,p=i-5e5,M=t;s<"N"&&(M-=1e7),m=(n-1)*6-180+3,h=o/(1-o),_=M/r,v=_/(a*(1-o/4-3*o*o/64-5*o*o*o/256)),y=v+(3*l/2-27*l*l*l/32)*Math.sin(2*v)+(21*l*l/16-55*l*l*l*l/32)*Math.sin(4*v)+151*l*l*l/96*Math.sin(6*v),c=a/Math.sqrt(1-o*Math.sin(y)*Math.sin(y)),u=Math.tan(y)*Math.tan(y),d=h*Math.cos(y)*Math.cos(y),f=a*(1-o)/Math.pow(1-o*Math.sin(y)*Math.sin(y),1.5),g=p/(c*r);var C=y-c*Math.tan(y)/f*(g*g/2-(5+3*u+10*d-4*d*d-9*h)*g*g*g*g/24+(61+90*u+298*d+45*u*u-252*h-3*d*d)*g*g*g*g*g*g/720);C=ha(C);var b=(g-(1+2*u+d)*g*g*g/6+(5-2*d+28*u-3*d*d+8*h+24*u*u)*g*g*g*g*g/120)/Math.cos(y);b=m+ha(b);var I;if(e.accuracy){var P=Qn({northing:e.northing+e.accuracy,easting:e.easting+e.accuracy,zoneLetter:e.zoneLetter,zoneNumber:e.zoneNumber});I={top:P.lat,right:P.lon,bottom:C,left:b}}else I={lat:C,lon:b};return I}function fd(e){var t="Z";return 84>=e&&e>=72?t="X":72>e&&e>=64?t="W":64>e&&e>=56?t="V":56>e&&e>=48?t="U":48>e&&e>=40?t="T":40>e&&e>=32?t="S":32>e&&e>=24?t="R":24>e&&e>=16?t="Q":16>e&&e>=8?t="P":8>e&&e>=0?t="N":0>e&&e>=-8?t="M":-8>e&&e>=-16?t="L":-16>e&&e>=-24?t="K":-24>e&&e>=-32?t="J":-32>e&&e>=-40?t="H":-40>e&&e>=-48?t="G":-48>e&&e>=-56?t="F":-56>e&&e>=-64?t="E":-64>e&&e>=-72?t="D":-72>e&&e>=-80&&(t="C"),t}function gd(e,t){var i="00000"+e.easting,s="00000"+e.northing;return e.zoneNumber+e.zoneLetter+_d(e.easting,e.northing,e.zoneNumber)+i.substr(i.length-5,t)+s.substr(s.length-5,t)}function _d(e,t,i){var s=To(i),n=Math.floor(e/1e5),r=Math.floor(t/1e5)%20;return md(n,r,s)}function To(e){var t=e%oa;return t===0&&(t=oa),t}function md(e,t,i){var s=i-1,n=Eo.charCodeAt(s),r=xo.charCodeAt(s),a=n+e-1,o=r+t,h=!1;a>Ei&&(a=a-Ei+We-1,h=!0),(a===ut||nut||(a>ut||nMt||(a>Mt||nEi&&(a=a-Ei+We-1),o>pi?(o=o-pi+We-1,h=!0):h=!1,(o===ut||rut||(o>ut||rMt||(o>Mt||rpi&&(o=o-pi+We-1);var l=String.fromCharCode(a)+String.fromCharCode(o);return l}function bo(e){if(e&&e.length===0)throw"MGRSPoint coverting from nothing";for(var t=e.length,i=null,s="",n,r=0;!/[A-Z]/.test(n=e.charAt(r));){if(r>=2)throw"MGRSPoint bad conversion from: "+e;s+=n,r++}var a=parseInt(s,10);if(r===0||r+3>t)throw"MGRSPoint bad conversion from: "+e;var o=e.charAt(r++);if(o<="A"||o==="B"||o==="Y"||o>="Z"||o==="I"||o==="O")throw"MGRSPoint zone letter "+o+" not handled: "+e;i=e.substring(r,r+=2);for(var h=To(a),l=yd(i.charAt(0),h),c=vd(i.charAt(1),h);c component.");return e}const Yc="top-right";function wm(e){const{position:t=Yc,className:i,children:s,horizontalGap:n,verticalGap:r}=e,{map:a,padding:o}=Wc(),h=a.getOverlayContainerStopEvent();return Ho.createPortal(Kt.jsx(Ea,{className:Wn("map-anchor",i),pointerEvents:"auto",userSelect:"text",...Qc(t,o,n,r),children:s}),h)}function Hc(e){return{gap:e===void 0?20+10:0,space:10}}function Qc(e,t,i,s){const n={position:"absolute",transitionProperty:"left, right, top, bottom",transitionDuration:"200ms",transitionTimingFunction:"ease-out"},a=i??0,h=s??0,l=Hc(s),c=u=>`${u}px`;switch(e){case"top-left":n.left=c(t.left+a),n.top=c(t.top+h);break;case"top-right":n.right=c(t.right+a),n.top=c(t.top+h);break;case"bottom-left":n.left=c(t.left+a),n.bottom=c(t.bottom+h+l.gap);break;case"bottom-right":n.right=c(t.right+a),n.bottom=c(t.bottom+h+l.gap);break}return n.maxH=`calc((100%) - ${n.top??"0px"} - ${n.bottom??l.gap+"px"} - ${h+"px"} - ${l.space+"px"})`,n.maxW=`calc((100%) - ${n.left??"0px"} - ${n.right??"0px"} - ${a+"px"})`,n.overflow="hidden",n}const Jc="@open-pioneer/map",tu=Qo.bind(void 0,Jc);function eu(){var e=K.useRef(!1),t=K.useCallback(function(){return e.current},[]);return K.useEffect(function(){return e.current=!0,function(){e.current=!1}},[]),t}function iu(e,t,i){t===void 0&&(t=[]),i===void 0&&(i={loading:!1});var s=K.useRef(0),n=eu(),r=K.useState(i),a=r[0],o=r[1],h=K.useCallback(function(){for(var l=[],c=0;ct.getMapModel(e),[t,e]);return K.useMemo(()=>i.loading?{kind:"loading"}:i.error?{kind:"rejected",error:i.error}:{kind:"resolved",map:i.value},[i])}const pe=fi("map:MapContainer");function Im(e){const{mapId:t,viewPadding:i,className:s,...n}=e,r=K.useRef(null),a=oo(t),o=a.map;K.useEffect(()=>{if(a.kind!=="loading"){if(a.kind==="rejected"){pe.error("Cannot display the map. Caused by ",a.error);return}if(!o){pe.error(`No configuration available for map with id '${t}'.`);return}if(r.current){const l=nu(o,r.current);return()=>l?.destroy()}}},[a,o,t]),K.useEffect(()=>{const l=o?.olMap.getView();if(i&&l){const c=l.getCenter(),{top:u=0,right:d=0,bottom:f=0,left:g=0}=i;l.padding=[u,d,f,g],l.animate({center:c,duration:300})}},[i,o]);const h={height:"100%"};return Kt.jsx("div",{className:Wn("map-container",s),ref:r,style:h,children:o&&Kt.jsx(ru,{map:o.olMap,viewPadding:i,...n})})}function nu(e,t){const i=e.id,s=e.olMap;if(s.getTarget()){pe.error("Failed to display the map: the map already has a target. There may be more than one .");return}pe.isDebug()&&pe.debug(`Setting target of map '${i}':`,t),s.setTarget(t);let n=!1;return{destroy(){n||(pe.isDebug()&&pe.debug(`Removing target of map '${i}':`,t),s.setTarget(void 0),n=!0)}}}function ru(e){const{map:t,viewPadding:i,viewPaddingChangeBehavior:s="preserve-center",children:n}=e,r=K.useMemo(()=>({left:i?.left??0,right:i?.right??0,top:i?.top??0,bottom:i?.bottom??0}),[i]);K.useEffect(()=>{const o=t?.getView();if(!t||!o)return;const h=o.getCenter(),l=ou(o.padding),c=au(t,l);switch(o.padding=hu(r),s){case"preserve-center":o.animate({center:h,duration:300});break;case"preserve-extent":{c&&o.animate({center:h,resolution:o.getResolutionForExtent(c),duration:300});break}}},[r,t,s]);const a=K.useMemo(()=>({map:t,padding:r}),[t,r]);return Kt.jsx(Vc,{value:a,children:n})}function au(e,t){const i=e.getSize();if(!i||i.length<2)return;const[s,n]=i,r=e.getCoordinateFromPixel([t.left,t.bottom]),a=e.getCoordinateFromPixel([Math.max(0,s-t.right),Math.max(0,n-t.top)]);if(!r||!a)return;const[o,h]=r,[l,c]=a;return[o,h,l,c]}function ou(e){return{top:e?.[0]??0,right:e?.[1]??0,bottom:e?.[2]??0,left:e?.[3]??0}}function hu(e){const{top:t,right:i,bottom:s,left:n}=e;return[t,i,s,n]}function lu(e){e("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),e("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),e("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),e.WGS84=e["EPSG:4326"],e["EPSG:3785"]=e["EPSG:3857"],e.GOOGLE=e["EPSG:3857"],e["EPSG:900913"]=e["EPSG:3857"],e["EPSG:102113"]=e["EPSG:3857"]}var Ie=1,Pe=2,si=3,cu=4,Cn=5,Wr=6378137,uu=6356752314e-3,Yr=.0066943799901413165,Ri=484813681109536e-20,E=Math.PI/2,du=.16666666666666666,fu=.04722222222222222,gu=.022156084656084655,R=1e-10,et=.017453292519943295,Ot=57.29577951308232,N=Math.PI/4,Pi=Math.PI*2,Z=3.14159265359,ft={};ft.greenwich=0;ft.lisbon=-9.131906111111;ft.paris=2.337229166667;ft.bogota=-74.080916666667;ft.madrid=-3.687938888889;ft.rome=12.452333333333;ft.bern=7.439583333333;ft.jakarta=106.807719444444;ft.ferro=-17.666666666667;ft.brussels=4.367975;ft.stockholm=18.058277777778;ft.athens=23.7163375;ft.oslo=10.722916666667;const _u={ft:{to_meter:.3048},"us-ft":{to_meter:1200/3937}};var Hr=/[\s_\-\/\(\)]/g;function fe(e,t){if(e[t])return e[t];for(var i=Object.keys(e),s=t.toLowerCase().replace(Hr,""),n=-1,r,a;++n=this.text.length)return;e=this.text[this.place++]}switch(this.state){case Si:return this.neutral(e);case ho:return this.keyword(e);case Ts:return this.quoted(e);case co:return this.afterquote(e);case lo:return this.number(e);case Hn:return}};Vt.prototype.afterquote=function(e){if(e==='"'){this.word+='"',this.state=Ts;return}if(Bs.test(e)){this.word=this.word.trim(),this.afterItem(e);return}throw new Error(`havn't handled "`+e+'" in afterquote yet, index '+this.place)};Vt.prototype.afterItem=function(e){if(e===","){this.word!==null&&this.currentObject.push(this.word),this.word=null,this.state=Si;return}if(e==="]"){this.level--,this.word!==null&&(this.currentObject.push(this.word),this.word=null),this.state=Si,this.currentObject=this.stack.pop(),this.currentObject||(this.state=Hn);return}};Vt.prototype.number=function(e){if(uo.test(e)){this.word+=e;return}if(Bs.test(e)){this.word=parseFloat(this.word),this.afterItem(e);return}throw new Error(`havn't handled "`+e+'" in number yet, index '+this.place)};Vt.prototype.quoted=function(e){if(e==='"'){this.state=co;return}this.word+=e};Vt.prototype.keyword=function(e){if(vu.test(e)){this.word+=e;return}if(e==="["){var t=[];t.push(this.word),this.level++,this.root===null?this.root=t:this.currentObject.push(t),this.stack.push(this.currentObject),this.currentObject=t,this.state=Si;return}if(Bs.test(e)){this.afterItem(e);return}throw new Error(`havn't handled "`+e+'" in keyword yet, index '+this.place)};Vt.prototype.neutral=function(e){if(yu.test(e)){this.word=e,this.state=ho;return}if(e==='"'){this.word="",this.state=Ts;return}if(uo.test(e)){this.word=e,this.state=lo;return}if(Bs.test(e)){this.afterItem(e);return}throw new Error(`havn't handled "`+e+'" in neutral yet, index '+this.place)};Vt.prototype.output=function(){for(;this.place0?90:-90),e.lat_ts=e.lat1):!e.lat_ts&&e.lat0&&e.projName==="Polar_Stereographic"&&(e.lat_ts=e.lat0,e.lat0=Lt(e.lat0>0?90:-90))}function fo(e){var t=Mu(e),i=t.shift(),s=t.shift();t.unshift(["name",s]),t.unshift(["type",i]);var n={};return Be(t,n),xu(n),n}function at(e){var t=this;if(arguments.length===2){var i=arguments[1];typeof i=="string"?i.charAt(0)==="+"?at[e]=Rn(arguments[1]):at[e]=fo(arguments[1]):at[e]=i}else if(arguments.length===1){if(Array.isArray(e))return e.map(function(s){Array.isArray(s)?at.apply(t,s):at(s)});if(typeof e=="string"){if(e in at)return at[e]}else"EPSG"in e?at["EPSG:"+e.EPSG]=e:"ESRI"in e?at["ESRI:"+e.ESRI]=e:"IAU2000"in e?at["IAU2000:"+e.IAU2000]=e:console.log(e);return}}lu(at);function Cu(e){return typeof e=="string"}function Ru(e){return e in at}var Tu=["PROJECTEDCRS","PROJCRS","GEOGCS","GEOCCS","PROJCS","LOCAL_CS","GEODCRS","GEODETICCRS","GEODETICDATUM","ENGCRS","ENGINEERINGCRS"];function bu(e){return Tu.some(function(t){return e.indexOf(t)>-1})}var wu=["3857","900913","3785","102113"];function Iu(e){var t=fe(e,"authority");if(t){var i=fe(t,"epsg");return i&&wu.indexOf(i)>-1}}function Pu(e){var t=fe(e,"extension");if(t)return fe(t,"proj4")}function Su(e){return e[0]==="+"}function Au(e){if(Cu(e)){if(Ru(e))return at[e];if(bu(e)){var t=fo(e);if(Iu(t))return at["EPSG:3857"];var i=Pu(t);return i?Rn(i):t}if(Su(e))return Rn(e)}else return e}function Jr(e,t){e=e||{};var i,s;if(!t)return e;for(s in t)i=t[s],i!==void 0&&(e[s]=i);return e}function Ft(e,t,i){var s=e*t;return i/Math.sqrt(1-s*s)}function Zi(e){return e<0?-1:1}function T(e){return Math.abs(e)<=Z?e:e-Zi(e)*Pi}function wt(e,t,i){var s=e*i,n=.5*e;return s=Math.pow((1-s)/(1+s),n),Math.tan(.5*(E-t))/s}function Ai(e,t){for(var i=.5*e,s,n,r=E-2*Math.atan(t),a=0;a<=15;a++)if(s=e*Math.sin(r),n=E-2*Math.atan(t*Math.pow((1-s)/(1+s),i))-r,r+=n,Math.abs(n)<=1e-10)return r;return-9999}function Lu(){var e=this.b/this.a;this.es=1-e*e,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=Ft(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)}function Ou(e){var t=e.x,i=e.y;if(i*Ot>90&&i*Ot<-90&&t*Ot>180&&t*Ot<-180)return null;var s,n;if(Math.abs(Math.abs(i)-E)<=R)return null;if(this.sphere)s=this.x0+this.a*this.k0*T(t-this.long0),n=this.y0+this.a*this.k0*Math.log(Math.tan(N+.5*i));else{var r=Math.sin(i),a=wt(this.e,i,r);s=this.x0+this.a*this.k0*T(t-this.long0),n=this.y0-this.a*this.k0*Math.log(a)}return e.x=s,e.y=n,e}function Nu(e){var t=e.x-this.x0,i=e.y-this.y0,s,n;if(this.sphere)n=E-2*Math.atan(Math.exp(-i/(this.a*this.k0)));else{var r=Math.exp(-i/(this.a*this.k0));if(n=Ai(this.e,r),n===-9999)return null}return s=T(this.long0+t/(this.a*this.k0)),e.x=s,e.y=n,e}var Du=["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"];const Fu={init:Lu,forward:Ou,inverse:Nu,names:Du};function Gu(){}function ta(e){return e}var zu=["longlat","identity"];const ku={init:Gu,forward:ta,inverse:ta,names:zu};var ju=[Fu,ku],gs={},bs=[];function go(e,t){var i=bs.length;return e.names?(bs[i]=e,e.names.forEach(function(s){gs[s.toLowerCase()]=i}),this):(console.log(t),!0)}function Uu(e){if(!e)return!1;var t=e.toLowerCase();if(typeof gs[t]<"u"&&bs[gs[t]])return bs[gs[t]]}function $u(){ju.forEach(go)}const qu={start:$u,add:go,get:Uu};var S={};S.MERIT={a:6378137,rf:298.257,ellipseName:"MERIT 1983"};S.SGS85={a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"};S.GRS80={a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"};S.IAU76={a:6378140,rf:298.257,ellipseName:"IAU 1976"};S.airy={a:6377563396e-3,b:635625691e-2,ellipseName:"Airy 1830"};S.APL4={a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"};S.NWL9D={a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"};S.mod_airy={a:6377340189e-3,b:6356034446e-3,ellipseName:"Modified Airy"};S.andrae={a:637710443e-2,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"};S.aust_SA={a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"};S.GRS67={a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"};S.bessel={a:6377397155e-3,rf:299.1528128,ellipseName:"Bessel 1841"};S.bess_nam={a:6377483865e-3,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"};S.clrk66={a:63782064e-1,b:63565838e-1,ellipseName:"Clarke 1866"};S.clrk80={a:6378249145e-3,rf:293.4663,ellipseName:"Clarke 1880 mod."};S.clrk80ign={a:63782492e-1,b:6356515,rf:293.4660213,ellipseName:"Clarke 1880 (IGN)"};S.clrk58={a:6378293645208759e-9,rf:294.2606763692654,ellipseName:"Clarke 1858"};S.CPM={a:63757387e-1,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"};S.delmbr={a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"};S.engelis={a:637813605e-2,rf:298.2566,ellipseName:"Engelis 1985"};S.evrst30={a:6377276345e-3,rf:300.8017,ellipseName:"Everest 1830"};S.evrst48={a:6377304063e-3,rf:300.8017,ellipseName:"Everest 1948"};S.evrst56={a:6377301243e-3,rf:300.8017,ellipseName:"Everest 1956"};S.evrst69={a:6377295664e-3,rf:300.8017,ellipseName:"Everest 1969"};S.evrstSS={a:6377298556e-3,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"};S.fschr60={a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"};S.fschr60m={a:6378155,rf:298.3,ellipseName:"Fischer 1960"};S.fschr68={a:6378150,rf:298.3,ellipseName:"Fischer 1968"};S.helmert={a:6378200,rf:298.3,ellipseName:"Helmert 1906"};S.hough={a:6378270,rf:297,ellipseName:"Hough"};S.intl={a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"};S.kaula={a:6378163,rf:298.24,ellipseName:"Kaula 1961"};S.lerch={a:6378139,rf:298.257,ellipseName:"Lerch 1979"};S.mprts={a:6397300,rf:191,ellipseName:"Maupertius 1738"};S.new_intl={a:63781575e-1,b:63567722e-1,ellipseName:"New International 1967"};S.plessis={a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"};S.krass={a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"};S.SEasia={a:6378155,b:63567733205e-4,ellipseName:"Southeast Asia"};S.walbeck={a:6376896,b:63558348467e-4,ellipseName:"Walbeck"};S.WGS60={a:6378165,rf:298.3,ellipseName:"WGS 60"};S.WGS66={a:6378145,rf:298.25,ellipseName:"WGS 66"};S.WGS7={a:6378135,rf:298.26,ellipseName:"WGS 72"};var Xu=S.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"};S.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"};function Ku(e,t,i,s){var n=e*e,r=t*t,a=(n-r)/n,o=0;s?(e*=1-a*(du+a*(fu+a*gu)),n=e*e,a=0):o=Math.sqrt(a);var h=(n-r)/r;return{es:a,e:o,ep2:h}}function Zu(e,t,i,s,n){if(!e){var r=fe(S,s);r||(r=Xu),e=r.a,t=r.b,i=r.rf}return i&&!t&&(t=(1-1/i)*e),(i===0||Math.abs(e-t)3&&(o.datum_params[3]!==0||o.datum_params[4]!==0||o.datum_params[5]!==0||o.datum_params[6]!==0)&&(o.datum_type=Pe,o.datum_params[3]*=Ri,o.datum_params[4]*=Ri,o.datum_params[5]*=Ri,o.datum_params[6]=o.datum_params[6]/1e6+1)),a&&(o.datum_type=si,o.grids=a),o.a=i,o.b=s,o.es=n,o.ep2=r,o}var _o={};function Vu(e,t){var i=new DataView(t),s=Hu(i),n=Qu(i,s);n.nSubgrids>1&&console.log("Only single NTv2 subgrids are currently supported, subsequent sub grids are ignored");var r=Ju(i,n,s),a={header:n,subgrids:r};return _o[e]=a,a}function Wu(e){if(e===void 0)return null;var t=e.split(",");return t.map(Yu)}function Yu(e){if(e.length===0)return null;var t=e[0]==="@";return t&&(e=e.slice(1)),e==="null"?{name:"null",mandatory:!t,grid:null,isNull:!0}:{name:e,mandatory:!t,grid:_o[e]||null,isNull:!1}}function Ve(e){return e/3600*Math.PI/180}function Hu(e){var t=e.getInt32(8,!1);return t===11?!1:(t=e.getInt32(8,!0),t!==11&&console.warn("Failed to detect nadgrid endian-ness, defaulting to little-endian"),!0)}function Qu(e,t){return{nFields:e.getInt32(8,t),nSubgridFields:e.getInt32(24,t),nSubgrids:e.getInt32(40,t),shiftType:Tn(e,56,56+8).trim(),fromSemiMajorAxis:e.getFloat64(120,t),fromSemiMinorAxis:e.getFloat64(136,t),toSemiMajorAxis:e.getFloat64(152,t),toSemiMinorAxis:e.getFloat64(168,t)}}function Tn(e,t,i){return String.fromCharCode.apply(null,new Uint8Array(e.buffer.slice(t,i)))}function Ju(e,t,i){for(var s=176,n=[],r=0;r5e-11?!1:e.datum_type===Ie?e.datum_params[0]===t.datum_params[0]&&e.datum_params[1]===t.datum_params[1]&&e.datum_params[2]===t.datum_params[2]:e.datum_type===Pe?e.datum_params[0]===t.datum_params[0]&&e.datum_params[1]===t.datum_params[1]&&e.datum_params[2]===t.datum_params[2]&&e.datum_params[3]===t.datum_params[3]&&e.datum_params[4]===t.datum_params[4]&&e.datum_params[5]===t.datum_params[5]&&e.datum_params[6]===t.datum_params[6]:!0}function mo(e,t,i){var s=e.x,n=e.y,r=e.z?e.z:0,a,o,h,l;if(n<-E&&n>-1.001*E)n=-E;else if(n>E&&n<1.001*E)n=E;else{if(n<-E)return{x:-1/0,y:-1/0,z:e.z};if(n>E)return{x:1/0,y:1/0,z:e.z}}return s>Math.PI&&(s-=2*Math.PI),o=Math.sin(n),l=Math.cos(n),h=o*o,a=i/Math.sqrt(1-t*h),{x:(a+r)*l*Math.cos(s),y:(a+r)*l*Math.sin(s),z:(a*(1-t)+r)*o}}function yo(e,t,i,s){var n=1e-12,r=n*n,a=30,o,h,l,c,u,d,f,g,_,m,v,y,p,M=e.x,C=e.y,b=e.z?e.z:0,I,P,z;if(o=Math.sqrt(M*M+C*C),h=Math.sqrt(M*M+C*C+b*b),o/ir&&ps.y||c>s.x||fo&&Math.abs(h.y)>o);if(a<0)return console.log("Inverse grid shift iterator failed to converge."),s;s.x=T(r.x+i.ll[0]),s.y=r.y+i.ll[1]}else isNaN(r.x)||(s.x=e.x+r.x,s.y=e.y+r.y);return s}function ia(e,t){var i={x:e.x/t.del[0],y:e.y/t.del[1]},s={x:Math.floor(i.x),y:Math.floor(i.y)},n={x:i.x-1*s.x,y:i.y-1*s.y},r={x:Number.NaN,y:Number.NaN},a;if(s.x<0||s.x>=t.lim[0]||s.y<0||s.y>=t.lim[1])return r;a=s.y*t.lim[0]+s.x;var o={x:t.cvs[a][0],y:t.cvs[a][1]};a++;var h={x:t.cvs[a][0],y:t.cvs[a][1]};a+=t.lim[0];var l={x:t.cvs[a][0],y:t.cvs[a][1]};a--;var c={x:t.cvs[a][0],y:t.cvs[a][1]},u=n.x*n.y,d=n.x*(1-n.y),f=(1-n.x)*(1-n.y),g=(1-n.x)*n.y;return r.x=f*o.x+d*h.x+g*c.x+u*l.x,r.y=f*o.y+d*h.y+g*c.y+u*l.y,r}function sa(e,t,i){var s=i.x,n=i.y,r=i.z||0,a,o,h,l={};for(h=0;h<3;h++)if(!(t&&h===2&&i.z===void 0))switch(h===0?(a=s,"ew".indexOf(e.axis[h])!==-1?o="x":o="y"):h===1?(a=n,"ns".indexOf(e.axis[h])!==-1?o="y":o="x"):(a=r,o="z"),e.axis[h]){case"e":l[o]=a;break;case"w":l[o]=-a;break;case"n":l[o]=a;break;case"s":l[o]=-a;break;case"u":i[o]!==void 0&&(l.z=a);break;case"d":i[o]!==void 0&&(l.z=-a);break;default:return null}return l}function vo(e){var t={x:e[0],y:e[1]};return e.length>2&&(t.z=e[2]),e.length>3&&(t.m=e[3]),t}function hd(e){na(e.x),na(e.y)}function na(e){if(typeof Number.isFinite=="function"){if(Number.isFinite(e))return;throw new TypeError("coordinates must be finite numbers")}if(typeof e!="number"||e!==e||!isFinite(e))throw new TypeError("coordinates must be finite numbers")}function ld(e,t){return(e.datum.datum_type===Ie||e.datum.datum_type===Pe||e.datum.datum_type===si)&&t.datumCode!=="WGS84"||(t.datum.datum_type===Ie||t.datum.datum_type===Pe||t.datum.datum_type===si)&&e.datumCode!=="WGS84"}function ws(e,t,i,s){var n;Array.isArray(i)?i=vo(i):i={x:i.x,y:i.y,z:i.z,m:i.m};var r=i.z!==void 0;if(hd(i),e.datum&&t.datum&&ld(e,t)&&(n=new Nt("WGS84"),i=ws(e,n,i,s),e=n),s&&e.axis!=="enu"&&(i=sa(e,!1,i)),e.projName==="longlat")i={x:i.x*et,y:i.y*et,z:i.z||0};else if(e.to_meter&&(i={x:i.x*e.to_meter,y:i.y*e.to_meter,z:i.z||0}),i=e.inverse(i),!i)return;if(e.from_greenwich&&(i.x+=e.from_greenwich),i=ad(e.datum,t.datum,i),!!i)return t.from_greenwich&&(i={x:i.x-t.from_greenwich,y:i.y,z:i.z||0}),t.projName==="longlat"?i={x:i.x*Ot,y:i.y*Ot,z:i.z||0}:(i=t.forward(i),t.to_meter&&(i={x:i.x/t.to_meter,y:i.y/t.to_meter,z:i.z||0})),s&&t.axis!=="enu"?sa(t,!0,i):(r||delete i.z,i)}var ra=Nt("WGS84");function an(e,t,i,s){var n,r,a;return Array.isArray(i)?(n=ws(e,t,i,s)||{x:NaN,y:NaN},i.length>2?typeof e.name<"u"&&e.name==="geocent"||typeof t.name<"u"&&t.name==="geocent"?typeof n.z=="number"?[n.x,n.y,n.z].concat(i.splice(3)):[n.x,n.y,i[2]].concat(i.splice(3)):[n.x,n.y].concat(i.splice(2)):[n.x,n.y]):(r=ws(e,t,i,s),a=Object.keys(i),a.length===2||a.forEach(function(o){if(typeof e.name<"u"&&e.name==="geocent"||typeof t.name<"u"&&t.name==="geocent"){if(o==="x"||o==="y"||o==="z")return}else if(o==="x"||o==="y")return;r[o]=i[o]}),r)}function aa(e){return e instanceof Nt?e:e.oProj?e.oProj:Nt(e)}function Rt(e,t,i){e=aa(e);var s=!1,n;return typeof t>"u"?(t=e,e=ra,s=!0):(typeof t.x<"u"||Array.isArray(t))&&(i=t,t=e,e=ra,s=!0),t=aa(t),i?an(e,t,i):(n={forward:function(r,a){return an(e,t,r,a)},inverse:function(r,a){return an(t,e,r,a)}},s&&(n.oProj=t),n)}var oa=6,Mo="AJSAJS",po="AFAFAF",We=65,ut=73,Mt=79,pi=86,Ei=90;const cd={forward:Eo,inverse:ud,toPoint:xo};function Eo(e,t){return t=t||5,gd(dd({lat:e[1],lon:e[0]}),t)}function ud(e){var t=Qn(Ro(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat,t.lon,t.lat]:[t.left,t.bottom,t.right,t.top]}function xo(e){var t=Qn(Ro(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat]:[(t.left+t.right)/2,(t.top+t.bottom)/2]}function on(e){return e*(Math.PI/180)}function ha(e){return 180*(e/Math.PI)}function dd(e){var t=e.lat,i=e.lon,s=6378137,n=.00669438,r=.9996,a,o,h,l,c,u,d,f=on(t),g=on(i),_,m;m=Math.floor((i+180)/6)+1,i===180&&(m=60),t>=56&&t<64&&i>=3&&i<12&&(m=32),t>=72&&t<84&&(i>=0&&i<9?m=31:i>=9&&i<21?m=33:i>=21&&i<33?m=35:i>=33&&i<42&&(m=37)),a=(m-1)*6-180+3,_=on(a),o=n/(1-n),h=s/Math.sqrt(1-n*Math.sin(f)*Math.sin(f)),l=Math.tan(f)*Math.tan(f),c=o*Math.cos(f)*Math.cos(f),u=Math.cos(f)*(g-_),d=s*((1-n/4-3*n*n/64-5*n*n*n/256)*f-(3*n/8+3*n*n/32+45*n*n*n/1024)*Math.sin(2*f)+(15*n*n/256+45*n*n*n/1024)*Math.sin(4*f)-35*n*n*n/3072*Math.sin(6*f));var v=r*h*(u+(1-l+c)*u*u*u/6+(5-18*l+l*l+72*c-58*o)*u*u*u*u*u/120)+5e5,y=r*(d+h*Math.tan(f)*(u*u/2+(5-l+9*c+4*c*c)*u*u*u*u/24+(61-58*l+l*l+600*c-330*o)*u*u*u*u*u*u/720));return t<0&&(y+=1e7),{northing:Math.round(y),easting:Math.round(v),zoneNumber:m,zoneLetter:fd(t)}}function Qn(e){var t=e.northing,i=e.easting,s=e.zoneLetter,n=e.zoneNumber;if(n<0||n>60)return null;var r=.9996,a=6378137,o=.00669438,h,l=(1-Math.sqrt(1-o))/(1+Math.sqrt(1-o)),c,u,d,f,g,_,m,v,y,p=i-5e5,M=t;s<"N"&&(M-=1e7),m=(n-1)*6-180+3,h=o/(1-o),_=M/r,v=_/(a*(1-o/4-3*o*o/64-5*o*o*o/256)),y=v+(3*l/2-27*l*l*l/32)*Math.sin(2*v)+(21*l*l/16-55*l*l*l*l/32)*Math.sin(4*v)+151*l*l*l/96*Math.sin(6*v),c=a/Math.sqrt(1-o*Math.sin(y)*Math.sin(y)),u=Math.tan(y)*Math.tan(y),d=h*Math.cos(y)*Math.cos(y),f=a*(1-o)/Math.pow(1-o*Math.sin(y)*Math.sin(y),1.5),g=p/(c*r);var C=y-c*Math.tan(y)/f*(g*g/2-(5+3*u+10*d-4*d*d-9*h)*g*g*g*g/24+(61+90*u+298*d+45*u*u-252*h-3*d*d)*g*g*g*g*g*g/720);C=ha(C);var b=(g-(1+2*u+d)*g*g*g/6+(5-2*d+28*u-3*d*d+8*h+24*u*u)*g*g*g*g*g/120)/Math.cos(y);b=m+ha(b);var I;if(e.accuracy){var P=Qn({northing:e.northing+e.accuracy,easting:e.easting+e.accuracy,zoneLetter:e.zoneLetter,zoneNumber:e.zoneNumber});I={top:P.lat,right:P.lon,bottom:C,left:b}}else I={lat:C,lon:b};return I}function fd(e){var t="Z";return 84>=e&&e>=72?t="X":72>e&&e>=64?t="W":64>e&&e>=56?t="V":56>e&&e>=48?t="U":48>e&&e>=40?t="T":40>e&&e>=32?t="S":32>e&&e>=24?t="R":24>e&&e>=16?t="Q":16>e&&e>=8?t="P":8>e&&e>=0?t="N":0>e&&e>=-8?t="M":-8>e&&e>=-16?t="L":-16>e&&e>=-24?t="K":-24>e&&e>=-32?t="J":-32>e&&e>=-40?t="H":-40>e&&e>=-48?t="G":-48>e&&e>=-56?t="F":-56>e&&e>=-64?t="E":-64>e&&e>=-72?t="D":-72>e&&e>=-80&&(t="C"),t}function gd(e,t){var i="00000"+e.easting,s="00000"+e.northing;return e.zoneNumber+e.zoneLetter+_d(e.easting,e.northing,e.zoneNumber)+i.substr(i.length-5,t)+s.substr(s.length-5,t)}function _d(e,t,i){var s=Co(i),n=Math.floor(e/1e5),r=Math.floor(t/1e5)%20;return md(n,r,s)}function Co(e){var t=e%oa;return t===0&&(t=oa),t}function md(e,t,i){var s=i-1,n=Mo.charCodeAt(s),r=po.charCodeAt(s),a=n+e-1,o=r+t,h=!1;a>Ei&&(a=a-Ei+We-1,h=!0),(a===ut||nut||(a>ut||nMt||(a>Mt||nEi&&(a=a-Ei+We-1),o>pi?(o=o-pi+We-1,h=!0):h=!1,(o===ut||rut||(o>ut||rMt||(o>Mt||rpi&&(o=o-pi+We-1);var l=String.fromCharCode(a)+String.fromCharCode(o);return l}function Ro(e){if(e&&e.length===0)throw"MGRSPoint coverting from nothing";for(var t=e.length,i=null,s="",n,r=0;!/[A-Z]/.test(n=e.charAt(r));){if(r>=2)throw"MGRSPoint bad conversion from: "+e;s+=n,r++}var a=parseInt(s,10);if(r===0||r+3>t)throw"MGRSPoint bad conversion from: "+e;var o=e.charAt(r++);if(o<="A"||o==="B"||o==="Y"||o>="Z"||o==="I"||o==="O")throw"MGRSPoint zone letter "+o+" not handled: "+e;i=e.substring(r,r+=2);for(var h=Co(a),l=yd(i.charAt(0),h),c=vd(i.charAt(1),h);c0&&(_=1e5/Math.pow(10,d),m=e.substring(r,r+d),f=parseFloat(m)*_,v=e.substring(r+d),g=parseFloat(v)*_),y=f+l,p=g+c,{easting:y,northing:p,zoneLetter:o,zoneNumber:a,accuracy:_}}function yd(e,t){for(var i=Eo.charCodeAt(t-1),s=1e5,n=!1;i!==e.charCodeAt(0);){if(i++,i===ut&&i++,i===Mt&&i++,i>Ei){if(n)throw"Bad character: "+e;i=We,n=!0}s+=1e5}return s}function vd(e,t){if(e>"V")throw"MGRSPoint given invalid Northing "+e;for(var i=xo.charCodeAt(t-1),s=0,n=!1;i!==e.charCodeAt(0);){if(i++,i===ut&&i++,i===Mt&&i++,i>pi){if(n)throw"Bad character: "+e;i=We,n=!0}s+=1e5}return s}function Md(e){var t;switch(e){case"C":t=11e5;break;case"D":t=2e6;break;case"E":t=28e5;break;case"F":t=37e5;break;case"G":t=46e5;break;case"H":t=55e5;break;case"J":t=64e5;break;case"K":t=73e5;break;case"L":t=82e5;break;case"M":t=91e5;break;case"N":t=0;break;case"P":t=8e5;break;case"Q":t=17e5;break;case"R":t=26e5;break;case"S":t=35e5;break;case"T":t=44e5;break;case"U":t=53e5;break;case"V":t=62e5;break;case"W":t=7e6;break;case"X":t=79e5;break;default:t=-1}if(t>=0)return t;throw"Invalid zone letter: "+e}function ui(e,t,i){if(!(this instanceof ui))return new ui(e,t,i);if(Array.isArray(e))this.x=e[0],this.y=e[1],this.z=e[2]||0;else if(typeof e=="object")this.x=e.x,this.y=e.y,this.z=e.z||0;else if(typeof e=="string"&&typeof t>"u"){var s=e.split(",");this.x=parseFloat(s[0],10),this.y=parseFloat(s[1],10),this.z=parseFloat(s[2],10)||0}else this.x=e,this.y=t,this.z=i||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}ui.fromMGRS=function(e){return new ui(Ro(e))};ui.prototype.toMGRS=function(e){return Co([this.x,this.y],e)};var pd=1,Ed=.25,la=.046875,ca=.01953125,ua=.01068115234375,xd=.75,Cd=.46875,Rd=.013020833333333334,Td=.007120768229166667,bd=.3645833333333333,wd=.005696614583333333,Id=.3076171875;function wo(e){var t=[];t[0]=pd-e*(Ed+e*(la+e*(ca+e*ua))),t[1]=e*(xd-e*(la+e*(ca+e*ua)));var i=e*e;return t[2]=i*(Cd-e*(Rd+e*Td)),i*=e,t[3]=i*(bd-e*wd),t[4]=i*e*Id,t}function Vs(e,t,i,s){return i*=t,t*=t,s[0]*e-i*(s[1]+t*(s[2]+t*(s[3]+t*s[4])))}var Pd=20;function Io(e,t,i){for(var s=1/(1-t),n=e,r=Pd;r;--r){var a=Math.sin(n),o=1-t*a*a;if(o=(Vs(n,a,Math.cos(n),i)-e)*(o*Math.sqrt(o))*s,n-=o,Math.abs(o)R?Math.tan(i):0,_=Math.pow(g,2),m=Math.pow(_,2);n=1-this.es*Math.pow(o,2),c=c/Math.sqrt(n);var v=Vs(i,o,h,this.en);r=this.a*(this.k0*c*(1+u/6*(1-_+d+u/20*(5-18*_+m+14*d-58*_*d+u/42*(61+179*m-m*_-479*_)))))+this.x0,a=this.a*(this.k0*(v-this.ml0+o*s*c/2*(1+u/12*(5-_+9*d+4*f+u/30*(61+m-58*_+270*d-330*_*d+u/56*(1385+543*m-m*_-3111*_))))))+this.y0}else{var l=h*Math.sin(s);if(Math.abs(Math.abs(l)-1)=1){if(l-1>R)return 93;a=0}else a=Math.acos(a);i<0&&(a=-a),a=this.a*this.k0*(a-this.lat0)+this.y0}return e.x=r,e.y=a,e}function Ld(e){var t,i,s,n,r=(e.x-this.x0)*(1/this.a),a=(e.y-this.y0)*(1/this.a);if(this.es)if(t=this.ml0+a/this.k0,i=Io(t,this.es,this.en),Math.abs(i)R?Math.tan(i):0,g=this.ep2*Math.pow(d,2),_=Math.pow(g,2),m=Math.pow(f,2),v=Math.pow(m,2);t=1-this.es*Math.pow(u,2);var y=r*Math.sqrt(t)/this.k0,p=Math.pow(y,2);t=t*f,s=i-t*p/(1-this.es)*.5*(1-p/12*(5+3*m-9*g*m+g-4*_-p/30*(61+90*m-252*g*m+45*v+46*g-p/56*(1385+3633*m+4095*v+1574*v*m)))),n=T(this.long0+y*(1-p/6*(1+2*m+g-p/20*(5+28*m+24*v+8*g*m+6*g-p/42*(61+662*m+1320*v+720*v*m))))/d)}else s=E*Zi(a),n=0;else{var o=Math.exp(r/this.k0),h=.5*(o-1/o),l=this.lat0+a/this.k0,c=Math.cos(l);t=Math.sqrt((1-Math.pow(c,2))/(1+Math.pow(h,2))),s=Math.asin(t),a<0&&(s=-s),h===0&&c===0?n=0:n=T(Math.atan2(h,c)+this.long0)}return e.x=n,e.y=s,e}var Od=["Fast_Transverse_Mercator","Fast Transverse Mercator"];const _s={init:Sd,forward:Ad,inverse:Ld,names:Od};function Po(e){var t=Math.exp(e);return t=(t-1/t)/2,t}function bt(e,t){e=Math.abs(e),t=Math.abs(t);var i=Math.max(e,t),s=Math.min(e,t)/(i||1);return i*Math.sqrt(1+Math.pow(s,2))}function Nd(e){var t=1+e,i=t-1;return i===0?e:e*Math.log(t)/i}function Dd(e){var t=Math.abs(e);return t=Nd(t*(1+t/(bt(1,t)+1))),e<0?-t:t}function Jn(e,t){for(var i=2*Math.cos(2*t),s=e.length-1,n=e[s],r=0,a;--s>=0;)a=-r+i*n+e[s],r=n,n=a;return t+a*Math.sin(2*t)}function Fd(e,t){for(var i=2*Math.cos(t),s=e.length-1,n=e[s],r=0,a;--s>=0;)a=-r+i*n+e[s],r=n,n=a;return Math.sin(t)*a}function Gd(e){var t=Math.exp(e);return t=(t+1/t)/2,t}function So(e,t,i){for(var s=Math.sin(t),n=Math.cos(t),r=Po(i),a=Gd(i),o=2*n*a,h=-2*s*r,l=e.length-1,c=e[l],u=0,d=0,f=0,g,_;--l>=0;)g=d,_=u,d=c,u=f,c=-g+o*d-h*u+e[l],f=-_+h*d+o*u;return o=s*a,h=n*r,[o*c-h*f,o*f+h*c]}function zd(){if(!this.approx&&(isNaN(this.es)||this.es<=0))throw new Error('Incorrect elliptical usage. Try using the +approx option in the proj string, or PROJECTION["Fast_Transverse_Mercator"] in the WKT.');this.approx&&(_s.init.apply(this),this.forward=_s.forward,this.inverse=_s.inverse),this.x0=this.x0!==void 0?this.x0:0,this.y0=this.y0!==void 0?this.y0:0,this.long0=this.long0!==void 0?this.long0:0,this.lat0=this.lat0!==void 0?this.lat0:0,this.cgb=[],this.cbg=[],this.utg=[],this.gtu=[];var e=this.es/(1+Math.sqrt(1-this.es)),t=e/(2-e),i=t;this.cgb[0]=t*(2+t*(-2/3+t*(-2+t*(116/45+t*(26/45+t*(-2854/675)))))),this.cbg[0]=t*(-2+t*(2/3+t*(4/3+t*(-82/45+t*(32/45+t*(4642/4725)))))),i=i*t,this.cgb[1]=i*(7/3+t*(-8/5+t*(-227/45+t*(2704/315+t*(2323/945))))),this.cbg[1]=i*(5/3+t*(-16/15+t*(-13/9+t*(904/315+t*(-1522/945))))),i=i*t,this.cgb[2]=i*(56/15+t*(-136/35+t*(-1262/105+t*(73814/2835)))),this.cbg[2]=i*(-26/15+t*(34/21+t*(8/5+t*(-12686/2835)))),i=i*t,this.cgb[3]=i*(4279/630+t*(-332/35+t*(-399572/14175))),this.cbg[3]=i*(1237/630+t*(-12/5+t*(-24832/14175))),i=i*t,this.cgb[4]=i*(4174/315+t*(-144838/6237)),this.cbg[4]=i*(-734/315+t*(109598/31185)),i=i*t,this.cgb[5]=i*(601676/22275),this.cbg[5]=i*(444337/155925),i=Math.pow(t,2),this.Qn=this.k0/(1+t)*(1+i*(1/4+i*(1/64+i/256))),this.utg[0]=t*(-.5+t*(2/3+t*(-37/96+t*(1/360+t*(81/512+t*(-96199/604800)))))),this.gtu[0]=t*(.5+t*(-2/3+t*(5/16+t*(41/180+t*(-127/288+t*(7891/37800)))))),this.utg[1]=i*(-1/48+t*(-1/15+t*(437/1440+t*(-46/105+t*(1118711/3870720))))),this.gtu[1]=i*(13/48+t*(-3/5+t*(557/1440+t*(281/630+t*(-1983433/1935360))))),i=i*t,this.utg[2]=i*(-17/480+t*(37/840+t*(209/4480+t*(-5569/90720)))),this.gtu[2]=i*(61/240+t*(-103/140+t*(15061/26880+t*(167603/181440)))),i=i*t,this.utg[3]=i*(-4397/161280+t*(11/504+t*(830251/7257600))),this.gtu[3]=i*(49561/161280+t*(-179/168+t*(6601661/7257600))),i=i*t,this.utg[4]=i*(-4583/161280+t*(108847/3991680)),this.gtu[4]=i*(34729/80640+t*(-3418889/1995840)),i=i*t,this.utg[5]=i*(-20648693/638668800),this.gtu[5]=i*(212378941/319334400);var s=Jn(this.cbg,this.lat0);this.Zb=-this.Qn*(s+Fd(this.gtu,2*s))}function kd(e){var t=T(e.x-this.long0),i=e.y;i=Jn(this.cbg,i);var s=Math.sin(i),n=Math.cos(i),r=Math.sin(t),a=Math.cos(t);i=Math.atan2(s,a*n),t=Math.atan2(r*n,bt(s,n*a)),t=Dd(Math.tan(t));var o=So(this.gtu,2*i,2*t);i=i+o[0],t=t+o[1];var h,l;return Math.abs(t)<=2.623395162778?(h=this.a*(this.Qn*t)+this.x0,l=this.a*(this.Qn*i+this.Zb)+this.y0):(h=1/0,l=1/0),e.x=h,e.y=l,e}function jd(e){var t=(e.x-this.x0)*(1/this.a),i=(e.y-this.y0)*(1/this.a);i=(i-this.Zb)/this.Qn,t=t/this.Qn;var s,n;if(Math.abs(t)<=2.623395162778){var r=So(this.utg,2*i,2*t);i=i+r[0],t=t+r[1],t=Math.atan(Po(t));var a=Math.sin(i),o=Math.cos(i),h=Math.sin(t),l=Math.cos(t);i=Math.atan2(a*l,bt(h,l*o)),t=Math.atan2(h,l*o),s=T(t+this.long0),n=Jn(this.cgb,i)}else s=1/0,n=1/0;return e.x=s,e.y=n,e}var Ud=["Extended_Transverse_Mercator","Extended Transverse Mercator","etmerc","Transverse_Mercator","Transverse Mercator","tmerc"];const ms={init:zd,forward:kd,inverse:jd,names:Ud};function $d(e,t){if(e===void 0){if(e=Math.floor((T(t)+Math.PI)*30/Math.PI)+1,e<0)return 0;if(e>60)return 60}return e}var qd="etmerc";function Xd(){var e=$d(this.zone,this.long0);if(e===void 0)throw new Error("unknown utm zone");this.lat0=0,this.long0=(6*Math.abs(e)-183)*et,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,ms.init.apply(this),this.forward=ms.forward,this.inverse=ms.inverse}var Kd=["Universal Transverse Mercator System","utm"];const Zd={init:Xd,names:Kd,dependsOn:qd};function tr(e,t){return Math.pow((1-e)/(1+e),t)}var Bd=20;function Vd(){var e=Math.sin(this.lat0),t=Math.cos(this.lat0);t*=t,this.rc=Math.sqrt(1-this.es)/(1-this.es*e*e),this.C=Math.sqrt(1+this.es*t*t/(1-this.es)),this.phic0=Math.asin(e/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+N)/(Math.pow(Math.tan(.5*this.lat0+N),this.C)*tr(this.e*e,this.ratexp))}function Wd(e){var t=e.x,i=e.y;return e.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*i+N),this.C)*tr(this.e*Math.sin(i),this.ratexp))-E,e.x=this.C*t,e}function Yd(e){for(var t=1e-14,i=e.x/this.C,s=e.y,n=Math.pow(Math.tan(.5*s+N)/this.K,1/this.C),r=Bd;r>0&&(s=2*Math.atan(n*tr(this.e*Math.sin(e.y),-.5*this.e))-E,!(Math.abs(s-e.y)0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),this.k0===1&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=R&&(this.k0=.5*this.cons*Ft(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/wt(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=Ft(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-E,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))}function af(e){var t=e.x,i=e.y,s=Math.sin(i),n=Math.cos(i),r,a,o,h,l,c,u=T(t-this.long0);return Math.abs(Math.abs(t-this.long0)-Math.PI)<=R&&Math.abs(i+this.lat0)<=R?(e.x=NaN,e.y=NaN,e):this.sphere?(r=2*this.k0/(1+this.sinlat0*s+this.coslat0*n*Math.cos(u)),e.x=this.a*r*n*Math.sin(u)+this.x0,e.y=this.a*r*(this.coslat0*s-this.sinlat0*n*Math.cos(u))+this.y0,e):(a=2*Math.atan(this.ssfn_(i,s,this.e))-E,h=Math.cos(a),o=Math.sin(a),Math.abs(this.coslat0)<=R?(l=wt(this.e,i*this.con,this.con*s),c=2*this.a*this.k0*l/this.cons,e.x=this.x0+c*Math.sin(t-this.long0),e.y=this.y0-this.con*c*Math.cos(t-this.long0),e):(Math.abs(this.sinlat0)0?t=T(this.long0+Math.atan2(e.x,-1*e.y)):t=T(this.long0+Math.atan2(e.x,e.y)):t=T(this.long0+Math.atan2(e.x*Math.sin(o),a*this.coslat0*Math.cos(o)-e.y*this.sinlat0*Math.sin(o))),e.x=t,e.y=i,e)}else if(Math.abs(this.coslat0)<=R){if(a<=R)return i=this.lat0,t=this.long0,e.x=t,e.y=i,e;e.x*=this.con,e.y*=this.con,s=a*this.cons/(2*this.a*this.k0),i=this.con*Ai(this.e,s),t=this.con*T(this.con*this.long0+Math.atan2(e.x,-1*e.y))}else n=2*Math.atan(a*this.cosX0/(2*this.a*this.k0*this.ms1)),t=this.long0,a<=R?r=this.X0:(r=Math.asin(Math.cos(n)*this.sinX0+e.y*Math.sin(n)*this.cosX0/a),t=T(this.long0+Math.atan2(e.x*Math.sin(n),a*this.cosX0*Math.cos(n)-e.y*this.sinX0*Math.sin(n)))),i=-1*Ai(this.e,Math.tan(.5*(E+r)));return e.x=t,e.y=i,e}var hf=["stere","Stereographic_South_Pole","Polar Stereographic (variant B)"];const lf={init:rf,forward:af,inverse:of,names:hf,ssfn_:nf};function cf(){var e=this.lat0;this.lambda0=this.long0;var t=Math.sin(e),i=this.a,s=this.rf,n=1/s,r=2*n-Math.pow(n,2),a=this.e=Math.sqrt(r);this.R=this.k0*i*Math.sqrt(1-r)/(1-r*Math.pow(t,2)),this.alpha=Math.sqrt(1+r/(1-r)*Math.pow(Math.cos(e),4)),this.b0=Math.asin(t/this.alpha);var o=Math.log(Math.tan(Math.PI/4+this.b0/2)),h=Math.log(Math.tan(Math.PI/4+e/2)),l=Math.log((1+a*t)/(1-a*t));this.K=o-this.alpha*h+this.alpha*a/2*l}function uf(e){var t=Math.log(Math.tan(Math.PI/4-e.y/2)),i=this.e/2*Math.log((1+this.e*Math.sin(e.y))/(1-this.e*Math.sin(e.y))),s=-this.alpha*(t+i)+this.K,n=2*(Math.atan(Math.exp(s))-Math.PI/4),r=this.alpha*(e.x-this.lambda0),a=Math.atan(Math.sin(r)/(Math.sin(this.b0)*Math.tan(n)+Math.cos(this.b0)*Math.cos(r))),o=Math.asin(Math.cos(this.b0)*Math.sin(n)-Math.sin(this.b0)*Math.cos(n)*Math.cos(r));return e.y=this.R/2*Math.log((1+Math.sin(o))/(1-Math.sin(o)))+this.y0,e.x=this.R*a+this.x0,e}function df(e){for(var t=e.x-this.x0,i=e.y-this.y0,s=t/this.R,n=2*(Math.atan(Math.exp(i/this.R))-Math.PI/4),r=Math.asin(Math.cos(this.b0)*Math.sin(n)+Math.sin(this.b0)*Math.cos(n)*Math.cos(s)),a=Math.atan(Math.sin(s)/(Math.cos(this.b0)*Math.cos(s)-Math.sin(this.b0)*Math.tan(n))),o=this.lambda0+a/this.alpha,h=0,l=r,c=-1e3,u=0;Math.abs(l-c)>1e-7;){if(++u>20)return;h=1/this.alpha*(Math.log(Math.tan(Math.PI/4+r/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(l))/2)),c=l,l=2*Math.atan(Math.exp(h))-Math.PI/2}return e.x=o,e.y=l,e}var ff=["somerc"];const gf={init:cf,forward:uf,inverse:df,names:ff};var qe=1e-7;function _f(e){var t=["Hotine_Oblique_Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin"],i=typeof e.PROJECTION=="object"?Object.keys(e.PROJECTION)[0]:e.PROJECTION;return"no_uoff"in e||"no_off"in e||t.indexOf(i)!==-1}function mf(){var e,t,i,s,n,r,a,o,h,l,c=0,u,d=0,f=0,g=0,_=0,m=0,v=0;this.no_off=_f(this),this.no_rot="no_rot"in this;var y=!1;"alpha"in this&&(y=!0);var p=!1;if("rectified_grid_angle"in this&&(p=!0),y&&(v=this.alpha),p&&(c=this.rectified_grid_angle*et),y||p)d=this.longc;else if(f=this.long1,_=this.lat1,g=this.long2,m=this.lat2,Math.abs(_-m)<=qe||(e=Math.abs(_))<=qe||Math.abs(e-E)<=qe||Math.abs(Math.abs(this.lat0)-E)<=qe||Math.abs(Math.abs(m)-E)<=qe)throw new Error;var M=1-this.es;t=Math.sqrt(M),Math.abs(this.lat0)>R?(o=Math.sin(this.lat0),i=Math.cos(this.lat0),e=1-this.es*o*o,this.B=i*i,this.B=Math.sqrt(1+this.es*this.B*this.B/M),this.A=this.B*this.k0*t/e,s=this.B*t/(i*Math.sqrt(e)),n=s*s-1,n<=0?n=0:(n=Math.sqrt(n),this.lat0<0&&(n=-n)),this.E=n+=s,this.E*=Math.pow(wt(this.e,this.lat0,o),this.B)):(this.B=1/t,this.A=this.k0,this.E=s=n=1),y||p?(y?(u=Math.asin(Math.sin(v)/s),p||(c=v)):(u=c,v=Math.asin(s*Math.sin(u))),this.lam0=d-Math.asin(.5*(n-1/n)*Math.tan(u))/this.B):(r=Math.pow(wt(this.e,_,Math.sin(_)),this.B),a=Math.pow(wt(this.e,m,Math.sin(m)),this.B),n=this.E/r,h=(a-r)/(a+r),l=this.E*this.E,l=(l-a*r)/(l+a*r),e=f-g,e<-Math.pi?g-=Pi:e>Math.pi&&(g+=Pi),this.lam0=T(.5*(f+g)-Math.atan(l*Math.tan(.5*this.B*(f-g))/h)/this.B),u=Math.atan(2*Math.sin(this.B*T(f-this.lam0))/(n-1/n)),c=v=Math.asin(s*Math.sin(u))),this.singam=Math.sin(u),this.cosgam=Math.cos(u),this.sinrot=Math.sin(c),this.cosrot=Math.cos(c),this.rB=1/this.B,this.ArB=this.A*this.rB,this.BrA=1/this.ArB,this.A*this.B,this.no_off?this.u_0=0:(this.u_0=Math.abs(this.ArB*Math.atan(Math.sqrt(s*s-1)/Math.cos(v))),this.lat0<0&&(this.u_0=-this.u_0)),n=.5*u,this.v_pole_n=this.ArB*Math.log(Math.tan(N-n)),this.v_pole_s=this.ArB*Math.log(Math.tan(N+n))}function yf(e){var t={},i,s,n,r,a,o,h,l;if(e.x=e.x-this.lam0,Math.abs(Math.abs(e.y)-E)>R){if(a=this.E/Math.pow(wt(this.e,e.y,Math.sin(e.y)),this.B),o=1/a,i=.5*(a-o),s=.5*(a+o),r=Math.sin(this.B*e.x),n=(i*this.singam-r*this.cosgam)/s,Math.abs(Math.abs(n)-1)0?this.v_pole_n:this.v_pole_s,h=this.ArB*e.y;return this.no_rot?(t.x=h,t.y=l):(h-=this.u_0,t.x=l*this.cosrot+h*this.sinrot,t.y=h*this.cosrot-l*this.sinrot),t.x=this.a*t.x+this.x0,t.y=this.a*t.y+this.y0,t}function vf(e){var t,i,s,n,r,a,o,h={};if(e.x=(e.x-this.x0)*(1/this.a),e.y=(e.y-this.y0)*(1/this.a),this.no_rot?(i=e.y,t=e.x):(i=e.x*this.cosrot-e.y*this.sinrot,t=e.y*this.cosrot+e.x*this.sinrot+this.u_0),s=Math.exp(-this.BrA*i),n=.5*(s-1/s),r=.5*(s+1/s),a=Math.sin(this.BrA*t),o=(a*this.cosgam+n*this.singam)/r,Math.abs(Math.abs(o)-1)R?this.ns=Math.log(s/o)/Math.log(n/h):this.ns=t,isNaN(this.ns)&&(this.ns=t),this.f0=s/(this.ns*Math.pow(n,this.ns)),this.rh=this.a*this.f0*Math.pow(l,this.ns),this.title||(this.title="Lambert Conformal Conic")}}function xf(e){var t=e.x,i=e.y;Math.abs(2*Math.abs(i)-Math.PI)<=R&&(i=Zi(i)*(E-2*R));var s=Math.abs(Math.abs(i)-E),n,r;if(s>R)n=wt(this.e,i,Math.sin(i)),r=this.a*this.f0*Math.pow(n,this.ns);else{if(s=i*this.ns,s<=0)return null;r=0}var a=this.ns*T(t-this.long0);return e.x=this.k0*(r*Math.sin(a))+this.x0,e.y=this.k0*(this.rh-r*Math.cos(a))+this.y0,e}function Cf(e){var t,i,s,n,r,a=(e.x-this.x0)/this.k0,o=this.rh-(e.y-this.y0)/this.k0;this.ns>0?(t=Math.sqrt(a*a+o*o),i=1):(t=-Math.sqrt(a*a+o*o),i=-1);var h=0;if(t!==0&&(h=Math.atan2(i*a,i*o)),t!==0||this.ns>0){if(i=1/this.ns,s=Math.pow(t/(this.a*this.f0),i),n=Ai(this.e,s),n===-9999)return null}else n=-E;return r=T(h/this.ns+this.long0),e.x=r,e.y=n,e}var Rf=["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_1SP","Lambert_Conformal_Conic_2SP","lcc","Lambert Conic Conformal (1SP)","Lambert Conic Conformal (2SP)"];const Tf={init:Ef,forward:xf,inverse:Cf,names:Rf};function bf(){this.a=6377397155e-3,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.7417649320975901-.308341501185665),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq}function wf(e){var t,i,s,n,r,a,o,h=e.x,l=e.y,c=T(h-this.long0);return t=Math.pow((1+this.e*Math.sin(l))/(1-this.e*Math.sin(l)),this.alfa*this.e/2),i=2*(Math.atan(this.k*Math.pow(Math.tan(l/2+this.s45),this.alfa)/t)-this.s45),s=-c*this.alfa,n=Math.asin(Math.cos(this.ad)*Math.sin(i)+Math.sin(this.ad)*Math.cos(i)*Math.cos(s)),r=Math.asin(Math.cos(i)*Math.sin(s)/Math.cos(n)),a=this.n*r,o=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(n/2+this.s45),this.n),e.y=o*Math.cos(a)/1,e.x=o*Math.sin(a)/1,this.czech||(e.y*=-1,e.x*=-1),e}function If(e){var t,i,s,n,r,a,o,h,l=e.x;e.x=e.y,e.y=l,this.czech||(e.y*=-1,e.x*=-1),a=Math.sqrt(e.x*e.x+e.y*e.y),r=Math.atan2(e.y,e.x),n=r/Math.sin(this.s0),s=2*(Math.atan(Math.pow(this.ro0/a,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),t=Math.asin(Math.cos(this.ad)*Math.sin(s)-Math.sin(this.ad)*Math.cos(s)*Math.cos(n)),i=Math.asin(Math.cos(s)*Math.sin(n)/Math.cos(t)),e.x=this.long0-i/this.alfa,o=t,h=0;var c=0;do e.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(t/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(o))/(1-this.e*Math.sin(o)),this.e/2))-this.s45),Math.abs(o-e.y)<1e-10&&(h=1),o=e.y,c+=1;while(h===0&&c<15);return c>=15?null:e}var Pf=["Krovak","krovak"];const Sf={init:bf,forward:wf,inverse:If,names:Pf};function ot(e,t,i,s,n){return e*n-t*Math.sin(2*n)+i*Math.sin(4*n)-s*Math.sin(6*n)}function Bi(e){return 1-.25*e*(1+e/16*(3+1.25*e))}function Vi(e){return .375*e*(1+.25*e*(1+.46875*e))}function Wi(e){return .05859375*e*e*(1+.75*e)}function Yi(e){return e*e*e*(35/3072)}function di(e,t,i){var s=t*i;return e/Math.sqrt(1-s*s)}function _i(e){return Math.abs(e)1e-7?(i=e*t,(1-e*e)*(t/(1-i*i)-.5/e*Math.log((1-i)/(1+i)))):2*t}var Ff=1,Gf=2,zf=3,kf=4;function jf(){var e=Math.abs(this.lat0);if(Math.abs(e-E)0){var t;switch(this.qp=ue(this.e,1),this.mmf=.5/(1-this.es),this.apa=Wf(this.es),this.mode){case this.N_POLE:this.dd=1;break;case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),t=Math.sin(this.lat0),this.sinb1=ue(this.e,t)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*t*t)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd;break}}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))}function Uf(e){var t,i,s,n,r,a,o,h,l,c,u=e.x,d=e.y;if(u=T(u-this.long0),this.sphere){if(r=Math.sin(d),c=Math.cos(d),s=Math.cos(u),this.mode===this.OBLIQ||this.mode===this.EQUIT){if(i=this.mode===this.EQUIT?1+c*s:1+this.sinph0*r+this.cosph0*c*s,i<=R)return null;i=Math.sqrt(2/i),t=i*c*Math.sin(u),i*=this.mode===this.EQUIT?r:this.cosph0*r-this.sinph0*c*s}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(s=-s),Math.abs(d+this.lat0)=0?(t=(l=Math.sqrt(a))*n,i=s*(this.mode===this.S_POLE?l:-l)):t=i=0;break}}return e.x=this.a*t+this.x0,e.y=this.a*i+this.y0,e}function $f(e){e.x-=this.x0,e.y-=this.y0;var t=e.x/this.a,i=e.y/this.a,s,n,r,a,o,h,l;if(this.sphere){var c=0,u,d=0;if(u=Math.sqrt(t*t+i*i),n=u*.5,n>1)return null;switch(n=2*Math.asin(n),(this.mode===this.OBLIQ||this.mode===this.EQUIT)&&(d=Math.sin(n),c=Math.cos(n)),this.mode){case this.EQUIT:n=Math.abs(u)<=R?0:Math.asin(i*d/u),t*=d,i=c*u;break;case this.OBLIQ:n=Math.abs(u)<=R?this.lat0:Math.asin(c*this.sinph0+i*d*this.cosph0/u),t*=d*this.cosph0,i=(c-Math.sin(n)*this.sinph0)*u;break;case this.N_POLE:i=-i,n=E-n;break;case this.S_POLE:n-=E;break}s=i===0&&(this.mode===this.EQUIT||this.mode===this.OBLIQ)?0:Math.atan2(t,i)}else{if(l=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(t/=this.dd,i*=this.dd,h=Math.sqrt(t*t+i*i),h1&&(e=e>1?1:-1),Math.asin(e)}function Jf(){Math.abs(this.lat1+this.lat2)R?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)}function t0(e){var t=e.x,i=e.y;this.sin_phi=Math.sin(i),this.cos_phi=Math.cos(i);var s=ue(this.e3,this.sin_phi),n=this.a*Math.sqrt(this.c-this.ns0*s)/this.ns0,r=this.ns0*T(t-this.long0),a=n*Math.sin(r)+this.x0,o=this.rh-n*Math.cos(r)+this.y0;return e.x=a,e.y=o,e}function e0(e){var t,i,s,n,r,a;return e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns0>=0?(t=Math.sqrt(e.x*e.x+e.y*e.y),s=1):(t=-Math.sqrt(e.x*e.x+e.y*e.y),s=-1),n=0,t!==0&&(n=Math.atan2(s*e.x,s*e.y)),s=t*this.ns0/this.a,this.sphere?a=Math.asin((this.c-s*s)/(2*this.ns0)):(i=(this.c-s*s)/this.ns0,a=this.phi1z(this.e3,i)),r=T(n/this.ns0+this.long0),e.x=r,e.y=a,e}function i0(e,t){var i,s,n,r,a,o=ge(.5*t);if(e0||Math.abs(a)<=R?(o=this.x0+this.a*r*i*Math.sin(s)/a,h=this.y0+this.a*r*(this.cos_p14*t-this.sin_p14*i*n)/a):(o=this.x0+this.infinity_dist*i*Math.sin(s),h=this.y0+this.infinity_dist*(this.cos_p14*t-this.sin_p14*i*n)),e.x=o,e.y=h,e}function o0(e){var t,i,s,n,r,a;return e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,(t=Math.sqrt(e.x*e.x+e.y*e.y))?(n=Math.atan2(t,this.rc),i=Math.sin(n),s=Math.cos(n),a=ge(s*this.sin_p14+e.y*i*this.cos_p14/t),r=Math.atan2(e.x*i,t*this.cos_p14*s-e.y*this.sin_p14*i),r=T(this.long0+r)):(a=this.phic0,r=0),e.x=r,e.y=a,e}var h0=["gnom"];const l0={init:r0,forward:a0,inverse:o0,names:h0};function c0(e,t){var i=1-(1-e*e)/(2*e)*Math.log((1-e)/(1+e));if(Math.abs(Math.abs(t)-i)<1e-6)return t<0?-1*E:E;for(var s=Math.asin(.5*t),n,r,a,o,h=0;h<30;h++)if(r=Math.sin(s),a=Math.cos(s),o=e*r,n=Math.pow(1-o*o,2)/(2*a)*(t/(1-e*e)-r/(1-o*o)+.5/e*Math.log((1-o)/(1+o))),s+=n,Math.abs(n)<=1e-10)return s;return NaN}function u0(){this.sphere||(this.k0=Ft(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))}function d0(e){var t=e.x,i=e.y,s,n,r=T(t-this.long0);if(this.sphere)s=this.x0+this.a*r*Math.cos(this.lat_ts),n=this.y0+this.a*Math.sin(i)/Math.cos(this.lat_ts);else{var a=ue(this.e,Math.sin(i));s=this.x0+this.a*this.k0*r,n=this.y0+this.a*a*.5/this.k0}return e.x=s,e.y=n,e}function f0(e){e.x-=this.x0,e.y-=this.y0;var t,i;return this.sphere?(t=T(this.long0+e.x/this.a/Math.cos(this.lat_ts)),i=Math.asin(e.y/this.a*Math.cos(this.lat_ts))):(i=c0(this.e,2*e.y*this.k0/this.a),t=T(this.long0+e.x/(this.a*this.k0))),e.x=t,e.y=i,e}var g0=["cea"];const _0={init:u0,forward:d0,inverse:f0,names:g0};function m0(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Equidistant Cylindrical (Plate Carre)",this.rc=Math.cos(this.lat_ts)}function y0(e){var t=e.x,i=e.y,s=T(t-this.long0),n=_i(i-this.lat0);return e.x=this.x0+this.a*s*this.rc,e.y=this.y0+this.a*n,e}function v0(e){var t=e.x,i=e.y;return e.x=T(this.long0+(t-this.x0)/(this.a*this.rc)),e.y=_i(this.lat0+(i-this.y0)/this.a),e}var M0=["Equirectangular","Equidistant_Cylindrical","eqc"];const p0={init:m0,forward:y0,inverse:v0,names:M0};var da=20;function E0(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=Bi(this.es),this.e1=Vi(this.es),this.e2=Wi(this.es),this.e3=Yi(this.es),this.ml0=this.a*ot(this.e0,this.e1,this.e2,this.e3,this.lat0)}function x0(e){var t=e.x,i=e.y,s,n,r,a=T(t-this.long0);if(r=a*Math.sin(i),this.sphere)Math.abs(i)<=R?(s=this.a*a,n=-1*this.a*this.lat0):(s=this.a*Math.sin(r)/Math.tan(i),n=this.a*(_i(i-this.lat0)+(1-Math.cos(r))/Math.tan(i)));else if(Math.abs(i)<=R)s=this.a*a,n=-1*this.ml0;else{var o=di(this.a,this.e,Math.sin(i))/Math.tan(i);s=o*Math.sin(r),n=this.a*ot(this.e0,this.e1,this.e2,this.e3,i)-this.ml0+o*(1-Math.cos(r))}return e.x=s+this.x0,e.y=n+this.y0,e}function C0(e){var t,i,s,n,r,a,o,h,l;if(s=e.x-this.x0,n=e.y-this.y0,this.sphere)if(Math.abs(n+this.a*this.lat0)<=R)t=T(s/this.a+this.long0),i=0;else{a=this.lat0+n/this.a,o=s*s/this.a/this.a+a*a,h=a;var c;for(r=da;r;--r)if(c=Math.tan(h),l=-1*(a*(h*c+1)-h-.5*(h*h+o)*c)/((h-a)/c-1),h+=l,Math.abs(l)<=R){i=h;break}t=T(this.long0+Math.asin(s*Math.tan(h)/this.a)/Math.sin(i))}else if(Math.abs(n+this.ml0)<=R)i=0,t=T(this.long0+s/this.a);else{a=(this.ml0+n)/this.a,o=s*s/this.a/this.a+a*a,h=a;var u,d,f,g,_;for(r=da;r;--r)if(_=this.e*Math.sin(h),u=Math.sqrt(1-_*_)*Math.tan(h),d=this.a*ot(this.e0,this.e1,this.e2,this.e3,h),f=this.e0-2*this.e1*Math.cos(2*h)+4*this.e2*Math.cos(4*h)-6*this.e3*Math.cos(6*h),g=d/this.a,l=(a*(u*g+1)-g-.5*u*(g*g+o))/(this.es*Math.sin(2*h)*(g*g+o-2*a*g)/(4*u)+(a-g)*(u*f-2/Math.sin(2*h))-f),h-=l,Math.abs(l)<=R){i=h;break}u=Math.sqrt(1-this.es*Math.pow(Math.sin(i),2))*Math.tan(i),t=T(this.long0+Math.asin(s*u/this.a)/Math.sin(i))}return e.x=t,e.y=i,e}var R0=["Polyconic","poly"];const T0={init:E0,forward:x0,inverse:C0,names:R0};function b0(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013}function w0(e){var t,i=e.x,s=e.y,n=s-this.lat0,r=i-this.long0,a=n/Ri*1e-5,o=r,h=1,l=0;for(t=1;t<=10;t++)h=h*a,l=l+this.A[t]*h;var c=l,u=o,d=1,f=0,g,_,m=0,v=0;for(t=1;t<=6;t++)g=d*c-f*u,_=f*c+d*u,d=g,f=_,m=m+this.B_re[t]*d-this.B_im[t]*f,v=v+this.B_im[t]*d+this.B_re[t]*f;return e.x=v*this.a+this.x0,e.y=m*this.a+this.y0,e}function I0(e){var t,i=e.x,s=e.y,n=i-this.x0,r=s-this.y0,a=r/this.a,o=n/this.a,h=1,l=0,c,u,d=0,f=0;for(t=1;t<=6;t++)c=h*a-l*o,u=l*a+h*o,h=c,l=u,d=d+this.C_re[t]*h-this.C_im[t]*l,f=f+this.C_im[t]*h+this.C_re[t]*l;for(var g=0;g.999999999999&&(i=.999999999999),t=Math.asin(i);var s=T(this.long0+e.x/(.900316316158*this.a*Math.cos(t)));s<-Math.PI&&(s=-Math.PI),s>Math.PI&&(s=Math.PI),i=(2*t+Math.sin(2*t))/Math.PI,Math.abs(i)>1&&(i=1);var n=Math.asin(i);return e.x=s,e.y=n,e}var K0=["Mollweide","moll"];const Z0={init:$0,forward:q0,inverse:X0,names:K0};function B0(){Math.abs(this.lat1+this.lat2)=0?(i=Math.sqrt(e.x*e.x+e.y*e.y),t=1):(i=-Math.sqrt(e.x*e.x+e.y*e.y),t=-1);var r=0;if(i!==0&&(r=Math.atan2(t*e.x,t*e.y)),this.sphere)return n=T(this.long0+r/this.ns),s=_i(this.g-i/this.a),e.x=n,e.y=s,e;var a=this.g-i/this.a;return s=Is(a,this.e0,this.e1,this.e2,this.e3),n=T(this.long0+r/this.ns),e.x=n,e.y=s,e}var Y0=["Equidistant_Conic","eqdc"];const H0={init:B0,forward:V0,inverse:W0,names:Y0};function Q0(){this.R=this.a}function J0(e){var t=e.x,i=e.y,s=T(t-this.long0),n,r;Math.abs(i)<=R&&(n=this.x0+this.R*s,r=this.y0);var a=ge(2*Math.abs(i/Math.PI));(Math.abs(s)<=R||Math.abs(Math.abs(i)-E)<=R)&&(n=this.x0,i>=0?r=this.y0+Math.PI*this.R*Math.tan(.5*a):r=this.y0+Math.PI*this.R*-Math.tan(.5*a));var o=.5*Math.abs(Math.PI/s-s/Math.PI),h=o*o,l=Math.sin(a),c=Math.cos(a),u=c/(l+c-1),d=u*u,f=u*(2/l-1),g=f*f,_=Math.PI*this.R*(o*(u-g)+Math.sqrt(h*(u-g)*(u-g)-(g+h)*(d-g)))/(g+h);s<0&&(_=-_),n=this.x0+_;var m=h+u;return _=Math.PI*this.R*(f*m-o*Math.sqrt((g+h)*(h+1)-m*m))/(g+h),i>=0?r=this.y0+_:r=this.y0-_,e.x=n,e.y=r,e}function tg(e){var t,i,s,n,r,a,o,h,l,c,u,d,f;return e.x-=this.x0,e.y-=this.y0,u=Math.PI*this.R,s=e.x/u,n=e.y/u,r=s*s+n*n,a=-Math.abs(n)*(1+r),o=a-2*n*n+s*s,h=-2*a+1+2*n*n+r*r,f=n*n/h+(2*o*o*o/h/h/h-9*a*o/h/h)/27,l=(a-o*o/3/h)/h,c=2*Math.sqrt(-l/3),u=3*f/l/c,Math.abs(u)>1&&(u>=0?u=1:u=-1),d=Math.acos(u)/3,e.y>=0?i=(-c*Math.cos(d+Math.PI/3)-o/3/h)*Math.PI:i=-(-c*Math.cos(d+Math.PI/3)-o/3/h)*Math.PI,Math.abs(s)2*E*this.a?void 0:(i=t/this.a,s=Math.sin(i),n=Math.cos(i),r=this.long0,Math.abs(t)<=R?a=this.lat0:(a=ge(n*this.sin_p12+e.y*s*this.cos_p12/t),o=Math.abs(this.lat0)-E,Math.abs(o)<=R?this.lat0>=0?r=T(this.long0+Math.atan2(e.x,-e.y)):r=T(this.long0-Math.atan2(-e.x,e.y)):r=T(this.long0+Math.atan2(e.x*s,t*this.cos_p12*n-e.y*this.sin_p12*s))),e.x=r,e.y=a,e)):(h=Bi(this.es),l=Vi(this.es),c=Wi(this.es),u=Yi(this.es),Math.abs(this.sin_p12-1)<=R?(d=this.a*ot(h,l,c,u,E),t=Math.sqrt(e.x*e.x+e.y*e.y),f=d-t,a=Is(f/this.a,h,l,c,u),r=T(this.long0+Math.atan2(e.x,-1*e.y)),e.x=r,e.y=a,e):Math.abs(this.sin_p12+1)<=R?(d=this.a*ot(h,l,c,u,E),t=Math.sqrt(e.x*e.x+e.y*e.y),f=t-d,a=Is(f/this.a,h,l,c,u),r=T(this.long0+Math.atan2(e.x,e.y)),e.x=r,e.y=a,e):(t=Math.sqrt(e.x*e.x+e.y*e.y),m=Math.atan2(e.x,e.y),g=di(this.a,this.e,this.sin_p12),v=Math.cos(m),y=this.e*this.cos_p12*v,p=-y*y/(1-this.es),M=3*this.es*(1-p)*this.sin_p12*this.cos_p12*v/(1-this.es),C=t/g,b=C-p*(1+p)*Math.pow(C,3)/6-M*(1+3*p)*Math.pow(C,4)/24,I=1-p*b*b/2-C*b*b*b/6,_=Math.asin(this.sin_p12*Math.cos(b)+this.cos_p12*Math.sin(b)*v),r=T(this.long0+Math.asin(Math.sin(m)*Math.sin(b)/Math.cos(_))),P=Math.sin(_),a=Math.atan2((P-this.es*I*this.sin_p12)*Math.tan(_),P*(1-this.es)),e.x=r,e.y=a,e))}var ag=["Azimuthal_Equidistant","aeqd"];const og={init:sg,forward:ng,inverse:rg,names:ag};function hg(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0)}function lg(e){var t,i,s,n,r,a,o,h,l=e.x,c=e.y;return s=T(l-this.long0),t=Math.sin(c),i=Math.cos(c),n=Math.cos(s),a=this.sin_p14*t+this.cos_p14*i*n,r=1,(a>0||Math.abs(a)<=R)&&(o=this.a*r*i*Math.sin(s),h=this.y0+this.a*r*(this.cos_p14*t-this.sin_p14*i*n)),e.x=o,e.y=h,e}function cg(e){var t,i,s,n,r,a,o;return e.x-=this.x0,e.y-=this.y0,t=Math.sqrt(e.x*e.x+e.y*e.y),i=ge(t/this.a),s=Math.sin(i),n=Math.cos(i),a=this.long0,Math.abs(t)<=R?(o=this.lat0,e.x=a,e.y=o,e):(o=ge(n*this.sin_p14+e.y*s*this.cos_p14/t),r=Math.abs(this.lat0)-E,Math.abs(r)<=R?(this.lat0>=0?a=T(this.long0+Math.atan2(e.x,-e.y)):a=T(this.long0-Math.atan2(-e.x,e.y)),e.x=a,e.y=o,e):(a=T(this.long0+Math.atan2(e.x*s,t*this.cos_p14*n-e.y*this.sin_p14*s)),e.x=a,e.y=o,e))}var ug=["ortho"];const dg={init:hg,forward:lg,inverse:cg,names:ug};var $={FRONT:1,RIGHT:2,BACK:3,LEFT:4,TOP:5,BOTTOM:6},D={AREA_0:1,AREA_1:2,AREA_2:3,AREA_3:4};function fg(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Quadrilateralized Spherical Cube",this.lat0>=E-N/2?this.face=$.TOP:this.lat0<=-(E-N/2)?this.face=$.BOTTOM:Math.abs(this.long0)<=N?this.face=$.FRONT:Math.abs(this.long0)<=E+N?this.face=this.long0>0?$.RIGHT:$.LEFT:this.face=$.BACK,this.es!==0&&(this.one_minus_f=1-(this.a-this.b)/this.a,this.one_minus_f_squared=this.one_minus_f*this.one_minus_f)}function gg(e){var t={x:0,y:0},i,s,n,r,a,o,h={value:0};if(e.x-=this.long0,this.es!==0?i=Math.atan(this.one_minus_f_squared*Math.tan(e.y)):i=e.y,s=e.x,this.face===$.TOP)r=E-i,s>=N&&s<=E+N?(h.value=D.AREA_0,n=s-E):s>E+N||s<=-(E+N)?(h.value=D.AREA_1,n=s>0?s-Z:s+Z):s>-(E+N)&&s<=-N?(h.value=D.AREA_2,n=s+E):(h.value=D.AREA_3,n=s);else if(this.face===$.BOTTOM)r=E+i,s>=N&&s<=E+N?(h.value=D.AREA_0,n=-s+E):s=-N?(h.value=D.AREA_1,n=-s):s<-N&&s>=-(E+N)?(h.value=D.AREA_2,n=-s-E):(h.value=D.AREA_3,n=s>0?-s+Z:-s-Z);else{var l,c,u,d,f,g,_;this.face===$.RIGHT?s=ni(s,+E):this.face===$.BACK?s=ni(s,+Z):this.face===$.LEFT&&(s=ni(s,-E)),d=Math.sin(i),f=Math.cos(i),g=Math.sin(s),_=Math.cos(s),l=f*_,c=f*g,u=d,this.face===$.FRONT?(r=Math.acos(l),n=os(r,u,c,h)):this.face===$.RIGHT?(r=Math.acos(c),n=os(r,u,-l,h)):this.face===$.BACK?(r=Math.acos(-l),n=os(r,u,-c,h)):this.face===$.LEFT?(r=Math.acos(-c),n=os(r,u,l,h)):(r=n=0,h.value=D.AREA_0)}return o=Math.atan(12/Z*(n+Math.acos(Math.sin(n)*Math.cos(N))-E)),a=Math.sqrt((1-Math.cos(r))/(Math.cos(o)*Math.cos(o))/(1-Math.cos(Math.atan(1/Math.cos(n))))),h.value===D.AREA_1?o+=E:h.value===D.AREA_2?o+=Z:h.value===D.AREA_3&&(o+=1.5*Z),t.x=a*Math.cos(o),t.y=a*Math.sin(o),t.x=t.x*this.a+this.x0,t.y=t.y*this.a+this.y0,e.x=t.x,e.y=t.y,e}function _g(e){var t={lam:0,phi:0},i,s,n,r,a,o,h,l,c,u={value:0};if(e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,s=Math.atan(Math.sqrt(e.x*e.x+e.y*e.y)),i=Math.atan2(e.y,e.x),e.x>=0&&e.x>=Math.abs(e.y)?u.value=D.AREA_0:e.y>=0&&e.y>=Math.abs(e.x)?(u.value=D.AREA_1,i-=E):e.x<0&&-e.x>=Math.abs(e.y)?(u.value=D.AREA_2,i=i<0?i+Z:i-Z):(u.value=D.AREA_3,i+=E),c=Z/12*Math.tan(i),a=Math.sin(c)/(Math.cos(c)-1/Math.sqrt(2)),o=Math.atan(a),n=Math.cos(i),r=Math.tan(s),h=1-n*n*r*r*(1-Math.cos(Math.atan(1/Math.cos(o)))),h<-1?h=-1:h>1&&(h=1),this.face===$.TOP)l=Math.acos(h),t.phi=E-l,u.value===D.AREA_0?t.lam=o+E:u.value===D.AREA_1?t.lam=o<0?o+Z:o-Z:u.value===D.AREA_2?t.lam=o-E:t.lam=o;else if(this.face===$.BOTTOM)l=Math.acos(h),t.phi=l-E,u.value===D.AREA_0?t.lam=-o+E:u.value===D.AREA_1?t.lam=-o:u.value===D.AREA_2?t.lam=-o-E:t.lam=o<0?-o-Z:-o+Z;else{var d,f,g;d=h,c=d*d,c>=1?g=0:g=Math.sqrt(1-c)*Math.sin(o),c+=g*g,c>=1?f=0:f=Math.sqrt(1-c),u.value===D.AREA_1?(c=f,f=-g,g=c):u.value===D.AREA_2?(f=-f,g=-g):u.value===D.AREA_3&&(c=f,f=g,g=-c),this.face===$.RIGHT?(c=d,d=-f,f=c):this.face===$.BACK?(d=-d,f=-f):this.face===$.LEFT&&(c=d,d=f,f=-c),t.phi=Math.acos(-g)-E,t.lam=Math.atan2(f,d),this.face===$.RIGHT?t.lam=ni(t.lam,-E):this.face===$.BACK?t.lam=ni(t.lam,-Z):this.face===$.LEFT&&(t.lam=ni(t.lam,+E))}if(this.es!==0){var _,m,v;_=t.phi<0?1:0,m=Math.tan(t.phi),v=this.b/Math.sqrt(m*m+this.one_minus_f_squared),t.phi=Math.atan(Math.sqrt(this.a*this.a-v*v)/(this.one_minus_f*v)),_&&(t.phi=-t.phi)}return t.lam+=this.long0,e.x=t.lam,e.y=t.phi,e}function os(e,t,i,s){var n;return eN&&n<=E+N?(s.value=D.AREA_1,n-=E):n>E+N||n<=-(E+N)?(s.value=D.AREA_2,n=n>=0?n-Z:n+Z):(s.value=D.AREA_3,n+=E)),n}function ni(e,t){var i=e+t;return i<-Z?i+=Pi:i>+Z&&(i-=Pi),i}var mg=["Quadrilateralized Spherical Cube","Quadrilateralized_Spherical_Cube","qsc"];const yg={init:fg,forward:gg,inverse:_g,names:mg};var bn=[[1,22199e-21,-715515e-10,31103e-10],[.9986,-482243e-9,-24897e-9,-13309e-10],[.9954,-83103e-8,-448605e-10,-986701e-12],[.99,-.00135364,-59661e-9,36777e-10],[.9822,-.00167442,-449547e-11,-572411e-11],[.973,-.00214868,-903571e-10,18736e-12],[.96,-.00305085,-900761e-10,164917e-11],[.9427,-.00382792,-653386e-10,-26154e-10],[.9216,-.00467746,-10457e-8,481243e-11],[.8962,-.00536223,-323831e-10,-543432e-11],[.8679,-.00609363,-113898e-9,332484e-11],[.835,-.00698325,-640253e-10,934959e-12],[.7986,-.00755338,-500009e-10,935324e-12],[.7597,-.00798324,-35971e-9,-227626e-11],[.7186,-.00851367,-701149e-10,-86303e-10],[.6732,-.00986209,-199569e-9,191974e-10],[.6213,-.010418,883923e-10,624051e-11],[.5722,-.00906601,182e-6,624051e-11],[.5322,-.00677797,275608e-9,624051e-11]],xi=[[-520417e-23,.0124,121431e-23,-845284e-16],[.062,.0124,-126793e-14,422642e-15],[.124,.0124,507171e-14,-160604e-14],[.186,.0123999,-190189e-13,600152e-14],[.248,.0124002,710039e-13,-224e-10],[.31,.0123992,-264997e-12,835986e-13],[.372,.0124029,988983e-12,-311994e-12],[.434,.0123893,-369093e-11,-435621e-12],[.4958,.0123198,-102252e-10,-345523e-12],[.5571,.0121916,-154081e-10,-582288e-12],[.6176,.0119938,-241424e-10,-525327e-12],[.6769,.011713,-320223e-10,-516405e-12],[.7346,.0113541,-397684e-10,-609052e-12],[.7903,.0109107,-489042e-10,-104739e-11],[.8435,.0103431,-64615e-9,-140374e-14],[.8936,.00969686,-64636e-9,-8547e-9],[.9394,.00840947,-192841e-9,-42106e-10],[.9761,.00616527,-256e-6,-42106e-10],[1,.00328947,-319159e-9,-42106e-10]],Ao=.8487,Lo=1.3523,Oo=Ot/5,vg=1/Oo,Ye=18,Ps=function(e,t){return e[0]+t*(e[1]+t*(e[2]+t*e[3]))},Mg=function(e,t){return e[1]+t*(2*e[2]+t*3*e[3])};function pg(e,t,i,s){for(var n=t;s;--s){var r=e(n);if(n-=r,Math.abs(r)=Ye&&(s=Ye-1),i=Ot*(i-vg*s);var n={x:Ps(bn[s],i)*t,y:Ps(xi[s],i)};return e.y<0&&(n.y=-n.y),n.x=n.x*this.a*Ao+this.x0,n.y=n.y*this.a*Lo+this.y0,n}function Cg(e){var t={x:(e.x-this.x0)/(this.a*Ao),y:Math.abs(e.y-this.y0)/(this.a*Lo)};if(t.y>=1)t.x/=bn[Ye][0],t.y=e.y<0?-E:E;else{var i=Math.floor(t.y*Ye);for(i<0?i=0:i>=Ye&&(i=Ye-1);;)if(xi[i][0]>t.y)--i;else if(xi[i+1][0]<=t.y)++i;else break;var s=xi[i],n=5*(t.y-s[0])/(xi[i+1][0]-s[0]);n=pg(function(r){return(Ps(s,r)-t.y)/Mg(s,r)},n,R,100),t.x/=Ps(bn[i],n),t.y=(5*i+n)*et,e.y<0&&(t.y=-t.y)}return t.x=T(t.x+this.long0),t}var Rg=["Robinson","robin"];const Tg={init:Eg,forward:xg,inverse:Cg,names:Rg};function bg(){this.name="geocent"}function wg(e){var t=vo(e,this.es,this.a);return t}function Ig(e){var t=Mo(e,this.es,this.a,this.b);return t}var Pg=["Geocentric","geocentric","geocent","Geocent"];const Sg={init:bg,forward:wg,inverse:Ig,names:Pg};var nt={N_POLE:0,S_POLE:1,EQUIT:2,OBLIQ:3},Mi={h:{def:1e5,num:!0},azi:{def:0,num:!0,degrees:!0},tilt:{def:0,num:!0,degrees:!0},long0:{def:0,num:!0},lat0:{def:0,num:!0}};function Ag(){if(Object.keys(Mi).forEach((function(i){if(typeof this[i]>"u")this[i]=Mi[i].def;else{if(Mi[i].num&&isNaN(this[i]))throw new Error("Invalid parameter value, must be numeric "+i+" = "+this[i]);Mi[i].num&&(this[i]=parseFloat(this[i]))}Mi[i].degrees&&(this[i]=this[i]*et)}).bind(this)),Math.abs(Math.abs(this.lat0)-E)1e10)throw new Error("Invalid height");this.p=1+this.pn1,this.rp=1/this.p,this.h1=1/this.pn1,this.pfact=(this.p+1)*this.h1,this.es=0;var e=this.tilt,t=this.azi;this.cg=Math.cos(t),this.sg=Math.sin(t),this.cw=Math.cos(e),this.sw=Math.sin(e)}function Lg(e){e.x-=this.long0;var t=Math.sin(e.y),i=Math.cos(e.y),s=Math.cos(e.x),n,r;switch(this.mode){case nt.OBLIQ:r=this.sinph0*t+this.cosph0*i*s;break;case nt.EQUIT:r=i*s;break;case nt.S_POLE:r=-t;break;case nt.N_POLE:r=t;break}switch(r=this.pn1/(this.p-r),n=r*i*Math.sin(e.x),this.mode){case nt.OBLIQ:r*=this.cosph0*t-this.sinph0*i*s;break;case nt.EQUIT:r*=t;break;case nt.N_POLE:r*=-(i*s);break;case nt.S_POLE:r*=i*s;break}var a,o;return a=r*this.cg+n*this.sg,o=1/(a*this.sw*this.h1+this.cw),n=(n*this.cg-r*this.sg)*this.cw*o,r=a*o,e.x=n*this.a,e.y=r*this.a,e}function Og(e){e.x/=this.a,e.y/=this.a;var t={x:e.x,y:e.y},i,s,n;n=1/(this.pn1-e.y*this.sw),i=this.pn1*e.x*n,s=this.pn1*e.y*this.cw*n,e.x=i*this.cg+s*this.sg,e.y=s*this.cg-i*this.sg;var r=bt(e.x,e.y);if(Math.abs(r)1e10)throw new Error;if(this.radius_g=1+this.radius_g_1,this.C=this.radius_g*this.radius_g-1,this.es!==0){var e=1-this.es,t=1/e;this.radius_p=Math.sqrt(e),this.radius_p2=e,this.radius_p_inv2=t,this.shape="ellipse"}else this.radius_p=1,this.radius_p2=1,this.radius_p_inv2=1,this.shape="sphere";this.title||(this.title="Geostationary Satellite View")}function Gg(e){var t=e.x,i=e.y,s,n,r,a;if(t=t-this.long0,this.shape==="ellipse"){i=Math.atan(this.radius_p2*Math.tan(i));var o=this.radius_p/bt(this.radius_p*Math.cos(i),Math.sin(i));if(n=o*Math.cos(t)*Math.cos(i),r=o*Math.sin(t)*Math.cos(i),a=o*Math.sin(i),(this.radius_g-n)*n-r*r-a*a*this.radius_p_inv2<0)return e.x=Number.NaN,e.y=Number.NaN,e;s=this.radius_g-n,this.flip_axis?(e.x=this.radius_g_1*Math.atan(r/bt(a,s)),e.y=this.radius_g_1*Math.atan(a/s)):(e.x=this.radius_g_1*Math.atan(r/s),e.y=this.radius_g_1*Math.atan(a/bt(r,s)))}else this.shape==="sphere"&&(s=Math.cos(i),n=Math.cos(t)*s,r=Math.sin(t)*s,a=Math.sin(i),s=this.radius_g-n,this.flip_axis?(e.x=this.radius_g_1*Math.atan(r/bt(a,s)),e.y=this.radius_g_1*Math.atan(a/s)):(e.x=this.radius_g_1*Math.atan(r/s),e.y=this.radius_g_1*Math.atan(a/bt(r,s))));return e.x=e.x*this.a,e.y=e.y*this.a,e}function zg(e){var t=-1,i=0,s=0,n,r,a,o;if(e.x=e.x/this.a,e.y=e.y/this.a,this.shape==="ellipse"){this.flip_axis?(s=Math.tan(e.y/this.radius_g_1),i=Math.tan(e.x/this.radius_g_1)*bt(1,s)):(i=Math.tan(e.x/this.radius_g_1),s=Math.tan(e.y/this.radius_g_1)*bt(1,i));var h=s/this.radius_p;if(n=i*i+h*h+t*t,r=2*this.radius_g*t,a=r*r-4*n*this.C,a<0)return e.x=Number.NaN,e.y=Number.NaN,e;o=(-r-Math.sqrt(a))/(2*n),t=this.radius_g+o*t,i*=o,s*=o,e.x=Math.atan2(i,t),e.y=Math.atan(s*Math.cos(e.x)/t),e.y=Math.atan(this.radius_p_inv2*Math.tan(e.y))}else if(this.shape==="sphere"){if(this.flip_axis?(s=Math.tan(e.y/this.radius_g_1),i=Math.tan(e.x/this.radius_g_1)*Math.sqrt(1+s*s)):(i=Math.tan(e.x/this.radius_g_1),s=Math.tan(e.y/this.radius_g_1)*Math.sqrt(1+i*i)),n=i*i+s*s+t*t,r=2*this.radius_g*t,a=r*r-4*n*this.C,a<0)return e.x=Number.NaN,e.y=Number.NaN,e;o=(-r-Math.sqrt(a))/(2*n),t=this.radius_g+o*t,i*=o,s*=o,e.x=Math.atan2(i,t),e.y=Math.atan(s*Math.cos(e.x)/t)}return e.x=e.x+this.long0,e}var kg=["Geostationary Satellite View","Geostationary_Satellite","geos"];const jg={init:Fg,forward:Gg,inverse:zg,names:kg};function Ug(e){e.Proj.projections.add(_s),e.Proj.projections.add(ms),e.Proj.projections.add(Zd),e.Proj.projections.add(sf),e.Proj.projections.add(lf),e.Proj.projections.add(gf),e.Proj.projections.add(pf),e.Proj.projections.add(Tf),e.Proj.projections.add(Sf),e.Proj.projections.add(Df),e.Proj.projections.add(Qf),e.Proj.projections.add(n0),e.Proj.projections.add(l0),e.Proj.projections.add(_0),e.Proj.projections.add(p0),e.Proj.projections.add(T0),e.Proj.projections.add(S0),e.Proj.projections.add(D0),e.Proj.projections.add(U0),e.Proj.projections.add(Z0),e.Proj.projections.add(H0),e.Proj.projections.add(ig),e.Proj.projections.add(og),e.Proj.projections.add(dg),e.Proj.projections.add(yg),e.Proj.projections.add(Tg),e.Proj.projections.add(Sg),e.Proj.projections.add(Dg),e.Proj.projections.add(jg)}Rt.defaultDatum="WGS84";Rt.Proj=Nt;Rt.WGS84=new Rt.Proj("WGS84");Rt.Point=ui;Rt.toPoint=po;Rt.defs=at;Rt.nadgrid=Vu;Rt.transform=ws;Rt.mgrs=cd;Rt.version="__VERSION__";Ug(Rt);const xt={ADD:"add",REMOVE:"remove"},fa={LENGTH:"length"};class hs extends _e{constructor(t,i,s){super(t),this.element=i,this.index=s}}class $g extends Bt{constructor(t,i){if(super(),this.on,this.once,this.un,i=i||{},this.unique_=!!i.unique,this.array_=t||[],this.unique_)for(let s=0,n=this.array_.length;s0;)this.pop()}extend(t){for(let i=0,s=t.length;ithis.getLength())throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(i),this.array_.splice(t,0,i),this.updateLength_(),this.dispatchEvent(new hs(xt.ADD,i,t))}pop(){return this.removeAt(this.getLength()-1)}push(t){this.unique_&&this.assertUnique_(t);const i=this.getLength();return this.insertAt(i,t),this.getLength()}remove(t){const i=this.array_;for(let s=0,n=i.length;s=this.getLength())return;const i=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new hs(xt.REMOVE,i,t)),i}setAt(t,i){const s=this.getLength();if(t>=s){this.insertAt(t,i);return}if(t<0)throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(i,t);const n=this.array_[t];this.array_[t]=i,this.dispatchEvent(new hs(xt.REMOVE,n,t)),this.dispatchEvent(new hs(xt.ADD,i,t))}updateLength_(){this.set(fa.LENGTH,this.array_.length)}assertUnique_(t,i){for(let s=0,n=this.array_.length;sthis.maxCacheSize_}expire(){if(this.canExpireCache()){let t=0;for(const i in this.cache_){const s=this.cache_[i];!(t++&3)&&!s.hasListener()&&(delete this.cache_[i],--this.cacheSize_)}}}get(t,i,s){const n=ga(t,i,s);return n in this.cache_?this.cache_[n]:null}set(t,i,s,n){const r=ga(t,i,s);this.cache_[r]=n,++this.cacheSize_}setSize(t){this.maxCacheSize_=t,this.expire()}}function ga(e,t,i){const s=i?Bl(i):"null";return t+":"+e+":"+s}const No=new qg;class Xg extends Sn{constructor(t){super(),this.map_=t}dispatchRenderEvent(t,i){X()}calculateMatrices2D(t){const i=t.viewState,s=t.coordinateToPixelTransform,n=t.pixelToCoordinateTransform;wi(s,t.size[0]/2,t.size[1]/2,1/i.resolution,-1/i.resolution,-i.rotation,-i.center[0],-i.center[1]),ka(n,s)}forEachFeatureAtCoordinate(t,i,s,n,r,a,o,h){let l;const c=i.viewState;function u(M,C,b,I){return r.call(a,C,M?b:null,I)}const d=c.projection,f=jh(t.slice(),d),g=[[0,0]];if(d.canWrapX()&&n){const M=d.getExtent(),C=W(M);g.push([-C,0],[C,0])}const _=i.layerStatesArray,m=_.length,v=[],y=[];for(let M=0;M=0;--C){const b=_[C],I=b.layer;if(I.hasRenderer()&&Xn(b,c)&&o.call(h,I)){const P=I.getRenderer(),z=I.getSource();if(P&&z){const U=z.getWrapX()?f:t,Q=u.bind(null,b.managed);y[0]=U[0]+g[M][0],y[1]=U[1]+g[M][1],l=P.forEachFeatureAtCoordinate(y,i,s,Q,v)}if(l)return l}}if(v.length===0)return;const p=1/v.length;return v.forEach((M,C)=>M.distanceSq+=C*p),v.sort((M,C)=>M.distanceSq-C.distanceSq),v.some(M=>l=M.callback(M.feature,M.layer,M.geometry)),l}hasFeatureAtCoordinate(t,i,s,n,r,a){return this.forEachFeatureAtCoordinate(t,i,s,n,vs,this,r,a)!==void 0}getMap(){return this.map_}renderFrame(t){X()}flushDeclutterItems(t){}scheduleExpireIconCache(t){No.canExpireCache()&&t.postRenderFunctions.push(Kg)}}function Kg(e,t){No.expire()}const Zg=Xg,ls="ol-hidden",Ws="ol-unselectable",ir="ol-control",_a="ol-collapsed",Bg=new Bt;class Vg extends Zg{constructor(t){super(t),this.fontChangeListenerKey_=G(Bg,Ti.PROPERTYCHANGE,t.redrawText.bind(t)),this.element_=document.createElement("div");const i=this.element_.style;i.position="absolute",i.width="100%",i.height="100%",i.zIndex="0",this.element_.className=Ws+" ol-layers";const s=t.getViewport();s.insertBefore(this.element_,s.firstChild||null),this.children_=[],this.renderedVisible_=!0,this.declutterLayers_=[]}dispatchRenderEvent(t,i){const s=this.getMap();if(s.hasListener(t)){const n=new Ya(t,void 0,i);s.dispatchEvent(n)}}disposeInternal(){B(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),super.disposeInternal()}renderFrame(t){if(!t){this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1);return}this.calculateMatrices2D(t),this.dispatchRenderEvent(ce.PRECOMPOSE,t);const i=t.layerStatesArray.sort(function(a,o){return a.zIndex-o.zIndex}),s=t.viewState;this.children_.length=0;const n=this.declutterLayers_;n.length=0;let r=null;for(let a=0,o=i.length;a=0;--s)i[s].renderDeclutter(t);i.length=0}}const Wg=Vg;class te extends _e{constructor(t,i){super(t),this.layer=i}}const hn={LAYERS:"layers"};class sr extends Ra{constructor(t){t=t||{};const i=Object.assign({},t);delete i.layers;let s=t.layers;super(i),this.on,this.once,this.un,this.layersListenerKeys_=[],this.listenerKeys_={},this.addChangeListener(hn.LAYERS,this.handleLayersChanged_),s?Array.isArray(s)?s=new Zt(s.slice(),{unique:!0}):j(typeof s.getArray=="function","Expected `layers` to be an array or a `Collection`"):s=new Zt(void 0,{unique:!0}),this.setLayers(s)}handleLayerChange_(){this.changed()}handleLayersChanged_(){this.layersListenerKeys_.forEach(B),this.layersListenerKeys_.length=0;const t=this.getLayers();this.layersListenerKeys_.push(G(t,xt.ADD,this.handleLayersAdd_,this),G(t,xt.REMOVE,this.handleLayersRemove_,this));for(const s in this.listenerKeys_)this.listenerKeys_[s].forEach(B);ks(this.listenerKeys_);const i=t.getArray();for(let s=0,n=i.length;s{this.clickTimeoutId_=void 0;const s=new Qt(q.SINGLECLICK,this.map_,t);this.dispatchEvent(s)},250)}updateActivePointers_(t){const i=t,s=i.pointerId;if(i.type==q.POINTERUP||i.type==q.POINTERCANCEL){delete this.trackedTouches_[s];for(const n in this.trackedTouches_)if(this.trackedTouches_[n].target!==i.target){delete this.trackedTouches_[n];break}}else(i.type==q.POINTERDOWN||i.type==q.POINTERMOVE)&&(this.trackedTouches_[s]=i);this.activePointers_=Object.values(this.trackedTouches_)}handlePointerUp_(t){this.updateActivePointers_(t);const i=new Qt(q.POINTERUP,this.map_,t,void 0,void 0,this.activePointers_);this.dispatchEvent(i),this.emulateClicks_&&!i.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(t)&&this.emulateClick_(this.down_),this.activePointers_.length===0&&(this.dragListenerKeys_.forEach(B),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)}isMouseActionButton_(t){return t.button===0}handlePointerDown_(t){this.emulateClicks_=this.activePointers_.length===0,this.updateActivePointers_(t);const i=new Qt(q.POINTERDOWN,this.map_,t,void 0,void 0,this.activePointers_);if(this.dispatchEvent(i),this.down_=new PointerEvent(t.type,t),Object.defineProperty(this.down_,"target",{writable:!1,value:t.target}),this.dragListenerKeys_.length===0){const s=this.map_.getOwnerDocument();this.dragListenerKeys_.push(G(s,q.POINTERMOVE,this.handlePointerMove_,this),G(s,q.POINTERUP,this.handlePointerUp_,this),G(this.element_,q.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==s&&this.dragListenerKeys_.push(G(this.element_.getRootNode(),q.POINTERUP,this.handlePointerUp_,this))}}handlePointerMove_(t){if(this.isMoving_(t)){this.updateActivePointers_(t),this.dragging_=!0;const i=new Qt(q.POINTERDRAG,this.map_,t,this.dragging_,void 0,this.activePointers_);this.dispatchEvent(i)}}relayMoveEvent_(t){this.originalPointerMoveEvent_=t;const i=!!(this.down_&&this.isMoving_(t));this.dispatchEvent(new Qt(q.POINTERMOVE,this.map_,t,i))}handleTouchMove_(t){const i=this.originalPointerMoveEvent_;(!i||i.defaultPrevented)&&(typeof t.cancelable!="boolean"||t.cancelable===!0)&&t.preventDefault()}isMoving_(t){return this.dragging_||Math.abs(t.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_}disposeInternal(){this.relayedListenerKey_&&(B(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(O.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(B(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(B),this.dragListenerKeys_.length=0,this.element_=null,super.disposeInternal()}}const Jg=Qg,Jt={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend",LOADSTART:"loadstart",LOADEND:"loadend"},st={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"},Ss=1/0;class t_{constructor(t,i){this.priorityFunction_=t,this.keyFunction_=i,this.elements_=[],this.priorities_=[],this.queuedElements_={}}clear(){this.elements_.length=0,this.priorities_.length=0,ks(this.queuedElements_)}dequeue(){const t=this.elements_,i=this.priorities_,s=t[0];t.length==1?(t.length=0,i.length=0):(t[0]=t.pop(),i[0]=i.pop(),this.siftUp_(0));const n=this.keyFunction_(s);return delete this.queuedElements_[n],s}enqueue(t){j(!(this.keyFunction_(t)in this.queuedElements_),"Tried to enqueue an `element` that was already added to the queue");const i=this.priorityFunction_(t);return i!=Ss?(this.elements_.push(t),this.priorities_.push(i),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0):!1}getCount(){return this.elements_.length}getLeftChildIndex_(t){return t*2+1}getRightChildIndex_(t){return t*2+2}getParentIndex_(t){return t-1>>1}heapify_(){let t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)}isEmpty(){return this.elements_.length===0}isKeyQueued(t){return t in this.queuedElements_}isQueued(t){return this.isKeyQueued(this.keyFunction_(t))}siftUp_(t){const i=this.elements_,s=this.priorities_,n=i.length,r=i[t],a=s[t],o=t;for(;t>1;){const h=this.getLeftChildIndex_(t),l=this.getRightChildIndex_(t),c=lt;){const o=this.getParentIndex_(i);if(n[o]>a)s[i]=s[o],n[i]=n[o],i=o;else break}s[i]=r,n[i]=a}reprioritize(){const t=this.priorityFunction_,i=this.elements_,s=this.priorities_;let n=0;const r=i.length;let a,o,h;for(o=0;o0;)r=this.dequeue()[0],a=r.getKey(),n=r.getState(),n===w.IDLE&&!(a in this.tilesLoadingKeys_)&&(this.tilesLoadingKeys_[a]=!0,++this.tilesLoading_,++s,r.load())}}const s_=i_;function n_(e,t,i,s,n){if(!e||!(i in e.wantedTiles)||!e.wantedTiles[i][t.getKey()])return Ss;const r=e.viewState.center,a=s[0]-r[0],o=s[1]-r[1];return 65536*Math.log(n)+Math.sqrt(a*a+o*o)/n}class r_ extends Bt{constructor(t){super();const i=t.element;i&&!t.target&&!i.style.pointerEvents&&(i.style.pointerEvents="auto"),this.element=i||null,this.target_=null,this.map_=null,this.listenerKeys=[],t.render&&(this.render=t.render),t.target&&this.setTarget(t.target)}disposeInternal(){pn(this.element),super.disposeInternal()}getMap(){return this.map_}setMap(t){this.map_&&pn(this.element);for(let i=0,s=this.listenerKeys.length;in.getAttributions(t)))),s=!this.getMap().getAllLayers().some(n=>n.getSource()&&n.getSource().getAttributionsCollapsible()===!1);return this.overrideCollapsible_||this.setCollapsible(s),i}updateElement_(t){if(!t){this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1);return}const i=this.collectSourceAttributions_(t),s=i.length>0;if(this.renderedVisible_!=s&&(this.element.style.display=s?"":"none",this.renderedVisible_=s),!Gs(i,this.renderedAttributions_)){Ql(this.ulElement_);for(let n=0,r=i.length;n0&&s%(2*Math.PI)!==0?i.animate({rotation:0,duration:this.duration_,easing:gi}):i.setRotation(0))}render(t){const i=t.frameState;if(!i)return;const s=i.viewState.rotation;if(s!=this.rotation_){const n="rotate("+s+"rad)";if(this.autoHide_){const r=this.element.classList.contains(ls);!r&&s===0?this.element.classList.add(ls):r&&s!==0&&this.element.classList.remove(ls)}this.label_.style.transform=n}this.rotation_=s}}const h_=o_;class l_ extends nr{constructor(t){t=t||{},super({element:document.createElement("div"),target:t.target});const i=t.className!==void 0?t.className:"ol-zoom",s=t.delta!==void 0?t.delta:1,n=t.zoomInClassName!==void 0?t.zoomInClassName:i+"-in",r=t.zoomOutClassName!==void 0?t.zoomOutClassName:i+"-out",a=t.zoomInLabel!==void 0?t.zoomInLabel:"+",o=t.zoomOutLabel!==void 0?t.zoomOutLabel:"–",h=t.zoomInTipLabel!==void 0?t.zoomInTipLabel:"Zoom in",l=t.zoomOutTipLabel!==void 0?t.zoomOutTipLabel:"Zoom out",c=document.createElement("button");c.className=n,c.setAttribute("type","button"),c.title=h,c.appendChild(typeof a=="string"?document.createTextNode(a):a),c.addEventListener(O.CLICK,this.handleClick_.bind(this,s),!1);const u=document.createElement("button");u.className=r,u.setAttribute("type","button"),u.title=l,u.appendChild(typeof o=="string"?document.createTextNode(o):o),u.addEventListener(O.CLICK,this.handleClick_.bind(this,-s),!1);const d=i+" "+Ws+" "+ir,f=this.element;f.className=d,f.appendChild(c),f.appendChild(u),this.duration_=t.duration!==void 0?t.duration:250}handleClick_(t,i){i.preventDefault(),this.zoomByDelta_(t)}zoomByDelta_(t){const s=this.getMap().getView();if(!s)return;const n=s.getZoom();if(n!==void 0){const r=s.getConstrainedZoom(n+t);this.duration_>0?(s.getAnimating()&&s.cancelAnimations(),s.animate({zoom:r,duration:this.duration_,easing:gi})):s.setZoom(r)}}}const c_=l_;function u_(e){e=e||{};const t=new Zt;return(e.zoom!==void 0?e.zoom:!0)&&t.push(new c_(e.zoomOptions)),(e.rotate!==void 0?e.rotate:!0)&&t.push(new h_(e.rotateOptions)),(e.attribution!==void 0?e.attribution:!0)&&t.push(new Do(e.attributionOptions)),t}const ma={ACTIVE:"active"};class d_ extends Bt{constructor(t){super(),this.on,this.once,this.un,t&&t.handleEvent&&(this.handleEvent=t.handleEvent),this.map_=null,this.setActive(!0)}getActive(){return this.get(ma.ACTIVE)}getMap(){return this.map_}handleEvent(t){return!0}setActive(t){this.set(ma.ACTIVE,t)}setMap(t){this.map_=t}}function f_(e,t,i){const s=e.getCenterInternal();if(s){const n=[s[0]+t[0],s[1]+t[1]];e.animateInternal({duration:i!==void 0?i:250,easing:il,center:e.getConstrainedCenter(n)})}}function rr(e,t,i,s){const n=e.getZoom();if(n===void 0)return;const r=e.getConstrainedZoom(n+t),a=e.getResolutionForZoom(r);e.getAnimating()&&e.cancelAnimations(),e.animate({resolution:a,anchor:i,duration:s!==void 0?s:250,easing:gi})}const Hi=d_;class g_ extends Hi{constructor(t){super(),t=t||{},this.delta_=t.delta?t.delta:1,this.duration_=t.duration!==void 0?t.duration:250}handleEvent(t){let i=!1;if(t.type==q.DBLCLICK){const s=t.originalEvent,n=t.map,r=t.coordinate,a=s.shiftKey?-this.delta_:this.delta_,o=n.getView();rr(o,a,r,this.duration_),s.preventDefault(),i=!0}return!i}}const __=g_;class m_ extends Hi{constructor(t){t=t||{},super(t),t.handleDownEvent&&(this.handleDownEvent=t.handleDownEvent),t.handleDragEvent&&(this.handleDragEvent=t.handleDragEvent),t.handleMoveEvent&&(this.handleMoveEvent=t.handleMoveEvent),t.handleUpEvent&&(this.handleUpEvent=t.handleUpEvent),t.stopDown&&(this.stopDown=t.stopDown),this.handlingDownUpSequence=!1,this.targetPointers=[]}getPointerCount(){return this.targetPointers.length}handleDownEvent(t){return!1}handleDragEvent(t){}handleEvent(t){if(!t.originalEvent)return!0;let i=!1;if(this.updateTrackedPointers_(t),this.handlingDownUpSequence){if(t.type==q.POINTERDRAG)this.handleDragEvent(t),t.originalEvent.preventDefault();else if(t.type==q.POINTERUP){const s=this.handleUpEvent(t);this.handlingDownUpSequence=s&&this.targetPointers.length>0}}else if(t.type==q.POINTERDOWN){const s=this.handleDownEvent(t);this.handlingDownUpSequence=s,i=this.stopDown(s)}else t.type==q.POINTERMOVE&&this.handleMoveEvent(t);return!i}handleMoveEvent(t){}handleUpEvent(t){return!1}stopDown(t){return t}updateTrackedPointers_(t){t.activePointers&&(this.targetPointers=t.activePointers)}}function ar(e){const t=e.length;let i=0,s=0;for(let n=0;n0&&this.condition_(t)){const s=t.map.getView();return this.lastCentroid=null,s.getAnimating()&&s.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1}}const R_=C_;class T_ extends Qi{constructor(t){t=t||{},super({stopDown:zs}),this.condition_=t.condition?t.condition:y_,this.lastAngle_=void 0,this.duration_=t.duration!==void 0?t.duration:250}handleDragEvent(t){if(!ln(t))return;const i=t.map,s=i.getView();if(s.getConstraints().rotation===$n)return;const n=i.getSize(),r=t.pixel,a=Math.atan2(n[1]/2-r[1],r[0]-n[0]/2);if(this.lastAngle_!==void 0){const o=a-this.lastAngle_;s.adjustRotationInternal(-o)}this.lastAngle_=a}handleUpEvent(t){return ln(t)?(t.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(t){return ln(t)&&Go(t)&&this.condition_(t)?(t.map.getView().beginInteraction(),this.lastAngle_=void 0,!0):!1}}const b_=T_;class w_ extends Sn{constructor(t){super(),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.style.pointerEvents="auto",this.element_.className="ol-box "+t,this.map_=null,this.startPixel_=null,this.endPixel_=null}disposeInternal(){this.setMap(null)}render_(){const t=this.startPixel_,i=this.endPixel_,s="px",n=this.element_.style;n.left=Math.min(t[0],i[0])+s,n.top=Math.min(t[1],i[1])+s,n.width=Math.abs(i[0]-t[0])+s,n.height=Math.abs(i[1]-t[1])+s}setMap(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);const i=this.element_.style;i.left="inherit",i.top="inherit",i.width="inherit",i.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)}setPixels(t,i){this.startPixel_=t,this.endPixel_=i,this.createOrUpdateGeometry(),this.render_()}createOrUpdateGeometry(){const t=this.startPixel_,i=this.endPixel_,n=[t,[t[0],i[1]],i,[i[0],t[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);n[4]=n[0].slice(),this.geometry_?this.geometry_.setCoordinates([n]):this.geometry_=new Ii([n])}getGeometry(){return this.geometry_}}const I_=w_,cs={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend",BOXCANCEL:"boxcancel"};class cn extends _e{constructor(t,i,s){super(t),this.coordinate=i,this.mapBrowserEvent=s}}class P_ extends Qi{constructor(t){super(),this.on,this.once,this.un,t=t||{},this.box_=new I_(t.className||"ol-dragbox"),this.minArea_=t.minArea!==void 0?t.minArea:64,t.onBoxEnd&&(this.onBoxEnd=t.onBoxEnd),this.startPixel_=null,this.condition_=t.condition?t.condition:Go,this.boxEndCondition_=t.boxEndCondition?t.boxEndCondition:this.defaultBoxEndCondition}defaultBoxEndCondition(t,i,s){const n=s[0]-i[0],r=s[1]-i[1];return n*n+r*r>=this.minArea_}getGeometry(){return this.box_.getGeometry()}handleDragEvent(t){this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new cn(cs.BOXDRAG,t.coordinate,t))}handleUpEvent(t){this.box_.setMap(null);const i=this.boxEndCondition_(t,this.startPixel_,t.pixel);return i&&this.onBoxEnd(t),this.dispatchEvent(new cn(i?cs.BOXEND:cs.BOXCANCEL,t.coordinate,t)),!1}handleDownEvent(t){return this.condition_(t)?(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new cn(cs.BOXSTART,t.coordinate,t)),!0):!1}onBoxEnd(t){}}const S_=P_;class A_ extends S_{constructor(t){t=t||{};const i=t.condition?t.condition:E_;super({condition:i,className:t.className||"ol-dragzoom",minArea:t.minArea}),this.duration_=t.duration!==void 0?t.duration:200,this.out_=t.out!==void 0?t.out:!1}onBoxEnd(t){const s=this.getMap().getView();let n=this.getGeometry();if(this.out_){const r=s.rotatedExtentForGeometry(n),a=s.getResolutionForExtentInternal(r),o=s.getResolution()/a;n=n.clone(),n.scale(o*o)}s.fitInternal(n,{duration:this.duration_,easing:gi})}}const L_=A_,ve={LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",DOWN:"ArrowDown"};class O_ extends Hi{constructor(t){super(),t=t||{},this.defaultCondition_=function(i){return zo(i)&&ko(i)},this.condition_=t.condition!==void 0?t.condition:this.defaultCondition_,this.duration_=t.duration!==void 0?t.duration:100,this.pixelDelta_=t.pixelDelta!==void 0?t.pixelDelta:128}handleEvent(t){let i=!1;if(t.type==O.KEYDOWN){const s=t.originalEvent,n=s.key;if(this.condition_(t)&&(n==ve.DOWN||n==ve.LEFT||n==ve.RIGHT||n==ve.UP)){const a=t.map.getView(),o=a.getResolution()*this.pixelDelta_;let h=0,l=0;n==ve.DOWN?l=-o:n==ve.LEFT?h=-o:n==ve.RIGHT?h=o:l=o;const c=[h,l];Fn(c,a.getRotation()),f_(a,c,this.duration_),s.preventDefault(),i=!0}}return!i}}const N_=O_;class D_ extends Hi{constructor(t){super(),t=t||{},this.condition_=t.condition?t.condition:function(i){return!p_(i)&&ko(i)},this.delta_=t.delta?t.delta:1,this.duration_=t.duration!==void 0?t.duration:100}handleEvent(t){let i=!1;if(t.type==O.KEYDOWN||t.type==O.KEYPRESS){const s=t.originalEvent,n=s.key;if(this.condition_(t)&&(n==="+"||n==="-")){const r=t.map,a=n==="+"?this.delta_:-this.delta_,o=r.getView();rr(o,a,void 0,this.duration_),s.preventDefault(),i=!0}}return!i}}const F_=D_;class G_{constructor(t,i,s){this.decay_=t,this.minVelocity_=i,this.delay_=s,this.points_=[],this.angle_=0,this.initialVelocity_=0}begin(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0}update(t,i){this.points_.push(t,i,Date.now())}end(){if(this.points_.length<6)return!1;const t=Date.now()-this.delay_,i=this.points_.length-3;if(this.points_[i+2]0&&this.points_[s+2]>t;)s-=3;const n=this.points_[i+2]-this.points_[s+2];if(n<1e3/60)return!1;const r=this.points_[i]-this.points_[s],a=this.points_[i+1]-this.points_[s+1];return this.angle_=Math.atan2(a,r),this.initialVelocity_=Math.sqrt(r*r+a*a)/n,this.initialVelocity_>this.minVelocity_}getDistance(){return(this.minVelocity_-this.initialVelocity_)/this.decay_}getAngle(){return this.angle_}}const z_=G_;class k_ extends Hi{constructor(t){t=t||{},super(t),this.totalDelta_=0,this.lastDelta_=0,this.maxDelta_=t.maxDelta!==void 0?t.maxDelta:1,this.duration_=t.duration!==void 0?t.duration:250,this.timeout_=t.timeout!==void 0?t.timeout:80,this.useAnchor_=t.useAnchor!==void 0?t.useAnchor:!0,this.constrainResolution_=t.constrainResolution!==void 0?t.constrainResolution:!1;const i=t.condition?t.condition:M_;this.condition_=t.onFocusOnly?In(Fo,i):i,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_,this.mode_=void 0,this.trackpadEventGap_=400,this.trackpadTimeoutId_,this.deltaPerZoom_=300}endInteraction_(){this.trackpadTimeoutId_=void 0;const t=this.getMap();if(!t)return;t.getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)}handleEvent(t){if(!this.condition_(t)||t.type!==O.WHEEL)return!0;const s=t.map,n=t.originalEvent;n.preventDefault(),this.useAnchor_&&(this.lastAnchor_=t.coordinate);let r;if(t.type==O.WHEEL&&(r=n.deltaY,sl&&n.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(r/=Fa),n.deltaMode===WheelEvent.DOM_DELTA_LINE&&(r*=40)),r===0)return!1;this.lastDelta_=r;const a=Date.now();this.startTime_===void 0&&(this.startTime_=a),(!this.mode_||a-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(r)<4?"trackpad":"wheel");const o=s.getView();if(this.mode_==="trackpad"&&!(o.getConstrainResolution()||this.constrainResolution_))return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(o.getAnimating()&&o.cancelAnimations(),o.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),o.adjustZoom(-r/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=a,!1;this.totalDelta_+=r;const h=Math.max(this.timeout_-(a-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,s),h),!1}handleWheelZoom_(t){const i=t.getView();i.getAnimating()&&i.cancelAnimations();let s=-Y(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(i.getConstrainResolution()||this.constrainResolution_)&&(s=s?s>0?1:-1:0),rr(i,s,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0}setMouseAnchor(t){this.useAnchor_=t,t||(this.lastAnchor_=null)}}const j_=k_;class U_ extends Qi{constructor(t){t=t||{};const i=t;i.stopDown||(i.stopDown=zs),super(i),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=t.threshold!==void 0?t.threshold:.3,this.duration_=t.duration!==void 0?t.duration:250}handleDragEvent(t){let i=0;const s=this.targetPointers[0],n=this.targetPointers[1],r=Math.atan2(n.clientY-s.clientY,n.clientX-s.clientX);if(this.lastAngle_!==void 0){const h=r-this.lastAngle_;this.rotationDelta_+=h,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),i=h}this.lastAngle_=r;const a=t.map,o=a.getView();o.getConstraints().rotation!==$n&&(this.anchor_=a.getCoordinateFromPixelInternal(a.getEventPixel(ar(this.targetPointers))),this.rotating_&&(a.render(),o.adjustRotationInternal(i,this.anchor_)))}handleUpEvent(t){return this.targetPointers.length<2?(t.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(t){if(this.targetPointers.length>=2){const i=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||i.getView().beginInteraction(),!0}return!1}}const $_=U_;class q_ extends Qi{constructor(t){t=t||{};const i=t;i.stopDown||(i.stopDown=zs),super(i),this.anchor_=null,this.duration_=t.duration!==void 0?t.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}handleDragEvent(t){let i=1;const s=this.targetPointers[0],n=this.targetPointers[1],r=s.clientX-n.clientX,a=s.clientY-n.clientY,o=Math.sqrt(r*r+a*a);this.lastDistance_!==void 0&&(i=this.lastDistance_/o),this.lastDistance_=o;const h=t.map,l=h.getView();i!=1&&(this.lastScaleDelta_=i),this.anchor_=h.getCoordinateFromPixelInternal(h.getEventPixel(ar(this.targetPointers))),h.render(),l.adjustResolutionInternal(i,this.anchor_)}handleUpEvent(t){if(this.targetPointers.length<2){const s=t.map.getView(),n=this.lastScaleDelta_>1?1:-1;return s.endInteraction(this.duration_,n),!1}return!0}handleDownEvent(t){if(this.targetPointers.length>=2){const i=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||i.getView().beginInteraction(),!0}return!1}}const X_=q_;function K_(e){e=e||{};const t=new Zt,i=new z_(-.005,.05,100);return(e.altShiftDragRotate!==void 0?e.altShiftDragRotate:!0)&&t.push(new b_),(e.doubleClickZoom!==void 0?e.doubleClickZoom:!0)&&t.push(new __({delta:e.zoomDelta,duration:e.zoomDuration})),(e.dragPan!==void 0?e.dragPan:!0)&&t.push(new R_({onFocusOnly:e.onFocusOnly,kinetic:i})),(e.pinchRotate!==void 0?e.pinchRotate:!0)&&t.push(new $_),(e.pinchZoom!==void 0?e.pinchZoom:!0)&&t.push(new X_({duration:e.zoomDuration})),(e.keyboard!==void 0?e.keyboard:!0)&&(t.push(new N_),t.push(new F_({delta:e.zoomDelta,duration:e.zoomDuration}))),(e.mouseWheelZoom!==void 0?e.mouseWheelZoom:!0)&&t.push(new j_({onFocusOnly:e.onFocusOnly,duration:e.zoomDuration})),(e.shiftDragZoom!==void 0?e.shiftDragZoom:!0)&&t.push(new L_({duration:e.zoomDuration})),t}function jo(e){if(e instanceof Ks){e.setMapInternal(null);return}e instanceof Ys&&e.getLayers().forEach(jo)}function Uo(e,t){if(e instanceof Ks){e.setMapInternal(t);return}if(e instanceof Ys){const i=e.getLayers().getArray();for(let s=0,n=i.length;sthis.updateSize()),this.controls=i.controls||u_(),this.interactions=i.interactions||K_({onFocusOnly:!0}),this.overlays_=i.overlays,this.overlayIdIndex_={},this.renderer_=null,this.postRenderFunctions_=[],this.tileQueue_=new s_(this.getTilePriority.bind(this),this.handleTileChange_.bind(this)),this.addChangeListener(st.LAYERGROUP,this.handleLayerGroupChanged_),this.addChangeListener(st.VIEW,this.handleViewChanged_),this.addChangeListener(st.SIZE,this.handleSizeChanged_),this.addChangeListener(st.TARGET,this.handleTargetChanged_),this.setProperties(i.values);const s=this;t.view&&!(t.view instanceof Ct)&&t.view.then(function(n){s.setView(new Ct(n))}),this.controls.addEventListener(xt.ADD,n=>{n.element.setMap(this)}),this.controls.addEventListener(xt.REMOVE,n=>{n.element.setMap(null)}),this.interactions.addEventListener(xt.ADD,n=>{n.element.setMap(this)}),this.interactions.addEventListener(xt.REMOVE,n=>{n.element.setMap(null)}),this.overlays_.addEventListener(xt.ADD,n=>{this.addOverlayInternal_(n.element)}),this.overlays_.addEventListener(xt.REMOVE,n=>{const r=n.element.getId();r!==void 0&&delete this.overlayIdIndex_[r.toString()],n.element.setMap(null)}),this.controls.forEach(n=>{n.setMap(this)}),this.interactions.forEach(n=>{n.setMap(this)}),this.overlays_.forEach(this.addOverlayInternal_.bind(this))}addControl(t){this.getControls().push(t)}addInteraction(t){this.getInteractions().push(t)}addLayer(t){this.getLayerGroup().getLayers().push(t)}handleLayerAdd_(t){Uo(t.layer,this)}addOverlay(t){this.getOverlays().push(t)}addOverlayInternal_(t){const i=t.getId();i!==void 0&&(this.overlayIdIndex_[i.toString()]=t),t.setMap(this)}disposeInternal(){this.controls.clear(),this.interactions.clear(),this.overlays_.clear(),this.resizeObserver_.disconnect(),this.setTarget(null),super.disposeInternal()}forEachFeatureAtPixel(t,i,s){if(!this.frameState_||!this.renderer_)return;const n=this.getCoordinateFromPixelInternal(t);s=s!==void 0?s:{};const r=s.hitTolerance!==void 0?s.hitTolerance:0,a=s.layerFilter!==void 0?s.layerFilter:vs,o=s.checkWrapped!==!1;return this.renderer_.forEachFeatureAtCoordinate(n,this.frameState_,r,o,i,null,a,null)}getFeaturesAtPixel(t,i){const s=[];return this.forEachFeatureAtPixel(t,function(n){s.push(n)},i),s}getAllLayers(){const t=[];function i(s){s.forEach(function(n){n instanceof Ys?i(n.getLayers()):t.push(n)})}return i(this.getLayers()),t}hasFeatureAtPixel(t,i){if(!this.frameState_||!this.renderer_)return!1;const s=this.getCoordinateFromPixelInternal(t);i=i!==void 0?i:{};const n=i.layerFilter!==void 0?i.layerFilter:vs,r=i.hitTolerance!==void 0?i.hitTolerance:0,a=i.checkWrapped!==!1;return this.renderer_.hasFeatureAtCoordinate(s,this.frameState_,r,a,n,null)}getEventCoordinate(t){return this.getCoordinateFromPixel(this.getEventPixel(t))}getEventCoordinateInternal(t){return this.getCoordinateFromPixelInternal(this.getEventPixel(t))}getEventPixel(t){const s=this.viewport_.getBoundingClientRect(),n=this.getSize(),r=s.width/n[0],a=s.height/n[1],o="changedTouches"in t?t.changedTouches[0]:t;return[(o.clientX-s.left)/r,(o.clientY-s.top)/a]}getTarget(){return this.get(st.TARGET)}getTargetElement(){return this.targetElement_}getCoordinateFromPixel(t){return Mn(this.getCoordinateFromPixelInternal(t),this.getView().getProjection())}getCoordinateFromPixelInternal(t){const i=this.frameState_;return i?Et(i.pixelToCoordinateTransform,t.slice()):null}getControls(){return this.controls}getOverlays(){return this.overlays_}getOverlayById(t){const i=this.overlayIdIndex_[t.toString()];return i!==void 0?i:null}getInteractions(){return this.interactions}getLayerGroup(){return this.get(st.LAYERGROUP)}setLayers(t){const i=this.getLayerGroup();if(t instanceof Zt){i.setLayers(t);return}const s=i.getLayers();s.clear(),s.extend(t)}getLayers(){return this.getLayerGroup().getLayers()}getLoadingOrNotReady(){const t=this.getLayerGroup().getLayerStatesArray();for(let i=0,s=t.length;i=0;r--){const a=n[r];if(a.getMap()!==this||!a.getActive()||!this.getTargetElement())continue;if(!a.handleEvent(t)||t.propagationStopped)break}}}handlePostRender(){const t=this.frameState_,i=this.tileQueue_;if(!i.isEmpty()){let n=this.maxTilesLoading_,r=n;if(t){const a=t.viewHints;if(a[pt.ANIMATING]||a[pt.INTERACTING]){const o=Date.now()-t.time>8;n=o?0:8,r=o?0:2}}i.getTilesLoading(){this.postRenderTimeoutHandle_=void 0,this.handlePostRender()},0))}setLayerGroup(t){const i=this.getLayerGroup();i&&this.handleLayerRemove_(new te("removelayer",i)),this.set(st.LAYERGROUP,t)}setSize(t){this.set(st.SIZE,t)}setTarget(t){this.set(st.TARGET,t)}setView(t){if(!t||t instanceof Ct){this.set(st.VIEW,t);return}this.set(st.VIEW,new Ct);const i=this;t.then(function(s){i.setView(new Ct(s))})}updateSize(){const t=this.getTargetElement();let i;if(t){const n=getComputedStyle(t),r=t.offsetWidth-parseFloat(n.borderLeftWidth)-parseFloat(n.paddingLeft)-parseFloat(n.paddingRight)-parseFloat(n.borderRightWidth),a=t.offsetHeight-parseFloat(n.borderTopWidth)-parseFloat(n.paddingTop)-parseFloat(n.paddingBottom)-parseFloat(n.borderBottomWidth);!isNaN(r)&&!isNaN(a)&&(i=[r,a],!Kr(i)&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)&&La("No map visible because the map container's width or height are 0."))}const s=this.getSize();i&&(!s||!Gs(i,s))&&(this.setSize(i),this.updateViewportSize_())}updateViewportSize_(){const t=this.getView();if(t){let i;const s=getComputedStyle(this.viewport_);s.width&&s.height&&(i=[parseInt(s.width,10),parseInt(s.height,10)]),t.setViewportSize(i)}}};function B_(e){let t=null;e.keyboardEventTarget!==void 0&&(t=typeof e.keyboardEventTarget=="string"?document.getElementById(e.keyboardEventTarget):e.keyboardEventTarget);const i={},s=e.layers&&typeof e.layers.getLayers=="function"?e.layers:new Ys({layers:e.layers});i[st.LAYERGROUP]=s,i[st.TARGET]=e.target,i[st.VIEW]=e.view instanceof Ct?e.view:new Ct;let n;e.controls!==void 0&&(Array.isArray(e.controls)?n=new Zt(e.controls.slice()):(j(typeof e.controls.getArray=="function","Expected `controls` to be an array or an `ol/Collection.js`"),n=e.controls));let r;e.interactions!==void 0&&(Array.isArray(e.interactions)?r=new Zt(e.interactions.slice()):(j(typeof e.interactions.getArray=="function","Expected `interactions` to be an array or an `ol/Collection.js`"),r=e.interactions));let a;return e.overlays!==void 0?Array.isArray(e.overlays)?a=new Zt(e.overlays.slice()):(j(typeof e.overlays.getArray=="function","Expected `overlays` to be an array or an `ol/Collection.js`"),a=e.overlays):a=new Zt,{controls:n,interactions:r,keyboardEventTarget:t,overlays:a,values:i}}const V_=Z_;let us;const W_=new Uint8Array(16);function Y_(){if(!us&&(us=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!us))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return us(W_)}const tt=[];for(let e=0;e<256;++e)tt.push((e+256).toString(16).slice(1));function H_(e,t=0){return(tt[e[t+0]]+tt[e[t+1]]+tt[e[t+2]]+tt[e[t+3]]+"-"+tt[e[t+4]]+tt[e[t+5]]+"-"+tt[e[t+6]]+tt[e[t+7]]+"-"+tt[e[t+8]]+tt[e[t+9]]+"-"+tt[e[t+10]]+tt[e[t+11]]+tt[e[t+12]]+tt[e[t+13]]+tt[e[t+14]]+tt[e[t+15]]).toLowerCase()}const Q_=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),ya={randomUUID:Q_};function J_(e,t,i){if(ya.randomUUID&&!t&&!e)return ya.randomUUID();e=e||{};const s=e.random||(e.rng||Y_)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,t){i=i||0;for(let n=0;n<16;++n)t[i+n]=s[n];return t}return H_(s)}const va=fi("map:LayerModel");var Li,Oi,ee,Ni,xe,ie,Di,Ce,Re,ri,Fi,$t,Me;class tm extends Pn{constructor(i,s){super();A(this,$t);A(this,Li,void 0);A(this,Oi,void 0);A(this,ee,void 0);A(this,Ni,void 0);A(this,xe,void 0);A(this,ie,void 0);A(this,Di,!1);A(this,Ce,void 0);A(this,Re,void 0);A(this,ri,void 0);A(this,Fi,void 0);L(this,Li,s.id),L(this,Oi,i),L(this,ee,s.layer),L(this,Ni,s.isBaseLayer),L(this,xe,s.attributes),L(this,ie,s.visible),L(this,Ce,s.title),L(this,Re,s.description);const{initial:n,resource:r}=em(x(this,ee),a=>{L(this,ri,a),rt(this,$t,Me).call(this,"changed:loadState")});L(this,ri,n),L(this,Fi,r)}get id(){return x(this,Li)}get map(){return x(this,Oi)}get olLayer(){return x(this,ee)}get isBaseLayer(){return x(this,Ni)}get attributes(){return x(this,xe)}get title(){return x(this,Ce)}get description(){return x(this,Re)}get visible(){return x(this,ie)}get loadState(){return x(this,ri)}destroy(){if(!x(this,Di)){L(this,Di,!0);try{this.emit("destroy")}catch(i){va.warn("Unexpected error from event listener during layer model destruction:",i)}x(this,Fi)?.destroy(),this.olLayer.dispose()}}setTitle(i){i!==x(this,Ce)&&(L(this,Ce,i),rt(this,$t,Me).call(this,"changed:title"))}setDescription(i){i!==x(this,Re)&&(L(this,Re,i),rt(this,$t,Me).call(this,"changed:description"))}setVisible(i){if(this.isBaseLayer){va.warn(`Cannot change visibility of base layer '${this.id}': use activateBaseLayer() on the map's LayerCollection instead.`);return}this.__setVisible(i)}__setVisible(i){let s=!1;x(this,ie)!==i&&(L(this,ie,i),s=!0),x(this,ee).getVisible()!=x(this,ie)&&x(this,ee).setVisible(i),s&&rt(this,$t,Me).call(this,"changed:visible")}updateAttributes(i){const s=x(this,xe),n=Reflect.ownKeys(i);let r=!1;for(const a of n){const o=s[a],h=i[a];o!==h&&(s[a]=h,r=!0)}r&&rt(this,$t,Me).call(this,"changed:attributes")}deleteAttribute(i){const s=x(this,xe),n=i;let r=!1;s[n]&&(delete s[n],r=!0),r&&rt(this,$t,Me).call(this,"changed:attributes")}}Li=new WeakMap,Oi=new WeakMap,ee=new WeakMap,Ni=new WeakMap,xe=new WeakMap,ie=new WeakMap,Di=new WeakMap,Ce=new WeakMap,Re=new WeakMap,ri=new WeakMap,Fi=new WeakMap,$t=new WeakSet,Me=function(i){this.emit(i),this.emit("changed")};function em(e,t){if(!(e instanceof Ks))return{initial:"loaded",resource:{destroy(){}}};let i=e?.getSource(),s=Ma(i?.getState());const n=()=>{const o=Ma(i?.getState());s!==o&&(s=o,t(s))};let r;r=i?.on("change",()=>{n()});const a=e.on("change:source",()=>{r&&He(r),r=void 0,i=e?.getSource(),r=i?.on("change",()=>{n()}),n()});return{initial:s,resource:{destroy(){r&&He(r),He(a)}}}}function Ma(e){switch(e){case void 0:return"loaded";case"undefined":return"not-loaded";case"loading":return"loading";case"ready":return"loaded";case"error":return"error"}}const Ht=fi("map:LayerCollection"),im=0,sm=1;var se,mt,ne,yt,As,Ls,$o,Os,qo,ai,ys;class nm extends Pn{constructor(i){super();A(this,Ls);A(this,Os);A(this,ai);A(this,se,void 0);A(this,mt,new Map);A(this,ne,void 0);A(this,yt,void 0);A(this,As,sm);L(this,se,i)}get map(){return x(this,se)}destroy(){for(const i of x(this,mt).values())i.destroy();x(this,mt).clear(),L(this,ne,void 0),L(this,yt,void 0)}createLayer(i){Ht.debug("Creating layer",i);const s=new tm(x(this,se),{id:rt(this,Os,qo).call(this,i.id),layer:i.layer,attributes:i.attributes??{},title:i.title??"",description:i.description??"",visible:i.visible??!0,isBaseLayer:i.isBaseLayer??!1});try{return rt(this,Ls,$o).call(this,s),Ht.debug("Created layer model",s),s}catch(n){throw s.destroy(),n}}getBaseLayers(){return this.getAllLayers().filter(i=>i.isBaseLayer)}getActiveBaseLayer(){return x(this,yt)}activateBaseLayer(i){let s;if(i!=null){if(s=x(this,mt).get(i),!s)return Ht.warn(`Cannot activate base layer '${i}': layer is unknown.`),!1;if(!s.isBaseLayer)return Ht.warn(`Cannot activate base layer '${i}': layer is not a base layer.`),!1}return s!==x(this,yt)&&(rt(this,ai,ys).call(this,s),this.emit("changed")),!0}getOperationalLayers(){return this.getAllLayers().filter(i=>!i.isBaseLayer)}getLayerById(i){return x(this,mt).get(i)}getAllLayers(){return Array.from(x(this,mt).values())}removeLayerById(i){const s=x(this,mt).get(i);if(!s){Ht.isDebug()&&Ht.debug(`Cannot remove layer '${i}': layer is unknown.`);return}x(this,se).olMap.removeLayer(s.olLayer),x(this,mt).delete(i),x(this,ne)?.delete(s.olLayer),x(this,yt)===s&&rt(this,ai,ys).call(this,this.getBaseLayers()[0]),s.destroy(),this.emit("changed")}getLayerByRawInstance(i){return x(this,ne)?.get(i)}}se=new WeakMap,mt=new WeakMap,ne=new WeakMap,yt=new WeakMap,As=new WeakMap,Ls=new WeakSet,$o=function(i){const s=i.id,n=i.olLayer;if(x(this,mt).has(s))throw new Error(`Layer with id '${s}' is already registered.`);if(x(this,ne)?.has(n))throw new Error("OlLayer has already been used in this or another LayerModel.");i.isBaseLayer?(n.setZIndex(im),!x(this,yt)&&i.visible?rt(this,ai,ys).call(this,i):i.__setVisible(!1)):(n.setZIndex(_r(this,As)._++),i.__setVisible(i.visible)),x(this,se).olMap.addLayer(n),x(this,mt).set(s,i),(x(this,ne)??L(this,ne,new WeakMap)).set(n,i),this.emit("changed")},Os=new WeakSet,qo=function(i){if(i!=null){if(x(this,mt).has(i))throw new Error(`Layer id '${i}' is not unique. Either assign a unique id or skip the id property to generate an automatic id.`);return i}return J_()},ai=new WeakSet,ys=function(i){if(x(this,yt)!==i){if(Ht.isDebug()){const s=n=>n?`'${n.id}'`:void 0;Ht.debug(`Switching active base layer from ${s(x(this,yt))} to ${s(i)}`)}x(this,yt)?.__setVisible(!1),L(this,yt,i),x(this,yt)?.__setVisible(!0)}};const je=fi("map:MapModel");var Gi,qt,zi,oi,hi,re,Te,ki,ae,Xt,Ns,Xo,Ds,Ko;class rm extends Pn{constructor(i){super();A(this,Ns);A(this,Ds);A(this,Gi,void 0);A(this,qt,void 0);A(this,zi,new nm(this));A(this,oi,!1);A(this,hi,void 0);A(this,re,void 0);A(this,Te,void 0);A(this,ki,new AbortController);A(this,ae,void 0);A(this,Xt,void 0);L(this,Gi,i.id),L(this,qt,i.olMap),L(this,re,i.initialExtent),L(this,ae,"waiting"),rt(this,Ns,Xo).call(this).then(()=>{L(this,ae,"ready"),x(this,Xt)?.resolve(),L(this,Xt,void 0)},s=>{yr(s)||je.error("Failed to initialize map",s),L(this,ae,"error"),x(this,Xt)?.reject(new Error("Failed to initialize map.")),L(this,Xt,void 0)}),L(this,Te,x(this,qt).on("change:target",()=>{rt(this,Ds,Ko).call(this)}))}destroy(){if(!x(this,oi)){L(this,oi,!0);try{this.emit("destroy")}catch(i){je.warn("Unexpected error from event listener during map model destruction:",i)}x(this,Te)&&He(x(this,Te)),L(this,Te,void 0),x(this,ki).abort(),x(this,Xt)?.reject(new Error("Map model was destroyed.")),x(this,zi).destroy(),x(this,qt).dispose()}}get id(){return x(this,Gi)}get olMap(){return x(this,qt)}get layers(){return x(this,zi)}get container(){return x(this,hi)}get initialExtent(){return x(this,re)}whenDisplayed(){return x(this,oi)?Promise.reject(new Error("Map model was destroyed.")):x(this,ae)==="error"?Promise.reject(new Error("Failed to initialize map.")):x(this,ae)==="ready"?Promise.resolve():(x(this,Xt)??L(this,Xt,eh())).promise}}Gi=new WeakMap,qt=new WeakMap,zi=new WeakMap,oi=new WeakMap,hi=new WeakMap,re=new WeakMap,Te=new WeakMap,ki=new WeakMap,ae=new WeakMap,Xt=new WeakMap,Ns=new WeakSet,Xo=async function(){try{await am(this.olMap,x(this,ki).signal)}catch(i){throw yr(i)?i:new Error("Failed to wait for the map to be displayed.",{cause:i})}try{const s=x(this,qt).getView();if(x(this,re)){const n=x(this,re),r=[n.xMin,n.yMin,n.xMax,n.yMax],a=we(r),o=s.getResolutionForExtent(r);je.debug("Applying initial extent",n),je.debug(" Computed center:",a),je.debug(" Computed resolution:",o),s.setCenter(a),s.setResolution(o)}else{const n=s.calculateExtent(),[r=0,a=0,o=0,h=0]=n,l={xMin:r,yMin:a,xMax:o,yMax:h};je.debug("Detected initial extent",l),L(this,re,l),this.emit("changed:initialExtent"),this.emit("changed")}}catch(i){throw new Error("Failed to apply the initial extent.",{cause:i})}},Ds=new WeakSet,Ko=function(){const i=x(this,qt).getTargetElement()??void 0;x(this,hi)!==i&&(L(this,hi,i),this.emit("changed:container"),this.emit("changed"))};function am(e,t){return new Promise((s,n)=>{let r;function a(){const l=e.getSize()??[],[c=0,u=0]=l;l&&c>0&&u>0&&h()}function o(){h(vr())}function h(l){r&&(He(r),r=void 0),t.removeEventListener("abort",o),l?n(l):s(om(25))}if(t.aborted){h(vr());return}t.addEventListener("abort",o),r=e.on("change:size",a)})}function om(e){return new Promise(t=>setTimeout(t,e))}const un=fi("map:createMapModel");async function hm(e,t){return await new lm(e,t).createMapModel()}class lm{mapId;mapConfig;constructor(t,i){this.mapId=t,this.mapConfig=i}async createMapModel(){const t=this.mapId,i=this.mapConfig,{view:s,...n}=i.advanced??{},r={...n};r.controls||(r.controls=[new Do({collapsible:!1})]);const a=await s??{};this.initializeViewOptions(a),r.view=a instanceof Ct?a:new Ct(a),!r.layers&&!i.layers&&(r.layers=[new Mc({source:new Kc})]);const o=i.initialView,h=o?.kind==="extent"?o.extent:void 0;un.debug("Constructing open layers map with options",r);const l=new V_(r);({}).VITEST&&(l.updateSize=()=>{const g=l.getTargetElement()?[500,500]:void 0,_=l.getSize();g&&(!_||!Es(g,_))&&(l.setSize(g),l.updateViewportSize_())});const c=new rm({id:t,olMap:l,initialExtent:h});try{if(i.layers)for(const u of i.layers)c.layers.createLayer(u);return c}catch(u){throw c.destroy(),u}}initializeViewOptions(t){const i=this.mapId,s=this.mapConfig;if(t instanceof Ct){const a=o=>{un.warn(`The advanced configuration for map id '${i}' has provided a fully constructed view instance: ${o} cannot be applied. +northing meters`+e;var d=u/2,f=0,g=0,_,m,v,y,p;return d>0&&(_=1e5/Math.pow(10,d),m=e.substring(r,r+d),f=parseFloat(m)*_,v=e.substring(r+d),g=parseFloat(v)*_),y=f+l,p=g+c,{easting:y,northing:p,zoneLetter:o,zoneNumber:a,accuracy:_}}function yd(e,t){for(var i=Mo.charCodeAt(t-1),s=1e5,n=!1;i!==e.charCodeAt(0);){if(i++,i===ut&&i++,i===Mt&&i++,i>Ei){if(n)throw"Bad character: "+e;i=We,n=!0}s+=1e5}return s}function vd(e,t){if(e>"V")throw"MGRSPoint given invalid Northing "+e;for(var i=po.charCodeAt(t-1),s=0,n=!1;i!==e.charCodeAt(0);){if(i++,i===ut&&i++,i===Mt&&i++,i>pi){if(n)throw"Bad character: "+e;i=We,n=!0}s+=1e5}return s}function Md(e){var t;switch(e){case"C":t=11e5;break;case"D":t=2e6;break;case"E":t=28e5;break;case"F":t=37e5;break;case"G":t=46e5;break;case"H":t=55e5;break;case"J":t=64e5;break;case"K":t=73e5;break;case"L":t=82e5;break;case"M":t=91e5;break;case"N":t=0;break;case"P":t=8e5;break;case"Q":t=17e5;break;case"R":t=26e5;break;case"S":t=35e5;break;case"T":t=44e5;break;case"U":t=53e5;break;case"V":t=62e5;break;case"W":t=7e6;break;case"X":t=79e5;break;default:t=-1}if(t>=0)return t;throw"Invalid zone letter: "+e}function ui(e,t,i){if(!(this instanceof ui))return new ui(e,t,i);if(Array.isArray(e))this.x=e[0],this.y=e[1],this.z=e[2]||0;else if(typeof e=="object")this.x=e.x,this.y=e.y,this.z=e.z||0;else if(typeof e=="string"&&typeof t>"u"){var s=e.split(",");this.x=parseFloat(s[0],10),this.y=parseFloat(s[1],10),this.z=parseFloat(s[2],10)||0}else this.x=e,this.y=t,this.z=i||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}ui.fromMGRS=function(e){return new ui(xo(e))};ui.prototype.toMGRS=function(e){return Eo([this.x,this.y],e)};var pd=1,Ed=.25,la=.046875,ca=.01953125,ua=.01068115234375,xd=.75,Cd=.46875,Rd=.013020833333333334,Td=.007120768229166667,bd=.3645833333333333,wd=.005696614583333333,Id=.3076171875;function To(e){var t=[];t[0]=pd-e*(Ed+e*(la+e*(ca+e*ua))),t[1]=e*(xd-e*(la+e*(ca+e*ua)));var i=e*e;return t[2]=i*(Cd-e*(Rd+e*Td)),i*=e,t[3]=i*(bd-e*wd),t[4]=i*e*Id,t}function Vs(e,t,i,s){return i*=t,t*=t,s[0]*e-i*(s[1]+t*(s[2]+t*(s[3]+t*s[4])))}var Pd=20;function bo(e,t,i){for(var s=1/(1-t),n=e,r=Pd;r;--r){var a=Math.sin(n),o=1-t*a*a;if(o=(Vs(n,a,Math.cos(n),i)-e)*(o*Math.sqrt(o))*s,n-=o,Math.abs(o)R?Math.tan(i):0,_=Math.pow(g,2),m=Math.pow(_,2);n=1-this.es*Math.pow(o,2),c=c/Math.sqrt(n);var v=Vs(i,o,h,this.en);r=this.a*(this.k0*c*(1+u/6*(1-_+d+u/20*(5-18*_+m+14*d-58*_*d+u/42*(61+179*m-m*_-479*_)))))+this.x0,a=this.a*(this.k0*(v-this.ml0+o*s*c/2*(1+u/12*(5-_+9*d+4*f+u/30*(61+m-58*_+270*d-330*_*d+u/56*(1385+543*m-m*_-3111*_))))))+this.y0}else{var l=h*Math.sin(s);if(Math.abs(Math.abs(l)-1)=1){if(l-1>R)return 93;a=0}else a=Math.acos(a);i<0&&(a=-a),a=this.a*this.k0*(a-this.lat0)+this.y0}return e.x=r,e.y=a,e}function Ld(e){var t,i,s,n,r=(e.x-this.x0)*(1/this.a),a=(e.y-this.y0)*(1/this.a);if(this.es)if(t=this.ml0+a/this.k0,i=bo(t,this.es,this.en),Math.abs(i)R?Math.tan(i):0,g=this.ep2*Math.pow(d,2),_=Math.pow(g,2),m=Math.pow(f,2),v=Math.pow(m,2);t=1-this.es*Math.pow(u,2);var y=r*Math.sqrt(t)/this.k0,p=Math.pow(y,2);t=t*f,s=i-t*p/(1-this.es)*.5*(1-p/12*(5+3*m-9*g*m+g-4*_-p/30*(61+90*m-252*g*m+45*v+46*g-p/56*(1385+3633*m+4095*v+1574*v*m)))),n=T(this.long0+y*(1-p/6*(1+2*m+g-p/20*(5+28*m+24*v+8*g*m+6*g-p/42*(61+662*m+1320*v+720*v*m))))/d)}else s=E*Zi(a),n=0;else{var o=Math.exp(r/this.k0),h=.5*(o-1/o),l=this.lat0+a/this.k0,c=Math.cos(l);t=Math.sqrt((1-Math.pow(c,2))/(1+Math.pow(h,2))),s=Math.asin(t),a<0&&(s=-s),h===0&&c===0?n=0:n=T(Math.atan2(h,c)+this.long0)}return e.x=n,e.y=s,e}var Od=["Fast_Transverse_Mercator","Fast Transverse Mercator"];const _s={init:Sd,forward:Ad,inverse:Ld,names:Od};function wo(e){var t=Math.exp(e);return t=(t-1/t)/2,t}function bt(e,t){e=Math.abs(e),t=Math.abs(t);var i=Math.max(e,t),s=Math.min(e,t)/(i||1);return i*Math.sqrt(1+Math.pow(s,2))}function Nd(e){var t=1+e,i=t-1;return i===0?e:e*Math.log(t)/i}function Dd(e){var t=Math.abs(e);return t=Nd(t*(1+t/(bt(1,t)+1))),e<0?-t:t}function Jn(e,t){for(var i=2*Math.cos(2*t),s=e.length-1,n=e[s],r=0,a;--s>=0;)a=-r+i*n+e[s],r=n,n=a;return t+a*Math.sin(2*t)}function Fd(e,t){for(var i=2*Math.cos(t),s=e.length-1,n=e[s],r=0,a;--s>=0;)a=-r+i*n+e[s],r=n,n=a;return Math.sin(t)*a}function Gd(e){var t=Math.exp(e);return t=(t+1/t)/2,t}function Io(e,t,i){for(var s=Math.sin(t),n=Math.cos(t),r=wo(i),a=Gd(i),o=2*n*a,h=-2*s*r,l=e.length-1,c=e[l],u=0,d=0,f=0,g,_;--l>=0;)g=d,_=u,d=c,u=f,c=-g+o*d-h*u+e[l],f=-_+h*d+o*u;return o=s*a,h=n*r,[o*c-h*f,o*f+h*c]}function zd(){if(!this.approx&&(isNaN(this.es)||this.es<=0))throw new Error('Incorrect elliptical usage. Try using the +approx option in the proj string, or PROJECTION["Fast_Transverse_Mercator"] in the WKT.');this.approx&&(_s.init.apply(this),this.forward=_s.forward,this.inverse=_s.inverse),this.x0=this.x0!==void 0?this.x0:0,this.y0=this.y0!==void 0?this.y0:0,this.long0=this.long0!==void 0?this.long0:0,this.lat0=this.lat0!==void 0?this.lat0:0,this.cgb=[],this.cbg=[],this.utg=[],this.gtu=[];var e=this.es/(1+Math.sqrt(1-this.es)),t=e/(2-e),i=t;this.cgb[0]=t*(2+t*(-2/3+t*(-2+t*(116/45+t*(26/45+t*(-2854/675)))))),this.cbg[0]=t*(-2+t*(2/3+t*(4/3+t*(-82/45+t*(32/45+t*(4642/4725)))))),i=i*t,this.cgb[1]=i*(7/3+t*(-8/5+t*(-227/45+t*(2704/315+t*(2323/945))))),this.cbg[1]=i*(5/3+t*(-16/15+t*(-13/9+t*(904/315+t*(-1522/945))))),i=i*t,this.cgb[2]=i*(56/15+t*(-136/35+t*(-1262/105+t*(73814/2835)))),this.cbg[2]=i*(-26/15+t*(34/21+t*(8/5+t*(-12686/2835)))),i=i*t,this.cgb[3]=i*(4279/630+t*(-332/35+t*(-399572/14175))),this.cbg[3]=i*(1237/630+t*(-12/5+t*(-24832/14175))),i=i*t,this.cgb[4]=i*(4174/315+t*(-144838/6237)),this.cbg[4]=i*(-734/315+t*(109598/31185)),i=i*t,this.cgb[5]=i*(601676/22275),this.cbg[5]=i*(444337/155925),i=Math.pow(t,2),this.Qn=this.k0/(1+t)*(1+i*(1/4+i*(1/64+i/256))),this.utg[0]=t*(-.5+t*(2/3+t*(-37/96+t*(1/360+t*(81/512+t*(-96199/604800)))))),this.gtu[0]=t*(.5+t*(-2/3+t*(5/16+t*(41/180+t*(-127/288+t*(7891/37800)))))),this.utg[1]=i*(-1/48+t*(-1/15+t*(437/1440+t*(-46/105+t*(1118711/3870720))))),this.gtu[1]=i*(13/48+t*(-3/5+t*(557/1440+t*(281/630+t*(-1983433/1935360))))),i=i*t,this.utg[2]=i*(-17/480+t*(37/840+t*(209/4480+t*(-5569/90720)))),this.gtu[2]=i*(61/240+t*(-103/140+t*(15061/26880+t*(167603/181440)))),i=i*t,this.utg[3]=i*(-4397/161280+t*(11/504+t*(830251/7257600))),this.gtu[3]=i*(49561/161280+t*(-179/168+t*(6601661/7257600))),i=i*t,this.utg[4]=i*(-4583/161280+t*(108847/3991680)),this.gtu[4]=i*(34729/80640+t*(-3418889/1995840)),i=i*t,this.utg[5]=i*(-20648693/638668800),this.gtu[5]=i*(212378941/319334400);var s=Jn(this.cbg,this.lat0);this.Zb=-this.Qn*(s+Fd(this.gtu,2*s))}function kd(e){var t=T(e.x-this.long0),i=e.y;i=Jn(this.cbg,i);var s=Math.sin(i),n=Math.cos(i),r=Math.sin(t),a=Math.cos(t);i=Math.atan2(s,a*n),t=Math.atan2(r*n,bt(s,n*a)),t=Dd(Math.tan(t));var o=Io(this.gtu,2*i,2*t);i=i+o[0],t=t+o[1];var h,l;return Math.abs(t)<=2.623395162778?(h=this.a*(this.Qn*t)+this.x0,l=this.a*(this.Qn*i+this.Zb)+this.y0):(h=1/0,l=1/0),e.x=h,e.y=l,e}function jd(e){var t=(e.x-this.x0)*(1/this.a),i=(e.y-this.y0)*(1/this.a);i=(i-this.Zb)/this.Qn,t=t/this.Qn;var s,n;if(Math.abs(t)<=2.623395162778){var r=Io(this.utg,2*i,2*t);i=i+r[0],t=t+r[1],t=Math.atan(wo(t));var a=Math.sin(i),o=Math.cos(i),h=Math.sin(t),l=Math.cos(t);i=Math.atan2(a*l,bt(h,l*o)),t=Math.atan2(h,l*o),s=T(t+this.long0),n=Jn(this.cgb,i)}else s=1/0,n=1/0;return e.x=s,e.y=n,e}var Ud=["Extended_Transverse_Mercator","Extended Transverse Mercator","etmerc","Transverse_Mercator","Transverse Mercator","tmerc"];const ms={init:zd,forward:kd,inverse:jd,names:Ud};function $d(e,t){if(e===void 0){if(e=Math.floor((T(t)+Math.PI)*30/Math.PI)+1,e<0)return 0;if(e>60)return 60}return e}var qd="etmerc";function Xd(){var e=$d(this.zone,this.long0);if(e===void 0)throw new Error("unknown utm zone");this.lat0=0,this.long0=(6*Math.abs(e)-183)*et,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,ms.init.apply(this),this.forward=ms.forward,this.inverse=ms.inverse}var Kd=["Universal Transverse Mercator System","utm"];const Zd={init:Xd,names:Kd,dependsOn:qd};function tr(e,t){return Math.pow((1-e)/(1+e),t)}var Bd=20;function Vd(){var e=Math.sin(this.lat0),t=Math.cos(this.lat0);t*=t,this.rc=Math.sqrt(1-this.es)/(1-this.es*e*e),this.C=Math.sqrt(1+this.es*t*t/(1-this.es)),this.phic0=Math.asin(e/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+N)/(Math.pow(Math.tan(.5*this.lat0+N),this.C)*tr(this.e*e,this.ratexp))}function Wd(e){var t=e.x,i=e.y;return e.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*i+N),this.C)*tr(this.e*Math.sin(i),this.ratexp))-E,e.x=this.C*t,e}function Yd(e){for(var t=1e-14,i=e.x/this.C,s=e.y,n=Math.pow(Math.tan(.5*s+N)/this.K,1/this.C),r=Bd;r>0&&(s=2*Math.atan(n*tr(this.e*Math.sin(e.y),-.5*this.e))-E,!(Math.abs(s-e.y)0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),this.k0===1&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=R&&(this.k0=.5*this.cons*Ft(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/wt(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=Ft(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-E,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))}function af(e){var t=e.x,i=e.y,s=Math.sin(i),n=Math.cos(i),r,a,o,h,l,c,u=T(t-this.long0);return Math.abs(Math.abs(t-this.long0)-Math.PI)<=R&&Math.abs(i+this.lat0)<=R?(e.x=NaN,e.y=NaN,e):this.sphere?(r=2*this.k0/(1+this.sinlat0*s+this.coslat0*n*Math.cos(u)),e.x=this.a*r*n*Math.sin(u)+this.x0,e.y=this.a*r*(this.coslat0*s-this.sinlat0*n*Math.cos(u))+this.y0,e):(a=2*Math.atan(this.ssfn_(i,s,this.e))-E,h=Math.cos(a),o=Math.sin(a),Math.abs(this.coslat0)<=R?(l=wt(this.e,i*this.con,this.con*s),c=2*this.a*this.k0*l/this.cons,e.x=this.x0+c*Math.sin(t-this.long0),e.y=this.y0-this.con*c*Math.cos(t-this.long0),e):(Math.abs(this.sinlat0)0?t=T(this.long0+Math.atan2(e.x,-1*e.y)):t=T(this.long0+Math.atan2(e.x,e.y)):t=T(this.long0+Math.atan2(e.x*Math.sin(o),a*this.coslat0*Math.cos(o)-e.y*this.sinlat0*Math.sin(o))),e.x=t,e.y=i,e)}else if(Math.abs(this.coslat0)<=R){if(a<=R)return i=this.lat0,t=this.long0,e.x=t,e.y=i,e;e.x*=this.con,e.y*=this.con,s=a*this.cons/(2*this.a*this.k0),i=this.con*Ai(this.e,s),t=this.con*T(this.con*this.long0+Math.atan2(e.x,-1*e.y))}else n=2*Math.atan(a*this.cosX0/(2*this.a*this.k0*this.ms1)),t=this.long0,a<=R?r=this.X0:(r=Math.asin(Math.cos(n)*this.sinX0+e.y*Math.sin(n)*this.cosX0/a),t=T(this.long0+Math.atan2(e.x*Math.sin(n),a*this.cosX0*Math.cos(n)-e.y*this.sinX0*Math.sin(n)))),i=-1*Ai(this.e,Math.tan(.5*(E+r)));return e.x=t,e.y=i,e}var hf=["stere","Stereographic_South_Pole","Polar Stereographic (variant B)"];const lf={init:rf,forward:af,inverse:of,names:hf,ssfn_:nf};function cf(){var e=this.lat0;this.lambda0=this.long0;var t=Math.sin(e),i=this.a,s=this.rf,n=1/s,r=2*n-Math.pow(n,2),a=this.e=Math.sqrt(r);this.R=this.k0*i*Math.sqrt(1-r)/(1-r*Math.pow(t,2)),this.alpha=Math.sqrt(1+r/(1-r)*Math.pow(Math.cos(e),4)),this.b0=Math.asin(t/this.alpha);var o=Math.log(Math.tan(Math.PI/4+this.b0/2)),h=Math.log(Math.tan(Math.PI/4+e/2)),l=Math.log((1+a*t)/(1-a*t));this.K=o-this.alpha*h+this.alpha*a/2*l}function uf(e){var t=Math.log(Math.tan(Math.PI/4-e.y/2)),i=this.e/2*Math.log((1+this.e*Math.sin(e.y))/(1-this.e*Math.sin(e.y))),s=-this.alpha*(t+i)+this.K,n=2*(Math.atan(Math.exp(s))-Math.PI/4),r=this.alpha*(e.x-this.lambda0),a=Math.atan(Math.sin(r)/(Math.sin(this.b0)*Math.tan(n)+Math.cos(this.b0)*Math.cos(r))),o=Math.asin(Math.cos(this.b0)*Math.sin(n)-Math.sin(this.b0)*Math.cos(n)*Math.cos(r));return e.y=this.R/2*Math.log((1+Math.sin(o))/(1-Math.sin(o)))+this.y0,e.x=this.R*a+this.x0,e}function df(e){for(var t=e.x-this.x0,i=e.y-this.y0,s=t/this.R,n=2*(Math.atan(Math.exp(i/this.R))-Math.PI/4),r=Math.asin(Math.cos(this.b0)*Math.sin(n)+Math.sin(this.b0)*Math.cos(n)*Math.cos(s)),a=Math.atan(Math.sin(s)/(Math.cos(this.b0)*Math.cos(s)-Math.sin(this.b0)*Math.tan(n))),o=this.lambda0+a/this.alpha,h=0,l=r,c=-1e3,u=0;Math.abs(l-c)>1e-7;){if(++u>20)return;h=1/this.alpha*(Math.log(Math.tan(Math.PI/4+r/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(l))/2)),c=l,l=2*Math.atan(Math.exp(h))-Math.PI/2}return e.x=o,e.y=l,e}var ff=["somerc"];const gf={init:cf,forward:uf,inverse:df,names:ff};var qe=1e-7;function _f(e){var t=["Hotine_Oblique_Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin"],i=typeof e.PROJECTION=="object"?Object.keys(e.PROJECTION)[0]:e.PROJECTION;return"no_uoff"in e||"no_off"in e||t.indexOf(i)!==-1}function mf(){var e,t,i,s,n,r,a,o,h,l,c=0,u,d=0,f=0,g=0,_=0,m=0,v=0;this.no_off=_f(this),this.no_rot="no_rot"in this;var y=!1;"alpha"in this&&(y=!0);var p=!1;if("rectified_grid_angle"in this&&(p=!0),y&&(v=this.alpha),p&&(c=this.rectified_grid_angle*et),y||p)d=this.longc;else if(f=this.long1,_=this.lat1,g=this.long2,m=this.lat2,Math.abs(_-m)<=qe||(e=Math.abs(_))<=qe||Math.abs(e-E)<=qe||Math.abs(Math.abs(this.lat0)-E)<=qe||Math.abs(Math.abs(m)-E)<=qe)throw new Error;var M=1-this.es;t=Math.sqrt(M),Math.abs(this.lat0)>R?(o=Math.sin(this.lat0),i=Math.cos(this.lat0),e=1-this.es*o*o,this.B=i*i,this.B=Math.sqrt(1+this.es*this.B*this.B/M),this.A=this.B*this.k0*t/e,s=this.B*t/(i*Math.sqrt(e)),n=s*s-1,n<=0?n=0:(n=Math.sqrt(n),this.lat0<0&&(n=-n)),this.E=n+=s,this.E*=Math.pow(wt(this.e,this.lat0,o),this.B)):(this.B=1/t,this.A=this.k0,this.E=s=n=1),y||p?(y?(u=Math.asin(Math.sin(v)/s),p||(c=v)):(u=c,v=Math.asin(s*Math.sin(u))),this.lam0=d-Math.asin(.5*(n-1/n)*Math.tan(u))/this.B):(r=Math.pow(wt(this.e,_,Math.sin(_)),this.B),a=Math.pow(wt(this.e,m,Math.sin(m)),this.B),n=this.E/r,h=(a-r)/(a+r),l=this.E*this.E,l=(l-a*r)/(l+a*r),e=f-g,e<-Math.pi?g-=Pi:e>Math.pi&&(g+=Pi),this.lam0=T(.5*(f+g)-Math.atan(l*Math.tan(.5*this.B*(f-g))/h)/this.B),u=Math.atan(2*Math.sin(this.B*T(f-this.lam0))/(n-1/n)),c=v=Math.asin(s*Math.sin(u))),this.singam=Math.sin(u),this.cosgam=Math.cos(u),this.sinrot=Math.sin(c),this.cosrot=Math.cos(c),this.rB=1/this.B,this.ArB=this.A*this.rB,this.BrA=1/this.ArB,this.A*this.B,this.no_off?this.u_0=0:(this.u_0=Math.abs(this.ArB*Math.atan(Math.sqrt(s*s-1)/Math.cos(v))),this.lat0<0&&(this.u_0=-this.u_0)),n=.5*u,this.v_pole_n=this.ArB*Math.log(Math.tan(N-n)),this.v_pole_s=this.ArB*Math.log(Math.tan(N+n))}function yf(e){var t={},i,s,n,r,a,o,h,l;if(e.x=e.x-this.lam0,Math.abs(Math.abs(e.y)-E)>R){if(a=this.E/Math.pow(wt(this.e,e.y,Math.sin(e.y)),this.B),o=1/a,i=.5*(a-o),s=.5*(a+o),r=Math.sin(this.B*e.x),n=(i*this.singam-r*this.cosgam)/s,Math.abs(Math.abs(n)-1)0?this.v_pole_n:this.v_pole_s,h=this.ArB*e.y;return this.no_rot?(t.x=h,t.y=l):(h-=this.u_0,t.x=l*this.cosrot+h*this.sinrot,t.y=h*this.cosrot-l*this.sinrot),t.x=this.a*t.x+this.x0,t.y=this.a*t.y+this.y0,t}function vf(e){var t,i,s,n,r,a,o,h={};if(e.x=(e.x-this.x0)*(1/this.a),e.y=(e.y-this.y0)*(1/this.a),this.no_rot?(i=e.y,t=e.x):(i=e.x*this.cosrot-e.y*this.sinrot,t=e.y*this.cosrot+e.x*this.sinrot+this.u_0),s=Math.exp(-this.BrA*i),n=.5*(s-1/s),r=.5*(s+1/s),a=Math.sin(this.BrA*t),o=(a*this.cosgam+n*this.singam)/r,Math.abs(Math.abs(o)-1)R?this.ns=Math.log(s/o)/Math.log(n/h):this.ns=t,isNaN(this.ns)&&(this.ns=t),this.f0=s/(this.ns*Math.pow(n,this.ns)),this.rh=this.a*this.f0*Math.pow(l,this.ns),this.title||(this.title="Lambert Conformal Conic")}}function xf(e){var t=e.x,i=e.y;Math.abs(2*Math.abs(i)-Math.PI)<=R&&(i=Zi(i)*(E-2*R));var s=Math.abs(Math.abs(i)-E),n,r;if(s>R)n=wt(this.e,i,Math.sin(i)),r=this.a*this.f0*Math.pow(n,this.ns);else{if(s=i*this.ns,s<=0)return null;r=0}var a=this.ns*T(t-this.long0);return e.x=this.k0*(r*Math.sin(a))+this.x0,e.y=this.k0*(this.rh-r*Math.cos(a))+this.y0,e}function Cf(e){var t,i,s,n,r,a=(e.x-this.x0)/this.k0,o=this.rh-(e.y-this.y0)/this.k0;this.ns>0?(t=Math.sqrt(a*a+o*o),i=1):(t=-Math.sqrt(a*a+o*o),i=-1);var h=0;if(t!==0&&(h=Math.atan2(i*a,i*o)),t!==0||this.ns>0){if(i=1/this.ns,s=Math.pow(t/(this.a*this.f0),i),n=Ai(this.e,s),n===-9999)return null}else n=-E;return r=T(h/this.ns+this.long0),e.x=r,e.y=n,e}var Rf=["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_1SP","Lambert_Conformal_Conic_2SP","lcc","Lambert Conic Conformal (1SP)","Lambert Conic Conformal (2SP)"];const Tf={init:Ef,forward:xf,inverse:Cf,names:Rf};function bf(){this.a=6377397155e-3,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.7417649320975901-.308341501185665),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq}function wf(e){var t,i,s,n,r,a,o,h=e.x,l=e.y,c=T(h-this.long0);return t=Math.pow((1+this.e*Math.sin(l))/(1-this.e*Math.sin(l)),this.alfa*this.e/2),i=2*(Math.atan(this.k*Math.pow(Math.tan(l/2+this.s45),this.alfa)/t)-this.s45),s=-c*this.alfa,n=Math.asin(Math.cos(this.ad)*Math.sin(i)+Math.sin(this.ad)*Math.cos(i)*Math.cos(s)),r=Math.asin(Math.cos(i)*Math.sin(s)/Math.cos(n)),a=this.n*r,o=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(n/2+this.s45),this.n),e.y=o*Math.cos(a)/1,e.x=o*Math.sin(a)/1,this.czech||(e.y*=-1,e.x*=-1),e}function If(e){var t,i,s,n,r,a,o,h,l=e.x;e.x=e.y,e.y=l,this.czech||(e.y*=-1,e.x*=-1),a=Math.sqrt(e.x*e.x+e.y*e.y),r=Math.atan2(e.y,e.x),n=r/Math.sin(this.s0),s=2*(Math.atan(Math.pow(this.ro0/a,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),t=Math.asin(Math.cos(this.ad)*Math.sin(s)-Math.sin(this.ad)*Math.cos(s)*Math.cos(n)),i=Math.asin(Math.cos(s)*Math.sin(n)/Math.cos(t)),e.x=this.long0-i/this.alfa,o=t,h=0;var c=0;do e.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(t/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(o))/(1-this.e*Math.sin(o)),this.e/2))-this.s45),Math.abs(o-e.y)<1e-10&&(h=1),o=e.y,c+=1;while(h===0&&c<15);return c>=15?null:e}var Pf=["Krovak","krovak"];const Sf={init:bf,forward:wf,inverse:If,names:Pf};function ot(e,t,i,s,n){return e*n-t*Math.sin(2*n)+i*Math.sin(4*n)-s*Math.sin(6*n)}function Bi(e){return 1-.25*e*(1+e/16*(3+1.25*e))}function Vi(e){return .375*e*(1+.25*e*(1+.46875*e))}function Wi(e){return .05859375*e*e*(1+.75*e)}function Yi(e){return e*e*e*(35/3072)}function di(e,t,i){var s=t*i;return e/Math.sqrt(1-s*s)}function _i(e){return Math.abs(e)1e-7?(i=e*t,(1-e*e)*(t/(1-i*i)-.5/e*Math.log((1-i)/(1+i)))):2*t}var Ff=1,Gf=2,zf=3,kf=4;function jf(){var e=Math.abs(this.lat0);if(Math.abs(e-E)0){var t;switch(this.qp=ue(this.e,1),this.mmf=.5/(1-this.es),this.apa=Wf(this.es),this.mode){case this.N_POLE:this.dd=1;break;case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),t=Math.sin(this.lat0),this.sinb1=ue(this.e,t)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*t*t)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd;break}}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))}function Uf(e){var t,i,s,n,r,a,o,h,l,c,u=e.x,d=e.y;if(u=T(u-this.long0),this.sphere){if(r=Math.sin(d),c=Math.cos(d),s=Math.cos(u),this.mode===this.OBLIQ||this.mode===this.EQUIT){if(i=this.mode===this.EQUIT?1+c*s:1+this.sinph0*r+this.cosph0*c*s,i<=R)return null;i=Math.sqrt(2/i),t=i*c*Math.sin(u),i*=this.mode===this.EQUIT?r:this.cosph0*r-this.sinph0*c*s}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(s=-s),Math.abs(d+this.lat0)=0?(t=(l=Math.sqrt(a))*n,i=s*(this.mode===this.S_POLE?l:-l)):t=i=0;break}}return e.x=this.a*t+this.x0,e.y=this.a*i+this.y0,e}function $f(e){e.x-=this.x0,e.y-=this.y0;var t=e.x/this.a,i=e.y/this.a,s,n,r,a,o,h,l;if(this.sphere){var c=0,u,d=0;if(u=Math.sqrt(t*t+i*i),n=u*.5,n>1)return null;switch(n=2*Math.asin(n),(this.mode===this.OBLIQ||this.mode===this.EQUIT)&&(d=Math.sin(n),c=Math.cos(n)),this.mode){case this.EQUIT:n=Math.abs(u)<=R?0:Math.asin(i*d/u),t*=d,i=c*u;break;case this.OBLIQ:n=Math.abs(u)<=R?this.lat0:Math.asin(c*this.sinph0+i*d*this.cosph0/u),t*=d*this.cosph0,i=(c-Math.sin(n)*this.sinph0)*u;break;case this.N_POLE:i=-i,n=E-n;break;case this.S_POLE:n-=E;break}s=i===0&&(this.mode===this.EQUIT||this.mode===this.OBLIQ)?0:Math.atan2(t,i)}else{if(l=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(t/=this.dd,i*=this.dd,h=Math.sqrt(t*t+i*i),h1&&(e=e>1?1:-1),Math.asin(e)}function Jf(){Math.abs(this.lat1+this.lat2)R?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)}function t0(e){var t=e.x,i=e.y;this.sin_phi=Math.sin(i),this.cos_phi=Math.cos(i);var s=ue(this.e3,this.sin_phi),n=this.a*Math.sqrt(this.c-this.ns0*s)/this.ns0,r=this.ns0*T(t-this.long0),a=n*Math.sin(r)+this.x0,o=this.rh-n*Math.cos(r)+this.y0;return e.x=a,e.y=o,e}function e0(e){var t,i,s,n,r,a;return e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns0>=0?(t=Math.sqrt(e.x*e.x+e.y*e.y),s=1):(t=-Math.sqrt(e.x*e.x+e.y*e.y),s=-1),n=0,t!==0&&(n=Math.atan2(s*e.x,s*e.y)),s=t*this.ns0/this.a,this.sphere?a=Math.asin((this.c-s*s)/(2*this.ns0)):(i=(this.c-s*s)/this.ns0,a=this.phi1z(this.e3,i)),r=T(n/this.ns0+this.long0),e.x=r,e.y=a,e}function i0(e,t){var i,s,n,r,a,o=ge(.5*t);if(e0||Math.abs(a)<=R?(o=this.x0+this.a*r*i*Math.sin(s)/a,h=this.y0+this.a*r*(this.cos_p14*t-this.sin_p14*i*n)/a):(o=this.x0+this.infinity_dist*i*Math.sin(s),h=this.y0+this.infinity_dist*(this.cos_p14*t-this.sin_p14*i*n)),e.x=o,e.y=h,e}function o0(e){var t,i,s,n,r,a;return e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,(t=Math.sqrt(e.x*e.x+e.y*e.y))?(n=Math.atan2(t,this.rc),i=Math.sin(n),s=Math.cos(n),a=ge(s*this.sin_p14+e.y*i*this.cos_p14/t),r=Math.atan2(e.x*i,t*this.cos_p14*s-e.y*this.sin_p14*i),r=T(this.long0+r)):(a=this.phic0,r=0),e.x=r,e.y=a,e}var h0=["gnom"];const l0={init:r0,forward:a0,inverse:o0,names:h0};function c0(e,t){var i=1-(1-e*e)/(2*e)*Math.log((1-e)/(1+e));if(Math.abs(Math.abs(t)-i)<1e-6)return t<0?-1*E:E;for(var s=Math.asin(.5*t),n,r,a,o,h=0;h<30;h++)if(r=Math.sin(s),a=Math.cos(s),o=e*r,n=Math.pow(1-o*o,2)/(2*a)*(t/(1-e*e)-r/(1-o*o)+.5/e*Math.log((1-o)/(1+o))),s+=n,Math.abs(n)<=1e-10)return s;return NaN}function u0(){this.sphere||(this.k0=Ft(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))}function d0(e){var t=e.x,i=e.y,s,n,r=T(t-this.long0);if(this.sphere)s=this.x0+this.a*r*Math.cos(this.lat_ts),n=this.y0+this.a*Math.sin(i)/Math.cos(this.lat_ts);else{var a=ue(this.e,Math.sin(i));s=this.x0+this.a*this.k0*r,n=this.y0+this.a*a*.5/this.k0}return e.x=s,e.y=n,e}function f0(e){e.x-=this.x0,e.y-=this.y0;var t,i;return this.sphere?(t=T(this.long0+e.x/this.a/Math.cos(this.lat_ts)),i=Math.asin(e.y/this.a*Math.cos(this.lat_ts))):(i=c0(this.e,2*e.y*this.k0/this.a),t=T(this.long0+e.x/(this.a*this.k0))),e.x=t,e.y=i,e}var g0=["cea"];const _0={init:u0,forward:d0,inverse:f0,names:g0};function m0(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Equidistant Cylindrical (Plate Carre)",this.rc=Math.cos(this.lat_ts)}function y0(e){var t=e.x,i=e.y,s=T(t-this.long0),n=_i(i-this.lat0);return e.x=this.x0+this.a*s*this.rc,e.y=this.y0+this.a*n,e}function v0(e){var t=e.x,i=e.y;return e.x=T(this.long0+(t-this.x0)/(this.a*this.rc)),e.y=_i(this.lat0+(i-this.y0)/this.a),e}var M0=["Equirectangular","Equidistant_Cylindrical","eqc"];const p0={init:m0,forward:y0,inverse:v0,names:M0};var da=20;function E0(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=Bi(this.es),this.e1=Vi(this.es),this.e2=Wi(this.es),this.e3=Yi(this.es),this.ml0=this.a*ot(this.e0,this.e1,this.e2,this.e3,this.lat0)}function x0(e){var t=e.x,i=e.y,s,n,r,a=T(t-this.long0);if(r=a*Math.sin(i),this.sphere)Math.abs(i)<=R?(s=this.a*a,n=-1*this.a*this.lat0):(s=this.a*Math.sin(r)/Math.tan(i),n=this.a*(_i(i-this.lat0)+(1-Math.cos(r))/Math.tan(i)));else if(Math.abs(i)<=R)s=this.a*a,n=-1*this.ml0;else{var o=di(this.a,this.e,Math.sin(i))/Math.tan(i);s=o*Math.sin(r),n=this.a*ot(this.e0,this.e1,this.e2,this.e3,i)-this.ml0+o*(1-Math.cos(r))}return e.x=s+this.x0,e.y=n+this.y0,e}function C0(e){var t,i,s,n,r,a,o,h,l;if(s=e.x-this.x0,n=e.y-this.y0,this.sphere)if(Math.abs(n+this.a*this.lat0)<=R)t=T(s/this.a+this.long0),i=0;else{a=this.lat0+n/this.a,o=s*s/this.a/this.a+a*a,h=a;var c;for(r=da;r;--r)if(c=Math.tan(h),l=-1*(a*(h*c+1)-h-.5*(h*h+o)*c)/((h-a)/c-1),h+=l,Math.abs(l)<=R){i=h;break}t=T(this.long0+Math.asin(s*Math.tan(h)/this.a)/Math.sin(i))}else if(Math.abs(n+this.ml0)<=R)i=0,t=T(this.long0+s/this.a);else{a=(this.ml0+n)/this.a,o=s*s/this.a/this.a+a*a,h=a;var u,d,f,g,_;for(r=da;r;--r)if(_=this.e*Math.sin(h),u=Math.sqrt(1-_*_)*Math.tan(h),d=this.a*ot(this.e0,this.e1,this.e2,this.e3,h),f=this.e0-2*this.e1*Math.cos(2*h)+4*this.e2*Math.cos(4*h)-6*this.e3*Math.cos(6*h),g=d/this.a,l=(a*(u*g+1)-g-.5*u*(g*g+o))/(this.es*Math.sin(2*h)*(g*g+o-2*a*g)/(4*u)+(a-g)*(u*f-2/Math.sin(2*h))-f),h-=l,Math.abs(l)<=R){i=h;break}u=Math.sqrt(1-this.es*Math.pow(Math.sin(i),2))*Math.tan(i),t=T(this.long0+Math.asin(s*u/this.a)/Math.sin(i))}return e.x=t,e.y=i,e}var R0=["Polyconic","poly"];const T0={init:E0,forward:x0,inverse:C0,names:R0};function b0(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013}function w0(e){var t,i=e.x,s=e.y,n=s-this.lat0,r=i-this.long0,a=n/Ri*1e-5,o=r,h=1,l=0;for(t=1;t<=10;t++)h=h*a,l=l+this.A[t]*h;var c=l,u=o,d=1,f=0,g,_,m=0,v=0;for(t=1;t<=6;t++)g=d*c-f*u,_=f*c+d*u,d=g,f=_,m=m+this.B_re[t]*d-this.B_im[t]*f,v=v+this.B_im[t]*d+this.B_re[t]*f;return e.x=v*this.a+this.x0,e.y=m*this.a+this.y0,e}function I0(e){var t,i=e.x,s=e.y,n=i-this.x0,r=s-this.y0,a=r/this.a,o=n/this.a,h=1,l=0,c,u,d=0,f=0;for(t=1;t<=6;t++)c=h*a-l*o,u=l*a+h*o,h=c,l=u,d=d+this.C_re[t]*h-this.C_im[t]*l,f=f+this.C_im[t]*h+this.C_re[t]*l;for(var g=0;g.999999999999&&(i=.999999999999),t=Math.asin(i);var s=T(this.long0+e.x/(.900316316158*this.a*Math.cos(t)));s<-Math.PI&&(s=-Math.PI),s>Math.PI&&(s=Math.PI),i=(2*t+Math.sin(2*t))/Math.PI,Math.abs(i)>1&&(i=1);var n=Math.asin(i);return e.x=s,e.y=n,e}var K0=["Mollweide","moll"];const Z0={init:$0,forward:q0,inverse:X0,names:K0};function B0(){Math.abs(this.lat1+this.lat2)=0?(i=Math.sqrt(e.x*e.x+e.y*e.y),t=1):(i=-Math.sqrt(e.x*e.x+e.y*e.y),t=-1);var r=0;if(i!==0&&(r=Math.atan2(t*e.x,t*e.y)),this.sphere)return n=T(this.long0+r/this.ns),s=_i(this.g-i/this.a),e.x=n,e.y=s,e;var a=this.g-i/this.a;return s=Is(a,this.e0,this.e1,this.e2,this.e3),n=T(this.long0+r/this.ns),e.x=n,e.y=s,e}var Y0=["Equidistant_Conic","eqdc"];const H0={init:B0,forward:V0,inverse:W0,names:Y0};function Q0(){this.R=this.a}function J0(e){var t=e.x,i=e.y,s=T(t-this.long0),n,r;Math.abs(i)<=R&&(n=this.x0+this.R*s,r=this.y0);var a=ge(2*Math.abs(i/Math.PI));(Math.abs(s)<=R||Math.abs(Math.abs(i)-E)<=R)&&(n=this.x0,i>=0?r=this.y0+Math.PI*this.R*Math.tan(.5*a):r=this.y0+Math.PI*this.R*-Math.tan(.5*a));var o=.5*Math.abs(Math.PI/s-s/Math.PI),h=o*o,l=Math.sin(a),c=Math.cos(a),u=c/(l+c-1),d=u*u,f=u*(2/l-1),g=f*f,_=Math.PI*this.R*(o*(u-g)+Math.sqrt(h*(u-g)*(u-g)-(g+h)*(d-g)))/(g+h);s<0&&(_=-_),n=this.x0+_;var m=h+u;return _=Math.PI*this.R*(f*m-o*Math.sqrt((g+h)*(h+1)-m*m))/(g+h),i>=0?r=this.y0+_:r=this.y0-_,e.x=n,e.y=r,e}function tg(e){var t,i,s,n,r,a,o,h,l,c,u,d,f;return e.x-=this.x0,e.y-=this.y0,u=Math.PI*this.R,s=e.x/u,n=e.y/u,r=s*s+n*n,a=-Math.abs(n)*(1+r),o=a-2*n*n+s*s,h=-2*a+1+2*n*n+r*r,f=n*n/h+(2*o*o*o/h/h/h-9*a*o/h/h)/27,l=(a-o*o/3/h)/h,c=2*Math.sqrt(-l/3),u=3*f/l/c,Math.abs(u)>1&&(u>=0?u=1:u=-1),d=Math.acos(u)/3,e.y>=0?i=(-c*Math.cos(d+Math.PI/3)-o/3/h)*Math.PI:i=-(-c*Math.cos(d+Math.PI/3)-o/3/h)*Math.PI,Math.abs(s)2*E*this.a?void 0:(i=t/this.a,s=Math.sin(i),n=Math.cos(i),r=this.long0,Math.abs(t)<=R?a=this.lat0:(a=ge(n*this.sin_p12+e.y*s*this.cos_p12/t),o=Math.abs(this.lat0)-E,Math.abs(o)<=R?this.lat0>=0?r=T(this.long0+Math.atan2(e.x,-e.y)):r=T(this.long0-Math.atan2(-e.x,e.y)):r=T(this.long0+Math.atan2(e.x*s,t*this.cos_p12*n-e.y*this.sin_p12*s))),e.x=r,e.y=a,e)):(h=Bi(this.es),l=Vi(this.es),c=Wi(this.es),u=Yi(this.es),Math.abs(this.sin_p12-1)<=R?(d=this.a*ot(h,l,c,u,E),t=Math.sqrt(e.x*e.x+e.y*e.y),f=d-t,a=Is(f/this.a,h,l,c,u),r=T(this.long0+Math.atan2(e.x,-1*e.y)),e.x=r,e.y=a,e):Math.abs(this.sin_p12+1)<=R?(d=this.a*ot(h,l,c,u,E),t=Math.sqrt(e.x*e.x+e.y*e.y),f=t-d,a=Is(f/this.a,h,l,c,u),r=T(this.long0+Math.atan2(e.x,e.y)),e.x=r,e.y=a,e):(t=Math.sqrt(e.x*e.x+e.y*e.y),m=Math.atan2(e.x,e.y),g=di(this.a,this.e,this.sin_p12),v=Math.cos(m),y=this.e*this.cos_p12*v,p=-y*y/(1-this.es),M=3*this.es*(1-p)*this.sin_p12*this.cos_p12*v/(1-this.es),C=t/g,b=C-p*(1+p)*Math.pow(C,3)/6-M*(1+3*p)*Math.pow(C,4)/24,I=1-p*b*b/2-C*b*b*b/6,_=Math.asin(this.sin_p12*Math.cos(b)+this.cos_p12*Math.sin(b)*v),r=T(this.long0+Math.asin(Math.sin(m)*Math.sin(b)/Math.cos(_))),P=Math.sin(_),a=Math.atan2((P-this.es*I*this.sin_p12)*Math.tan(_),P*(1-this.es)),e.x=r,e.y=a,e))}var ag=["Azimuthal_Equidistant","aeqd"];const og={init:sg,forward:ng,inverse:rg,names:ag};function hg(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0)}function lg(e){var t,i,s,n,r,a,o,h,l=e.x,c=e.y;return s=T(l-this.long0),t=Math.sin(c),i=Math.cos(c),n=Math.cos(s),a=this.sin_p14*t+this.cos_p14*i*n,r=1,(a>0||Math.abs(a)<=R)&&(o=this.a*r*i*Math.sin(s),h=this.y0+this.a*r*(this.cos_p14*t-this.sin_p14*i*n)),e.x=o,e.y=h,e}function cg(e){var t,i,s,n,r,a,o;return e.x-=this.x0,e.y-=this.y0,t=Math.sqrt(e.x*e.x+e.y*e.y),i=ge(t/this.a),s=Math.sin(i),n=Math.cos(i),a=this.long0,Math.abs(t)<=R?(o=this.lat0,e.x=a,e.y=o,e):(o=ge(n*this.sin_p14+e.y*s*this.cos_p14/t),r=Math.abs(this.lat0)-E,Math.abs(r)<=R?(this.lat0>=0?a=T(this.long0+Math.atan2(e.x,-e.y)):a=T(this.long0-Math.atan2(-e.x,e.y)),e.x=a,e.y=o,e):(a=T(this.long0+Math.atan2(e.x*s,t*this.cos_p14*n-e.y*this.sin_p14*s)),e.x=a,e.y=o,e))}var ug=["ortho"];const dg={init:hg,forward:lg,inverse:cg,names:ug};var $={FRONT:1,RIGHT:2,BACK:3,LEFT:4,TOP:5,BOTTOM:6},D={AREA_0:1,AREA_1:2,AREA_2:3,AREA_3:4};function fg(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Quadrilateralized Spherical Cube",this.lat0>=E-N/2?this.face=$.TOP:this.lat0<=-(E-N/2)?this.face=$.BOTTOM:Math.abs(this.long0)<=N?this.face=$.FRONT:Math.abs(this.long0)<=E+N?this.face=this.long0>0?$.RIGHT:$.LEFT:this.face=$.BACK,this.es!==0&&(this.one_minus_f=1-(this.a-this.b)/this.a,this.one_minus_f_squared=this.one_minus_f*this.one_minus_f)}function gg(e){var t={x:0,y:0},i,s,n,r,a,o,h={value:0};if(e.x-=this.long0,this.es!==0?i=Math.atan(this.one_minus_f_squared*Math.tan(e.y)):i=e.y,s=e.x,this.face===$.TOP)r=E-i,s>=N&&s<=E+N?(h.value=D.AREA_0,n=s-E):s>E+N||s<=-(E+N)?(h.value=D.AREA_1,n=s>0?s-Z:s+Z):s>-(E+N)&&s<=-N?(h.value=D.AREA_2,n=s+E):(h.value=D.AREA_3,n=s);else if(this.face===$.BOTTOM)r=E+i,s>=N&&s<=E+N?(h.value=D.AREA_0,n=-s+E):s=-N?(h.value=D.AREA_1,n=-s):s<-N&&s>=-(E+N)?(h.value=D.AREA_2,n=-s-E):(h.value=D.AREA_3,n=s>0?-s+Z:-s-Z);else{var l,c,u,d,f,g,_;this.face===$.RIGHT?s=ni(s,+E):this.face===$.BACK?s=ni(s,+Z):this.face===$.LEFT&&(s=ni(s,-E)),d=Math.sin(i),f=Math.cos(i),g=Math.sin(s),_=Math.cos(s),l=f*_,c=f*g,u=d,this.face===$.FRONT?(r=Math.acos(l),n=os(r,u,c,h)):this.face===$.RIGHT?(r=Math.acos(c),n=os(r,u,-l,h)):this.face===$.BACK?(r=Math.acos(-l),n=os(r,u,-c,h)):this.face===$.LEFT?(r=Math.acos(-c),n=os(r,u,l,h)):(r=n=0,h.value=D.AREA_0)}return o=Math.atan(12/Z*(n+Math.acos(Math.sin(n)*Math.cos(N))-E)),a=Math.sqrt((1-Math.cos(r))/(Math.cos(o)*Math.cos(o))/(1-Math.cos(Math.atan(1/Math.cos(n))))),h.value===D.AREA_1?o+=E:h.value===D.AREA_2?o+=Z:h.value===D.AREA_3&&(o+=1.5*Z),t.x=a*Math.cos(o),t.y=a*Math.sin(o),t.x=t.x*this.a+this.x0,t.y=t.y*this.a+this.y0,e.x=t.x,e.y=t.y,e}function _g(e){var t={lam:0,phi:0},i,s,n,r,a,o,h,l,c,u={value:0};if(e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,s=Math.atan(Math.sqrt(e.x*e.x+e.y*e.y)),i=Math.atan2(e.y,e.x),e.x>=0&&e.x>=Math.abs(e.y)?u.value=D.AREA_0:e.y>=0&&e.y>=Math.abs(e.x)?(u.value=D.AREA_1,i-=E):e.x<0&&-e.x>=Math.abs(e.y)?(u.value=D.AREA_2,i=i<0?i+Z:i-Z):(u.value=D.AREA_3,i+=E),c=Z/12*Math.tan(i),a=Math.sin(c)/(Math.cos(c)-1/Math.sqrt(2)),o=Math.atan(a),n=Math.cos(i),r=Math.tan(s),h=1-n*n*r*r*(1-Math.cos(Math.atan(1/Math.cos(o)))),h<-1?h=-1:h>1&&(h=1),this.face===$.TOP)l=Math.acos(h),t.phi=E-l,u.value===D.AREA_0?t.lam=o+E:u.value===D.AREA_1?t.lam=o<0?o+Z:o-Z:u.value===D.AREA_2?t.lam=o-E:t.lam=o;else if(this.face===$.BOTTOM)l=Math.acos(h),t.phi=l-E,u.value===D.AREA_0?t.lam=-o+E:u.value===D.AREA_1?t.lam=-o:u.value===D.AREA_2?t.lam=-o-E:t.lam=o<0?-o-Z:-o+Z;else{var d,f,g;d=h,c=d*d,c>=1?g=0:g=Math.sqrt(1-c)*Math.sin(o),c+=g*g,c>=1?f=0:f=Math.sqrt(1-c),u.value===D.AREA_1?(c=f,f=-g,g=c):u.value===D.AREA_2?(f=-f,g=-g):u.value===D.AREA_3&&(c=f,f=g,g=-c),this.face===$.RIGHT?(c=d,d=-f,f=c):this.face===$.BACK?(d=-d,f=-f):this.face===$.LEFT&&(c=d,d=f,f=-c),t.phi=Math.acos(-g)-E,t.lam=Math.atan2(f,d),this.face===$.RIGHT?t.lam=ni(t.lam,-E):this.face===$.BACK?t.lam=ni(t.lam,-Z):this.face===$.LEFT&&(t.lam=ni(t.lam,+E))}if(this.es!==0){var _,m,v;_=t.phi<0?1:0,m=Math.tan(t.phi),v=this.b/Math.sqrt(m*m+this.one_minus_f_squared),t.phi=Math.atan(Math.sqrt(this.a*this.a-v*v)/(this.one_minus_f*v)),_&&(t.phi=-t.phi)}return t.lam+=this.long0,e.x=t.lam,e.y=t.phi,e}function os(e,t,i,s){var n;return eN&&n<=E+N?(s.value=D.AREA_1,n-=E):n>E+N||n<=-(E+N)?(s.value=D.AREA_2,n=n>=0?n-Z:n+Z):(s.value=D.AREA_3,n+=E)),n}function ni(e,t){var i=e+t;return i<-Z?i+=Pi:i>+Z&&(i-=Pi),i}var mg=["Quadrilateralized Spherical Cube","Quadrilateralized_Spherical_Cube","qsc"];const yg={init:fg,forward:gg,inverse:_g,names:mg};var bn=[[1,22199e-21,-715515e-10,31103e-10],[.9986,-482243e-9,-24897e-9,-13309e-10],[.9954,-83103e-8,-448605e-10,-986701e-12],[.99,-.00135364,-59661e-9,36777e-10],[.9822,-.00167442,-449547e-11,-572411e-11],[.973,-.00214868,-903571e-10,18736e-12],[.96,-.00305085,-900761e-10,164917e-11],[.9427,-.00382792,-653386e-10,-26154e-10],[.9216,-.00467746,-10457e-8,481243e-11],[.8962,-.00536223,-323831e-10,-543432e-11],[.8679,-.00609363,-113898e-9,332484e-11],[.835,-.00698325,-640253e-10,934959e-12],[.7986,-.00755338,-500009e-10,935324e-12],[.7597,-.00798324,-35971e-9,-227626e-11],[.7186,-.00851367,-701149e-10,-86303e-10],[.6732,-.00986209,-199569e-9,191974e-10],[.6213,-.010418,883923e-10,624051e-11],[.5722,-.00906601,182e-6,624051e-11],[.5322,-.00677797,275608e-9,624051e-11]],xi=[[-520417e-23,.0124,121431e-23,-845284e-16],[.062,.0124,-126793e-14,422642e-15],[.124,.0124,507171e-14,-160604e-14],[.186,.0123999,-190189e-13,600152e-14],[.248,.0124002,710039e-13,-224e-10],[.31,.0123992,-264997e-12,835986e-13],[.372,.0124029,988983e-12,-311994e-12],[.434,.0123893,-369093e-11,-435621e-12],[.4958,.0123198,-102252e-10,-345523e-12],[.5571,.0121916,-154081e-10,-582288e-12],[.6176,.0119938,-241424e-10,-525327e-12],[.6769,.011713,-320223e-10,-516405e-12],[.7346,.0113541,-397684e-10,-609052e-12],[.7903,.0109107,-489042e-10,-104739e-11],[.8435,.0103431,-64615e-9,-140374e-14],[.8936,.00969686,-64636e-9,-8547e-9],[.9394,.00840947,-192841e-9,-42106e-10],[.9761,.00616527,-256e-6,-42106e-10],[1,.00328947,-319159e-9,-42106e-10]],Po=.8487,So=1.3523,Ao=Ot/5,vg=1/Ao,Ye=18,Ps=function(e,t){return e[0]+t*(e[1]+t*(e[2]+t*e[3]))},Mg=function(e,t){return e[1]+t*(2*e[2]+t*3*e[3])};function pg(e,t,i,s){for(var n=t;s;--s){var r=e(n);if(n-=r,Math.abs(r)=Ye&&(s=Ye-1),i=Ot*(i-vg*s);var n={x:Ps(bn[s],i)*t,y:Ps(xi[s],i)};return e.y<0&&(n.y=-n.y),n.x=n.x*this.a*Po+this.x0,n.y=n.y*this.a*So+this.y0,n}function Cg(e){var t={x:(e.x-this.x0)/(this.a*Po),y:Math.abs(e.y-this.y0)/(this.a*So)};if(t.y>=1)t.x/=bn[Ye][0],t.y=e.y<0?-E:E;else{var i=Math.floor(t.y*Ye);for(i<0?i=0:i>=Ye&&(i=Ye-1);;)if(xi[i][0]>t.y)--i;else if(xi[i+1][0]<=t.y)++i;else break;var s=xi[i],n=5*(t.y-s[0])/(xi[i+1][0]-s[0]);n=pg(function(r){return(Ps(s,r)-t.y)/Mg(s,r)},n,R,100),t.x/=Ps(bn[i],n),t.y=(5*i+n)*et,e.y<0&&(t.y=-t.y)}return t.x=T(t.x+this.long0),t}var Rg=["Robinson","robin"];const Tg={init:Eg,forward:xg,inverse:Cg,names:Rg};function bg(){this.name="geocent"}function wg(e){var t=mo(e,this.es,this.a);return t}function Ig(e){var t=yo(e,this.es,this.a,this.b);return t}var Pg=["Geocentric","geocentric","geocent","Geocent"];const Sg={init:bg,forward:wg,inverse:Ig,names:Pg};var nt={N_POLE:0,S_POLE:1,EQUIT:2,OBLIQ:3},Mi={h:{def:1e5,num:!0},azi:{def:0,num:!0,degrees:!0},tilt:{def:0,num:!0,degrees:!0},long0:{def:0,num:!0},lat0:{def:0,num:!0}};function Ag(){if(Object.keys(Mi).forEach((function(i){if(typeof this[i]>"u")this[i]=Mi[i].def;else{if(Mi[i].num&&isNaN(this[i]))throw new Error("Invalid parameter value, must be numeric "+i+" = "+this[i]);Mi[i].num&&(this[i]=parseFloat(this[i]))}Mi[i].degrees&&(this[i]=this[i]*et)}).bind(this)),Math.abs(Math.abs(this.lat0)-E)1e10)throw new Error("Invalid height");this.p=1+this.pn1,this.rp=1/this.p,this.h1=1/this.pn1,this.pfact=(this.p+1)*this.h1,this.es=0;var e=this.tilt,t=this.azi;this.cg=Math.cos(t),this.sg=Math.sin(t),this.cw=Math.cos(e),this.sw=Math.sin(e)}function Lg(e){e.x-=this.long0;var t=Math.sin(e.y),i=Math.cos(e.y),s=Math.cos(e.x),n,r;switch(this.mode){case nt.OBLIQ:r=this.sinph0*t+this.cosph0*i*s;break;case nt.EQUIT:r=i*s;break;case nt.S_POLE:r=-t;break;case nt.N_POLE:r=t;break}switch(r=this.pn1/(this.p-r),n=r*i*Math.sin(e.x),this.mode){case nt.OBLIQ:r*=this.cosph0*t-this.sinph0*i*s;break;case nt.EQUIT:r*=t;break;case nt.N_POLE:r*=-(i*s);break;case nt.S_POLE:r*=i*s;break}var a,o;return a=r*this.cg+n*this.sg,o=1/(a*this.sw*this.h1+this.cw),n=(n*this.cg-r*this.sg)*this.cw*o,r=a*o,e.x=n*this.a,e.y=r*this.a,e}function Og(e){e.x/=this.a,e.y/=this.a;var t={x:e.x,y:e.y},i,s,n;n=1/(this.pn1-e.y*this.sw),i=this.pn1*e.x*n,s=this.pn1*e.y*this.cw*n,e.x=i*this.cg+s*this.sg,e.y=s*this.cg-i*this.sg;var r=bt(e.x,e.y);if(Math.abs(r)1e10)throw new Error;if(this.radius_g=1+this.radius_g_1,this.C=this.radius_g*this.radius_g-1,this.es!==0){var e=1-this.es,t=1/e;this.radius_p=Math.sqrt(e),this.radius_p2=e,this.radius_p_inv2=t,this.shape="ellipse"}else this.radius_p=1,this.radius_p2=1,this.radius_p_inv2=1,this.shape="sphere";this.title||(this.title="Geostationary Satellite View")}function Gg(e){var t=e.x,i=e.y,s,n,r,a;if(t=t-this.long0,this.shape==="ellipse"){i=Math.atan(this.radius_p2*Math.tan(i));var o=this.radius_p/bt(this.radius_p*Math.cos(i),Math.sin(i));if(n=o*Math.cos(t)*Math.cos(i),r=o*Math.sin(t)*Math.cos(i),a=o*Math.sin(i),(this.radius_g-n)*n-r*r-a*a*this.radius_p_inv2<0)return e.x=Number.NaN,e.y=Number.NaN,e;s=this.radius_g-n,this.flip_axis?(e.x=this.radius_g_1*Math.atan(r/bt(a,s)),e.y=this.radius_g_1*Math.atan(a/s)):(e.x=this.radius_g_1*Math.atan(r/s),e.y=this.radius_g_1*Math.atan(a/bt(r,s)))}else this.shape==="sphere"&&(s=Math.cos(i),n=Math.cos(t)*s,r=Math.sin(t)*s,a=Math.sin(i),s=this.radius_g-n,this.flip_axis?(e.x=this.radius_g_1*Math.atan(r/bt(a,s)),e.y=this.radius_g_1*Math.atan(a/s)):(e.x=this.radius_g_1*Math.atan(r/s),e.y=this.radius_g_1*Math.atan(a/bt(r,s))));return e.x=e.x*this.a,e.y=e.y*this.a,e}function zg(e){var t=-1,i=0,s=0,n,r,a,o;if(e.x=e.x/this.a,e.y=e.y/this.a,this.shape==="ellipse"){this.flip_axis?(s=Math.tan(e.y/this.radius_g_1),i=Math.tan(e.x/this.radius_g_1)*bt(1,s)):(i=Math.tan(e.x/this.radius_g_1),s=Math.tan(e.y/this.radius_g_1)*bt(1,i));var h=s/this.radius_p;if(n=i*i+h*h+t*t,r=2*this.radius_g*t,a=r*r-4*n*this.C,a<0)return e.x=Number.NaN,e.y=Number.NaN,e;o=(-r-Math.sqrt(a))/(2*n),t=this.radius_g+o*t,i*=o,s*=o,e.x=Math.atan2(i,t),e.y=Math.atan(s*Math.cos(e.x)/t),e.y=Math.atan(this.radius_p_inv2*Math.tan(e.y))}else if(this.shape==="sphere"){if(this.flip_axis?(s=Math.tan(e.y/this.radius_g_1),i=Math.tan(e.x/this.radius_g_1)*Math.sqrt(1+s*s)):(i=Math.tan(e.x/this.radius_g_1),s=Math.tan(e.y/this.radius_g_1)*Math.sqrt(1+i*i)),n=i*i+s*s+t*t,r=2*this.radius_g*t,a=r*r-4*n*this.C,a<0)return e.x=Number.NaN,e.y=Number.NaN,e;o=(-r-Math.sqrt(a))/(2*n),t=this.radius_g+o*t,i*=o,s*=o,e.x=Math.atan2(i,t),e.y=Math.atan(s*Math.cos(e.x)/t)}return e.x=e.x+this.long0,e}var kg=["Geostationary Satellite View","Geostationary_Satellite","geos"];const jg={init:Fg,forward:Gg,inverse:zg,names:kg};function Ug(e){e.Proj.projections.add(_s),e.Proj.projections.add(ms),e.Proj.projections.add(Zd),e.Proj.projections.add(sf),e.Proj.projections.add(lf),e.Proj.projections.add(gf),e.Proj.projections.add(pf),e.Proj.projections.add(Tf),e.Proj.projections.add(Sf),e.Proj.projections.add(Df),e.Proj.projections.add(Qf),e.Proj.projections.add(n0),e.Proj.projections.add(l0),e.Proj.projections.add(_0),e.Proj.projections.add(p0),e.Proj.projections.add(T0),e.Proj.projections.add(S0),e.Proj.projections.add(D0),e.Proj.projections.add(U0),e.Proj.projections.add(Z0),e.Proj.projections.add(H0),e.Proj.projections.add(ig),e.Proj.projections.add(og),e.Proj.projections.add(dg),e.Proj.projections.add(yg),e.Proj.projections.add(Tg),e.Proj.projections.add(Sg),e.Proj.projections.add(Dg),e.Proj.projections.add(jg)}Rt.defaultDatum="WGS84";Rt.Proj=Nt;Rt.WGS84=new Rt.Proj("WGS84");Rt.Point=ui;Rt.toPoint=vo;Rt.defs=at;Rt.nadgrid=Vu;Rt.transform=ws;Rt.mgrs=cd;Rt.version="__VERSION__";Ug(Rt);const xt={ADD:"add",REMOVE:"remove"},fa={LENGTH:"length"};class hs extends _e{constructor(t,i,s){super(t),this.element=i,this.index=s}}class $g extends Bt{constructor(t,i){if(super(),this.on,this.once,this.un,i=i||{},this.unique_=!!i.unique,this.array_=t||[],this.unique_)for(let s=0,n=this.array_.length;s0;)this.pop()}extend(t){for(let i=0,s=t.length;ithis.getLength())throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(i),this.array_.splice(t,0,i),this.updateLength_(),this.dispatchEvent(new hs(xt.ADD,i,t))}pop(){return this.removeAt(this.getLength()-1)}push(t){this.unique_&&this.assertUnique_(t);const i=this.getLength();return this.insertAt(i,t),this.getLength()}remove(t){const i=this.array_;for(let s=0,n=i.length;s=this.getLength())return;const i=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new hs(xt.REMOVE,i,t)),i}setAt(t,i){const s=this.getLength();if(t>=s){this.insertAt(t,i);return}if(t<0)throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(i,t);const n=this.array_[t];this.array_[t]=i,this.dispatchEvent(new hs(xt.REMOVE,n,t)),this.dispatchEvent(new hs(xt.ADD,i,t))}updateLength_(){this.set(fa.LENGTH,this.array_.length)}assertUnique_(t,i){for(let s=0,n=this.array_.length;sthis.maxCacheSize_}expire(){if(this.canExpireCache()){let t=0;for(const i in this.cache_){const s=this.cache_[i];!(t++&3)&&!s.hasListener()&&(delete this.cache_[i],--this.cacheSize_)}}}get(t,i,s){const n=ga(t,i,s);return n in this.cache_?this.cache_[n]:null}set(t,i,s,n){const r=ga(t,i,s);this.cache_[r]=n,++this.cacheSize_}setSize(t){this.maxCacheSize_=t,this.expire()}}function ga(e,t,i){const s=i?Zl(i):"null";return t+":"+e+":"+s}const Lo=new qg;class Xg extends Sn{constructor(t){super(),this.map_=t}dispatchRenderEvent(t,i){X()}calculateMatrices2D(t){const i=t.viewState,s=t.coordinateToPixelTransform,n=t.pixelToCoordinateTransform;wi(s,t.size[0]/2,t.size[1]/2,1/i.resolution,-1/i.resolution,-i.rotation,-i.center[0],-i.center[1]),za(n,s)}forEachFeatureAtCoordinate(t,i,s,n,r,a,o,h){let l;const c=i.viewState;function u(M,C,b,I){return r.call(a,C,M?b:null,I)}const d=c.projection,f=kh(t.slice(),d),g=[[0,0]];if(d.canWrapX()&&n){const M=d.getExtent(),C=W(M);g.push([-C,0],[C,0])}const _=i.layerStatesArray,m=_.length,v=[],y=[];for(let M=0;M=0;--C){const b=_[C],I=b.layer;if(I.hasRenderer()&&Xn(b,c)&&o.call(h,I)){const P=I.getRenderer(),z=I.getSource();if(P&&z){const U=z.getWrapX()?f:t,Q=u.bind(null,b.managed);y[0]=U[0]+g[M][0],y[1]=U[1]+g[M][1],l=P.forEachFeatureAtCoordinate(y,i,s,Q,v)}if(l)return l}}if(v.length===0)return;const p=1/v.length;return v.forEach((M,C)=>M.distanceSq+=C*p),v.sort((M,C)=>M.distanceSq-C.distanceSq),v.some(M=>l=M.callback(M.feature,M.layer,M.geometry)),l}hasFeatureAtCoordinate(t,i,s,n,r,a){return this.forEachFeatureAtCoordinate(t,i,s,n,vs,this,r,a)!==void 0}getMap(){return this.map_}renderFrame(t){X()}flushDeclutterItems(t){}scheduleExpireIconCache(t){Lo.canExpireCache()&&t.postRenderFunctions.push(Kg)}}function Kg(e,t){Lo.expire()}const Zg=Xg,ls="ol-hidden",Ws="ol-unselectable",ir="ol-control",_a="ol-collapsed",Bg=new Bt;class Vg extends Zg{constructor(t){super(t),this.fontChangeListenerKey_=G(Bg,Ti.PROPERTYCHANGE,t.redrawText.bind(t)),this.element_=document.createElement("div");const i=this.element_.style;i.position="absolute",i.width="100%",i.height="100%",i.zIndex="0",this.element_.className=Ws+" ol-layers";const s=t.getViewport();s.insertBefore(this.element_,s.firstChild||null),this.children_=[],this.renderedVisible_=!0,this.declutterLayers_=[]}dispatchRenderEvent(t,i){const s=this.getMap();if(s.hasListener(t)){const n=new Wa(t,void 0,i);s.dispatchEvent(n)}}disposeInternal(){B(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),super.disposeInternal()}renderFrame(t){if(!t){this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1);return}this.calculateMatrices2D(t),this.dispatchRenderEvent(ce.PRECOMPOSE,t);const i=t.layerStatesArray.sort(function(a,o){return a.zIndex-o.zIndex}),s=t.viewState;this.children_.length=0;const n=this.declutterLayers_;n.length=0;let r=null;for(let a=0,o=i.length;a=0;--s)i[s].renderDeclutter(t);i.length=0}}const Wg=Vg;class te extends _e{constructor(t,i){super(t),this.layer=i}}const hn={LAYERS:"layers"};class sr extends Ca{constructor(t){t=t||{};const i=Object.assign({},t);delete i.layers;let s=t.layers;super(i),this.on,this.once,this.un,this.layersListenerKeys_=[],this.listenerKeys_={},this.addChangeListener(hn.LAYERS,this.handleLayersChanged_),s?Array.isArray(s)?s=new Zt(s.slice(),{unique:!0}):j(typeof s.getArray=="function","Expected `layers` to be an array or a `Collection`"):s=new Zt(void 0,{unique:!0}),this.setLayers(s)}handleLayerChange_(){this.changed()}handleLayersChanged_(){this.layersListenerKeys_.forEach(B),this.layersListenerKeys_.length=0;const t=this.getLayers();this.layersListenerKeys_.push(G(t,xt.ADD,this.handleLayersAdd_,this),G(t,xt.REMOVE,this.handleLayersRemove_,this));for(const s in this.listenerKeys_)this.listenerKeys_[s].forEach(B);ks(this.listenerKeys_);const i=t.getArray();for(let s=0,n=i.length;s{this.clickTimeoutId_=void 0;const s=new Qt(q.SINGLECLICK,this.map_,t);this.dispatchEvent(s)},250)}updateActivePointers_(t){const i=t,s=i.pointerId;if(i.type==q.POINTERUP||i.type==q.POINTERCANCEL){delete this.trackedTouches_[s];for(const n in this.trackedTouches_)if(this.trackedTouches_[n].target!==i.target){delete this.trackedTouches_[n];break}}else(i.type==q.POINTERDOWN||i.type==q.POINTERMOVE)&&(this.trackedTouches_[s]=i);this.activePointers_=Object.values(this.trackedTouches_)}handlePointerUp_(t){this.updateActivePointers_(t);const i=new Qt(q.POINTERUP,this.map_,t,void 0,void 0,this.activePointers_);this.dispatchEvent(i),this.emulateClicks_&&!i.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(t)&&this.emulateClick_(this.down_),this.activePointers_.length===0&&(this.dragListenerKeys_.forEach(B),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)}isMouseActionButton_(t){return t.button===0}handlePointerDown_(t){this.emulateClicks_=this.activePointers_.length===0,this.updateActivePointers_(t);const i=new Qt(q.POINTERDOWN,this.map_,t,void 0,void 0,this.activePointers_);if(this.dispatchEvent(i),this.down_=new PointerEvent(t.type,t),Object.defineProperty(this.down_,"target",{writable:!1,value:t.target}),this.dragListenerKeys_.length===0){const s=this.map_.getOwnerDocument();this.dragListenerKeys_.push(G(s,q.POINTERMOVE,this.handlePointerMove_,this),G(s,q.POINTERUP,this.handlePointerUp_,this),G(this.element_,q.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==s&&this.dragListenerKeys_.push(G(this.element_.getRootNode(),q.POINTERUP,this.handlePointerUp_,this))}}handlePointerMove_(t){if(this.isMoving_(t)){this.updateActivePointers_(t),this.dragging_=!0;const i=new Qt(q.POINTERDRAG,this.map_,t,this.dragging_,void 0,this.activePointers_);this.dispatchEvent(i)}}relayMoveEvent_(t){this.originalPointerMoveEvent_=t;const i=!!(this.down_&&this.isMoving_(t));this.dispatchEvent(new Qt(q.POINTERMOVE,this.map_,t,i))}handleTouchMove_(t){const i=this.originalPointerMoveEvent_;(!i||i.defaultPrevented)&&(typeof t.cancelable!="boolean"||t.cancelable===!0)&&t.preventDefault()}isMoving_(t){return this.dragging_||Math.abs(t.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_}disposeInternal(){this.relayedListenerKey_&&(B(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(O.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(B(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(B),this.dragListenerKeys_.length=0,this.element_=null,super.disposeInternal()}}const Jg=Qg,Jt={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend",LOADSTART:"loadstart",LOADEND:"loadend"},st={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"},Ss=1/0;class t_{constructor(t,i){this.priorityFunction_=t,this.keyFunction_=i,this.elements_=[],this.priorities_=[],this.queuedElements_={}}clear(){this.elements_.length=0,this.priorities_.length=0,ks(this.queuedElements_)}dequeue(){const t=this.elements_,i=this.priorities_,s=t[0];t.length==1?(t.length=0,i.length=0):(t[0]=t.pop(),i[0]=i.pop(),this.siftUp_(0));const n=this.keyFunction_(s);return delete this.queuedElements_[n],s}enqueue(t){j(!(this.keyFunction_(t)in this.queuedElements_),"Tried to enqueue an `element` that was already added to the queue");const i=this.priorityFunction_(t);return i!=Ss?(this.elements_.push(t),this.priorities_.push(i),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0):!1}getCount(){return this.elements_.length}getLeftChildIndex_(t){return t*2+1}getRightChildIndex_(t){return t*2+2}getParentIndex_(t){return t-1>>1}heapify_(){let t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)}isEmpty(){return this.elements_.length===0}isKeyQueued(t){return t in this.queuedElements_}isQueued(t){return this.isKeyQueued(this.keyFunction_(t))}siftUp_(t){const i=this.elements_,s=this.priorities_,n=i.length,r=i[t],a=s[t],o=t;for(;t>1;){const h=this.getLeftChildIndex_(t),l=this.getRightChildIndex_(t),c=lt;){const o=this.getParentIndex_(i);if(n[o]>a)s[i]=s[o],n[i]=n[o],i=o;else break}s[i]=r,n[i]=a}reprioritize(){const t=this.priorityFunction_,i=this.elements_,s=this.priorities_;let n=0;const r=i.length;let a,o,h;for(o=0;o0;)r=this.dequeue()[0],a=r.getKey(),n=r.getState(),n===w.IDLE&&!(a in this.tilesLoadingKeys_)&&(this.tilesLoadingKeys_[a]=!0,++this.tilesLoading_,++s,r.load())}}const s_=i_;function n_(e,t,i,s,n){if(!e||!(i in e.wantedTiles)||!e.wantedTiles[i][t.getKey()])return Ss;const r=e.viewState.center,a=s[0]-r[0],o=s[1]-r[1];return 65536*Math.log(n)+Math.sqrt(a*a+o*o)/n}class r_ extends Bt{constructor(t){super();const i=t.element;i&&!t.target&&!i.style.pointerEvents&&(i.style.pointerEvents="auto"),this.element=i||null,this.target_=null,this.map_=null,this.listenerKeys=[],t.render&&(this.render=t.render),t.target&&this.setTarget(t.target)}disposeInternal(){pn(this.element),super.disposeInternal()}getMap(){return this.map_}setMap(t){this.map_&&pn(this.element);for(let i=0,s=this.listenerKeys.length;in.getAttributions(t)))),s=!this.getMap().getAllLayers().some(n=>n.getSource()&&n.getSource().getAttributionsCollapsible()===!1);return this.overrideCollapsible_||this.setCollapsible(s),i}updateElement_(t){if(!t){this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1);return}const i=this.collectSourceAttributions_(t),s=i.length>0;if(this.renderedVisible_!=s&&(this.element.style.display=s?"":"none",this.renderedVisible_=s),!Gs(i,this.renderedAttributions_)){Hl(this.ulElement_);for(let n=0,r=i.length;n0&&s%(2*Math.PI)!==0?i.animate({rotation:0,duration:this.duration_,easing:gi}):i.setRotation(0))}render(t){const i=t.frameState;if(!i)return;const s=i.viewState.rotation;if(s!=this.rotation_){const n="rotate("+s+"rad)";if(this.autoHide_){const r=this.element.classList.contains(ls);!r&&s===0?this.element.classList.add(ls):r&&s!==0&&this.element.classList.remove(ls)}this.label_.style.transform=n}this.rotation_=s}}const h_=o_;class l_ extends nr{constructor(t){t=t||{},super({element:document.createElement("div"),target:t.target});const i=t.className!==void 0?t.className:"ol-zoom",s=t.delta!==void 0?t.delta:1,n=t.zoomInClassName!==void 0?t.zoomInClassName:i+"-in",r=t.zoomOutClassName!==void 0?t.zoomOutClassName:i+"-out",a=t.zoomInLabel!==void 0?t.zoomInLabel:"+",o=t.zoomOutLabel!==void 0?t.zoomOutLabel:"–",h=t.zoomInTipLabel!==void 0?t.zoomInTipLabel:"Zoom in",l=t.zoomOutTipLabel!==void 0?t.zoomOutTipLabel:"Zoom out",c=document.createElement("button");c.className=n,c.setAttribute("type","button"),c.title=h,c.appendChild(typeof a=="string"?document.createTextNode(a):a),c.addEventListener(O.CLICK,this.handleClick_.bind(this,s),!1);const u=document.createElement("button");u.className=r,u.setAttribute("type","button"),u.title=l,u.appendChild(typeof o=="string"?document.createTextNode(o):o),u.addEventListener(O.CLICK,this.handleClick_.bind(this,-s),!1);const d=i+" "+Ws+" "+ir,f=this.element;f.className=d,f.appendChild(c),f.appendChild(u),this.duration_=t.duration!==void 0?t.duration:250}handleClick_(t,i){i.preventDefault(),this.zoomByDelta_(t)}zoomByDelta_(t){const s=this.getMap().getView();if(!s)return;const n=s.getZoom();if(n!==void 0){const r=s.getConstrainedZoom(n+t);this.duration_>0?(s.getAnimating()&&s.cancelAnimations(),s.animate({zoom:r,duration:this.duration_,easing:gi})):s.setZoom(r)}}}const c_=l_;function u_(e){e=e||{};const t=new Zt;return(e.zoom!==void 0?e.zoom:!0)&&t.push(new c_(e.zoomOptions)),(e.rotate!==void 0?e.rotate:!0)&&t.push(new h_(e.rotateOptions)),(e.attribution!==void 0?e.attribution:!0)&&t.push(new Oo(e.attributionOptions)),t}const ma={ACTIVE:"active"};class d_ extends Bt{constructor(t){super(),this.on,this.once,this.un,t&&t.handleEvent&&(this.handleEvent=t.handleEvent),this.map_=null,this.setActive(!0)}getActive(){return this.get(ma.ACTIVE)}getMap(){return this.map_}handleEvent(t){return!0}setActive(t){this.set(ma.ACTIVE,t)}setMap(t){this.map_=t}}function f_(e,t,i){const s=e.getCenterInternal();if(s){const n=[s[0]+t[0],s[1]+t[1]];e.animateInternal({duration:i!==void 0?i:250,easing:el,center:e.getConstrainedCenter(n)})}}function rr(e,t,i,s){const n=e.getZoom();if(n===void 0)return;const r=e.getConstrainedZoom(n+t),a=e.getResolutionForZoom(r);e.getAnimating()&&e.cancelAnimations(),e.animate({resolution:a,anchor:i,duration:s!==void 0?s:250,easing:gi})}const Hi=d_;class g_ extends Hi{constructor(t){super(),t=t||{},this.delta_=t.delta?t.delta:1,this.duration_=t.duration!==void 0?t.duration:250}handleEvent(t){let i=!1;if(t.type==q.DBLCLICK){const s=t.originalEvent,n=t.map,r=t.coordinate,a=s.shiftKey?-this.delta_:this.delta_,o=n.getView();rr(o,a,r,this.duration_),s.preventDefault(),i=!0}return!i}}const __=g_;class m_ extends Hi{constructor(t){t=t||{},super(t),t.handleDownEvent&&(this.handleDownEvent=t.handleDownEvent),t.handleDragEvent&&(this.handleDragEvent=t.handleDragEvent),t.handleMoveEvent&&(this.handleMoveEvent=t.handleMoveEvent),t.handleUpEvent&&(this.handleUpEvent=t.handleUpEvent),t.stopDown&&(this.stopDown=t.stopDown),this.handlingDownUpSequence=!1,this.targetPointers=[]}getPointerCount(){return this.targetPointers.length}handleDownEvent(t){return!1}handleDragEvent(t){}handleEvent(t){if(!t.originalEvent)return!0;let i=!1;if(this.updateTrackedPointers_(t),this.handlingDownUpSequence){if(t.type==q.POINTERDRAG)this.handleDragEvent(t),t.originalEvent.preventDefault();else if(t.type==q.POINTERUP){const s=this.handleUpEvent(t);this.handlingDownUpSequence=s&&this.targetPointers.length>0}}else if(t.type==q.POINTERDOWN){const s=this.handleDownEvent(t);this.handlingDownUpSequence=s,i=this.stopDown(s)}else t.type==q.POINTERMOVE&&this.handleMoveEvent(t);return!i}handleMoveEvent(t){}handleUpEvent(t){return!1}stopDown(t){return t}updateTrackedPointers_(t){t.activePointers&&(this.targetPointers=t.activePointers)}}function ar(e){const t=e.length;let i=0,s=0;for(let n=0;n0&&this.condition_(t)){const s=t.map.getView();return this.lastCentroid=null,s.getAnimating()&&s.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1}}const R_=C_;class T_ extends Qi{constructor(t){t=t||{},super({stopDown:zs}),this.condition_=t.condition?t.condition:y_,this.lastAngle_=void 0,this.duration_=t.duration!==void 0?t.duration:250}handleDragEvent(t){if(!ln(t))return;const i=t.map,s=i.getView();if(s.getConstraints().rotation===$n)return;const n=i.getSize(),r=t.pixel,a=Math.atan2(n[1]/2-r[1],r[0]-n[0]/2);if(this.lastAngle_!==void 0){const o=a-this.lastAngle_;s.adjustRotationInternal(-o)}this.lastAngle_=a}handleUpEvent(t){return ln(t)?(t.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(t){return ln(t)&&Do(t)&&this.condition_(t)?(t.map.getView().beginInteraction(),this.lastAngle_=void 0,!0):!1}}const b_=T_;class w_ extends Sn{constructor(t){super(),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.style.pointerEvents="auto",this.element_.className="ol-box "+t,this.map_=null,this.startPixel_=null,this.endPixel_=null}disposeInternal(){this.setMap(null)}render_(){const t=this.startPixel_,i=this.endPixel_,s="px",n=this.element_.style;n.left=Math.min(t[0],i[0])+s,n.top=Math.min(t[1],i[1])+s,n.width=Math.abs(i[0]-t[0])+s,n.height=Math.abs(i[1]-t[1])+s}setMap(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);const i=this.element_.style;i.left="inherit",i.top="inherit",i.width="inherit",i.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)}setPixels(t,i){this.startPixel_=t,this.endPixel_=i,this.createOrUpdateGeometry(),this.render_()}createOrUpdateGeometry(){const t=this.startPixel_,i=this.endPixel_,n=[t,[t[0],i[1]],i,[i[0],t[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);n[4]=n[0].slice(),this.geometry_?this.geometry_.setCoordinates([n]):this.geometry_=new Ii([n])}getGeometry(){return this.geometry_}}const I_=w_,cs={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend",BOXCANCEL:"boxcancel"};class cn extends _e{constructor(t,i,s){super(t),this.coordinate=i,this.mapBrowserEvent=s}}class P_ extends Qi{constructor(t){super(),this.on,this.once,this.un,t=t||{},this.box_=new I_(t.className||"ol-dragbox"),this.minArea_=t.minArea!==void 0?t.minArea:64,t.onBoxEnd&&(this.onBoxEnd=t.onBoxEnd),this.startPixel_=null,this.condition_=t.condition?t.condition:Do,this.boxEndCondition_=t.boxEndCondition?t.boxEndCondition:this.defaultBoxEndCondition}defaultBoxEndCondition(t,i,s){const n=s[0]-i[0],r=s[1]-i[1];return n*n+r*r>=this.minArea_}getGeometry(){return this.box_.getGeometry()}handleDragEvent(t){this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new cn(cs.BOXDRAG,t.coordinate,t))}handleUpEvent(t){this.box_.setMap(null);const i=this.boxEndCondition_(t,this.startPixel_,t.pixel);return i&&this.onBoxEnd(t),this.dispatchEvent(new cn(i?cs.BOXEND:cs.BOXCANCEL,t.coordinate,t)),!1}handleDownEvent(t){return this.condition_(t)?(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new cn(cs.BOXSTART,t.coordinate,t)),!0):!1}onBoxEnd(t){}}const S_=P_;class A_ extends S_{constructor(t){t=t||{};const i=t.condition?t.condition:E_;super({condition:i,className:t.className||"ol-dragzoom",minArea:t.minArea}),this.duration_=t.duration!==void 0?t.duration:200,this.out_=t.out!==void 0?t.out:!1}onBoxEnd(t){const s=this.getMap().getView();let n=this.getGeometry();if(this.out_){const r=s.rotatedExtentForGeometry(n),a=s.getResolutionForExtentInternal(r),o=s.getResolution()/a;n=n.clone(),n.scale(o*o)}s.fitInternal(n,{duration:this.duration_,easing:gi})}}const L_=A_,ve={LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",DOWN:"ArrowDown"};class O_ extends Hi{constructor(t){super(),t=t||{},this.defaultCondition_=function(i){return Fo(i)&&Go(i)},this.condition_=t.condition!==void 0?t.condition:this.defaultCondition_,this.duration_=t.duration!==void 0?t.duration:100,this.pixelDelta_=t.pixelDelta!==void 0?t.pixelDelta:128}handleEvent(t){let i=!1;if(t.type==O.KEYDOWN){const s=t.originalEvent,n=s.key;if(this.condition_(t)&&(n==ve.DOWN||n==ve.LEFT||n==ve.RIGHT||n==ve.UP)){const a=t.map.getView(),o=a.getResolution()*this.pixelDelta_;let h=0,l=0;n==ve.DOWN?l=-o:n==ve.LEFT?h=-o:n==ve.RIGHT?h=o:l=o;const c=[h,l];Fn(c,a.getRotation()),f_(a,c,this.duration_),s.preventDefault(),i=!0}}return!i}}const N_=O_;class D_ extends Hi{constructor(t){super(),t=t||{},this.condition_=t.condition?t.condition:function(i){return!p_(i)&&Go(i)},this.delta_=t.delta?t.delta:1,this.duration_=t.duration!==void 0?t.duration:100}handleEvent(t){let i=!1;if(t.type==O.KEYDOWN||t.type==O.KEYPRESS){const s=t.originalEvent,n=s.key;if(this.condition_(t)&&(n==="+"||n==="-")){const r=t.map,a=n==="+"?this.delta_:-this.delta_,o=r.getView();rr(o,a,void 0,this.duration_),s.preventDefault(),i=!0}}return!i}}const F_=D_;class G_{constructor(t,i,s){this.decay_=t,this.minVelocity_=i,this.delay_=s,this.points_=[],this.angle_=0,this.initialVelocity_=0}begin(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0}update(t,i){this.points_.push(t,i,Date.now())}end(){if(this.points_.length<6)return!1;const t=Date.now()-this.delay_,i=this.points_.length-3;if(this.points_[i+2]0&&this.points_[s+2]>t;)s-=3;const n=this.points_[i+2]-this.points_[s+2];if(n<1e3/60)return!1;const r=this.points_[i]-this.points_[s],a=this.points_[i+1]-this.points_[s+1];return this.angle_=Math.atan2(a,r),this.initialVelocity_=Math.sqrt(r*r+a*a)/n,this.initialVelocity_>this.minVelocity_}getDistance(){return(this.minVelocity_-this.initialVelocity_)/this.decay_}getAngle(){return this.angle_}}const z_=G_;class k_ extends Hi{constructor(t){t=t||{},super(t),this.totalDelta_=0,this.lastDelta_=0,this.maxDelta_=t.maxDelta!==void 0?t.maxDelta:1,this.duration_=t.duration!==void 0?t.duration:250,this.timeout_=t.timeout!==void 0?t.timeout:80,this.useAnchor_=t.useAnchor!==void 0?t.useAnchor:!0,this.constrainResolution_=t.constrainResolution!==void 0?t.constrainResolution:!1;const i=t.condition?t.condition:M_;this.condition_=t.onFocusOnly?In(No,i):i,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_,this.mode_=void 0,this.trackpadEventGap_=400,this.trackpadTimeoutId_,this.deltaPerZoom_=300}endInteraction_(){this.trackpadTimeoutId_=void 0;const t=this.getMap();if(!t)return;t.getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)}handleEvent(t){if(!this.condition_(t)||t.type!==O.WHEEL)return!0;const s=t.map,n=t.originalEvent;n.preventDefault(),this.useAnchor_&&(this.lastAnchor_=t.coordinate);let r;if(t.type==O.WHEEL&&(r=n.deltaY,il&&n.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(r/=Da),n.deltaMode===WheelEvent.DOM_DELTA_LINE&&(r*=40)),r===0)return!1;this.lastDelta_=r;const a=Date.now();this.startTime_===void 0&&(this.startTime_=a),(!this.mode_||a-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(r)<4?"trackpad":"wheel");const o=s.getView();if(this.mode_==="trackpad"&&!(o.getConstrainResolution()||this.constrainResolution_))return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(o.getAnimating()&&o.cancelAnimations(),o.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),o.adjustZoom(-r/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=a,!1;this.totalDelta_+=r;const h=Math.max(this.timeout_-(a-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,s),h),!1}handleWheelZoom_(t){const i=t.getView();i.getAnimating()&&i.cancelAnimations();let s=-Y(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(i.getConstrainResolution()||this.constrainResolution_)&&(s=s?s>0?1:-1:0),rr(i,s,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0}setMouseAnchor(t){this.useAnchor_=t,t||(this.lastAnchor_=null)}}const j_=k_;class U_ extends Qi{constructor(t){t=t||{};const i=t;i.stopDown||(i.stopDown=zs),super(i),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=t.threshold!==void 0?t.threshold:.3,this.duration_=t.duration!==void 0?t.duration:250}handleDragEvent(t){let i=0;const s=this.targetPointers[0],n=this.targetPointers[1],r=Math.atan2(n.clientY-s.clientY,n.clientX-s.clientX);if(this.lastAngle_!==void 0){const h=r-this.lastAngle_;this.rotationDelta_+=h,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),i=h}this.lastAngle_=r;const a=t.map,o=a.getView();o.getConstraints().rotation!==$n&&(this.anchor_=a.getCoordinateFromPixelInternal(a.getEventPixel(ar(this.targetPointers))),this.rotating_&&(a.render(),o.adjustRotationInternal(i,this.anchor_)))}handleUpEvent(t){return this.targetPointers.length<2?(t.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(t){if(this.targetPointers.length>=2){const i=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||i.getView().beginInteraction(),!0}return!1}}const $_=U_;class q_ extends Qi{constructor(t){t=t||{};const i=t;i.stopDown||(i.stopDown=zs),super(i),this.anchor_=null,this.duration_=t.duration!==void 0?t.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}handleDragEvent(t){let i=1;const s=this.targetPointers[0],n=this.targetPointers[1],r=s.clientX-n.clientX,a=s.clientY-n.clientY,o=Math.sqrt(r*r+a*a);this.lastDistance_!==void 0&&(i=this.lastDistance_/o),this.lastDistance_=o;const h=t.map,l=h.getView();i!=1&&(this.lastScaleDelta_=i),this.anchor_=h.getCoordinateFromPixelInternal(h.getEventPixel(ar(this.targetPointers))),h.render(),l.adjustResolutionInternal(i,this.anchor_)}handleUpEvent(t){if(this.targetPointers.length<2){const s=t.map.getView(),n=this.lastScaleDelta_>1?1:-1;return s.endInteraction(this.duration_,n),!1}return!0}handleDownEvent(t){if(this.targetPointers.length>=2){const i=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||i.getView().beginInteraction(),!0}return!1}}const X_=q_;function K_(e){e=e||{};const t=new Zt,i=new z_(-.005,.05,100);return(e.altShiftDragRotate!==void 0?e.altShiftDragRotate:!0)&&t.push(new b_),(e.doubleClickZoom!==void 0?e.doubleClickZoom:!0)&&t.push(new __({delta:e.zoomDelta,duration:e.zoomDuration})),(e.dragPan!==void 0?e.dragPan:!0)&&t.push(new R_({onFocusOnly:e.onFocusOnly,kinetic:i})),(e.pinchRotate!==void 0?e.pinchRotate:!0)&&t.push(new $_),(e.pinchZoom!==void 0?e.pinchZoom:!0)&&t.push(new X_({duration:e.zoomDuration})),(e.keyboard!==void 0?e.keyboard:!0)&&(t.push(new N_),t.push(new F_({delta:e.zoomDelta,duration:e.zoomDuration}))),(e.mouseWheelZoom!==void 0?e.mouseWheelZoom:!0)&&t.push(new j_({onFocusOnly:e.onFocusOnly,duration:e.zoomDuration})),(e.shiftDragZoom!==void 0?e.shiftDragZoom:!0)&&t.push(new L_({duration:e.zoomDuration})),t}function zo(e){if(e instanceof Ks){e.setMapInternal(null);return}e instanceof Ys&&e.getLayers().forEach(zo)}function ko(e,t){if(e instanceof Ks){e.setMapInternal(t);return}if(e instanceof Ys){const i=e.getLayers().getArray();for(let s=0,n=i.length;sthis.updateSize()),this.controls=i.controls||u_(),this.interactions=i.interactions||K_({onFocusOnly:!0}),this.overlays_=i.overlays,this.overlayIdIndex_={},this.renderer_=null,this.postRenderFunctions_=[],this.tileQueue_=new s_(this.getTilePriority.bind(this),this.handleTileChange_.bind(this)),this.addChangeListener(st.LAYERGROUP,this.handleLayerGroupChanged_),this.addChangeListener(st.VIEW,this.handleViewChanged_),this.addChangeListener(st.SIZE,this.handleSizeChanged_),this.addChangeListener(st.TARGET,this.handleTargetChanged_),this.setProperties(i.values);const s=this;t.view&&!(t.view instanceof Ct)&&t.view.then(function(n){s.setView(new Ct(n))}),this.controls.addEventListener(xt.ADD,n=>{n.element.setMap(this)}),this.controls.addEventListener(xt.REMOVE,n=>{n.element.setMap(null)}),this.interactions.addEventListener(xt.ADD,n=>{n.element.setMap(this)}),this.interactions.addEventListener(xt.REMOVE,n=>{n.element.setMap(null)}),this.overlays_.addEventListener(xt.ADD,n=>{this.addOverlayInternal_(n.element)}),this.overlays_.addEventListener(xt.REMOVE,n=>{const r=n.element.getId();r!==void 0&&delete this.overlayIdIndex_[r.toString()],n.element.setMap(null)}),this.controls.forEach(n=>{n.setMap(this)}),this.interactions.forEach(n=>{n.setMap(this)}),this.overlays_.forEach(this.addOverlayInternal_.bind(this))}addControl(t){this.getControls().push(t)}addInteraction(t){this.getInteractions().push(t)}addLayer(t){this.getLayerGroup().getLayers().push(t)}handleLayerAdd_(t){ko(t.layer,this)}addOverlay(t){this.getOverlays().push(t)}addOverlayInternal_(t){const i=t.getId();i!==void 0&&(this.overlayIdIndex_[i.toString()]=t),t.setMap(this)}disposeInternal(){this.controls.clear(),this.interactions.clear(),this.overlays_.clear(),this.resizeObserver_.disconnect(),this.setTarget(null),super.disposeInternal()}forEachFeatureAtPixel(t,i,s){if(!this.frameState_||!this.renderer_)return;const n=this.getCoordinateFromPixelInternal(t);s=s!==void 0?s:{};const r=s.hitTolerance!==void 0?s.hitTolerance:0,a=s.layerFilter!==void 0?s.layerFilter:vs,o=s.checkWrapped!==!1;return this.renderer_.forEachFeatureAtCoordinate(n,this.frameState_,r,o,i,null,a,null)}getFeaturesAtPixel(t,i){const s=[];return this.forEachFeatureAtPixel(t,function(n){s.push(n)},i),s}getAllLayers(){const t=[];function i(s){s.forEach(function(n){n instanceof Ys?i(n.getLayers()):t.push(n)})}return i(this.getLayers()),t}hasFeatureAtPixel(t,i){if(!this.frameState_||!this.renderer_)return!1;const s=this.getCoordinateFromPixelInternal(t);i=i!==void 0?i:{};const n=i.layerFilter!==void 0?i.layerFilter:vs,r=i.hitTolerance!==void 0?i.hitTolerance:0,a=i.checkWrapped!==!1;return this.renderer_.hasFeatureAtCoordinate(s,this.frameState_,r,a,n,null)}getEventCoordinate(t){return this.getCoordinateFromPixel(this.getEventPixel(t))}getEventCoordinateInternal(t){return this.getCoordinateFromPixelInternal(this.getEventPixel(t))}getEventPixel(t){const s=this.viewport_.getBoundingClientRect(),n=this.getSize(),r=s.width/n[0],a=s.height/n[1],o="changedTouches"in t?t.changedTouches[0]:t;return[(o.clientX-s.left)/r,(o.clientY-s.top)/a]}getTarget(){return this.get(st.TARGET)}getTargetElement(){return this.targetElement_}getCoordinateFromPixel(t){return Mn(this.getCoordinateFromPixelInternal(t),this.getView().getProjection())}getCoordinateFromPixelInternal(t){const i=this.frameState_;return i?Et(i.pixelToCoordinateTransform,t.slice()):null}getControls(){return this.controls}getOverlays(){return this.overlays_}getOverlayById(t){const i=this.overlayIdIndex_[t.toString()];return i!==void 0?i:null}getInteractions(){return this.interactions}getLayerGroup(){return this.get(st.LAYERGROUP)}setLayers(t){const i=this.getLayerGroup();if(t instanceof Zt){i.setLayers(t);return}const s=i.getLayers();s.clear(),s.extend(t)}getLayers(){return this.getLayerGroup().getLayers()}getLoadingOrNotReady(){const t=this.getLayerGroup().getLayerStatesArray();for(let i=0,s=t.length;i=0;r--){const a=n[r];if(a.getMap()!==this||!a.getActive()||!this.getTargetElement())continue;if(!a.handleEvent(t)||t.propagationStopped)break}}}handlePostRender(){const t=this.frameState_,i=this.tileQueue_;if(!i.isEmpty()){let n=this.maxTilesLoading_,r=n;if(t){const a=t.viewHints;if(a[pt.ANIMATING]||a[pt.INTERACTING]){const o=Date.now()-t.time>8;n=o?0:8,r=o?0:2}}i.getTilesLoading(){this.postRenderTimeoutHandle_=void 0,this.handlePostRender()},0))}setLayerGroup(t){const i=this.getLayerGroup();i&&this.handleLayerRemove_(new te("removelayer",i)),this.set(st.LAYERGROUP,t)}setSize(t){this.set(st.SIZE,t)}setTarget(t){this.set(st.TARGET,t)}setView(t){if(!t||t instanceof Ct){this.set(st.VIEW,t);return}this.set(st.VIEW,new Ct);const i=this;t.then(function(s){i.setView(new Ct(s))})}updateSize(){const t=this.getTargetElement();let i;if(t){const n=getComputedStyle(t),r=t.offsetWidth-parseFloat(n.borderLeftWidth)-parseFloat(n.paddingLeft)-parseFloat(n.paddingRight)-parseFloat(n.borderRightWidth),a=t.offsetHeight-parseFloat(n.borderTopWidth)-parseFloat(n.paddingTop)-parseFloat(n.paddingBottom)-parseFloat(n.borderBottomWidth);!isNaN(r)&&!isNaN(a)&&(i=[r,a],!Kr(i)&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)&&Aa("No map visible because the map container's width or height are 0."))}const s=this.getSize();i&&(!s||!Gs(i,s))&&(this.setSize(i),this.updateViewportSize_())}updateViewportSize_(){const t=this.getView();if(t){let i;const s=getComputedStyle(this.viewport_);s.width&&s.height&&(i=[parseInt(s.width,10),parseInt(s.height,10)]),t.setViewportSize(i)}}};function B_(e){let t=null;e.keyboardEventTarget!==void 0&&(t=typeof e.keyboardEventTarget=="string"?document.getElementById(e.keyboardEventTarget):e.keyboardEventTarget);const i={},s=e.layers&&typeof e.layers.getLayers=="function"?e.layers:new Ys({layers:e.layers});i[st.LAYERGROUP]=s,i[st.TARGET]=e.target,i[st.VIEW]=e.view instanceof Ct?e.view:new Ct;let n;e.controls!==void 0&&(Array.isArray(e.controls)?n=new Zt(e.controls.slice()):(j(typeof e.controls.getArray=="function","Expected `controls` to be an array or an `ol/Collection.js`"),n=e.controls));let r;e.interactions!==void 0&&(Array.isArray(e.interactions)?r=new Zt(e.interactions.slice()):(j(typeof e.interactions.getArray=="function","Expected `interactions` to be an array or an `ol/Collection.js`"),r=e.interactions));let a;return e.overlays!==void 0?Array.isArray(e.overlays)?a=new Zt(e.overlays.slice()):(j(typeof e.overlays.getArray=="function","Expected `overlays` to be an array or an `ol/Collection.js`"),a=e.overlays):a=new Zt,{controls:n,interactions:r,keyboardEventTarget:t,overlays:a,values:i}}const V_=Z_;let us;const W_=new Uint8Array(16);function Y_(){if(!us&&(us=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!us))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return us(W_)}const tt=[];for(let e=0;e<256;++e)tt.push((e+256).toString(16).slice(1));function H_(e,t=0){return(tt[e[t+0]]+tt[e[t+1]]+tt[e[t+2]]+tt[e[t+3]]+"-"+tt[e[t+4]]+tt[e[t+5]]+"-"+tt[e[t+6]]+tt[e[t+7]]+"-"+tt[e[t+8]]+tt[e[t+9]]+"-"+tt[e[t+10]]+tt[e[t+11]]+tt[e[t+12]]+tt[e[t+13]]+tt[e[t+14]]+tt[e[t+15]]).toLowerCase()}const Q_=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),ya={randomUUID:Q_};function J_(e,t,i){if(ya.randomUUID&&!t&&!e)return ya.randomUUID();e=e||{};const s=e.random||(e.rng||Y_)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,t){i=i||0;for(let n=0;n<16;++n)t[i+n]=s[n];return t}return H_(s)}const va=fi("map:LayerModel");var Li,Oi,ee,Ni,xe,ie,Di,Ce,Re,ri,Fi,$t,Me;class tm extends Pn{constructor(i,s){super();A(this,$t);A(this,Li,void 0);A(this,Oi,void 0);A(this,ee,void 0);A(this,Ni,void 0);A(this,xe,void 0);A(this,ie,void 0);A(this,Di,!1);A(this,Ce,void 0);A(this,Re,void 0);A(this,ri,void 0);A(this,Fi,void 0);L(this,Li,s.id),L(this,Oi,i),L(this,ee,s.layer),L(this,Ni,s.isBaseLayer),L(this,xe,s.attributes),L(this,ie,s.visible),L(this,Ce,s.title),L(this,Re,s.description);const{initial:n,resource:r}=em(x(this,ee),a=>{L(this,ri,a),rt(this,$t,Me).call(this,"changed:loadState")});L(this,ri,n),L(this,Fi,r)}get id(){return x(this,Li)}get map(){return x(this,Oi)}get olLayer(){return x(this,ee)}get isBaseLayer(){return x(this,Ni)}get attributes(){return x(this,xe)}get title(){return x(this,Ce)}get description(){return x(this,Re)}get visible(){return x(this,ie)}get loadState(){return x(this,ri)}destroy(){if(!x(this,Di)){L(this,Di,!0);try{this.emit("destroy")}catch(i){va.warn("Unexpected error from event listener during layer model destruction:",i)}x(this,Fi)?.destroy(),this.olLayer.dispose()}}setTitle(i){i!==x(this,Ce)&&(L(this,Ce,i),rt(this,$t,Me).call(this,"changed:title"))}setDescription(i){i!==x(this,Re)&&(L(this,Re,i),rt(this,$t,Me).call(this,"changed:description"))}setVisible(i){if(this.isBaseLayer){va.warn(`Cannot change visibility of base layer '${this.id}': use activateBaseLayer() on the map's LayerCollection instead.`);return}this.__setVisible(i)}__setVisible(i){let s=!1;x(this,ie)!==i&&(L(this,ie,i),s=!0),x(this,ee).getVisible()!=x(this,ie)&&x(this,ee).setVisible(i),s&&rt(this,$t,Me).call(this,"changed:visible")}updateAttributes(i){const s=x(this,xe),n=Reflect.ownKeys(i);let r=!1;for(const a of n){const o=s[a],h=i[a];o!==h&&(s[a]=h,r=!0)}r&&rt(this,$t,Me).call(this,"changed:attributes")}deleteAttribute(i){const s=x(this,xe),n=i;let r=!1;s[n]&&(delete s[n],r=!0),r&&rt(this,$t,Me).call(this,"changed:attributes")}}Li=new WeakMap,Oi=new WeakMap,ee=new WeakMap,Ni=new WeakMap,xe=new WeakMap,ie=new WeakMap,Di=new WeakMap,Ce=new WeakMap,Re=new WeakMap,ri=new WeakMap,Fi=new WeakMap,$t=new WeakSet,Me=function(i){this.emit(i),this.emit("changed")};function em(e,t){if(!(e instanceof Ks))return{initial:"loaded",resource:{destroy(){}}};let i=e?.getSource(),s=Ma(i?.getState());const n=()=>{const o=Ma(i?.getState());s!==o&&(s=o,t(s))};let r;r=i?.on("change",()=>{n()});const a=e.on("change:source",()=>{r&&He(r),r=void 0,i=e?.getSource(),r=i?.on("change",()=>{n()}),n()});return{initial:s,resource:{destroy(){r&&He(r),He(a)}}}}function Ma(e){switch(e){case void 0:return"loaded";case"undefined":return"not-loaded";case"loading":return"loading";case"ready":return"loaded";case"error":return"error"}}const Ht=fi("map:LayerCollection"),im=0,sm=1;var se,mt,ne,yt,As,Ls,jo,Os,Uo,ai,ys;class nm extends Pn{constructor(i){super();A(this,Ls);A(this,Os);A(this,ai);A(this,se,void 0);A(this,mt,new Map);A(this,ne,void 0);A(this,yt,void 0);A(this,As,sm);L(this,se,i)}get map(){return x(this,se)}destroy(){for(const i of x(this,mt).values())i.destroy();x(this,mt).clear(),L(this,ne,void 0),L(this,yt,void 0)}createLayer(i){Ht.debug("Creating layer",i);const s=new tm(x(this,se),{id:rt(this,Os,Uo).call(this,i.id),layer:i.layer,attributes:i.attributes??{},title:i.title??"",description:i.description??"",visible:i.visible??!0,isBaseLayer:i.isBaseLayer??!1});try{return rt(this,Ls,jo).call(this,s),Ht.debug("Created layer model",s),s}catch(n){throw s.destroy(),n}}getBaseLayers(){return this.getAllLayers().filter(i=>i.isBaseLayer)}getActiveBaseLayer(){return x(this,yt)}activateBaseLayer(i){let s;if(i!=null){if(s=x(this,mt).get(i),!s)return Ht.warn(`Cannot activate base layer '${i}': layer is unknown.`),!1;if(!s.isBaseLayer)return Ht.warn(`Cannot activate base layer '${i}': layer is not a base layer.`),!1}return s!==x(this,yt)&&(rt(this,ai,ys).call(this,s),this.emit("changed")),!0}getOperationalLayers(){return this.getAllLayers().filter(i=>!i.isBaseLayer)}getLayerById(i){return x(this,mt).get(i)}getAllLayers(){return Array.from(x(this,mt).values())}removeLayerById(i){const s=x(this,mt).get(i);if(!s){Ht.isDebug()&&Ht.debug(`Cannot remove layer '${i}': layer is unknown.`);return}x(this,se).olMap.removeLayer(s.olLayer),x(this,mt).delete(i),x(this,ne)?.delete(s.olLayer),x(this,yt)===s&&rt(this,ai,ys).call(this,this.getBaseLayers()[0]),s.destroy(),this.emit("changed")}getLayerByRawInstance(i){return x(this,ne)?.get(i)}}se=new WeakMap,mt=new WeakMap,ne=new WeakMap,yt=new WeakMap,As=new WeakMap,Ls=new WeakSet,jo=function(i){const s=i.id,n=i.olLayer;if(x(this,mt).has(s))throw new Error(`Layer with id '${s}' is already registered.`);if(x(this,ne)?.has(n))throw new Error("OlLayer has already been used in this or another LayerModel.");i.isBaseLayer?(n.setZIndex(im),!x(this,yt)&&i.visible?rt(this,ai,ys).call(this,i):i.__setVisible(!1)):(n.setZIndex(_r(this,As)._++),i.__setVisible(i.visible)),x(this,se).olMap.addLayer(n),x(this,mt).set(s,i),(x(this,ne)??L(this,ne,new WeakMap)).set(n,i),this.emit("changed")},Os=new WeakSet,Uo=function(i){if(i!=null){if(x(this,mt).has(i))throw new Error(`Layer id '${i}' is not unique. Either assign a unique id or skip the id property to generate an automatic id.`);return i}return J_()},ai=new WeakSet,ys=function(i){if(x(this,yt)!==i){if(Ht.isDebug()){const s=n=>n?`'${n.id}'`:void 0;Ht.debug(`Switching active base layer from ${s(x(this,yt))} to ${s(i)}`)}x(this,yt)?.__setVisible(!1),L(this,yt,i),x(this,yt)?.__setVisible(!0)}};const je=fi("map:MapModel");var Gi,qt,zi,oi,hi,re,Te,ki,ae,Xt,Ns,$o,Ds,qo;class rm extends Pn{constructor(i){super();A(this,Ns);A(this,Ds);A(this,Gi,void 0);A(this,qt,void 0);A(this,zi,new nm(this));A(this,oi,!1);A(this,hi,void 0);A(this,re,void 0);A(this,Te,void 0);A(this,ki,new AbortController);A(this,ae,void 0);A(this,Xt,void 0);L(this,Gi,i.id),L(this,qt,i.olMap),L(this,re,i.initialExtent),L(this,ae,"waiting"),rt(this,Ns,$o).call(this).then(()=>{L(this,ae,"ready"),x(this,Xt)?.resolve(),L(this,Xt,void 0)},s=>{yr(s)||je.error("Failed to initialize map",s),L(this,ae,"error"),x(this,Xt)?.reject(new Error("Failed to initialize map.")),L(this,Xt,void 0)}),L(this,Te,x(this,qt).on("change:target",()=>{rt(this,Ds,qo).call(this)}))}destroy(){if(!x(this,oi)){L(this,oi,!0);try{this.emit("destroy")}catch(i){je.warn("Unexpected error from event listener during map model destruction:",i)}x(this,Te)&&He(x(this,Te)),L(this,Te,void 0),x(this,ki).abort(),x(this,Xt)?.reject(new Error("Map model was destroyed.")),x(this,zi).destroy(),x(this,qt).dispose()}}get id(){return x(this,Gi)}get olMap(){return x(this,qt)}get layers(){return x(this,zi)}get container(){return x(this,hi)}get initialExtent(){return x(this,re)}whenDisplayed(){return x(this,oi)?Promise.reject(new Error("Map model was destroyed.")):x(this,ae)==="error"?Promise.reject(new Error("Failed to initialize map.")):x(this,ae)==="ready"?Promise.resolve():(x(this,Xt)??L(this,Xt,Jo())).promise}}Gi=new WeakMap,qt=new WeakMap,zi=new WeakMap,oi=new WeakMap,hi=new WeakMap,re=new WeakMap,Te=new WeakMap,ki=new WeakMap,ae=new WeakMap,Xt=new WeakMap,Ns=new WeakSet,$o=async function(){try{await am(this.olMap,x(this,ki).signal)}catch(i){throw yr(i)?i:new Error("Failed to wait for the map to be displayed.",{cause:i})}try{const s=x(this,qt).getView();if(x(this,re)){const n=x(this,re),r=[n.xMin,n.yMin,n.xMax,n.yMax],a=we(r),o=s.getResolutionForExtent(r);je.debug("Applying initial extent",n),je.debug(" Computed center:",a),je.debug(" Computed resolution:",o),s.setCenter(a),s.setResolution(o)}else{const n=s.calculateExtent(),[r=0,a=0,o=0,h=0]=n,l={xMin:r,yMin:a,xMax:o,yMax:h};je.debug("Detected initial extent",l),L(this,re,l),this.emit("changed:initialExtent"),this.emit("changed")}}catch(i){throw new Error("Failed to apply the initial extent.",{cause:i})}},Ds=new WeakSet,qo=function(){const i=x(this,qt).getTargetElement()??void 0;x(this,hi)!==i&&(L(this,hi,i),this.emit("changed:container"),this.emit("changed"))};function am(e,t){return new Promise((s,n)=>{let r;function a(){const l=e.getSize()??[],[c=0,u=0]=l;l&&c>0&&u>0&&h()}function o(){h(vr())}function h(l){r&&(He(r),r=void 0),t.removeEventListener("abort",o),l?n(l):s(om(25))}if(t.aborted){h(vr());return}t.addEventListener("abort",o),r=e.on("change:size",a)})}function om(e){return new Promise(t=>setTimeout(t,e))}const un=fi("map:createMapModel");async function hm(e,t){return await new lm(e,t).createMapModel()}class lm{mapId;mapConfig;constructor(t,i){this.mapId=t,this.mapConfig=i}async createMapModel(){const t=this.mapId,i=this.mapConfig,{view:s,...n}=i.advanced??{},r={...n};r.controls||(r.controls=[new Oo({collapsible:!1})]);const a=await s??{};this.initializeViewOptions(a),r.view=a instanceof Ct?a:new Ct(a),!r.layers&&!i.layers&&(r.layers=[new vc({source:new Xc})]);const o=i.initialView,h=o?.kind==="extent"?o.extent:void 0;un.debug("Constructing open layers map with options",r);const l=new V_(r);cm(l);const c=new rm({id:t,olMap:l,initialExtent:h});try{if(i.layers)for(const u of i.layers)c.layers.createLayer(u);return c}catch(u){throw c.destroy(),u}}initializeViewOptions(t){const i=this.mapId,s=this.mapConfig;if(t instanceof Ct){const a=o=>{un.warn(`The advanced configuration for map id '${i}' has provided a fully constructed view instance: ${o} cannot be applied. Use ViewOptions instead of a View instance.`)};s.projection!=null&&a("projection"),s.initialView!=null&&a("initialView");return}const n=t.projection=this.initializeProjection(s.projection),r=s.initialView;if(r)switch(r.kind){case"position":t.zoom=r.zoom,t.center=[r.center.x,r.center.y];break;case"extent":{const a=r.extent;t.zoom=0,t.center=[a.xMin+(a.xMax-a.xMin)/2,a.yMin+(a.yMax-a.yMin)/2];break}}else this.setViewDefaults(t,n)}setViewDefaults(t,i){if(t.center==null){const s=i.getExtent();s?t.center=we(s):un.warn(`Cannot set default center coordinate because the current projection has no associated extent. -Try to configure 'initialView' explicity.`)}(t.zoom==null||t.resolution==null)&&(t.zoom=0)}initializeProjection(t){if(t==null)return ht("EPSG:3857");const i=ht(t);if(!i)throw new Error(`Failed to retrieve projection for code '${t}'.`);return i}}const dn=fi("map:MapRegistry");var ji,oe,he,Ui,be,Fs,Zo;class Sm{constructor(t){A(this,Fs);A(this,ji,new Map);A(this,oe,new Map);A(this,he,new Map);A(this,Ui,new WeakMap);A(this,be,!1);const i=t.references.providers;for(const s of i)x(this,ji).set(s.mapId,s)}destroy(){x(this,be)||(dn.info("Destroy map registry and all maps"),L(this,be,!0),x(this,oe).forEach(t=>{t.kind==="model"&&t.model.destroy()}),x(this,oe).clear(),x(this,he).clear())}async getMapModel(t){if(x(this,be))throw new Error("MapRegistry has already been destroyed.");const i=x(this,he).get(t);if(i)return fn(await i);const s=x(this,oe).get(t);if(s)return fn(s);const n=x(this,ji).get(t);if(!n){dn.debug(`Failed to find a config provider for map id '${t}'.`);return}const r=rt(this,Fs,Zo).call(this,t,n).catch(a=>{const h={kind:"error",error:new Error(`Failed to construct map '${t}'`,{cause:a})};return x(this,he).delete(t),x(this,oe).set(t,h),h});return x(this,he).set(t,r),fn(await r)}async expectMapModel(t){const i=await this.getMapModel(t);if(!i)throw new Error(`No configuration available for map with id '${t}'.`);return i}getMapModelByRawInstance(t){return x(this,Ui).get(t)}}ji=new WeakMap,oe=new WeakMap,he=new WeakMap,Ui=new WeakMap,be=new WeakMap,Fs=new WeakSet,Zo=async function(t,i){dn.info(`Creating map with id '${t}'`);const s=await i.getMapConfig(),n=await hm(t,s);if(x(this,be))throw n.destroy(),new Error("MapRegistry has been destroyed.");const r={kind:"model",model:n};return x(this,oe).set(t,r),x(this,he).delete(t),x(this,Ui).set(n.olMap,n),r};function fn(e){if(e.kind==="error")throw e.error;return e.model}const cm="modulepreload",um=function(e,t){return new URL(e,t).href},pa={},Am=function(t,i,s){if(!i||i.length===0)return t();const n=document.getElementsByTagName("link");return Promise.all(i.map(r=>{if(r=um(r,s),r in pa)return;pa[r]=!0;const a=r.endsWith(".css"),o=a?'[rel="stylesheet"]':"";if(!!s)for(let c=n.length-1;c>=0;c--){const u=n[c];if(u.href===r&&(!a||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${o}`))return;const l=document.createElement("link");if(l.rel=a?"stylesheet":cm,a||(l.as="script",l.crossOrigin=""),l.href=r,document.head.appendChild(l),a)return new Promise((c,u)=>{l.addEventListener("load",c),l.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t()).catch(r=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=r,window.dispatchEvent(a),!a.defaultPrevented)throw r})},dm="@open-pioneer/basemap-switcher",fm=Ea.bind(void 0,dm),or="___NO_BASEMAP___",Lm=K.forwardRef(function(t,i){const s=fm(),{mapId:n,className:r,noneBasemap:a,label:o=s.formatMessage({id:"defaultLabel"}),...h}=t,l=s.formatMessage({id:"noneBasemapLabel"}),{map:c}=lo(n),u=gm(c),{selectOptions:d,selectedId:f}=K.useMemo(()=>_m({baseLayers:u,noneBasemap:a,noneBasemapLabel:l}),[u,a,l]),g=_=>{c?.layers.activateBaseLayer(_===or?void 0:_)};return Kt.jsx(xa,{className:Wn("basemap-switcher",r),ref:i,...h,children:c?Kt.jsxs(ih,{display:"flex",alignItems:"center",children:[Kt.jsx(sh,{className:"basemap-switcher-label",children:o}),Kt.jsx(nh,{className:"basemap-switcher-select",value:f,onChange:_=>g(_.target.value),"aria-label":o,children:d.map(_=>Kt.jsx("option",{value:_.id,children:_.label},_.id))})]}):""})});function gm(e){const t=K.useRef(),i=K.useCallback(n=>{if(t.current=void 0,!e)return()=>{};const r=e.layers.on("changed",()=>{t.current=void 0,n()});return()=>r.destroy()},[e]),s=K.useCallback(()=>t.current?t.current:t.current=e?.layers.getBaseLayers()??[],[e]);return K.useSyncExternalStore(i,s)}function _m(e){const{baseLayers:t=[],noneBasemap:i=!1,noneBasemapLabel:s}=e,n=t.map(a=>({id:a.id,label:a.title}));let r=t.find(a=>a.visible)?.id;return(i||r==null)&&n.push(mm(s)),r==null&&(r=or),{selectOptions:n,selectedId:r}}function mm(e){return{id:or,label:e}}export{Lm as B,nr as C,Sm as M,Kc as O,Ta as P,Mc as T,Tm as W,Am as _,He as a,ht as b,Xh as c,Ih as d,wr as e,xm as f,br as g,Cm as h,Rm as i,lo as j,Wn as k,Ws as l,bi as m,Im as n,wm as o,Rt as p,bm as u}; +Try to configure 'initialView' explicity.`)}(t.zoom==null||t.resolution==null)&&(t.zoom=0)}initializeProjection(t){if(t==null)return ht("EPSG:3857");const i=ht(t);if(!i)throw new Error(`Failed to retrieve projection for code '${t}'.`);return i}}function cm(e){({}).VITEST&&(e.updateSize=()=>{const n=e.getTargetElement()?[500,500]:void 0,r=e.getSize();n&&(!r||!Es(n,r))&&(e.setSize(n),e.updateViewportSize_())})}const dn=fi("map:MapRegistry");var ji,oe,he,Ui,be,Fs,Xo;class Sm{constructor(t){A(this,Fs);A(this,ji,new Map);A(this,oe,new Map);A(this,he,new Map);A(this,Ui,new WeakMap);A(this,be,!1);const i=t.references.providers;for(const s of i)x(this,ji).set(s.mapId,s)}destroy(){x(this,be)||(dn.info("Destroy map registry and all maps"),L(this,be,!0),x(this,oe).forEach(t=>{t.kind==="model"&&t.model.destroy()}),x(this,oe).clear(),x(this,he).clear())}async getMapModel(t){if(x(this,be))throw new Error("MapRegistry has already been destroyed.");const i=x(this,he).get(t);if(i)return fn(await i);const s=x(this,oe).get(t);if(s)return fn(s);const n=x(this,ji).get(t);if(!n){dn.debug(`Failed to find a config provider for map id '${t}'.`);return}const r=rt(this,Fs,Xo).call(this,t,n).catch(a=>{const h={kind:"error",error:new Error(`Failed to construct map '${t}'`,{cause:a})};return x(this,he).delete(t),x(this,oe).set(t,h),h});return x(this,he).set(t,r),fn(await r)}async expectMapModel(t){const i=await this.getMapModel(t);if(!i)throw new Error(`No configuration available for map with id '${t}'.`);return i}getMapModelByRawInstance(t){return x(this,Ui).get(t)}}ji=new WeakMap,oe=new WeakMap,he=new WeakMap,Ui=new WeakMap,be=new WeakMap,Fs=new WeakSet,Xo=async function(t,i){dn.info(`Creating map with id '${t}'`);const s=await i.getMapConfig(),n=await hm(t,s);if(x(this,be))throw n.destroy(),new Error("MapRegistry has been destroyed.");const r={kind:"model",model:n};return x(this,oe).set(t,r),x(this,he).delete(t),x(this,Ui).set(n.olMap,n),r};function fn(e){if(e.kind==="error")throw e.error;return e.model}const um="modulepreload",dm=function(e,t){return new URL(e,t).href},pa={},Am=function(t,i,s){if(!i||i.length===0)return t();const n=document.getElementsByTagName("link");return Promise.all(i.map(r=>{if(r=dm(r,s),r in pa)return;pa[r]=!0;const a=r.endsWith(".css"),o=a?'[rel="stylesheet"]':"";if(!!s)for(let c=n.length-1;c>=0;c--){const u=n[c];if(u.href===r&&(!a||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${o}`))return;const l=document.createElement("link");if(l.rel=a?"stylesheet":um,a||(l.as="script",l.crossOrigin=""),l.href=r,document.head.appendChild(l),a)return new Promise((c,u)=>{l.addEventListener("load",c),l.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t()).catch(r=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=r,window.dispatchEvent(a),!a.defaultPrevented)throw r})},fm="@open-pioneer/basemap-switcher",gm=th.bind(void 0,fm),or="___NO_BASEMAP___",Lm=K.forwardRef(function(t,i){const s=gm(),{mapId:n,className:r,noneBasemap:a,label:o=s.formatMessage({id:"defaultLabel"}),...h}=t,l=s.formatMessage({id:"noneBasemapLabel"}),{map:c}=oo(n),u=_m(c),{selectOptions:d,selectedId:f}=K.useMemo(()=>mm({baseLayers:u,noneBasemap:a,noneBasemapLabel:l}),[u,a,l]),g=_=>{c?.layers.activateBaseLayer(_===or?void 0:_)};return Kt.jsx(Ea,{className:Wn("basemap-switcher",r),ref:i,...h,children:c?Kt.jsxs(eh,{display:"flex",alignItems:"center",children:[Kt.jsx(ih,{className:"basemap-switcher-label",children:o}),Kt.jsx(sh,{className:"basemap-switcher-select",value:f,onChange:_=>g(_.target.value),"aria-label":o,children:d.map(_=>Kt.jsx("option",{value:_.id,children:_.label},_.id))})]}):""})});function _m(e){const t=K.useRef(),i=K.useCallback(n=>{if(t.current=void 0,!e)return()=>{};const r=e.layers.on("changed",()=>{t.current=void 0,n()});return()=>r.destroy()},[e]),s=K.useCallback(()=>t.current?t.current:t.current=e?.layers.getBaseLayers()??[],[e]);return K.useSyncExternalStore(i,s)}function mm(e){const{baseLayers:t=[],noneBasemap:i=!1,noneBasemapLabel:s}=e,n=t.map(a=>({id:a.id,label:a.title}));let r=t.find(a=>a.visible)?.id;return(i||r==null)&&n.push(ym(s)),r==null&&(r=or),{selectOptions:n,selectedId:r}}function ym(e){return{id:or,label:e}}export{Lm as B,nr as C,Sm as M,Xc as O,Ra as P,vc as T,bm as W,Am as _,ht as a,qh as b,wh as c,wr as d,Cm as e,Rm as f,br as g,Tm as h,oo as i,Wn as j,Ws as k,bi as l,Im as m,wm as n,Rt as p,He as u}; diff --git a/openlayers-base-packages/assets/6c1521f9e89c.js b/openlayers-base-packages/assets/6c1521f9e89c.js new file mode 100644 index 000000000..f9ca83906 --- /dev/null +++ b/openlayers-base-packages/assets/6c1521f9e89c.js @@ -0,0 +1,2 @@ +import{k as g,r as m,j as o,T as x,B as p,n as v}from"./559aa200cabb.js";import{W as h,h as f,T as b,O as w,M as y,_ as k,m as z,n as M,B as _,i as c}from"./68d68bd8d97a.js";import{F as u}from"./aeff6946d221.js";import{B as d}from"./4e5f68cd39b9.js";import{S as B}from"./886fe85b01f2.js";class j extends h{constructor(l){const r=[-380316598427299e-8,880590808284866e-8],a=[4891.96981025128,2445.98490512564,1222.99245256282,611.49622628141,305.748113140705,152.874056570353,76.4370282851763,38.2185141425881,19.1092570712941,9.55462853564703,4.77731426782352,2.38865713391176,1.19432856695588,.59716428347794],n=new Array(a.length);for(let t=0;tDatenquellen`})}}const s="main";class I{mapId=s;async getMapConfig(){return{initialView:{kind:"position",center:{x:404747,y:5757920},zoom:14},layers:[{title:"OSM",isBaseLayer:!0,layer:new b({source:new w})}]}}}const S={"basemap-switcher-app":{name:"basemap-switcher-app",services:{MapConfigProviderImpl:{name:"MapConfigProviderImpl",clazz:I,provides:[{name:"map.MapConfigProvider",qualifier:void 0}],references:{}}},ui:{references:[]},properties:{}},"@open-pioneer/chakra-integration":{name:"@open-pioneer/chakra-integration",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime":{name:"@open-pioneer/runtime",services:{},ui:{references:[]},properties:{}},"@open-pioneer/core":{name:"@open-pioneer/core",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime-react-support":{name:"@open-pioneer/runtime-react-support",services:{},ui:{references:[]},properties:{}},"@open-pioneer/map":{name:"@open-pioneer/map",services:{MapRegistryImpl:{name:"MapRegistryImpl",clazz:y,provides:[{name:"map.MapRegistry",qualifier:void 0}],references:{providers:{name:"map.MapConfigProvider",qualifier:void 0,all:!0}}}},ui:{references:[{name:"map.MapRegistry",qualifier:void 0,all:!1}]},properties:{}},"@open-pioneer/basemap-switcher":{name:"@open-pioneer/basemap-switcher",services:{},ui:{references:[]},properties:{}},"@open-pioneer/test-utils":{name:"@open-pioneer/test-utils",services:{},ui:{references:[]},properties:{}},"@open-pioneer/map-test-utils":{name:"@open-pioneer/map-test-utils",services:{},ui:{references:[]},properties:{}}},T=`:root,:host{--ol-background-color: white;--ol-accent-background-color: #F5F5F5;--ol-subtle-background-color: rgba(128, 128, 128, .25);--ol-partial-background-color: rgba(255, 255, 255, .75);--ol-foreground-color: #333333;--ol-subtle-foreground-color: #666666;--ol-brand-color: #00AAFF}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:10px;z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{position:absolute;font-size:12px;text-align:center;bottom:25px;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset;overflow:hidden}.ol-viewport{touch-action:none}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move} +`,C=["en"];function P(e){switch(e){case"en":return k(()=>import("./9f99b4cf44f2.js"),[],import.meta.url).then(l=>l.default)}throw new Error(`Unsupported locale: '${e}'`)}const L=g(T),A=Object.freeze(Object.defineProperty({__proto__:null,loadMessages:P,locales:C,packages:S,styles:L},Symbol.toStringTag,{value:"Module"}));function R(){const e=m.useRef(null);return o.jsxs(u,{height:"100%",direction:"column",overflow:"hidden",children:[o.jsx(d,{textAlign:"center",py:1,px:1,children:"Open Pioneer - Basemap Switcher"}),o.jsx(u,{flex:"1",direction:"column",position:"relative",children:o.jsx(z,{mapId:s,children:o.jsx(M,{position:"top-left",horizontalGap:10,verticalGap:10,children:o.jsxs(d,{backgroundColor:"whiteAlpha.800",borderWidth:"1px",borderRadius:"lg",padding:2,boxShadow:"lg",children:[o.jsx(_,{ref:e,noneBasemap:!0,mapId:s}),o.jsxs(B,{pt:5,children:[o.jsx(x,{align:"center",children:"Test Controls:"}),o.jsx(E,{mapId:s}),o.jsx(O,{mapId:s}),o.jsx(F,{mapId:s})]})]})})})})]})}function E(e){const{mapId:l}=e,{map:r}=c(l),a=m.useRef(1),n=()=>{if(!r)return;const i=a.current++,t=r.layers.createLayer({title:`New Layer ${i}`,isBaseLayer:!0,layer:new b({source:new j({layer:"web_grau"})})});console.log("generated base layer with id",t.id)};return o.jsx(p,{onClick:n,children:"Add base layer"})}function O(e){const{mapId:l}=e,{map:r}=c(l),a=()=>{if(!r)return;const n=r.layers.getAllLayers();if(n.length===0){console.error("There is no base layer");return}const i=Math.floor(Math.random()*n.length),t=n[i];if(!t){console.error("Failed to find a layer");return}console.log("activating base layer",t.id),r.layers.activateBaseLayer(t.id)};return o.jsx(p,{onClick:a,children:"Activate random base layer"})}function F(e){const{mapId:l}=e,{map:r}=c(l),a=()=>{r&&(console.log("setting active base layer to undefined"),r.layers.activateBaseLayer(void 0))};return o.jsx(p,{onClick:a,children:"Clear base layer"})}const q=v({component:R,appMetadata:A});customElements.define("basemap-switcher-app",q); diff --git a/openlayers-base-packages/assets/7956058732d8.js b/openlayers-base-packages/assets/7956058732d8.js new file mode 100644 index 000000000..9b73acf9c --- /dev/null +++ b/openlayers-base-packages/assets/7956058732d8.js @@ -0,0 +1,2 @@ +import{u as F,r as d,j as u,A as en,m as tn,c as nn,f as D,B as se,a as on,b as B,d as rn,e as we,g as Ct,h as sn,o as an,i as ln,k as cn,l as U,F as ie,C as un,T as Et,R as A,n as dn}from"./559aa200cabb.js";import{g as Ie,u as Le,a as Se,b as pn,P as fn,c as hn,d as mn,e as gn,f as st,p as at,T as ee,O as vn,W as bn,h as xn,M as yn,_ as lt,i as O,j as Ae,C as wn,k as Sn,l as kn,m as Cn,n as ke,B as En}from"./68d68bd8d97a.js";import{c as ae,C as _n}from"./4e207bef7341.js";import{F as L}from"./aeff6946d221.js";import{B as N}from"./4e5f68cd39b9.js";function Pn(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Mn=Pn();const _t=1/60*1e3,Tn=typeof performance<"u"?()=>performance.now():()=>Date.now(),Pt=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(Tn()),_t);function jn(e){let t=[],n=[],o=0,r=!1,s=!1;const i=new WeakSet,a={schedule:(l,c=!1,p=!1)=>{const f=p&&r,m=f?t:n;return c&&i.add(l),m.indexOf(l)===-1&&(m.push(l),f&&r&&(o=t.length)),l},cancel:l=>{const c=n.indexOf(l);c!==-1&&n.splice(c,1),i.delete(l)},process:l=>{if(r){s=!0;return}if(r=!0,[t,n]=[n,t],n.length=0,o=t.length,o)for(let c=0;c(e[t]=jn(()=>Z=!0),e),{}),Rn=X.reduce((e,t)=>{const n=le[t];return e[t]=(o,r=!1,s=!1)=>(Z||Ln(),n.schedule(o,r,s)),e},{}),Nn=X.reduce((e,t)=>(e[t]=le[t].cancel,e),{});X.reduce((e,t)=>(e[t]=()=>le[t].process($),e),{});const zn=e=>le[e].process($),Mt=e=>{Z=!1,$.delta=Re?_t:Math.max(Math.min(e-$.timestamp,In),1),$.timestamp=e,Ne=!0,X.forEach(zn),Ne=!1,Z&&(Re=!1,Pt(Mt))},Ln=()=>{Z=!0,Re=!0,Ne||Pt(Mt)},ct=()=>$;function An(e){const{value:t,defaultValue:n,onChange:o,shouldUpdate:r=(m,b)=>m!==b}=e,s=F(o),i=F(r),[a,l]=d.useState(n),c=t!==void 0,p=c?t:a,f=F(m=>{const x=typeof m=="function"?m(p):m;i(p,x)&&(c||l(x),s(x))},[c,s,p,i]);return[p,f]}var ut={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},dt={enter:{duration:.2,ease:ut.easeOut},exit:{duration:.1,ease:ut.easeIn}},pt={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t?.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t?.exit})},On={exit:({reverse:e,initialScale:t,transition:n,transitionEnd:o,delay:r})=>{var s;return{opacity:0,...e?{scale:t,transitionEnd:o?.exit}:{transitionEnd:{scale:t,...o?.exit}},transition:(s=n?.exit)!=null?s:pt.exit(dt.exit,r)}},enter:({transitionEnd:e,transition:t,delay:n})=>{var o;return{opacity:1,scale:1,transition:(o=t?.enter)!=null?o:pt.enter(dt.enter,n),transitionEnd:e?.enter}}},Vn={initial:"exit",animate:"enter",exit:"exit",variants:On},Tt=d.forwardRef(function(t,n){const{unmountOnExit:o,in:r,reverse:s=!0,initialScale:i=.95,className:a,transition:l,transitionEnd:c,delay:p,...f}=t,m=o?r&&o:!0,b=r||o?"enter":"exit",x={initialScale:i,reverse:s,transition:l,transitionEnd:c,delay:p};return u.jsx(en,{custom:x,children:m&&u.jsx(tn.div,{ref:n,className:nn("chakra-offset-slide",a),...Vn,animate:b,custom:x,...f})})});Tt.displayName="ScaleFade";var Y=D((e,t)=>{const{icon:n,children:o,isRound:r,"aria-label":s,...i}=e,a=n||o,l=d.isValidElement(a)?d.cloneElement(a,{"aria-hidden":!0,focusable:!1}):null;return u.jsx(se,{padding:"0",borderRadius:r?"full":void 0,ref:t,"aria-label":s,...i,children:l})});Y.displayName="IconButton";function Fn(e){const t=parseFloat(e);return typeof t!="number"||Number.isNaN(t)?0:t}function $n(e,t){let n=Fn(e);const o=10**(t??10);return n=Math.round(n*o)/o,t?n.toFixed(t):n.toString()}function Dn(e){if(!Number.isFinite(e))return 0;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n+=1;return n}function ft(e,t,n){return(e-t)*100/(n-t)}function Bn(e,t,n){return(n-t)*e+t}function ht(e,t,n){const o=Math.round((e-t)/n)*n+t,r=Dn(n);return $n(o,r)}function Ce(e,t,n){return e==null?e:(n{n.current=e}),d.useCallback((...o)=>{var r;return(r=n.current)==null?void 0:r.call(n,...o)},t)}function Wn(e,t){const n=d.useId();return d.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function Gn(e,t){const n=e!==void 0;return[n,n&&typeof e<"u"?e:t]}function gt(e={}){const{onClose:t,onOpen:n,isOpen:o,id:r}=e,s=mt(n),i=mt(t),[a,l]=d.useState(e.defaultIsOpen||!1),[c,p]=Gn(o,a),f=Wn(r,"disclosure"),m=d.useCallback(()=>{c||l(!1),i?.()},[c,i]),b=d.useCallback(()=>{c||l(!0),s?.()},[c,s]),x=d.useCallback(()=>{(p?m:b)()},[p,b,m]);return{isOpen:!!p,onOpen:b,onClose:m,onToggle:x,isControlled:c,getButtonProps:(g={})=>({...g,"aria-expanded":p,"aria-controls":f,onClick:on(g.onClick,x)}),getDisclosureProps:(g={})=>({...g,hidden:!p,id:f})}}var ze=B("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});ze.displayName="Spacer";var V=e=>e?"":void 0,Ee=e=>e?!0:void 0,J=(...e)=>e.filter(Boolean).join(" ");function _e(...e){return function(n){e.some(o=>(o?.(n),n?.defaultPrevented))}}function te(e){const{orientation:t,vertical:n,horizontal:o}=e;return t==="vertical"?n:o}var oe={width:0,height:0},ne=e=>e||oe;function Hn(e){const{orientation:t,thumbPercents:n,thumbRects:o,isReversed:r}=e,s=g=>{var w;const P=(w=o[g])!=null?w:oe;return{position:"absolute",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",touchAction:"none",...te({orientation:t,vertical:{bottom:`calc(${n[g]}% - ${P.height/2}px)`},horizontal:{left:`calc(${n[g]}% - ${P.width/2}px)`}})}},i=t==="vertical"?o.reduce((g,w)=>ne(g).height>ne(w).height?g:w,oe):o.reduce((g,w)=>ne(g).width>ne(w).width?g:w,oe),a={position:"relative",touchAction:"none",WebkitTapHighlightColor:"rgba(0,0,0,0)",userSelect:"none",outline:0,...te({orientation:t,vertical:i?{paddingLeft:i.width/2,paddingRight:i.width/2}:{},horizontal:i?{paddingTop:i.height/2,paddingBottom:i.height/2}:{}})},l={position:"absolute",...te({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",height:"100%"},horizontal:{top:"50%",transform:"translateY(-50%)",width:"100%"}})},c=n.length===1,p=[0,r?100-n[0]:n[0]],f=c?p:n;let m=f[0];!c&&r&&(m=100-m);const b=Math.abs(f[f.length-1]-f[0]),x={...l,...te({orientation:t,vertical:r?{height:`${b}%`,top:`${m}%`}:{height:`${b}%`,bottom:`${m}%`},horizontal:r?{width:`${b}%`,right:`${m}%`}:{width:`${b}%`,left:`${m}%`}})};return{trackStyle:l,innerTrackStyle:x,rootStyle:a,getThumbStyle:s}}function qn(e){const{isReversed:t,direction:n,orientation:o}=e;return n==="ltr"||o==="vertical"?t:!t}function Kn(e,t,n,o){return e.addEventListener(t,n,o),()=>{e.removeEventListener(t,n,o)}}function Zn(e){const t=Xn(e);return typeof t.PointerEvent<"u"&&e instanceof t.PointerEvent?e.pointerType==="mouse":e instanceof t.MouseEvent}function jt(e){return!!e.touches}function Yn(e){return jt(e)&&e.touches.length>1}function Xn(e){var t;return(t=e.view)!=null?t:window}function Jn(e,t="page"){const n=e.touches[0]||e.changedTouches[0];return{x:n[`${t}X`],y:n[`${t}Y`]}}function Qn(e,t="page"){return{x:e[`${t}X`],y:e[`${t}Y`]}}function It(e,t="page"){return jt(e)?Jn(e,t):Qn(e,t)}function eo(e){return t=>{const n=Zn(t);(!n||n&&t.button===0)&&e(t)}}function to(e,t=!1){function n(r){e(r,{point:It(r)})}return t?eo(n):n}function re(e,t,n,o){return Kn(e,t,to(n,t==="pointerdown"),o)}var no=Object.defineProperty,oo=(e,t,n)=>t in e?no(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,E=(e,t,n)=>(oo(e,typeof t!="symbol"?t+"":t,n),n),ro=class{constructor(e,t,n){E(this,"history",[]),E(this,"startEvent",null),E(this,"lastEvent",null),E(this,"lastEventInfo",null),E(this,"handlers",{}),E(this,"removeListeners",()=>{}),E(this,"threshold",3),E(this,"win"),E(this,"updatePoint",()=>{if(!(this.lastEvent&&this.lastEventInfo))return;const a=Pe(this.lastEventInfo,this.history),l=this.startEvent!==null,c=lo(a.offset,{x:0,y:0})>=this.threshold;if(!l&&!c)return;const{timestamp:p}=ct();this.history.push({...a.point,timestamp:p});const{onStart:f,onMove:m}=this.handlers;l||(f?.(this.lastEvent,a),this.startEvent=this.lastEvent),m?.(this.lastEvent,a)}),E(this,"onPointerMove",(a,l)=>{this.lastEvent=a,this.lastEventInfo=l,Rn.update(this.updatePoint,!0)}),E(this,"onPointerUp",(a,l)=>{const c=Pe(l,this.history),{onEnd:p,onSessionEnd:f}=this.handlers;f?.(a,c),this.end(),!(!p||!this.startEvent)&&p?.(a,c)});var o;if(this.win=(o=e.view)!=null?o:window,Yn(e))return;this.handlers=t,n&&(this.threshold=n),e.stopPropagation(),e.preventDefault();const r={point:It(e)},{timestamp:s}=ct();this.history=[{...r.point,timestamp:s}];const{onSessionStart:i}=t;i?.(e,Pe(r,this.history)),this.removeListeners=ao(re(this.win,"pointermove",this.onPointerMove),re(this.win,"pointerup",this.onPointerUp),re(this.win,"pointercancel",this.onPointerUp))}updateHandlers(e){this.handlers=e}end(){var e;(e=this.removeListeners)==null||e.call(this),Nn.update(this.updatePoint)}};function vt(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Pe(e,t){return{point:e.point,delta:vt(e.point,t[t.length-1]),offset:vt(e.point,t[0]),velocity:so(t,.1)}}var io=e=>e*1e3;function so(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const r=e[e.length-1];for(;n>=0&&(o=e[n],!(r.timestamp-o.timestamp>io(t)));)n--;if(!o)return{x:0,y:0};const s=(r.timestamp-o.timestamp)/1e3;if(s===0)return{x:0,y:0};const i={x:(r.x-o.x)/s,y:(r.y-o.y)/s};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function ao(...e){return t=>e.reduce((n,o)=>o(n),t)}function Me(e,t){return Math.abs(e-t)}function bt(e){return"x"in e&&"y"in e}function lo(e,t){if(typeof e=="number"&&typeof t=="number")return Me(e,t);if(bt(e)&&bt(t)){const n=Me(e.x,t.x),o=Me(e.y,t.y);return Math.sqrt(n**2+o**2)}return 0}function Rt(e){const t=d.useRef(null);return t.current=e,t}function co(e,t){const{onPan:n,onPanStart:o,onPanEnd:r,onPanSessionStart:s,onPanSessionEnd:i,threshold:a}=t,l=!!(n||o||r||s||i),c=d.useRef(null),p=Rt({onSessionStart:s,onSessionEnd:i,onStart:o,onMove:n,onEnd(f,m){c.current=null,r?.(f,m)}});d.useEffect(()=>{var f;(f=c.current)==null||f.updateHandlers(p.current)}),d.useEffect(()=>{const f=e.current;if(!f||!l)return;function m(b){c.current=new ro(b,p.current,a)}return re(f,"pointerdown",m)},[e,l,p,a]),d.useEffect(()=>()=>{var f;(f=c.current)==null||f.end(),c.current=null},[])}function uo(e,t){if(!e){t(void 0);return}t({width:e.offsetWidth,height:e.offsetHeight});const n=e.ownerDocument.defaultView??window,o=new n.ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const[s]=r;let i,a;if("borderBoxSize"in s){const l=s.borderBoxSize,c=Array.isArray(l)?l[0]:l;i=c.inlineSize,a=c.blockSize}else i=e.offsetWidth,a=e.offsetHeight;t({width:i,height:a})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}var po=globalThis?.document?d.useLayoutEffect:d.useEffect;function fo(e,t){var n,o;if(!e||!e.parentElement)return;const r=(o=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?o:window,s=new r.MutationObserver(()=>{t()});return s.observe(e.parentElement,{childList:!0}),()=>{s.disconnect()}}function ho({getNodes:e,observeMutation:t=!0}){const[n,o]=d.useState([]),[r,s]=d.useState(0);return po(()=>{const i=e(),a=i.map((l,c)=>uo(l,p=>{o(f=>[...f.slice(0,c),p,...f.slice(c+1)])}));if(t){const l=i[0];a.push(fo(l,()=>{s(c=>c+1)}))}return()=>{a.forEach(l=>{l?.()})}},[r]),n}function mo(e){return typeof e=="object"&&e!==null&&"current"in e}function go(e){const[t]=ho({observeMutation:!1,getNodes(){return[mo(e)?e.current:e]}});return t}function vo(e){var t;const{min:n=0,max:o=100,onChange:r,value:s,defaultValue:i,isReversed:a,direction:l="ltr",orientation:c="horizontal",id:p,isDisabled:f,isReadOnly:m,onChangeStart:b,onChangeEnd:x,step:g=1,getAriaValueText:w,"aria-valuetext":P,"aria-label":M,"aria-labelledby":j,name:De,focusThumbOnChange:$t=!0,...Be}=e,Ue=F(b),W=F(x),We=F(w),C=qn({isReversed:a,direction:l,orientation:c}),[Dt,de]=An({value:s,defaultValue:i??xo(n,o),onChange:r}),[pe,Ge]=d.useState(!1),[fe,He]=d.useState(!1),he=!(f||m),me=(o-n)/10,G=g||(o-n)/100,y=Ce(Dt,n,o),Bt=o-y+n,qe=ft(C?Bt:y,n,o),Q=c==="vertical",S=Rt({min:n,max:o,step:g,isDisabled:f,value:y,isInteractive:he,isReversed:C,isVertical:Q,eventSource:null,focusThumbOnChange:$t,orientation:c}),ge=d.useRef(null),ve=d.useRef(null),Ke=d.useRef(null),Ut=d.useId(),Ze=p??Ut,[Ye,Xe]=[`slider-thumb-${Ze}`,`slider-track-${Ze}`],Wt=d.useCallback(h=>{var v,H;if(!ge.current)return;const k=S.current;k.eventSource="pointer";const T=ge.current.getBoundingClientRect(),{clientX:xe,clientY:Xt}=(H=(v=h.touches)==null?void 0:v[0])!=null?H:h,Jt=Q?T.bottom-Xt:xe-T.left,Qt=Q?T.height:T.width;let ye=Jt/Qt;C&&(ye=1-ye);let q=Bn(ye,k.min,k.max);return k.step&&(q=parseFloat(ht(q,k.min,k.step))),q=Ce(q,k.min,k.max),q},[Q,C,S]),I=d.useCallback(h=>{const v=S.current;v.isInteractive&&(h=parseFloat(ht(h,v.min,G)),h=Ce(h,v.min,v.max),de(h))},[G,de,S]),R=d.useMemo(()=>({stepUp(h=G){const v=C?y-h:y+h;I(v)},stepDown(h=G){const v=C?y+h:y-h;I(v)},reset(){I(i||0)},stepTo(h){I(h)}}),[I,C,y,G,i]),Je=d.useCallback(h=>{const v=S.current,k={ArrowRight:()=>R.stepUp(),ArrowUp:()=>R.stepUp(),ArrowLeft:()=>R.stepDown(),ArrowDown:()=>R.stepDown(),PageUp:()=>R.stepUp(me),PageDown:()=>R.stepDown(me),Home:()=>I(v.min),End:()=>I(v.max)}[h.key];k&&(h.preventDefault(),h.stopPropagation(),k(h),v.eventSource="keyboard")},[R,I,me,S]),Qe=(t=We?.(y))!=null?t:P,be=go(ve),{getThumbStyle:et,rootStyle:tt,trackStyle:nt,innerTrackStyle:ot}=d.useMemo(()=>{const h=S.current,v=be??{width:0,height:0};return Hn({isReversed:C,orientation:h.orientation,thumbRects:[v],thumbPercents:[qe]})},[C,be,qe,S]),rt=d.useCallback(()=>{S.current.focusThumbOnChange&&setTimeout(()=>{var v;return(v=ve.current)==null?void 0:v.focus()})},[S]);rn(()=>{const h=S.current;rt(),h.eventSource==="keyboard"&&W?.(h.value)},[y,W]);function it(h){const v=Wt(h);v!=null&&v!==S.current.value&&de(v)}co(Ke,{onPanSessionStart(h){const v=S.current;v.isInteractive&&(Ge(!0),rt(),it(h),Ue?.(v.value))},onPanSessionEnd(){const h=S.current;h.isInteractive&&(Ge(!1),W?.(h.value))},onPan(h){S.current.isInteractive&&it(h)}});const Gt=d.useCallback((h={},v=null)=>({...h,...Be,ref:we(v,Ke),tabIndex:-1,"aria-disabled":Ee(f),"data-focused":V(fe),style:{...h.style,...tt}}),[Be,f,fe,tt]),Ht=d.useCallback((h={},v=null)=>({...h,ref:we(v,ge),id:Xe,"data-disabled":V(f),style:{...h.style,...nt}}),[f,Xe,nt]),qt=d.useCallback((h={},v=null)=>({...h,ref:v,style:{...h.style,...ot}}),[ot]),Kt=d.useCallback((h={},v=null)=>({...h,ref:we(v,ve),role:"slider",tabIndex:he?0:void 0,id:Ye,"data-active":V(pe),"aria-valuetext":Qe,"aria-valuemin":n,"aria-valuemax":o,"aria-valuenow":y,"aria-orientation":c,"aria-disabled":Ee(f),"aria-readonly":Ee(m),"aria-label":M,"aria-labelledby":M?void 0:j,style:{...h.style,...et(0)},onKeyDown:_e(h.onKeyDown,Je),onFocus:_e(h.onFocus,()=>He(!0)),onBlur:_e(h.onBlur,()=>He(!1))}),[he,Ye,pe,Qe,n,o,y,c,f,m,M,j,et,Je]),Zt=d.useCallback((h,v=null)=>{const H=!(h.valueo),k=y>=h.value,T=ft(h.value,n,o),xe={position:"absolute",pointerEvents:"none",...bo({orientation:c,vertical:{bottom:C?`${100-T}%`:`${T}%`},horizontal:{left:C?`${100-T}%`:`${T}%`}})};return{...h,ref:v,role:"presentation","aria-hidden":!0,"data-disabled":V(f),"data-invalid":V(!H),"data-highlighted":V(k),style:{...h.style,...xe}}},[f,C,o,n,c,y]),Yt=d.useCallback((h={},v=null)=>({...h,ref:v,type:"hidden",value:y,name:De}),[De,y]);return{state:{value:y,isFocused:fe,isDragging:pe},actions:R,getRootProps:Gt,getTrackProps:Ht,getInnerTrackProps:qt,getThumbProps:Kt,getMarkerProps:Zt,getInputProps:Yt}}function bo(e){const{orientation:t,vertical:n,horizontal:o}=e;return t==="vertical"?n:o}function xo(e,t){return t"}),[wo,ue]=Ct({name:"SliderStylesContext",hookName:"useSliderStyles",providerName:""}),Nt=D((e,t)=>{var n;const o={...e,orientation:(n=e?.orientation)!=null?n:"horizontal"},r=sn("Slider",o),s=an(o),{direction:i}=ln();s.direction=i;const{getInputProps:a,getRootProps:l,...c}=vo(s),p=l(),f=a({},t);return u.jsx(yo,{value:c,children:u.jsx(wo,{value:r,children:u.jsxs(B.div,{...p,className:J("chakra-slider",o.className),__css:r.container,children:[o.children,u.jsx("input",{...f})]})})})});Nt.displayName="Slider";var zt=D((e,t)=>{const{getThumbProps:n}=ce(),o=ue(),r=n(e,t);return u.jsx(B.div,{...r,className:J("chakra-slider__thumb",e.className),__css:o.thumb})});zt.displayName="SliderThumb";var Lt=D((e,t)=>{const{getTrackProps:n}=ce(),o=ue(),r=n(e,t);return u.jsx(B.div,{...r,className:J("chakra-slider__track",e.className),__css:o.track})});Lt.displayName="SliderTrack";var At=D((e,t)=>{const{getInnerTrackProps:n}=ce(),o=ue(),r=n(e,t);return u.jsx(B.div,{...r,className:J("chakra-slider__filled-track",e.className),__css:o.filledTrack})});At.displayName="SliderFilledTrack";var So=D((e,t)=>{const{getMarkerProps:n}=ce(),o=ue(),r=n(e,t);return u.jsx(B.div,{...r,className:J("chakra-slider__marker",e.className),__css:o.mark})});So.displayName="SliderMark";const ko=25.4/.28,Co=39.37;function Oe(e){return Ve(e,Eo,_o)}function Eo(e){return e.getView()}function _o(e,t){return e.on("change:view",t)}function Ot(e){return Oe(e)?.getProjection()}function Po(e){const t=Oe(e);return Ve(t,Mo,To)}function Mo(e){return e.getResolution()}function To(e,t){return e.on("change:resolution",t)}function jo(e){const t=Oe(e);return Ve(t,Io,Ro)}function Io(e){return e.getCenter()}function Ro(e,t){return e.on("change:center",t)}function No(e){const t=jo(e),n=Po(e),o=Ot(e);return d.useMemo(()=>{if(o==null||n==null||t==null)return;const s=Ie(o,n,t);return Math.round(s*Co*ko)},[o,n,t])}function Ve(e,t,n){const o=d.useCallback(()=>e?t(e):void 0,[e,t]),r=d.useCallback(s=>{if(!e)return()=>{};const i=n(e,s);return()=>Le(i)},[e,n]);return d.useSyncExternalStore(r,o)}var zo=function(e){return(e+1)%1e6};function Lo(){var e=d.useReducer(zo,0),t=e[1];return t}function Ao(e,t){t===void 0&&(t=0);var n=d.useRef(!1),o=d.useRef(),r=d.useRef(e),s=d.useCallback(function(){return n.current},[]),i=d.useCallback(function(){n.current=!1,o.current&&clearTimeout(o.current),o.current=setTimeout(function(){n.current=!0,r.current()},t)},[t]),a=d.useCallback(function(){n.current=null,o.current&&clearTimeout(o.current)},[]);return d.useEffect(function(){r.current=e},[e]),d.useEffect(function(){return i(),a},[t]),[s,a,i]}function Oo(e){e===void 0&&(e=0);var t=Lo();return Ao(t,e)}let Vo=null;function Fo(e){Vo=e;const t=Object.keys(e.defs),n=t.length;let o,r;for(o=0;oDatenquellen`})}class Bo{constructor({properties:t}){const n=t.logLevel;console.debug("Log Service created with log level",n)}destroy(){console.debug("Log Service destroyed")}log(t){console.info("LOG: "+t)}}const Uo={"ol-map":{name:"ol-map",services:{MapConfigProviderImpl:{name:"MapConfigProviderImpl",clazz:Do,provides:[{name:"map.MapConfigProvider",qualifier:void 0}],references:{}}},ui:{references:[{name:"map-sample-logging.LogService",qualifier:void 0,all:!1},{name:"map.MapRegistry",qualifier:void 0,all:!1}]},properties:{}},"@open-pioneer/chakra-integration":{name:"@open-pioneer/chakra-integration",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime":{name:"@open-pioneer/runtime",services:{},ui:{references:[]},properties:{}},"@open-pioneer/core":{name:"@open-pioneer/core",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime-react-support":{name:"@open-pioneer/runtime-react-support",services:{},ui:{references:[]},properties:{}},"@open-pioneer/map":{name:"@open-pioneer/map",services:{MapRegistryImpl:{name:"MapRegistryImpl",clazz:yn,provides:[{name:"map.MapRegistry",qualifier:void 0}],references:{providers:{name:"map.MapConfigProvider",qualifier:void 0,all:!0}}}},ui:{references:[{name:"map.MapRegistry",qualifier:void 0,all:!1}]},properties:{}},"@open-pioneer/coordinate-viewer":{name:"@open-pioneer/coordinate-viewer",services:{},ui:{references:[]},properties:{}},"@open-pioneer/scale-viewer":{name:"@open-pioneer/scale-viewer",services:{},ui:{references:[]},properties:{}},"map-sample-logging":{name:"map-sample-logging",services:{LogService:{name:"LogService",clazz:Bo,provides:[{name:"map-sample-logging.LogService",qualifier:void 0}],references:{}}},ui:{references:[]},properties:{logLevel:{value:"INFO",required:!1}}},"map-sample-scale-component":{name:"map-sample-scale-component",services:{},ui:{references:[]},properties:{}},"map-sample-zoom-component":{name:"map-sample-zoom-component",services:{},ui:{references:[]},properties:{}},"@open-pioneer/basemap-switcher":{name:"@open-pioneer/basemap-switcher",services:{},ui:{references:[]},properties:{}},"@open-pioneer/experimental-layout-sidebar":{name:"@open-pioneer/experimental-layout-sidebar",services:{},ui:{references:[]},properties:{}},"@open-pioneer/experimental-ol-layer-control":{name:"@open-pioneer/experimental-ol-layer-control",services:{},ui:{references:[]},properties:{}},"@open-pioneer/initial-extent":{name:"@open-pioneer/initial-extent",services:{},ui:{references:[]},properties:{}},"@open-pioneer/test-utils":{name:"@open-pioneer/test-utils",services:{},ui:{references:[]},properties:{}},"@open-pioneer/map-test-utils":{name:"@open-pioneer/map-test-utils",services:{},ui:{references:[]},properties:{}}},Wo=`.sidebar{height:100%;position:absolute;top:0;background-color:#ffffffb3;transition:width .3s ease-out 0s}:root,:host{--ol-background-color: white;--ol-accent-background-color: #F5F5F5;--ol-subtle-background-color: rgba(128, 128, 128, .25);--ol-partial-background-color: rgba(255, 255, 255, .75);--ol-foreground-color: #333333;--ol-subtle-foreground-color: #666666;--ol-brand-color: #00AAFF}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:10px;z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{position:absolute;font-size:12px;text-align:center;bottom:25px;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset;overflow:hidden}.ol-viewport{touch-action:none}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.scale-wrapper .ol-scale-line{position:relative;bottom:0;left:0;background:none}.scale-wrapper .ol-scale-line .ol-scale-line-inner{color:var(--chakra-white);border-color:var(--chakra-white)}.layout-sidebar{height:100%;position:absolute;top:0}.layout-sidebar[data-theme=light]{background-color:var(--chakra-colors-whiteAlpha-700)}.layout-sidebar[data-theme=dark]{background-color:var(--chakra-colors-blackAlpha-700)}.layout-sidebar .layout-sidebar-main{transition:width .3s ease-out 0s;border-right:1px solid var(--chakra-colors-chakra-border-color)}.layout-sidebar .layout-sidebar-content{overflow:auto;transition:width .3s ease-out 0s}.layout-sidebar .layout-sidebar-content .content-section .content-header{font-size:1.5em;background-color:var(--chakra-colors-blackAlpha-500);padding:.5rem 1rem}.layout-sidebar .layout-sidebar-content .content-section .content-body{padding:1rem} +`,Go=["en","de"];function Ho(e){switch(e){case"en":return lt(()=>import("./b5416f0a0657.js"),[],import.meta.url).then(t=>t.default);case"de":return lt(()=>import("./ff372f06cb31.js"),[],import.meta.url).then(t=>t.default)}throw new Error(`Unsupported locale: '${e}'`)}const qo=cn(Wo),Ko=Object.freeze(Object.defineProperty({__proto__:null,loadMessages:Ho,locales:Go,packages:Uo,styles:qo},Symbol.toStringTag,{value:"Module"}));var Zo=ae({displayName:"MinusIcon",path:u.jsx("g",{fill:"currentColor",children:u.jsx("rect",{height:"4",width:"20",x:"2",y:"10"})})}),Yo=ae({d:"M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z",displayName:"AddIcon"}),Xo=ae({displayName:"ArrowLeftIcon",path:u.jsxs("g",{fill:"currentColor",children:[u.jsx("path",{d:"M10.416,12a2.643,2.643,0,0,1,.775-1.875L20.732.584a1.768,1.768,0,0,1,2.5,2.5l-8.739,8.739a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5l-9.541-9.541A2.643,2.643,0,0,1,10.416,12Z"}),u.jsx("path",{d:"M.25,12a2.643,2.643,0,0,1,.775-1.875L10.566.584a1.768,1.768,0,0,1,2.5,2.5L4.327,11.823a.25.25,0,0,0,0,.354l8.739,8.739a1.768,1.768,0,0,1-2.5,2.5L1.025,13.875A2.643,2.643,0,0,1,.25,12Z"})]})}),Jo=ae({displayName:"ArrowRightIcon",path:u.jsxs("g",{fill:"currentColor",children:[u.jsx("path",{d:"M13.584,12a2.643,2.643,0,0,1-.775,1.875L3.268,23.416a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L.768,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,13.584,12Z"}),u.jsx("path",{d:"M23.75,12a2.643,2.643,0,0,1-.775,1.875l-9.541,9.541a1.768,1.768,0,0,1-2.5-2.5l8.739-8.739a.25.25,0,0,0,0-.354L10.934,3.084a1.768,1.768,0,0,1,2.5-2.5l9.541,9.541A2.643,2.643,0,0,1,23.75,12Z"})]})});const Qo="@open-pioneer/experimental-layout-sidebar",er=U.bind(void 0,Qo),xt=60,yt=180,wt=300;function tr({defaultExpanded:e,expandedChanged:t,sidebarWidthChanged:n,items:o}){const r=er(),[s,{toggle:i}]=nr(o),{isOpen:a,onToggle:l}=gt({defaultIsOpen:e,onOpen(){t?.(!0)},onClose(){t?.(!1)}}),{isOpen:c,onToggle:p}=gt(),f=s.size>0;d.useEffect(()=>{f&&!c&&p(),!f&&c&&p()},[f]),d.useEffect(()=>{if(n){let g=xt;a&&(g=yt),c&&(g+=wt),n(g)}},[a,c]);const m=o?.map((g,w)=>{const P="white",M=s.has(g.id)?"outline":"ghost";return u.jsx("div",{children:a?u.jsx(se,{leftIcon:g.icon,variant:M,colorScheme:P,onClick:()=>i(g),children:g.label},g.id):u.jsx(ie,{hasArrow:!0,label:g.label,placement:"right",children:u.jsx(Y,{"aria-label":g.label,variant:M,colorScheme:P,icon:g.icon,onClick:()=>i(g)})},g.id)},w)}),b=o?.filter(g=>s.has(g.id)).map(g=>u.jsxs("div",{className:"content-section",children:[u.jsxs(L,{className:"content-header",alignItems:"center",children:[u.jsx(N,{children:g.label}),u.jsx(ze,{}),u.jsx(un,{onClick:()=>i(g)})]}),u.jsx("div",{className:"content-body",children:g.content})]},g.id)),x=r.formatMessage({id:a?"toggle.collapse":"toggle.expand"});return u.jsxs(L,{className:"layout-sidebar",children:[u.jsxs(N,{className:"layout-sidebar-main",display:"flex",flexDirection:"column",width:a?`${yt}px`:`${xt}px`,padding:"10px",gap:"10px",children:[m,u.jsx(ze,{}),u.jsx(ie,{label:x,hasArrow:!0,placement:"right",children:u.jsx(Y,{"aria-label":x,variant:"ghost",icon:a?u.jsx(Xo,{}):u.jsx(Jo,{}),onClick:l})})]}),u.jsx(N,{className:"layout-sidebar-content",width:c?`${wt}px`:"0px",children:b})]})}function nr(e){const[t,n]=d.useReducer((r,s)=>{switch(s.type){case"toggle":{const i=new Set(r);return i.has(s.id)?i.delete(s.id):i.add(s.id),i}case"retain":{const i=new Set(s.ids),a=new Set(r);for(const l of a)i.has(l)||a.delete(l);return a}}},void 0,()=>new Set),o=d.useCallback(r=>{n({type:"toggle",id:r.id})},[n]);return d.useEffect(()=>{n({type:"retain",ids:e?.map(r=>r.id)??[]})},[e,n]),[t,{toggle:o}]}const or="@open-pioneer/experimental-ol-layer-control",Fe=U.bind(void 0,or);function rr(e){const t=Fe(),n=O(e.mapId),[o]=Oo(100),r=n.kind!=="loading"||o()||!1;let s;switch(n.kind){case"loading":s=u.jsx("div",{children:t.formatMessage({id:"loading"})});break;case"rejected":s=u.jsxs("div",{children:[t.formatMessage({id:"error"})," ",n.error.message]});break;case"resolved":s=u.jsx(ir,{map:n.map,...e});break}return u.jsx(Tt,{className:"layer-control",in:r,children:s})}function ir(e){const{map:t,showOpacitySlider:n}=e,o=lr(t);return u.jsx("div",{className:"layer-list",children:o.map((r,s)=>u.jsxs("div",{className:"layer-entry",children:[u.jsx(sr,{layer:r}),n&&u.jsx(ar,{layer:r})]},s))})}function sr(e){const{layer:t}=e,n=Fe(),o=cr(t),r=dr(t)||n.formatMessage({id:"undefined-layer-title"}),s=()=>{t.setVisible(!o)};return u.jsx(_n,{className:"layer-select",size:"lg",isChecked:o,onChange:s,children:r})}function ar(e){const{layer:t}=e,n=Fe(),r=ur(t)*100,s=n.formatNumber(r,{maximumFractionDigits:2})+"%",[i,a]=d.useState(!1);return u.jsxs(Nt,{id:"slider",value:r,min:0,max:100,colorScheme:"teal",onChange:l=>t.olLayer.setOpacity(l/100),onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:[u.jsx(Lt,{children:u.jsx(At,{})}),u.jsx(ie,{hasArrow:!0,bg:"teal.500",color:"white",placement:"top",isOpen:i,label:s,children:u.jsx(zt,{bg:"teal.500"})})]})}function lr(e){const t=d.useRef(),n=d.useCallback(r=>{const s=e.layers.on("changed",()=>{t.current=void 0,r()});return()=>s.destroy()},[e]),o=d.useCallback(()=>t.current??=e.layers.getAllLayers().reverse(),[e]);return d.useSyncExternalStore(n,o)}function cr(e){const t=d.useCallback(o=>{const r=e.on("changed:visible",o);return()=>r.destroy()},[e]),n=d.useCallback(()=>e.visible,[e]);return d.useSyncExternalStore(t,n)}function ur(e){const t=d.useCallback(o=>{const r=e.olLayer.on("change:opacity",o);return()=>Le(r)},[e]),n=d.useCallback(()=>e.olLayer.getOpacity(),[e]);return d.useSyncExternalStore(t,n)}function dr(e){const t=d.useCallback(o=>{const r=e.on("changed:title",o);return()=>r.destroy()},[e]),n=d.useCallback(()=>e.title,[e]);return d.useSyncExternalStore(t,n)}const pr="@open-pioneer/coordinate-viewer",fr=U.bind(void 0,pr),hr=4,mr=d.forwardRef(function(t,n){const{mapId:o,className:r,precision:s,...i}=t,{map:a}=O(o),l=a?.olMap,{coordinates:c}=vr(l),p=gr(c,s),f=Ot(l)?.getCode()??"",m=p?p+" "+f:"";return u.jsx(N,{className:Ae("coordinate-viewer",r),ref:n,...i,children:u.jsx(Et,{className:"coordinate-viewer-text",children:m})})});function gr(e,t){const n=fr();return e?br(e,t,n):""}function vr(e){const[t,n]=d.useState();return d.useEffect(()=>{if(!e)return;const o=e.on("pointermove",r=>{n(r.coordinate)});return()=>Le(o)},[e]),{coordinates:t}}function br(e,t,n){if(e[0]==null||e[1]==null)return"";const o=t??hr,[r,s]=e,i=n.formatNumber(r,{maximumFractionDigits:o,minimumFractionDigits:o}),a=n.formatNumber(s,{maximumFractionDigits:o,minimumFractionDigits:o});return i+" "+a}const xr="@open-pioneer/scale-viewer",yr=U.bind(void 0,xr),wr=d.forwardRef(function(t,n){const{mapId:o,className:r,...s}=t,{map:i}=O(o),a=yr(),l=No(i?.olMap),c=l?a.formatNumber(l):void 0;return u.jsx(N,{className:Ae("scale-viewer",r),ref:n,...s,children:c&&u.jsxs(Et,{children:["1:",c]})})}),Sr="@open-pioneer/initial-extent",kr=U.bind(void 0,Sr);var Vt={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},St=A.createContext&&A.createContext(Vt),z=globalThis&&globalThis.__assign||function(){return z=Object.assign||function(e){for(var t,n=1,o=arguments.length;nl(),iconSpacing:0,padding:0})})})}),je="units",jr=[1,2,5],K=25.4/.28;class Ir extends wn{constructor(t){t=t||{};const n=document.createElement("div");n.style.pointerEvents="none",super({element:n,render:t.render,target:t.target}),this.on,this.once,this.un;const o=t.className!==void 0?t.className:t.bar?"ol-scale-bar":"ol-scale-line";this.innerElement_=document.createElement("div"),this.innerElement_.className=o+"-inner",this.element.className=o+" "+Sn,this.element.appendChild(this.innerElement_),this.viewState_=null,this.minWidth_=t.minWidth!==void 0?t.minWidth:64,this.maxWidth_=t.maxWidth,this.renderedVisible_=!1,this.renderedWidth_=void 0,this.renderedHTML_="",this.addChangeListener(je,this.handleUnitsChanged_),this.setUnits(t.units||"metric"),this.scaleBar_=t.bar||!1,this.scaleBarSteps_=t.steps||4,this.scaleBarText_=t.text||!1,this.dpi_=t.dpi||void 0}getUnits(){return this.get(je)}handleUnitsChanged_(){this.updateElement_()}setUnits(t){this.set(je,t)}setDpi(t){this.dpi_=t}updateElement_(){const t=this.viewState_;if(!t){this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1);return}const n=t.center,o=t.projection,r=this.getUnits(),s=r=="degrees"?"degrees":"m";let i=Ie(o,t.resolution,n,s);const a=this.minWidth_*(this.dpi_||K)/K,l=this.maxWidth_!==void 0?this.maxWidth_*(this.dpi_||K)/K:void 0;let c=a*i,p="";if(r=="degrees"){const j=kn.degrees;c*=j,c=l){m=g,b=w,x=P;break}else if(b>=a)break;g=m,w=b,P=x,++f}const M=this.scaleBar_?this.createScaleBar(b,m,p):m.toFixed(x<0?-x:0)+" "+p;this.renderedHTML_!=M&&(this.innerElement_.innerHTML=M,this.renderedHTML_=M),this.renderedWidth_!=b&&(this.innerElement_.style.width=b+"px",this.renderedWidth_=b),this.renderedVisible_||(this.element.style.display="",this.renderedVisible_=!0)}createScaleBar(t,n,o){const r=this.getScaleForResolution(),s=r<1?Math.round(1/r).toLocaleString()+" : 1":"1 : "+Math.round(r).toLocaleString(),i=this.scaleBarSteps_,a=t/i,l=[this.createMarker("absolute")];for(let p=0;p
`+this.createMarker("relative")+(p%2===0||i===2?this.createStepText(p,t,!1,n,o):"")+"")}return l.push(this.createStepText(i,t,!0,n,o)),(this.scaleBarText_?`
`+s+"
":"")+l.join("")}createMarker(t){return`
`}createStepText(t,n,o,r,s){const a=(t===0?0:Math.round(r/this.scaleBarSteps_*t*100)/100)+(t===0?"":" "+s),l=t===0?-3:n/this.scaleBarSteps_*-1,c=t===0?0:n/this.scaleBarSteps_*2;return`
`+a+"
"}getScaleForResolution(){const t=Ie(this.viewState_.projection,this.viewState_.resolution,this.viewState_.center,"m"),n=this.dpi_||K,o=1e3/25.4;return t*o*n}render(t){const n=t.frameState;n?this.viewState_=n.viewState:this.viewState_=null,this.updateElement_()}}const Rr=Ir;function kt(e){const{mapId:t,...n}=e,o=d.useRef(null),{map:r}=O(t);return d.useEffect(()=>{if(o.current&&r){const s=r.olMap,i=new Rr({units:"metric",target:o.current});return s.addControl(i),()=>{s.removeControl(i)}}},[r]),u.jsx("div",{className:"scale-wrapper",ref:o,...n})}function Nr(e){const{mapId:t,...n}=e,{map:o}=O(t),r=200;function s(i){const a=o?.olMap.getView(),l=a?.getZoom();a&&l!==void 0&&a.animate({zoom:l+(i?1:-1),duration:r})}return u.jsxs(L,{direction:"column",gap:"1",...n,children:[u.jsx(Y,{size:"sm","aria-label":"zoom in",colorScheme:"teal",variant:"solid",icon:u.jsx(Yo,{}),onClick:()=>s(!0)}),u.jsx(Y,{size:"sm","aria-label":"zoom out",colorScheme:"teal",variant:"solid",icon:u.jsx(Zo,{}),onClick:()=>s(!1)})]})}const zr="ol-map",Lr=U.bind(void 0,zr),Ar=[796987,5827477,796987,5827477];function Or(){const[e,t]=d.useState(),[n,o]=d.useState(!0),r=O(_),s=()=>{const f=r.map?.olMap;f&&f?.getView().fit(Ar,{maxZoom:13})},i=Lr(),a=[{id:"map-content",icon:u.jsx(Mr,{}),label:"Karteninhalt",content:u.jsx(rr,{mapId:_,showOpacitySlider:!0})},{id:"sandbox",icon:u.jsx(_r,{}),label:"Sandbox",content:u.jsx(se,{onClick:s,children:"Center Berlin"})}],l=d.useRef(null),c=d.useRef(null),p=d.useRef(null);return u.jsxs(L,{height:"100%",direction:"column",overflow:"hidden",children:[u.jsx(N,{textAlign:"center",py:1,px:1,children:"Open Pioneer - Map sample"}),u.jsxs(L,{flex:"1",direction:"column",position:"relative",children:[u.jsxs(Cn,{mapId:_,viewPadding:e,viewPaddingChangeBehavior:"preserve-extent",children:[u.jsx(ke,{position:"top-left",horizontalGap:10,verticalGap:10,children:u.jsx(N,{backgroundColor:"whiteAlpha.800",borderWidth:"1px",borderRadius:"lg",padding:2,boxShadow:"lg",children:u.jsx(En,{ref:p,noneBasemap:!0,label:i.formatMessage({id:"basemapLabel"}),mapId:_})})}),u.jsxs(ke,{position:"bottom-right",horizontalGap:10,verticalGap:30,children:[u.jsx(Tr,{mapId:_,pb:1}),u.jsx(Nr,{mapId:_})]}),u.jsx(ke,{position:"top-right",children:u.jsxs(L,{gap:3,alignItems:"center",justifyContent:"center",padding:4,boxShadow:"lg",backgroundColor:"whiteAlpha.800",children:[u.jsx(wr,{mapId:_,ref:l}),u.jsx(kt,{mapId:_})]})})]}),u.jsx(tr,{defaultExpanded:n,expandedChanged:f=>o(f),sidebarWidthChanged:f=>t({left:f}),items:a})]}),u.jsxs(L,{gap:3,alignItems:"center",justifyContent:"center",children:[u.jsx(mr,{mapId:_,ref:c,precision:2}),u.jsx(kt,{mapId:_})]})]})}const Vr=dn({component:Or,appMetadata:Ko,async resolveConfig(e){const t=e.getAttribute("forced-locale");if(t)return{locale:t}}});customElements.define("ol-map-app",Vr);const Fr=document.getElementsByTagName("body")[0];$r();function $r(){const e=window.location.search,n=new URLSearchParams(e).get("lang"),o=document.createElement("ol-map-app");o.classList.add("full-height"),o.setAttribute("id","test"),n&&o.setAttribute("forced-locale",n),Fr.appendChild(o)} diff --git a/openlayers-base-packages/assets/9045513d10b8.js b/openlayers-base-packages/assets/9045513d10b8.js deleted file mode 100644 index d08308401..000000000 --- a/openlayers-base-packages/assets/9045513d10b8.js +++ /dev/null @@ -1,2 +0,0 @@ -import{k as g,r as m,j as o,T as x,B as p,n as v}from"./559aa200cabb.js";import{W as h,i as f,T as b,O as w,M as y,_ as k,n as z,o as M,B as _,j as c}from"./264dbd7fb15f.js";import{F as u}from"./aeff6946d221.js";import{B as d}from"./4e5f68cd39b9.js";import{S as j}from"./886fe85b01f2.js";class B extends h{constructor(l){const r=[-380316598427299e-8,880590808284866e-8],a=[4891.96981025128,2445.98490512564,1222.99245256282,611.49622628141,305.748113140705,152.874056570353,76.4370282851763,38.2185141425881,19.1092570712941,9.55462853564703,4.77731426782352,2.38865713391176,1.19432856695588,.59716428347794],n=new Array(a.length);for(let t=0;tDatenquellen`})}}const s="main";class I{mapId=s;async getMapConfig(){return{initialView:{kind:"position",center:{x:404747,y:5757920},zoom:14},layers:[{title:"OSM",isBaseLayer:!0,layer:new b({source:new w})}]}}}const S={"basemap-switcher-app":{name:"basemap-switcher-app",services:{MapConfigProviderImpl:{name:"MapConfigProviderImpl",clazz:I,provides:[{name:"map.MapConfigProvider",qualifier:void 0}],references:{}}},ui:{references:[]},properties:{}},"@open-pioneer/chakra-integration":{name:"@open-pioneer/chakra-integration",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime":{name:"@open-pioneer/runtime",services:{},ui:{references:[]},properties:{}},"@open-pioneer/core":{name:"@open-pioneer/core",services:{},ui:{references:[]},properties:{}},"@open-pioneer/runtime-react-support":{name:"@open-pioneer/runtime-react-support",services:{},ui:{references:[]},properties:{}},"@open-pioneer/map":{name:"@open-pioneer/map",services:{MapRegistryImpl:{name:"MapRegistryImpl",clazz:y,provides:[{name:"map.MapRegistry",qualifier:void 0}],references:{providers:{name:"map.MapConfigProvider",qualifier:void 0,all:!0}}}},ui:{references:[{name:"map.MapRegistry",qualifier:void 0,all:!1}]},properties:{}},"@open-pioneer/basemap-switcher":{name:"@open-pioneer/basemap-switcher",services:{},ui:{references:[]},properties:{}},"@open-pioneer/test-utils":{name:"@open-pioneer/test-utils",services:{},ui:{references:[]},properties:{}}},T=`:root,:host{--ol-background-color: white;--ol-accent-background-color: #F5F5F5;--ol-subtle-background-color: rgba(128, 128, 128, .25);--ol-partial-background-color: rgba(255, 255, 255, .75);--ol-foreground-color: #333333;--ol-subtle-foreground-color: #666666;--ol-brand-color: #00AAFF}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:10px;z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{position:absolute;font-size:12px;text-align:center;bottom:25px;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset;overflow:hidden}.ol-viewport{touch-action:none}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move} -`,C=["en"];function P(e){switch(e){case"en":return k(()=>import("./9f99b4cf44f2.js"),[],import.meta.url).then(l=>l.default)}throw new Error(`Unsupported locale: '${e}'`)}const L=g(T),A=Object.freeze(Object.defineProperty({__proto__:null,loadMessages:P,locales:C,packages:S,styles:L},Symbol.toStringTag,{value:"Module"}));function R(){const e=m.useRef(null);return o.jsxs(u,{height:"100%",direction:"column",overflow:"hidden",children:[o.jsx(d,{textAlign:"center",py:1,px:1,children:"Open Pioneer - Basemap Switcher"}),o.jsx(u,{flex:"1",direction:"column",position:"relative",children:o.jsx(z,{mapId:s,children:o.jsx(M,{position:"top-left",horizontalGap:10,verticalGap:10,children:o.jsxs(d,{backgroundColor:"whiteAlpha.800",borderWidth:"1px",borderRadius:"lg",padding:2,boxShadow:"lg",children:[o.jsx(_,{ref:e,noneBasemap:!0,mapId:s}),o.jsxs(j,{pt:5,children:[o.jsx(x,{align:"center",children:"Test Controls:"}),o.jsx(E,{mapId:s}),o.jsx(O,{mapId:s}),o.jsx(F,{mapId:s})]})]})})})})]})}function E(e){const{mapId:l}=e,{map:r}=c(l),a=m.useRef(1),n=()=>{if(!r)return;const i=a.current++,t=r.layers.createLayer({title:`New Layer ${i}`,isBaseLayer:!0,layer:new b({source:new B({layer:"web_grau"})})});console.log("generated base layer with id",t.id)};return o.jsx(p,{onClick:n,children:"Add base layer"})}function O(e){const{mapId:l}=e,{map:r}=c(l),a=()=>{if(!r)return;const n=r.layers.getAllLayers();if(n.length===0){console.error("There is no base layer");return}const i=Math.floor(Math.random()*n.length),t=n[i];if(!t){console.error("Failed to find a layer");return}console.log("activating base layer",t.id),r.layers.activateBaseLayer(t.id)};return o.jsx(p,{onClick:a,children:"Activate random base layer"})}function F(e){const{mapId:l}=e,{map:r}=c(l),a=()=>{r&&(console.log("setting active base layer to undefined"),r.layers.activateBaseLayer(void 0))};return o.jsx(p,{onClick:a,children:"Clear base layer"})}const q=v({component:R,appMetadata:A});customElements.define("basemap-switcher-app",q); diff --git a/openlayers-base-packages/docs/assets/search.js b/openlayers-base-packages/docs/assets/search.js index 02fd74f21..ac27ef6d7 100644 --- a/openlayers-base-packages/docs/assets/search.js +++ b/openlayers-base-packages/docs/assets/search.js @@ -1 +1 @@ -window.searchData = JSON.parse("{\"rows\":[{\"kind\":2,\"name\":\"@open-pioneer/experimental-layout-sidebar\",\"url\":\"modules/_open_pioneer_experimental_layout_sidebar.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"SidebarItem\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarItem.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar\"},{\"kind\":1024,\"name\":\"content\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarItem.html#content\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarItem\"},{\"kind\":1024,\"name\":\"icon\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarItem.html#icon\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarItem\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarItem.html#id\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarItem\"},{\"kind\":1024,\"name\":\"label\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarItem.html#label\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarItem\"},{\"kind\":256,\"name\":\"SidebarProperties\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarProperties.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar\"},{\"kind\":1024,\"name\":\"defaultExpanded\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarProperties.html#defaultExpanded\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarProperties\"},{\"kind\":1024,\"name\":\"expandedChanged\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarProperties.html#expandedChanged\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarProperties\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarProperties.html#expandedChanged.__type\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarProperties.expandedChanged\"},{\"kind\":1024,\"name\":\"items\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarProperties.html#items\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarProperties\"},{\"kind\":1024,\"name\":\"sidebarWidthChanged\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarProperties.html#sidebarWidthChanged\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarProperties\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarProperties.html#sidebarWidthChanged.__type-2\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarProperties.sidebarWidthChanged\"},{\"kind\":64,\"name\":\"Sidebar\",\"url\":\"functions/_open_pioneer_experimental_layout_sidebar.Sidebar.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar\"},{\"kind\":2,\"name\":\"@open-pioneer/experimental-ol-layer-control\",\"url\":\"modules/_open_pioneer_experimental_ol_layer_control.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"LayerControlProps\",\"url\":\"interfaces/_open_pioneer_experimental_ol_layer_control.LayerControlProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-ol-layer-control\"},{\"kind\":1024,\"name\":\"mapId\",\"url\":\"interfaces/_open_pioneer_experimental_ol_layer_control.LayerControlProps.html#mapId\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-ol-layer-control.LayerControlProps\"},{\"kind\":1024,\"name\":\"showOpacitySlider\",\"url\":\"interfaces/_open_pioneer_experimental_ol_layer_control.LayerControlProps.html#showOpacitySlider\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-ol-layer-control.LayerControlProps\"},{\"kind\":64,\"name\":\"LayerControlComponent\",\"url\":\"functions/_open_pioneer_experimental_ol_layer_control.LayerControlComponent.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-ol-layer-control\"},{\"kind\":2,\"name\":\"@open-pioneer/map\",\"url\":\"modules/_open_pioneer_map.html\",\"classes\":\"\"},{\"kind\":128,\"name\":\"BkgTopPlusOpen\",\"url\":\"classes/_open_pioneer_map.BkgTopPlusOpen.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/_open_pioneer_map.BkgTopPlusOpen.html#constructor\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.BkgTopPlusOpen\"},{\"kind\":256,\"name\":\"BkgTopPlusOpenProps\",\"url\":\"interfaces/_open_pioneer_map.BkgTopPlusOpenProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"layer\",\"url\":\"interfaces/_open_pioneer_map.BkgTopPlusOpenProps.html#layer\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.BkgTopPlusOpenProps\"},{\"kind\":256,\"name\":\"CoordinateConfig\",\"url\":\"interfaces/_open_pioneer_map.CoordinateConfig.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"x\",\"url\":\"interfaces/_open_pioneer_map.CoordinateConfig.html#x\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.CoordinateConfig\"},{\"kind\":1024,\"name\":\"y\",\"url\":\"interfaces/_open_pioneer_map.CoordinateConfig.html#y\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.CoordinateConfig\"},{\"kind\":1024,\"name\":\"z\",\"url\":\"interfaces/_open_pioneer_map.CoordinateConfig.html#z\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.CoordinateConfig\"},{\"kind\":256,\"name\":\"ExtentConfig\",\"url\":\"interfaces/_open_pioneer_map.ExtentConfig.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"xMax\",\"url\":\"interfaces/_open_pioneer_map.ExtentConfig.html#xMax\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.ExtentConfig\"},{\"kind\":1024,\"name\":\"xMin\",\"url\":\"interfaces/_open_pioneer_map.ExtentConfig.html#xMin\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.ExtentConfig\"},{\"kind\":1024,\"name\":\"yMax\",\"url\":\"interfaces/_open_pioneer_map.ExtentConfig.html#yMax\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.ExtentConfig\"},{\"kind\":1024,\"name\":\"yMin\",\"url\":\"interfaces/_open_pioneer_map.ExtentConfig.html#yMin\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.ExtentConfig\"},{\"kind\":256,\"name\":\"InitialExtentConfig\",\"url\":\"interfaces/_open_pioneer_map.InitialExtentConfig.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"extent\",\"url\":\"interfaces/_open_pioneer_map.InitialExtentConfig.html#extent\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.InitialExtentConfig\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_map.InitialExtentConfig.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.InitialExtentConfig\"},{\"kind\":256,\"name\":\"InitialPositionConfig\",\"url\":\"interfaces/_open_pioneer_map.InitialPositionConfig.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"center\",\"url\":\"interfaces/_open_pioneer_map.InitialPositionConfig.html#center\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.InitialPositionConfig\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_map.InitialPositionConfig.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.InitialPositionConfig\"},{\"kind\":1024,\"name\":\"zoom\",\"url\":\"interfaces/_open_pioneer_map.InitialPositionConfig.html#zoom\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.InitialPositionConfig\"},{\"kind\":256,\"name\":\"LayerCollection\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"map\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#map\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":2048,\"name\":\"activateBaseLayer\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#activateBaseLayer\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":2048,\"name\":\"createLayer\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#createLayer\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":2048,\"name\":\"getActiveBaseLayer\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#getActiveBaseLayer\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":2048,\"name\":\"getAllLayers\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#getAllLayers\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":2048,\"name\":\"getBaseLayers\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#getBaseLayers\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":2048,\"name\":\"getLayerById\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#getLayerById\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":2048,\"name\":\"getLayerByRawInstance\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#getLayerByRawInstance\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":2048,\"name\":\"getOperationalLayers\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#getOperationalLayers\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":2048,\"name\":\"removeLayerById\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#removeLayerById\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":256,\"name\":\"LayerCollectionEvents\",\"url\":\"interfaces/_open_pioneer_map.LayerCollectionEvents.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"changed\",\"url\":\"interfaces/_open_pioneer_map.LayerCollectionEvents.html#changed\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollectionEvents\"},{\"kind\":256,\"name\":\"LayerConfig\",\"url\":\"interfaces/_open_pioneer_map.LayerConfig.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"attributes\",\"url\":\"interfaces/_open_pioneer_map.LayerConfig.html#attributes\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerConfig\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"interfaces/_open_pioneer_map.LayerConfig.html#description\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerConfig\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"interfaces/_open_pioneer_map.LayerConfig.html#id\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerConfig\"},{\"kind\":1024,\"name\":\"isBaseLayer\",\"url\":\"interfaces/_open_pioneer_map.LayerConfig.html#isBaseLayer\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerConfig\"},{\"kind\":1024,\"name\":\"layer\",\"url\":\"interfaces/_open_pioneer_map.LayerConfig.html#layer\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerConfig\"},{\"kind\":1024,\"name\":\"title\",\"url\":\"interfaces/_open_pioneer_map.LayerConfig.html#title\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerConfig\"},{\"kind\":1024,\"name\":\"visible\",\"url\":\"interfaces/_open_pioneer_map.LayerConfig.html#visible\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerConfig\"},{\"kind\":256,\"name\":\"LayerModel\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"attributes\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#attributes\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#description\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#id\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":1024,\"name\":\"isBaseLayer\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#isBaseLayer\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":1024,\"name\":\"loadState\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#loadState\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":1024,\"name\":\"map\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#map\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":1024,\"name\":\"olLayer\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#olLayer\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":1024,\"name\":\"title\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#title\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":1024,\"name\":\"visible\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#visible\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":2048,\"name\":\"deleteAttribute\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#deleteAttribute\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":2048,\"name\":\"setDescription\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#setDescription\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":2048,\"name\":\"setTitle\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#setTitle\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":2048,\"name\":\"setVisible\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#setVisible\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":2048,\"name\":\"updateAttributes\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#updateAttributes\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":256,\"name\":\"LayerModelEvents\",\"url\":\"interfaces/_open_pioneer_map.LayerModelEvents.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"changed\",\"url\":\"interfaces/_open_pioneer_map.LayerModelEvents.html#changed\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModelEvents\"},{\"kind\":1024,\"name\":\"changed:attributes\",\"url\":\"interfaces/_open_pioneer_map.LayerModelEvents.html#changed_attributes\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModelEvents\"},{\"kind\":1024,\"name\":\"changed:description\",\"url\":\"interfaces/_open_pioneer_map.LayerModelEvents.html#changed_description\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModelEvents\"},{\"kind\":1024,\"name\":\"changed:loadState\",\"url\":\"interfaces/_open_pioneer_map.LayerModelEvents.html#changed_loadState\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModelEvents\"},{\"kind\":1024,\"name\":\"changed:title\",\"url\":\"interfaces/_open_pioneer_map.LayerModelEvents.html#changed_title\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModelEvents\"},{\"kind\":1024,\"name\":\"changed:visible\",\"url\":\"interfaces/_open_pioneer_map.LayerModelEvents.html#changed_visible\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModelEvents\"},{\"kind\":1024,\"name\":\"destroy\",\"url\":\"interfaces/_open_pioneer_map.LayerModelEvents.html#destroy\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModelEvents\"},{\"kind\":256,\"name\":\"MapAnchorProps\",\"url\":\"interfaces/_open_pioneer_map.MapAnchorProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"children\",\"url\":\"interfaces/_open_pioneer_map.MapAnchorProps.html#children\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapAnchorProps\"},{\"kind\":1024,\"name\":\"className\",\"url\":\"interfaces/_open_pioneer_map.MapAnchorProps.html#className\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapAnchorProps\"},{\"kind\":1024,\"name\":\"horizontalGap\",\"url\":\"interfaces/_open_pioneer_map.MapAnchorProps.html#horizontalGap\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapAnchorProps\"},{\"kind\":1024,\"name\":\"position\",\"url\":\"interfaces/_open_pioneer_map.MapAnchorProps.html#position\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapAnchorProps\"},{\"kind\":1024,\"name\":\"verticalGap\",\"url\":\"interfaces/_open_pioneer_map.MapAnchorProps.html#verticalGap\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapAnchorProps\"},{\"kind\":256,\"name\":\"MapConfig\",\"url\":\"interfaces/_open_pioneer_map.MapConfig.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"advanced\",\"url\":\"interfaces/_open_pioneer_map.MapConfig.html#advanced\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapConfig\"},{\"kind\":1024,\"name\":\"initialView\",\"url\":\"interfaces/_open_pioneer_map.MapConfig.html#initialView\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapConfig\"},{\"kind\":1024,\"name\":\"layers\",\"url\":\"interfaces/_open_pioneer_map.MapConfig.html#layers\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapConfig\"},{\"kind\":1024,\"name\":\"projection\",\"url\":\"interfaces/_open_pioneer_map.MapConfig.html#projection\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapConfig\"},{\"kind\":256,\"name\":\"MapConfigProvider\",\"url\":\"interfaces/_open_pioneer_map.MapConfigProvider.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"mapId\",\"url\":\"interfaces/_open_pioneer_map.MapConfigProvider.html#mapId\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapConfigProvider\"},{\"kind\":2048,\"name\":\"getMapConfig\",\"url\":\"interfaces/_open_pioneer_map.MapConfigProvider.html#getMapConfig\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapConfigProvider\"},{\"kind\":256,\"name\":\"MapContainerProps\",\"url\":\"interfaces/_open_pioneer_map.MapContainerProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"children\",\"url\":\"interfaces/_open_pioneer_map.MapContainerProps.html#children\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapContainerProps\"},{\"kind\":1024,\"name\":\"className\",\"url\":\"interfaces/_open_pioneer_map.MapContainerProps.html#className\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapContainerProps\"},{\"kind\":1024,\"name\":\"mapId\",\"url\":\"interfaces/_open_pioneer_map.MapContainerProps.html#mapId\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapContainerProps\"},{\"kind\":1024,\"name\":\"viewPadding\",\"url\":\"interfaces/_open_pioneer_map.MapContainerProps.html#viewPadding\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapContainerProps\"},{\"kind\":1024,\"name\":\"viewPaddingChangeBehavior\",\"url\":\"interfaces/_open_pioneer_map.MapContainerProps.html#viewPaddingChangeBehavior\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapContainerProps\"},{\"kind\":256,\"name\":\"MapModel\",\"url\":\"interfaces/_open_pioneer_map.MapModel.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"container\",\"url\":\"interfaces/_open_pioneer_map.MapModel.html#container\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModel\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"interfaces/_open_pioneer_map.MapModel.html#id\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModel\"},{\"kind\":1024,\"name\":\"initialExtent\",\"url\":\"interfaces/_open_pioneer_map.MapModel.html#initialExtent\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModel\"},{\"kind\":1024,\"name\":\"layers\",\"url\":\"interfaces/_open_pioneer_map.MapModel.html#layers\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModel\"},{\"kind\":1024,\"name\":\"olMap\",\"url\":\"interfaces/_open_pioneer_map.MapModel.html#olMap\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModel\"},{\"kind\":2048,\"name\":\"whenDisplayed\",\"url\":\"interfaces/_open_pioneer_map.MapModel.html#whenDisplayed\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModel\"},{\"kind\":256,\"name\":\"MapModelEvents\",\"url\":\"interfaces/_open_pioneer_map.MapModelEvents.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"changed\",\"url\":\"interfaces/_open_pioneer_map.MapModelEvents.html#changed\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModelEvents\"},{\"kind\":1024,\"name\":\"changed:container\",\"url\":\"interfaces/_open_pioneer_map.MapModelEvents.html#changed_container\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModelEvents\"},{\"kind\":1024,\"name\":\"changed:initialExtent\",\"url\":\"interfaces/_open_pioneer_map.MapModelEvents.html#changed_initialExtent\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModelEvents\"},{\"kind\":1024,\"name\":\"destroy\",\"url\":\"interfaces/_open_pioneer_map.MapModelEvents.html#destroy\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModelEvents\"},{\"kind\":256,\"name\":\"MapPadding\",\"url\":\"interfaces/_open_pioneer_map.MapPadding.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"bottom\",\"url\":\"interfaces/_open_pioneer_map.MapPadding.html#bottom\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapPadding\"},{\"kind\":1024,\"name\":\"left\",\"url\":\"interfaces/_open_pioneer_map.MapPadding.html#left\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapPadding\"},{\"kind\":1024,\"name\":\"right\",\"url\":\"interfaces/_open_pioneer_map.MapPadding.html#right\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapPadding\"},{\"kind\":1024,\"name\":\"top\",\"url\":\"interfaces/_open_pioneer_map.MapPadding.html#top\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapPadding\"},{\"kind\":256,\"name\":\"MapRegistry\",\"url\":\"interfaces/_open_pioneer_map.MapRegistry.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":2048,\"name\":\"expectMapModel\",\"url\":\"interfaces/_open_pioneer_map.MapRegistry.html#expectMapModel\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapRegistry\"},{\"kind\":2048,\"name\":\"getMapModel\",\"url\":\"interfaces/_open_pioneer_map.MapRegistry.html#getMapModel\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapRegistry\"},{\"kind\":2048,\"name\":\"getMapModelByRawInstance\",\"url\":\"interfaces/_open_pioneer_map.MapRegistry.html#getMapModelByRawInstance\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapRegistry\"},{\"kind\":256,\"name\":\"OlMapOptions\",\"url\":\"interfaces/_open_pioneer_map.OlMapOptions.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"view\",\"url\":\"interfaces/_open_pioneer_map.OlMapOptions.html#view\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.OlMapOptions\"},{\"kind\":256,\"name\":\"UseMapModelLoading\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelLoading.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"error\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelLoading.html#error\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.UseMapModelLoading\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelLoading.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.UseMapModelLoading\"},{\"kind\":1024,\"name\":\"map\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelLoading.html#map\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.UseMapModelLoading\"},{\"kind\":256,\"name\":\"UseMapModelRejected\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelRejected.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"error\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelRejected.html#error\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.UseMapModelRejected\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelRejected.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.UseMapModelRejected\"},{\"kind\":1024,\"name\":\"map\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelRejected.html#map\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.UseMapModelRejected\"},{\"kind\":256,\"name\":\"UseMapModelResolved\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelResolved.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"error\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelResolved.html#error\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.UseMapModelResolved\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelResolved.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.UseMapModelResolved\"},{\"kind\":1024,\"name\":\"map\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelResolved.html#map\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.UseMapModelResolved\"},{\"kind\":4194304,\"name\":\"InitialViewConfig\",\"url\":\"types/_open_pioneer_map.InitialViewConfig.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":4194304,\"name\":\"LayerLoadState\",\"url\":\"types/_open_pioneer_map.LayerLoadState.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":4194304,\"name\":\"MapAnchorPosition\",\"url\":\"types/_open_pioneer_map.MapAnchorPosition.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":4194304,\"name\":\"ProjectionDefinition\",\"url\":\"types/_open_pioneer_map.ProjectionDefinition.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":4194304,\"name\":\"UseMapModelResult\",\"url\":\"types/_open_pioneer_map.UseMapModelResult.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":64,\"name\":\"MapAnchor\",\"url\":\"functions/_open_pioneer_map.MapAnchor.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":64,\"name\":\"MapContainer\",\"url\":\"functions/_open_pioneer_map.MapContainer.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":64,\"name\":\"getProjection\",\"url\":\"functions/_open_pioneer_map.getProjection.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":64,\"name\":\"registerProjections\",\"url\":\"functions/_open_pioneer_map.registerProjections.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":64,\"name\":\"useCenter\",\"url\":\"functions/_open_pioneer_map.useCenter.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"functions/_open_pioneer_map.useCenter.html#useCenter.__type\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.useCenter.useCenter\"},{\"kind\":1024,\"name\":\"center\",\"url\":\"functions/_open_pioneer_map.useCenter.html#useCenter.__type.center\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.useCenter.useCenter.__type\"},{\"kind\":64,\"name\":\"useFormatting\",\"url\":\"functions/_open_pioneer_map.useFormatting.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":64,\"name\":\"useMapModel\",\"url\":\"functions/_open_pioneer_map.useMapModel.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":64,\"name\":\"useProjection\",\"url\":\"functions/_open_pioneer_map.useProjection.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"functions/_open_pioneer_map.useProjection.html#useProjection.__type\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.useProjection.useProjection\"},{\"kind\":1024,\"name\":\"projection\",\"url\":\"functions/_open_pioneer_map.useProjection.html#useProjection.__type.projection\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.useProjection.useProjection.__type\"},{\"kind\":64,\"name\":\"useResolution\",\"url\":\"functions/_open_pioneer_map.useResolution.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"functions/_open_pioneer_map.useResolution.html#useResolution.__type\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.useResolution.useResolution\"},{\"kind\":1024,\"name\":\"resolution\",\"url\":\"functions/_open_pioneer_map.useResolution.html#useResolution.__type.resolution\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.useResolution.useResolution.__type\"},{\"kind\":64,\"name\":\"useScale\",\"url\":\"functions/_open_pioneer_map.useScale.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"functions/_open_pioneer_map.useScale.html#useScale.__type\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.useScale.useScale\"},{\"kind\":1024,\"name\":\"scale\",\"url\":\"functions/_open_pioneer_map.useScale.html#useScale.__type.scale\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.useScale.useScale.__type\"},{\"kind\":2,\"name\":\"@open-pioneer/notifier\",\"url\":\"modules/_open_pioneer_notifier.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"NotificationOptions\",\"url\":\"interfaces/_open_pioneer_notifier.NotificationOptions.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier\"},{\"kind\":1024,\"name\":\"displayDuration\",\"url\":\"interfaces/_open_pioneer_notifier.NotificationOptions.html#displayDuration\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier.NotificationOptions\"},{\"kind\":1024,\"name\":\"level\",\"url\":\"interfaces/_open_pioneer_notifier.NotificationOptions.html#level\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier.NotificationOptions\"},{\"kind\":1024,\"name\":\"message\",\"url\":\"interfaces/_open_pioneer_notifier.NotificationOptions.html#message\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier.NotificationOptions\"},{\"kind\":1024,\"name\":\"title\",\"url\":\"interfaces/_open_pioneer_notifier.NotificationOptions.html#title\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier.NotificationOptions\"},{\"kind\":256,\"name\":\"NotificationService\",\"url\":\"interfaces/_open_pioneer_notifier.NotificationService.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier\"},{\"kind\":2048,\"name\":\"closeAll\",\"url\":\"interfaces/_open_pioneer_notifier.NotificationService.html#closeAll\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier.NotificationService\"},{\"kind\":2048,\"name\":\"notify\",\"url\":\"interfaces/_open_pioneer_notifier.NotificationService.html#notify\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier.NotificationService\"},{\"kind\":256,\"name\":\"NotifierProps\",\"url\":\"interfaces/_open_pioneer_notifier.NotifierProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier\"},{\"kind\":1024,\"name\":\"position\",\"url\":\"interfaces/_open_pioneer_notifier.NotifierProps.html#position\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier.NotifierProps\"},{\"kind\":4194304,\"name\":\"NotificationLevel\",\"url\":\"types/_open_pioneer_notifier.NotificationLevel.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier\"},{\"kind\":64,\"name\":\"Notifier\",\"url\":\"functions/_open_pioneer_notifier.Notifier.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier\"},{\"kind\":2,\"name\":\"@open-pioneer/react-utils\",\"url\":\"modules/_open_pioneer_react_utils.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"useEvent\",\"url\":\"functions/_open_pioneer_react_utils.useEvent.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/react-utils\"},{\"kind\":2,\"name\":\"@open-pioneer/authentication\",\"url\":\"modules/_open_pioneer_authentication.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"AuthEvents\",\"url\":\"interfaces/_open_pioneer_authentication.AuthEvents.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":1024,\"name\":\"changed\",\"url\":\"interfaces/_open_pioneer_authentication.AuthEvents.html#changed\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthEvents\"},{\"kind\":256,\"name\":\"AuthPlugin\",\"url\":\"interfaces/_open_pioneer_authentication.AuthPlugin.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":2048,\"name\":\"getAuthState\",\"url\":\"interfaces/_open_pioneer_authentication.AuthPlugin.html#getAuthState\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthPlugin\"},{\"kind\":2048,\"name\":\"getLoginBehavior\",\"url\":\"interfaces/_open_pioneer_authentication.AuthPlugin.html#getLoginBehavior\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthPlugin\"},{\"kind\":2048,\"name\":\"logout\",\"url\":\"interfaces/_open_pioneer_authentication.AuthPlugin.html#logout\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthPlugin\"},{\"kind\":256,\"name\":\"AuthPluginEvents\",\"url\":\"interfaces/_open_pioneer_authentication.AuthPluginEvents.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":1024,\"name\":\"changed\",\"url\":\"interfaces/_open_pioneer_authentication.AuthPluginEvents.html#changed\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthPluginEvents\"},{\"kind\":256,\"name\":\"AuthService\",\"url\":\"interfaces/_open_pioneer_authentication.AuthService.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":2048,\"name\":\"getAuthState\",\"url\":\"interfaces/_open_pioneer_authentication.AuthService.html#getAuthState\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthService\"},{\"kind\":2048,\"name\":\"getLoginBehavior\",\"url\":\"interfaces/_open_pioneer_authentication.AuthService.html#getLoginBehavior\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthService\"},{\"kind\":2048,\"name\":\"getSessionInfo\",\"url\":\"interfaces/_open_pioneer_authentication.AuthService.html#getSessionInfo\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthService\"},{\"kind\":2048,\"name\":\"logout\",\"url\":\"interfaces/_open_pioneer_authentication.AuthService.html#logout\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthService\"},{\"kind\":256,\"name\":\"AuthStateAuthenticated\",\"url\":\"interfaces/_open_pioneer_authentication.AuthStateAuthenticated.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_authentication.AuthStateAuthenticated.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthStateAuthenticated\"},{\"kind\":1024,\"name\":\"sessionInfo\",\"url\":\"interfaces/_open_pioneer_authentication.AuthStateAuthenticated.html#sessionInfo\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthStateAuthenticated\"},{\"kind\":256,\"name\":\"AuthStateNotAuthenticated\",\"url\":\"interfaces/_open_pioneer_authentication.AuthStateNotAuthenticated.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_authentication.AuthStateNotAuthenticated.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthStateNotAuthenticated\"},{\"kind\":256,\"name\":\"AuthStatePending\",\"url\":\"interfaces/_open_pioneer_authentication.AuthStatePending.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_authentication.AuthStatePending.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthStatePending\"},{\"kind\":256,\"name\":\"ForceAuthProps\",\"url\":\"interfaces/_open_pioneer_authentication.ForceAuthProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":1024,\"name\":\"children\",\"url\":\"interfaces/_open_pioneer_authentication.ForceAuthProps.html#children\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.ForceAuthProps\"},{\"kind\":1024,\"name\":\"fallbackProps\",\"url\":\"interfaces/_open_pioneer_authentication.ForceAuthProps.html#fallbackProps\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.ForceAuthProps\"},{\"kind\":1024,\"name\":\"renderFallback\",\"url\":\"interfaces/_open_pioneer_authentication.ForceAuthProps.html#renderFallback\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.ForceAuthProps\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/_open_pioneer_authentication.ForceAuthProps.html#renderFallback.__type\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.ForceAuthProps.renderFallback\"},{\"kind\":256,\"name\":\"LoginEffect\",\"url\":\"interfaces/_open_pioneer_authentication.LoginEffect.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_authentication.LoginEffect.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.LoginEffect\"},{\"kind\":2048,\"name\":\"login\",\"url\":\"interfaces/_open_pioneer_authentication.LoginEffect.html#login\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.LoginEffect\"},{\"kind\":256,\"name\":\"LoginFallback\",\"url\":\"interfaces/_open_pioneer_authentication.LoginFallback.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":1024,\"name\":\"Fallback\",\"url\":\"interfaces/_open_pioneer_authentication.LoginFallback.html#Fallback\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.LoginFallback\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_authentication.LoginFallback.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.LoginFallback\"},{\"kind\":256,\"name\":\"SessionInfo\",\"url\":\"interfaces/_open_pioneer_authentication.SessionInfo.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":1024,\"name\":\"attributes\",\"url\":\"interfaces/_open_pioneer_authentication.SessionInfo.html#attributes\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.SessionInfo\"},{\"kind\":1024,\"name\":\"expiresAt\",\"url\":\"interfaces/_open_pioneer_authentication.SessionInfo.html#expiresAt\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.SessionInfo\"},{\"kind\":1024,\"name\":\"userId\",\"url\":\"interfaces/_open_pioneer_authentication.SessionInfo.html#userId\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.SessionInfo\"},{\"kind\":1024,\"name\":\"userName\",\"url\":\"interfaces/_open_pioneer_authentication.SessionInfo.html#userName\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.SessionInfo\"},{\"kind\":4194304,\"name\":\"AuthPluginEventBase\",\"url\":\"types/_open_pioneer_authentication.AuthPluginEventBase.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":4194304,\"name\":\"AuthState\",\"url\":\"types/_open_pioneer_authentication.AuthState.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":4194304,\"name\":\"LoginBehavior\",\"url\":\"types/_open_pioneer_authentication.LoginBehavior.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":64,\"name\":\"ForceAuth\",\"url\":\"functions/_open_pioneer_authentication.ForceAuth.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":64,\"name\":\"useAuthState\",\"url\":\"functions/_open_pioneer_authentication.useAuthState.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":2,\"name\":\"@open-pioneer/coordinate-viewer\",\"url\":\"modules/_open_pioneer_coordinate_viewer.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"CoordinateViewerProps\",\"url\":\"interfaces/_open_pioneer_coordinate_viewer.CoordinateViewerProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/coordinate-viewer\"},{\"kind\":1024,\"name\":\"className\",\"url\":\"interfaces/_open_pioneer_coordinate_viewer.CoordinateViewerProps.html#className\",\"classes\":\"\",\"parent\":\"@open-pioneer/coordinate-viewer.CoordinateViewerProps\"},{\"kind\":1024,\"name\":\"mapId\",\"url\":\"interfaces/_open_pioneer_coordinate_viewer.CoordinateViewerProps.html#mapId\",\"classes\":\"\",\"parent\":\"@open-pioneer/coordinate-viewer.CoordinateViewerProps\"},{\"kind\":1024,\"name\":\"precision\",\"url\":\"interfaces/_open_pioneer_coordinate_viewer.CoordinateViewerProps.html#precision\",\"classes\":\"\",\"parent\":\"@open-pioneer/coordinate-viewer.CoordinateViewerProps\"},{\"kind\":64,\"name\":\"CoordinateViewer\",\"url\":\"functions/_open_pioneer_coordinate_viewer.CoordinateViewer.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/coordinate-viewer\"},{\"kind\":2,\"name\":\"@open-pioneer/scale-viewer\",\"url\":\"modules/_open_pioneer_scale_viewer.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"ScaleViewerProps\",\"url\":\"interfaces/_open_pioneer_scale_viewer.ScaleViewerProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/scale-viewer\"},{\"kind\":1024,\"name\":\"className\",\"url\":\"interfaces/_open_pioneer_scale_viewer.ScaleViewerProps.html#className\",\"classes\":\"\",\"parent\":\"@open-pioneer/scale-viewer.ScaleViewerProps\"},{\"kind\":1024,\"name\":\"mapId\",\"url\":\"interfaces/_open_pioneer_scale_viewer.ScaleViewerProps.html#mapId\",\"classes\":\"\",\"parent\":\"@open-pioneer/scale-viewer.ScaleViewerProps\"},{\"kind\":64,\"name\":\"ScaleViewer\",\"url\":\"functions/_open_pioneer_scale_viewer.ScaleViewer.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/scale-viewer\"},{\"kind\":2,\"name\":\"@open-pioneer/basemap-switcher\",\"url\":\"modules/_open_pioneer_basemap_switcher.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"BasemapSwitcherProps\",\"url\":\"interfaces/_open_pioneer_basemap_switcher.BasemapSwitcherProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/basemap-switcher\"},{\"kind\":1024,\"name\":\"className\",\"url\":\"interfaces/_open_pioneer_basemap_switcher.BasemapSwitcherProps.html#className\",\"classes\":\"\",\"parent\":\"@open-pioneer/basemap-switcher.BasemapSwitcherProps\"},{\"kind\":1024,\"name\":\"label\",\"url\":\"interfaces/_open_pioneer_basemap_switcher.BasemapSwitcherProps.html#label\",\"classes\":\"\",\"parent\":\"@open-pioneer/basemap-switcher.BasemapSwitcherProps\"},{\"kind\":1024,\"name\":\"mapId\",\"url\":\"interfaces/_open_pioneer_basemap_switcher.BasemapSwitcherProps.html#mapId\",\"classes\":\"\",\"parent\":\"@open-pioneer/basemap-switcher.BasemapSwitcherProps\"},{\"kind\":1024,\"name\":\"noneBasemap\",\"url\":\"interfaces/_open_pioneer_basemap_switcher.BasemapSwitcherProps.html#noneBasemap\",\"classes\":\"\",\"parent\":\"@open-pioneer/basemap-switcher.BasemapSwitcherProps\"},{\"kind\":64,\"name\":\"BasemapSwitcher\",\"url\":\"functions/_open_pioneer_basemap_switcher.BasemapSwitcher.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/basemap-switcher\"},{\"kind\":2,\"name\":\"@open-pioneer/initial-extent\",\"url\":\"modules/_open_pioneer_initial_extent.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"InitialExtentProps\",\"url\":\"interfaces/_open_pioneer_initial_extent.InitialExtentProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/initial-extent\"},{\"kind\":1024,\"name\":\"className\",\"url\":\"interfaces/_open_pioneer_initial_extent.InitialExtentProps.html#className\",\"classes\":\"\",\"parent\":\"@open-pioneer/initial-extent.InitialExtentProps\"},{\"kind\":1024,\"name\":\"mapId\",\"url\":\"interfaces/_open_pioneer_initial_extent.InitialExtentProps.html#mapId\",\"classes\":\"\",\"parent\":\"@open-pioneer/initial-extent.InitialExtentProps\"},{\"kind\":64,\"name\":\"InitialExtent\",\"url\":\"functions/_open_pioneer_initial_extent.InitialExtent.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/initial-extent\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,14.944,1,21.77,2,24.199,3,21.77]],[\"comment/0\",[]],[\"name/1\",[4,52.516]],[\"comment/1\",[]],[\"name/2\",[5,52.516]],[\"comment/2\",[]],[\"name/3\",[6,52.516]],[\"comment/3\",[]],[\"name/4\",[7,41.176]],[\"comment/4\",[]],[\"name/5\",[8,47.243]],[\"comment/5\",[]],[\"name/6\",[9,52.516]],[\"comment/6\",[]],[\"name/7\",[10,52.516]],[\"comment/7\",[]],[\"name/8\",[11,52.516]],[\"comment/8\",[]],[\"name/9\",[12,35.903]],[\"comment/9\",[]],[\"name/10\",[13,52.516]],[\"comment/10\",[]],[\"name/11\",[14,52.516]],[\"comment/11\",[]],[\"name/12\",[12,35.903]],[\"comment/12\",[]],[\"name/13\",[3,47.243]],[\"comment/13\",[]],[\"name/14\",[0,12.667,1,18.453,15,20.513,16,17.096,17,20.513]],[\"comment/14\",[]],[\"name/15\",[18,52.516]],[\"comment/15\",[]],[\"name/16\",[19,35.903]],[\"comment/16\",[]],[\"name/17\",[20,52.516]],[\"comment/17\",[]],[\"name/18\",[21,52.516]],[\"comment/18\",[]],[\"name/19\",[0,23.33,22,37.78]],[\"comment/19\",[]],[\"name/20\",[23,52.516]],[\"comment/20\",[]],[\"name/21\",[24,52.516]],[\"comment/21\",[]],[\"name/22\",[25,52.516]],[\"comment/22\",[]],[\"name/23\",[16,43.77]],[\"comment/23\",[]],[\"name/24\",[26,52.516]],[\"comment/24\",[]],[\"name/25\",[27,52.516]],[\"comment/25\",[]],[\"name/26\",[28,52.516]],[\"comment/26\",[]],[\"name/27\",[29,52.516]],[\"comment/27\",[]],[\"name/28\",[30,52.516]],[\"comment/28\",[]],[\"name/29\",[31,52.516]],[\"comment/29\",[]],[\"name/30\",[32,52.516]],[\"comment/30\",[]],[\"name/31\",[33,52.516]],[\"comment/31\",[]],[\"name/32\",[34,52.516]],[\"comment/32\",[]],[\"name/33\",[35,52.516]],[\"comment/33\",[]],[\"name/34\",[36,47.243]],[\"comment/34\",[]],[\"name/35\",[37,32.43]],[\"comment/35\",[]],[\"name/36\",[38,52.516]],[\"comment/36\",[]],[\"name/37\",[39,47.243]],[\"comment/37\",[]],[\"name/38\",[37,32.43]],[\"comment/38\",[]],[\"name/39\",[40,52.516]],[\"comment/39\",[]],[\"name/40\",[41,52.516]],[\"comment/40\",[]],[\"name/41\",[42,39.104]],[\"comment/41\",[]],[\"name/42\",[43,52.516]],[\"comment/42\",[]],[\"name/43\",[44,52.516]],[\"comment/43\",[]],[\"name/44\",[45,52.516]],[\"comment/44\",[]],[\"name/45\",[46,52.516]],[\"comment/45\",[]],[\"name/46\",[47,52.516]],[\"comment/46\",[]],[\"name/47\",[48,52.516]],[\"comment/47\",[]],[\"name/48\",[49,52.516]],[\"comment/48\",[]],[\"name/49\",[50,52.516]],[\"comment/49\",[]],[\"name/50\",[51,52.516]],[\"comment/50\",[]],[\"name/51\",[52,52.516]],[\"comment/51\",[]],[\"name/52\",[53,39.104]],[\"comment/52\",[]],[\"name/53\",[54,52.516]],[\"comment/53\",[]],[\"name/54\",[55,43.77]],[\"comment/54\",[]],[\"name/55\",[56,47.243]],[\"comment/55\",[]],[\"name/56\",[7,41.176]],[\"comment/56\",[]],[\"name/57\",[57,47.243]],[\"comment/57\",[]],[\"name/58\",[16,43.77]],[\"comment/58\",[]],[\"name/59\",[58,43.77]],[\"comment/59\",[]],[\"name/60\",[59,47.243]],[\"comment/60\",[]],[\"name/61\",[60,52.516]],[\"comment/61\",[]],[\"name/62\",[55,43.77]],[\"comment/62\",[]],[\"name/63\",[56,47.243]],[\"comment/63\",[]],[\"name/64\",[7,41.176]],[\"comment/64\",[]],[\"name/65\",[57,47.243]],[\"comment/65\",[]],[\"name/66\",[61,52.516]],[\"comment/66\",[]],[\"name/67\",[42,39.104]],[\"comment/67\",[]],[\"name/68\",[62,52.516]],[\"comment/68\",[]],[\"name/69\",[58,43.77]],[\"comment/69\",[]],[\"name/70\",[59,47.243]],[\"comment/70\",[]],[\"name/71\",[63,52.516]],[\"comment/71\",[]],[\"name/72\",[64,52.516]],[\"comment/72\",[]],[\"name/73\",[65,52.516]],[\"comment/73\",[]],[\"name/74\",[66,52.516]],[\"comment/74\",[]],[\"name/75\",[67,52.516]],[\"comment/75\",[]],[\"name/76\",[68,52.516]],[\"comment/76\",[]],[\"name/77\",[53,39.104]],[\"comment/77\",[]],[\"name/78\",[69,52.516]],[\"comment/78\",[]],[\"name/79\",[70,52.516]],[\"comment/79\",[]],[\"name/80\",[71,52.516]],[\"comment/80\",[]],[\"name/81\",[72,52.516]],[\"comment/81\",[]],[\"name/82\",[73,52.516]],[\"comment/82\",[]],[\"name/83\",[74,47.243]],[\"comment/83\",[]],[\"name/84\",[75,52.516]],[\"comment/84\",[]],[\"name/85\",[76,43.77]],[\"comment/85\",[]],[\"name/86\",[77,37.38]],[\"comment/86\",[]],[\"name/87\",[78,52.516]],[\"comment/87\",[]],[\"name/88\",[79,47.243]],[\"comment/88\",[]],[\"name/89\",[80,52.516]],[\"comment/89\",[]],[\"name/90\",[81,52.516]],[\"comment/90\",[]],[\"name/91\",[82,52.516]],[\"comment/91\",[]],[\"name/92\",[83,52.516]],[\"comment/92\",[]],[\"name/93\",[84,47.243]],[\"comment/93\",[]],[\"name/94\",[85,47.243]],[\"comment/94\",[]],[\"name/95\",[86,52.516]],[\"comment/95\",[]],[\"name/96\",[19,35.903]],[\"comment/96\",[]],[\"name/97\",[87,52.516]],[\"comment/97\",[]],[\"name/98\",[88,52.516]],[\"comment/98\",[]],[\"name/99\",[76,43.77]],[\"comment/99\",[]],[\"name/100\",[77,37.38]],[\"comment/100\",[]],[\"name/101\",[19,35.903]],[\"comment/101\",[]],[\"name/102\",[89,52.516]],[\"comment/102\",[]],[\"name/103\",[90,52.516]],[\"comment/103\",[]],[\"name/104\",[91,52.516]],[\"comment/104\",[]],[\"name/105\",[92,52.516]],[\"comment/105\",[]],[\"name/106\",[7,41.176]],[\"comment/106\",[]],[\"name/107\",[93,47.243]],[\"comment/107\",[]],[\"name/108\",[84,47.243]],[\"comment/108\",[]],[\"name/109\",[94,52.516]],[\"comment/109\",[]],[\"name/110\",[95,52.516]],[\"comment/110\",[]],[\"name/111\",[96,52.516]],[\"comment/111\",[]],[\"name/112\",[53,39.104]],[\"comment/112\",[]],[\"name/113\",[97,52.516]],[\"comment/113\",[]],[\"name/114\",[98,52.516]],[\"comment/114\",[]],[\"name/115\",[74,47.243]],[\"comment/115\",[]],[\"name/116\",[99,52.516]],[\"comment/116\",[]],[\"name/117\",[100,52.516]],[\"comment/117\",[]],[\"name/118\",[101,52.516]],[\"comment/118\",[]],[\"name/119\",[102,52.516]],[\"comment/119\",[]],[\"name/120\",[103,52.516]],[\"comment/120\",[]],[\"name/121\",[104,52.516]],[\"comment/121\",[]],[\"name/122\",[105,52.516]],[\"comment/122\",[]],[\"name/123\",[106,52.516]],[\"comment/123\",[]],[\"name/124\",[107,52.516]],[\"comment/124\",[]],[\"name/125\",[108,52.516]],[\"comment/125\",[]],[\"name/126\",[109,52.516]],[\"comment/126\",[]],[\"name/127\",[110,52.516]],[\"comment/127\",[]],[\"name/128\",[111,43.77]],[\"comment/128\",[]],[\"name/129\",[37,32.43]],[\"comment/129\",[]],[\"name/130\",[42,39.104]],[\"comment/130\",[]],[\"name/131\",[112,52.516]],[\"comment/131\",[]],[\"name/132\",[111,43.77]],[\"comment/132\",[]],[\"name/133\",[37,32.43]],[\"comment/133\",[]],[\"name/134\",[42,39.104]],[\"comment/134\",[]],[\"name/135\",[113,52.516]],[\"comment/135\",[]],[\"name/136\",[111,43.77]],[\"comment/136\",[]],[\"name/137\",[37,32.43]],[\"comment/137\",[]],[\"name/138\",[42,39.104]],[\"comment/138\",[]],[\"name/139\",[114,52.516]],[\"comment/139\",[]],[\"name/140\",[115,52.516]],[\"comment/140\",[]],[\"name/141\",[116,52.516]],[\"comment/141\",[]],[\"name/142\",[117,52.516]],[\"comment/142\",[]],[\"name/143\",[118,52.516]],[\"comment/143\",[]],[\"name/144\",[119,52.516]],[\"comment/144\",[]],[\"name/145\",[120,52.516]],[\"comment/145\",[]],[\"name/146\",[121,52.516]],[\"comment/146\",[]],[\"name/147\",[122,52.516]],[\"comment/147\",[]],[\"name/148\",[123,52.516]],[\"comment/148\",[]],[\"name/149\",[12,35.903]],[\"comment/149\",[]],[\"name/150\",[39,47.243]],[\"comment/150\",[]],[\"name/151\",[124,52.516]],[\"comment/151\",[]],[\"name/152\",[125,52.516]],[\"comment/152\",[]],[\"name/153\",[126,52.516]],[\"comment/153\",[]],[\"name/154\",[12,35.903]],[\"comment/154\",[]],[\"name/155\",[85,47.243]],[\"comment/155\",[]],[\"name/156\",[127,52.516]],[\"comment/156\",[]],[\"name/157\",[12,35.903]],[\"comment/157\",[]],[\"name/158\",[128,52.516]],[\"comment/158\",[]],[\"name/159\",[129,52.516]],[\"comment/159\",[]],[\"name/160\",[12,35.903]],[\"comment/160\",[]],[\"name/161\",[130,52.516]],[\"comment/161\",[]],[\"name/162\",[0,23.33,131,37.78]],[\"comment/162\",[]],[\"name/163\",[132,52.516]],[\"comment/163\",[]],[\"name/164\",[133,52.516]],[\"comment/164\",[]],[\"name/165\",[134,52.516]],[\"comment/165\",[]],[\"name/166\",[135,52.516]],[\"comment/166\",[]],[\"name/167\",[58,43.77]],[\"comment/167\",[]],[\"name/168\",[136,52.516]],[\"comment/168\",[]],[\"name/169\",[137,52.516]],[\"comment/169\",[]],[\"name/170\",[138,52.516]],[\"comment/170\",[]],[\"name/171\",[139,52.516]],[\"comment/171\",[]],[\"name/172\",[79,47.243]],[\"comment/172\",[]],[\"name/173\",[140,52.516]],[\"comment/173\",[]],[\"name/174\",[141,52.516]],[\"comment/174\",[]],[\"name/175\",[0,18.218,142,29.502,143,29.502]],[\"comment/175\",[]],[\"name/176\",[144,52.516]],[\"comment/176\",[]],[\"name/177\",[0,23.33,145,37.78]],[\"comment/177\",[]],[\"name/178\",[146,52.516]],[\"comment/178\",[]],[\"name/179\",[53,39.104]],[\"comment/179\",[]],[\"name/180\",[147,52.516]],[\"comment/180\",[]],[\"name/181\",[148,47.243]],[\"comment/181\",[]],[\"name/182\",[149,47.243]],[\"comment/182\",[]],[\"name/183\",[150,47.243]],[\"comment/183\",[]],[\"name/184\",[151,52.516]],[\"comment/184\",[]],[\"name/185\",[53,39.104]],[\"comment/185\",[]],[\"name/186\",[152,52.516]],[\"comment/186\",[]],[\"name/187\",[148,47.243]],[\"comment/187\",[]],[\"name/188\",[149,47.243]],[\"comment/188\",[]],[\"name/189\",[153,52.516]],[\"comment/189\",[]],[\"name/190\",[150,47.243]],[\"comment/190\",[]],[\"name/191\",[154,52.516]],[\"comment/191\",[]],[\"name/192\",[37,32.43]],[\"comment/192\",[]],[\"name/193\",[155,47.243]],[\"comment/193\",[]],[\"name/194\",[156,52.516]],[\"comment/194\",[]],[\"name/195\",[37,32.43]],[\"comment/195\",[]],[\"name/196\",[157,52.516]],[\"comment/196\",[]],[\"name/197\",[37,32.43]],[\"comment/197\",[]],[\"name/198\",[158,52.516]],[\"comment/198\",[]],[\"name/199\",[76,43.77]],[\"comment/199\",[]],[\"name/200\",[159,52.516]],[\"comment/200\",[]],[\"name/201\",[160,52.516]],[\"comment/201\",[]],[\"name/202\",[12,35.903]],[\"comment/202\",[]],[\"name/203\",[161,52.516]],[\"comment/203\",[]],[\"name/204\",[37,32.43]],[\"comment/204\",[]],[\"name/205\",[162,52.516]],[\"comment/205\",[]],[\"name/206\",[163,52.516]],[\"comment/206\",[]],[\"name/207\",[164,52.516]],[\"comment/207\",[]],[\"name/208\",[37,32.43]],[\"comment/208\",[]],[\"name/209\",[155,47.243]],[\"comment/209\",[]],[\"name/210\",[55,43.77]],[\"comment/210\",[]],[\"name/211\",[165,52.516]],[\"comment/211\",[]],[\"name/212\",[166,52.516]],[\"comment/212\",[]],[\"name/213\",[167,52.516]],[\"comment/213\",[]],[\"name/214\",[168,52.516]],[\"comment/214\",[]],[\"name/215\",[169,52.516]],[\"comment/215\",[]],[\"name/216\",[170,52.516]],[\"comment/216\",[]],[\"name/217\",[171,52.516]],[\"comment/217\",[]],[\"name/218\",[172,52.516]],[\"comment/218\",[]],[\"name/219\",[0,18.218,173,29.502,174,26.54]],[\"comment/219\",[]],[\"name/220\",[175,52.516]],[\"comment/220\",[]],[\"name/221\",[77,37.38]],[\"comment/221\",[]],[\"name/222\",[19,35.903]],[\"comment/222\",[]],[\"name/223\",[176,52.516]],[\"comment/223\",[]],[\"name/224\",[177,52.516]],[\"comment/224\",[]],[\"name/225\",[0,18.218,174,26.54,178,29.502]],[\"comment/225\",[]],[\"name/226\",[179,52.516]],[\"comment/226\",[]],[\"name/227\",[77,37.38]],[\"comment/227\",[]],[\"name/228\",[19,35.903]],[\"comment/228\",[]],[\"name/229\",[180,52.516]],[\"comment/229\",[]],[\"name/230\",[0,18.218,181,29.502,182,29.502]],[\"comment/230\",[]],[\"name/231\",[183,52.516]],[\"comment/231\",[]],[\"name/232\",[77,37.38]],[\"comment/232\",[]],[\"name/233\",[8,47.243]],[\"comment/233\",[]],[\"name/234\",[19,35.903]],[\"comment/234\",[]],[\"name/235\",[184,52.516]],[\"comment/235\",[]],[\"name/236\",[185,52.516]],[\"comment/236\",[]],[\"name/237\",[0,18.218,36,26.54,186,29.502]],[\"comment/237\",[]],[\"name/238\",[187,52.516]],[\"comment/238\",[]],[\"name/239\",[77,37.38]],[\"comment/239\",[]],[\"name/240\",[19,35.903]],[\"comment/240\",[]],[\"name/241\",[93,47.243]],[\"comment/241\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":12,\"name\":{\"9\":{},\"12\":{},\"149\":{},\"154\":{},\"157\":{},\"160\":{},\"202\":{}},\"comment\":{}}],[\"activatebaselayer\",{\"_index\":43,\"name\":{\"42\":{}},\"comment\":{}}],[\"advanced\",{\"_index\":82,\"name\":{\"91\":{}},\"comment\":{}}],[\"attributes\",{\"_index\":55,\"name\":{\"54\":{},\"62\":{},\"210\":{}},\"comment\":{}}],[\"authevents\",{\"_index\":146,\"name\":{\"178\":{}},\"comment\":{}}],[\"authplugin\",{\"_index\":147,\"name\":{\"180\":{}},\"comment\":{}}],[\"authplugineventbase\",{\"_index\":168,\"name\":{\"214\":{}},\"comment\":{}}],[\"authpluginevents\",{\"_index\":151,\"name\":{\"184\":{}},\"comment\":{}}],[\"authservice\",{\"_index\":152,\"name\":{\"186\":{}},\"comment\":{}}],[\"authstate\",{\"_index\":169,\"name\":{\"215\":{}},\"comment\":{}}],[\"authstateauthenticated\",{\"_index\":154,\"name\":{\"191\":{}},\"comment\":{}}],[\"authstatenotauthenticated\",{\"_index\":156,\"name\":{\"194\":{}},\"comment\":{}}],[\"authstatepending\",{\"_index\":157,\"name\":{\"196\":{}},\"comment\":{}}],[\"basemapswitcher\",{\"_index\":185,\"name\":{\"236\":{}},\"comment\":{}}],[\"basemapswitcherprops\",{\"_index\":183,\"name\":{\"231\":{}},\"comment\":{}}],[\"bkgtopplusopen\",{\"_index\":23,\"name\":{\"20\":{}},\"comment\":{}}],[\"bkgtopplusopenprops\",{\"_index\":25,\"name\":{\"22\":{}},\"comment\":{}}],[\"bottom\",{\"_index\":100,\"name\":{\"117\":{}},\"comment\":{}}],[\"center\",{\"_index\":39,\"name\":{\"37\":{},\"150\":{}},\"comment\":{}}],[\"changed\",{\"_index\":53,\"name\":{\"52\":{},\"77\":{},\"112\":{},\"179\":{},\"185\":{}},\"comment\":{}}],[\"changed:attributes\",{\"_index\":69,\"name\":{\"78\":{}},\"comment\":{}}],[\"changed:container\",{\"_index\":97,\"name\":{\"113\":{}},\"comment\":{}}],[\"changed:description\",{\"_index\":70,\"name\":{\"79\":{}},\"comment\":{}}],[\"changed:initialextent\",{\"_index\":98,\"name\":{\"114\":{}},\"comment\":{}}],[\"changed:loadstate\",{\"_index\":71,\"name\":{\"80\":{}},\"comment\":{}}],[\"changed:title\",{\"_index\":72,\"name\":{\"81\":{}},\"comment\":{}}],[\"changed:visible\",{\"_index\":73,\"name\":{\"82\":{}},\"comment\":{}}],[\"children\",{\"_index\":76,\"name\":{\"85\":{},\"99\":{},\"199\":{}},\"comment\":{}}],[\"classname\",{\"_index\":77,\"name\":{\"86\":{},\"100\":{},\"221\":{},\"227\":{},\"232\":{},\"239\":{}},\"comment\":{}}],[\"closeall\",{\"_index\":137,\"name\":{\"169\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":24,\"name\":{\"21\":{}},\"comment\":{}}],[\"container\",{\"_index\":92,\"name\":{\"105\":{}},\"comment\":{}}],[\"content\",{\"_index\":5,\"name\":{\"2\":{}},\"comment\":{}}],[\"control\",{\"_index\":17,\"name\":{\"14\":{}},\"comment\":{}}],[\"coordinateconfig\",{\"_index\":26,\"name\":{\"24\":{}},\"comment\":{}}],[\"coordinateviewer\",{\"_index\":177,\"name\":{\"224\":{}},\"comment\":{}}],[\"coordinateviewerprops\",{\"_index\":175,\"name\":{\"220\":{}},\"comment\":{}}],[\"createlayer\",{\"_index\":44,\"name\":{\"43\":{}},\"comment\":{}}],[\"defaultexpanded\",{\"_index\":10,\"name\":{\"7\":{}},\"comment\":{}}],[\"deleteattribute\",{\"_index\":63,\"name\":{\"71\":{}},\"comment\":{}}],[\"description\",{\"_index\":56,\"name\":{\"55\":{},\"63\":{}},\"comment\":{}}],[\"destroy\",{\"_index\":74,\"name\":{\"83\":{},\"115\":{}},\"comment\":{}}],[\"displayduration\",{\"_index\":133,\"name\":{\"164\":{}},\"comment\":{}}],[\"error\",{\"_index\":111,\"name\":{\"128\":{},\"132\":{},\"136\":{}},\"comment\":{}}],[\"expandedchanged\",{\"_index\":11,\"name\":{\"8\":{}},\"comment\":{}}],[\"expectmapmodel\",{\"_index\":105,\"name\":{\"122\":{}},\"comment\":{}}],[\"expiresat\",{\"_index\":165,\"name\":{\"211\":{}},\"comment\":{}}],[\"extent\",{\"_index\":36,\"name\":{\"34\":{},\"237\":{}},\"comment\":{}}],[\"extentconfig\",{\"_index\":30,\"name\":{\"28\":{}},\"comment\":{}}],[\"fallback\",{\"_index\":164,\"name\":{\"207\":{}},\"comment\":{}}],[\"fallbackprops\",{\"_index\":159,\"name\":{\"200\":{}},\"comment\":{}}],[\"forceauth\",{\"_index\":171,\"name\":{\"217\":{}},\"comment\":{}}],[\"forceauthprops\",{\"_index\":158,\"name\":{\"198\":{}},\"comment\":{}}],[\"getactivebaselayer\",{\"_index\":45,\"name\":{\"44\":{}},\"comment\":{}}],[\"getalllayers\",{\"_index\":46,\"name\":{\"45\":{}},\"comment\":{}}],[\"getauthstate\",{\"_index\":148,\"name\":{\"181\":{},\"187\":{}},\"comment\":{}}],[\"getbaselayers\",{\"_index\":47,\"name\":{\"46\":{}},\"comment\":{}}],[\"getlayerbyid\",{\"_index\":48,\"name\":{\"47\":{}},\"comment\":{}}],[\"getlayerbyrawinstance\",{\"_index\":49,\"name\":{\"48\":{}},\"comment\":{}}],[\"getloginbehavior\",{\"_index\":149,\"name\":{\"182\":{},\"188\":{}},\"comment\":{}}],[\"getmapconfig\",{\"_index\":87,\"name\":{\"97\":{}},\"comment\":{}}],[\"getmapmodel\",{\"_index\":106,\"name\":{\"123\":{}},\"comment\":{}}],[\"getmapmodelbyrawinstance\",{\"_index\":107,\"name\":{\"124\":{}},\"comment\":{}}],[\"getoperationallayers\",{\"_index\":50,\"name\":{\"49\":{}},\"comment\":{}}],[\"getprojection\",{\"_index\":121,\"name\":{\"146\":{}},\"comment\":{}}],[\"getsessioninfo\",{\"_index\":153,\"name\":{\"189\":{}},\"comment\":{}}],[\"horizontalgap\",{\"_index\":78,\"name\":{\"87\":{}},\"comment\":{}}],[\"icon\",{\"_index\":6,\"name\":{\"3\":{}},\"comment\":{}}],[\"id\",{\"_index\":7,\"name\":{\"4\":{},\"56\":{},\"64\":{},\"106\":{}},\"comment\":{}}],[\"initialextent\",{\"_index\":93,\"name\":{\"107\":{},\"241\":{}},\"comment\":{}}],[\"initialextentconfig\",{\"_index\":35,\"name\":{\"33\":{}},\"comment\":{}}],[\"initialextentprops\",{\"_index\":187,\"name\":{\"238\":{}},\"comment\":{}}],[\"initialpositionconfig\",{\"_index\":38,\"name\":{\"36\":{}},\"comment\":{}}],[\"initialview\",{\"_index\":83,\"name\":{\"92\":{}},\"comment\":{}}],[\"initialviewconfig\",{\"_index\":114,\"name\":{\"139\":{}},\"comment\":{}}],[\"isbaselayer\",{\"_index\":57,\"name\":{\"57\":{},\"65\":{}},\"comment\":{}}],[\"items\",{\"_index\":13,\"name\":{\"10\":{}},\"comment\":{}}],[\"kind\",{\"_index\":37,\"name\":{\"35\":{},\"38\":{},\"129\":{},\"133\":{},\"137\":{},\"192\":{},\"195\":{},\"197\":{},\"204\":{},\"208\":{}},\"comment\":{}}],[\"label\",{\"_index\":8,\"name\":{\"5\":{},\"233\":{}},\"comment\":{}}],[\"layer\",{\"_index\":16,\"name\":{\"14\":{},\"23\":{},\"58\":{}},\"comment\":{}}],[\"layercollection\",{\"_index\":41,\"name\":{\"40\":{}},\"comment\":{}}],[\"layercollectionevents\",{\"_index\":52,\"name\":{\"51\":{}},\"comment\":{}}],[\"layerconfig\",{\"_index\":54,\"name\":{\"53\":{}},\"comment\":{}}],[\"layercontrolcomponent\",{\"_index\":21,\"name\":{\"18\":{}},\"comment\":{}}],[\"layercontrolprops\",{\"_index\":18,\"name\":{\"15\":{}},\"comment\":{}}],[\"layerloadstate\",{\"_index\":115,\"name\":{\"140\":{}},\"comment\":{}}],[\"layermodel\",{\"_index\":60,\"name\":{\"61\":{}},\"comment\":{}}],[\"layermodelevents\",{\"_index\":68,\"name\":{\"76\":{}},\"comment\":{}}],[\"layers\",{\"_index\":84,\"name\":{\"93\":{},\"108\":{}},\"comment\":{}}],[\"layout\",{\"_index\":2,\"name\":{\"0\":{}},\"comment\":{}}],[\"left\",{\"_index\":101,\"name\":{\"118\":{}},\"comment\":{}}],[\"level\",{\"_index\":134,\"name\":{\"165\":{}},\"comment\":{}}],[\"loadstate\",{\"_index\":61,\"name\":{\"66\":{}},\"comment\":{}}],[\"login\",{\"_index\":162,\"name\":{\"205\":{}},\"comment\":{}}],[\"loginbehavior\",{\"_index\":170,\"name\":{\"216\":{}},\"comment\":{}}],[\"logineffect\",{\"_index\":161,\"name\":{\"203\":{}},\"comment\":{}}],[\"loginfallback\",{\"_index\":163,\"name\":{\"206\":{}},\"comment\":{}}],[\"logout\",{\"_index\":150,\"name\":{\"183\":{},\"190\":{}},\"comment\":{}}],[\"map\",{\"_index\":42,\"name\":{\"41\":{},\"67\":{},\"130\":{},\"134\":{},\"138\":{}},\"comment\":{}}],[\"mapanchor\",{\"_index\":119,\"name\":{\"144\":{}},\"comment\":{}}],[\"mapanchorposition\",{\"_index\":116,\"name\":{\"141\":{}},\"comment\":{}}],[\"mapanchorprops\",{\"_index\":75,\"name\":{\"84\":{}},\"comment\":{}}],[\"mapconfig\",{\"_index\":81,\"name\":{\"90\":{}},\"comment\":{}}],[\"mapconfigprovider\",{\"_index\":86,\"name\":{\"95\":{}},\"comment\":{}}],[\"mapcontainer\",{\"_index\":120,\"name\":{\"145\":{}},\"comment\":{}}],[\"mapcontainerprops\",{\"_index\":88,\"name\":{\"98\":{}},\"comment\":{}}],[\"mapid\",{\"_index\":19,\"name\":{\"16\":{},\"96\":{},\"101\":{},\"222\":{},\"228\":{},\"234\":{},\"240\":{}},\"comment\":{}}],[\"mapmodel\",{\"_index\":91,\"name\":{\"104\":{}},\"comment\":{}}],[\"mapmodelevents\",{\"_index\":96,\"name\":{\"111\":{}},\"comment\":{}}],[\"mappadding\",{\"_index\":99,\"name\":{\"116\":{}},\"comment\":{}}],[\"mapregistry\",{\"_index\":104,\"name\":{\"121\":{}},\"comment\":{}}],[\"message\",{\"_index\":135,\"name\":{\"166\":{}},\"comment\":{}}],[\"nonebasemap\",{\"_index\":184,\"name\":{\"235\":{}},\"comment\":{}}],[\"notificationlevel\",{\"_index\":140,\"name\":{\"173\":{}},\"comment\":{}}],[\"notificationoptions\",{\"_index\":132,\"name\":{\"163\":{}},\"comment\":{}}],[\"notificationservice\",{\"_index\":136,\"name\":{\"168\":{}},\"comment\":{}}],[\"notifier\",{\"_index\":141,\"name\":{\"174\":{}},\"comment\":{}}],[\"notifierprops\",{\"_index\":139,\"name\":{\"171\":{}},\"comment\":{}}],[\"notify\",{\"_index\":138,\"name\":{\"170\":{}},\"comment\":{}}],[\"ol\",{\"_index\":15,\"name\":{\"14\":{}},\"comment\":{}}],[\"ollayer\",{\"_index\":62,\"name\":{\"68\":{}},\"comment\":{}}],[\"olmap\",{\"_index\":94,\"name\":{\"109\":{}},\"comment\":{}}],[\"olmapoptions\",{\"_index\":108,\"name\":{\"125\":{}},\"comment\":{}}],[\"open\",{\"_index\":0,\"name\":{\"0\":{},\"14\":{},\"19\":{},\"162\":{},\"175\":{},\"177\":{},\"219\":{},\"225\":{},\"230\":{},\"237\":{}},\"comment\":{}}],[\"pioneer/authentication\",{\"_index\":145,\"name\":{\"177\":{}},\"comment\":{}}],[\"pioneer/basemap\",{\"_index\":181,\"name\":{\"230\":{}},\"comment\":{}}],[\"pioneer/coordinate\",{\"_index\":173,\"name\":{\"219\":{}},\"comment\":{}}],[\"pioneer/experimental\",{\"_index\":1,\"name\":{\"0\":{},\"14\":{}},\"comment\":{}}],[\"pioneer/initial\",{\"_index\":186,\"name\":{\"237\":{}},\"comment\":{}}],[\"pioneer/map\",{\"_index\":22,\"name\":{\"19\":{}},\"comment\":{}}],[\"pioneer/notifier\",{\"_index\":131,\"name\":{\"162\":{}},\"comment\":{}}],[\"pioneer/react\",{\"_index\":142,\"name\":{\"175\":{}},\"comment\":{}}],[\"pioneer/scale\",{\"_index\":178,\"name\":{\"225\":{}},\"comment\":{}}],[\"position\",{\"_index\":79,\"name\":{\"88\":{},\"172\":{}},\"comment\":{}}],[\"precision\",{\"_index\":176,\"name\":{\"223\":{}},\"comment\":{}}],[\"projection\",{\"_index\":85,\"name\":{\"94\":{},\"155\":{}},\"comment\":{}}],[\"projectiondefinition\",{\"_index\":117,\"name\":{\"142\":{}},\"comment\":{}}],[\"registerprojections\",{\"_index\":122,\"name\":{\"147\":{}},\"comment\":{}}],[\"removelayerbyid\",{\"_index\":51,\"name\":{\"50\":{}},\"comment\":{}}],[\"renderfallback\",{\"_index\":160,\"name\":{\"201\":{}},\"comment\":{}}],[\"resolution\",{\"_index\":128,\"name\":{\"158\":{}},\"comment\":{}}],[\"right\",{\"_index\":102,\"name\":{\"119\":{}},\"comment\":{}}],[\"scale\",{\"_index\":130,\"name\":{\"161\":{}},\"comment\":{}}],[\"scaleviewer\",{\"_index\":180,\"name\":{\"229\":{}},\"comment\":{}}],[\"scaleviewerprops\",{\"_index\":179,\"name\":{\"226\":{}},\"comment\":{}}],[\"sessioninfo\",{\"_index\":155,\"name\":{\"193\":{},\"209\":{}},\"comment\":{}}],[\"setdescription\",{\"_index\":64,\"name\":{\"72\":{}},\"comment\":{}}],[\"settitle\",{\"_index\":65,\"name\":{\"73\":{}},\"comment\":{}}],[\"setvisible\",{\"_index\":66,\"name\":{\"74\":{}},\"comment\":{}}],[\"showopacityslider\",{\"_index\":20,\"name\":{\"17\":{}},\"comment\":{}}],[\"sidebar\",{\"_index\":3,\"name\":{\"0\":{},\"13\":{}},\"comment\":{}}],[\"sidebaritem\",{\"_index\":4,\"name\":{\"1\":{}},\"comment\":{}}],[\"sidebarproperties\",{\"_index\":9,\"name\":{\"6\":{}},\"comment\":{}}],[\"sidebarwidthchanged\",{\"_index\":14,\"name\":{\"11\":{}},\"comment\":{}}],[\"switcher\",{\"_index\":182,\"name\":{\"230\":{}},\"comment\":{}}],[\"title\",{\"_index\":58,\"name\":{\"59\":{},\"69\":{},\"167\":{}},\"comment\":{}}],[\"top\",{\"_index\":103,\"name\":{\"120\":{}},\"comment\":{}}],[\"updateattributes\",{\"_index\":67,\"name\":{\"75\":{}},\"comment\":{}}],[\"useauthstate\",{\"_index\":172,\"name\":{\"218\":{}},\"comment\":{}}],[\"usecenter\",{\"_index\":123,\"name\":{\"148\":{}},\"comment\":{}}],[\"useevent\",{\"_index\":144,\"name\":{\"176\":{}},\"comment\":{}}],[\"useformatting\",{\"_index\":124,\"name\":{\"151\":{}},\"comment\":{}}],[\"usemapmodel\",{\"_index\":125,\"name\":{\"152\":{}},\"comment\":{}}],[\"usemapmodelloading\",{\"_index\":110,\"name\":{\"127\":{}},\"comment\":{}}],[\"usemapmodelrejected\",{\"_index\":112,\"name\":{\"131\":{}},\"comment\":{}}],[\"usemapmodelresolved\",{\"_index\":113,\"name\":{\"135\":{}},\"comment\":{}}],[\"usemapmodelresult\",{\"_index\":118,\"name\":{\"143\":{}},\"comment\":{}}],[\"useprojection\",{\"_index\":126,\"name\":{\"153\":{}},\"comment\":{}}],[\"useresolution\",{\"_index\":127,\"name\":{\"156\":{}},\"comment\":{}}],[\"userid\",{\"_index\":166,\"name\":{\"212\":{}},\"comment\":{}}],[\"username\",{\"_index\":167,\"name\":{\"213\":{}},\"comment\":{}}],[\"usescale\",{\"_index\":129,\"name\":{\"159\":{}},\"comment\":{}}],[\"utils\",{\"_index\":143,\"name\":{\"175\":{}},\"comment\":{}}],[\"verticalgap\",{\"_index\":80,\"name\":{\"89\":{}},\"comment\":{}}],[\"view\",{\"_index\":109,\"name\":{\"126\":{}},\"comment\":{}}],[\"viewer\",{\"_index\":174,\"name\":{\"219\":{},\"225\":{}},\"comment\":{}}],[\"viewpadding\",{\"_index\":89,\"name\":{\"102\":{}},\"comment\":{}}],[\"viewpaddingchangebehavior\",{\"_index\":90,\"name\":{\"103\":{}},\"comment\":{}}],[\"visible\",{\"_index\":59,\"name\":{\"60\":{},\"70\":{}},\"comment\":{}}],[\"whendisplayed\",{\"_index\":95,\"name\":{\"110\":{}},\"comment\":{}}],[\"x\",{\"_index\":27,\"name\":{\"25\":{}},\"comment\":{}}],[\"xmax\",{\"_index\":31,\"name\":{\"29\":{}},\"comment\":{}}],[\"xmin\",{\"_index\":32,\"name\":{\"30\":{}},\"comment\":{}}],[\"y\",{\"_index\":28,\"name\":{\"26\":{}},\"comment\":{}}],[\"ymax\",{\"_index\":33,\"name\":{\"31\":{}},\"comment\":{}}],[\"ymin\",{\"_index\":34,\"name\":{\"32\":{}},\"comment\":{}}],[\"z\",{\"_index\":29,\"name\":{\"27\":{}},\"comment\":{}}],[\"zoom\",{\"_index\":40,\"name\":{\"39\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file +window.searchData = JSON.parse("{\"rows\":[{\"kind\":2,\"name\":\"@open-pioneer/experimental-layout-sidebar\",\"url\":\"modules/_open_pioneer_experimental_layout_sidebar.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"SidebarItem\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarItem.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar\"},{\"kind\":1024,\"name\":\"content\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarItem.html#content\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarItem\"},{\"kind\":1024,\"name\":\"icon\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarItem.html#icon\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarItem\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarItem.html#id\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarItem\"},{\"kind\":1024,\"name\":\"label\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarItem.html#label\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarItem\"},{\"kind\":256,\"name\":\"SidebarProperties\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarProperties.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar\"},{\"kind\":1024,\"name\":\"defaultExpanded\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarProperties.html#defaultExpanded\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarProperties\"},{\"kind\":1024,\"name\":\"expandedChanged\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarProperties.html#expandedChanged\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarProperties\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarProperties.html#expandedChanged.__type\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarProperties.expandedChanged\"},{\"kind\":1024,\"name\":\"items\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarProperties.html#items\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarProperties\"},{\"kind\":1024,\"name\":\"sidebarWidthChanged\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarProperties.html#sidebarWidthChanged\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarProperties\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/_open_pioneer_experimental_layout_sidebar.SidebarProperties.html#sidebarWidthChanged.__type-2\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar.SidebarProperties.sidebarWidthChanged\"},{\"kind\":64,\"name\":\"Sidebar\",\"url\":\"functions/_open_pioneer_experimental_layout_sidebar.Sidebar.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-layout-sidebar\"},{\"kind\":2,\"name\":\"@open-pioneer/experimental-ol-layer-control\",\"url\":\"modules/_open_pioneer_experimental_ol_layer_control.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"LayerControlProps\",\"url\":\"interfaces/_open_pioneer_experimental_ol_layer_control.LayerControlProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-ol-layer-control\"},{\"kind\":1024,\"name\":\"mapId\",\"url\":\"interfaces/_open_pioneer_experimental_ol_layer_control.LayerControlProps.html#mapId\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-ol-layer-control.LayerControlProps\"},{\"kind\":1024,\"name\":\"showOpacitySlider\",\"url\":\"interfaces/_open_pioneer_experimental_ol_layer_control.LayerControlProps.html#showOpacitySlider\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-ol-layer-control.LayerControlProps\"},{\"kind\":64,\"name\":\"LayerControlComponent\",\"url\":\"functions/_open_pioneer_experimental_ol_layer_control.LayerControlComponent.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/experimental-ol-layer-control\"},{\"kind\":2,\"name\":\"@open-pioneer/map\",\"url\":\"modules/_open_pioneer_map.html\",\"classes\":\"\"},{\"kind\":128,\"name\":\"BkgTopPlusOpen\",\"url\":\"classes/_open_pioneer_map.BkgTopPlusOpen.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/_open_pioneer_map.BkgTopPlusOpen.html#constructor\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.BkgTopPlusOpen\"},{\"kind\":256,\"name\":\"BkgTopPlusOpenProps\",\"url\":\"interfaces/_open_pioneer_map.BkgTopPlusOpenProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"layer\",\"url\":\"interfaces/_open_pioneer_map.BkgTopPlusOpenProps.html#layer\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.BkgTopPlusOpenProps\"},{\"kind\":256,\"name\":\"CoordinateConfig\",\"url\":\"interfaces/_open_pioneer_map.CoordinateConfig.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"x\",\"url\":\"interfaces/_open_pioneer_map.CoordinateConfig.html#x\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.CoordinateConfig\"},{\"kind\":1024,\"name\":\"y\",\"url\":\"interfaces/_open_pioneer_map.CoordinateConfig.html#y\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.CoordinateConfig\"},{\"kind\":1024,\"name\":\"z\",\"url\":\"interfaces/_open_pioneer_map.CoordinateConfig.html#z\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.CoordinateConfig\"},{\"kind\":256,\"name\":\"ExtentConfig\",\"url\":\"interfaces/_open_pioneer_map.ExtentConfig.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"xMax\",\"url\":\"interfaces/_open_pioneer_map.ExtentConfig.html#xMax\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.ExtentConfig\"},{\"kind\":1024,\"name\":\"xMin\",\"url\":\"interfaces/_open_pioneer_map.ExtentConfig.html#xMin\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.ExtentConfig\"},{\"kind\":1024,\"name\":\"yMax\",\"url\":\"interfaces/_open_pioneer_map.ExtentConfig.html#yMax\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.ExtentConfig\"},{\"kind\":1024,\"name\":\"yMin\",\"url\":\"interfaces/_open_pioneer_map.ExtentConfig.html#yMin\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.ExtentConfig\"},{\"kind\":256,\"name\":\"InitialExtentConfig\",\"url\":\"interfaces/_open_pioneer_map.InitialExtentConfig.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"extent\",\"url\":\"interfaces/_open_pioneer_map.InitialExtentConfig.html#extent\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.InitialExtentConfig\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_map.InitialExtentConfig.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.InitialExtentConfig\"},{\"kind\":256,\"name\":\"InitialPositionConfig\",\"url\":\"interfaces/_open_pioneer_map.InitialPositionConfig.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"center\",\"url\":\"interfaces/_open_pioneer_map.InitialPositionConfig.html#center\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.InitialPositionConfig\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_map.InitialPositionConfig.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.InitialPositionConfig\"},{\"kind\":1024,\"name\":\"zoom\",\"url\":\"interfaces/_open_pioneer_map.InitialPositionConfig.html#zoom\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.InitialPositionConfig\"},{\"kind\":256,\"name\":\"LayerCollection\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"map\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#map\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":2048,\"name\":\"activateBaseLayer\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#activateBaseLayer\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":2048,\"name\":\"createLayer\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#createLayer\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":2048,\"name\":\"getActiveBaseLayer\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#getActiveBaseLayer\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":2048,\"name\":\"getAllLayers\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#getAllLayers\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":2048,\"name\":\"getBaseLayers\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#getBaseLayers\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":2048,\"name\":\"getLayerById\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#getLayerById\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":2048,\"name\":\"getLayerByRawInstance\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#getLayerByRawInstance\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":2048,\"name\":\"getOperationalLayers\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#getOperationalLayers\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":2048,\"name\":\"removeLayerById\",\"url\":\"interfaces/_open_pioneer_map.LayerCollection.html#removeLayerById\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollection\"},{\"kind\":256,\"name\":\"LayerCollectionEvents\",\"url\":\"interfaces/_open_pioneer_map.LayerCollectionEvents.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"changed\",\"url\":\"interfaces/_open_pioneer_map.LayerCollectionEvents.html#changed\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerCollectionEvents\"},{\"kind\":256,\"name\":\"LayerConfig\",\"url\":\"interfaces/_open_pioneer_map.LayerConfig.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"attributes\",\"url\":\"interfaces/_open_pioneer_map.LayerConfig.html#attributes\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerConfig\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"interfaces/_open_pioneer_map.LayerConfig.html#description\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerConfig\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"interfaces/_open_pioneer_map.LayerConfig.html#id\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerConfig\"},{\"kind\":1024,\"name\":\"isBaseLayer\",\"url\":\"interfaces/_open_pioneer_map.LayerConfig.html#isBaseLayer\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerConfig\"},{\"kind\":1024,\"name\":\"layer\",\"url\":\"interfaces/_open_pioneer_map.LayerConfig.html#layer\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerConfig\"},{\"kind\":1024,\"name\":\"title\",\"url\":\"interfaces/_open_pioneer_map.LayerConfig.html#title\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerConfig\"},{\"kind\":1024,\"name\":\"visible\",\"url\":\"interfaces/_open_pioneer_map.LayerConfig.html#visible\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerConfig\"},{\"kind\":256,\"name\":\"LayerModel\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"attributes\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#attributes\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":1024,\"name\":\"description\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#description\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#id\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":1024,\"name\":\"isBaseLayer\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#isBaseLayer\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":1024,\"name\":\"loadState\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#loadState\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":1024,\"name\":\"map\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#map\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":1024,\"name\":\"olLayer\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#olLayer\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":1024,\"name\":\"title\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#title\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":1024,\"name\":\"visible\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#visible\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":2048,\"name\":\"deleteAttribute\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#deleteAttribute\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":2048,\"name\":\"setDescription\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#setDescription\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":2048,\"name\":\"setTitle\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#setTitle\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":2048,\"name\":\"setVisible\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#setVisible\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":2048,\"name\":\"updateAttributes\",\"url\":\"interfaces/_open_pioneer_map.LayerModel.html#updateAttributes\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModel\"},{\"kind\":256,\"name\":\"LayerModelEvents\",\"url\":\"interfaces/_open_pioneer_map.LayerModelEvents.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"changed\",\"url\":\"interfaces/_open_pioneer_map.LayerModelEvents.html#changed\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModelEvents\"},{\"kind\":1024,\"name\":\"changed:attributes\",\"url\":\"interfaces/_open_pioneer_map.LayerModelEvents.html#changed_attributes\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModelEvents\"},{\"kind\":1024,\"name\":\"changed:description\",\"url\":\"interfaces/_open_pioneer_map.LayerModelEvents.html#changed_description\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModelEvents\"},{\"kind\":1024,\"name\":\"changed:loadState\",\"url\":\"interfaces/_open_pioneer_map.LayerModelEvents.html#changed_loadState\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModelEvents\"},{\"kind\":1024,\"name\":\"changed:title\",\"url\":\"interfaces/_open_pioneer_map.LayerModelEvents.html#changed_title\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModelEvents\"},{\"kind\":1024,\"name\":\"changed:visible\",\"url\":\"interfaces/_open_pioneer_map.LayerModelEvents.html#changed_visible\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModelEvents\"},{\"kind\":1024,\"name\":\"destroy\",\"url\":\"interfaces/_open_pioneer_map.LayerModelEvents.html#destroy\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.LayerModelEvents\"},{\"kind\":256,\"name\":\"MapAnchorProps\",\"url\":\"interfaces/_open_pioneer_map.MapAnchorProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"children\",\"url\":\"interfaces/_open_pioneer_map.MapAnchorProps.html#children\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapAnchorProps\"},{\"kind\":1024,\"name\":\"className\",\"url\":\"interfaces/_open_pioneer_map.MapAnchorProps.html#className\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapAnchorProps\"},{\"kind\":1024,\"name\":\"horizontalGap\",\"url\":\"interfaces/_open_pioneer_map.MapAnchorProps.html#horizontalGap\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapAnchorProps\"},{\"kind\":1024,\"name\":\"position\",\"url\":\"interfaces/_open_pioneer_map.MapAnchorProps.html#position\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapAnchorProps\"},{\"kind\":1024,\"name\":\"verticalGap\",\"url\":\"interfaces/_open_pioneer_map.MapAnchorProps.html#verticalGap\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapAnchorProps\"},{\"kind\":256,\"name\":\"MapConfig\",\"url\":\"interfaces/_open_pioneer_map.MapConfig.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"advanced\",\"url\":\"interfaces/_open_pioneer_map.MapConfig.html#advanced\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapConfig\"},{\"kind\":1024,\"name\":\"initialView\",\"url\":\"interfaces/_open_pioneer_map.MapConfig.html#initialView\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapConfig\"},{\"kind\":1024,\"name\":\"layers\",\"url\":\"interfaces/_open_pioneer_map.MapConfig.html#layers\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapConfig\"},{\"kind\":1024,\"name\":\"projection\",\"url\":\"interfaces/_open_pioneer_map.MapConfig.html#projection\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapConfig\"},{\"kind\":256,\"name\":\"MapConfigProvider\",\"url\":\"interfaces/_open_pioneer_map.MapConfigProvider.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"mapId\",\"url\":\"interfaces/_open_pioneer_map.MapConfigProvider.html#mapId\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapConfigProvider\"},{\"kind\":2048,\"name\":\"getMapConfig\",\"url\":\"interfaces/_open_pioneer_map.MapConfigProvider.html#getMapConfig\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapConfigProvider\"},{\"kind\":256,\"name\":\"MapContainerProps\",\"url\":\"interfaces/_open_pioneer_map.MapContainerProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"children\",\"url\":\"interfaces/_open_pioneer_map.MapContainerProps.html#children\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapContainerProps\"},{\"kind\":1024,\"name\":\"className\",\"url\":\"interfaces/_open_pioneer_map.MapContainerProps.html#className\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapContainerProps\"},{\"kind\":1024,\"name\":\"mapId\",\"url\":\"interfaces/_open_pioneer_map.MapContainerProps.html#mapId\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapContainerProps\"},{\"kind\":1024,\"name\":\"viewPadding\",\"url\":\"interfaces/_open_pioneer_map.MapContainerProps.html#viewPadding\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapContainerProps\"},{\"kind\":1024,\"name\":\"viewPaddingChangeBehavior\",\"url\":\"interfaces/_open_pioneer_map.MapContainerProps.html#viewPaddingChangeBehavior\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapContainerProps\"},{\"kind\":256,\"name\":\"MapModel\",\"url\":\"interfaces/_open_pioneer_map.MapModel.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"container\",\"url\":\"interfaces/_open_pioneer_map.MapModel.html#container\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModel\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"interfaces/_open_pioneer_map.MapModel.html#id\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModel\"},{\"kind\":1024,\"name\":\"initialExtent\",\"url\":\"interfaces/_open_pioneer_map.MapModel.html#initialExtent\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModel\"},{\"kind\":1024,\"name\":\"layers\",\"url\":\"interfaces/_open_pioneer_map.MapModel.html#layers\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModel\"},{\"kind\":1024,\"name\":\"olMap\",\"url\":\"interfaces/_open_pioneer_map.MapModel.html#olMap\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModel\"},{\"kind\":2048,\"name\":\"whenDisplayed\",\"url\":\"interfaces/_open_pioneer_map.MapModel.html#whenDisplayed\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModel\"},{\"kind\":256,\"name\":\"MapModelEvents\",\"url\":\"interfaces/_open_pioneer_map.MapModelEvents.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"changed\",\"url\":\"interfaces/_open_pioneer_map.MapModelEvents.html#changed\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModelEvents\"},{\"kind\":1024,\"name\":\"changed:container\",\"url\":\"interfaces/_open_pioneer_map.MapModelEvents.html#changed_container\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModelEvents\"},{\"kind\":1024,\"name\":\"changed:initialExtent\",\"url\":\"interfaces/_open_pioneer_map.MapModelEvents.html#changed_initialExtent\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModelEvents\"},{\"kind\":1024,\"name\":\"destroy\",\"url\":\"interfaces/_open_pioneer_map.MapModelEvents.html#destroy\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapModelEvents\"},{\"kind\":256,\"name\":\"MapPadding\",\"url\":\"interfaces/_open_pioneer_map.MapPadding.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"bottom\",\"url\":\"interfaces/_open_pioneer_map.MapPadding.html#bottom\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapPadding\"},{\"kind\":1024,\"name\":\"left\",\"url\":\"interfaces/_open_pioneer_map.MapPadding.html#left\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapPadding\"},{\"kind\":1024,\"name\":\"right\",\"url\":\"interfaces/_open_pioneer_map.MapPadding.html#right\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapPadding\"},{\"kind\":1024,\"name\":\"top\",\"url\":\"interfaces/_open_pioneer_map.MapPadding.html#top\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapPadding\"},{\"kind\":256,\"name\":\"MapRegistry\",\"url\":\"interfaces/_open_pioneer_map.MapRegistry.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":2048,\"name\":\"expectMapModel\",\"url\":\"interfaces/_open_pioneer_map.MapRegistry.html#expectMapModel\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapRegistry\"},{\"kind\":2048,\"name\":\"getMapModel\",\"url\":\"interfaces/_open_pioneer_map.MapRegistry.html#getMapModel\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapRegistry\"},{\"kind\":2048,\"name\":\"getMapModelByRawInstance\",\"url\":\"interfaces/_open_pioneer_map.MapRegistry.html#getMapModelByRawInstance\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.MapRegistry\"},{\"kind\":256,\"name\":\"OlMapOptions\",\"url\":\"interfaces/_open_pioneer_map.OlMapOptions.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"view\",\"url\":\"interfaces/_open_pioneer_map.OlMapOptions.html#view\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.OlMapOptions\"},{\"kind\":256,\"name\":\"UseMapModelLoading\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelLoading.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"error\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelLoading.html#error\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.UseMapModelLoading\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelLoading.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.UseMapModelLoading\"},{\"kind\":1024,\"name\":\"map\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelLoading.html#map\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.UseMapModelLoading\"},{\"kind\":256,\"name\":\"UseMapModelRejected\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelRejected.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"error\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelRejected.html#error\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.UseMapModelRejected\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelRejected.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.UseMapModelRejected\"},{\"kind\":1024,\"name\":\"map\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelRejected.html#map\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.UseMapModelRejected\"},{\"kind\":256,\"name\":\"UseMapModelResolved\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelResolved.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":1024,\"name\":\"error\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelResolved.html#error\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.UseMapModelResolved\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelResolved.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.UseMapModelResolved\"},{\"kind\":1024,\"name\":\"map\",\"url\":\"interfaces/_open_pioneer_map.UseMapModelResolved.html#map\",\"classes\":\"\",\"parent\":\"@open-pioneer/map.UseMapModelResolved\"},{\"kind\":4194304,\"name\":\"InitialViewConfig\",\"url\":\"types/_open_pioneer_map.InitialViewConfig.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":4194304,\"name\":\"LayerLoadState\",\"url\":\"types/_open_pioneer_map.LayerLoadState.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":4194304,\"name\":\"MapAnchorPosition\",\"url\":\"types/_open_pioneer_map.MapAnchorPosition.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":4194304,\"name\":\"ProjectionDefinition\",\"url\":\"types/_open_pioneer_map.ProjectionDefinition.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":4194304,\"name\":\"UseMapModelResult\",\"url\":\"types/_open_pioneer_map.UseMapModelResult.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":64,\"name\":\"MapAnchor\",\"url\":\"functions/_open_pioneer_map.MapAnchor.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":64,\"name\":\"MapContainer\",\"url\":\"functions/_open_pioneer_map.MapContainer.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":64,\"name\":\"getProjection\",\"url\":\"functions/_open_pioneer_map.getProjection.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":64,\"name\":\"registerProjections\",\"url\":\"functions/_open_pioneer_map.registerProjections.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":64,\"name\":\"useCenter\",\"url\":\"functions/_open_pioneer_map.useCenter.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":64,\"name\":\"useMapModel\",\"url\":\"functions/_open_pioneer_map.useMapModel.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":64,\"name\":\"useProjection\",\"url\":\"functions/_open_pioneer_map.useProjection.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":64,\"name\":\"useResolution\",\"url\":\"functions/_open_pioneer_map.useResolution.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":64,\"name\":\"useScale\",\"url\":\"functions/_open_pioneer_map.useScale.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map\"},{\"kind\":2,\"name\":\"@open-pioneer/map-test-utils\",\"url\":\"modules/_open_pioneer_map_test_utils.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"SimpleMapOptions\",\"url\":\"interfaces/_open_pioneer_map_test_utils.SimpleMapOptions.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map-test-utils\"},{\"kind\":1024,\"name\":\"advanced\",\"url\":\"interfaces/_open_pioneer_map_test_utils.SimpleMapOptions.html#advanced\",\"classes\":\"\",\"parent\":\"@open-pioneer/map-test-utils.SimpleMapOptions\"},{\"kind\":1024,\"name\":\"center\",\"url\":\"interfaces/_open_pioneer_map_test_utils.SimpleMapOptions.html#center\",\"classes\":\"\",\"parent\":\"@open-pioneer/map-test-utils.SimpleMapOptions\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/_open_pioneer_map_test_utils.SimpleMapOptions.html#center.__type\",\"classes\":\"\",\"parent\":\"@open-pioneer/map-test-utils.SimpleMapOptions.center\"},{\"kind\":1024,\"name\":\"x\",\"url\":\"interfaces/_open_pioneer_map_test_utils.SimpleMapOptions.html#center.__type.x\",\"classes\":\"\",\"parent\":\"@open-pioneer/map-test-utils.SimpleMapOptions.center.__type\"},{\"kind\":1024,\"name\":\"y\",\"url\":\"interfaces/_open_pioneer_map_test_utils.SimpleMapOptions.html#center.__type.y\",\"classes\":\"\",\"parent\":\"@open-pioneer/map-test-utils.SimpleMapOptions.center.__type\"},{\"kind\":1024,\"name\":\"extent\",\"url\":\"interfaces/_open_pioneer_map_test_utils.SimpleMapOptions.html#extent\",\"classes\":\"\",\"parent\":\"@open-pioneer/map-test-utils.SimpleMapOptions\"},{\"kind\":1024,\"name\":\"layers\",\"url\":\"interfaces/_open_pioneer_map_test_utils.SimpleMapOptions.html#layers\",\"classes\":\"\",\"parent\":\"@open-pioneer/map-test-utils.SimpleMapOptions\"},{\"kind\":1024,\"name\":\"noInitialView\",\"url\":\"interfaces/_open_pioneer_map_test_utils.SimpleMapOptions.html#noInitialView\",\"classes\":\"\",\"parent\":\"@open-pioneer/map-test-utils.SimpleMapOptions\"},{\"kind\":1024,\"name\":\"noProjection\",\"url\":\"interfaces/_open_pioneer_map_test_utils.SimpleMapOptions.html#noProjection\",\"classes\":\"\",\"parent\":\"@open-pioneer/map-test-utils.SimpleMapOptions\"},{\"kind\":1024,\"name\":\"projection\",\"url\":\"interfaces/_open_pioneer_map_test_utils.SimpleMapOptions.html#projection\",\"classes\":\"\",\"parent\":\"@open-pioneer/map-test-utils.SimpleMapOptions\"},{\"kind\":1024,\"name\":\"zoom\",\"url\":\"interfaces/_open_pioneer_map_test_utils.SimpleMapOptions.html#zoom\",\"classes\":\"\",\"parent\":\"@open-pioneer/map-test-utils.SimpleMapOptions\"},{\"kind\":64,\"name\":\"createServiceOptions\",\"url\":\"functions/_open_pioneer_map_test_utils.createServiceOptions.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map-test-utils\"},{\"kind\":64,\"name\":\"setupMap\",\"url\":\"functions/_open_pioneer_map_test_utils.setupMap.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map-test-utils\"},{\"kind\":64,\"name\":\"waitForInitialExtent\",\"url\":\"functions/_open_pioneer_map_test_utils.waitForInitialExtent.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map-test-utils\"},{\"kind\":64,\"name\":\"waitForMapMount\",\"url\":\"functions/_open_pioneer_map_test_utils.waitForMapMount.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/map-test-utils\"},{\"kind\":2,\"name\":\"@open-pioneer/notifier\",\"url\":\"modules/_open_pioneer_notifier.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"NotificationOptions\",\"url\":\"interfaces/_open_pioneer_notifier.NotificationOptions.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier\"},{\"kind\":1024,\"name\":\"displayDuration\",\"url\":\"interfaces/_open_pioneer_notifier.NotificationOptions.html#displayDuration\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier.NotificationOptions\"},{\"kind\":1024,\"name\":\"level\",\"url\":\"interfaces/_open_pioneer_notifier.NotificationOptions.html#level\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier.NotificationOptions\"},{\"kind\":1024,\"name\":\"message\",\"url\":\"interfaces/_open_pioneer_notifier.NotificationOptions.html#message\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier.NotificationOptions\"},{\"kind\":1024,\"name\":\"title\",\"url\":\"interfaces/_open_pioneer_notifier.NotificationOptions.html#title\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier.NotificationOptions\"},{\"kind\":256,\"name\":\"NotificationService\",\"url\":\"interfaces/_open_pioneer_notifier.NotificationService.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier\"},{\"kind\":2048,\"name\":\"closeAll\",\"url\":\"interfaces/_open_pioneer_notifier.NotificationService.html#closeAll\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier.NotificationService\"},{\"kind\":2048,\"name\":\"notify\",\"url\":\"interfaces/_open_pioneer_notifier.NotificationService.html#notify\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier.NotificationService\"},{\"kind\":256,\"name\":\"NotifierProps\",\"url\":\"interfaces/_open_pioneer_notifier.NotifierProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier\"},{\"kind\":1024,\"name\":\"position\",\"url\":\"interfaces/_open_pioneer_notifier.NotifierProps.html#position\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier.NotifierProps\"},{\"kind\":4194304,\"name\":\"NotificationLevel\",\"url\":\"types/_open_pioneer_notifier.NotificationLevel.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier\"},{\"kind\":64,\"name\":\"Notifier\",\"url\":\"functions/_open_pioneer_notifier.Notifier.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/notifier\"},{\"kind\":2,\"name\":\"@open-pioneer/react-utils\",\"url\":\"modules/_open_pioneer_react_utils.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"useEvent\",\"url\":\"functions/_open_pioneer_react_utils.useEvent.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/react-utils\"},{\"kind\":2,\"name\":\"@open-pioneer/authentication\",\"url\":\"modules/_open_pioneer_authentication.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"AuthEvents\",\"url\":\"interfaces/_open_pioneer_authentication.AuthEvents.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":1024,\"name\":\"changed\",\"url\":\"interfaces/_open_pioneer_authentication.AuthEvents.html#changed\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthEvents\"},{\"kind\":256,\"name\":\"AuthPlugin\",\"url\":\"interfaces/_open_pioneer_authentication.AuthPlugin.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":2048,\"name\":\"getAuthState\",\"url\":\"interfaces/_open_pioneer_authentication.AuthPlugin.html#getAuthState\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthPlugin\"},{\"kind\":2048,\"name\":\"getLoginBehavior\",\"url\":\"interfaces/_open_pioneer_authentication.AuthPlugin.html#getLoginBehavior\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthPlugin\"},{\"kind\":2048,\"name\":\"logout\",\"url\":\"interfaces/_open_pioneer_authentication.AuthPlugin.html#logout\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthPlugin\"},{\"kind\":256,\"name\":\"AuthPluginEvents\",\"url\":\"interfaces/_open_pioneer_authentication.AuthPluginEvents.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":1024,\"name\":\"changed\",\"url\":\"interfaces/_open_pioneer_authentication.AuthPluginEvents.html#changed\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthPluginEvents\"},{\"kind\":256,\"name\":\"AuthService\",\"url\":\"interfaces/_open_pioneer_authentication.AuthService.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":2048,\"name\":\"getAuthState\",\"url\":\"interfaces/_open_pioneer_authentication.AuthService.html#getAuthState\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthService\"},{\"kind\":2048,\"name\":\"getLoginBehavior\",\"url\":\"interfaces/_open_pioneer_authentication.AuthService.html#getLoginBehavior\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthService\"},{\"kind\":2048,\"name\":\"getSessionInfo\",\"url\":\"interfaces/_open_pioneer_authentication.AuthService.html#getSessionInfo\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthService\"},{\"kind\":2048,\"name\":\"logout\",\"url\":\"interfaces/_open_pioneer_authentication.AuthService.html#logout\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthService\"},{\"kind\":256,\"name\":\"AuthStateAuthenticated\",\"url\":\"interfaces/_open_pioneer_authentication.AuthStateAuthenticated.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_authentication.AuthStateAuthenticated.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthStateAuthenticated\"},{\"kind\":1024,\"name\":\"sessionInfo\",\"url\":\"interfaces/_open_pioneer_authentication.AuthStateAuthenticated.html#sessionInfo\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthStateAuthenticated\"},{\"kind\":256,\"name\":\"AuthStateNotAuthenticated\",\"url\":\"interfaces/_open_pioneer_authentication.AuthStateNotAuthenticated.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_authentication.AuthStateNotAuthenticated.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthStateNotAuthenticated\"},{\"kind\":256,\"name\":\"AuthStatePending\",\"url\":\"interfaces/_open_pioneer_authentication.AuthStatePending.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_authentication.AuthStatePending.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.AuthStatePending\"},{\"kind\":256,\"name\":\"ForceAuthProps\",\"url\":\"interfaces/_open_pioneer_authentication.ForceAuthProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":1024,\"name\":\"children\",\"url\":\"interfaces/_open_pioneer_authentication.ForceAuthProps.html#children\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.ForceAuthProps\"},{\"kind\":1024,\"name\":\"fallbackProps\",\"url\":\"interfaces/_open_pioneer_authentication.ForceAuthProps.html#fallbackProps\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.ForceAuthProps\"},{\"kind\":1024,\"name\":\"renderFallback\",\"url\":\"interfaces/_open_pioneer_authentication.ForceAuthProps.html#renderFallback\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.ForceAuthProps\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/_open_pioneer_authentication.ForceAuthProps.html#renderFallback.__type\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.ForceAuthProps.renderFallback\"},{\"kind\":256,\"name\":\"LoginEffect\",\"url\":\"interfaces/_open_pioneer_authentication.LoginEffect.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_authentication.LoginEffect.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.LoginEffect\"},{\"kind\":2048,\"name\":\"login\",\"url\":\"interfaces/_open_pioneer_authentication.LoginEffect.html#login\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.LoginEffect\"},{\"kind\":256,\"name\":\"LoginFallback\",\"url\":\"interfaces/_open_pioneer_authentication.LoginFallback.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":1024,\"name\":\"Fallback\",\"url\":\"interfaces/_open_pioneer_authentication.LoginFallback.html#Fallback\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.LoginFallback\"},{\"kind\":1024,\"name\":\"kind\",\"url\":\"interfaces/_open_pioneer_authentication.LoginFallback.html#kind\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.LoginFallback\"},{\"kind\":256,\"name\":\"SessionInfo\",\"url\":\"interfaces/_open_pioneer_authentication.SessionInfo.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":1024,\"name\":\"attributes\",\"url\":\"interfaces/_open_pioneer_authentication.SessionInfo.html#attributes\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.SessionInfo\"},{\"kind\":1024,\"name\":\"expiresAt\",\"url\":\"interfaces/_open_pioneer_authentication.SessionInfo.html#expiresAt\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.SessionInfo\"},{\"kind\":1024,\"name\":\"userId\",\"url\":\"interfaces/_open_pioneer_authentication.SessionInfo.html#userId\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.SessionInfo\"},{\"kind\":1024,\"name\":\"userName\",\"url\":\"interfaces/_open_pioneer_authentication.SessionInfo.html#userName\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication.SessionInfo\"},{\"kind\":4194304,\"name\":\"AuthPluginEventBase\",\"url\":\"types/_open_pioneer_authentication.AuthPluginEventBase.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":4194304,\"name\":\"AuthState\",\"url\":\"types/_open_pioneer_authentication.AuthState.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":4194304,\"name\":\"LoginBehavior\",\"url\":\"types/_open_pioneer_authentication.LoginBehavior.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":64,\"name\":\"ForceAuth\",\"url\":\"functions/_open_pioneer_authentication.ForceAuth.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":64,\"name\":\"useAuthState\",\"url\":\"functions/_open_pioneer_authentication.useAuthState.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/authentication\"},{\"kind\":2,\"name\":\"@open-pioneer/coordinate-viewer\",\"url\":\"modules/_open_pioneer_coordinate_viewer.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"CoordinateViewerProps\",\"url\":\"interfaces/_open_pioneer_coordinate_viewer.CoordinateViewerProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/coordinate-viewer\"},{\"kind\":1024,\"name\":\"className\",\"url\":\"interfaces/_open_pioneer_coordinate_viewer.CoordinateViewerProps.html#className\",\"classes\":\"\",\"parent\":\"@open-pioneer/coordinate-viewer.CoordinateViewerProps\"},{\"kind\":1024,\"name\":\"mapId\",\"url\":\"interfaces/_open_pioneer_coordinate_viewer.CoordinateViewerProps.html#mapId\",\"classes\":\"\",\"parent\":\"@open-pioneer/coordinate-viewer.CoordinateViewerProps\"},{\"kind\":1024,\"name\":\"precision\",\"url\":\"interfaces/_open_pioneer_coordinate_viewer.CoordinateViewerProps.html#precision\",\"classes\":\"\",\"parent\":\"@open-pioneer/coordinate-viewer.CoordinateViewerProps\"},{\"kind\":64,\"name\":\"CoordinateViewer\",\"url\":\"functions/_open_pioneer_coordinate_viewer.CoordinateViewer.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/coordinate-viewer\"},{\"kind\":2,\"name\":\"@open-pioneer/scale-viewer\",\"url\":\"modules/_open_pioneer_scale_viewer.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"ScaleViewerProps\",\"url\":\"interfaces/_open_pioneer_scale_viewer.ScaleViewerProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/scale-viewer\"},{\"kind\":1024,\"name\":\"className\",\"url\":\"interfaces/_open_pioneer_scale_viewer.ScaleViewerProps.html#className\",\"classes\":\"\",\"parent\":\"@open-pioneer/scale-viewer.ScaleViewerProps\"},{\"kind\":1024,\"name\":\"mapId\",\"url\":\"interfaces/_open_pioneer_scale_viewer.ScaleViewerProps.html#mapId\",\"classes\":\"\",\"parent\":\"@open-pioneer/scale-viewer.ScaleViewerProps\"},{\"kind\":64,\"name\":\"ScaleViewer\",\"url\":\"functions/_open_pioneer_scale_viewer.ScaleViewer.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/scale-viewer\"},{\"kind\":2,\"name\":\"@open-pioneer/basemap-switcher\",\"url\":\"modules/_open_pioneer_basemap_switcher.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"BasemapSwitcherProps\",\"url\":\"interfaces/_open_pioneer_basemap_switcher.BasemapSwitcherProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/basemap-switcher\"},{\"kind\":1024,\"name\":\"className\",\"url\":\"interfaces/_open_pioneer_basemap_switcher.BasemapSwitcherProps.html#className\",\"classes\":\"\",\"parent\":\"@open-pioneer/basemap-switcher.BasemapSwitcherProps\"},{\"kind\":1024,\"name\":\"label\",\"url\":\"interfaces/_open_pioneer_basemap_switcher.BasemapSwitcherProps.html#label\",\"classes\":\"\",\"parent\":\"@open-pioneer/basemap-switcher.BasemapSwitcherProps\"},{\"kind\":1024,\"name\":\"mapId\",\"url\":\"interfaces/_open_pioneer_basemap_switcher.BasemapSwitcherProps.html#mapId\",\"classes\":\"\",\"parent\":\"@open-pioneer/basemap-switcher.BasemapSwitcherProps\"},{\"kind\":1024,\"name\":\"noneBasemap\",\"url\":\"interfaces/_open_pioneer_basemap_switcher.BasemapSwitcherProps.html#noneBasemap\",\"classes\":\"\",\"parent\":\"@open-pioneer/basemap-switcher.BasemapSwitcherProps\"},{\"kind\":64,\"name\":\"BasemapSwitcher\",\"url\":\"functions/_open_pioneer_basemap_switcher.BasemapSwitcher.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/basemap-switcher\"},{\"kind\":2,\"name\":\"@open-pioneer/initial-extent\",\"url\":\"modules/_open_pioneer_initial_extent.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"InitialExtentProps\",\"url\":\"interfaces/_open_pioneer_initial_extent.InitialExtentProps.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/initial-extent\"},{\"kind\":1024,\"name\":\"className\",\"url\":\"interfaces/_open_pioneer_initial_extent.InitialExtentProps.html#className\",\"classes\":\"\",\"parent\":\"@open-pioneer/initial-extent.InitialExtentProps\"},{\"kind\":1024,\"name\":\"mapId\",\"url\":\"interfaces/_open_pioneer_initial_extent.InitialExtentProps.html#mapId\",\"classes\":\"\",\"parent\":\"@open-pioneer/initial-extent.InitialExtentProps\"},{\"kind\":64,\"name\":\"InitialExtent\",\"url\":\"functions/_open_pioneer_initial_extent.InitialExtent.html\",\"classes\":\"\",\"parent\":\"@open-pioneer/initial-extent\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,14.756,1,22.06,2,24.504,3,22.06]],[\"comment/0\",[]],[\"name/1\",[4,53.027]],[\"comment/1\",[]],[\"name/2\",[5,53.027]],[\"comment/2\",[]],[\"name/3\",[6,53.027]],[\"comment/3\",[]],[\"name/4\",[7,41.649]],[\"comment/4\",[]],[\"name/5\",[8,47.737]],[\"comment/5\",[]],[\"name/6\",[9,53.027]],[\"comment/6\",[]],[\"name/7\",[10,53.027]],[\"comment/7\",[]],[\"name/8\",[11,53.027]],[\"comment/8\",[]],[\"name/9\",[12,41.649]],[\"comment/9\",[]],[\"name/10\",[13,53.027]],[\"comment/10\",[]],[\"name/11\",[14,53.027]],[\"comment/11\",[]],[\"name/12\",[12,41.649]],[\"comment/12\",[]],[\"name/13\",[3,47.737]],[\"comment/13\",[]],[\"name/14\",[0,12.512,1,18.706,15,20.779,16,17.34,17,20.779]],[\"comment/14\",[]],[\"name/15\",[18,53.027]],[\"comment/15\",[]],[\"name/16\",[19,36.359]],[\"comment/16\",[]],[\"name/17\",[20,53.027]],[\"comment/17\",[]],[\"name/18\",[21,53.027]],[\"comment/18\",[]],[\"name/19\",[0,23.006,22,34.393]],[\"comment/19\",[]],[\"name/20\",[23,53.027]],[\"comment/20\",[]],[\"name/21\",[24,53.027]],[\"comment/21\",[]],[\"name/22\",[25,53.027]],[\"comment/22\",[]],[\"name/23\",[16,44.252]],[\"comment/23\",[]],[\"name/24\",[26,53.027]],[\"comment/24\",[]],[\"name/25\",[27,47.737]],[\"comment/25\",[]],[\"name/26\",[28,47.737]],[\"comment/26\",[]],[\"name/27\",[29,53.027]],[\"comment/27\",[]],[\"name/28\",[30,53.027]],[\"comment/28\",[]],[\"name/29\",[31,53.027]],[\"comment/29\",[]],[\"name/30\",[32,53.027]],[\"comment/30\",[]],[\"name/31\",[33,53.027]],[\"comment/31\",[]],[\"name/32\",[34,53.027]],[\"comment/32\",[]],[\"name/33\",[35,53.027]],[\"comment/33\",[]],[\"name/34\",[36,44.252]],[\"comment/34\",[]],[\"name/35\",[37,32.874]],[\"comment/35\",[]],[\"name/36\",[38,53.027]],[\"comment/36\",[]],[\"name/37\",[39,47.737]],[\"comment/37\",[]],[\"name/38\",[37,32.874]],[\"comment/38\",[]],[\"name/39\",[40,47.737]],[\"comment/39\",[]],[\"name/40\",[41,53.027]],[\"comment/40\",[]],[\"name/41\",[42,39.571]],[\"comment/41\",[]],[\"name/42\",[43,53.027]],[\"comment/42\",[]],[\"name/43\",[44,53.027]],[\"comment/43\",[]],[\"name/44\",[45,53.027]],[\"comment/44\",[]],[\"name/45\",[46,53.027]],[\"comment/45\",[]],[\"name/46\",[47,53.027]],[\"comment/46\",[]],[\"name/47\",[48,53.027]],[\"comment/47\",[]],[\"name/48\",[49,53.027]],[\"comment/48\",[]],[\"name/49\",[50,53.027]],[\"comment/49\",[]],[\"name/50\",[51,53.027]],[\"comment/50\",[]],[\"name/51\",[52,53.027]],[\"comment/51\",[]],[\"name/52\",[53,39.571]],[\"comment/52\",[]],[\"name/53\",[54,53.027]],[\"comment/53\",[]],[\"name/54\",[55,44.252]],[\"comment/54\",[]],[\"name/55\",[56,47.737]],[\"comment/55\",[]],[\"name/56\",[7,41.649]],[\"comment/56\",[]],[\"name/57\",[57,47.737]],[\"comment/57\",[]],[\"name/58\",[16,44.252]],[\"comment/58\",[]],[\"name/59\",[58,44.252]],[\"comment/59\",[]],[\"name/60\",[59,47.737]],[\"comment/60\",[]],[\"name/61\",[60,53.027]],[\"comment/61\",[]],[\"name/62\",[55,44.252]],[\"comment/62\",[]],[\"name/63\",[56,47.737]],[\"comment/63\",[]],[\"name/64\",[7,41.649]],[\"comment/64\",[]],[\"name/65\",[57,47.737]],[\"comment/65\",[]],[\"name/66\",[61,53.027]],[\"comment/66\",[]],[\"name/67\",[42,39.571]],[\"comment/67\",[]],[\"name/68\",[62,53.027]],[\"comment/68\",[]],[\"name/69\",[58,44.252]],[\"comment/69\",[]],[\"name/70\",[59,47.737]],[\"comment/70\",[]],[\"name/71\",[63,53.027]],[\"comment/71\",[]],[\"name/72\",[64,53.027]],[\"comment/72\",[]],[\"name/73\",[65,53.027]],[\"comment/73\",[]],[\"name/74\",[66,53.027]],[\"comment/74\",[]],[\"name/75\",[67,53.027]],[\"comment/75\",[]],[\"name/76\",[68,53.027]],[\"comment/76\",[]],[\"name/77\",[53,39.571]],[\"comment/77\",[]],[\"name/78\",[69,53.027]],[\"comment/78\",[]],[\"name/79\",[70,53.027]],[\"comment/79\",[]],[\"name/80\",[71,53.027]],[\"comment/80\",[]],[\"name/81\",[72,53.027]],[\"comment/81\",[]],[\"name/82\",[73,53.027]],[\"comment/82\",[]],[\"name/83\",[74,47.737]],[\"comment/83\",[]],[\"name/84\",[75,53.027]],[\"comment/84\",[]],[\"name/85\",[76,44.252]],[\"comment/85\",[]],[\"name/86\",[77,37.841]],[\"comment/86\",[]],[\"name/87\",[78,53.027]],[\"comment/87\",[]],[\"name/88\",[79,47.737]],[\"comment/88\",[]],[\"name/89\",[80,53.027]],[\"comment/89\",[]],[\"name/90\",[81,53.027]],[\"comment/90\",[]],[\"name/91\",[82,47.737]],[\"comment/91\",[]],[\"name/92\",[83,53.027]],[\"comment/92\",[]],[\"name/93\",[84,44.252]],[\"comment/93\",[]],[\"name/94\",[85,47.737]],[\"comment/94\",[]],[\"name/95\",[86,53.027]],[\"comment/95\",[]],[\"name/96\",[19,36.359]],[\"comment/96\",[]],[\"name/97\",[87,53.027]],[\"comment/97\",[]],[\"name/98\",[88,53.027]],[\"comment/98\",[]],[\"name/99\",[76,44.252]],[\"comment/99\",[]],[\"name/100\",[77,37.841]],[\"comment/100\",[]],[\"name/101\",[19,36.359]],[\"comment/101\",[]],[\"name/102\",[89,53.027]],[\"comment/102\",[]],[\"name/103\",[90,53.027]],[\"comment/103\",[]],[\"name/104\",[91,53.027]],[\"comment/104\",[]],[\"name/105\",[92,53.027]],[\"comment/105\",[]],[\"name/106\",[7,41.649]],[\"comment/106\",[]],[\"name/107\",[93,47.737]],[\"comment/107\",[]],[\"name/108\",[84,44.252]],[\"comment/108\",[]],[\"name/109\",[94,53.027]],[\"comment/109\",[]],[\"name/110\",[95,53.027]],[\"comment/110\",[]],[\"name/111\",[96,53.027]],[\"comment/111\",[]],[\"name/112\",[53,39.571]],[\"comment/112\",[]],[\"name/113\",[97,53.027]],[\"comment/113\",[]],[\"name/114\",[98,53.027]],[\"comment/114\",[]],[\"name/115\",[74,47.737]],[\"comment/115\",[]],[\"name/116\",[99,53.027]],[\"comment/116\",[]],[\"name/117\",[100,53.027]],[\"comment/117\",[]],[\"name/118\",[101,53.027]],[\"comment/118\",[]],[\"name/119\",[102,53.027]],[\"comment/119\",[]],[\"name/120\",[103,53.027]],[\"comment/120\",[]],[\"name/121\",[104,53.027]],[\"comment/121\",[]],[\"name/122\",[105,53.027]],[\"comment/122\",[]],[\"name/123\",[106,53.027]],[\"comment/123\",[]],[\"name/124\",[107,53.027]],[\"comment/124\",[]],[\"name/125\",[108,53.027]],[\"comment/125\",[]],[\"name/126\",[109,53.027]],[\"comment/126\",[]],[\"name/127\",[110,53.027]],[\"comment/127\",[]],[\"name/128\",[111,44.252]],[\"comment/128\",[]],[\"name/129\",[37,32.874]],[\"comment/129\",[]],[\"name/130\",[42,39.571]],[\"comment/130\",[]],[\"name/131\",[112,53.027]],[\"comment/131\",[]],[\"name/132\",[111,44.252]],[\"comment/132\",[]],[\"name/133\",[37,32.874]],[\"comment/133\",[]],[\"name/134\",[42,39.571]],[\"comment/134\",[]],[\"name/135\",[113,53.027]],[\"comment/135\",[]],[\"name/136\",[111,44.252]],[\"comment/136\",[]],[\"name/137\",[37,32.874]],[\"comment/137\",[]],[\"name/138\",[42,39.571]],[\"comment/138\",[]],[\"name/139\",[114,53.027]],[\"comment/139\",[]],[\"name/140\",[115,53.027]],[\"comment/140\",[]],[\"name/141\",[116,53.027]],[\"comment/141\",[]],[\"name/142\",[117,53.027]],[\"comment/142\",[]],[\"name/143\",[118,53.027]],[\"comment/143\",[]],[\"name/144\",[119,53.027]],[\"comment/144\",[]],[\"name/145\",[120,53.027]],[\"comment/145\",[]],[\"name/146\",[121,53.027]],[\"comment/146\",[]],[\"name/147\",[122,53.027]],[\"comment/147\",[]],[\"name/148\",[123,53.027]],[\"comment/148\",[]],[\"name/149\",[124,53.027]],[\"comment/149\",[]],[\"name/150\",[125,53.027]],[\"comment/150\",[]],[\"name/151\",[126,53.027]],[\"comment/151\",[]],[\"name/152\",[127,53.027]],[\"comment/152\",[]],[\"name/153\",[0,14.756,22,22.06,128,24.504,129,22.06]],[\"comment/153\",[]],[\"name/154\",[130,53.027]],[\"comment/154\",[]],[\"name/155\",[82,47.737]],[\"comment/155\",[]],[\"name/156\",[39,47.737]],[\"comment/156\",[]],[\"name/157\",[12,41.649]],[\"comment/157\",[]],[\"name/158\",[27,47.737]],[\"comment/158\",[]],[\"name/159\",[28,47.737]],[\"comment/159\",[]],[\"name/160\",[36,44.252]],[\"comment/160\",[]],[\"name/161\",[84,44.252]],[\"comment/161\",[]],[\"name/162\",[131,53.027]],[\"comment/162\",[]],[\"name/163\",[132,53.027]],[\"comment/163\",[]],[\"name/164\",[85,47.737]],[\"comment/164\",[]],[\"name/165\",[40,47.737]],[\"comment/165\",[]],[\"name/166\",[133,53.027]],[\"comment/166\",[]],[\"name/167\",[134,53.027]],[\"comment/167\",[]],[\"name/168\",[135,53.027]],[\"comment/168\",[]],[\"name/169\",[136,53.027]],[\"comment/169\",[]],[\"name/170\",[0,23.006,137,38.204]],[\"comment/170\",[]],[\"name/171\",[138,53.027]],[\"comment/171\",[]],[\"name/172\",[139,53.027]],[\"comment/172\",[]],[\"name/173\",[140,53.027]],[\"comment/173\",[]],[\"name/174\",[141,53.027]],[\"comment/174\",[]],[\"name/175\",[58,44.252]],[\"comment/175\",[]],[\"name/176\",[142,53.027]],[\"comment/176\",[]],[\"name/177\",[143,53.027]],[\"comment/177\",[]],[\"name/178\",[144,53.027]],[\"comment/178\",[]],[\"name/179\",[145,53.027]],[\"comment/179\",[]],[\"name/180\",[79,47.737]],[\"comment/180\",[]],[\"name/181\",[146,53.027]],[\"comment/181\",[]],[\"name/182\",[147,53.027]],[\"comment/182\",[]],[\"name/183\",[0,17.98,129,26.879,148,29.858]],[\"comment/183\",[]],[\"name/184\",[149,53.027]],[\"comment/184\",[]],[\"name/185\",[0,23.006,150,38.204]],[\"comment/185\",[]],[\"name/186\",[151,53.027]],[\"comment/186\",[]],[\"name/187\",[53,39.571]],[\"comment/187\",[]],[\"name/188\",[152,53.027]],[\"comment/188\",[]],[\"name/189\",[153,47.737]],[\"comment/189\",[]],[\"name/190\",[154,47.737]],[\"comment/190\",[]],[\"name/191\",[155,47.737]],[\"comment/191\",[]],[\"name/192\",[156,53.027]],[\"comment/192\",[]],[\"name/193\",[53,39.571]],[\"comment/193\",[]],[\"name/194\",[157,53.027]],[\"comment/194\",[]],[\"name/195\",[153,47.737]],[\"comment/195\",[]],[\"name/196\",[154,47.737]],[\"comment/196\",[]],[\"name/197\",[158,53.027]],[\"comment/197\",[]],[\"name/198\",[155,47.737]],[\"comment/198\",[]],[\"name/199\",[159,53.027]],[\"comment/199\",[]],[\"name/200\",[37,32.874]],[\"comment/200\",[]],[\"name/201\",[160,47.737]],[\"comment/201\",[]],[\"name/202\",[161,53.027]],[\"comment/202\",[]],[\"name/203\",[37,32.874]],[\"comment/203\",[]],[\"name/204\",[162,53.027]],[\"comment/204\",[]],[\"name/205\",[37,32.874]],[\"comment/205\",[]],[\"name/206\",[163,53.027]],[\"comment/206\",[]],[\"name/207\",[76,44.252]],[\"comment/207\",[]],[\"name/208\",[164,53.027]],[\"comment/208\",[]],[\"name/209\",[165,53.027]],[\"comment/209\",[]],[\"name/210\",[12,41.649]],[\"comment/210\",[]],[\"name/211\",[166,53.027]],[\"comment/211\",[]],[\"name/212\",[37,32.874]],[\"comment/212\",[]],[\"name/213\",[167,53.027]],[\"comment/213\",[]],[\"name/214\",[168,53.027]],[\"comment/214\",[]],[\"name/215\",[169,53.027]],[\"comment/215\",[]],[\"name/216\",[37,32.874]],[\"comment/216\",[]],[\"name/217\",[160,47.737]],[\"comment/217\",[]],[\"name/218\",[55,44.252]],[\"comment/218\",[]],[\"name/219\",[170,53.027]],[\"comment/219\",[]],[\"name/220\",[171,53.027]],[\"comment/220\",[]],[\"name/221\",[172,53.027]],[\"comment/221\",[]],[\"name/222\",[173,53.027]],[\"comment/222\",[]],[\"name/223\",[174,53.027]],[\"comment/223\",[]],[\"name/224\",[175,53.027]],[\"comment/224\",[]],[\"name/225\",[176,53.027]],[\"comment/225\",[]],[\"name/226\",[177,53.027]],[\"comment/226\",[]],[\"name/227\",[0,17.98,178,29.858,179,26.879]],[\"comment/227\",[]],[\"name/228\",[180,53.027]],[\"comment/228\",[]],[\"name/229\",[77,37.841]],[\"comment/229\",[]],[\"name/230\",[19,36.359]],[\"comment/230\",[]],[\"name/231\",[181,53.027]],[\"comment/231\",[]],[\"name/232\",[182,53.027]],[\"comment/232\",[]],[\"name/233\",[0,17.98,179,26.879,183,29.858]],[\"comment/233\",[]],[\"name/234\",[184,53.027]],[\"comment/234\",[]],[\"name/235\",[77,37.841]],[\"comment/235\",[]],[\"name/236\",[19,36.359]],[\"comment/236\",[]],[\"name/237\",[185,53.027]],[\"comment/237\",[]],[\"name/238\",[0,17.98,186,29.858,187,29.858]],[\"comment/238\",[]],[\"name/239\",[188,53.027]],[\"comment/239\",[]],[\"name/240\",[77,37.841]],[\"comment/240\",[]],[\"name/241\",[8,47.737]],[\"comment/241\",[]],[\"name/242\",[19,36.359]],[\"comment/242\",[]],[\"name/243\",[189,53.027]],[\"comment/243\",[]],[\"name/244\",[190,53.027]],[\"comment/244\",[]],[\"name/245\",[0,17.98,36,24.917,191,29.858]],[\"comment/245\",[]],[\"name/246\",[192,53.027]],[\"comment/246\",[]],[\"name/247\",[77,37.841]],[\"comment/247\",[]],[\"name/248\",[19,36.359]],[\"comment/248\",[]],[\"name/249\",[93,47.737]],[\"comment/249\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":12,\"name\":{\"9\":{},\"12\":{},\"157\":{},\"210\":{}},\"comment\":{}}],[\"activatebaselayer\",{\"_index\":43,\"name\":{\"42\":{}},\"comment\":{}}],[\"advanced\",{\"_index\":82,\"name\":{\"91\":{},\"155\":{}},\"comment\":{}}],[\"attributes\",{\"_index\":55,\"name\":{\"54\":{},\"62\":{},\"218\":{}},\"comment\":{}}],[\"authevents\",{\"_index\":151,\"name\":{\"186\":{}},\"comment\":{}}],[\"authplugin\",{\"_index\":152,\"name\":{\"188\":{}},\"comment\":{}}],[\"authplugineventbase\",{\"_index\":173,\"name\":{\"222\":{}},\"comment\":{}}],[\"authpluginevents\",{\"_index\":156,\"name\":{\"192\":{}},\"comment\":{}}],[\"authservice\",{\"_index\":157,\"name\":{\"194\":{}},\"comment\":{}}],[\"authstate\",{\"_index\":174,\"name\":{\"223\":{}},\"comment\":{}}],[\"authstateauthenticated\",{\"_index\":159,\"name\":{\"199\":{}},\"comment\":{}}],[\"authstatenotauthenticated\",{\"_index\":161,\"name\":{\"202\":{}},\"comment\":{}}],[\"authstatepending\",{\"_index\":162,\"name\":{\"204\":{}},\"comment\":{}}],[\"basemapswitcher\",{\"_index\":190,\"name\":{\"244\":{}},\"comment\":{}}],[\"basemapswitcherprops\",{\"_index\":188,\"name\":{\"239\":{}},\"comment\":{}}],[\"bkgtopplusopen\",{\"_index\":23,\"name\":{\"20\":{}},\"comment\":{}}],[\"bkgtopplusopenprops\",{\"_index\":25,\"name\":{\"22\":{}},\"comment\":{}}],[\"bottom\",{\"_index\":100,\"name\":{\"117\":{}},\"comment\":{}}],[\"center\",{\"_index\":39,\"name\":{\"37\":{},\"156\":{}},\"comment\":{}}],[\"changed\",{\"_index\":53,\"name\":{\"52\":{},\"77\":{},\"112\":{},\"187\":{},\"193\":{}},\"comment\":{}}],[\"changed:attributes\",{\"_index\":69,\"name\":{\"78\":{}},\"comment\":{}}],[\"changed:container\",{\"_index\":97,\"name\":{\"113\":{}},\"comment\":{}}],[\"changed:description\",{\"_index\":70,\"name\":{\"79\":{}},\"comment\":{}}],[\"changed:initialextent\",{\"_index\":98,\"name\":{\"114\":{}},\"comment\":{}}],[\"changed:loadstate\",{\"_index\":71,\"name\":{\"80\":{}},\"comment\":{}}],[\"changed:title\",{\"_index\":72,\"name\":{\"81\":{}},\"comment\":{}}],[\"changed:visible\",{\"_index\":73,\"name\":{\"82\":{}},\"comment\":{}}],[\"children\",{\"_index\":76,\"name\":{\"85\":{},\"99\":{},\"207\":{}},\"comment\":{}}],[\"classname\",{\"_index\":77,\"name\":{\"86\":{},\"100\":{},\"229\":{},\"235\":{},\"240\":{},\"247\":{}},\"comment\":{}}],[\"closeall\",{\"_index\":143,\"name\":{\"177\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":24,\"name\":{\"21\":{}},\"comment\":{}}],[\"container\",{\"_index\":92,\"name\":{\"105\":{}},\"comment\":{}}],[\"content\",{\"_index\":5,\"name\":{\"2\":{}},\"comment\":{}}],[\"control\",{\"_index\":17,\"name\":{\"14\":{}},\"comment\":{}}],[\"coordinateconfig\",{\"_index\":26,\"name\":{\"24\":{}},\"comment\":{}}],[\"coordinateviewer\",{\"_index\":182,\"name\":{\"232\":{}},\"comment\":{}}],[\"coordinateviewerprops\",{\"_index\":180,\"name\":{\"228\":{}},\"comment\":{}}],[\"createlayer\",{\"_index\":44,\"name\":{\"43\":{}},\"comment\":{}}],[\"createserviceoptions\",{\"_index\":133,\"name\":{\"166\":{}},\"comment\":{}}],[\"defaultexpanded\",{\"_index\":10,\"name\":{\"7\":{}},\"comment\":{}}],[\"deleteattribute\",{\"_index\":63,\"name\":{\"71\":{}},\"comment\":{}}],[\"description\",{\"_index\":56,\"name\":{\"55\":{},\"63\":{}},\"comment\":{}}],[\"destroy\",{\"_index\":74,\"name\":{\"83\":{},\"115\":{}},\"comment\":{}}],[\"displayduration\",{\"_index\":139,\"name\":{\"172\":{}},\"comment\":{}}],[\"error\",{\"_index\":111,\"name\":{\"128\":{},\"132\":{},\"136\":{}},\"comment\":{}}],[\"expandedchanged\",{\"_index\":11,\"name\":{\"8\":{}},\"comment\":{}}],[\"expectmapmodel\",{\"_index\":105,\"name\":{\"122\":{}},\"comment\":{}}],[\"expiresat\",{\"_index\":170,\"name\":{\"219\":{}},\"comment\":{}}],[\"extent\",{\"_index\":36,\"name\":{\"34\":{},\"160\":{},\"245\":{}},\"comment\":{}}],[\"extentconfig\",{\"_index\":30,\"name\":{\"28\":{}},\"comment\":{}}],[\"fallback\",{\"_index\":169,\"name\":{\"215\":{}},\"comment\":{}}],[\"fallbackprops\",{\"_index\":164,\"name\":{\"208\":{}},\"comment\":{}}],[\"forceauth\",{\"_index\":176,\"name\":{\"225\":{}},\"comment\":{}}],[\"forceauthprops\",{\"_index\":163,\"name\":{\"206\":{}},\"comment\":{}}],[\"getactivebaselayer\",{\"_index\":45,\"name\":{\"44\":{}},\"comment\":{}}],[\"getalllayers\",{\"_index\":46,\"name\":{\"45\":{}},\"comment\":{}}],[\"getauthstate\",{\"_index\":153,\"name\":{\"189\":{},\"195\":{}},\"comment\":{}}],[\"getbaselayers\",{\"_index\":47,\"name\":{\"46\":{}},\"comment\":{}}],[\"getlayerbyid\",{\"_index\":48,\"name\":{\"47\":{}},\"comment\":{}}],[\"getlayerbyrawinstance\",{\"_index\":49,\"name\":{\"48\":{}},\"comment\":{}}],[\"getloginbehavior\",{\"_index\":154,\"name\":{\"190\":{},\"196\":{}},\"comment\":{}}],[\"getmapconfig\",{\"_index\":87,\"name\":{\"97\":{}},\"comment\":{}}],[\"getmapmodel\",{\"_index\":106,\"name\":{\"123\":{}},\"comment\":{}}],[\"getmapmodelbyrawinstance\",{\"_index\":107,\"name\":{\"124\":{}},\"comment\":{}}],[\"getoperationallayers\",{\"_index\":50,\"name\":{\"49\":{}},\"comment\":{}}],[\"getprojection\",{\"_index\":121,\"name\":{\"146\":{}},\"comment\":{}}],[\"getsessioninfo\",{\"_index\":158,\"name\":{\"197\":{}},\"comment\":{}}],[\"horizontalgap\",{\"_index\":78,\"name\":{\"87\":{}},\"comment\":{}}],[\"icon\",{\"_index\":6,\"name\":{\"3\":{}},\"comment\":{}}],[\"id\",{\"_index\":7,\"name\":{\"4\":{},\"56\":{},\"64\":{},\"106\":{}},\"comment\":{}}],[\"initialextent\",{\"_index\":93,\"name\":{\"107\":{},\"249\":{}},\"comment\":{}}],[\"initialextentconfig\",{\"_index\":35,\"name\":{\"33\":{}},\"comment\":{}}],[\"initialextentprops\",{\"_index\":192,\"name\":{\"246\":{}},\"comment\":{}}],[\"initialpositionconfig\",{\"_index\":38,\"name\":{\"36\":{}},\"comment\":{}}],[\"initialview\",{\"_index\":83,\"name\":{\"92\":{}},\"comment\":{}}],[\"initialviewconfig\",{\"_index\":114,\"name\":{\"139\":{}},\"comment\":{}}],[\"isbaselayer\",{\"_index\":57,\"name\":{\"57\":{},\"65\":{}},\"comment\":{}}],[\"items\",{\"_index\":13,\"name\":{\"10\":{}},\"comment\":{}}],[\"kind\",{\"_index\":37,\"name\":{\"35\":{},\"38\":{},\"129\":{},\"133\":{},\"137\":{},\"200\":{},\"203\":{},\"205\":{},\"212\":{},\"216\":{}},\"comment\":{}}],[\"label\",{\"_index\":8,\"name\":{\"5\":{},\"241\":{}},\"comment\":{}}],[\"layer\",{\"_index\":16,\"name\":{\"14\":{},\"23\":{},\"58\":{}},\"comment\":{}}],[\"layercollection\",{\"_index\":41,\"name\":{\"40\":{}},\"comment\":{}}],[\"layercollectionevents\",{\"_index\":52,\"name\":{\"51\":{}},\"comment\":{}}],[\"layerconfig\",{\"_index\":54,\"name\":{\"53\":{}},\"comment\":{}}],[\"layercontrolcomponent\",{\"_index\":21,\"name\":{\"18\":{}},\"comment\":{}}],[\"layercontrolprops\",{\"_index\":18,\"name\":{\"15\":{}},\"comment\":{}}],[\"layerloadstate\",{\"_index\":115,\"name\":{\"140\":{}},\"comment\":{}}],[\"layermodel\",{\"_index\":60,\"name\":{\"61\":{}},\"comment\":{}}],[\"layermodelevents\",{\"_index\":68,\"name\":{\"76\":{}},\"comment\":{}}],[\"layers\",{\"_index\":84,\"name\":{\"93\":{},\"108\":{},\"161\":{}},\"comment\":{}}],[\"layout\",{\"_index\":2,\"name\":{\"0\":{}},\"comment\":{}}],[\"left\",{\"_index\":101,\"name\":{\"118\":{}},\"comment\":{}}],[\"level\",{\"_index\":140,\"name\":{\"173\":{}},\"comment\":{}}],[\"loadstate\",{\"_index\":61,\"name\":{\"66\":{}},\"comment\":{}}],[\"login\",{\"_index\":167,\"name\":{\"213\":{}},\"comment\":{}}],[\"loginbehavior\",{\"_index\":175,\"name\":{\"224\":{}},\"comment\":{}}],[\"logineffect\",{\"_index\":166,\"name\":{\"211\":{}},\"comment\":{}}],[\"loginfallback\",{\"_index\":168,\"name\":{\"214\":{}},\"comment\":{}}],[\"logout\",{\"_index\":155,\"name\":{\"191\":{},\"198\":{}},\"comment\":{}}],[\"map\",{\"_index\":42,\"name\":{\"41\":{},\"67\":{},\"130\":{},\"134\":{},\"138\":{}},\"comment\":{}}],[\"mapanchor\",{\"_index\":119,\"name\":{\"144\":{}},\"comment\":{}}],[\"mapanchorposition\",{\"_index\":116,\"name\":{\"141\":{}},\"comment\":{}}],[\"mapanchorprops\",{\"_index\":75,\"name\":{\"84\":{}},\"comment\":{}}],[\"mapconfig\",{\"_index\":81,\"name\":{\"90\":{}},\"comment\":{}}],[\"mapconfigprovider\",{\"_index\":86,\"name\":{\"95\":{}},\"comment\":{}}],[\"mapcontainer\",{\"_index\":120,\"name\":{\"145\":{}},\"comment\":{}}],[\"mapcontainerprops\",{\"_index\":88,\"name\":{\"98\":{}},\"comment\":{}}],[\"mapid\",{\"_index\":19,\"name\":{\"16\":{},\"96\":{},\"101\":{},\"230\":{},\"236\":{},\"242\":{},\"248\":{}},\"comment\":{}}],[\"mapmodel\",{\"_index\":91,\"name\":{\"104\":{}},\"comment\":{}}],[\"mapmodelevents\",{\"_index\":96,\"name\":{\"111\":{}},\"comment\":{}}],[\"mappadding\",{\"_index\":99,\"name\":{\"116\":{}},\"comment\":{}}],[\"mapregistry\",{\"_index\":104,\"name\":{\"121\":{}},\"comment\":{}}],[\"message\",{\"_index\":141,\"name\":{\"174\":{}},\"comment\":{}}],[\"noinitialview\",{\"_index\":131,\"name\":{\"162\":{}},\"comment\":{}}],[\"nonebasemap\",{\"_index\":189,\"name\":{\"243\":{}},\"comment\":{}}],[\"noprojection\",{\"_index\":132,\"name\":{\"163\":{}},\"comment\":{}}],[\"notificationlevel\",{\"_index\":146,\"name\":{\"181\":{}},\"comment\":{}}],[\"notificationoptions\",{\"_index\":138,\"name\":{\"171\":{}},\"comment\":{}}],[\"notificationservice\",{\"_index\":142,\"name\":{\"176\":{}},\"comment\":{}}],[\"notifier\",{\"_index\":147,\"name\":{\"182\":{}},\"comment\":{}}],[\"notifierprops\",{\"_index\":145,\"name\":{\"179\":{}},\"comment\":{}}],[\"notify\",{\"_index\":144,\"name\":{\"178\":{}},\"comment\":{}}],[\"ol\",{\"_index\":15,\"name\":{\"14\":{}},\"comment\":{}}],[\"ollayer\",{\"_index\":62,\"name\":{\"68\":{}},\"comment\":{}}],[\"olmap\",{\"_index\":94,\"name\":{\"109\":{}},\"comment\":{}}],[\"olmapoptions\",{\"_index\":108,\"name\":{\"125\":{}},\"comment\":{}}],[\"open\",{\"_index\":0,\"name\":{\"0\":{},\"14\":{},\"19\":{},\"153\":{},\"170\":{},\"183\":{},\"185\":{},\"227\":{},\"233\":{},\"238\":{},\"245\":{}},\"comment\":{}}],[\"pioneer/authentication\",{\"_index\":150,\"name\":{\"185\":{}},\"comment\":{}}],[\"pioneer/basemap\",{\"_index\":186,\"name\":{\"238\":{}},\"comment\":{}}],[\"pioneer/coordinate\",{\"_index\":178,\"name\":{\"227\":{}},\"comment\":{}}],[\"pioneer/experimental\",{\"_index\":1,\"name\":{\"0\":{},\"14\":{}},\"comment\":{}}],[\"pioneer/initial\",{\"_index\":191,\"name\":{\"245\":{}},\"comment\":{}}],[\"pioneer/map\",{\"_index\":22,\"name\":{\"19\":{},\"153\":{}},\"comment\":{}}],[\"pioneer/notifier\",{\"_index\":137,\"name\":{\"170\":{}},\"comment\":{}}],[\"pioneer/react\",{\"_index\":148,\"name\":{\"183\":{}},\"comment\":{}}],[\"pioneer/scale\",{\"_index\":183,\"name\":{\"233\":{}},\"comment\":{}}],[\"position\",{\"_index\":79,\"name\":{\"88\":{},\"180\":{}},\"comment\":{}}],[\"precision\",{\"_index\":181,\"name\":{\"231\":{}},\"comment\":{}}],[\"projection\",{\"_index\":85,\"name\":{\"94\":{},\"164\":{}},\"comment\":{}}],[\"projectiondefinition\",{\"_index\":117,\"name\":{\"142\":{}},\"comment\":{}}],[\"registerprojections\",{\"_index\":122,\"name\":{\"147\":{}},\"comment\":{}}],[\"removelayerbyid\",{\"_index\":51,\"name\":{\"50\":{}},\"comment\":{}}],[\"renderfallback\",{\"_index\":165,\"name\":{\"209\":{}},\"comment\":{}}],[\"right\",{\"_index\":102,\"name\":{\"119\":{}},\"comment\":{}}],[\"scaleviewer\",{\"_index\":185,\"name\":{\"237\":{}},\"comment\":{}}],[\"scaleviewerprops\",{\"_index\":184,\"name\":{\"234\":{}},\"comment\":{}}],[\"sessioninfo\",{\"_index\":160,\"name\":{\"201\":{},\"217\":{}},\"comment\":{}}],[\"setdescription\",{\"_index\":64,\"name\":{\"72\":{}},\"comment\":{}}],[\"settitle\",{\"_index\":65,\"name\":{\"73\":{}},\"comment\":{}}],[\"setupmap\",{\"_index\":134,\"name\":{\"167\":{}},\"comment\":{}}],[\"setvisible\",{\"_index\":66,\"name\":{\"74\":{}},\"comment\":{}}],[\"showopacityslider\",{\"_index\":20,\"name\":{\"17\":{}},\"comment\":{}}],[\"sidebar\",{\"_index\":3,\"name\":{\"0\":{},\"13\":{}},\"comment\":{}}],[\"sidebaritem\",{\"_index\":4,\"name\":{\"1\":{}},\"comment\":{}}],[\"sidebarproperties\",{\"_index\":9,\"name\":{\"6\":{}},\"comment\":{}}],[\"sidebarwidthchanged\",{\"_index\":14,\"name\":{\"11\":{}},\"comment\":{}}],[\"simplemapoptions\",{\"_index\":130,\"name\":{\"154\":{}},\"comment\":{}}],[\"switcher\",{\"_index\":187,\"name\":{\"238\":{}},\"comment\":{}}],[\"test\",{\"_index\":128,\"name\":{\"153\":{}},\"comment\":{}}],[\"title\",{\"_index\":58,\"name\":{\"59\":{},\"69\":{},\"175\":{}},\"comment\":{}}],[\"top\",{\"_index\":103,\"name\":{\"120\":{}},\"comment\":{}}],[\"updateattributes\",{\"_index\":67,\"name\":{\"75\":{}},\"comment\":{}}],[\"useauthstate\",{\"_index\":177,\"name\":{\"226\":{}},\"comment\":{}}],[\"usecenter\",{\"_index\":123,\"name\":{\"148\":{}},\"comment\":{}}],[\"useevent\",{\"_index\":149,\"name\":{\"184\":{}},\"comment\":{}}],[\"usemapmodel\",{\"_index\":124,\"name\":{\"149\":{}},\"comment\":{}}],[\"usemapmodelloading\",{\"_index\":110,\"name\":{\"127\":{}},\"comment\":{}}],[\"usemapmodelrejected\",{\"_index\":112,\"name\":{\"131\":{}},\"comment\":{}}],[\"usemapmodelresolved\",{\"_index\":113,\"name\":{\"135\":{}},\"comment\":{}}],[\"usemapmodelresult\",{\"_index\":118,\"name\":{\"143\":{}},\"comment\":{}}],[\"useprojection\",{\"_index\":125,\"name\":{\"150\":{}},\"comment\":{}}],[\"useresolution\",{\"_index\":126,\"name\":{\"151\":{}},\"comment\":{}}],[\"userid\",{\"_index\":171,\"name\":{\"220\":{}},\"comment\":{}}],[\"username\",{\"_index\":172,\"name\":{\"221\":{}},\"comment\":{}}],[\"usescale\",{\"_index\":127,\"name\":{\"152\":{}},\"comment\":{}}],[\"utils\",{\"_index\":129,\"name\":{\"153\":{},\"183\":{}},\"comment\":{}}],[\"verticalgap\",{\"_index\":80,\"name\":{\"89\":{}},\"comment\":{}}],[\"view\",{\"_index\":109,\"name\":{\"126\":{}},\"comment\":{}}],[\"viewer\",{\"_index\":179,\"name\":{\"227\":{},\"233\":{}},\"comment\":{}}],[\"viewpadding\",{\"_index\":89,\"name\":{\"102\":{}},\"comment\":{}}],[\"viewpaddingchangebehavior\",{\"_index\":90,\"name\":{\"103\":{}},\"comment\":{}}],[\"visible\",{\"_index\":59,\"name\":{\"60\":{},\"70\":{}},\"comment\":{}}],[\"waitforinitialextent\",{\"_index\":135,\"name\":{\"168\":{}},\"comment\":{}}],[\"waitformapmount\",{\"_index\":136,\"name\":{\"169\":{}},\"comment\":{}}],[\"whendisplayed\",{\"_index\":95,\"name\":{\"110\":{}},\"comment\":{}}],[\"x\",{\"_index\":27,\"name\":{\"25\":{},\"158\":{}},\"comment\":{}}],[\"xmax\",{\"_index\":31,\"name\":{\"29\":{}},\"comment\":{}}],[\"xmin\",{\"_index\":32,\"name\":{\"30\":{}},\"comment\":{}}],[\"y\",{\"_index\":28,\"name\":{\"26\":{},\"159\":{}},\"comment\":{}}],[\"ymax\",{\"_index\":33,\"name\":{\"31\":{}},\"comment\":{}}],[\"ymin\",{\"_index\":34,\"name\":{\"32\":{}},\"comment\":{}}],[\"z\",{\"_index\":29,\"name\":{\"27\":{}},\"comment\":{}}],[\"zoom\",{\"_index\":40,\"name\":{\"39\":{},\"165\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/openlayers-base-packages/docs/classes/_open_pioneer_map.BkgTopPlusOpen.html b/openlayers-base-packages/docs/classes/_open_pioneer_map.BkgTopPlusOpen.html index e23ee204b..43b34bd32 100644 --- a/openlayers-base-packages/docs/classes/_open_pioneer_map.BkgTopPlusOpen.html +++ b/openlayers-base-packages/docs/classes/_open_pioneer_map.BkgTopPlusOpen.html @@ -30,7 +30,7 @@

Hierarchy

  • BkgTopPlusOpen
+
  • Defined in layers/BkgTopPlusOpen.ts:21
  • @@ -55,7 +55,7 @@
    Optional Returns BkgTopPlusOpen
    +
  • Defined in layers/BkgTopPlusOpen.ts:22
  • Returns Element

    +
  • Defined in Sidebar.tsx:63
  • +
  • @open-pioneer/map-test-utils - v0.0.1
  • @open-pioneer/notifier - v0.0.1
  • @open-pioneer/react-utils - v0.0.1
  • @open-pioneer/authentication - v0.0.1
  • diff --git a/openlayers-base-packages/docs/functions/_open_pioneer_map.MapContainer.html b/openlayers-base-packages/docs/functions/_open_pioneer_map.MapContainer.html index 6107036c3..ed4ee02e6 100644 --- a/openlayers-base-packages/docs/functions/_open_pioneer_map.MapContainer.html +++ b/openlayers-base-packages/docs/functions/_open_pioneer_map.MapContainer.html @@ -31,7 +31,7 @@
    props: Returns Element
    +
  • Defined in MapContainer.tsx:60
  • +
  • Defined in projections.ts:28
  • +
  • Defined in useMapModel.ts:45
    • - +
    • -

      Detect change of map resolution and return resolution | undefined

      +

      Returns the current resolution of the map.

      Parameters

      • map: undefined | Map
      -

      Returns {
          resolution: number | undefined;
      }

      -
        -
      • -
        resolution: number | undefined
      +

      Returns number | undefined

    +
  • Defined in hooks.ts:47
  • +
  • Defined in Notifier.tsx:41
  • +
  • Defined in src/packages/authentication/api.ts:11
  • +
  • Defined in src/packages/authentication/ForceAuth.tsx:48
  • +
  • Defined in src/packages/basemap-switcher/BasemapSwitcher.tsx:57
  • +
  • Defined in src/packages/coordinate-viewer/CoordinateViewer.tsx:29
  • +
  • Defined in Sidebar.tsx:26
  • id: string
    @@ -59,7 +59,7 @@
    +
  • Defined in Sidebar.tsx:22
  • label: string
    @@ -67,7 +67,7 @@
    +
  • Defined in Sidebar.tsx:30
  • +
  • Defined in Sidebar.tsx:48
  • items?: SidebarItem[]
    @@ -76,7 +76,7 @@
    +
  • Defined in Sidebar.tsx:56
  • sidebarWidthChanged?: ((width) => void)
    @@ -97,7 +97,7 @@
    width: Returns void
    +
  • Defined in Sidebar.tsx:52
  • +
  • Defined in LayerControlComponent.tsx:27
  • +
  • Defined in src/packages/initial-extent/InitialExtent.tsx:20
  • mapId: string
    @@ -53,7 +53,7 @@
    +
  • Defined in src/packages/initial-extent/InitialExtent.tsx:15
  • +
  • Defined in layers/BkgTopPlusOpen.ts:11
  • +
  • Defined in api.ts:265
  • +
  • Defined in api.ts:252
  • +
  • Defined in api.ts:272
  • +
  • Defined in api.ts:282
  • +
  • Defined in api.ts:126
  • +
  • Defined in api.ts:71
  • +
  • Defined in api.ts:308
  • title: string
    @@ -95,7 +95,7 @@
    +
  • Defined in api.ts:303
  • visible?: boolean
    @@ -104,7 +104,7 @@
    +
  • Defined in api.ts:329
  • +
  • Defined in api.ts:209
  • +
  • Defined in api.ts:142
  • +
  • Defined in MapAnchor.tsx:31
  • @@ -73,7 +73,7 @@

    Default

    "top-righ
     
    +
  • Defined in MapAnchor.tsx:19
  • verticalGap?: number
    @@ -88,7 +88,7 @@

    0 (If position bottom-*, default verticalGap == 30)

    +
  • Defined in MapAnchor.tsx:41
  • +
  • Defined in api.ts:383
  • +
  • Defined in api.ts:421
  • +
  • Defined in MapContainer.tsx:45
  • +
  • Defined in api.ts:67
  • +
  • Defined in api.ts:19
  • +
  • Defined in MapContainer.tsx:21
  • +
  • Defined in api.ts:242
  • +
  • Defined in api.ts:350
  • +
  • Defined in useMapModel.ts:21
  • +
  • Defined in useMapModel.ts:33
  • +
  • Defined in useMapModel.ts:27
  • +
  • Defined in api.ts:22
  • message?: ReactNode
    @@ -68,7 +68,7 @@
    +
  • Defined in api.ts:16
  • title?: ReactNode
    @@ -76,7 +76,7 @@
    +
  • Defined in api.ts:13
  • +
  • Defined in src/packages/scale-viewer/ScaleViewer.tsx:16
  • @open-pioneer/coordinate-viewer

    This package provides a coordinate viewer component, which can be integrated besides a map to show the actual coordinates at the current mouse position.

    Usage

    To integrate the coordinate viewer in your app, insert the following snippet and reference a map id:

    -
    <CoordinateViewer mapId="map_id" precision={2}></CoordinateViewer>
    +
    <CoordinateViewer mapId="map_id" precision={2} />
     

    The optional precision attribute allows to define the number of coordinates' decimal places shown.

    Customizing

    It is possible to receive a reference to the underlying DOM node (div) of the CoordinateViewer component using useRef.

    @@ -69,6 +69,7 @@

    @open-pioneer/experimental-layout-sidebar - v0.1.3
  • @open-pioneer/experimental-ol-layer-control - v0.1.6
  • @open-pioneer/map - v0.0.1
  • +
  • @open-pioneer/map-test-utils - v0.0.1
  • @open-pioneer/notifier - v0.0.1
  • @open-pioneer/react-utils - v0.0.1
  • @open-pioneer/authentication - v0.0.1
  • diff --git a/openlayers-base-packages/docs/modules/_open_pioneer_experimental_layout_sidebar.html b/openlayers-base-packages/docs/modules/_open_pioneer_experimental_layout_sidebar.html index d0f0f5062..315fb6f2b 100644 --- a/openlayers-base-packages/docs/modules/_open_pioneer_experimental_layout_sidebar.html +++ b/openlayers-base-packages/docs/modules/_open_pioneer_experimental_layout_sidebar.html @@ -81,6 +81,7 @@

    Sidebar

  • @open-pioneer/experimental-ol-layer-control - v0.1.6
  • @open-pioneer/map - v0.0.1
  • +
  • @open-pioneer/map-test-utils - v0.0.1
  • @open-pioneer/notifier - v0.0.1
  • @open-pioneer/react-utils - v0.0.1
  • @open-pioneer/authentication - v0.0.1
  • diff --git a/openlayers-base-packages/docs/modules/_open_pioneer_experimental_ol_layer_control.html b/openlayers-base-packages/docs/modules/_open_pioneer_experimental_ol_layer_control.html index 2c111228b..24b495b33 100644 --- a/openlayers-base-packages/docs/modules/_open_pioneer_experimental_ol_layer_control.html +++ b/openlayers-base-packages/docs/modules/_open_pioneer_experimental_ol_layer_control.html @@ -74,6 +74,7 @@

    LayerControlProps
  • LayerControlComponent
  • @open-pioneer/map - v0.0.1
  • +
  • @open-pioneer/map-test-utils - v0.0.1
  • @open-pioneer/notifier - v0.0.1
  • @open-pioneer/react-utils - v0.0.1
  • @open-pioneer/authentication - v0.0.1
  • diff --git a/openlayers-base-packages/docs/modules/_open_pioneer_initial_extent.html b/openlayers-base-packages/docs/modules/_open_pioneer_initial_extent.html index 14a70b62a..5fe4fb026 100644 --- a/openlayers-base-packages/docs/modules/_open_pioneer_initial_extent.html +++ b/openlayers-base-packages/docs/modules/_open_pioneer_initial_extent.html @@ -17,7 +17,7 @@

    Module @open-pioneer/initial-extent - v0.0.1

    @open-pioneer/initial-extent

    This package provides a simple button that switches the view to its initial viewpoint.

    Usage

    To integrate the component in your app, insert the following snippet and reference a map id:

    -
    <InitialExtent mapId="map_id"></InitialExtent>
    +
    <InitialExtent mapId="map_id" />
     

    License

    Apache-2.0

    @@ -64,6 +64,7 @@

    @open-pioneer/experimental-layout-sidebar - v0.1.3
  • @open-pioneer/experimental-ol-layer-control - v0.1.6
  • @open-pioneer/map - v0.0.1
  • +
  • @open-pioneer/map-test-utils - v0.0.1
  • @open-pioneer/notifier - v0.0.1
  • @open-pioneer/react-utils - v0.0.1
  • @open-pioneer/authentication - v0.0.1
  • diff --git a/openlayers-base-packages/docs/modules/_open_pioneer_map.html b/openlayers-base-packages/docs/modules/_open_pioneer_map.html index 8f2a25178..b4a2799b3 100644 --- a/openlayers-base-packages/docs/modules/_open_pioneer_map.html +++ b/openlayers-base-packages/docs/modules/_open_pioneer_map.html @@ -197,7 +197,6 @@

    Functions

    getProjection registerProjections useCenter -useFormatting useMapModel useProjection useResolution @@ -288,11 +287,11 @@

    getProjection
  • registerProjections
  • useCenter
  • -
  • useFormatting
  • useMapModel
  • useProjection
  • useResolution
  • useScale
  • +
  • @open-pioneer/map-test-utils - v0.0.1
  • @open-pioneer/notifier - v0.0.1
  • @open-pioneer/react-utils - v0.0.1
  • @open-pioneer/authentication - v0.0.1
  • diff --git a/openlayers-base-packages/docs/modules/_open_pioneer_map_test_utils.html b/openlayers-base-packages/docs/modules/_open_pioneer_map_test_utils.html new file mode 100644 index 000000000..69f380a59 --- /dev/null +++ b/openlayers-base-packages/docs/modules/_open_pioneer_map_test_utils.html @@ -0,0 +1,81 @@ +@open-pioneer/map-test-utils - v0.0.1 | Open Pioneer Packages
    +
    + +
    + +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/openlayers-base-packages/docs/modules/_open_pioneer_notifier.html b/openlayers-base-packages/docs/modules/_open_pioneer_notifier.html index 92742d57d..5f19a2261 100644 --- a/openlayers-base-packages/docs/modules/_open_pioneer_notifier.html +++ b/openlayers-base-packages/docs/modules/_open_pioneer_notifier.html @@ -94,6 +94,7 @@

    @open-pioneer/experimental-layout-sidebar - v0.1.3
  • @open-pioneer/experimental-ol-layer-control - v0.1.6
  • @open-pioneer/map - v0.0.1
  • +
  • @open-pioneer/map-test-utils - v0.0.1
  • @open-pioneer/notifier - v0.0.1
    diff --git a/openlayers-base-packages/docs/modules/_open_pioneer_react_utils.html b/openlayers-base-packages/docs/modules/_open_pioneer_react_utils.html index afbeee2c5..be10ed8b7 100644 --- a/openlayers-base-packages/docs/modules/_open_pioneer_react_utils.html +++ b/openlayers-base-packages/docs/modules/_open_pioneer_react_utils.html @@ -51,6 +51,7 @@

    @open-pioneer/experimental-layout-sidebar - v0.1.3

  • @open-pioneer/experimental-ol-layer-control - v0.1.6
  • @open-pioneer/map - v0.0.1
  • +
  • @open-pioneer/map-test-utils - v0.0.1
  • @open-pioneer/notifier - v0.0.1
  • @open-pioneer/react-utils - v0.0.1 diff --git a/openlayers-base-packages/docs/modules/_open_pioneer_scale_viewer.html b/openlayers-base-packages/docs/modules/_open_pioneer_scale_viewer.html index b79f3a5cb..27606fad4 100644 --- a/openlayers-base-packages/docs/modules/_open_pioneer_scale_viewer.html +++ b/openlayers-base-packages/docs/modules/_open_pioneer_scale_viewer.html @@ -17,7 +17,7 @@

    Module @open-pioneer/scale-viewer - v0.0.1

    @open-pioneer/scale-viewer

    This package provides a scale viewer component, which can be integrated besides a map to show the actual map scale.

    Usage

    To integrate the scale viewer in your app, insert the following snippet and reference a map id:

    -
    <ScaleViewer mapId="map_id"></ScaleViewer>
    +
    <ScaleViewer mapId="map_id" />
     

    Customizing

    The scale viewer component can receive the className prop (optional string) that can be used to add additional the css classes of the component.

    It is possible to receive a reference to the component using useRef.

    @@ -69,6 +69,7 @@

    @open-pioneer/experimental-layout-sidebar - v0.1.3

  • @open-pioneer/experimental-ol-layer-control - v0.1.6
  • @open-pioneer/map - v0.0.1
  • +
  • @open-pioneer/map-test-utils - v0.0.1
  • @open-pioneer/notifier - v0.0.1
  • @open-pioneer/react-utils - v0.0.1
  • @open-pioneer/authentication - v0.0.1
  • diff --git a/openlayers-base-packages/docs/types/_open_pioneer_authentication.AuthPluginEventBase.html b/openlayers-base-packages/docs/types/_open_pioneer_authentication.AuthPluginEventBase.html index e62983287..4dfea64b4 100644 --- a/openlayers-base-packages/docs/types/_open_pioneer_authentication.AuthPluginEventBase.html +++ b/openlayers-base-packages/docs/types/_open_pioneer_authentication.AuthPluginEventBase.html @@ -21,7 +21,7 @@

    Type alias AuthPluginEventBase

    +
  • Defined in src/packages/authentication/api.ts:134
  • +
  • Defined in src/packages/authentication/api.ts:70
  • LayerLoadState: "not-loaded" | "loading" | "loaded" | "error"
    +
  • Defined in api.ts:145
  • ProjectionDefinition: string | Proj4ProjectionDefinition
    +
  • Defined in projections.ts:6
  • +
  • Defined in api.ts:6